PageSourceSearch

https://exam-meksi.netlify.app/assets/index-OgG6F4tA.js

js exam-meksi.netlify.app collected 2026-10-03 10:42:54 UTC 322,963 bytes, 105 lines download raw bytes

vendor: 4,381 bytes, lines 1-17
1(function(){const l=document.createElement("link").relList;if(l&&l.supports&&l.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))r(c);new MutationObserver(c=>{for(const d of c)if(d.type==="childList")for(const h of d.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&r(h)}).observe(document,{childList:!0,subtree:!0});function u(c){const d={};return c.integrity&&(d.integrity=c.integrity),c.referrerPolicy&&(d.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?d.credentials="include":c.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function r(c){if(c.ep)return;c.ep=!0;const d=u(c);fetch(c.href,d)}})();var go={exports:{}},al={};/**
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 zm;function i1(){if(zm)return al;zm=1;var i=Symbol.for("react.transitional.element"),l=Symbol.for("react.fragment");function u(r,c,d){var h=null;if(d!==void 0&&(h=""+d),c.key!==void 0&&(h=""+c.key),"key"in c){d={};for(var y in c)y!=="key"&&(d[y]=c[y])}else d=c;return c=d.ref,{$$typeof:i,type:r,key:h,ref:c!==void 0?c:null,props:d}}return al.Fragment=l,al.jsx=u,al.jsxs=u,al}var wm;function l1(){return wm||(wm=1,go.exports=i1()),go.exports}var R=l1(),vo={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 _m;function s1(){if(_m)return st;_m=1;var i=Symbol.for("react.transitional.element"),l=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),h=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),b=Symbol.iterator;function A(S){return S===null||typeof S!="object"?null:(S=b&&S[b]||S["@@iterator"],typeof S=="function"?S:null)}var j={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},U=Object.assign,q={};function Q(S,_,K){this.props=S,this.context=_,this.refs=q,this.updater=K||j}Q.prototype.isReactComponent={},Q.prototype.setState=function(S,_){if(typeof S!="object"&&typeof S!="function"&&S!=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,S,_,"setState")},Q.prototype.forceUpdate=function(S){this.updater.enqueueForceUpdate(this,S,"forceUpdate")};function Y(){}Y.prototype=Q.prototype;function Z(S,_,K){this.props=S,this.context=_,this.refs=q,this.updater=K||j}var H=Z.prototype=new Y;H.constructor=Z,U(H,Q.prototype),H.isPureReactComponent=!0;var et=Array.isArray,L={H:null,A:null,T:null,S:null,V:null},W=Object.prototype.hasOwnProperty;function nt(S,_,K,X,$,dt){return K=dt.ref,{$$typeof:i,type:S,key:_,ref:K!==void 0?K:null,props:dt}}function P(S,_){return nt(S.type,_,void 0,void 0,void 0,S.props)}function yt(S){return typeof S=="object"&&S!==null&&S.$$typeof===i}function Ct(S){var _={"=":"=0",":":"=2"};return"$"+S.replace(/[=:]/g,function(K){return _[K]})}var Xt=/\/+/g;function Ht(S,_){return typeof S=="object"&&S!==null&&S.key!=null?Ct(""+S.key):_.toString(36)}function Ke(){}function Ue(S){switch(S.status){case"fulfilled":return S.value;case"rejected":throw S.reason;default:switch(typeof S.status=="string"?S.then(Ke,Ke):(S.status="pending",S.then(function(_){S.status==="pending"&&(S.status="fulfilled",S.value=_)},function(_){S.status==="pending"&&(S.status="rejected",S.reason=_)})),S.status){case"fulfilled":return S.value;case"rejected":throw S.reason}}throw S}function qt(S,_,K,X,$){var dt=typeof S;(dt==="undefined"||dt==="boolean")&&(S=null);var lt=!1;if(S===null)lt=!0;else switch(dt){case"bigint":case"string":case"number":lt=!0;break;case"object":switch(S.$$typeof){case i:case l:lt=!0;break;case v:return lt=S._init,qt(lt(S._payload),_,K,X,$)}}if(lt)return $=$(S),lt=X===""?"."+Ht(S,0):X,et($)?(K="",lt!=null&&(K=lt.replace(Xt,"$&/")+"/"),qt($,_,K,"",function(fn){return fn}
vendor: 31,054 bytes, lines 17-48
17)):$!=null&&(yt($)&&($=P($,K+($.key==null||S&&S.key===$.key?"":(""+$.key).replace(Xt,"$&/")+"/")+lt)),_.push($)),1;lt=0;var ce=X===""?".":X+":";if(et(S))for(var Et=0;Et<S.length;Et++)X=S[Et],dt=ce+Ht(X,Et),lt+=qt(X,_,K,dt,$);else if(Et=A(S),typeof Et=="function")for(S=Et.call(S),Et=0;!(X=S.next()).done;)X=X.value,dt=ce+Ht(X,Et++),lt+=qt(X,_,K,dt,$);else if(dt==="object"){if(typeof S.then=="function")return qt(Ue(S),_,K,X,$);throw _=String(S),Error("Objects are not valid as a React child (found: "+(_==="[object Object]"?"object with keys {"+Object.keys(S).join(", ")+"}":_)+"). If you meant to render a collection of children, use an array instead.")}return lt}function V(S,_,K){if(S==null)return S;var X=[],$=0;return qt(S,X,"","",function(dt){return _.call(K,dt,$++)}),X}function B(S){if(S._status===-1){var _=S._result;_=_(),_.then(function(K){(S._status===0||S._status===-1)&&(S._status=1,S._result=K)},function(K){(S._status===0||S._status===-1)&&(S._status=2,S._result=K)}),S._status===-1&&(S._status=0,S._result=_)}if(S._status===1)return S._result.default;throw S._result}var J=typeof reportError=="function"?reportError:function(S){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var _=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof S=="object"&&S!==null&&typeof S.message=="string"?String(S.message):String(S),error:S});if(!window.dispatchEvent(_))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",S);return}console.error(S)};function ft(){}return st.Children={map:V,forEach:function(S,_,K){V(S,function(){_.apply(this,arguments)},K)},count:function(S){var _=0;return V(S,function(){_++}),_},toArray:function(S){return V(S,function(_){return _})||[]},only:function(S){if(!yt(S))throw Error("React.Children.only expected to receive a single React element child.");return S}},st.Component=Q,st.Fragment=u,st.Profiler=c,st.PureComponent=Z,st.StrictMode=r,st.Suspense=g,st.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=L,st.__COMPILER_RUNTIME={__proto__:null,c:function(S){return L.H.useMemoCache(S)}},st.cache=function(S){return function(){return S.apply(null,arguments)}},st.cloneElement=function(S,_,K){if(S==null)throw Error("The argument must be a React element, but you passed "+S+".");var X=U({},S.props),$=S.key,dt=void 0;if(_!=null)for(lt in _.ref!==void 0&&(dt=void 0),_.key!==void 0&&($=""+_.key),_)!W.call(_,lt)||lt==="key"||lt==="__self"||lt==="__source"||lt==="ref"&&_.ref===void 0||(X[lt]=_[lt]);var lt=arguments.length-2;if(lt===1)X.children=K;else if(1<lt){for(var ce=Array(lt),Et=0;Et<lt;Et++)ce[Et]=arguments[Et+2];X.children=ce}return nt(S.type,$,void 0,void 0,dt,X)},st.createContext=function(S){return S={$$typeof:h,_currentValue:S,_currentValue2:S,_threadCount:0,Provider:null,Consumer:null},S.Provider=S,S.Consumer={$$typeof:d,_context:S},S},st.createElement=function(S,_,K){var X,$={},dt=null;if(_!=null)for(X in _.key!==void 0&&(dt=""+_.key),_)W.call(_,X)&&X!=="key"&&X!=="__self"&&X!=="__source"&&($[X]=_[X]);var lt=arguments.length-2;if(lt===1)$.children=K;else if(1<lt){for(var ce=Array(lt),Et=0;Et<lt;Et++)ce[Et]=arguments[Et+2];$.children=ce}if(S&&S.defaultProps)for(X in lt=S.defaultProps,lt)$[X]===void 0&&($[X]=lt[X]);return nt(S,dt,void 0,void 0,null,$)},st.createRef=function(){return{current:null}},st.forwardRef=function(S){return{$$typeof:y,render:S}},st.isValidElement=yt,st.lazy=function(S){return{$$typeof:v,_payload:{_status:-1,_result:S},_init:B}},st.memo=function(S,_){return{$$typeof:m,type:S,compare:_===void 0?null:_}},st.startTransition=function(S){var _=L.T,K={};L.T=K;try{var X=S(),$=L.S;$!==null&&$(K,X),typeof X=="object"&&X!==null&&typeof X.then=="function"&&X.then(ft,J)}catch(dt){J(dt)}finally{L.T=_}},st.unstable_useCacheRefresh=function(){return L.H.useCacheRefresh()},st.use=function(S){return L.H.use(S)},st.useActionState=function(S,_,K){return L.H.useActionState(S,_,K)},st.useCallback=function(S,_){return L.H.useCallback(S,_)},st.useContext=function(S){return L.H.useContext(S)},st.useDebugValue=function(){},st.useDeferredValue=function(S,_){return L.H.useDeferredValue(S,_)},st.useEffect=function(S,_,K){var X=L.H;if(typeof K=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return X.useEffect(S,_)},st.useId=function(){return L.H.useId()},st.useImperativeHandle=function(S,_,K){return L.H.useImperativeHandle(S,_,K)},st.useInsertionEffect=function(S,_){return L.H.useInsertionEffect(S,_)},st.useLayoutEffect=function(S,_){return L.H.useLayoutEffect(S,_)},st.useMemo=function(S,_){return L.H.useMemo(S,_)},st.useOptimistic=function(S,_){return L.H.useOptimistic(S,_)},st.useReducer=function(S,_,K){return L.H.useReducer(S,_,K)},st.useRef=function(S){return L.H.useRef(S)},st.useState=function(S){return L.H.useState(S)},st.useSyncExternalStore=function(S,_,K){return L.H.useSyncExternalStore(S,_,K)},st.useTransition=function(){return L.H.useTransition()},st.version="19.1.1",st}var Um;function lc(){return Um||(Um=1,vo.exports=s1()),vo.exports}var G=lc(),xo={exports:{}},il={},bo={exports:{}},So={};/**
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 Bm;function u1(){return Bm||(Bm=1,(function(i){function l(V,B){var J=V.length;V.push(B);t:for(;0<J;){var ft=J-1>>>1,S=V[ft];if(0<c(S,B))V[ft]=B,V[J]=S,J=ft;else break t}}function u(V){return V.length===0?null:V[0]}function r(V){if(V.length===0)return null;var B=V[0],J=V.pop();if(J!==B){V[0]=J;t:for(var ft=0,S=V.length,_=S>>>1;ft<_;){var K=2*(ft+1)-1,X=V[K],$=K+1,dt=V[$];if(0>c(X,J))$<S&&0>c(dt,X)?(V[ft]=dt,V[$]=J,ft=$):(V[ft]=X,V[K]=J,ft=K);else if($<S&&0>c(dt,J))V[ft]=dt,V[$]=J,ft=$;else break t}}return B}function c(V,B){var J=V.sortIndex-B.sortIndex;return J!==0?J:V.id-B.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var d=performance;i.unstable_now=function(){return d.now()}}else{var h=Date,y=h.now();i.unstable_now=function(){return h.now()-y}}var g=[],m=[],v=1,b=null,A=3,j=!1,U=!1,q=!1,Q=!1,Y=typeof setTimeout=="function"?setTimeout:null,Z=typeof clearTimeout=="function"?clearTimeout:null,H=typeof setImmediate<"u"?setImmediate:null;function et(V){for(var B=u(m);B!==null;){if(B.callback===null)r(m);else if(B.startTime<=V)r(m),B.sortIndex=B.expirationTime,l(g,B);else break;B=u(m)}}function L(V){if(q=!1,et(V),!U)if(u(g)!==null)U=!0,W||(W=!0,Ht());else{var B=u(m);B!==null&&qt(L,B.startTime-V)}}var W=!1,nt=-1,P=5,yt=-1;function Ct(){return Q?!0:!(i.unstable_now()-yt<P)}function Xt(){if(Q=!1,W){var V=i.unstable_now();yt=V;var B=!0;try{t:{U=!1,q&&(q=!1,Z(nt),nt=-1),j=!0;var J=A;try{e:{for(et(V),b=u(g);b!==null&&!(b.expirationTime>V&&Ct());){var ft=b.callback;if(typeof ft=="function"){b.callback=null,A=b.priorityLevel;var S=ft(b.expirationTime<=V);if(V=i.unstable_now(),typeof S=="function"){b.callback=S,et(V),B=!0;break e}b===u(g)&&r(g),et(V)}else r(g);b=u(g)}if(b!==null)B=!0;else{var _=u(m);_!==null&&qt(L,_.startTime-V),B=!1}}break t}finally{b=null,A=J,j=!1}B=void 0}}finally{B?Ht():W=!1}}}var Ht;if(typeof H=="function")Ht=function(){H(Xt)};else if(typeof MessageChannel<"u"){var Ke=new MessageChannel,Ue=Ke.port2;Ke.port1.onmessage=Xt,Ht=function(){Ue.postMessage(null)}}else Ht=function(){Y(Xt,0)};function qt(V,B){nt=Y(function(){V(i.unstable_now())},B)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(V){V.callback=null},i.unstable_forceFrameRate=function(V){0>V||125<V?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<V?Math.floor(1e3/V):5},i.unstable_getCurrentPriorityLevel=function(){return A},i.unstable_next=function(V){switch(A){case 1:case 2:case 3:var B=3;break;default:B=A}var J=A;A=B;try{return V()}finally{A=J}},i.unstable_requestPaint=function(){Q=!0},i.unstable_runWithPriority=function(V,B){switch(V){case 1:case 2:case 3:case 4:case 5:break;default:V=3}var J=A;A=V;try{return B()}finally{A=J}},i.unstable_scheduleCallback=function(V,B,J){var ft=i.unstable_now();switch(typeof J=="object"&&J!==null?(J=J.delay,J=typeof J=="number"&&0<J?ft+J:ft):J=ft,V){case 1:var S=-1;break;case 2:S=250;break;case 5:S=1073741823;break;case 4:S=1e4;break;default:S=5e3}return S=J+S,V={id:v++,callback:B,priorityLevel:V,startTime:J,expirationTime:S,sortIndex:-1},J>ft?(V.sortIndex=J,l(m,V),u(g)===null&&V===u(m)&&(q?(Z(nt),nt=-1):q=!0,qt(L,J-ft))):(V.sortIndex=S,l(g,V),U||j||(U=!0,W||(W=!0,Ht()))),V},i.unstable_shouldYield=Ct,i.unstable_wrapCallback=function(V){var B=A;return function(){var J=A;A=B;try{return V.apply(this,arguments)}finally{A=J}}}})(So)),So}var Lm;function r1(){return Lm||(Lm=1,bo.exports=u1()),bo.exports}var To={exports:{}},te={};/**
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 Hm;function o1(){if(Hm)return te;Hm=1;var i=lc();function l(g){var m="https://react.dev/errors/"+g;if(1<arguments.length){m+="?args[]="+encodeURIComponent(arguments[1]);for(var v=2;v<arguments.length;v++)m+="&args[]="+encodeURIComponent(arguments[v])}return"Minified React error #"+g+"; visit "+m+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function u(){}var r={d:{f:u,r:function(){throw Error(l(522))},D:u,C:u,L:u,m:u,X:u,S:u,M:u},p:0,findDOMNode:null},c=Symbol.for("react.portal");function d(g,m,v){var b=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:c,key:b==null?null:""+b,children:g,containerInfo:m,implementation:v}}var h=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function y(g,m){if(g==="font")return"";if(typeof m=="string")return m==="use-credentials"?m:""}return te.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,te.createPortal=function(g,m){var v=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!m||m.nodeType!==1&&m.nodeType!==9&&m.nodeType!==11)throw Error(l(299));return d(g,m,null,v)},te.flushSync=function(g){var m=h.T,v=r.p;try{if(h.T=null,r.p=2,g)return g()}finally{h.T=m,r.p=v,r.d.f()}},te.preconnect=function(g,m){typeof g=="string"&&(m?(m=m.crossOrigin,m=typeof m=="string"?m==="use-credentials"?m:"":void 0):m=null,r.d.C(g,m))},te.prefetchDNS=function(g){typeof g=="string"&&r.d.D(g)},te.preinit=function(g,m){if(typeof g=="string"&&m&&typeof m.as=="string"){var v=m.as,b=y(v,m.crossOrigin),A=typeof m.integrity=="string"?m.integrity:void 0,j=typeof m.fetchPriority=="string"?m.fetchPriority:void 0;v==="style"?r.d.S(g,typeof m.precedence=="string"?m.precedence:void 0,{crossOrigin:b,integrity:A,fetchPriority:j}):v==="script"&&r.d.X(g,{crossOrigin:b,integrity:A,fetchPriority:j,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},te.preinitModule=function(g,m){if(typeof g=="string")if(typeof m=="object"&&m!==null){if(m.as==null||m.as==="script"){var v=y(m.as,m.crossOrigin);r.d.M(g,{crossOrigin:v,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0})}}else m==null&&r.d.M(g)},te.preload=function(g,m){if(typeof g=="string"&&typeof m=="object"&&m!==null&&typeof m.as=="string"){var v=m.as,b=y(v,m.crossOrigin);r.d.L(g,v,{crossOrigin:b,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})}},te.preloadModule=function(g,m){if(typeof g=="string")if(m){var v=y(m.as,m.crossOrigin);r.d.m(g,{as:typeof m.as=="string"&&m.as!=="script"?m.as:void 0,crossOrigin:v,integrity:typeof m.integrity=="string"?m.integrity:void 0})}else r.d.m(g)},te.requestFormReset=function(g){r.d.r(g)},te.unstable_batchedUpdates=function(g,m){return g(m)},te.useFormState=function(g,m,v){return h.H.useFormState(g,m,v)},te.useFormStatus=function(){return h.H.useHostTransitionStatus()},te.version="19.1.1",te}var qm;function c1(){if(qm)return To.exports;qm=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(l){console.error(l)}}return i(),To.exports=o1(),To.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 Ym;function f1(){if(Ym)return il;Ym=1;var i=r1(),l=lc(),u=c1();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 d(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 h(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 y(t){if(d(t)!==t)throw Error(r(188))}function g(t){var e=t.alternate;if(!e){if(e=d(t),e===null)throw Error(r(188));return e!==t?null:t}for(var n=t,a=e;;){var s=n.return;if(s===null)break;var o=s.alternate;if(o===null){if(a=s.return,a!==null){n=a;continue}break}if(s.child===o.child){for(o=s.child;o;){if(o===n)return y(s),t;if(o===a)return y(s),e;o=o.sibling}throw Error(r(188))}if(n.return!==a.return)n=s,a=o;else{for(var f=!1,p=s.child;p;){if(p===n){f=!0,n=s,a=o;break}if(p===a){f=!0,a=s,n=o;break}p=p.sibling}if(!f){for(p=o.child;p;){if(p===n){f=!0,n=o,a=s;break}if(p===a){f=!0,a=o,n=s;break}p=p.sibling}if(!f)throw Error(r(189))}}if(n.alternate!==a)throw Error(r(190))}if(n.tag!==3)throw Error(r(188));return n.stateNode.current===n?t:e}function m(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=m(t),e!==null)return e;t=t.sibling}return null}var v=Object.assign,b=Symbol.for("react.element"),A=Symbol.for("react.transitional.element"),j=Symbol.for("react.portal"),U=Symbol.for("react.fragment"),q=Symbol.for("react.strict_mode"),Q=Symbol.for("react.profiler"),Y=Symbol.for("react.provider"),Z=Symbol.for("react.consumer"),H=Symbol.for("react.context"),et=Symbol.for("react.forward_ref"),L=Symbol.for("react.suspense"),W=Symbol.for("react.suspense_list"),nt=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),yt=Symbol.for("react.activity"),Ct=Symbol.for("react.memo_cache_sentinel"),Xt=Symbol.iterator;function Ht(t){return t===null||typeof t!="object"?null:(t=Xt&&t[Xt]||t["@@iterator"],typeof t=="function"?t:null)}var Ke=Symbol.for("react.client.reference");function Ue(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===Ke?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case U:return"Fragment";case Q:return"Profiler";case q:return"StrictMode";case L:return"Suspense";case W:return"SuspenseList";case yt:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case j:return"Portal";case H:return(t.displayName||"Context")+".Provider";case Z:return(t._context.displayName||"Context")+".Consumer";case et:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case nt:return e=t.displayName||null,e!==null?e:Ue(t.type)||"Memo";case P:e=t._payload,t=t._init;try{return Ue(t(e))}catch{}}return null}var qt=Array.isArray,V=l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,B=u.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J={pending:!1,data:null,method:null,action:null},ft=[],S=-1;function _(t){return{current:t}}function K(t){0>S||(t.current=ft[S],ft[S]=null,S--)}function X(t,e){S++,ft[S]=t.current,t.current=e}var $=_(null),dt=_(null),lt=_(null),ce=_(null);function Et(t,e){switch(X(lt,e),X(dt,t),X($,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?um(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=um(e),t=rm(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}K($),X($,t)}function fn(){K($),K(dt),K(lt)}function eu(t){t.memoizedState!==null&&X(ce,t);var e=$.current,n=rm(e,t.type);e!==n&&(X(dt,t),X($,n))}function Al(t){dt.current===t&&(K($),K(dt)),ce.current===t&&(K(ce),$i._currentValue=J)}var nu=Object.prototype.hasOwnProperty,au=i.unstable_scheduleCallback,iu=i.unstable_cancelCallback,Ug=i.unstable_shouldYield,Bg=i.unstable_requestPaint,Be=i.unstable_now,Lg=i.unstable_getCurrentPriorityLevel,qc=i.unstable_ImmediatePriority,Yc=i.unstable_UserBlockingPriority,El=i.unstable_NormalPriority,Hg=i.unstable_LowPriority,Gc=i.unstable_IdlePriority,qg=i.log,Yg=i.unstable_setDisableYieldValue,si=null,fe=null;function hn(t){if(typeof qg=="function"&&Yg(t),fe&&typeof fe.setStrictMode=="function")try{fe.setStrictMode(si,t)}catch{}}var he=Math.clz32?Math.clz32:Qg,Gg=Math.log,Xg=Math.LN2;function Qg(t){return t>>>=0,t===0?32:31-(Gg(t)/Xg|0)|0}var Ml=256,Dl=4194304;function qn(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Rl(t,e,n){var a=t.pendingLanes;if(a===0)return 0;var s=0,o=t.suspendedLanes,f=t.pingedLanes;t=t.warmLanes;var p=a&134217727;return p!==0?(a=p&~o,a!==0?s=qn(a):(f&=p,f!==0?s=qn(f):n||(n=p&~t,n!==0&&(s=qn(n))))):(p=a&~o,p!==0?s=qn(p):f!==0?s=qn(f):n||(n=a&~t,n!==0&&(s=qn(n)))),s===0?0:e!==0&&e!==s&&(e&o)===0&&(o=s&-s,n=e&-e,o>=n||o===32&&(n&4194048)!==0)?e:s}function ui(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function Zg(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 Xc(){var t=Ml;return Ml<<=1,(Ml&4194048)===0&&(Ml=256),t}function Qc(){var t=Dl;return Dl<<=1,(Dl&62914560)===0&&(Dl=4194304),t}function lu(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 Kg(t,e,n,a,s,o){var f=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 p=t.entanglements,x=t.expirationTimes,D=t.hiddenUpdates;for(n=f&~n;0<n;){var N=31-he(n),w=1<<N;p[N]=0,x[N]=-1;var O=D[N];if(O!==null)for(D[N]=null,N=0;N<O.length;N++){var C=O[N];C!==null&&(C.lane&=-536870913)}n&=~w}a!==0&&Zc(t,a,0),o!==0&&s===0&&t.tag!==0&&(t.suspendedLanes|=o&~(f&~e))}function Zc(t,e,n){t.pendingLanes|=e,t.suspendedLanes&=~e;var a=31-he(e);t.entangledLanes|=e,t.entanglements[a]=t.entanglements[a]|1073741824|n&4194090}function Kc(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var a=31-he(n),s=1<<a;s&e|t[a]&e&&(t[a]|=e),n&=~s}}function su(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 uu(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function kc(){var t=B.p;return t!==0?t:(t=window.event,t===void 0?32:Rm(t.type))}function kg(t,e){var n=B.p;try{return B.p=t,e()}finally{B.p=n}}var dn=Math.random().toString(36).slice(2),$t="__reactFiber$"+dn,ie="__reactProps$"+dn,ca="__reactContainer$"+dn,ru="__reactEvents$"+dn,Jg="__reactListeners$"+dn,Pg="__reactHandles$"+dn,Jc="__reactResources$"+dn,oi="__reactMarker$"+dn;function ou(t){delete t[$t],delete t[ie],delete t[ru],delete t[Jg],delete t[Pg]}function fa(t){var e=t[$t];if(e)return e;for(var n=t.parentNode;n;){if(e=n[ca]||n[$t]){if(n=e.alternate,e.child!==null||n!==null&&n.child!==null)for(t=hm(t);t!==null;){if(n=t[$t])return n;t=hm(t)}return e}t=n,n=t.parentNode}return null}function ha(t){if(t=t[$t]||t[ca]){var e=t.tag;if(e===5||e===6||e===13||e===26||e===27||e===3)return t}return null}function ci(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(r(33))}function da(t){var e=t[Jc];return e||(e=t[Jc]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function Qt(t){t[oi]=!0}var Pc=new Set,Fc={};function Yn(t,e){ma(t,e),ma(t+"Capture",e)}function ma(t,e){for(Fc[t]=e,t=0;t<e.length;t++)Pc.add(e[t])}var Fg=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]*$"),Wc={},$c={};function Wg(t){return nu.call($c,t)?!0:nu.call(Wc,t)?!1:Fg.test(t)?$c[t]=!0:(Wc[t]=!0,!1)}function Ol(t,e,n){if(Wg(e))if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var a=e.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+n)}}function Cl(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 ke(t,e,n,a){if(a===null)t.removeAttribute(n);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(n);return}t.setAttributeNS(e,n,""+a)}}var cu,Ic;function pa(t){if(cu===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);cu=e&&e[1]||"",Ic=-1<n.stack.indexOf(`
42    at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
43`+cu+t+Ic}var fu=!1;function hu(t,e){if(!t||fu)return"";fu=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(e){var w=function(){throw Error()};if(Object.defineProperty(w.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(w,[])}catch(C){var O=C}Reflect.construct(t,[],w)}else{try{w.call()}catch(C){O=C}t.call(w.prototype)}}else{try{throw Error()}catch(C){O=C}(w=t())&&typeof w.catch=="function"&&w.catch(function(){})}}catch(C){if(C&&O&&typeof C.stack=="string")return[C.stack,O.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var s=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");s&&s.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=a.DetermineComponentFrameRoot(),f=o[0],p=o[1];if(f&&p){var x=f.split(`
44`),D=p.split(`
45`);for(s=a=0;a<x.length&&!x[a].includes("DetermineComponentFrameRoot");)a++;for(;s<D.length&&!D[s].includes("DetermineComponentFrameRoot");)s++;if(a===x.length||s===D.length)for(a=x.length-1,s=D.length-1;1<=a&&0<=s&&x[a]!==D[s];)s--;for(;1<=a&&0<=s;a--,s--)if(x[a]!==D[s]){if(a!==1||s!==1)do if(a--,s--,0>s||x[a]!==D[s]){var N=`
46`+x[a].replace(" at new "," at ");return t.displayName&&N.includes("<anonymous>")&&(N=N.replace("<anonymous>",t.displayName)),N}while(1<=a&&0<=s);break}}}finally{fu=!1,Error.prepareStackTrace=n}return(n=t?t.displayName||t.name:"")?pa(n):""}function $g(t){switch(t.tag){case 26:case 27:case 5:return pa(t.type);case 16:return pa("Lazy");case 13:return pa("Suspense");case 19:return pa("SuspenseList");case 0:case 15:return hu(t.type,!1);case 11:return hu(t.type.render,!1);case 1:return hu(t.type,!0);case 31:return pa("Activity");default:return""}}function tf(t){try{var e="";do e+=$g(t),t=t.return;while(t);return e}catch(n){return`
47Error generating stack: `+n.message+`
48`+n.stack}}function be(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function ef(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Ig(t){var e=ef(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),a=""+t[e];if(!t.hasOwnProperty(e)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var s=n.get,o=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return s.call(this)},set:function(f){a=""+f,o.call(this,f)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return a},setValue:function(f){a=""+f},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Nl(t){t._valueTracker||(t._valueTracker=Ig(t))}function nf(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),a="";return t&&(a=ef(t)?t.checked?"true":"false":t.value),t=a,t!==n?(e.setValue(t),!0):!1}function Vl(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 t0=/[\n"\\]/g;function Se(t){return t.replace(t0,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function du(t,e,n,a,s,o,f,p){t.name="",f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"?t.type=f:t.removeAttribute("type"),e!=null?f==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+be(e)):t.value!==""+be(e)&&(t.value=""+be(e)):f!=="submit"&&f!=="reset"||t.removeAttribute("value"),e!=null?mu(t,f,be(e)):n!=null?mu(t,f,be(n)):a!=null&&t.removeAttribute("value"),s==null&&o!=null&&(t.defaultChecked=!!o),s!=null&&(t.checked=s&&typeof s!="function"&&typeof s!="symbol"),p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"?t.name=""+be(p):t.removeAttribute("name")}function af(t,e,n,a,s,o,f,p){if(o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"&&(t.type=o),e!=null||n!=null){if(!(o!=="submit"&&o!=="reset"||e!=null))return;n=n!=null?""+be(n):"",e=e!=null?""+be(e):n,p||e===t.value||(t.value=e),t.defaultValue=e}a=a??s,a=typeof a!="function"&&typeof a!="symbol"&&!!a,t.checked=p?t.checked:!!a,t.defaultChecked=!!a,f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(t.name=f)}function mu(t,e,n){e==="number"&&Vl(t.ownerDocument)===t||t.defaultValue===""+n||(t.defaultValue=""+n)}function ya(t,e,n,a){if(t=t.options,e){e={};for(var s=0;s<n.length;s++)e["$"+n[s]]=!0;for(n=0;n<t.length;n++)s=e.hasOwnProperty("$"+t[n].value),t[n].selected!==s&&(t[n].selected=s),s&&a&&(t[n].defaultSelected=!0)}else{for(n=""+be(n),e=null,s=0;s<t.length;s++){if(t[s].value===n){t[s].selected=!0,a&&(t[s].defaultSelected=!0);return}e!==null||t[s].disabled||(e=t[s])}e!==null&&(e.selected=!0)}}function lf(t,e,n){if(e!=null&&(e=""+be(e),e!==t.value&&(t.value=e),n==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=n!=null?""+be(n):""}function sf(t,e,n,a){if(e==null){if(a!=null){if(n!=null)throw Error(r(92));if(qt(a)){if(1<a.length)throw Error(r(93));a=a[0]}n=a}n==null&&(n=""),e=n}n=be(e),t.defaultValue=n,a=t.textContent,a===n&&a!==""&&a!==null&&(t.value=a)}function ga(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var e0=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 uf(t,e,n){var a=e.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?a?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":a?t.setProperty(e,n):typeof n!="number"||n===0||e0.has(e)?e==="float"?t.cssFloat=n:t[e]=(""+n).trim():t[e]=n+"px"}function rf(t,e,n){if(e!=null&&typeof e!="object")throw Error(r(62));if(t=t.style,n!=null){for(var a in n)!n.hasOwnProperty(a)||e!=null&&e.hasOwnProperty(a)||(a.indexOf("--")===0?t.setProperty(a,""):a==="float"?t.cssFloat="":t[a]="");for(var s in e)a=e[s],e.hasOwnProperty(s)&&n[s]!==a&&uf(t,s,a)}else for(var o in e)e.hasOwnProperty(o)&&uf(t,o,e[o])}function pu(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 n0=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"]]),a0=/^[\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 jl(t){return a0.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}var yu=null;function gu(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var va=null,xa=null;function of(t){var e=ha(t);if(e&&(t=e.stateNode)){var n=t[ie]||null;t:switch(t=e.stateNode,e.type){case"input":if(du(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="'+Se(""+e)+'"][type="radio"]'),e=0;e<n.length;e++){var a=n[e];if(a!==t&&a.form===t.form){var s=a[ie]||null;if(!s)throw Error(r(90));du(a,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name)}}for(e=0;e<n.length;e++)a=n[e],a.form===t.form&&nf(a)}break t;case"textarea":lf(t,n.value,n.defaultValue);break t;case"select":e=n.value,e!=null&&ya(t,!!n.multiple,e,!1)}}}var vu=!1;function cf(t,e,n){if(vu)return t(e,n);vu=!0;try{var a=t(e);return a}finally{if(vu=!1,(va!==null||xa!==null)&&(gs(),va&&(e=va,t=xa,xa=va=null,of(e),t)))for(e=0;e<t.length;e++)of(t[e])}}function fi(t,e){var n=t.stateNode;if(n===null)return null;var a=n[ie]||null;if(a===null)return null;n=a[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":(a=!a.disabled)||(t=t.type,a=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!a;break t;default:t=!1}if(t)return null;if(n&&typeof n!="function")throw Error(r(231,e,typeof n));return n}var Je=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),xu=!1;if(Je)try{var hi={};Object.defineProperty(hi,"passive",{get:function(){xu=!0}}),window.addEventListener("test",hi,hi),window.removeEventListener("test",hi,hi)}catch{xu=!1}var mn=null,bu=null,zl=null;function ff(){if(zl)return zl;var t,e=bu,n=e.length,a,s="value"in mn?mn.value:mn.textContent,o=s.length;for(t=0;t<n&&e[t]===s[t];t++);var f=n-t;for(a=1;a<=f&&e[n-a]===s[o-a];a++);return zl=s.slice(t,1<a?1-a:void 0)}function wl(t){var e=t.keyCode;
vendor: 6,364 bytes, line 48
48return"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 _l(){return!0}function hf(){return!1}function le(t){function e(n,a,s,o,f){this._reactName=n,this._targetInst=s,this.type=a,this.nativeEvent=o,this.target=f,this.currentTarget=null;for(var p in t)t.hasOwnProperty(p)&&(n=t[p],this[p]=n?n(o):o[p]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?_l:hf,this.isPropagationStopped=hf,this}return v(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=_l)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=_l)},persist:function(){},isPersistent:_l}),e}var Gn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ul=le(Gn),di=v({},Gn,{view:0,detail:0}),i0=le(di),Su,Tu,mi,Bl=v({},di,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Eu,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!==mi&&(mi&&t.type==="mousemove"?(Su=t.screenX-mi.screenX,Tu=t.screenY-mi.screenY):Tu=Su=0,mi=t),Su)},movementY:function(t){return"movementY"in t?t.movementY:Tu}}),df=le(Bl),l0=v({},Bl,{dataTransfer:0}),s0=le(l0),u0=v({},di,{relatedTarget:0}),Au=le(u0),r0=v({},Gn,{animationName:0,elapsedTime:0,pseudoElement:0}),o0=le(r0),c0=v({},Gn,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),f0=le(c0),h0=v({},Gn,{data:0}),mf=le(h0),d0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},m0={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"},p0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function y0(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=p0[t])?!!e[t]:!1}function Eu(){return y0}var g0=v({},di,{key:function(t){if(t.key){var e=d0[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=wl(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?m0[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Eu,charCode:function(t){return t.type==="keypress"?wl(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?wl(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),v0=le(g0),x0=v({},Bl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),pf=le(x0),b0=v({},di,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Eu}),S0=le(b0),T0=v({},Gn,{propertyName:0,elapsedTime:0,pseudoElement:0}),A0=le(T0),E0=v({},Bl,{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}),M0=le(E0),D0=v({},Gn,{newState:0,oldState:0}),R0=le(D0),O0=[9,13,27,32],Mu=Je&&"CompositionEvent"in window,pi=null;Je&&"documentMode"in document&&(pi=document.documentMode);var C0=Je&&"TextEvent"in window&&!pi,yf=Je&&(!Mu||pi&&8<pi&&11>=pi),gf=" ",vf=!1;function xf(t,e){switch(t){case"keyup":return O0.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function bf(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var ba=!1;function N0(t,e){switch(t){case"compositionend":return bf(e);case"keypress":return e.which!==32?null:(vf=!0,gf);case"textInput":return t=e.data,t===gf&&vf?null:t;default:return null}}function V0(t,e){if(ba)return t==="compositionend"||!Mu&&xf(t,e)?(t=ff(),zl=bu=mn=null,ba=!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 yf&&e.locale!=="ko"?null:e.data;default:return null}}var j0={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 Sf(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!j0[t.type]:e==="textarea"}function Tf(t,e,n,a){va?xa?xa.push(a):xa=[a]:va=a,e=As(e,"onChange"),0<e.length&&(n=new Ul("onChange","change",null,n,a),t.push({event:n,listeners:e}))}var yi=null,gi=null;function z0(t){nm(t,0)}function Ll(t){var e=ci(t);if(nf(e))return t}function Af(t,e){if(t==="change")return e}var Ef=!1;if(Je){var Du;if(Je){var Ru="oninput"in document;if(!Ru){var Mf=document.createElement("div");Mf.setAttribute("oninput","return;"),Ru=typeof Mf.oninput=="function"}Du=Ru}else Du=!1;Ef=Du&&(!document.documentMode||9<document.documentMode)}function Df(){yi&&(yi.detachEvent("onpropertychange",Rf),gi=yi=null)}function Rf(t){if(t.propertyName==="value"&&Ll(gi)){var e=[];Tf(e,gi,t,gu(t)),cf(z0,e)}}function w0(t,e,n){t==="focusin"?(Df(),yi=e,gi=n,yi.attachEvent("onpropertychange",Rf)):t==="focusout"&&Df()}function _0(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Ll(gi)}function U0(t,e){if(t==="click")return Ll(e)}function B0(t,e){if(t==="input"||t==="change")return Ll(e)}function L0(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var de=typeof Object.is=="function"?Object.is:L0;function vi(t,e){if(de(t,e))return!0;
vendor: 4,880 bytes, line 48
48if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var n=Object.keys(t),a=Object.keys(e);if(n.length!==a.length)return!1;for(a=0;a<n.length;a++){var s=n[a];if(!nu.call(e,s)||!de(t[s],e[s]))return!1}return!0}function Of(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Cf(t,e){var n=Of(t);t=0;for(var a;n;){if(n.nodeType===3){if(a=t+n.textContent.length,t<=e&&a>=e)return{node:n,offset:e-t};t=a}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=Of(n)}}function Nf(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Nf(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Vf(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=Vl(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=Vl(t.document)}return e}function Ou(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 H0=Je&&"documentMode"in document&&11>=document.documentMode,Sa=null,Cu=null,xi=null,Nu=!1;function jf(t,e,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Nu||Sa==null||Sa!==Vl(a)||(a=Sa,"selectionStart"in a&&Ou(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),xi&&vi(xi,a)||(xi=a,a=As(Cu,"onSelect"),0<a.length&&(e=new Ul("onSelect","select",null,e,n),t.push({event:e,listeners:a}),e.target=Sa)))}function Xn(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var Ta={animationend:Xn("Animation","AnimationEnd"),animationiteration:Xn("Animation","AnimationIteration"),animationstart:Xn("Animation","AnimationStart"),transitionrun:Xn("Transition","TransitionRun"),transitionstart:Xn("Transition","TransitionStart"),transitioncancel:Xn("Transition","TransitionCancel"),transitionend:Xn("Transition","TransitionEnd")},Vu={},zf={};Je&&(zf=document.createElement("div").style,"AnimationEvent"in window||(delete Ta.animationend.animation,delete Ta.animationiteration.animation,delete Ta.animationstart.animation),"TransitionEvent"in window||delete Ta.transitionend.transition);function Qn(t){if(Vu[t])return Vu[t];if(!Ta[t])return t;var e=Ta[t],n;for(n in e)if(e.hasOwnProperty(n)&&n in zf)return Vu[t]=e[n];return t}var wf=Qn("animationend"),_f=Qn("animationiteration"),Uf=Qn("animationstart"),q0=Qn("transitionrun"),Y0=Qn("transitionstart"),G0=Qn("transitioncancel"),Bf=Qn("transitionend"),Lf=new Map,ju="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(" ");ju.push("scrollEnd");function je(t,e){Lf.set(t,e),Yn(e,[t])}var Hf=new WeakMap;function Te(t,e){if(typeof t=="object"&&t!==null){var n=Hf.get(t);return n!==void 0?n:(e={value:t,source:e,stack:tf(e)},Hf.set(t,e),e)}return{value:t,source:e,stack:tf(e)}}var Ae=[],Aa=0,zu=0;function Hl(){for(var t=Aa,e=zu=Aa=0;e<t;){var n=Ae[e];Ae[e++]=null;var a=Ae[e];Ae[e++]=null;var s=Ae[e];Ae[e++]=null;var o=Ae[e];if(Ae[e++]=null,a!==null&&s!==null){var f=a.pending;f===null?s.next=s:(s.next=f.next,f.next=s),a.pending=s}o!==0&&qf(n,s,o)}}function ql(t,e,n,a){Ae[Aa++]=t,Ae[Aa++]=e,Ae[Aa++]=n,Ae[Aa++]=a,zu|=a,t.lanes|=a,t=t.alternate,t!==null&&(t.lanes|=a)}function wu(t,e,n,a){return ql(t,e,n,a),Yl(t)}function Ea(t,e){return ql(t,null,null,e),Yl(t)}function qf(t,e,n){t.lanes|=n;var a=t.alternate;a!==null&&(a.lanes|=n);for(var s=!1,o=t.return;o!==null;)o.childLanes|=n,a=o.alternate,a!==null&&(a.childLanes|=n),o.tag===22&&(t=o.stateNode,t===null||t._visibility&1||(s=!0)),t=o,o=o.return;return t.tag===3?(o=t.stateNode,s&&e!==null&&(s=31-he(n),t=o.hiddenUpdates,a=t[s],a===null?t[s]=[e]:a.push(e),e.lane=n|536870912),o):null}function Yl(t){if(50<Qi)throw Qi=0,qr=null,Error(r(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var Ma={};function X0(t,e,n,a){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.t
vendor: 1,734 bytes, line 48
48ype=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=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function me(t,e,n,a){return new X0(t,e,n,a)}function _u(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Pe(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 Yf(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 Gl(t,e,n,a,s,o){var f=0;if(a=t,typeof t=="function")_u(t)&&(f=1);else if(typeof t=="string")f=Zv(t,n,$.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case yt:return t=me(31,n,e,s),t.elementType=yt,t.lanes=o,t;
vendor: 132,887 bytes, lines 48-49
48case U:return Zn(n.children,s,o,e);case q:f=8,s|=24;break;case Q:return t=me(12,n,e,s|2),t.elementType=Q,t.lanes=o,t;case L:return t=me(13,n,e,s),t.elementType=L,t.lanes=o,t;case W:return t=me(19,n,e,s),t.elementType=W,t.lanes=o,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case Y:case H:f=10;break t;case Z:f=9;break t;case et:f=11;break t;case nt:f=14;break t;case P:f=16,a=null;break t}f=29,n=Error(r(130,t===null?"null":typeof t,"")),a=null}return e=me(f,n,e,s),e.elementType=t,e.type=a,e.lanes=o,e}function Zn(t,e,n,a){return t=me(7,t,a,e),t.lanes=n,t}function Uu(t,e,n){return t=me(6,t,null,e),t.lanes=n,t}function Bu(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 Da=[],Ra=0,Xl=null,Ql=0,Ee=[],Me=0,Kn=null,Fe=1,We="";function kn(t,e){Da[Ra++]=Ql,Da[Ra++]=Xl,Xl=t,Ql=e}function Gf(t,e,n){Ee[Me++]=Fe,Ee[Me++]=We,Ee[Me++]=Kn,Kn=t;var a=Fe;t=We;var s=32-he(a)-1;a&=~(1<<s),n+=1;var o=32-he(e)+s;if(30<o){var f=s-s%5;o=(a&(1<<f)-1).toString(32),a>>=f,s-=f,Fe=1<<32-he(e)+s|n<<s|a,We=o+t}else Fe=1<<o|n<<s|a,We=t}function Lu(t){t.return!==null&&(kn(t,1),Gf(t,1,0))}function Hu(t){for(;t===Xl;)Xl=Da[--Ra],Da[Ra]=null,Ql=Da[--Ra],Da[Ra]=null;for(;t===Kn;)Kn=Ee[--Me],Ee[Me]=null,We=Ee[--Me],Ee[Me]=null,Fe=Ee[--Me],Ee[Me]=null}var ne=null,Nt=null,pt=!1,Jn=null,Le=!1,qu=Error(r(519));function Pn(t){var e=Error(r(418,""));throw Ti(Te(e,t)),qu}function Xf(t){var e=t.stateNode,n=t.type,a=t.memoizedProps;switch(e[$t]=t,e[ie]=a,n){case"dialog":ct("cancel",e),ct("close",e);break;case"iframe":case"object":case"embed":ct("load",e);break;case"video":case"audio":for(n=0;n<Ki.length;n++)ct(Ki[n],e);break;case"source":ct("error",e);break;case"img":case"image":case"link":ct("error",e),ct("load",e);break;case"details":ct("toggle",e);break;case"input":ct("invalid",e),af(e,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0),Nl(e);break;case"select":ct("invalid",e);break;case"textarea":ct("invalid",e),sf(e,a.value,a.defaultValue,a.children),Nl(e)}n=a.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||e.textContent===""+n||a.suppressHydrationWarning===!0||sm(e.textContent,n)?(a.popover!=null&&(ct("beforetoggle",e),ct("toggle",e)),a.onScroll!=null&&ct("scroll",e),a.onScrollEnd!=null&&ct("scrollend",e),a.onClick!=null&&(e.onclick=Es),e=!0):e=!1,e||Pn(t)}function Qf(t){for(ne=t.return;ne;)switch(ne.tag){case 5:case 13:Le=!1;return;case 27:case 3:Le=!0;return;default:ne=ne.return}}function bi(t){if(t!==ne)return!1;if(!pt)return Qf(t),pt=!0,!1;var e=t.tag,n;if((n=e!==3&&e!==27)&&((n=e===5)&&(n=t.type,n=!(n!=="form"&&n!=="button")||no(t.type,t.memoizedProps)),n=!n),n&&Nt&&Pn(t),Qf(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(317));t:{for(t=t.nextSibling,e=0;t;){if(t.nodeType===8)if(n=t.data,n==="/$"){if(e===0){Nt=we(t.nextSibling);break t}e--}else n!=="$"&&n!=="$!"&&n!=="$?"||e++;t=t.nextSibling}Nt=null}}else e===27?(e=Nt,Nn(t.type)?(t=so,so=null,Nt=t):Nt=e):Nt=ne?we(t.stateNode.nextSibling):null;return!0}function Si(){Nt=ne=null,pt=!1}function Zf(){var t=Jn;return t!==null&&(re===null?re=t:re.push.apply(re,t),Jn=null),t}function Ti(t){Jn===null?Jn=[t]:Jn.push(t)}var Yu=_(null),Fn=null,$e=null;function pn(t,e,n){X(Yu,e._currentValue),e._currentValue=n}function Ie(t){t._currentValue=Yu.current,K(Yu)}function Gu(t,e,n){for(;t!==null;){var a=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,a!==null&&(a.childLanes|=e)):a!==null&&(a.childLanes&e)!==e&&(a.childLanes|=e),t===n)break;t=t.return}}function Xu(t,e,n,a){var s=t.child;for(s!==null&&(s.return=t);s!==null;){var o=s.dependencies;if(o!==null){var f=s.child;o=o.firstContext;t:for(;o!==null;){var p=o;o=s;for(var x=0;x<e.length;x++)if(p.context===e[x]){o.lanes|=n,p=o.alternate,p!==null&&(p.lanes|=n),Gu(o.return,n,t),a||(f=null);break t}o=p.next}}else if(s.tag===18){if(f=s.return,f===null)throw Error(r(341));f.lanes|=n,o=f.alternate,o!==null&&(o.lanes|=n),Gu(f,n,t),f=null}else f=s.child;if(f!==null)f.return=s;else for(f=s;f!==null;){if(f===t){f=null;break}if(s=f.sibling,s!==null){s.return=f.return,f=s;break}f=f.return}s=f}}function Ai(t,e,n,a){t=null;for(var s=e,o=!1;s!==null;){if(!o){if((s.flags&524288)!==0)o=!0;else if((s.flags&262144)!==0)break}if(s.tag===10){var f=s.alternate;if(f===null)throw Error(r(387));if(f=f.memoizedProps,f!==null){var p=s.type;de(s.pendingProps.value,f.value)||(t!==null?t.push(p):t=[p])}}else if(s===ce.current){if(f=s.alternate,f===null)throw Error(r(387));f.memoizedState.memoizedState!==s.memoizedState.memoizedState&&(t!==null?t.push($i):t=[$i])}s=s.return}t!==null&&Xu(e,t,n,a),e.flags|=262144}function Zl(t){for(t=t.firstContext;t!==null;){if(!de(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Wn(t){Fn=t,$e=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function It(t){return Kf(Fn,t)}function Kl(t,e){return Fn===null&&Wn(t),Kf(t,e)}function Kf(t,e){var n=e._currentValue;if(e={context:e,memoizedValue:n,next:null},$e===null){if(t===null)throw Error(r(308));$e=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else $e=$e.next=e;return n}var Q0=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(n,a){t.push(a)}};this.abort=function(){e.aborted=!0,t.forEach(function(n){return n()})}},Z0=i.unstable_scheduleCallback,K0=i.unstable_NormalPriority,Yt={$$typeof:H,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Qu(){return{controller:new Q0,data:new Map,refCount:0}}function Ei(t){t.refCount--,t.refCount===0&&Z0(K0,function(){t.controller.abort()})}var Mi=null,Zu=0,Oa=0,Ca=null;function k0(t,e){if(Mi===null){var n=Mi=[];Zu=0,Oa=kr(),Ca={status:"pending",value:void 0,then:function(a){n.push(a)}}}return Zu++,e.then(kf,kf),e}function kf(){if(--Zu===0&&Mi!==null){Ca!==null&&(Ca.status="fulfilled");var t=Mi;Mi=null,Oa=0,Ca=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function J0(t,e){var n=[],a={status:"pending",value:null,reason:null,then:function(s){n.push(s)}};return t.then(function(){a.status="fulfilled",a.value=e;for(var s=0;s<n.length;s++)(0,n[s])(e)},function(s){for(a.status="rejected",a.reason=s,s=0;s<n.length;s++)(0,n[s])(void 0)}),a}var Jf=V.S;V.S=function(t,e){typeof e=="object"&&e!==null&&typeof e.then=="function"&&k0(t,e),Jf!==null&&Jf(t,e)};var $n=_(null);function Ku(){var t=$n.current;return t!==null?t:At.pooledCache}function kl(t,e){e===null?X($n,$n.current):X($n,e.pool)}function Pf(){var t=Ku();return t===null?null:{parent:Yt._currentValue,pool:t}}var Di=Error(r(460)),Ff=Error(r(474)),Jl=Error(r(542)),ku={then:function(){}};function Wf(t){return t=t.status,t==="fulfilled"||t==="rejected"}function Pl(){}function $f(t,e,n){switch(n=t[n],n===void 0?t.push(e):n!==e&&(e.then(Pl,Pl),e=n),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,th(t),t;default:if(typeof e.status=="string")e.then(Pl,Pl);else{if(t=At,t!==null&&100<t.shellSuspendCounter)throw Error(r(482));t=e,t.status="pending",t.then(function(a){if(e.status==="pending"){var s=e;s.status="fulfilled",s.value=a}},function(a){if(e.status==="pending"){var s=e;s.status="rejected",s.reason=a}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,th(t),t}throw Ri=e,Di}}var Ri=null;function If(){if(Ri===null)throw Error(r(459));var t=Ri;return Ri=null,t}function th(t){if(t===Di||t===Jl)throw Error(r(483))}var yn=!1;function Ju(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Pu(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 gn(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function vn(t,e,n){var a=t.updateQueue;if(a===null)return null;if(a=a.shared,(gt&2)!==0){var s=a.pending;return s===null?e.next=e:(e.next=s.next,s.next=e),a.pending=e,e=Yl(t),qf(t,null,n),e}return ql(t,a,e,n),Yl(t)}function Oi(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194048)!==0)){var a=e.lanes;a&=t.pendingLanes,n|=a,e.lanes=n,Kc(t,n)}}function Fu(t,e){var n=t.updateQueue,a=t.alternate;if(a!==null&&(a=a.updateQueue,n===a)){var s=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var f={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};o===null?s=o=f:o=o.next=f,n=n.next}while(n!==null);o===null?s=o=e:o=o.next=e}else s=o=e;n={baseState:a.baseState,firstBaseUpdate:s,lastBaseUpdate:o,shared:a.shared,callbacks:a.callbacks},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}var Wu=!1;function Ci(){if(Wu){var t=Ca;if(t!==null)throw t}}function Ni(t,e,n,a){Wu=!1;var s=t.updateQueue;yn=!1;var o=s.firstBaseUpdate,f=s.lastBaseUpdate,p=s.shared.pending;if(p!==null){s.shared.pending=null;var x=p,D=x.next;x.next=null,f===null?o=D:f.next=D,f=x;var N=t.alternate;N!==null&&(N=N.updateQueue,p=N.lastBaseUpdate,p!==f&&(p===null?N.firstBaseUpdate=D:p.next=D,N.lastBaseUpdate=x))}if(o!==null){var w=s.baseState;f=0,N=D=x=null,p=o;do{var O=p.lane&-536870913,C=O!==p.lane;if(C?(ht&O)===O:(a&O)===O){O!==0&&O===Oa&&(Wu=!0),N!==null&&(N=N.next={lane:0,tag:p.tag,payload:p.payload,callback:null,next:null});t:{var at=t,I=p;O=e;var St=n;switch(I.tag){case 1:if(at=I.payload,typeof at=="function"){w=at.call(St,w,O);break t}w=at;break t;case 3:at.flags=at.flags&-65537|128;case 0:if(at=I.payload,O=typeof at=="function"?at.call(St,w,O):at,O==null)break t;w=v({},w,O);break t;case 2:yn=!0}}O=p.callback,O!==null&&(t.flags|=64,C&&(t.flags|=8192),C=s.callbacks,C===null?s.callbacks=[O]:C.push(O))}else C={lane:O,tag:p.tag,payload:p.payload,callback:p.callback,next:null},N===null?(D=N=C,x=w):N=N.next=C,f|=O;if(p=p.next,p===null){if(p=s.shared.pending,p===null)break;C=p,p=C.next,C.next=null,s.lastBaseUpdate=C,s.shared.pending=null}}while(!0);N===null&&(x=w),s.baseState=x,s.firstBaseUpdate=D,s.lastBaseUpdate=N,o===null&&(s.shared.lanes=0),Dn|=f,t.lanes=f,t.memoizedState=w}}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 Na=_(null),Fl=_(0);function ah(t,e){t=un,X(Fl,t),X(Na,e),un=t|e.baseLanes}function $u(){X(Fl,un),X(Na,Na.current)}function Iu(){un=Fl.current,K(Na),K(Fl)}var xn=0,ut=null,xt=null,Ut=null,Wl=!1,Va=!1,In=!1,$l=0,Vi=0,ja=null,P0=0;function zt(){throw Error(r(321))}function tr(t,e){if(e===null)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!de(t[n],e[n]))return!1;return!0}function er(t,e,n,a,s,o){return xn=o,ut=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,V.H=t===null||t.memoizedState===null?qh:Yh,In=!1,o=n(a,s),In=!1,Va&&(o=lh(e,n,a,s)),ih(t),o}function ih(t){V.H=is;var e=xt!==null&&xt.next!==null;if(xn=0,Ut=xt=ut=null,Wl=!1,Vi=0,ja=null,e)throw Error(r(300));t===null||Zt||(t=t.dependencies,t!==null&&Zl(t)&&(Zt=!0))}function lh(t,e,n,a){ut=t;var s=0;do{if(Va&&(ja=null),Vi=0,Va=!1,25<=s)throw Error(r(301));if(s+=1,Ut=xt=null,t.updateQueue!=null){var o=t.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}V.H=nv,o=e(n,a)}while(Va);return o}function F0(){var t=V.H,e=t.useState()[0];return e=typeof e.then=="function"?ji(e):e,t=t.useState()[0],(xt!==null?xt.memoizedState:null)!==t&&(ut.flags|=1024),e}function nr(){var t=$l!==0;return $l=0,t}function ar(t,e,n){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~n}function ir(t){if(Wl){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}Wl=!1}xn=0,Ut=xt=ut=null,Va=!1,Vi=$l=0,ja=null}function se(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ut===null?ut.memoizedState=Ut=t:Ut=Ut.next=t,Ut}function Bt(){if(xt===null){var t=ut.alternate;t=t!==null?t.memoizedState:null}else t=xt.next;var e=Ut===null?ut.memoizedState:Ut.next;if(e!==null)Ut=e,xt=t;else{if(t===null)throw ut.alternate===null?Error(r(467)):Error(r(310));xt=t,t={memoizedState:xt.memoizedState,baseState:xt.baseState,baseQueue:xt.baseQueue,queue:xt.queue,next:null},Ut===null?ut.memoizedState=Ut=t:Ut=Ut.next=t}return Ut}function lr(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ji(t){var e=Vi;return Vi+=1,ja===null&&(ja=[]),t=$f(ja,t,e),e=ut,(Ut===null?e.memoizedState:Ut.next)===null&&(e=e.alternate,V.H=e===null||e.memoizedState===null?qh:Yh),t}function Il(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return ji(t);if(t.$$typeof===H)return It(t)}throw Error(r(438,String(t)))}function sr(t){var e=null,n=ut.updateQueue;if(n!==null&&(e=n.memoCache),e==null){var a=ut.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(e={data:a.data.map(function(s){return s.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),n===null&&(n=lr(),ut.updateQueue=n),n.memoCache=e,n=e.data[e.index],n===void 0)for(n=e.data[e.index]=Array(t),a=0;a<t;a++)n[a]=Ct;return e.index++,n}function tn(t,e){return typeof e=="function"?e(t):e}function ts(t){var e=Bt();return ur(e,xt,t)}function ur(t,e,n){var a=t.queue;if(a===null)throw Error(r(311));a.lastRenderedReducer=n;var s=t.baseQueue,o=a.pending;if(o!==null){if(s!==null){var f=s.next;s.next=o.next,o.next=f}e.baseQueue=s=o,a.pending=null}if(o=t.baseState,s===null)t.memoizedState=o;else{e=s.next;var p=f=null,x=null,D=e,N=!1;do{var w=D.lane&-536870913;if(w!==D.lane?(ht&w)===w:(xn&w)===w){var O=D.revertLane;if(O===0)x!==null&&(x=x.next={lane:0,revertLane:0,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null}),w===Oa&&(N=!0);else if((xn&O)===O){D=D.next,O===Oa&&(N=!0);continue}else w={lane:0,revertLane:D.revertLane,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},x===null?(p=x=w,f=o):x=x.next=w,ut.lanes|=O,Dn|=O;w=D.action,In&&n(o,w),o=D.hasEagerState?D.eagerState:n(o,w)}else O={lane:w,revertLane:D.revertLane,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},x===null?(p=x=O,f=o):x=x.next=O,ut.lanes|=w,Dn|=w;D=D.next}while(D!==null&&D!==e);if(x===null?f=o:x.next=p,!de(o,t.memoizedState)&&(Zt=!0,N&&(n=Ca,n!==null)))throw n;t.memoizedState=o,t.baseState=f,t.baseQueue=x,a.lastRenderedState=o}return s===null&&(a.lanes=0),[t.memoizedState,a.dispatch]}function rr(t){var e=Bt(),n=e.queue;if(n===null)throw Error(r(311));n.lastRenderedReducer=t;var a=n.dispatch,s=n.pending,o=e.memoizedState;if(s!==null){n.pending=null;var f=s=s.next;do o=t(o,f.action),f=f.next;while(f!==s);de(o,e.memoizedState)||(Zt=!0),e.memoizedState=o,e.baseQueue===null&&(e.baseState=o),n.lastRenderedState=o}return[o,a]}function sh(t,e,n){var a=ut,s=Bt(),o=pt;if(o){if(n===void 0)throw Error(r(407));n=n()}else n=e();var f=!de((xt||s).memoizedState,n);f&&(s.memoizedState=n,Zt=!0),s=s.queue;var p=oh.bind(null,a,s,t);if(zi(2048,8,p,[t]),s.getSnapshot!==e||f||Ut!==null&&Ut.memoizedState.tag&1){if(a.flags|=2048,za(9,es(),rh.bind(null,a,s,n,e),null),At===null)throw Error(r(349));o||(xn&124)!==0||uh(a,e,n)}return n}function uh(t,e,n){t.flags|=16384,t={getSnapshot:e,value:n},e=ut.updateQueue,e===null?(e=lr(),ut.updateQueue=e,e.stores=[t]):(n=e.stores,n===null?e.stores=[t]:n.push(t))}function rh(t,e,n,a){e.value=n,e.getSnapshot=a,ch(e)&&fh(t)}function oh(t,e,n){return n(function(){ch(e)&&fh(t)})}function ch(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!de(t,n)}catch{return!0}}function fh(t){var e=Ea(t,2);e!==null&&xe(e,t,2)}function or(t){var e=se();if(typeof t=="function"){var n=t;if(t=n(),In){hn(!0);try{n()}finally{hn(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:tn,lastRenderedState:t},e}function hh(t,e,n,a){return t.baseState=n,ur(t,xt,typeof a=="function"?a:tn)}function W0(t,e,n,a,s){if(as(t))throw Error(r(485));if(t=e.action,t!==null){var o={payload:s,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(f){o.listeners.push(f)}};V.T!==null?n(!0):o.isTransition=!1,a(o),n=e.pending,n===null?(o.next=e.pending=o,dh(e,o)):(o.next=n.next,e.pending=n.next=o)}}function dh(t,e){var n=e.action,a=e.payload,s=t.state;if(e.isTransition){var o=V.T,f={};V.T=f;try{var p=n(s,a),x=V.S;x!==null&&x(f,p),mh(t,e,p)}catch(D){cr(t,e,D)}finally{V.T=o}}else try{o=n(s,a),mh(t,e,o)}catch(D){cr(t,e,D)}}function mh(t,e,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(a){ph(t,e,a)},function(a){return cr(t,e,a)}):ph(t,e,n)}function ph(t,e,n){e.status="fulfilled",e.value=n,yh(e),t.state=n,e=t.pending,e!==null&&(n=e.next,n===e?t.pending=null:(n=n.next,e.next=n,dh(t,n)))}function cr(t,e,n){var a=t.pending;if(t.pending=null,a!==null){a=a.next;do e.status="rejected",e.reason=n,yh(e),e=e.next;while(e!==a)}t.action=null}function yh(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function gh(t,e){return e}function vh(t,e){if(pt){var n=At.formState;if(n!==null){t:{var a=ut;if(pt){if(Nt){e:{for(var s=Nt,o=Le;s.nodeType!==8;){if(!o){s=null;break e}if(s=we(s.nextSibling),s===null){s=null;break e}}o=s.data,s=o==="F!"||o==="F"?s:null}if(s){Nt=we(s.nextSibling),a=s.data==="F!";break t}}Pn(a)}a=!1}a&&(e=n[0])}}return n=se(),n.memoizedState=n.baseState=e,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:gh,lastRenderedState:e},n.queue=a,n=Bh.bind(null,ut,a),a.dispatch=n,a=or(!1),o=pr.bind(null,ut,!1,a.queue),a=se(),s={state:e,dispatch:null,action:t,pending:null},a.queue=s,n=W0.bind(null,ut,s,o,n),s.dispatch=n,a.memoizedState=t,[e,n,!1]}function xh(t){var e=Bt();return bh(e,xt,t)}function bh(t,e,n){if(e=ur(t,e,gh)[0],t=ts(tn)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var a=ji(e)}catch(f){throw f===Di?Jl:f}else a=e;e=Bt();var s=e.queue,o=s.dispatch;return n!==e.memoizedState&&(ut.flags|=2048,za(9,es(),$0.bind(null,s,n),null)),[a,o,t]}function $0(t,e){t.action=e}function Sh(t){var e=Bt(),n=xt;if(n!==null)return bh(e,n,t);Bt(),e=e.memoizedState,n=Bt();var a=n.queue.dispatch;return n.memoizedState=t,[e,a,!1]}function za(t,e,n,a){return t={tag:t,create:n,deps:a,inst:e,next:null},e=ut.updateQueue,e===null&&(e=lr(),ut.updateQueue=e),n=e.lastEffect,n===null?e.lastEffect=t.next=t:(a=n.next,n.next=t,t.next=a,e.lastEffect=t),t}function es(){return{destroy:void 0,resource:void 0}}function Th(){return Bt().memoizedState}function ns(t,e,n,a){var s=se();a=a===void 0?null:a,ut.flags|=t,s.memoizedState=za(1|e,es(),n,a)}function zi(t,e,n,a){var s=Bt();a=a===void 0?null:a;var o=s.memoizedState.inst;xt!==null&&a!==null&&tr(a,xt.memoizedState.deps)?s.memoizedState=za(e,o,n,a):(ut.flags|=t,s.memoizedState=za(1|e,o,n,a))}function Ah(t,e){ns(8390656,8,t,e)}function Eh(t,e){zi(2048,8,t,e)}function Mh(t,e){return zi(4,2,t,e)}function Dh(t,e){return zi(4,4,t,e)}function Rh(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 Oh(t,e,n){n=n!=null?n.concat([t]):null,zi(4,4,Rh.bind(null,e,t),n)}function fr(){}function Ch(t,e){var n=Bt();e=e===void 0?null:e;var a=n.memoizedState;return e!==null&&tr(e,a[1])?a[0]:(n.memoizedState=[t,e],t)}function Nh(t,e){var n=Bt();e=e===void 0?null:e;var a=n.memoizedState;if(e!==null&&tr(e,a[1]))return a[0];if(a=t(),In){hn(!0);try{t()}finally{hn(!1)}}return n.memoizedState=[a,e],a}function hr(t,e,n){return n===void 0||(xn&1073741824)!==0?t.memoizedState=e:(t.memoizedState=n,t=zd(),ut.lanes|=t,Dn|=t,n)}function Vh(t,e,n,a){return de(n,e)?n:Na.current!==null?(t=hr(t,n,a),de(t,e)||(Zt=!0),t):(xn&42)===0?(Zt=!0,t.memoizedState=n):(t=zd(),ut.lanes|=t,Dn|=t,e)}function jh(t,e,n,a,s){var o=B.p;B.p=o!==0&&8>o?o:8;var f=V.T,p={};V.T=p,pr(t,!1,e,n);try{var x=s(),D=V.S;if(D!==null&&D(p,x),x!==null&&typeof x=="object"&&typeof x.then=="function"){var N=J0(x,a);wi(t,e,N,ve(t))}else wi(t,e,a,ve(t))}catch(w){wi(t,e,{then:function(){},status:"rejected",reason:w},ve())}finally{B.p=o,V.T=f}}function I0(){}function dr(t,e,n,a){if(t.tag!==5)throw Error(r(476));var s=zh(t).queue;jh(t,s,e,J,n===null?I0:function(){return wh(t),n(a)})}function zh(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:J,baseState:J,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:tn,lastRenderedState:J},next:null};var n={};return e.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:tn,lastRenderedState:n},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function wh(t){var e=zh(t).next.queue;wi(t,e,{},ve())}function mr(){return It($i)}function _h(){return Bt().memoizedState}function Uh(){return Bt().memoizedState}function tv(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var n=ve();t=gn(n);var a=vn(e,t,n);a!==null&&(xe(a,e,n),Oi(a,e,n)),e={cache:Qu()},t.payload=e;return}e=e.return}}function ev(t,e,n){var a=ve();n={lane:a,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null},as(t)?Lh(e,n):(n=wu(t,e,n,a),n!==null&&(xe(n,t,a),Hh(n,e,a)))}function Bh(t,e,n){var a=ve();wi(t,e,n,a)}function wi(t,e,n,a){var s={lane:a,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(as(t))Lh(e,s);else{var o=t.alternate;if(t.lanes===0&&(o===null||o.lanes===0)&&(o=e.lastRenderedReducer,o!==null))try{var f=e.lastRenderedState,p=o(f,n);if(s.hasEagerState=!0,s.eagerState=p,de(p,f))return ql(t,e,s,0),At===null&&Hl(),!1}catch{}finally{}if(n=wu(t,e,s,a),n!==null)return xe(n,t,a),Hh(n,e,a),!0}return!1}function pr(t,e,n,a){if(a={lane:2,revertLane:kr(),action:a,hasEagerState:!1,eagerState:null,next:null},as(t)){if(e)throw Error(r(479))}else e=wu(t,n,a,2),e!==null&&xe(e,t,2)}function as(t){var e=t.alternate;return t===ut||e!==null&&e===ut}function Lh(t,e){Va=Wl=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function Hh(t,e,n){if((n&4194048)!==0){var a=e.lanes;a&=t.pendingLanes,n|=a,e.lanes=n,Kc(t,n)}}var is={readContext:It,use:Il,useCallback:zt,useContext:zt,useEffect:zt,useImperativeHandle:zt,useLayoutEffect:zt,useInsertionEffect:zt,useMemo:zt,useReducer:zt,useRef:zt,useState:zt,useDebugValue:zt,useDeferredValue:zt,useTransition:zt,useSyncExternalStore:zt,useId:zt,useHostTransitionStatus:zt,useFormState:zt,useActionState:zt,useOptimistic:zt,useMemoCache:zt,useCacheRefresh:zt},qh={readContext:It,use:Il,useCallback:function(t,e){return se().memoizedState=[t,e===void 0?null:e],t},useContext:It,useEffect:Ah,useImperativeHandle:function(t,e,n){n=n!=null?n.concat([t]):null,ns(4194308,4,Rh.bind(null,e,t),n)},useLayoutEffect:function(t,e){return ns(4194308,4,t,e)},useInsertionEffect:function(t,e){ns(4,2,t,e)},useMemo:function(t,e){var n=se();e=e===void 0?null:e;var a=t();if(In){hn(!0);try{t()}finally{hn(!1)}}return n.memoizedState=[a,e],a},useReducer:function(t,e,n){var a=se();if(n!==void 0){var s=n(e);if(In){hn(!0);try{n(e)}finally{hn(!1)}}}else s=e;return a.memoizedState=a.baseState=s,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:s},a.queue=t,t=t.dispatch=ev.bind(null,ut,t),[a.memoizedState,t]},useRef:function(t){var e=se();return t={current:t},e.memoizedState=t},useState:function(t){t=or(t);var e=t.queue,n=Bh.bind(null,ut,e);return e.dispatch=n,[t.memoizedState,n]},useDebugValue:fr,useDeferredValue:function(t,e){var n=se();return hr(n,t,e)},useTransition:function(){var t=or(!1);return t=jh.bind(null,ut,t.queue,!0,!1),se().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,n){var a=ut,s=se();if(pt){if(n===void 0)throw Error(r(407));n=n()}else{if(n=e(),At===null)throw Error(r(349));(ht&124)!==0||uh(a,e,n)}s.memoizedState=n;var o={value:n,getSnapshot:e};return s.queue=o,Ah(oh.bind(null,a,o,t),[t]),a.flags|=2048,za(9,es(),rh.bind(null,a,o,n,e),null),n},useId:function(){var t=se(),e=At.identifierPrefix;if(pt){var n=We,a=Fe;n=(a&~(1<<32-he(a)-1)).toString(32)+n,e="«"+e+"R"+n,n=$l++,0<n&&(e+="H"+n.toString(32)),e+="»"}else n=P0++,e="«"+e+"r"+n.toString(32)+"»";return t.memoizedState=e},useHostTransitionStatus:mr,useFormState:vh,useActionState:vh,useOptimistic:function(t){var e=se();e.memoizedState=e.baseState=t;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=n,e=pr.bind(null,ut,!0,n),n.dispatch=e,[t,e]},useMemoCache:sr,useCacheRefresh:function(){return se().memoizedState=tv.bind(null,ut)}},Yh={readContext:It,use:Il,useCallback:Ch,useContext:It,useEffect:Eh,useImperativeHandle:Oh,useInsertionEffect:Mh,useLayoutEffect:Dh,useMemo:Nh,useReducer:ts,useRef:Th,useState:function(){return ts(tn)},useDebugValue:fr,useDeferredValue:function(t,e){var n=Bt();return Vh(n,xt.memoizedState,t,e)},useTransition:function(){var t=ts(tn)[0],e=Bt().memoizedState;return[typeof t=="boolean"?t:ji(t),e]},useSyncExternalStore:sh,useId:_h,useHostTransitionStatus:mr,useFormState:xh,useActionState:xh,useOptimistic:function(t,e){var n=Bt();return hh(n,xt,t,e)},useMemoCache:sr,useCacheRefresh:Uh},nv={readContext:It,use:Il,useCallback:Ch,useContext:It,useEffect:Eh,useImperativeHandle:Oh,useInsertionEffect:Mh,useLayoutEffect:Dh,useMemo:Nh,useReducer:rr,useRef:Th,useState:function(){return rr(tn)},useDebugValue:fr,useDeferredValue:function(t,e){var n=Bt();return xt===null?hr(n,t,e):Vh(n,xt.memoizedState,t,e)},useTransition:function(){var t=rr(tn)[0],e=Bt().memoizedState;return[typeof t=="boolean"?t:ji(t),e]},useSyncExternalStore:sh,useId:_h,useHostTransitionStatus:mr,useFormState:Sh,useActionState:Sh,useOptimistic:function(t,e){var n=Bt();return xt!==null?hh(n,xt,t,e):(n.baseState=t,[t,n.queue.dispatch])},useMemoCache:sr,useCacheRefresh:Uh},wa=null,_i=0;function ls(t){var e=_i;return _i+=1,wa===null&&(wa=[]),$f(wa,t,e)}function Ui(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function ss(t,e){throw e.$$typeof===b?Error(r(525)):(t=Object.prototype.toString.call(e),Error(r(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function Gh(t){var e=t._init;return e(t._payload)}function Xh(t){function e(E,T){if(t){var M=E.deletions;M===null?(E.deletions=[T],E.flags|=16):M.push(T)}}function n(E,T){if(!t)return null;for(;T!==null;)e(E,T),T=T.sibling;return null}function a(E){for(var T=new Map;E!==null;)E.key!==null?T.set(E.key,E):T.set(E.index,E),E=E.sibling;return T}function s(E,T){return E=Pe(E,T),E.index=0,E.sibling=null,E}function o(E,T,M){return E.index=M,t?(M=E.alternate,M!==null?(M=M.index,M<T?(E.flags|=67108866,T):M):(E.flags|=67108866,T)):(E.flags|=1048576,T)}function f(E){return t&&E.alternate===null&&(E.flags|=67108866),E}function p(E,T,M,z){return T===null||T.tag!==6?(T=Uu(M,E.mode,z),T.return=E,T):(T=s(T,M),T.return=E,T)}function x(E,T,M,z){var k=M.type;return k===U?N(E,T,M.props.children,z,M.key):T!==null&&(T.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===P&&Gh(k)===T.type)?(T=s(T,M.props),Ui(T,M),T.return=E,T):(T=Gl(M.type,M.key,M.props,null,E.mode,z),Ui(T,M),T.return=E,T)}function D(E,T,M,z){return T===null||T.tag!==4||T.stateNode.containerInfo!==M.containerInfo||T.stateNode.implementation!==M.implementation?(T=Bu(M,E.mode,z),T.return=E,T):(T=s(T,M.children||[]),T.return=E,T)}function N(E,T,M,z,k){return T===null||T.tag!==7?(T=Zn(M,E.mode,z,k),T.return=E,T):(T=s(T,M),T.return=E,T)}function w(E,T,M){if(typeof T=="string"&&T!==""||typeof T=="number"||typeof T=="bigint")return T=Uu(""+T,E.mode,M),T.return=E,T;if(typeof T=="object"&&T!==null){switch(T.$$typeof){case A:return M=Gl(T.type,T.key,T.props,null,E.mode,M),Ui(M,T),M.return=E,M;case j:return T=Bu(T,E.mode,M),T.return=E,T;case P:var z=T._init;return T=z(T._payload),w(E,T,M)}if(qt(T)||Ht(T))return T=Zn(T,E.mode,M,null),T.return=E,T;if(typeof T.then=="function")return w(E,ls(T),M);if(T.$$typeof===H)return w(E,Kl(E,T),M);ss(E,T)}return null}function O(E,T,M,z){var k=T!==null?T.key:null;if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return k!==null?null:p(E,T,""+M,z);if(typeof M=="object"&&M!==null){switch(M.$$typeof){case A:return M.key===k?x(E,T,M,z):null;case j:return M.key===k?D(E,T,M,z):null;case P:return k=M._init,M=k(M._payload),O(E,T,M,z)}if(qt(M)||Ht(M))return k!==null?null:N(E,T,M,z,null);if(typeof M.then=="function")return O(E,T,ls(M),z);if(M.$$typeof===H)return O(E,T,Kl(E,M),z);ss(E,M)}return null}function C(E,T,M,z,k){if(typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint")return E=E.get(M)||null,p(T,E,""+z,k);if(typeof z=="object"&&z!==null){switch(z.$$typeof){case A:return E=E.get(z.key===null?M:z.key)||null,x(T,E,z,k);case j:return E=E.get(z.key===null?M:z.key)||null,D(T,E,z,k);case P:var rt=z._init;return z=rt(z._payload),C(E,T,M,z,k)}if(qt(z)||Ht(z))return E=E.get(M)||null,N(T,E,z,k,null);if(typeof z.then=="function")return C(E,T,M,ls(z),k);if(z.$$typeof===H)return C(E,T,M,Kl(T,z),k);ss(T,z)}return null}function at(E,T,M,z){for(var k=null,rt=null,F=T,tt=T=0,kt=null;F!==null&&tt<M.length;tt++){F.index>tt?(kt=F,F=null):kt=F.sibling;var mt=O(E,F,M[tt],z);if(mt===null){F===null&&(F=kt);break}t&&F&&mt.alternate===null&&e(E,F),T=o(mt,T,tt),rt===null?k=mt:rt.sibling=mt,rt=mt,F=kt}if(tt===M.length)return n(E,F),pt&&kn(E,tt),k;if(F===null){for(;tt<M.length;tt++)F=w(E,M[tt],z),F!==null&&(T=o(F,T,tt),rt===null?k=F:rt.sibling=F,rt=F);return pt&&kn(E,tt),k}for(F=a(F);tt<M.length;tt++)kt=C(F,E,tt,M[tt],z),kt!==null&&(t&&kt.alternate!==null&&F.delete(kt.key===null?tt:kt.key),T=o(kt,T,tt),rt===null?k=kt:rt.sibling=kt,rt=kt);return t&&F.forEach(function(_n){return e(E,_n)}),pt&&kn(E,tt),k}function I(E,T,M,z){if(M==null)throw Error(r(151));for(var k=null,rt=null,F=T,tt=T=0,kt=null,mt=M.next();F!==null&&!mt.done;tt++,mt=M.next()){F.index>tt?(kt=F,F=null):kt=F.sibling;var _n=O(E,F,mt.value,z);if(_n===null){F===null&&(F=kt);break}t&&F&&_n.alternate===null&&e(E,F),T=o(_n,T,tt),rt===null?k=_n:rt.sibling=_n,rt=_n,F=kt}if(mt.done)return n(E,F),pt&&kn(E,tt),k;if(F===null){for(;!mt.done;tt++,mt=M.next())mt=w(E,mt.value,z),mt!==null&&(T=o(mt,T,tt),rt===null?k=mt:rt.sibling=mt,rt=mt);return pt&&kn(E,tt),k}for(F=a(F);!mt.done;tt++,mt=M.next())mt=C(F,E,tt,mt.value,z),mt!==null&&(t&&mt.alternate!==null&&F.delete(mt.key===null?tt:mt.key),T=o(mt,T,tt),rt===null?k=mt:rt.sibling=mt,rt=mt);return t&&F.forEach(function(a1){return e(E,a1)}),pt&&kn(E,tt),k}function St(E,T,M,z){if(typeof M=="object"&&M!==null&&M.type===U&&M.key===null&&(M=M.props.children),typeof M=="object"&&M!==null){switch(M.$$typeof){case A:t:{for(var k=M.key;T!==null;){if(T.key===k){if(k=M.type,k===U){if(T.tag===7){n(E,T.sibling),z=s(T,M.props.children),z.return=E,E=z;break t}}else if(T.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===P&&Gh(k)===T.type){n(E,T.sibling),z=s(T,M.props),Ui(z,M),z.return=E,E=z;break t}n(E,T);break}else e(E,T);T=T.sibling}M.type===U?(z=Zn(M.props.children,E.mode,z,M.key),z.return=E,E=z):(z=Gl(M.type,M.key,M.props,null,E.mode,z),Ui(z,M),z.return=E,E=z)}return f(E);case j:t:{for(k=M.key;T!==null;){if(T.key===k)if(T.tag===4&&T.stateNode.containerInfo===M.containerInfo&&T.stateNode.implementation===M.implementation){n(E,T.sibling),z=s(T,M.children||[]),z.return=E,E=z;break t}else{n(E,T);break}else e(E,T);T=T.sibling}z=Bu(M,E.mode,z),z.return=E,E=z}return f(E);case P:return k=M._init,M=k(M._payload),St(E,T,M,z)}if(qt(M))return at(E,T,M,z);if(Ht(M)){if(k=Ht(M),typeof k!="function")throw Error(r(150));return M=k.call(M),I(E,T,M,z)}if(typeof M.then=="function")return St(E,T,ls(M),z);if(M.$$typeof===H)return St(E,T,Kl(E,M),z);ss(E,M)}return typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint"?(M=""+M,T!==null&&T.tag===6?(n(E,T.sibling),z=s(T,M),z.return=E,E=z):(n(E,T),z=Uu(M,E.mode,z),z.return=E,E=z),f(E)):n(E,T)}return function(E,T,M,z){try{_i=0;var k=St(E,T,M,z);return wa=null,k}catch(F){if(F===Di||F===Jl)throw F;var rt=me(29,F,null,E.mode);return rt.lanes=z,rt.return=E,rt}finally{}}}var _a=Xh(!0),Qh=Xh(!1),De=_(null),He=null;function bn(t){var e=t.alternate;X(Gt,Gt.current&1),X(De,t),He===null&&(e===null||Na.current!==null||e.memoizedState!==null)&&(He=t)}function Zh(t){if(t.tag===22){if(X(Gt,Gt.current),X(De,t),He===null){var e=t.alternate;e!==null&&e.memoizedState!==null&&(He=t)}}else Sn()}function Sn(){X(Gt,Gt.current),X(De,De.current)}function en(t){K(De),He===t&&(He=null),K(Gt)}var Gt=_(0);function us(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||lo(n)))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}function yr(t,e,n,a){e=t.memoizedState,n=n(a,e),n=n==null?e:v({},e,n),t.memoizedState=n,t.lanes===0&&(t.updateQueue.baseState=n)}var gr={enqueueSetState:function(t,e,n){t=t._reactInternals;var a=ve(),s=gn(a);s.payload=e,n!=null&&(s.callback=n),e=vn(t,s,a),e!==null&&(xe(e,t,a),Oi(e,t,a))},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var a=ve(),s=gn(a);s.tag=1,s.payload=e,n!=null&&(s.callback=n),e=vn(t,s,a),e!==null&&(xe(e,t,a),Oi(e,t,a))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=ve(),a=gn(n);a.tag=2,e!=null&&(a.callback=e),e=vn(t,a,n),e!==null&&(xe(e,t,n),Oi(e,t,n))}};function Kh(t,e,n,a,s,o,f){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(a,o,f):e.prototype&&e.prototype.isPureReactComponent?!vi(n,a)||!vi(s,o):!0}function kh(t,e,n,a){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(n,a),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(n,a),e.state!==t&&gr.enqueueReplaceState(e,e.state,null)}function ta(t,e){var n=e;if("ref"in e){n={};for(var a in e)a!=="ref"&&(n[a]=e[a])}if(t=t.defaultProps){n===e&&(n=v({},n));for(var s in t)n[s]===void 0&&(n[s]=t[s])}return n}var rs=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)};function Jh(t){rs(t)}function Ph(t){console.error(t)}function Fh(t){rs(t)}function os(t,e){try{var n=t.onUncaughtError;n(e.value,{componentStack:e.stack})}catch(a){setTimeout(function(){throw a})}}function Wh(t,e,n){try{var a=t.onCaughtError;a(n.value,{componentStack:n.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(s){setTimeout(function(){throw s})}}function vr(t,e,n){return n=gn(n),n.tag=3,n.payload={element:null},n.callback=function(){os(t,e)},n}function $h(t){return t=gn(t),t.tag=3,t}function Ih(t,e,n,a){var s=n.type.getDerivedStateFromError;if(typeof s=="function"){var o=a.value;t.payload=function(){return s(o)},t.callback=function(){Wh(e,n,a)}}var f=n.stateNode;f!==null&&typeof f.componentDidCatch=="function"&&(t.callback=function(){Wh(e,n,a),typeof s!="function"&&(Rn===null?Rn=new Set([this]):Rn.add(this));var p=a.stack;this.componentDidCatch(a.value,{componentStack:p!==null?p:""})})}function av(t,e,n,a,s){if(n.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(e=n.alternate,e!==null&&Ai(e,n,s,!0),n=De.current,n!==null){switch(n.tag){case 13:return He===null?Gr():n.alternate===null&&Vt===0&&(Vt=3),n.flags&=-257,n.flags|=65536,n.lanes=s,a===ku?n.flags|=16384:(e=n.updateQueue,e===null?n.updateQueue=new Set([a]):e.add(a),Qr(t,a,s)),!1;case 22:return n.flags|=65536,a===ku?n.flags|=16384:(e=n.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([a])},n.updateQueue=e):(n=e.retryQueue,n===null?e.retryQueue=new Set([a]):n.add(a)),Qr(t,a,s)),!1}throw Error(r(435,n.tag))}return Qr(t,a,s),Gr(),!1}if(pt)return e=De.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=s,a!==qu&&(t=Error(r(422),{cause:a}),Ti(Te(t,n)))):(a!==qu&&(e=Error(r(423),{cause:a}),Ti(Te(e,n))),t=t.current.alternate,t.flags|=65536,s&=-s,t.lanes|=s,a=Te(a,n),s=vr(t.stateNode,a,s),Fu(t,s),Vt!==4&&(Vt=2)),!1;var o=Error(r(520),{cause:a});if(o=Te(o,n),Xi===null?Xi=[o]:Xi.push(o),Vt!==4&&(Vt=2),e===null)return!0;a=Te(a,n),n=e;do{switch(n.tag){case 3:return n.flags|=65536,t=s&-s,n.lanes|=t,t=vr(n.stateNode,a,t),Fu(n,t),!1;case 1:if(e=n.type,o=n.stateNode,(n.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||o!==null&&typeof o.componentDidCatch=="function"&&(Rn===null||!Rn.has(o))))return n.flags|=65536,s&=-s,n.lanes|=s,s=$h(s),Ih(s,t,n,a),Fu(n,s),!1}n=n.return}while(n!==null);return!1}var td=Error(r(461)),Zt=!1;function Jt(t,e,n,a){e.child=t===null?Qh(e,null,n,a):_a(e,t.child,n,a)}function ed(t,e,n,a,s){n=n.render;var o=e.ref;if("ref"in a){var f={};for(var p in a)p!=="ref"&&(f[p]=a[p])}else f=a;return Wn(e),a=er(t,e,n,f,o,s),p=nr(),t!==null&&!Zt?(ar(t,e,s),nn(t,e,s)):(pt&&p&&Lu(e),e.flags|=1,Jt(t,e,a,s),e.child)}function nd(t,e,n,a,s){if(t===null){var o=n.type;return typeof o=="function"&&!_u(o)&&o.defaultProps===void 0&&n.compare===null?(e.tag=15,e.type=o,ad(t,e,o,a,s)):(t=Gl(n.type,null,a,e,e.mode,s),t.ref=e.ref,t.return=e,e.child=t)}if(o=t.child,!Dr(t,s)){var f=o.memoizedProps;if(n=n.compare,n=n!==null?n:vi,n(f,a)&&t.ref===e.ref)return nn(t,e,s)}return e.flags|=1,t=Pe(o,a),t.ref=e.ref,t.return=e,e.child=t}function ad(t,e,n,a,s){if(t!==null){var o=t.memoizedProps;if(vi(o,a)&&t.ref===e.ref)if(Zt=!1,e.pendingProps=a=o,Dr(t,s))(t.flags&131072)!==0&&(Zt=!0);else return e.lanes=t.lanes,nn(t,e,s)}return xr(t,e,n,a,s)}function id(t,e,n){var a=e.pendingProps,s=a.children,o=t!==null?t.memoizedState:null;if(a.mode==="hidden"){if((e.flags&128)!==0){if(a=o!==null?o.baseLanes|n:n,t!==null){for(s=e.child=t.child,o=0;s!==null;)o=o|s.lanes|s.childLanes,s=s.sibling;e.childLanes=o&~a}else e.childLanes=0,e.child=null;return ld(t,e,a,n)}if((n&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&kl(e,o!==null?o.cachePool:null),o!==null?ah(e,o):$u(),Zh(e);else return e.lanes=e.childLanes=536870912,ld(t,e,o!==null?o.baseLanes|n:n,n)}else o!==null?(kl(e,o.cachePool),ah(e,o),Sn(),e.memoizedState=null):(t!==null&&kl(e,null),$u(),Sn());return Jt(t,e,s,n),e.child}function ld(t,e,n,a){var s=Ku();return s=s===null?null:{parent:Yt._currentValue,pool:s},e.memoizedState={baseLanes:n,cachePool:s},t!==null&&kl(e,null),$u(),Zh(e),t!==null&&Ai(t,e,a,!0),null}function cs(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 xr(t,e,n,a,s){return Wn(e),n=er(t,e,n,a,void 0,s),a=nr(),t!==null&&!Zt?(ar(t,e,s),nn(t,e,s)):(pt&&a&&Lu(e),e.flags|=1,Jt(t,e,n,s),e.child)}function sd(t,e,n,a,s,o){return Wn(e),e.updateQueue=null,n=lh(e,a,n,s),ih(t),a=nr(),t!==null&&!Zt?(ar(t,e,o),nn(t,e,o)):(pt&&a&&Lu(e),e.flags|=1,Jt(t,e,n,o),e.child)}function ud(t,e,n,a,s){if(Wn(e),e.stateNode===null){var o=Ma,f=n.contextType;typeof f=="object"&&f!==null&&(o=It(f)),o=new n(a,o),e.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=gr,e.stateNode=o,o._reactInternals=e,o=e.stateNode,o.props=a,o.state=e.memoizedState,o.refs={},Ju(e),f=n.contextType,o.context=typeof f=="object"&&f!==null?It(f):Ma,o.state=e.memoizedState,f=n.getDerivedStateFromProps,typeof f=="function"&&(yr(e,n,f,a),o.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(f=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),f!==o.state&&gr.enqueueReplaceState(o,o.state,null),Ni(e,a,o,s),Ci(),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308),a=!0}else if(t===null){o=e.stateNode;var p=e.memoizedProps,x=ta(n,p);o.props=x;var D=o.context,N=n.contextType;f=Ma,typeof N=="object"&&N!==null&&(f=It(N));var w=n.getDerivedStateFromProps;N=typeof w=="function"||typeof o.getSnapshotBeforeUpdate=="function",p=e.pendingProps!==p,N||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(p||D!==f)&&kh(e,o,a,f),yn=!1;var O=e.memoizedState;o.state=O,Ni(e,a,o,s),Ci(),D=e.memoizedState,p||O!==D||yn?(typeof w=="function"&&(yr(e,n,w,a),D=e.memoizedState),(x=yn||Kh(e,n,x,a,O,D,f))?(N||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(e.flags|=4194308)):(typeof o.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=a,e.memoizedState=D),o.props=a,o.state=D,o.context=f,a=x):(typeof o.componentDidMount=="function"&&(e.flags|=4194308),a=!1)}else{o=e.stateNode,Pu(t,e),f=e.memoizedProps,N=ta(n,f),o.props=N,w=e.pendingProps,O=o.context,D=n.contextType,x=Ma,typeof D=="object"&&D!==null&&(x=It(D)),p=n.getDerivedStateFromProps,(D=typeof p=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(f!==w||O!==x)&&kh(e,o,a,x),yn=!1,O=e.memoizedState,o.state=O,Ni(e,a,o,s),Ci();var C=e.memoizedState;f!==w||O!==C||yn||t!==null&&t.dependencies!==null&&Zl(t.dependencies)?(typeof p=="function"&&(yr(e,n,p,a),C=e.memoizedState),(N=yn||Kh(e,n,N,a,O,C,x)||t!==null&&t.dependencies!==null&&Zl(t.dependencies))?(D||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(a,C,x),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(a,C,x)),typeof o.componentDidUpdate=="function"&&(e.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof o.componentDidUpdate!="function"||f===t.memoizedProps&&O===t.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||f===t.memoizedProps&&O===t.memoizedState||(e.flags|=1024),e.memoizedProps=a,e.memoizedState=C),o.props=a,o.state=C,o.context=x,a=N):(typeof o.componentDidUpdate!="function"||f===t.memoizedProps&&O===t.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||f===t.memoizedProps&&O===t.memoizedState||(e.flags|=1024),a=!1)}return o=a,cs(t,e),a=(e.flags&128)!==0,o||a?(o=e.stateNode,n=a&&typeof n.getDerivedStateFromError!="function"?null:o.render(),e.flags|=1,t!==null&&a?(e.child=_a(e,t.child,null,s),e.child=_a(e,null,n,s)):Jt(t,e,n,s),e.memoizedState=o.state,t=e.child):t=nn(t,e,s),t}function rd(t,e,n,a){return Si(),e.flags|=256,Jt(t,e,n,a),e.child}var br={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Sr(t){return{baseLanes:t,cachePool:Pf()}}function Tr(t,e,n){return t=t!==null?t.childLanes&~n:0,e&&(t|=Re),t}function od(t,e,n){var a=e.pendingProps,s=!1,o=(e.flags&128)!==0,f;if((f=o)||(f=t!==null&&t.memoizedState===null?!1:(Gt.current&2)!==0),f&&(s=!0,e.flags&=-129),f=(e.flags&32)!==0,e.flags&=-33,t===null){if(pt){if(s?bn(e):Sn(),pt){var p=Nt,x;if(x=p){t:{for(x=p,p=Le;x.nodeType!==8;){if(!p){p=null;break t}if(x=we(x.nextSibling),x===null){p=null;break t}}p=x}p!==null?(e.memoizedState={dehydrated:p,treeContext:Kn!==null?{id:Fe,overflow:We}:null,retryLane:536870912,hydrationErrors:null},x=me(18,null,null,0),x.stateNode=p,x.return=e,e.child=x,ne=e,Nt=null,x=!0):x=!1}x||Pn(e)}if(p=e.memoizedState,p!==null&&(p=p.dehydrated,p!==null))return lo(p)?e.lanes=32:e.lanes=536870912,null;en(e)}return p=a.children,a=a.fallback,s?(Sn(),s=e.mode,p=fs({mode:"hidden",children:p},s),a=Zn(a,s,n,null),p.return=e,a.return=e,p.sibling=a,e.child=p,s=e.child,s.memoizedState=Sr(n),s.childLanes=Tr(t,f,n),e.memoizedState=br,a):(bn(e),Ar(e,p))}if(x=t.memoizedState,x!==null&&(p=x.dehydrated,p!==null)){if(o)e.flags&256?(bn(e),e.flags&=-257,e=Er(t,e,n)):e.memoizedState!==null?(Sn(),e.child=t.child,e.flags|=128,e=null):(Sn(),s=a.fallback,p=e.mode,a=fs({mode:"visible",children:a.children},p),s=Zn(s,p,n,null),s.flags|=2,a.return=e,s.return=e,a.sibling=s,e.child=a,_a(e,t.child,null,n),a=e.child,a.memoizedState=Sr(n),a.childLanes=Tr(t,f,n),e.memoizedState=br,e=s);else if(bn(e),lo(p)){if(f=p.nextSibling&&p.nextSibling.dataset,f)var D=f.dgst;f=D,a=Error(r(419)),a.stack="",a.digest=f,Ti({value:a,source:null,stack:null}),e=Er(t,e,n)}else if(Zt||Ai(t,e,n,!1),f=(n&t.childLanes)!==0,Zt||f){if(f=At,f!==null&&(a=n&-n,a=(a&42)!==0?1:su(a),a=(a&(f.suspendedLanes|n))!==0?0:a,a!==0&&a!==x.retryLane))throw x.retryLane=a,Ea(t,a),xe(f,t,a),td;p.data==="$?"||Gr(),e=Er(t,e,n)}else p.data==="$?"?(e.flags|=192,e.child=t.child,e=null):(t=x.treeContext,Nt=we(p.nextSibling),ne=e,pt=!0,Jn=null,Le=!1,t!==null&&(Ee[Me++]=Fe,Ee[Me++]=We,Ee[Me++]=Kn,Fe=t.id,We=t.overflow,Kn=e),e=Ar(e,a.children),e.flags|=4096);return e}return s?(Sn(),s=a.fallback,p=e.mode,x=t.child,D=x.sibling,a=Pe(x,{mode:"hidden",children:a.children}),a.subtreeFlags=x.subtreeFlags&65011712,D!==null?s=Pe(D,s):(s=Zn(s,p,n,null),s.flags|=2),s.return=e,a.return=e,a.sibling=s,e.child=a,a=s,s=e.child,p=t.child.memoizedState,p===null?p=Sr(n):(x=p.cachePool,x!==null?(D=Yt._currentValue,x=x.parent!==D?{parent:D,pool:D}:x):x=Pf(),p={baseLanes:p.baseLanes|n,cachePool:x}),s.memoizedState=p,s.childLanes=Tr(t,f,n),e.memoizedState=br,a):(bn(e),n=t.child,t=n.sibling,n=Pe(n,{mode:"visible",children:a.children}),n.return=e,n.sibling=null,t!==null&&(f=e.deletions,f===null?(e.deletions=[t],e.flags|=16):f.push(t)),e.child=n,e.memoizedState=null,n)}function Ar(t,e){return e=fs({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function fs(t,e){return t=me(22,t,null,e),t.lanes=0,t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},t}function Er(t,e,n){return _a(e,t.child,null,n),t=Ar(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function cd(t,e,n){t.lanes|=e;var a=t.alternate;a!==null&&(a.lanes|=e),Gu(t.return,e,n)}function Mr(t,e,n,a,s){var o=t.memoizedState;o===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:s}:(o.isBackwards=e,o.rendering=null,o.renderingStartTime=0,o.last=a,o.tail=n,o.tailMode=s)}function fd(t,e,n){var a=e.pendingProps,s=a.revealOrder,o=a.tail;if(Jt(t,e,a.children,n),a=Gt.current,(a&2)!==0)a=a&1|2,e.flags|=128;else{if(t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&cd(t,n,e);else if(t.tag===19)cd(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}a&=1}switch(X(Gt,a),s){case"forwards":for(n=e.child,s=null;n!==null;)t=n.alternate,t!==null&&us(t)===null&&(s=n),n=n.sibling;n=s,n===null?(s=e.child,e.child=null):(s=n.sibling,n.sibling=null),Mr(e,!1,s,n,o);break;case"backwards":for(n=null,s=e.child,e.child=null;s!==null;){if(t=s.alternate,t!==null&&us(t)===null){e.child=s;break}t=s.sibling,s.sibling=n,n=s,s=t}Mr(e,!0,n,null,o);break;case"together":Mr(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function nn(t,e,n){if(t!==null&&(e.dependencies=t.dependencies),Dn|=e.lanes,(n&e.childLanes)===0)if(t!==null){if(Ai(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=Pe(t,t.pendingProps),e.child=n,n.return=e;t.sibling!==null;)t=t.sibling,n=n.sibling=Pe(t,t.pendingProps),n.return=e;n.sibling=null}return e.child}function Dr(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Zl(t)))}function iv(t,e,n){switch(e.tag){case 3:Et(e,e.stateNode.containerInfo),pn(e,Yt,t.memoizedState.cache),Si();break;case 27:case 5:eu(e);break;case 4:Et(e,e.stateNode.containerInfo);break;case 10:pn(e,e.type,e.memoizedProps.value);break;case 13:var a=e.memoizedState;if(a!==null)return a.dehydrated!==null?(bn(e),e.flags|=128,null):(n&e.child.childLanes)!==0?od(t,e,n):(bn(e),t=nn(t,e,n),t!==null?t.sibling:null);bn(e);break;case 19:var s=(t.flags&128)!==0;if(a=(n&e.childLanes)!==0,a||(Ai(t,e,n,!1),a=(n&e.childLanes)!==0),s){if(a)return fd(t,e,n);e.flags|=128}if(s=e.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),X(Gt,Gt.current),a)break;return null;case 22:case 23:return e.lanes=0,id(t,e,n);case 24:pn(e,Yt,t.memoizedState.cache)}return nn(t,e,n)}function hd(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps)Zt=!0;else{if(!Dr(t,n)&&(e.flags&128)===0)return Zt=!1,iv(t,e,n);Zt=(t.flags&131072)!==0}else Zt=!1,pt&&(e.flags&1048576)!==0&&Gf(e,Ql,e.index);switch(e.lanes=0,e.tag){case 16:t:{t=e.pendingProps;var a=e.elementType,s=a._init;if(a=s(a._payload),e.type=a,typeof a=="function")_u(a)?(t=ta(a,t),e.tag=1,e=ud(null,e,a,t,n)):(e.tag=0,e=xr(null,e,a,t,n));else{if(a!=null){if(s=a.$$typeof,s===et){e.tag=11,e=ed(null,e,a,t,n);break t}else if(s===nt){e.tag=14,e=nd(null,e,a,t,n);break t}}throw e=Ue(a)||a,Error(r(306,e,""))}}return e;case 0:return xr(t,e,e.type,e.pendingProps,n);case 1:return a=e.type,s=ta(a,e.pendingProps),ud(t,e,a,s,n);case 3:t:{if(Et(e,e.stateNode.containerInfo),t===null)throw Error(r(387));a=e.pendingProps;var o=e.memoizedState;s=o.element,Pu(t,e),Ni(e,a,null,n);var f=e.memoizedState;if(a=f.cache,pn(e,Yt,a),a!==o.cache&&Xu(e,[Yt],n,!0),Ci(),a=f.element,o.isDehydrated)if(o={element:a,isDehydrated:!1,cache:f.cache},e.updateQueue.baseState=o,e.memoizedState=o,e.flags&256){e=rd(t,e,a,n);break t}else if(a!==s){s=Te(Error(r(424)),e),Ti(s),e=rd(t,e,a,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(Nt=we(t.firstChild),ne=e,pt=!0,Jn=null,Le=!0,n=Qh(e,null,a,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Si(),a===s){e=nn(t,e,n);break t}Jt(t,e,a,n)}e=e.child}return e;case 26:return cs(t,e),t===null?(n=ym(e.type,null,e.pendingProps,null))?e.memoizedState=n:pt||(n=e.type,t=e.pendingProps,a=Ms(lt.current).createElement(n),a[$t]=e,a[ie]=t,Ft(a,n,t),Qt(a),e.stateNode=a):e.memoizedState=ym(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return eu(e),t===null&&pt&&(a=e.stateNode=dm(e.type,e.pendingProps,lt.current),ne=e,Le=!0,s=Nt,Nn(e.type)?(so=s,Nt=we(a.firstChild)):Nt=s),Jt(t,e,e.pendingProps.children,n),cs(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&pt&&((s=a=Nt)&&(a=jv(a,e.type,e.pendingProps,Le),a!==null?(e.stateNode=a,ne=e,Nt=we(a.firstChild),Le=!1,s=!0):s=!1),s||Pn(e)),eu(e),s=e.type,o=e.pendingProps,f=t!==null?t.memoizedProps:null,a=o.children,no(s,o)?a=null:f!==null&&no(s,f)&&(e.flags|=32),e.memoizedState!==null&&(s=er(t,e,F0,null,null,n),$i._currentValue=s),cs(t,e),Jt(t,e,a,n),e.child;case 6:return t===null&&pt&&((t=n=Nt)&&(n=zv(n,e.pendingProps,Le),n!==null?(e.stateNode=n,ne=e,Nt=null,t=!0):t=!1),t||Pn(e)),null;case 13:return od(t,e,n);case 4:return Et(e,e.stateNode.containerInfo),a=e.pendingProps,t===null?e.child=_a(e,null,a,n):Jt(t,e,a,n),e.child;case 11:return ed(t,e,e.type,e.pendingProps,n);case 7:return Jt(t,e,e.pendingProps,n),e.child;case 8:return Jt(t,e,e.pendingProps.children,n),e.child;case 12:return Jt(t,e,e.pendingProps.children,n),e.child;case 10:return a=e.pendingProps,pn(e,e.type,a.value),Jt(t,e,a.children,n),e.child;case 9:return s=e.type._context,a=e.pendingProps.children,Wn(e),s=It(s),a=a(s),e.flags|=1,Jt(t,e,a,n),e.child;case 14:return nd(t,e,e.type,e.pendingProps,n);case 15:return ad(t,e,e.type,e.pendingProps,n);case 19:return fd(t,e,n);case 31:return a=e.pendingProps,n=e.mode,a={mode:a.mode,children:a.children},t===null?(n=fs(a,n),n.ref=e.ref,e.child=n,n.return=e,e=n):(n=Pe(t.child,a),n.ref=e.ref,e.child=n,n.return=e,e=n),e;case 22:return id(t,e,n);case 24:return Wn(e),a=It(Yt),t===null?(s=Ku(),s===null&&(s=At,o=Qu(),s.pooledCache=o,o.refCount++,o!==null&&(s.pooledCacheLanes|=n),s=o),e.memoizedState={parent:a,cache:s},Ju(e),pn(e,Yt,s)):((t.lanes&n)!==0&&(Pu(t,e),Ni(e,null,null,n),Ci()),s=t.memoizedState,o=e.memoizedState,s.parent!==a?(s={parent:a,cache:a},e.memoizedState=s,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=s),pn(e,Yt,a)):(a=o.cache,pn(e,Yt,a),a!==s.cache&&Xu(e,[Yt],n,!0))),Jt(t,e,e.pendingProps.children,n),e.child;case 29:throw e.pendingProps}throw Error(r(156,e.tag))}function an(t){t.flags|=4}function dd(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Sm(e)){if(e=De.current,e!==null&&((ht&4194048)===ht?He!==null:(ht&62914560)!==ht&&(ht&536870912)===0||e!==He))throw Ri=ku,Ff;t.flags|=8192}}function hs(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?Qc():536870912,t.lanes|=e,Ha|=e)}function Bi(t,e){if(!pt)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 a=null;n!==null;)n.alternate!==null&&(a=n),n=n.sibling;a===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:a.sibling=null}}function Rt(t){var e=t.alternate!==null&&t.alternate.child===t.child,n=0,a=0;if(e)for(var s=t.child;s!==null;)n|=s.lanes|s.childLanes,a|=s.subtreeFlags&65011712,a|=s.flags&65011712,s.return=t,s=s.sibling;else for(s=t.child;s!==null;)n|=s.lanes|s.childLanes,a|=s.subtreeFlags,a|=s.flags,s.return=t,s=s.sibling;return t.subtreeFlags|=a,t.childLanes=n,e}function lv(t,e,n){var a=e.pendingProps;switch(Hu(e),e.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Rt(e),null;case 1:return Rt(e),null;case 3:return n=e.stateNode,a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),Ie(Yt),fn(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(t===null||t.child===null)&&(bi(e)?an(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,Zf())),Rt(e),null;case 26:return n=e.memoizedState,t===null?(an(e),n!==null?(Rt(e),dd(e,n)):(Rt(e),e.flags&=-16777217)):n?n!==t.memoizedState?(an(e),Rt(e),dd(e,n)):(Rt(e),e.flags&=-16777217):(t.memoizedProps!==a&&an(e),Rt(e),e.flags&=-16777217),null;case 27:Al(e),n=lt.current;var s=e.type;if(t!==null&&e.stateNode!=null)t.memoizedProps!==a&&an(e);else{if(!a){if(e.stateNode===null)throw Error(r(166));return Rt(e),null}t=$.current,bi(e)?Xf(e):(t=dm(s,a,n),e.stateNode=t,an(e))}return Rt(e),null;case 5:if(Al(e),n=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==a&&an(e);else{if(!a){if(e.stateNode===null)throw Error(r(166));return Rt(e),null}if(t=$.current,bi(e))Xf(e);else{switch(s=Ms(lt.current),t){case 1:t=s.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:t=s.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":t=s.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":t=s.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":t=s.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild);break;case"select":t=typeof a.is=="string"?s.createElement("select",{is:a.is}):s.createElement("select"),a.multiple?t.multiple=!0:a.size&&(t.size=a.size);break;default:t=typeof a.is=="string"?s.createElement(n,{is:a.is}):s.createElement(n)}}t[$t]=e,t[ie]=a;t:for(s=e.child;s!==null;){if(s.tag===5||s.tag===6)t.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===e)break t;for(;s.sibling===null;){if(s.return===null||s.return===e)break t;s=s.return}s.sibling.return=s.return,s=s.sibling}e.stateNode=t;t:switch(Ft(t,n,a),n){case"button":case"input":case"select":case"textarea":t=!!a.autoFocus;break t;case"img":t=!0;break t;default:t=!1}t&&an(e)}}return Rt(e),e.flags&=-16777217,null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==a&&an(e);else{if(typeof a!="string"&&e.stateNode===null)throw Error(r(166));if(t=lt.current,bi(e)){if(t=e.stateNode,n=e.memoizedProps,a=null,s=ne,s!==null)switch(s.tag){case 27:case 5:a=s.memoizedProps}t[$t]=e,t=!!(t.nodeValue===n||a!==null&&a.suppressHydrationWarning===!0||sm(t.nodeValue,n)),t||Pn(e)}else t=Ms(t).createTextNode(a),t[$t]=e,e.stateNode=t}return Rt(e),null;case 13:if(a=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(s=bi(e),a!==null&&a.dehydrated!==null){if(t===null){if(!s)throw Error(r(318));if(s=e.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(r(317));s[$t]=e}else Si(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Rt(e),s=!1}else s=Zf(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=s),s=!0;if(!s)return e.flags&256?(en(e),e):(en(e),null)}if(en(e),(e.flags&128)!==0)return e.lanes=n,e;if(n=a!==null,t=t!==null&&t.memoizedState!==null,n){a=e.child,s=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(s=a.alternate.memoizedState.cachePool.pool);var o=null;a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(o=a.memoizedState.cachePool.pool),o!==s&&(a.flags|=2048)}return n!==t&&n&&(e.child.flags|=8192),hs(e,e.updateQueue),Rt(e),null;case 4:return fn(),t===null&&Wr(e.stateNode.containerInfo),Rt(e),null;case 10:return Ie(e.type),Rt(e),null;case 19:if(K(Gt),s=e.memoizedState,s===null)return Rt(e),null;if(a=(e.flags&128)!==0,o=s.rendering,o===null)if(a)Bi(s,!1);else{if(Vt!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(o=us(t),o!==null){for(e.flags|=128,Bi(s,!1),t=o.updateQueue,e.updateQueue=t,hs(e,t),e.subtreeFlags=0,t=n,n=e.child;n!==null;)Yf(n,t),n=n.sibling;return X(Gt,Gt.current&1|2),e.child}t=t.sibling}s.tail!==null&&Be()>ps&&(e.flags|=128,a=!0,Bi(s,!1),e.lanes=4194304)}else{if(!a)if(t=us(o),t!==null){if(e.flags|=128,a=!0,t=t.updateQueue,e.updateQueue=t,hs(e,t),Bi(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!pt)return Rt(e),null}else 2*Be()-s.renderingStartTime>ps&&n!==536870912&&(e.flags|=128,a=!0,Bi(s,!1),e.lanes=4194304);s.isBackwards?(o.sibling=e.child,e.child=o):(t=s.last,t!==null?t.sibling=o:e.child=o,s.last=o)}return s.tail!==null?(e=s.tail,s.rendering=e,s.tail=e.sibling,s.renderingStartTime=Be(),e.sibling=null,t=Gt.current,X(Gt,a?t&1|2:t&1),e):(Rt(e),null);case 22:case 23:return en(e),Iu(),a=e.memoizedState!==null,t!==null?t.memoizedState!==null!==a&&(e.flags|=8192):a&&(e.flags|=8192),a?(n&536870912)!==0&&(e.flags&128)===0&&(Rt(e),e.subtreeFlags&6&&(e.flags|=8192)):Rt(e),n=e.updateQueue,n!==null&&hs(e,n.retryQueue),n=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),a=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),a!==n&&(e.flags|=2048),t!==null&&K($n),null;case 24:return n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),Ie(Yt),Rt(e),null;case 25:return null;case 30:return null}throw Error(r(156,e.tag))}function sv(t,e){switch(Hu(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return Ie(Yt),fn(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return Al(e),null;case 13:if(en(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(r(340));Si()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return K(Gt),null;case 4:return fn(),null;case 10:return Ie(e.type),null;case 22:case 23:return en(e),Iu(),t!==null&&K($n),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return Ie(Yt),null;case 25:return null;default:return null}}function md(t,e){switch(Hu(e),e.tag){case 3:Ie(Yt),fn();break;case 26:case 27:case 5:Al(e);break;case 4:fn();break;case 13:en(e);break;case 19:K(Gt);break;case 10:Ie(e.type);break;case 22:case 23:en(e),Iu(),t!==null&&K($n);break;case 24:Ie(Yt)}}function Li(t,e){try{var n=e.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var s=a.next;n=s;do{if((n.tag&t)===t){a=void 0;var o=n.create,f=n.inst;a=o(),f.destroy=a}n=n.next}while(n!==s)}}catch(p){Tt(e,e.return,p)}}function Tn(t,e,n){try{var a=e.updateQueue,s=a!==null?a.lastEffect:null;if(s!==null){var o=s.next;a=o;do{if((a.tag&t)===t){var f=a.inst,p=f.destroy;if(p!==void 0){f.destroy=void 0,s=e;var x=n,D=p;try{D()}catch(N){Tt(s,x,N)}}}a=a.next}while(a!==o)}}catch(N){Tt(e,e.return,N)}}function pd(t){var e=t.updateQueue;if(e!==null){var n=t.stateNode;try{nh(e,n)}catch(a){Tt(t,t.return,a)}}}function yd(t,e,n){n.props=ta(t.type,t.memoizedProps),n.state=t.memoizedState;try{n.componentWillUnmount()}catch(a){Tt(t,e,a)}}function Hi(t,e){try{var n=t.ref;if(n!==null){switch(t.tag){case 26:case 27:case 5:var a=t.stateNode;break;case 30:a=t.stateNode;break;default:a=t.stateNode}typeof n=="function"?t.refCleanup=n(a):n.current=a}}catch(s){Tt(t,e,s)}}function qe(t,e){var n=t.ref,a=t.refCleanup;if(n!==null)if(typeof a=="function")try{a()}catch(s){Tt(t,e,s)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(s){Tt(t,e,s)}else n.current=null}function gd(t){var e=t.type,n=t.memoizedProps,a=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":n.autoFocus&&a.focus();break t;case"img":n.src?a.src=n.src:n.srcSet&&(a.srcset=n.srcSet)}}catch(s){Tt(t,t.return,s)}}function Rr(t,e,n){try{var a=t.stateNode;Rv(a,t.type,n,e),a[ie]=e}catch(s){Tt(t,t.return,s)}}function vd(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Nn(t.type)||t.tag===4}function Or(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||vd(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&&Nn(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 Cr(t,e,n){var a=t.tag;if(a===5||a===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=Es));else if(a!==4&&(a===27&&Nn(t.type)&&(n=t.stateNode,e=null),t=t.child,t!==null))for(Cr(t,e,n),t=t.sibling;t!==null;)Cr(t,e,n),t=t.sibling}function ds(t,e,n){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(a!==4&&(a===27&&Nn(t.type)&&(n=t.stateNode),t=t.child,t!==null))for(ds(t,e,n),t=t.sibling;t!==null;)ds(t,e,n),t=t.sibling}function xd(t){var e=t.stateNode,n=t.memoizedProps;try{for(var a=t.type,s=e.attributes;s.length;)e.removeAttributeNode(s[0]);Ft(e,a,n),e[$t]=t,e[ie]=n}catch(o){Tt(t,t.return,o)}}var ln=!1,wt=!1,Nr=!1,bd=typeof WeakSet=="function"?WeakSet:Set,Kt=null;function uv(t,e){if(t=t.containerInfo,to=Vs,t=Vf(t),Ou(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else t:{n=(n=t.ownerDocument)&&n.defaultView||window;var a=n.getSelection&&n.getSelection();if(a&&a.rangeCount!==0){n=a.anchorNode;var s=a.anchorOffset,o=a.focusNode;a=a.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break t}var f=0,p=-1,x=-1,D=0,N=0,w=t,O=null;e:for(;;){for(var C;w!==n||s!==0&&w.nodeType!==3||(p=f+s),w!==o||a!==0&&w.nodeType!==3||(x=f+a),w.nodeType===3&&(f+=w.nodeValue.length),(C=w.firstChild)!==null;)O=w,w=C;for(;;){if(w===t)break e;if(O===n&&++D===s&&(p=f),O===o&&++N===a&&(x=f),(C=w.nextSibling)!==null)break;w=O,O=w.parentNode}w=C}n=p===-1||x===-1?null:{start:p,end:x}}else n=null}n=n||{start:0,end:0}}else n=null;for(eo={focusedElem:t,selectionRange:n},Vs=!1,Kt=e;Kt!==null;)if(e=Kt,t=e.child,(e.subtreeFlags&1024)!==0&&t!==null)t.return=e,Kt=t;else for(;Kt!==null;){switch(e=Kt,o=e.alternate,t=e.flags,e.tag){case 0:break;case 11:case 15:break;case 1:if((t&1024)!==0&&o!==null){t=void 0,n=e,s=o.memoizedProps,o=o.memoizedState,a=n.stateNode;try{var at=ta(n.type,s,n.elementType===n.type);t=a.getSnapshotBeforeUpdate(at,o),a.__reactInternalSnapshotBeforeUpdate=t}catch(I){Tt(n,n.return,I)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,n=t.nodeType,n===9)io(t);else if(n===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":io(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,Kt=t;break}Kt=e.return}}function Sd(t,e,n){var a=n.flags;switch(n.tag){case 0:case 11:case 15:An(t,n),a&4&&Li(5,n);break;case 1:if(An(t,n),a&4)if(t=n.stateNode,e===null)try{t.componentDidMount()}catch(f){Tt(n,n.return,f)}else{var s=ta(n.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(s,e,t.__reactInternalSnapshotBeforeUpdate)}catch(f){Tt(n,n.return,f)}}a&64&&pd(n),a&512&&Hi(n,n.return);break;case 3:if(An(t,n),a&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(f){Tt(n,n.return,f)}}break;case 27:e===null&&a&4&&xd(n);case 26:case 5:An(t,n),e===null&&a&4&&gd(n),a&512&&Hi(n,n.return);break;case 12:An(t,n);break;case 13:An(t,n),a&4&&Ed(t,n),a&64&&(t=n.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(n=yv.bind(null,n),wv(t,n))));break;case 22:if(a=n.memoizedState!==null||ln,!a){e=e!==null&&e.memoizedState!==null||wt,s=ln;var o=wt;ln=a,(wt=e)&&!o?En(t,n,(n.subtreeFlags&8772)!==0):An(t,n),ln=s,wt=o}break;case 30:break;default:An(t,n)}}function Td(t){var e=t.alternate;e!==null&&(t.alternate=null,Td(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&ou(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 Mt=null,ue=!1;function sn(t,e,n){for(n=n.child;n!==null;)Ad(t,e,n),n=n.sibling}function Ad(t,e,n){if(fe&&typeof fe.onCommitFiberUnmount=="function")try{fe.onCommitFiberUnmount(si,n)}catch{}switch(n.tag){case 26:wt||qe(n,e),sn(t,e,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:wt||qe(n,e);var a=Mt,s=ue;Nn(n.type)&&(Mt=n.stateNode,ue=!1),sn(t,e,n),Ji(n.stateNode),Mt=a,ue=s;break;case 5:wt||qe(n,e);case 6:if(a=Mt,s=ue,Mt=null,sn(t,e,n),Mt=a,ue=s,Mt!==null)if(ue)try{(Mt.nodeType===9?Mt.body:Mt.nodeName==="HTML"?Mt.ownerDocument.body:Mt).removeChild(n.stateNode)}catch(o){Tt(n,e,o)}else try{Mt.removeChild(n.stateNode)}catch(o){Tt(n,e,o)}break;case 18:Mt!==null&&(ue?(t=Mt,fm(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,n.stateNode),nl(t)):fm(Mt,n.stateNode));break;case 4:a=Mt,s=ue,Mt=n.stateNode.containerInfo,ue=!0,sn(t,e,n),Mt=a,ue=s;break;case 0:case 11:case 14:case 15:wt||Tn(2,n,e),wt||Tn(4,n,e),sn(t,e,n);break;case 1:wt||(qe(n,e),a=n.stateNode,typeof a.componentWillUnmount=="function"&&yd(n,e,a)),sn(t,e,n);break;case 21:sn(t,e,n);break;case 22:wt=(a=wt)||n.memoizedState!==null,sn(t,e,n),wt=a;break;default:sn(t,e,n)}}function Ed(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{nl(t)}catch(n){Tt(e,e.return,n)}}function rv(t){switch(t.tag){case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new bd),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new bd),e;default:throw Error(r(435,t.tag))}}function Vr(t,e){var n=rv(t);e.forEach(function(a){var s=gv.bind(null,t,a);n.has(a)||(n.add(a),a.then(s,s))})}function pe(t,e){var n=e.deletions;if(n!==null)for(var a=0;a<n.length;a++){var s=n[a],o=t,f=e,p=f;t:for(;p!==null;){switch(p.tag){case 27:if(Nn(p.type)){Mt=p.stateNode,ue=!1;break t}break;case 5:Mt=p.stateNode,ue=!1;break t;case 3:case 4:Mt=p.stateNode.containerInfo,ue=!0;break t}p=p.return}if(Mt===null)throw Error(r(160));Ad(o,f,s),Mt=null,ue=!1,o=s.alternate,o!==null&&(o.return=null),s.return=null}if(e.subtreeFlags&13878)for(e=e.child;e!==null;)Md(e,t),e=e.sibling}var ze=null;function Md(t,e){var n=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:pe(e,t),ye(t),a&4&&(Tn(3,t,t.return),Li(3,t),Tn(5,t,t.return));break;case 1:pe(e,t),ye(t),a&512&&(wt||n===null||qe(n,n.return)),a&64&&ln&&(t=t.updateQueue,t!==null&&(a=t.callbacks,a!==null&&(n=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=n===null?a:n.concat(a))));break;case 26:var s=ze;if(pe(e,t),ye(t),a&512&&(wt||n===null||qe(n,n.return)),a&4){var o=n!==null?n.memoizedState:null;if(a=t.memoizedState,n===null)if(a===null)if(t.stateNode===null){t:{a=t.type,n=t.memoizedProps,s=s.ownerDocument||s;e:switch(a){case"title":o=s.getElementsByTagName("title")[0],(!o||o[oi]||o[$t]||o.namespaceURI==="http://www.w3.org/2000/svg"||o.hasAttribute("itemprop"))&&(o=s.createElement(a),s.head.insertBefore(o,s.querySelector("head > title"))),Ft(o,a,n),o[$t]=t,Qt(o),a=o;break t;case"link":var f=xm("link","href",s).get(a+(n.href||""));if(f){for(var p=0;p<f.length;p++)if(o=f[p],o.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&o.getAttribute("rel")===(n.rel==null?null:n.rel)&&o.getAttribute("title")===(n.title==null?null:n.title)&&o.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){f.splice(p,1);break e}}o=s.createElement(a),Ft(o,a,n),s.head.appendChild(o);break;case"meta":if(f=xm("meta","content",s).get(a+(n.content||""))){for(p=0;p<f.length;p++)if(o=f[p],o.getAttribute("content")===(n.content==null?null:""+n.content)&&o.getAttribute("name")===(n.name==null?null:n.name)&&o.getAttribute("property")===(n.property==null?null:n.property)&&o.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&o.getAttribute("charset")===(n.charSet==null?null:n.charSet)){f.splice(p,1);break e}}o=s.createElement(a),Ft(o,a,n),s.head.appendChild(o);break;default:throw Error(r(468,a))}o[$t]=t,Qt(o),a=o}t.stateNode=a}else bm(s,t.type,t.stateNode);else t.stateNode=vm(s,a,t.memoizedProps);else o!==a?(o===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):o.count--,a===null?bm(s,t.type,t.stateNode):vm(s,a,t.memoizedProps)):a===null&&t.stateNode!==null&&Rr(t,t.memoizedProps,n.memoizedProps)}break;case 27:pe(e,t),ye(t),a&512&&(wt||n===null||qe(n,n.return)),n!==null&&a&4&&Rr(t,t.memoizedProps,n.memoizedProps);break;case 5:if(pe(e,t),ye(t),a&512&&(wt||n===null||qe(n,n.return)),t.flags&32){s=t.stateNode;try{ga(s,"")}catch(C){Tt(t,t.return,C)}}a&4&&t.stateNode!=null&&(s=t.memoizedProps,Rr(t,s,n!==null?n.memoizedProps:s)),a&1024&&(Nr=!0);break;case 6:if(pe(e,t),ye(t),a&4){if(t.stateNode===null)throw Error(r(162));a=t.memoizedProps,n=t.stateNode;try{n.nodeValue=a}catch(C){Tt(t,t.return,C)}}break;case 3:if(Os=null,s=ze,ze=Ds(e.containerInfo),pe(e,t),ze=s,ye(t),a&4&&n!==null&&n.memoizedState.isDehydrated)try{nl(e.containerInfo)}catch(C){Tt(t,t.return,C)}Nr&&(Nr=!1,Dd(t));break;case 4:a=ze,ze=Ds(t.stateNode.containerInfo),pe(e,t),ye(t),ze=a;break;case 12:pe(e,t),ye(t);break;case 13:pe(e,t),ye(t),t.child.flags&8192&&t.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(Br=Be()),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,Vr(t,a)));break;case 22:s=t.memoizedState!==null;var x=n!==null&&n.memoizedState!==null,D=ln,N=wt;if(ln=D||s,wt=N||x,pe(e,t),wt=N,ln=D,ye(t),a&8192)t:for(e=t.stateNode,e._visibility=s?e._visibility&-2:e._visibility|1,s&&(n===null||x||ln||wt||ea(t)),n=null,e=t;;){if(e.tag===5||e.tag===26){if(n===null){x=n=e;try{if(o=x.stateNode,s)f=o.style,typeof f.setProperty=="function"?f.setProperty("display","none","important"):f.display="none";else{p=x.stateNode;var w=x.memoizedProps.style,O=w!=null&&w.hasOwnProperty("display")?w.display:null;p.style.display=O==null||typeof O=="boolean"?"":(""+O).trim()}}catch(C){Tt(x,x.return,C)}}}else if(e.tag===6){if(n===null){x=e;try{x.stateNode.nodeValue=s?"":x.memoizedProps}catch(C){Tt(x,x.return,C)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;n===e&&(n=null),e=e.return}n===e&&(n=null),e.sibling.return=e.return,e=e.sibling}a&4&&(a=t.updateQueue,a!==null&&(n=a.retryQueue,n!==null&&(a.retryQueue=null,Vr(t,n))));break;case 19:pe(e,t),ye(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,Vr(t,a)));break;case 30:break;case 21:break;default:pe(e,t),ye(t)}}function ye(t){var e=t.flags;if(e&2){try{for(var n,a=t.return;a!==null;){if(vd(a)){n=a;break}a=a.return}if(n==null)throw Error(r(160));switch(n.tag){case 27:var s=n.stateNode,o=Or(t);ds(t,o,s);break;case 5:var f=n.stateNode;n.flags&32&&(ga(f,""),n.flags&=-33);var p=Or(t);ds(t,p,f);break;case 3:case 4:var x=n.stateNode.containerInfo,D=Or(t);Cr(t,D,x);break;default:throw Error(r(161))}}catch(N){Tt(t,t.return,N)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Dd(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;Dd(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function An(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)Sd(t,e.alternate,e),e=e.sibling}function ea(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:Tn(4,e,e.return),ea(e);break;case 1:qe(e,e.return);var n=e.stateNode;typeof n.componentWillUnmount=="function"&&yd(e,e.return,n),ea(e);break;case 27:Ji(e.stateNode);case 26:case 5:qe(e,e.return),ea(e);break;case 22:e.memoizedState===null&&ea(e);break;case 30:ea(e);break;default:ea(e)}t=t.sibling}}function En(t,e,n){for(n=n&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var a=e.alternate,s=t,o=e,f=o.flags;switch(o.tag){case 0:case 11:case 15:En(s,o,n),Li(4,o);break;case 1:if(En(s,o,n),a=o,s=a.stateNode,typeof s.componentDidMount=="function")try{s.componentDidMount()}catch(D){Tt(a,a.return,D)}if(a=o,s=a.updateQueue,s!==null){var p=a.stateNode;try{var x=s.shared.hiddenCallbacks;if(x!==null)for(s.shared.hiddenCallbacks=null,s=0;s<x.length;s++)eh(x[s],p)}catch(D){Tt(a,a.return,D)}}n&&f&64&&pd(o),Hi(o,o.return);break;case 27:xd(o);case 26:case 5:En(s,o,n),n&&a===null&&f&4&&gd(o),Hi(o,o.return);break;case 12:En(s,o,n);break;case 13:En(s,o,n),n&&f&4&&Ed(s,o);break;case 22:o.memoizedState===null&&En(s,o,n),Hi(o,o.return);break;case 30:break;default:En(s,o,n)}e=e.sibling}}function jr(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&&Ei(n))}function zr(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Ei(t))}function Ye(t,e,n,a){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Rd(t,e,n,a),e=e.sibling}function Rd(t,e,n,a){var s=e.flags;switch(e.tag){case 0:case 11:case 15:Ye(t,e,n,a),s&2048&&Li(9,e);break;case 1:Ye(t,e,n,a);break;case 3:Ye(t,e,n,a),s&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Ei(t)));break;case 12:if(s&2048){Ye(t,e,n,a),t=e.stateNode;try{var o=e.memoizedProps,f=o.id,p=o.onPostCommit;typeof p=="function"&&p(f,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(x){Tt(e,e.return,x)}}else Ye(t,e,n,a);break;case 13:Ye(t,e,n,a);break;case 23:break;case 22:o=e.stateNode,f=e.alternate,e.memoizedState!==null?o._visibility&2?Ye(t,e,n,a):qi(t,e):o._visibility&2?Ye(t,e,n,a):(o._visibility|=2,Ua(t,e,n,a,(e.subtreeFlags&10256)!==0)),s&2048&&jr(f,e);break;case 24:Ye(t,e,n,a),s&2048&&zr(e.alternate,e);break;default:Ye(t,e,n,a)}}function Ua(t,e,n,a,s){for(s=s&&(e.subtreeFlags&10256)!==0,e=e.child;e!==null;){var o=t,f=e,p=n,x=a,D=f.flags;switch(f.tag){case 0:case 11:case 15:Ua(o,f,p,x,s),Li(8,f);break;case 23:break;case 22:var N=f.stateNode;f.memoizedState!==null?N._visibility&2?Ua(o,f,p,x,s):qi(o,f):(N._visibility|=2,Ua(o,f,p,x,s)),s&&D&2048&&jr(f.alternate,f);break;case 24:Ua(o,f,p,x,s),s&&D&2048&&zr(f.alternate,f);break;default:Ua(o,f,p,x,s)}e=e.sibling}}function qi(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var n=t,a=e,s=a.flags;switch(a.tag){case 22:qi(n,a),s&2048&&jr(a.alternate,a);break;case 24:qi(n,a),s&2048&&zr(a.alternate,a);break;default:qi(n,a)}e=e.sibling}}var Yi=8192;function Ba(t){if(t.subtreeFlags&Yi)for(t=t.child;t!==null;)Od(t),t=t.sibling}function Od(t){switch(t.tag){case 26:Ba(t),t.flags&Yi&&t.memoizedState!==null&&kv(ze,t.memoizedState,t.memoizedProps);break;case 5:Ba(t);break;case 3:case 4:var e=ze;ze=Ds(t.stateNode.containerInfo),Ba(t),ze=e;break;case 22:t.memoizedState===null&&(e=t.alternate,e!==null&&e.memoizedState!==null?(e=Yi,Yi=16777216,Ba(t),Yi=e):Ba(t));break;default:Ba(t)}}function Cd(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 Gi(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var a=e[n];Kt=a,Vd(a,t)}Cd(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Nd(t),t=t.sibling}function Nd(t){switch(t.tag){case 0:case 11:case 15:Gi(t),t.flags&2048&&Tn(9,t,t.return);break;case 3:Gi(t);break;case 12:Gi(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,ms(t)):Gi(t);break;default:Gi(t)}}function ms(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var a=e[n];Kt=a,Vd(a,t)}Cd(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:Tn(8,e,e.return),ms(e);break;case 22:n=e.stateNode,n._visibility&2&&(n._visibility&=-3,ms(e));break;default:ms(e)}t=t.sibling}}function Vd(t,e){for(;Kt!==null;){var n=Kt;switch(n.tag){case 0:case 11:case 15:Tn(8,n,e);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var a=n.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:Ei(n.memoizedState.cache)}if(a=n.child,a!==null)a.return=n,Kt=a;else t:for(n=t;Kt!==null;){a=Kt;var s=a.sibling,o=a.return;if(Td(a),a===n){Kt=null;break t}if(s!==null){s.return=o,Kt=s;break t}Kt=o}}}var ov={getCacheForType:function(t){var e=It(Yt),n=e.data.get(t);return n===void 0&&(n=t(),e.data.set(t,n)),n}},cv=typeof WeakMap=="function"?WeakMap:Map,gt=0,At=null,ot=null,ht=0,vt=0,ge=null,Mn=!1,La=!1,wr=!1,un=0,Vt=0,Dn=0,na=0,_r=0,Re=0,Ha=0,Xi=null,re=null,Ur=!1,Br=0,ps=1/0,ys=null,Rn=null,Pt=0,On=null,qa=null,Ya=0,Lr=0,Hr=null,jd=null,Qi=0,qr=null;function ve(){if((gt&2)!==0&&ht!==0)return ht&-ht;if(V.T!==null){var t=Oa;return t!==0?t:kr()}return kc()}function zd(){Re===0&&(Re=(ht&536870912)===0||pt?Xc():536870912);var t=De.current;return t!==null&&(t.flags|=32),Re}function xe(t,e,n){(t===At&&(vt===2||vt===9)||t.cancelPendingCommit!==null)&&(Ga(t,0),Cn(t,ht,Re,!1)),ri(t,n),((gt&2)===0||t!==At)&&(t===At&&((gt&2)===0&&(na|=n),Vt===4&&Cn(t,ht,Re,!1)),Ge(t))}function wd(t,e,n){if((gt&6)!==0)throw Error(r(327));var a=!n&&(e&124)===0&&(e&t.expiredLanes)===0||ui(t,e),s=a?dv(t,e):Xr(t,e,!0),o=a;do{if(s===0){La&&!a&&Cn(t,e,0,!1);break}else{if(n=t.current.alternate,o&&!fv(n)){s=Xr(t,e,!1),o=!1;continue}if(s===2){if(o=e,t.errorRecoveryDisabledLanes&o)var f=0;else f=t.pendingLanes&-536870913,f=f!==0?f:f&536870912?536870912:0;if(f!==0){e=f;t:{var p=t;s=Xi;var x=p.current.memoizedState.isDehydrated;if(x&&(Ga(p,f).flags|=256),f=Xr(p,f,!1),f!==2){if(wr&&!x){p.errorRecoveryDisabledLanes|=o,na|=o,s=4;break t}o=re,re=s,o!==null&&(re===null?re=o:re.push.apply(re,o))}s=f}if(o=!1,s!==2)continue}}if(s===1){Ga(t,0),Cn(t,e,0,!0);break}t:{switch(a=t,o=s,o){case 0:case 1:throw Error(r(345));case 4:if((e&4194048)!==e)break;case 6:Cn(a,e,Re,!Mn);break t;case 2:re=null;break;case 3:case 5:break;default:throw Error(r(329))}if((e&62914560)===e&&(s=Br+300-Be(),10<s)){if(Cn(a,e,Re,!Mn),Rl(a,0,!0)!==0)break t;a.timeoutHandle=om(_d.bind(null,a,n,re,ys,Ur,e,Re,na,Ha,Mn,o,2,-0,0),s);break t}_d(a,n,re,ys,Ur,e,Re,na,Ha,Mn,o,0,-0,0)}}break}while(!0);Ge(t)}function _d(t,e,n,a,s,o,f,p,x,D,N,w,O,C){if(t.timeoutHandle=-1,w=e.subtreeFlags,(w&8192||(w&16785408)===16785408)&&(Wi={stylesheets:null,count:0,unsuspend:Kv},Od(e),w=Jv(),w!==null)){t.cancelPendingCommit=w(Gd.bind(null,t,e,o,n,a,s,f,p,x,N,1,O,C)),Cn(t,o,f,!D);return}Gd(t,e,o,n,a,s,f,p,x)}function fv(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 a=0;a<n.length;a++){var s=n[a],o=s.getSnapshot;s=s.value;try{if(!de(o(),s))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 Cn(t,e,n,a){e&=~_r,e&=~na,t.suspendedLanes|=e,t.pingedLanes&=~e,a&&(t.warmLanes|=e),a=t.expirationTimes;for(var s=e;0<s;){var o=31-he(s),f=1<<o;a[o]=-1,s&=~f}n!==0&&Zc(t,n,e)}function gs(){return(gt&6)===0?(Zi(0),!1):!0}function Yr(){if(ot!==null){if(vt===0)var t=ot.return;else t=ot,$e=Fn=null,ir(t),wa=null,_i=0,t=ot;for(;t!==null;)md(t.alternate,t),t=t.return;ot=null}}function Ga(t,e){var n=t.timeoutHandle;n!==-1&&(t.timeoutHandle=-1,Cv(n)),n=t.cancelPendingCommit,n!==null&&(t.cancelPendingCommit=null,n()),Yr(),At=t,ot=n=Pe(t.current,null),ht=e,vt=0,ge=null,Mn=!1,La=ui(t,e),wr=!1,Ha=Re=_r=na=Dn=Vt=0,re=Xi=null,Ur=!1,(e&8)!==0&&(e|=e&32);var a=t.entangledLanes;if(a!==0)for(t=t.entanglements,a&=e;0<a;){var s=31-he(a),o=1<<s;e|=t[s],a&=~o}return un=e,Hl(),n}function Ud(t,e){ut=null,V.H=is,e===Di||e===Jl?(e=If(),vt=3):e===Ff?(e=If(),vt=4):vt=e===td?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,ge=e,ot===null&&(Vt=1,os(t,Te(e,t.current)))}function Bd(){var t=V.H;return V.H=is,t===null?is:t}function Ld(){var t=V.A;return V.A=ov,t}function Gr(){Vt=4,Mn||(ht&4194048)!==ht&&De.current!==null||(La=!0),(Dn&134217727)===0&&(na&134217727)===0||At===null||Cn(At,ht,Re,!1)}function Xr(t,e,n){var a=gt;gt|=2;var s=Bd(),o=Ld();(At!==t||ht!==e)&&(ys=null,Ga(t,e)),e=!1;var f=Vt;t:do try{if(vt!==0&&ot!==null){var p=ot,x=ge;switch(vt){case 8:Yr(),f=6;break t;case 3:case 2:case 9:case 6:De.current===null&&(e=!0);var D=vt;if(vt=0,ge=null,Xa(t,p,x,D),n&&La){f=0;break t}break;default:D=vt,vt=0,ge=null,Xa(t,p,x,D)}}hv(),f=Vt;break}catch(N){Ud(t,N)}while(!0);return e&&t.shellSuspendCounter++,$e=Fn=null,gt=a,V.H=s,V.A=o,ot===null&&(At=null,ht=0,Hl()),f}function hv(){for(;ot!==null;)Hd(ot)}function dv(t,e){var n=gt;gt|=2;var a=Bd(),s=Ld();At!==t||ht!==e?(ys=null,ps=Be()+500,Ga(t,e)):La=ui(t,e);t:do try{if(vt!==0&&ot!==null){e=ot;var o=ge;e:switch(vt){case 1:vt=0,ge=null,Xa(t,e,o,1);break;case 2:case 9:if(Wf(o)){vt=0,ge=null,qd(e);break}e=function(){vt!==2&&vt!==9||At!==t||(vt=7),Ge(t)},o.then(e,e);break t;case 3:vt=7;break t;case 4:vt=5;break t;case 7:Wf(o)?(vt=0,ge=null,qd(e)):(vt=0,ge=null,Xa(t,e,o,7));break;case 5:var f=null;switch(ot.tag){case 26:f=ot.memoizedState;case 5:case 27:var p=ot;if(!f||Sm(f)){vt=0,ge=null;var x=p.sibling;if(x!==null)ot=x;else{var D=p.return;D!==null?(ot=D,vs(D)):ot=null}break e}}vt=0,ge=null,Xa(t,e,o,5);break;case 6:vt=0,ge=null,Xa(t,e,o,6);break;case 8:Yr(),Vt=6;break t;default:throw Error(r(462))}}mv();break}catch(N){Ud(t,N)}while(!0);return $e=Fn=null,V.H=a,V.A=s,gt=n,ot!==null?0:(At=null,ht=0,Hl(),Vt)}function mv(){for(;ot!==null&&!Ug();)Hd(ot)}function Hd(t){var e=hd(t.alternate,t,un);t.memoizedProps=t.pendingProps,e===null?vs(t):ot=e}function qd(t){var e=t,n=e.alternate;switch(e.tag){case 15:case 0:e=sd(n,e,e.pendingProps,e.type,void 0,ht);break;case 11:e=sd(n,e,e.pendingProps,e.type.render,e.ref,ht);break;case 5:ir(e);default:md(n,e),e=ot=Yf(e,un),e=hd(n,e,un)}t.memoizedProps=t.pendingProps,e===null?vs(t):ot=e}function Xa(t,e,n,a){$e=Fn=null,ir(e),wa=null,_i=0;var s=e.return;try{if(av(t,s,e,n,ht)){Vt=1,os(t,Te(n,t.current)),ot=null;return}}catch(o){if(s!==null)throw ot=s,o;Vt=1,os(t,Te(n,t.current)),ot=null;return}e.flags&32768?(pt||a===1?t=!0:La||(ht&536870912)!==0?t=!1:(Mn=t=!0,(a===2||a===9||a===3||a===6)&&(a=De.current,a!==null&&a.tag===13&&(a.flags|=16384))),Yd(e,t)):vs(e)}function vs(t){var e=t;do{if((e.flags&32768)!==0){Yd(e,Mn);return}t=e.return;var n=lv(e.alternate,e,un);if(n!==null){ot=n;return}if(e=e.sibling,e!==null){ot=e;return}ot=e=t}while(e!==null);Vt===0&&(Vt=5)}function Yd(t,e){do{var n=sv(t.alternate,t);if(n!==null){n.flags&=32767,ot=n;return}if(n=t.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!e&&(t=t.sibling,t!==null)){ot=t;return}ot=t=n}while(t!==null);Vt=6,ot=null}function Gd(t,e,n,a,s,o,f,p,x){t.cancelPendingCommit=null;do xs();while(Pt!==0);if((gt&6)!==0)throw Error(r(327));if(e!==null){if(e===t.current)throw Error(r(177));if(o=e.lanes|e.childLanes,o|=zu,Kg(t,n,o,f,p,x),t===At&&(ot=At=null,ht=0),qa=e,On=t,Ya=n,Lr=o,Hr=s,jd=a,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,vv(El,function(){return kd(),null})):(t.callbackNode=null,t.callbackPriority=0),a=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||a){a=V.T,V.T=null,s=B.p,B.p=2,f=gt,gt|=4;try{uv(t,e,n)}finally{gt=f,B.p=s,V.T=a}}Pt=1,Xd(),Qd(),Zd()}}function Xd(){if(Pt===1){Pt=0;var t=On,e=qa,n=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||n){n=V.T,V.T=null;var a=B.p;B.p=2;var s=gt;gt|=4;try{Md(e,t);var o=eo,f=Vf(t.containerInfo),p=o.focusedElem,x=o.selectionRange;if(f!==p&&p&&p.ownerDocument&&Nf(p.ownerDocument.documentElement,p)){if(x!==null&&Ou(p)){var D=x.start,N=x.end;if(N===void 0&&(N=D),"selectionStart"in p)p.selectionStart=D,p.selectionEnd=Math.min(N,p.value.length);else{var w=p.ownerDocument||document,O=w&&w.defaultView||window;if(O.getSelection){var C=O.getSelection(),at=p.textContent.length,I=Math.min(x.start,at),St=x.end===void 0?I:Math.min(x.end,at);!C.extend&&I>St&&(f=St,St=I,I=f);var E=Cf(p,I),T=Cf(p,St);if(E&&T&&(C.rangeCount!==1||C.anchorNode!==E.node||C.anchorOffset!==E.offset||C.focusNode!==T.node||C.focusOffset!==T.offset)){var M=w.createRange();M.setStart(E.node,E.offset),C.removeAllRanges(),I>St?(C.addRange(M),C.extend(T.node,T.offset)):(M.setEnd(T.node,T.offset),C.addRange(M))}}}}for(w=[],C=p;C=C.parentNode;)C.nodeType===1&&w.push({element:C,left:C.scrollLeft,top:C.scrollTop});for(typeof p.focus=="function"&&p.focus(),p=0;p<w.length;p++){var z=w[p];z.element.scrollLeft=z.left,z.element.scrollTop=z.top}}Vs=!!to,eo=to=null}finally{gt=s,B.p=a,V.T=n}}t.current=e,Pt=2}}function Qd(){if(Pt===2){Pt=0;var t=On,e=qa,n=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||n){n=V.T,V.T=null;var a=B.p;B.p=2;var s=gt;gt|=4;try{Sd(t,e.alternate,e)}finally{gt=s,B.p=a,V.T=n}}Pt=3}}function Zd(){if(Pt===4||Pt===3){Pt=0,Bg();var t=On,e=qa,n=Ya,a=jd;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?Pt=5:(Pt=0,qa=On=null,Kd(t,t.pendingLanes));var s=t.pendingLanes;if(s===0&&(Rn=null),uu(n),e=e.stateNode,fe&&typeof fe.onCommitFiberRoot=="function")try{fe.onCommitFiberRoot(si,e,void 0,(e.current.flags&128)===128)}catch{}if(a!==null){e=V.T,s=B.p,B.p=2,V.T=null;try{for(var o=t.onRecoverableError,f=0;f<a.length;f++){var p=a[f];o(p.value,{componentStack:p.stack})}}finally{V.T=e,B.p=s}}(Ya&3)!==0&&xs(),Ge(t),s=t.pendingLanes,(n&4194090)!==0&&(s&42)!==0?t===qr?Qi++:(Qi=0,qr=t):Qi=0,Zi(0)}}function Kd(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,Ei(e)))}function xs(t){return Xd(),Qd(),Zd(),kd()}function kd(){if(Pt!==5)return!1;var t=On,e=Lr;Lr=0;var n=uu(Ya),a=V.T,s=B.p;try{B.p=32>n?32:n,V.T=null,n=Hr,Hr=null;var o=On,f=Ya;if(Pt=0,qa=On=null,Ya=0,(gt&6)!==0)throw Error(r(331));var p=gt;if(gt|=4,Nd(o.current),Rd(o,o.current,f,n),gt=p,Zi(0,!1),fe&&typeof fe.onPostCommitFiberRoot=="function")try{fe.onPostCommitFiberRoot(si,o)}catch{}return!0}finally{B.p=s,V.T=a,Kd(t,e)}}function Jd(t,e,n){e=Te(n,e),e=vr(t.stateNode,e,2),t=vn(t,e,2),t!==null&&(ri(t,2),Ge(t))}function Tt(t,e,n){if(t.tag===3)Jd(t,t,n);else for(;e!==null;){if(e.tag===3){Jd(e,t,n);break}else if(e.tag===1){var a=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Rn===null||!Rn.has(a))){t=Te(n,t),n=$h(2),a=vn(e,n,2),a!==null&&(Ih(n,a,e,t),ri(a,2),Ge(a));break}}e=e.return}}function Qr(t,e,n){var a=t.pingCache;if(a===null){a=t.pingCache=new cv;var s=new Set;a.set(e,s)}else s=a.get(e),s===void 0&&(s=new Set,a.set(e,s));s.has(n)||(wr=!0,s.add(n),t=pv.bind(null,t,e,n),e.then(t,t))}function pv(t,e,n){var a=t.pingCache;a!==null&&a.delete(e),t.pingedLanes|=t.suspendedLanes&n,t.warmLanes&=~n,At===t&&(ht&n)===n&&(Vt===4||Vt===3&&(ht&62914560)===ht&&300>Be()-Br?(gt&2)===0&&Ga(t,0):_r|=n,Ha===ht&&(Ha=0)),Ge(t)}function Pd(t,e){e===0&&(e=Qc()),t=Ea(t,e),t!==null&&(ri(t,e),Ge(t))}function yv(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),Pd(t,n)}function gv(t,e){var n=0;switch(t.tag){case 13:var a=t.stateNode,s=t.memoizedState;s!==null&&(n=s.retryLane);break;case 19:a=t.stateNode;break;case 22:a=t.stateNode._retryCache;break;default:throw Error(r(314))}a!==null&&a.delete(e),Pd(t,n)}function vv(t,e){return au(t,e)}var bs=null,Qa=null,Zr=!1,Ss=!1,Kr=!1,aa=0;function Ge(t){t!==Qa&&t.next===null&&(Qa===null?bs=Qa=t:Qa=Qa.next=t),Ss=!0,Zr||(Zr=!0,bv())}function Zi(t,e){if(!Kr&&Ss){Kr=!0;do for(var n=!1,a=bs;a!==null;){if(t!==0){var s=a.pendingLanes;if(s===0)var o=0;else{var f=a.suspendedLanes,p=a.pingedLanes;o=(1<<31-he(42|t)+1)-1,o&=s&~(f&~p),o=o&201326741?o&201326741|1:o?o|2:0}o!==0&&(n=!0,Id(a,o))}else o=ht,o=Rl(a,a===At?o:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(o&3)===0||ui(a,o)||(n=!0,Id(a,o));a=a.next}while(n);Kr=!1}}function xv(){Fd()}function Fd(){Ss=Zr=!1;var t=0;aa!==0&&(Ov()&&(t=aa),aa=0);for(var e=Be(),n=null,a=bs;a!==null;){var s=a.next,o=Wd(a,e);o===0?(a.next=null,n===null?bs=s:n.next=s,s===null&&(Qa=n)):(n=a,(t!==0||(o&3)!==0)&&(Ss=!0)),a=s}Zi(t)}function Wd(t,e){for(var n=t.suspendedLanes,a=t.pingedLanes,s=t.expirationTimes,o=t.pendingLanes&-62914561;0<o;){var f=31-he(o),p=1<<f,x=s[f];x===-1?((p&n)===0||(p&a)!==0)&&(s[f]=Zg(p,e)):x<=e&&(t.expiredLanes|=p),o&=~p}if(e=At,n=ht,n=Rl(t,t===e?n:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a=t.callbackNode,n===0||t===e&&(vt===2||vt===9)||t.cancelPendingCommit!==null)return a!==null&&a!==null&&iu(a),t.callbackNode=null,t.callbackPriority=0;if((n&3)===0||ui(t,n)){if(e=n&-n,e===t.callbackPriority)return e;switch(a!==null&&iu(a),uu(n)){case 2:case 8:n=Yc;break;case 32:n=El;break;case 268435456:n=Gc;break;default:n=El}return a=$d.bind(null,t),n=au(n,a),t.callbackPriority=e,t.callbackNode=n,e}return a!==null&&a!==null&&iu(a),t.callbackPriority=2,t.callbackNode=null,2}function $d(t,e){if(Pt!==0&&Pt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var n=t.callbackNode;if(xs()&&t.callbackNode!==n)return null;var a=ht;return a=Rl(t,t===At?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a===0?null:(wd(t,a,e),Wd(t,Be()),t.callbackNode!=null&&t.callbackNode===n?$d.bind(null,t):null)}function Id(t,e){if(xs())return null;wd(t,e,!0)}function bv(){Nv(function(){(gt&6)!==0?au(qc,xv):Fd()})}function kr(){return aa===0&&(aa=Xc()),aa}function tm(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:jl(""+t)}function em(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 Sv(t,e,n,a,s){if(e==="submit"&&n&&n.stateNode===s){var o=tm((s[ie]||null).action),f=a.submitter;f&&(e=(e=f[ie]||null)?tm(e.formAction):f.getAttribute("formAction"),e!==null&&(o=e,f=null));var p=new Ul("action","action",null,a,s);t.push({event:p,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(aa!==0){var x=f?em(s,f):new FormData(s);dr(n,{pending:!0,data:x,method:s.method,action:o},null,x)}}else typeof o=="function"&&(p.preventDefault(),x=f?em(s,f):new FormData(s),dr(n,{pending:!0,data:x,method:s.method,action:o},o,x))},currentTarget:s}]})}}for(var Jr=0;Jr<ju.length;Jr++){var Pr=ju[Jr],Tv=Pr.toLowerCase(),Av=Pr[0].toUpperCase()+Pr.slice(1);je(Tv,"on"+Av)}je(wf,"onAnimationEnd"),je(_f,"onAnimationIteration"),je(Uf,"onAnimationStart"),je("dblclick","onDoubleClick"),je("focusin","onFocus"),je("focusout","onBlur"),je(q0,"onTransitionRun"),je(Y0,"onTransitionStart"),je(G0,"onTransitionCancel"),je(Bf,"onTransitionEnd"),ma("onMouseEnter",["mouseout","mouseover"]),ma("onMouseLeave",["mouseout","mouseover"]),ma("onPointerEnter",["pointerout","pointerover"]),ma("onPointerLeave",["pointerout","pointerover"]),Yn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Yn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Yn("onBeforeInput",["compositionend","keypress","textInput","paste"]),Yn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Yn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Yn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ki="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(" "),Ev=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ki));function nm(t,e){e=(e&4)!==0;for(var n=0;n<t.length;n++){var a=t[n],s=a.event;a=a.listeners;t:{var o=void 0;if(e)for(var f=a.length-1;0<=f;f--){var p=a[f],x=p.instance,D=p.currentTarget;if(p=p.listener,x!==o&&s.isPropagationStopped())break t;o=p,s.currentTarget=D;try{o(s)}catch(N){rs(N)}s.currentTarget=null,o=x}else for(f=0;f<a.length;f++){if(p=a[f],x=p.instance,D=p.currentTarget,p=p.listener,x!==o&&s.isPropagationStopped())break t;o=p,s.currentTarget=D;try{o(s)}catch(N){rs(N)}s.currentTarget=null,o=x}}}}function ct(t,e){var n=e[ru];n===void 0&&(n=e[ru]=new Set);var a=t+"__bubble";n.has(a)||(am(e,t,2,!1),n.add(a))}function Fr(t,e,n){var a=0;e&&(a|=4),am(n,t,a,e)}var Ts="_reactListening"+Math.random().toString(36).slice(2);function Wr(t){if(!t[Ts]){t[Ts]=!0,Pc.forEach(function(n){n!=="selectionchange"&&(Ev.has(n)||Fr(n,!1,t),Fr(n,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[Ts]||(e[Ts]=!0,Fr("selectionchange",!1,e))}}function am(t,e,n,a){switch(Rm(e)){case 2:var s=Wv;break;case 8:s=$v;break;default:s=fo}n=s.bind(null,e,n,t),s=void 0,!xu||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(s=!0),a?s!==void 0?t.addEventListener(e,n,{capture:!0,passive:s}):t.addEventListener(e,n,!0):s!==void 0?t.addEventListener(e,n,{passive:s}):t.addEventListener(e,n,!1)}function $r(t,e,n,a,s){var o=a;if((e&1)===0&&(e&2)===0&&a!==null)t:for(;;){if(a===null)return;var f=a.tag;if(f===3||f===4){var p=a.stateNode.containerInfo;if(p===s)break;if(f===4)for(f=a.return;f!==null;){var x=f.tag;if((x===3||x===4)&&f.stateNode.containerInfo===s)return;f=f.return}for(;p!==null;){if(f=fa(p),f===null)return;if(x=f.tag,x===5||x===6||x===26||x===27){a=o=f;continue t}p=p.parentNode}}a=a.return}cf(function(){var D=o,N=gu(n),w=[];t:{var O=Lf.get(t);if(O!==void 0){var C=Ul,at=t;switch(t){case"keypress":if(wl(n)===0)break t;case"keydown":case"keyup":C=v0;break;case"focusin":at="focus",C=Au;break;case"focusout":at="blur",C=Au;break;case"beforeblur":case"afterblur":C=Au;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":C=df;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":C=s0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":C=S0;break;case wf:case _f:case Uf:C=o0;break;case Bf:C=A0;break;case"scroll":case"scrollend":C=i0;break;case"wheel":C=M0;break;case"copy":case"cut":case"paste":C=f0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":C=pf;break;case"toggle":case"beforetoggle":C=R0}var I=(e&4)!==0,St=!I&&(t==="scroll"||t==="scrollend"),E=I?O!==null?O+"Capture":null:O;I=[];for(var T=D,M;T!==null;){var z=T;if(M=z.stateNode,z=z.tag,z!==5&&z!==26&&z!==27||M===null||E===null||(z=fi(T,E),z!=null&&I.push(ki(T,z,M))),St)break;T=T.return}0<I.length&&(O=new C(O,at,null,n,N),w.push({event:O,listeners:I}))}}if((e&7)===0){t:{if(O=t==="mouseover"||t==="pointerover",C=t==="mouseout"||t==="pointerout",O&&n!==yu&&(at=n.relatedTarget||n.fromElement)&&(fa(at)||at[ca]))break t;if((C||O)&&(O=N.window===N?N:(O=N.ownerDocument)?O.defaultView||O.parentWindow:window,C?(at=n.relatedTarget||n.toElement,C=D,at=at?fa(at):null,at!==null&&(St=d(at),I=at.tag,at!==St||I!==5&&I!==27&&I!==6)&&(at=null)):(C=null,at=D),C!==at)){if(I=df,z="onMouseLeave",E="onMouseEnter",T="mouse",(t==="pointerout"||t==="pointerover")&&(I=pf,z="onPointerLeave",E="onPointerEnter",T="pointer"),St=C==null?O:ci(C),M=at==null?O:ci(at),O=new I(z,T+"leave",C,n,N),O.target=St,O.relatedTarget=M,z=null,fa(N)===D&&(I=new I(E,T+"enter",at,n,N),I.target=M,I.relatedTarget=St,z=I),St=z,C&&at)e:{for(I=C,E=at,T=0,M=I;M;M=Za(M))T++;for(M=0,z=E;z;z=Za(z))M++;for(;0<T-M;)I=Za(I),T--;for(;0<M-T;)E=Za(E),M--;for(;T--;){if(I===E||E!==null&&I===E.alternate)break e;I=Za(I),E=Za(E)}I=null}else I=null;C!==null&&im(w,O,C,I,!1),at!==null&&St!==null&&im(w,St,at,I,!0)}}t:{if(O=D?ci(D):window,C=O.nodeName&&O.nodeName.toLowerCase(),C==="select"||C==="input"&&O.type==="file")var k=Af;else if(Sf(O))if(Ef)k=B0;else{k=_0;var rt=w0}else C=O.nodeName,!C||C.toLowerCase()!=="input"||O.type!=="checkbox"&&O.type!=="radio"?D&&pu(D.elementType)&&(k=Af):k=U0;if(k&&(k=k(t,D))){Tf(w,k,n,N);break t}rt&&rt(t,O,D),t==="focusout"&&D&&O.type==="number"&&D.memoizedProps.value!=null&&mu(O,"number",O.value)}switch(rt=D?ci(D):window,t){case"focusin":(Sf(rt)||rt.contentEditable==="true")&&(Sa=rt,Cu=D,xi=null);break;case"focusout":xi=Cu=Sa=null;break;case"mousedown":Nu=!0;break;case"contextmenu":case"mouseup":case"dragend":Nu=!1,jf(w,n,N);break;case"selectionchange":if(H0)break;case"keydown":case"keyup":jf(w,n,N)}var F;if(Mu)t:{switch(t){case"compositionstart":var tt="onCompositionStart";break t;case"compositionend":tt="onCompositionEnd";break t;case"compositionupdate":tt="onCompositionUpdate";break t}tt=void 0}else ba?xf(t,n)&&(tt="onCompositionEnd"):t==="keydown"&&n.keyCode===229&&(tt="onCompositionStart");tt&&(yf&&n.locale!=="ko"&&(ba||tt!=="onCompositionStart"?tt==="onCompositionEnd"&&ba&&(F=ff()):(mn=N,bu="value"in mn?mn.value:mn.textContent,ba=!0)),rt=As(D,tt),0<rt.length&&(tt=new mf(tt,t,null,n,N),w.push({event:tt,listeners:rt}),F?tt.data=F:(F=bf(n),F!==null&&(tt.data=F)))),(F=C0?N0(t,n):V0(t,n))&&(tt=As(D,"onBeforeInput"),0<tt.length&&(rt=new mf("onBeforeInput","beforeinput",null,n,N),w.push({event:rt,listeners:tt}),rt.data=F)),Sv(w,t,D,n,N)}nm(w,e)})}function ki(t,e,n){return{instance:t,listener:e,currentTarget:n}}function As(t,e){for(var n=e+"Capture",a=[];t!==null;){var s=t,o=s.stateNode;if(s=s.tag,s!==5&&s!==26&&s!==27||o===null||(s=fi(t,n),s!=null&&a.unshift(ki(t,s,o)),s=fi(t,e),s!=null&&a.push(ki(t,s,o))),t.tag===3)return a;t=t.return}return[]}function Za(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function im(t,e,n,a,s){for(var o=e._reactName,f=[];n!==null&&n!==a;){var p=n,x=p.alternate,D=p.stateNode;if(p=p.tag,x!==null&&x===a)break;p!==5&&p!==26&&p!==27||D===null||(x=D,s?(D=fi(n,o),D!=null&&f.unshift(ki(n,D,x))):s||(D=fi(n,o),D!=null&&f.push(ki(n,D,x)))),n=n.return}f.length!==0&&t.push({event:e,listeners:f})}var Mv=/\r\n?/g,Dv=/\u0000|\uFFFD/g;function lm(t){return(typeof t=="string"?t:""+t).replace(Mv,`
49`).replace(Dv,"")}function sm(t,e){return e=lm(e),lm(t)===e}function Es(){}function bt(t,e,n,a,s,o){switch(n){case"children":typeof a=="string"?e==="body"||e==="textarea"&&a===""||ga(t,a):(typeof a=="number"||typeof a=="bigint")&&e!=="body"&&ga(t,""+a);break;case"className":Cl(t,"class",a);break;case"tabIndex":Cl(t,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Cl(t,n,a);break;case"style":rf(t,a,o);break;case"data":if(e!=="object"){Cl(t,"data",a);break}case"src":case"href":if(a===""&&(e!=="a"||n!=="href")){t.removeAttribute(n);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(n);break}a=jl(""+a),t.setAttribute(n,a);break;case"action":case"formAction":if(typeof a=="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 o=="function"&&(n==="formAction"?(e!=="input"&&bt(t,e,"name",s.name,s,null),bt(t,e,"formEncType",s.formEncType,s,null),bt(t,e,"formMethod",s.formMethod,s,null),bt(t,e,"formTarget",s.formTarget,s,null)):(bt(t,e,"encType",s.encType,s,null),bt(t,e,"method",s.method,s,null),bt(t,e,"target",s.target,s,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(n);break}a=jl(""+a),t.setAttribute(n,a);break;case"onClick":a!=null&&(t.onclick=Es);break;case"onScroll":a!=null&&ct("scroll",t);break;case"onScrollEnd":a!=null&&ct("scrollend",t);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(r(61));if(n=a.__html,n!=null){if(s.children!=null)throw Error(r(60));t.innerHTML=n}}break;case"multiple":t.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":t.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){t.removeAttribute("xlink:href");break}n=jl(""+a),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":a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(n,""+a):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":a&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(n,""):t.removeAttribute(n);break;case"capture":case"download":a===!0?t.setAttribute(n,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(n,a):t.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?t.setAttribute(n,a):t.removeAttribute(n);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?t.removeAttribute(n):t.setAttribute(n,a);break;case"popover":ct("beforetoggle",t),ct("toggle",t),Ol(t,"popover",a);break;case"xlinkActuate":ke(t,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":ke(t,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":ke(t,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":ke(t,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":ke(t,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":ke(t,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":ke(t,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":ke(t,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":ke(t,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Ol(t,"is",a);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=n0.get(n)||n,Ol(t,n,a))}}function Ir(t,e,n,a,s,o){switch(n){case"style":rf(t,a,o);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(r(61));if(n=a.__html,n!=null){if(s.children!=null)throw Error(r(60));t.innerHTML=n}}break;case"children":typeof a=="string"?ga(t,a):(typeof a=="number"||typeof a=="bigint")&&ga(t,""+a);break;case"onScroll":a!=null&&ct("scroll",t);break;case"onScrollEnd":a!=null&&ct("scrollend",t);break;case"onClick":a!=null&&(t.onclick=Es);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Fc.hasOwnProperty(n))t:{if(n[0]==="o"&&n[1]==="n"&&(s=n.endsWith("Capture"),e=n.slice(2,s?n.length-7:void 0),o=t[ie]||null,o=o!=null?o[n]:null,typeof o=="function"&&t.removeEventListener(e,o,s),typeof a=="function")){typeof o!="function"&&o!==null&&(n in t?t[n]=null:t.hasAttribute(n)&&t.removeAttribute(n)),t.addEventListener(e,a,s);break t}n in t?t[n]=a:a===!0?t.setAttribute(n,""):Ol(t,n,a)}}}function Ft(t,e,n){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ct("error",t),ct("load",t);var a=!1,s=!1,o;for(o in n)if(n.hasOwnProperty(o)){var f=n[o];if(f!=null)switch(o){case"src":a=!0;break;case"srcSet":s=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,e));default:bt(t,e,o,f,n,null)}}s&&bt(t,e,"srcSet",n.srcSet,n,null),a&&bt(t,e,"src",n.src,n,null);return;case"input":ct("invalid",t);var p=o=f=s=null,x=null,D=null;for(a in n)if(n.hasOwnProperty(a)){var N=n[a];if(N!=null)switch(a){case"name":s=N;break;case"type":f=N;break;case"checked":x=N;break;case"defaultChecked":D=N;break;case"value":o=N;break;case"defaultValue":p=N;break;case"children":case"dangerouslySetInnerHTML":if(N!=null)throw Error(r(137,e));break;default:bt(t,e,a,N,n,null)}}af(t,o,p,x,D,f,s,!1),Nl(t);return;case"select":ct("invalid",t),a=f=o=null;for(s in n)if(n.hasOwnProperty(s)&&(p=n[s],p!=null))switch(s){case"value":o=p;break;case"defaultValue":f=p;break;case"multiple":a=p;default:bt(t,e,s,p,n,null)}e=o,n=f,t.multiple=!!a,e!=null?ya(t,!!a,e,!1):n!=null&&ya(t,!!a,n,!0);return;case"textarea":ct("invalid",t),o=s=a=null;for(f in n)if(n.hasOwnProperty(f)&&(p=n[f],p!=null))switch(f){case"value":a=p;break;case"defaultValue":s=p;break;case"children":o=p;break;case"dangerouslySetInnerHTML":if(p!=null)throw Error(r(91));break;default:bt(t,e,f,p,n,null)}sf(t,a,s,o),Nl(t);return;case"option":for(x in n)if(n.hasOwnProperty(x)&&(a=n[x],a!=null))switch(x){case"selected":t.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:bt(t,e,x,a,n,null)}return;case"dialog":ct("beforetoggle",t),ct("toggle",t),ct("cancel",t),ct("close",t);break;case"iframe":case"object":ct("load",t);break;case"video":case"audio":for(a=0;a<Ki.length;a++)ct(Ki[a],t);break;case"image":ct("error",t),ct("load",t);break;case"details":ct("toggle",t);break;case"embed":case"source":case"link":ct("error",t),ct("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(D in n)if(n.hasOwnProperty(D)&&(a=n[D],a!=null))switch(D){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,e));default:bt(t,e,D,a,n,null)}return;default:if(pu(e)){for(N in n)n.hasOwnProperty(N)&&(a=n[N],a!==void 0&&Ir(t,e,N,a,n,void 0));return}}for(p in n)n.hasOwnProperty(p)&&(a=n[p],a!=null&&bt(t,e,p,a,n,null))}function Rv(t,e,n,a){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var s=null,o=null,f=null,p=null,x=null,D=null,N=null;for(C in n){var w=n[C];if(n.hasOwnProperty(C)&&w!=null)switch(C){case"checked":break;case"value":break;case"defaultValue":x=w;default:a.hasOwnProperty(C)||bt(t,e,C,null,a,w)}}for(var O in a){var C=a[O];if(w=n[O],a.hasOwnProperty(O)&&(C!=null||w!=null))switch(O){case"type":o=C;break;case"name":s=C;break;case"checked":D=C;break;case"defaultChecked":N=C;break;case"value":f=C;break;case"defaultValue":p=C;break;case"children":case"dangerouslySetInnerHTML":if(C!=null)throw Error(r(137,e));break;default:C!==w&&bt(t,e,O,C,a,w)}}du(t,f,p,x,D,N,o,s);return;case"select":C=f=p=O=null;for(o in n)if(x=n[o],n.hasOwnProperty(o)&&x!=null)switch(o){case"value":break;case"multiple":C=x;default:a.hasOwnProperty(o)||bt(t,e,o,null,a,x)}for(s in a)if(o=a[s],x=n[s],a.hasOwnProperty(s)&&(o!=null||x!=null))switch(s){case"value":O=o;break;case"defaultValue":p=o;break;case"multiple":f=o;default:o!==x&&bt(t,e,s,o,a,x)}e=p,n=f,a=C,O!=null?ya(t,!!n,O,!1):!!a!=!!n&&(e!=null?ya(t,!!n,e,!0):ya(t,!!n,n?[]:"",!1));return;case"textarea":C=O=null;for(p in n)if(s=n[p],n.hasOwnProperty(p)&&s!=null&&!a.hasOwnProperty(p))switch(p){case"value":break;case"children":break;default:bt(t,e,p,null,a,s)}for(f in a)if(s=a[f],o=n[f],a.hasOwnProperty(f)&&(s!=null||o!=null))switch(f){case"value":O=s;break;case"defaultValue":C=s;break;case"children":break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(r(91));break;default:s!==o&&bt(t,e,f,s,a,o)}lf(t,O,C);return;case"option":for(var at in n)if(O=n[at],n.hasOwnProperty(at)&&O!=null&&!a.hasOwnProperty(at))switch(at){case"selected":t.selected=!1;break;default:bt(t,e,at,null,a,O)}for(x in a)if(O=a[x],C=n[x],a.hasOwnProperty(x)&&O!==C&&(O!=null||C!=null))switch(x){case"selected":t.selected=O&&typeof O!="function"&&typeof O!="symbol";break;default:bt(t,e,x,O,a,C)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var I in n)O=n[I],n.hasOwnProperty(I)&&O!=null&&!a.hasOwnProperty(I)&&bt(t,e,I,null,a,O);for(D in a)if(O=a[D],C=n[D],a.hasOwnProperty(D)&&O!==C&&(O!=null||C!=null))switch(D){case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(r(137,e));break;default:bt(t,e,D,O,a,C)}return;default:if(pu(e)){for(var St in n)O=n[St],n.hasOwnProperty(St)&&O!==void 0&&!a.hasOwnProperty(St)&&Ir(t,e,St,void 0,a,O);for(N in a)O=a[N],C=n[N],!a.hasOwnProperty(N)||O===C||O===void 0&&C===void 0||Ir(t,e,N,O,a,C);return}}for(var E in n)O=n[E],n.hasOwnProperty(E)&&O!=null&&!a.hasOwnProperty(E)&&bt(t,e,E,null,a,O);for(w in a)O=a[w],C=n[w],!a.hasOwnProperty(w)||O===C||O==null&&C==null||bt(t,e,w,O,a,C)}var to=null,eo=null;function Ms(t){return t.nodeType===9?t:t.ownerDocument}function um(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 rm(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 no(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 ao=null;function Ov(){var t=window.event;return t&&t.type==="popstate"?t===ao?!1:(ao=t,!0):(ao=null,!1)}var om=typeof setTimeout=="function"?setTimeout:void 0,Cv=typeof clearTimeout=="function"?clearTimeout:void 0,cm=typeof Promise=="function"?Promise:void 0,Nv=typeof queueMicrotask=="function"?queueMicrotask:typeof cm<"u"?function(t){return cm.resolve(null).then(t).catch(Vv)}:om;function Vv(t){setTimeout(function(){throw t})}function Nn(t){return t==="head"}function fm(t,e){var n=e,a=0,s=0;do{var o=n.nextSibling;if(t.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(0<a&&8>a){n=a;var f=t.ownerDocument;if(n&1&&Ji(f.documentElement),n&2&&Ji(f.body),n&4)for(n=f.head,Ji(n),f=n.firstChild;f;){var p=f.nextSibling,x=f.nodeName;f[oi]||x==="SCRIPT"||x==="STYLE"||x==="LINK"&&f.rel.toLowerCase()==="stylesheet"||n.removeChild(f),f=p}}if(s===0){t.removeChild(o),nl(e);return}s--}else n==="$"||n==="$?"||n==="$!"?s++:a=n.charCodeAt(0)-48;else a=0;n=o}while(n);nl(e)}function io(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":io(n),ou(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}t.removeChild(n)}}function jv(t,e,n,a){for(;t.nodeType===1;){var s=n;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!a&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(a){if(!t[oi])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(o=t.getAttribute("rel"),o==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(o!==s.rel||t.getAttribute("href")!==(s.href==null||s.href===""?null:s.href)||t.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin)||t.getAttribute("title")!==(s.title==null?null:s.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(o=t.getAttribute("src"),(o!==(s.src==null?null:s.src)||t.getAttribute("type")!==(s.type==null?null:s.type)||t.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin))&&o&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var o=s.name==null?null:""+s.name;if(s.type==="hidden"&&t.getAttribute("name")===o)return t}else return t;if(t=we(t.nextSibling),t===null)break}return null}function zv(t,e,n){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!n||(t=we(t.nextSibling),t===null))return null;return t}function lo(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState==="complete"}function wv(t,e){var n=t.ownerDocument;if(t.data!=="$?"||n.readyState==="complete")e();else{var a=function(){e(),n.removeEventListener("DOMContentLoaded",a)};n.addEventListener("DOMContentLoaded",a),t._reactRetry=a}}function we(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="F!"||e==="F")break;if(e==="/$")return null}}return t}var so=null;function hm(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="$"||n==="$!"||n==="$?"){if(e===0)return t;e--}else n==="/$"&&e++}t=t.previousSibling}return null}function dm(t,e,n){switch(e=Ms(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 Ji(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);ou(t)}var Oe=new Map,mm=new Set;function Ds(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var rn=B.d;B.d={f:_v,r:Uv,D:Bv,C:Lv,L:Hv,m:qv,X:Gv,S:Yv,M:Xv};function _v(){var t=rn.f(),e=gs();return t||e}function Uv(t){var e=ha(t);e!==null&&e.tag===5&&e.type==="form"?wh(e):rn.r(t)}var Ka=typeof document>"u"?null:document;function pm(t,e,n){var a=Ka;if(a&&typeof e=="string"&&e){var s=Se(e);s='link[rel="'+t+'"][href="'+s+'"]',typeof n=="string"&&(s+='[crossorigin="'+n+'"]'),mm.has(s)||(mm.add(s),t={rel:t,crossOrigin:n,href:e},a.querySelector(s)===null&&(e=a.createElement("link"),Ft(e,"link",t),Qt(e),a.head.appendChild(e)))}}function Bv(t){rn.D(t),pm("dns-prefetch",t,null)}function Lv(t,e){rn.C(t,e),pm("preconnect",t,e)}function Hv(t,e,n){rn.L(t,e,n);var a=Ka;if(a&&t&&e){var s='link[rel="preload"][as="'+Se(e)+'"]';e==="image"&&n&&n.imageSrcSet?(s+='[imagesrcset="'+Se(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(s+='[imagesizes="'+Se(n.imageSizes)+'"]')):s+='[href="'+Se(t)+'"]';var o=s;switch(e){case"style":o=ka(t);break;case"script":o=Ja(t)}Oe.has(o)||(t=v({rel:"preload",href:e==="image"&&n&&n.imageSrcSet?void 0:t,as:e},n),Oe.set(o,t),a.querySelector(s)!==null||e==="style"&&a.querySelector(Pi(o))||e==="script"&&a.querySelector(Fi(o))||(e=a.createElement("link"),Ft(e,"link",t),Qt(e),a.head.appendChild(e)))}}function qv(t,e){rn.m(t,e);var n=Ka;if(n&&t){var a=e&&typeof e.as=="string"?e.as:"script",s='link[rel="modulepreload"][as="'+Se(a)+'"][href="'+Se(t)+'"]',o=s;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":o=Ja(t)}if(!Oe.has(o)&&(t=v({rel:"modulepreload",href:t},e),Oe.set(o,t),n.querySelector(s)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Fi(o)))return}a=n.createElement("link"),Ft(a,"link",t),Qt(a),n.head.appendChild(a)}}}function Yv(t,e,n){rn.S(t,e,n);var a=Ka;if(a&&t){var s=da(a).hoistableStyles,o=ka(t);e=e||"default";var f=s.get(o);if(!f){var p={loading:0,preload:null};if(f=a.querySelector(Pi(o)))p.loading=5;else{t=v({rel:"stylesheet",href:t,"data-precedence":e},n),(n=Oe.get(o))&&uo(t,n);var x=f=a.createElement("link");Qt(x),Ft(x,"link",t),x._p=new Promise(function(D,N){x.onload=D,x.onerror=N}),x.addEventListener("load",function(){p.loading|=1}),x.addEventListener("error",function(){p.loading|=2}),p.loading|=4,Rs(f,e,a)}f={type:"stylesheet",instance:f,count:1,state:p},s.set(o,f)}}}function Gv(t,e){rn.X(t,e);var n=Ka;if(n&&t){var a=da(n).hoistableScripts,s=Ja(t),o=a.get(s);o||(o=n.querySelector(Fi(s)),o||(t=v({src:t,async:!0},e),(e=Oe.get(s))&&ro(t,e),o=n.createElement("script"),Qt(o),Ft(o,"link",t),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},a.set(s,o))}}function Xv(t,e){rn.M(t,e);var n=Ka;if(n&&t){var a=da(n).hoistableScripts,s=Ja(t),o=a.get(s);o||(o=n.querySelector(Fi(s)),o||(t=v({src:t,async:!0,type:"module"},e),(e=Oe.get(s))&&ro(t,e),o=n.createElement("script"),Qt(o),Ft(o,"link",t),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},a.set(s,o))}}function ym(t,e,n,a){var s=(s=lt.current)?Ds(s):null;if(!s)throw Error(r(446));switch(t){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(e=ka(n.href),n=da(s).hoistableStyles,a=n.get(e),a||(a={type:"style",instance:null,count:0,state:null},n.set(e,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){t=ka(n.href);var o=da(s).hoistableStyles,f=o.get(t);if(f||(s=s.ownerDocument||s,f={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},o.set(t,f),(o=s.querySelector(Pi(t)))&&!o._p&&(f.instance=o,f.state.loading=5),Oe.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},Oe.set(t,n),o||Qv(s,t,n,f.state))),e&&a===null)throw Error(r(528,""));return f}if(e&&a!==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=Ja(n),n=da(s).hoistableScripts,a=n.get(e),a||(a={type:"script",instance:null,count:0,state:null},n.set(e,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,t))}}function ka(t){return'href="'+Se(t)+'"'}function Pi(t){return'link[rel="stylesheet"]['+t+"]"}function gm(t){return v({},t,{"data-precedence":t.precedence,precedence:null})}function Qv(t,e,n,a){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?a.loading=1:(e=t.createElement("link"),a.preload=e,e.addEventListener("load",function(){return a.loading|=1}),e.addEventListener("error",function(){return a.loading|=2}),Ft(e,"link",n),Qt(e),t.head.appendChild(e))}function Ja(t){return'[src="'+Se(t)+'"]'}function Fi(t){return"script[async]"+t}function vm(t,e,n){if(e.count++,e.instance===null)switch(e.type){case"style":var a=t.querySelector('style[data-href~="'+Se(n.href)+'"]');if(a)return e.instance=a,Qt(a),a;var s=v({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return a=(t.ownerDocument||t).createElement("style"),Qt(a),Ft(a,"style",s),Rs(a,n.precedence,t),e.instance=a;case"stylesheet":s=ka(n.href);var o=t.querySelector(Pi(s));if(o)return e.state.loading|=4,e.instance=o,Qt(o),o;a=gm(n),(s=Oe.get(s))&&uo(a,s),o=(t.ownerDocument||t).createElement("link"),Qt(o);var f=o;return f._p=new Promise(function(p,x){f.onload=p,f.onerror=x}),Ft(o,"link",a),e.state.loading|=4,Rs(o,n.precedence,t),e.instance=o;case"script":return o=Ja(n.src),(s=t.querySelector(Fi(o)))?(e.instance=s,Qt(s),s):(a=n,(s=Oe.get(o))&&(a=v({},n),ro(a,s)),t=t.ownerDocument||t,s=t.createElement("script"),Qt(s),Ft(s,"link",a),t.head.appendChild(s),e.instance=s);case"void":return null;default:throw Error(r(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(a=e.instance,e.state.loading|=4,Rs(a,n.precedence,t));return e.instance}function Rs(t,e,n){for(var a=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),s=a.length?a[a.length-1]:null,o=s,f=0;f<a.length;f++){var p=a[f];if(p.dataset.precedence===e)o=p;else if(o!==s)break}o?o.parentNode.insertBefore(t,o.nextSibling):(e=n.nodeType===9?n.head:n,e.insertBefore(t,e.firstChild))}function uo(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function ro(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var Os=null;function xm(t,e,n){if(Os===null){var a=new Map,s=Os=new Map;s.set(n,a)}else s=Os,a=s.get(n),a||(a=new Map,s.set(n,a));if(a.has(t))return a;for(a.set(t,null),n=n.getElementsByTagName(t),s=0;s<n.length;s++){var o=n[s];if(!(o[oi]||o[$t]||t==="link"&&o.getAttribute("rel")==="stylesheet")&&o.namespaceURI!=="http://www.w3.org/2000/svg"){var f=o.getAttribute(e)||"";f=t+f;var p=a.get(f);p?p.push(o):a.set(f,[o])}}return a}function bm(t,e,n){t=t.ownerDocument||t,t.head.insertBefore(n,e==="title"?t.querySelector("head > title"):null)}function Zv(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 Sm(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}var Wi=null;function Kv(){}function kv(t,e,n){if(Wi===null)throw Error(r(475));var a=Wi;if(e.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(e.state.loading&4)===0){if(e.instance===null){var s=ka(n.href),o=t.querySelector(Pi(s));if(o){t=o._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(a.count++,a=Cs.bind(a),t.then(a,a)),e.state.loading|=4,e.instance=o,Qt(o);return}o=t.ownerDocument||t,n=gm(n),(s=Oe.get(s))&&uo(n,s),o=o.createElement("link"),Qt(o);var f=o;f._p=new Promise(function(p,x){f.onload=p,f.onerror=x}),Ft(o,"link",n),e.instance=o}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(e,t),(t=e.state.preload)&&(e.state.loading&3)===0&&(a.count++,e=Cs.bind(a),t.addEventListener("load",e),t.addEventListener("error",e))}}function Jv(){if(Wi===null)throw Error(r(475));var t=Wi;return t.stylesheets&&t.count===0&&oo(t,t.stylesheets),0<t.count?function(e){var n=setTimeout(function(){if(t.stylesheets&&oo(t,t.stylesheets),t.unsuspend){var a=t.unsuspend;t.unsuspend=null,a()}},6e4);return t.unsuspend=e,function(){t.unsuspend=null,clearTimeout(n)}}:null}function Cs(){if(this.count--,this.count===0){if(this.stylesheets)oo(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Ns=null;function oo(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Ns=new Map,e.forEach(Pv,t),Ns=null,Cs.call(t))}function Pv(t,e){if(!(e.state.loading&4)){var n=Ns.get(t);if(n)var a=n.get(null);else{n=new Map,Ns.set(t,n);for(var s=t.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<s.length;o++){var f=s[o];(f.nodeName==="LINK"||f.getAttribute("media")!=="not all")&&(n.set(f.dataset.precedence,f),a=f)}a&&n.set(null,a)}s=e.instance,f=s.getAttribute("data-precedence"),o=n.get(f)||a,o===a&&n.set(null,s),n.set(f,s),this.count++,a=Cs.bind(this),s.addEventListener("load",a),s.addEventListener("error",a),o?o.parentNode.insertBefore(s,o.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(s,t.firstChild)),e.state.loading|=4}}var $i={$$typeof:H,Provider:null,Consumer:null,_currentValue:J,_currentValue2:J,_threadCount:0};function Fv(t,e,n,a,s,o,f,p){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=lu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=lu(0),this.hiddenUpdates=lu(null),this.identifierPrefix=a,this.onUncaughtError=s,this.onCaughtError=o,this.onRecoverableError=f,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=p,this.incompleteTransitions=new Map}function Tm(t,e,n,a,s,o,f,p,x,D,N,w){return t=new Fv(t,e,n,f,p,x,D,w),e=1,o===!0&&(e|=24),o=me(3,null,null,e),t.current=o,o.stateNode=t,e=Qu(),e.refCount++,t.pooledCache=e,e.refCount++,o.memoizedState={element:a,isDehydrated:n,cache:e},Ju(o),t}function Am(t){return t?(t=Ma,t):Ma}function Em(t,e,n,a,s,o){s=Am(s),a.context===null?a.context=s:a.pendingContext=s,a=gn(e),a.payload={element:n},o=o===void 0?null:o,o!==null&&(a.callback=o),n=vn(t,a,e),n!==null&&(xe(n,t,e),Oi(n,t,e))}function Mm(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var n=t.retryLane;t.retryLane=n!==0&&n<e?n:e}}function co(t,e){Mm(t,e),(t=t.alternate)&&Mm(t,e)}function Dm(t){if(t.tag===13){var e=Ea(t,67108864);e!==null&&xe(e,t,67108864),co(t,67108864)}}var Vs=!0;function Wv(t,e,n,a){var s=V.T;V.T=null;var o=B.p;try{B.p=2,fo(t,e,n,a)}finally{B.p=o,V.T=s}}function $v(t,e,n,a){var s=V.T;V.T=null;var o=B.p;try{B.p=8,fo(t,e,n,a)}finally{B.p=o,V.T=s}}function fo(t,e,n,a){if(Vs){var s=ho(a);if(s===null)$r(t,e,a,js,n),Om(t,a);else if(t1(s,t,e,n,a))a.stopPropagation();else if(Om(t,a),e&4&&-1<Iv.indexOf(t)){for(;s!==null;){var o=ha(s);if(o!==null)switch(o.tag){case 3:if(o=o.stateNode,o.current.memoizedState.isDehydrated){var f=qn(o.pendingLanes);if(f!==0){var p=o;for(p.pendingLanes|=2,p.entangledLanes|=2;f;){var x=1<<31-he(f);p.entanglements[1]|=x,f&=~x}Ge(o),(gt&6)===0&&(ps=Be()+500,Zi(0))}}break;case 13:p=Ea(o,2),p!==null&&xe(p,o,2),gs(),co(o,2)}if(o=ho(a),o===null&&$r(t,e,a,js,n),o===s)break;s=o}s!==null&&a.stopPropagation()}else $r(t,e,a,null,n)}}function ho(t){return t=gu(t),mo(t)}var js=null;function mo(t){if(js=null,t=fa(t),t!==null){var e=d(t);if(e===null)t=null;else{var n=e.tag;if(n===13){if(t=h(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 js=t,null}function Rm(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(Lg()){case qc:return 2;case Yc:return 8;case El:case Hg:return 32;case Gc:return 268435456;default:return 32}default:return 32}}var po=!1,Vn=null,jn=null,zn=null,Ii=new Map,tl=new Map,wn=[],Iv="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 Om(t,e){switch(t){case"focusin":case"focusout":Vn=null;break;case"dragenter":case"dragleave":jn=null;break;case"mouseover":case"mouseout":zn=null;break;case"pointerover":case"pointerout":Ii.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":tl.delete(e.pointerId)}}function el(t,e,n,a,s,o){return t===null||t.nativeEvent!==o?(t={blockedOn:e,domEventName:n,eventSystemFlags:a,nativeEvent:o,targetContainers:[s]},e!==null&&(e=ha(e),e!==null&&Dm(e)),t):(t.eventSystemFlags|=a,e=t.targetContainers,s!==null&&e.indexOf(s)===-1&&e.push(s),t)}function t1(t,e,n,a,s){switch(e){case"focusin":return Vn=el(Vn,t,e,n,a,s),!0;case"dragenter":return jn=el(jn,t,e,n,a,s),!0;case"mouseover":return zn=el(zn,t,e,n,a,s),!0;case"pointerover":var o=s.pointerId;return Ii.set(o,el(Ii.get(o)||null,t,e,n,a,s)),!0;case"gotpointercapture":return o=s.pointerId,tl.set(o,el(tl.get(o)||null,t,e,n,a,s)),!0}return!1}function Cm(t){var e=fa(t.target);if(e!==null){var n=d(e);if(n!==null){if(e=n.tag,e===13){if(e=h(n),e!==null){t.blockedOn=e,kg(t.priority,function(){if(n.tag===13){var a=ve();a=su(a);var s=Ea(n,a);s!==null&&xe(s,n,a),co(n,a)}});return}}else if(e===3&&n.stateNode.current.memoizedState.isDehydrated){t.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}t.blockedOn=null}function zs(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var n=ho(t.nativeEvent);if(n===null){n=t.nativeEvent;var a=new n.constructor(n.type,n);yu=a,n.target.dispatchEvent(a),yu=null}else return e=ha(n),e!==null&&Dm(e),t.blockedOn=n,!1;e.shift()}return!0}function Nm(t,e,n){zs(t)&&n.delete(e)}function e1(){po=!1,Vn!==null&&zs(Vn)&&(Vn=null),jn!==null&&zs(jn)&&(jn=null),zn!==null&&zs(zn)&&(zn=null),Ii.forEach(Nm),tl.forEach(Nm)}function ws(t,e){t.blockedOn===e&&(t.blockedOn=null,po||(po=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,e1)))}var _s=null;function Vm(t){_s!==t&&(_s=t,i.unstable_scheduleCallback(i.unstable_NormalPriority,function(){_s===t&&(_s=null);for(var e=0;e<t.length;e+=3){var n=t[e],a=t[e+1],s=t[e+2];if(typeof a!="function"){if(mo(a||n)===null)continue;break}var o=ha(n);o!==null&&(t.splice(e,3),e-=3,dr(o,{pending:!0,data:s,method:n.method,action:a},a,s))}}))}function nl(t){function e(x){return ws(x,t)}Vn!==null&&ws(Vn,t),jn!==null&&ws(jn,t),zn!==null&&ws(zn,t),Ii.forEach(e),tl.forEach(e);for(var n=0;n<wn.length;n++){var a=wn[n];a.blockedOn===t&&(a.blockedOn=null)}for(;0<wn.length&&(n=wn[0],n.blockedOn===null);)Cm(n),n.blockedOn===null&&wn.shift();if(n=(t.ownerDocument||t).$$reactFormReplay,n!=null)for(a=0;a<n.length;a+=3){var s=n[a],o=n[a+1],f=s[ie]||null;if(typeof o=="function")f||Vm(n);else if(f){var p=null;if(o&&o.hasAttribute("formAction")){if(s=o,f=o[ie]||null)p=f.formAction;else if(mo(s)!==null)continue}else p=f.action;typeof p=="function"?n[a+1]=p:(n.splice(a,3),a-=3),Vm(n)}}}function yo(t){this._internalRoot=t}Us.prototype.render=yo.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(r(409));var n=e.current,a=ve();Em(n,a,t,e,null,null)},Us.prototype.unmount=yo.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;Em(t.current,2,null,t,null,null),gs(),e[ca]=null}};function Us(t){this._internalRoot=t}Us.prototype.unstable_scheduleHydration=function(t){if(t){var e=kc();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&&Cm(t)}};var jm=l.version;if(jm!=="19.1.1")throw Error(r(527,jm,"19.1.1"));B.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=g(e),t=t!==null?m(t):null,t=t===null?null:t.stateNode,t};var n1={bundleType:0,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:V,reconcilerVersion:"19.1.1"};
vendor: 8,252 bytes, lines 49-95
49if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Bs=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Bs.isDisabled&&Bs.supportsFiber)try{si=Bs.inject(n1),fe=Bs}catch{}}return il.createRoot=function(t,e){if(!c(t))throw Error(r(299));var n=!1,a="",s=Jh,o=Ph,f=Fh,p=null;return e!=null&&(e.unstable_strictMode===!0&&(n=!0),e.identifierPrefix!==void 0&&(a=e.identifierPrefix),e.onUncaughtError!==void 0&&(s=e.onUncaughtError),e.onCaughtError!==void 0&&(o=e.onCaughtError),e.onRecoverableError!==void 0&&(f=e.onRecoverableError),e.unstable_transitionCallbacks!==void 0&&(p=e.unstable_transitionCallbacks)),e=Tm(t,1,!1,null,null,n,a,s,o,f,p,null),t[ca]=e.current,Wr(t),new yo(e)},il.hydrateRoot=function(t,e,n){if(!c(t))throw Error(r(299));var a=!1,s="",o=Jh,f=Ph,p=Fh,x=null,D=null;return n!=null&&(n.unstable_strictMode===!0&&(a=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onUncaughtError!==void 0&&(o=n.onUncaughtError),n.onCaughtError!==void 0&&(f=n.onCaughtError),n.onRecoverableError!==void 0&&(p=n.onRecoverableError),n.unstable_transitionCallbacks!==void 0&&(x=n.unstable_transitionCallbacks),n.formState!==void 0&&(D=n.formState)),e=Tm(t,1,!0,e,n??null,a,s,o,f,p,x,D),e.context=Am(null),n=e.current,a=ve(),a=su(a),s=gn(a),s.callback=null,vn(n,s,a),n=a,e.current.lanes=n,ri(e,n),Ge(e),t[ca]=e.current,Wr(t),new Us(e)},il.version="19.1.1",il}var Gm;function h1(){if(Gm)return xo.exports;Gm=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(l){console.error(l)}}return i(),xo.exports=f1(),xo.exports}var d1=h1();function m1(){const[i,l]=G.useState(!1),u=G.useRef(null),r=G.useRef(null);return G.useEffect(()=>{function c(h){if(!i)return;const y=h.target;r.current?.contains(y)||u.current?.contains(y)||l(!1)}function d(h){h.key==="Escape"&&l(!1)}return document.addEventListener("mousedown",c),document.addEventListener("keydown",d),()=>{document.removeEventListener("mousedown",c),document.removeEventListener("keydown",d)}},[i]),R.jsx("header",{className:"w-full bg-white/80 backdrop-blur supports-[backdrop-filter]:bg-white/60 border-b border-gray-200 sticky top-0 z-[100]",children:R.jsx("nav",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:R.jsxs("div",{className:"flex h-16 items-center justify-between",children:[R.jsxs("a",{href:"/",className:"flex items-center gap-2 shrink-0",children:[R.jsx("img",{src:"/dark_logo.svg",alt:"Meksi logo",className:"h-7 w-auto"}),R.jsx("span",{className:"text-sm sm:text-base text-gray-600",children:"for Exams"})]}),R.jsxs("div",{className:"hidden md:flex items-center gap-8",children:[R.jsx("a",{href:"https://meksi.com/packs",target:"_blank",rel:"noopener noreferrer",className:"text-gray-700 hover:text-[#2795B2] font-medium",children:"Exam packs"}),R.jsx("a",{href:"https://meksi.com/packs",target:"_blank",rel:"noopener noreferrer",className:"text-gray-700 hover:text-[#2795B2] font-medium",children:"Subscription packs"})]}),R.jsxs("div",{className:"md:hidden relative",children:[R.jsxs("button",{ref:u,type:"button","aria-label":"Toggle menu","aria-expanded":i,onClick:()=>l(c=>!c),className:"inline-flex items-center justify-center rounded-md p-2 text-gray-700 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-[#2795B2]",children:[R.jsxs("svg",{className:`h-6 w-6 ${i?"hidden":"block"}`,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[R.jsx("line",{x1:"3",y1:"12",x2:"21",y2:"12"}),R.jsx("line",{x1:"3",y1:"6",x2:"21",y2:"6"}),R.jsx("line",{x1:"3",y1:"18",x2:"21",y2:"18"})]}),R.jsxs("svg",{className:`h-6 w-6 ${i?"block":"hidden"}`,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[R.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),R.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})]}),i&&R.jsx("div",{ref:r,role:"menu",className:`absolute right-0 mt-2 w-56 rounded-xl bg-white shadow-lg z-[9999] overflow-hidden
50                            animate-in fade-in zoom-in-95 duration-150`,children:R.jsxs("div",{className:"p-1",children:[R.jsx("a",{href:"https://meksi.com/packs",target:"_blank",rel:"noopener noreferrer",className:"block px-3 py-2 rounded-lg text-gray-800 hover:bg-gray-100",onClick:()=>l(!1),role:"menuitem",children:"Exam packs"}),R.jsx("a",{href:"https://meksi.com/packs",target:"_blank",rel:"noopener noreferrer",className:"block px-3 py-2 rounded-lg text-gray-800 hover:bg-gray-100",onClick:()=>l(!1),role:"menuitem",children:"Subscription packs"})]})})]})]})})})}/**
51 * @license lucide-react v0.542.0 - ISC
52 *
53 * This source code is licensed under the ISC license.
54 * See the LICENSE file in the root directory of this source tree.
55 */const p1=i=>i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),y1=i=>i.replace(/^([A-Z])|[\s-_]+(\w)/g,(l,u,r)=>r?r.toUpperCase():u.toLowerCase()),Xm=i=>{const l=y1(i);return l.charAt(0).toUpperCase()+l.slice(1)},ny=(...i)=>i.filter((l,u,r)=>!!l&&l.trim()!==""&&r.indexOf(l)===u).join(" ").trim(),g1=i=>{for(const l in i)if(l.startsWith("aria-")||l==="role"||l==="title")return!0};/**
56 * @license lucide-react v0.542.0 - ISC
57 *
58 * This source code is licensed under the ISC license.
59 * See the LICENSE file in the root directory of this source tree.
60 */var v1={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"};/**
61 * @license lucide-react v0.542.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 x1=G.forwardRef(({color:i="currentColor",size:l=24,strokeWidth:u=2,absoluteStrokeWidth:r,className:c="",children:d,iconNode:h,...y},g)=>G.createElement("svg",{ref:g,...v1,width:l,height:l,stroke:i,strokeWidth:r?Number(u)*24/Number(l):u,className:ny("lucide",c),...!d&&!g1(y)&&{"aria-hidden":"true"},...y},[...h.map(([m,v])=>G.createElement(m,v)),...Array.isArray(d)?d:[d]]));/**
66 * @license lucide-react v0.542.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 */const vl=(i,l)=>{const u=G.forwardRef(({className:r,...c},d)=>G.createElement(x1,{ref:d,iconNode:l,className:ny(`lucide-${p1(Xm(i))}`,`lucide-${i}`,r),...c}));return u.displayName=Xm(i),u};/**
71 * @license lucide-react v0.542.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 b1=[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]],S1=vl("facebook",b1);/**
76 * @license lucide-react v0.542.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 T1=[["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"}]],A1=vl("instagram",T1);/**
81 * @license lucide-react v0.542.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 E1=[["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"}]],M1=vl("linkedin",E1);/**
86 * @license lucide-react v0.542.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 D1=[["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"}]],R1=vl("mail",D1);/**
91 * @license lucide-react v0.542.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 O1=[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.5
955 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]],C1=vl("youtube",O1);function N1(){return R.jsx("footer",{className:"bg-[#2795B2] text-white py-12 px-8",children:R.jsxs("div",{className:"max-w-6xl mx-auto",children:[R.jsxs("div",{className:"flex flex-col md:flex-row justify-between items-center md:items-start mb-12",children:[R.jsxs("div",{className:"flex flex-col items-center md:items-start text-center md:text-left mb-8 md:mb-0 md:max-w-xs",children:[R.jsx("a",{href:"https://meksi.com",target:"_blank",rel:"noopener noreferrer",children:R.jsx("img",{src:"/navbar_logo.png",alt:"Meksi Logo",width:180,height:120,className:"mb-4 hover:opacity-80 transition-opacity cursor-pointer"})}),R.jsx("p",{className:"text-lg font-medium text-white",children:"MEdical Knowledge Simulator — AI powered virtual patient consults"})]}),R.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-8 w-full md:w-auto text-center sm:text-left",children:[R.jsxs("div",{children:[R.jsx("h3",{className:"text-xl font-semibold mb-4 text-white/90",children:"Products"}),R.jsxs("ul",{className:"space-y-2",children:[R.jsx("li",{children:R.jsx("a",{href:"/learn",className:"hover:text-white/80 transition",children:"Learn"})}),R.jsx("li",{children:R.jsx("a",{href:"/exam",className:"hover:text-white/80 transition",children:"Exam"})}),R.jsx("li",{children:R.jsx("a",{href:"/cpd",className:"hover:text-white/80 transition",children:"CPD"})})]})]}),R.jsxs("div",{children:[R.jsx("h3",{className:"text-xl font-semibold mb-4 text-white/90",children:"Contact"}),R.jsxs("ul",{className:"space-y-3",children:[R.jsx("li",{children:R.jsx("a",{href:"https://meksi.com/contact-us",className:"hover:text-white/80 transition",children:"Contact Us"})}),R.jsxs("li",{className:"flex items-center justify-center sm:justify-start gap-2",children:[R.jsx(R1,{size:16}),R.jsx("a",{href:"mailto:[email protected]",className:"hover:text-white/80 transition",children:"[email protected]"})]})]})]})]})]}),R.jsxs("div",{className:"flex justify-center gap-6 py-6 border-t border-b border-white/20",children:[R.jsx("a",{href:"https://www.youtube.com/channel/UCTaLbq2Q_U1QR2u9egL4EyA",target:"_blank","aria-label":"YouTube",className:"hover:bg-white/10 p-2 rounded-full transition",children:R.jsx(C1,{size:24,className:"hover:text-red-500 transition"})}),R.jsx("a",{href:"https://au.linkedin.com/company/meksi",target:"_blank","aria-label":"LinkedIn",className:"hover:bg-white/10 p-2 rounded-full transition",children:R.jsx(M1,{size:24,className:"hover:text-blue-500 transition"})}),R.jsx("a",{href:"https://www.instagram.com/meksi_medical/",target:"_blank","aria-label":"Instagram",className:"hover:bg-white/10 p-2 rounded-full transition",children:R.jsx(A1,{size:24,className:"hover:text-pink-500 transition"})}),R.jsx("a",{href:"https://www.facebook.com/Medicalknowledgesimulator",target:"_blank","aria-label":"Facebook",className:"hover:bg-white/10 p-2 rounded-full transition",children:R.jsx(S1,{size:24,className:"hover:text-blue-600 transition"})})]}),R.jsxs("div",{className:"mt-8 text-center text-sm",children:[R.jsxs("p",{children:["© ",new Date().getFullYear()," Meksi. All rights reserved."]}),R.jsxs("div",{className:"flex flex-wrap justify-center gap-6 mt-3",children:[R.jsx("a",{href:"https://meksi.com/privacy-policy",className:"hover:underline",children:"Privacy Policy"}),R.jsx("a",{href:"https://meksi.com",className:"hover:underline",children:"meksi.com"})]})]})]})})}const sc=G.createContext({});function uc(i){const l=G.useRef(null);return l.current===null&&(l.current=i()),l.current}const rc=typeof window<"u",ay=rc?G.useLayoutEffect:G.useEffect,Ws=G.createContext(null);function oc(i,l){i.indexOf(l)===-1&&i.push(l)}function cc(i,l){const u=i.indexOf(l);u>-1&&i.splice(u,1)}const on=(i,l,u)=>u>l?l:u<i?i:u;let fc=()=>{};const cn={},iy=i=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(i);function ly(i){return typeof i=="object"&&i!==null}const sy=i=>/^0[^.\s]+$/u.test(i);function hc(i){let l;return()=>(l===void 0&&(l=i()),l)}const Ve=i=>i,V1=(i,l)=>u=>l(i(u)),xl=(...i)=>i.reduce(V1),hl=(i,l,u)=>{const r=l-i;return r===0?1:(u-i)/r};class dc{constructor(){this.subscriptions=[]}add(l){return oc(this.subscriptions,l),()=>cc(this.subscriptions,l)}notify(l,u,r){const c=this.subscriptions.length;if(c)if(c===1)this.subscriptions[0](l,u,r);else for(let d=0;d<c;d++){const h=this.subscriptions[d];h&&h(l,u,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Xe=i=>i*1e3,Qe=i=>i/1e3;function uy(i,l){return l?i*(1e3/l):0}const ry=(i,l,u)=>(((1-3*u+3*l)*i+(3*u-6*l))*i+3*l)*i,j1=1e-7,z1=12;function w1(i,l,u,r,c){let d,h,y=0;do h=l+(u-l)/2,d=ry(h,r,c)-i,d>0?u=h:l=h;while(Math.abs(d)>j1&&++y<z1);return h}function bl(i,l,u,r){if(i===l&&u===r)return Ve;const c=d=>w1(d,0,1,i,u);return d=>d===0||d===1?d:ry(c(d),l,r)}const oy=i=>l=>l<=.5?i(2*l)/2:(2-i(2*(1-l)))/2,cy=i=>l=>1-i(1-l),fy=bl(.33,1.53,.69,.99),mc=cy(fy),hy=oy(mc),dy=i=>(i*=2)<1?.5*mc(i):.5*(2-Math.pow(2,-10*(i-1))),pc=i=>1-Math.sin(Math.acos(i)),my=cy(pc),py=oy(pc),_1=bl(.42,0,1,1),U1=bl(0,0,.58,1),yy=bl(.42,0,.58,1),B1=i=>Array.isArray(i)&&typeof i[0]!="number",gy=i=>Array.isArray(i)&&typeof i[0]=="number",L1={linear:Ve,easeIn:_1,easeInOut:yy,easeOut:U1,circIn:pc,circInOut:py,circOut:my,backIn:mc,backInOut:hy,backOut:fy,anticipate:dy},H1=i=>typeof i=="string",Qm=i=>{if(gy(i)){fc(i.length===4);const[l,u,r,c]=i;return bl(l,u,r,c)}else if(H1(i))return L1[i];return i},Ls=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function q1(i,l){let u=new Set,r=new Set,c=!1,d=!1;const h=new WeakSet;let y={delta:0,timestamp:0,isProcessing:!1};function g(v){h.has(v)&&(m.schedule(v),i()),v(y)}const m={schedule:(v,b=!1,A=!1)=>{const U=A&&c?u:r;return b&&h.add(v),U.has(v)||U.add(v),v},cancel:v=>{r.delete(v),h.delete(v)},process:v=>{if(y=v,c){d=!0;return}c=!0,[u,r]=[r,u],u.forEach(g),u.clear(),c=!1,d&&(d=!1,m.process(v))}};return m}const Y1=40;function vy(i,l){let u=!1,r=!0;const c={delta:0,timestamp:0,isProcessing:!1},d=()=>u=!0,h=Ls.reduce((H,et)=>(H[et]=q1(d),H),{}),{setup:y,read:g,resolveKeyframes:m,preUpdate:v,update:b,preRender:A,render:j,postRender:U}=h,q=()=>{const H=cn.useManualTiming?c.timestamp:performance.now();u=!1,cn.useManualTiming||(c.delta=r?1e3/60:Math.max(Math.min(H-c.timestamp,Y1),1)),c.timestamp=H,c.isProcessing=!0,y.process(c),g.process(c),m.process(c),v.process(c),b.process(c),A.process(c),j.process(c),U.process(c),c.isProcessing=!1,u&&l&&(r=!1,i(q))},Q=()=>{u=!0,r=!0,c.isProcessing||i(q)};return{schedule:Ls.reduce((H,et)=>{const L=h[et];return H[et]=(W,nt=!1,P=!1)=>(u||Q(),L.schedule(W,nt,P)),H},{}),cancel:H=>{for(let et=0;et<Ls.length;et++)h[Ls[et]].cancel(H)},state:c,steps:h}}const{schedule:Dt,cancel:Bn,state:Wt,steps:Ao}=vy(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ve,!0);let Gs;function G1(){Gs=void 0}const oe={now:()=>(Gs===void 0&&oe.set(Wt.isProcessing||cn.useManualTiming?Wt.timestamp:performance.now()),Gs),set:i=>{Gs=i,queueMicrotask(G1)}},xy=i=>l=>typeof l=="string"&&l.startsWith(i),yc=xy("--"),X1=xy("var(--"),gc=i=>X1(i)?Q1.test(i.split("/*")[0].trim()):!1,Q1=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,ai={test:i=>typeof i=="number",parse:parseFloat,transform:i=>i},dl={...ai,transform:i=>on(0,1,i)},Hs={...ai,default:1},ul=i=>Math.round(i*1e5)/1e5,vc=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Z1(i){return i==null}const K1=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,xc=(i,l)=>u=>!!(typeof u=="string"&&K1.test(u)&&u.startsWith(i)||l&&!Z1(u)&&Object.prototype.hasOwnProperty.call(u,l)),by=(i,l,u)=>r=>{if(typeof r!="string")return r;const[c,d,h,y]=r.match(vc);return{[i]:parseFloat(c),[l]:parseFloat(d),[u]:parseFloat(h),alpha:y!==void 0?parseFloat(y):1}},k1=i=>on(0,255,i),Eo={...ai,transform:i=>Math.round(k1(i))},sa={test:xc("rgb","red"),parse:by("red","green","blue"),transform:({red:i,green:l,blue:u,alpha:r=1})=>"rgba("+Eo.transform(i)+", "+Eo.transform(l)+", "+Eo.transform(u)+", "+ul(
vendor: 38,785 bytes, lines 95-103
95dl.transform(r))+")"};function J1(i){let l="",u="",r="",c="";return i.length>5?(l=i.substring(1,3),u=i.substring(3,5),r=i.substring(5,7),c=i.substring(7,9)):(l=i.substring(1,2),u=i.substring(2,3),r=i.substring(3,4),c=i.substring(4,5),l+=l,u+=u,r+=r,c+=c),{red:parseInt(l,16),green:parseInt(u,16),blue:parseInt(r,16),alpha:c?parseInt(c,16)/255:1}}const Lo={test:xc("#"),parse:J1,transform:sa.transform},Sl=i=>({test:l=>typeof l=="string"&&l.endsWith(i)&&l.split(" ").length===1,parse:parseFloat,transform:l=>`${l}${i}`}),Un=Sl("deg"),Ze=Sl("%"),it=Sl("px"),P1=Sl("vh"),F1=Sl("vw"),Zm={...Ze,parse:i=>Ze.parse(i)/100,transform:i=>Ze.transform(i*100)},Pa={test:xc("hsl","hue"),parse:by("hue","saturation","lightness"),transform:({hue:i,saturation:l,lightness:u,alpha:r=1})=>"hsla("+Math.round(i)+", "+Ze.transform(ul(l))+", "+Ze.transform(ul(u))+", "+ul(dl.transform(r))+")"},Lt={test:i=>sa.test(i)||Lo.test(i)||Pa.test(i),parse:i=>sa.test(i)?sa.parse(i):Pa.test(i)?Pa.parse(i):Lo.parse(i),transform:i=>typeof i=="string"?i:i.hasOwnProperty("red")?sa.transform(i):Pa.transform(i),getAnimatableNone:i=>{const l=Lt.parse(i);return l.alpha=0,Lt.transform(l)}},W1=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function $1(i){return isNaN(i)&&typeof i=="string"&&(i.match(vc)?.length||0)+(i.match(W1)?.length||0)>0}const Sy="number",Ty="color",I1="var",tx="var(",Km="${}",ex=/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 ml(i){const l=i.toString(),u=[],r={color:[],number:[],var:[]},c=[];let d=0;const y=l.replace(ex,g=>(Lt.test(g)?(r.color.push(d),c.push(Ty),u.push(Lt.parse(g))):g.startsWith(tx)?(r.var.push(d),c.push(I1),u.push(g)):(r.number.push(d),c.push(Sy),u.push(parseFloat(g))),++d,Km)).split(Km);return{values:u,split:y,indexes:r,types:c}}function Ay(i){return ml(i).values}function Ey(i){const{split:l,types:u}=ml(i),r=l.length;return c=>{let d="";for(let h=0;h<r;h++)if(d+=l[h],c[h]!==void 0){const y=u[h];y===Sy?d+=ul(c[h]):y===Ty?d+=Lt.transform(c[h]):d+=c[h]}return d}}const nx=i=>typeof i=="number"?0:Lt.test(i)?Lt.getAnimatableNone(i):i;function ax(i){const l=Ay(i);return Ey(i)(l.map(nx))}const Ln={test:$1,parse:Ay,createTransformer:Ey,getAnimatableNone:ax};function Mo(i,l,u){return u<0&&(u+=1),u>1&&(u-=1),u<1/6?i+(l-i)*6*u:u<1/2?l:u<2/3?i+(l-i)*(2/3-u)*6:i}function ix({hue:i,saturation:l,lightness:u,alpha:r}){i/=360,l/=100,u/=100;let c=0,d=0,h=0;if(!l)c=d=h=u;else{const y=u<.5?u*(1+l):u+l-u*l,g=2*u-y;c=Mo(g,y,i+1/3),d=Mo(g,y,i),h=Mo(g,y,i-1/3)}return{red:Math.round(c*255),green:Math.round(d*255),blue:Math.round(h*255),alpha:r}}function Ks(i,l){return u=>u>0?l:i}const Ot=(i,l,u)=>i+(l-i)*u,Do=(i,l,u)=>{const r=i*i,c=u*(l*l-r)+r;return c<0?0:Math.sqrt(c)},lx=[Lo,sa,Pa],sx=i=>lx.find(l=>l.test(i));function km(i){const l=sx(i);if(!l)return!1;let u=l.parse(i);return l===Pa&&(u=ix(u)),u}const Jm=(i,l)=>{const u=km(i),r=km(l);if(!u||!r)return Ks(i,l);const c={...u};return d=>(c.red=Do(u.red,r.red,d),c.green=Do(u.green,r.green,d),c.blue=Do(u.blue,r.blue,d),c.alpha=Ot(u.alpha,r.alpha,d),sa.transform(c))},Ho=new Set(["none","hidden"]);function ux(i,l){return Ho.has(i)?u=>u<=0?i:l:u=>u>=1?l:i}function rx(i,l){return u=>Ot(i,l,u)}function bc(i){return typeof i=="number"?rx:typeof i=="string"?gc(i)?Ks:Lt.test(i)?Jm:fx:Array.isArray(i)?My:typeof i=="object"?Lt.test(i)?Jm:ox:Ks}function My(i,l){const u=[...i],r=u.length,c=i.map((d,h)=>bc(d)(d,l[h]));return d=>{for(let h=0;h<r;h++)u[h]=c[h](d);return u}}function ox(i,l){const u={...i,...l},r={};for(const c in u)i[c]!==void 0&&l[c]!==void 0&&(r[c]=bc(i[c])(i[c],l[c]));return c=>{for(const d in r)u[d]=r[d](c);return u}}function cx(i,l){const u=[],r={color:0,var:0,number:0};for(let c=0;c<l.values.length;c++){const d=l.types[c],h=i.indexes[d][r[d]],y=i.values[h]??0;u[c]=y,r[d]++}return u}const fx=(i,l)=>{const u=Ln.createTransformer(l),r=ml(i),c=ml(l);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?Ho.has(i)&&!c.values.length||Ho.has(l)&&!r.values.length?ux(i,l):xl(My(cx(r,c),c.values),u):Ks(i,l)};function Dy(i,l,u){return typeof i=="number"&&typeof l=="number"&&typeof u=="number"?Ot(i,l,u):bc(i)(i,l)}const hx=i=>{const l=({timestamp:u})=>i(u);return{start:(u=!0)=>Dt.update(l,u),stop:()=>Bn(l),now:()=>Wt.isProcessing?Wt.timestamp:oe.now()}},Ry=(i,l,u=10)=>{let r="";const c=Math.max(Math.round(l/u),2);for(let d=0;d<c;d++)r+=Math.round(i(d/(c-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},ks=2e4;function Sc(i){let l=0;const u=50;let r=i.next(l);for(;!r.done&&l<ks;)l+=u,r=i.next(l);return l>=ks?1/0:l}function dx(i,l=100,u){const r=u({...i,keyframes:[0,l]}),c=Math.min(Sc(r),ks);return{type:"keyframes",ease:d=>r.next(c*d).value/l,duration:Qe(c)}}const mx=5;function Oy(i,l,u){const r=Math.max(l-mx,0);return uy(u-i(r),l-r)}const jt={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},Ro=.001;function px({duration:i=jt.duration,bounce:l=jt.bounce,velocity:u=jt.velocity,mass:r=jt.mass}){let c,d,h=1-l;h=on(jt.minDamping,jt.maxDamping,h),i=on(jt.minDuration,jt.maxDuration,Qe(i)),h<1?(c=m=>{const v=m*h,b=v*i,A=v-u,j=qo(m,h),U=Math.exp(-b);return Ro-A/j*U},d=m=>{const b=m*h*i,A=b*u+u,j=Math.pow(h,2)*Math.pow(m,2)*i,U=Math.exp(-b),q=qo(Math.pow(m,2),h);return(-c(m)+Ro>0?-1:1)*((A-j)*U)/q}):(c=m=>{const v=Math.exp(-m*i),b=(m-u)*i+1;return-Ro+v*b},d=m=>{const v=Math.exp(-m*i),b=(u-m)*(i*i);return v*b});const y=5/i,g=gx(c,d,y);if(i=Xe(i),isNaN(g))return{stiffness:jt.stiffness,damping:jt.damping,duration:i};{const m=Math.pow(g,2)*r;return{stiffness:m,damping:h*2*Math.sqrt(r*m),duration:i}}}const yx=12;function gx(i,l,u){let r=u;for(let c=1;c<yx;c++)r=r-i(r)/l(r);return r}function qo(i,l){return i*Math.sqrt(1-l*l)}const vx=["duration","bounce"],xx=["stiffness","damping","mass"];function Pm(i,l){return l.some(u=>i[u]!==void 0)}function bx(i){let l={velocity:jt.velocity,stiffness:jt.stiffness,damping:jt.damping,mass:jt.mass,isResolvedFromDuration:!1,...i};if(!Pm(i,xx)&&Pm(i,vx))if(i.visualDuration){const u=i.visualDuration,r=2*Math.PI/(u*1.2),c=r*r,d=2*on(.05,1,1-(i.bounce||0))*Math.sqrt(c);l={...l,mass:jt.mass,stiffness:c,damping:d}}else{const u=px(i);l={...l,...u,mass:jt.mass},l.isResolvedFromDuration=!0}return l}function Js(i=jt.visualDuration,l=jt.bounce){const u=typeof i!="object"?{visualDuration:i,keyframes:[0,1],bounce:l}:i;let{restSpeed:r,restDelta:c}=u;const d=u.keyframes[0],h=u.keyframes[u.keyframes.length-1],y={done:!1,value:d},{stiffness:g,damping:m,mass:v,duration:b,velocity:A,isResolvedFromDuration:j}=bx({...u,velocity:-Qe(u.velocity||0)}),U=A||0,q=m/(2*Math.sqrt(g*v)),Q=h-d,Y=Qe(Math.sqrt(g/v)),Z=Math.abs(Q)<5;r||(r=Z?jt.restSpeed.granular:jt.restSpeed.default),c||(c=Z?jt.restDelta.granular:jt.restDelta.default);let H;if(q<1){const L=qo(Y,q);H=W=>{const nt=Math.exp(-q*Y*W);return h-nt*((U+q*Y*Q)/L*Math.sin(L*W)+Q*Math.cos(L*W))}}else if(q===1)H=L=>h-Math.exp(-Y*L)*(Q+(U+Y*Q)*L);else{const L=Y*Math.sqrt(q*q-1);H=W=>{const nt=Math.exp(-q*Y*W),P=Math.min(L*W,300);return h-nt*((U+q*Y*Q)*Math.sinh(P)+L*Q*Math.cosh(P))/L}}const et={calculatedDuration:j&&b||null,next:L=>{const W=H(L);if(j)y.done=L>=b;else{let nt=L===0?U:0;q<1&&(nt=L===0?Xe(U):Oy(H,L,W));const P=Math.abs(nt)<=r,yt=Math.abs(h-W)<=c;y.done=P&&yt}return y.value=y.done?h:W,y},toString:()=>{const L=Math.min(Sc(et),ks),W=Ry(nt=>et.next(L*nt).value,L,30);return L+"ms "+W},toTransition:()=>{}};return et}Js.applyToOptions=i=>{const l=dx(i,100,Js);return i.ease=l.ease,i.duration=Xe(l.duration),i.type="keyframes",i};function Yo({keyframes:i,velocity:l=0,power:u=.8,timeConstant:r=325,bounceDamping:c=10,bounceStiffness:d=500,modifyTarget:h,min:y,max:g,restDelta:m=.5,restSpeed:v}){const b=i[0],A={done:!1,value:b},j=P=>y!==void 0&&P<y||g!==void 0&&P>g,U=P=>y===void 0?g:g===void 0||Math.abs(y-P)<Math.abs(g-P)?y:g;let q=u*l;const Q=b+q,Y=h===void 0?Q:h(Q);Y!==Q&&(q=Y-b);const Z=P=>-q*Math.exp(-P/r),H=P=>Y+Z(P),et=P=>{const yt=Z(P),Ct=H(P);A.done=Math.abs(yt)<=m,A.value=A.done?Y:Ct};let L,W;const nt=P=>{j(A.value)&&(L=P,W=Js({keyframes:[A.value,U(A.value)],velocity:Oy(H,P,A.value),damping:c,stiffness:d,restDelta:m,restSpeed:v}))};return nt(0),{calculatedDuration:null,next:P=>{let yt=!1;return!W&&L===void 0&&(yt=!0,et(P),nt(P)),L!==void 0&&P>=L?W.next(P-L):(!yt&&et(P),A)}}}function Sx(i,l,u){const r=[],c=u||cn.mix||Dy,d=i.length-1;for(let h=0;h<d;h++){let y=c(i[h],i[h+1]);if(l){const g=Array.isArray(l)?l[h]||Ve:l;y=xl(g,y)}r.push(y)}return r}function Tx(i,l,{clamp:u=!0,ease:r,mixer:c}={}){const d=i.length;if(fc(d===l.length),d===1)return()=>l[0];if(d===2&&l[0]===l[1])return()=>l[1];const h=i[0]===i[1];i[0]>i[d-1]&&(i=[...i].reverse(),l=[...l].reverse());const y=Sx(l,r,c),g=y.length,m=v=>{if(h&&v<i[0])return l[0];let b=0;if(g>1)for(;b<i.length-2&&!(v<i[b+1]);b++);const A=hl(i[b],i[b+1],v);return y[b](A)};return u?v=>m(on(i[0],i[d-1],v)):m}function Ax(i,l){const u=i[i.length-1];for(let r=1;r<=l;r++){const c=hl(0,l,r);i.push(Ot(u,1,c))}}function Ex(i){const l=[0];return Ax(l,i.length-1),l}function Mx(i,l){return i.map(u=>u*l)}function Dx(i,l){return i.map(()=>l||yy).splice(0,i.length-1)}function rl({duration:i=300,keyframes:l,times:u,ease:r="easeInOut"}){const c=B1(r)?r.map(Qm):Qm(r),d={done:!1,value:l[0]},h=Mx(u&&u.length===l.length?u:Ex(l),i),y=Tx(h,l,{ease:Array.isArray(c)?c:Dx(l,c)});return{calculatedDuration:i,next:g=>(d.value=y(g),d.done=g>=i,d)}}const Rx=i=>i!==null;function Tc(i,{repeat:l,repeatType:u="loop"},r,c=1){const d=i.filter(Rx),y=c<0||l&&u!=="loop"&&l%2===1?0:d.length-1;return!y||r===void 0?d[y]:r}const Ox={decay:Yo,inertia:Yo,tween:rl,keyframes:rl,spring:Js};function Cy(i){typeof i.type=="string"&&(i.type=Ox[i.type])}class Ac{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(l=>{this.resolve=l})}notifyFinished(){this.resolve()}then(l,u){return this.finished.then(l,u)}}const Cx=i=>i/100;class Ec extends Ac{constructor(l){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:u}=this.options;u&&u.updatedAt!==oe.now()&&this.tick(oe.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=l,this.initAnimation(),this.play(),l.autoplay===!1&&this.pause()}initAnimation(){const{options:l}=this;Cy(l);const{type:u=rl,repeat:r=0,repeatDelay:c=0,repeatType:d,velocity:h=0}=l;let{keyframes:y}=l;const g=u||rl;g!==rl&&typeof y[0]!="number"&&(this.mixKeyframes=xl(Cx,Dy(y[0],y[1])),y=[0,100]);const m=g({...l,keyframes:y});d==="mirror"&&(this.mirroredGenerator=g({...l,keyframes:[...y].reverse(),velocity:-h})),m.calculatedDuration===null&&(m.calculatedDuration=Sc(m));const{calculatedDuration:v}=m;this.calculatedDuration=v,this.resolvedDuration=v+c,this.totalDuration=this.resolvedDuration*(r+1)-c,this.generator=m}updateTime(l){const u=Math.round(l-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=u}tick(l,u=!1){const{generator:r,totalDuration:c,mixKeyframes:d,mirroredGenerator:h,resolvedDuration:y,calculatedDuration:g}=this;if(this.startTime===null)return r.next(0);const{delay:m=0,keyframes:v,repeat:b,repeatType:A,repeatDelay:j,type:U,onUpdate:q,finalKeyframe:Q}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,l):this.speed<0&&(this.startTime=Math.min(l-c/this.speed,this.startTime)),u?this.currentTime=l:this.updateTime(l);const Y=this.currentTime-m*(this.playbackSpeed>=0?1:-1),Z=this.playbackSpeed>=0?Y<0:Y>c;this.currentTime=Math.max(Y,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let H=this.currentTime,et=r;if(b){const P=Math.min(this.currentTime,c)/y;let yt=Math.floor(P),Ct=P%1;!Ct&&P>=1&&(Ct=1),Ct===1&&yt--,yt=Math.min(yt,b+1),!!(yt%2)&&(A==="reverse"?(Ct=1-Ct,j&&(Ct-=j/y)):A==="mirror"&&(et=h)),H=on(0,1,Ct)*y}const L=Z?{done:!1,value:v[0]}:et.next(H);d&&(L.value=d(L.value));let{done:W}=L;!Z&&g!==null&&(W=this.playbackSpeed>=0?this.currentTime>=c:this.currentTime<=0);const nt=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&W);return nt&&U!==Yo&&(L.value=Tc(v,this.options,Q,this.speed)),q&&q(L.value),nt&&this.finish(),L}then(l,u){return this.finished.then(l,u)}get duration(){return Qe(this.calculatedDuration)}get time(){return Qe(this.currentTime)}set time(l){l=Xe(l),this.currentTime=l,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=l:this.driver&&(this.startTime=this.driver.now()-l/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(l){this.updateTime(oe.now());const u=this.playbackSpeed!==l;this.playbackSpeed=l,u&&(this.time=Qe(this.currentTime))}play(){if(this.isStopped)return;const{driver:l=hx,startTime:u}=this.options;this.driver||(this.driver=l(c=>this.tick(c))),this.options.onPlay?.();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=u??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(oe.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(l){return this.startTime=0,this.tick(l,!0)}attachTimeline(l){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),l.observe(this)}}function Nx(i){for(let l=1;l<i.length;l++)i[l]??(i[l]=i[l-1])}const ua=i=>i*180/Math.PI,Go=i=>{const l=ua(Math.atan2(i[1],i[0]));return Xo(l)},Vx={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:i=>(Math.abs(i[0])+Math.abs(i[3]))/2,rotate:Go,rotateZ:Go,skewX:i=>ua(Math.atan(i[1])),skewY:i=>ua(Math.atan(i[2])),skew:i=>(Math.abs(i[1])+Math.abs(i[2]))/2},Xo=i=>(i=i%360,i<0&&(i+=360),i),Fm=Go,Wm=i=>Math.sqrt(i[0]*i[0]+i[1]*i[1]),$m=i=>Math.sqrt(i[4]*i[4]+i[5]*i[5]),jx={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Wm,scaleY:$m,scale:i=>(Wm(i)+$m(i))/2,rotateX:i=>Xo(ua(Math.atan2(i[6],i[5]))),rotateY:i=>Xo(ua(Math.atan2(-i[2],i[0]))),rotateZ:Fm,rotate:Fm,skewX:i=>ua(Math.atan(i[4])),skewY:i=>ua(Math.atan(i[1])),skew:i=>(Math.abs(i[1])+Math.abs(i[4]))/2};function Qo(i){return i.includes("scale")?1:0}function Zo(i,l){if(!i||i==="none")return Qo(l);const u=i.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,c;if(u)r=jx,c=u;else{const y=i.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=Vx,c=y}if(!c)return Qo(l);const d=r[l],h=c[1].split(",").map(wx);return typeof d=="function"?d(h):h[d]}const zx=(i,l)=>{const{transform:u="none"}=getComputedStyle(i);return Zo(u,l)};function wx(i){return parseFloat(i.trim())}const ii=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],li=new Set(ii),Im=i=>i===ai||i===it,_x=new Set(["x","y","z"]),Ux=ii.filter(i=>!_x.has(i));function Bx(i){const l=[];return Ux.forEach(u=>{const r=i.getValue(u);r!==void 0&&(l.push([u,r.get()]),r.set(u.startsWith("scale")?1:0))}),l}const ra={width:({x:i},{paddingLeft:l="0",paddingRight:u="0"})=>i.max-i.min-parseFloat(l)-parseFloat(u),height:({y:i},{paddingTop:l="0",paddingBottom:u="0"})=>i.max-i.min-parseFloat(l)-parseFloat(u),top:(i,{top:l})=>parseFloat(l),left:(i,{left:l})=>parseFloat(l),bottom:({y:i},{top:l})=>parseFloat(l)+(i.max-i.min),right:({x:i},{left:l})=>parseFloat(l)+(i.max-i.min),x:(i,{transform:l})=>Zo(l,"x"),y:(i,{transform:l})=>Zo(l,"y")};ra.translateX=ra.x;ra.translateY=ra.y;const oa=new Set;let Ko=!1,ko=!1,Jo=!1;function Ny(){if(ko){const i=Array.from(oa).filter(r=>r.needsMeasurement),l=new Set(i.map(r=>r.element)),u=new Map;l.forEach(r=>{const c=Bx(r);c.length&&(u.set(r,c),r.render())}),i.forEach(r=>r.measureInitialState()),l.forEach(r=>{r.render();const c=u.get(r);c&&c.forEach(([d,h])=>{r.getValue(d)?.set(h)})}),i.forEach(r=>r.measureEndState()),i.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}ko=!1,Ko=!1,oa.forEach(i=>i.complete(Jo)),oa.clear()}function Vy(){oa.forEach(i=>{i.readKeyframes(),i.needsMeasurement&&(ko=!0)})}function Lx(){Jo=!0,Vy(),Ny(),Jo=!1}class Mc{constructor(l,u,r,c,d,h=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...l],this.onComplete=u,this.name=r,this.motionValue=c,this.element=d,this.isAsync=h}scheduleResolve(){this.state="scheduled",this.isAsync?(oa.add(this),Ko||(Ko=!0,Dt.read(Vy),Dt.resolveKeyframes(Ny))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:l,name:u,element:r,motionValue:c}=this;if(l[0]===null){const d=c?.get(),h=l[l.length-1];if(d!==void 0)l[0]=d;else if(r&&u){const y=r.readValue(u,h);y!=null&&(l[0]=y)}l[0]===void 0&&(l[0]=h),c&&d===void 0&&c.set(l[0])}Nx(l)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(l=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,l),oa.delete(this)}cancel(){this.state==="scheduled"&&(oa.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const Hx=i=>i.startsWith("--");function qx(i,l,u){Hx(l)?i.style.setProperty(l,u):i.style[l]=u}const Yx=hc(()=>window.ScrollTimeline!==void 0),Gx={};function Xx(i,l){const u=hc(i);return()=>Gx[l]??u()}const jy=Xx(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),sl=([i,l,u,r])=>`cubic-bezier(${i}, ${l}, ${u}, ${r})`,tp={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:sl([0,.65,.55,1]),circOut:sl([.55,0,1,.45]),backIn:sl([.31,.01,.66,-.59]),backOut:sl([.33,1.53,.69,.99])};function zy(i,l){if(i)return typeof i=="function"?jy()?Ry(i,l):"ease-out":gy(i)?sl(i):Array.isArray(i)?i.map(u=>zy(u,l)||tp.easeOut):tp[i]}function Qx(i,l,u,{delay:r=0,duration:c=300,repeat:d=0,repeatType:h="loop",ease:y="easeOut",times:g}={},m=void 0){const v={[l]:u};g&&(v.offset=g);const b=zy(y,c);Array.isArray(b)&&(v.easing=b);const A={delay:r,duration:c,easing:Array.isArray(b)?"linear":b,fill:"both",iterations:d+1,direction:h==="reverse"?"alternate":"normal"};return m&&(A.pseudoElement=m),i.animate(v,A)}function wy(i){return typeof i=="function"&&"applyToOptions"in i}function Zx({type:i,...l}){return wy(i)&&jy()?i.applyToOptions(l):(l.duration??(l.duration=300),l.ease??(l.ease="easeOut"),l)}class Kx extends Ac{constructor(l){if(super(),this.finishedTime=null,this.isStopped=!1,!l)return;const{element:u,name:r,keyframes:c,pseudoElement:d,allowFlatten:h=!1,finalKeyframe:y,onComplete:g}=l;this.isPseudoElement=!!d,this.allowFlatten=h,this.options=l,fc(typeof l.type!="string");const m=Zx(l);this.animation=Qx(u,r,c,m,d),m.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!d){const v=Tc(c,this.options,y,this.speed);this.updateMotionValue?this.updateMotionValue(v):qx(u,r,v),this.animation.cancel()}g?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:l}=this;l==="idle"||l==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const l=this.animation.effect?.getComputedTiming?.().duration||0;return Qe(Number(l))}get time(){return Qe(Number(this.animation.currentTime)||0)}set time(l){this.finishedTime=null,this.animation.currentTime=Xe(l)}get speed(){return this.animation.playbackRate}set speed(l){l<0&&(this.finishedTime=null),this.animation.playbackRate=l}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(l){this.animation.startTime=l}attachTimeline({timeline:l,observe:u}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,l&&Yx()?(this.animation.timeline=l,Ve):u(this)}}const _y={anticipate:dy,backInOut:hy,circInOut:py};function kx(i){return i in _y}function Jx(i){typeof i.ease=="string"&&kx(i.ease)&&(i.ease=_y[i.ease])}const ep=10;class Px extends Kx{constructor(l){Jx(l),Cy(l),super(l),l.startTime&&(this.startTime=l.startTime),this.options=l}updateMotionValue(l){const{motionValue:u,onUpdate:r,onComplete:c,element:d,...h}=this.options;if(!u)return;if(l!==void 0){u.set(l);return}const y=new Ec({...h,autoplay:!1}),g=Xe(this.finishedTime??this.time);u.setWithVelocity(y.sample(g-ep).value,y.sample(g).value,ep),y.stop()}}const np=(i,l)=>l==="zIndex"?!1:!!(typeof i=="number"||Array.isArray(i)||typeof i=="string"&&(Ln.test(i)||i==="0")&&!i.startsWith("url("));function Fx(i){const l=i[0];if(i.length===1)return!0;for(let u=0;u<i.length;u++)if(i[u]!==l)return!0}function Wx(i,l,u,r){const c=i[0];if(c===null)return!1;if(l==="display"||l==="visibility")return!0;const d=i[i.length-1],h=np(c,l),y=np(d,l);return!h||!y?!1:Fx(i)||(u==="spring"||wy(u))&&r}function Po(i){i.duration=0,i.type}const $x=new Set(["opacity","clipPath","filter","transform"]),Ix=hc(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function tb(i){const{motionValue:l,name:u,repeatDelay:r,repeatType:c,damping:d,type:h}=i;if(!(l?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:g,transformTemplate:m}=l.owner.getProps();return Ix()&&u&&$x.has(u)&&(u!=="transform"||!m)&&!g&&!r&&c!=="mirror"&&d!==0&&h!=="inertia"}const eb=40;class nb extends Ac{constructor({autoplay:l=!0,delay:u=0,type:r="keyframes",repeat:c=0,repeatDelay:d=0,repeatType:h="loop",keyframes:y,name:g,motionValue:m,element:v,...b}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=oe.now();const A={autoplay:l,delay:u,type:r,repeat:c,repeatDelay:d,repeatType:h,name:g,motionValue:m,element:v,...b},j=v?.KeyframeResolver||Mc;this.keyframeResolver=new j(y,(U,q,Q)=>this.onKeyframesResolved(U,q,A,!Q),g,m,v),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(l,u,r,c){this.keyframeResolver=void 0;const{name:d,type:h,velocity:y,delay:g,isHandoff:m,onUpdate:v}=r;this.resolvedAt=oe.now(),Wx(l,d,h,y)||((cn.instantAnimations||!g)&&v?.(Tc(l,r,u)),l[0]=l[l.length-1],Po(r),r.repeat=0);const A={startTime:c?this.resolvedAt?this.resolvedAt-this.createdAt>eb?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:u,...r,keyframes:l},j=!m&&tb(A)?new Px({...A,element:A.motionValue.owner.current}):new Ec(A);j.finished.then(()=>this.notifyFinished()).catch(Ve),this.pendingTimeline&&(this.stopTimeline=j.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=j}get finished(){return this._animation?this.animation.finished:this._finished}then(l,u){return this.finished.finally(l).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Lx()),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(l){this.animation.time=l}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(l){this.animation.speed=l}get startTime(){return this.animation.startTime}attachTimeline(l){return this._animation?this.stopTimeline=this.animation.attachTimeline(l):this.pendingTimeline=l,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const ab=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function ib(i){const l=ab.exec(i);if(!l)return[,];const[,u,r,c]=l;return[`--${u??r}`,c]}function Uy(i,l,u=1){const[r,c]=ib(i);if(!r)return;const d=window.getComputedStyle(l).getPropertyValue(r);if(d){const h=d.trim();return iy(h)?parseFloat(h):h}return gc(c)?Uy(c,l,u+1):c}function Dc(i,l){return i?.[l]??i?.default??i}const By=new Set(["width","height","top","left","right","bottom",...ii]),lb={test:i=>i==="auto",parse:i=>i},Ly=i=>l=>l.test(i),Hy=[ai,it,Ze,Un,F1,P1,lb],ap=i=>Hy.find(Ly(i));function sb(i){return typeof i=="number"?i===0:i!==null?i==="none"||i==="0"||sy(i):!0}const ub=new Set(["brightness","contrast","saturate","opacity"]);function rb(i){const[l,u]=i.slice(0,-1).split("(");if(l==="drop-shadow")return i;const[r]=u.match(vc)||[];if(!r)return i;const c=u.replace(r,"");let d=ub.has(l)?1:0;return r!==u&&(d*=100),l+"("+d+c+")"}const ob=/\b([a-z-]*)\(.*?\)/gu,Fo={...Ln,getAnimatableNone:i=>{const l=i.match(ob);return l?l.map(rb).join(" "):i}},ip={...ai,transform:Math.round},cb={rotate:Un,rotateX:Un,rotateY:Un,rotateZ:Un,scale:Hs,scaleX:Hs,scaleY:Hs,scaleZ:Hs,skew:Un,skewX:Un,skewY:Un,distance:it,translateX:it,translateY:it,translateZ:it,x:it,y:it,z:it,perspective:it,transformPerspective:it,opacity:dl,originX:Zm,originY:Zm,originZ:it},Rc={borderWidth:it,borderTopWidth:it,borderRightWidth:it,borderBottomWidth:it,borderLeftWidth:it,borderRadius:it,radius:it,borderTopLeftRadius:it,borderTopRightRadius:it,borderBottomRightRadius:it,borderBottomLeftRadius:it,width:it,maxWidth:it,height:it,maxHeight:it,top:it,right:it,bottom:it,left:it,padding:it,paddingTop:it,paddingRight:it,paddingBottom:it,paddingLeft:it,margin:it,marginTop:it,marginRight:it,marginBottom:it,marginLeft:it,backgroundPositionX:it,backgroundPositionY:it,...cb,zIndex:ip,fillOpacity:dl,strokeOpacity:dl,numOctaves:ip},fb={...Rc,color:Lt,backgroundColor:Lt,outlineColor:Lt,fill:Lt,stroke:Lt,borderColor:Lt,borderTopColor:Lt,borderRightColor:Lt,borderBottomColor:Lt,borderLeftColor:Lt,filter:Fo,WebkitFilter:Fo},qy=i=>fb[i];function Yy(i,l){let u=qy(i);return u!==Fo&&(u=Ln),u.getAnimatableNone?u.getAnimatableNone(l):void 0}const hb=new Set(["auto","none","0"]);function db(i,l,u){let r=0,c;for(;r<i.length&&!c;){const d=i[r];typeof d=="string"&&!hb.has(d)&&ml(d).values.length&&(c=i[r]),r++}if(c&&u)for(const d of l)i[d]=Yy(u,c)}class mb extends Mc{constructor(l,u,r,c,d){super(l,u,r,c,d,!0)}readKeyframes(){const{unresolvedKeyframes:l,element:u,name:r}=this;if(!u||!u.current)return;super.readKeyframes();for(let g=0;g<l.length;g++){let m=l[g];if(typeof m=="string"&&(m=m.trim(),gc(m))){const v=Uy(m,u.current);v!==void 0&&(l[g]=v),g===l.length-1&&(this.finalKeyframe=m)}}if(this.resolveNoneKeyframes(),!By.has(r)||l.length!==2)return;const[c,d]=l,h=ap(c),y=ap(d);if(h!==y)if(Im(h)&&Im(y))for(let g=0;g<l.length;g++){const m=l[g];typeof m=="string"&&(l[g]=parseFloat(m))}else ra[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:l,name:u}=this,r=[];for(let c=0;c<l.length;c++)(l[c]===null||sb(l[c]))&&r.push(c);r.length&&db(l,r,u)}measureInitialState(){const{element:l,unresolvedKeyframes:u,name:r}=this;if(!l||!l.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ra[r](l.measureViewportBox(),window.getComputedStyle(l.current)),u[0]=this.measuredOrigin;const c=u[u.length-1];c!==void 0&&l.getValue(r,c).jump(c,!1)}measureEndState(){const{element:l,name:u,unresolvedKeyframes:r}=this;if(!l||!l.current)return;const c=l.getValue(u);c&&c.jump(this.measuredOrigin,!1);const d=r.length-1,h=r[d];r[d]=ra[u](l.measureViewportBox(),window.getComputedStyle(l.current)),h!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=h),this.removedTransforms?.length&&this.removedTransforms.forEach(([y,g])=>{l.getValue(y).set(g)}),this.resolveNoneKeyframes()}}function pb(i,l,u){if(i instanceof EventTarget)return[i];if(typeof i=="string"){let r=document;const c=u?.[i]??r.querySelectorAll(i);return c?Array.from(c):[]}return Array.from(i)}const Gy=(i,l)=>l&&typeof i=="number"?l.transform(i):i;function Xy(i){return ly(i)&&"offsetHeight"in i}const lp=30,yb=i=>!isNaN(parseFloat(i));class gb{constructor(l,u={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{const c=oe.now();if(this.updatedAt!==c&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const d of this.dependents)d.dirty()},this.hasAnimated=!1,this.setCurrent(l),this.owner=u.owner}setCurrent(l){this.current=l,this.updatedAt=oe.now(),this.canTrackVelocity===null&&l!==void 0&&(this.canTrackVelocity=yb(this.current))}setPrevFrameValue(l=this.current){this.prevFrameValue=l,this.prevUpdatedAt=this.updatedAt}onChange(l){return this.on("change",l)}on(l,u){this.events[l]||(this.events[l]=new dc);const r=this.events[l].add(u);return l==="change"?()=>{r(),Dt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const l in this.events)this.events[l].clear()}attach(l,u){this.passiveEffect=l,this.stopPassiveEffect=u}set(l){this.passiveEffect?this.passiveEffect(l,this.updateAndNotify):this.updateAndNotify(l)}setWithVelocity(l,u,r){this.set(u),this.prev=void 0,this.prevFrameValue=l,this.prevUpdatedAt=this.updatedAt-r}jump(l,u=!0){this.updateAndNotify(l),this.prev=l,this.prevUpdatedAt=this.prevFrameValue=void 0,u&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(l){this.dependents||(this.dependents=new Set),this.dependents.add(l)}removeDependent(l){this.dependents&&this.dependents.delete(l)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const l=oe.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||l-this.updatedAt>lp)return 0;const u=Math.min(this.updatedAt-this.prevUpdatedAt,lp);return uy(parseFloat(this.current)-parseFloat(this.prevFrameValue),u)}start(l){return this.stop(),new Promise(u=>{this.hasAnimated=!0,this.animation=l(u),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(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ei(i,l){return new gb(i,l)}const{schedule:Oc}=vy(queueMicrotask,!1),_e={x:!1,y:!1};function Qy(){return _e.x||_e.y}function vb(i){return i==="x"||i==="y"?_e[i]?null:(_e[i]=!0,()=>{_e[i]=!1}):_e.x||_e.y?null:(_e.x=_e.y=!0,()=>{_e.x=_e.y=!1})}function Zy(i,l){const u=pb(i),r=new AbortController,c={passive:!0,...l,signal:r.signal};return[u,c,()=>r.abort()]}function sp(i){return!(i.pointerType==="touch"||Qy())}function xb(i,l,u={}){const[r,c,d]=Zy(i,u),h=y=>{if(!sp(y))return;const{target:g}=y,m=l(g,y);if(typeof m!="function"||!g)return;const v=b=>{sp(b)&&(m(b),g.removeEventListener("pointerleave",v))};g.addEventListener("pointerleave",v,c)};return r.forEach(y=>{y.addEventListener("pointerenter",h,c)}),d}const Ky=(i,l)=>l?i===l?!0:Ky(i,l.parentElement):!1,Cc=i=>i.pointerType==="mouse"?typeof i.button!="number"||i.button<=0:i.isPrimary!==!1,bb=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Sb(i){return bb.has(i.tagName)||i.tabIndex!==-1}const Xs=new WeakSet;function up(i){return l=>{l.key==="Enter"&&i(l)}}function Oo(i,l){i.dispatchEvent(new PointerEvent("pointer"+l,{isPrimary:!0,bubbles:!0}))}const Tb=(i,l)=>{const u=i.currentTarget;if(!u)return;const r=up(()=>{if(Xs.has(u))return;Oo(u,"down");const c=up(()=>{Oo(u,"up")}),d=()=>Oo(u,"cancel");u.addEventListener("keyup",c,l),u.addEventListener("blur",d,l)});u.addEventListener("keydown",r,l),u.addEventListener("blur",()=>u.removeEventListener("keydown",r),l)};function rp(i){return Cc(i)&&!Qy()}function Ab(i,l,u={}){const[r,c,d]=Zy(i,u),h=y=>{const g=y.currentTarget;if(!rp(y))return;Xs.add(g);const m=l(g,y),v=(j,U)=>{window.removeEventListener("pointerup",b),window.removeEventListener("pointercancel",A),Xs.has(g)&&Xs.delete(g),rp(j)&&typeof m=="function"&&m(j,{success:U})},b=j=>{v(j,g===window||g===document||u.useGlobalTarget||Ky(g,j.target))},A=j=>{v(j,!1)};window.addEventListener("pointerup",b,c),window.addEventListener("pointercancel",A,c)};return r.forEach(y=>{(u.useGlobalTarget?window:y).addEventListener("pointerdown",h,c),Xy(y)&&(y.addEventListener("focus",m=>Tb(m,c)),!Sb(y)&&!y.hasAttribute("tabindex")&&(y.tabIndex=0))}),d}function ky(i){return ly(i)&&"ownerSVGElement"in i}function Eb(i){return ky(i)&&i.tagName==="svg"}const ee=i=>!!(i&&i.getVelocity),Mb=[...Hy,Lt,Ln],Db=i=>Mb.find(Ly(i)),Nc=G.createContext({transformPagePoint:i=>i,isStatic:!1,reducedMotion:"never"});class Rb extends G.Component{getSnapshotBeforeUpdate(l){const u=this.props.childRef.current;if(u&&l.isPresent&&!this.props.isPresent){const r=u.offsetParent,c=Xy(r)&&r.offsetWidth||0,d=this.props.sizeRef.current;d.height=u.offsetHeight||0,d.width=u.offsetWidth||0,d.top=u.offsetTop,d.left=u.offsetLeft,d.right=c-d.width-d.left}return null}componentDidUpdate(){}render(){return this.props.children}}function Ob({children:i,isPresent:l,anchorX:u,root:r}){const c=G.useId(),d=G.useRef(null),h=G.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:y}=G.useContext(Nc);return G.useInsertionEffect(()=>{const{width:g,height:m,top:v,left:b,right:A}=h.current;if(l||!d.current||!g||!m)return;const j=u==="left"?`left: ${b}`:`right: ${A}`;d.current.dataset.motionPopId=c;const U=document.createElement("style");y&&(U.nonce=y);const q=r??document.head;return q.appendChild(U),U.sheet&&U.sheet.insertRule(`
96          [data-motion-pop-id="${c}"] {
97            position: absolute !important;
98            width: ${g}px !important;
99            height: ${m}px !important;
100            ${j}px !important;
101            top: ${v}px !important;
102          }
103        `),()=>{q.contains(U)&&q.removeChild(U)}},[l]),R.jsx(Rb,{isPresent:l,childRef:d,sizeRef:h,children:G.cloneElement(i,{ref:d})})}const Cb=({children:i,initial:l,isPresent:u,onExitComplete:r,custom:c,presenceAffectsLayout:d,mode:h,anchorX:y,root:g})=>{const m=uc(Nb),v=G.useId();let b=!0,A=G.useMemo(()=>(b=!1,{id:v,initial:l,isPresent:u,custom:c,onExitComplete:j=>{m.set(j,!0);for(const U of m.values())if(!U)return;r&&r()},register:j=>(m.set(j,!1),()=>m.delete(j))}),[u,m,r]);return d&&b&&(A={...A}),G.useMemo(()=>{m.forEach((j,U)=>m.set(U,!1))},[u]),G.useEffect(()=>{!u&&!m.size&&r&&r()},[u]),h==="popLayout"&&(i=R.jsx(Ob,{isPresent:u,anchorX:y,root:g,children:i})),R.jsx(Ws.Provider,{value:A,children:i})};function Nb(){return new Map}function Jy(i=!0){const l=G.useContext(Ws);if(l===null)return[!0,null];const{isPresent:u,onExitComplete:r,register:c}=l,d=G.useId();G.useEffect(()=>{if(i)return c(d)},[i]);const h=G.useCallback(()=>i&&r&&r(d),[d,r,i]);return!u&&r?[!1,h]:[!0]}const qs=i=>i.key||"";function op(i){const l=[];return G.Children.forEach(i,u=>{G.isValidElement(u)&&l.push(u)}),l}const Vb=({children:i,custom:l,initial:u=!0,onExitComplete:r,presenceAffectsLayout:c=!0,mode:d="sync",propagate:h=!1,anchorX:y="left",root:g})=>{const[m,v]=Jy(h),b=G.useMemo(()=>op(i),[i]),A=h&&!m?[]:b.map(qs),j=G.useRef(!0),U=G.useRef(b),q=uc(()=>new Map),[Q,Y]=G.useState(b),[Z,H]=G.useState(b);ay(()=>{j.current=!1,U.current=b;for(let W=0;W<Z.length;W++){const nt=qs(Z[W]);A.includes(nt)?q.delete(nt):q.get(nt)!==!0&&q.set(nt,!1)}},[Z,A.length,A.join("-")]);const et=[];if(b!==Q){let W=[...b];for(let nt=0;nt<Z.length;nt++){const P=Z[nt],yt=qs(P);A.includes(yt)||(W.splice(nt,0,P),et.push(P))}return d==="wait"&&et.length&&(W=et),H(op(W)),Y(b),null}const{forceRender:L}=G.useContext(sc);return R.jsx(R.Fragment,{children:Z.map(W=>{const nt=qs(W),P=h&&!m?!1:b===Z||A.includes(nt),yt=()=>{if(q.has(nt))q.set(nt,!0);else return;let Ct=!0;q.forEach(Xt=>{Xt||(Ct=!1)}),Ct&&(L?.(),H(U.current),h&&v?.(),r&&r())};return R.jsx(Cb,{isPresent:P,initial:!j.current||u?void 0:!1,custom:l,presenceAffectsLayout:c,mode:d,root:g,onExitComplete:P?void 0:yt,anchorX:y,children:W},nt)})})},Py=G.createContext({strict:!1}),cp={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"]},ni={};for(const i in cp)ni[i]={isEnabled:l=>cp[i].some(u=>!!l[u])};function jb(i){for(const l in i)ni[l]={...ni[l],...i[l]}}const zb=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","ignoreStrict","viewport"]);function Ps(i){return i.startsWith("while")||i.startsWith("drag")&&i!=="draggable"||i.startsWith("layout")||i.startsWith("onTap")||i.startsWith("onPan")||i.startsWith("onLayout")||zb.has(i)}let Fy=i=>!Ps(i);function wb(i){typeof i=="function"&&(Fy=l=>l.startsWith("on")?!Ps(l):i(l))}try{wb(require("@emotion/is-prop-valid").default)}catch{}function _b(i,l,u){const r={};for(const c in i)c==="values"&&typeof i.values=="object"||(Fy(c)||u===!0&&Ps(c)||!l&&!Ps(c)||i.draggable&&c.startsWith("onDrag"))&&(r[c]=i[c]);return r}const $s=G.createContext({});function Is(i){return i!==null&&typeof i=="object"&&typeof i.start=="function"}function pl(i){return typeof i=="string"||Array.isArray(i)}const Vc=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],jc=["initial",...Vc
vendor: 7,159 bytes, line 103
103];function tu(i){return Is(i.animate)||jc.some(l=>pl(i[l]))}function Wy(i){return!!(tu(i)||i.variants)}function Ub(i,l){if(tu(i)){const{initial:u,animate:r}=i;return{initial:u===!1||pl(u)?u:void 0,animate:pl(r)?r:void 0}}return i.inherit!==!1?l:{}}function Bb(i){const{initial:l,animate:u}=Ub(i,G.useContext($s));return G.useMemo(()=>({initial:l,animate:u}),[fp(l),fp(u)])}function fp(i){return Array.isArray(i)?i.join(" "):i}const yl={};function Lb(i){for(const l in i)yl[l]=i[l],yc(l)&&(yl[l].isCSSVariable=!0)}function $y(i,{layout:l,layoutId:u}){return li.has(i)||i.startsWith("origin")||(l||u!==void 0)&&(!!yl[i]||i==="opacity")}const Hb={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},qb=ii.length;function Yb(i,l,u){let r="",c=!0;for(let d=0;d<qb;d++){const h=ii[d],y=i[h];if(y===void 0)continue;let g=!0;if(typeof y=="number"?g=y===(h.startsWith("scale")?1:0):g=parseFloat(y)===0,!g||u){const m=Gy(y,Rc[h]);if(!g){c=!1;const v=Hb[h]||h;r+=`${v}(${m}) `}u&&(l[h]=m)}}return r=r.trim(),u?r=u(l,c?"":r):c&&(r="none"),r}function zc(i,l,u){const{style:r,vars:c,transformOrigin:d}=i;let h=!1,y=!1;for(const g in l){const m=l[g];if(li.has(g)){h=!0;continue}else if(yc(g)){c[g]=m;continue}else{const v=Gy(m,Rc[g]);g.startsWith("origin")?(y=!0,d[g]=v):r[g]=v}}if(l.transform||(h||u?r.transform=Yb(l,i.transform,u):r.transform&&(r.transform="none")),y){const{originX:g="50%",originY:m="50%",originZ:v=0}=d;r.transformOrigin=`${g} ${m} ${v}`}}const wc=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Iy(i,l,u){for(const r in l)!ee(l[r])&&!$y(r,u)&&(i[r]=l[r])}function Gb({transformTemplate:i},l){return G.useMemo(()=>{const u=wc();return zc(u,l,i),Object.assign({},u.vars,u.style)},[l])}function Xb(i,l){const u=i.style||{},r={};return Iy(r,u,i),Object.assign(r,Gb(i,l)),r}function Qb(i,l){const u={},r=Xb(i,l);return i.drag&&i.dragListener!==!1&&(u.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=i.drag===!0?"none":`pan-${i.drag==="x"?"y":"x"}`),i.tabIndex===void 0&&(i.onTap||i.onTapStart||i.whileTap)&&(u.tabIndex=0),u.style=r,u}const Zb={offset:"stroke-dashoffset",array:"stroke-dasharray"},Kb={offset:"strokeDashoffset",array:"strokeDasharray"};function kb(i,l,u=1,r=0,c=!0){i.pathLength=1;const d=c?Zb:Kb;i[d.offset]=it.transform(-r);const h=it.transform(l),y=it.transform(u);i[d.array]=`${h} ${y}`}function tg(i,{attrX:l,attrY:u,attrScale:r,pathLength:c,pathSpacing:d=1,pathOffset:h=0,...y},g,m,v){if(zc(i,y,m),g){i.style.viewBox&&(i.attrs.viewBox=i.style.viewBox);return}i.attrs=i.style,i.style={};const{attrs:b,style:A}=i;b.transform&&(A.transform=b.transform,delete b.transform),(A.transform||b.transformOrigin)&&(A.transformOrigin=b.transformOrigin??"50% 50%",delete b.transformOrigin),A.transform&&(A.transformBox=v?.transformBox??"fill-box",delete b.transformBox),l!==void 0&&(b.x=l),u!==void 0&&(b.y=u),r!==void 0&&(b.scale=r),c!==void 0&&kb(b,c,d,h,!1)}const eg=()=>({...wc(),attrs:{}}),ng=i=>typeof i=="string"&&i.toLowerCase()==="svg";function Jb(i,l,u,r){const c=G.useMemo(()=>{const d=eg();return tg(d,l,ng(r),i.transformTemplate,i.style),{...d.attrs,style:{...d.style}}},[l]);if(i.style){const d={};Iy(d,i.style,i),c.style={...d,...c.style}}return c}const Pb=["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 _c(i){return typeof i!="string"||i.includes("-")?!1:!!(Pb.indexOf(i)>-1||/[A-Z]/u.test(i))}function Fb(i,l,u,{latestValues:r},c,d=!1){const y=(_c(i)?Jb:Qb)(l,r,c,i),g=_b(l,typeof i=="string",d),m=i!==G.Fragment?{...g,...y,ref:u}:{},{children:v}=l,b=G.useMemo(()=>ee(v)?v.get():v,[v]);return G.createElement(i,{...m,children:b})}function hp(i){const l=[{},{}];return i?.values.forEach((u,r)=>{l[0][r]=u.get(),l[1][r]=u.getVelocity()}),l}function Uc(i,l,u,r){if(typeof l=="function"){const[c,d]=hp(r);l=l(u!==void 0?u:i.custom,c,d)}if(typeof l=="string"&&(l=i.variants&&i.variants[l]),typeof l=="function"){const[c,d]=hp(r);l=l(u!==void 0?u:i.custom,c,d)}return l}function Qs(i){return ee(i)?i.get():i}function Wb({scrapeMotionValuesFromProps:i,createRenderState:l},u,r,c){return{latestValues:$b(u,r,c,i),renderState:l()}}function $b(i,l,u,r){const c={},d=r(i,{});for(const A in d)c[A]=Qs(d[A]);let{initial:h,animate:y}=i;const g=tu(i),m=Wy(i);l&&m&&!g&&i.inherit!==!1&&(h===void 0&&(h=l.initial),y===void 0&&(y=l.animate));let v=u?u.initial===!1:!1;v=v||h===!1;const b=v?y:h;if(b&&typeof b!="boolean"&&!Is(b)){const A=Array.isArray(b)?b:[b];for(let j=0;j<A.length;j++){const U=Uc(i,A[j]);if(U){const{transitionEnd:q,transition:Q,...Y}=U;for(const Z in Y){let H=Y[Z];if(Array.isArray(H)){const et=v?H.length-1:0;H=H[et]}H!==null&&(c[Z]=H)}for(const Z in q)c[Z]=q[Z]}}}return c}const ag=i=>(l,u)=>{const r=G.useContext($s),c=G.useContext(Ws),d=()=>Wb(i,l,r,c);return u?d():uc(d)};function Bc(i,l,u){const{style:r}=i,c={};for(const d in r)(ee(r[d])||l.style&&ee(l.style[d])||$y(d,i)||u?.getValue(d)?.liveStyle!==void 0)&&(c[d]=r[d]);return c}const Ib=ag({scrapeMotionValuesFromProps:Bc,createRenderState:wc});function ig(i,l,u){const r=Bc(i,l,u);for(const c in i)if(ee(i[c])||ee(l[c])){const d=ii.indexOf(c)!==-1?"attr"+c.charAt(0).toUpperCase()+c.substring(1):c;r[d]=i[c]}return r}const tS=ag({scrapeMotionValuesFromProps:ig,createRenderState:eg}),eS=Symbol.for("motionComponentSymbol");function Fa(i){return i&&typeof i=="object"&&Object.prototype.hasOwnProperty.call(i,"current")}function nS(i,l,u){return G.useCallback(r=>{r&&i.onMount&&i.onMount(r),l&&(r?l.mount(r):l.unmount()),u&&(typeof u=="function"?u(r):Fa(u)&&(u.current=r))},[l])}const Lc=i=>i.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),aS="framerAppearId",lg="data-"+Lc(aS),sg=G.createContext({});function iS(i,l,u,r,c){const{visualElement:d}=G.useContext($s),h=G.useContext(Py),y=G.useContext(Ws),g=G.useContext(Nc).reducedMotion,m=G.useRef(null);r=r||h.renderer,!m.current&&r&&(m.current=r(i,{visualState:l,parent:d,props:u,presenceContext:y,blockInitialAnimation:y?y.initial===!1:!1,reducedMotionConfig:g}));const v=m.current,b=G.useContext(sg);v&&!v.projection&&c&&(v.type==="html"||v.type==="svg")&&lS(m.current,u,c,b);const A=G.useRef(!1);G.useInsertionEffect(()=>{v&&A.current&&v.update(u,y)});const j=u[lg],U=G.useRef(!!j&&!window.MotionHandoffIsComplete?.(j)&&window.MotionHasOptimisedAnimation?.(j));return ay(()=>{v&&(A.current=!0,window.MotionIsMounted=!0,v.updateFeatures(),v.scheduleRenderMicrotask(),U.current&&v.animationState&&v.animationState.animateChanges())}),G.useEffect(()=>{v&&(!U.current&&v.animationState&&v.animationState.animateChanges(),U.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(j)}),U.current=!1),v.enteringChildren=void 0)}),v}function lS(i,l,u,r){const{layoutId:c,layout:d,drag:h,dragConstraints:y,layoutScroll:g,layoutRoot:m,layoutCrossfade:v}=l;i.projection=new u(i.latestValues,l["data-framer-portal-id"]?void 0:ug(i.parent)),i.projection.setOptions({layoutId:c,layout:d,alwaysMeasureLayout:!!h||y&&Fa(y),visualElement:i,animationType:typeof d=="str
103ing"?d:"both",initialPromotionConfig:r,crossfade:v,layoutScroll:g,layoutRoot:m})}function ug(i){if(i)return i.options.allowProjection!==!1?i.projection:ug(i.parent)}function Co(i,{forwardMotionProps:l=!1}={},u,r){u&&jb(u);const c=_c(i)?tS:Ib;function d(y,g){let m;const v={...G.useContext(Nc),...y,layoutId:sS(y)},{isStatic:b}=v,A=Bb(y),j=c(y,b);if(!b&&rc){uS();const U=rS(v);m=U.MeasureLayout,A.visualElement=iS(i,j,v,r,U.ProjectionNode)}return R.jsxs($s.Provider,{value:A,children:[m&&A.visualElement?R.jsx(m,{visualElement:A.visualElement,...v}):null,Fb(i,y,nS(j,A.visualElement,g),j,b,l)]})}d.displayName=`motion.${typeof i=="string"?i:`create(${i.displayName??i.name??""})`}`;const h=G.forwardRef(d);return h[eS]=i,h}function sS({layoutId:i}){const l=G.useContext(sc).id;return l&&i!==void 0?l+"-"+i:i}function uS(i,l){G.useContext(Py).strict}function rS(i){const{drag:l,layout:u}=ni;if(!l&&!u)return{};const r={...l,...u};return{MeasureLayout:l?.isEnabled(i)||u?.isEnabled(i)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function oS(i,l){if(typeof Proxy>"u")return Co;const u=new Map,r=(d,h)=>Co(d,h,i,l),c=(d,h)=>r(d,h);return new Proxy(c,{get:(d,h)=>h==="create"?r:(u.has(h)||u.set(h,Co(h,void 0,i,l)),u.get(h))})}function rg({top:i,left:l,right:u,bottom:r}){return{x:{min:l,max:u},y:{min:i,max:r}}}function cS({x:i,y:l}){return{top:l.min,right:i.max,bottom:l.max,left:i.min}}function fS(i,l){if(!l)return i;const u=l({x:i.left,y:i.top}),r=l({x:i.right,y:i.bottom});return{top:u.y,left:u.x,bottom:r.y,right:r.x}}function No(i){return i===void 0||i===1}function Wo({scale:i,scaleX:l,scaleY:u}){return!No(i)||!No(l)||!No(u)}function la(i){return Wo(i)||og(i)||i.z||i.rotate||i.rotateX||i.rotateY||i.skewX||i.skewY}function og(i){return dp(i.x)||dp(i.y)}function dp(i){return i&&i!=="0%"}function Fs(i,l,u){const r=i-u,c=l*r;return u+c}function mp(i,l,u,r,c){return c!==void 0&&(i=Fs(i,c,r)),Fs(i,u,r)+l}function $o(i,l=0,u=1,r,c){i.min=mp(i.min,l,u,r,c),i.max=mp(i.max,l,u,r,c)}function cg(i,{x:l,y:u}){$o(i.x,l.translate,l.scale,l.originPoint),$o(i.y,u.translate,u.scale,u.originPoint)}const pp=.999999999999,yp=1.0000000000001;function hS(i,l,u,r=!1){const c=u.length;if(!c)return;l.x=l.y=1;let d,h;for(let y=0;y<c;y++){d=u[y],h=d.projectionDelta;const{visualElement:g}=d.options;g&&g.props.style&&g.props.style.display==="contents"||(r&&d.options.layoutScroll&&d.scroll&&d!==d.root&&$a(i,{x:-d.scroll.offset.x,y:-d.scroll.offset.y}),h&&(l.x*=h.x.scale,l.y*=h.y.scale,cg(i,h)),r&&la(d.latestValues)&&$a(i,d.latestValues))}l.x<yp&&l.x>pp&&(l.x=1),l.y<yp&&l.y>pp&&(l.y=1)}function Wa(i,l){i.min=i.min+l,i.max=i.max+l}function gp(i,l,u,r,c=.5){const d=Ot(i.min,i.max,c);$o(i,l,u,d,r)}function $a(i,l){gp(i.x,l.x,l.scaleX,l.scale,l.originX),gp(i.y,l.y,l.scaleY,l.scale,l.originY)}function fg(i,l){return rg(fS(i.getBoundingClientRect(),l))}function dS(i,l,u){const r=fg(i,u),{scroll:c}=l;return c&&(Wa(r.x,c.offset.x),Wa(r.y,c.offset.y)),r}const vp=()=>({translate:0,scale:1,origin:0,originPoint:0}),Ia=()=>({x:vp(),y:vp()}),xp=()=>({min:0,max:0}),_t=()=>({x:xp(),y:xp()}),Io={current:null},hg={current:!1};function mS(){if(hg.current=!0,!!rc)if(window.matchMedia){const i=window.matchMedia("(prefers-reduced-motion)"),l=()=>Io.current=i.matches;i.addEventListener("change",l),l()}else Io.current=!1}const pS=new WeakMap;function yS(i,l,u){for(const r in l){const c=l[r],d=u[r];if(ee(c))i.addValue(r,c);else if(ee(d))i.addValue(r,ei(c,{owner:i}));else if(d!==c)if(i.hasValue(r)){const h=i.getValue(r);h.liveStyle===!0?h.jump(c):h.hasAnimated||h.set(c)}else{const h=i.getStaticValue(r);i.addValue(r,ei(h!==void 0?h:c,{owner:i}))}}for(const r in u)l[r]===void 0&&i.removeValue(r);return l}const bp=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class gS{scrapeMotionValuesFromProps(l,u,r){return{}}constructor({parent:l,props:u,presenceContext:r,reducedMotionConfig:c,blockInitialAnimation:d,visualState:h},y={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Mc,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},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=oe.now();this.renderScheduledAt<A&&(this.renderScheduledAt=A,Dt.render(this.render,!1,!0))};
vendor: 31,035 bytes, line 103
103const{latestValues:g,renderState:m}=h;this.latestValues=g,this.baseTarget={...g},this.initialValues=u.initial?{...g}:{},this.renderState=m,this.parent=l,this.props=u,this.presenceContext=r,this.depth=l?l.depth+1:0,this.reducedMotionConfig=c,this.options=y,this.blockInitialAnimation=!!d,this.isControllingVariants=tu(u),this.isVariantNode=Wy(u),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(l&&l.current);const{willChange:v,...b}=this.scrapeMotionValuesFromProps(u,{},this);for(const A in b){const j=b[A];g[A]!==void 0&&ee(j)&&j.set(g[A])}}mount(l){this.current=l,pS.set(l,this),this.projection&&!this.projection.instance&&this.projection.mount(l),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((u,r)=>this.bindToMotionValue(r,u)),hg.current||mS(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Io.current,this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),Bn(this.notifyUpdate),Bn(this.render),this.valueSubscriptions.forEach(l=>l()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const l in this.events)this.events[l].clear();for(const l in this.features){const u=this.features[l];u&&(u.unmount(),u.isMounted=!1)}this.current=null}addChild(l){this.children.add(l),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(l)}removeChild(l){this.children.delete(l),this.enteringChildren&&this.enteringChildren.delete(l)}bindToMotionValue(l,u){this.valueSubscriptions.has(l)&&this.valueSubscriptions.get(l)();const r=li.has(l);r&&this.onBindTransform&&this.onBindTransform();const c=u.on("change",h=>{this.latestValues[l]=h,this.props.onUpdate&&Dt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let d;window.MotionCheckAppearSync&&(d=window.MotionCheckAppearSync(this,l,u)),this.valueSubscriptions.set(l,()=>{c(),d&&d(),u.owner&&u.stop()})}sortNodePosition(l){return!this.current||!this.sortInstanceNodePosition||this.type!==l.type?0:this.sortInstanceNodePosition(this.current,l.current)}updateFeatures(){let l="animation";for(l in ni){const u=ni[l];if(!u)continue;const{isEnabled:r,Feature:c}=u;if(!this.features[l]&&c&&r(this.props)&&(this.features[l]=new c(this)),this.features[l]){const d=this.features[l];d.isMounted?d.update():(d.mount(),d.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):_t()}getStaticValue(l){return this.latestValues[l]}setStaticValue(l,u){this.latestValues[l]=u}update(l,u){(l.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=l,this.prevPresenceContext=this.presenceContext,this.presenceContext=u;for(let r=0;r<bp.length;r++){const c=bp[r];this.propEventSubscriptions[c]&&(this.propEventSubscriptions[c](),delete this.propEventSubscriptions[c]);const d="on"+c,h=l[d];h&&(this.propEventSubscriptions[c]=this.on(c,h))}this.prevMotionValues=yS(this,this.scrapeMotionValuesFromProps(l,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(l){return this.props.variants?this.props.variants[l]: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(l){const u=this.getClosestVariantNode();if(u)return u.variantChildren&&u.variantChildren.add(l),()=>u.variantChildren.delete(l)}addValue(l,u){const r=this.values.get(l);u!==r&&(r&&this.removeValue(l),this.bindToMotionValue(l,u),this.values.set(l,u),this.latestValues[l]=u.get())}removeValue(l){this.values.delete(l);const u=this.valueSubscriptions.get(l);u&&(u(),this.valueSubscriptions.delete(l)),delete this.latestValues[l],this.removeValueFromRenderState(l,this.renderState)}hasValue(l){return this.values.has(l)}getValue(l,u){if(this.props.values&&this.props.values[l])return this.props.values[l];let r=this.values.get(l);return r===void 0&&u!==void 0&&(r=ei(u===null?void 0:u,{owner:this}),this.addValue(l,r)),r}readValue(l,u){let r=this.latestValues[l]!==void 0||!this.current?this.latestValues[l]:this.getBaseTargetFromProps(this.props,l)??this.readValueFromInstance(this.current,l,this.options);return r!=null&&(typeof r=="string"&&(iy(r)||sy(r))?r=parseFloat(r):!Db(r)&&Ln.test(u)&&(r=Yy(l,u)),this.setBaseTarget(l,ee(r)?r.get():r)),ee(r)?r.get():r}setBaseTarget(l,u){this.baseTarget[l]=u}getBaseTarget(l){const{initial:u}=this.props;let r;if(typeof u=="string"||typeof u=="object"){const d=Uc(this.props,u,this.presenceContext?.custom);d&&(r=d[l])}if(u&&r!==void 0)return r;const c=this.getBaseTargetFromProps(this.props,l);return c!==void 0&&!ee(c)?c:this.initialValues[l]!==void 0&&r===void 0?void 0:this.baseTarget[l]}on(l,u){return this.events[l]||(this.events[l]=new dc),this.events[l].add(u)}notify(l,...u){this.events[l]&&this.events[l].notify(...u)}scheduleRenderMicrotask(){Oc.render(this.render)}}class dg extends gS{constructor(){super(...arguments),this.KeyframeResolver=mb}sortInstanceNodePosition(l,u){return l.compareDocumentPosition(u)&2?1:-1}getBaseTargetFromProps(l,u){return l.style?l.style[u]:void 0}removeValueFromRenderState(l,{vars:u,style:r}){delete u[l],delete r[l]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:l}=this.props;ee(l)&&(this.childSubscription=l.on("change",u=>{this.current&&(this.current.textContent=`${u}`)}))}}function mg(i,{style:l,vars:u},r,c){const d=i.style;let h;for(h in l)d[h]=l[h];c?.applyProjectionStyles(d,r);for(h in u)d.setProperty(h,u[h])}function vS(i){return window.getComputedStyle(i)}class xS extends dg{constructor(){super(...arguments),this.type="html",this.renderInstance=mg}readValueFromInstance(l,u){if(li.has(u))return this.projection?.isProjecting?Qo(u):zx(l,u);{const r=vS(l),c=(yc(u)?r.getPropertyValue(u):r[u])||0;return typeof c=="string"?c.trim():c}}measureInstanceViewportBox(l,{transformPagePoint:u}){return fg(l,u)}build(l,u,r){zc(l,u,r.transformTemplate)}scrapeMotionValuesFromProps(l,u,r){return Bc(l,u,r)}}const pg=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"]);function bS(i,l,u,r){mg(i,l,void 0,r);for(const c in l.attrs)i.setAttribute(pg.has(c)?c:Lc(c),l.attrs[c])}class SS extends dg{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=_t}getBaseTargetFromProps(l,u){return l[u]}readValueFromInstance(l,u){if(li.has(u)){const r=qy(u);return r&&r.default||0}return u=pg.has(u)?u:Lc(u),l.getAttribute(u)}scrapeMotionValuesFromProps(l,u,r){return ig(l,u,r)}build(l,u,r){tg(l,u,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(l,u,r,c){bS(l,u,r,c)}mount(l){this.isSVGTag=ng(l.tagName),super.mount(l)}}const TS=(i,l)=>_c(i)?new SS(l):new xS(l,{allowProjection:i!==G.Fragment});function ti(i,l,u){const r=i.getProps();return Uc(r,l,u!==void 0?u:r.custom,i)}const tc=i=>Array.isArray(i);function AS(i,l,u){i.hasValue(l)?i.getValue(l).set(u):i.addValue(l,ei(u))}function ES(i){return tc(i)?i[i.length-1]||0:i}function MS(i,l){const u=ti(i,l);let{transitionEnd:r={},transition:c={},...d}=u||{};d={...d,...r};for(const h in d){const y=ES(d[h]);AS(i,h,y)}}function DS(i){return!!(ee(i)&&i.add)}function ec(i,l){const u=i.getValue("willChange");if(DS(u))return u.add(l);if(!u&&cn.WillChange){const r=new cn.WillChange("auto");i.addValue("willChange",r),r.add(l)}}function yg(i){return i.props[lg]}const RS=i=>i!==null;function OS(i,{repeat:l,repeatType:u="loop"},r){const c=i.filter(RS),d=l&&u!=="loop"&&l%2===1?0:c.length-1;return c[d]}const CS={type:"spring",stiffness:500,damping:25,restSpeed:10},NS=i=>({type:"spring",stiffness:550,damping:i===0?2*Math.sqrt(550):30,restSpeed:10}),VS={type:"keyframes",duration:.8},jS={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},zS=(i,{keyframes:l})=>l.length>2?VS:li.has(i)?i.startsWith("scale")?NS(l[1]):CS:jS;function wS({when:i,delay:l,delayChildren:u,staggerChildren:r,staggerDirection:c,repeat:d,repeatType:h,repeatDelay:y,from:g,elapsed:m,...v}){return!!Object.keys(v).length}const Hc=(i,l,u,r={},c,d)=>h=>{const y=Dc(r,i)||{},g=y.delay||r.delay||0;let{elapsed:m=0}=r;m=m-Xe(g);const v={keyframes:Array.isArray(u)?u:[null,u],ease:"easeOut",velocity:l.getVelocity(),...y,delay:-m,onUpdate:A=>{l.set(A),y.onUpdate&&y.onUpdate(A)},onComplete:()=>{h(),y.onComplete&&y.onComplete()},name:i,motionValue:l,element:d?void 0:c};wS(y)||Object.assign(v,zS(i,v)),v.duration&&(v.duration=Xe(v.duration)),v.repeatDelay&&(v.repeatDelay=Xe(v.repeatDelay)),v.from!==void 0&&(v.keyframes[0]=v.from);let b=!1;if((v.type===!1||v.duration===0&&!v.repeatDelay)&&(Po(v),v.delay===0&&(b=!0)),(cn.instantAnimations||cn.skipAnimations)&&(b=!0,Po(v),v.delay=0),v.allowFlatten=!y.type&&!y.ease,b&&!d&&l.get()!==void 0){const A=OS(v.keyframes,y);if(A!==void 0){Dt.update(()=>{v.onUpdate(A),v.onComplete()});return}}return y.isSync?new Ec(v):new nb(v)};function _S({protectedKeys:i,needsAnimating:l},u){const r=i.hasOwnProperty(u)&&l[u]!==!0;return l[u]=!1,r}function gg(i,l,{delay:u=0,transitionOverride:r,type:c}={}){let{transition:d=i.getDefaultTransition(),transitionEnd:h,...y}=l;r&&(d=r);const g=[],m=c&&i.animationState&&i.animationState.getState()[c];for(const v in y){const b=i.getValue(v,i.latestValues[v]??null),A=y[v];if(A===void 0||m&&_S(m,v))continue;const j={delay:u,...Dc(d||{},v)},U=b.get();if(U!==void 0&&!b.isAnimating&&!Array.isArray(A)&&A===U&&!j.velocity)continue;let q=!1;if(window.MotionHandoffAnimation){const Y=yg(i);if(Y){const Z=window.MotionHandoffAnimation(Y,v,Dt);Z!==null&&(j.startTime=Z,q=!0)}}ec(i,v),b.start(Hc(v,b,A,i.shouldReduceMotion&&By.has(v)?{type:!1}:j,i,q));const Q=b.animation;Q&&g.push(Q)}return h&&Promise.all(g).then(()=>{Dt.update(()=>{h&&MS(i,h)})}),g}function vg(i,l,u,r=0,c=1){const d=Array.from(i).sort((m,v)=>m.sortNodePosition(v)).indexOf(l),h=i.size,y=(h-1)*r;return typeof u=="function"?u(d,h):c===1?d*r:y-d*r}function nc(i,l,u={}){const r=ti(i,l,u.type==="exit"?i.presenceContext?.custom:void 0);let{transition:c=i.getDefaultTransition()||{}}=r||{};u.transitionOverride&&(c=u.transitionOverride);const d=r?()=>Promise.all(gg(i,r,u)):()=>Promise.resolve(),h=i.variantChildren&&i.variantChildren.size?(g=0)=>{const{delayChildren:m=0,staggerChildren:v,staggerDirection:b}=c;return US(i,l,g,m,v,b,u)}:()=>Promise.resolve(),{when:y}=c;if(y){const[g,m]=y==="beforeChildren"?[d,h]:[h,d];return g().then(()=>m())}else return Promise.all([d(),h(u.delay)])}function US(i,l,u=0,r=0,c=0,d=1,h){const y=[];for(const g of i.variantChildren)g.notify("AnimationStart",l),y.push(nc(g,l,{...h,delay:u+(typeof r=="function"?0:r)+vg(i.variantChildren,g,r,c,d)}).then(()=>g.notify("AnimationComplete",l)));return Promise.all(y)}function BS(i,l,u={}){i.notify("AnimationStart",l);let r;if(Array.isArray(l)){const c=l.map(d=>nc(i,d,u));r=Promise.all(c)}else if(typeof l=="string")r=nc(i,l,u);else{const c=typeof l=="function"?ti(i,l,u.custom):l;r=Promise.all(gg(i,c,u))}return r.then(()=>{i.notify("AnimationComplete",l)})}function xg(i,l){if(!Array.isArray(l))return!1;const u=l.length;if(u!==i.length)return!1;for(let r=0;r<u;r++)if(l[r]!==i[r])return!1;return!0}const LS=jc.length;function bg(i){if(!i)return;if(!i.isControllingVariants){const u=i.parent?bg(i.parent)||{}:{};return i.props.initial!==void 0&&(u.initial=i.props.initial),u}const l={};for(let u=0;u<LS;u++){const r=jc[u],c=i.props[r];(pl(c)||c===!1)&&(l[r]=c)}return l}const HS=[...Vc].reverse(),qS=Vc.length;function YS(i){return l=>Promise.all(l.map(({animation:u,options:r})=>BS(i,u,r)))}function GS(i){let l=YS(i),u=Sp(),r=!0;const c=g=>(m,v)=>{const b=ti(i,v,g==="exit"?i.presenceContext?.custom:void 0);if(b){const{transition:A,transitionEnd:j,...U}=b;m={...m,...U,...j}}return m};function d(g){l=g(i)}function h(g){const{props:m}=i,v=bg(i.parent)||{},b=[],A=new Set;let j={},U=1/0;for(let Q=0;Q<qS;Q++){const Y=HS[Q],Z=u[Y],H=m[Y]!==void 0?m[Y]:v[Y],et=pl(H),L=Y===g?Z.isActive:null;L===!1&&(U=Q);let W=H===v[Y]&&H!==m[Y]&&et;if(W&&r&&i.manuallyAnimateOnMount&&(W=!1),Z.protectedKeys={...j},!Z.isActive&&L===null||!H&&!Z.prevProp||Is(H)||typeof H=="boolean")continue;const nt=XS(Z.prevProp,H);let P=nt||Y===g&&Z.isActive&&!W&&et||Q>U&&et,yt=!1;const Ct=Array.isArray(H)?H:[H];let Xt=Ct.reduce(c(Y),{});L===!1&&(Xt={});const{prevResolvedValues:Ht={}}=Z,Ke={...Ht,...Xt},Ue=B=>{P=!0,A.has(B)&&(yt=!0,A.delete(B)),Z.needsAnimating[B]=!0;const J=i.getValue(B);J&&(J.liveStyle=!1)};for(const B in Ke){const J=Xt[B],ft=Ht[B];if(j.hasOwnProperty(B))continue;let S=!1;tc(J)&&tc(ft)?S=!xg(J,ft):S=J!==ft,S?J!=null?Ue(B):A.add(B):J!==void 0&&A.has(B)?Ue(B):Z.protectedKeys[B]=!0}Z.prevProp=H,Z.prevResolvedValues=Xt,Z.isActive&&(j={...j,...Xt}),r&&i.blockInitialAnimation&&(P=!1);const qt=W&&nt;P&&(!qt||yt)&&b.push(...Ct.map(B=>{const J={type:Y};if(typeof B=="string"&&r&&!qt&&i.manuallyAnimateOnMount&&i.parent){const{parent:ft}=i,S=ti(ft,B);if(ft.enteringChildren&&S){const{delayChildren:_}=S.transition||{};J.delay=vg(ft.enteringChildren,i,_)}}return{animation:B,options:J}}))}if(A.size){const Q={};if(typeof m.initial!="boolean"){const Y=ti(i,Array.isArray(m.initial)?m.initial[0]:m.initial);Y&&Y.transition&&(Q.transition=Y.transition)}A.forEach(Y=>{const Z=i.getBaseTarget(Y),H=i.getValue(Y);H&&(H.liveStyle=!0),Q[Y]=Z??null}),b.push({animation:Q})}let q=!!b.length;return r&&(m.initial===!1||m.initial===m.animate)&&!i.manuallyAnimateOnMount&&(q=!1),r=!1,q?l(b):Promise.resolve()}function y(g,m){if(u[g].isActive===m)return Promise.resolve();i.variantChildren?.forEach(b=>b.animationState?.setActive(g,m)),u[g].isActive=m;const v=h(g);for(const b in u)u[b].protectedKeys={};return v}return{animateChanges:h,setActive:y,setAnimateFunction:d,getState:()=>u,reset:()=>{u=Sp(),r=!0}}}function XS(i,l){return typeof l=="string"?l!==i:Array.isArray(l)?!xg(l,i):!1}function ia(i=!1){return{isActive:i,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Sp(){return{animate:ia(!0),whileInView:ia(),whileHover:ia(),whileTap:ia(),whileDrag:ia(),whileFocus:ia(),exit:ia()}}class Hn{constructor(l){this.isMounted=!1,this.node=l}update(){}}class QS extends Hn{constructor(l){super(l),l.animationState||(l.animationState=GS(l))}updateAnimationControlsSubscription(){const{animate:l}=this.node.getProps();Is(l)&&(this.unmountControls=l.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:l}=this.node.getProps(),{animate:u}=this.node.prevProps||{};l!==u&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let ZS=0;class KS extends Hn{constructor(){super(...arguments),this.id=ZS++}update(){if(!this.node.presenceContext)return;const{isPresent:l,onExitComplete:u}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||l===r)return;const c=this.node.animationState.setActive("exit",!l);u&&!l&&c.then(()=>{u(this.id)})}mount(){const{register:l,onExitComplete:u}=this.node.presenceContext||{};u&&u(this.id),l&&(this.unmount=l(this.id))}unmount(){}}const kS={animation:{Feature:QS},exit:{Feature:KS}};function gl(i,l,u,r={passive:!0}){return i.addEventListener(l,u,r),()=>i.removeEventListener(l,u)}function Tl(i){return{point:{x:i.pageX,y:i.pageY}}}const JS=i=>l=>Cc(l)&&i(l,Tl(l));function ol(i,l,u,r){return gl(i,l,JS(u),r)}const Sg=1e-4,PS=1-Sg,FS=1+Sg,Tg=.01,WS=0-Tg,$S=0+Tg;function ae(i){return i.max-i.min}function IS(i,l,u){return Math.abs(i-l)<=u}function Tp(i,l,u,r=.5){i.origin=r,i.originPoint=Ot(l.min,l.max,i.origin),i.scale=ae(u)/ae(l),i.translate=Ot(u.min,u.max,i.origin)-i.originPoint,(i.scale>=PS&&i.scale<=FS||isNaN(i.scale))&&(i.scale=1),(i.translate>=WS&&i.translate<=$S||isNaN(i.translate))&&(i.translate=0)}function cl(i,l,u,r){Tp(i.x,l.x,u.x,r?r.originX:void 0),Tp(i.y,l.y,u.y,r?r.originY:void 0)}function Ap(i,l,u){i.min=u.min+l.min,i.max=i.min+ae(l)}function tT(i,l,u){Ap(i.x,l.x,u.x),Ap(i.y,l.y,u.y)}function Ep(i,l,u){i.min=l.min-u.min,i.max=i.min+ae(l)}function fl(i,l,u){Ep(i.x,l.x,u.x),Ep(i.y,l.y,u.y)}function Ne(i){return[i("x"),i("y")]}const Ag=({current:i})=>i?i.ownerDocument.defaultView:null,Mp=(i,l)=>Math.abs(i-l);function eT(i,l){const u=Mp(i.x,l.x),r=Mp(i.y,l.y);return Math.sqrt(u**2+r**2)}class Eg{constructor(l,u,{transformPagePoint:r,contextWindow:c=window,dragSnapToOrigin:d=!1,distanceThreshold:h=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const A=jo(this.lastMoveEventInfo,this.history),j=this.startEvent!==null,U=eT(A.offset,{x:0,y:0})>=this.distanceThreshold;if(!j&&!U)return;const{point:q}=A,{timestamp:Q}=Wt;this.history.push({...q,timestamp:Q});const{onStart:Y,onMove:Z}=this.handlers;j||(Y&&Y(this.lastMoveEvent,A),this.startEvent=this.lastMoveEvent),Z&&Z(this.lastMoveEvent,A)},this.handlePointerMove=(A,j)=>{this.lastMoveEvent=A,this.lastMoveEventInfo=Vo(j,this.transformPagePoint),Dt.update(this.updatePoint,!0)},this.handlePointerUp=(A,j)=>{this.end();const{onEnd:U,onSessionEnd:q,resumeAnimation:Q}=this.handlers;if(this.dragSnapToOrigin&&Q&&Q(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const Y=jo(A.type==="pointercancel"?this.lastMoveEventInfo:Vo(j,this.transformPagePoint),this.history);this.startEvent&&U&&U(A,Y),q&&q(A,Y)},!Cc(l))return;this.dragSnapToOrigin=d,this.handlers=u,this.transformPagePoint=r,this.distanceThreshold=h,this.contextWindow=c||window;const y=Tl(l),g=Vo(y,this.transformPagePoint),{point:m}=g,{timestamp:v}=Wt;this.history=[{...m,timestamp:v}];const{onSessionStart:b}=u;b&&b(l,jo(g,this.history)),this.removeListeners=xl(ol(this.contextWindow,"pointermove",this.handlePointerMove),ol(this.contextWindow,"pointerup",this.handlePointerUp),ol(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(l){this.handlers=l}end(){this.removeListeners&&this.removeListeners(),Bn(this.updatePoint)}}function Vo(i,l){return l?{point:l(i.point)}:i}function Dp(i,l){return{x:i.x-l.x,y:i.y-l.y}}function jo({point:i},l){return{point:i,delta:Dp(i,Mg(l)),offset:Dp(i,nT(l)),velocity:aT(l,.1)}}function nT(i){return i[0]}function Mg(i){return i[i.length-1]}function aT(i,l){if(i.length<2)return{x:0,y:0};let u=i.length-1,r=null;const c=Mg(i);for(;u>=0&&(r=i[u],!(c.timestamp-r.timestamp>Xe(l)));)u--;if(!r)return{x:0,y:0};const d=Qe(c.timestamp-r.timestamp);if(d===0)return{x:0,y:0};const h={x:(c.x-r.x)/d,y:(c.y-r.y)/d};return h.x===1/0&&(h.x=0),h.y===1/0&&(h.y=0),h}function iT(i,{min:l,max:u},r){return l!==void 0&&i<l?i=r?Ot(l,i,r.min):Math.max(i,l):u!==void 0&&i>u&&(i=r?Ot(u,i,r.max):Math.min(i,u)),i}function Rp(i,l,u){return{min:l!==void 0?i.min+l:void 0,max:u!==void 0?i.max+u-(i.max-i.min):void 0}}function lT(i,{top:l,left:u,bottom:r,right:c}){return{x:Rp(i.x,u,c),y:Rp(i.y,l,r)}}function Op(i,l){let u=l.min-i.min,r=l.max-i.max;return l.max-l.min<i.max-i.min&&([u,r]=[r,u]),{min:u,max:r}}function sT(i,l){return{x:Op(i.x,l.x),y:Op(i.y,l.y)}}function uT(i,l){let u=.5;const r=ae(i),c=ae(l);return c>r?u=hl(l.min,l.max-r,i.min):r>c&&(u=hl(i.min,i.max-c,l.min)),on(0,1,u)}function rT(i,l){const u={};return l.min!==void 0&&(u.min=l.min-i.min),l.max!==void 0&&(u.max=l.max-i.min),u}const ac=.35;function oT(i=ac){return i===!1?i=0:i===!0&&(i=ac),{x:Cp(i,"left","right"),y:Cp(i,"top","bottom")}}function Cp(i,l,u){return{min:Np(i,l),max:Np(i,u)}}function Np(i,l){return typeof i=="number"?i:i[l]||0}const cT=new WeakMap;class fT{constructor(l){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=_t(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=l}start(l,{snapToCursor:u=!1,distanceThreshold:r}={}){const{presenceContext:c}=this.visualElement;if(c&&c.isPresent===!1)return;const d=b=>{const{dragSnapToOrigin:A}=this.getProps();A?this.pauseAnimation():this.stopAnimation(),u&&this.snapToCursor(Tl(b).point)},h=(b,A)=>{const{drag:j,dragPropagation:U,onDragStart:q}=this.getProps();if(j&&!U&&(this.openDragLock&&this.openDragLock(),this.openDragLock=vb(j),!this.openDragLock))return;this.latestPointerEvent=b,this.latestPanInfo=A,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Ne(Y=>{let Z=this.getAxisMotionValue(Y).get()||0;if(Ze.test(Z)){const{projection:H}=this.visualElement;if(H&&H.layout){const et=H.layout.layoutBox[Y];et&&(Z=ae(et)*(parseFloat(Z)/100))}}this.originPoint[Y]=Z}),q&&Dt.postRender(()=>q(b,A)),ec(this.visualElement,"transform");const{animationState:Q}=this.visualElement;Q&&Q.setActive("whileDrag",!0)},y=(b,A)=>{this.latestPointerEvent=b,this.latestPanInfo=A;const{dragPropagation:j,dragDirectionLock:U,onDirectionLock:q,onDrag:Q}=this.getProps();if(!j&&!this.openDragLock)return;const{offset:Y}=A;if(U&&this.currentDirection===null){this.currentDirection=hT(Y),this.currentDirection!==null&&q&&q(this.currentDirection);return}this.updateAxis("x",A.point,Y),this.updateAxis("y",A.point,Y),this.visualElement.render(),Q&&Q(b,A)},g=(b,A)=>{this.latestPointerEvent=b,this.latestPanInfo=A,this.stop(b,A),this.latestPointerEvent=null,this.latestPanInfo=null},m=()=>Ne(b=>this.getAnimationState(b)==="paused"&&this.getAxisMotionValue(b).animation?.play()),{dragSnapToOrigin:v}=this.getProps();this.panSession=new Eg(l,{onSessionStart:d,onStart:h,onMove:y,onSessionEnd:g,resumeAnimation:m},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:v,distanceThreshold:r,contextWindow:Ag(this.visualElement)})}stop(l,u){const r=l||this.latestPointerEvent,c=u||this.latestPanInfo,d=this.isDragging;if(this.cancel(),!d||!c||!r)return;const{velocity:h}=c;this.startAnimation(h);const{onDragEnd:y}=this.getProps();y&&Dt.postRender(()=>y(r,c))}cancel(){this.isDragging=!1;const{projection:l,animationState:u}=this.visualElement;l&&(l.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),u&&u.setActive("whileDrag",!1)}updateAxis(l,u,r){const{drag:c}=this.getProps();if(!r||!Ys(l,c,this.currentDirection))return;const d=this.getAxisMotionValue(l);let h=this.originPoint[l]+r[l];this.constraints&&this.constraints[l]&&(h=iT(h,this.constraints[l],this.elastic[l])),d.set(h)}resolveConstraints(){const{dragConstraints:l,dragElastic:u}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,c=this.constraints;l&&Fa(l)?this.constraints||(this.constraints=this.resolveRefConstraints()):l&&r?this.constraints=lT(r.layoutBox,l):this.constraints=!1,this.elastic=oT(u),c!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&Ne(d=>{this.constraints!==!1&&this.getAxisMotionValue(d)&&(this.constraints[d]=rT(r.layoutBox[d],this.constraints[d]))})}resolveRefConstraints(){const{dragConstraints:l,onMeasureDragConstraints:u}=this.getProps();if(!l||!Fa(l))return!1;const r=l.current,{projection:c}=this.visualElement;if(!c||!c.layout)return!1;const d=dS(r,c.root,this.visualElement.getTransformPagePoint());let h=sT(c.layout.layoutBox,d);if(u){const y=u(cS(h));this.hasMutatedConstraints=!!y,y&&(h=rg(y))}return h}startAnimation(l){const{drag:u,dragMomentum:r,dragElastic:c,dragTransition:d,dragSnapToOrigin:h,onDragTransitionEnd:y}=this.getProps(),g=this.constraints||{},m=Ne(v=>{if(!Ys(v,u,this.currentDirection))return;let b=g&&g[v]||{};h&&(b={min:0,max:0});const A=c?200:1e6,j=c?40:1e7,U={type:"inertia",velocity:r?l[v]:0,bounceStiffness:A,bounceDamping:j,timeConstant:750,restDelta:1,restSpeed:10,...d,...b};return this.startAxisValueAnimation(v,U)});return Promise.all(m).then(y)}startAxisValueAnimation(l,u){const r=this.getAxisMotionValue(l);return ec(this.visualElement,l),r.start(Hc(l,r,0,u,this.visualElement,!1))}stopAnimation(){Ne(l=>this.getAxisMotionValue(l).stop())}pauseAnimation(){Ne(l=>this.getAxisMotionValue(l).animation?.pause())}getAnimationState(l){return this.getAxisMotionValue(l).animation?.state}getAxisMotionValue(l){const u=`_drag${l.toUpperCase()}`,r=this.visualElement.getProps(),c=r[u];return c||this.visualElement.getValue(l,(r.initial?r.initial[l]:void 0)||0)}snapToCursor(l){Ne(u=>{const{drag:r}=this.getProps();if(!Ys(u,r,this.currentDirection))return;const{projection:c}=this.visualElement,d=this.getAxisMotionValue(u);if(c&&c.layout){const{min:h,max:y}=c.layout.layoutBox[u];d.set(l[u]-Ot(h,y,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:l,dragConstraints:u}=this.getProps(),{projection:r}=this.visualElement;if(!Fa(u)||!r||!this.constraints)return;this.stopAnimation();const c={x:0,y:0};Ne(h=>{const y=this.getAxisMotionValue(h);if(y&&this.constraints!==!1){const g=y.get();c[h]=uT({min:g,max:g},this.constraints[h])}});const{transformTemplate:d}=this.visualElement.getProps();this.visualElement.current.style.transform=d?d({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Ne(h=>{if(!Ys(h,l,null))return;const y=this.getAxisMotionValue(h),{min:g,max:m}=this.constraints[h];y.set(Ot(g,m,c[h]))})}addListeners(){if(!this.visualElement.current)return;cT.set(this.visualElement,this);const l=this.visualElement.current,u=ol(l,"pointerdown",g=>{const{drag:m,dragListener:v=!0}=this.getProps();m&&v&&this.start(g)}),r=()=>{const{dragConstraints:g}=this.getProps();Fa(g)&&g.current&&(this.constraints=this.resolveRefConstraints())},{projection:c}=this.visualElement,d=c.addEventListener("measure",r);c&&!c.layout&&(c.root&&c.root.updateScroll(),c.updateLayout()),Dt.read(r);const h=gl(window,"resize",()=>this.scalePositionWithinConstraints()),y=c.addEventListener("didUpdate",(({delta:g,hasLayoutChanged:m})=>{this.isDragging&&m&&(Ne(v=>{const b=this.getAxisMotionValue(v);b&&(this.originPoint[v]+=g[v].translate,b.set(b.get()+g[v].translate))}),this.visualElement.render())}));return()=>{h(),u(),d(),y&&y()}}getProps(){const l=this.visualElement.getProps(),{drag:u=!1,dragDirectionLock:r=!1,dragPropagation:c=!1,dragConstraints:d=!1,dragElastic:h=ac,dragMomentum:y=!0}=l;return{...l,drag:u,dragDirectionLock:r,dragPropagation:c,dragConstraints:d,dragElastic:h,dragMomentum:y}}}function Ys(i,l,u){return(l===!0||l===i)&&(u===null||u===i)}function hT(i,l=10){let u=null;return Math.abs(i.y)>l?u="y":Math.abs(i.x)>l&&(u="x"),u}class dT extends Hn{constructor(l){super(l),this.removeGroupControls=Ve,this.removeListeners=Ve,this.controls=new fT(l)}mount(){const{dragControls:l}=this.node.getProps();l&&(this.removeGroupControls=l.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ve}unmount(){this.removeGroupControls(),this.removeListeners()}}const Vp=i=>(l,u)=>{i&&Dt.postRender(()=>i(l,u))};class mT extends Hn{constructor(){super(...arguments),this.removePointerDownListener=Ve}onPointerDown(l){this.session=new Eg(l,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Ag(this.node)})}createPanHandlers(){const{onPanSessionStart:l,onPanStart:u,onPan:r,onPanEnd:c}=this.node.getProps();return{onSessionStart:Vp(l),onStart:Vp(u),onMove:r,onEnd:(d,h)=>{delete this.session,c&&Dt.postRender(()=>c(d,h))}}}mount(){this.removePointerDownListener=ol(this.node.current,"pointerdown",l=>this.onPointerDown(l))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Zs={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function jp(i,l){return l.max===l.min?0:i/(l.max-l.min)*100}const ll={correct:(i,l)=>{if(!l.target)return i;if(typeof i=="string")if(it.test(i))i=parseFloat(i);else return i;const u=jp(i,l.target.x),r=jp(i,l.target.y);return`${u}% ${r}%`}},pT={correct:(i,{treeScale:l,projectionDelta:u})=>{const r=i,c=Ln.parse(i);if(c.length>5)return r;const d=Ln.createTransformer(i),h=typeof c[0]!="number"?1:0,y=u.x.scale*l.x,g=u.y.scale*l.y;c[0+h]/=y,c[1+h]/=g;const m=Ot(y,g,.5);return typeof c[2+h]=="number"&&(c[2+h]/=m),typeof c[3+h]=="number"&&(c[3+h]/=m),d(c)}};let zo=!1;class yT extends G.Component{componentDidMount(){const{visualElement:l,layoutGroup:u,switchLayoutGroup:r,layoutId:c}=this.props,{projection:d}=l;Lb(gT),d&&(u.group&&u.group.add(d),r&&r.register&&c&&r.register(d),zo&&d.root.didUpdate(),d.addEventListener("animationComplete",()=>{this.safeToRemove()}),d.setOptions({...d.options,onExitComplete:()=>this.safeToRemove()})),Zs.hasEverUpdated=!0}getSnapshotBeforeUpdate(l){const{layoutDependency:u,visualElement:r,drag:c,isPresent:d}=this.props,{projection:h}=r;return h&&(h.isPresent=d,zo=!0,c||l.layoutDependency!==u||u===void 0||l.isPresent!==d?h.willUpdate():this.safeToRemove(),l.isPresent!==d&&(d?h.promote():h.relegate()||Dt.postRender(()=>{const y=h.getStack();(!y||!y.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:l}=this.props.visualElement;l&&(l.root.didUpdate(),Oc.postRender(()=>{!l.currentAnimation&&l.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:l,layoutGroup:u,switchLayoutGroup:r}=this.props,{projection:c}=l;zo=!0,c&&(c.scheduleCheckAfterUnmount(),u&&u.group&&u.group.remove(c),r&&r.deregister&&r.deregister(c))}safeToRemove(){const{safeToRemove:l}=this.props;l&&l()}render(){return null}}function Dg(i){const[l,u]=Jy(),r=G.useContext(sc);return R.jsx(yT,{...i,layoutGroup:r,switchLayoutGroup:G.useContext(sg),isPresent:l,safeToRemove:u})}const gT={borderRadius:{...ll,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ll,borderTopRightRadius:ll,borderBottomLeftRadius:ll,borderBottomRightRadius:ll,boxShadow:pT};function vT(i,l,u){const r=ee(i)?i:ei(i);return r.start(Hc("",r,l,u)),r.animation}const xT=(i,l)=>i.depth-l.depth;class bT{constructor(){this.children=[],this.isDirty=!1}add(l){oc(this.children,l),this.isDirty=!0}remove(l){cc(this.children,l),this.isDirty=!0}forEach(l){this.isDirty&&this.children.sort(xT),this.isDirty=!1,this.children.forEac
vendor: 5,073 bytes, line 103
103h(l)}}function ST(i,l){const u=oe.now(),r=({timestamp:c})=>{const d=c-u;d>=l&&(Bn(r),i(d-l))};return Dt.setup(r,!0),()=>Bn(r)}const Rg=["TopLeft","TopRight","BottomLeft","BottomRight"],TT=Rg.length,zp=i=>typeof i=="string"?parseFloat(i):i,wp=i=>typeof i=="number"||it.test(i);function AT(i,l,u,r,c,d){c?(i.opacity=Ot(0,u.opacity??1,ET(r)),i.opacityExit=Ot(l.opacity??1,0,MT(r))):d&&(i.opacity=Ot(l.opacity??1,u.opacity??1,r));for(let h=0;h<TT;h++){const y=`border${Rg[h]}Radius`;let g=_p(l,y),m=_p(u,y);if(g===void 0&&m===void 0)continue;g||(g=0),m||(m=0),g===0||m===0||wp(g)===wp(m)?(i[y]=Math.max(Ot(zp(g),zp(m),r),0),(Ze.test(m)||Ze.test(g))&&(i[y]+="%")):i[y]=m}(l.rotate||u.rotate)&&(i.rotate=Ot(l.rotate||0,u.rotate||0,r))}function _p(i,l){return i[l]!==void 0?i[l]:i.borderRadius}const ET=Og(0,.5,my),MT=Og(.5,.95,Ve);function Og(i,l,u){return r=>r<i?0:r>l?1:u(hl(i,l,r))}function Up(i,l){i.min=l.min,i.max=l.max}function Ce(i,l){Up(i.x,l.x),Up(i.y,l.y)}function Bp(i,l){i.translate=l.translate,i.scale=l.scale,i.originPoint=l.originPoint,i.origin=l.origin}function Lp(i,l,u,r,c){return i-=l,i=Fs(i,1/u,r),c!==void 0&&(i=Fs(i,1/c,r)),i}function DT(i,l=0,u=1,r=.5,c,d=i,h=i){if(Ze.test(l)&&(l=parseFloat(l),l=Ot(h.min,h.max,l/100)-h.min),typeof l!="number")return;let y=Ot(d.min,d.max,r);i===d&&(y-=l),i.min=Lp(i.min,l,u,y,c),i.max=Lp(i.max,l,u,y,c)}function Hp(i,l,[u,r,c],d,h){DT(i,l[u],l[r],l[c],l.scale,d,h)}const RT=["x","scaleX","originX"],OT=["y","scaleY","originY"];function qp(i,l,u,r){Hp(i.x,l,RT,u?u.x:void 0,r?r.x:void 0),Hp(i.y,l,OT,u?u.y:void 0,r?r.y:void 0)}function Yp(i){return i.translate===0&&i.scale===1}function Cg(i){return Yp(i.x)&&Yp(i.y)}function Gp(i,l){return i.min===l.min&&i.max===l.max}function CT(i,l){return Gp(i.x,l.x)&&Gp(i.y,l.y)}function Xp(i,l){return Math.round(i.min)===Math.round(l.min)&&Math.round(i.max)===Math.round(l.max)}function Ng(i,l){return Xp(i.x,l.x)&&Xp(i.y,l.y)}function Qp(i){return ae(i.x)/ae(i.y)}function Zp(i,l){return i.translate===l.translate&&i.scale===l.scale&&i.originPoint===l.originPoint}class NT{constructor(){this.members=[]}add(l){oc(this.members,l),l.scheduleRender()}remove(l){if(cc(this.members,l),l===this.prevLead&&(this.prevLead=void 0),l===this.lead){const u=this.members[this.members.length-1];u&&this.promote(u)}}relegate(l){const u=this.members.findIndex(c=>l===c);if(u===0)return!1;let r;for(let c=u;c>=0;c--){const d=this.members[c];if(d.isPresent!==!1){r=d;break}}return r?(this.promote(r),!0):!1}promote(l,u){const r=this.lead;if(l!==r&&(this.prevLead=r,this.lead=l,l.show(),r)){r.instance&&r.scheduleRender(),l.scheduleRender(),l.resumeFrom=r,u&&(l.resumeFrom.preserveOpacity=!0),r.snapshot&&(l.snapshot=r.snapshot,l.snapshot.latestValues=r.animationValues||r.latestValues),l.root&&l.root.isUpdating&&(l.isLayoutDirty=!0);const{crossfade:c}=l.options;c===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(l=>{const{options:u,resumingFrom:r}=l;u.onExitComplete&&u.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(l=>{l.instance&&l.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function VT(i,l,u){let r="";const c=i.x.translate/l.x,d=i.y.translate/l.y,h=u?.z||0;if((c||d||h)&&(r=`translate3d(${c}px, ${d}px, ${h}px) `),(l.x!==1||l.y!==1)&&(r+=`scale(${1/l.x}, ${1/l.y}) `),u){const{transformPerspective:m,rotate:v,rotateX:b,rotateY:A,skewX:j,skewY:U}=u;m&&(r=`perspective(${m}px) ${r}`),v&&(r+=`rotate(${v}deg) `),b&&(r+=`rotateX(${b}deg) `),A&&(r+=`rotateY(${A}deg) `),j&&(r+=`skewX(${j}deg) `),U&&(r+=`skewY(${U}deg) `)}const y=i.x.scale*l.x,g=i.y.scale*l.y;return(y!==1||g!==1)&&(r+=`scale(${y}, ${g})`),r||"none"}const wo=["","X","Y","Z"],jT=1e3;let zT=0;function _o(i,l,u,r){const{latestValues:c}=l;c[i]&&(u[i]=c[i],l.setStaticValue(i,0),r&&(r[i]=0))}function Vg(i){if(i.hasCheckedOptimisedAppear=!0,i.root===i)return;const{visualElement:l}=i.options;if(!l)return;const u=yg(l);if(window.MotionHasOptimisedAnimation(u,"transform")){const{layout:c,layoutId:d}=i.options;window.MotionCancelOptimisedAnimation(u,"transform",Dt,!(c||d))}const{parent:r}=i;r&&!r.hasCheckedOptimisedAppear&&Vg(r)}function jg({attachResizeListener:i,defaultParent:l,measureScroll:u,checkIsScrollRoot:r,resetTransform:c}){return class{constructor(h={},y=l?.()){this.id=zT++,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.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>
vendor: 4,304 bytes, line 103
103{this.projectionUpdateScheduled=!1,this.nodes.forEach(UT),this.nodes.forEach(qT),this.nodes.forEach(YT),this.nodes.forEach(BT)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=h,this.root=y?y.root||y:this,this.path=y?[...y.path,y]:[],this.parent=y,this.depth=y?y.depth+1:0;for(let g=0;g<this.path.length;g++)this.path[g].shouldResetTransform=!0;this.root===this&&(this.nodes=new bT)}addEventListener(h,y){return this.eventHandlers.has(h)||this.eventHandlers.set(h,new dc),this.eventHandlers.get(h).add(y)}notifyListeners(h,...y){const g=this.eventHandlers.get(h);g&&g.notify(...y)}hasListeners(h){return this.eventHandlers.has(h)}mount(h){if(this.instance)return;this.isSVG=ky(h)&&!Eb(h),this.instance=h;const{layoutId:y,layout:g,visualElement:m}=this.options;if(m&&!m.current&&m.mount(h),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(g||y)&&(this.isLayoutDirty=!0),i){let v,b=0;const A=()=>this.root.updateBlockedByResize=!1;Dt.read(()=>{b=window.innerWidth}),i(h,()=>{const j=window.innerWidth;j!==b&&(b=j,this.root.updateBlockedByResize=!0,v&&v(),v=ST(A,250),Zs.hasAnimatedSinceResize&&(Zs.hasAnimatedSinceResize=!1,this.nodes.forEach(Jp)))})}y&&this.root.registerSharedNode(y,this),this.options.animate!==!1&&m&&(y||g)&&this.addEventListener("didUpdate",({delta:v,hasLayoutChanged:b,hasRelativeLayoutChanged:A,layout:j})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const U=this.options.transition||m.getDefaultTransition()||KT,{onLayoutAnimationStart:q,onLayoutAnimationComplete:Q}=m.getProps(),Y=!this.targetLayout||!Ng(this.targetLayout,j),Z=!b&&A;if(this.options.layoutRoot||this.resumeFrom||Z||b&&(Y||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const H={...Dc(U,"layout"),onPlay:q,onComplete:Q};(m.shouldReduceMotion||this.options.layoutRoot)&&(H.delay=0,H.type=!1),this.startAnimation(H),this.setAnimationOrigin(v,Z)}else b||Jp(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=j})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const h=this.getStack();h&&h.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Bn(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(GT),this.animationId++)}getTransformTemplate(){const{visualElement:h}=this.options;return h&&h.getProps().transformTemplate}willUpdate(h=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Vg(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let v=0;v<this.path.length;v++){const b=this.path[v];b.shouldResetTransform=!0,b.updateScroll("snapshot"),b.options.layoutRoot&&b.willUpdate(!1)}const{layoutId:y,layout:g}=this.options;if(y===void 0&&!g)return;const m=this.getTransformTemplate();this.prevTransformTemplateValue=m?m(this.latestValues,""):void 0,this.updateSnapshot(),h&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Kp);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(kp);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(HT),this.nodes.forEach(wT),this.nodes.forEach(_T)):this.nodes.forEach(kp),this.clearAllSnapshots();const y=oe.now();Wt.delta=on(0,1e3/60,y-Wt.timestamp),Wt.timestamp=y,Wt.isProcessing=!0,Ao.update.process(Wt),Ao.preRender.process(Wt),Ao.render.process(Wt),Wt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Oc.read(this.scheduleUpdate))}
vendor: 6,064 bytes, line 103
103clearAllSnapshots(){this.nodes.forEach(LT),this.sharedNodes.forEach(XT)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Dt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Dt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!ae(this.snapshot.measuredBox.x)&&!ae(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 g=0;g<this.path.length;g++)this.path[g].updateScroll();const h=this.layout;this.layout=this.measure(!1),this.layoutCorrected=_t(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:y}=this.options;y&&y.notify("LayoutMeasure",this.layout.layoutBox,h?h.layoutBox:void 0)}updateScroll(h="measure"){let y=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===h&&(y=!1),y&&this.instance){const g=r(this.instance);this.scroll={animationId:this.root.animationId,phase:h,isRoot:g,offset:u(this.instance),wasRoot:this.scroll?this.scroll.isRoot:g}}}resetTransform(){if(!c)return;const h=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,y=this.projectionDelta&&!Cg(this.projectionDelta),g=this.getTransformTemplate(),m=g?g(this.latestValues,""):void 0,v=m!==this.prevTransformTemplateValue;h&&this.instance&&(y||la(this.latestValues)||v)&&(c(this.instance,m),this.shouldResetTransform=!1,this.scheduleRender())}measure(h=!0){const y=this.measurePageBox();let g=this.removeElementScroll(y);return h&&(g=this.removeTransform(g)),kT(g),{animationId:this.root.animationId,measuredBox:y,layoutBox:g,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:h}=this.options;if(!h)return _t();const y=h.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(JT))){const{scroll:m}=this.root;m&&(Wa(y.x,m.offset.x),Wa(y.y,m.offset.y))}return y}removeElementScroll(h){const y=_t();if(Ce(y,h),this.scroll?.wasRoot)return y;for(let g=0;g<this.path.length;g++){const m=this.path[g],{scroll:v,options:b}=m;m!==this.root&&v&&b.layoutScroll&&(v.wasRoot&&Ce(y,h),Wa(y.x,v.offset.x),Wa(y.y,v.offset.y))}return y}applyTransform(h,y=!1){const g=_t();Ce(g,h);for(let m=0;m<this.path.length;m++){const v=this.path[m];!y&&v.options.layoutScroll&&v.scroll&&v!==v.root&&$a(g,{x:-v.scroll.offset.x,y:-v.scroll.offset.y}),la(v.latestValues)&&$a(g,v.latestValues)}return la(this.latestValues)&&$a(g,this.latestValues),g}removeTransform(h){const y=_t();Ce(y,h);for(let g=0;g<this.path.length;g++){const m=this.path[g];if(!m.instance||!la(m.latestValues))continue;Wo(m.latestValues)&&m.updateSnapshot();const v=_t(),b=m.measurePageBox();Ce(v,b),qp(y,m.latestValues,m.snapshot?m.snapshot.layoutBox:void 0,v)}return la(this.latestValues)&&qp(y,this.latestValues),y}setTargetDelta(h){this.targetDelta=h,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(h){this.options={...this.options,...h,crossfade:h.crossfade!==void 0?h.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!==Wt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(h=!1){const y=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=y.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=y.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=y.isSharedProjectionDirty);const g=!!this.resumingFrom||this!==y;if(!(h||g&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:v,layoutId:b}=this.options;if(!(!this.layout||!(v||b))){if(this.resolvedRelativeTargetAt=Wt.timestamp,!this.targetDelta&&!this.relativeTarget){const A=this.getClosestProjectingParent();A&&A.layout&&this.animationProgress!==1?(this.relativeParent=A,this.forceRelativeParentToResolveTarget(),this.relativeTarget=_t(),this.relativeTargetOrigin=_t(),fl(this.relativeTargetOrigin,this.layout.layoutBox,A.layout.layoutBox),Ce(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=_t(),this.targetWithTransforms=_t()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),tT(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Ce(this.target,this.layout.layoutBox),cg(this.target,this.targetDelta)):Ce(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const A=this.getClosestProjectingParent();A&&!!A.resumingFrom==!!this.resumingFrom&&!A.options.layoutScroll&&A.target&&this.animationProgress!==1?(this.relativeParent=A,this.forceRelativeParentToResolveTarget(),this.relativeTarget=_t(),this.relativeTargetOrigin=_t(),fl(this.relativeTargetOrigin,this.target,A.target),Ce(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||Wo(this.parent.latestValues)||og(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){const h=this.getLead(),y=!!this.resumingFrom||this!==h;let g=!0;
vendor: 9,329 bytes, line 103
103if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(g=!1),y&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(g=!1),this.resolvedRelativeTargetAt===Wt.timestamp&&(g=!1),g)return;const{layout:m,layoutId:v}=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||v))return;Ce(this.layoutCorrected,this.layout.layoutBox);const b=this.treeScale.x,A=this.treeScale.y;hS(this.layoutCorrected,this.treeScale,this.path,y),h.layout&&!h.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(h.target=h.layout.layoutBox,h.targetWithTransforms=_t());const{target:j}=h;if(!j){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Bp(this.prevProjectionDelta.x,this.projectionDelta.x),Bp(this.prevProjectionDelta.y,this.projectionDelta.y)),cl(this.projectionDelta,this.layoutCorrected,j,this.latestValues),(this.treeScale.x!==b||this.treeScale.y!==A||!Zp(this.projectionDelta.x,this.prevProjectionDelta.x)||!Zp(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",j))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(h=!0){if(this.options.visualElement?.scheduleRender(),h){const y=this.getStack();y&&y.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Ia(),this.projectionDelta=Ia(),this.projectionDeltaWithTransform=Ia()}setAnimationOrigin(h,y=!1){const g=this.snapshot,m=g?g.latestValues:{},v={...this.latestValues},b=Ia();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!y;const A=_t(),j=g?g.source:void 0,U=this.layout?this.layout.source:void 0,q=j!==U,Q=this.getStack(),Y=!Q||Q.members.length<=1,Z=!!(q&&!Y&&this.options.crossfade===!0&&!this.path.some(ZT));this.animationProgress=0;let H;this.mixTargetDelta=et=>{const L=et/1e3;Pp(b.x,h.x,L),Pp(b.y,h.y,L),this.setTargetDelta(b),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(fl(A,this.layout.layoutBox,this.relativeParent.layout.layoutBox),QT(this.relativeTarget,this.relativeTargetOrigin,A,L),H&&CT(this.relativeTarget,H)&&(this.isProjectionDirty=!1),H||(H=_t()),Ce(H,this.relativeTarget)),q&&(this.animationValues=v,AT(v,m,this.latestValues,L,Z,Y)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=L},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(h){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Bn(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Dt.update(()=>{Zs.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=ei(0)),this.currentAnimation=vT(this.motionValue,[0,1e3],{...h,velocity:0,isSync:!0,onUpdate:y=>{this.mixTargetDelta(y),h.onUpdate&&h.onUpdate(y)},onStop:()=>{},onComplete:()=>{h.onComplete&&h.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 h=this.getStack();h&&h.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(jT),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const h=this.getLead();let{targetWithTransforms:y,target:g,layout:m,latestValues:v}=h;if(!(!y||!g||!m)){if(this!==h&&this.layout&&m&&zg(this.options.animationType,this.layout.layoutBox,m.layoutBox)){g=this.target||_t();const b=ae(this.layout.layoutBox.x);g.x.min=h.target.x.min,g.x.max=g.x.min+b;const A=ae(this.layout.layoutBox.y);g.y.min=h.target.y.min,g.y.max=g.y.min+A}Ce(y,g),$a(y,v),cl(this.projectionDeltaWithTransform,this.layoutCorrected,y,v)}}registerSharedNode(h,y){this.sharedNodes.has(h)||this.sharedNodes.set(h,new NT),this.sharedNodes.get(h).add(y);const m=y.options.initialPromotionConfig;y.promote({transition:m?m.transition:void 0,preserveFollowOpacity:m&&m.shouldPreserveFollowOpacity?m.shouldPreserveFollowOpacity(y):void 0})}isLead(){const h=this.getStack();return h?h.lead===this:!0}getLead(){const{layoutId:h}=this.options;return h?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:h}=this.options;return h?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:h}=this.options;if(h)return this.root.sharedNodes.get(h)}promote({needsReset:h,transition:y,preserveFollowOpacity:g}={}){const m=this.getStack();m&&m.promote(this,g),h&&(this.projectionDelta=void 0,this.needsReset=!0),y&&this.setOptions({transition:y})}relegate(){const h=this.getStack();return h?h.relegate(this):!1}resetSkewAndRotation(){const{visualElement:h}=this.options;if(!h)return;let y=!1;const{latestValues:g}=h;if((g.z||g.rotate||g.rotateX||g.rotateY||g.rotateZ||g.skewX||g.skewY)&&(y=!0),!y)return;const m={};g.z&&_o("z",h,m,this.animationValues);for(let v=0;v<wo.length;v++)_o(`rotate${wo[v]}`,h,m,this.animationValues),_o(`skew${wo[v]}`,h,m,this.animationValues);h.render();for(const v in m)h.setStaticValue(v,m[v]),this.animationValues&&(this.animationValues[v]=m[v]);h.scheduleRender()}applyProjectionStyles(h,y){if(!this.instance||this.isSVG)return;if(!this.isVisible){h.visibility="hidden";return}const g=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,h.visibility="",h.opacity="",h.pointerEvents=Qs(y?.pointerEvents)||"",h.transform=g?g(this.latestValues,""):"none";return}const m=this.getLead();if(!this.projectionDelta||!this.layout||!m.target){this.options.layoutId&&(h.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,h.pointerEvents=Qs(y?.pointerEvents)||""),this.hasProjected&&!la(this.latestValues)&&(h.transform=g?g({},""):"none",this.hasProjected=!1);return}h.visibility="";const v=m.animationValues||m.latestValues;this.applyTransformsToTarget();let b=VT(this.projectionDeltaWithTransform,this.treeScale,v);g&&(b=g(v,b)),h.transform=b;const{x:A,y:j}=this.projectionDelta;h.transformOrigin=`${A.origin*100}% ${j.origin*100}% 0`,m.animationValues?h.opacity=m===this?v.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:v.opacityExit:h.opacity=m===this?v.opacity!==void 0?v.opacity:"":v.opacityExit!==void 0?v.opacityExit:0;for(const U in yl){if(v[U]===void 0)continue;const{correct:q,applyTo:Q,isCSSVariable:Y}=yl[U],Z=b==="none"?v[U]:q(v[U],m);if(Q){const H=Q.length;for(let et=0;et<H;et++)h[Q[et]]=Z}else Y?this.options.visualElement.renderState.vars[U]=Z:h[U]=Z}this.options.layoutId&&(h.pointerEvents=m===this?Qs(y?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(h=>h.currentAnimation?.stop()),this.root.nodes.forEach(Kp),this.root.sharedNodes.clear()}}}function wT(i){i.updateLayout()}function _T(i){const l=i.resumeFrom?.snapshot||i.snapshot;if(i.isLead()&&i.layout&&l&&i.hasListeners("didUpdate")){const{layoutBox:u,measuredBox:r}=i.layout,{animationType:c}=i.options,d=l.source!==i.layout.source;c==="size"?Ne(v=>{const b=d?l.measuredBox[v]:l.layoutBox[v],A=ae(b);b.min=u[v].min,b.max=b.min+A}):zg(c,l.layoutBox,u)&&Ne(v=>{const b=d?l.measuredBox[v]:l.layoutBox[v],A=ae(u[v]);b.max=b.min+A,i.relativeTarget&&!i.currentAnimation&&(i.isProjectionDirty=!0,i.relativeTarget[v].max=i.relativeTarget[v].min+A)});const h=Ia();cl(h,u,l.layoutBox);const y=Ia();d?cl(y,i.applyTransform(r,!0),l.measuredBox):cl(y,u,l.layoutBox);const g=!Cg(h);let m=!1;if(!i.resumeFrom){const v=i.getClosestProjectingParent();if(v&&!v.resumeFrom){const{snapshot:b,layout:A}=v;if(b&&A){const j=_t();fl(j,l.layoutBox,b.layoutBox);const U=_t();fl(U,u,A.layoutBox),Ng(j,U)||(m=!0),v.options.layoutRoot&&(i.relativeTarget=U,i.relativeTargetOrigin=j,i.relativeParent=v)}}}i.notifyListeners("didUpdate",{layout:u,snapshot:l,delta:y,layoutDelta:h,hasLayoutChanged:g,hasRelativeLayoutChanged:m})}else if(i.isLead()){const{onExitComplete:u}=i.options;u&&u()}i.options.transition=void 0}function UT(i){i.parent&&(i.isProjecting()||(i.isProjectionDirty=i.parent.isProjectionDirty),i.isSharedProjectionDirty||(i.isSharedProjectionDirty=!!(i.isProjectionDirty||i.parent.isProjectionDirty||i.parent.isSharedProjectionDirty)),i.isTransformDirty||(i.isTransformDirty=i.parent.isTransformDirty))}function BT(i){i.isProjectionDirty=i.isSharedProjectionDirty=i.isTransformDirty=!1}function LT(i){i.clearSnapshot()}function Kp(i){i.clearMeasurements()}function kp(i){i.isLayoutDirty=!1}function HT(i){const{visualElement:l}=i.options;l&&l.getProps().onBeforeLayoutMeasure&&l.notify("BeforeLayoutMeasure"),i.resetTransform()}function Jp(i){i.finishAnimation(),i.targetDelta=i.relativeTarget=i.target=void 0,i.isProjectionDirty=!0}function qT(i){i.resolveTargetDelta()}function YT(i){i.calcProjection()}
vendor: 4,524 bytes, line 103
103function GT(i){i.resetSkewAndRotation()}function XT(i){i.removeLeadSnapshot()}function Pp(i,l,u){i.translate=Ot(l.translate,0,u),i.scale=Ot(l.scale,1,u),i.origin=l.origin,i.originPoint=l.originPoint}function Fp(i,l,u,r){i.min=Ot(l.min,u.min,r),i.max=Ot(l.max,u.max,r)}function QT(i,l,u,r){Fp(i.x,l.x,u.x,r),Fp(i.y,l.y,u.y,r)}function ZT(i){return i.animationValues&&i.animationValues.opacityExit!==void 0}const KT={duration:.45,ease:[.4,0,.1,1]},Wp=i=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(i),$p=Wp("applewebkit/")&&!Wp("chrome/")?Math.round:Ve;function Ip(i){i.min=$p(i.min),i.max=$p(i.max)}function kT(i){Ip(i.x),Ip(i.y)}function zg(i,l,u){return i==="position"||i==="preserve-aspect"&&!IS(Qp(l),Qp(u),.2)}function JT(i){return i!==i.root&&i.scroll?.wasRoot}const PT=jg({attachResizeListener:(i,l)=>gl(i,"resize",l),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Uo={current:void 0},wg=jg({measureScroll:i=>({x:i.scrollLeft,y:i.scrollTop}),defaultParent:()=>{if(!Uo.current){const i=new PT({});i.mount(window),i.setOptions({layoutScroll:!0}),Uo.current=i}return Uo.current},resetTransform:(i,l)=>{i.style.transform=l!==void 0?l:"none"},checkIsScrollRoot:i=>window.getComputedStyle(i).position==="fixed"}),FT={pan:{Feature:mT},drag:{Feature:dT,ProjectionNode:wg,MeasureLayout:Dg}};function ty(i,l,u){const{props:r}=i;i.animationState&&r.whileHover&&i.animationState.setActive("whileHover",u==="Start");const c="onHover"+u,d=r[c];d&&Dt.postRender(()=>d(l,Tl(l)))}class WT extends Hn{mount(){const{current:l}=this.node;l&&(this.unmount=xb(l,(u,r)=>(ty(this.node,r,"Start"),c=>ty(this.node,c,"End"))))}unmount(){}}class $T extends Hn{constructor(){super(...arguments),this.isActive=!1}onFocus(){let l=!1;try{l=this.node.current.matches(":focus-visible")}catch{l=!0}!l||!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=xl(gl(this.node.current,"focus",()=>this.onFocus()),gl(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function ey(i,l,u){const{props:r}=i;if(i.current instanceof HTMLButtonElement&&i.current.disabled)return;i.animationState&&r.whileTap&&i.animationState.setActive("whileTap",u==="Start");const c="onTap"+(u==="End"?"":u),d=r[c];d&&Dt.postRender(()=>d(l,Tl(l)))}class IT extends Hn{mount(){const{current:l}=this.node;l&&(this.unmount=Ab(l,(u,r)=>(ey(this.node,r,"Start"),(c,{success:d})=>ey(this.node,c,d?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const ic=new WeakMap,Bo=new WeakMap,t2=i=>{const l=ic.get(i.target);l&&l(i)},e2=i=>{i.forEach(t2)};function n2({root:i,...l}){const u=i||document;Bo.has(u)||Bo.set(u,{});const r=Bo.get(u),c=JSON.stringify(l);return r[c]||(r[c]=new IntersectionObserver(e2,{root:i,...l})),r[c]}function a2(i,l,u){const r=n2(l);return ic.set(i,u),r.observe(i),()=>{ic.delete(i),r.unobserve(i)}}const i2={some:0,all:1};class l2 extends Hn{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:l={}}=this.node.getProps(),{root:u,margin:r,amount:c="some",once:d}=l,h={root:u?u.current:void 0,rootMargin:r,threshold:typeof c=="number"?c:i2[c]},y=g=>{const{isIntersecting:m}=g;if(this.isInView===m||(this.isInView=m,d&&!m&&this.hasEnteredView))return;m&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",m);const{onViewportEnter:v,onViewportLeave:b}=this.node.getProps(),A=m?v:b;A&&A(g)};return a2(this.node.current,h,y)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:l,prevProps:u}=this.node;["amount","margin","root"].some(s2(l,u))&&this.startObserver()}unmount(){}}function s2({viewport:i={}},{viewport:l={}}={}){return u=>i[u]!==l[u]}const u2={inView:{Feature:l2},tap:{Feature:IT},focus:{Feature:$T},hover:{Feature:WT}},r2={layout:{ProjectionNode:wg,MeasureLayout:Dg}},o2={...kS,...u2,...FT,...r2},_g=oS(o2,TS);function c2(){return R.jsx("section",{className:"relative max-w-4xl mx-auto overflow-hidden rounded-3xl text-gray-800 shadow-2xl border border-gray-200 mb-8",children:R.jsxs("div",{className:"relative mx-auto px-8 py-8 sm:px-12 lg:py-12 pb-8",children:[R.jsxs(_g.div,{initial:{opacity:0,y:10}
103,animate:{opacity:1,y:0},transition:{duration:.5},className:"inline-flex items-center gap-2 rounded-full border border-emerald-200 bg-emerald-50/80 px-4 py-2 backdrop-blur-md",children:[R.jsx("span",{className:"h-2 w-2 rounded-full bg-emerald-400"}),R.jsx("span",{className:"text-sm sm:text-base text-gray-700",children:"OSCE-focused • Bedside skills • Anatomy basis"})]}),R.jsx("h1",{className:"mt-6 text-2xl sm:text-3xl md:text-4xl lg:text-5xl font-bold tracking-tight",children:"CEO — Clinical Examination Online"}),R.jsx("p",{className:"mt-4 max-w-3xl text-base sm:text-lg md:text-xl text-gray-700 leading-relaxed",children:"Learn from board-certified clinicians and academics. CEO provides bedside examination skills, OSCE preparation, and deep anatomical understanding through videos and interactive resources."}),R.jsx("div",{className:"mt-8",children:R.jsxs("a",{href:"https://pacificdocs.com/cs/",className:"inline-flex items-center px-8 py-4 bg-[#2795B2] hover:bg-[#1e7a94] text-white font-semibold rounded-xl transition-all duration-300 transform lg:hover:scale-105 shadow-lg hover:shadow-xl",children:["Visit CEO",R.jsx("svg",{className:"w-5 h-5 ml-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:R.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"})})]})}),R.jsx("p",{className:"mt-4 text-sm sm:text-base text-gray-600",children:"by A/Prof Craig Adams"})]})})}function f2(){return R.jsx("div",{className:"flex-1 relative min-w-0 px-2 sm:px-4 md:px-6 lg:px-8 xl:px-10 flex w-full justify-center",children:R.jsxs("div",{className:"m-2 sm:m-4 md:m-6 rounded-xl sm:rounded-2xl overflow-hidden shadow-lg sm:shadow-xl hover:shadow-2xl transition-all duration-300 hover:scale-105 w-full relative min-h-[300px] sm:min-h-[400px] md:min-h-[500px] min-w-0 2xl:min-w-[500px]",children:[R.jsx("img",{src:"/quiet.png",alt:"Quiet Environment",className:"absolute inset-0 w-full h-full object-cover object-left-top"}),R.jsx("div",{className:`absolute inset-y-0 right-0 w-1/2 pointer-events-none
104                        bg-gradient-to-l from-black/25 via-black/10 to-transparent`}),R.jsx("div",{className:"relative z-10 flex h-full items-center justify-end p-3 sm:p-4 md:p-6 lg:p-8 xl:p-10",children:R.jsx("div",{className:"w-1/2 min-w-0",children:R.jsxs("div",{className:"bg-white/20 backdrop-blur-md rounded-xl sm:rounded-2xl p-4 sm:p-6 md:p-8 text-center",children:[R.jsxs("h2",{className:"text-sm sm:text-base md:text-lg lg:text-xl 2xl:text-2xl font-bold text-gray-900 leading-tight break-words",children:["Quiet Environment/",R.jsx("br",{}),"Classroom Mode"]}),R.jsx("p",{className:"mt-2 text-xs sm:text-xs md:text-sm lg:text-base 2xl:text-lg text-gray-800 font-medium break-words",children:"Default to Text-to-Text"}),R.jsxs("ul",{className:"mt-3 space-y-1 sm:space-y-2 text-xs sm:text-xs md:text-sm lg:text-sm 2xl:text-base text-gray-800 inline-block text-left",children:[R.jsxs("li",{className:"flex items-center",children:[R.jsx("span",{className:"w-1.5 h-1.5 sm:w-2 sm:h-2 bg-gray-700 rounded-full mr-2 sm:mr-3"}),"Real-time feedback"]}),R.jsxs("li",{className:"flex items-center",children:[R.jsx("span",{className:"w-1.5 h-1.5 sm:w-2 sm:h-2 bg-gray-700 rounded-full mr-2 sm:mr-3"}),"Clinical reasoning"]})]}),R.jsx("div",{className:"mt-4 sm:mt-6",children:R.jsx("a",{href:"https://agentic.meksi.com/vp/bobray/agent-aa0d4c42-25b6-4250-845a-524446d44142",target:"_blank",rel:"noopener noreferrer",className:"inline-block bg-[#2795B2] hover:bg-[#1e7a94] text-white font-medium py-2 sm:py-3 px-4 sm:px-6 rounded-lg transition-colors text-xs sm:text-xs md:text-sm lg:text-sm 2xl:text-base",children:"Start Chat Consultation"})})]})})})]})})}function h2(){return R.jsx("div",{className:"flex-1 relative min-w-0 px-2 sm:px-4 md:px-6 lg:px-8 xl:px-10 flex w-full justify-center",children:R.jsxs("div",{className:"m-2 sm:m-4 md:m-6 rounded-xl sm:rounded-2xl overflow-hidden shadow-lg sm:shadow-xl hover:shadow-2xl transition-all duration-300 hover:scale-105 w-full relative min-h-[300px] sm:min-h-[400px] md:min-
104h-[500px] min-w-0 2xl:min-w-[500px]",children:[R.jsx("img",{src:"/interactive.png",alt:"Quiet Environment",className:"absolute inset-0 w-full h-full object-cover object-left-top"}),R.jsx("div",{className:`absolute inset-y-0 right-0 w-1/2 pointer-events-none
105                        bg-gradient-to-l from-black/25 via-black/10 to-transparent`}),R.jsx("div",{className:"relative z-10 flex h-full items-center justify-end p-3 sm:p-4 md:p-6 lg:p-8 xl:p-10",children:R.jsx("div",{className:"w-1/2 min-w-0",children:R.jsxs("div",{className:"bg-white/20 backdrop-blur-md rounded-xl sm:rounded-2xl p-4 sm:p-6 md:p-8 text-center",children:[R.jsx("h2",{className:"text-sm sm:text-base md:text-lg lg:text-xl 2xl:text-2xl font-bold text-gray-900 leading-tight break-words",children:"Immersive One-on-One"}),R.jsx("p",{className:"mt-2 text-xs sm:text-xs md:text-sm lg:text-base 2xl:text-lg text-gray-800 font-medium break-words",children:"Face-to-face AI avatar & voice interaction"}),R.jsxs("ul",{className:"mt-3 space-y-1 sm:space-y-2 text-xs sm:text-xs md:text-sm lg:text-sm 2xl:text-base text-gray-800 inline-block text-left",children:[R.jsxs("li",{className:"flex items-center",children:[R.jsx("span",{className:"w-1.5 h-1.5 sm:w-2 sm:h-2 bg-gray-700 rounded-full mr-2 sm:mr-3"}),"Lifelike Avatar"]}),R.jsxs("li",{className:"flex items-center",children:[R.jsx("span",{className:"w-1.5 h-1.5 sm:w-2 sm:h-2 bg-gray-700 rounded-full mr-2 sm:mr-3"}),"Clinical reasoning"]})]}),R.jsx("div",{className:"mt-4 sm:mt-6",children:R.jsx("a",{href:"https://dts4apmghit2b.cloudfront.net/advanced-video-consultation/677b7eee8afe78c7ed29f598",target:"_blank",rel:"noopener noreferrer",className:"inline-block bg-[#2795B2] hover:bg-[#1e7a94] text-white font-medium py-2 sm:py-3 px-4 sm:px-6 rounded-lg transition-colors text-xs sm:text-xs md:text-sm lg:text-sm 2xl:text-base",children:"Start Video Consultation"})})]})})})]})})}function d2({words:i,intervalMs:l=1200,className:u=""}){const r=G.useMemo(()=>i&&i.length>0?i:[""],[i]),[c,d]=G.useState(0);return G.useEffect(()=>{if(r.length<=1)return;const h=setInterval(()=>{d(y=>(y+1)%r.length)},l);return()=>clearInterval(h)},[r.length,l]),R.jsxs("span",{"aria-live":"polite","aria-atomic":"true",style:{display:"inline-block",position:"relative"},children:[R.jsx(Vb,{mode:"wait",children:R.jsx(_g.span,{initial:{opacity:0,y:6},animate:{opacity:1,y:0},exit:{opacity:0,y:-6},transition:{duration:.35,ease:"easeOut"},style:{display:"inline-block",position:"absolute",left:0,top:0},className:u,children:r[c]},c)}),R.jsx("span",{style:{visibility:"hidden"},children:r[c]})]})}function m2(){return R.jsxs(R.Fragment,{children:[R.jsx(m1,{}),R.jsxs("div",{className:"min-h-screen",children:[R.jsx("div",{className:"relative z-10 max-w-6xl mx-auto px-4 py-28 space-y-16",children:R.jsx("section",{className:"space-y-8",children:R.jsxs("div",{className:"flex flex-col-reverse md:flex-row items-center md:items-start justify-between gap-8",children:[R.jsxs("div",{className:"text-center md:text-left space-y-6 md:w-1/2",children:[R.jsx("h1",{className:"text-5xl md:text-7xl font-extrabold leading-tight",children:R.jsx(d2,{words:["FMG","AMC","PLAB","OSCE"],intervalMs:2e3,className:"block bg-gradient-to-r from-[#1e7a94] to-[#2795B2] bg-clip-text text-transparent"})}),R.jsx("p",{className:"text-2xl md:text-3xl font-semibold text-black",children:"Medical Exam Preparation Platform"}),R.jsx("p",{className:"text-xl text-gray-800 md:max-w-xl leading-relaxed mx-auto md:mx-0",children:"Master clinical consultations with real-time feedback, clinical reasoning, videos, and AI-powered practice in Quiet Environment or Immersive One-on-One."})]}),R.jsxs("div",{className:"md:w-1/2 w-full relative",children:[R.jsx("img",{src:"/osce.png",alt:"Students waiting outside OSCE rooms",className:"w-full max-w-xl rounded-xl shadow-lg ring-1 ring-black/5",loading:"eager",decoding:"async"}),R.jsx("button",{onClick:()=>window.open("https://guided.sandbox.meksi.com/vp/guided-amc-bobray","_blank"),className:"absolute bottom-4 left-26.5 bg-gradient-to-r from-[#1e7a94] to-[#2795B2] hover:from-[#1a6780] hover:to-[#227fa0] text-white font-semibold rounded-lg shadow-lg transition-all px-5 py-2",children:"Trial Case"})]})]})})}),R.jsx("section",{className:"relative z-10 w-full px-4 pt-16 pb-6",children:R.jsxs("div",{className:"max-w-6xl mx-auto text-center space-y-4",children:[R.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900",children:"Which mode would you like to use?"}),R.jsx("p",{className:"text-lg text-gray-600 max-w-2xl mx-auto",children:"Choose your preferred practice environment"})]})}),R.jsx("section",{className:"relative z-10 w-full px-4 py-4",children:R.jsxs("div",{className:"flex flex-col xl:flex-row items-center gap-8 max-w-[2000px] mx-auto",children:[R.jsx("div",{className:"w-full xl:w-1/2",children:R.jsx(f2,{})}),R.jsx("div",{className:"w-full xl:w-1/2",children:R.jsx(h2,{})})]})}),R.jsx("div",{className:"relative z-10",children:R.jsx("section",{className:"w-full py-16",children:R.jsxs("div",{className:"max-w-6xl mx-auto px-4 space-y-8",children:[R.jsxs("div",{className:"text-center space-y-4 blur-sm pointer-events-none",children:[R.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900",children:"Additional Resources"}),R.jsx("p",{className:"text-lg text-gray-600 max-w-2xl mx-auto",children:"Enhance your preparation with expert-led content"})]}),R.jsx("div",{className:"blur-sm pointer-events-none",children:R.jsx(c2,{})})]})})})]}),R.jsx(N1,{})]})}d1.createRoot(document.getElementById("root")).render(R.jsx(G.StrictMode,{children:R.jsx(m2,{})}));

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.