PageSourceSearch

https://www.sanoop.dev/assets/index-DW1E5aiD.js

js sanoop.dev collected 2026-09-24 14:59:43 UTC 409,042 bytes, 231 lines download raw bytes

vendor: 6,034 bytes, lines 1-17
1(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))r(c);new MutationObserver(c=>{for(const f of c)if(f.type==="childList")for(const d of f.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&r(d)}).observe(document,{childList:!0,subtree:!0});function s(c){const f={};return c.integrity&&(f.integrity=c.integrity),c.referrerPolicy&&(f.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?f.credentials="include":c.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function r(c){if(c.ep)return;c.ep=!0;const f=s(c);fetch(c.href,f)}})();function bg(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var nc={exports:{}},Sl={};/**
2 * @license React
3 * react-jsx-runtime.production.js
4 *
5 * Copyright (c) Meta Platforms, Inc. and affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var Hp;function Pb(){if(Hp)return Sl;Hp=1;var a=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function s(r,c,f){var d=null;if(f!==void 0&&(d=""+f),c.key!==void 0&&(d=""+c.key),"key"in c){f={};for(var p in c)p!=="key"&&(f[p]=c[p])}else f=c;return c=f.ref,{$$typeof:a,type:r,key:d,ref:c!==void 0?c:null,props:f}}return Sl.Fragment=i,Sl.jsx=s,Sl.jsxs=s,Sl}var kp;function Jb(){return kp||(kp=1,nc.exports=Pb()),nc.exports}var v=Jb(),ac={exports:{}},st={};/**
10 * @license React
11 * react.production.js
12 *
13 * Copyright (c) Meta Platforms, Inc. and affiliates.
14 *
15 * This source code is licensed under the MIT license found in the
16 * LICENSE file in the root directory of this source tree.
17 */var Yp;function Wb(){if(Yp)return st;Yp=1;var a=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),d=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),S=Symbol.for("react.activity"),x=Symbol.iterator;function A(E){return E===null||typeof E!="object"?null:(E=x&&E[x]||E["@@iterator"],typeof E=="function"?E:null)}var j={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},B=Object.assign,w={};function O(E,q,F){this.props=E,this.context=q,this.refs=w,this.updater=F||j}O.prototype.isReactComponent={},O.prototype.setState=function(E,q){if(typeof E!="object"&&typeof E!="function"&&E!=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,E,q,"setState")},O.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"forceUpdate")};function G(){}G.prototype=O.prototype;function V(E,q,F){this.props=E,this.context=q,this.refs=w,this.updater=F||j}var X=V.prototype=new G;X.constructor=V,B(X,O.prototype),X.isPureReactComponent=!0;var Q=Array.isArray;function it(){}var W={H:null,A:null,T:null,S:null},et=Object.prototype.hasOwnProperty;function rt(E,q,F){var $=F.ref;return{$$typeof:a,type:E,key:q,ref:$!==void 0?$:null,props:F}}function tt(E,q){return rt(E.type,q,E.props)}function mt(E){return typeof E=="object"&&E!==null&&E.$$typeof===a}function St(E){var q={"=":"=0",":":"=2"};return"$"+E.replace(/[=:]/g,function(F){return q[F]})}var ee=/\/+/g;function Ut(E,q){return typeof E=="object"&&E!==null&&E.key!=null?St(""+E.key):q.toString(36)}function Bt(E){switch(E.status){case"fulfilled":return E.value;case"rejected":throw E.reason;default:switch(typeof E.status=="string"?E.then(it,it):(E.status="pending",E.then(function(q){E.status==="pending"&&(E.status="fulfilled",E.value=q)},function(q){E.status==="pending"&&(E.status="rejected",E.reason=q)})),E.status){case"fulfilled":return E.value;case"rejected":throw E.reason}}throw E}function L(E,q,F,$,ot){var ft=typeof E;(ft==="undefined"||ft==="boolean")&&(E=null);var Tt=!1;if(E===null)Tt=!0;else switch(ft){case"bigint":case"string":case"number":Tt=!0;break;case"object":switch(E.$$typeof){case a:case i:Tt=!0;break;case g:return Tt=E._init,L(Tt(E._payload),q,F,$,ot)}}if(Tt)return ot=ot(E),Tt=$===""?"."+Ut(E,0):$,Q(ot)?(F="",Tt!=null&&(F=Tt.replace(ee,"$&/")+"/"),L(ot,q,F,"",function(Ci){return Ci})):ot!=null&&(mt(ot)&&(ot=tt(ot,F+(ot.key==null||E&&E.key===ot.key?"":(""+ot.key).replace(ee,"$&/")+"/")+Tt)),q.push(ot)),1;Tt=0;var ce=$===""?".":$+":";if(Q(E))for(var qt=0;qt<E.length;qt++)$=E[qt],ft=ce+Ut($,qt),Tt+=L($,q,F,ft,ot);else if(qt=A(E),typeof qt=="function")for(E=qt.call(E),qt=0;!($=E.next()).done;)$=$.value,ft=ce+Ut($,qt++),Tt+=L($,q,F,ft,ot);else if(ft==="object"){if(typeof E.then=="function")return L(Bt(E),q,F,$,ot);throw q=String(E),Error("Objects are not valid as a React child (found: "+(q==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":q)+"). If you meant to render a collection of children, use an array instead.")}return Tt}function Z(E,q,F){if(E==null)return E;var $=[],ot=0;return L(E,$,"","",function(ft){return q.call(F,ft,ot++)}),$}function H(E){if(E._status===-1){var q=E._result;q=q(),q.then(function(F){(E._status===0||E._status===-1)&&(E._status=1,E._result=F)},function(F){(E._status===0||E._status===-1)&&(E._status=2,E._result=F)}),E._status===-1&&(E._status=0,E._result=q)}if(E._status===1)return E._result.default;throw E._result}var K=typeof reportError=="function"?reportError:function(E){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var q=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(q))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",E);return}console.error(E)}
vendor: 5,166 bytes, lines 17-25
17,lt={map:Z,forEach:function(E,q,F){Z(E,function(){q.apply(this,arguments)},F)},count:function(E){var q=0;return Z(E,function(){q++}),q},toArray:function(E){return Z(E,function(q){return q})||[]},only:function(E){if(!mt(E))throw Error("React.Children.only expected to receive a single React element child.");return E}};return st.Activity=S,st.Children=lt,st.Component=O,st.Fragment=s,st.Profiler=c,st.PureComponent=V,st.StrictMode=r,st.Suspense=y,st.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=W,st.__COMPILER_RUNTIME={__proto__:null,c:function(E){return W.H.useMemoCache(E)}},st.cache=function(E){return function(){return E.apply(null,arguments)}},st.cacheSignal=function(){return null},st.cloneElement=function(E,q,F){if(E==null)throw Error("The argument must be a React element, but you passed "+E+".");var $=B({},E.props),ot=E.key;if(q!=null)for(ft in q.key!==void 0&&(ot=""+q.key),q)!et.call(q,ft)||ft==="key"||ft==="__self"||ft==="__source"||ft==="ref"&&q.ref===void 0||($[ft]=q[ft]);var ft=arguments.length-2;if(ft===1)$.children=F;else if(1<ft){for(var Tt=Array(ft),ce=0;ce<ft;ce++)Tt[ce]=arguments[ce+2];$.children=Tt}return rt(E.type,ot,$)},st.createContext=function(E){return E={$$typeof:d,_currentValue:E,_currentValue2:E,_threadCount:0,Provider:null,Consumer:null},E.Provider=E,E.Consumer={$$typeof:f,_context:E},E},st.createElement=function(E,q,F){var $,ot={},ft=null;if(q!=null)for($ in q.key!==void 0&&(ft=""+q.key),q)et.call(q,$)&&$!=="key"&&$!=="__self"&&$!=="__source"&&(ot[$]=q[$]);var Tt=arguments.length-2;if(Tt===1)ot.children=F;else if(1<Tt){for(var ce=Array(Tt),qt=0;qt<Tt;qt++)ce[qt]=arguments[qt+2];ot.children=ce}if(E&&E.defaultProps)for($ in Tt=E.defaultProps,Tt)ot[$]===void 0&&(ot[$]=Tt[$]);return rt(E,ft,ot)},st.createRef=function(){return{current:null}},st.forwardRef=function(E){return{$$typeof:p,render:E}},st.isValidElement=mt,st.lazy=function(E){return{$$typeof:g,_payload:{_status:-1,_result:E},_init:H}},st.memo=function(E,q){return{$$typeof:m,type:E,compare:q===void 0?null:q}},st.startTransition=function(E){var q=W.T,F={};W.T=F;try{var $=E(),ot=W.S;ot!==null&&ot(F,$),typeof $=="object"&&$!==null&&typeof $.then=="function"&&$.then(it,K)}catch(ft){K(ft)}finally{q!==null&&F.types!==null&&(q.types=F.types),W.T=q}},st.unstable_useCacheRefresh=function(){return W.H.useCacheRefresh()},st.use=function(E){return W.H.use(E)},st.useActionState=function(E,q,F){return W.H.useActionState(E,q,F)},st.useCallback=function(E,q){return W.H.useCallback(E,q)},st.useContext=function(E){return W.H.useContext(E)},st.useDebugValue=function(){},st.useDeferredValue=function(E,q){return W.H.useDeferredValue(E,q)},st.useEffect=function(E,q){return W.H.useEffect(E,q)},st.useEffectEvent=function(E){return W.H.useEffectEvent(E)},st.useId=function(){return W.H.useId()},st.useImperativeHandle=function(E,q,F){return W.H.useImperativeHandle(E,q,F)},st.useInsertionEffect=function(E,q){return W.H.useInsertionEffect(E,q)},st.useLayoutEffect=function(E,q){return W.H.useLayoutEffect(E,q)},st.useMemo=function(E,q){return W.H.useMemo(E,q)},st.useOptimistic=function(E,q){return W.H.useOptimistic(E,q)},st.useReducer=function(E,q,F){return W.H.useReducer(E,q,F)},st.useRef=function(E){return W.H.useRef(E)},st.useState=function(E){return W.H.useState(E)},st.useSyncExternalStore=function(E,q,F){return W.H.useSyncExternalStore(E,q,F)},st.useTransition=function(){return W.H.useTransition()},st.version="19.2.4",st}var qp;function nf(){return qp||(qp=1,ac.exports=Wb()),ac.exports}var D=nf();const $b=bg(D);var ic={exports:{}},xl={},lc={exports:{}},sc={};/**
18 * @license React
19 * scheduler.production.js
20 *
21 * Copyright (c) Meta Platforms, Inc. and affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */var Gp;function Ib(){return Gp||(Gp=1,(function(a){function i(L,Z){var H=L.length;L.push(Z);t:for(;0<H;){var K=H-1>>>1,lt=L[K];if(0<c(lt,Z))L[K]=Z,L[H]=lt,H=K;else break t}}function s(L){return L.length===0?null:L[0]}function r(L){if(L.length===0)return null;var Z=L[0],H=L.pop();if(H!==Z){L[0]=H;t:for(var K=0,lt=L.length,E=lt>>>1;K<E;){var q=2*(K+1)-1,F=L[q],$=q+1,ot=L[$];if(0>c(F,H))$<lt&&0>c(ot,F)?(L[K]=ot,L[$]=H,K=$):(L[K]=F,L[q]=H,K=q);else if($<lt&&0>c(ot,H))L[K]=ot,L[$]=H,K=$;else break t}}return Z}function c(L,Z){var H=L.sortIndex-Z.sortIndex;return H!==0?H:L.id-Z.id}if(a.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;a.unstable_now=function(){return f.now()}}else{var d=Date,p=d.now();a.unstable_now=function(){return d.now()-p}}var y=[],m=[],g=1,S=null,x=3,A=!1,j=!1,B=!1,w=!1,O=typeof setTimeout=="function"?setTimeout:null,G=typeof clearTimeout=="function"?clearTimeout:null,V=typeof setImmediate<"u"?setImmediate:null;function X(L){for(var Z=s(m);Z!==null;){if(Z.callback===null)r(m);else if(Z.startTime<=L)r(m),Z.sortIndex=Z.expirationTime,i(y,Z);else break;Z=s(m)}}function Q(L){if(B=!1,X(L),!j)if(s(y)!==null)j=!0,it||(it=!0,St());else{var Z=s(m);Z!==null&&Bt(Q,Z.startTime-L)}}var it=!1,W=-1,et=5,rt=-1;function tt(){return w?!0:!(a.unstable_now()-rt<et)}
vendor: 24,598 bytes, lines 25-48
25function mt(){if(w=!1,it){var L=a.unstable_now();rt=L;var Z=!0;try{t:{j=!1,B&&(B=!1,G(W),W=-1),A=!0;var H=x;try{e:{for(X(L),S=s(y);S!==null&&!(S.expirationTime>L&&tt());){var K=S.callback;if(typeof K=="function"){S.callback=null,x=S.priorityLevel;var lt=K(S.expirationTime<=L);if(L=a.unstable_now(),typeof lt=="function"){S.callback=lt,X(L),Z=!0;break e}S===s(y)&&r(y),X(L)}else r(y);S=s(y)}if(S!==null)Z=!0;else{var E=s(m);E!==null&&Bt(Q,E.startTime-L),Z=!1}}break t}finally{S=null,x=H,A=!1}Z=void 0}}finally{Z?St():it=!1}}}var St;if(typeof V=="function")St=function(){V(mt)};else if(typeof MessageChannel<"u"){var ee=new MessageChannel,Ut=ee.port2;ee.port1.onmessage=mt,St=function(){Ut.postMessage(null)}}else St=function(){O(mt,0)};function Bt(L,Z){W=O(function(){L(a.unstable_now())},Z)}a.unstable_IdlePriority=5,a.unstable_ImmediatePriority=1,a.unstable_LowPriority=4,a.unstable_NormalPriority=3,a.unstable_Profiling=null,a.unstable_UserBlockingPriority=2,a.unstable_cancelCallback=function(L){L.callback=null},a.unstable_forceFrameRate=function(L){0>L||125<L?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):et=0<L?Math.floor(1e3/L):5},a.unstable_getCurrentPriorityLevel=function(){return x},a.unstable_next=function(L){switch(x){case 1:case 2:case 3:var Z=3;break;default:Z=x}var H=x;x=Z;try{return L()}finally{x=H}},a.unstable_requestPaint=function(){w=!0},a.unstable_runWithPriority=function(L,Z){switch(L){case 1:case 2:case 3:case 4:case 5:break;default:L=3}var H=x;x=L;try{return Z()}finally{x=H}},a.unstable_scheduleCallback=function(L,Z,H){var K=a.unstable_now();switch(typeof H=="object"&&H!==null?(H=H.delay,H=typeof H=="number"&&0<H?K+H:K):H=K,L){case 1:var lt=-1;break;case 2:lt=250;break;case 5:lt=1073741823;break;case 4:lt=1e4;break;default:lt=5e3}return lt=H+lt,L={id:g++,callback:Z,priorityLevel:L,startTime:H,expirationTime:lt,sortIndex:-1},H>K?(L.sortIndex=H,i(m,L),s(y)===null&&L===s(m)&&(B?(G(W),W=-1):B=!0,Bt(Q,H-K))):(L.sortIndex=lt,i(y,L),j||A||(j=!0,it||(it=!0,St()))),L},a.unstable_shouldYield=tt,a.unstable_wrapCallback=function(L){var Z=x;return function(){var H=x;x=Z;try{return L.apply(this,arguments)}finally{x=H}}}})(sc)),sc}var Xp;function tS(){return Xp||(Xp=1,lc.exports=Ib()),lc.exports}var rc={exports:{}},ue={};/**
26 * @license React
27 * react-dom.production.js
28 *
29 * Copyright (c) Meta Platforms, Inc. and affiliates.
30 *
31 * This source code is licensed under the MIT license found in the
32 * LICENSE file in the root directory of this source tree.
33 */var Kp;function eS(){if(Kp)return ue;Kp=1;var a=nf();function i(y){var m="https://react.dev/errors/"+y;if(1<arguments.length){m+="?args[]="+encodeURIComponent(arguments[1]);for(var g=2;g<arguments.length;g++)m+="&args[]="+encodeURIComponent(arguments[g])}return"Minified React error #"+y+"; visit "+m+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(){}var r={d:{f:s,r:function(){throw Error(i(522))},D:s,C:s,L:s,m:s,X:s,S:s,M:s},p:0,findDOMNode:null},c=Symbol.for("react.portal");function f(y,m,g){var S=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:c,key:S==null?null:""+S,children:y,containerInfo:m,implementation:g}}var d=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function p(y,m){if(y==="font")return"";if(typeof m=="string")return m==="use-credentials"?m:""}return ue.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,ue.createPortal=function(y,m){var g=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!m||m.nodeType!==1&&m.nodeType!==9&&m.nodeType!==11)throw Error(i(299));return f(y,m,null,g)},ue.flushSync=function(y){var m=d.T,g=r.p;try{if(d.T=null,r.p=2,y)return y()}finally{d.T=m,r.p=g,r.d.f()}},ue.preconnect=function(y,m){typeof y=="string"&&(m?(m=m.crossOrigin,m=typeof m=="string"?m==="use-credentials"?m:"":void 0):m=null,r.d.C(y,m))},ue.prefetchDNS=function(y){typeof y=="string"&&r.d.D(y)},ue.preinit=function(y,m){if(typeof y=="string"&&m&&typeof m.as=="string"){var g=m.as,S=p(g,m.crossOrigin),x=typeof m.integrity=="string"?m.integrity:void 0,A=typeof m.fetchPriority=="string"?m.fetchPriority:void 0;g==="style"?r.d.S(y,typeof m.precedence=="string"?m.precedence:void 0,{crossOrigin:S,integrity:x,fetchPriority:A}):g==="script"&&r.d.X(y,{crossOrigin:S,integrity:x,fetchPriority:A,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},ue.preinitModule=function(y,m){if(typeof y=="string")if(typeof m=="object"&&m!==null){if(m.as==null||m.as==="script"){var g=p(m.as,m.crossOrigin);r.d.M(y,{crossOrigin:g,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0})}}else m==null&&r.d.M(y)},ue.preload=function(y,m){if(typeof y=="string"&&typeof m=="object"&&m!==null&&typeof m.as=="string"){var g=m.as,S=p(g,m.crossOrigin);r.d.L(y,g,{crossOrigin:S,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0,type:typeof m.type=="string"?m.type:void 0,fetchPriority:typeof m.fetchPriority=="string"?m.fetchPriority:void 0,referrerPolicy:typeof m.referrerPolicy=="string"?m.referrerPolicy:void 0,imageSrcSet:typeof m.imageSrcSet=="string"?m.imageSrcSet:void 0,imageSizes:typeof m.imageSizes=="string"?m.imageSizes:void 0,media:typeof m.media=="string"?m.media:void 0})}},ue.preloadModule=function(y,m){if(typeof y=="string")if(m){var g=p(m.as,m.crossOrigin);r.d.m(y,{as:typeof m.as=="string"&&m.as!=="script"?m.as:void 0,crossOrigin:g,integrity:typeof m.integrity=="string"?m.integrity:void 0})}else r.d.m(y)},ue.requestFormReset=function(y){r.d.r(y)},ue.unstable_batchedUpdates=function(y,m){return y(m)},ue.useFormState=function(y,m,g){return d.H.useFormState(y,m,g)},ue.useFormStatus=function(){return d.H.useHostTransitionStatus()},ue.version="19.2.4",ue}var Zp;function nS(){if(Zp)return rc.exports;Zp=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(i){console.error(i)}}return a(),rc.exports=eS(),rc.exports}/**
34 * @license React
35 * react-dom-client.production.js
36 *
37 * Copyright (c) Meta Platforms, Inc. and affiliates.
38 *
39 * This source code is licensed under the MIT license found in the
40 * LICENSE file in the root directory of this source tree.
41 */var Qp;function aS(){if(Qp)return xl;Qp=1;var a=tS(),i=nf(),s=nS();function r(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function c(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function f(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(n=e.return),t=e.return;while(t)}return e.tag===3?n:null}function d(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function p(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function y(t){if(f(t)!==t)throw Error(r(188))}function m(t){var e=t.alternate;if(!e){if(e=f(t),e===null)throw Error(r(188));return e!==t?null:t}for(var n=t,l=e;;){var o=n.return;if(o===null)break;var u=o.alternate;if(u===null){if(l=o.return,l!==null){n=l;continue}break}if(o.child===u.child){for(u=o.child;u;){if(u===n)return y(o),t;if(u===l)return y(o),e;u=u.sibling}throw Error(r(188))}if(n.return!==l.return)n=o,l=u;else{for(var h=!1,b=o.child;b;){if(b===n){h=!0,n=o,l=u;break}if(b===l){h=!0,l=o,n=u;break}b=b.sibling}if(!h){for(b=u.child;b;){if(b===n){h=!0,n=u,l=o;break}if(b===l){h=!0,l=u,n=o;break}b=b.sibling}if(!h)throw Error(r(189))}}if(n.alternate!==l)throw Error(r(190))}if(n.tag!==3)throw Error(r(188));return n.stateNode.current===n?t:e}function g(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=g(t),e!==null)return e;t=t.sibling}return null}var S=Object.assign,x=Symbol.for("react.element"),A=Symbol.for("react.transitional.element"),j=Symbol.for("react.portal"),B=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),O=Symbol.for("react.profiler"),G=Symbol.for("react.consumer"),V=Symbol.for("react.context"),X=Symbol.for("react.forward_ref"),Q=Symbol.for("react.suspense"),it=Symbol.for("react.suspense_list"),W=Symbol.for("react.memo"),et=Symbol.for("react.lazy"),rt=Symbol.for("react.activity"),tt=Symbol.for("react.memo_cache_sentinel"),mt=Symbol.iterator;function St(t){return t===null||typeof t!="object"?null:(t=mt&&t[mt]||t["@@iterator"],typeof t=="function"?t:null)}var ee=Symbol.for("react.client.reference");function Ut(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===ee?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case B:return"Fragment";case O:return"Profiler";case w:return"StrictMode";case Q:return"Suspense";case it:return"SuspenseList";case rt:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case j:return"Portal";case V:return t.displayName||"Context";case G:return(t._context.displayName||"Context")+".Consumer";case X:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case W:return e=t.displayName||null,e!==null?e:Ut(t.type)||"Memo";case et:e=t._payload,t=t._init;try{return Ut(t(e))}catch{}}return null}var Bt=Array.isArray,L=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,H={pending:!1,data:null,method:null,action:null},K=[],lt=-1;function E(t){return{current:t}}function q(t){0>lt||(t.current=K[lt],K[lt]=null,lt--)}function F(t,e){lt++,K[lt]=t.current,t.current=e}var $=E(null),ot=E(null),ft=E(null),Tt=E(null);function ce(t,e){switch(F(ft,e),F(ot,t),F($,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?op(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=op(e),t=up(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}q($),F($,t)}function qt(){q($),q(ot),q(ft)}function Ci(t){t.memoizedState!==null&&F(Tt,t);var e=$.current,n=up(e,t.type);e!==n&&(F(ot,t),F($,n))}function ql(t){ot.current===t&&(q($),q(ot)),Tt.current===t&&(q(Tt),yl._currentValue=H)}var Lr,Uf;function sa(t){if(Lr===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);Lr=e&&e[1]||"",Uf=-1<n.stack.indexOf(`
42    at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
43`+Lr+t+Uf}var Ur=!1;function Hr(t,e){if(!t||Ur)return"";Ur=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(e){var Y=function(){throw Error()};if(Object.defineProperty(Y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Y,[])}catch(_){var z=_}Reflect.construct(t,[],Y)}else{try{Y.call()}catch(_){z=_}t.call(Y.prototype)}}else{try{throw Error()}catch(_){z=_}(Y=t())&&typeof Y.catch=="function"&&Y.catch(function(){})}}catch(_){if(_&&z&&typeof _.stack=="string")return[_.stack,z.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=l.DetermineComponentFrameRoot(),h=u[0],b=u[1];if(h&&b){var T=h.split(`
44`),N=b.split(`
45`);for(o=l=0;l<T.length&&!T[l].includes("DetermineComponentFrameRoot");)l++;for(;o<N.length&&!N[o].includes("DetermineComponentFrameRoot");)o++;if(l===T.length||o===N.length)for(l=T.length-1,o=N.length-1;1<=l&&0<=o&&T[l]!==N[o];)o--;for(;1<=l&&0<=o;l--,o--)if(T[l]!==N[o]){if(l!==1||o!==1)do if(l--,o--,0>o||T[l]!==N[o]){var U=`
46`+T[l].replace(" at new "," at ");return t.displayName&&U.includes("<anonymous>")&&(U=U.replace("<anonymous>",t.displayName)),U}while(1<=l&&0<=o);break}}}finally{Ur=!1,Error.prepareStackTrace=n}return(n=t?t.displayName||t.name:"")?sa(n):""}function Dv(t,e){switch(t.tag){case 26:case 27:case 5:return sa(t.type);case 16:return sa("Lazy");case 13:return t.child!==e&&e!==null?sa("Suspense Fallback"):sa("Suspense");case 19:return sa("SuspenseList");case 0:case 15:return Hr(t.type,!1);case 11:return Hr(t.type.render,!1);case 1:return Hr(t.type,!0);case 31:return sa("Activity");default:return""}}function Hf(t){try{var e="",n=null;do e+=Dv(t,n),n=t,t=t.return;while(t);return e}catch(l){return`
47Error generating stack: `+l.message+`
48`+l.stack}}var kr=Object.prototype.hasOwnProperty,Yr=a.unstable_scheduleCallback,qr=a.unstable_cancelCallback,Cv=a.unstable_shouldYield,jv=a.unstable_requestPaint,xe=a.unstable_now,wv=a.unstable_getCurrentPriorityLevel,kf=a.unstable_ImmediatePriority,Yf=a.unstable_UserBlockingPriority,Gl=a.unstable_NormalPriority,Rv=a.unstable_LowPriority,qf=a.unstable_IdlePriority,Nv=a.log,zv=a.unstable_setDisableYieldValue,ji=null,Te=null;function jn(t){if(typeof Nv=="function"&&zv(t),Te&&typeof Te.setStrictMode=="function")try{Te.setStrictMode(ji,t)}catch{}}var Ae=Math.clz32?Math.clz32:_v,Ov=Math.log,Vv=Math.LN2;function _v(t){return t>>>=0,t===0?32:31-(Ov(t)/Vv|0)|0}var Xl=256,Kl=262144,Zl=4194304;function ra(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Ql(t,e,n){var l=t.pendingLanes;if(l===0)return 0;var o=0,u=t.suspendedLanes,h=t.pingedLanes;t=t.warmLanes;var b=l&134217727;return b!==0?(l=b&~u,l!==0?o=ra(l):(h&=b,h!==0?o=ra(h):n||(n=b&~t,n!==0&&(o=ra(n))))):(b=l&~u,b!==0?o=ra(b):h!==0?o=ra(h):n||(n=l&~t,n!==0&&(o=ra(n)))),o===0?0:e!==0&&e!==o&&(e&u)===0&&(u=o&-o,n=e&-e,u>=n||u===32&&(n&4194048)!==0)?e:o}function wi(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function Bv(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Gf(){var t=Zl;return Zl<<=1,(Zl&62914560)===0&&(Zl=4194304),t}function Gr(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function Ri(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Lv(t,e,n,l,o,u){var h=t.pendingLanes;t.pendingLanes=n,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=n,t.entangledLanes&=n,t.errorRecoveryDisabledLanes&=n,t.shellSuspendCounter=0;var b=t.entanglements,T=t.expirationTimes,N=t.hiddenUpdates;for(n=h&~n;0<n;){var U=31-Ae(n),Y=1<<U;b[U]=0,T[U]=-1;var z=N[U];if(z!==null)for(N[U]=null,U=0;U<z.length;U++){var _=z[U];_!==null&&(_.lane&=-536870913)}n&=~Y}l!==0&&Xf(t,l,0),u!==0&&o===0&&t.tag!==0&&(t.suspendedLanes|=u&~(h&~e))}function Xf(t,e,n){t.pendingLanes|=e,t.suspendedLanes&=~e;var l=31-Ae(e);t.entangledLanes|=e,t.entanglements[l]=t.entanglements[l]|1073741824|n&261930}function Kf(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var l=31-Ae(n),o=1<<l;o&e|t[l]&e&&(t[l]|=e),n&=~o}}function Zf(t,e){var n=e&-e;return n=(n&42)!==0?1:Xr(n),(n&(t.suspendedLanes|e))!==0?0:n}function Xr(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function Kr(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Qf(){var t=Z.p;return t!==0?t:(t=window.event,t===void 0?32:zp(t.type))}function Ff(t,e){var n=Z.p;try{return Z.p=t,e()}finally{Z.p=n}}var wn=Math.random().toString(36).slice(2),ne="__reactFiber$"+wn,me="__reactProps$"+wn,Na="__reactContainer$"+wn,Zr="__reactEvents$"+wn,Uv="__reactListeners$"+wn,Hv="__reactHandles$"+wn,Pf="__reactResources$"+wn,Ni="__reactMarker$"+wn;function Qr(t){delete t[ne],delete t[me],delete t[Zr],delete t[Uv],delete t[Hv]}function za(t){var e=t[ne];if(e)return e;for(var n=t.parentNode;n;){if(e=n[Na]||n[ne]){if(n=e.alternate,e.child!==null||n!==null&&n.child!==null)for(t=yp(t);t!==null;){if(n=t[ne])return n;t=yp(t)}return e}t=n,n=t.parentNode}return null}function Oa(t){if(t=t[ne]||t[Na]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function zi(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(r(33))}function Va(t){var e=t[Pf];return e||(e=t[Pf]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function $t(t){t[Ni]=!0}var Jf=new Set,Wf={};function oa(t,e){_a(t,e),_a(t+"Capture",e)}function _a(t,e){for(Wf[t]=e,t=0;t<e.length;t++)Jf.add(e[t])}var kv=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]*$"),$f={},If={};function Yv(t){return kr.call(If,t)?!0:kr.call($f,t)?!1:kv.test(t)?If[t]=!0:($f[t]=!0,!1)}function Fl(t,e,n){if(Yv(e))if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var l=e.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+n)}}function Pl(t,e,n){if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+n)}}function on(t,e,n,l){if(l===null)t.removeAttribute(n);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(n);return}t.setAttributeNS(e,n,""+l)}}function ze(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function td(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function qv(t,e,n){var l=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var o=l.get,u=l.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return o.call(this)},set:function(h){n=""+h,u.call(this,h)}}),Object.defineProperty(t,e,{enumerable:l.enumerable}),{getValue:function(){return n},setValue:function(h){n=""+h},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Fr(t){if(!t._valueTracker){var e=td(t)?"checked":"value";t._valueTracker=qv(t,e,""+t[e])}}function ed(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),l="";return t&&(l=td(t)?t.checked?"true":"false":t.value),t=l,t!==n?(e.setValue(t),!0):!1}function Jl(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var Gv=/[\n"\\]/g;function Oe(t){return t.replace(Gv,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Pr(t,e,n,l,o,u,h,b){t.name="",h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?t.type=h:t.removeAttribute("type"),e!=null?h==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+ze(e)):t.value!==""+ze(e)&&(t.value=""+ze(e)):h!=="submit"&&h!=="reset"||t.removeAttribute("value"),e!=null?Jr(t,h,ze(e)):n!=null?Jr(t,h,ze(n)):l!=null&&t.removeAttribute("value"),o==null&&u!=null&&(t.defaultChecked=!!u),o!=null&&(t.checked=o&&typeof o!="function"&&typeof o!="symbol"),b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?t.name=""+ze(b):t.removeAttribute("name")}function nd(t,e,n,l,o,u,h,b){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(t.type=u),e!=null||n!=null){if(!(u!=="submit"&&u!=="reset"||e!=null)){Fr(t);return}n=n!=null?""+ze(n):"",e=e!=null?""+ze(e):n,b||e===t.value||(t.value=e),t.defaultValue=e}l=l??o,l=typeof l!="function"&&typeof l!="symbol"&&!!l,t.checked=b?t.checked:!!l,t.defaultChecked=!!l,h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(t.name=h),Fr(t)}function Jr(t,e,n){e==="number"&&Jl(t.ownerDocument)===t||t.defaultValue===""+n||(t.defaultValue=""+n)}function Ba(t,e,n,l){if(t=t.options,e){e={};for(var o=0;o<n.length;o++)e["$"+n[o]]=!0;for(n=0;n<t.length;n++)o=e.hasOwnProperty("$"+t[n].value),t[n].selected!==o&&(t[n].selected=o),o&&l&&(t[n].defaultSelected=!0)}else{for(n=""+ze(n),e=null,o=0;o<t.length;o++){if(t[o].value===n){t[o].selected=!0,l&&(t[o].defaultSelected=!0);return}e!==null||t[o].disabled||(e=t[o])}e!==null&&(e.selected=!0)}}function ad(t,e,n){if(e!=null&&(e=""+ze(e),e!==t.value&&(t.value=e),n==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=n!=null?""+ze(n):""}function id(t,e,n,l){if(e==null){if(l!=null){if(n!=null)throw Error(r(92));if(Bt(l)){if(1<l.length)throw Error(r(93));l=l[0]}n=l}n==null&&(n=""),e=n}n=ze(e),t.defaultValue=n,l=t.textContent,l===n&&l!==""&&l!==null&&(t.value=l),Fr(t)}function La(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var Xv=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 ld(t,e,n){var l=e.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?l?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":l?t.setProperty(e,n):typeof n!="number"||n===0||Xv.has(e)?e==="float"?t.cssFloat=n:t[e]=(""+n).trim():t[e]=n+"px"}function sd(t,e,n){if(e!=null&&typeof e!="object")throw Error(r(62));if(t=t.style,n!=null){for(var l in n)!n.hasOwnProperty(l)||e!=null&&e.hasOwnProperty(l)||(l.indexOf("--")===0?t.setProperty(l,""):l==="float"?t.cssFloat="":t[l]="");for(var o in e)l=e[o],e.hasOwnProperty(o)&&n[o]!==l&&ld(t,o,l)}else for(var u in e)e.hasOwnProperty(u)&&ld(t,u,e[u])}function Wr(t){if(t.indexOf("-")===-1)return!1;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Kv=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"],["colorRen
48dering","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"]]),Zv
vendor: 155,470 bytes, lines 48-49
48=/^[\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 Wl(t){return Zv.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function un(){}var $r=null;function Ir(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Ua=null,Ha=null;function rd(t){var e=Oa(t);if(e&&(t=e.stateNode)){var n=t[me]||null;t:switch(t=e.stateNode,e.type){case"input":if(Pr(t,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),e=n.name,n.type==="radio"&&e!=null){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+Oe(""+e)+'"][type="radio"]'),e=0;e<n.length;e++){var l=n[e];if(l!==t&&l.form===t.form){var o=l[me]||null;if(!o)throw Error(r(90));Pr(l,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(e=0;e<n.length;e++)l=n[e],l.form===t.form&&ed(l)}break t;case"textarea":ad(t,n.value,n.defaultValue);break t;case"select":e=n.value,e!=null&&Ba(t,!!n.multiple,e,!1)}}}var to=!1;function od(t,e,n){if(to)return t(e,n);to=!0;try{var l=t(e);return l}finally{if(to=!1,(Ua!==null||Ha!==null)&&(Us(),Ua&&(e=Ua,t=Ha,Ha=Ua=null,rd(e),t)))for(e=0;e<t.length;e++)rd(t[e])}}function Oi(t,e){var n=t.stateNode;if(n===null)return null;var l=n[me]||null;if(l===null)return null;n=l[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(t=t.type,l=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!l;break t;default:t=!1}if(t)return null;if(n&&typeof n!="function")throw Error(r(231,e,typeof n));return n}var cn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),eo=!1;if(cn)try{var Vi={};Object.defineProperty(Vi,"passive",{get:function(){eo=!0}}),window.addEventListener("test",Vi,Vi),window.removeEventListener("test",Vi,Vi)}catch{eo=!1}var Rn=null,no=null,$l=null;function ud(){if($l)return $l;var t,e=no,n=e.length,l,o="value"in Rn?Rn.value:Rn.textContent,u=o.length;for(t=0;t<n&&e[t]===o[t];t++);var h=n-t;for(l=1;l<=h&&e[n-l]===o[u-l];l++);return $l=o.slice(t,1<l?1-l:void 0)}function Il(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function ts(){return!0}function cd(){return!1}function pe(t){function e(n,l,o,u,h){this._reactName=n,this._targetInst=o,this.type=l,this.nativeEvent=u,this.target=h,this.currentTarget=null;for(var b in t)t.hasOwnProperty(b)&&(n=t[b],this[b]=n?n(u):u[b]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?ts:cd,this.isPropagationStopped=cd,this}return S(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=ts)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=ts)},persist:function(){},isPersistent:ts}),e}var ua={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},es=pe(ua),_i=S({},ua,{view:0,detail:0}),Qv=pe(_i),ao,io,Bi,ns=S({},_i,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:so,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Bi&&(Bi&&t.type==="mousemove"?(ao=t.screenX-Bi.screenX,io=t.screenY-Bi.screenY):io=ao=0,Bi=t),ao)},movementY:function(t){return"movementY"in t?t.movementY:io}}),fd=pe(ns),Fv=S({},ns,{dataTransfer:0}),Pv=pe(Fv),Jv=S({},_i,{relatedTarget:0}),lo=pe(Jv),Wv=S({},ua,{animationName:0,elapsedTime:0,pseudoElement:0}),$v=pe(Wv),Iv=S({},ua,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),t1=pe(Iv),e1=S({},ua,{data:0}),dd=pe(e1),n1={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},a1={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"},i1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function l1(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=i1[t])?!!e[t]:!1}function so(){return l1}var s1=S({},_i,{key:function(t){if(t.key){var e=n1[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Il(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?a1[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:so,charCode:function(t){return t.type==="keypress"?Il(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Il(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),r1=pe(s1),o1=S({},ns,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),hd=pe(o1),u1=S({},_i,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:so}),c1=pe(u1),f1=S({},ua,{propertyName:0,elapsedTime:0,pseudoElement:0}),d1=pe(f1),h1=S({},ns,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),m1=pe(h1),p1=S({},ua,{newState:0,oldState:0}),y1=pe(p1),g1=[9,13,27,32],ro=cn&&"CompositionEvent"in window,Li=null;cn&&"documentMode"in document&&(Li=document.documentMode);var v1=cn&&"TextEvent"in window&&!Li,md=cn&&(!ro||Li&&8<Li&&11>=Li),pd=" ",yd=!1;function gd(t,e){switch(t){case"keyup":return g1.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function vd(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var ka=!1;function b1(t,e){switch(t){case"compositionend":return vd(e);case"keypress":return e.which!==32?null:(yd=!0,pd);case"textInput":return t=e.data,t===pd&&yd?null:t;default:return null}}function S1(t,e){if(ka)return t==="compositionend"||!ro&&gd(t,e)?(t=ud(),$l=no=Rn=null,ka=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return md&&e.locale!=="ko"?null:e.data;default:return null}}var x1={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 bd(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!x1[t.type]:e==="textarea"}function Sd(t,e,n,l){Ua?Ha?Ha.push(l):Ha=[l]:Ua=l,e=Ks(e,"onChange"),0<e.length&&(n=new es("onChange","change",null,n,l),t.push({event:n,listeners:e}))}var Ui=null,Hi=null;function T1(t){np(t,0)}function as(t){var e=zi(t);if(ed(e))return t}function xd(t,e){if(t==="change")return e}var Td=!1;if(cn){var oo;if(cn){var uo="oninput"in document;if(!uo){var Ad=document.createElement("div");Ad.setAttribute("oninput","return;"),uo=typeof Ad.oninput=="function"}oo=uo}else oo=!1;Td=oo&&(!document.documentMode||9<document.documentMode)}function Ed(){Ui&&(Ui.detachEvent("onpropertychange",Md),Hi=Ui=null)}function Md(t){if(t.propertyName==="value"&&as(Hi)){var e=[];Sd(e,Hi,t,Ir(t)),od(T1,e)}}function A1(t,e,n){t==="focusin"?(Ed(),Ui=e,Hi=n,Ui.attachEvent("onpropertychange",Md)):t==="focusout"&&Ed()}function E1(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return as(Hi)}function M1(t,e){if(t==="click")return as(e)}function D1(t,e){if(t==="input"||t==="change")return as(e)}function C1(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Ee=typeof Object.is=="function"?Object.is:C1;function ki(t,e){if(Ee(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var n=Object.keys(t),l=Object.keys(e);if(n.length!==l.length)return!1;for(l=0;l<n.length;l++){var o=n[l];if(!kr.call(e,o)||!Ee(t[o],e[o]))return!1}return!0}function Dd(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Cd(t,e){var n=Dd(t);t=0;for(var l;n;){if(n.nodeType===3){if(l=t+n.textContent.length,t<=e&&l>=e)return{node:n,offset:e-t};t=l}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=Dd(n)}}function jd(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?jd(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function wd(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=Jl(t.document);e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=Jl(t.document)}return e}function co(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var j1=cn&&"documentMode"in document&&11>=document.documentMode,Ya=null,fo=null,Yi=null,ho=!1;function Rd(t,e,n){var l=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ho||Ya==null||Ya!==Jl(l)||(l=Ya,"selectionStart"in l&&co(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),Yi&&ki(Yi,l)||(Yi=l,l=Ks(fo,"onSelect"),0<l.length&&(e=new es("onSelect","select",null,e,n),t.push({event:e,listeners:l}),e.target=Ya)))}function ca(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var qa={animationend:ca("Animation","AnimationEnd"),animationiteration:ca("Animation","AnimationIteration"),animationstart:ca("Animation","AnimationStart"),transitionrun:ca("Transition","TransitionRun"),transitionstart:ca("Transition","TransitionStart"),transitioncancel:ca("Transition","TransitionCancel"),transitionend:ca("Transition","TransitionEnd")},mo={},Nd={};cn&&(Nd=document.createElement("div").style,"AnimationEvent"in window||(delete qa.animationend.animation,delete qa.animationiteration.animation,delete qa.animationstart.animation),"TransitionEvent"in window||delete qa.transitionend.transition);function fa(t){if(mo[t])return mo[t];if(!qa[t])return t;var e=qa[t],n;for(n in e)if(e.hasOwnProperty(n)&&n in Nd)return mo[t]=e[n];return t}var zd=fa("animationend"),Od=fa("animationiteration"),Vd=fa("animationstart"),w1=fa("transitionrun"),R1=fa("transitionstart"),N1=fa("transitioncancel"),_d=fa("transitionend"),Bd=new Map,po="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(" ");po.push("scrollEnd");function Xe(t,e){Bd.set(t,e),oa(e,[t])}var is=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},Ve=[],Ga=0,yo=0;function ls(){for(var t=Ga,e=yo=Ga=0;e<t;){var n=Ve[e];Ve[e++]=null;var l=Ve[e];Ve[e++]=null;var o=Ve[e];Ve[e++]=null;var u=Ve[e];if(Ve[e++]=null,l!==null&&o!==null){var h=l.pending;h===null?o.next=o:(o.next=h.next,h.next=o),l.pending=o}u!==0&&Ld(n,o,u)}}function ss(t,e,n,l){Ve[Ga++]=t,Ve[Ga++]=e,Ve[Ga++]=n,Ve[Ga++]=l,yo|=l,t.lanes|=l,t=t.alternate,t!==null&&(t.lanes|=l)}function go(t,e,n,l){return ss(t,e,n,l),rs(t)}function da(t,e){return ss(t,null,null,e),rs(t)}function Ld(t,e,n){t.lanes|=n;var l=t.alternate;l!==null&&(l.lanes|=n);for(var o=!1,u=t.return;u!==null;)u.childLanes|=n,l=u.alternate,l!==null&&(l.childLanes|=n),u.tag===22&&(t=u.stateNode,t===null||t._visibility&1||(o=!0)),t=u,u=u.return;return t.tag===3?(u=t.stateNode,o&&e!==null&&(o=31-Ae(n),t=u.hiddenUpdates,l=t[o],l===null?t[o]=[e]:l.push(e),e.lane=n|536870912),u):null}function rs(t){if(50<ul)throw ul=0,Du=null,Error(r(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var Xa={};function z1(t,e,n,l){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Me(t,e,n,l){return new z1(t,e,n,l)}function vo(t){return t=t.prototype,!(!t||!t.isReactComponent)}function fn(t,e){var n=t.alternate;return n===null?(n=Me(t.tag,e,t.key,t.mode),n.elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=t.flags&65011712,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n.refCleanup=t.refCleanup,n}function Ud(t,e){t.flags&=65011714;var n=t.alternate;return n===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=n.childLanes,t.lanes=n.lanes,t.child=n.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=n.memoizedProps,t.memoizedState=n.memoizedState,t.updateQueue=n.updateQueue,t.type=n.type,e=n.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function os(t,e,n,l,o,u){var h=0;if(l=t,typeof t=="function")vo(t)&&(h=1);else if(typeof t=="string")h=Lb(t,n,$.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case rt:return t=Me(31,n,e,o),t.elementType=rt,t.lanes=u,t;case B:return ha(n.children,o,u,e);case w:h=8,o|=24;break;case O:return t=Me(12,n,e,o|2),t.elementType=O,t.lanes=u,t;case Q:return t=Me(13,n,e,o),t.elementType=Q,t.lanes=u,t;case it:return t=Me(19,n,e,o),t.elementType=it,t.lanes=u,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case V:h=10;break t;case G:h=9;break t;case X:h=11;break t;case W:h=14;break t;case et:h=16,l=null;break t}h=29,n=Error(r(130,t===null?"null":typeof t,"")),l=null}return e=Me(h,n,e,o),e.elementType=t,e.type=l,e.lanes=u,e}function ha(t,e,n,l){return t=Me(7,t,l,e),t.lanes=n,t}function bo(t,e,n){return t=Me(6,t,null,e),t.lanes=n,t}function Hd(t){var e=Me(18,null,null,0);return e.stateNode=t,e}function So(t,e,n){return e=Me(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var kd=new WeakMap;function _e(t,e){if(typeof t=="object"&&t!==null){var n=kd.get(t);return n!==void 0?n:(e={value:t,source:e,stack:Hf(e)},kd.set(t,e),e)}return{value:t,source:e,stack:Hf(e)}}var Ka=[],Za=0,us=null,qi=0,Be=[],Le=0,Nn=null,Je=1,We="";function dn(t,e){Ka[Za++]=qi,Ka[Za++]=us,us=t,qi=e}function Yd(t,e,n){Be[Le++]=Je,Be[Le++]=We,Be[Le++]=Nn,Nn=t;var l=Je;t=We;var o=32-Ae(l)-1;l&=~(1<<o),n+=1;var u=32-Ae(e)+o;if(30<u){var h=o-o%5;u=(l&(1<<h)-1).toString(32),l>>=h,o-=h,Je=1<<32-Ae(e)+o|n<<o|l,We=u+t}else Je=1<<u|n<<o|l,We=t}function xo(t){t.return!==null&&(dn(t,1),Yd(t,1,0))}function To(t){for(;t===us;)us=Ka[--Za],Ka[Za]=null,qi=Ka[--Za],Ka[Za]=null;for(;t===Nn;)Nn=Be[--Le],Be[Le]=null,We=Be[--Le],Be[Le]=null,Je=Be[--Le],Be[Le]=null}function qd(t,e){Be[Le++]=Je,Be[Le++]=We,Be[Le++]=Nn,Je=e.id,We=e.overflow,Nn=t}var ae=null,zt=null,gt=!1,zn=null,Ue=!1,Ao=Error(r(519));function On(t){var e=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Gi(_e(e,t)),Ao}function Gd(t){var e=t.stateNode,n=t.type,l=t.memoizedProps;switch(e[ne]=t,e[me]=l,n){case"dialog":ht("cancel",e),ht("close",e);break;case"iframe":case"object":case"embed":ht("load",e);break;case"video":case"audio":for(n=0;n<fl.length;n++)ht(fl[n],e);break;case"source":ht("error",e);break;case"img":case"image":case"link":ht("error",e),ht("load",e);break;case"details":ht("toggle",e);break;case"input":ht("invalid",e),nd(e,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":ht("invalid",e);break;case"textarea":ht("invalid",e),id(e,l.value,l.defaultValue,l.children)}n=l.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||e.textContent===""+n||l.suppressHydrationWarning===!0||sp(e.textContent,n)?(l.popover!=null&&(ht("beforetoggle",e),ht("toggle",e)),l.onScroll!=null&&ht("scroll",e),l.onScrollEnd!=null&&ht("scrollend",e),l.onClick!=null&&(e.onclick=un),e=!0):e=!1,e||On(t,!0)}function Xd(t){for(ae=t.return;ae;)switch(ae.tag){case 5:case 31:case 13:Ue=!1;return;case 27:case 3:Ue=!0;return;default:ae=ae.return}}function Qa(t){if(t!==ae)return!1;if(!gt)return Xd(t),gt=!0,!1;var e=t.tag,n;if((n=e!==3&&e!==27)&&((n=e===5)&&(n=t.type,n=!(n!=="form"&&n!=="button")||Yu(t.type,t.memoizedProps)),n=!n),n&&zt&&On(t),Xd(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(317));zt=pp(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(317));zt=pp(t)}else e===27?(e=zt,Qn(t.type)?(t=Zu,Zu=null,zt=t):zt=e):zt=ae?ke(t.stateNode.nextSibling):null;return!0}function ma(){zt=ae=null,gt=!1}function Eo(){var t=zn;return t!==null&&(be===null?be=t:be.push.apply(be,t),zn=null),t}function Gi(t){zn===null?zn=[t]:zn.push(t)}var Mo=E(null),pa=null,hn=null;function Vn(t,e,n){F(Mo,e._currentValue),e._currentValue=n}function mn(t){t._currentValue=Mo.current,q(Mo)}function Do(t,e,n){for(;t!==null;){var l=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,l!==null&&(l.childLanes|=e)):l!==null&&(l.childLanes&e)!==e&&(l.childLanes|=e),t===n)break;t=t.return}}function Co(t,e,n,l){var o=t.child;for(o!==null&&(o.return=t);o!==null;){var u=o.dependencies;if(u!==null){var h=o.child;u=u.firstContext;t:for(;u!==null;){var b=u;u=o;for(var T=0;T<e.length;T++)if(b.context===e[T]){u.lanes|=n,b=u.alternate,b!==null&&(b.lanes|=n),Do(u.return,n,t),l||(h=null);break t}u=b.next}}else if(o.tag===18){if(h=o.return,h===null)throw Error(r(341));h.lanes|=n,u=h.alternate,u!==null&&(u.lanes|=n),Do(h,n,t),h=null}else h=o.child;if(h!==null)h.return=o;else for(h=o;h!==null;){if(h===t){h=null;break}if(o=h.sibling,o!==null){o.return=h.return,h=o;break}h=h.return}o=h}}function Fa(t,e,n,l){t=null;for(var o=e,u=!1;o!==null;){if(!u){if((o.flags&524288)!==0)u=!0;else if((o.flags&262144)!==0)break}if(o.tag===10){var h=o.alternate;if(h===null)throw Error(r(387));if(h=h.memoizedProps,h!==null){var b=o.type;Ee(o.pendingProps.value,h.value)||(t!==null?t.push(b):t=[b])}}else if(o===Tt.current){if(h=o.alternate,h===null)throw Error(r(387));h.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(t!==null?t.push(yl):t=[yl])}o=o.return}t!==null&&Co(e,t,n,l),e.flags|=262144}function cs(t){for(t=t.firstContext;t!==null;){if(!Ee(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function ya(t){pa=t,hn=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function ie(t){return Kd(pa,t)}function fs(t,e){return pa===null&&ya(t),Kd(t,e)}function Kd(t,e){var n=e._currentValue;if(e={context:e,memoizedValue:n,next:null},hn===null){if(t===null)throw Error(r(308));hn=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else hn=hn.next=e;return n}var O1=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(n,l){t.push(l)}};this.abort=function(){e.aborted=!0,t.forEach(function(n){return n()})}},V1=a.unstable_scheduleCallback,_1=a.unstable_NormalPriority,Kt={$$typeof:V,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function jo(){return{controller:new O1,data:new Map,refCount:0}}function Xi(t){t.refCount--,t.refCount===0&&V1(_1,function(){t.controller.abort()})}var Ki=null,wo=0,Pa=0,Ja=null;function B1(t,e){if(Ki===null){var n=Ki=[];wo=0,Pa=zu(),Ja={status:"pending",value:void 0,then:function(l){n.push(l)}}}return wo++,e.then(Zd,Zd),e}function Zd(){if(--wo===0&&Ki!==null){Ja!==null&&(Ja.status="fulfilled");var t=Ki;Ki=null,Pa=0,Ja=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function L1(t,e){var n=[],l={status:"pending",value:null,reason:null,then:function(o){n.push(o)}};return t.then(function(){l.status="fulfilled",l.value=e;for(var o=0;o<n.length;o++)(0,n[o])(e)},function(o){for(l.status="rejected",l.reason=o,o=0;o<n.length;o++)(0,n[o])(void 0)}),l}var Qd=L.S;L.S=function(t,e){Rm=xe(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&B1(t,e),Qd!==null&&Qd(t,e)};var ga=E(null);function Ro(){var t=ga.current;return t!==null?t:wt.pooledCache}function ds(t,e){e===null?F(ga,ga.current):F(ga,e.pool)}function Fd(){var t=Ro();return t===null?null:{parent:Kt._currentValue,pool:t}}var Wa=Error(r(460)),No=Error(r(474)),hs=Error(r(542)),ms={then:function(){}};function Pd(t){return t=t.status,t==="fulfilled"||t==="rejected"}function Jd(t,e,n){switch(n=t[n],n===void 0?t.push(e):n!==e&&(e.then(un,un),e=n),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,$d(t),t;default:if(typeof e.status=="string")e.then(un,un);else{if(t=wt,t!==null&&100<t.shellSuspendCounter)throw Error(r(482));t=e,t.status="pending",t.then(function(l){if(e.status==="pending"){var o=e;o.status="fulfilled",o.value=l}},function(l){if(e.status==="pending"){var o=e;o.status="rejected",o.reason=l}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,$d(t),t}throw ba=e,Wa}}function va(t){try{var e=t._init;return e(t._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(ba=n,Wa):n}}var ba=null;function Wd(){if(ba===null)throw Error(r(459));var t=ba;return ba=null,t}function $d(t){if(t===Wa||t===hs)throw Error(r(483))}var $a=null,Zi=0;function ps(t){var e=Zi;return Zi+=1,$a===null&&($a=[]),Jd($a,t,e)}function Qi(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function ys(t,e){throw e.$$typeof===x?Error(r(525)):(t=Object.prototype.toString.call(e),Error(r(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function Id(t){function e(C,M){if(t){var R=C.deletions;R===null?(C.deletions=[M],C.flags|=16):R.push(M)}}function n(C,M){if(!t)return null;for(;M!==null;)e(C,M),M=M.sibling;return null}function l(C){for(var M=new Map;C!==null;)C.key!==null?M.set(C.key,C):M.set(C.index,C),C=C.sibling;return M}function o(C,M){return C=fn(C,M),C.index=0,C.sibling=null,C}function u(C,M,R){return C.index=R,t?(R=C.alternate,R!==null?(R=R.index,R<M?(C.flags|=67108866,M):R):(C.flags|=67108866,M)):(C.flags|=1048576,M)}function h(C){return t&&C.alternate===null&&(C.flags|=67108866),C}function b(C,M,R,k){return M===null||M.tag!==6?(M=bo(R,C.mode,k),M.return=C,M):(M=o(M,R),M.return=C,M)}function T(C,M,R,k){var nt=R.type;return nt===B?U(C,M,R.props.children,k,R.key):M!==null&&(M.elementType===nt||typeof nt=="object"&&nt!==null&&nt.$$typeof===et&&va(nt)===M.type)?(M=o(M,R.props),Qi(M,R),M.return=C,M):(M=os(R.type,R.key,R.props,null,C.mode,k),Qi(M,R),M.return=C,M)}function N(C,M,R,k){return M===null||M.tag!==4||M.stateNode.containerInfo!==R.containerInfo||M.stateNode.implementation!==R.implementation?(M=So(R,C.mode,k),M.return=C,M):(M=o(M,R.children||[]),M.return=C,M)}function U(C,M,R,k,nt){return M===null||M.tag!==7?(M=ha(R,C.mode,k,nt),M.return=C,M):(M=o(M,R),M.return=C,M)}function Y(C,M,R){if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return M=bo(""+M,C.mode,R),M.return=C,M;if(typeof M=="object"&&M!==null){switch(M.$$typeof){case A:return R=os(M.type,M.key,M.props,null,C.mode,R),Qi(R,M),R.return=C,R;case j:return M=So(M,C.mode,R),M.return=C,M;case et:return M=va(M),Y(C,M,R)}if(Bt(M)||St(M))return M=ha(M,C.mode,R,null),M.return=C,M;if(typeof M.then=="function")return Y(C,ps(M),R);if(M.$$typeof===V)return Y(C,fs(C,M),R);ys(C,M)}return null}function z(C,M,R,k){var nt=M!==null?M.key:null;if(typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint")return nt!==null?null:b(C,M,""+R,k);if(typeof R=="object"&&R!==null){switch(R.$$typeof){case A:return R.key===nt?T(C,M,R,k):null;case j:return R.key===nt?N(C,M,R,k):null;case et:return R=va(R),z(C,M,R,k)}if(Bt(R)||St(R))return nt!==null?null:U(C,M,R,k,null);if(typeof R.then=="function")return z(C,M,ps(R),k);if(R.$$typeof===V)return z(C,M,fs(C,R),k);ys(C,R)}return null}function _(C,M,R,k,nt){if(typeof k=="string"&&k!==""||typeof k=="number"||typeof k=="bigint")return C=C.get(R)||null,b(M,C,""+k,nt);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case A:return C=C.get(k.key===null?R:k.key)||null,T(M,C,k,nt);case j:return C=C.get(k.key===null?R:k.key)||null,N(M,C,k,nt);case et:return k=va(k),_(C,M,R,k,nt)}if(Bt(k)||St(k))return C=C.get(R)||null,U(M,C,k,nt,null);if(typeof k.then=="function")return _(C,M,R,ps(k),nt);if(k.$$typeof===V)return _(C,M,R,fs(M,k),nt);ys(M,k)}return null}function P(C,M,R,k){for(var nt=null,vt=null,I=M,ct=M=0,yt=null;I!==null&&ct<R.length;ct++){I.index>ct?(yt=I,I=null):yt=I.sibling;var bt=z(C,I,R[ct],k);if(bt===null){I===null&&(I=yt);break}t&&I&&bt.alternate===null&&e(C,I),M=u(bt,M,ct),vt===null?nt=bt:vt.sibling=bt,vt=bt,I=yt}if(ct===R.length)return n(C,I),gt&&dn(C,ct),nt;if(I===null){for(;ct<R.length;ct++)I=Y(C,R[ct],k),I!==null&&(M=u(I,M,ct),vt===null?nt=I:vt.sibling=I,vt=I);return gt&&dn(C,ct),nt}for(I=l(I);ct<R.length;ct++)yt=_(I,C,ct,R[ct],k),yt!==null&&(t&&yt.alternate!==null&&I.delete(yt.key===null?ct:yt.key),M=u(yt,M,ct),vt===null?nt=yt:vt.sibling=yt,vt=yt);return t&&I.forEach(function($n){return e(C,$n)}),gt&&dn(C,ct),nt}function at(C,M,R,k){if(R==null)throw Error(r(151));for(var nt=null,vt=null,I=M,ct=M=0,yt=null,bt=R.next();I!==null&&!bt.done;ct++,bt=R.next()){I.index>ct?(yt=I,I=null):yt=I.sibling;var $n=z(C,I,bt.value,k);if($n===null){I===null&&(I=yt);break}t&&I&&$n.alternate===null&&e(C,I),M=u($n,M,ct),vt===null?nt=$n:vt.sibling=$n,vt=$n,I=yt}if(bt.done)return n(C,I),gt&&dn(C,ct),nt;if(I===null){for(;!bt.done;ct++,bt=R.next())bt=Y(C,bt.value,k),bt!==null&&(M=u(bt,M,ct),vt===null?nt=bt:vt.sibling=bt,vt=bt);return gt&&dn(C,ct),nt}for(I=l(I);!bt.done;ct++,bt=R.next())bt=_(I,C,ct,bt.value,k),bt!==null&&(t&&bt.alternate!==null&&I.delete(bt.key===null?ct:bt.key),M=u(bt,M,ct),vt===null?nt=bt:vt.sibling=bt,vt=bt);return t&&I.forEach(function(Fb){return e(C,Fb)}),gt&&dn(C,ct),nt}function jt(C,M,R,k){if(typeof R=="object"&&R!==null&&R.type===B&&R.key===null&&(R=R.props.children),typeof R=="object"&&R!==null){switch(R.$$typeof){case A:t:{for(var nt=R.key;M!==null;){if(M.key===nt){if(nt=R.type,nt===B){if(M.tag===7){n(C,M.sibling),k=o(M,R.props.children),k.return=C,C=k;break t}}else if(M.elementType===nt||typeof nt=="object"&&nt!==null&&nt.$$typeof===et&&va(nt)===M.type){n(C,M.sibling),k=o(M,R.props),Qi(k,R),k.return=C,C=k;break t}n(C,M);break}else e(C,M);M=M.sibling}R.type===B?(k=ha(R.props.children,C.mode,k,R.key),k.return=C,C=k):(k=os(R.type,R.key,R.props,null,C.mode,k),Qi(k,R),k.return=C,C=k)}return h(C);case j:t:{for(nt=R.key;M!==null;){if(M.key===nt)if(M.tag===4&&M.stateNode.containerInfo===R.containerInfo&&M.stateNode.implementation===R.implementation){n(C,M.sibling),k=o(M,R.children||[]),k.return=C,C=k;break t}else{n(C,M);break}else e(C,M);M=M.sibling}k=So(R,C.mode,k),k.return=C,C=k}return h(C);case et:return R=va(R),jt(C,M,R,k)}if(Bt(R))return P(C,M,R,k);if(St(R)){if(nt=St(R),typeof nt!="function")throw Error(r(150));return R=nt.call(R),at(C,M,R,k)}if(typeof R.then=="function")return jt(C,M,ps(R),k);if(R.$$typeof===V)return jt(C,M,fs(C,R),k);ys(C,R)}return typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint"?(R=""+R,M!==null&&M.tag===6?(n(C,M.sibling),k=o(M,R),k.return=C,C=k):(n(C,M),k=bo(R,C.mode,k),k.return=C,C=k),h(C)):n(C,M)}return function(C,M,R,k){try{Zi=0;var nt=jt(C,M,R,k);return $a=null,nt}catch(I){if(I===Wa||I===hs)throw I;var vt=Me(29,I,null,C.mode);return vt.lanes=k,vt.return=C,vt}finally{}}}var Sa=Id(!0),th=Id(!1),_n=!1;function zo(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Oo(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function Bn(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Ln(t,e,n){var l=t.updateQueue;if(l===null)return null;if(l=l.shared,(xt&2)!==0){var o=l.pending;return o===null?e.next=e:(e.next=o.next,o.next=e),l.pending=e,e=rs(t),Ld(t,null,n),e}return ss(t,l,e,n),rs(t)}function Fi(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194048)!==0)){var l=e.lanes;l&=t.pendingLanes,n|=l,e.lanes=n,Kf(t,n)}}function Vo(t,e){var n=t.updateQueue,l=t.alternate;if(l!==null&&(l=l.updateQueue,n===l)){var o=null,u=null;if(n=n.firstBaseUpdate,n!==null){do{var h={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};u===null?o=u=h:u=u.next=h,n=n.next}while(n!==null);u===null?o=u=e:u=u.next=e}else o=u=e;n={baseState:l.baseState,firstBaseUpdate:o,lastBaseUpdate:u,shared:l.shared,callbacks:l.callbacks},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}var _o=!1;function Pi(){if(_o){var t=Ja;if(t!==null)throw t}}function Ji(t,e,n,l){_o=!1;var o=t.updateQueue;_n=!1;var u=o.firstBaseUpdate,h=o.lastBaseUpdate,b=o.shared.pending;if(b!==null){o.shared.pending=null;var T=b,N=T.next;T.next=null,h===null?u=N:h.next=N,h=T;var U=t.alternate;U!==null&&(U=U.updateQueue,b=U.lastBaseUpdate,b!==h&&(b===null?U.firstBaseUpdate=N:b.next=N,U.lastBaseUpdate=T))}if(u!==null){var Y=o.baseState;h=0,U=N=T=null,b=u;do{var z=b.lane&-536870913,_=z!==b.lane;if(_?(pt&z)===z:(l&z)===z){z!==0&&z===Pa&&(_o=!0),U!==null&&(U=U.next={lane:0,tag:b.tag,payload:b.payload,callback:null,next:null});t:{var P=t,at=b;z=e;var jt=n;switch(at.tag){case 1:if(P=at.payload,typeof P=="function"){Y=P.call(jt,Y,z);break t}Y=P;break t;case 3:P.flags=P.flags&-65537|128;case 0:if(P=at.payload,z=typeof P=="function"?P.call(jt,Y,z):P,z==null)break t;Y=S({},Y,z);break t;case 2:_n=!0}}z=b.callback,z!==null&&(t.flags|=64,_&&(t.flags|=8192),_=o.callbacks,_===null?o.callbacks=[z]:_.push(z))}else _={lane:z,tag:b.tag,payload:b.payload,callback:b.callback,next:null},U===null?(N=U=_,T=Y):U=U.next=_,h|=z;if(b=b.next,b===null){if(b=o.shared.pending,b===null)break;_=b,b=_.next,_.next=null,o.lastBaseUpdate=_,o.shared.pending=null}}while(!0);U===null&&(T=Y),o.baseState=T,o.firstBaseUpdate=N,o.lastBaseUpdate=U,u===null&&(o.shared.lanes=0),qn|=h,t.lanes=h,t.memoizedState=Y}}function eh(t,e){if(typeof t!="function")throw Error(r(191,t));t.call(e)}function nh(t,e){var n=t.callbacks;if(n!==null)for(t.callbacks=null,t=0;t<n.length;t++)eh(n[t],e)}var Ia=E(null),gs=E(0);function ah(t,e){t=An,F(gs,t),F(Ia,e),An=t|e.baseLanes}function Bo(){F(gs,An),F(Ia,Ia.current)}function Lo(){An=gs.current,q(Ia),q(gs)}var De=E(null),He=null;function Un(t){var e=t.alternate;F(Gt,Gt.current&1),F(De,t),He===null&&(e===null||Ia.current!==null||e.memoizedState!==null)&&(He=t)}function Uo(t){F(Gt,Gt.current),F(De,t),He===null&&(He=t)}function ih(t){t.tag===22?(F(Gt,Gt.current),F(De,t),He===null&&(He=t)):Hn()}function Hn(){F(Gt,Gt.current),F(De,De.current)}function Ce(t){q(De),He===t&&(He=null),q(Gt)}var Gt=E(0);function vs(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||Xu(n)||Ku(n)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var pn=0,ut=null,Dt=null,Zt=null,bs=!1,ti=!1,xa=!1,Ss=0,Wi=0,ei=null,U1=0;function Ht(){throw Error(r(321))}function Ho(t,e){if(e===null)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!Ee(t[n],e[n]))return!1;return!0}function ko(t,e,n,l,o,u){return pn=u,ut=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,L.H=t===null||t.memoizedState===null?Yh:eu,xa=!1,u=n(l,o),xa=!1,ti&&(u=sh(e,n,l,o)),lh(t),u}function lh(t){L.H=tl;var e=Dt!==null&&Dt.next!==null;if(pn=0,Zt=Dt=ut=null,bs=!1,Wi=0,ei=null,e)throw Error(r(300));t===null||Qt||(t=t.dependencies,t!==null&&cs(t)&&(Qt=!0))}function sh(t,e,n,l){ut=t;var o=0;do{if(ti&&(ei=null),Wi=0,ti=!1,25<=o)throw Error(r(301));if(o+=1,Zt=Dt=null,t.updateQueue!=null){var u=t.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}L.H=qh,u=e(n,l)}while(ti);return u}function H1(){var t=L.H,e=t.useState()[0];return e=typeof e.then=="function"?$i(e):e,t=t.useState()[0],(Dt!==null?Dt.memoizedState:null)!==t&&(ut.flags|=1024),e}function Yo(){var t=Ss!==0;return Ss=0,t}function qo(t,e,n){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~n}function Go(t){if(bs){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}bs=!1}pn=0,Zt=Dt=ut=null,ti=!1,Wi=Ss=0,ei=null}function fe(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Zt===null?ut.memoizedState=Zt=t:Zt=Zt.next=t,Zt}function Xt(){if(Dt===null){var t=ut.alternate;t=t!==null?t.memoizedState:null}else t=Dt.next;var e=Zt===null?ut.memoizedState:Zt.next;if(e!==null)Zt=e,Dt=t;else{if(t===null)throw ut.alternate===null?Error(r(467)):Error(r(310));Dt=t,t={memoizedState:Dt.memoizedState,baseState:Dt.baseState,baseQueue:Dt.baseQueue,queue:Dt.queue,next:null},Zt===null?ut.memoizedState=Zt=t:Zt=Zt.next=t}return Zt}function xs(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function $i(t){var e=Wi;return Wi+=1,ei===null&&(ei=[]),t=Jd(ei,t,e),e=ut,(Zt===null?e.memoizedState:Zt.next)===null&&(e=e.alternate,L.H=e===null||e.memoizedState===null?Yh:eu),t}function Ts(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return $i(t);if(t.$$typeof===V)return ie(t)}throw Error(r(438,String(t)))}function Xo(t){var e=null,n=ut.updateQueue;if(n!==null&&(e=n.memoCache),e==null){var l=ut.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(e={data:l.data.map(function(o){return o.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),n===null&&(n=xs(),ut.updateQueue=n),n.memoCache=e,n=e.data[e.index],n===void 0)for(n=e.data[e.index]=Array(t),l=0;l<t;l++)n[l]=tt;return e.index++,n}function yn(t,e){return typeof e=="function"?e(t):e}function As(t){var e=Xt();return Ko(e,Dt,t)}function Ko(t,e,n){var l=t.queue;if(l===null)throw Error(r(311));l.lastRenderedReducer=n;var o=t.baseQueue,u=l.pending;if(u!==null){if(o!==null){var h=o.next;o.next=u.next,u.next=h}e.baseQueue=o=u,l.pending=null}if(u=t.baseState,o===null)t.memoizedState=u;else{e=o.next;var b=h=null,T=null,N=e,U=!1;do{var Y=N.lane&-536870913;if(Y!==N.lane?(pt&Y)===Y:(pn&Y)===Y){var z=N.revertLane;if(z===0)T!==null&&(T=T.next={lane:0,revertLane:0,gesture:null,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null}),Y===Pa&&(U=!0);else if((pn&z)===z){N=N.next,z===Pa&&(U=!0);continue}else Y={lane:0,revertLane:N.revertLane,gesture:null,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null},T===null?(b=T=Y,h=u):T=T.next=Y,ut.lanes|=z,qn|=z;Y=N.action,xa&&n(u,Y),u=N.hasEagerState?N.eagerState:n(u,Y)}else z={lane:Y,revertLane:N.revertLane,gesture:N.gesture,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null},T===null?(b=T=z,h=u):T=T.next=z,ut.lanes|=Y,qn|=Y;N=N.next}while(N!==null&&N!==e);if(T===null?h=u:T.next=b,!Ee(u,t.memoizedState)&&(Qt=!0,U&&(n=Ja,n!==null)))throw n;t.memoizedState=u,t.baseState=h,t.baseQueue=T,l.lastRenderedState=u}return o===null&&(l.lanes=0),[t.memoizedState,l.dispatch]}function Zo(t){var e=Xt(),n=e.queue;if(n===null)throw Error(r(311));n.lastRenderedReducer=t;var l=n.dispatch,o=n.pending,u=e.memoizedState;if(o!==null){n.pending=null;var h=o=o.next;do u=t(u,h.action),h=h.next;while(h!==o);Ee(u,e.memoizedState)||(Qt=!0),e.memoizedState=u,e.baseQueue===null&&(e.baseState=u),n.lastRenderedState=u}return[u,l]}function rh(t,e,n){var l=ut,o=Xt(),u=gt;if(u){if(n===void 0)throw Error(r(407));n=n()}else n=e();var h=!Ee((Dt||o).memoizedState,n);if(h&&(o.memoizedState=n,Qt=!0),o=o.queue,Po(ch.bind(null,l,o,t),[t]),o.getSnapshot!==e||h||Zt!==null&&Zt.memoizedState.tag&1){if(l.flags|=2048,ni(9,{destroy:void 0},uh.bind(null,l,o,n,e),null),wt===null)throw Error(r(349));u||(pn&127)!==0||oh(l,e,n)}return n}function oh(t,e,n){t.flags|=16384,t={getSnapshot:e,value:n},e=ut.updateQueue,e===null?(e=xs(),ut.updateQueue=e,e.stores=[t]):(n=e.stores,n===null?e.stores=[t]:n.push(t))}function uh(t,e,n,l){e.value=n,e.getSnapshot=l,fh(e)&&dh(t)}function ch(t,e,n){return n(function(){fh(e)&&dh(t)})}function fh(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!Ee(t,n)}catch{return!0}}function dh(t){var e=da(t,2);e!==null&&Se(e,t,2)}function Qo(t){var e=fe();if(typeof t=="function"){var n=t;if(t=n(),xa){jn(!0);try{n()}finally{jn(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:yn,lastRenderedState:t},e}function hh(t,e,n,l){return t.baseState=n,Ko(t,Dt,typeof l=="function"?l:yn)}function k1(t,e,n,l,o){if(Ds(t))throw Error(r(485));if(t=e.action,t!==null){var u={payload:o,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(h){u.listeners.push(h)}};L.T!==null?n(!0):u.isTransition=!1,l(u),n=e.pending,n===null?(u.next=e.pending=u,mh(e,u)):(u.next=n.next,e.pending=n.next=u)}}function mh(t,e){var n=e.action,l=e.payload,o=t.state;if(e.isTransition){var u=L.T,h={};L.T=h;try{var b=n(o,l),T=L.S;T!==null&&T(h,b),ph(t,e,b)}catch(N){Fo(t,e,N)}finally{u!==null&&h.types!==null&&(u.types=h.types),L.T=u}}else try{u=n(o,l),ph(t,e,u)}catch(N){Fo(t,e,N)}}function ph(t,e,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(l){yh(t,e,l)},function(l){return Fo(t,e,l)}):yh(t,e,n)}function yh(t,e,n){e.status="fulfilled",e.value=n,gh(e),t.state=n,e=t.pending,e!==null&&(n=e.next,n===e?t.pending=null:(n=n.next,e.next=n,mh(t,n)))}function Fo(t,e,n){var l=t.pending;if(t.pending=null,l!==null){l=l.next;do e.status="rejected",e.reason=n,gh(e),e=e.next;while(e!==l)}t.action=null}function gh(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function vh(t,e){return e}function bh(t,e){if(gt){var n=wt.formState;if(n!==null){t:{var l=ut;if(gt){if(zt){e:{for(var o=zt,u=Ue;o.nodeType!==8;){if(!u){o=null;break e}if(o=ke(o.nextSibling),o===null){o=null;break e}}u=o.data,o=u==="F!"||u==="F"?o:null}if(o){zt=ke(o.nextSibling),l=o.data==="F!";break t}}On(l)}l=!1}l&&(e=n[0])}}return n=fe(),n.memoizedState=n.baseState=e,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:vh,lastRenderedState:e},n.queue=l,n=Uh.bind(null,ut,l),l.dispatch=n,l=Qo(!1),u=tu.bind(null,ut,!1,l.queue),l=fe(),o={state:e,dispatch:null,action:t,pending:null},l.queue=o,n=k1.bind(null,ut,o,u,n),o.dispatch=n,l.memoizedState=t,[e,n,!1]}function Sh(t){var e=Xt();return xh(e,Dt,t)}function xh(t,e,n){if(e=Ko(t,e,vh)[0],t=As(yn)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var l=$i(e)}catch(h){throw h===Wa?hs:h}else l=e;e=Xt();var o=e.queue,u=o.dispatch;return n!==e.memoizedState&&(ut.flags|=2048,ni(9,{destroy:void 0},Y1.bind(null,o,n),null)),[l,u,t]}function Y1(t,e){t.action=e}function Th(t){var e=Xt(),n=Dt;if(n!==null)return xh(e,n,t);Xt(),e=e.memoizedState,n=Xt();var l=n.queue.dispatch;return n.memoizedState=t,[e,l,!1]}function ni(t,e,n,l){return t={tag:t,create:n,deps:l,inst:e,next:null},e=ut.updateQueue,e===null&&(e=xs(),ut.updateQueue=e),n=e.lastEffect,n===null?e.lastEffect=t.next=t:(l=n.next,n.next=t,t.next=l,e.lastEffect=t),t}function Ah(){return Xt().memoizedState}function Es(t,e,n,l){var o=fe();ut.flags|=t,o.memoizedState=ni(1|e,{destroy:void 0},n,l===void 0?null:l)}function Ms(t,e,n,l){var o=Xt();l=l===void 0?null:l;var u=o.memoizedState.inst;Dt!==null&&l!==null&&Ho(l,Dt.memoizedState.deps)?o.memoizedState=ni(e,u,n,l):(ut.flags|=t,o.memoizedState=ni(1|e,u,n,l))}function Eh(t,e){Es(8390656,8,t,e)}function Po(t,e){Ms(2048,8,t,e)}function q1(t){ut.flags|=4;var e=ut.updateQueue;if(e===null)e=xs(),ut.updateQueue=e,e.events=[t];else{var n=e.events;n===null?e.events=[t]:n.push(t)}}function Mh(t){var e=Xt().memoizedState;return q1({ref:e,nextImpl:t}),function(){if((xt&2)!==0)throw Error(r(440));return e.impl.apply(void 0,arguments)}}function Dh(t,e){return Ms(4,2,t,e)}function Ch(t,e){return Ms(4,4,t,e)}function jh(t,e){if(typeof e=="function"){t=t();var n=e(t);return function(){typeof n=="function"?n():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function wh(t,e,n){n=n!=null?n.concat([t]):null,Ms(4,4,jh.bind(null,e,t),n)}function Jo(){}function Rh(t,e){var n=Xt();e=e===void 0?null:e;var l=n.memoizedState;return e!==null&&Ho(e,l[1])?l[0]:(n.memoizedState=[t,e],t)}function Nh(t,e){var n=Xt();e=e===void 0?null:e;var l=n.memoizedState;if(e!==null&&Ho(e,l[1]))return l[0];if(l=t(),xa){jn(!0);try{t()}finally{jn(!1)}}return n.memoizedState=[l,e],l}function Wo(t,e,n){return n===void 0||(pn&1073741824)!==0&&(pt&261930)===0?t.memoizedState=e:(t.memoizedState=n,t=zm(),ut.lanes|=t,qn|=t,n)}function zh(t,e,n,l){return Ee(n,e)?n:Ia.current!==null?(t=Wo(t,n,l),Ee(t,e)||(Qt=!0),t):(pn&42)===0||(pn&1073741824)!==0&&(pt&261930)===0?(Qt=!0,t.memoizedState=n):(t=zm(),ut.lanes|=t,qn|=t,e)}function Oh(t,e,n,l,o){var u=Z.p;Z.p=u!==0&&8>u?u:8;var h=L.T,b={};L.T=b,tu(t,!1,e,n);try{var T=o(),N=L.S;if(N!==null&&N(b,T),T!==null&&typeof T=="object"&&typeof T.then=="function"){var U=L1(T,l);Ii(t,e,U,Re(t))}else Ii(t,e,l,Re(t))}catch(Y){Ii(t,e,{then:function(){},status:"rejected",reason:Y},Re())}finally{Z.p=u,h!==null&&b.types!==null&&(h.types=b.types),L.T=h}}function G1(){}function $o(t,e,n,l){if(t.tag!==5)throw Error(r(476));var o=Vh(t).queue;Oh(t,o,e,H,n===null?G1:function(){return _h(t),n(l)})}function Vh(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:H,baseState:H,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:yn,lastRenderedState:H},next:null};var n={};return e.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:yn,lastRenderedState:n},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function _h(t){var e=Vh(t);e.next===null&&(e=t.alternate.memoizedState),Ii(t,e.next.queue,{},Re())}function Io(){return ie(yl)}function Bh(){return Xt().memoizedState}function Lh(){return Xt().memoizedState}function X1(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var n=Re();t=Bn(n);var l=Ln(e,t,n);l!==null&&(Se(l,e,n),Fi(l,e,n)),e={cache:jo()},t.payload=e;return}e=e.return}}function K1(t,e,n){var l=Re();n={lane:l,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Ds(t)?Hh(e,n):(n=go(t,e,n,l),n!==null&&(Se(n,t,l),kh(n,e,l)))}function Uh(t,e,n){var l=Re();Ii(t,e,n,l)}function Ii(t,e,n,l){var o={lane:l,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ds(t))Hh(e,o);else{var u=t.alternate;if(t.lanes===0&&(u===null||u.lanes===0)&&(u=e.lastRenderedReducer,u!==null))try{var h=e.lastRenderedState,b=u(h,n);if(o.hasEagerState=!0,o.eagerState=b,Ee(b,h))return ss(t,e,o,0),wt===null&&ls(),!1}catch{}finally{}if(n=go(t,e,o,l),n!==null)return Se(n,t,l),kh(n,e,l),!0}return!1}function tu(t,e,n,l){if(l={lane:2,revertLane:zu(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Ds(t)){if(e)throw Error(r(479))}else e=go(t,n,l,2),e!==null&&Se(e,t,2)}function Ds(t){var e=t.alternate;return t===ut||e!==null&&e===ut}function Hh(t,e){ti=bs=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function kh(t,e,n){if((n&4194048)!==0){var l=e.lanes;l&=t.pendingLanes,n|=l,e.lanes=n,Kf(t,n)}}var tl={readContext:ie,use:Ts,useCallback:Ht,useContext:Ht,useEffect:Ht,useImperativeHandle:Ht,useLayoutEffect:Ht,useInsertionEffect:Ht,useMemo:Ht,useReducer:Ht,useRef:Ht,useState:Ht,useDebugValue:Ht,useDeferredValue:Ht,useTransition:Ht,useSyncExternalStore:Ht,useId:Ht,useHostTransitionStatus:Ht,useFormState:Ht,useActionState:Ht,useOptimistic:Ht,useMemoCache:Ht,useCacheRefresh:Ht};tl.useEffectEvent=Ht;var Yh={readContext:ie,use:Ts,useCallback:function(t,e){return fe().memoizedState=[t,e===void 0?null:e],t},useContext:ie,useEffect:Eh,useImperativeHandle:function(t,e,n){n=n!=null?n.concat([t]):null,Es(4194308,4,jh.bind(null,e,t),n)},useLayoutEffect:function(t,e){return Es(4194308,4,t,e)},useInsertionEffect:function(t,e){Es(4,2,t,e)},useMemo:function(t,e){var n=fe();e=e===void 0?null:e;var l=t();if(xa){jn(!0);try{t()}finally{jn(!1)}}return n.memoizedState=[l,e],l},useReducer:function(t,e,n){var l=fe();if(n!==void 0){var o=n(e);if(xa){jn(!0);try{n(e)}finally{jn(!1)}}}else o=e;return l.memoizedState=l.baseState=o,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:o},l.queue=t,t=t.dispatch=K1.bind(null,ut,t),[l.memoizedState,t]},useRef:function(t){var e=fe();return t={current:t},e.memoizedState=t},useState:function(t){t=Qo(t);var e=t.queue,n=Uh.bind(null,ut,e);return e.dispatch=n,[t.memoizedState,n]},useDebugValue:Jo,useDeferredValue:function(t,e){var n=fe();return Wo(n,t,e)},useTransition:function(){var t=Qo(!1);return t=Oh.bind(null,ut,t.queue,!0,!1),fe().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,n){var l=ut,o=fe();if(gt){if(n===void 0)throw Error(r(407));n=n()}else{if(n=e(),wt===null)throw Error(r(349));(pt&127)!==0||oh(l,e,n)}o.memoizedState=n;var u={value:n,getSnapshot:e};return o.queue=u,Eh(ch.bind(null,l,u,t),[t]),l.flags|=2048,ni(9,{destroy:void 0},uh.bind(null,l,u,n,e),null),n},useId:function(){var t=fe(),e=wt.identifierPrefix;if(gt){var n=We,l=Je;n=(l&~(1<<32-Ae(l)-1)).toString(32)+n,e="_"+e+"R_"+n,n=Ss++,0<n&&(e+="H"+n.toString(32)),e+="_"}else n=U1++,e="_"+e+"r_"+n.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:Io,useFormState:bh,useActionState:bh,useOptimistic:function(t){var e=fe();e.memoizedState=e.baseState=t;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=n,e=tu.bind(null,ut,!0,n),n.dispatch=e,[t,e]},useMemoCache:Xo,useCacheRefresh:function(){return fe().memoizedState=X1.bind(null,ut)},useEffectEvent:function(t){var e=fe(),n={impl:t};return e.memoizedState=n,function(){if((xt&2)!==0)throw Error(r(440));return n.impl.apply(void 0,arguments)}}},eu={readContext:ie,use:Ts,useCallback:Rh,useContext:ie,useEffect:Po,useImperativeHandle:wh,useInsertionEffect:Dh,useLayoutEffect:Ch,useMemo:Nh,useReducer:As,useRef:Ah,useState:function(){return As(yn)},useDebugValue:Jo,useDeferredValue:function(t,e){var n=Xt();return zh(n,Dt.memoizedState,t,e)},useTransition:function(){var t=As(yn)[0],e=Xt().memoizedState;return[typeof t=="boolean"?t:$i(t),e]},useSyncExternalStore:rh,useId:Bh,useHostTransitionStatus:Io,useFormState:Sh,useActionState:Sh,useOptimistic:function(t,e){var n=Xt();return hh(n,Dt,t,e)},useMemoCache:Xo,useCacheRefresh:Lh};eu.useEffectEvent=Mh;var qh={readContext:ie,use:Ts,useCallback:Rh,useContext:ie,useEffect:Po,useImperativeHandle:wh,useInsertionEffect:Dh,useLayoutEffect:Ch,useMemo:Nh,useReducer:Zo,useRef:Ah,useState:function(){return Zo(yn)},useDebugValue:Jo,useDeferredValue:function(t,e){var n=Xt();return Dt===null?Wo(n,t,e):zh(n,Dt.memoizedState,t,e)},useTransition:function(){var t=Zo(yn)[0],e=Xt().memoizedState;return[typeof t=="boolean"?t:$i(t),e]},useSyncExternalStore:rh,useId:Bh,useHostTransitionStatus:Io,useFormState:Th,useActionState:Th,useOptimistic:function(t,e){var n=Xt();return Dt!==null?hh(n,Dt,t,e):(n.baseState=t,[t,n.queue.dispatch])},useMemoCache:Xo,useCacheRefresh:Lh};qh.useEffectEvent=Mh;function nu(t,e,n,l){e=t.memoizedState,n=n(l,e),n=n==null?e:S({},e,n),t.memoizedState=n,t.lanes===0&&(t.updateQueue.baseState=n)}var au={enqueueSetState:function(t,e,n){t=t._reactInternals;var l=Re(),o=Bn(l);o.payload=e,n!=null&&(o.callback=n),e=Ln(t,o,l),e!==null&&(Se(e,t,l),Fi(e,t,l))},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var l=Re(),o=Bn(l);o.tag=1,o.payload=e,n!=null&&(o.callback=n),e=Ln(t,o,l),e!==null&&(Se(e,t,l),Fi(e,t,l))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=Re(),l=Bn(n);l.tag=2,e!=null&&(l.callback=e),e=Ln(t,l,n),e!==null&&(Se(e,t,n),Fi(e,t,n))}};function Gh(t,e,n,l,o,u,h){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(l,u,h):e.prototype&&e.prototype.isPureReactComponent?!ki(n,l)||!ki(o,u):!0}function Xh(t,e,n,l){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(n,l),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(n,l),e.state!==t&&au.enqueueReplaceState(e,e.state,null)}function Ta(t,e){var n=e;if("ref"in e){n={};for(var l in e)l!=="ref"&&(n[l]=e[l])}if(t=t.defaultProps){n===e&&(n=S({},n));for(var o in t)n[o]===void 0&&(n[o]=t[o])}return n}function Kh(t){is(t)}function Zh(t){console.error(t)}function Qh(t){is(t)}function Cs(t,e){try{var n=t.onUncaughtError;n(e.value,{componentStack:e.stack})}catch(l){setTimeout(function(){throw l})}}function Fh(t,e,n){try{var l=t.onCaughtError;l(n.value,{componentStack:n.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(o){setTimeout(function(){throw o})}}function iu(t,e,n){return n=Bn(n),n.tag=3,n.payload={element:null},n.callback=function(){Cs(t,e)},n}function Ph(t){return t=Bn(t),t.tag=3,t}function Jh(t,e,n,l){var o=n.type.getDerivedStateFromError;if(typeof o=="function"){var u=l.value;t.payload=function(){return o(u)},t.callback=function(){Fh(e,n,l)}}var h=n.stateNode;h!==null&&typeof h.componentDidCatch=="function"&&(t.callback=function(){Fh(e,n,l),typeof o!="function"&&(Gn===null?Gn=new Set([this]):Gn.add(this));var b=l.stack;this.componentDidCatch(l.value,{componentStack:b!==null?b:""})})}function Z1(t,e,n,l,o){if(n.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(e=n.alternate,e!==null&&Fa(e,n,o,!0),n=De.current,n!==null){switch(n.tag){case 31:case 13:return He===null?Hs():n.alternate===null&&kt===0&&(kt=3),n.flags&=-257,n.flags|=65536,n.lanes=o,l===ms?n.flags|=16384:(e=n.updateQueue,e===null?n.updateQueue=new Set([l]):e.add(l),wu(t,l,o)),!1;case 22:return n.flags|=65536,l===ms?n.flags|=16384:(e=n.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([l])},n.updateQueue=e):(n=e.retryQueue,n===null?e.retryQueue=new Set([l]):n.add(l)),wu(t,l,o)),!1}throw Error(r(435,n.tag))}return wu(t,l,o),Hs(),!1}if(gt)return e=De.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=o,l!==Ao&&(t=Error(r(422),{cause:l}),Gi(_e(t,n)))):(l!==Ao&&(e=Error(r(423),{cause:l}),Gi(_e(e,n))),t=t.current.alternate,t.flags|=65536,o&=-o,t.lanes|=o,l=_e(l,n),o=iu(t.stateNode,l,o),Vo(t,o),kt!==4&&(kt=2)),!1;var u=Error(r(520),{cause:l});if(u=_e(u,n),ol===null?ol=[u]:ol.push(u),kt!==4&&(kt=2),e===null)return!0;l=_e(l,n),n=e;do{switch(n.tag){case 3:return n.flags|=65536,t=o&-o,n.lanes|=t,t=iu(n.stateNode,l,t),Vo(n,t),!1;case 1:if(e=n.type,u=n.stateNode,(n.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(Gn===null||!Gn.has(u))))return n.flags|=65536,o&=-o,n.lanes|=o,o=Ph(o),Jh(o,t,n,l),Vo(n,o),!1}n=n.return}while(n!==null);return!1}var lu=Error(r(461)),Qt=!1;function le(t,e,n,l){e.child=t===null?th(e,null,n,l):Sa(e,t.child,n,l)}function Wh(t,e,n,l,o){n=n.render;var u=e.ref;if("ref"in l){var h={};for(var b in l)b!=="ref"&&(h[b]=l[b])}else h=l;return ya(e),l=ko(t,e,n,h,u,o),b=Yo(),t!==null&&!Qt?(qo(t,e,o),gn(t,e,o)):(gt&&b&&xo(e),e.flags|=1,le(t,e,l,o),e.child)}function $h(t,e,n,l,o){if(t===null){var u=n.type;return typeof u=="function"&&!vo(u)&&u.defaultProps===void 0&&n.compare===null?(e.tag=15,e.type=u,Ih(t,e,u,l,o)):(t=os(n.type,null,l,e,e.mode,o),t.ref=e.ref,t.return=e,e.child=t)}if(u=t.child,!hu(t,o)){var h=u.memoizedProps;if(n=n.compare,n=n!==null?n:ki,n(h,l)&&t.ref===e.ref)return gn(t,e,o)}return e.flags|=1,t=fn(u,l),t.ref=e.ref,t.return=e,e.child=t}function Ih(t,e,n,l,o){if(t!==null){var u=t.memoizedProps;if(ki(u,l)&&t.ref===e.ref)if(Qt=!1,e.pendingProps=l=u,hu(t,o))(t.flags&131072)!==0&&(Qt=!0);else return e.lanes=t.lanes,gn(t,e,o)}return su(t,e,n,l,o)}function tm(t,e,n,l){var o=l.children,u=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((e.flags&128)!==0){if(u=u!==null?u.baseLanes|n:n,t!==null){for(l=e.child=t.child,o=0;l!==null;)o=o|l.lanes|l.childLanes,l=l.sibling;l=o&~u}else l=0,e.child=null;return em(t,e,u,n,l)}if((n&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&ds(e,u!==null?u.cachePool:null),u!==null?ah(e,u):Bo(),ih(e);else return l=e.lanes=536870912,em(t,e,u!==null?u.baseLanes|n:n,n,l)}else u!==null?(ds(e,u.cachePool),ah(e,u),Hn(),e.memoizedState=null):(t!==null&&ds(e,null),Bo(),Hn());return le(t,e,o,n),e.child}function el(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function em(t,e,n,l,o){var u=Ro();return u=u===null?null:{parent:Kt._currentValue,pool:u},e.memoizedState={baseLanes:n,cachePool:u},t!==null&&ds(e,null),Bo(),ih(e),t!==null&&Fa(t,e,l,!0),e.childLanes=o,null}function js(t,e){return e=Rs({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function nm(t,e,n){return Sa(e,t.child,null,n),t=js(e,e.pendingProps),t.flags|=2,Ce(e),e.memoizedState=null,t}function Q1(t,e,n){var l=e.pendingProps,o=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(gt){if(l.mode==="hidden")return t=js(e,l),e.lanes=536870912,el(null,t);if(Uo(e),(t=zt)?(t=mp(t,Ue),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Nn!==null?{id:Je,overflow:We}:null,retryLane:536870912,hydrationErrors:null},n=Hd(t),n.return=e,e.child=n,ae=e,zt=null)):t=null,t===null)throw On(e);return e.lanes=536870912,null}return js(e,l)}var u=t.memoizedState;if(u!==null){var h=u.dehydrated;if(Uo(e),o)if(e.flags&256)e.flags&=-257,e=nm(t,e,n);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(r(558));else if(Qt||Fa(t,e,n,!1),o=(n&t.childLanes)!==0,Qt||o){if(l=wt,l!==null&&(h=Zf(l,n),h!==0&&h!==u.retryLane))throw u.retryLane=h,da(t,h),Se(l,t,h),lu;Hs(),e=nm(t,e,n)}else t=u.treeContext,zt=ke(h.nextSibling),ae=e,gt=!0,zn=null,Ue=!1,t!==null&&qd(e,t),e=js(e,l),e.flags|=4096;return e}return t=fn(t.child,{mode:l.mode,children:l.children}),t.ref=e.ref,e.child=t,t.return=e,t}function ws(t,e){var n=e.ref;if(n===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(r(284));(t===null||t.ref!==n)&&(e.flags|=4194816)}}function su(t,e,n,l,o){return ya(e),n=ko(t,e,n,l,void 0,o),l=Yo(),t!==null&&!Qt?(qo(t,e,o),gn(t,e,o)):(gt&&l&&xo(e),e.flags|=1,le(t,e,n,o),e.child)}function am(t,e,n,l,o,u){return ya(e),e.updateQueue=null,n=sh(e,l,n,o),lh(t),l=Yo(),t!==null&&!Qt?(qo(t,e,u),gn(t,e,u)):(gt&&l&&xo(e),e.flags|=1,le(t,e,n,u),e.child)}function im(t,e,n,l,o){if(ya(e),e.stateNode===null){var u=Xa,h=n.contextType;typeof h=="object"&&h!==null&&(u=ie(h)),u=new n(l,u),e.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=au,e.stateNode=u,u._reactInternals=e,u=e.stateNode,u.props=l,u.state=e.memoizedState,u.refs={},zo(e),h=n.contextType,u.context=typeof h=="object"&&h!==null?ie(h):Xa,u.state=e.memoizedState,h=n.getDerivedStateFromProps,typeof h=="function"&&(nu(e,n,h,l),u.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(h=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),h!==u.state&&au.enqueueReplaceState(u,u.state,null),Ji(e,l,u,o),Pi(),u.state=e.memoizedState),typeof u.componentDidMount=="function"&&(e.flags|=4194308),l=!0}else if(t===null){u=e.stateNode;var b=e.memoizedProps,T=Ta(n,b);u.props=T;var N=u.context,U=n.contextType;h=Xa,typeof U=="object"&&U!==null&&(h=ie(U));var Y=n.getDerivedStateFromProps;U=typeof Y=="function"||typeof u.getSnapshotBeforeUpdate=="function",b=e.pendingProps!==b,U||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(b||N!==h)&&Xh(e,u,l,h),_n=!1;var z=e.memoizedState;u.state=z,Ji(e,l,u,o),Pi(),N=e.memoizedState,b||z!==N||_n?(typeof Y=="function"&&(nu(e,n,Y,l),N=e.memoizedState),(T=_n||Gh(e,n,T,l,z,N,h))?(U||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(e.flags|=4194308)):(typeof u.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=l,e.memoizedState=N),u.props=l,u.state=N,u.context=h,l=T):(typeof u.componentDidMount=="function"&&(e.flags|=4194308),l=!1)}else{u=e.stateNode,Oo(t,e),h=e.memoizedProps,U=Ta(n,h),u.props=U,Y=e.pendingProps,z=u.context,N=n.contextType,T=Xa,typeof N=="object"&&N!==null&&(T=ie(N)),b=n.getDerivedStateFromProps,(N=typeof b=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(h!==Y||z!==T)&&Xh(e,u,l,T),_n=!1,z=e.memoizedState,u.state=z,Ji(e,l,u,o),Pi();var _=e.memoizedState;h!==Y||z!==_||_n||t!==null&&t.dependencies!==null&&cs(t.dependencies)?(typeof b=="function"&&(nu(e,n,b,l),_=e.memoizedState),(U=_n||Gh(e,n,U,l,z,_,T)||t!==null&&t.dependencies!==null&&cs(t.dependencies))?(N||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(l,_,T),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(l,_,T)),typeof u.componentDidUpdate=="function"&&(e.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof u.componentDidUpdate!="function"||h===t.memoizedProps&&z===t.memoizedState||(e.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||h===t.memoizedProps&&z===t.memoizedState||(e.flags|=1024),e.memoizedProps=l,e.memoizedState=_),u.props=l,u.state=_,u.context=T,l=U):(typeof u.componentDidUpdate!="function"||h===t.memoizedProps&&z===t.memoizedState||(e.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||h===t.memoizedProps&&z===t.memoizedState||(e.flags|=1024),l=!1)}return u=l,ws(t,e),l=(e.flags&128)!==0,u||l?(u=e.stateNode,n=l&&typeof n.getDerivedStateFromError!="function"?null:u.render(),e.flags|=1,t!==null&&l?(e.child=Sa(e,t.child,null,o),e.child=Sa(e,null,n,o)):le(t,e,n,o),e.memoizedState=u.state,t=e.child):t=gn(t,e,o),t}function lm(t,e,n,l){return ma(),e.flags|=256,le(t,e,n,l),e.child}var ru={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function ou(t){return{baseLanes:t,cachePool:Fd()}}function uu(t,e,n){return t=t!==null?t.childLanes&~n:0,e&&(t|=we),t}function sm(t,e,n){var l=e.pendingProps,o=!1,u=(e.flags&128)!==0,h;if((h=u)||(h=t!==null&&t.memoizedState===null?!1:(Gt.current&2)!==0),h&&(o=!0,e.flags&=-129),h=(e.flags&32)!==0,e.flags&=-33,t===null){if(gt){if(o?Un(e):Hn(),(t=zt)?(t=mp(t,Ue),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Nn!==null?{id:Je,overflow:We}:null,retryLane:536870912,hydrationErrors:null},n=Hd(t),n.return=e,e.child=n,ae=e,zt=null)):t=null,t===null)throw On(e);return Ku(t)?e.lanes=32:e.lanes=536870912,null}var b=l.children;return l=l.fallback,o?(Hn(),o=e.mode,b=Rs({mode:"hidden",children:b},o),l=ha(l,o,n,null),b.return=e,l.return=e,b.sibling=l,e.child=b,l=e.child,l.memoizedState=ou(n),l.childLanes=uu(t,h,n),e.memoizedState=ru,el(null,l)):(Un(e),cu(e,b))}var T=t.memoizedState;if(T!==null&&(b=T.dehydrated,b!==null)){if(u)e.flags&256?(Un(e),e.flags&=-257,e=fu(t,e,n)):e.memoizedState!==null?(Hn(),e.child=t.child,e.flags|=128,e=null):(Hn(),b=l.fallback,o=e.mode,l=Rs({mode:"visible",children:l.children},o),b=ha(b,o,n,null),b.flags|=2,l.return=e,b.return=e,l.sibling=b,e.child=l,Sa(e,t.child,null,n),l=e.child,l.memoizedState=ou(n),l.childLanes=uu(t,h,n),e.memoizedState=ru,e=el(null,l));else if(Un(e),Ku(b)){if(h=b.nextSibling&&b.nextSibling.dataset,h)var N=h.dgst;h=N,l=Error(r(419)),l.stack="",l.digest=h,Gi({value:l,source:null,stack:null}),e=fu(t,e,n)}else if(Qt||Fa(t,e,n,!1),h=(n&t.childLanes)!==0,Qt||h){if(h=wt,h!==null&&(l=Zf(h,n),l!==0&&l!==T.retryLane))throw T.retryLane=l,da(t,l),Se(h,t,l),lu;Xu(b)||Hs(),e=fu(t,e,n)}else Xu(b)?(e.flags|=192,e.child=t.child,e=null):(t=T.treeContext,zt=ke(b.nextSibling),ae=e,gt=!0,zn=null,Ue=!1,t!==null&&qd(e,t),e=cu(e,l.children),e.flags|=4096);return e}return o?(Hn(),b=l.fallback,o=e.mode,T=t.child,N=T.sibling,l=fn(T,{mode:"hidden",children:l.children}),l.subtreeFlags=T.subtreeFlags&65011712,N!==null?b=fn(N,b):(b=ha(b,o,n,null),b.flags|=2),b.return=e,l.return=e,l.sibling=b,e.child=l,el(null,l),l=e.child,b=t.child.memoizedState,b===null?b=ou(n):(o=b.cachePool,o!==null?(T=Kt._currentValue,o=o.parent!==T?{parent:T,pool:T}:o):o=Fd(),b={baseLanes:b.baseLanes|n,cachePool:o}),l.memoizedState=b,l.childLanes=uu(t,h,n),e.memoizedState=ru,el(t.child,l)):(Un(e),n=t.child,t=n.sibling,n=fn(n,{mode:"visible",children:l.children}),n.return=e,n.sibling=null,t!==null&&(h=e.deletions,h===null?(e.deletions=[t],e.flags|=16):h.push(t)),e.child=n,e.memoizedState=null,n)}function cu(t,e){return e=Rs({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function Rs(t,e){return t=Me(22,t,null,e),t.lanes=0,t}function fu(t,e,n){return Sa(e,t.child,null,n),t=cu(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function rm(t,e,n){t.lanes|=e;var l=t.alternate;l!==null&&(l.lanes|=e),Do(t.return,e,n)}function du(t,e,n,l,o,u){var h=t.memoizedState;h===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:l,tail:n,tailMode:o,treeForkCount:u}:(h.isBackwards=e,h.rendering=null,h.renderingStartTime=0,h.last=l,h.tail=n,h.tailMode=o,h.treeForkCount=u)}function om(t,e,n){var l=e.pendingProps,o=l.revealOrder,u=l.tail;l=l.children;var h=Gt.current,b=(h&2)!==0;if(b?(h=h&1|2,e.flags|=128):h&=1,F(Gt,h),le(t,e,l,n),l=gt?qi:0,!b&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&rm(t,n,e);else if(t.tag===19)rm(t,n,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(o){case"forwards":for(n=e.child,o=null;n!==null;)t=n.alternate,t!==null&&vs(t)===null&&(o=n),n=n.sibling;n=o,n===null?(o=e.child,e.child=null):(o=n.sibling,n.sibling=null),du(e,!1,o,n,u,l);break;case"backwards":case"unstable_legacy-backwards":for(n=null,o=e.child,e.child=null;o!==null;){if(t=o.alternate,t!==null&&vs(t)===null){e.child=o;break}t=o.sibling,o.sibling=n,n=o,o=t}du(e,!0,n,null,u,l);break;case"together":du(e,!1,null,null,void 0,l);break;default:e.memoizedState=null}return e.child}function gn(t,e,n){if(t!==null&&(e.dependencies=t.dependencies),qn|=e.lanes,(n&e.childLanes)===0)if(t!==null){if(Fa(t,e,n,!1),(n&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(r(153));if(e.child!==null){for(t=e.child,n=fn(t,t.pendingProps),e.child=n,n.return=e;t.sibling!==null;)t=t.sibling,n=n.sibling=fn(t,t.pendingProps),n.return=e;n.sibling=null}return e.child}function hu(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&cs(t)))}function F1(t,e,n){switch(e.tag){case 3:ce(e,e.stateNode.containerInfo),Vn(e,Kt,t.memoizedState.cache),ma();break;case 27:case 5:Ci(e);break;case 4:ce(e,e.stateNode.containerInfo);break;case 10:Vn(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,Uo(e),null;break;case 13:var l=e.memoizedState;if(l!==null)return l.dehydrated!==null?(Un(e),e.flags|=128,null):(n&e.child.childLanes)!==0?sm(t,e,n):(Un(e),t=gn(t,e,n),t!==null?t.sibling:null);Un(e);break;case 19:var o=(t.flags&128)!==0;if(l=(n&e.childLanes)!==0,l||(Fa(t,e,n,!1),l=(n&e.childLanes)!==0),o){if(l)return om(t,e,n);e.flags|=128}if(o=e.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),F(Gt,Gt.current),l)break;return null;case 22:return e.lanes=0,tm(t,e,n,e.pendingProps);case 24:Vn(e,Kt,t.memoizedState.cache)}return gn(t,e,n)}function um(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps)Qt=!0;else{if(!hu(t,n)&&(e.flags&128)===0)return Qt=!1,F1(t,e,n);Qt=(t.flags&131072)!==0}else Qt=!1,gt&&(e.flags&1048576)!==0&&Yd(e,qi,e.index);switch(e.lanes=0,e.tag){case 16:t:{var l=e.pendingProps;if(t=va(e.elementType),e.type=t,typeof t=="function")vo(t)?(l=Ta(t,l),e.tag=1,e=im(null,e,t,l,n)):(e.tag=0,e=su(null,e,t,l,n));else{if(t!=null){var o=t.$$typeof;if(o===X){e.tag=11,e=Wh(null,e,t,l,n);break t}else if(o===W){e.tag=14,e=$h(null,e,t,l,n);break t}}throw e=Ut(t)||t,Error(r(306,e,""))}}return e;case 0:return su(t,e,e.type,e.pendingProps,n);case 1:return l=e.type,o=Ta(l,e.pendingProps),im(t,e,l,o,n);case 3:t:{if(ce(e,e.stateNode.containerInfo),t===null)throw Error(r(387));l=e.pendingProps;var u=e.memoizedState;o=u.element,Oo(t,e),Ji(e,l,null,n);var h=e.memoizedState;if(l=h.cache,Vn(e,Kt,l),l!==u.cache&&Co(e,[Kt],n,!0),Pi(),l=h.element,u.isDehydrated)if(u={element:l,isDehydrated:!1,cache:h.cache},e.updateQueue.baseState=u,e.memoizedState=u,e.flags&256){e=lm(t,e,l,n);break t}else if(l!==o){o=_e(Error(r(424)),e),Gi(o),e=lm(t,e,l,n);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(zt=ke(t.firstChild),ae=e,gt=!0,zn=null,Ue=!0,n=th(e,null,l,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(ma(),l===o){e=gn(t,e,n);break t}le(t,e,l,n)}e=e.child}return e;case 26:return ws(t,e),t===null?(n=Sp(e.type,null,e.pendingProps,null))?e.memoizedState=n:gt||(n=e.type,t=e.pendingProps,l=Zs(ft.current).createElement(n),l[ne]=e,l[me]=t,se(l,n,t),$t(l),e.stateNode=l):e.memoizedState=Sp(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return Ci(e),t===null&&gt&&(l=e.stateNode=gp(e.type,e.pendingProps,ft.current),ae=e,Ue=!0,o=zt,Qn(e.type)?(Zu=o,zt=ke(l.firstChild)):zt=o),le(t,e,e.pendingProps.children,n),ws(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&gt&&((o=l=zt)&&(l=Eb(l,e.type,e.pendingProps,Ue),l!==null?(e.stateNode=l,ae=e,zt=ke(l.firstChild),Ue=!1,o=!0):o=!1),o||On(e)),Ci(e),o=e.type,u=e.pendingProps,h=t!==null?t.memoizedProps:null,l=u.children,Yu(o,u)?l=null:h!==null&&Yu(o,h)&&(e.flags|=32),e.memoizedState!==null&&(o=ko(t,e,H1,null,null,n),yl._currentValue=o),ws(t,e),le(t,e,l,n),e.child;case 6:return t===null&&gt&&((t=n=zt)&&(n=Mb(n,e.pendingProps,Ue),n!==null?(e.stateNode=n,ae=e,zt=null,t=!0):t=!1),t||On(e)),null;case 13:return sm(t,e,n);case 4:return ce(e,e.stateNode.containerInfo),l=e.pendingProps,t===null?e.child=Sa(e,null,l,n):le(t,e,l,n),e.child;case 11:return Wh(t,e,e.type,e.pendingProps,n);case 7:return le(t,e,e.pendingProps,n),e.child;case 8:return le(t,e,e.pendingProps.children,n),e.child;case 12:return le(t,e,e.pendingProps.children,n),e.child;case 10:return l=e.pendingProps,Vn(e,e.type,l.value),le(t,e,l.children,n),e.child;case 9:return o=e.type._context,l=e.pendingProps.children,ya(e),o=ie(o),l=l(o),e.flags|=1,le(t,e,l,n),e.child;case 14:return $h(t,e,e.type,e.pendingProps,n);case 15:return Ih(t,e,e.type,e.pendingProps,n);case 19:return om(t,e,n);case 31:return Q1(t,e,n);case 22:return tm(t,e,n,e.pendingProps);case 24:return ya(e),l=ie(Kt),t===null?(o=Ro(),o===null&&(o=wt,u=jo(),o.pooledCache=u,u.refCount++,u!==null&&(o.pooledCacheLanes|=n),o=u),e.memoizedState={parent:l,cache:o},zo(e),Vn(e,Kt,o)):((t.lanes&n)!==0&&(Oo(t,e),Ji(e,null,null,n),Pi()),o=t.memoizedState,u=e.memoizedState,o.parent!==l?(o={parent:l,cache:l},e.memoizedState=o,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=o),Vn(e,Kt,l)):(l=u.cache,Vn(e,Kt,l),l!==o.cache&&Co(e,[Kt],n,!0))),le(t,e,e.pendingProps.children,n),e.child;case 29:throw e.pendingProps}throw Error(r(156,e.tag))}function vn(t){t.flags|=4}function mu(t,e,n,l,o){if((e=(t.mode&32)!==0)&&(e=!1),e){if(t.flags|=16777216,(o&335544128)===o)if(t.stateNode.complete)t.flags|=8192;else if(Bm())t.flags|=8192;else throw ba=ms,No}else t.flags&=-16777217}function cm(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Mp(e))if(Bm())t.flags|=8192;else throw ba=ms,No}function Ns(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?Gf():536870912,t.lanes|=e,si|=e)}function nl(t,e){if(!gt)switch(t.tailMode){case"hidden":e=t.tail;for(var n=null;e!==null;)e.alternate!==null&&(n=e),e=e.sibling;n===null?t.tail=null:n.sibling=null;break;case"collapsed":n=t.tail;for(var l=null;n!==null;)n.alternate!==null&&(l=n),n=n.sibling;l===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:l.sibling=null}}function Ot(t){var e=t.alternate!==null&&t.alternate.child===t.child,n=0,l=0;if(e)for(var o=t.child;o!==null;)n|=o.lanes|o.childLanes,l|=o.subtreeFlags&65011712,l|=o.flags&65011712,o.return=t,o=o.sibling;else for(o=t.child;o!==null;)n|=o.lanes|o.childLanes,l|=o.subtreeFlags,l|=o.flags,o.return=t,o=o.sibling;return t.subtreeFlags|=l,t.childLanes=n,e}function P1(t,e,n){var l=e.pendingProps;switch(To(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ot(e),null;case 1:return Ot(e),null;case 3:return n=e.stateNode,l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),mn(Kt),qt(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(t===null||t.child===null)&&(Qa(e)?vn(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,Eo())),Ot(e),null;case 26:var o=e.type,u=e.memoizedState;return t===null?(vn(e),u!==null?(Ot(e),cm(e,u)):(Ot(e),mu(e,o,null,l,n))):u?u!==t.memoizedState?(vn(e),Ot(e),cm(e,u)):(Ot(e),e.flags&=-16777217):(t=t.memoizedProps,t!==l&&vn(e),Ot(e),mu(e,o,t,l,n)),null;case 27:if(ql(e),n=ft.current,o=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==l&&vn(e);else{if(!l){if(e.stateNode===null)throw Error(r(166));return Ot(e),null}t=$.current,Qa(e)?Gd(e):(t=gp(o,l,n),e.stateNode=t,vn(e))}return Ot(e),null;case 5:if(ql(e),o=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==l&&vn(e);else{if(!l){if(e.stateNode===null)throw Error(r(166));return Ot(e),null}if(u=$.current,Qa(e))Gd(e);else{var h=Zs(ft.current);switch(u){case 1:u=h.createElementNS("http://www.w3.org/2000/svg",o);break;case 2:u=h.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;default:switch(o){case"svg":u=h.createElementNS("http://www.w3.org/2000/svg",o);break;case"math":u=h.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;case"script":u=h.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof l.is=="string"?h.createElement("select",{is:l.is}):h.createElement("select"),l.multiple?u.multiple=!0:l.size&&(u.size=l.size);break;default:u=typeof l.is=="string"?h.createElement(o,{is:l.is}):h.createElement(o)}}u[ne]=e,u[me]=l;t:for(h=e.child;h!==null;){if(h.tag===5||h.tag===6)u.appendChild(h.stateNode);else if(h.tag!==4&&h.tag!==27&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===e)break t;for(;h.sibling===null;){if(h.return===null||h.return===e)break t;h=h.return}h.sibling.return=h.return,h=h.sibling}e.stateNode=u;t:switch(se(u,o,l),o){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break t;case"img":l=!0;break t;default:l=!1}l&&vn(e)}}return Ot(e),mu(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,n),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==l&&vn(e);else{if(typeof l!="string"&&e.stateNode===null)throw Error(r(166));if(t=ft.current,Qa(e)){if(t=e.stateNode,n=e.memoizedProps,l=null,o=ae,o!==null)switch(o.tag){case 27:case 5:l=o.memoizedProps}t[ne]=e,t=!!(t.nodeValue===n||l!==null&&l.suppressHydrationWarning===!0||sp(t.nodeValue,n)),t||On(e,!0)}else t=Zs(t).createTextNode(l),t[ne]=e,e.stateNode=t}return Ot(e),null;case 31:if(n=e.memoizedState,t===null||t.memoizedState!==null){if(l=Qa(e),n!==null){if(t===null){if(!l)throw Error(r(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(557));t[ne]=e}else ma(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Ot(e),t=!1}else n=Eo(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),t=!0;if(!t)return e.flags&256?(Ce(e),e):(Ce(e),null);if((e.flags&128)!==0)throw Error(r(558))}return Ot(e),null;case 13:if(l=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(o=Qa(e),l!==null&&l.dehydrated!==null){if(t===null){if(!o)throw Error(r(318));if(o=e.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(r(317));o[ne]=e}else ma(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Ot(e),o=!1}else o=Eo(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=o),o=!0;if(!o)return e.flags&256?(Ce(e),e):(Ce(e),null)}return Ce(e),(e.flags&128)!==0?(e.lanes=n,e):(n=l!==null,t=t!==null&&t.memoizedState!==null,n&&(l=e.child,o=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(o=l.alternate.memoizedState.cachePool.pool),u=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(u=l.memoizedState.cachePool.pool),u!==o&&(l.flags|=2048)),n!==t&&n&&(e.child.flags|=8192),Ns(e,e.updateQueue),Ot(e),null);case 4:return qt(),t===null&&Bu(e.stateNode.containerInfo),Ot(e),null;case 10:return mn(e.type),Ot(e),null;case 19:if(q(Gt),l=e.memoizedState,l===null)return Ot(e),null;if(o=(e.flags&128)!==0,u=l.rendering,u===null)if(o)nl(l,!1);else{if(kt!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(u=vs(t),u!==null){for(e.flags|=128,nl(l,!1),t=u.updateQueue,e.updateQueue=t,Ns(e,t),e.subtreeFlags=0,t=n,n=e.child;n!==null;)Ud(n,t),n=n.sibling;return F(Gt,Gt.current&1|2),gt&&dn(e,l.treeForkCount),e.child}t=t.sibling}l.tail!==null&&xe()>Bs&&(e.flags|=128,o=!0,nl(l,!1),e.lanes=4194304)}else{if(!o)if(t=vs(u),t!==null){if(e.flags|=128,o=!0,t=t.updateQueue,e.updateQueue=t,Ns(e,t),nl(l,!0),l.tail===null&&l.tailMode==="hidden"&&!u.alternate&&!gt)return Ot(e),null}else 2*xe()-l.renderingStartTime>Bs&&n!==536870912&&(e.flags|=128,o=!0,nl(l,!1),e.lanes=4194304);l.isBackwards?(u.sibling=e.child,e.child=u):(t=l.last,t!==null?t.sibling=u:e.child=u,l.last=u)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=xe(),t.sibling=null,n=Gt.current,F(Gt,o?n&1|2:n&1),gt&&dn(e,l.treeForkCount),t):(Ot(e),null);case 22:case 23:return Ce(e),Lo(),l=e.memoizedState!==null,t!==null?t.memoizedState!==null!==l&&(e.flags|=8192):l&&(e.flags|=8192),l?(n&536870912)!==0&&(e.flags&128)===0&&(Ot(e),e.subtreeFlags&6&&(e.flags|=8192)):Ot(e),n=e.updateQueue,n!==null&&Ns(e,n.retryQueue),n=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),l=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),l!==n&&(e.flags|=2048),t!==null&&q(ga),null;case 24:return n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),mn(Kt),Ot(e),null;case 25:return null;case 30:return null}throw Error(r(156,e.tag))}function J1(t,e){switch(To(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return mn(Kt),qt(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return ql(e),null;case 31:if(e.memoizedState!==null){if(Ce(e),e.alternate===null)throw Error(r(340));ma()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(Ce(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(r(340));ma()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return q(Gt),null;case 4:return qt(),null;case 10:return mn(e.type),null;case 22:case 23:return Ce(e),Lo(),t!==null&&q(ga),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return mn(Kt),null;case 25:return null;default:return null}}function fm(t,e){switch(To(e),e.tag){case 3:mn(Kt),qt();break;case 26:case 27:case 5:ql(e);break;case 4:qt();break;case 31:e.memoizedState!==null&&Ce(e);break;case 13:Ce(e);break;case 19:q(Gt);break;case 10:mn(e.type);break;case 22:case 23:Ce(e),Lo(),t!==null&&q(ga);break;case 24:mn(Kt)}}function al(t,e){try{var n=e.updateQueue,l=n!==null?n.lastEffect:null;if(l!==null){var o=l.next;n=o;do{if((n.tag&t)===t){l=void 0;var u=n.create,h=n.inst;l=u(),h.destroy=l}n=n.next}while(n!==o)}}catch(b){Mt(e,e.return,b)}}function kn(t,e,n){try{var l=e.updateQueue,o=l!==null?l.lastEffect:null;if(o!==null){var u=o.next;l=u;do{if((l.tag&t)===t){var h=l.inst,b=h.destroy;if(b!==void 0){h.destroy=void 0,o=e;var T=n,N=b;try{N()}catch(U){Mt(o,T,U)}}}l=l.next}while(l!==u)}}catch(U){Mt(e,e.return,U)}}function dm(t){var e=t.updateQueue;if(e!==null){var n=t.stateNode;try{nh(e,n)}catch(l){Mt(t,t.return,l)}}}function hm(t,e,n){n.props=Ta(t.type,t.memoizedProps),n.state=t.memoizedState;try{n.componentWillUnmount()}catch(l){Mt(t,e,l)}}function il(t,e){try{var n=t.ref;if(n!==null){switch(t.tag){case 26:case 27:case 5:var l=t.stateNode;break;case 30:l=t.stateNode;break;default:l=t.stateNode}typeof n=="function"?t.refCleanup=n(l):n.current=l}}catch(o){Mt(t,e,o)}}function $e(t,e){var n=t.ref,l=t.refCleanup;if(n!==null)if(typeof l=="function")try{l()}catch(o){Mt(t,e,o)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(o){Mt(t,e,o)}else n.current=null}function mm(t){var e=t.type,n=t.memoizedProps,l=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":n.autoFocus&&l.focus();break t;case"img":n.src?l.src=n.src:n.srcSet&&(l.srcset=n.srcSet)}}catch(o){Mt(t,t.return,o)}}function pu(t,e,n){try{var l=t.stateNode;vb(l,t.type,n,e),l[me]=e}catch(o){Mt(t,t.return,o)}}function pm(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Qn(t.type)||t.tag===4}function yu(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||pm(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&Qn(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function gu(t,e,n){var l=t.tag;if(l===5||l===6)t=t.stateNode,e?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(t,e):(e=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,e.appendChild(t),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=un));else if(l!==4&&(l===27&&Qn(t.type)&&(n=t.stateNode,e=null),t=t.child,t!==null))for(gu(t,e,n),t=t.sibling;t!==null;)gu(t,e,n),t=t.sibling}function zs(t,e,n){var l=t.tag;if(l===5||l===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(l!==4&&(l===27&&Qn(t.type)&&(n=t.stateNode),t=t.child,t!==null))for(zs(t,e,n),t=t.sibling;t!==null;)zs(t,e,n),t=t.sibling}function ym(t){var e=t.stateNode,n=t.memoizedProps;try{for(var l=t.type,o=e.attributes;o.length;)e.removeAttributeNode(o[0]);se(e,l,n),e[ne]=t,e[me]=n}catch(u){Mt(t,t.return,u)}}var bn=!1,Ft=!1,vu=!1,gm=typeof WeakSet=="function"?WeakSet:Set,It=null;function W1(t,e){if(t=t.containerInfo,Hu=Is,t=wd(t),co(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else t:{n=(n=t.ownerDocument)&&n.defaultView||window;var l=n.getSelection&&n.getSelection();if(l&&l.rangeCount!==0){n=l.anchorNode;var o=l.anchorOffset,u=l.focusNode;l=l.focusOffset;try{n.nodeType,u.nodeType}catch{n=null;break t}var h=0,b=-1,T=-1,N=0,U=0,Y=t,z=null;e:for(;;){for(var _;Y!==n||o!==0&&Y.nodeType!==3||(b=h+o),Y!==u||l!==0&&Y.nodeType!==3||(T=h+l),Y.nodeType===3&&(h+=Y.nodeValue.length),(_=Y.firstChild)!==null;)z=Y,Y=_;for(;;){if(Y===t)break e;if(z===n&&++N===o&&(b=h),z===u&&++U===l&&(T=h),(_=Y.nextSibling)!==null)break;Y=z,z=Y.parentNode}Y=_}n=b===-1||T===-1?null:{start:b,end:T}}else n=null}n=n||{start:0,end:0}}else n=null;for(ku={focusedElem:t,selectionRange:n},Is=!1,It=e;It!==null;)if(e=It,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,It=t;else for(;It!==null;){switch(e=It,u=e.alternate,t=e.flags,e.tag){case 0:if((t&4)!==0&&(t=e.updateQueue,t=t!==null?t.events:null,t!==null))for(n=0;n<t.length;n++)o=t[n],o.ref.impl=o.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&u!==null){t=void 0,n=e,o=u.memoizedProps,u=u.memoizedState,l=n.stateNode;try{var P=Ta(n.type,o);t=l.getSnapshotBeforeUpdate(P,u),l.__reactInternalSnapshotBeforeUpdate=t}catch(at){Mt(n,n.return,at)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,n=t.nodeType,n===9)Gu(t);else if(n===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Gu(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(r(163))}if(t=e.sibling,t!==null){t.return=e.return,It=t;break}It=e.return}}function vm(t,e,n){var l=n.flags;switch(n.tag){case 0:case 11:case 15:xn(t,n),l&4&&al(5,n);break;case 1:if(xn(t,n),l&4)if(t=n.stateNode,e===null)try{t.componentDidMount()}catch(h){Mt(n,n.return,h)}else{var o=Ta(n.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(o,e,t.__reactInternalSnapshotBeforeUpdate)}catch(h){Mt(n,n.return,h)}}l&64&&dm(n),l&512&&il(n,n.return);break;case 3:if(xn(t,n),l&64&&(t=n.updateQueue,t!==null)){if(e=null,n.child!==null)switch(n.child.tag){case 27:case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}try{nh(t,e)}catch(h){Mt(n,n.return,h)}}break;case 27:e===null&&l&4&&ym(n);case 26:case 5:xn(t,n),e===null&&l&4&&mm(n),l&512&&il(n,n.return);break;case 12:xn(t,n);break;case 31:xn(t,n),l&4&&xm(t,n);break;case 13:xn(t,n),l&4&&Tm(t,n),l&64&&(t=n.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(n=sb.bind(null,n),Db(t,n))));break;case 22:if(l=n.memoizedState!==null||bn,!l){e=e!==null&&e.memoizedState!==null||Ft,o=bn;var u=Ft;bn=l,(Ft=e)&&!u?Tn(t,n,(n.subtreeFlags&8772)!==0):xn(t,n),bn=o,Ft=u}break;case 30:break;default:xn(t,n)}}function bm(t){var e=t.alternate;e!==null&&(t.alternate=null,bm(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&Qr(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var _t=null,ye=!1;function Sn(t,e,n){for(n=n.child;n!==null;)Sm(t,e,n),n=n.sibling}function Sm(t,e,n){if(Te&&typeof Te.onCommitFiberUnmount=="function")try{Te.onCommitFiberUnmount(ji,n)}catch{}switch(n.tag){case 26:Ft||$e(n,e),Sn(t,e,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:Ft||$e(n,e);var l=_t,o=ye;Qn(n.type)&&(_t=n.stateNode,ye=!1),Sn(t,e,n),hl(n.stateNode),_t=l,ye=o;break;case 5:Ft||$e(n,e);case 6:if(l=_t,o=ye,_t=null,Sn(t,e,n),_t=l,ye=o,_t!==null)if(ye)try{(_t.nodeType===9?_t.body:_t.nodeName==="HTML"?_t.ownerDocument.body:_t).removeChild(n.stateNode)}catch(u){Mt(n,e,u)}else try{_t.removeChild(n.stateNode)}catch(u){Mt(n,e,u)}break;case 18:_t!==null&&(ye?(t=_t,dp(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,n.stateNode),mi(t)):dp(_t,n.stateNode));break;case 4:l=_t,o=ye,_t=n.stateNode.containerInfo,ye=!0,Sn(t,e,n),_t=l,ye=o;break;case 0:case 11:case 14:case 15:kn(2,n,e),Ft||kn(4,n,e),Sn(t,e,n);break;case 1:Ft||($e(n,e),l=n.stateNode,typeof l.componentWillUnmount=="function"&&hm(n,e,l)),Sn(t,e,n);break;case 21:Sn(t,e,n);break;case 22:Ft=(l=Ft)||n.memoizedState!==null,Sn(t,e,n),Ft=l;break;default:Sn(t,e,n)}}function xm(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{mi(t)}catch(n){Mt(e,e.return,n)}}}function Tm(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{mi(t)}catch(n){Mt(e,e.return,n)}}function $1(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new gm),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new gm),e;default:throw Error(r(435,t.tag))}}function Os(t,e){var n=$1(t);e.forEach(function(l){if(!n.has(l)){n.add(l);var o=rb.bind(null,t,l);l.then(o,o)}})}function ge(t,e){var n=e.deletions;if(n!==null)for(var l=0;l<n.length;l++){var o=n[l],u=t,h=e,b=h;t:for(;b!==null;){switch(b.tag){case 27:if(Qn(b.type)){_t=b.stateNode,ye=!1;break t}break;case 5:_t=b.stateNode,ye=!1;break t;case 3:case 4:_t=b.stateNode.containerInfo,ye=!0;break t}b=b.return}if(_t===null)throw Error(r(160));Sm(u,h,o),_t=null,ye=!1,u=o.alternate,u!==null&&(u.return=null),o.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)Am(e,t),e=e.sibling}var Ke=null;function Am(t,e){var n=t.alternate,l=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:ge(e,t),ve(t),l&4&&(kn(3,t,t.return),al(3,t),kn(5,t,t.return));break;case 1:ge(e,t),ve(t),l&512&&(Ft||n===null||$e(n,n.return)),l&64&&bn&&(t=t.updateQueue,t!==null&&(l=t.callbacks,l!==null&&(n=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=n===null?l:n.concat(l))));break;case 26:var o=Ke;if(ge(e,t),ve(t),l&512&&(Ft||n===null||$e(n,n.return)),l&4){var u=n!==null?n.memoizedState:null;if(l=t.memoizedState,n===null)if(l===null)if(t.stateNode===null){t:{l=t.type,n=t.memoizedProps,o=o.ownerDocument||o;e:switch(l){case"title":u=o.getElementsByTagName("title")[0],(!u||u[Ni]||u[ne]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=o.createElement(l),o.head.insertBefore(u,o.querySelector("head > title"))),se(u,l,n),u[ne]=t,$t(u),l=u;break t;case"link":var h=Ap("link","href",o).get(l+(n.href||""));if(h){for(var b=0;b<h.length;b++)if(u=h[b],u.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&u.getAttribute("rel")===(n.rel==null?null:n.rel)&&u.getAttribute("title")===(n.title==null?null:n.title)&&u.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){h.splice(b,1);break e}}u=o.createElement(l),se(u,l,n),o.head.appendChild(u);break;case"meta":if(h=Ap("meta","content",o).get(l+(n.content||""))){for(b=0;b<h.length;b++)if(u=h[b],u.getAttribute("content")===(n.content==null?null:""+n.content)&&u.getAttribute("name")===(n.name==null?null:n.name)&&u.getAttribute("property")===(n.property==null?null:n.property)&&u.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&u.getAttribute("charset")===(n.charSet==null?null:n.charSet)){h.splice(b,1);break e}}u=o.createElement(l),se(u,l,n),o.head.appendChild(u);break;default:throw Error(r(468,l))}u[ne]=t,$t(u),l=u}t.stateNode=l}else Ep(o,t.type,t.stateNode);else t.stateNode=Tp(o,l,t.memoizedProps);else u!==l?(u===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):u.count--,l===null?Ep(o,t.type,t.stateNode):Tp(o,l,t.memoizedProps)):l===null&&t.stateNode!==null&&pu(t,t.memoizedProps,n.memoizedProps)}break;case 27:ge(e,t),ve(t),l&512&&(Ft||n===null||$e(n,n.return)),n!==null&&l&4&&pu(t,t.memoizedProps,n.memoizedProps);break;case 5:if(ge(e,t),ve(t),l&512&&(Ft||n===null||$e(n,n.return)),t.flags&32){o=t.stateNode;try{La(o,"")}catch(P){Mt(t,t.return,P)}}l&4&&t.stateNode!=null&&(o=t.memoizedProps,pu(t,o,n!==null?n.memoizedProps:o)),l&1024&&(vu=!0);break;case 6:if(ge(e,t),ve(t),l&4){if(t.stateNode===null)throw Error(r(162));l=t.memoizedProps,n=t.stateNode;try{n.nodeValue=l}catch(P){Mt(t,t.return,P)}}break;case 3:if(Ps=null,o=Ke,Ke=Qs(e.containerInfo),ge(e,t),Ke=o,ve(t),l&4&&n!==null&&n.memoizedState.isDehydrated)try{mi(e.containerInfo)}catch(P){Mt(t,t.return,P)}vu&&(vu=!1,Em(t));break;case 4:l=Ke,Ke=Qs(t.stateNode.containerInfo),ge(e,t),ve(t),Ke=l;break;case 12:ge(e,t),ve(t);break;case 31:ge(e,t),ve(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,Os(t,l)));break;case 13:ge(e,t),ve(t),t.child.flags&8192&&t.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(_s=xe()),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,Os(t,l)));break;case 22:o=t.memoizedState!==null;var T=n!==null&&n.memoizedState!==null,N=bn,U=Ft;if(bn=N||o,Ft=U||T,ge(e,t),Ft=U,bn=N,ve(t),l&8192)t:for(e=t.stateNode,e._visibility=o?e._visibility&-2:e._visibility|1,o&&(n===null||T||bn||Ft||Aa(t)),n=null,e=t;;){if(e.tag===5||e.tag===26){if(n===null){T=n=e;try{if(u=T.stateNode,o)h=u.style,typeof h.setProperty=="function"?h.setProperty("display","none","important"):h.display="none";else{b=T.stateNode;var Y=T.memoizedProps.style,z=Y!=null&&Y.hasOwnProperty("display")?Y.display:null;b.style.display=z==null||typeof z=="boolean"?"":(""+z).trim()}}catch(P){Mt(T,T.return,P)}}}else if(e.tag===6){if(n===null){T=e;try{T.stateNode.nodeValue=o?"":T.memoizedProps}catch(P){Mt(T,T.return,P)}}}else if(e.tag===18){if(n===null){T=e;try{var _=T.stateNode;o?hp(_,!0):hp(T.stateNode,!1)}catch(P){Mt(T,T.return,P)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;n===e&&(n=null),e=e.return}n===e&&(n=null),e.sibling.return=e.return,e=e.sibling}l&4&&(l=t.updateQueue,l!==null&&(n=l.retryQueue,n!==null&&(l.retryQueue=null,Os(t,n))));break;case 19:ge(e,t),ve(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,Os(t,l)));break;case 30:break;case 21:break;default:ge(e,t),ve(t)}}function ve(t){var e=t.flags;if(e&2){try{for(var n,l=t.return;l!==null;){if(pm(l)){n=l;break}l=l.return}if(n==null)throw Error(r(160));switch(n.tag){case 27:var o=n.stateNode,u=yu(t);zs(t,u,o);break;case 5:var h=n.stateNode;n.flags&32&&(La(h,""),n.flags&=-33);var b=yu(t);zs(t,b,h);break;case 3:case 4:var T=n.stateNode.containerInfo,N=yu(t);gu(t,N,T);break;default:throw Error(r(161))}}catch(U){Mt(t,t.return,U)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Em(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;Em(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function xn(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)vm(t,e.alternate,e),e=e.sibling}function Aa(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:kn(4,e,e.return),Aa(e);break;case 1:$e(e,e.return);var n=e.stateNode;typeof n.componentWillUnmount=="function"&&hm(e,e.return,n),Aa(e);break;case 27:hl(e.stateNode);case 26:case 5:$e(e,e.return),Aa(e);break;case 22:e.memoizedState===null&&Aa(e);break;case 30:Aa(e);break;default:Aa(e)}t=t.sibling}}function Tn(t,e,n){for(n=n&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var l=e.alternate,o=t,u=e,h=u.flags;switch(u.tag){case 0:case 11:case 15:Tn(o,u,n),al(4,u);break;case 1:if(Tn(o,u,n),l=u,o=l.stateNode,typeof o.componentDidMount=="function")try{o.componentDidMount()}catch(N){Mt(l,l.return,N)}if(l=u,o=l.updateQueue,o!==null){var b=l.stateNode;try{var T=o.shared.hiddenCallbacks;if(T!==null)for(o.shared.hiddenCallbacks=null,o=0;o<T.length;o++)eh(T[o],b)}catch(N){Mt(l,l.return,N)}}n&&h&64&&dm(u),il(u,u.return);break;case 27:ym(u);case 26:case 5:Tn(o,u,n),n&&l===null&&h&4&&mm(u),il(u,u.return);break;case 12:Tn(o,u,n);break;case 31:Tn(o,u,n),n&&h&4&&xm(o,u);break;case 13:Tn(o,u,n),n&&h&4&&Tm(o,u);break;case 22:u.memoizedState===null&&Tn(o,u,n),il(u,u.return);break;case 30:break;default:Tn(o,u,n)}e=e.sibling}}function bu(t,e){var n=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==n&&(t!=null&&t.refCount++,n!=null&&Xi(n))}function Su(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Xi(t))}function Ze(t,e,n,l){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Mm(t,e,n,l),e=e.sibling}function Mm(t,e,n,l){var o=e.flags;switch(e.tag){case 0:case 11:case 15:Ze(t,e,n,l),o&2048&&al(9,e);break;case 1:Ze(t,e,n,l);break;case 3:Ze(t,e,n,l),o&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Xi(t)));break;case 12:if(o&2048){Ze(t,e,n,l),t=e.stateNode;try{var u=e.memoizedProps,h=u.id,b=u.onPostCommit;typeof b=="function"&&b(h,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(T){Mt(e,e.return,T)}}else Ze(t,e,n,l);break;case 31:Ze(t,e,n,l);break;case 13:Ze(t,e,n,l);break;case 23:break;case 22:u=e.stateNode,h=e.alternate,e.memoizedState!==null?u._visibility&2?Ze(t,e,n,l):ll(t,e):u._visibility&2?Ze(t,e,n,l):(u._visibility|=2,ai(t,e,n,l,(e.subtreeFlags&10256)!==0||!1)),o&2048&&bu(h,e);break;case 24:Ze(t,e,n,l),o&2048&&Su(e.alternate,e);break;default:Ze(t,e,n,l)}}function ai(t,e,n,l,o){for(o=o&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var u=t,h=e,b=n,T=l,N=h.flags;switch(h.tag){case 0:case 11:case 15:ai(u,h,b,T,o),al(8,h);break;case 23:break;case 22:var U=h.stateNode;h.memoizedState!==null?U._visibility&2?ai(u,h,b,T,o):ll(u,h):(U._visibility|=2,ai(u,h,b,T,o)),o&&N&2048&&bu(h.alternate,h);break;case 24:ai(u,h,b,T,o),o&&N&2048&&Su(h.alternate,h);break;default:ai(u,h,b,T,o)}e=e.sibling}}function ll(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var n=t,l=e,o=l.flags;switch(l.tag){case 22:ll(n,l),o&2048&&bu(l.alternate,l);break;case 24:ll(n,l),o&2048&&Su(l.alternate,l);break;default:ll(n,l)}e=e.sibling}}var sl=8192;function ii(t,e,n){if(t.subtreeFlags&sl)for(t=t.child;t!==null;)Dm(t,e,n),t=t.sibling}function Dm(t,e,n){switch(t.tag){case 26:ii(t,e,n),t.flags&sl&&t.memoizedState!==null&&Ub(n,Ke,t.memoizedState,t.memoizedProps);break;case 5:ii(t,e,n);break;case 3:case 4:var l=Ke;Ke=Qs(t.stateNode.containerInfo),ii(t,e,n),Ke=l;break;case 22:t.memoizedState===null&&(l=t.alternate,l!==null&&l.memoizedState!==null?(l=sl,sl=16777216,ii(t,e,n),sl=l):ii(t,e,n));break;default:ii(t,e,n)}}function Cm(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function rl(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var l=e[n];It=l,wm(l,t)}Cm(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)jm(t),t=t.sibling}function jm(t){switch(t.tag){case 0:case 11:case 15:rl(t),t.flags&2048&&kn(9,t,t.return);break;case 3:rl(t);break;case 12:rl(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,Vs(t)):rl(t);break;default:rl(t)}}function Vs(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var l=e[n];It=l,wm(l,t)}Cm(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:kn(8,e,e.return),Vs(e);break;case 22:n=e.stateNode,n._visibility&2&&(n._visibility&=-3,Vs(e));break;default:Vs(e)}t=t.sibling}}function wm(t,e){for(;It!==null;){var n=It;switch(n.tag){case 0:case 11:case 15:kn(8,n,e);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var l=n.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:Xi(n.memoizedState.cache)}if(l=n.child,l!==null)l.return=n,It=l;else t:for(n=t;It!==null;){l=It;var o=l.sibling,u=l.return;if(bm(l),l===n){It=null;break t}if(o!==null){o.return=u,It=o;break t}It=u}}}var I1={getCacheForType:function(t){var e=ie(Kt),n=e.data.get(t);return n===void 0&&(n=t(),e.data.set(t,n)),n},cacheSignal:function(){return ie(Kt).controller.signal}},tb=typeof WeakMap=="function"?WeakMap:Map,xt=0,wt=null,dt=null,pt=0,Et=0,je=null,Yn=!1,li=!1,xu=!1,An=0,kt=0,qn=0,Ea=0,Tu=0,we=0,si=0,ol=null,be=null,Au=!1,_s=0,Rm=0,Bs=1/0,Ls=null,Gn=null,Jt=0,Xn=null,ri=null,En=0,Eu=0,Mu=null,Nm=null,ul=0,Du=null;function Re(){return(xt&2)!==0&&pt!==0?pt&-pt:L.T!==null?zu():Qf()}function zm(){if(we===0)if((pt&536870912)===0||gt){var t=Kl;Kl<<=1,(Kl&3932160)===0&&(Kl=262144),we=t}else we=536870912;return t=De.current,t!==null&&(t.flags|=32),we}function Se(t,e,n){(t===wt&&(Et===2||Et===9)||t.cancelPendingCommit!==null)&&(oi(t,0),Kn(t,pt,we,!1)),Ri(t,n),((xt&2)===0||t!==wt)&&(t===wt&&((xt&2)===0&&(Ea|=n),kt===4&&Kn(t,pt,we,!1)),Ie(t))}function Om(t,e,n){if((xt&6)!==0)throw Error(r(327));var l=!n&&(e&127)===0&&(e&t.expiredLanes)===0||wi(t,e),o=l?ab(t,e):ju(t,e,!0),u=l;do{if(o===0){li&&!l&&Kn(t,e,0,!1);break}else{if(n=t.current.alternate,u&&!eb(n)){o=ju(t,e,!1),u=!1;continue}if(o===2){if(u=e,t.errorRecoveryDisabledLanes&u)var h=0;else h=t.pendingLanes&-536870913,h=h!==0?h:h&536870912?536870912:0;if(h!==0){e=h;t:{var b=t;o=ol;var T=b.current.memoizedState.isDehydrated;if(T&&(oi(b,h).flags|=256),h=ju(b,h,!1),h!==2){if(xu&&!T){b.errorRecoveryDisabledLanes|=u,Ea|=u,o=4;break t}u=be,be=o,u!==null&&(be===null?be=u:be.push.apply(be,u))}o=h}if(u=!1,o!==2)continue}}if(o===1){oi(t,0),Kn(t,e,0,!0);break}t:{switch(l=t,u=o,u){case 0:case 1:throw Error(r(345));case 4:if((e&4194048)!==e)break;case 6:Kn(l,e,we,!Yn);break t;case 2:be=null;break;case 3:case 5:break;default:throw Error(r(329))}if((e&62914560)===e&&(o=_s+300-xe(),10<o)){if(Kn(l,e,we,!Yn),Ql(l,0,!0)!==0)break t;En=e,l.timeoutHandle=cp(Vm.bind(null,l,n,be,Ls,Au,e,we,Ea,si,Yn,u,"Throttled",-0,0),o);break t}Vm(l,n,be,Ls,Au,e,we,Ea,si,Yn,u,null,-0,0)}}break}while(!0);Ie(t)}function Vm(t,e,n,l,o,u,h,b,T,N,U,Y,z,_){if(t.timeoutHandle=-1,Y=e.subtreeFlags,Y&8192||(Y&16785408)===16785408){Y={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:un},Dm(e,u,Y);var P=(u&62914560)===u?_s-xe():(u&4194048)===u?Rm-xe():0;if(P=Hb(Y,P),P!==null){En=u,t.cancelPendingCommit=P(qm.bind(null,t,e,u,n,l,o,h,b,T,U,Y,null,z,_)),Kn(t,u,h,!N);return}}qm(t,e,u,n,l,o,h,b,T)}function eb(t){for(var e=t;;){var n=e.tag;if((n===0||n===11||n===15)&&e.flags&16384&&(n=e.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var l=0;l<n.length;l++){var o=n[l],u=o.getSnapshot;o=o.value;try{if(!Ee(u(),o))return!1}catch{return!1}}if(n=e.child,e.subtreeFlags&16384&&n!==null)n.return=e,e=n;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function Kn(t,e,n,l){e&=~Tu,e&=~Ea,t.suspendedLanes|=e,t.pingedLanes&=~e,l&&(t.warmLanes|=e),l=t.expirationTimes;for(var o=e;0<o;){var u=31-Ae(o),h=1<<u;l[u]=-1,o&=~h}n!==0&&Xf(t,n,e)}function Us(){return(xt&6)===0?(cl(0),!1):!0}function Cu(){if(dt!==null){if(Et===0)var t=dt.return;else t=dt,hn=pa=null,Go(t),$a=null,Zi=0,t=dt;for(;t!==null;)fm(t.alternate,t),t=t.return;dt=null}}function oi(t,e){var n=t.timeoutHandle;n!==-1&&(t.timeoutHandle=-1,xb(n)),n=t.cancelPendingCommit,n!==null&&(t.cancelPendingCommit=null,n()),En=0,Cu(),wt=t,dt=n=fn(t.current,null),pt=e,Et=0,je=null,Yn=!1,li=wi(t,e),xu=!1,si=we=Tu=Ea=qn=kt=0,be=ol=null,Au=!1,(e&8)!==0&&(e|=e&32);var l=t.entangledLanes;if(l!==0)for(t=t.entanglements,l&=e;0<l;){var o=31-Ae(l),u=1<<o;e|=t[o],l&=~u}return An=e,ls(),n}function _m(t,e){ut=null,L.H=tl,e===Wa||e===hs?(e=Wd(),Et=3):e===No?(e=Wd(),Et=4):Et=e===lu?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,je=e,dt===null&&(kt=1,Cs(t,_e(e,t.current)))}function Bm(){var t=De.current;return t===null?!0:(pt&4194048)===pt?He===null:(pt&62914560)===pt||(pt&536870912)!==0?t===He:!1}function Lm(){var t=L.H;return L.H=tl,t===null?tl:t}function Um(){var t=L.A;return L.A=I1,t}function Hs(){kt=4,Yn||(pt&4194048)!==pt&&De.current!==null||(li=!0),(qn&134217727)===0&&(Ea&134217727)===0||wt===null||Kn(wt,pt,we,!1)}function ju(t,e,n){var l=xt;xt|=2;var o=Lm(),u=Um();(wt!==t||pt!==e)&&(Ls=null,oi(t,e)),e=!1;var h=kt;t:do try{if(Et!==0&&dt!==null){var b=dt,T=je;switch(Et){case 8:Cu(),h=6;break t;case 3:case 2:case 9:case 6:De.current===null&&(e=!0);var N=Et;if(Et=0,je=null,ui(t,b,T,N),n&&li){h=0;break t}break;default:N=Et,Et=0,je=null,ui(t,b,T,N)}}nb(),h=kt;break}catch(U){_m(t,U)}while(!0);return e&&t.shellSuspendCounter++,hn=pa=null,xt=l,L.H=o,L.A=u,dt===null&&(wt=null,pt=0,ls()),h}function nb(){for(;dt!==null;)Hm(dt)}function ab(t,e){var n=xt;xt|=2;var l=Lm(),o=Um();wt!==t||pt!==e?(Ls=null,Bs=xe()+500,oi(t,e)):li=wi(t,e);t:do try{if(Et!==0&&dt!==null){e=dt;var u=je;e:switch(Et){case 1:Et=0,je=null,ui(t,e,u,1);break;case 2:case 9:if(Pd(u)){Et=0,je=null,km(e);break}e=function(){Et!==2&&Et!==9||wt!==t||(Et=7),Ie(t)},u.then(e,e);break t;case 3:Et=7;break t;case 4:Et=5;break t;case 7:Pd(u)?(Et=0,je=null,km(e)):(Et=0,je=null,ui(t,e,u,7));break;case 5:var h=null;switch(dt.tag){case 26:h=dt.memoizedState;case 5:case 27:var b=dt;if(h?Mp(h):b.stateNode.complete){Et=0,je=null;var T=b.sibling;if(T!==null)dt=T;else{var N=b.return;N!==null?(dt=N,ks(N)):dt=null}break e}}Et=0,je=null,ui(t,e,u,5);break;case 6:Et=0,je=null,ui(t,e,u,6);break;case 8:Cu(),kt=6;break t;default:throw Error(r(462))}}ib();break}catch(U){_m(t,U)}while(!0);return hn=pa=null,L.H=l,L.A=o,xt=n,dt!==null?0:(wt=null,pt=0,ls(),kt)}function ib(){for(;dt!==null&&!Cv();)Hm(dt)}function Hm(t){var e=um(t.alternate,t,An);t.memoizedProps=t.pendingProps,e===null?ks(t):dt=e}function km(t){var e=t,n=e.alternate;switch(e.tag){case 15:case 0:e=am(n,e,e.pendingProps,e.type,void 0,pt);break;case 11:e=am(n,e,e.pendingProps,e.type.render,e.ref,pt);break;case 5:Go(e);default:fm(n,e),e=dt=Ud(e,An),e=um(n,e,An)}t.memoizedProps=t.pendingProps,e===null?ks(t):dt=e}function ui(t,e,n,l){hn=pa=null,Go(e),$a=null,Zi=0;var o=e.return;try{if(Z1(t,o,e,n,pt)){kt=1,Cs(t,_e(n,t.current)),dt=null;return}}catch(u){if(o!==null)throw dt=o,u;kt=1,Cs(t,_e(n,t.current)),dt=null;return}e.flags&32768?(gt||l===1?t=!0:li||(pt&536870912)!==0?t=!1:(Yn=t=!0,(l===2||l===9||l===3||l===6)&&(l=De.current,l!==null&&l.tag===13&&(l.flags|=16384))),Ym(e,t)):ks(e)}function ks(t){var e=t;do{if((e.flags&32768)!==0){Ym(e,Yn);return}t=e.return;var n=P1(e.alternate,e,An);if(n!==null){dt=n;return}if(e=e.sibling,e!==null){dt=e;return}dt=e=t}while(e!==null);kt===0&&(kt=5)}function Ym(t,e){do{var n=J1(t.alternate,t);if(n!==null){n.flags&=32767,dt=n;return}if(n=t.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!e&&(t=t.sibling,t!==null)){dt=t;return}dt=t=n}while(t!==null);kt=6,dt=null}function qm(t,e,n,l,o,u,h,b,T){t.cancelPendingCommit=null;do Ys();while(Jt!==0);if((xt&6)!==0)throw Error(r(327));if(e!==null){if(e===t.current)throw Error(r(177));if(u=e.lanes|e.childLanes,u|=yo,Lv(t,n,u,h,b,T),t===wt&&(dt=wt=null,pt=0),ri=e,Xn=t,En=n,Eu=u,Mu=o,Nm=l,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,ob(Gl,function(){return Qm(),null})):(t.callbackNode=null,t.callbackPriority=0),l=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||l){l=L.T,L.T=null,o=Z.p,Z.p=2,h=xt,xt|=4;try{W1(t,e,n)}finally{xt=h,Z.p=o,L.T=l}}Jt=1,Gm(),Xm(),Km()}}function Gm(){if(Jt===1){Jt=0;var t=Xn,e=ri,n=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||n){n=L.T,L.T=null;var l=Z.p;Z.p=2;var o=xt;xt|=4;try{Am(e,t);var u=ku,h=wd(t.containerInfo),b=u.focusedElem,T=u.selectionRange;if(h!==b&&b&&b.ownerDocument&&jd(b.ownerDocument.documentElement,b)){if(T!==null&&co(b)){var N=T.start,U=T.end;if(U===void 0&&(U=N),"selectionStart"in b)b.selectionStart=N,b.selectionEnd=Math.min(U,b.value.length);else{var Y=b.ownerDocument||document,z=Y&&Y.defaultView||window;if(z.getSelection){var _=z.getSelection(),P=b.textContent.length,at=Math.min(T.start,P),jt=T.end===void 0?at:Math.min(T.end,P);!_.extend&&at>jt&&(h=jt,jt=at,at=h);var C=Cd(b,at),M=Cd(b,jt);if(C&&M&&(_.rangeCount!==1||_.anchorNode!==C.node||_.anchorOffset!==C.offset||_.focusNode!==M.node||_.focusOffset!==M.offset)){var R=Y.createRange();R.setStart(C.node,C.offset),_.removeAllRanges(),at>jt?(_.addRange(R),_.extend(M.node,M.offset)):(R.setEnd(M.node,M.offset),_.addRange(R))}}}}for(Y=[],_=b;_=_.parentNode;)_.nodeType===1&&Y.push({element:_,left:_.scrollLeft,top:_.scrollTop});for(typeof b.focus=="function"&&b.focus(),b=0;b<Y.length;b++){var k=Y[b];k.element.scrollLeft=k.left,k.element.scrollTop=k.top}}Is=!!Hu,ku=Hu=null}finally{xt=o,Z.p=l,L.T=n}}t.current=e,Jt=2}}function Xm(){if(Jt===2){Jt=0;var t=Xn,e=ri,n=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||n){n=L.T,L.T=null;var l=Z.p;Z.p=2;var o=xt;xt|=4;try{vm(t,e.alternate,e)}finally{xt=o,Z.p=l,L.T=n}}Jt=3}}function Km(){if(Jt===4||Jt===3){Jt=0,jv();var t=Xn,e=ri,n=En,l=Nm;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?Jt=5:(Jt=0,ri=Xn=null,Zm(t,t.pendingLanes));var o=t.pendingLanes;if(o===0&&(Gn=null),Kr(n),e=e.stateNode,Te&&typeof Te.onCommitFiberRoot=="function")try{Te.onCommitFiberRoot(ji,e,void 0,(e.current.flags&128)===128)}catch{}if(l!==null){e=L.T,o=Z.p,Z.p=2,L.T=null;try{for(var u=t.onRecoverableError,h=0;h<l.length;h++){var b=l[h];u(b.value,{componentStack:b.stack})}}finally{L.T=e,Z.p=o}}(En&3)!==0&&Ys(),Ie(t),o=t.pendingLanes,(n&261930)!==0&&(o&42)!==0?t===Du?ul++:(ul=0,Du=t):ul=0,cl(0)}}function Zm(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,Xi(e)))}function Ys(){return Gm(),Xm(),Km(),Qm()}function Qm(){if(Jt!==5)return!1;var t=Xn,e=Eu;Eu=0;var n=Kr(En),l=L.T,o=Z.p;try{Z.p=32>n?32:n,L.T=null,n=Mu,Mu=null;var u=Xn,h=En;if(Jt=0,ri=Xn=null,En=0,(xt&6)!==0)throw Error(r(331));var b=xt;if(xt|=4,jm(u.current),Mm(u,u.current,h,n),xt=b,cl(0,!1),Te&&typeof Te.onPostCommitFiberRoot=="function")try{Te.onPostCommitFiberRoot(ji,u)}catch{}return!0}finally{Z.p=o,L.T=l,Zm(t,e)}}function Fm(t,e,n){e=_e(n,e),e=iu(t.stateNode,e,2),t=Ln(t,e,2),t!==null&&(Ri(t,2),Ie(t))}function Mt(t,e,n){if(t.tag===3)Fm(t,t,n);else for(;e!==null;){if(e.tag===3){Fm(e,t,n);break}else if(e.tag===1){var l=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Gn===null||!Gn.has(l))){t=_e(n,t),n=Ph(2),l=Ln(e,n,2),l!==null&&(Jh(n,l,e,t),Ri(l,2),Ie(l));break}}e=e.return}}function wu(t,e,n){var l=t.pingCache;if(l===null){l=t.pingCache=new tb;var o=new Set;l.set(e,o)}else o=l.get(e),o===void 0&&(o=new Set,l.set(e,o));o.has(n)||(xu=!0,o.add(n),t=lb.bind(null,t,e,n),e.then(t,t))}function lb(t,e,n){var l=t.pingCache;l!==null&&l.delete(e),t.pingedLanes|=t.suspendedLanes&n,t.warmLanes&=~n,wt===t&&(pt&n)===n&&(kt===4||kt===3&&(pt&62914560)===pt&&300>xe()-_s?(xt&2)===0&&oi(t,0):Tu|=n,si===pt&&(si=0)),Ie(t)}function Pm(t,e){e===0&&(e=Gf()),t=da(t,e),t!==null&&(Ri(t,e),Ie(t))}function sb(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),Pm(t,n)}function rb(t,e){var n=0;switch(t.tag){case 31:case 13:var l=t.stateNode,o=t.memoizedState;o!==null&&(n=o.retryLane);break;case 19:l=t.stateNode;break;case 22:l=t.stateNode._retryCache;break;default:throw Error(r(314))}l!==null&&l.delete(e),Pm(t,n)}function ob(t,e){return Yr(t,e)}var qs=null,ci=null,Ru=!1,Gs=!1,Nu=!1,Zn=0;function Ie(t){t!==ci&&t.next===null&&(ci===null?qs=ci=t:ci=ci.next=t),Gs=!0,Ru||(Ru=!0,cb())}function cl(t,e){if(!Nu&&Gs){Nu=!0;do for(var n=!1,l=qs;l!==null;){if(t!==0){var o=l.pendingLanes;if(o===0)var u=0;else{var h=l.suspendedLanes,b=l.pingedLanes;u=(1<<31-Ae(42|t)+1)-1,u&=o&~(h&~b),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(n=!0,Im(l,u))}else u=pt,u=Ql(l,l===wt?u:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(u&3)===0||wi(l,u)||(n=!0,Im(l,u));l=l.next}while(n);Nu=!1}}function ub(){Jm()}function Jm(){Gs=Ru=!1;var t=0;Zn!==0&&Sb()&&(t=Zn);for(var e=xe(),n=null,l=qs;l!==null;){var o=l.next,u=Wm(l,e);u===0?(l.next=null,n===null?qs=o:n.next=o,o===null&&(ci=n)):(n=l,(t!==0||(u&3)!==0)&&(Gs=!0)),l=o}Jt!==0&&Jt!==5||cl(t),Zn!==0&&(Zn=0)}function Wm(t,e){for(var n=t.suspendedLanes,l=t.pingedLanes,o=t.expirationTimes,u=t.pendingLanes&-62914561;0<u;){var h=31-Ae(u),b=1<<h,T=o[h];T===-1?((b&n)===0||(b&l)!==0)&&(o[h]=Bv(b,e)):T<=e&&(t.expiredLanes|=b),u&=~b}if(e=wt,n=pt,n=Ql(t,t===e?n:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l=t.callbackNode,n===0||t===e&&(Et===2||Et===9)||t.cancelPendingCommit!==null)return l!==null&&l!==null&&qr(l),t.callbackNode=null,t.callbackPriority=0;if((n&3)===0||wi(t,n)){if(e=n&-n,e===t.callbackPriority)return e;switch(l!==null&&qr(l),Kr(n)){case 2:case 8:n=Yf;break;case 32:n=Gl;break;case 268435456:n=qf;break;default:n=Gl}return l=$m.bind(null,t),n=Yr(n,l),t.callbackPriority=e,t.callbackNode=n,e}return l!==null&&l!==null&&qr(l),t.callbackPriority=2,t.callbackNode=null,2}function $m(t,e){if(Jt!==0&&Jt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var n=t.callbackNode;if(Ys()&&t.callbackNode!==n)return null;var l=pt;return l=Ql(t,t===wt?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l===0?null:(Om(t,l,e),Wm(t,xe()),t.callbackNode!=null&&t.callbackNode===n?$m.bind(null,t):null)}function Im(t,e){if(Ys())return null;Om(t,e,!0)}function cb(){Tb(function(){(xt&6)!==0?Yr(kf,ub):Jm()})}function zu(){if(Zn===0){var t=Pa;t===0&&(t=Xl,Xl<<=1,(Xl&261888)===0&&(Xl=256)),Zn=t}return Zn}function tp(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Wl(""+t)}function ep(t,e){var n=e.ownerDocument.createElement("input");return n.name=e.name,n.value=e.value,t.id&&n.setAttribute("form",t.id),e.parentNode.insertBefore(n,e),t=new FormData(t),n.parentNode.removeChild(n),t}function fb(t,e,n,l,o){if(e==="submit"&&n&&n.stateNode===o){var u=tp((o[me]||null).action),h=l.submitter;h&&(e=(e=h[me]||null)?tp(e.formAction):h.getAttribute("formAction"),e!==null&&(u=e,h=null));var b=new es("action","action",null,l,o);t.push({event:b,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(Zn!==0){var T=h?ep(o,h):new FormData(o);$o(n,{pending:!0,data:T,method:o.method,action:u},null,T)}}else typeof u=="function"&&(b.preventDefault(),T=h?ep(o,h):new FormData(o),$o(n,{pending:!0,data:T,method:o.method,action:u},u,T))},currentTarget:o}]})}}for(var Ou=0;Ou<po.length;Ou++){var Vu=po[Ou],db=Vu.toLowerCase(),hb=Vu[0].toUpperCase()+Vu.slice(1);Xe(db,"on"+hb)}Xe(zd,"onAnimationEnd"),Xe(Od,"onAnimationIteration"),Xe(Vd,"onAnimationStart"),Xe("dblclick","onDoubleClick"),Xe("focusin","onFocus"),Xe("focusout","onBlur"),Xe(w1,"onTransitionRun"),Xe(R1,"onTransitionStart"),Xe(N1,"onTransitionCancel"),Xe(_d,"onTransitionEnd"),_a("onMouseEnter",["mouseout","mouseover"]),_a("onMouseLeave",["mouseout","mouseover"]),_a("onPointerEnter",["pointerout","pointerover"]),_a("onPointerLeave",["pointerout","pointerover"]),oa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),oa("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),oa("onBeforeInput",["compositionend","keypress","textInput","paste"]),oa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),oa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),oa("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var fl="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(" "),mb=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(fl));function np(t,e){e=(e&4)!==0;for(var n=0;n<t.length;n++){var l=t[n],o=l.event;l=l.listeners;t:{var u=void 0;if(e)for(var h=l.length-1;0<=h;h--){var b=l[h],T=b.instance,N=b.currentTarget;if(b=b.listener,T!==u&&o.isPropagationStopped())break t;u=b,o.currentTarget=N;try{u(o)}catch(U){is(U)}o.currentTarget=null,u=T}else for(h=0;h<l.length;h++){if(b=l[h],T=b.instance,N=b.currentTarget,b=b.listener,T!==u&&o.isPropagationStopped())break t;u=b,o.currentTarget=N;try{u(o)}catch(U){is(U)}o.currentTarget=null,u=T}}}}function ht(t,e){var n=e[Zr];n===void 0&&(n=e[Zr]=new Set);var l=t+"__bubble";n.has(l)||(ap(e,t,2,!1),n.add(l))}function _u(t,e,n){var l=0;e&&(l|=4),ap(n,t,l,e)}var Xs="_reactListening"+Math.random().toString(36).slice(2);function Bu(t){if(!t[Xs]){t[Xs]=!0,Jf.forEach(function(n){n!=="selectionchange"&&(mb.has(n)||_u(n,!1,t),_u(n,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[Xs]||(e[Xs]=!0,_u("selectionchange",!1,e))}}function ap(t,e,n,l){switch(zp(e)){case 2:var o=qb;break;case 8:o=Gb;break;default:o=Wu}n=o.bind(null,e,n,t),o=void 0,!eo||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(o=!0),l?o!==void 0?t.addEventListener(e,n,{capture:!0,passive:o}):t.addEventListener(e,n,!0):o!==void 0?t.addEventListener(e,n,{passive:o}):t.addEventListener(e,n,!1)}function Lu(t,e,n,l,o){var u=l;if((e&1)===0&&(e&2)===0&&l!==null)t:for(;;){if(l===null)return;var h=l.tag;if(h===3||h===4){var b=l.stateNode.containerInfo;if(b===o)break;if(h===4)for(h=l.return;h!==null;){var T=h.tag;if((T===3||T===4)&&h.stateNode.containerInfo===o)return;h=h.return}for(;b!==null;){if(h=za(b),h===null)return;if(T=h.tag,T===5||T===6||T===26||T===27){l=u=h;continue t}b=b.parentNode}}l=l.return}od(function(){var N=u,U=Ir(n),Y=[];t:{var z=Bd.get(t);if(z!==void 0){var _=es,P=t;switch(t){case"keypress":if(Il(n)===0)break t;case"keydown":case"keyup":_=r1;break;case"focusin":P="focus",_=lo;break;case"focusout":P="blur",_=lo;break;case"beforeblur":case"afterblur":_=lo;break;case"click":if(n.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":_=fd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":_=Pv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":_=c1;break;case zd:case Od:case Vd:_=$v;break;case _d:_=d1;break;case"scroll":case"scrollend":_=Qv;break;case"wheel":_=m1;break;case"copy":case"cut":case"paste":_=t1;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":_=hd;break;case"toggle":case"beforetoggle":_=y1}var at=(e&4)!==0,jt=!at&&(t==="scroll"||t==="scrollend"),C=at?z!==null?z+"Capture":null:z;at=[];for(var M=N,R;M!==null;){var k=M;if(R=k.stateNode,k=k.tag,k!==5&&k!==26&&k!==27||R===null||C===null||(k=Oi(M,C),k!=null&&at.push(dl(M,k,R))),jt)break;M=M.return}0<at.length&&(z=new _(z,P,null,n,U),Y.push({event:z,listeners:at}))}}if((e&7)===0){t:{if(z=t==="mouseover"||t==="pointerover",_=t==="mouseout"||t==="pointerout",z&&n!==$r&&(P=n.relatedTarget||n.fromElement)&&(za(P)||P[Na]))break t;if((_||z)&&(z=U.window===U?U:(z=U.ownerDocument)?z.defaultView||z.parentWindow:window,_?(P=n.relatedTarget||n.toElement,_=N,P=P?za(P):null,P!==null&&(jt=f(P),at=P.tag,P!==jt||at!==5&&at!==27&&at!==6)&&(P=null)):(_=null,P=N),_!==P)){if(at=fd,k="onMouseLeave",C="onMouseEnter",M="mouse",(t==="pointerout"||t==="pointerover")&&(at=hd,k="onPointerLeave",C="onPointerEnter",M="pointer"),jt=_==null?z:zi(_),R=P==null?z:zi(P),z=new at(k,M+"leave",_,n,U),z.target=jt,z.relatedTarget=R,k=null,za(U)===N&&(at=new at(C,M+"enter",P,n,U),at.target=R,at.relatedTarget=jt,k=at),jt=k,_&&P)e:{for(at=pb,C=_,M=P,R=0,k=C;k;k=at(k))R++;k=0;for(var nt=M;nt;nt=at(nt))k++;for(;0<R-k;)C=at(C),R--;for(;0<k-R;)M=at(M),k--;for(;R--;){if(C===M||M!==null&&C===M.alternate){at=C;break e}C=at(C),M=at(M)}at=null}else at=null;_!==null&&ip(Y,z,_,at,!1),P!==null&&jt!==null&&ip(Y,jt,P,at,!0)}}t:{if(z=N?zi(N):window,_=z.nodeName&&z.nodeName.toLowerCase(),_==="select"||_==="input"&&z.type==="file")var vt=xd;else if(bd(z))if(Td)vt=D1;else{vt=E1;var I=A1}else _=z.nodeName,!_||_.toLowerCase()!=="input"||z.type!=="checkbox"&&z.type!=="radio"?N&&Wr(N.elementType)&&(vt=xd):vt=M1;if(vt&&(vt=vt(t,N))){Sd(Y,vt,n,U);break t}I&&I(t,z,N),t==="focusout"&&N&&z.type==="number"&&N.memoizedProps.value!=null&&Jr(z,"number",z.value)}switch(I=N?zi(N):window,t){case"focusin":(bd(I)||I.contentEditable==="true")&&(Ya=I,fo=N,Yi=null);break;case"focusout":Yi=fo=Ya=null;break;case"mousedown":ho=!0;break;case"contextmenu":case"mouseup":case"dragend":ho=!1,Rd(Y,n,U);break;case"selectionchange":if(j1)break;case"keydown":case"keyup":Rd(Y,n,U)}var ct;if(ro)t:{switch(t){case"compositionstart":var yt="onCompositionStart";break t;case"compositionend":yt="onCompositionEnd";break t;case"compositionupdate":yt="onCompositionUpdate";break t}yt=void 0}else ka?gd(t,n)&&(yt="onCompositionEnd"):t==="keydown"&&n.keyCode===229&&(yt="onCompositionStart");yt&&(md&&n.locale!=="ko"&&(ka||yt!=="onCompositionStart"?yt==="onCompositionEnd"&&ka&&(ct=ud()):(Rn=U,no="value"in Rn?Rn.value:Rn.textContent,ka=!0)),I=Ks(N,yt),0<I.length&&(yt=new dd(yt,t,null,n,U),Y.push({event:yt,listeners:I}),ct?yt.data=ct:(ct=vd(n),ct!==null&&(yt.data=ct)))),(ct=v1?b1(t,n):S1(t,n))&&(yt=Ks(N,"onBeforeInput"),0<yt.length&&(I=new dd("onBeforeInput","beforeinput",null,n,U),Y.push({event:I,listeners:yt}),I.data=ct)),fb(Y,t,N,n,U)}np(Y,e)})}function dl(t,e,n){return{instance:t,listener:e,currentTarget:n}}function Ks(t,e){for(var n=e+"Capture",l=[];t!==null;){var o=t,u=o.stateNode;if(o=o.tag,o!==5&&o!==26&&o!==27||u===null||(o=Oi(t,n),o!=null&&l.unshift(dl(t,o,u)),o=Oi(t,e),o!=null&&l.push(dl(t,o,u))),t.tag===3)return l;t=t.return}return[]}function pb(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function ip(t,e,n,l,o){for(var u=e._reactName,h=[];n!==null&&n!==l;){var b=n,T=b.alternate,N=b.stateNode;if(b=b.tag,T!==null&&T===l)break;b!==5&&b!==26&&b!==27||N===null||(T=N,o?(N=Oi(n,u),N!=null&&h.unshift(dl(n,N,T))):o||(N=Oi(n,u),N!=null&&h.push(dl(n,N,T)))),n=n.return}h.length!==0&&t.push({event:e,listeners:h})}var yb=/\r\n?/g,gb=/\u0000|\uFFFD/g;function lp(t){return(typeof t=="string"?t:""+t).replace(yb,`
49`).replace(gb,"")}function sp(t,e){return e=lp(e),lp(t)===e}function Ct(t,e,n,l,o,u){switch(n){case"children":typeof l=="string"?e==="body"||e==="textarea"&&l===""||La(t,l):(typeof l=="number"||typeof l=="bigint")&&e!=="body"&&La(t,""+l);break;case"className":Pl(t,"class",l);break;case"tabIndex":Pl(t,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":Pl(t,n,l);break;case"style":sd(t,l,u);break;case"data":if(e!=="object"){Pl(t,"data",l);break}case"src":case"href":if(l===""&&(e!=="a"||n!=="href")){t.removeAttribute(n);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(n);break}l=Wl(""+l),t.setAttribute(n,l);break;case"action":case"formAction":if(typeof l=="function"){t.setAttribute(n,"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"&&(n==="formAction"?(e!=="input"&&Ct(t,e,"name",o.name,o,null),Ct(t,e,"formEncType",o.formEncType,o,null),Ct(t,e,"formMethod",o.formMethod,o,null),Ct(t,e,"formTarget",o.formTarget,o,null)):(Ct(t,e,"encType",o.encType,o,null),Ct(t,e,"method",o.method,o,null),Ct(t,e,"target",o.target,o,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(n);break}l=Wl(""+l),t.setAttribute(n,l);break;case"onClick":l!=null&&(t.onclick=un);break;case"onScroll":l!=null&&ht("scroll",t);break;case"onScrollEnd":l!=null&&ht("scrollend",t);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(r(61));if(n=l.__html,n!=null){if(o.children!=null)throw Error(r(60));t.innerHTML=n}}break;case"multiple":t.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":t.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){t.removeAttribute("xlink:href");break}n=Wl(""+l),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(n,""+l):t.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":l&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(n,""):t.removeAttribute(n);break;case"capture":case"download":l===!0?t.setAttribute(n,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(n,l):t.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?t.setAttribute(n,l):t.removeAttribute(n);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?t.removeAttribute(n):t.setAttribute(n,l);break;case"popover":ht("beforetoggle",t),ht("toggle",t),Fl(t,"popover",l);break;case"xlinkActuate":on(t,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":on(t,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":on(t,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":on(t,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":on(t,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":on(t,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":on(t,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":on(t,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":on(t,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":Fl(t,"is",l);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=Kv.get(n)||n,Fl(t,n,l))}}function Uu(t,e,n,l,o,u){switch(n){case"style":sd(t,l,u);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(r(61));if(n=l.__html,n!=null){if(o.children!=null)throw Error(r(60));t.innerHTML=n}}break;case"children":typeof l=="string"?La(t,l):(typeof l=="number"||typeof l=="bigint")&&La(t,""+l);break;case"onScroll":l!=null&&ht("scroll",t);break;case"onScrollEnd":l!=null&&ht("scrollend",t);break;case"onClick":l!=null&&(t.onclick=un);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Wf.hasOwnProperty(n))t:{if(n[0]==="o"&&n[1]==="n"&&(o=n.endsWith("Capture"),e=n.slice(2,o?n.length-7:void 0),u=t[me]||null,u=u!=null?u[n]:null,typeof u=="function"&&t.removeEventListener(e,u,o),typeof l=="function")){typeof u!="function"&&u!==null&&(n in t?t[n]=null:t.hasAttribute(n)&&t.removeAttribute(n)),t.addEventListener(e,l,o);break t}n in t?t[n]=l:l===!0?t.setAttribute(n,""):Fl(t,n,l)}}}function se(t,e,n){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ht("error",t),ht("load",t);var l=!1,o=!1,u;for(u in n)if(n.hasOwnProperty(u)){var h=n[u];if(h!=null)switch(u){case"src":l=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,e));default:Ct(t,e,u,h,n,null)}}o&&Ct(t,e,"srcSet",n.srcSet,n,null),l&&Ct(t,e,"src",n.src,n,null);return;case"input":ht("invalid",t);var b=u=h=o=null,T=null,N=null;for(l in n)if(n.hasOwnProperty(l)){var U=n[l];if(U!=null)switch(l){case"name":o=U;break;case"type":h=U;break;case"checked":T=U;break;case"defaultChecked":N=U;break;case"value":u=U;break;case"defaultValue":b=U;break;case"children":case"dangerouslySetInnerHTML":if(U!=null)throw Error(r(137,e));break;default:Ct(t,e,l,U,n,null)}}nd(t,u,b,T,N,h,o,!1);return;case"select":ht("invalid",t),l=h=u=null;for(o in n)if(n.hasOwnProperty(o)&&(b=n[o],b!=null))switch(o){case"value":u=b;break;case"defaultValue":h=b;break;case"multiple":l=b;default:Ct(t,e,o,b,n,null)}e=u,n=h,t.multiple=!!l,e!=null?Ba(t,!!l,e,!1):n!=null&&Ba(t,!!l,n,!0);return;case"textarea":ht("invalid",t),u=o=l=null;for(h in n)if(n.hasOwnProperty(h)&&(b=n[h],b!=null))switch(h){case"value":l=b;break;case"defaultValue":o=b;break;case"children":u=b;break;case"dangerouslySetInnerHTML":if(b!=null)throw Error(r(91));break;default:Ct(t,e,h,b,n,null)}id(t,l,o,u);return;case"option":for(T in n)if(n.hasOwnProperty(T)&&(l=n[T],l!=null))switch(T){case"selected":t.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:Ct(t,e,T,l,n,null)}return;case"dialog":ht("beforetoggle",t),ht("toggle",t),ht("cancel",t),ht("close",t);break;case"iframe":case"object":ht("load",t);break;case"video":case"audio":for(l=0;l<fl.length;l++)ht(fl[l],t);break;case"image":ht("error",t),ht("load",t);break;case"details":ht("toggle",t);break;case"embed":case"source":case"link":ht("error",t),ht("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(N in n)if(n.hasOwnProperty(N)&&(l=n[N],l!=null))switch(N){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,e));default:Ct(t,e,N,l,n,null)}return;default:if(Wr(e)){for(U in n)n.hasOwnProperty(U)&&(l=n[U],l!==void 0&&Uu(t,e,U,l,n,void 0));return}}for(b in n)n.hasOwnProperty(b)&&(l=n[b],l!=null&&Ct(t,e,b,l,n,null))}function vb(t,e,n,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,u=null,h=null,b=null,T=null,N=null,U=null;for(_ in n){var Y=n[_];if(n.hasOwnProperty(_)&&Y!=null)switch(_){case"checked":break;case"value":break;case"defaultValue":T=Y;default:l.hasOwnProperty(_)||Ct(t,e,_,null,l,Y)}}for(var z in l){var _=l[z];if(Y=n[z],l.hasOwnProperty(z)&&(_!=null||Y!=null))switch(z){case"type":u=_;break;case"name":o=_;break;case"checked":N=_;break;case"defaultChecked":U=_;break;case"value":h=_;break;case"defaultValue":b=_;break;case"children":case"dangerouslySetInnerHTML":if(_!=null)throw Error(r(137,e));break;default:_!==Y&&Ct(t,e,z,_,l,Y)}}Pr(t,h,b,T,N,U,u,o);return;case"select":_=h=b=z=null;for(u in n)if(T=n[u],n.hasOwnProperty(u)&&T!=null)switch(u){case"value":break;case"multiple":_=T;default:l.hasOwnProperty(u)||Ct(t,e,u,null,l,T)}for(o in l)if(u=l[o],T=n[o],l.hasOwnProperty(o)&&(u!=null||T!=null))switch(o){case"value":z=u;break;case"defaultValue":b=u;break;case"multiple":h=u;default:u!==T&&Ct(t,e,o,u,l,T)}e=b,n=h,l=_,z!=null?Ba(t,!!n,z,!1):!!l!=!!n&&(e!=null?Ba(t,!!n,e,!0):Ba(t,!!n,n?[]:"",!1));return;case"textarea":_=z=null;for(b in n)if(o=n[b],n.hasOwnProperty(b)&&o!=null&&!l.hasOwnProperty(b))switch(b){case"value":break;case"children":break;default:Ct(t,e,b,null,l,o)}for(h in l)if(o=l[h],u=n[h],l.hasOwnProperty(h)&&(o!=null||u!=null))switch(h){case"value":z=o;break;case"defaultValue":_=o;break;case"children":break;case"dangerouslySetInnerHTML":if(o!=null)throw Error(r(91));break;default:o!==u&&Ct(t,e,h,o,l,u)}ad(t,z,_);return;case"option":for(var P in n)if(z=n[P],n.hasOwnProperty(P)&&z!=null&&!l.hasOwnProperty(P))switch(P){case"selected":t.selected=!1;break;default:Ct(t,e,P,null,l,z)}for(T in l)if(z=l[T],_=n[T],l.hasOwnProperty(T)&&z!==_&&(z!=null||_!=null))switch(T){case"selected":t.selected=z&&typeof z!="function"&&typeof z!="symbol";break;default:Ct(t,e,T,z,l,_)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var at in n)z=n[at],n.hasOwnProperty(at)&&z!=null&&!l.hasOwnProperty(at)&&Ct(t,e,at,null,l,z);for(N in l)if(z=l[N],_=n[N],l.hasOwnProperty(N)&&z!==_&&(z!=null||_!=null))switch(N){case"children":case"dangerouslySetInnerHTML":if(z!=null)throw Error(r(137,e));break;default:Ct(t,e,N,z,l,_)}return;default:if(Wr(e)){for(var jt in n)z=n[jt],n.hasOwnProperty(jt)&&z!==void 0&&!l.hasOwnProperty(jt)&&Uu(t,e,jt,void 0,l,z);for(U in l)z=l[U],_=n[U],!l.hasOwnProperty(U)||z===_||z===void 0&&_===void 0||Uu(t,e,U,z,l,_);return}}for(var C in n)z=n[C],n.hasOwnProperty(C)&&z!=null&&!l.hasOwnProperty(C)&&Ct(t,e,C,null,l,z);for(Y in l)z=l[Y],_=n[Y],!l.hasOwnProperty(Y)||z===_||z==null&&_==null||Ct(t,e,Y,z,l,_)}function rp(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function bb(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,n=performance.getEntriesByType("resource"),l=0;l<n.length;l++){var o=n[l],u=o.transferSize,h=o.initiatorType,b=o.duration;if(u&&b&&rp(h)){for(h=0,b=o.responseEnd,l+=1;l<n.length;l++){var T=n[l],N=T.startTime;if(N>b)break;var U=T.transferSize,Y=T.initiatorType;U&&rp(Y)&&(T=T.responseEnd,h+=U*(T<b?1:(b-N)/(T-N)))}if(--l,e+=8*(u+h)/(o.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var Hu=null,ku=null;function Zs(t){return t.nodeType===9?t:t.ownerDocument}function op(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function up(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function Yu(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var qu=null;function Sb(){var t=window.event;return t&&t.type==="popstate"?t===qu?!1:(qu=t,!0):(qu=null,!1)}var cp=typeof setTimeout=="function"?setTimeout:void 0,xb=typeof clearTimeout=="function"?clearTimeout:void 0,fp=typeof Promise=="function"?Promise:void 0,Tb=typeof queueMicrotask=="function"?queueMicrotask:typeof fp<"u"?function(t){return fp.resolve(null).then(t).catch(Ab)}:cp;function Ab(t){setTimeout(function(){throw t})}function Qn(t){return t==="head"}function dp(t,e){var n=e,l=0;do{var o=n.nextSibling;if(t.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"||n==="/&"){if(l===0){t.removeChild(o),mi(e);return}l--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")l++;else if(n==="html")hl(t.ownerDocument.documentElement);else if(n==="head"){n=t.ownerDocument.head,hl(n);for(var u=n.firstChild;u;){var h=u.nextSibling,b=u.nodeName;u[Ni]||b==="SCRIPT"||b==="STYLE"||b==="LINK"&&u.rel.toLowerCase()==="stylesheet"||n.removeChild(u),u=h}}else n==="body"&&hl(t.ownerDocument.body);n=o}while(n);mi(e)}function hp(t,e){var n=t;t=0;do{var l=n.nextSibling;if(n.nodeType===1?e?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(e?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(t===0)break;t--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||t++;n=l}while(n)}function Gu(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var n=e;switch(e=e.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Gu(n),Qr(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}t.removeChild(n)}}function Eb(t,e,n,l){for(;t.nodeType===1;){var o=n;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!l&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(l){if(!t[Ni])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(u=t.getAttribute("rel"),u==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(u!==o.rel||t.getAttribute("href")!==(o.href==null||o.href===""?null:o.href)||t.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin)||t.getAttribute("title")!==(o.title==null?null:o.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(u=t.getAttribute("src"),(u!==(o.src==null?null:o.src)||t.getAttribute("type")!==(o.type==null?null:o.type)||t.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin))&&u&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var u=o.name==null?null:""+o.name;if(o.type==="hidden"&&t.getAttribute("name")===u)return t}else return t;if(t=ke(t.nextSibling),t===null)break}return null}function Mb(t,e,n){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!n||(t=ke(t.nextSibling),t===null))return null;return t}function mp(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=ke(t.nextSibling),t===null))return null;return t}function Xu(t){return t.data==="$?"||t.data==="$~"}function Ku(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function Db(t,e){var n=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||n.readyState!=="loading")e();else{var l=function(){e(),n.removeEventListener("DOMContentLoaded",l)};n.addEventListener("DOMContentLoaded",l),t._reactRetry=l}}function ke(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return t}var Zu=null;function pp(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="/$"||n==="/&"){if(e===0)return ke(t.nextSibling);e--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||e++}t=t.nextSibling}return null}function yp(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(e===0)return t;e--}else n!=="/$"&&n!=="/&"||e++}t=t.previousSibling}return null}function gp(t,e,n){switch(e=Zs(n),t){case"html":if(t=e.documentElement,!t)throw Error(r(452));return t;case"head":if(t=e.head,!t)throw Error(r(453));return t;case"body":if(t=e.body,!t)throw Error(r(454));return t;default:throw Error(r(451))}}function hl(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);Qr(t)}var Ye=new Map,vp=new Set;function Qs(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var Mn=Z.d;Z.d={f:Cb,r:jb,D:wb,C:Rb,L:Nb,m:zb,X:Vb,S:Ob,M:_b};function Cb(){var t=Mn.f(),e=Us();return t||e}function jb(t){var e=Oa(t);e!==null&&e.tag===5&&e.type==="form"?_h(e):Mn.r(t)}var fi=typeof document>"u"?null:document;function bp(t,e,n){var l=fi;if(l&&typeof e=="string"&&e){var o=Oe(e);o='link[rel="'+t+'"][href="'+o+'"]',typeof n=="string"&&(o+='[crossorigin="'+n+'"]'),vp.has(o)||(vp.add(o),t={rel:t,crossOrigin:n,href:e},l.querySelector(o)===null&&(e=l.createElement("link"),se(e,"link",t),$t(e),l.head.appendChild(e)))}}function wb(t){Mn.D(t),bp("dns-prefetch",t,null)}function Rb(t,e){Mn.C(t,e),bp("preconnect",t,e)}function Nb(t,e,n){Mn.L(t,e,n);var l=fi;if(l&&t&&e){var o='link[rel="preload"][as="'+Oe(e)+'"]';e==="image"&&n&&n.imageSrcSet?(o+='[imagesrcset="'+Oe(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(o+='[imagesizes="'+Oe(n.imageSizes)+'"]')):o+='[href="'+Oe(t)+'"]';var u=o;switch(e){case"style":u=di(t);break;case"script":u=hi(t)}Ye.has(u)||(t=S({rel:"preload",href:e==="image"&&n&&n.imageSrcSet?void 0:t,as:e},n),Ye.set(u,t),l.querySelector(o)!==null||e==="style"&&l.querySelector(ml(u))||e==="script"&&l.querySelector(pl(u))||(e=l.createElement("link"),se(e,"link",t),$t(e),l.head.appendChild(e)))}}function zb(t,e){Mn.m(t,e);var n=fi;if(n&&t){var l=e&&typeof e.as=="string"?e.as:"script",o='link[rel="modulepreload"][as="'+Oe(l)+'"][href="'+Oe(t)+'"]',u=o;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=hi(t)}if(!Ye.has(u)&&(t=S({rel:"modulepreload",href:t},e),Ye.set(u,t),n.querySelector(o)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(pl(u)))return}l=n.createElement("link"),se(l,"link",t),$t(l),n.head.appendChild(l)}}}function Ob(t,e,n){Mn.S(t,e,n);var l=fi;if(l&&t){var o=Va(l).hoistableStyles,u=di(t);e=e||"default";var h=o.get(u);if(!h){var b={loading:0,preload:null};if(h=l.querySelector(ml(u)))b.loading=5;else{t=S({rel:"stylesheet",href:t,"data-precedence":e},n),(n=Ye.get(u))&&Qu(t,n);var T=h=l.createElement("link");$t(T),se(T,"link",t),T._p=new Promise(function(N,U){T.onload=N,T.onerror=U}),T.addEventListener("load",function(){b.loading|=1}),T.addEventListener("error",function(){b.loading|=2}),b.loading|=4,Fs(h,e,l)}h={type:"stylesheet",instance:h,count:1,state:b},o.set(u,h)}}}function Vb(t,e){Mn.X(t,e);var n=fi;if(n&&t){var l=Va(n).hoistableScripts,o=hi(t),u=l.get(o);u||(u=n.querySelector(pl(o)),u||(t=S({src:t,async:!0},e),(e=Ye.get(o))&&Fu(t,e),u=n.createElement("script"),$t(u),se(u,"link",t),n.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},l.set(o,u))}}function _b(t,e){Mn.M(t,e);var n=fi;if(n&&t){var l=Va(n).hoistableScripts,o=hi(t),u=l.get(o);u||(u=n.querySelector(pl(o)),u||(t=S({src:t,async:!0,type:"module"},e),(e=Ye.get(o))&&Fu(t,e),u=n.createElement("script"),$t(u),se(u,"link",t),n.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},l.set(o,u))}}function Sp(t,e,n,l){var o=(o=ft.current)?Qs(o):null;if(!o)throw Error(r(446));switch(t){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(e=di(n.href),n=Va(o).hoistableStyles,l=n.get(e),l||(l={type:"style",instance:null,count:0,state:null},n.set(e,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){t=di(n.href);var u=Va(o).hoistableStyles,h=u.get(t);if(h||(o=o.ownerDocument||o,h={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(t,h),(u=o.querySelector(ml(t)))&&!u._p&&(h.instance=u,h.state.loading=5),Ye.has(t)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Ye.set(t,n),u||Bb(o,t,n,h.state))),e&&l===null)throw Error(r(528,""));return h}if(e&&l!==null)throw Error(r(529,""));return null;case"script":return e=n.async,n=n.src,typeof n=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=hi(n),n=Va(o).hoistableScripts,l=n.get(e),l||(l={type:"script",instance:null,count:0,state:null},n.set(e,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,t))}}function di(t){return'href="'+Oe(t)+'"'}function ml(t){return'link[rel="stylesheet"]['+t+"]"}function xp(t){return S({},t,{"data-precedence":t.precedence,precedence:null})}function Bb(t,e,n,l){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?l.loading=1:(e=t.createElement("link"),l.preload=e,e.addEventListener("load",function(){return l.loading|=1}),e.addEventListener("error",function(){return l.loading|=2}),se(e,"link",n),$t(e),t.head.appendChild(e))}function hi(t){return'[src="'+Oe(t)+'"]'}function pl(t){return"script[async]"+t}function Tp(t,e,n){if(e.count++,e.instance===null)switch(e.type){case"style":var l=t.querySelector('style[data-href~="'+Oe(n.href)+'"]');if(l)return e.instance=l,$t(l),l;var o=S({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return l=(t.ownerDocument||t).createElement("style"),$t(l),se(l,"style",o),Fs(l,n.precedence,t),e.instance=l;case"stylesheet":o=di(n.href);var u=t.querySelector(ml(o));if(u)return e.state.loading|=4,e.instance=u,$t(u),u;l=xp(n),(o=Ye.get(o))&&Qu(l,o),u=(t.ownerDocument||t).createElement("link"),$t(u);var h=u;return h._p=new Promise(function(b,T){h.onload=b,h.onerror=T}),se(u,"link",l),e.state.loading|=4,Fs(u,n.precedence,t),e.instance=u;case"script":return u=hi(n.src),(o=t.querySelector(pl(u)))?(e.instance=o,$t(o),o):(l=n,(o=Ye.get(u))&&(l=S({},n),Fu(l,o)),t=t.ownerDocument||t,o=t.createElement("script"),$t(o),se(o,"link",l),t.head.appendChild(o),e.instance=o);case"void":return null;default:throw Error(r(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(l=e.instance,e.state.loading|=4,Fs(l,n.precedence,t));return e.instance}function Fs(t,e,n){for(var l=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=l.length?l[l.length-1]:null,u=o,h=0;h<l.length;h++){var b=l[h];if(b.dataset.precedence===e)u=b;else if(u!==o)break}u?u.parentNode.insertBefore(t,u.nextSibling):(e=n.nodeType===9?n.head:n,e.insertBefore(t,e.firstChild))}function Qu(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function Fu(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var Ps=null;function Ap(t,e,n){if(Ps===null){var l=new Map,o=Ps=new Map;o.set(n,l)}else o=Ps,l=o.get(n),l||(l=new Map,o.set(n,l));if(l.has(t))return l;for(l.set(t,null),n=n.getElementsByTagName(t),o=0;o<n.length;o++){var u=n[o];if(!(u[Ni]||u[ne]||t==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var h=u.getAttribute(e)||"";h=t+h;var b=l.get(h);b?b.push(u):l.set(h,[u])}}return l}function Ep(t,e,n){t=t.ownerDocument||t,t.head.insertBefore(n,e==="title"?t.querySelector("head > title"):null)}function Lb(t,e,n){if(n===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function Mp(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function Ub(t,e,n,l){if(n.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var o=di(l.href),u=e.querySelector(ml(o));if(u){e=u._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=Js.bind(t),e.then(t,t)),n.state.loading|=4,n.instance=u,$t(u);return}u=e.ownerDocument||e,l=xp(l),(o=Ye.get(o))&&Qu(l,o),u=u.createElement("link"),$t(u);var h=u;h._p=new Promise(function(b,T){h.onload=b,h.onerror=T}),se(u,"link",l),n.instance=u}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(n,e),(e=n.state.preload)&&(n.state.loading&3)===0&&(t.count++,n=Js.bind(t),e.addEventListener("load",n),e.addEventListener("error",n))}}var Pu=0;function Hb(t,e){return t.stylesheets&&t.count===0&&$s(t,t.stylesheets),0<t.count||0<t.imgCount?function(n){var l=setTimeout(function(){if(t.stylesheets&&$s(t,t.stylesheets),t.unsuspend){var u=t.unsuspend;t.unsuspend=null,u()}},6e4+e);0<t.imgBytes&&Pu===0&&(Pu=62500*bb());var o=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&$s(t,t.stylesheets),t.unsuspend)){var u=t.unsuspend;t.unsuspend=null,u()}},(t.imgBytes>Pu?50:800)+e);return t.unsuspend=n,function(){t.unsuspend=null,clearTimeout(l),clearTimeout(o)}}:null}function Js(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)$s(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Ws=null;function $s(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Ws=new Map,e.forEach(kb,t),Ws=null,Js.call(t))}function kb(t,e){if(!(e.state.loading&4)){var n=Ws.get(t);if(n)var l=n.get(null);else{n=new Map,Ws.set(t,n);for(var o=t.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<o.length;u++){var h=o[u];(h.nodeName==="LINK"||h.getAttribute("media")!=="not all")&&(n.set(h.dataset.precedence,h),l=h)}l&&n.set(null,l)}o=e.instance,h=o.getAttribute("data-precedence"),u=n.get(h)||l,u===l&&n.set(null,o),n.set(h,o),this.count++,l=Js.bind(this),o.addEventListener("load",l),o.addEventListener("error",l),u?u.parentNode.insertBefore(o,u.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(o,t.firstChild)),e.state.loading|=4}}var yl={$$typeof:V,Provider:null,Consumer:null,_currentValue:H,_currentValue2:H,_threadCount:0};function Yb(t,e,n,l,o,u,h,b,T){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Gr(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Gr(0),this.hiddenUpdates=Gr(null),this.identifierPrefix=l,this.onUncaughtError=o,this.onCaughtError=u,this.onRecoverableError=h,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=T,this.incompleteTransitions=new Map}function Dp(t,e,n,l,o,u,h,b,T,N,U,Y){return t=new Yb(t,e,n,h,T,N,U,Y,b),e=1,u===!0&&(e|=24),u=Me(3,null,null,e),t.current=u,u.stateNode=t,e=jo(),e.refCount++,t.pooledCache=e,e.refCount++,u.memoizedState={element:l,isDehydrated:n,cache:e},zo(u),t}function Cp(t){return t?(t=Xa,t):Xa}function jp(t,e,n,l,o,u){o=Cp(o),l.context===null?l.context=o:l.pendingContext=o,l=Bn(e),l.payload={element:n},u=u===void 0?null:u,u!==null&&(l.callback=u),n=Ln(t,l,e),n!==null&&(Se(n,t,e),Fi(n,t,e))}function wp(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var n=t.retryLane;t.retryLane=n!==0&&n<e?n:e}}function Ju(t,e){wp(t,e),(t=t.alternate)&&wp(t,e)}function Rp(t){if(t.tag===13||t.tag===31){var e=da(t,67108864);e!==null&&Se(e,t,67108864),Ju(t,67108864)}}function Np(t){if(t.tag===13||t.tag===31){var e=Re();e=Xr(e);var n=da(t,e);n!==null&&Se(n,t,e),Ju(t,e)}}var Is=!0;function qb(t,e,n,l){var o=L.T;L.T=null;var u=Z.p;try{Z.p=2,Wu(t,e,n,l)}finally{Z.p=u,L.T=o}}function Gb(t,e,n,l){var o=L.T;L.T=null;var u=Z.p;try{Z.p=8,Wu(t,e,n,l)}finally{Z.p=u,L.T=o}}function Wu(t,e,n,l){if(Is){var o=$u(l);if(o===null)Lu(t,e,l,tr,n),Op(t,l);else if(Kb(o,t,e,n,l))l.stopPropagation();else if(Op(t,l),e&4&&-1<Xb.indexOf(t)){for(;o!==null;){var u=Oa(o);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var h=ra(u.pendingLanes);if(h!==0){var b=u;for(b.pendingLanes|=2,b.entangledLanes|=2;h;){var T=1<<31-Ae(h);b.entanglements[1]|=T,h&=~T}Ie(u),(xt&6)===0&&(Bs=xe()+500,cl(0))}}break;case 31:case 13:b=da(u,2),b!==null&&Se(b,u,2),Us(),Ju(u,2)}if(u=$u(l),u===null&&Lu(t,e,l,tr,n),u===o)break;o=u}o!==null&&l.stopPropagation()}else Lu(t,e,l,null,n)}}function $u(t){return t=Ir(t),Iu(t)}var tr=null;function Iu(t){if(tr=null,t=za(t),t!==null){var e=f(t);if(e===null)t=null;else{var n=e.tag;if(n===13){if(t=d(e),t!==null)return t;t=null}else if(n===31){if(t=p(e),t!==null)return t;t=null}else if(n===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return tr=t,null}function zp(t){switch(t){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(wv()){case kf:return 2;case Yf:return 8;case Gl:case Rv:return 32;case qf:return 268435456;default:return 32}default:return 32}}var tc=!1,Fn=null,Pn=null,Jn=null,gl=new Map,vl=new Map,Wn=[],Xb="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 Op(t,e){switch(t){case"focusin":case"focusout":Fn=null;break;case"dragenter":case"dragleave":Pn=null;break;case"mouseover":case"mouseout":Jn=null;break;case"pointerover":case"pointerout":gl.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":vl.delete(e.pointerId)}}function bl(t,e,n,l,o,u){return t===null||t.nativeEvent!==u?(t={blockedOn:e,domEventName:n,eventSystemFlags:l,nativeEvent:u,targetContainers:[o]},e!==null&&(e=Oa(e),e!==null&&Rp(e)),t):(t.eventSystemFlags|=l,e=t.targetContainers,o!==null&&e.indexOf(o)===-1&&e.push(o),t)}function Kb(t,e,n,l,o){switch(e){case"focusin":return Fn=bl(Fn,t,e,n,l,o),!0;case"dragenter":return Pn=bl(Pn,t,e,n,l,o),!0;case"mouseover":return Jn=bl(Jn,t,e,n,l,o),!0;case"pointerover":var u=o.pointerId;return gl.set(u,bl(gl.get(u)||null,t,e,n,l,o)),!0;case"gotpointercapture":return u=o.pointerId,vl.set(u,bl(vl.get(u)||null,t,e,n,l,o)),!0}return!1}function Vp(t){var e=za(t.target);if(e!==null){var n=f(e);if(n!==null){if(e=n.tag,e===13){if(e=d(n),e!==null){t.blockedOn=e,Ff(t.priority,function(){Np(n)});return}}else if(e===31){if(e=p(n),e!==null){t.blockedOn=e,Ff(t.priority,function(){Np(n)});return}}else if(e===3&&n.stateNode.current.memoizedState.isDehydrated){t.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}t.blockedOn=null}function er(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var n=$u(t.nativeEvent);if(n===null){n=t.nativeEvent;var l=new n.constructor(n.type,n);$r=l,n.target.dispatchEvent(l),$r=null}else return e=Oa(n),e!==null&&Rp(e),t.blockedOn=n,!1;e.shift()}return!0}function _p(t,e,n){er(t)&&n.delete(e)}function Zb(){tc=!1,Fn!==null&&er(Fn)&&(Fn=null),Pn!==null&&er(Pn)&&(Pn=null),Jn!==null&&er(Jn)&&(Jn=null),gl.forEach(_p),vl.forEach(_p)}function nr(t,e){t.blockedOn===e&&(t.blockedOn=null,tc||(tc=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,Zb)))}var ar=null;function Bp(t){ar!==t&&(ar=t,a.unstable_scheduleCallback(a.unstable_NormalPriority,function(){ar===t&&(ar=null);for(var e=0;e<t.length;e+=3){var n=t[e],l=t[e+1],o=t[e+2];if(typeof l!="function"){if(Iu(l||n)===null)continue;break}var u=Oa(n);u!==null&&(t.splice(e,3),e-=3,$o(u,{pending:!0,data:o,method:n.method,action:l},l,o))}}))}function mi(t){function e(T){return nr(T,t)}Fn!==null&&nr(Fn,t),Pn!==null&&nr(Pn,t),Jn!==null&&nr(Jn,t),gl.forEach(e),vl.forEach(e);for(var n=0;n<Wn.length;n++){var l=Wn[n];l.blockedOn===t&&(l.blockedOn=null)}for(;0<Wn.length&&(n=Wn[0],n.blockedOn===null);)Vp(n),n.blockedOn===null&&Wn.shift();if(n=(t.ownerDocument||t).$$reactFormReplay,n!=null)for(l=0;l<n.length;l+=3){var o=n[l],u=n[l+1],h=o[me]||null;if(typeof u=="function")h||Bp(n);else if(h){var b=null;if(u&&u.hasAttribute("formAction")){if(o=u,h=u[me]||null)b=h.formAction;else if(Iu(o)!==null)continue}else b=h.action;typeof b=="function"?n[l+1]=b:(n.splice(l,3),l-=3),Bp(n)}}}function Lp(){function t(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:function(){return new Promise(function(h){return o=h})},focusReset:"manual",scroll:"manual"})}function e(){o!==null&&(o(),o=null),l||setTimeout(n,20)}function n(){if(!l&&!navigation.transition){var u=navigation.currentEntry;u&&u.url!=null&&navigation.navigate(u.url,{state:u.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,o=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(n,100),function(){l=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),o!==null&&(o(),o=null)}}}function ec(t){this._internalRoot=t}ir.prototype.render=ec.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(r(409));var n=e.current,l=Re();jp(n,l,t,e,null,null)},ir.prototype.unmount=ec.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;jp(t.current,2,null,t,null,null),Us(),e[Na]=null}};function ir(t){this._internalRoot=t}ir.prototype.unstable_scheduleHydration=function(t){if(t){var e=Qf();t={blockedOn:null,target:t,priority:e};for(var n=0;n<Wn.length&&e!==0&&e<Wn[n].priority;n++);Wn.splice(n,0,t),n===0&&Vp(t)}};var Up=i.version;if(Up!=="19.2.4")throw Error(r(527,Up,"19.2.4"));Z.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(r(188)):(t=Object.keys(t).join(","),Error(r(268,t)));return t=m(e),t=t!==null?g(t):null,t=t===null?null:t.stateNode,t};var Qb={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:L,reconcilerVersion:"19.2.4"};
49if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var lr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!lr.isDisabled&&lr.supportsFiber)try{ji=lr.inject(Qb),Te=lr}catch{}}return xl.createRoot=function(t,e){if(!c(t))throw Error(r(299));var n=!1,l="",o=Kh,u=Zh,h=Qh;return e!=null&&(e.unstable_strictMode===!0&&(n=!0),e.identifierPrefix!==void 0&&(l=e.identifierPrefix),e.onUncaughtError!==void 0&&(o=e.onUncaughtError),e.onCaughtError!==void 0&&(u=e.onCaughtError),e.onRecoverableError!==void 0&&(h=e.onRecoverableError)),e=Dp(t,1,!1,null,null,n,l,null,o,u,h,Lp),t[Na]=e.current,Bu(t),new ec(e)},xl.hydrateRoot=function(t,e,n){if(!c(t))throw Error(r(299));var l=!1,o="",u=Kh,h=Zh,b=Qh,T=null;return n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onUncaughtError!==void 0&&(u=n.onUncaughtError),n.onCaughtError!==void 0&&(h=n.onCaughtError),n.onRecoverableError!==void 0&&(b=n.onRecoverableError),n.formState!==void 0&&(T=n.formState)),e=Dp(t,1,!0,e,n??null,l,o,T,u,h,b,Lp),e.context=Cp(null),n=e.current,l=Re(),l=Xr(l),o=Bn(l),o.callback=null,Ln(n,o,l),n=l,e.current.lanes=n,Ri(e,n),Ie(e),t[Na]=e.current,Bu(t),new ir(e)},xl.version="19.2.4",xl}var Fp;function iS(){if(Fp)return ic.exports;Fp=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(i){console.error(i)}}return a(),ic.exports=aS(),ic.exports}var lS=iS();const sS=bg(lS);/**
50 * react-router v7.2.0
51 *
52 * Copyright (c) Remix Software Inc.
53 *
54 * This source code is licensed under the MIT license found in the
55 * LICENSE.md file in the root directory of this source tree.
56 *
57 * @license MIT
58 */var Pp="popstate";function rS(a={}){function i(r,c){let{pathname:f,search:d,hash:p}=r.location;return Dc("",{pathname:f,search:d,hash:p},c.state&&c.state.usr||null,c.state&&c.state.key||"default")}function s(r,c){return typeof c=="string"?c:Rl(c)}return uS(i,s,null,a)}function Lt(a,i){if(a===!1||a===null||typeof a>"u")throw new Error(i)}function an(a,i){if(!a){typeof console<"u"&&console.warn(i);try{throw new Error(i)}catch{}}}function oS(){return Math.random().toString(36).substring(2,10)}function Jp(a,i){return{usr:a.state,key:a.key,idx:i}}function Dc(a,i,s=null,r){return{pathname:typeof a=="string"?a:a.pathname,search:"",hash:"",...typeof i=="string"?xi(i):i,state:s,key:i&&i.key||r||oS()}}function Rl({pathname:a="/",search:i="",hash:s=""}){return i&&i!=="?"&&(a+=i.charAt(0)==="?"?i:"?"+i),s&&s!=="#"&&(a+=s.charAt(0)==="#"?s:"#"+s),a}function xi(a){let i={};if(a){let s=a.indexOf("#");s>=0&&(i.hash=a.substring(s),a=a.substring(0,s));let r=a.indexOf("?");r>=0&&(i.search=a.substring(r),a=a.substring(0,r)),a&&(i.pathname=a)}return i}function uS(a,i,s,r={}){let{window:c=document.defaultView,v5Compat:f=!1}=r,d=c.history,p="POP",y=null,m=g();m==null&&(m=0,d.replaceState({...d.state,idx:m},""));function g(){return(d.state||{idx:null}).idx}function S(){p="POP";let w=g(),O=w==null?null:w-m;m=w,y&&y({action:p,location:B.location,delta:O})}function x(w,O){p="PUSH";let G=Dc(B.location,w,O);m=g()+1;let V=Jp(G,m),X=B.createHref(G);try{d.pushState(V,"",X)}catch(Q){if(Q instanceof DOMException&&Q.name==="DataCloneError")throw Q;c.location.assign(X)}f&&y&&y({action:p,location:B.location,delta:1})}function A(w,O){p="REPLACE";let G=Dc(B.location,w,O);m=g();let V=Jp(G,m),X=B.createHref(G);d.replaceState(V,"",X),f&&y&&y({action:p,location:B.location,delta:0})}function j(w){let O=c.location.origin!=="null"?c.location.origin:c.location.href,G=typeof w=="string"?w:Rl(w);return G=G.replace(/ $/,"%20"),Lt(O,`No window.location.(origin|href) available to create URL for href: ${G}`),new URL(G,O)}let B={get action(){return p},get location(){return a(c,d)},listen(w){if(y)throw new Error("A history only accepts one active listener");return c.addEventListener(Pp,S),y=w,()=>{c.removeEventListener(Pp,S),y=null}},createHref(w){return i(c,w)},createURL:j,encodeLocation(w){let O=j(w);return{pathname:O.pathname,search:O.search,hash:O.hash}},push:x,replace:A,go(w){return d.go(w)}};return B}function Sg(a,i,s="/"){return cS(a,i,s,!1)}function cS(a,i,s,r){let c=typeof i=="string"?xi(i):i,f=na(c.pathname||"/",s);if(f==null)return null;let d=xg(a);fS(d);let p=null;for(let y=0;p==null&&y<d.length;++y){let m=TS(f);p=SS(d[y],m,r)}return p}function xg(a,i=[],s=[],r=""){let c=(f,d,p)=>
58{let y={relativePath:p===void 0?f.path||"":p,caseSensitive:f.caseSensitive===!0,childrenIndex:d,route:f};y.relativePath.startsWith("/")&&(Lt(y.relativePath.startsWith(r),`Absolute route path "${y.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),y.relativePath=y.relativePath.slice(r.length));let m=Dn([r,y.relativePath]),g=s.concat(y);f.children&&f.children.length>0&&(Lt(f.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${m}".`),xg(f.children,i,g,m)),!(f.path==null&&!f.index)&&i.push({path:m,score:vS(m,f.index),routesMeta:g})};return a.forEach((f,d)=>{var p;if(f.path===""||!((p=f.path)!=null&&p.includes("?")))c(f,d);else for(let y of Tg(f.path))c(f,d,y)}),i}function Tg(a){let i=a.split("/");if(i.length===0)return[];let[s,...r]=i,c=s.endsWith("?"),f=s.replace(/\?$/,"");if(r.length===0)return c?[f,""]:[f];let d=Tg(r.join("/")),p=[];return p.push(...d.map(y=>y===""?f:[f,y].join("/"))),c&&p.push(...d),p.map(y=>a.startsWith("/")&&y===""?"/":y)}function fS(a){a.sort((i,s)=>i.score!==s.score?s.score-i.score:bS(i.routesMeta.map(r=>r.childrenIndex),s.routesMeta.map(r=>r.childrenIndex)))}var dS=/^:[\w-]+$/,hS=3,mS=2,pS=1,yS=10,gS=-2,Wp=a=>a==="*";function vS(a,i){let s=a.split("/"),r=s.length;return s.some(Wp)&&(r+=gS),i&&(r+=mS),s.filter(c=>!Wp(c)).reduce((c,f)=>c+(dS.test(f)?hS:f===""?pS:yS),r)}function bS(a,i){return a.length===i.length&&a.slice(0,-1).every((r,c)=>r===i[c])?a[a.length-1]-i[i.length-1]:0}function SS(a,i,s=!1){let{routesMeta:r}=a,c={},f="/",d=[];for(let p=0;p<r.length;++p){let y=r[p],m=p===r.length-1,g=f==="/"?i:i.slice(f.length)||"/",S=Sr({path:y.relativePath,caseSensitive:y.caseSensitive,end:m},g),x=y.route;if(!S&&m&&s&&!r[r.length-1].route.index&&(S=Sr({path:y.relativePath,caseSensitive:y.caseSensitive,end:!1},g)),!S)return null;
58Object.assign(c,S.params),d.push({params:c,pathname:Dn([f,S.pathname]),pathnameBase:DS(Dn([f,S.pathnameBase])),route:x}),S.pathnameBase!=="/"&&(f=Dn([f,S.pathnameBase]))}return d}function Sr(a,i){typeof a=="string"&&(a={path:a,caseSensitive:!1,end:!0});let[s,r]=xS(a.path,a.caseSensitive,a.end),c=i.match(s);if(!c)return null;let f=c[0],d=f.replace(/(.)\/+$/,"$1"),p=c.slice(1);return{params:r.reduce((m,{paramName:g,isOptional:S},x)=>{if(g==="*"){let j=p[x]||"";d=f.slice(0,f.length-j.length).replace(/(.)\/+$/,"$1")}const A=p[x];return S&&!A?m[g]=void 0:m[g]=(A||"").replace(/%2F/g,"/"),m},{}),pathname:f,pathnameBase:d,pattern:a}}function xS(a,i=!1,s=!0){an(a==="*"||!a.endsWith("*")||a.endsWith("/*"),`Route path "${a}" will be treated as if it were "${a.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${a.replace(/\*$/,"/*")}".`);let r=[],c="^"+a.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(d,p,y)=>(r.push({paramName:p,isOptional:y!=null}),y?"/?([^\\/]+)?":"/([^\\/]+)"));return a.endsWith("*")?(r.push({paramName:"*"}),c+=a==="*"||a==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):s?c+="\\/*$":a!==""&&a!=="/"&&(c+="(?:(?=\\/|$))"),[new RegExp(c,i?void 0:"i"),r]}function TS(a){try{return a.split("/").map(i=>decodeURIComponent(i).replace(/\//g,"%2F")).join("/")}catch(i){return an(!1,`The URL path "${a}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${i}).`),a}}function na(a,i){if(i==="/")return a;
58if(!a.toLowerCase().startsWith(i.toLowerCase()))return null;let s=i.endsWith("/")?i.length-1:i.length,r=a.charAt(s);return r&&r!=="/"?null:a.slice(s)||"/"}function AS(a,i="/"){let{pathname:s,search:r="",hash:c=""}=typeof a=="string"?xi(a):a;return{pathname:s?s.startsWith("/")?s:ES(s,i):i,search:CS(r),hash:jS(c)}}function ES(a,i){let s=i.replace(/\/+$/,"").split("/");return a.split("/").forEach(c=>{c===".."?s.length>1&&s.pop():c!=="."&&s.push(c)}),s.length>1?s.join("/"):"/"}function oc(a,i,s,r){return`Cannot include a '${a}' character in a manually specified \`to.${i}\` field [${JSON.stringify(r)}].  Please separate it out to the \`to.${s}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function MS(a){return a.filter((i,s)=>s===0||i.route.path&&i.route.path.length>0)}function Ag(a){let i=MS(a);return i.map((s,r)=>r===i.length-1?s.pathname:s.pathnameBase)}function Eg(a,i,s,r=!1){let c;typeof a=="string"?c=xi(a):(c={...a},Lt(!c.pathname||!c.pathname.includes("?"),oc("?","pathname","search",c)),Lt(!c.pathname||!c.pathname.includes("#"),oc("#","pathname","hash",c)),Lt(!c.search||!c.search.includes("#"),oc("#","search","hash",c)));let f=a===""||c.pathname==="",d=f?"/":c.pathname,p;if(d==null)p=s;else{let S=i.length-1;if(!r&&d.startsWith("..")){let x=d.split("/");for(;x[0]==="..";)x.shift(),S-=1;c.pathname=x.join("/")}p=S>=0?i[S]:"/"}let y=AS(c,p),m=d&&d!=="/"&&d.endsWith("/"),g=(f||d===".")&&s.endsWith("/");return!y.pathname.endsWith("/")&&(m||g)&&(y.pathname+="/"),y}var Dn=a=>a.join("/").replace(/\/\/+/g,"/"),DS=a=>a.replace(/\/+$/,"").replace(/^\/*/,"/"),CS=a=>!a||a==="?"?"":a.startsWith("?")?a:"?"+a,jS=a=>!a||a==="#"?"":a.startsWith("#")?a:"#"+a;function wS(a){return a!=null&&typeof a.status=="number"&&typeof a.statusText=="string"&&typeof a.internal=="boolean"&&"data"in a}var Mg=["POST","PUT","PATCH","DELETE"];new Set(Mg);var RS=["GET",...Mg];new Set(RS);var Ti=D.createContext(null);Ti.displayName="DataRouter";var Rr=D.createContext(null);Rr.displayName="DataRouterState";var Dg=D.createContext({isTransitioning:!1});Dg.displayName="ViewTransition";var NS=D.createContext(new Map);NS.displayName="Fetchers";var zS=D.createContext(null);zS.displayName="Await";var sn=D.createContext(null);sn.displayName="Navigation";var _l=D.createContext(null);_l.displayName="Location";var rn=D.createContext({outlet:null,matches:[],isDataRoute:!1});rn.displayName="Route";var af=D.createContext(null);af.displayName="RouteError";function OS(a,{relative:i}={}){Lt(Bl(),"useHref() may be used only in the context of a <Router> component.");let{basename:s,navigator:r}=D.useContext(sn),{hash:c,pathname:f,search:d}=Ll(a,{relative:i}),p=f;return s!=="/"&&(p=f==="/"?s:Dn([s,f])),r.createHref({pathname:p,search:d,hash:c})}function Bl(){return D.useContext(_l)!=null}function Cn(){return Lt(Bl(),"useLocation() may be used only in the context of a <Router> component."),D.useContext(_l).location}var Cg="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function jg(a){D.useContext(sn).static||D.useLayoutEffect(a)}function lf(){let{isDataRoute:a}=D.useContext(rn);return a?QS():VS()}function VS(){Lt(Bl(),"useNavigate() may be used only in the context of a <Router> component.");let a=D.useContext(Ti),{basename:i,navigator:s}=D.useContext(sn),{matches:r}=D.useContext(rn),{pathname:c}=Cn(),f=JSON.stringify(Ag(r)),d=D.useRef(!1);return jg(()=>{d.current=!0}),D.useCallback((y,m={})=>{if(an(d.current,Cg),!d.current)return;if(typeof y=="number"){s.go(y);return}let g=Eg(y,JSON.parse(f),c,m.relative==="path");a==null&&i!=="/"&&(g.pathname=g.pathname==="/"?i:Dn([i,g.pathname])),(m.replace?s.replace:s.push)(g,m.state,m)},[i,s,f,c,a])}D.createContext(null);function _S(){let{matches:a}=D.useContext(rn),i=a[a.length-1];return i?i.params:{}}function Ll(a,{relative:i}={}){let{matches:s}=D.useContext(rn),{pathname:r}=Cn(),c=JSON.stringify(Ag(s));return D.useMemo(()=>Eg(a,JSON.parse(c),r,i==="path"),[a,c,r,i])}function BS(a,i){return wg(a,i)}function wg(a,i,s,r){var G;Lt(Bl(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:c,static:f}=D.useContext(sn),{matches:d}=D.useContext(rn),p=d[d.length-1],y=p?p.params:{},m=p?p.pathname:"/",g=p?p.pathnameBase:"/",S=p&&p.route;{let V=S&&S.path||"";Rg(m,!S||V.endsWith("*")||V.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${m}" (under <Route path="${V}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
59
60Please change the parent <Route path="${V}"> to <Route path="${V==="/"?"*":`${V}/*`}">.`)}let x=Cn(),A;if(i){let V=typeof i=="string"?xi(i):i;Lt(g==="/"||((G=V.pathname)==null?void 0:G.startsWith(g)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${g}" but pathname "${V.pathname}" was given in the \`location\` prop.`),A=V}else A=x;let j=A.pathname||"/",B=j;if(g!=="/"){let V=g.replace(/^\//,"").split("/");B="/"+j.replace(/^\//,"").split("/").slice(V.length).join("/")}let w=!f&&s&&s.matches&&s.matches.length>0?s.matches:Sg(a,{pathname:B});an(S||w!=null,`No routes matched location "${A.pathname}${A.search}${A.hash}" `),an(w==null||w[w.length-1].route.element!==void 0||w[w.length-1].route.Component!==void 0||w[w.length-1].route.lazy!==void 0,`Matched leaf route at location "${A.pathname}${A.search}${A.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let O=YS(w&&w.map(V=>Object.assign({},V,{params:Object.assign({},y,V.params),pathname:Dn([g,c.encodeLocation?c.encodeLocation(V.pathname).pathname:V.pathname]),pathnameBase:V.pathnameBase==="/"?g:Dn([g,c.encodeLocation?c.encodeLocation(V.pathnameBase).pathname:V.pathnameBase])})),d,s,r);return i&&O?D.createElement(_l.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...A},navigationType:"POP"}},O):O}function LS(){let a=ZS(),i=wS(a)?`${a.status} ${a.statusText}`:a instanceof Error?a.message:JSON.stringify(a),s=a instanceof Error?a.stack:null,r="rgba(200,200,200, 0.5)",c={padding:"0.5rem",backgroundColor:r},f={padding:"2px 4px",backgroundColor:r},d=null;return console.error("Error handled by React Router default ErrorBoundary:",a),d=D.createElement(D.Fragment,null,D.createElement("p",null,"💿 Hey developer 👋"),D.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",D.createElement("code",{style:f},"ErrorBoundary")," or"," ",D.createElement("code",{style:f},"errorElement")," prop on your route.")),D.createElement(D.Fragment,null,D.createElement("h2",null,"Unexpected Application 
60Error!"),D.createElement("h3",{style:{fontStyle:"italic"}},i),s?D.createElement("pre",{style:c},s):null,d)}var US=D.createElement(LS,null),HS=class extends D.Component{constructor(a){super(a),this.state={location:a.location,revalidation:a.revalidation,error:a.error}}static getDerivedStateFromError(a){return{error:a}}static getDerivedStateFromProps(a,i){return i.location!==a.location||i.revalidation!=="idle"&&a.revalidation==="idle"?{error:a.error,location:a.location,revalidation:a.revalidation}:{error:a.error!==void 0?a.error:i.error,location:i.location,revalidation:a.revalidation||i.revalidation}}componentDidCatch(a,i){console.error("React Router caught the following error during render",a,i)}render(){return this.state.error!==void 0?D.createElement(rn.Provider,{value:this.props.routeContext},D.createElement(af.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function kS({routeContext:a,match:i,children:s}){let r=D.useContext(Ti);return r&&r.static&&r.staticContext&&(i.route.errorElement||i.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=i.route.id),D.createElement(rn.Provider,{value:a},s)}function YS(a,i=[],s=null,r=null){if(a==null){if(!s)return null;if(s.errors)a=s.matches;else if(i.length===0&&!s.initialized&&s.matches.length>0)a=s.matches;else return null}let c=a,f=s==null?void 0:s.errors;if(f!=null){let y=c.findIndex(m=>m.route.id&&(f==null?void 0:f[m.route.id])!==void 0);Lt(y>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(f).join(",")}`),c=c.slice(0,Math.min(c.length,y+1))}let d=!1,p=-1;if(s)for(let y=0;y<c.length;y++){let m=c[y];if((m.route.HydrateFallback||m.route.hydrateFallbackElement)&&(p=y),m.route.id){let{loaderData:g,errors:S}=s,x=m.route.loader&&!g.hasOwnProperty(m.route.id)&&(!S||S[m.route.id]===void 0);if(m.route.lazy||x){d=!0,p>=0?c=c.slice(0,p+1):c=[c[0]];break}}}return c.reduceRight((y,m,g)=>{let S,x=!1,A=null,j=null;s&&(S=f&&m.route.id?f[m.route.id]:void 0,A=m.route.errorElement||US,d&&(p<0&&g===0?(Rg("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),x=!0,j=null):p===g&&(x=!0,j=m.route.hydrateFallbackElement||null)));let B=i.concat(c.slice(0,g+1)),w=()=>{let O;return S?O=A:x?O=j:m.route.Component?O=D.createElement(m.route.Component,null):m.route.element?O=m.route.element:O=y,D.createElement(kS,{match:m,routeContext:{outlet:y,matches:B,isDataRoute:s!=null},children:O})};return s&&(m.route.ErrorBoundary||m.route.errorElement||g===0)?D.createElement(HS,{location:s.location,revalidation:s.revalidation,component:A,error:S,children:w(),routeContext:{outlet:null,matches:B,isDataRoute:!0}}):w()},null)}function sf(a){return`${a} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function qS(a){let i=D.useContext(Ti);return Lt(i,sf(a)),i}function GS(a){let i=D.useContext(Rr);return Lt(i,sf(a)),i}function XS(a){let i=D.useContext(rn);return Lt(i,sf(a)),i}function rf(a){let i=XS(a),s=i.matches[i.matches.length-1];return Lt(s.route.id,`${a} can only be used on routes that contain a unique "id"`),s.route.id}function KS(){return rf("useRouteId")}function ZS(){var r;let a=D.useContext(af),i=GS("useRouteError"),s=rf("useRouteError");return a!==void 0?a:(r=i.errors)==null?void 0:r[s]}function QS(){let{router:a}=qS("useNavigate"),i=rf("useNavigate"),s=D.useRef(!1);return jg(()=>{s.current=!0}),D.useCallback(async(c,f={})=>{an(s.current,Cg),s.current&&(typeof c=="number"?a.navigate(c):await a.navigate(c,{fromRouteId:i,...f}))},[a,i])}var $p={};function Rg(a,i,s){!i&&!$p[a]&&($p[a]=!0,an(!1,s))}D.memo(FS);function FS({routes:a,future:i,state:s}){return wg(a,void 0,s,i)}function El(a){Lt(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function PS({basename:a="/",children:i=null,location:s,navigationType:r="POP",navigator:c,static:f=!1}){Lt(!Bl(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let d=a.replace(/^\/*/,"/"),p=D.useMemo(()=>({basename:d,navigator:c,static:f,future:{}}),[d,c,f]);typeof s=="string"&&(s=xi(s));let{pathname:y="/",search:m="",hash:g="",state:S=null,key:x="default"}=s,A=D.useMemo(()=>{let j=na(y,d);return j==null?null:{location:{pathname:j,search:m,hash:g,state:S,key:x},navigationType:r}},[d,y,m,g,S,x,r]);
60return an(A!=null,`<Router basename="${d}"> is not able to match the URL "${y}${m}${g}" because it does not start with the basename, so the <Router> won't render anything.`),A==null?null:D.createElement(sn.Provider,{value:p},D.createElement(_l.Provider,{children:i,value:A}))}function JS({children:a,location:i}){return BS(Cc(a),i)}function Cc(a,i=[]){let s=[];return D.Children.forEach(a,(r,c)=>{if(!D.isValidElement(r))return;let f=[...i,c];if(r.type===D.Fragment){s.push.apply(s,Cc(r.props.children,f));return}Lt(r.type===El,`[${typeof r.type=="string"?r.type:r.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Lt(!r.props.index||!r.props.children,"An index route cannot have child routes.");let d={id:r.props.id||f.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(d.children=Cc(r.props.children,f)),s.push(d)}),s}var fr="get",dr="application/x-www-form-urlencoded";function Nr(a){return a!=null&&typeof a.tagName=="string"}function WS(a){return Nr(a)&&a.tagName.toLowerCase()==="button"}function $S(a){return Nr(a)&&a.tagName.toLowerCase()==="form"}function IS(a){return Nr(a)&&a.tagName.toLowerCase()==="input"}function tx(a){return!!(a.metaKey||a.altKey||a.ctrlKey||a.shiftKey)}function ex(a,i){return a.button===0&&(!i||i==="_self")&&!tx(a)}var sr=null;function nx(){if(sr===null)try{new FormData(document.createElement("form"),0),sr=!1}catch{sr=!0}return sr}var ax=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function uc(a){return a!=null&&!ax.has(a)?(an(!1,`"${a}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${dr}"`),null):a}function ix(a,i){let s,r,c,f,d;if($S(a)){let p=a.getAttribute("action");r=p?na(p,i):null,s=a.getAttribute("method")||fr,c=uc(a.getAttribute("enctype"))||dr,f=new FormData(a)}else if(WS(a)||IS(a)&&(a.type==="submit"||a.type==="image")){let p=a.form;if(p==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let y=a.getAttribute("formaction")||p.getAttribute("action");if(r=y?na(y,i):null,s=a.getAttribute("formmethod")||p.getAttribute("method")||fr,c=uc(a.getAttribute("formenctype"))||uc(p.getAttribute("enctype"))||dr,f=new FormData(p,a),!nx()){let{name:m,type:g,value:S}=a;if(g==="image"){let x=m?`${m}.`:"";f.append(`${x}x`,"0"),f.append(`${x}y`,"0")}else m&&f.append(m,S)}}else{if(Nr(a))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');s=fr,r=null,c=dr,d=a}return f&&c==="text/plain"&&(d=f,f=void 0),{action:r,method:s.toLowerCase(),encType:c,formData:f,body:d}}function of(a,i){if(a===!1||a===null||typeof a>"u")throw new Error(i)}async function lx(a,i){if(a.id in i)return i[a.id];try{let s=await import(a.module);return i[a.id]=s,s}catch(s){return console.error(`Error loading route module \`${a.module}\`, reloading page...`),console.error(s),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function sx(a){return a==null?!1:a.href==null?a.rel==="preload"&&typeof a.imageSrcSet=="string"&&typeof a.imageSizes=="string":typeof a.rel=="string"&&typeof a.href=="string"}async function rx(a,i,s){let r=await Promise.all(a.map(async c=>{let f=i.routes[c.route.id];if(f){let d=await lx(f,s);return d.links?d.links():[]}return[]}));return fx(r.flat(1).filter(sx).filter(c=>c.rel==="stylesheet"||c.rel==="preload").map(c=>c.rel==="stylesheet"?{...c,rel:"prefetch",as:"style"}:{...c,rel:"prefetch"}))}function Ip(a,i,s,r,c,f){let d=(y,m)=>s[m]?y.route.id!==s[m].route.id:!0,p=(y,m)=>{var g;return s[m].pathname!==y.pathname||((g=s[m].route.path)==null?void 0:g.endsWith("*"))&&s[m].params["*"]!==y.params["*"]};return f==="assets"?i.filter((y,m)=>d(y,m)||p(y,m)):f==="data"?i.filter((y,m)=>{var S;let g=r.routes[y.route.id];if(!g||!g.hasLoader)return!1;if(d(y,m)||p(y,m))return!0;
60if(y.route.shouldRevalidate){let x=y.route.shouldRevalidate({currentUrl:new URL(c.pathname+c.search+c.hash,window.origin),currentParams:((S=s[0])==null?void 0:S.params)||{},nextUrl:new URL(a,window.origin),nextParams:y.params,defaultShouldRevalidate:!0});if(typeof x=="boolean")return x}return!0}):[]}function ox(a,i,{includeHydrateFallback:s}={}){return ux(a.map(r=>{let c=i.routes[r.route.id];if(!c)return[];let f=[c.module];return c.clientActionModule&&(f=f.concat(c.clientActionModule)),c.clientLoaderModule&&(f=f.concat(c.clientLoaderModule)),s&&c.hydrateFallbackModule&&(f=f.concat(c.hydrateFallbackModule)),c.imports&&(f=f.concat(c.imports)),f}).flat(1))}function ux(a){return[...new Set(a)]}function cx(a){let i={},s=Object.keys(a).sort();for(let r of s)i[r]=a[r];return i}function fx(a,i){let s=new Set;return new Set(i),a.reduce((r,c)=>{let f=JSON.stringify(cx(c));return s.has(f)||(s.add(f),r.push({key:f,link:c})),r},[])}function dx(a){let i=typeof a=="string"?new URL(a,typeof window>"u"?"server://singlefetch/":window.location.origin):a;return i.pathname==="/"?i.pathname="_root.data":i.pathname=`${i.pathname.replace(/\/$/,"")}.data`,i}function hx(){let a=D.useContext(Ti);return of(a,"You must render this element inside a <DataRouterContext.Provider> element"),a}function mx(){let a=D.useContext(Rr);return of(a,"You must render this element inside a <DataRouterStateContext.Provider> element"),a}var uf=D.createContext(void 0);uf.displayName="FrameworkContext";function Ng(){let a=D.useContext(uf);return of(a,"You must render this element inside a <HydratedRouter> element"),a}function px(a,i){let s=D.useContext(uf),[r,c]=D.useState(!1),[f,d]=D.useState(!1),{onFocus:p,onBlur:y,onMouseEnter:m,onMouseLeave:g,onTouchStart:S}=i,x=D.useRef(null);D.useEffect(()=>{if(a==="render"&&d(!0),a==="viewport"){let B=O=>{O.forEach(G=>{d(G.isIntersecting)})},w=new IntersectionObserver(B,{threshold:.5});return x.current&&w.observe(x.current),()=>{w.disconnect()}}},[a]),D.useEffect(()=>{if(r){let B=setTimeout(()=>{d(!0)},100);return()=>{clearTimeout(B)}}},[r]);let A=()=>{c(!0)},j=()=>{c(!1),d(!1)};return s?a!=="intent"?[f,x,{}]:[f,x,{onFocus:Tl(p,A),onBlur:Tl(y,j),onMouseEnter:Tl(m,A),onMouseLeave:Tl(g,j),onTouchStart:Tl(S,A)}]:[!1,x,{}]}function Tl(a,i){return s=>{a&&a(s),s.defaultPrevented||i(s)}}function yx({page:a,...i}){let{router:s}=hx(),r=D.useMemo(()=>Sg(s.routes,a,s.basename),[s.routes,a,s.basename]);return r?D.createElement(vx,{page:a,matches:r,...i}):null}function gx(a){let{manifest:i,routeModules:s}=Ng(),[r,c]=D.useState([]);return D.useEffect(()=>{let f=!1;return rx(a,i,s).then(d=>{f||c(d)}),()=>{f=!0}},[a,i,s]),r}function vx({page:a,matches:i,...s}){let r=Cn(),{manifest:c,routeModules:f}=Ng(),{loaderData:d,matches:p}=mx(),y=D.useMemo(()=>Ip(a,i,p,c,r,"data"),[a,i,p,c,r]),m=D.useMemo(()=>Ip(a,i,p,c,r,"assets"),[a,i,p,c,r]),g=D.useMemo(()=>{if(a===r.pathname+r.search+r.hash)return[];let A=new Set,j=!1;if(i.forEach(w=>{var G;let O=c.routes[w.route.id];!O||!O.hasLoader||(!y.some(V=>V.route.id===w.route.id)&&w.route.id in d&&((G=f[w.route.id])!=null&&G.shouldRevalidate)||O.hasClientLoader?j=!0:A.add(w.route.id))}),A.size===0)return[];let B=dx(a);return j&&A.size>0&&B.searchParams.set("_routes",i.filter(w=>A.has(w.route.id)).map(w=>w.route.id).join(",")),[B.pathname+B.search]},[d,r,c,y,i,a,f]),S=D.useMemo(()=>ox(m,c),[m,c]),x=gx(m);return D.createElement(D.Fragment,null,g.map(A=>D.createElement("link",{key:A,rel:"prefetch",as:"fetch",href:A,...s})),S.map(A=>D.createElement("link",{key:A,rel:"modulepreload",href:A,...s})),x.map(({key:A,link:j})=>D.createElement("link",{key:A,...j})))}function bx(...a){return i=>{a.forEach(s=>{typeof s=="function"?s(i):s!=null&&(s.current=i)})}}var zg=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{zg&&(window.__reactRouterVersion="7.2.0")}catch{}function Sx({basename:a,children:i,window:s}){let r=D.useRef();r.current==null&&(r.current=rS({window:s,v5Compat:!0}));let c=r.current,[f,d]=D.useState({action:c.action,location:c.location}),p=D.useCallback(y=>{D.startTransition(()=>d(y))},[d]);return D.useLayoutEffect(()=>c.listen(p),[c,p]),D.createElement(PS,{basename:a,children:i,location:f.location,navigationType:f.action,navigator:c})}var Og=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,te=D.forwardRef(function({onClick:i,discover:s="render",prefetch:r="none",relative:c,reloadDocument:f,replace:d,state:p,target:y,to:m,preventScrollReset:g,viewTransition:S,...x},A){let{basename:j}=D.useContext(sn),B=typeof m=="string"&&Og.test(m),w,O=!1;if(typeof m=="string"&&B&&(w=m,zg))try{let rt=new URL(window.location.href),tt=m.startsWith("//")?new URL(rt.protocol+m):new URL(m),mt=na(tt.pathname,j);tt.origin===rt.origin&&mt!=null?m=mt+tt.search+tt.hash:O=!0}catch{an(!1,`<Link to="${m}">
60 contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let G=OS(m,{relative:c}),[V,X,Q]=px(r,x),it=Ex(m,{replace:d,state:p,target:y,preventScrollReset:g,relative:c,viewTransition:S});function W(rt){i&&i(rt),rt.defaultPrevented||it(rt)}let et=D.createElement("a",{...x,...Q,href:w||G,onClick:O||f?i:W,ref:bx(A,X),target:y,"data-discover":!B&&s==="render"?"true":void 0});return V&&!B?D.createElement(D.Fragment,null,et,D.createElement(yx,{page:G})):et});te.displayName="Link";var xx=D.forwardRef(function({"aria-current":i="page",caseSensitive:s=!1,className:r="",end:c=!1,style:f,to:d,viewTransition:p,children:y,...m},g){let S=Ll(d,{relative:m.relative}),x=Cn(),A=D.useContext(Rr),{navigator:j,basename:B}=D.useContext(sn),w=A!=null&&wx(S)&&p===!0,O=j.encodeLocation?j.encodeLocation(S).pathname:S.pathname,G=x.pathname,V=A&&A.navigation&&A.navigation.location?A.navigation.location.pathname:null;s||(G=G.toLowerCase(),V=V?V.toLowerCase():null,O=O.toLowerCase()),V&&B&&(V=na(V,B)||V);const X=O!=="/"&&O.endsWith("/")?O.length-1:O.length;let Q=G===O||!c&&G.startsWith(O)&&G.charAt(X)==="/",it=V!=null&&(V===O||!c&&V.startsWith(O)&&V.charAt(O.length)==="/"),W={isActive:Q,isPending:it,isTransitioning:w},et=Q?i:void 0,rt;typeof r=="function"?rt=r(W):rt=[r,Q?"active":null,it?"pending":null,w?"transitioning":null].filter(Boolean).join(" ");let tt=typeof f=="function"?f(W):f;return D.createElement(te,{...m,"aria-current":et,className:rt,ref:g,style:tt,to:d,viewTransition:p},typeof y=="function"?y(W):y)});xx.displayName="NavLink";var Tx=D.forwardRef(({discover:a="render",fetcherKey:i,navigate:s,reloadDocument:r,replace:c,state:f,method:d=fr,action:p,onSubmit:y,relative:m,preventScrollReset:g,viewTransition:S,...x},A)=>{let j=Cx(),B=jx(p,{relative:m}),w=d.toLowerCase()==="get"?"get":"post",O=typeof p=="string"&&Og.test(p),G=V=>{if(y&&y(V),V.defaultPrevented)return;V.preventDefault();let X=V.nativeEvent.submitter,Q=(X==null?void 0:X.getAttribute("formmethod"))||d;j(X||V.currentTarget,{fetcherKey:i,method:Q,navigate:s,replace:c,state:f,relative:m,preventScrollReset:g,viewTransition:S})};return D.createElement("form",{ref:A,method:w,action:B,onSubmit:r?y:G,...x,"data-discover":!O&&a==="render"?"true":void 0})});Tx.displayName="Form";function Ax(a){return`${a} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Vg(a){let i=D.useContext(Ti);return Lt(i,Ax(a)),i}function Ex(a,{target:i,replace:s,state:r,preventScrollReset:c,relative:f,viewTransition:d}={}){let p=lf(),y=Cn(),m=Ll(a,{relative:f});return D.useCallback(g=>{if(ex(g,i)){g.preventDefault();let S=s!==void 0?s:Rl(y)===Rl(m);p(a,{replace:S,state:r,preventScrollReset:c,relative:f,viewTransition:d})}},[y,p,m,s,r,i,a,c,f,d])}var Mx=0,Dx=()=>`__${String(++Mx)}__`;function Cx(){let{router:a}=Vg("useSubmit"),{basename:i}=D.useContext(sn),s=KS();return D.useCallback(async(r,c={})=>{let{action:f,method:d,encType:p,formData:y,body:m}=ix(r,i);if(c.navigate===!1){let g=c.fetcherKey||Dx();await a.fetch(g,s,c.action||f,{preventScrollReset:c.preventScrollReset,formData:y,body:m,formMethod:c.method||d,formEncType:c.encType||p,flushSync:c.flushSync})}else await a.navigate(c.action||f,{preventScrollReset:c.preventScrollReset,formData:y,body:m,formMethod:c.method||d,formEncType:c.encType||p,replace:c.replace,state:c.state,fromRouteId:s,flushSync:c.flushSync,viewTransition:c.viewTransition})},[a,i,s])}function jx(a,{relative:i}={}){let{basename:s}=D.useContext(sn),r=D.useContext(rn);Lt(r,"useFormAction must be used inside a RouteContext");let[c]=r.matches.slice(-1),f={...Ll(a||".",{relative:i})},d=Cn();if(a==null){f.search=d.search;let p=new URLSearchParams(f.search),y=p.getAll("index");if(y.some(g=>g==="")){p.delete("index"),y.filter(S=>S).forEach(S=>p.append("index",S));let g=p.toString();f.search=g?`?${g}`:""}}return(!a||a===".")&&c.route.index&&(f.search=f.search?f.search.replace(/^\?/,"?index&"):"?index"),s!=="/"&&(f.pathname=f.pathname==="/"?s:Dn([s,f.pathname])),Rl(f)}function wx(a,i={}){let s=D.useContext(Dg);Lt(s!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=Vg("useViewTransitionState"),c=Ll(a,{relative:i.relative});if(!s.isTransitioning)return!1;let f=na(s.currentLocation.pathname,r)||s.currentLocation.pathname,d=na(s.nextLocation.pathname,r)||s.nextLocation.pathname;return Sr(c.pathname,d)!=null||Sr(c.pathname,f)!=null}new TextEncoder;/**
61 * @license lucide-react v0.546.0 - ISC
62 *
63 * This source code is licensed under the ISC license.
64 * See the LICENSE file in the root directory of this source tree.
65 */const Rx=a=>a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Nx=a=>a.replace(/^([A-Z])|[\s-_]+(\w)/g,(i,s,r)=>r?r.toUpperCase():s.toLowerCase()),ty=a=>{const i=Nx(a);return i.charAt(0).toUpperCase()+i.slice(1)},_g=(...a)=>a.filter((i,s,r)=>
vendor: 9,830 bytes, lines 65-180
65!!i&&i.trim()!==""&&r.indexOf(i)===s).join(" ").trim(),zx=a=>{for(const i in a)if(i.startsWith("aria-")||i==="role"||i==="title")return!0};/**
66 * @license lucide-react v0.546.0 - ISC
67 *
68 * This source code is licensed under the ISC license.
69 * See the LICENSE file in the root directory of this source tree.
70 */var Ox={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"};/**
71 * @license lucide-react v0.546.0 - ISC
72 *
73 * This source code is licensed under the ISC license.
74 * See the LICENSE file in the root directory of this source tree.
75 */const Vx=D.forwardRef(({color:a="currentColor",size:i=24,strokeWidth:s=2,absoluteStrokeWidth:r,className:c="",children:f,iconNode:d,...p},y)=>D.createElement("svg",{ref:y,...Ox,width:i,height:i,stroke:a,strokeWidth:r?Number(s)*24/Number(i):s,className:_g("lucide",c),...!f&&!zx(p)&&{"aria-hidden":"true"},...p},[...d.map(([m,g])=>D.createElement(m,g)),...Array.isArray(f)?f:[f]]));/**
76 * @license lucide-react v0.546.0 - ISC
77 *
78 * This source code is licensed under the ISC license.
79 * See the LICENSE file in the root directory of this source tree.
80 */const At=(a,i)=>{const s=D.forwardRef(({className:r,...c},f)=>D.createElement(Vx,{ref:f,iconNode:i,className:_g(`lucide-${Rx(ty(a))}`,`lucide-${a}`,r),...c}));return s.displayName=ty(a),s};/**
81 * @license lucide-react v0.546.0 - ISC
82 *
83 * This source code is licensed under the ISC license.
84 * See the LICENSE file in the root directory of this source tree.
85 */const _x=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],Bx=At("arrow-down",_x);/**
86 * @license lucide-react v0.546.0 - ISC
87 *
88 * This source code is licensed under the ISC license.
89 * See the LICENSE file in the root directory of this source tree.
90 */const Lx=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],Ux=At("arrow-up",Lx);/**
91 * @license lucide-react v0.546.0 - ISC
92 *
93 * This source code is licensed under the ISC license.
94 * See the LICENSE file in the root directory of this source tree.
95 */const Hx=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],jc=At("book-open",Hx);/**
96 * @license lucide-react v0.546.0 - ISC
97 *
98 * This source code is licensed under the ISC license.
99 * See the LICENSE file in the root directory of this source tree.
100 */const kx=[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]],Yx=At("briefcase",kx);/**
101 * @license lucide-react v0.546.0 - ISC
102 *
103 * This source code is licensed under the ISC license.
104 * See the LICENSE file in the root directory of this source tree.
105 */const qx=[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]],Gx=At("code",qx);/**
106 * @license lucide-react v0.546.0 - ISC
107 *
108 * This source code is licensed under the ISC license.
109 * See the LICENSE file in the root directory of this source tree.
110 */const Xx=[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]],Kx=At("cpu",Xx);/**
111 * @license lucide-react v0.546.0 - ISC
112 *
113 * This source code is licensed under the ISC license.
114 * See the LICENSE file in the root directory of this source tree.
115 */const Zx=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],Qx=At("database",Zx);/**
116 * @license lucide-react v0.546.0 - ISC
117 *
118 * This source code is licensed under the ISC license.
119 * See the LICENSE file in the root directory of this source tree.
120 */const Fx=[["rect",{width:"12",height:"12",x:"2",y:"10",rx:"2",ry:"2",key:"6agr2n"}],["path",{d:"m17.92 14 3.5-3.5a2.24 2.24 0 0 0 0-3l-5-4.92a2.24 2.24 0 0 0-3 0L10 6",key:"1o487t"}],["path",{d:"M6 18h.01",key:"uhywen"}],["path",{d:"M10 14h.01",key:"ssrbsk"}],["path",{d:"M15 6h.01",key:"cblpky"}],["path",{d:"M18 9h.01",key:"2061c0"}]],Px=At("dices",Fx);/**
121 * @license lucide-react v0.546.0 - ISC
122 *
123 * This source code is licensed under the ISC license.
124 * See the LICENSE file in the root directory of this source tree.
125 */const Jx=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],cf=At("external-link",Jx);/**
126 * @license lucide-react v0.546.0 - ISC
127 *
128 * This source code is licensed under the ISC license.
129 * See the LICENSE file in the root directory of this source tree.
130 */const Wx=[["line",{x1:"6",x2:"10",y1:"11",y2:"11",key:"1gktln"}],["line",{x1:"8",x2:"8",y1:"9",y2:"13",key:"qnk9ow"}],["line",{x1:"15",x2:"15.01",y1:"12",y2:"12",key:"krot7o"}],["line",{x1:"18",x2:"18.01",y1:"10",y2:"10",key:"1lcuu1"}],["path",{d:"M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z",key:"mfqc10"}]],$x=At("gamepad-2",Wx);/**
131 * @license lucide-react v0.546.0 - ISC
132 *
133 * This source code is licensed under the ISC license.
134 * See the LICENSE file in the root directory of this source tree.
135 */const Ix=[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]],Bg=At("github",Ix);/**
136 * @license lucide-react v0.546.0 - ISC
137 *
138 * This source code is licensed under the ISC license.
139 * See the LICENSE file in the root directory of this source tree.
140 */const t2=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],e2=At("info",t2);/**
141 * @license lucide-react v0.546.0 - ISC
142 *
143 * This source code is licensed under the ISC license.
144 * See the LICENSE file in the root directory of this source tree.
145 */const n2=[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]],Lg=At("instagram",n2);/**
146 * @license lucide-react v0.546.0 - ISC
147 *
148 * This source code is licensed under the ISC license.
149 * See the LICENSE file in the root directory of this source tree.
150 */const a2=[["path",{d:"M21 17a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-2Z",key:"jg2n2t"}],["path",{d:"M6 15v-2",key:"gd6mvg"}],["path",{d:"M12 15V9",key:"8c7uyn"}],["circle",{cx:"12",cy:"6",r:"3",key:"1gm2ql"}]],i2=At("joystick",a2);/**
151 * @license lucide-react v0.546.0 - ISC
152 *
153 * This source code is licensed under the ISC license.
154 * See the LICENSE file in the root directory of this source tree.
155 */const l2=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],s2=At("layers",l2);/**
156 * @license lucide-react v0.546.0 - ISC
157 *
158 * This source code is licensed under the ISC license.
159 * See the LICENSE file in the root directory of this source tree.
160 */const r2=[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]],Ug=At("linkedin",r2);/**
161 * @license lucide-react v0.546.0 - ISC
162 *
163 * This source code is licensed under the ISC license.
164 * See the LICENSE file in the root directory of this source tree.
165 */const o2=[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]],u2=At("log-out",o2);/**
166 * @license lucide-react v0.546.0 - ISC
167 *
168 * This source code is licensed under the ISC license.
169 * See the LICENSE file in the root directory of this source tree.
170 */const c2=[["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"}]],wc=At("mail",c2);/**
171 * @license lucide-react v0.546.0 - ISC
172 *
173 * This source code is licensed under the ISC license.
174 * See the LICENSE file in the root directory of this source tree.
175 */const f2=[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]],d2=At("monitor",f2);/**
176 * @license lucide-react v0.546.0 - ISC
177 *
178 * This source code is licensed under the ISC license.
179 * See the LICENSE file in the root directory of this source tree.
180 */const h2=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M9 21V9",key:"1oto5p"}]],m2=At("panels-top-left",h2);
180/**
181 * @license lucide-react v0.546.0 - ISC
182 *
183 * This source code is licensed under the ISC license.
184 * See the LICENSE file in the root directory of this source tree.
185 */const p2=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],ey=At("pen",p2);/**
186 * @license lucide-react v0.546.0 - ISC
187 *
188 * This source code is licensed under the ISC license.
189 * See the LICENSE file in the root directory of this source tree.
190 */const y2=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],ny=At("phone",y2);/**
191 * @license lucide-react v0.546.0 - ISC
192 *
193 * This source code is licensed under the ISC license.
194 * See the LICENSE file in the root directory of this source tree.
195 */const g2=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],v2=At("plus",g2);/**
196 * @license lucide-react v0.546.0 - ISC
197 *
198 * This source code is licensed under the ISC license.
199 * See the LICENSE file in the root directory of this source tree.
200 */const b2=[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]],S2=At("puzzle",b2);/**
201 * @license lucide-react v0.546.0 - ISC
202 *
203 * This source code is licensed under the ISC license.
204 * See the LICENSE file in the root directory of this source tree.
205 */const x2=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]],T2=At("shield-alert",x2);/**
206 * @license lucide-react v0.546.0 - ISC
207 *
208 * This source code is licensed under the ISC license.
209 * See the LICENSE file in the root directory of this source tree.
210 */const A2=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],E2=At("smartphone",A2);/**
211 * @license lucide-react v0.546.0 - ISC
212 *
213 * This source code is licensed under the ISC license.
214 * See the LICENSE file in the root directory of this source tree.
215 */const M2=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],D2=At("trash-2",M2);/**
216 * @license lucide-react v0.546.0 - ISC
217 *
218 * This source code is licensed under the ISC license.
219 * See the LICENSE file in the root directory of this source tree.
220 */const C2=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],j2=At("triangle-alert",C2);/**
221 * @license lucide-react v0.546.0 - ISC
222 *
223 * This source code is licensed under the ISC license.
224 * See the LICENSE file in the root directory of this source tree.
225 */const w2=[["path",{d:"M10 14.66v1.626a2 2 0 0 1-.976 1.696A5 5 0 0 0 7 21.978",key:"1n3hpd"}],["path",{d:"M14 14.66v1.626a2 2 0 0 0 .976 1.696A5 5 0 0 1 17 21.978",key:"rfe1zi"}],["path",{d:"M18 9h1.5a1 1 0 0 0 0-5H18",key:"7xy6bh"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z",key:"1mhfuq"}],["path",{d:"M6 9H4.5a1 1 0 0 1 0-5H6",key:"tex48p"}]],R2=At("trophy",w2);/**
226 * @license lucide-react v0.546.0 - ISC
227 *
228 * This source code is licensed under the ISC license.
229 * See the LICENSE file in the root directory of this source tree.
230 */const N2=[["path",{d:"M18 6 6 18",key:"1bl5f8"}
230],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],z2=At("x",N2),O2=({children:a})=>{const[i,s]=D.useState(!1),[r,c]=D.useState(0),f=Cn(),d=lf();D.useEffect(()=>{document.documentElement.removeAttribute("data-theme"),localStorage.removeItem("theme")},[]),D.useEffect(()=>{const y=()=>{const m=document.body.scrollTop||document.documentElement.scrollTop,g=document.documentElement.scrollHeight-document.documentElement.clientHeight,S=m/g*100;c(S)};return window.addEventListener("scroll",y),()=>window.removeEventListener("scroll",y)},[]);const p=()=>f.pathname==="/fun"?v.jsxs(v.Fragment,{children:[v.jsx($x,{className:"f-icon"}),v.jsx(R2,{className:"f-icon"}),v.jsx(Px,{className:"f-icon"}),v.jsx(S2,{className:"f-icon"}),v.jsx(i2,{className:"f-icon"})]}):f.pathname.startsWith("/projects")?v.jsxs(v.Fragment,{children:[v.jsx(Yx,{className:"f-icon"}),v.jsx(cf,{className:"f-icon"}),v.jsx(e2,{className:"f-icon"}),v.jsx(m2,{className:"f-icon"}),v.jsx(Qx,{className:"f-icon"})]}):v.jsxs(v.Fragment,{children:[v.jsx(Gx,{className:"f-icon"}),v.jsx(d2,{className:"f-icon"}),v.jsx(E2,{className:"f-icon"}),v.jsx(s2,{className:"f-icon"}),v.jsx(Kx,{className:"f-icon"})]});return v.jsxs("div",{className:"app-container",children:[v.jsx("div",{className:"scroll-progress",style:{width:`${r}%`}}),v.jsxs("div",{className:"bg-animation",children:[v.jsx("div",{className:"bg-shape shape-1"}),v.jsx("div",{className:"bg-shape shape-2"}),v.jsx("div",{className:"bg-shape shape-3"}),v.jsx("div",{className:"bg-shape shape-4"})]}),v.jsx("div",{className:"floating-icons",children:p()}),v.jsx("header",{children:v.jsxs("nav",{className:"container",children:[v.jsxs(te,{to:"/",className:"logo",onDoubleClick:y=>{y.preventDefault(),d("/admin")},children:["SANOOP DAS M",v.jsx("span",{className:"logo-dot",children:"."})]}),v.jsxs("ul",{className:`nav-links ${i?"active":""}`,children:[v.jsx("li",{children:v.jsx(te,{to:"/#hero",onClick:()=>s(!1),children:"Home"})}),v.jsx("li",{children:v.jsx(te,{to:"/#about",onClick:()=>s(!1),children:"About"})}),v.jsx("li",{children:v.jsx(te,{to:"/#experience",onClick:()=>s(!1),children:"Experience"})}),v.jsx("li",{children:v.jsx(te,{to:"/#skills",onClick:()=>s(!1),children:"Skills"})}),v.jsx("li",{children:v.jsx(te,{to:"/#projects",onClick:()=>s(!1),children:"Projects"})}),v.jsx("li",{children:v.jsx(te,{to:"/#blog",onClick:()=>s(!1),children:"Blog"})}),v.jsx("li",{children:v.jsx(te,{to:"/fun",onClick:()=>s(!1),children:"Fun"})}),v.jsx("li",{children:v.jsx(te,{to:"/#contact",onClick:()=>s(!1),children:"Contact"})})]}),v.jsx("div",{style:{display:"flex",alignItems:"center"},children:v.jsx("div",{className:"mobile-menu-btn",onClick:()=>s(!i),children:i?"Close":"Menu"})})]})}),v.jsx("main",{children:a}),v.jsx("footer",{children:v.jsxs("div",{className:"container",children:[v.jsxs("div",{className:"social-links",children:[v.jsx("a",{href:"https://www.linkedin.com/in/sanoopdas",target:"_blank",rel:"noopener noreferrer","aria-label":"LinkedIn",children:v.jsx(Ug,{size:20})}),v.jsx("a",{href:"https://github.com/SD2B",target:"_blank",rel:"noopener noreferrer","aria-label":"GitHub",children:v.jsx(Bg,{size:20})}),v.jsx("a",{href:"https://www.instagram.com/_sanoop_das",target:"_blank",rel:"noopener noreferrer","aria-label":"Instagram",children:v.jsx(Lg,{size:20})}),v.jsx("a",{href:"https://medium.com/@sd2b",target:"_blank",rel:"noopener noreferrer","aria-label":"Medium",children:v.jsx(jc,{size:20})}),v.jsx("a",{href:"mailto:[email protected]","aria-label":"Email",children:v.jsx(wc,{size:20})})]}),v.jsxs("p",{children:["© ",new Date().getFullYear()," Sanoop Das M. All rights reserved."]})]})})]})},Hg=D.createContext({});function V2(a){const i=D.useRef(null);return i.current===null&&(i.current=a()),i.current}const _2=typeof window<"u",B2=_2?D.useLayoutEffect:D.useEffect,ff=D.createContext(null);function df(a,i){a.indexOf(i)===-1&&a.push(i)}function xr(a,i){const s=a.indexOf(i);s>-1&&a.splice(s,1)}const ln=(a,i,s)=>s>i?i:s<a?a:s;let hf=()=>{};const aa={},kg=a=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(a);function Yg(a){return typeof a=="object"&&a!==null}const qg=a=>/^0[^.\s]+$/u.test(a);function Gg(a){let i;return()=>(i===void 0&&(i=a()),i)}const Ge=a=>a,L2=(a,i)=>s=>i(a(s)),Ul=(...a)=>a.reduce(L2),Nl=(a,i,s)=>{const r=i-a;return r===0?1:(s-a)/r};class mf{constructor(){this.subscriptions=[]}add(i){return df(this.subscriptions,i),()=>xr(this.subscriptions,i)}notify(i,s,r){const c=this.subscriptions.length;if(c)if(c===1)this.subscriptions[0](i,s,r);else for(let f=0;f<c;f++){const d=this.subscriptions[f];d&&d(i,s,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Ne=a=>a*1e3,qe=a=>a/1e3;function Xg(a,i){return i?a*(1e3/i):0}const Kg=(a,i,s)=>(((1-3*s+3*i)*a+(3*s-6*i))*a+3*i)*a,U2=1e-7,H2=12;function k2(a,i,s,r,c){let f,d,p=0;do d=i+(s-i)/2,f=Kg(d,r,c)-a,f>0?s=d:i=d;while(Math.abs(f)>U2&&++p<H2);return d}function Hl(a,i,s,r){if(a===i&&s===r)return Ge;const c=f=>k2(f,0,1,a,s);return f=>f===0||f===1?f:Kg(c(f),i,r)}const Zg=a=>i=>i<=.5?a(2*i)/2:(2-a(2*(1-i)))/2,Qg=a=>i=>1-a(1-i),Fg=Hl(.33,1.53,.69,.99),pf=Qg(Fg),Pg=Zg(pf),Jg=a=>a>=1?1:(a*=2)<1?.5*pf(a):.5*(2-Math.pow(2,-10*(a-1))),yf=a=>1-Math.sin(Math.acos(a)),Wg=Qg(yf),$g=Zg(yf),Y2=Hl(.42,0,1,1),q2=Hl(0,0,.58,1),Ig=Hl(.42,0,.58,1),G2=a=>Array.isArray(a)&&typeof a[0]!="number",t0=a=>Array.isArray(a)&&typeof a[0]=="number",X2={linear:Ge,easeIn:Y2,easeInOut:Ig,easeOut:q2,circIn:yf,circInOut:$g,circOut:Wg,backIn:pf,backInOut:Pg,backOut:Fg,anticipate:Jg},K2=a=>
vendor: 4,128 bytes, line 230
230typeof a=="string",ay=a=>{if(t0(a)){hf(a.length===4);const[i,s,r,c]=a;return Hl(i,s,r,c)}else if(K2(a))return X2[a];return a},rr=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Z2(a,i){let s=new Set,r=new Set,c=!1,f=!1;const d=new WeakSet;let p={delta:0,timestamp:0,isProcessing:!1};function y(g){d.has(g)&&(m.schedule(g),a()),g(p)}const m={schedule:(g,S=!1,x=!1)=>{const j=x&&c?s:r;return S&&d.add(g),j.add(g),g},cancel:g=>{r.delete(g),d.delete(g)},process:g=>{if(p=g,c){f=!0;return}c=!0;const S=s;s=r,r=S,s.forEach(y),s.clear(),c=!1,f&&(f=!1,m.process(g))}};return m}const Q2=40;function e0(a,i){let s=!1,r=!0;const c={delta:0,timestamp:0,isProcessing:!1},f=()=>s=!0,d=rr.reduce((V,X)=>(V[X]=Z2(f),V),{}),{setup:p,read:y,resolveKeyframes:m,preUpdate:g,update:S,preRender:x,render:A,postRender:j}=d,B=()=>{const V=aa.useManualTiming,X=V?c.timestamp:performance.now();s=!1,V||(c.delta=r?1e3/60:Math.max(Math.min(X-c.timestamp,Q2),1)),c.timestamp=X,c.isProcessing=!0,p.process(c),y.process(c),m.process(c),g.process(c),S.process(c),x.process(c),A.process(c),j.process(c),c.isProcessing=!1,s&&i&&(r=!1,a(B))},w=()=>{s=!0,r=!0,c.isProcessing||a(B)};return{schedule:rr.reduce((V,X)=>{const Q=d[X];return V[X]=(it,W=!1,et=!1)=>(s||w(),Q.schedule(it,W,et)),V},{}),cancel:V=>{for(let X=0;X<rr.length;X++)d[rr[X]].cancel(V)},state:c,steps:d}}const{schedule:Rt,cancel:ia,state:re,steps:cc}=e0(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ge,!0);let hr;function F2(){hr=void 0}const de={now:()=>(hr===void 0&&de.set(re.isProcessing||aa.useManualTiming?re.timestamp:performance.now()),hr),set:a=>{hr=a,queueMicrotask(F2)}},n0=a=>i=>typeof i=="string"&&i.startsWith(a),a0=n0("--"),P2=n0("var(--"),gf=a=>P2(a)?J2.test(a.split("/*")[0].trim()):!1,J2=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function iy(a){return typeof a!="string"?!1:a.split("/*")[0].includes("var(--")}const Ai={test:a=>typeof a=="number",parse:parseFloat,transform:a=>a},zl={...Ai,transform:a=>ln(0,1,a)},or={...Ai,default:1},Dl=a=>Math.round(a*1e5)/1e5,vf=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function W2(a){return a==null}const $2=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,bf=(a,i)=>s=>!!(typeof s=="string"&&$2.test(s)&&s.startsWith(a)||i&&!W2(s)&&Object.prototype.hasOwnProperty.call(s,i)),i0=(a,i,s)=>r=>{if(typeof r!="string")return r;const[c,f,d,p]=r.match(vf);return{[a]:parseFloat(c),[i]:parseFloat(f),[s]:parseFloat(d),alpha:p!==void 0?parseFloat(p):1}},I2=a=>ln(0,255,a),fc={...Ai,transform:a=>Math.round(I2(a))},Ca={test:bf("rgb","red"),parse:i0("red","green","blue"),transform:({red:a,green:i,blue:s,alpha:r=1})=>"rgba("+fc.transform(a)+", "+fc.transform(i)+", "+fc.transform(s)+", "+Dl(zl.transform(r))+")"};function tT(a){let i="",s="",r="",c="";return a.length>5?(i=a.substring(1,3),s=a.substring(3,5),r=a.substring(5,7),c=a.substring(7,9)):(i=a.substring(1,2),s=a.substring(2,3),r=a.substring(3,4),c=a.substring(4,5),i+=i,s+=s,r+=r,c+=c),{red:parseInt(i,16),green:parseInt(s,16),blue:parseInt(r,16),alpha:c?parseInt(c,16)/255:1}}const Rc={test:bf("#"),parse:tT,transform:Ca.transform},kl=a=>({test:i=>typeof i=="string"&&i.endsWith(a)&&i.split(" ").length===1,parse:parseFloat,transform:i=>`${i}${a}`}),In=kl("deg"),nn=kl("%"),J=kl("px"),eT=kl("vh"),nT=kl("vw"),ly={...nn,parse:a=>nn.parse(a)/100,transform:a=>nn.transform(a*100)},yi={test:bf("hsl","hue"),parse:i0("hue","saturation","lightness"),transform:({hue:a,saturation:i,lightness:s,alpha:r=1})=>"hsla("+Math.round(a)+", "+nn.transform(Dl(i))+", "+nn.transform(Dl(s))+", "+Dl(zl.transform(r))+")"},Pt={test:a=>Ca.test(a)||Rc.test(a)||yi.test(a),parse:a=>Ca.test(a)?Ca.parse(a):yi.test(a)?yi.parse(a):Rc.parse(a),transform:a=>typeof a=="string"?a:a.hasOwnProperty("red")?Ca.transform(a):yi.transform(a),getAnimatableNone:a=>{const i=Pt.parse(a);return i.alpha=0,Pt.transform(i)}},aT=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function iT(a){var i,s;
230return isNaN(a)&&typeof a=="string"&&(((i=a.match(vf))==null?void 0:i.length)||0)+(((s=a.match(aT))==null?void 0:s.length)||0)>0}const l0="number",s0="color",lT="var",sT="var(",sy="${}",rT=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function bi(a){const i=a.toString(),s=[],r={color:[],number:[],var:[]},c=[];let f=0;const p=i.replace(rT,y=>(Pt.test(y)?(r.color.push(f),c.push(s0),s.push(Pt.parse(y))):y.startsWith(sT)?(r.var.push(f),c.push(lT),s.push(y)):(r.number.push(f),c.push(l0),s.push(parseFloat(y))),++f,sy)).split(sy);return{values:s,split:p,indexes:r,types:c}}function oT(a){return bi(a).values}function r0({split:a,types:i}){const s=a.length;return r=>{let c="";for(let f=0;f<s;f++)if(c+=a[f],r[f]!==void 0){const d=i[f];d===l0?c+=Dl(r[f]):d===s0?c+=Pt.transform(r[f]):c+=r[f]}return c}}function uT(a){return r0(bi(a))}const cT=a=>typeof a=="number"?0:Pt.test(a)?Pt.getAnimatableNone(a):a,fT=(a,i)=>typeof a=="number"?i!=null&&i.trim().endsWith("/")?a:0:cT(a);function dT(a){const i=bi(a);return r0(i)(i.values.map((r,c)=>fT(r,i.split[c])))}const Pe={test:iT,parse:oT,createTransformer:uT,getAnimatableNone:dT};function dc(a,i,s){return s<0&&(s+=1),s>1&&(s-=1),s<1/6?a+(i-a)*6*s:s<1/2?i:s<2/3?a+(i-a)*(2/3-s)*6:a}function hT({hue:a,saturation:i,lightness:s,alpha:r}){a/=360,i/=100,s/=100;let c=0,f=0,d=0;if(!i)c=f=d=s;else{const p=s<.5?s*(1+i):s+i-s*i,y=2*s-p;c=dc(y,p,a+1/3),f=dc(y,p,a),d=dc(y,p,a-1/3)}return{red:Math.round(c*255),green:Math.round(f*255),blue:Math.round(d*255),alpha:r}}function Tr(a,i){return s=>s>0?i:a}const Vt=(a,i,s)=>a+(i-a)*s,hc=(a,i,s)=>{const r=a*a,c=s*(i*i-r)+r;return c<0?0:Math.sqrt(c)},mT=[Rc,Ca,yi],pT=a=>mT.find(i=>i.test(a));function ry(a){const i=pT(a);if(!i)return!1;let s=i.parse(a);return i===yi&&(s=hT(s)),s}const oy=(a,i)=>{const s=ry(a),r=ry(i);if(!s||!r)return Tr(a,i);const c={...s};return f=>(c.red=hc(s.red,r.red,f),c.green=hc(s.green,r.green,f),c.blue=hc(s.blue,r.blue,f),c.alpha=Vt(s.alpha,r.alpha,f),Ca.transform(c))},Nc=new Set(["none","hidden"]);function yT(a,i){return Nc.has(a)?s=>s<=0?a:i:s=>s>=1?i:a}function gT(a,i){return s=>Vt(a,i,s)}function Sf(a){return typeof a=="number"?gT:typeof a=="string"?gf(a)?Tr:Pt.test(a)?oy:ST:Array.isArray(a)?o0:typeof a=="object"?Pt.test(a)?oy:vT:Tr}function o0(a,i){const s=[...a],r=s.length,c=a.map((f,d)=>Sf(f)(f,i[d]));return f=>{for(let d=0;d<r;d++)s[d]=c[d](f);return s}}function vT(a,i){const s={...a,...i},r={};for(const c in s)a[c]!==void 0&&i[c]!==void 0&&(r[c]=Sf(a[c])(a[c],i[c]));return c=>{for(const f in r)s[f]=r[f](c);return s}}function bT(a,i){const s=[],r={color:0,var:0,number:0};for(let c=0;c<i.values.length;c++){const f=i.types[c],d=a.indexes[f][r[f]],p=a.values[d]??0;s[c]=p,r[f]++}return s}const ST=(a,i)=>{const s=Pe.createTransformer(i),r=bi(a),c=bi(i);return r.indexes.var.length===c.indexes.var.length&&r.indexes.color.length===c.indexes.color.length&&r.indexes.number.length>=c.indexes.number.length?Nc.has(a)&&!c.values.length||Nc.has(i)&&!r.values.length?yT(a,i):Ul(o0(bT(r,c),c.values),s):Tr(a,i)};function u0(a,i,s){return typeof a=="number"&&typeof i=="number"&&typeof s=="number"?Vt(a,i,s):Sf(a)(a,i)}const xT=a=>{const i=({timestamp:s})=>a(s);return{start:(s=!0)=>Rt.update(i,s),stop:()=>ia(i),now:()=>re.isProcessing?re.timestamp:de.now()}},c0=(a,i,s=10)=>{let r="";const c=Math.max(Math.round(i/s),2);for(let f=0;f<c;f++)r+=Math.round(a(f/(c-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},Ar=2e4;function xf(a){let i=0;const s=50;let r=a.next(i);for(;!r.done&&i<Ar;)i+=s,r=a.next(i);return i>=Ar?1/0:i}function TT(a,i=100,s){const r=s({...a,keyframes:[0,i]}),c=Math.min(xf(r),Ar);return{type:"keyframes",ease:f=>r.next(c*f).value/i,duration:qe(c)}}const Yt={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function zc(a,i){return a*Math.sqrt(1-i*i)}const AT=12;function ET(a,i,s){let r=s;for(let c=1;c<AT;c++)r=r-a(r)/i(r);return r}const mc=.001;function MT({duration:a=Yt.duration,bounce:i=Yt.bounce,velocity:s=Yt.velocity,mass:r=Yt.mass}){let c,f,d=1-i;d=ln(Yt.minDamping,Yt.maxDamping,d),a=ln(Yt.minDuration,Yt.maxDuration,qe(a)),d<1?(c=m=>{const g=m*d,S=g*a,x=g-s,A=zc(m,d),j=Math.exp(-S);return mc-x/A*j},f=m=>{const S=m*d*a,x=S*s+s,A=Math.pow(d,2)*Math.pow(m,2)*a,j=Math.exp(-S),B=zc(Math.pow(m,2),d);return(-c(m)+mc>0?-1:1)*((x-A)*j)/B}):(c=m=>{const g=Math.exp(-m*a),S=(m-s)*a+1;return-mc+g*S},f=m=>{const g=Math.exp(-m*a),S=(s-m)*(a*a);return g*S}
230);const p=5/a,y=ET(c,f,p);if(a=Ne(a),isNaN(y))return{stiffness:Yt.stiffness,damping:Yt.damping,duration:a};{const m=Math.pow(y,2)*r;return{stiffness:m,damping:d*2*Math.sqrt(r*m),duration:a}}}const DT=["duration","bounce"],CT=["stiffness","damping","mass"];function uy(a,i){return i.some(s=>a[s]!==void 0)}function jT(a){let i={velocity:Yt.velocity,stiffness:Yt.stiffness,damping:Yt.damping,mass:Yt.mass,isResolvedFromDuration:!1,...a};if(!uy(a,CT)&&uy(a,DT))if(i.velocity=0,a.visualDuration){const s=a.visualDuration,r=2*Math.PI/(s*1.2),c=r*r,f=2*ln(.05,1,1-(a.bounce||0))*Math.sqrt(c);i={...i,mass:Yt.mass,stiffness:c,damping:f}}else{const s=MT({...a,velocity:0});i={...i,...s,mass:Yt.mass},i.isResolvedFromDuration=!0}return i}function Er(a=Yt.visualDuration,i=Yt.bounce){const s=typeof a!="object"?{visualDuration:a,keyframes:[0,1],bounce:i}:a;let{restSpeed:r,restDelta:c}=s;const f=s.keyframes[0],d=s.keyframes[s.keyframes.length-1],p={done:!1,value:f},{stiffness:y,damping:m,mass:g,duration:S,velocity:x,isResolvedFromDuration:A}=jT({...s,velocity:-qe(s.velocity||0)}),j=x||0,B=m/(2*Math.sqrt(y*g)),w=d-f,O=qe(Math.sqrt(y/g)),G=Math.abs(w)<5;r||(r=G?Yt.restSpeed.granular:Yt.restSpeed.default),c||(c=G?Yt.restDelta.granular:Yt.restDelta.default);let V,X,Q,it,W,et;if(B<1)Q=zc(O,B),it=(j+B*O*w)/Q,V=tt=>{const mt=Math.exp(-B*O*tt);return d-mt*(it*Math.sin(Q*tt)+w*Math.cos(Q*tt))},W=B*O*it+w*Q,et=B*O*w-it*Q,X=tt=>Math.exp(-B*O*tt)*(W*Math.sin(Q*tt)+et*Math.cos(Q*tt));else if(B===1){V=mt=>d-Math.exp(-O*mt)*(w+(j+O*w)*mt);const tt=j+O*w;X=mt=>Math.exp(-O*mt)*(O*tt*mt-j)}else{const tt=O*Math.sqrt(B*B-1);V=Ut=>{const Bt=Math.exp(-B*O*Ut),L=Math.min(tt*Ut,300);return d-Bt*((j+B*O*w)*Math.sinh(L)+tt*w*Math.cosh(L))/tt};const mt=(j+B*O*w)/tt,St=B*O*mt-w*tt,ee=B*O*w-mt*tt;X=Ut=>{const Bt=Math.exp(-B*O*Ut),L=Math.min(tt*Ut,300);return Bt*(St*Math.sinh(L)+ee*Math.cosh(L))}}const rt={calculatedDuration:A&&S||null,velocity:tt=>Ne(X(tt)),next:tt=>{if(!A&&B<1){const St=Math.exp(-B*O*tt),ee=Math.sin(Q*tt),Ut=Math.cos(Q*tt),Bt=d-St*(it*ee+w*Ut),L=Ne(St*(W*ee+et*Ut));return p.done=Math.abs(L)<=r&&Math.abs(d-Bt)<=c,p.value=p.done?d:Bt,p}const mt=V(tt);if(A)p.done=tt>=S;else{const St=Ne(X(tt));p.done=Math.abs(St)<=r&&Math.abs(d-mt)<=c}return p.value=p.done?d:mt,p},toString:()=>{const tt=Math.min(xf(rt),Ar),mt=c0(St=>rt.next(tt*St).value,tt,30);return tt+"ms "+mt},toTransition:()=>{}};return rt}Er.applyToOptions=a=>{const i=TT(a,100,Er);return a.ease=i.ease,a.duration=Ne(i.duration),a.type="keyframes",a};const wT=5;function f0(a,i,s){const r=Math.max(i-wT,0);return Xg(s-a(r),i-r)}function Oc({keyframes:a,velocity:i=0,power:s=.8,timeConstant:r=325,bounceDamping:c=10,bounceStiffness:f=500,modifyTarget:d,min:p,max:y,restDelta:m=.5,restSpeed:g}){const S=a[0],x={done:!1,value:S},A=et=>p!==void 0&&et<p||y!==void 0&&et>y,j=et=>p===void 0?y:y===void 0||Math.abs(p-et)<Math.abs(y-et)?p:y;let B=s*i;const w=S+B,O=d===void 0?w:d(w);O!==w&&(B=O-S);const G=et=>-B*Math.exp(-et/r),V=et=>O+G(et),X=et=>{const rt=G(et),tt=V(et);x.done=Math.abs(rt)<=m,x.value=x.done?O:tt};let Q,it;const W=et=>{A(x.value)&&(Q=et,it=Er({keyframes:[x.value,j(x.value)],velocity:f0(V,et,x.value),damping:c,stiffness:f,restDelta:m,restSpeed:g}))};return W(0),{calculatedDuration:null,next:et=>{let rt=!1;return!it&&Q===void 0&&(rt=!0,X(et),W(et)),Q!==void 0&&et>=Q?it.next(et-Q):(!rt&&X(et),x)}}}function RT(a,i,s){const r=[],c=s||aa.mix||u0,f=a.length-1;for(let d=0;d<f;d++){let p=c(a[d],a[d+1]);if(i){const y=Array.isArray(i)?i[d]||Ge:i;p=Ul(y,p)}r.push(p)}return r}function NT(a,i,{clamp:s=!0,ease:r,mixer:c}={}){const f=a.length;if(hf(f===i.length),f===1)return()=>i[0];if(f===2&&i[0]===i[1])return()=>i[1];const d=a[0]===a[1];a[0]>a[f-1]&&(a=[...a].reverse(),i=[...i].reverse());const p=RT(i,r,c),y=p.length,m=g=>{if(d&&g<a[0])return i[0];let S=0;if(y>1)for(;S<a.length-2&&!(g<a[S+1]);S++);const x=Nl(a[S],a[S+1],g);return p[S](x)};return s?g=>m(ln(a[0],a[f-1],g)):m}function zT(a,i){const s=a[a.length-1];for(let r=1;r<=i;r++){const c=Nl(0,i,r);a.push(Vt(s,1,c))}}function OT(a){const i=[0];return zT(i,a.length-1),i}function VT(a,i){return a.map(s=>s*i)}function _T(a,i){return a.map(()=>i||Ig).splice(0,a.length-1)}function Cl({duration:a=300,keyframes:i,times:s,ease:r="easeInOut"}){const c=G2(r)?r.map(ay):ay(r),f={done:!1,value:i[0]},d=VT(s&&s.length===i.length?s:OT(i),a),p=NT(d,i,{ease:Array.isArray(c)?c:_T(i,c)});return{calculatedDuration:a,next:y=>(f.value=p(y),f.done=y>=a,f)}}const BT=a=>a!==null;function zr(a,{repeat:i,repeatType:s="loop"}
230,r,c=1){const f=a.filter(BT),p=c<0||i&&s!=="loop"&&i%2===1?0:f.length-1;return!p||r===void 0?f[p]:r}const LT={decay:Oc,inertia:Oc,tween:Cl,keyframes:Cl,spring:Er};function d0(a){typeof a.type=="string"&&(a.type=LT[a.type])}class Tf{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(i=>{this.resolve=i})}notifyFinished(){this.resolve()}then(i,s){return this.finished.then(i,s)}}const UT=a=>a/100;class Mr extends Tf{constructor(i){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{var r,c;const{motionValue:s}=this.options;s&&s.updatedAt!==de.now()&&this.tick(de.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(c=(r=this.options).onStop)==null||c.call(r))},this.options=i,this.initAnimation(),this.play(),i.autoplay===!1&&this.pause()}initAnimation(){const{options:i}=this;d0(i);const{type:s=Cl,repeat:r=0,repeatDelay:c=0,repeatType:f,velocity:d=0}=i;let{keyframes:p}=i;const y=s||Cl;y!==Cl&&typeof p[0]!="number"&&(this.mixKeyframes=Ul(UT,u0(p[0],p[1])),p=[0,100]);const m=y({...i,keyframes:p});f==="mirror"&&(this.mirroredGenerator=y({...i,keyframes:[...p].reverse(),velocity:-d})),m.calculatedDuration===null&&(m.calculatedDuration=xf(m));const{calculatedDuration:g}=m;this.calculatedDuration=g,this.resolvedDuration=g+c,this.totalDuration=this.resolvedDuration*(r+1)-c,this.generator=m}updateTime(i){const s=Math.round(i-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=s}tick(i,s=!1){const{generator:r,totalDuration:c,mixKeyframes:f,mirroredGenerator:d,resolvedDuration:p,calculatedDuration:y}=this;if(this.startTime===null)return r.next(0);const{delay:m=0,keyframes:g,repeat:S,repeatType:x,repeatDelay:A,type:j,onUpdate:B,finalKeyframe:w}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,i):this.speed<0&&(this.startTime=Math.min(i-c/this.speed,this.startTime)),s?this.currentTime=i:this.updateTime(i);const O=this.currentTime-m*(this.playbackSpeed>=0?1:-1),G=this.playbackSpeed>=0?O<0:O>c;this.currentTime=Math.max(O,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let V=this.currentTime,X=r;if(S){const et=Math.min(this.currentTime,c)/p;let rt=Math.floor(et),tt=et%1;!tt&&et>=1&&(tt=1),tt===1&&rt--,rt=Math.min(rt,S+1),!!(rt%2)&&(x==="reverse"?(tt=1-tt,A&&(tt-=A/p)):x==="mirror"&&(X=d)),V=ln(0,1,tt)*p}let Q;G?(this.delayState.value=g[0],Q=this.delayState):Q=X.next(V),f&&!G&&(Q.value=f(Q.value));let{done:it}=Q;!G&&y!==null&&(it=this.playbackSpeed>=0?this.currentTime>=c:this.currentTime<=0);const W=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&it);return W&&j!==Oc&&(Q.value=zr(g,this.options,w,this.speed)),B&&B(Q.value),W&&this.finish(),Q}then(i,s){return this.finished.then(i,s)}get duration(){return qe(this.calculatedDuration)}get iterationDuration(){const{delay:i=0}=this.options||{};return this.duration+qe(i)}get time(){return qe(this.currentTime)}set time(i){i=Ne(i),this.currentTime=i,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=i:this.driver&&(this.startTime=this.driver.now()-i/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=i,this.tick(i))}getGeneratorVelocity(){const i=this.currentTime;if(i<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(i);const s=this.generator.next(i).value;return f0(r=>this.generator.next(r).value,i,s)}get speed(){return this.playbackSpeed}set speed(i){const s=this.playbackSpeed!==i;s&&this.driver&&this.updateTime(de.now()),this.playbackSpeed=i,s&&this.driver&&(this.time=qe(this.currentTime))}play(){var c,f;if(this.isStopped)return;const{driver:i=xT,startTime:s}=this.options;this.driver||(this.driver=i(d=>this.tick(d))),(f=(c=this.options).onPlay)==null||f.call(c);const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=s??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(de.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var i,s;this.notifyFinished(),this.teardown(),this.state="finished",(s=(i=this.options).onComplete)==null||s.call(i)}cancel(){var i,s;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(s=(i=this.options).onCancel)==null||s.call(i)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(i){return this.startTime=0,this.tick(i,!0)}attachTimeline(i){var s;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(s=this.driver)==null||s.stop(),i.observe(this)}}function HT(a){for(let i=1;i<a.length;i++)a[i]??(a[i]=a[i-1])}const ja=a=>a*180/Math.PI,Vc=a=>{const i=ja(Math.atan2(a[1],a[0]));return _c(i)},kT={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:a=>(Math.abs(a[0])+Math.abs(a[3]))/2,rotate:Vc,rotateZ:Vc,skewX:a=>ja(Math.atan(a[1])),skewY:a=>ja(Math.atan(a[2])),skew:a=>(Math.abs(a[1])+Math.abs(a[2]))/2},_c=a=>(a=a%360,a<0&&(a+=360),a),cy=Vc,fy=a=>Math.sqrt(a[0]*a[0]+a[1]*a[1]),dy=a=>Math.sqrt(a[4]*a[4]+a[5]*a[5]),YT={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:fy,scaleY:dy,scale:a=>(fy(a)+dy(a))/2,rotateX:a=>_c(ja(Math.atan2(a[6],a[5]))),rotateY:a=>_c(ja(Math.atan2(-a[2],a[0]))),rotateZ:cy,rotate:cy,skewX:a=>ja(Math.atan(a[4])),skewY:a=>ja(Math.atan(a[1])),skew:a=>(Math.abs(a[1])+Math.abs(a[4]))/2};function Bc(a){return a.includes("scale")?1:0}function Lc(a,i){if(!a||a==="none")return Bc(i);const s=a.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,c;if(s)r=YT,c=s;else{const p=a.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=kT,c=p}if(!c)return Bc(i);const f=r[i],d=c[1].split(",").map(GT);return typeof f=="function"?f(d):d[f]}const qT=(a,i)=>{const{transform:s="none"}=getComputedStyle(a);return Lc(s,i)};function GT(a){return parseFloat(a.trim())}const Ei=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Mi=new Set(Ei),hy=a=>a===Ai||a===J,XT=new Set(["x","y","z"]),KT=Ei.filter(a=>!XT.has(a));
230function ZT(a){const i=[];return KT.forEach(s=>{const r=a.getValue(s);r!==void 0&&(i.push([s,r.get()]),r.set(s.startsWith("scale")?1:0))}),i}const ea={width:({x:a},{paddingLeft:i="0",paddingRight:s="0",boxSizing:r})=>{const c=a.max-a.min;return r==="border-box"?c:c-parseFloat(i)-parseFloat(s)},height:({y:a},{paddingTop:i="0",paddingBottom:s="0",boxSizing:r})=>{const c=a.max-a.min;return r==="border-box"?c:c-parseFloat(i)-parseFloat(s)},top:(a,{top:i})=>parseFloat(i),left:(a,{left:i})=>parseFloat(i),bottom:({y:a},{top:i})=>parseFloat(i)+(a.max-a.min),right:({x:a},{left:i})=>parseFloat(i)+(a.max-a.min),x:(a,{transform:i})=>Lc(i,"x"),y:(a,{transform:i})=>Lc(i,"y")};ea.translateX=ea.x;ea.translateY=ea.y;const wa=new Set;let Uc=!1,Hc=!1,kc=!1;function h0(){if(Hc){const a=Array.from(wa).filter(r=>r.needsMeasurement),i=new Set(a.map(r=>r.element)),s=new Map;i.forEach(r=>{const c=ZT(r);c.length&&(s.set(r,c),r.render())}),a.forEach(r=>r.measureInitialState()),i.forEach(r=>{r.render();const c=s.get(r);c&&c.forEach(([f,d])=>{var p;(p=r.getValue(f))==null||p.set(d)})}),a.forEach(r=>r.measureEndState()),a.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Hc=!1,Uc=!1,wa.forEach(a=>a.complete(kc)),wa.clear()}function m0(){wa.forEach(a=>{a.readKeyframes(),a.needsMeasurement&&(Hc=!0)})}function QT(){kc=!0,m0(),h0(),kc=!1}class Af{constructor(i,s,r,c,f,d=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...i],this.onComplete=s,this.name=r,this.motionValue=c,this.element=f,this.isAsync=d}scheduleResolve(){this.state="scheduled",this.isAsync?(wa.add(this),Uc||(Uc=!0,Rt.read(m0),Rt.resolveKeyframes(h0))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:i,name:s,element:r,motionValue:c}=this;if(i[0]===null){const f=c==null?void 0:c.get(),d=i[i.length-1];if(f!==void 0)i[0]=f;else if(r&&s){const p=r.readValue(s,d);p!=null&&(i[0]=p)}i[0]===void 0&&(i[0]=d),c&&f===void 0&&c.set(i[0])}HT(i)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(i=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,i),wa.delete(this)}cancel(){this.state==="scheduled"&&(wa.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const FT=a=>a.startsWith("--");function p0(a,i,s){FT(i)?a.style.setProperty(i,s):a.style[i]=s}const PT={};function y0(a,i){const s=Gg(a);return()=>PT[i]??s()}const JT=y0(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),g0=y0(()=>{try{document.createElement("div").animate({opacity:0}
230,{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Ml=([a,i,s,r])=>`cubic-bezier(${a}, ${i}, ${s}, ${r})`,my={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ml([0,.65,.55,1]),circOut:Ml([.55,0,1,.45]),backIn:Ml([.31,.01,.66,-.59]),backOut:Ml([.33,1.53,.69,.99])};function v0(a,i){if(a)return typeof a=="function"?g0()?c0(a,i):"ease-out":t0(a)?Ml(a):Array.isArray(a)?a.map(s=>v0(s,i)||my.easeOut):my[a]}function WT(a,i,s,{delay:r=0,duration:c=300,repeat:f=0,repeatType:d="loop",ease:p="easeOut",times:y}={},m=void 0){const g={[i]:s};y&&(g.offset=y);const S=v0(p,c);Array.isArray(S)&&(g.easing=S);const x={delay:r,duration:c,easing:Array.isArray(S)?"linear":S,fill:"both",iterations:f+1,direction:d==="reverse"?"alternate":"normal"};return m&&(x.pseudoElement=m),a.animate(g,x)}function b0(a){return typeof a=="function"&&"applyToOptions"in a}function $T({type:a,...i}){return b0(a)&&g0()?a.applyToOptions(i):(i.duration??(i.duration=300),i.ease??(i.ease="easeOut"),i)}class S0 extends Tf{constructor(i){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!i)return;const{element:s,name:r,keyframes:c,pseudoElement:f,allowFlatten:d=!1,finalKeyframe:p,onComplete:y}=i;this.isPseudoElement=!!f,this.allowFlatten=d,this.options=i,hf(typeof i.type!="string");const m=$T(i);this.animation=WT(s,r,c,m,f),m.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!f){const g=zr(c,this.options,p,this.speed);this.updateMotionValue&&this.updateMotionValue(g),p0(s,r,g),this.animation.cancel()}y==null||y(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var i,s;(s=(i=this.animation).finish)==null||s.call(i)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:i}=this;i==="idle"||i==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var s,r,c;const i=(s=this.options)==null?void 0:s.element;!this.isPseudoElement&&(i!=null&&i.isConnected)&&((c=(r=this.animation).commitStyles)==null||c.call(r))}get duration(){var s,r;const i=((r=(s=this.animation.effect)==null?void 0:s.getComputedTiming)==null?void 0:r.call(s).duration)||0;return qe(Number(i))}get iterationDuration(){const{delay:i=0}=this.options||{};return this.duration+qe(i)}get time(){return qe(Number(this.animation.currentTime)||0)}set time(i){const s=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Ne(i),s&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(i){i<0&&(this.finishedTime=null),this.animation.playbackRate=i}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(i){this.manualStartTime=this.animation.startTime=i}attachTimeline({timeline:i,rangeStart:s,rangeEnd:r,observe:c}){var f;return this.allowFlatten&&((f=this.animation.effect)==null||f.updateTiming({easing:"linear"})),this.animation.onfinish=null,i&&JT()?(this.animation.timeline=i,s&&(this.animation.rangeStart=s),r&&(this.animation.rangeEnd=r),Ge):c(this)}}const x0={anticipate:Jg,backInOut:Pg,circInOut:$g};function IT(a){return a in x0}function tA(a){typeof a.ease=="string"&&IT(a.ease)&&(a.ease=x0[a.ease])}const pc=10;class eA extends S0{constructor(i){tA(i),d0(i),super(i),i.startTime!==void 0&&i.autoplay!==!1&&(this.startTime=i.startTime),this.options=i}updateMotionValue(i){const{motionValue:s,onUpdate:r,onComplete:c,element:f,...d}=this.options;if(!s)return;if(i!==void 0){s.set(i);return}const p=new Mr({...d,autoplay:!1}),y=Math.max(pc,de.now()-this.startTime),m=ln(0,pc,y-pc),g=p.sample(y).value,{name:S}=this.options;f&&S&&p0(f,S,g),s.setWithVelocity(p.sample(Math.max(0,y-m)).value,g,m),p.stop()}}const py=(a,i)=>i==="zIndex"?!1:!!(typeof a=="number"||Array.isArray(a)||typeof a=="str
230ing"&&(Pe.test(a)||a==="0")&&!a.startsWith("url("));function nA(a){const i=a[0];if(a.length===1)return!0;for(let s=0;s<a.length;s++)if(a[s]!==i)return!0}function aA(a,i,s,r){const c=a[0];if(c===null)return!1;if(i==="display"||i==="visibility")return!0;const f=a[a.length-1],d=py(c,i),p=py(f,i);return!d||!p?!1:nA(a)||(s==="spring"||b0(s))&&r}function Yc(a){a.duration=0,a.type="keyframes"}const T0=new Set(["opacity","clipPath","filter","transform"]),iA=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function lA(a){for(let i=0;i<a.length;i++)if(typeof a[i]=="string"&&iA.test(a[i]))return!0;return!1}const sA=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),rA=Gg(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function oA(a){var S;const{motionValue:i,name:s,repeatDelay:r,repeatType:c,damping:f,type:d,keyframes:p}=a;if(!(((S=i==null?void 0:i.owner)==null?void 0:S.current)instanceof HTMLElement))return!1;const{onUpdate:m,transformTemplate:g}=i.owner.getProps();return rA()&&s&&(T0.has(s)||sA.has(s)&&lA(p))&&(s!=="transform"||!g)&&!m&&!r&&c!=="mirror"&&f!==0&&d!=="inertia"}const uA=40;class cA extends Tf{constructor({autoplay:i=!0,delay:s=0,type:r="keyframes",repeat:c=0,repeatDelay:f=0,repeatType:d="loop",keyframes:p,name:y,motionValue:m,element:g,...S}){var j;super(),this.stop=()=>{var B,w;this._animation&&(this._animation.stop(),(B=this.stopTimeline)==null||B.call(this)),(w=this.keyframeResolver)==null||w.cancel()},this.createdAt=de.now();const x={autoplay:i,delay:s,type:r,repeat:c,repeatDelay:f,repeatType:d,name:y,motionValue:m,element:g,...S},A=(g==null?void 0:g.KeyframeResolver)||Af;this.keyframeResolver=new A(p,(B,w,O)=>this.onKeyframesResolved(B,w,x,!O),y,m,g),(j=this.keyframeResolver)==null||j.scheduleResolve()}onKeyframesResolved(i,s,r,c){var O,G;this.keyframeResolver=void 0;const{name:f,type:d,velocity:p,delay:y,isHandoff:m,onUpdate:g}=r;this.resolvedAt=de.now();let S=!0;aA(i,f,d,p)||(S=!1,(aa.instantAnimations||!y)&&(g==null||g(zr(i,r,s))),i[0]=i[i.length-1],Yc(r),r.repeat=0);const A={startTime:c?this.resolvedAt?this.resolvedAt-this.createdAt>uA?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:s,...r,keyframes:i},j=S&&!m&&oA(A),B=(G=(O=A.motionValue)==null?void 0:O.owner)==null?void 0:G.current;let w;if(j)try{w=new eA({...A,element:B})}catch{w=new Mr(A)}else w=new Mr(A);w.finished.then(()=>{this.notifyFinished()}).catch(Ge),this.pendingTimeline&&(this.stopTimeline=w.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=w}get finished(){return this._animation?this.animation.finished:this._finished}then(i,s){return this.finished.finally(i).then(()=>{})}get animation(){var i;return this._animation||((i=this.keyframeResolver)==null||i.resume(),QT()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(i){this.animation.time=i}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(i){this.animation.speed=i}get startTime(){return this.animation.startTime}attachTimeline(i){return this._animation?this.stopTimeline=this.animation.attachTimeline(i):this.pendingTimeline=i,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var i;this._animation&&this.animation.cancel(),(i=this.keyframeResolver)==null||i.cancel()}}function A0(a,i,s,r=0,c=1){const f=Array.from(a).sort((m,g)=>m.sortNodePosition(g)).indexOf(i),d=a.size,p=(d-1)*r;return typeof s=="function"?s(f,d):c===1?f*r:p-f*r}const fA=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function dA(a){const i=fA.exec(a);if(!i)return[,];const[,s,r,c]=i;return[`--${s??r}`,c]}function E0(a,i,s=1){const[r,c]=dA(a);if(!r)return;const f=window.getComputedStyle(i).getPropertyValue(r);if(f){const d=f.trim();return kg(d)?parseFloat(d):d}return gf(c)?E0(c,i,s+1):c}const hA={type:"spring",stiffness:500,damping:25,restSpeed:10},mA=a=>({type:"spring",stiffness:550,damping:a===0?2*Math.sqrt(550):30,restSpeed:10}),pA={type:"keyframes",duration:.8},yA={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},gA=(a,{keyframes:i})=>i.length>2?pA:Mi.has(a)?a.startsWith("scale")?mA(i[1]):hA:yA;function M0(a,i){if(a!=null&&a.inherit&&i){const{inherit:s,...r}=a;return{...i,...r}}return a}function Ef(a,i){const s=(a==null?void 0:a[i])??(a==null?void 0:a.default)??a;return s!==a?M0(s,a):s}const vA=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function bA(a){for(const i in a)if(!vA.has(i))return!0;return!1}const Mf=(a,i,s,r={},c,f)=>d=>{const p=Ef(r,a)||{},y=p.delay||r.delay||0;let{elapsed:m=0}=r;m=m-Ne(y);const g={keyframes:Array.isArray(s)?s:[null,s],ease:"easeOut",velocity:i.getVelocity(),...p,delay:-m,onUpdate:x=>{i.set(x),p.onUpdate&&p.onUpdate(x)},onComplete:()=>{d(),p.onComplete&&p.onComplete()},name:a,motionValue:i,element:f?void 0:c};bA(p)||Object.assign(g,gA(a,g)),g.duration&&(g.duration=Ne(g.duration)),g.repeatDelay&&(g.repeatDelay=Ne(g.repeatDelay)),g.from!==void 0&&(g.keyframes[0]=g.from);let S=!1;if((g.type===!1||g.duration===0&&!g.repeatDelay)&&(Yc(g),g.delay===0&&(S=!0)),(aa.instantAnimations||aa.skipAnimations||c!=null&&c.shouldSkipAnimations)&&(S=!0,Yc(g),g.delay=0),g.allowFlatten=!p.type&&!p.ease,S&&!f&&i.get()!==void 0){const x=zr(g.keyframes,p);if(x!==void 0){Rt.update(()=>{g.onUpdate(x),g.onComplete()});return}}return p.isSync?new Mr(g):new cA(g)};function yy(a){const i=[{},{}];
230return a==null||a.values.forEach((s,r)=>{i[0][r]=s.get(),i[1][r]=s.getVelocity()}),i}function Df(a,i,s,r){if(typeof i=="function"){const[c,f]=yy(r);i=i(s!==void 0?s:a.custom,c,f)}if(typeof i=="string"&&(i=a.variants&&a.variants[i]),typeof i=="function"){const[c,f]=yy(r);i=i(s!==void 0?s:a.custom,c,f)}return i}function Ra(a,i,s){const r=a.getProps();return Df(r,i,s!==void 0?s:r.custom,a)}const D0=new Set(["width","height","top","left","right","bottom",...Ei]),gy=30,SA=a=>!isNaN(parseFloat(a));class xA{constructor(i,s={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var f;const c=de.now();if(this.updatedAt!==c&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((f=this.events.change)==null||f.notify(this.current),this.dependents))for(const d of this.dependents)d.dirty()},this.hasAnimated=!1,this.setCurrent(i),this.owner=s.owner}setCurrent(i){this.current=i,this.updatedAt=de.now(),this.canTrackVelocity===null&&i!==void 0&&(this.canTrackVelocity=SA(this.current))}setPrevFrameValue(i=this.current){this.prevFrameValue=i,this.prevUpdatedAt=this.updatedAt}onChange(i){return this.on("change",i)}on(i,s){this.events[i]||(this.events[i]=new mf);const r=this.events[i].add(s);return i==="change"?()=>{r(),Rt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const i in this.events)this.events[i].clear()}attach(i,s){this.passiveEffect=i,this.stopPassiveEffect=s}set(i){this.passiveEffect?this.passiveEffect(i,this.updateAndNotify):this.updateAndNotify(i)}setWithVelocity(i,s,r){this.set(s),this.prev=void 0,this.prevFrameValue=i,this.prevUpdatedAt=this.updatedAt-r}jump(i,s=!0){this.updateAndNotify(i),this.prev=i,this.prevUpdatedAt=this.prevFrameValue=void 0,s&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var i;(i=this.events.change)==null||i.notify(this.current)}addDependent(i){this.dependents||(this.dependents=new Set),this.dependents.add(i)}removeDependent(i){this.dependents&&this.dependents.delete(i)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const i=de.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||i-this.updatedAt>gy)return 0;const s=Math.min(this.updatedAt-this.prevUpdatedAt,gy);return Xg(parseFloat(this.current)-parseFloat(this.prevFrameValue),s)}start(i){return this.stop(),new Promise(s=>{this.hasAnimated=!0,this.animation=i(s),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var i,s;(i=this.dependents)==null||i.clear(),(s=this.events.destroy)==null||s.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Si(a,i){return new xA(a,i)}const qc=a=>Array.isArray(a);function TA(a,i,s){a.hasValue(i)?a.getValue(i).set(s):a.addValue(i,Si(s))}function AA(a){return qc(a)?a[a.length-1]||0:a}function EA(a,i){const s=Ra(a,i);let{transitionEnd:r={},transition:c={},...f}=s||{};f={...f,...r};for(const d in f){const p=AA(f[d]);TA(a,d,p)}}const oe=a=>!!(a&&a.getVelocity);function MA(a){return!!(oe(a)&&a.add)}function Gc(a,i){const s=a.getValue("willChange");if(MA(s))return s.add(i);if(!s&&aa.WillChange){const r=new aa.WillChange("auto");a.addValue("willChange",r),r.add(i)}}function Cf(a){return a.replace(/([A-Z])/g,i=>`-${i.toLowerCase()}`)}const DA="framerAppearId",C0="data-"+Cf(DA);function j0(a){return a.props[C0]}function CA({protectedKeys:a,needsAnimating:i},s){const r=a.hasOwnProperty(s)&&i[s]!==!0;return i[s]=!1,r}function w0(a,i,{delay:s=0,transitionOverride:r,type:c}={}){let{transition:f,transitionEnd:d,...p}=i;const y=a.getDefaultTransition();f=f?M0(f,y):y;const m=f==null?void 0:f.reduceMotion;r&&(f=r);const g=[],S=c&&a.animationState&&a.animationState.getState()[c];for(const x in p){const A=a.getValue(x,a.latestValues[x]??null),j=p[x];if(j===void 0||S&&CA(S,x))continue;const B={delay:s,...Ef(f||{},x)},w=A.get();if(w!==void 0&&!A.isAnimating()&&!Array.isArray(j)&&j===w&&!B.velocity){Rt.update(()=>A.set(j));continue}let O=!1;if(window.MotionHandoffAnimation){const X=j0(a);if(X){const Q=window.MotionHandoffAnimation(X,x,Rt);Q!==null&&(B.startTime=Q,O=!0)}}Gc(a,x);const G=m??a.shouldReduceMotion;
230A.start(Mf(x,A,j,G&&D0.has(x)?{type:!1}:B,a,O));const V=A.animation;V&&g.push(V)}if(d){const x=()=>Rt.update(()=>{d&&EA(a,d)});g.length?Promise.all(g).then(x):x()}return g}function Xc(a,i,s={}){var y;const r=Ra(a,i,s.type==="exit"?(y=a.presenceContext)==null?void 0:y.custom:void 0);let{transition:c=a.getDefaultTransition()||{}}=r||{};s.transitionOverride&&(c=s.transitionOverride);const f=r?()=>Promise.all(w0(a,r,s)):()=>Promise.resolve(),d=a.variantChildren&&a.variantChildren.size?(m=0)=>{const{delayChildren:g=0,staggerChildren:S,staggerDirection:x}=c;return jA(a,i,m,g,S,x,s)}:()=>Promise.resolve(),{when:p}=c;if(p){const[m,g]=p==="beforeChildren"?[f,d]:[d,f];return m().then(()=>g())}else return Promise.all([f(),d(s.delay)])}function jA(a,i,s=0,r=0,c=0,f=1,d){const p=[];for(const y of a.variantChildren)y.notify("AnimationStart",i),p.push(Xc(y,i,{...d,delay:s+(typeof r=="function"?0:r)+A0(a.variantChildren,y,r,c,f)}).then(()=>y.notify("AnimationComplete",i)));return Promise.all(p)}function wA(a,i,s={}){a.notify("AnimationStart",i);let r;if(Array.isArray(i)){const c=i.map(f=>Xc(a,f,s));r=Promise.all(c)}else if(typeof i=="string")r=Xc(a,i,s);else{const c=typeof i=="function"?Ra(a,i,s.custom):i;r=Promise.all(w0(a,c,s))}return r.then(()=>{a.notify("AnimationComplete",i)})}const RA={test:a=>a==="auto",parse:a=>a},R0=a=>i=>i.test(a),N0=[Ai,J,nn,In,nT,eT,RA],vy=a=>N0.find(R0(a));function NA(a){return typeof a=="number"?a===0:a!==null?a==="none"||a==="0"||qg(a):!0}const zA=new Set(["brightness","contrast","saturate","opacity"]);function OA(a){const[i,s]=a.slice(0,-1).split("(");if(i==="drop-shadow")return a;const[r]=s.match(vf)||[];if(!r)return a;const c=s.replace(r,"");let f=zA.has(i)?1:0;return r!==s&&(f*=100),i+"("+f+c+")"}const VA=/\b([a-z-]*)\(.*?\)/gu,Kc={...Pe,getAnimatableNone:a=>{const i=a.match(VA);return i?i.map(OA).join(" "):a}},Zc={...Pe,getAnimatableNone:a=>{const i=Pe.parse(a);return Pe.createTransformer(a)(i.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},by={...Ai,transform:Math.round},_A={rotate:In,rotateX:In,rotateY:In,rotateZ:In,scale:or,scaleX:or,scaleY:or,scaleZ:or,skew:In,skewX:In,skewY:In,distance:J,translateX:J,translateY:J,translateZ:J,x:J,y:J,z:J,perspective:J,transformPerspective:J,opacity:zl,originX:ly,originY:ly,originZ:J},jf={borderWidth:J,borderTopWidth:J,borderRightWidth:J,borderBottomWidth:J,borderLeftWidth:J,borderRadius:J,borderTopLeftRadius:J,borderTopRightRadius:J,borderBottomRightRadius:J,borderBottomLeftRadius:J,width:J,maxWidth:J,height:J,maxHeight:J,top:J,right:J,bottom:J,left:J,inset:J,insetBlock:J,insetBlockStart:J,insetBlockEnd:J,insetInline:J,insetInlineStart:J,insetInlineEnd:J,padding:J,paddingTop:J,paddingRight:J,paddingBottom:J,paddingLeft:J,paddingBlock:J,paddingBlockStart:J,paddingBlockEnd:J,paddingInline:J,paddingInlineStart:J,paddingInlineEnd:J,margin:J,marginTop:J,marginRight:J,marginBottom:J,marginLeft:J,marginBlock:J,marginBlockStart:J,marginBlockEnd:J,marginInline:J,marginInlineStart:J,marginInlineEnd:J,fontSize:J,backgroundPositionX:J,backgroundPositionY:J,..._A,zIndex:by,fillOpacity:zl,strokeOpacity:zl,numOctaves:by},BA={...jf,color:Pt,backgroundColor:Pt,outlineColor:Pt,fill:Pt,stroke:Pt,borderColor:Pt,borderTopColor:Pt,borderRightColor:Pt,borderBottomColor:Pt,borderLeftColor:Pt,filter:Kc,WebkitFilter:Kc,mask:Zc,WebkitMask:Zc},z0=a=>BA[a],LA=new Set([Kc,Zc]);function O0(a,i){let s=z0(a);return LA.has(s)||(s=Pe),s.getAnimatableNone?s.getAnimatableNone(i):void 0}const UA=new Set(["auto","none","0"]);function HA(a,i,s){let r=0,c;for(;r<a.length&&!c;){const f=a[r];typeof f=="string"&&!UA.has(f)&&bi(f).values.length&&(c=a[r]),r++}if(c&&s)for(const f of i)a[f]=O0(s,c)}class kA extends Af{constructor(i,s,r,c,f){super(i,s,r,c,f,!0)}readKeyframes(){const{unresolvedKeyframes:i,element:s,name:r}=this;if(!s||!s.current)return;super.readKeyframes();for(let g=0;g<i.length;g++){let S=i[g];if(typeof S=="string"&&(S=S.trim(),gf(S))){const x=E0(S,s.current);x!==void 0&&(i[g]=x),g===i.length-1&&(this.finalKeyframe=S)}}if(this.resolveNoneKeyframes(),!D0.has(r)||i.length!==2)return;const[c,f]=i,d=vy(c),p=vy(f),y=iy(c),m=iy(f);if(y!==m&&ea[r]){this.needsMeasurement=!0;return}if(d!==p)if(hy(d)&&hy(p))for(let g=0;g<i.length;g++){const S=i[g];typeof S=="string"&&(i[g]=parseFloat(S))}else ea[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:i,name:s}=this,r=[];for(let c=0;c<i.length;c++)(i[c]===null||NA(i[c]))&&r.push(c);r.length&&HA(i,r,s)}measureInitialState(){const{element:i,unresolvedKeyframes:s,name:r}=this;if(!i||!i.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ea[r](i.measureViewportBox(),window.getComputedStyle(i.current)),s[0]=this.measuredOrigin;const c=s[s.length-1];c!==void 0&&i.getValue(r,c).jump(c,!1)}measureEndState(){var p;const{element:i,name:s,unresolvedKeyframes:r}=this;if(!i||!i.current)return;const c=i.getValue(s);c&&c.jump(this.measuredOrigin,!1);const f=r.length-1,d=r[f];r[f]=ea[s](i.measureViewportBox(),window.getComputedStyle(i.current)),d!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=d),(p=this.removedTransforms)!=null&&p.length&&this.removedTransforms.forEac
230h(([y,m])=>{i.getValue(y).set(m)}),this.resolveNoneKeyframes()}}function V0(a,i,s){if(a==null)return[];if(a instanceof EventTarget)return[a];if(typeof a=="string"){let r=document;const c=(s==null?void 0:s[a])??r.querySelectorAll(a);return c?Array.from(c):[]}return Array.from(a).filter(r=>r!=null)}const _0=(a,i)=>i&&typeof a=="number"?i.transform(a):a;function YA(a){return Yg(a)&&"offsetHeight"in a&&!("ownerSVGElement"in a)}const{schedule:wf}=e0(queueMicrotask,!1),Fe={x:!1,y:!1};function B0(){return Fe.x||Fe.y}function qA(a){return a==="x"||a==="y"?Fe[a]?null:(Fe[a]=!0,()=>{Fe[a]=!1}):Fe.x||Fe.y?null:(Fe.x=Fe.y=!0,()=>{Fe.x=Fe.y=!1})}function L0(a,i){const s=V0(a),r=new AbortController,c={passive:!0,...i,signal:r.signal};return[s,c,()=>r.abort()]}function GA(a){return!(a.pointerType==="touch"||B0())}function XA(a,i,s={}){const[r,c,f]=L0(a,s);return r.forEach(d=>{let p=!1,y=!1,m;const g=()=>{d.removeEventListener("pointerleave",j)},S=w=>{m&&(m(w),m=void 0),g()},x=w=>{p=!1,window.removeEventListener("pointerup",x),window.removeEventListener("pointercancel",x),y&&(y=!1,S(w))},A=()=>{p=!0,window.addEventListener("pointerup",x,c),window.addEventListener("pointercancel",x,c)},j=w=>{if(w.pointerType!=="touch"){if(p){y=!0;return}S(w)}},B=w=>{if(!GA(w))return;y=!1;const O=i(d,w);typeof O=="function"&&(m=O,d.addEventListener("pointerleave",j,c))};d.addEventListener("pointerenter",B,c),d.addEventListener("pointerdown",A,c)}),f}const U0=(a,i)=>i?a===i?!0:U0(a,i.parentElement):!1,Rf=a=>a.pointerType==="mouse"?typeof a.button!="number"||a.button<=0:a.isPrimary!==!1,KA=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function ZA(a){return KA.has(a.tagName)||a.isContentEditable===!0}const QA=new Set(["INPUT","SELECT","TEXTAREA"]);function FA(a){return QA.has(a.tagName)||a.isContentEditable===!0}const mr=new WeakSet;function Sy(a){return i=>{i.key==="Enter"&&a(i)}}function yc(a,i){a.dispatchEvent(new PointerEvent("pointer"+i,{isPrimary:!0,bubbles:!0}))}const PA=(a,i)=>{const s=a.currentTarget;if(!s)return;const r=Sy(()=>
230{if(mr.has(s))return;yc(s,"down");const c=Sy(()=>{yc(s,"up")}),f=()=>yc(s,"cancel");s.addEventListener("keyup",c,i),s.addEventListener("blur",f,i)});s.addEventListener("keydown",r,i),s.addEventListener("blur",()=>s.removeEventListener("keydown",r),i)};function xy(a){return Rf(a)&&!B0()}const Ty=new WeakSet;function JA(a,i,s={}){const[r,c,f]=L0(a,s),d=p=>{const y=p.currentTarget;if(!xy(p)||Ty.has(p))return;mr.add(y),s.stopPropagation&&Ty.add(p);const m=i(y,p),g=(A,j)=>{window.removeEventListener("pointerup",S),window.removeEventListener("pointercancel",x),mr.has(y)&&mr.delete(y),xy(A)&&typeof m=="function"&&m(A,{success:j})},S=A=>{g(A,y===window||y===document||s.useGlobalTarget||U0(y,A.target))},x=A=>{g(A,!1)};window.addEventListener("pointerup",S,c),window.addEventListener("pointercancel",x,c)};return r.forEach(p=>{(s.useGlobalTarget?window:p).addEventListener("pointerdown",d,c),YA(p)&&(p.addEventListener("focus",m=>PA(m,c)),!ZA(p)&&!p.hasAttribute("tabindex")&&(p.tabIndex=0))}),f}function Nf(a){return Yg(a)&&"ownerSVGElement"in a}const pr=new WeakMap;let ta;const H0=(a,i,s)=>(r,c)=>c&&c[0]?c[0][a+"Size"]:Nf(r)&&"getBBox"in r?r.getBBox()[i]:r[s],WA=H0("inline","width","offsetWidth"),$A=H0("block","height","offsetHeight");function IA({target:a,borderBoxSize:i}){var s;(s=pr.get(a))==null||s.forEach(r=>{r(a,{get width(){return WA(a,i)},get height(){return $A(a,i)}})})}function tE(a){a.forEach(IA)}function eE(){typeof ResizeObserver>"u"||(ta=new ResizeObserver(tE))}function nE(a,i){ta||eE();const s=V0(a);return s.forEach(r=>{let c=pr.get(r);c||(c=new Set,pr.set(r,c)),c.add(i),ta==null||ta.observe(r)}),()=>{s.forEach(r=>{const c=pr.get(r);c==null||c.delete(i),c!=null&&c.size||ta==null||ta.unobserve(r)})}}const yr=new Set;let gi;function aE(){gi=()=>{const a={get width(){return window.innerWidth},get height(){return window.innerHeight}};yr.forEach(i=>i(a))},window.addEventListener("resize",gi)}function iE(a){return yr.add(a),gi||aE(),()=>{yr.delete(a),!yr.size&&typeof gi=="function"&&(window.removeEventListener("resize",gi),gi=void 0)}}function Ay(a,i){return typeof a=="function"?iE(a):nE(a,i)}function lE(a){return Nf(a)&&a.tagName==="svg"}const sE=[...N0,Pt,Pe],rE=a=>sE.find(R0(a)),Ey=()=>({translate:0,scale:1,origin:0,originPoint:0}),vi=()=>({x:Ey(),y:Ey()}),My=()=>({min:0,max:0}),Wt=()=>({x:My(),y:My()}),oE=new WeakMap;function Or(a){return a!==null&&typeof a=="object"&&typeof a.start=="function"}function Ol(a){return typeof a=="string"||Array.isArray(a)}const zf=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Of=["initial",...zf];function Vr(a){return Or(a.animate)||Of.some(i=>Ol(a[i]))}function k0(a){return!!(Vr(a)||a.variants)}function uE(a,i,s){for(const r in i){const c=i[r],f=s[r];if(oe(c))a.addValue(r,c);else if(oe(f))a.addValue(r,Si(c,{owner:a}));else if(f!==c)if(a.hasValue(r)){const d=a.getValue(r);d.liveStyle===!0?d.jump(c):d.hasAnimated||d.set(c)}else{const d=a.getStaticValue(r);a.addValue(r,Si(d!==void 0?d:c,{owner:a}))}}for(const r in s)i[r]===void 0&&a.removeValue(r);return i}const Qc={current:null},Y0={current:!1},cE=typeof window<"u";function fE(){if(Y0.current=!0,!!cE)if(window.matchMedia){const a=window.matchMedia("(prefers-reduced-motion)"),i=()=>Qc.current=a.matches;a.addEventListener("change",i),i()}else Qc.current=!1}const Dy=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Dr={};function q0(a){Dr=a}function dE(){return Dr}class hE{scrapeMotionValuesFromProps(i,s,r){return{}}constructor({parent:i,props:s,presenceContext:r,reducedMotionConfig:c,skipAnimations:f,blockInitialAnimation:d,visualState:p},y={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Af,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const A=de.now();this.renderScheduledAt<A&&(this.renderScheduledAt=A,Rt.render(this.render,!1,!0))};const{latestValues:m,renderState:g}=p;this.latestValues=m,this.baseTarget={...m},this.initialValues=s.initial?{...m}:{},this.renderState=g,this.parent=i,this.props=s,this.presenceContext=r,this.depth=i?i.depth+1:0,this.reducedMotionConfig=c,this.skipAnimationsConfig=f,this.options=y,this.blockInitialAnimation=!!d,this.isControllingVariants=Vr(s),this.isVariantNode=k0(s),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(i&&i.current);const{willChange:S,...x}=this.scrapeMotionValuesFromProps(s,{},this);for(const A in x){const j=x[A];m[A]!==void 0&&oe(j)&&j.set(m[A])}}mount(i){var s,r;if(this.hasBeenMounted)for(const c in this.initialValues)(s=this.values.get(c))==null||s.jump(this.initialValues[c]),this.latestValues[c]=this.initialValues[c];this.current=i,oE.set(i,this),this.projection&&!this.projection.instance&&this.projection.mount(i),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
230h((c,f)=>this.bindToMotionValue(f,c)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Y0.current||fE(),this.shouldReduceMotion=Qc.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(r=this.parent)==null||r.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var i;this.projection&&this.projection.unmount(),ia(this.notifyUpdate),ia(this.render),this.valueSubscriptions.forEach(s=>s()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(i=this.parent)==null||i.removeChild(this);for(const s in this.events)this.events[s].clear();for(const s in this.features){const r=this.features[s];r&&(r.unmount(),r.isMounted=!1)}this.current=null}addChild(i){this.children.add(i),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(i)}removeChild(i){this.children.delete(i),this.enteringChildren&&this.enteringChildren.delete(i)}bindToMotionValue(i,s){if(this.valueSubscriptions.has(i)&&this.valueSubscriptions.get(i)(),s.accelerate&&T0.has(i)&&this.current instanceof HTMLElement){const{factory:d,keyframes:p,times:y,ease:m,duration:g}=s.accelerate,S=new S0({element:this.current,name:i,keyframes:p,times:y,ease:m,duration:Ne(g)}),x=d(S);this.valueSubscriptions.set(i,()=>{x(),S.cancel()});return}const r=Mi.has(i);r&&this.onBindTransform&&this.onBindTransform();const c=s.on("change",d=>{this.latestValues[i]=d,this.props.onUpdate&&Rt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let f;typeof window<"u"&&window.MotionCheckAppearSync&&(f=window.MotionCheckAppearSync(this,i,s)),this.valueSubscriptions.set(i,()=>{c(),f&&f(),s.owner&&s.stop()})}sortNodePosition(i){return!this.current||!this.sortInstanceNodePosition||this.type!==i.type?0:this.sortInstanceNodePosition(this.current,i.current)}updateFeatures(){let i="animation";for(i in Dr){const s=Dr[i];if(!s)continue;const{isEnabled:r,Feature:c}=s;if(!this.features[i]&&c&&r(this.props)&&(this.features[i]=new c(this)),this.features[i]){const f=this.features[i];f.isMounted?f.update():(f.mount(),f.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Wt()}getStaticValue(i){return this.latestValues[i]}setStaticValue(i,s){this.latestValues[i]=s}update(i,s){(i.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=i,this.prevPresenceContext=this.presenceContext,this.presenceContext=s;for(let r=0;r<Dy.length;r++){const c=Dy[r];this.propEventSubscriptions[c]&&(this.propEventSubscriptions[c](),delete this.propEventSubscriptions[c]);const f="on"+c,d=i[f];d&&(this.propEventSubscriptions[c]=this.on(c,d))}this.prevMotionValues=uE(this,this.scrapeMotionValuesFromProps(i,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(i){return this.props.variants?this.props.variants[i]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(i){const s=this.getClosestVariantNode();if(s)return s.variantChildren&&s.variantChildren.add(i),()=>s.variantChildren.delete(i)}addValue(i,s){const r=this.values.get(i);s!==r&&(r&&this.removeValue(i),this.bindToMotionValue(i,s),this.values.set(i,s),this.latestValues[i]=s.get())}removeValue(i){this.values.delete(i);const s=this.valueSubscriptions.get(i);s&&(s(),this.valueSubscriptions.delete(i)),delete this.latestValues[i],this.removeValueFromRenderState(i,this.renderState)}hasValue(i){return this.values.has(i)}getValue(i,s){if(this.props.values&&this.props.values[i])return this.props.values[i];let r=this.values.get(i);return r===void 0&&s!==void 0&&(r=Si(s===null?void 0:s,{owner:this}),this.addValue(i,r)),r}readValue(i,s){let r=this.latestValues[i]!==void 0||!this.current?this.latestValues[i]:this.getBaseTargetFromProps(this.props,i)??this.readValueFromInstance(this.current,i,this.options);return r!=null&&(typeof r=="string"&&(kg(r)||qg(r))?r=parseFloat(r):!rE(r)&&Pe.test(s)&&(r=O0(i,s)),this.setBaseTarget(i,oe(r)?r.get():r)),oe(r)?r.get():r}setBaseTarget(i,s){this.baseTarget[i]=s}getBaseTarget(i){var f;const{initial:s}=this.props;let r;if(typeof s=="string"||typeof s=="object"){const d=Df(this.props,s,(f=this.presenceContext)==null?void 0:f.custom);d&&(r=d[i])}if(s&&r!==void 0)return r;const c=this.getBaseTargetFromProps(this.props,i);return c!==void 0&&!oe(c)?c:this.initialValues[i]!==void 0&&r===void 0?void 0:this.baseTarget[i]}on(i,s){return this.events[i]||(this.events[i]=new mf),this.events[i].add(s)}notify(i,...s){this.events[i]&&this.events[i].notify(...s)}scheduleRenderMicrotask(){wf.render(this.render)}}class G0 extends hE{constructor(){super(...arguments),this.KeyframeResolver=kA}sortInstanceNodePosition(i,s){return i.compareDocumentPosition(s)&2?1:-1}getBaseTargetFromProps(i,s){const r=i.style;return r?r[s]:void 0}removeValueFromRenderState(i,{vars:s,style:r}){delete s[i],delete r[i]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:i}=this.props;oe(i)&&(this.childSubscription=i.on("change",s=>{this.current&&(this.current.textContent=`${s}`)}))}}class la{constructor(i){this.isMounted=!1,this.node=i}update(){}}function X0({top:a,left:i,right:s,bottom:r}){return{x:{min:i,max:s},y:{min:a,max:r}}}function mE({x:a,y:i}){return{top:i.min,right:a.max,bottom:i.max,left:a.min}}function pE(a,i){if(!i)return a;const s=i({x:a.left,y:a.top}),r=i({x:a.right,y:a.bottom});return{top:s.y,left:s.x,bottom:r.y,right:r.x}}function gc(a){return a===void 0||a===1}function Fc({scale:a,scaleX:i,scaleY:s}){return!gc(a)||!gc(i)||!gc(s)}function Da(a){return Fc(a)||K0(a)||a.z||a.rotate||a.rotateX||a.rotateY||a.skewX||a.skewY}function K0(a){return Cy(a.x)||Cy(a.y)}function Cy(a){return a&&a!=="0%"}function Cr(a,i,s){const r=a-s,c=i*r;return s+c}function jy(a,i,s,r,c){return c!==void 0&&(a=Cr(a,c,r)),Cr(a,s,r)+i}function Pc(a,i=0,s=1,r,c){a.min=jy(a.min,i,s,r,c),a.max=jy(a.max,i,s,r,c)}function Z0(a,{x:i,y:s}){Pc(a.x,i.translate,i.scale,i.originPoint),Pc(a.y,s.translate,s.scale,s.originPoint)}const wy=.999999999999,Ry=1.0000000000001;function yE(a,i,s,r=!1){var p;const c=s.length;if(!c)return;i.x=i.y=1;let f,d;for(let y=0;y<c;y++){f=s[y],d=f.projectionDelta;const{visualElement:m}=f.options;m&&m.props.style&&m.props.style.display==="contents"||(r&&f.options.layoutScroll&&f.scroll&&f!==f.root&&(en(a.x,-f.scroll.offset.x),en(a.y,-f.scroll.offset.y)),d&&(i.x*=d.x.scale,i.y*=d.y.scale,Z0(a,d)),r&&Da(f.latestValues)&&gr(a,f.latestValues,(p=f.layout)==null?void 0:p.layoutBox))}i.x<Ry&&i.x>wy&&(i.x=1),i.y<Ry&&i.y>wy&&(i.y=1)}function en(a,i){a.min+=i,a.max+=i}function Ny(a,i,s,r,c=.5){const f=Vt(a.min,a.max,c);Pc(a,i,s,f,r)}
230function zy(a,i){return typeof a=="string"?parseFloat(a)/100*(i.max-i.min):a}function gr(a,i,s){const r=s??a;Ny(a.x,zy(i.x,r.x),i.scaleX,i.scale,i.originX),Ny(a.y,zy(i.y,r.y),i.scaleY,i.scale,i.originY)}function Q0(a,i){return X0(pE(a.getBoundingClientRect(),i))}function gE(a,i,s){const r=Q0(a,s),{scroll:c}=i;return c&&(en(r.x,c.offset.x),en(r.y,c.offset.y)),r}const vE={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},bE=Ei.length;function SE(a,i,s){let r="",c=!0;for(let f=0;f<bE;f++){const d=Ei[f],p=a[d];if(p===void 0)continue;let y=!0;if(typeof p=="number")y=p===(d.startsWith("scale")?1:0);else{const m=parseFloat(p);y=d.startsWith("scale")?m===1:m===0}if(!y||s){const m=_0(p,jf[d]);if(!y){c=!1;const g=vE[d]||d;r+=`${g}(${m}) `}s&&(i[d]=m)}}return r=r.trim(),s?r=s(i,c?"":r):c&&(r="none"),r}function Vf(a,i,s){const{style:r,vars:c,transformOrigin:f}=a;let d=!1,p=!1;for(const y in i){const m=i[y];if(Mi.has(y)){d=!0;continue}else if(a0(y)){c[y]=m;continue}else{const g=_0(m,jf[y]);y.startsWith("origin")?(p=!0,f[y]=g):r[y]=g}}if(i.transform||(d||s?r.transform=SE(i,a.transform,s):r.transform&&(r.transform="none")),p){const{originX:y="50%",originY:m="50%",originZ:g=0}=f;r.transformOrigin=`${y} ${m} ${g}`}}function F0(a,{style:i,vars:s},r,c){const f=a.style;let d;for(d in i)f[d]=i[d];c==null||c.applyProjectionStyles(f,r);for(d in s)f.setProperty(d,s[d])}function Oy(a,i){return i.max===i.min?0:a/(i.max-i.min)*100}const Al={correct:(a,i)=>{if(!i.target)return a;
230if(typeof a=="string")if(J.test(a))a=parseFloat(a);else return a;const s=Oy(a,i.target.x),r=Oy(a,i.target.y);return`${s}% ${r}%`}},xE={correct:(a,{treeScale:i,projectionDelta:s})=>{const r=a,c=Pe.parse(a);if(c.length>5)return r;const f=Pe.createTransformer(a),d=typeof c[0]!="number"?1:0,p=s.x.scale*i.x,y=s.y.scale*i.y;c[0+d]/=p,c[1+d]/=y;const m=Vt(p,y,.5);return typeof c[2+d]=="number"&&(c[2+d]/=m),typeof c[3+d]=="number"&&(c[3+d]/=m),f(c)}},Jc={borderRadius:{...Al,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Al,borderTopRightRadius:Al,borderBottomLeftRadius:Al,borderBottomRightRadius:Al,boxShadow:xE};function P0(a,{layout:i,layoutId:s}){return Mi.has(a)||a.startsWith("origin")||(i||s!==void 0)&&(!!Jc[a]||a==="opacity")}function _f(a,i,s){var d;const r=a.style,c=i==null?void 0:i.style,f={};if(!r)return f;for(const p in r)(oe(r[p])||c&&oe(c[p])||P0(p,a)||((d=s==null?void 0:s.getValue(p))==null?void 0:d.liveStyle)!==void 0)&&(f[p]=r[p]);return f}function TE(a){return window.getComputedStyle(a)}class AE extends G0{constructor(){super(...arguments),this.type="html",this.renderInstance=F0}readValueFromInstance(i,s){var r;if(Mi.has(s))return(r=this.projection)!=null&&r.isProjecting?Bc(s):qT(i,s);{const c=TE(i),f=(a0(s)?c.getPropertyValue(s):c[s])||0;return typeof f=="string"?f.trim():f}}measureInstanceViewportBox(i,{transformPagePoint:s}){return Q0(i,s)}build(i,s,r){Vf(i,s,r.transformTemplate)}scrapeMotionValuesFromProps(i,s,r){return _f(i,s,r)}}const EE={offset:"stroke-dashoffset",array:"stroke-dasharray"},ME={offset:"strokeDashoffset",array:"strokeDasharray"};function DE(a,i,s=1,r=0,c=!0){a.pathLength=1;const f=c?EE:ME;a[f.offset]=`${-r}`,a[f.array]=`${i} ${s}`}const CE=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function J0(a,{attrX:i,attrY:s,attrScale:r,pathLength:c,pathSpacing:f=1,pathOffset:d=0,...p},y,m,g){if(Vf(a,p,m),y){a.style.viewBox&&(a.attrs.viewBox=a.style.viewBox);return}a.attrs=a.style,a.style={};const{attrs:S,style:x}=a;S.transform&&(x.transform=S.transform,delete S.transform),(x.transform||S.transformOrigin)&&(x.transformOrigin=S.transformOrigin??"50% 50%",delete S.transformOrigin),x.transform&&(x.transformBox=(g==null?void 0:g.transformBox)??"fill-box",delete S.transformBox);for(const A of CE)S[A]!==void 0&&(x[A]=S[A],delete S[A]);i!==void 0&&(S.x=i),s!==void 0&&(S.y=s),r!==void 0&&(S.scale=r),c!==void 0&&DE(S,c,f,d,!1)}const W0=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),$0=a=>typeof a=="string"&&a.toLowerCase()==="svg";function jE(a,i,s,r){F0(a,i,void 0,r);for(const c in i.attrs)a.setAttribute(W0.has(c)?c:Cf(c),i.attrs[c])}function I0(a,i,s){const r=_f(a,i,s);for(const c in a)if(oe(a[c])||oe(i[c])){const f=Ei.indexOf(c)!==-1?"attr"+c.charAt(0).toUpperCase()+c.substring(1):c;r[f]=a[c]}return r}class wE extends G0{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Wt}getBaseTargetFromProps(i,s){return i[s]}readValueFromInstance(i,s){if(Mi.has(s)){const r=z0(s);return r&&r.default||0}return s=W0.has(s)?s:Cf(s),i.getAttribute(s)}scrapeMotionValuesFromProps(i,s,r){return I0(i,s,r)}build(i,s,r){J0(i,s,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(i,s,r,c){jE(i,s,r,c)}mount(i){this.isSVGTag=$0(i.tagName),super.mount(i)}}const RE=Of.length;function tv(a){if(!a)return;if(!a.isControllingVariants){const s=a.parent?tv(a.parent)||{}:{};return a.props.initial!==void 0&&(s.initial=a.props.initial),s}const i={};for(let s=0;s<RE;s++){const r=Of[s],c=a.props[r];(Ol(c)||c===!1)&&(i[r]=c)}return i}function ev(a,i){if(!Array.isArray(i))return!1;const s=i.length;if(s!==a.length)return!1;for(let r=0;r<s;r++)if(i[r]!==a[r])return!1;return!0}const NE=[...zf].reverse(),zE=zf.length;function OE(a){return i=>Promise.all(i.map(({animation:s,options:r})=>wA(a,s,r)))}function VE(a){let i=OE(a),s=Vy(),r=!0,c=!1;const f=m=>(g,S)=>{var A;const x=Ra(a,S,m==="exit"?(A=a.presenceContext)==null?void 0:A.custom:void 0);if(x){const{transition:j,transitionEnd:B,...w}=x;g={...g,...w,...B}}return g};function d(m){i=m(a)}function p(m){const{props:g}=a,S=tv(a.parent)||{},x=[],A=new Set;let j={},B=1/0;for(let O=0;O<zE;O++){const G=NE[O],V=s[G],X=g[G]!==void 0?g[G]:S[G],Q=Ol(X),it=G===m?V.isActive:null;it===!1&&(B=O);let W=X===S[G]&&X!==g[G]&&Q;if(W&&(r||c)&&a.manuallyAnimateOnMount&&(W=!1),V.protectedKeys={...j},!V.isActive&&it===null||!X&&!V.prevProp||Or(X)||typeof X=="boolean")continue;if(G==="exit"&&V.isActive&&it!==!0){V.prevResolvedValues&&(j={...j,...V.prevResolvedValues});continue}const et=_E(V.prevProp,X);let rt=et||G===m&&V.isActive&&!W&&Q||O>B&&Q,tt=!1;const mt=Array.isArray(X)?X:[X];let St=mt.reduce(f(G),{});it===!1&&(St={});const{prevResolvedValues:ee={}}=V,Ut={...ee,...St},Bt=H=>{rt=!0,A.has(H)&&(tt=!0,A.delete(H)),V.needsAnimating[H]=!0;const K=a.getValue(H);K&&(K.liveStyle=!1)};for(const H in Ut){const K=St[H],lt=ee[H];if(j.hasOwnProperty(H))continue;let E=!1;qc(K)&&qc(lt)?E=!ev(K,lt):E=K!==lt,E?K!=null?Bt(H):A.add(H):K!==void 0&&A.has(H)?Bt(H):V.protectedKeys[H]=!0}V.prevProp=X,V.prevResolvedValues=St,V.isActive&&(j={...j,...St}),(r||c)&&a.blockInitialAnimation&&(rt=!1);const L=W&&et;rt&&(!L||tt)&&x.push(...mt.map(H=>{const K={type:G};if(typeof H=="string"&&(r||c)&&!L&&a.manuallyAnimateOnMount&&a.parent){const{parent:lt}=a,E=Ra(lt,H);if(lt.enteringChildren&&E){const{delayChildren:q}=E.transition||{};K.delay=A0(lt.enteringChildren,a,q)}}return{animation:H,options:K}}))}if(A.size){const O={};if(typeof g.initial!="boolean"){const G=Ra(a,Array.isArray(g.initial)?g.initial[0]:g.initial);G&&G.transition&&(O.transition=G.transition)}A.forEach(G=>{const V=a.getBaseTarget(G),X=a.getValue(G);X&&(X.liveStyle=!0),O[G]=V??null}),x.push({animation:O})}let w=!!x.length;return r&&(g.initial===!1||g.initial===g.animate)&&!a.manuallyAnimateOnMount&&(w=!1),r=!1,c=!1,w?i(x):Promise.resolve()}function y(m,g){var x;if(s[m].isActive===g)return Promise.resolve();(x=a.variantChildren)==null||x.forEach(A=>{var j;return(j=A.animationState)==null?void 0:j.setActive(m,g)}),s[m].isActive=g;const S=p(m);for(const A in s)s[A].protectedKeys={};return S}return{animateChanges:p,setActive:y,setAnimateFunction:d,getState:()=>s,reset:()=>{s=Vy(),c=!0}}}function _E(a,i){return typeof i=="string"?i!==a:Array.isArray(i)?!ev(i,a):!1}function Ma(a=!1){return{isActive:a,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Vy(){return{animate:Ma(!0),whileInView:Ma(),whileHover:Ma(),whileTap:Ma(),whileDrag:Ma(),whileFocus:Ma(),exit:Ma()}}function Wc(a,i){a.min=i.min,a.max=i.max}function Qe(a,i){Wc(a.x,i.x),Wc(a.y,i.y)}function _y(a,i){a.translate=i.translate,a.scale=i.scale,a.originPoint=i.originPoint,a.origin=i.origin}const nv=1e-4,BE=1-nv,LE=1+nv,av=.01,UE=0-av,HE=0+av;function he(a){return a.max-a.min}function kE(a,i,s){return Math.abs(a-i)<=s}function By(a,i,s,r=.5){a.origin=r,a.originPoint=Vt(i.min,i.max,a.origin),a.scale=he(s)/he(i),a.translate=Vt(s.min,s.max,a.origin)-a.originPoint,(a.scale>=BE&&a.scale<=LE||isNaN(a.scale))&&(a.scale=1),(a.translate>=UE&&a.translate<=HE||isNaN(a.translate))&&(a.translate=0)}function jl(a,i,s,r){By(a.x,i.x,s.x,r?r.originX:void 0),By(a.y,i.y,s.y,r?r.originY:void 0)}function Ly(a,i,s,r=0){const c=r?Vt(s.min,s.max,r):s.min;a.min=c+i.min,a.max=a.min+he(i)}function YE(a,i,s,r){Ly(a.x,i.x,s.x,r==null?void 0:r.x),Ly(a.y,i.y,s.y,r==null?void 0:r.y
vendor: 1,755 bytes, line 230
230)}function Uy(a,i,s,r=0){const c=r?Vt(s.min,s.max,r):s.min;a.min=i.min-c,a.max=a.min+he(i)}function jr(a,i,s,r){Uy(a.x,i.x,s.x,r==null?void 0:r.x),Uy(a.y,i.y,s.y,r==null?void 0:r.y)}function Hy(a,i,s,r,c){return a-=i,a=Cr(a,1/s,r),c!==void 0&&(a=Cr(a,1/c,r)),a}function qE(a,i=0,s=1,r=.5,c,f=a,d=a){if(nn.test(i)&&(i=parseFloat(i),i=Vt(d.min,d.max,i/100)-d.min),typeof i!="number")return;let p=Vt(f.min,f.max,r);a===f&&(p-=i),a.min=Hy(a.min,i,s,p,c),a.max=Hy(a.max,i,s,p,c)}function ky(a,i,[s,r,c],f,d){qE(a,i[s],i[r],i[c],i.scale,f,d)}const GE=["x","scaleX","originX"],XE=["y","scaleY","originY"];function Yy(a,i,s,r){ky(a.x,i,GE,s?s.x:void 0,r?r.x:void 0),ky(a.y,i,XE,s?s.y:void 0,r?r.y:void 0)}function qy(a){return a.translate===0&&a.scale===1}function iv(a){return qy(a.x)&&qy(a.y)}function Gy(a,i){return a.min===i.min&&a.max===i.max}function KE(a,i){return Gy(a.x,i.x)&&Gy(a.y,i.y)}function Xy(a,i){return Math.round(a.min)===Math.round(i.min)&&Math.round(a.max)===Math.round(i.max)}function lv(a,i){return Xy(a.x,i.x)&&Xy(a.y,i.y)}function Ky(a){return he(a.x)/he(a.y)}function Zy(a,i){return a.translate===i.translate&&a.scale===i.scale&&a.originPoint===i.originPoint}function tn(a){return[a("x"),a("y")]}function ZE(a,i,s){let r="";const c=a.x.translate/i.x,f=a.y.translate/i.y,d=(s==null?void 0:s.z)||0;if((c||f||d)&&(r=`translate3d(${c}px, ${f}px, ${d}px) `),(i.x!==1||i.y!==1)&&(r+=`scale(${1/i.x}, ${1/i.y}) `),s){const{transformPerspective:m,rotate:g,rotateX:S,rotateY:x,skewX:A,skewY:j}=s;m&&(r=`perspective(${m}px) ${r}`),g&&(r+=`rotate(${g}deg) `),S&&(r+=`rotateX(${S}deg) `),x&&(r+=`rotateY(${x}deg) `),A&&(r+=`skewX(${A}deg) `),j&&(r+=`skewY(${j}deg) `)}const p=a.x.scale*i.x,y=a.y.scale*i.y;return(p!==1||y!==1)&&(r+=`scale(${p}, ${y}
230)`),r||"none"}const sv=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],QE=sv.length,Qy=a=>typeof a=="string"?parseFloat(a):a,Fy=a=>typeof a=="number"||J.test(a);function FE(a,i,s,r,c,f){c?(a.opacity=Vt(0,s.opacity??1,PE(r)),a.opacityExit=Vt(i.opacity??1,0,JE(r))):f&&(a.opacity=Vt(i.opacity??1,s.opacity??1,r));for(let d=0;d<QE;d++){const p=sv[d];let y=Py(i,p),m=Py(s,p);if(y===void 0&&m===void 0)continue;y||(y=0),m||(m=0),y===0||m===0||Fy(y)===Fy(m)?(a[p]=Math.max(Vt(Qy(y),Qy(m),r),0),(nn.test(m)||nn.test(y))&&(a[p]+="%")):a[p]=m}(i.rotate||s.rotate)&&(a.rotate=Vt(i.rotate||0,s.rotate||0,r))}function Py(a,i){return a[i]!==void 0?a[i]:a.borderRadius}const PE=rv(0,.5,Wg),JE=rv(.5,.95,Ge);function rv(a,i,s){return r=>r<a?0:r>i?1:s(Nl(a,i,r))}function WE(a,i,s){const r=oe(a)?a:Si(a);return r.start(Mf("",r,i,s)),r.animation}function Vl(a,i,s,r={passive:!0}){return a.addEventListener(i,s,r),()=>a.removeEventListener(i,s)}const $E=(a,i)=>a.depth-i.depth;class IE{constructor(){this.children=[],this.isDirty=!1}add(i){df(this.children,i),this.isDirty=!0}remove(i){xr(this.children,i),this.isDirty=!0}forEach(i){this.isDirty&&this.children.sort($E),this.isDirty=!1,this.children.forEach(i)}}function tM(a,i){const s=de.now(),r=({timestamp:c})=>{const f=c-s;f>=i&&(ia(r),a(f-i))};return Rt.setup(r,!0),()=>ia(r)}function vr(a){return oe(a)?a.get():a}class eM{constructor(){this.members=[]}add(i){df(this.members,i);for(let s=this.members.length-1;s>=0;s--){const r=this.members[s];if(r===i||r===this.lead||r===this.prevLead)continue;const c=r.instance;(!c||c.isConnected===!1)&&!r.snapshot&&(xr(this.members,r),r.unmount())}i.scheduleRender()}remove(i){if(xr(this.members,i),i===this.prevLead&&(this.prevLead=void 0),i===this.lead){const s=this.members[this.members.length-1];s&&this.promote(s)}}relegate(i){var s;for(let r=this.members.indexOf(i)-1;r>=0;r--){const c=this.members[r];if(c.isPresent!==!1&&((s=c.instance)==null?void 0:s.isConnected)!==!1)return this.promote(c),!0}return!1}promote(i,s){var c;const r=this.lead;if(i!==r&&(this.prevLead=r,this.lead=i,i.show(),r)){r.updateSnapshot(),i.scheduleRender();const{layoutDependency:f}=r.options,{layoutDependency:d}=i.options;(f===void 0||f!==d)&&(i.resumeFrom=r,s&&(r.preserveOpacity=!0),r.snapshot&&(i.snapshot=r.snapshot,i.snapshot.latestValues=r.animationValues||r.latestValues),(c=i.root)!=null&&c.isUpdating&&(i.isLayoutDirty=!0)),i.options.crossfade===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(i=>{var s,r,c,f,d;(r=(s=i.options).onExitComplete)==null||r.call(s),(d=(c=i.resumingFrom)==null?void 0:(f=c.options).onExitComplete)==null||d.call(f)})}scheduleRender(){this.members.forEach(i=>i.instance&&i.scheduleRender(!1))}removeLeadSnapshot(){var i;(i=this.lead)!=null&&i.snapshot&&(this.lead.snapshot=void 0)}}const br={hasAnimatedSinceResize:!0,hasEverUpdated:!1},vc=["","X","Y","Z"],nM=1e3;let aM=0;function bc(a,i,s,r){const{latestValues:c}=i;c[a]&&(s[a]=c[a],i.setStaticValue(a,0),r&&(r[a]=0))}function ov(a){if(a.hasCheckedOptimisedAppear=!0,a.root===a)return;const{visualElement:i}=a.options;if(!i)return;const s=j0(i);if(window.MotionHasOptimisedAnimation(s,"transform")){const{layout:c,layoutId:f}=a.options;window.MotionCancelOptimisedAnimation(s,"transform",Rt,!(c||f))}const{parent:r}=a;r&&!r.hasCheckedOptimisedAppear&&ov(r)}function uv({attachResizeListener:a,defaultParent:i,measureScroll:s,checkIsScrollRoot:r,resetTransform:c}){return class{constructor(d={},p=i==null?void 0:i()){this.id=aM++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>
230{this.projectionUpdateScheduled=!1,this.nodes.forEach(sM),this.nodes.forEach(dM),this.nodes.forEach(hM),this.nodes.forEach(rM)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=d,this.root=p?p.root||p:this,this.path=p?[...p.path,p]:[],this.parent=p,this.depth=p?p.depth+1:0;for(let y=0;y<this.path.length;y++)this.path[y].shouldResetTransform=!0;this.root===this&&(this.nodes=new IE)}addEventListener(d,p){return this.eventHandlers.has(d)||this.eventHandlers.set(d,new mf),this.eventHandlers.get(d).add(p)}notifyListeners(d,...p){const y=this.eventHandlers.get(d);y&&y.notify(...p)}hasListeners(d){return this.eventHandlers.has(d)}mount(d){if(this.instance)return;this.isSVG=Nf(d)&&!lE(d),this.instance=d;const{layoutId:p,layout:y,visualElement:m}=this.options;if(m&&!m.current&&m.mount(d),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(y||p)&&(this.isLayoutDirty=!0),a){let g,S=0;const x=()=>this.root.updateBlockedByResize=!1;Rt.read(()=>{S=window.innerWidth}),a(d,()=>{const A=window.innerWidth;A!==S&&(S=A,this.root.updateBlockedByResize=!0,g&&g(),g=tM(x,250),br.hasAnimatedSinceResize&&(br.hasAnimatedSinceResize=!1,this.nodes.forEach($y)))})}p&&this.root.registerSharedNode(p,this),this.options.animate!==!1&&m&&(p||y)&&this.addEventListener("didUpdate",({delta:g,hasLayoutChanged:S,hasRelativeLayoutChanged:x,layout:A})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const j=this.options.transition||m.getDefaultTransition()||vM,{onLayoutAnimationStart:B,onLayoutAnimationComplete:w}=m.getProps(),O=!this.targetLayout||!lv(this.targetLayout,A),G=!S&&x;if(this.options.layoutRoot||this.resumeFrom||G||S&&(O||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const V={...Ef(j,"layout"),onPlay:B,onComplete:w};(m.shouldReduceMotion||this.options.layoutRoot)&&(V.delay=0,V.type=!1),this.startAnimation(V),this.setAnimationOrigin(g,G)}else S||$y(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=A})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const d=this.getStack();d&&d.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),ia(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(mM),this.animationId++)}getTransformTemplate(){const{visualElement:d}=this.options;return d&&d.getProps().transformTemplate}willUpdate(d=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&ov(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let g=0;g<this.path.length;g++){const S=this.path[g];S.shouldResetTransform=!0,(typeof S.latestValues.x=="string"||typeof S.latestValues.y=="string")&&(S.isLayoutDirty=!0),S.updateScroll("snapshot"),S.options.layoutRoot&&S.willUpdate(!1)}const{layoutId:p,layout:y}=this.options;if(p===void 0&&!y)return;const m=this.getTransformTemplate();this.prevTransformTemplateValue=m?m(this.latestValues,""):void 0,this.updateSnapshot(),d&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const y=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),y&&this.nodes.forEach(uM),this.nodes.forEach(Jy);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Wy);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEac
230h(cM),this.nodes.forEach(fM),this.nodes.forEach(iM),this.nodes.forEach(lM)):this.nodes.forEach(Wy),this.clearAllSnapshots();const p=de.now();re.delta=ln(0,1e3/60,p-re.timestamp),re.timestamp=p,re.isProcessing=!0,cc.update.process(re),cc.preRender.process(re),cc.render.process(re),re.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,wf.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(oM),this.sharedNodes.forEach(pM)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Rt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Rt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!he(this.snapshot.measuredBox.x)&&!he(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let y=0;y<this.path.length;y++)this.path[y].updateScroll();const d=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=Wt()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:p}=this.options;p&&p.notify("LayoutMeasure",this.layout.layoutBox,d?d.layoutBox:void 0)}updateScroll(d="measure"){let p=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===d&&(p=!1),p&&this.instance){const y=r(this.instance);this.scroll={animationId:this.root.animationId,phase:d,isRoot:y,offset:s(this.instance),wasRoot:this.scroll?this.scroll.isRoot:y}}}resetTransform(){if(!c)return;const d=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,p=this.projectionDelta&&!iv(this.projectionDelta),y=this.getTransformTemplate(),m=y?y(this.latestValues,""):void 0,g=m!==this.prevTransformTemplateValue;d&&this.instance&&(p||Da(this.latestValues)||g)&&(c(this.instance,m),this.shouldResetTransform=!1,this.scheduleRender())}measure(d=!0){const p=this.measurePageBox();let y=this.removeElementScroll(p);return d&&(y=this.removeTransform(y)),bM(y),{animationId:this.root.animationId,measuredBox:p,layoutBox:y,latestValues:{},source:this.id}}measurePageBox(){var m;const{visualElement:d}=this.options;if(!d)return Wt();const p=d.measureViewportBox();if(!(((m=this.scroll)==null?void 0:m.wasRoot)||this.path.some(SM))){const{scroll:g}=this.root;g&&(en(p.x,g.offset.x),en(p.y,g.offset.y))}return p}removeElementScroll(d){var y;const p=Wt();if(Qe(p,d),(y=this.scroll)!=null&&y.wasRoot)return p;for(let m=0;m<this.path.length;m++){const g=this.path[m],{scroll:S,options:x}=g;g!==this.root&&S&&x.layoutScroll&&(S.wasRoot&&Qe(p,d),en(p.x,S.offset.x),en(p.y,S.offset.y))}return p}applyTransform(d,p=!1,y){var g,S;const m=y||Wt();Qe(m,d);for(let x=0;x<this.path.length;x++){const A=this.path[x];!p&&A.options.layoutScroll&&A.scroll&&A!==A.root&&(en(m.x,-A.scroll.offset.x),en(m.y,-A.scroll.offset.y)),Da(A.latestValues)&&gr(m,A.latestValues,(g=A.layout)==null?void 0:g.layoutBox)}return Da(this.latestValues)&&gr(m,this.latestValues,(S=this.layout)==null?void 0:S.layoutBox),m}removeTransform(d){var y;const p=Wt();Qe(p,d);for(let m=0;m<this.path.length;m++){const g=this.path[m];if(!Da(g.latestValues))continue;let S;g.instance&&(Fc(g.latestValues)&&g.updateSnapshot(),S=Wt(),Qe(S,g.measurePageBox())),Yy(p,g.latestValues,(y=g.snapshot)==null?void 0:y.layoutBox,S)}return Da(this.latestValues)&&Yy(p,this.latestValues),p}setTargetDelta(d){this.targetDelta=d,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(d){this.options={...this.options,...d,crossfade:d.crossfade!==void 0?d.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==re.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(d=!1){var A;const p=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=p.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=p.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=p.isSharedProjectionDirty);const y=!!this.resumingFrom||this!==p;if(!(d||y&&this.isSharedProjectionDirty||this.isProjectionDirty||(A=this.parent)!=null&&A.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:g,layoutId:S}=this.options;if(!this.layout||!(g||S))return;this.resolvedRelativeTargetAt=re.timestamp;const x=this.getClosestProjectingParent();x&&this.linkedParentVersion!==x.layoutVersion&&!x.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&x&&x.layout?this.createRelativeTarget(x,this.layout.layoutBox,x.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Wt(),this.targetWithTransforms=Wt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),YE(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Qe(this.target,this.layout.layoutBox),Z0(this.target,this.targetDelta)):Qe(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&x&&!!x.resumingFrom==!!this.resumingFrom&&!x.options.layoutScroll&&x.target&&this.animationProgress!==1?this.createRelativeTarget(x,this.target,x.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Fc(this.parent.latestValues)||K0(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(d,p,y){this.relativeParent=d,this.linkedParentVersion=d.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Wt(),this.relativeTargetOrigin=Wt(),jr(this.relativeTargetOrigin,p,y,this.options.layoutAnchor||void 0),Qe(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var j;const d=this.getLead(),p=!!this.resumingFrom||this!==d;let y=!0;if((this.isProjectionDirty||(j=this.parent)!=null&&j.isProjectionDirty)&&
vendor: 5,333 bytes, line 230
230(y=!1),p&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(y=!1),this.resolvedRelativeTargetAt===re.timestamp&&(y=!1),y)return;const{layout:m,layoutId:g}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(m||g))return;Qe(this.layoutCorrected,this.layout.layoutBox);const S=this.treeScale.x,x=this.treeScale.y;yE(this.layoutCorrected,this.treeScale,this.path,p),d.layout&&!d.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(d.target=d.layout.layoutBox,d.targetWithTransforms=Wt());const{target:A}=d;if(!A){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(_y(this.prevProjectionDelta.x,this.projectionDelta.x),_y(this.prevProjectionDelta.y,this.projectionDelta.y)),jl(this.projectionDelta,this.layoutCorrected,A,this.latestValues),(this.treeScale.x!==S||this.treeScale.y!==x||!Zy(this.projectionDelta.x,this.prevProjectionDelta.x)||!Zy(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",A))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(d=!0){var p;if((p=this.options.visualElement)==null||p.scheduleRender(),d){const y=this.getStack();y&&y.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=vi(),this.projectionDelta=vi(),this.projectionDeltaWithTransform=vi()}setAnimationOrigin(d,p=!1){const y=this.snapshot,m=y?y.latestValues:{},g={...this.latestValues},S=vi();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!p;const x=Wt(),A=y?y.source:void 0,j=this.layout?this.layout.source:void 0,B=A!==j,w=this.getStack(),O=!w||w.members.length<=1,G=!!(B&&!O&&this.options.crossfade===!0&&!this.path.some(gM));this.animationProgress=0;let V;this.mixTargetDelta=X=>{const Q=X/1e3;Iy(S.x,d.x,Q),Iy(S.y,d.y,Q),this.setTargetDelta(S),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(jr(x,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),yM(this.relativeTarget,this.relativeTargetOrigin,x,Q),V&&KE(this.relativeTarget,V)&&(this.isProjectionDirty=!1),V||(V=Wt()),Qe(V,this.relativeTarget)),B&&(this.animationValues=g,FE(g,m,this.latestValues,Q,G,O)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=Q},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(d){var p,y,m;this.notifyListeners("animationStart"),(p=this.currentAnimation)==null||p.stop(),(m=(y=this.resumingFrom)==null?void 0:y.currentAnimation)==null||m.stop(),this.pendingAnimation&&(ia(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Rt.update(()=>{br.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Si(0)),this.motionValue.jump(0,!1),this.currentAnimation=WE(this.motionValue,[0,1e3],{...d,velocity:0,isSync:!0,onUpdate:g=>{this.mixTargetDelta(g),d.onUpdate&&d.onUpdate(g)},onStop:()=>{},onComplete:()=>{d.onComplete&&d.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const d=this.getStack();d&&d.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(nM),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const d=this.getLead();let{targetWithTransforms:p,target:y,layout:m,latestValues:g}=d;if(!(!p||!y||!m)){if(this!==d&&this.layout&&m&&cv(this.options.animationType,this.layout.layoutBox,m.layoutBox)){y=this.target||Wt();const S=he(this.layout.layoutBox.x);y.x.min=d.target.x.min,y.x.max=y.x.min+S;const x=he(this.layout.layoutBox.y);y.y.min=d.target.y.min,y.y.max=y.y.min+x}Qe(p,y),gr(p,g),jl(this.projectionDeltaWithTransform,this.layoutCorrected,p,g)}}registerSharedNode(d,p){this.sharedNodes.has(d)||this.sharedNodes.set(d,new eM),this.sharedNodes.get(d).add(p);const m=p.options.initialPromotionConfig;p.promote({transition:m?m.transition:void 0,preserveFollowOpacity:m&&m.shouldPreserveFollowOpacity?m.shouldPreserveFollowOpacity(p):void 0})}isLead(){const d=this.getStack();return d?d.lead===this:!0}getLead(){var p;const{layoutId:d}=this.options;return d?((p=this.getStack())==null?void 0:p.lead)||this:this}getPrevLead(){var p;const{layoutId:d}=this.options;return d?(p=this.getStack())==null?void 0:p.prevLead:void 0}getStack(){const{layoutId:d}=this.options;if(d)return this.root.sharedNodes.get(d)}promote({needsReset:d,transition:p,preserveFollowOpacity:y}={}){const m=this.getStack();m&&m.promote(this,y),d&&(this.projectionDelta=void 0,this.needsReset=!0),p&&this.setOptions({transition:p})}relegate(){const d=this.getStack();return d?d.relegate(this):!1}
230resetSkewAndRotation(){const{visualElement:d}=this.options;if(!d)return;let p=!1;const{latestValues:y}=d;if((y.z||y.rotate||y.rotateX||y.rotateY||y.rotateZ||y.skewX||y.skewY)&&(p=!0),!p)return;const m={};y.z&&bc("z",d,m,this.animationValues);for(let g=0;g<vc.length;g++)bc(`rotate${vc[g]}`,d,m,this.animationValues),bc(`skew${vc[g]}`,d,m,this.animationValues);d.render();for(const g in m)d.setStaticValue(g,m[g]),this.animationValues&&(this.animationValues[g]=m[g]);d.scheduleRender()}applyProjectionStyles(d,p){if(!this.instance||this.isSVG)return;if(!this.isVisible){d.visibility="hidden";return}const y=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,d.visibility="",d.opacity="",d.pointerEvents=vr(p==null?void 0:p.pointerEvents)||"",d.transform=y?y(this.latestValues,""):"none";return}const m=this.getLead();if(!this.projectionDelta||!this.layout||!m.target){this.options.layoutId&&(d.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,d.pointerEvents=vr(p==null?void 0:p.pointerEvents)||""),this.hasProjected&&!Da(this.latestValues)&&(d.transform=y?y({},""):"none",this.hasProjected=!1);return}d.visibility="";const g=m.animationValues||m.latestValues;this.applyTransformsToTarget();let S=ZE(this.projectionDeltaWithTransform,this.treeScale,g);y&&(S=y(g,S)),d.transform=S;const{x,y:A}=this.projectionDelta;d.transformOrigin=`${x.origin*100}% ${A.origin*100}% 0`,m.animationValues?d.opacity=m===this?g.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:g.opacityExit:d.opacity=m===this?g.opacity!==void 0?g.opacity:"":g.opacityExit!==void 0?g.opacityExit:0;for(const j in Jc){if(g[j]===void 0)continue;const{correct:B,applyTo:w,isCSSVariable:O}=Jc[j],G=S==="none"?g[j]:B(g[j],m);if(w){const V=w.length;for(let X=0;X<V;X++)d[w[X]]=G}else O?this.options.visualElement.renderState.vars[j]=G:d[j]=G}this.options.layoutId&&(d.pointerEvents=m===this?vr(p==null?void 0:p.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(d=>{var p;return(p=d.currentAnimation)==null?void 0:p.stop()}),this.root.nodes.forEach(Jy),this.root.sharedNodes.clear()}}}function iM(a){a.updateLayout()}function lM(a){var s;const i=((s=a.resumeFrom)==null?void 0:s.snapshot)||a.snapshot;if(a.isLead()&&a.layout&&i&&a.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:c}=a.layout,{animationType:f}=a.options,d=i.source!==a.layout.source;if(f==="size")tn(S=>{const x=d?i.measuredBox[S]:i.layoutBox[S],A=he(x);x.min=r[S].min,x.max=x.min+A});else if(f==="x"||f==="y"){const S=f==="x"?"y":"x";Wc(d?i.measuredBox[S]:i.layoutBox[S],r[S])}else cv(f,i.layoutBox,r)&&tn(S=>{const x=d?i.measuredBox[S]:i.layoutBox[S],A=he(r[S]);x.max=x.min+A,a.relativeTarget&&!a.currentAnimation&&(a.isProjectionDirty=!0,a.relativeTarget[S].max=a.relativeTarget[S].min+A)});const p=vi();jl(p,r,i.layoutBox);const y=vi();d?jl(y,a.applyTransform(c,!0),i.measuredBox):jl(y,r,i.layoutBox);const m=!iv(p);let g=!1;if(!a.resumeFrom){const S=a.getClosestProjectingParent();if(S&&!S.resumeFrom){const{snapshot:x,layout:A}=S;if(x&&A){const j=a.options.layoutAnchor||void 0,B=Wt();jr(B,i.layoutBox,x.layoutBox,j);const w=Wt();jr(w,r,A.layoutBox,j),lv(B,w)||(g=!0),S.options.layoutRoot&&(a.relativeTarget=w,a.relativeTargetOrigin=B,a.relativeParent=S)}}}a.notifyListeners("didUpdate",{layout:r,snapshot:i,delta:y,layoutDelta:p,hasLayoutChanged:m,hasRelativeLayoutChanged:g})}else if(a.isLead()){const{onExitComplete:r}=a.options;r&&r()}a.options.transition=void 0}function sM(a){a.parent&&(a.isProjecting()||(a.isProjectionDirty=a.parent.isProjectionDirty),a.isSharedProjectionDirty||(a.isSharedProjectionDirty=!!(a.isProjectionDirty||a.parent.isProjectionDirty||a.parent.isSharedProjectionDirty)),a.isTransformDirty||(a.isTransformDirty=a.parent.isTransformDirty))}function rM(a){a.isProjectionDirty=a.isSharedProjectionDirty=a.isTransformDirty=!1}function oM(a){a.clearSnapshot()}function Jy(a){a.clearMeasurements()}function uM(a){a.isLayoutDirty=!0,a.updateLayout()}function Wy(a){a.isLayoutDirty=!1}function cM(a){a.isAnimationBlocked&&a.layout&&!a.isLayoutDirty&&(a.snapshot=a.layout,a.isLayoutDirty=!0)}function fM(a){const{visualElement:i}=a.options;i&&i.getProps().onBeforeLayoutMeasure&&i.notify("BeforeLayoutMeasure"),a.resetTransform()}function $y(a){a.finishAnimation(),a.targetDelta=a.relativeTarget=a.target=void 0,a.isProjectionDirty=!0}function dM(a){a.resolveTargetDelta()}function hM(a){a.calcProjection()}
230function mM(a){a.resetSkewAndRotation()}function pM(a){a.removeLeadSnapshot()}function Iy(a,i,s){a.translate=Vt(i.translate,0,s),a.scale=Vt(i.scale,1,s),a.origin=i.origin,a.originPoint=i.originPoint}function tg(a,i,s,r){a.min=Vt(i.min,s.min,r),a.max=Vt(i.max,s.max,r)}function yM(a,i,s,r){tg(a.x,i.x,s.x,r),tg(a.y,i.y,s.y,r)}function gM(a){return a.animationValues&&a.animationValues.opacityExit!==void 0}const vM={duration:.45,ease:[.4,0,.1,1]},eg=a=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(a),ng=eg("applewebkit/")&&!eg("chrome/")?Math.round:Ge;function ag(a){a.min=ng(a.min),a.max=ng(a.max)}function bM(a){ag(a.x),ag(a.y)}function cv(a,i,s){return a==="position"||a==="preserve-aspect"&&!kE(Ky(i),Ky(s),.2)}function SM(a){var i;return a!==a.root&&((i=a.scroll)==null?void 0:i.wasRoot)}const xM=uv({attachResizeListener:(a,i)=>Vl(a,"resize",i),measureScroll:()=>{var a,i;return{x:document.documentElement.scrollLeft||((a=document.body)==null?void 0:a.scrollLeft)||0,y:document.documentElement.scrollTop||((i=document.body)==null?void 0:i.scrollTop)||0}},checkIsScrollRoot:()=>!0}),Sc={current:void 0},fv=uv({measureScroll:a=>({x:a.scrollLeft,y:a.scrollTop}),defaultParent:()=>{if(!Sc.current){const a=new xM({});a.mount(window),a.setOptions({layoutScroll:!0}),Sc.current=a}return Sc.current},resetTransform:(a,i)=>{a.style.transform=i!==void 0?i:"none"},checkIsScrollRoot:a=>window.getComputedStyle(a).position==="fixed"}),dv=D.createContext({transformPagePoint:a=>a,isStatic:!1,reducedMotion:"never"});function TM(a=!0){const i=D.useContext(ff);if(i===null)return[!0,null];const{isPresent:s,onExitComplete:r,register:c}=i,f=D.useId();D.useEffect(()=>{if(a)return c(f)},[a]);const d=D.useCallback(()=>a&&r&&r(f),[f,r,a]);return!s&&r?[!1,d]:[!0]}const hv=D.createContext({strict:!1}),ig={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let lg=!1;function AM(){if(lg)return;const a={};for(const i in ig)a[i]={isEnabled:s=>ig[i].some(r=>!!s[r])};q0(a),lg=!0}function mv(){return AM(),dE()}function EM(a){const i=mv();for(const s in a)i[s]={...i[s],...a[s]};q0(i)}const MM=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function wr(a){return a.startsWith("while")||a.startsWith("drag")&&a!=="draggable"||a.startsWith("layout")||a.startsWith("onTap")||a.startsWith("onPan")||a.startsWith("onLayout")||MM.has(a)}let pv=a=>!wr(a);function DM(a){typeof a=="function"&&(pv=i=>i.startsWith("on")?!wr(i):a(i))}try{DM(require("@emotion/is-prop-valid").default)}catch{}function CM(a,i,s){const r={};for(const c in a)c==="values"&&typeof a.values=="object"||oe(a[c])||(pv(c)||s===!0&&wr(c)||!i&&!wr(c)||a.draggable&&c.startsWith("onDrag"))&&(r[c]=a[c]);return r}const _r=D.createContext({});function jM(a,i){if(Vr(a)){const{initial:s,animate:r}=a;return{initial:s===!1||Ol(s)?s:void 0,animate:Ol(r)?r:void 0}}return a.inherit!==!1?i:{}}function wM(a){const{initial:i,animate:s}=jM(a,D.useContext(_r));return D.useMemo(()=>({initial:i,animate:s}),[sg(i),sg(s)])}function sg(a){return Array.isArray(a)?a.join(" "):a}const Bf=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function yv(a,i,s){for(const r in i)!oe(i[r])&&!P0(r,s)&&(a[r]=i[r])}function RM({transformTemplate:a},i){return D.useMemo(()=>{const s=Bf();return Vf(s,i,a),Object.assign({},s.vars,s.style)},[i])}function NM(a,i){const s=a.style||{},r={};return yv(r,s,a),Object.assign(r,RM(a,i)),r}function zM(a,i){const s={},r=NM(a,i);return a.drag&&a.dragListener!==!1&&(s.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=a.drag===!0?"none":`pan-${a.drag==="x"?"y":"x"}`),a.tabIndex===void 0&&(a.onTap||a.onTapStart||a.whileTap)&&(s.tabIndex=0),s.style=r,s}const gv=()=>({...Bf(),attrs:{}});function OM(a,i,s,r){const c=D.useMemo(()=>{const f=gv();return J0(f,i,$0(r),a.transformTemplate,a.style),{...f.attrs,style:{...f.style}}},[i]);if(a.style){const f={};yv(f,a.style,a),c.style={...f,...c.style}}return c}const VM=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Lf(a){return typeof a!="string"||a.includes("-")?!1:!!(VM.indexOf(a)>-1||/[A-Z]/u.test(a))}function _M(a,i,s,{latestValues:r},c,f=!1,d){const y=(d??Lf(a)?OM:zM)(i,r,c,a),m=CM(i,typeof a=="str
230ing",f),g=a!==D.Fragment?{...m,...y,ref:s}:{},{children:S}=i,x=D.useMemo(()=>oe(S)?S.get():S,[S]);return D.createElement(a,{...g,children:x})}function BM({scrapeMotionValuesFromProps:a,createRenderState:i},s,r,c){return{latestValues:LM(s,r,c,a),renderState:i()}}function LM(a,i,s,r){const c={},f=r(a,{});for(const x in f)c[x]=vr(f[x]);let{initial:d,animate:p}=a;const y=Vr(a),m=k0(a);i&&m&&!y&&a.inherit!==!1&&(d===void 0&&(d=i.initial),p===void 0&&(p=i.animate));let g=s?s.initial===!1:!1;g=g||d===!1;const S=g?p:d;if(S&&typeof S!="boolean"&&!Or(S)){const x=Array.isArray(S)?S:[S];for(let A=0;A<x.length;A++){const j=Df(a,x[A]);if(j){const{transitionEnd:B,transition:w,...O}=j;for(const G in O){let V=O[G];if(Array.isArray(V)){const X=g?V.length-1:0;V=V[X]}V!==null&&(c[G]=V)}for(const G in B)c[G]=B[G]}}}return c}const vv=a=>(i,s)=>{const r=D.useContext(_r),c=D.useContext(ff),f=()=>BM(a,i,r,c);return s?f():V2(f)},UM=vv({scrapeMotionValuesFromProps:_f,createRenderState:Bf}),HM=vv({scrapeMotionValuesFromProps:I0,createRenderState:gv}),kM=Symbol.for("motionComponentSymbol");function YM(a,i,s){const r=D.useRef(s);D.useInsertionEffect(()=>{r.current=s});const c=D.useRef(null);return D.useCallback(f=>{var p;f&&((p=a.onMount)==null||p.call(a,f));const d=r.current;if(typeof d=="function")if(f){const y=d(f);typeof y=="function"&&(c.current=y)}else c.current?(c.current(),c.current=null):d(f);else d&&(d.current=f);i&&(f?i.mount(f):i.unmount())},[i])}const bv=D.createContext({});function pi(a){return a&&typeof a=="object"&&Object.prototype.hasOwnProperty.call(a,"current")}function qM(a,i,s,r,c,f){var V,X;const{visualElement:d}=D.useContext(_r),p=D.useContext(hv),y=D.useContext(ff),m=D.useContext(dv),g=m.reducedMotion,S=m.skipAnimations,x=D.useRef(null),A=D.useRef(!1);r=r||p.renderer,!x.current&&r&&(x.current=r(a,{visualState:i,parent:d,props:s,presenceContext:y,blockInitialAnimation:y?y.initial===!1:!1,reducedMotionConfig:g,skipAnimations:S,isSVG:f}),A.current&&x.current&&(x.current.manuallyAnimateOnMount=!0));const j=x.current,B=D.useContext(bv);j&&!j.projection&&c&&(j.type==="html"||j.type==="svg")&&GM(x.current,s,c,B);const w=D.useRef(!1);D.useInsertionEffect(()=>{j&&w.current&&j.update(s,y)});const O=s[C0],G=D.useRef(!!O&&typeof window<"u"&&!((V=window.MotionHandoffIsComplete)!=null&&V.call(window,O))&&((X=window.MotionHasOptimisedAnimation)==null?void 0:X.call(window,O)));return B2(()=>{A.current=!0,j&&(w.current=!0,window.MotionIsMounted=!0,j.updateFeatures(),j.scheduleRenderMicrotask(),G.current&&j.animationState&&j.animationState.animateChanges())}),D.useEffect(()=>{j&&(!G.current&&j.animationState&&j.animationState.animateChanges(),G.current&&(queueMicrotask(()=>{var Q;(Q=window.MotionHandoffMarkAsComplete)==null||Q.call(window,O)}),G.current=!1),j.enteringChildren=void 0)}),j}function GM(a,i,s,r){const{layoutId:c,layout:f,drag:d,dragConstraints:p,layoutScroll:y,layoutRoot:m,layoutAnchor:g,layoutCrossfade:S}=i;a.projection=new s(a.latestValues,i["data-framer-portal-id"]?void 0:Sv(a.parent)),a.projection.setOptions({layoutId:c,layout:f,alwaysMeasureLayout:!!d||p&&pi(p),visualElement:a,animationType:typeof f=="string"?f:"both",initialPromotionConfig:r,crossfade:S,layoutScroll:y,layoutRoot:m,layoutAnchor:g})}function Sv(a){if(a)return a.options.allowProjection!==!1?a.projection:Sv(a.parent)}function xc(a,{forwardMotionProps:i=!1,type:s}={},r,c){r&&EM(r);const f=s?s==="svg":Lf(a),d=f?HM:UM;function p(m,g){let S;const x={...D.useContext(dv),...m,layoutId:XM(m)},{isStatic:A}=x,j=wM(m),B=d(m,A);if(!A&&typeof window<"u"){KM();const w=ZM(x);S=w.MeasureLayout,j.visualElement=qM(a,B,x,c,w.ProjectionNode,f)}return v.jsxs(_r.Provider,{value:j,children:[S&&j.visualElement?v.jsx(S,{visualElement:j.visualElement,...x}):null,_M(a,m,YM(B,j.visualElement,g),B,A,i,f)]})}p.displayName=`motion.${typeof a=="string"?a:`create(${a.displayName??a.name??""})`}`;const y=D.forwardRef(p);return y[kM]=a,y}function XM({layoutId:a}){const i=D.useContext(Hg).id;return i&&a!==void 0?i+"-"+a:a}function KM(a,i){D.useContext(hv).strict}function ZM(a){const i=mv(),{drag:s,layout:r}=i;if(!s&&!r)return{};const c={...s,...r};return{MeasureLayout:s!=null&&s.isEnabled(a)||r!=null&&r.isEnabled(a)?c.MeasureLayout:void 0,ProjectionNode:c.ProjectionNode}}
230function QM(a,i){if(typeof Proxy>"u")return xc;const s=new Map,r=(f,d)=>xc(f,d,a,i),c=(f,d)=>r(f,d);return new Proxy(c,{get:(f,d)=>d==="create"?r:(s.has(d)||s.set(d,xc(d,void 0,a,i)),s.get(d))})}const FM=(a,i)=>i.isSVG??Lf(a)?new wE(i):new AE(i,{allowProjection:a!==D.Fragment});class PM extends la{constructor(i){super(i),i.animationState||(i.animationState=VE(i))}updateAnimationControlsSubscription(){const{animate:i}=this.node.getProps();Or(i)&&(this.unmountControls=i.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:i}=this.node.getProps(),{animate:s}=this.node.prevProps||{};i!==s&&this.updateAnimationControlsSubscription()}unmount(){var i;this.node.animationState.reset(),(i=this.unmountControls)==null||i.call(this)}}let JM=0;class WM extends la{constructor(){super(...arguments),this.id=JM++,this.isExitComplete=!1}update(){var f;if(!this.node.presenceContext)return;const{isPresent:i,onExitComplete:s}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||i===r)return;if(i&&r===!1){if(this.isExitComplete){const{initial:d,custom:p}=this.node.getProps();if(typeof d=="string"){const y=Ra(this.node,d,p);if(y){const{transition:m,transitionEnd:g,...S}=y;for(const x in S)(f=this.node.getValue(x))==null||f.jump(S[x])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const c=this.node.animationState.setActive("exit",!i);s&&!i&&c.then(()=>{this.isExitComplete=!0,s(this.id)})}mount(){const{register:i,onExitComplete:s}=this.node.presenceContext||{};s&&s(this.id),i&&(this.unmount=i(this.id))}unmount(){}}const $M={animation:{Feature:PM},exit:{Feature:WM}};function Yl(a){return{point:{x:a.pageX,y:a.pageY}}}const IM=a=>i=>Rf(i)&&a(i,Yl(i));function wl(a,i,s,r){return Vl(a,i,IM(s),r)}const xv=({current:a})=>a?a.ownerDocument.defaultView:null,rg=(a,i)=>Math.abs(a-i);function t3(a,i){const s=rg(a.x,i.x),r=rg(a.y,i.y);return Math.sqrt(s**2+r**2)}const og=new Set(["auto","scroll"]);class Tv{constructor(i,s,{transformPagePoint:r,contextWindow:c=window,dragSnapToOrigin:f=!1,distanceThreshold:d=3,element:p}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=A=>{this.handleScroll(A.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=ur(this.lastRawMoveEventInfo,this.transformPagePoint));const A=Tc(this.lastMoveEventInfo,this.history),j=this.startEvent!==null,B=t3(A.offset,{x:0,y:0})>=this.distanceThreshold;if(!j&&!B)return;const{point:w}=A,{timestamp:O}=re;this.history.push({...w,timestamp:O});const{onStart:G,onMove:V}=this.handlers;j||(G&&G(this.lastMoveEvent,A),this.startEvent=this.lastMoveEvent),V&&V(this.lastMoveEvent,A)},this.handlePointerMove=(A,j)=>{this.lastMoveEvent=A,this.lastRawMoveEventInfo=j,this.lastMoveEventInfo=ur(j,this.transformPagePoint),Rt.update(this.updatePoint,!0)},this.handlePointerUp=(A,j)=>{this.end();const{onEnd:B,onSessionEnd:w,resumeAnimation:O}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&O&&O(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const G=Tc(A.type==="pointercancel"?this.lastMoveEventInfo:ur(j,this.transformPagePoint),this.history);this.startEvent&&B&&B(A,G),w&&w(A,G)},!Rf(i))return;this.dragSnapToOrigin=f,this.handlers=s,this.transformPagePoint=r,this.distanceThreshold=d,this.contextWindow=c||window;const y=Yl(i),m=ur(y,this.transformPagePoint),{point:g}=m,{timestamp:S}=re;this.history=[{...g,timestamp:S}];const{onSessionStart:x}=s;x&&x(i,Tc(m,this.history)),this.removeListeners=Ul(wl(this.contextWindow,"pointermove",this.handlePointerMove),wl(this.contextWindow,"pointerup",this.handlePointerUp),wl(this.contextWindow,"pointercancel",this.handlePointerUp)),p&&this.startScrollTracking(p)}startScrollTracking(i){let s=i.parentElement;for(;s;){const r=getComputedStyle(s);(og.has(r.overflowX)||og.has(r.overflowY))&&this.scrollPositions.set(s,{x:s.scrollLeft,y:s.scrollTop}),s=s.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(i){const s=this.scrollPositions.get(i);if(!s)return;const r=i===window,c=r?{x:window.scrollX,y:window.scrollY}:{x:i.scrollLeft,y:i.scrollTop},f={x:c.x-s.x,y:c.y-s.y};f.x===0&&f.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=f.x,this.lastMoveEventInfo.point.y+=f.y):this.history.length>0&&(this.history[0].x-=f.x,this.history[0].y-=f.y),this.scrollPositions.set(i,c),Rt.update(this.updatePoint,!0))}updateHandlers(i){this.handlers=i}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),ia(this.updatePoint)}}function ur(a,i){return i?{point:i(a.point)}:a}function ug(a,i){return{x:a.x-i.x,y:a.y-i.y}}function Tc({point:a},i){return{point:a,delta:ug(a,Av(i)),offset:ug(a,e3(i)),velocity:n3(i,.1)}}function e3(a){return a[0]}function Av(a){return a[a.length-1]}function n3(a,i){if(a.length<2)return{x:0,y:0};let s=a.length-1,r=null;const c=Av(a);for(;s>=0&&(r=a[s],!(c.timestamp-r.timestamp>Ne(i)));)s--;if(!r)return{x:0,y:0};r===a[0]&&a.length>2&&c.timestamp-r.timestamp>Ne(i)*2&&(r=a[1]);const f=qe(c.timestamp-r.timestamp);if(f===0)return{x:0,y:0};const d={x:(c.x-r.x)/f,y:(c.y-r.y)/f};return d.x===1/0&&(d.x=0),d.y===1/0&&(d.y=0),d}function a3(a,{min:i,max:s},r){return i!==void 0&&a<i?a=r?Vt(i,a,r.min):Math.max(a,i):s!==void 0&&a>s&&(a=r?Vt(s,a,r.max):Math.min(a,s)),a}function cg(a,i,s){return{min:i!==void 0?a.min+i:void 0,max:s!==void 0?a.max+s-(a.max-a.min):void 0}}function i3(a,{top:i,left:s,bottom:r,right:c}
vendor: 5,974 bytes, line 230
230){return{x:cg(a.x,s,c),y:cg(a.y,i,r)}}function fg(a,i){let s=i.min-a.min,r=i.max-a.max;return i.max-i.min<a.max-a.min&&([s,r]=[r,s]),{min:s,max:r}}function l3(a,i){return{x:fg(a.x,i.x),y:fg(a.y,i.y)}}function s3(a,i){let s=.5;const r=he(a),c=he(i);return c>r?s=Nl(i.min,i.max-r,a.min):r>c&&(s=Nl(a.min,a.max-c,i.min)),ln(0,1,s)}function r3(a,i){const s={};return i.min!==void 0&&(s.min=i.min-a.min),i.max!==void 0&&(s.max=i.max-a.min),s}const $c=.35;function o3(a=$c){return a===!1?a=0:a===!0&&(a=$c),{x:dg(a,"left","right"),y:dg(a,"top","bottom")}}function dg(a,i,s){return{min:hg(a,i),max:hg(a,s)}}function hg(a,i){return typeof a=="number"?a:a[i]||0}const u3=new WeakMap;class c3{constructor(i){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Wt(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=i}start(i,{snapToCursor:s=!1,distanceThreshold:r}={}){const{presenceContext:c}=this.visualElement;if(c&&c.isPresent===!1)return;const f=S=>{s&&this.snapToCursor(Yl(S).point),this.stopAnimation()},d=(S,x)=>{const{drag:A,dragPropagation:j,onDragStart:B}=this.getProps();if(A&&!j&&(this.openDragLock&&this.openDragLock(),this.openDragLock=qA(A),!this.openDragLock))return;this.latestPointerEvent=S,this.latestPanInfo=x,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),tn(O=>{let G=this.getAxisMotionValue(O).get()||0;if(nn.test(G)){const{projection:V}=this.visualElement;if(V&&V.layout){const X=V.layout.layoutBox[O];X&&(G=he(X)*(parseFloat(G)/100))}}this.originPoint[O]=G}),B&&Rt.update(()=>B(S,x),!1,!0),Gc(this.visualElement,"transform");const{animationState:w}=this.visualElement;w&&w.setActive("whileDrag",!0)},p=(S,x)=>{this.latestPointerEvent=S,this.latestPanInfo=x;const{dragPropagation:A,dragDirectionLock:j,onDirectionLock:B,onDrag:w}=this.getProps();if(!A&&!this.openDragLock)return;const{offset:O}=x;if(j&&this.currentDirection===null){this.currentDirection=d3(O),this.currentDirection!==null&&B&&B(this.currentDirection);return}this.updateAxis("x",x.point,O),this.updateAxis("y",x.point,O),this.visualElement.render(),w&&Rt.update(()=>w(S,x),!1,!0)},y=(S,x)=>{this.latestPointerEvent=S,this.latestPanInfo=x,this.stop(S,x),this.latestPointerEvent=null,this.latestPanInfo=null},m=()=>{const{dragSnapToOrigin:S}=this.getProps();(S||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:g}=this.getProps();this.panSession=new Tv(i,{onSessionStart:f,onStart:d,onMove:p,onSessionEnd:y,resumeAnimation:m},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:g,distanceThreshold:r,contextWindow:xv(this.visualElement),element:this.visualElement.current})}stop(i,s){const r=i||this.latestPointerEvent,c=s||this.latestPanInfo,f=this.isDragging;if(this.cancel(),!f||!c||!r)return;const{velocity:d}=c;this.startAnimation(d);const{onDragEnd:p}=this.getProps();p&&Rt.postRender(()=>p(r,c))}cancel(){this.isDragging=!1;const{projection:i,animationState:s}=this.visualElement;i&&(i.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),s&&s.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(i,s,r){const{drag:c}=this.getProps();if(!r||!cr(i,c,this.currentDirection))return;const f=this.getAxisMotionValue(i);let d=this.originPoint[i]+r[i];this.constraints&&this.constraints[i]&&(d=a3(d,this.constraints[i],this.elastic[i])),f.set(d)}resolveConstraints(){var f;const{dragConstraints:i,dragElastic:s}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(f=this.visualElement.projection)==null?void 0:f.layout,c=this.constraints;i&&pi(i)?this.constraints||(this.constraints=this.resolveRefConstraints()):i&&r?this.constraints=i3(r.layoutBox,i):this.constraints=!1,this.elastic=o3(s),c!==this.constraints&&!pi(i)&&r&&this.constraints&&!this.hasMutatedConstraints&&tn(d=>{this.constraints!==!1&&this.getAxisMotionValue(d)&&(this.constraints[d]=r3(r.layoutBox[d],this.constraints[d]))})}resolveRefConstraints(){const{dragConstraints:i,onMeasureDragConstraints:s}=this.getProps();if(!i||!pi(i))return!1;const r=i.current,{projection:c}=this.visualElement;if(!c||!c.layout)return!1;const f=gE(r,c.root,this.visualElement.getTransformPagePoint());let d=l3(c.layout.layoutBox,f);if(s){const p=s(mE(d));this.hasMutatedConstraints=!!p,p&&(d=X0(p))}return d}startAnimation(i){const{drag:s,dragMomentum:r,dragElastic:c,dragTransition:f,dragSnapToOrigin:d,onDragTransitionEnd:p}=this.getProps(),y=this.constraints||{},m=tn(g=>{if(!cr(g,s,this.currentDirection))return;let S=y&&y[g]||{};(d===!0||d===g)&&(S={min:0,max:0});const x=c?200:1e6,A=c?40:1e7,j={type:"inertia",velocity:r?i[g]:0,bounceStiffness:x,bounceDamping:A,timeConstant:750,restDelta:1,restSpeed:10,...f,...S};return this.startAxisValueAnimation(g,j)});return Promise.all(m).then(p)}startAxisValueAnimation(i,s){const r=this.getAxisMotionValue(i);return Gc(this.visualElement,i),r.start(Mf(i,r,0,s,this.visualElement,!1))}stopAnimation(){tn(i=>this.getAxisMotionValue(i).stop())}getAxisMotionValue(i){const s=`_drag${i.toUpperCase()}`,r=this.visualElement.getProps(),c=r[s];return c||this.visualElement.getValue(i,(r.initial?r.initial[i]:void 0)||0)}snapToCursor(i){tn(s=>{const{drag:r}=this.getProps();if(!cr(s,r,this.currentDirection))return;const{projection:c}=this.visualElement,f=this.getAxisMotionValue(s);if(c&&c.layout){const{min:d,max:p}=c.layout.layoutBox[s],y=f.get()||0;f.set(i[s]-Vt(d,p,.5)+y)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:i,dragConstraints:s}=this.getProps(),{projection:r}=this.visualElement;
230if(!pi(s)||!r||!this.constraints)return;this.stopAnimation();const c={x:0,y:0};tn(d=>{const p=this.getAxisMotionValue(d);if(p&&this.constraints!==!1){const y=p.get();c[d]=s3({min:y,max:y},this.constraints[d])}});const{transformTemplate:f}=this.visualElement.getProps();this.visualElement.current.style.transform=f?f({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),tn(d=>{if(!cr(d,i,null))return;const p=this.getAxisMotionValue(d),{min:y,max:m}=this.constraints[d];p.set(Vt(y,m,c[d]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;u3.set(this.visualElement,this);const i=this.visualElement.current,s=wl(i,"pointerdown",m=>{const{drag:g,dragListener:S=!0}=this.getProps(),x=m.target,A=x!==i&&FA(x);g&&S&&!A&&this.start(m)});let r;const c=()=>{const{dragConstraints:m}=this.getProps();pi(m)&&m.current&&(this.constraints=this.resolveRefConstraints(),r||(r=f3(i,m.current,()=>this.scalePositionWithinConstraints())))},{projection:f}=this.visualElement,d=f.addEventListener("measure",c);f&&!f.layout&&(f.root&&f.root.updateScroll(),f.updateLayout()),Rt.read(c);const p=Vl(window,"resize",()=>this.scalePositionWithinConstraints()),y=f.addEventListener("didUpdate",(({delta:m,hasLayoutChanged:g})=>{this.isDragging&&g&&(tn(S=>{const x=this.getAxisMotionValue(S);x&&(this.originPoint[S]+=m[S].translate,x.set(x.get()+m[S].translate))}),this.visualElement.render())}));return()=>{p(),s(),d(),y&&y(),r&&r()}}getProps(){const i=this.visualElement.getProps(),{drag:s=!1,dragDirectionLock:r=!1,dragPropagation:c=!1,dragConstraints:f=!1,dragElastic:d=$c,dragMomentum:p=!0}=i;return{...i,drag:s,dragDirectionLock:r,dragPropagation:c,dragConstraints:f,dragElastic:d,dragMomentum:p}}}function mg(a){let i=!0;return()=>{if(i){i=!1;return}a()}}function f3(a,i,s){const r=Ay(a,mg(s)),c=Ay(i,mg(s));return()=>{r(),c()}}function cr(a,i,s){return(i===!0||i===a)&&(s===null||s===a)}function d3(a,i=10){let s=null;return Math.abs(a.y)>i?s="y":Math.abs(a.x)>i&&(s="x"),s}class h3 extends la{constructor(i){super(i),this.removeGroupControls=Ge,this.removeListeners=Ge,this.controls=new c3(i)}mount(){const{dragControls:i}=this.node.getProps();i&&(this.removeGroupControls=i.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ge}update(){const{dragControls:i}=this.node.getProps(),{dragControls:s}=this.node.prevProps||{};i!==s&&(this.removeGroupControls(),i&&(this.removeGroupControls=i.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const Ac=a=>(i,s)=>{a&&Rt.update(()=>a(i,s),!1,!0)};class m3 extends la{constructor(){super(...arguments),this.removePointerDownListener=Ge}onPointerDown(i){this.session=new Tv(i,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:xv(this.node)})}createPanHandlers(){const{onPanSessionStart:i,onPanStart:s,onPan:r,onPanEnd:c}=this.node.getProps();return{onSessionStart:Ac(i),onStart:Ac(s),onMove:Ac(r),onEnd:(f,d)=>{delete this.session,c&&Rt.postRender(()=>c(f,d))}}}mount(){this.removePointerDownListener=wl(this.node.current,"pointerdown",i=>this.onPointerDown(i))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let Ec=!1;class p3 extends D.Component{componentDidMount(){const{visualElement:i,layoutGroup:s,switchLayoutGroup:r,layoutId:c}=this.props,{projection:f}=i;f&&(s.group&&s.group.add(f),r&&r.register&&c&&r.register(f),Ec&&f.root.didUpdate(),f.addEventListener("animationComplete",()=>{this.safeToRemove()}),f.setOptions({...f.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),br.hasEverUpdated=!0}getSnapshotBeforeUpdate(i){const{layoutDependency:s,visualElement:r,drag:c,isPresent:f}=this.props,{projection:d}=r;return d&&(d.isPresent=f,i.layoutDependency!==s&&d.setOptions({...d.options,layoutDependency:s}),Ec=!0,c||i.layoutDependency!==s||s===void 0||i.isPresent!==f?d.willUpdate():this.safeToRemove(),i.isPresent!==f&&(f?d.promote():d.relegate()||Rt.postRender(()=>{const p=d.getStack();(!p||!p.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:i,layoutAnchor:s}=this.props,{projection:r}=i;r&&(r.options.layoutAnchor=s,r.root.didUpdate(),wf.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:i,layoutGroup:s,switchLayoutGroup:r}=this.props,{projection:c}=i;Ec=!0,c&&(c.scheduleCheckAfterUnmount(),s&&s.group&&s.group.remove(c),r&&r.deregister&&r.deregister(c))}safeToRemove(){const{safeToRemove:i}=this.props;i&&i()}render(){return null}}function Ev(a){const[i,s]=TM(),r=D.useContext(Hg);return v.jsx(p3,{...a,layoutGroup:r,switchLayoutGroup:D.useContext(bv),isPresent:i,safeToRemove:s})}const y3={pan:{Feature:m3},drag:{Feature:h3,ProjectionNode:fv,MeasureLayout:Ev}};function pg(a,i,s){const{props:r}=a;a.animationState&&r.whileHover&&a.animationState.setActive("whileHover",s==="Start");const c="onHover"+s,f=r[c];f&&Rt.postRender(()=>f(i,Yl(i)))}class g3 extends la{mount(){const{current:i}=this.node;i&&(this.unmount=XA(i,(s,r)=>(pg(this.node,r,"Start"),c=>pg(this.node,c,"End"))))}unmount(){}}class v3 extends la{constructor(){super(...arguments),this.isActive=!1}onFocus(){let i=!1;try{i=this.node.current.matches(":focus-visible")}catch{i=!0}!i||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Ul(Vl(this.node.current,"focus",()=>this.onFocus()),Vl(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function yg(a,i,s){const{props:r}=a;if(a.current instanceof HTMLButtonElement&&a.current.disabled)return;a.animationState&&r.whileTap&&a.animationState.setActive("whileTap",s==="Start");const c="onTap"+(s==="End"?"":s),f=r[c];f&&Rt.postRender(()=>f(i,Yl(i)))}class b3 extends la{mount(){const{current:i}=this.node;if(!i)return;
230const{globalTapTarget:s,propagate:r}=this.node.props;this.unmount=JA(i,(c,f)=>(yg(this.node,f,"Start"),(d,{success:p})=>yg(this.node,d,p?"End":"Cancel")),{useGlobalTarget:s,stopPropagation:(r==null?void 0:r.tap)===!1})}unmount(){}}const Ic=new WeakMap,Mc=new WeakMap,S3=a=>{const i=Ic.get(a.target);i&&i(a)},x3=a=>{a.forEach(S3)};function T3({root:a,...i}){const s=a||document;Mc.has(s)||Mc.set(s,{});const r=Mc.get(s),c=JSON.stringify(i);return r[c]||(r[c]=new IntersectionObserver(x3,{root:a,...i})),r[c]}function A3(a,i,s){const r=T3(i);return Ic.set(a,s),r.observe(a),()=>{Ic.delete(a),r.unobserve(a)}}const E3={some:0,all:1};class M3 extends la{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var y;(y=this.stopObserver)==null||y.call(this);const{viewport:i={}}=this.node.getProps(),{root:s,margin:r,amount:c="some",once:f}=i,d={root:s?s.current:void 0,rootMargin:r,threshold:typeof c=="number"?c:E3[c]},p=m=>{const{isIntersecting:g}=m;if(this.isInView===g||(this.isInView=g,f&&!g&&this.hasEnteredView))return;g&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",g);const{onViewportEnter:S,onViewportLeave:x}=this.node.getProps(),A=g?S:x;A&&A(m)};this.stopObserver=A3(this.node.current,d,p)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:i,prevProps:s}=this.node;["amount","margin","root"].some(D3(i,s))&&this.startObserver()}unmount(){var i;(i=this.stopObserver)==null||i.call(this),this.hasEnteredView=!1,this.isInView=!1}}function D3({viewport:a={}},{viewport:i={}}={}){return s=>a[s]!==i[s]}const C3={inView:{Feature:M3},tap:{Feature:b3},focus:{Feature:v3},hover:{Feature:g3}},j3={layout:{ProjectionNode:fv,MeasureLayout:Ev}},w3={...$M,...C3,...y3,...j3},Nt=QM(w3,FM),R3="/assets/profile-qqRVWjZ2.jpg",Mv={"simodi-gold":{id:"simodi-gold",title:"Simodi Gold — Digital Gold Trading & Bullion E-Commerce",description:"Trading and physical/digital gold & silver holding platform combined with bullion e-commerce; officially launched at a company conference at the Burj Khalifa, Dubai. Built as solo frontend developer, paired with a team of 3 backend developers.",details:["Architected and delivered the complete frontend application for trading and digital/physical gold and silver holdings with integrated bullion e-commerce.","Officially launched by the company at a conference held at the Burj Khalifa, Dubai.","Delivered native (Kotlin/Swift) security hardening ahead of a cybersecurity audit, covering root, jailbreak, emulator, debugger, USB debugging, developer mode, and Frida detection with graceful-failure handling.","Implemented SPKI-based SSL/certificate pinning per host to protect API and WebSocket traffic against man-in-the-middle attacks.","Built iOS/Android credential autofill using AutofillGroup, autofillHints, and TextInput.finishAutofillContext() for a streamlined, secure login experience.","Diagnosed and resolved cross-platform web issues, including WebSocket instance duplication, Dio timeout handling, and layout overflows, ensuring stable behavior across Android, iOS, and Web.","Engineered high-frequency live rates and trading order workflows with Riverpod and WebSockets."],tech:["Flutter","Dart","Riverpod","WebSocket","Firebase","Dio","Native Security (Kotlin/Swift)","SSL Pinning"]},"bullion-live":{id:"bullion-live",title:"Bullion Live Rate Tracking (50+ Apps)",description:"Real-time tracking applications for gold and silver market rates, deployed as white-label solutions for 50+ clients across Android & iOS.",details:["Developed and maintained 50+ White-Label Flutter applications for real-time bullion price tracking (Gold, Silver, Platinum).","Built a standardized, brandable component library that cut new-client deployment time from 1 week to 2 days.","Rebuilt legacy apps from scratch with improved architecture, reducing maintenance overhead.","Implemented WebSocket-based live rates, admin-configurable spreads, historical charts, rate alerts, and push notifications (FCM).","Optimized applications for c
230ontinuous real-time data streaming and standardized reusable components.","Deployed across Android and iOS platforms."],tech:["Flutter","Provider","MVVM","WebSocket","Firebase","Dio"]},trading:{id:"trading",title:"Trading Applications (Forex, Crypto & Metals)",description:"Real-time trading applications with live price streaming and full trade execution workflows across Android, iOS, and Web.",details:["Built buy/sell order placement, trade execution, and portfolio/transaction tracking.","Integrated Sumsub for KYC verification and Freshchat for in-app customer support.","Designed state management architecture to handle complex, high-frequency trading workflows.","Implemented live price streaming and interactive trading charts.","Integrated secure REST APIs and WebSocket connections."],tech:["Flutter","Provider","MVVM","WebSocket","Firebase","Dio","Sumsub KYC","Crashlytics"]},ecommerce:{id:"ecommerce",title:"E-Commerce Applications (Bullion, Jewelry & Retail)",description:"Full-featured shopping apps customized for bullion dealers, jewelers, and retail clients.",details:["Built catalog, cart, wishlist, and checkout flow with payment gateway integration.","Implemented admin-controlled inventory/pricing, order tracking, and push notifications.","Added user authentication, profile management, and secure payment processing.","Optimized UI for mobile and web screens with intuitive browsing."],tech:["Flutter","Provider","Riverpod","MVVM","WebSocket","Firebase","Dio","Sumsub KYC"]},"business-systems":{id:"business-systems",title:"Business Management Systems (ERP, POS & Leads)",description:"Four distinct systems built for restaurant, billing, ERP, and lead-management use cases across desktop, mobile, and web.",details:["Isselo — Restaurant management system (Android, iOS, Windows, Web); collaborated within a 6-person team (4 frontend, 2 backend).","DB BillMate — Billing & accounting software (Windows);
230 built solo end-to-end, including offline data layer.","Sreekala O2 — ERP system (Android, iOS, Windows, Web); collaborated within a 6-person team (4 frontend, 2 backend).","SincA Leads — Lead management software (Android, iOS, Web); sole frontend developer, paired with one backend developer."],tech:["Flutter","Riverpod","MVVM","SQLite","WebSocket","Firebase","Dio"]},"flutter-plugins":{id:"flutter-plugins",title:"Flutter Plugins & Packages",description:"Open-source and internal Flutter packages to enhance development efficiency and UI capabilities.",details:["Custom Overlay Popup: A flexible package for creating customizable overlay popups.","Smart Wrap: Widget supporting responsive layouts for adaptive UI design.","Smart Tip: Tooltip widget enabling rich, context-sensitive UI elements.","Page Flow: Enables seamless navigation within a single ScrollView."],tech:["Flutter","Dart","Open Source","Pub.dev"]}},N3=[],tf=async()=>{try{const a=await fetch("/api/blogs");if(a.ok){const i=await a.json();return localStorage.setItem("sanoop_blogs",JSON.stringify(i)),i}}catch(a){console.error("Error fetching blogs from API:",a)}return Di()},z3=async a=>{try{const r=await fetch("/api/blogs",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)});if(r.ok){const c=await r.json();return localStorage.setItem("sanoop_blogs",JSON.stringify(c)),c}}catch(r){console.error("Error adding blog via API:",r)}const s=[...Di(),a];return Br(s),s},O3=async(a,i)=>{try{const c=await fetch(`/api/blogs/${encodeURIComponent(a)}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)});if(c.ok){const f=await c.json();return localStorage.setItem("sanoop_blogs",JSON.stringify(f)),f}}catch(c){console.error("Error updating blog via API:",c)}const r=Di().map(c=>c.id===a?{...c,...i}:c);return Br(r),r},V3=async a=>{try{const r=await fetch(`/api/blogs/${encodeURIComponent(a)}`,{method:"DELETE"});if(r.ok){const c=await r.json();return localStorage.setItem("sanoop_blogs",JSON.stringify(c)),c}}catch(r){console.error("Error deleting blog via API:",r)}const s=Di().filter(r=>r.id!==a);return Br(s),s},gg=async a=>{try{const i=await fetch("/api/blogs/reorder",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({blogs:a})});if(i.ok){const s=await i.json();return localStorage.setItem("sanoop_blogs",JSON.stringify(s)),s}}catch(i){console.error("Error reordering blogs via API:",i)}return Br(a),a},Di=()=>{const a=localStorage.getItem("sanoop_blogs");if(a)try{return JSON.parse(a)}catch(i){console.error("Error parsing blogs",i)}return N3},Br=a=>{localStorage.setItem("sanoop_blogs",JSON.stringify(a))},ef=[{id:"exp-1",role:"Senior Flutter Developer",company:"Artifitia Solutions LLP",location:"Calicut, Kerala",startDate:"04/2026",endDate:"Present",dateRangeText:"04/2026 - Present",description:"Promoted to Senior role for taking ownership of architecture and development practices. Led frontend development of Simodi Gold (trading & bullion e-commerce launched at Burj Khalifa, Dubai) and delivered native security hardening ahead of cybersecurity audit. Leading architecture decisions, code reviews, and reusable component standards."},{id:"exp-2",role:"Flutter Developer",company:"Artifitia Solutions LLP",location:"Calicut, Kerala",startDate:"04/2025",endDate:"04/2026",dateRangeText:"04/2025 - 04/2026",description:"Shipped and maintained 50+ mobile applications spanning bullion rate tracking, e-commerce, and trading. Refactored legacy codebases, integrated real-time WebSocket and Firebase services, and introduced reusable Flutter widgets across projects."},{id:"exp-3",role:"Software Developer (Freelance)",company:"Freelance",location:"Malappuram, Kerala",startDate:"11/2024",endDate:"04/2025",dateRangeText:"11/2024 - 04/2025",description:"Built DB-BillMate, a custom offline billing application for DB Stores. Implemented invoice generation, inventory management, and sales tracking with Flutter, Riverpod, and SQLite."},{id:"exp-4",role:"Flutter Developer",company:"Screl Info Pvt. Ltd.",location:"Kerala",startDate:"11/2023",endDate:"11/2024",dateRangeText:"11/2023 - 11/2024",description:"Designed and developed cross-platform applications for Android, iOS, web, and desktop, increasing downloads by 40% and user retention by 15% through effective UI/UX and performance optimization."}
230,{id:"exp-5",role:"Flutter Developer Intern",company:"Ralfiz Technologies",location:"Kerala",startDate:"07/2023",endDate:"11/2023",dateRangeText:"07/2023 - 11/2023",description:"Delivered client-facing Flutter features across the full development lifecycle, participating in sprint planning, code reviews, and foundational architecture."}];function vg(a,i=!1){const s=a.trim().toLowerCase(),r=new Date;if(!s||s==="present"||s==="current"||s==="now")return r.getFullYear()*12+r.getMonth();const c=s.split("/");if(c.length===2){const d=parseInt(c[0],10)-1,p=parseInt(c[1],10);if(!isNaN(d)&&!isNaN(p))return p*12+d}const f=new Date(a);return isNaN(f.getTime())?r.getFullYear()*12+r.getMonth():f.getFullYear()*12+f.getMonth()}function _3(a=ef){if(!a||a.length===0)return{totalMonths:0,yearsNum:0,yearsFormatted:"0+",wholeYearsFormatted:"0+",yearsText:"0 years",detailedText:"0 months"};const i=new Set;a.forEach(B=>{let w=B.startDate,O=B.endDate;if((!w||!O)&&B.dateRangeText){const it=B.dateRangeText.split("-");it.length===2&&(w=it[0].trim(),O=it[1].trim())}const G=vg(w,!1),V=vg(O,!0),X=Math.min(G,V),Q=Math.max(G,V);for(let it=X;it<=Q;it++)i.add(it)});const s=Array.from(i).sort((B,w)=>B-w),r=s[0],f=s[s.length-1]-r,d=Math.max(f,i.size>0?i.size-1:0),p=d/12,y=Math.round(p*10)/10,m=Math.floor(p),g=d%12,S=`${y.toFixed(1)}+`,x=`${m}+`,A=`${m}+ years`,j=g>0?`${m} years, ${g} month${g>1?"s":""}`:`${m} years`;return{totalMonths:d,yearsNum:p,yearsFormatted:S,wholeYearsFormatted:x,yearsText:A,detailedText:j}}const B3=()=>{const[a,i]=D.useState(Di()),s=D.useMemo(()=>_3(ef),[]);D.useEffect(()=>{tf().then(d=>{d&&i(d)})},[]);const r={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:.8,ease:[.4,0,.2,1]}}},c={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.1}}},f={hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{duration:.6,ease:[.4,0,.2,1]}}};return v.jsxs(v.Fragment,{children:[v.jsx("section",{id:"hero",children:v.jsx("div",{className:"container hero-content",children:v.jsxs("div",{className:"hero-flex",children:[v.jsx(Nt.div,{className:"hero-image float-animation",initial:{opacity:0,x:-50},animate:{opacity:1,x:0},transition:{duration:.8},children:v.jsxs("div",{className:"hero-portrait-frame",children:[v.jsx("img",{src:R3,alt:"Sanoop Das M",referrerPolicy:"no-referrer"}),v.jsxs("div",{className:"hero-portrait-badge",children:[v.jsx("span",{className:"badge-dot"}),v.jsx("span",{children:"Senior Flutter Dev"})]})]})}),v.jsxs(Nt.div,{className:"hero-text",initial:{opacity:0,x:50},animate:{opacity:1,x:0},transition:{duration:.8},children:[v.jsx("span",{className:"hero-role",children:"Multi-Platform Flutter Developer"}),v.jsx("h1",{children:"Crafting Seamless Experiences Across All Screens."}),v.jsx("p",{children:"Hi, I'm Sanoop Das M. I specialize in building high-performance applications for Windows, macOS, Web, Android, and iOS using Flutter."}),v.jsxs("div",{className:"hero-platforms",children:[v.jsx("span",{className:"platform-tag shine-effect",children:"Windows"}),v.jsx("span",{className:"platform-tag shine-effect",children:"macOS"}),v.jsx("span",{className:"platform-tag shine-effect",children:"Web"}),v.jsx("span",{className:"platform-tag shine-effect",children:"Android"}),v.jsx("span",{className:"platform-tag shine-effect",children:"iOS"})]})]})]})})}),v.jsx("section",{id:"about",className:"section",children:v.jsxs(Nt.div,{className:"container",initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:r,children:[v.jsx("h2",{className:"section-title",children:"About Me"}),v.jsxs("div",{className:"about-grid grid",children:[v.jsxs("div",{className:"about-text",children:[v.jsxs("p",{children:["Senior Flutter Developer with ",s.yearsFormatted," of professional experience and 50+ production apps shipped across fintech, trading, e-commerce, and ERP domains. Specializes in real-time data applications (bullion rates, forex/crypto trading, digital gold & silver holdings) with WebSocket integrations, Firebase services (Authentication, Firestore, Cloud Messaging), and end-to-end REST API integration."]}),v.jsx("p",{children:"Leads architecture decisions, code reviews, and reusable-component standards for development teams, and owns release management across the Google Play Store and Apple App Store. Proven track record of boosting downloads (+40%) and retention (+15%) through cross-platform delivery on Android, iOS, web, and desktop."})]}),v.jsxs("div",{className:"about-stats",children:[v.jsxs("div",{className:"stat-card shine-effect",children:[v.jsx("h3",{children:s.yearsFormatted}),v.jsx("p",{children:"Years Experience"})]}),v.jsxs("div",{className:"stat-card shine-effect",children:[v.jsx("h3",{children:"50+"}),v.jsx("p",{children:"Production Apps Shipped"})]})]})]})]})}),v.jsx("section",{id:"experience",className:"section",children:v.jsxs(Nt.div,{className:"container",initial:"hidden",
230whileInView:"visible",viewport:{once:!0},variants:r,children:[v.jsx("h2",{className:"section-title",children:"Experience"}),v.jsx("div",{className:"timeline",children:ef.map(d=>v.jsxs("div",{className:"timeline-item",children:[v.jsx("div",{className:"timeline-dot"}),v.jsxs("div",{className:"timeline-content",children:[v.jsx("h3",{children:d.role}),v.jsxs("span",{className:"timeline-company",children:[d.company," | ",d.location]}),v.jsxs("span",{className:"timeline-date",children:[d.startDate," - ",d.endDate]}),v.jsx("p",{children:d.description})]})]},d.id))})]})}),v.jsx("section",{id:"skills",className:"section",children:v.jsxs(Nt.div,{className:"container",initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:r,children:[v.jsx("h2",{className:"section-title",children:"Skills"}),v.jsx(Nt.div,{className:"skills-grid grid",variants:c,children:["Flutter & Dart","Riverpod & Bloc","MVVM Architecture","Firebase & MongoDB","SQLite & Hive","REST APIs","UI/UX Design (Figma)","Git & Agile"].map(d=>v.jsx(Nt.div,{className:"skill-card shine-effect",variants:f,children:d},d))})]})}),v.jsx("section",{id:"education",className:"section",children:v.jsxs(Nt.div,{className:"container",initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:r,children:[v.jsx("h2",{className:"section-title",children:"Education"}),v.jsxs("div",{className:"education-grid grid",children:[v.jsxs("div",{className:"education-card shine-effect",children:[v.jsx("h3",{children:"Master of Computer Applications (MCA)"}),v.jsx("p",{className:"education-place",children:"Hindusthan College of Engineering and Technology | Coimbatore"}),v.jsx("span",{className:"education-date",children:"Completed: 04/2023"}),v.jsx("p",{className:"education-score",children:"Score: 75.4%"})]}),v.jsxs("div",{className:"education-card shine-effect",children:[v.jsx("h3",{children:"BSc. Computer Science"}),v.jsx("p",{className:"education-place",children:"KR’s Sree Narayana College | Malappuram"}),v.jsx("span",{className:"education-date",children:"Completed: 11/2020"}),v.jsx("p",{className:"education-score",children:"Score: 54.6%"})]})]})]})}),v.jsx("section",{id:"conferences",className:"section",children:v.jsxs(Nt.div,{className:"container",initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:r,children:[v.jsx("h2",{className:"section-title",children:"Conferences & Presentations"}),v.jsxs("div",{className:"conference-card shine-effect",children:[v.jsx("h3",{children:'Paper Presentation: "Plant Identification Using TensorFlow"'}),v.jsxs("p",{children:["Presented at the ",v.jsx("strong",{children:"International Conference on Smart Innovative Technologies on Data Analytics (ICSITDA '23)"}),"."]}),v.jsx("p",{children:"Sponsored by ICT Academy and organized by the Department of Computer Applications, Ayya Nadar Janaki Ammal College, May 26, 2023."})]})]})}),v.jsx("section",{id:"languages",className:"section",children:v.jsxs(Nt.div,{className:"container",initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:r,children:[v.jsx("h2",{className:"section-title",children:"Languages"}),v.jsx("div",{className:"languages-flex",children:["English","Malayalam","Hindi","Tamil"].map(d=>v.jsx("div",{className:"language-tag shine-effect",children:d},d))})]})}),v.jsx("section",{id:"projects",className:"section",children:v.jsxs(Nt.div,{className:"container",initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:r,children:[v.jsx("h2",{className:"section-title",children:"Projects"}),v.jsx("p",{className:"section-subtitle",children:"Click on a project to see more details."}),v.jsx(Nt.div,{className:"projects-grid grid",variants:c,children:Object.values(Mv).map(d=>v.jsx(Nt.div,{variants:f,children:v.jsx(te,{to:`/projects/${d.id}`,className:"project-card-link",children:v.jsxs("div",{className:"project-card shine-effect",children:[v.jsx("h3",{children:d.title}),v.jsx("p",{children:d.description}),v.jsx("span",{className:"view-more",children:"View Details →"})]})})},d.id))}),v.jsxs(Nt.div,{className:"plugins-cta",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.5},children:[v.jsx("p",{style:{marginBottom:"1.5rem",fontSize:"1.1rem"},children:"I also contribute to the Flutter ecosystem with open-source plugins."}),v.jsxs("a",{href:"https://pub.dev/publishers/sanoop.dev/packages",target:"_blank",rel:"noopener noreferrer",className:"btn shine-effect",style:{display:"inline-flex",alignItems:"center",gap:"0.75rem"},children:[v.jsx(jc,{size:20}),"View My Flutter Plugins on Pub.dev"]})]})]})}),v.jsx("section",{id:"fun-link",className:"section",children:v.jsxs(Nt.div,{className:"container",style:{textAlign:"center"}
230,initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:r,children:[v.jsx("h2",{className:"section-title",children:"Fun Zone"}),v.jsx("p",{children:"Take a break and play some games I've built."}),v.jsx(te,{to:"/fun",className:"btn",children:"Go to Fun Zone"})]})}),v.jsx("section",{id:"blog",className:"section",children:v.jsxs(Nt.div,{className:"container",initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:r,children:[v.jsx("h2",{className:"section-title",children:"Latest Articles"}),v.jsx("p",{className:"section-subtitle",children:"Insights and thoughts on Flutter, Dart, and multi-platform development."}),v.jsx(Nt.div,{className:"blog-grid grid",variants:c,children:a.map(d=>v.jsx(Nt.div,{variants:f,children:v.jsx("a",{href:d.url,target:"_blank",rel:"noopener noreferrer",className:"blog-card-link",children:v.jsxs("div",{className:"blog-card shine-effect",children:[d.imageUrl&&v.jsx("div",{className:"blog-card-img-container",children:v.jsx("img",{src:d.imageUrl,alt:d.title,className:"blog-card-img",onError:p=>{p.target.style.display="none"},referrerPolicy:"no-referrer"})}),v.jsxs("div",{className:"blog-card-body",children:[v.jsxs("div",{children:[v.jsxs("div",{className:"blog-meta",children:[v.jsx("span",{children:d.date}),v.jsx("span",{className:"blog-dot",children:"•"}),v.jsx("span",{children:d.readTime})]}),v.jsx("h3",{children:d.title}),v.jsx("p",{children:d.description})]}),v.jsxs("span",{className:"blog-link",children:["Read on Medium ",v.jsx(cf,{size:14,style:{display:"inline",marginLeft:"4px",verticalAlign:"middle"}})]})]})]})})},d.id))}),a.length===0&&v.jsx("div",{style:{textAlign:"center",padding:"3rem",background:"var(--gray)",borderRadius:"1rem"},children:v.jsx("p",{style:{color:"var(--accent)",margin:0},children:"No articles posted yet. Check back soon!"})})]})}),v.jsx("section",{id:"contact",className:"section",children:v.jsxs(Nt.div,{className:"container",initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:r,children:[v.jsx("h2",{className:"section-title",children:"Get In Touch"}),v.jsxs("div",{className:"contact-grid grid",children:[v.jsxs("div",{className:"contact-info",children:[v.jsx("p",{children:"I'm always open to discussing new projects, creative ideas or opportunities to be part of your visions."}),v.jsxs("div",{className:"contact-details",children:[v.jsxs("div",{className:"contact-detail-item",children:[v.jsx(wc,{size:20}),v.jsx("span",{children:"[email protected]"})]}),v.jsxs("div",{className:"contact-detail-item",children:[v.jsx(ny,{size:20}),v.jsx("span",{children:"+91 9656595353"})]})]})]}),v.jsxs(Nt.div,{className:"contact-social-links",variants:c,children:[v.jsxs(Nt.a,{variants:f,href:"https://www.linkedin.com/in/sanoopdas",target:"_blank",rel:"noopener noreferrer",className:"social-icon-card shine-effect","aria-label":"LinkedIn",children:[v.jsx(Ug,{size:24}),v.jsx("span",{children:"LinkedIn"})]}),v.jsxs(Nt.a,{variants:f,href:"mailto:[email protected]",className:"social-icon-card shine-effect","aria-label":"Email",children:[v.jsx(wc,{size:24}),v.jsx("span",{children:"Email"})]}),v.jsxs(Nt.a,{variants:f,href:"https://www.instagram.com/_sanoop_das",target:"_blank",rel:"noopener noreferrer",className:"social-icon-card shine-effect","aria-label":"Instagram",children:[v.jsx(Lg,{size:24}),v.jsx("span",{children:"Instagram"})]}),v.jsxs(Nt.a,{variants:f,href:"https://medium.com/@sd2b",target:"_blank",rel:"noopener noreferrer",className:"social-icon-card shine-effect","aria-label":"Medium",children:[v.jsx(jc,{size:24}),v.jsx("span",{children:"Medium"})]}),v.jsxs(Nt.a,{variants:f,href:"https://github.com/SD2B",target:"_blank",rel:"noopener noreferrer",className:"social-icon-card shine-effect","aria-label":"GitHub",children:[v.jsx(Bg,{size:24}),v.jsx("span",{children:"GitHub"})]}),v.jsxs(Nt.a,{variants:f,href:"tel:+919656595353",className:"social-icon-card shine-effect","aria-label":"Phone",children:[v.jsx(ny,{size:24}),v.jsx("span",{children:"Phone"})]})]})]})]})})]})},L3=()=>{const[a,i]=D.useState(Array(9).fill("")),[s,r]=D.useState(!0),[c,f]=D.useState(null),d=m=>{const g=[[0,1,2],[3,4,5],[6,7,8],[0,3,6],[1,4,7],[2,5,8],[0,4,8],[2,4,6]];for(let S=0;S<g.length;S++){const[x,A,j]=g[S];if(m[x]&&m[x]===m[A]&&m[x]===m[j])return m[x]}return null},p=m=>{if(c||a[m])return;const g=a.slice();g[m]=s?"X":"O",i(g),r(!s);const S=d(g);S?f(S):g.includes("")||f("Draw")},y=()=>{i(Array(9).fill("")),r(!0),f(null)};return v.jsxs("div",{className:"game-card shine-effect",children:[v.jsx("h3",{children:"Tic Tac Toe"}),v.jsx("div",{className:"game-status",children:c?c==="Draw"?"Draw!":`Winner: ${c}`:`Next Player: ${s?"X":"O"}`}),v.jsx("div",{className:"ttt-grid",children:a.map((m,g)=>v.jsx("div",{className:"ttt-cell",onClick:()=>p(g),children:m},g))}),v.jsx("button",{className:"btn",onClick:y,style:{marginTop:"1rem"},children:"Reset"})]})},U3=()=>{const[a,i]=D.useState("Choose your weapon!"),s=["Rock","Paper","Scissors"],r=c=>
230{const f=s[Math.floor(Math.random()*3)];let d="";c===f?d="It's a tie!":c==="Rock"&&f==="Scissors"||c==="Paper"&&f==="Rock"||c==="Scissors"&&f==="Paper"?d="You win!":d="Computer wins!",i(`You: ${c} | CPU: ${f}
231${d}`)};return v.jsxs("div",{className:"game-card shine-effect",children:[v.jsx("h3",{children:"Rock Paper Scissors"}),v.jsx("div",{className:"game-status",style:{whiteSpace:"pre-line"},children:a}),v.jsx("div",{className:"rps-buttons",children:s.map(c=>v.jsx("button",{className:"rps-btn",onClick:()=>r(c),children:c},c))})]})},H3=()=>{const a=["A","A","B","B","C","C","D","D","E","E","F","F","G","G","H","H"],[i,s]=D.useState(()=>a.sort(()=>Math.random()-.5).map((m,g)=>({s:m,i:g,flipped:!1,matched:!1}))),[r,c]=D.useState([]),[f,d]=D.useState(!1),p=m=>{if(r.length===2||i[m].flipped||i[m].matched)return;const g=[...i];g[m].flipped=!0,s(g),c([...r,m])};D.useEffect(()=>{if(r.length===2){const[m,g]=r;if(i[m].s===i[g].s){const S=[...i];S[m].matched=!0,S[g].matched=!0,s(S),c([]),S.every(x=>x.matched)&&d(!0)}else setTimeout(()=>{const S=[...i];S[m].flipped=!1,S[g].flipped=!1,s(S),c([])},500)}},[r,i]);const y=()=>{s(a.sort(()=>Math.random()-.5).map((m,g)=>({s:m,i:g,flipped:!1,matched:!1}))),c([]),d(!1)};return v.jsxs("div",{className:"game-card shine-effect",children:[v.jsx("h3",{children:"Memory Game"}),f&&v.jsx("div",{className:"game-status",children:v.jsx("strong",{children:"You won!"})}),v.jsx("div",{className:"memory-grid",children:i.map((m,g)=>v.jsx("div",{className:`memory-card ${m.flipped||m.matched?"flipped":""}`,onClick:()=>p(g),children:m.flipped||m.matched?m.s:""},g))}),v.jsx("button",{className:"btn",onClick:y,style:{marginTop:"1rem"},children:"Reset"})]})},k3=()=>v.jsx("div",{className:"section",style:{marginTop:"70px"},children:v.jsxs("div",{className:"container reveal active",children:[v.jsx("h1",{className:"section-title",children:"Fun Zone"}),v.jsx("p",{children:"Take a break and play some simple games I've built using JavaScript (now in React!)."}),v.jsxs("div",{className:"grid",style:{gridTemplateColumns:"repeat(auto-fit, minmax(300px, 1fr))",marginTop:"3rem"},children:[v.jsx(L3,{}),v.jsx(U3,{}),v.jsx(H3,{})]}),v.jsx("div",{style:{marginTop:"3rem"},children:v.jsx(te,{to:"/",className:"btn",children:"← Back to Home"})})]})}),Y3=()=>{const{id:a}=_S(),i=a?Mv[a]:null;return i?v.jsx("main",{className:"section",style:{marginTop:"70px"},children:v.jsxs("div",{className:"container reveal active",children:[v.jsxs("div",{id:"project-details-content",children:[v.jsx("h1",{style:{fontSize:"3rem",marginBottom:"1.5rem"},children:i.title}),v.jsxs("div",{style:{background:"var(--gray)",padding:"2rem",borderRadius:"1rem",marginBottom:"3rem"},children:[v.jsx("h2",{style:{fontSize:"1.5rem",marginBottom:"1rem"},children:"Overview"}),v.jsx("p",{style:{fontSize:"1.1rem",lineHeight:"1.8"},children:i.description}),i.tech&&i.tech.length>0&&v.jsxs("div",{style:{marginTop:"2rem"},children:[v.jsx("h2",{style:{fontSize:"1.5rem",marginBottom:"1rem"},children:"Technologies & Tools"}),v.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:"0.6rem"},children:i.tech.map((s,r)=>v.jsx("span",{className:"platform-tag shine-effect",style:{fontSize:"0.85rem",padding:"0.35rem 0.8rem"},children:s},r))})]}),v.jsx("h2",{style:{fontSize:"1.5rem",marginTop:"2.5rem",marginBottom:"1rem"},children:"Key Features & Achievements"}),v.jsx("ul",{style:{listStyle:"none",padding:0},children:i.details.map((s,r)=>v.jsxs("li",{style:{marginBottom:"1rem",paddingLeft:"1.5rem",position:"relative"},children:[v.jsx("span",{style:{position:"absolute",left:0,top:0},children:"•"}),s]},r))})]})]}),v.jsx("div",{style:{marginTop:"3rem"},children:v.jsx(te,{to:"/#projects",className:"btn",children:"← Back to Projects"})})]})}):v.jsx("main",{className:"section",style:{marginTop:"70px"},children:v.jsxs("div",{className:"container reveal active",children:[v.jsx("h1",{children:"Project Not Found"}),v.jsx("p",{children:"Sorry, the project you're looking for doesn't exist."}),v.jsx("div",{style:{marginTop:"3rem"},children:v.jsx(te,{to:"/#projects",className:"btn",children:"← Back to Home"})})]})})},q3=()=>{const[a,i]=D.useState(""),[s,r]=D.useState(!1),[c,f]=D.useState(""),[d,p]=D.useState(Di()),[y,m]=D.use
231State(""),[g,S]=D.useState(""),[x,A]=D.useState(""),[j,B]=D.useState(""),[w,O]=D.useState(""),[G,V]=D.useState(""),[X,Q]=D.useState(null),[it,W]=D.useState(null);lf(),D.useEffect(()=>{sessionStorage.getItem("admin_authenticated")==="true"&&(r(!0),tf().then(K=>{K&&p(K)}))},[]);const et=async H=>{if(H.preventDefault(),a==="0000"){r(!0),sessionStorage.setItem("admin_authenticated","true");const lt=await tf();lt&&p(lt),f("")}else f("Incorrect PIN. Please try again."),i("")},rt=async H=>{if(H.preventDefault(),!g||!y){f("Title and URL are required.");return}if(X){const K={title:g,url:y,description:x||"No description provided.",date:j||new Date().toLocaleDateString("en-US",{month:"long",year:"numeric"}),readTime:w||"5 min read",imageUrl:G||void 0},lt=await O3(X,K);p(lt),Q(null)}else{const K={id:`blog-${Date.now()}`,title:g,url:y,description:x||"No description provided.",date:j||new Date().toLocaleDateString("en-US",{month:"long",year:"numeric"}),readTime:w||"5 min read",imageUrl:G||void 0},lt=await z3(K);p(lt)}m(""),S(""),A(""),B(""),O(""),V(""),f("")},tt=H=>{Q(H.id),S(H.title),m(H.url),A(H.description),B(H.date),O(H.readTime),V(H.imageUrl||""),f("");const K=document.getElementById("blog-form-container");K&&K.scrollIntoView({behavior:"smooth"})},mt=()=>{Q(null),m(""),S(""),A(""),B(""),O(""),V(""),f("")},St=H=>{W(H)},ee=async H=>{const K=await V3(H);p(K),W(null)},Ut=()=>{W(null)},Bt=async H=>{if(H===0)return;const K=[...d],lt=K[H];K[H]=K[H-1],K[H-1]=lt,p(K);const E=await gg(K);p(E)},L=async H=>{if(H===d.length-1)return;const K=[...d],lt=K[H];K[H]=K[H+1],K[H+1]=lt,p(K);const E=await gg(K);p(E)},Z=()=>{r(!1),sessionStorage.removeItem("admin_authenticated"),i("")};return s?v.jsx("main",{className:"section",style:{marginTop:"70px",minHeight:"90vh"},children:v.jsxs("div",{className:"container",children:[v.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"3rem",flexWrap:"wrap",gap:"1rem"},children:[v.jsxs("div",{children:[v.jsx("h1",{style:{fontSize:"2.5rem",marginBottom:"0.5rem"},children:"Admin Dashboard"}),v.jsx("p",{style:{color:"var(--accent)",margin:0},children:"Manage your Medium blog posts, edit details, and arrange display order."})]}),v.jsxs("div",{style:{display:"flex",gap:"1rem"},children:[v.jsx(te,{to:"/#blog",className:"btn",style:{background:"transparent",border:"1px solid var(--border)",display:"inline-flex",alignItems:"center",gap:"0.5rem"},children:"View Blog Section"}),v.jsxs("button",{onClick:Z,className:"btn",style:{background:"#ff4d4d",display:"inline-flex",alignItems:"center",gap:"0.5rem"},children:[v.jsx(u2,{size:16})," Logout"]})]})]}),v.jsxs("div",{id:"blog-form-container",className:"grid",style:{gridTemplateColumns:"1fr",gap:"3rem"},children:[v.jsxs("div",{className:"game-card",style:{background:"var(--gray)",padding:"2.5rem",borderRadius:"1rem",border:"1px solid var(--border)",textAlign:"left"},children:[v.jsxs("h2",{style:{fontSize:"1.5rem",marginBottom:"1.5rem",display:"flex",alignItems:"center",gap:"0.5rem",color:X?"var(--accent)":"inherit"},children:[X?v.jsx(ey,{size:20}):v.jsx(v2,{size:20}),X?"Edit Blog Post":"Add New Blog Post"]}),v.jsxs("form",{onSubmit:rt,className:"grid",style:{gap:"1.5rem"},children:[v.jsxs("div",{children:[v.jsx("label",{style:{display:"block",marginBottom:"0.5rem",fontWeight:600,fontSize:"0.9rem"},children:"Medium Post URL *"}),v.jsx("input",{type:"url",placeholder:"https://medium.com/@sd2b/your-awesome-post",value:y,onChange:H=>m(H.target.value),style:{width:"100%",padding:"0.8rem",borderRadius:"6px",border:"1px solid var(--border)",background:"var(--light)",color:"var(--primary)"},required:!0})]}),v.jsxs("div",{children:[v.jsx("label",{style:{display:"block",marginBottom:"0.5rem",fontWeight:600,fontSize:"0.9rem"},children:"Title *"}),v.jsx("input",{type:"text",placeholder:"Enter post title",value:g,onChange:H=>S(H.target.value),style:{width:"100%",padding:"0.8rem",borderRadius:"6px",border:"1px solid var(--border)",background:"var(--light)",color:"var(--primary)"},required:!0})]}),v.jsxs("div",{children:[v.jsx("label",{style:{display:"block",marginBottom:"0.5rem",fontWeight:600,fontSize:"0.9rem"},children:"Image URL (Optional)"}),v.jsx("input",{type:"url",placeholder:"https://images.unsplash.com/photo-...",value:G,onChange:H=>V(H.target.value),style:{width:"100%",padding:"0.8rem",borderRadius:"6px",border:"1px solid var(--border)",background:"var(--light)",color:"var(--primary)"}}),v.jsx("p",{style:{margin:"0.25rem 0 0 0",fontSize:"0.75rem",color:"var(--accent)"},children:"Give a direct image link to display a gorgeous header photo for your article."})]}),v.jsxs("div",{children:[v.jsx("label",{style:{display:"block",marginBottom:"0.5rem",fontWeight:600,fontSize:"0.9rem"},children:"Description (Brief Summary)"}),v.jsx("textarea",{placeholder:"Enter a brief summary of the blog post...",value:x,onChange:H=>A(H.target.value),style:{width:"100%",padding:"0.8rem",borderRadius:"6px",border:"1px solid var(--border)",background:"var(--light)",color:"var(--primary)",minHeight:"100px",resize:"vertical"}})]}),v.jsxs("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:"1.5rem"},children:[v.jsxs("div",{children:[v.jsx("label",{style:{display:"block",marginBottom:"0.5rem",fontWeight:600,fontSize:"0.9rem"},children:"Date (e.g. July 2026)"}),v.jsx("input",{type:"text",placeholder:"July 2026",value:j,onChange:H=>B(H.target.value),style:{width:"100%",padding:"0.8rem",borderRadius:"6px",border:"1px solid var(--border)",background:"var(--light)",color:"var(--primary)"}})]}),v.jsxs("div",{children:[v.jsx("label",{style:{display:"block",marginBottom:"0.5rem",fontWeight:600,fontSize:"0.9rem"},children:"Read Time (e.g. 5 min read)"}),v.jsx("input",{type:"text",placeholder:"5 min read",value:w,onChange:H=>O(H.target.value),style:{width:"100%",padding:"0.8rem",borderRadius:"6px",border:"1px solid var(--border)",background:"var(--light)",color:"var(--primary)"}})]})]}),c&&v.jsx("p",{style:{color:"#ff4d4d",fontSize:"0.9rem"},children:c}),v.jsxs("div",{style:{display:"flex",gap:"1rem"},children:[X&&v.jsxs("button",{type:"button",onClick:mt,className:"btn",style:{flex:1,padding:"1rem",background:"transparent",border:"1px solid var(--border)",display:"inline-flex",alignItems:"center",justifyContent:"center",gap:"0.5rem"},children:[v.jsx(z2,{size:16})," Cancel"]}),v.jsx("button",{type:"submit",className:"btn shine-effect",style:{flex:X?2:1,padding:"1rem"},children:X?"Save Changes":"Add Blog Post"})]})]})]}),v.jsxs("div",{children:[v.jsxs("h2",{style:{fontSize:"1.8rem",marginBottom:"1.5rem"},children:["Manage Blog Posts (",d.length,")"]}),d.length===0?v.jsx("div",{className:"game-card",style:{background:"var(--gray)",padding:"3rem",borderRadius:"1rem",border:"1px solid var(--border)"},children:v.jsx("p",{style:{margin:0,color:"var(--accent)"},children:"No blog posts added yet. Add your first post using the form above."})}):v.jsx("div",{className:"grid",style:{gap:"1.25rem"},children:d.map((H,K)=>v.jsxs("div",{className:"shine-effect",style:{background:X===H.id?"rgba(var(--accent-rgb), 0.05)":"var(--gray)",padding:"1.5rem",borderRadius:"12px",border:X===H.id?"2px solid var(--accent)":"1px solid var(--border)",display:"flex",flexDirection:"column",gap:"1rem",transition:"all 0.3s ease"},children:[v.jsxs("div",{style:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:"1.5rem",flexWrap:"wrap"},children:[v.jsxs("div",{style:{flex:1,minWidth:"250px"},children:[v.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.75rem",marginBottom:"0.5rem"},children:[v.jsxs("span",{style:{fontSize:"0.8rem",background:"var(--border)",padding:"0.2rem 0.6rem",borderRadius:"4px",fontWeight:600},children:["#",K+1]}),v.jsx("span",{style:{fontSize:"0.8rem",color:"var(--accent)"},children:H.date}),v.jsxs("span",{style:{fontSize:"0.8rem",color:"var(--accent)"},children:["• ",H.readTime]})]}),v.jsxs("h3",{style:{fontSize:"1.1rem",marginBottom:"0.5rem",fontWeight:600,display:"flex",alignItems:"center",gap:"0.5rem"},children:[H.title,H.imageUrl&&v.jsx("span",{style:{fontSize:"0.75rem",background:"rgba(0, 0, 0, 0.2)",color:"var(--accent)",padding:"0.1rem 0.4rem",borderRadius:"4px"},children:"Has Image"})]}),v.jsxs("a",{href:H.url,target:"_blank",rel:"noopener noreferrer",style:{fontSize:"0.85rem",color:"var(--accent)",display:"inline-flex",alignItems:"center",gap:"0.25rem",textDecoration:"underline"},children:[H.url.substring(0,50),"... ",v.jsx(cf,{size:12})]})]}),v.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.5rem"},children:[v.jsx("button",{onClick:()=>Bt(K),disabled:K===0,className:"btn",style:{padding:"0.5rem",background:"var(--light)",color:"var(--primary)",border:"1px solid var(--border)",cursor:K===0?"not-allowed":"pointer",opacity:K===0?.4:1},title:"Move Up",children:v.jsx(Ux,{size:16})}),v.jsx("button",{onClick:()=>L(K),disabled:K===d.length-1,className:"btn",style:{padding:"0.5rem",background:"var(--light)",color:"var(--primary)",border:"1px solid var(--border)",cursor:K===d.length-1?"not-allowed":"pointer",opacity:K===d.length-1?.4:1},title:"Move Down",children:v.jsx(Bx,{size:16})}),v.jsx("button",{onClick:()=>tt(H),className:"btn",style:{padding:"0.5rem",background:"var(--primary)",color:"var(--light)",border:"none",cursor:"pointer"},title:"Edit Post",children:v.jsx(ey,{size:16})}),v.jsx("button",{onClick:()=>St(H.id),className:"btn",style:{padding:"0.5rem",background:"#ff4d4d",color:"#fff",border:"none",cursor:"pointer"},title:"Delete Post",children:v.jsx(D2,{size:16})})]})]}),it===H.id&&v.jsxs("div",{style:{background:"rgba(255, 77, 77, 0.1)",border:"1px solid #ff4d4d",padding:"1rem",borderRadius:"8px",display:"flex",alignItems:"center",justifyContent:"space-between",gap:"1rem",marginTop:"0.5rem"},children:[v.jsxs("span",{style:{fontSize:"0.9rem",color:"#ff4d4d",display:"flex",alignItems:"center",gap:"0.5rem"},children:[v.jsx(j2,{size:16})," Are you absolutely sure you want to delete this post?"]}),v.jsxs("div",{style:{display:"flex",gap:"0.5rem"},children:[v.jsx("button",{onClick:()=>ee(H.id),className:"btn",style:{background:"#ff4d4d",color:"#fff",padding:"0.4rem 0.8rem",fontSize:"0.8rem"},children:"Yes, Delete"}),v.jsx("button",{onClick:Ut,className:"btn",style:{background:"transparent",border:"1px solid var(--border)",color:"var(--primary)",padding:"0.4rem 0.8rem",fontSize:"0.8rem"},children:"Cancel"})]})]})]},H.id))})]})]})]})}):v.jsx("main",{className:"section",style:{marginTop:"70px",minHeight:"80vh",display:"flex",alignItems:"center"},children:v.jsx("div",{className:"container",style:{maxWidth:"450px"},children:v.jsxs("div",{className:"game-card shine-effect",style:{border:"1px solid var(--border)",background:"var(--gray)"},children:[v.jsx("div",{style:{display:"flex",justifyContent:"center",marginBottom:"1.5rem",color:"var(--accent)"},children:v.jsx(T2,{size:48})}),v.jsx("h2",{style:{fontSize:"1.8rem",marginBottom:"0.5rem"},children:"Admin Access"}),v.jsx("p",{style:{fontSize:"0.9rem",marginBottom:"2rem"},children:"Please enter your 4-digit PIN to manage the blog section."}),v.jsxs("form",{onSubmit:et,children:[v.jsx("div",{style:{marginBottom:"1.5rem"},children:v.jsx("input",{type:"password",maxLength:4,placeholder:"••••",value:a,onChange:H=>i(H.target.value.replace(/\D/g,"")),style:{width:"100%",padding:"1rem",borderRadius:"8px",border:"1px solid var(--border)",background:"var(--light)",color:"var(--primary)",textAlign:"center",fontSize:"1.8rem",letterSpacing:"1rem",outline:"none"},autoFocus:!0})}),c&&v.jsx("p",{style:{color:"#ff4d4d",fontSize:"0.9rem",marginBottom:"1.5rem"},children:c}),v.jsxs("div",{style:{display:"flex",gap:"10px"},children:[v.jsx(te,{to:"/",className:"btn",style:{flex:1,padding:"0.8rem",background:"transparent",border:"1px solid var(--border)",display:"inline-block",textDecoration:"none"},children:"Cancel"}),v.jsx("button",{type:"submit",className:"btn",style:{flex:1,padding:"0.8rem"},children:"Unlock"})]})]})]})})})},G3=()=>{const{pathname:a,hash:i}=Cn();return D.useEffect(()=>{i?setTimeout(()=>{const s=i.replace("#",""),r=document.getElementById(s);r&&r.scrollIntoView({behavior:"smooth"})},100):window.scrollTo(0,0)},[a,i]),null},X3=()=>v.jsxs(Sx,{children:[v.jsx(G3,{}),v.jsx(O2,{children:v.jsxs(JS,{children:[v.jsx(El,{path:"/",element:v.jsx(B3,{})}),v.jsx(El,{path:"/fun",element:v.jsx(k3,{})}),v.jsx(El,{path:"/projects/:id",element:v.jsx(Y3,{})}),v.jsx(El,{path:"/admin",element:v.jsx(q3,{})})]})})]});sS.createRoot(document.getElementById("root")).render(v.jsx($b.StrictMode,{children:v.jsx(X3,{})}));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.