@longleash/cli 0.1.0-rc.7 → 0.1.0-rc.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,9 @@
1
- function Cc(i,l){for(var o=0;o<l.length;o++){const u=l[o];if(typeof u!="string"&&!Array.isArray(u)){for(const c in u)if(c!=="default"&&!(c in i)){const d=Object.getOwnPropertyDescriptor(u,c);d&&Object.defineProperty(i,c,d.get?d:{enumerable:!0,get:()=>u[c]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}(function(){const l=document.createElement("link").relList;if(l&&l.supports&&l.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))u(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"&&u(h)}).observe(document,{childList:!0,subtree:!0});function o(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 u(c){if(c.ep)return;c.ep=!0;const d=o(c);fetch(c.href,d)}})();function zc(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var Br={exports:{}},ul={};var ly;function q1(){if(ly)return ul;ly=1;var i=Symbol.for("react.transitional.element"),l=Symbol.for("react.fragment");function o(u,c,d){var h=null;if(d!==void 0&&(h=""+d),c.key!==void 0&&(h=""+c.key),"key"in c){d={};for(var p in c)p!=="key"&&(d[p]=c[p])}else d=c;return c=d.ref,{$$typeof:i,type:u,key:h,ref:c!==void 0?c:null,props:d}}return ul.Fragment=l,ul.jsx=o,ul.jsxs=o,ul}var sy;function Y1(){return sy||(sy=1,Br.exports=q1()),Br.exports}var ae=Y1();const G1=zc(ae),yE=Cc({__proto__:null,default:G1},[ae]);var Nr={exports:{}},nt={};var uy;function X1(){if(uy)return nt;uy=1;var i=Symbol.for("react.transitional.element"),l=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),h=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),S=Symbol.for("react.activity"),E=Symbol.iterator;function B(A){return A===null||typeof A!="object"?null:(A=E&&A[E]||A["@@iterator"],typeof A=="function"?A:null)}var O={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},L=Object.assign,w={};function j(A,N,G){this.props=A,this.context=N,this.refs=w,this.updater=G||O}j.prototype.isReactComponent={},j.prototype.setState=function(A,N){if(typeof A!="object"&&typeof A!="function"&&A!=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,A,N,"setState")},j.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function Y(){}Y.prototype=j.prototype;function H(A,N,G){this.props=A,this.context=N,this.refs=w,this.updater=G||O}var X=H.prototype=new Y;X.constructor=H,L(X,j.prototype),X.isPureReactComponent=!0;var et=Array.isArray;function ut(){}var K={H:null,A:null,T:null,S:null},P=Object.prototype.hasOwnProperty;function Et(A,N,G){var k=G.ref;return{$$typeof:i,type:A,key:N,ref:k!==void 0?k:null,props:G}}function tt(A,N){return Et(A.type,N,A.props)}function gt(A){return typeof A=="object"&&A!==null&&A.$$typeof===i}function Tt(A){var N={"=":"=0",":":"=2"};return"$"+A.replace(/[=:]/g,function(G){return N[G]})}var le=/\/+/g;function qt(A,N){return typeof A=="object"&&A!==null&&A.key!=null?Tt(""+A.key):N.toString(36)}function Lt(A){switch(A.status){case"fulfilled":return A.value;case"rejected":throw A.reason;default:switch(typeof A.status=="string"?A.then(ut,ut):(A.status="pending",A.then(function(N){A.status==="pending"&&(A.status="fulfilled",A.value=N)},function(N){A.status==="pending"&&(A.status="rejected",A.reason=N)})),A.status){case"fulfilled":return A.value;case"rejected":throw A.reason}}throw A}function R(A,N,G,k,it){var ot=typeof A;(ot==="undefined"||ot==="boolean")&&(A=null);var St=!1;if(A===null)St=!0;else switch(ot){case"bigint":case"string":case"number":St=!0;break;case"object":switch(A.$$typeof){case i:case l:St=!0;break;case v:return St=A._init,R(St(A._payload),N,G,k,it)}}if(St)return it=it(A),St=k===""?"."+qt(A,0):k,et(it)?(G="",St!=null&&(G=St.replace(le,"$&/")+"/"),R(it,N,G,"",function(ma){return ma})):it!=null&&(gt(it)&&(it=tt(it,G+(it.key==null||A&&A.key===it.key?"":(""+it.key).replace(le,"$&/")+"/")+St)),N.push(it)),1;St=0;var se=k===""?".":k+":";if(et(A))for(var wt=0;wt<A.length;wt++)k=A[wt],ot=se+qt(k,wt),St+=R(k,N,G,ot,it);else if(wt=B(A),typeof wt=="function")for(A=wt.call(A),wt=0;!(k=A.next()).done;)k=k.value,ot=se+qt(k,wt++),St+=R(k,N,G,ot,it);else if(ot==="object"){if(typeof A.then=="function")return R(Lt(A),N,G,k,it);throw N=String(A),Error("Objects are not valid as a React child (found: "+(N==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":N)+"). If you meant to render a collection of children, use an array instead.")}return St}function q(A,N,G){if(A==null)return A;var k=[],it=0;return R(A,k,"","",function(ot){return N.call(G,ot,it++)}),k}function Z(A){if(A._status===-1){var N=A._result;N=N(),N.then(function(G){(A._status===0||A._status===-1)&&(A._status=1,A._result=G)},function(G){(A._status===0||A._status===-1)&&(A._status=2,A._result=G)}),A._status===-1&&(A._status=0,A._result=N)}if(A._status===1)return A._result.default;throw A._result}var lt=typeof reportError=="function"?reportError:function(A){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var N=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof A=="object"&&A!==null&&typeof A.message=="string"?String(A.message):String(A),error:A});if(!window.dispatchEvent(N))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",A);return}console.error(A)},dt={map:q,forEach:function(A,N,G){q(A,function(){N.apply(this,arguments)},G)},count:function(A){var N=0;return q(A,function(){N++}),N},toArray:function(A){return q(A,function(N){return N})||[]},only:function(A){if(!gt(A))throw Error("React.Children.only expected to receive a single React element child.");return A}};return nt.Activity=S,nt.Children=dt,nt.Component=j,nt.Fragment=o,nt.Profiler=c,nt.PureComponent=H,nt.StrictMode=u,nt.Suspense=g,nt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=K,nt.__COMPILER_RUNTIME={__proto__:null,c:function(A){return K.H.useMemoCache(A)}},nt.cache=function(A){return function(){return A.apply(null,arguments)}},nt.cacheSignal=function(){return null},nt.cloneElement=function(A,N,G){if(A==null)throw Error("The argument must be a React element, but you passed "+A+".");var k=L({},A.props),it=A.key;if(N!=null)for(ot in N.key!==void 0&&(it=""+N.key),N)!P.call(N,ot)||ot==="key"||ot==="__self"||ot==="__source"||ot==="ref"&&N.ref===void 0||(k[ot]=N[ot]);var ot=arguments.length-2;if(ot===1)k.children=G;else if(1<ot){for(var St=Array(ot),se=0;se<ot;se++)St[se]=arguments[se+2];k.children=St}return Et(A.type,it,k)},nt.createContext=function(A){return A={$$typeof:h,_currentValue:A,_currentValue2:A,_threadCount:0,Provider:null,Consumer:null},A.Provider=A,A.Consumer={$$typeof:d,_context:A},A},nt.createElement=function(A,N,G){var k,it={},ot=null;if(N!=null)for(k in N.key!==void 0&&(ot=""+N.key),N)P.call(N,k)&&k!=="key"&&k!=="__self"&&k!=="__source"&&(it[k]=N[k]);var St=arguments.length-2;if(St===1)it.children=G;else if(1<St){for(var se=Array(St),wt=0;wt<St;wt++)se[wt]=arguments[wt+2];it.children=se}if(A&&A.defaultProps)for(k in St=A.defaultProps,St)it[k]===void 0&&(it[k]=St[k]);return Et(A,ot,it)},nt.createRef=function(){return{current:null}},nt.forwardRef=function(A){return{$$typeof:p,render:A}},nt.isValidElement=gt,nt.lazy=function(A){return{$$typeof:v,_payload:{_status:-1,_result:A},_init:Z}},nt.memo=function(A,N){return{$$typeof:m,type:A,compare:N===void 0?null:N}},nt.startTransition=function(A){var N=K.T,G={};K.T=G;try{var k=A(),it=K.S;it!==null&&it(G,k),typeof k=="object"&&k!==null&&typeof k.then=="function"&&k.then(ut,lt)}catch(ot){lt(ot)}finally{N!==null&&G.types!==null&&(N.types=G.types),K.T=N}},nt.unstable_useCacheRefresh=function(){return K.H.useCacheRefresh()},nt.use=function(A){return K.H.use(A)},nt.useActionState=function(A,N,G){return K.H.useActionState(A,N,G)},nt.useCallback=function(A,N){return K.H.useCallback(A,N)},nt.useContext=function(A){return K.H.useContext(A)},nt.useDebugValue=function(){},nt.useDeferredValue=function(A,N){return K.H.useDeferredValue(A,N)},nt.useEffect=function(A,N){return K.H.useEffect(A,N)},nt.useEffectEvent=function(A){return K.H.useEffectEvent(A)},nt.useId=function(){return K.H.useId()},nt.useImperativeHandle=function(A,N,G){return K.H.useImperativeHandle(A,N,G)},nt.useInsertionEffect=function(A,N){return K.H.useInsertionEffect(A,N)},nt.useLayoutEffect=function(A,N){return K.H.useLayoutEffect(A,N)},nt.useMemo=function(A,N){return K.H.useMemo(A,N)},nt.useOptimistic=function(A,N){return K.H.useOptimistic(A,N)},nt.useReducer=function(A,N,G){return K.H.useReducer(A,N,G)},nt.useRef=function(A){return K.H.useRef(A)},nt.useState=function(A){return K.H.useState(A)},nt.useSyncExternalStore=function(A,N,G){return K.H.useSyncExternalStore(A,N,G)},nt.useTransition=function(){return K.H.useTransition()},nt.version="19.2.8",nt}var oy;function Oc(){return oy||(oy=1,Nr.exports=X1()),Nr.exports}var W=Oc();const Z1=zc(W),pE=Cc({__proto__:null,default:Z1},[W]);var Lr={exports:{}},ol={},wr={exports:{}},jr={};var ry;function Q1(){return ry||(ry=1,(function(i){function l(R,q){var Z=R.length;R.push(q);t:for(;0<Z;){var lt=Z-1>>>1,dt=R[lt];if(0<c(dt,q))R[lt]=q,R[Z]=dt,Z=lt;else break t}}function o(R){return R.length===0?null:R[0]}function u(R){if(R.length===0)return null;var q=R[0],Z=R.pop();if(Z!==q){R[0]=Z;t:for(var lt=0,dt=R.length,A=dt>>>1;lt<A;){var N=2*(lt+1)-1,G=R[N],k=N+1,it=R[k];if(0>c(G,Z))k<dt&&0>c(it,G)?(R[lt]=it,R[k]=Z,lt=k):(R[lt]=G,R[N]=Z,lt=N);else if(k<dt&&0>c(it,Z))R[lt]=it,R[k]=Z,lt=k;else break t}}return q}function c(R,q){var Z=R.sortIndex-q.sortIndex;return Z!==0?Z:R.id-q.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,p=h.now();i.unstable_now=function(){return h.now()-p}}var g=[],m=[],v=1,S=null,E=3,B=!1,O=!1,L=!1,w=!1,j=typeof setTimeout=="function"?setTimeout:null,Y=typeof clearTimeout=="function"?clearTimeout:null,H=typeof setImmediate<"u"?setImmediate:null;function X(R){for(var q=o(m);q!==null;){if(q.callback===null)u(m);else if(q.startTime<=R)u(m),q.sortIndex=q.expirationTime,l(g,q);else break;q=o(m)}}function et(R){if(L=!1,X(R),!O)if(o(g)!==null)O=!0,ut||(ut=!0,Tt());else{var q=o(m);q!==null&&Lt(et,q.startTime-R)}}var ut=!1,K=-1,P=5,Et=-1;function tt(){return w?!0:!(i.unstable_now()-Et<P)}function gt(){if(w=!1,ut){var R=i.unstable_now();Et=R;var q=!0;try{t:{O=!1,L&&(L=!1,Y(K),K=-1),B=!0;var Z=E;try{e:{for(X(R),S=o(g);S!==null&&!(S.expirationTime>R&&tt());){var lt=S.callback;if(typeof lt=="function"){S.callback=null,E=S.priorityLevel;var dt=lt(S.expirationTime<=R);if(R=i.unstable_now(),typeof dt=="function"){S.callback=dt,X(R),q=!0;break e}S===o(g)&&u(g),X(R)}else u(g);S=o(g)}if(S!==null)q=!0;else{var A=o(m);A!==null&&Lt(et,A.startTime-R),q=!1}}break t}finally{S=null,E=Z,B=!1}q=void 0}}finally{q?Tt():ut=!1}}}var Tt;if(typeof H=="function")Tt=function(){H(gt)};else if(typeof MessageChannel<"u"){var le=new MessageChannel,qt=le.port2;le.port1.onmessage=gt,Tt=function(){qt.postMessage(null)}}else Tt=function(){j(gt,0)};function Lt(R,q){K=j(function(){R(i.unstable_now())},q)}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(R){R.callback=null},i.unstable_forceFrameRate=function(R){0>R||125<R?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<R?Math.floor(1e3/R):5},i.unstable_getCurrentPriorityLevel=function(){return E},i.unstable_next=function(R){switch(E){case 1:case 2:case 3:var q=3;break;default:q=E}var Z=E;E=q;try{return R()}finally{E=Z}},i.unstable_requestPaint=function(){w=!0},i.unstable_runWithPriority=function(R,q){switch(R){case 1:case 2:case 3:case 4:case 5:break;default:R=3}var Z=E;E=R;try{return q()}finally{E=Z}},i.unstable_scheduleCallback=function(R,q,Z){var lt=i.unstable_now();switch(typeof Z=="object"&&Z!==null?(Z=Z.delay,Z=typeof Z=="number"&&0<Z?lt+Z:lt):Z=lt,R){case 1:var dt=-1;break;case 2:dt=250;break;case 5:dt=1073741823;break;case 4:dt=1e4;break;default:dt=5e3}return dt=Z+dt,R={id:v++,callback:q,priorityLevel:R,startTime:Z,expirationTime:dt,sortIndex:-1},Z>lt?(R.sortIndex=Z,l(m,R),o(g)===null&&R===o(m)&&(L?(Y(K),K=-1):L=!0,Lt(et,Z-lt))):(R.sortIndex=dt,l(g,R),O||B||(O=!0,ut||(ut=!0,Tt()))),R},i.unstable_shouldYield=tt,i.unstable_wrapCallback=function(R){var q=E;return function(){var Z=E;E=q;try{return R.apply(this,arguments)}finally{E=Z}}}})(jr)),jr}var cy;function K1(){return cy||(cy=1,wr.exports=Q1()),wr.exports}var Hr={exports:{}},ie={};var fy;function J1(){if(fy)return ie;fy=1;var i=Oc();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 o(){}var u={d:{f:o,r:function(){throw Error(l(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},c=Symbol.for("react.portal");function d(g,m,v){var S=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:c,key:S==null?null:""+S,children:g,containerInfo:m,implementation:v}}var h=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function p(g,m){if(g==="font")return"";if(typeof m=="string")return m==="use-credentials"?m:""}return ie.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=u,ie.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)},ie.flushSync=function(g){var m=h.T,v=u.p;try{if(h.T=null,u.p=2,g)return g()}finally{h.T=m,u.p=v,u.d.f()}},ie.preconnect=function(g,m){typeof g=="string"&&(m?(m=m.crossOrigin,m=typeof m=="string"?m==="use-credentials"?m:"":void 0):m=null,u.d.C(g,m))},ie.prefetchDNS=function(g){typeof g=="string"&&u.d.D(g)},ie.preinit=function(g,m){if(typeof g=="string"&&m&&typeof m.as=="string"){var v=m.as,S=p(v,m.crossOrigin),E=typeof m.integrity=="string"?m.integrity:void 0,B=typeof m.fetchPriority=="string"?m.fetchPriority:void 0;v==="style"?u.d.S(g,typeof m.precedence=="string"?m.precedence:void 0,{crossOrigin:S,integrity:E,fetchPriority:B}):v==="script"&&u.d.X(g,{crossOrigin:S,integrity:E,fetchPriority:B,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},ie.preinitModule=function(g,m){if(typeof g=="string")if(typeof m=="object"&&m!==null){if(m.as==null||m.as==="script"){var v=p(m.as,m.crossOrigin);u.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&&u.d.M(g)},ie.preload=function(g,m){if(typeof g=="string"&&typeof m=="object"&&m!==null&&typeof m.as=="string"){var v=m.as,S=p(v,m.crossOrigin);u.d.L(g,v,{crossOrigin:S,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0,type:typeof m.type=="string"?m.type:void 0,fetchPriority:typeof m.fetchPriority=="string"?m.fetchPriority:void 0,referrerPolicy:typeof m.referrerPolicy=="string"?m.referrerPolicy:void 0,imageSrcSet:typeof m.imageSrcSet=="string"?m.imageSrcSet:void 0,imageSizes:typeof m.imageSizes=="string"?m.imageSizes:void 0,media:typeof m.media=="string"?m.media:void 0})}},ie.preloadModule=function(g,m){if(typeof g=="string")if(m){var v=p(m.as,m.crossOrigin);u.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 u.d.m(g)},ie.requestFormReset=function(g){u.d.r(g)},ie.unstable_batchedUpdates=function(g,m){return g(m)},ie.useFormState=function(g,m,v){return h.H.useFormState(g,m,v)},ie.useFormStatus=function(){return h.H.useHostTransitionStatus()},ie.version="19.2.8",ie}var hy;function k1(){if(hy)return Hr.exports;hy=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(),Hr.exports=J1(),Hr.exports}var dy;function F1(){if(dy)return ol;dy=1;var i=K1(),l=Oc(),o=k1();function u(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 p(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function g(t){if(d(t)!==t)throw Error(u(188))}function m(t){var e=t.alternate;if(!e){if(e=d(t),e===null)throw Error(u(188));return e!==t?null:t}for(var n=t,a=e;;){var s=n.return;if(s===null)break;var r=s.alternate;if(r===null){if(a=s.return,a!==null){n=a;continue}break}if(s.child===r.child){for(r=s.child;r;){if(r===n)return g(s),t;if(r===a)return g(s),e;r=r.sibling}throw Error(u(188))}if(n.return!==a.return)n=s,a=r;else{for(var f=!1,y=s.child;y;){if(y===n){f=!0,n=s,a=r;break}if(y===a){f=!0,a=s,n=r;break}y=y.sibling}if(!f){for(y=r.child;y;){if(y===n){f=!0,n=r,a=s;break}if(y===a){f=!0,a=r,n=s;break}y=y.sibling}if(!f)throw Error(u(189))}}if(n.alternate!==a)throw Error(u(190))}if(n.tag!==3)throw Error(u(188));return n.stateNode.current===n?t:e}function v(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=v(t),e!==null)return e;t=t.sibling}return null}var S=Object.assign,E=Symbol.for("react.element"),B=Symbol.for("react.transitional.element"),O=Symbol.for("react.portal"),L=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),j=Symbol.for("react.profiler"),Y=Symbol.for("react.consumer"),H=Symbol.for("react.context"),X=Symbol.for("react.forward_ref"),et=Symbol.for("react.suspense"),ut=Symbol.for("react.suspense_list"),K=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),Et=Symbol.for("react.activity"),tt=Symbol.for("react.memo_cache_sentinel"),gt=Symbol.iterator;function Tt(t){return t===null||typeof t!="object"?null:(t=gt&&t[gt]||t["@@iterator"],typeof t=="function"?t:null)}var le=Symbol.for("react.client.reference");function qt(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===le?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case L:return"Fragment";case j:return"Profiler";case w:return"StrictMode";case et:return"Suspense";case ut:return"SuspenseList";case Et:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case O:return"Portal";case H:return t.displayName||"Context";case Y:return(t._context.displayName||"Context")+".Consumer";case X:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case K:return e=t.displayName||null,e!==null?e:qt(t.type)||"Memo";case P:e=t._payload,t=t._init;try{return qt(t(e))}catch{}}return null}var Lt=Array.isArray,R=l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,q=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z={pending:!1,data:null,method:null,action:null},lt=[],dt=-1;function A(t){return{current:t}}function N(t){0>dt||(t.current=lt[dt],lt[dt]=null,dt--)}function G(t,e){dt++,lt[dt]=t.current,t.current=e}var k=A(null),it=A(null),ot=A(null),St=A(null);function se(t,e){switch(G(ot,e),G(it,t),G(k,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?zm(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=zm(e),t=Om(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}N(k),G(k,t)}function wt(){N(k),N(it),N(ot)}function ma(t){t.memoizedState!==null&&G(St,t);var e=k.current,n=Om(e,t.type);e!==n&&(G(it,t),G(k,n))}function El(t){it.current===t&&(N(k),N(it)),St.current===t&&(N(St),il._currentValue=Z)}var yu,af;function Wn(t){if(yu===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);yu=e&&e[1]||"",af=-1<n.stack.indexOf(`
1
+ function Cc(i,l){for(var o=0;o<l.length;o++){const u=l[o];if(typeof u!="string"&&!Array.isArray(u)){for(const c in u)if(c!=="default"&&!(c in i)){const d=Object.getOwnPropertyDescriptor(u,c);d&&Object.defineProperty(i,c,d.get?d:{enumerable:!0,get:()=>u[c]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}(function(){const l=document.createElement("link").relList;if(l&&l.supports&&l.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))u(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"&&u(h)}).observe(document,{childList:!0,subtree:!0});function o(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 u(c){if(c.ep)return;c.ep=!0;const d=o(c);fetch(c.href,d)}})();function zc(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var Br={exports:{}},ul={};var ly;function q1(){if(ly)return ul;ly=1;var i=Symbol.for("react.transitional.element"),l=Symbol.for("react.fragment");function o(u,c,d){var h=null;if(d!==void 0&&(h=""+d),c.key!==void 0&&(h=""+c.key),"key"in c){d={};for(var p in c)p!=="key"&&(d[p]=c[p])}else d=c;return c=d.ref,{$$typeof:i,type:u,key:h,ref:c!==void 0?c:null,props:d}}return ul.Fragment=l,ul.jsx=o,ul.jsxs=o,ul}var sy;function Y1(){return sy||(sy=1,Br.exports=q1()),Br.exports}var ae=Y1();const G1=zc(ae),gE=Cc({__proto__:null,default:G1},[ae]);var Nr={exports:{}},nt={};var uy;function X1(){if(uy)return nt;uy=1;var i=Symbol.for("react.transitional.element"),l=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),h=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),S=Symbol.for("react.activity"),E=Symbol.iterator;function B(A){return A===null||typeof A!="object"?null:(A=E&&A[E]||A["@@iterator"],typeof A=="function"?A:null)}var O={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},L=Object.assign,w={};function j(A,N,G){this.props=A,this.context=N,this.refs=w,this.updater=G||O}j.prototype.isReactComponent={},j.prototype.setState=function(A,N){if(typeof A!="object"&&typeof A!="function"&&A!=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,A,N,"setState")},j.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function Y(){}Y.prototype=j.prototype;function H(A,N,G){this.props=A,this.context=N,this.refs=w,this.updater=G||O}var X=H.prototype=new Y;X.constructor=H,L(X,j.prototype),X.isPureReactComponent=!0;var et=Array.isArray;function ut(){}var K={H:null,A:null,T:null,S:null},P=Object.prototype.hasOwnProperty;function Et(A,N,G){var k=G.ref;return{$$typeof:i,type:A,key:N,ref:k!==void 0?k:null,props:G}}function tt(A,N){return Et(A.type,N,A.props)}function gt(A){return typeof A=="object"&&A!==null&&A.$$typeof===i}function Tt(A){var N={"=":"=0",":":"=2"};return"$"+A.replace(/[=:]/g,function(G){return N[G]})}var le=/\/+/g;function qt(A,N){return typeof A=="object"&&A!==null&&A.key!=null?Tt(""+A.key):N.toString(36)}function Lt(A){switch(A.status){case"fulfilled":return A.value;case"rejected":throw A.reason;default:switch(typeof A.status=="string"?A.then(ut,ut):(A.status="pending",A.then(function(N){A.status==="pending"&&(A.status="fulfilled",A.value=N)},function(N){A.status==="pending"&&(A.status="rejected",A.reason=N)})),A.status){case"fulfilled":return A.value;case"rejected":throw A.reason}}throw A}function R(A,N,G,k,it){var ot=typeof A;(ot==="undefined"||ot==="boolean")&&(A=null);var St=!1;if(A===null)St=!0;else switch(ot){case"bigint":case"string":case"number":St=!0;break;case"object":switch(A.$$typeof){case i:case l:St=!0;break;case v:return St=A._init,R(St(A._payload),N,G,k,it)}}if(St)return it=it(A),St=k===""?"."+qt(A,0):k,et(it)?(G="",St!=null&&(G=St.replace(le,"$&/")+"/"),R(it,N,G,"",function(ma){return ma})):it!=null&&(gt(it)&&(it=tt(it,G+(it.key==null||A&&A.key===it.key?"":(""+it.key).replace(le,"$&/")+"/")+St)),N.push(it)),1;St=0;var se=k===""?".":k+":";if(et(A))for(var wt=0;wt<A.length;wt++)k=A[wt],ot=se+qt(k,wt),St+=R(k,N,G,ot,it);else if(wt=B(A),typeof wt=="function")for(A=wt.call(A),wt=0;!(k=A.next()).done;)k=k.value,ot=se+qt(k,wt++),St+=R(k,N,G,ot,it);else if(ot==="object"){if(typeof A.then=="function")return R(Lt(A),N,G,k,it);throw N=String(A),Error("Objects are not valid as a React child (found: "+(N==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":N)+"). If you meant to render a collection of children, use an array instead.")}return St}function q(A,N,G){if(A==null)return A;var k=[],it=0;return R(A,k,"","",function(ot){return N.call(G,ot,it++)}),k}function Q(A){if(A._status===-1){var N=A._result;N=N(),N.then(function(G){(A._status===0||A._status===-1)&&(A._status=1,A._result=G)},function(G){(A._status===0||A._status===-1)&&(A._status=2,A._result=G)}),A._status===-1&&(A._status=0,A._result=N)}if(A._status===1)return A._result.default;throw A._result}var lt=typeof reportError=="function"?reportError:function(A){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var N=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof A=="object"&&A!==null&&typeof A.message=="string"?String(A.message):String(A),error:A});if(!window.dispatchEvent(N))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",A);return}console.error(A)},dt={map:q,forEach:function(A,N,G){q(A,function(){N.apply(this,arguments)},G)},count:function(A){var N=0;return q(A,function(){N++}),N},toArray:function(A){return q(A,function(N){return N})||[]},only:function(A){if(!gt(A))throw Error("React.Children.only expected to receive a single React element child.");return A}};return nt.Activity=S,nt.Children=dt,nt.Component=j,nt.Fragment=o,nt.Profiler=c,nt.PureComponent=H,nt.StrictMode=u,nt.Suspense=g,nt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=K,nt.__COMPILER_RUNTIME={__proto__:null,c:function(A){return K.H.useMemoCache(A)}},nt.cache=function(A){return function(){return A.apply(null,arguments)}},nt.cacheSignal=function(){return null},nt.cloneElement=function(A,N,G){if(A==null)throw Error("The argument must be a React element, but you passed "+A+".");var k=L({},A.props),it=A.key;if(N!=null)for(ot in N.key!==void 0&&(it=""+N.key),N)!P.call(N,ot)||ot==="key"||ot==="__self"||ot==="__source"||ot==="ref"&&N.ref===void 0||(k[ot]=N[ot]);var ot=arguments.length-2;if(ot===1)k.children=G;else if(1<ot){for(var St=Array(ot),se=0;se<ot;se++)St[se]=arguments[se+2];k.children=St}return Et(A.type,it,k)},nt.createContext=function(A){return A={$$typeof:h,_currentValue:A,_currentValue2:A,_threadCount:0,Provider:null,Consumer:null},A.Provider=A,A.Consumer={$$typeof:d,_context:A},A},nt.createElement=function(A,N,G){var k,it={},ot=null;if(N!=null)for(k in N.key!==void 0&&(ot=""+N.key),N)P.call(N,k)&&k!=="key"&&k!=="__self"&&k!=="__source"&&(it[k]=N[k]);var St=arguments.length-2;if(St===1)it.children=G;else if(1<St){for(var se=Array(St),wt=0;wt<St;wt++)se[wt]=arguments[wt+2];it.children=se}if(A&&A.defaultProps)for(k in St=A.defaultProps,St)it[k]===void 0&&(it[k]=St[k]);return Et(A,ot,it)},nt.createRef=function(){return{current:null}},nt.forwardRef=function(A){return{$$typeof:p,render:A}},nt.isValidElement=gt,nt.lazy=function(A){return{$$typeof:v,_payload:{_status:-1,_result:A},_init:Q}},nt.memo=function(A,N){return{$$typeof:m,type:A,compare:N===void 0?null:N}},nt.startTransition=function(A){var N=K.T,G={};K.T=G;try{var k=A(),it=K.S;it!==null&&it(G,k),typeof k=="object"&&k!==null&&typeof k.then=="function"&&k.then(ut,lt)}catch(ot){lt(ot)}finally{N!==null&&G.types!==null&&(N.types=G.types),K.T=N}},nt.unstable_useCacheRefresh=function(){return K.H.useCacheRefresh()},nt.use=function(A){return K.H.use(A)},nt.useActionState=function(A,N,G){return K.H.useActionState(A,N,G)},nt.useCallback=function(A,N){return K.H.useCallback(A,N)},nt.useContext=function(A){return K.H.useContext(A)},nt.useDebugValue=function(){},nt.useDeferredValue=function(A,N){return K.H.useDeferredValue(A,N)},nt.useEffect=function(A,N){return K.H.useEffect(A,N)},nt.useEffectEvent=function(A){return K.H.useEffectEvent(A)},nt.useId=function(){return K.H.useId()},nt.useImperativeHandle=function(A,N,G){return K.H.useImperativeHandle(A,N,G)},nt.useInsertionEffect=function(A,N){return K.H.useInsertionEffect(A,N)},nt.useLayoutEffect=function(A,N){return K.H.useLayoutEffect(A,N)},nt.useMemo=function(A,N){return K.H.useMemo(A,N)},nt.useOptimistic=function(A,N){return K.H.useOptimistic(A,N)},nt.useReducer=function(A,N,G){return K.H.useReducer(A,N,G)},nt.useRef=function(A){return K.H.useRef(A)},nt.useState=function(A){return K.H.useState(A)},nt.useSyncExternalStore=function(A,N,G){return K.H.useSyncExternalStore(A,N,G)},nt.useTransition=function(){return K.H.useTransition()},nt.version="19.2.8",nt}var oy;function Oc(){return oy||(oy=1,Nr.exports=X1()),Nr.exports}var W=Oc();const Q1=zc(W),vE=Cc({__proto__:null,default:Q1},[W]);var Lr={exports:{}},ol={},wr={exports:{}},jr={};var ry;function Z1(){return ry||(ry=1,(function(i){function l(R,q){var Q=R.length;R.push(q);t:for(;0<Q;){var lt=Q-1>>>1,dt=R[lt];if(0<c(dt,q))R[lt]=q,R[Q]=dt,Q=lt;else break t}}function o(R){return R.length===0?null:R[0]}function u(R){if(R.length===0)return null;var q=R[0],Q=R.pop();if(Q!==q){R[0]=Q;t:for(var lt=0,dt=R.length,A=dt>>>1;lt<A;){var N=2*(lt+1)-1,G=R[N],k=N+1,it=R[k];if(0>c(G,Q))k<dt&&0>c(it,G)?(R[lt]=it,R[k]=Q,lt=k):(R[lt]=G,R[N]=Q,lt=N);else if(k<dt&&0>c(it,Q))R[lt]=it,R[k]=Q,lt=k;else break t}}return q}function c(R,q){var Q=R.sortIndex-q.sortIndex;return Q!==0?Q:R.id-q.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,p=h.now();i.unstable_now=function(){return h.now()-p}}var g=[],m=[],v=1,S=null,E=3,B=!1,O=!1,L=!1,w=!1,j=typeof setTimeout=="function"?setTimeout:null,Y=typeof clearTimeout=="function"?clearTimeout:null,H=typeof setImmediate<"u"?setImmediate:null;function X(R){for(var q=o(m);q!==null;){if(q.callback===null)u(m);else if(q.startTime<=R)u(m),q.sortIndex=q.expirationTime,l(g,q);else break;q=o(m)}}function et(R){if(L=!1,X(R),!O)if(o(g)!==null)O=!0,ut||(ut=!0,Tt());else{var q=o(m);q!==null&&Lt(et,q.startTime-R)}}var ut=!1,K=-1,P=5,Et=-1;function tt(){return w?!0:!(i.unstable_now()-Et<P)}function gt(){if(w=!1,ut){var R=i.unstable_now();Et=R;var q=!0;try{t:{O=!1,L&&(L=!1,Y(K),K=-1),B=!0;var Q=E;try{e:{for(X(R),S=o(g);S!==null&&!(S.expirationTime>R&&tt());){var lt=S.callback;if(typeof lt=="function"){S.callback=null,E=S.priorityLevel;var dt=lt(S.expirationTime<=R);if(R=i.unstable_now(),typeof dt=="function"){S.callback=dt,X(R),q=!0;break e}S===o(g)&&u(g),X(R)}else u(g);S=o(g)}if(S!==null)q=!0;else{var A=o(m);A!==null&&Lt(et,A.startTime-R),q=!1}}break t}finally{S=null,E=Q,B=!1}q=void 0}}finally{q?Tt():ut=!1}}}var Tt;if(typeof H=="function")Tt=function(){H(gt)};else if(typeof MessageChannel<"u"){var le=new MessageChannel,qt=le.port2;le.port1.onmessage=gt,Tt=function(){qt.postMessage(null)}}else Tt=function(){j(gt,0)};function Lt(R,q){K=j(function(){R(i.unstable_now())},q)}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(R){R.callback=null},i.unstable_forceFrameRate=function(R){0>R||125<R?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<R?Math.floor(1e3/R):5},i.unstable_getCurrentPriorityLevel=function(){return E},i.unstable_next=function(R){switch(E){case 1:case 2:case 3:var q=3;break;default:q=E}var Q=E;E=q;try{return R()}finally{E=Q}},i.unstable_requestPaint=function(){w=!0},i.unstable_runWithPriority=function(R,q){switch(R){case 1:case 2:case 3:case 4:case 5:break;default:R=3}var Q=E;E=R;try{return q()}finally{E=Q}},i.unstable_scheduleCallback=function(R,q,Q){var lt=i.unstable_now();switch(typeof Q=="object"&&Q!==null?(Q=Q.delay,Q=typeof Q=="number"&&0<Q?lt+Q:lt):Q=lt,R){case 1:var dt=-1;break;case 2:dt=250;break;case 5:dt=1073741823;break;case 4:dt=1e4;break;default:dt=5e3}return dt=Q+dt,R={id:v++,callback:q,priorityLevel:R,startTime:Q,expirationTime:dt,sortIndex:-1},Q>lt?(R.sortIndex=Q,l(m,R),o(g)===null&&R===o(m)&&(L?(Y(K),K=-1):L=!0,Lt(et,Q-lt))):(R.sortIndex=dt,l(g,R),O||B||(O=!0,ut||(ut=!0,Tt()))),R},i.unstable_shouldYield=tt,i.unstable_wrapCallback=function(R){var q=E;return function(){var Q=E;E=q;try{return R.apply(this,arguments)}finally{E=Q}}}})(jr)),jr}var cy;function K1(){return cy||(cy=1,wr.exports=Z1()),wr.exports}var Hr={exports:{}},ie={};var fy;function J1(){if(fy)return ie;fy=1;var i=Oc();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 o(){}var u={d:{f:o,r:function(){throw Error(l(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},c=Symbol.for("react.portal");function d(g,m,v){var S=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:c,key:S==null?null:""+S,children:g,containerInfo:m,implementation:v}}var h=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function p(g,m){if(g==="font")return"";if(typeof m=="string")return m==="use-credentials"?m:""}return ie.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=u,ie.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)},ie.flushSync=function(g){var m=h.T,v=u.p;try{if(h.T=null,u.p=2,g)return g()}finally{h.T=m,u.p=v,u.d.f()}},ie.preconnect=function(g,m){typeof g=="string"&&(m?(m=m.crossOrigin,m=typeof m=="string"?m==="use-credentials"?m:"":void 0):m=null,u.d.C(g,m))},ie.prefetchDNS=function(g){typeof g=="string"&&u.d.D(g)},ie.preinit=function(g,m){if(typeof g=="string"&&m&&typeof m.as=="string"){var v=m.as,S=p(v,m.crossOrigin),E=typeof m.integrity=="string"?m.integrity:void 0,B=typeof m.fetchPriority=="string"?m.fetchPriority:void 0;v==="style"?u.d.S(g,typeof m.precedence=="string"?m.precedence:void 0,{crossOrigin:S,integrity:E,fetchPriority:B}):v==="script"&&u.d.X(g,{crossOrigin:S,integrity:E,fetchPriority:B,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},ie.preinitModule=function(g,m){if(typeof g=="string")if(typeof m=="object"&&m!==null){if(m.as==null||m.as==="script"){var v=p(m.as,m.crossOrigin);u.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&&u.d.M(g)},ie.preload=function(g,m){if(typeof g=="string"&&typeof m=="object"&&m!==null&&typeof m.as=="string"){var v=m.as,S=p(v,m.crossOrigin);u.d.L(g,v,{crossOrigin:S,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0,type:typeof m.type=="string"?m.type:void 0,fetchPriority:typeof m.fetchPriority=="string"?m.fetchPriority:void 0,referrerPolicy:typeof m.referrerPolicy=="string"?m.referrerPolicy:void 0,imageSrcSet:typeof m.imageSrcSet=="string"?m.imageSrcSet:void 0,imageSizes:typeof m.imageSizes=="string"?m.imageSizes:void 0,media:typeof m.media=="string"?m.media:void 0})}},ie.preloadModule=function(g,m){if(typeof g=="string")if(m){var v=p(m.as,m.crossOrigin);u.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 u.d.m(g)},ie.requestFormReset=function(g){u.d.r(g)},ie.unstable_batchedUpdates=function(g,m){return g(m)},ie.useFormState=function(g,m,v){return h.H.useFormState(g,m,v)},ie.useFormStatus=function(){return h.H.useHostTransitionStatus()},ie.version="19.2.8",ie}var hy;function k1(){if(hy)return Hr.exports;hy=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(),Hr.exports=J1(),Hr.exports}var dy;function F1(){if(dy)return ol;dy=1;var i=K1(),l=Oc(),o=k1();function u(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 p(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function g(t){if(d(t)!==t)throw Error(u(188))}function m(t){var e=t.alternate;if(!e){if(e=d(t),e===null)throw Error(u(188));return e!==t?null:t}for(var n=t,a=e;;){var s=n.return;if(s===null)break;var r=s.alternate;if(r===null){if(a=s.return,a!==null){n=a;continue}break}if(s.child===r.child){for(r=s.child;r;){if(r===n)return g(s),t;if(r===a)return g(s),e;r=r.sibling}throw Error(u(188))}if(n.return!==a.return)n=s,a=r;else{for(var f=!1,y=s.child;y;){if(y===n){f=!0,n=s,a=r;break}if(y===a){f=!0,a=s,n=r;break}y=y.sibling}if(!f){for(y=r.child;y;){if(y===n){f=!0,n=r,a=s;break}if(y===a){f=!0,a=r,n=s;break}y=y.sibling}if(!f)throw Error(u(189))}}if(n.alternate!==a)throw Error(u(190))}if(n.tag!==3)throw Error(u(188));return n.stateNode.current===n?t:e}function v(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=v(t),e!==null)return e;t=t.sibling}return null}var S=Object.assign,E=Symbol.for("react.element"),B=Symbol.for("react.transitional.element"),O=Symbol.for("react.portal"),L=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),j=Symbol.for("react.profiler"),Y=Symbol.for("react.consumer"),H=Symbol.for("react.context"),X=Symbol.for("react.forward_ref"),et=Symbol.for("react.suspense"),ut=Symbol.for("react.suspense_list"),K=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),Et=Symbol.for("react.activity"),tt=Symbol.for("react.memo_cache_sentinel"),gt=Symbol.iterator;function Tt(t){return t===null||typeof t!="object"?null:(t=gt&&t[gt]||t["@@iterator"],typeof t=="function"?t:null)}var le=Symbol.for("react.client.reference");function qt(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===le?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case L:return"Fragment";case j:return"Profiler";case w:return"StrictMode";case et:return"Suspense";case ut:return"SuspenseList";case Et:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case O:return"Portal";case H:return t.displayName||"Context";case Y:return(t._context.displayName||"Context")+".Consumer";case X:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case K:return e=t.displayName||null,e!==null?e:qt(t.type)||"Memo";case P:e=t._payload,t=t._init;try{return qt(t(e))}catch{}}return null}var Lt=Array.isArray,R=l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,q=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q={pending:!1,data:null,method:null,action:null},lt=[],dt=-1;function A(t){return{current:t}}function N(t){0>dt||(t.current=lt[dt],lt[dt]=null,dt--)}function G(t,e){dt++,lt[dt]=t.current,t.current=e}var k=A(null),it=A(null),ot=A(null),St=A(null);function se(t,e){switch(G(ot,e),G(it,t),G(k,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?zm(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=zm(e),t=Om(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}N(k),G(k,t)}function wt(){N(k),N(it),N(ot)}function ma(t){t.memoizedState!==null&&G(St,t);var e=k.current,n=Om(e,t.type);e!==n&&(G(it,t),G(k,n))}function El(t){it.current===t&&(N(k),N(it)),St.current===t&&(N(St),il._currentValue=Q)}var yu,af;function Wn(t){if(yu===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);yu=e&&e[1]||"",af=-1<n.stack.indexOf(`
2
2
  at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
3
3
  `+yu+t+af}var pu=!1;function gu(t,e){if(!t||pu)return"";pu=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(e){var U=function(){throw Error()};if(Object.defineProperty(U.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(U,[])}catch(z){var C=z}Reflect.construct(t,[],U)}else{try{U.call()}catch(z){C=z}t.call(U.prototype)}}else{try{throw Error()}catch(z){C=z}(U=t())&&typeof U.catch=="function"&&U.catch(function(){})}}catch(z){if(z&&C&&typeof z.stack=="string")return[z.stack,C.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 r=a.DetermineComponentFrameRoot(),f=r[0],y=r[1];if(f&&y){var T=f.split(`
4
4
  `),D=y.split(`
5
5
  `);for(s=a=0;a<T.length&&!T[a].includes("DetermineComponentFrameRoot");)a++;for(;s<D.length&&!D[s].includes("DetermineComponentFrameRoot");)s++;if(a===T.length||s===D.length)for(a=T.length-1,s=D.length-1;1<=a&&0<=s&&T[a]!==D[s];)s--;for(;1<=a&&0<=s;a--,s--)if(T[a]!==D[s]){if(a!==1||s!==1)do if(a--,s--,0>s||T[a]!==D[s]){var V=`
6
6
  `+T[a].replace(" at new "," at ");return t.displayName&&V.includes("<anonymous>")&&(V=V.replace("<anonymous>",t.displayName)),V}while(1<=a&&0<=s);break}}}finally{pu=!1,Error.prepareStackTrace=n}return(n=t?t.displayName||t.name:"")?Wn(n):""}function g0(t,e){switch(t.tag){case 26:case 27:case 5:return Wn(t.type);case 16:return Wn("Lazy");case 13:return t.child!==e&&e!==null?Wn("Suspense Fallback"):Wn("Suspense");case 19:return Wn("SuspenseList");case 0:case 15:return gu(t.type,!1);case 11:return gu(t.type.render,!1);case 1:return gu(t.type,!0);case 31:return Wn("Activity");default:return""}}function lf(t){try{var e="",n=null;do e+=g0(t,n),n=t,t=t.return;while(t);return e}catch(a){return`
7
7
  Error generating stack: `+a.message+`
8
- `+a.stack}}var vu=Object.prototype.hasOwnProperty,Su=i.unstable_scheduleCallback,Tu=i.unstable_cancelCallback,v0=i.unstable_shouldYield,S0=i.unstable_requestPaint,ge=i.unstable_now,T0=i.unstable_getCurrentPriorityLevel,sf=i.unstable_ImmediatePriority,uf=i.unstable_UserBlockingPriority,Ml=i.unstable_NormalPriority,b0=i.unstable_LowPriority,of=i.unstable_IdlePriority,A0=i.log,E0=i.unstable_setDisableYieldValue,ya=null,ve=null;function bn(t){if(typeof A0=="function"&&E0(t),ve&&typeof ve.setStrictMode=="function")try{ve.setStrictMode(ya,t)}catch{}}var Se=Math.clz32?Math.clz32:D0,M0=Math.log,x0=Math.LN2;function D0(t){return t>>>=0,t===0?32:31-(M0(t)/x0|0)|0}var xl=256,Dl=262144,Cl=4194304;function Pn(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function zl(t,e,n){var a=t.pendingLanes;if(a===0)return 0;var s=0,r=t.suspendedLanes,f=t.pingedLanes;t=t.warmLanes;var y=a&134217727;return y!==0?(a=y&~r,a!==0?s=Pn(a):(f&=y,f!==0?s=Pn(f):n||(n=y&~t,n!==0&&(s=Pn(n))))):(y=a&~r,y!==0?s=Pn(y):f!==0?s=Pn(f):n||(n=a&~t,n!==0&&(s=Pn(n)))),s===0?0:e!==0&&e!==s&&(e&r)===0&&(r=s&-s,n=e&-e,r>=n||r===32&&(n&4194048)!==0)?e:s}function pa(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function C0(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 rf(){var t=Cl;return Cl<<=1,(Cl&62914560)===0&&(Cl=4194304),t}function bu(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function ga(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function z0(t,e,n,a,s,r){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 y=t.entanglements,T=t.expirationTimes,D=t.hiddenUpdates;for(n=f&~n;0<n;){var V=31-Se(n),U=1<<V;y[V]=0,T[V]=-1;var C=D[V];if(C!==null)for(D[V]=null,V=0;V<C.length;V++){var z=C[V];z!==null&&(z.lane&=-536870913)}n&=~U}a!==0&&cf(t,a,0),r!==0&&s===0&&t.tag!==0&&(t.suspendedLanes|=r&~(f&~e))}function cf(t,e,n){t.pendingLanes|=e,t.suspendedLanes&=~e;var a=31-Se(e);t.entangledLanes|=e,t.entanglements[a]=t.entanglements[a]|1073741824|n&261930}function ff(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var a=31-Se(n),s=1<<a;s&e|t[a]&e&&(t[a]|=e),n&=~s}}function hf(t,e){var n=e&-e;return n=(n&42)!==0?1:Au(n),(n&(t.suspendedLanes|e))!==0?0:n}function Au(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 Eu(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function df(){var t=q.p;return t!==0?t:(t=window.event,t===void 0?32:$m(t.type))}function mf(t,e){var n=q.p;try{return q.p=t,e()}finally{q.p=n}}var An=Math.random().toString(36).slice(2),Wt="__reactFiber$"+An,ce="__reactProps$"+An,bi="__reactContainer$"+An,Mu="__reactEvents$"+An,O0="__reactListeners$"+An,R0="__reactHandles$"+An,yf="__reactResources$"+An,va="__reactMarker$"+An;function xu(t){delete t[Wt],delete t[ce],delete t[Mu],delete t[O0],delete t[R0]}function Ai(t){var e=t[Wt];if(e)return e;for(var n=t.parentNode;n;){if(e=n[bi]||n[Wt]){if(n=e.alternate,e.child!==null||n!==null&&n.child!==null)for(t=Lm(t);t!==null;){if(n=t[Wt])return n;t=Lm(t)}return e}t=n,n=t.parentNode}return null}function Ei(t){if(t=t[Wt]||t[bi]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function Sa(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(u(33))}function Mi(t){var e=t[yf];return e||(e=t[yf]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function kt(t){t[va]=!0}var pf=new Set,gf={};function $n(t,e){xi(t,e),xi(t+"Capture",e)}function xi(t,e){for(gf[t]=e,t=0;t<e.length;t++)pf.add(e[t])}var V0=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]*$"),vf={},Sf={};function _0(t){return vu.call(Sf,t)?!0:vu.call(vf,t)?!1:V0.test(t)?Sf[t]=!0:(vf[t]=!0,!1)}function Ol(t,e,n){if(_0(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 Rl(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 en(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)}}function ze(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Tf(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function U0(t,e,n){var a=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var s=a.get,r=a.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return s.call(this)},set:function(f){n=""+f,r.call(this,f)}}),Object.defineProperty(t,e,{enumerable:a.enumerable}),{getValue:function(){return n},setValue:function(f){n=""+f},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Du(t){if(!t._valueTracker){var e=Tf(t)?"checked":"value";t._valueTracker=U0(t,e,""+t[e])}}function bf(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),a="";return t&&(a=Tf(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 B0=/[\n"\\]/g;function Oe(t){return t.replace(B0,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Cu(t,e,n,a,s,r,f,y){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=""+ze(e)):t.value!==""+ze(e)&&(t.value=""+ze(e)):f!=="submit"&&f!=="reset"||t.removeAttribute("value"),e!=null?zu(t,f,ze(e)):n!=null?zu(t,f,ze(n)):a!=null&&t.removeAttribute("value"),s==null&&r!=null&&(t.defaultChecked=!!r),s!=null&&(t.checked=s&&typeof s!="function"&&typeof s!="symbol"),y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?t.name=""+ze(y):t.removeAttribute("name")}function Af(t,e,n,a,s,r,f,y){if(r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"&&(t.type=r),e!=null||n!=null){if(!(r!=="submit"&&r!=="reset"||e!=null)){Du(t);return}n=n!=null?""+ze(n):"",e=e!=null?""+ze(e):n,y||e===t.value||(t.value=e),t.defaultValue=e}a=a??s,a=typeof a!="function"&&typeof a!="symbol"&&!!a,t.checked=y?t.checked:!!a,t.defaultChecked=!!a,f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(t.name=f),Du(t)}function zu(t,e,n){e==="number"&&Vl(t.ownerDocument)===t||t.defaultValue===""+n||(t.defaultValue=""+n)}function Di(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=""+ze(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 Ef(t,e,n){if(e!=null&&(e=""+ze(e),e!==t.value&&(t.value=e),n==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=n!=null?""+ze(n):""}function Mf(t,e,n,a){if(e==null){if(a!=null){if(n!=null)throw Error(u(92));if(Lt(a)){if(1<a.length)throw Error(u(93));a=a[0]}n=a}n==null&&(n=""),e=n}n=ze(e),t.defaultValue=n,a=t.textContent,a===n&&a!==""&&a!==null&&(t.value=a),Du(t)}function Ci(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var N0=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 xf(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||N0.has(e)?e==="float"?t.cssFloat=n:t[e]=(""+n).trim():t[e]=n+"px"}function Df(t,e,n){if(e!=null&&typeof e!="object")throw Error(u(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&&xf(t,s,a)}else for(var r in e)e.hasOwnProperty(r)&&xf(t,r,e[r])}function Ou(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 L0=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),w0=/^[\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 _l(t){return w0.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function nn(){}var Ru=null;function Vu(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var zi=null,Oi=null;function Cf(t){var e=Ei(t);if(e&&(t=e.stateNode)){var n=t[ce]||null;t:switch(t=e.stateNode,e.type){case"input":if(Cu(t,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),e=n.name,n.type==="radio"&&e!=null){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+Oe(""+e)+'"][type="radio"]'),e=0;e<n.length;e++){var a=n[e];if(a!==t&&a.form===t.form){var s=a[ce]||null;if(!s)throw Error(u(90));Cu(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&&bf(a)}break t;case"textarea":Ef(t,n.value,n.defaultValue);break t;case"select":e=n.value,e!=null&&Di(t,!!n.multiple,e,!1)}}}var _u=!1;function zf(t,e,n){if(_u)return t(e,n);_u=!0;try{var a=t(e);return a}finally{if(_u=!1,(zi!==null||Oi!==null)&&(Ss(),zi&&(e=zi,t=Oi,Oi=zi=null,Cf(e),t)))for(e=0;e<t.length;e++)Cf(t[e])}}function Ta(t,e){var n=t.stateNode;if(n===null)return null;var a=n[ce]||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(u(231,e,typeof n));return n}var an=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Uu=!1;if(an)try{var ba={};Object.defineProperty(ba,"passive",{get:function(){Uu=!0}}),window.addEventListener("test",ba,ba),window.removeEventListener("test",ba,ba)}catch{Uu=!1}var En=null,Bu=null,Ul=null;function Of(){if(Ul)return Ul;var t,e=Bu,n=e.length,a,s="value"in En?En.value:En.textContent,r=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[r-a];a++);return Ul=s.slice(t,1<a?1-a:void 0)}function Bl(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function Nl(){return!0}function Rf(){return!1}function fe(t){function e(n,a,s,r,f){this._reactName=n,this._targetInst=s,this.type=a,this.nativeEvent=r,this.target=f,this.currentTarget=null;for(var y in t)t.hasOwnProperty(y)&&(n=t[y],this[y]=n?n(r):r[y]);return this.isDefaultPrevented=(r.defaultPrevented!=null?r.defaultPrevented:r.returnValue===!1)?Nl:Rf,this.isPropagationStopped=Rf,this}return S(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Nl)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Nl)},persist:function(){},isPersistent:Nl}),e}var In={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ll=fe(In),Aa=S({},In,{view:0,detail:0}),j0=fe(Aa),Nu,Lu,Ea,wl=S({},Aa,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ju,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!==Ea&&(Ea&&t.type==="mousemove"?(Nu=t.screenX-Ea.screenX,Lu=t.screenY-Ea.screenY):Lu=Nu=0,Ea=t),Nu)},movementY:function(t){return"movementY"in t?t.movementY:Lu}}),Vf=fe(wl),H0=S({},wl,{dataTransfer:0}),q0=fe(H0),Y0=S({},Aa,{relatedTarget:0}),wu=fe(Y0),G0=S({},In,{animationName:0,elapsedTime:0,pseudoElement:0}),X0=fe(G0),Z0=S({},In,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Q0=fe(Z0),K0=S({},In,{data:0}),_f=fe(K0),J0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},k0={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"},F0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function W0(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=F0[t])?!!e[t]:!1}function ju(){return W0}var P0=S({},Aa,{key:function(t){if(t.key){var e=J0[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Bl(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?k0[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ju,charCode:function(t){return t.type==="keypress"?Bl(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Bl(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),$0=fe(P0),I0=S({},wl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Uf=fe(I0),tv=S({},Aa,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ju}),ev=fe(tv),nv=S({},In,{propertyName:0,elapsedTime:0,pseudoElement:0}),iv=fe(nv),av=S({},wl,{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}),lv=fe(av),sv=S({},In,{newState:0,oldState:0}),uv=fe(sv),ov=[9,13,27,32],Hu=an&&"CompositionEvent"in window,Ma=null;an&&"documentMode"in document&&(Ma=document.documentMode);var rv=an&&"TextEvent"in window&&!Ma,Bf=an&&(!Hu||Ma&&8<Ma&&11>=Ma),Nf=" ",Lf=!1;function wf(t,e){switch(t){case"keyup":return ov.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jf(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Ri=!1;function cv(t,e){switch(t){case"compositionend":return jf(e);case"keypress":return e.which!==32?null:(Lf=!0,Nf);case"textInput":return t=e.data,t===Nf&&Lf?null:t;default:return null}}function fv(t,e){if(Ri)return t==="compositionend"||!Hu&&wf(t,e)?(t=Of(),Ul=Bu=En=null,Ri=!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 Bf&&e.locale!=="ko"?null:e.data;default:return null}}var hv={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Hf(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!hv[t.type]:e==="textarea"}function qf(t,e,n,a){zi?Oi?Oi.push(a):Oi=[a]:zi=a,e=Ds(e,"onChange"),0<e.length&&(n=new Ll("onChange","change",null,n,a),t.push({event:n,listeners:e}))}var xa=null,Da=null;function dv(t){Am(t,0)}function jl(t){var e=Sa(t);if(bf(e))return t}function Yf(t,e){if(t==="change")return e}var Gf=!1;if(an){var qu;if(an){var Yu="oninput"in document;if(!Yu){var Xf=document.createElement("div");Xf.setAttribute("oninput","return;"),Yu=typeof Xf.oninput=="function"}qu=Yu}else qu=!1;Gf=qu&&(!document.documentMode||9<document.documentMode)}function Zf(){xa&&(xa.detachEvent("onpropertychange",Qf),Da=xa=null)}function Qf(t){if(t.propertyName==="value"&&jl(Da)){var e=[];qf(e,Da,t,Vu(t)),zf(dv,e)}}function mv(t,e,n){t==="focusin"?(Zf(),xa=e,Da=n,xa.attachEvent("onpropertychange",Qf)):t==="focusout"&&Zf()}function yv(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return jl(Da)}function pv(t,e){if(t==="click")return jl(e)}function gv(t,e){if(t==="input"||t==="change")return jl(e)}function vv(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Te=typeof Object.is=="function"?Object.is:vv;function Ca(t,e){if(Te(t,e))return!0;if(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(!vu.call(e,s)||!Te(t[s],e[s]))return!1}return!0}function Kf(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Jf(t,e){var n=Kf(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=Kf(n)}}function kf(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?kf(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Ff(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 Gu(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 Sv=an&&"documentMode"in document&&11>=document.documentMode,Vi=null,Xu=null,za=null,Zu=!1;function Wf(t,e,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Zu||Vi==null||Vi!==Vl(a)||(a=Vi,"selectionStart"in a&&Gu(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}),za&&Ca(za,a)||(za=a,a=Ds(Xu,"onSelect"),0<a.length&&(e=new Ll("onSelect","select",null,e,n),t.push({event:e,listeners:a}),e.target=Vi)))}function ti(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var _i={animationend:ti("Animation","AnimationEnd"),animationiteration:ti("Animation","AnimationIteration"),animationstart:ti("Animation","AnimationStart"),transitionrun:ti("Transition","TransitionRun"),transitionstart:ti("Transition","TransitionStart"),transitioncancel:ti("Transition","TransitionCancel"),transitionend:ti("Transition","TransitionEnd")},Qu={},Pf={};an&&(Pf=document.createElement("div").style,"AnimationEvent"in window||(delete _i.animationend.animation,delete _i.animationiteration.animation,delete _i.animationstart.animation),"TransitionEvent"in window||delete _i.transitionend.transition);function ei(t){if(Qu[t])return Qu[t];if(!_i[t])return t;var e=_i[t],n;for(n in e)if(e.hasOwnProperty(n)&&n in Pf)return Qu[t]=e[n];return t}var $f=ei("animationend"),If=ei("animationiteration"),th=ei("animationstart"),Tv=ei("transitionrun"),bv=ei("transitionstart"),Av=ei("transitioncancel"),eh=ei("transitionend"),nh=new Map,Ku="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(" ");Ku.push("scrollEnd");function qe(t,e){nh.set(t,e),$n(e,[t])}var Hl=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)},Re=[],Ui=0,Ju=0;function ql(){for(var t=Ui,e=Ju=Ui=0;e<t;){var n=Re[e];Re[e++]=null;var a=Re[e];Re[e++]=null;var s=Re[e];Re[e++]=null;var r=Re[e];if(Re[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}r!==0&&ih(n,s,r)}}function Yl(t,e,n,a){Re[Ui++]=t,Re[Ui++]=e,Re[Ui++]=n,Re[Ui++]=a,Ju|=a,t.lanes|=a,t=t.alternate,t!==null&&(t.lanes|=a)}function ku(t,e,n,a){return Yl(t,e,n,a),Gl(t)}function ni(t,e){return Yl(t,null,null,e),Gl(t)}function ih(t,e,n){t.lanes|=n;var a=t.alternate;a!==null&&(a.lanes|=n);for(var s=!1,r=t.return;r!==null;)r.childLanes|=n,a=r.alternate,a!==null&&(a.childLanes|=n),r.tag===22&&(t=r.stateNode,t===null||t._visibility&1||(s=!0)),t=r,r=r.return;return t.tag===3?(r=t.stateNode,s&&e!==null&&(s=31-Se(n),t=r.hiddenUpdates,a=t[s],a===null?t[s]=[e]:a.push(e),e.lane=n|536870912),r):null}function Gl(t){if(50<Wa)throw Wa=0,ar=null,Error(u(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var Bi={};function Ev(t,e,n,a){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function be(t,e,n,a){return new Ev(t,e,n,a)}function Fu(t){return t=t.prototype,!(!t||!t.isReactComponent)}function ln(t,e){var n=t.alternate;return n===null?(n=be(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 ah(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 Xl(t,e,n,a,s,r){var f=0;if(a=t,typeof t=="function")Fu(t)&&(f=1);else if(typeof t=="string")f=z1(t,n,k.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case Et:return t=be(31,n,e,s),t.elementType=Et,t.lanes=r,t;case L:return ii(n.children,s,r,e);case w:f=8,s|=24;break;case j:return t=be(12,n,e,s|2),t.elementType=j,t.lanes=r,t;case et:return t=be(13,n,e,s),t.elementType=et,t.lanes=r,t;case ut:return t=be(19,n,e,s),t.elementType=ut,t.lanes=r,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case H:f=10;break t;case Y:f=9;break t;case X:f=11;break t;case K:f=14;break t;case P:f=16,a=null;break t}f=29,n=Error(u(130,t===null?"null":typeof t,"")),a=null}return e=be(f,n,e,s),e.elementType=t,e.type=a,e.lanes=r,e}function ii(t,e,n,a){return t=be(7,t,a,e),t.lanes=n,t}function Wu(t,e,n){return t=be(6,t,null,e),t.lanes=n,t}function lh(t){var e=be(18,null,null,0);return e.stateNode=t,e}function Pu(t,e,n){return e=be(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var sh=new WeakMap;function Ve(t,e){if(typeof t=="object"&&t!==null){var n=sh.get(t);return n!==void 0?n:(e={value:t,source:e,stack:lf(e)},sh.set(t,e),e)}return{value:t,source:e,stack:lf(e)}}var Ni=[],Li=0,Zl=null,Oa=0,_e=[],Ue=0,Mn=null,Je=1,ke="";function sn(t,e){Ni[Li++]=Oa,Ni[Li++]=Zl,Zl=t,Oa=e}function uh(t,e,n){_e[Ue++]=Je,_e[Ue++]=ke,_e[Ue++]=Mn,Mn=t;var a=Je;t=ke;var s=32-Se(a)-1;a&=~(1<<s),n+=1;var r=32-Se(e)+s;if(30<r){var f=s-s%5;r=(a&(1<<f)-1).toString(32),a>>=f,s-=f,Je=1<<32-Se(e)+s|n<<s|a,ke=r+t}else Je=1<<r|n<<s|a,ke=t}function $u(t){t.return!==null&&(sn(t,1),uh(t,1,0))}function Iu(t){for(;t===Zl;)Zl=Ni[--Li],Ni[Li]=null,Oa=Ni[--Li],Ni[Li]=null;for(;t===Mn;)Mn=_e[--Ue],_e[Ue]=null,ke=_e[--Ue],_e[Ue]=null,Je=_e[--Ue],_e[Ue]=null}function oh(t,e){_e[Ue++]=Je,_e[Ue++]=ke,_e[Ue++]=Mn,Je=e.id,ke=e.overflow,Mn=t}var Pt=null,Rt=null,mt=!1,xn=null,Be=!1,to=Error(u(519));function Dn(t){var e=Error(u(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ra(Ve(e,t)),to}function rh(t){var e=t.stateNode,n=t.type,a=t.memoizedProps;switch(e[Wt]=t,e[ce]=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<$a.length;n++)ct($a[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);break;case"select":ct("invalid",e);break;case"textarea":ct("invalid",e),Mf(e,a.value,a.defaultValue,a.children)}n=a.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||e.textContent===""+n||a.suppressHydrationWarning===!0||Dm(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=nn),e=!0):e=!1,e||Dn(t,!0)}function ch(t){for(Pt=t.return;Pt;)switch(Pt.tag){case 5:case 31:case 13:Be=!1;return;case 27:case 3:Be=!0;return;default:Pt=Pt.return}}function wi(t){if(t!==Pt)return!1;if(!mt)return ch(t),mt=!0,!1;var e=t.tag,n;if((n=e!==3&&e!==27)&&((n=e===5)&&(n=t.type,n=!(n!=="form"&&n!=="button")||Sr(t.type,t.memoizedProps)),n=!n),n&&Rt&&Dn(t),ch(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(u(317));Rt=Nm(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(u(317));Rt=Nm(t)}else e===27?(e=Rt,qn(t.type)?(t=Mr,Mr=null,Rt=t):Rt=e):Rt=Pt?Le(t.stateNode.nextSibling):null;return!0}function ai(){Rt=Pt=null,mt=!1}function eo(){var t=xn;return t!==null&&(ye===null?ye=t:ye.push.apply(ye,t),xn=null),t}function Ra(t){xn===null?xn=[t]:xn.push(t)}var no=A(null),li=null,un=null;function Cn(t,e,n){G(no,e._currentValue),e._currentValue=n}function on(t){t._currentValue=no.current,N(no)}function io(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 ao(t,e,n,a){var s=t.child;for(s!==null&&(s.return=t);s!==null;){var r=s.dependencies;if(r!==null){var f=s.child;r=r.firstContext;t:for(;r!==null;){var y=r;r=s;for(var T=0;T<e.length;T++)if(y.context===e[T]){r.lanes|=n,y=r.alternate,y!==null&&(y.lanes|=n),io(r.return,n,t),a||(f=null);break t}r=y.next}}else if(s.tag===18){if(f=s.return,f===null)throw Error(u(341));f.lanes|=n,r=f.alternate,r!==null&&(r.lanes|=n),io(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 ji(t,e,n,a){t=null;for(var s=e,r=!1;s!==null;){if(!r){if((s.flags&524288)!==0)r=!0;else if((s.flags&262144)!==0)break}if(s.tag===10){var f=s.alternate;if(f===null)throw Error(u(387));if(f=f.memoizedProps,f!==null){var y=s.type;Te(s.pendingProps.value,f.value)||(t!==null?t.push(y):t=[y])}}else if(s===St.current){if(f=s.alternate,f===null)throw Error(u(387));f.memoizedState.memoizedState!==s.memoizedState.memoizedState&&(t!==null?t.push(il):t=[il])}s=s.return}t!==null&&ao(e,t,n,a),e.flags|=262144}function Ql(t){for(t=t.firstContext;t!==null;){if(!Te(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function si(t){li=t,un=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function $t(t){return fh(li,t)}function Kl(t,e){return li===null&&si(t),fh(t,e)}function fh(t,e){var n=e._currentValue;if(e={context:e,memoizedValue:n,next:null},un===null){if(t===null)throw Error(u(308));un=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else un=un.next=e;return n}var Mv=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()})}},xv=i.unstable_scheduleCallback,Dv=i.unstable_NormalPriority,Yt={$$typeof:H,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function lo(){return{controller:new Mv,data:new Map,refCount:0}}function Va(t){t.refCount--,t.refCount===0&&xv(Dv,function(){t.controller.abort()})}var _a=null,so=0,Hi=0,qi=null;function Cv(t,e){if(_a===null){var n=_a=[];so=0,Hi=cr(),qi={status:"pending",value:void 0,then:function(a){n.push(a)}}}return so++,e.then(hh,hh),e}function hh(){if(--so===0&&_a!==null){qi!==null&&(qi.status="fulfilled");var t=_a;_a=null,Hi=0,qi=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function zv(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 dh=R.S;R.S=function(t,e){Wd=ge(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&Cv(t,e),dh!==null&&dh(t,e)};var ui=A(null);function uo(){var t=ui.current;return t!==null?t:Ct.pooledCache}function Jl(t,e){e===null?G(ui,ui.current):G(ui,e.pool)}function mh(){var t=uo();return t===null?null:{parent:Yt._currentValue,pool:t}}var Yi=Error(u(460)),oo=Error(u(474)),kl=Error(u(542)),Fl={then:function(){}};function yh(t){return t=t.status,t==="fulfilled"||t==="rejected"}function ph(t,e,n){switch(n=t[n],n===void 0?t.push(e):n!==e&&(e.then(nn,nn),e=n),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,vh(t),t;default:if(typeof e.status=="string")e.then(nn,nn);else{if(t=Ct,t!==null&&100<t.shellSuspendCounter)throw Error(u(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,vh(t),t}throw ri=e,Yi}}function oi(t){try{var e=t._init;return e(t._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(ri=n,Yi):n}}var ri=null;function gh(){if(ri===null)throw Error(u(459));var t=ri;return ri=null,t}function vh(t){if(t===Yi||t===kl)throw Error(u(483))}var Gi=null,Ua=0;function Wl(t){var e=Ua;return Ua+=1,Gi===null&&(Gi=[]),ph(Gi,t,e)}function Ba(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function Pl(t,e){throw e.$$typeof===E?Error(u(525)):(t=Object.prototype.toString.call(e),Error(u(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function Sh(t){function e(M,b){if(t){var x=M.deletions;x===null?(M.deletions=[b],M.flags|=16):x.push(b)}}function n(M,b){if(!t)return null;for(;b!==null;)e(M,b),b=b.sibling;return null}function a(M){for(var b=new Map;M!==null;)M.key!==null?b.set(M.key,M):b.set(M.index,M),M=M.sibling;return b}function s(M,b){return M=ln(M,b),M.index=0,M.sibling=null,M}function r(M,b,x){return M.index=x,t?(x=M.alternate,x!==null?(x=x.index,x<b?(M.flags|=67108866,b):x):(M.flags|=67108866,b)):(M.flags|=1048576,b)}function f(M){return t&&M.alternate===null&&(M.flags|=67108866),M}function y(M,b,x,_){return b===null||b.tag!==6?(b=Wu(x,M.mode,_),b.return=M,b):(b=s(b,x),b.return=M,b)}function T(M,b,x,_){var $=x.type;return $===L?V(M,b,x.props.children,_,x.key):b!==null&&(b.elementType===$||typeof $=="object"&&$!==null&&$.$$typeof===P&&oi($)===b.type)?(b=s(b,x.props),Ba(b,x),b.return=M,b):(b=Xl(x.type,x.key,x.props,null,M.mode,_),Ba(b,x),b.return=M,b)}function D(M,b,x,_){return b===null||b.tag!==4||b.stateNode.containerInfo!==x.containerInfo||b.stateNode.implementation!==x.implementation?(b=Pu(x,M.mode,_),b.return=M,b):(b=s(b,x.children||[]),b.return=M,b)}function V(M,b,x,_,$){return b===null||b.tag!==7?(b=ii(x,M.mode,_,$),b.return=M,b):(b=s(b,x),b.return=M,b)}function U(M,b,x){if(typeof b=="string"&&b!==""||typeof b=="number"||typeof b=="bigint")return b=Wu(""+b,M.mode,x),b.return=M,b;if(typeof b=="object"&&b!==null){switch(b.$$typeof){case B:return x=Xl(b.type,b.key,b.props,null,M.mode,x),Ba(x,b),x.return=M,x;case O:return b=Pu(b,M.mode,x),b.return=M,b;case P:return b=oi(b),U(M,b,x)}if(Lt(b)||Tt(b))return b=ii(b,M.mode,x,null),b.return=M,b;if(typeof b.then=="function")return U(M,Wl(b),x);if(b.$$typeof===H)return U(M,Kl(M,b),x);Pl(M,b)}return null}function C(M,b,x,_){var $=b!==null?b.key:null;if(typeof x=="string"&&x!==""||typeof x=="number"||typeof x=="bigint")return $!==null?null:y(M,b,""+x,_);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case B:return x.key===$?T(M,b,x,_):null;case O:return x.key===$?D(M,b,x,_):null;case P:return x=oi(x),C(M,b,x,_)}if(Lt(x)||Tt(x))return $!==null?null:V(M,b,x,_,null);if(typeof x.then=="function")return C(M,b,Wl(x),_);if(x.$$typeof===H)return C(M,b,Kl(M,x),_);Pl(M,x)}return null}function z(M,b,x,_,$){if(typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint")return M=M.get(x)||null,y(b,M,""+_,$);if(typeof _=="object"&&_!==null){switch(_.$$typeof){case B:return M=M.get(_.key===null?x:_.key)||null,T(b,M,_,$);case O:return M=M.get(_.key===null?x:_.key)||null,D(b,M,_,$);case P:return _=oi(_),z(M,b,x,_,$)}if(Lt(_)||Tt(_))return M=M.get(x)||null,V(b,M,_,$,null);if(typeof _.then=="function")return z(M,b,x,Wl(_),$);if(_.$$typeof===H)return z(M,b,x,Kl(b,_),$);Pl(b,_)}return null}function Q(M,b,x,_){for(var $=null,yt=null,F=b,st=b=0,ht=null;F!==null&&st<x.length;st++){F.index>st?(ht=F,F=null):ht=F.sibling;var pt=C(M,F,x[st],_);if(pt===null){F===null&&(F=ht);break}t&&F&&pt.alternate===null&&e(M,F),b=r(pt,b,st),yt===null?$=pt:yt.sibling=pt,yt=pt,F=ht}if(st===x.length)return n(M,F),mt&&sn(M,st),$;if(F===null){for(;st<x.length;st++)F=U(M,x[st],_),F!==null&&(b=r(F,b,st),yt===null?$=F:yt.sibling=F,yt=F);return mt&&sn(M,st),$}for(F=a(F);st<x.length;st++)ht=z(F,M,st,x[st],_),ht!==null&&(t&&ht.alternate!==null&&F.delete(ht.key===null?st:ht.key),b=r(ht,b,st),yt===null?$=ht:yt.sibling=ht,yt=ht);return t&&F.forEach(function(Qn){return e(M,Qn)}),mt&&sn(M,st),$}function I(M,b,x,_){if(x==null)throw Error(u(151));for(var $=null,yt=null,F=b,st=b=0,ht=null,pt=x.next();F!==null&&!pt.done;st++,pt=x.next()){F.index>st?(ht=F,F=null):ht=F.sibling;var Qn=C(M,F,pt.value,_);if(Qn===null){F===null&&(F=ht);break}t&&F&&Qn.alternate===null&&e(M,F),b=r(Qn,b,st),yt===null?$=Qn:yt.sibling=Qn,yt=Qn,F=ht}if(pt.done)return n(M,F),mt&&sn(M,st),$;if(F===null){for(;!pt.done;st++,pt=x.next())pt=U(M,pt.value,_),pt!==null&&(b=r(pt,b,st),yt===null?$=pt:yt.sibling=pt,yt=pt);return mt&&sn(M,st),$}for(F=a(F);!pt.done;st++,pt=x.next())pt=z(F,M,st,pt.value,_),pt!==null&&(t&&pt.alternate!==null&&F.delete(pt.key===null?st:pt.key),b=r(pt,b,st),yt===null?$=pt:yt.sibling=pt,yt=pt);return t&&F.forEach(function(H1){return e(M,H1)}),mt&&sn(M,st),$}function Dt(M,b,x,_){if(typeof x=="object"&&x!==null&&x.type===L&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case B:t:{for(var $=x.key;b!==null;){if(b.key===$){if($=x.type,$===L){if(b.tag===7){n(M,b.sibling),_=s(b,x.props.children),_.return=M,M=_;break t}}else if(b.elementType===$||typeof $=="object"&&$!==null&&$.$$typeof===P&&oi($)===b.type){n(M,b.sibling),_=s(b,x.props),Ba(_,x),_.return=M,M=_;break t}n(M,b);break}else e(M,b);b=b.sibling}x.type===L?(_=ii(x.props.children,M.mode,_,x.key),_.return=M,M=_):(_=Xl(x.type,x.key,x.props,null,M.mode,_),Ba(_,x),_.return=M,M=_)}return f(M);case O:t:{for($=x.key;b!==null;){if(b.key===$)if(b.tag===4&&b.stateNode.containerInfo===x.containerInfo&&b.stateNode.implementation===x.implementation){n(M,b.sibling),_=s(b,x.children||[]),_.return=M,M=_;break t}else{n(M,b);break}else e(M,b);b=b.sibling}_=Pu(x,M.mode,_),_.return=M,M=_}return f(M);case P:return x=oi(x),Dt(M,b,x,_)}if(Lt(x))return Q(M,b,x,_);if(Tt(x)){if($=Tt(x),typeof $!="function")throw Error(u(150));return x=$.call(x),I(M,b,x,_)}if(typeof x.then=="function")return Dt(M,b,Wl(x),_);if(x.$$typeof===H)return Dt(M,b,Kl(M,x),_);Pl(M,x)}return typeof x=="string"&&x!==""||typeof x=="number"||typeof x=="bigint"?(x=""+x,b!==null&&b.tag===6?(n(M,b.sibling),_=s(b,x),_.return=M,M=_):(n(M,b),_=Wu(x,M.mode,_),_.return=M,M=_),f(M)):n(M,b)}return function(M,b,x,_){try{Ua=0;var $=Dt(M,b,x,_);return Gi=null,$}catch(F){if(F===Yi||F===kl)throw F;var yt=be(29,F,null,M.mode);return yt.lanes=_,yt.return=M,yt}}}var ci=Sh(!0),Th=Sh(!1),zn=!1;function ro(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function co(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 On(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Rn(t,e,n){var a=t.updateQueue;if(a===null)return null;if(a=a.shared,(vt&2)!==0){var s=a.pending;return s===null?e.next=e:(e.next=s.next,s.next=e),a.pending=e,e=Gl(t),ih(t,null,n),e}return Yl(t,a,e,n),Gl(t)}function Na(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,ff(t,n)}}function fo(t,e){var n=t.updateQueue,a=t.alternate;if(a!==null&&(a=a.updateQueue,n===a)){var s=null,r=null;if(n=n.firstBaseUpdate,n!==null){do{var f={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};r===null?s=r=f:r=r.next=f,n=n.next}while(n!==null);r===null?s=r=e:r=r.next=e}else s=r=e;n={baseState:a.baseState,firstBaseUpdate:s,lastBaseUpdate:r,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 ho=!1;function La(){if(ho){var t=qi;if(t!==null)throw t}}function wa(t,e,n,a){ho=!1;var s=t.updateQueue;zn=!1;var r=s.firstBaseUpdate,f=s.lastBaseUpdate,y=s.shared.pending;if(y!==null){s.shared.pending=null;var T=y,D=T.next;T.next=null,f===null?r=D:f.next=D,f=T;var V=t.alternate;V!==null&&(V=V.updateQueue,y=V.lastBaseUpdate,y!==f&&(y===null?V.firstBaseUpdate=D:y.next=D,V.lastBaseUpdate=T))}if(r!==null){var U=s.baseState;f=0,V=D=T=null,y=r;do{var C=y.lane&-536870913,z=C!==y.lane;if(z?(ft&C)===C:(a&C)===C){C!==0&&C===Hi&&(ho=!0),V!==null&&(V=V.next={lane:0,tag:y.tag,payload:y.payload,callback:null,next:null});t:{var Q=t,I=y;C=e;var Dt=n;switch(I.tag){case 1:if(Q=I.payload,typeof Q=="function"){U=Q.call(Dt,U,C);break t}U=Q;break t;case 3:Q.flags=Q.flags&-65537|128;case 0:if(Q=I.payload,C=typeof Q=="function"?Q.call(Dt,U,C):Q,C==null)break t;U=S({},U,C);break t;case 2:zn=!0}}C=y.callback,C!==null&&(t.flags|=64,z&&(t.flags|=8192),z=s.callbacks,z===null?s.callbacks=[C]:z.push(C))}else z={lane:C,tag:y.tag,payload:y.payload,callback:y.callback,next:null},V===null?(D=V=z,T=U):V=V.next=z,f|=C;if(y=y.next,y===null){if(y=s.shared.pending,y===null)break;z=y,y=z.next,z.next=null,s.lastBaseUpdate=z,s.shared.pending=null}}while(!0);V===null&&(T=U),s.baseState=T,s.firstBaseUpdate=D,s.lastBaseUpdate=V,r===null&&(s.shared.lanes=0),Nn|=f,t.lanes=f,t.memoizedState=U}}function bh(t,e){if(typeof t!="function")throw Error(u(191,t));t.call(e)}function Ah(t,e){var n=t.callbacks;if(n!==null)for(t.callbacks=null,t=0;t<n.length;t++)bh(n[t],e)}var Xi=A(null),$l=A(0);function Eh(t,e){t=gn,G($l,t),G(Xi,e),gn=t|e.baseLanes}function mo(){G($l,gn),G(Xi,Xi.current)}function yo(){gn=$l.current,N(Xi),N($l)}var Ae=A(null),Ne=null;function Vn(t){var e=t.alternate;G(jt,jt.current&1),G(Ae,t),Ne===null&&(e===null||Xi.current!==null||e.memoizedState!==null)&&(Ne=t)}function po(t){G(jt,jt.current),G(Ae,t),Ne===null&&(Ne=t)}function Mh(t){t.tag===22?(G(jt,jt.current),G(Ae,t),Ne===null&&(Ne=t)):_n()}function _n(){G(jt,jt.current),G(Ae,Ae.current)}function Ee(t){N(Ae),Ne===t&&(Ne=null),N(jt)}var jt=A(0);function Il(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||Ar(n)||Er(n)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var rn=0,at=null,Mt=null,Gt=null,ts=!1,Zi=!1,fi=!1,es=0,ja=0,Qi=null,Ov=0;function Ut(){throw Error(u(321))}function go(t,e){if(e===null)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!Te(t[n],e[n]))return!1;return!0}function vo(t,e,n,a,s,r){return rn=r,at=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,R.H=t===null||t.memoizedState===null?ud:Uo,fi=!1,r=n(a,s),fi=!1,Zi&&(r=Dh(e,n,a,s)),xh(t),r}function xh(t){R.H=Ya;var e=Mt!==null&&Mt.next!==null;if(rn=0,Gt=Mt=at=null,ts=!1,ja=0,Qi=null,e)throw Error(u(300));t===null||Xt||(t=t.dependencies,t!==null&&Ql(t)&&(Xt=!0))}function Dh(t,e,n,a){at=t;var s=0;do{if(Zi&&(Qi=null),ja=0,Zi=!1,25<=s)throw Error(u(301));if(s+=1,Gt=Mt=null,t.updateQueue!=null){var r=t.updateQueue;r.lastEffect=null,r.events=null,r.stores=null,r.memoCache!=null&&(r.memoCache.index=0)}R.H=od,r=e(n,a)}while(Zi);return r}function Rv(){var t=R.H,e=t.useState()[0];return e=typeof e.then=="function"?Ha(e):e,t=t.useState()[0],(Mt!==null?Mt.memoizedState:null)!==t&&(at.flags|=1024),e}function So(){var t=es!==0;return es=0,t}function To(t,e,n){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~n}function bo(t){if(ts){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}ts=!1}rn=0,Gt=Mt=at=null,Zi=!1,ja=es=0,Qi=null}function ue(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Gt===null?at.memoizedState=Gt=t:Gt=Gt.next=t,Gt}function Ht(){if(Mt===null){var t=at.alternate;t=t!==null?t.memoizedState:null}else t=Mt.next;var e=Gt===null?at.memoizedState:Gt.next;if(e!==null)Gt=e,Mt=t;else{if(t===null)throw at.alternate===null?Error(u(467)):Error(u(310));Mt=t,t={memoizedState:Mt.memoizedState,baseState:Mt.baseState,baseQueue:Mt.baseQueue,queue:Mt.queue,next:null},Gt===null?at.memoizedState=Gt=t:Gt=Gt.next=t}return Gt}function ns(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ha(t){var e=ja;return ja+=1,Qi===null&&(Qi=[]),t=ph(Qi,t,e),e=at,(Gt===null?e.memoizedState:Gt.next)===null&&(e=e.alternate,R.H=e===null||e.memoizedState===null?ud:Uo),t}function is(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Ha(t);if(t.$$typeof===H)return $t(t)}throw Error(u(438,String(t)))}function Ao(t){var e=null,n=at.updateQueue;if(n!==null&&(e=n.memoCache),e==null){var a=at.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=ns(),at.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]=tt;return e.index++,n}function cn(t,e){return typeof e=="function"?e(t):e}function as(t){var e=Ht();return Eo(e,Mt,t)}function Eo(t,e,n){var a=t.queue;if(a===null)throw Error(u(311));a.lastRenderedReducer=n;var s=t.baseQueue,r=a.pending;if(r!==null){if(s!==null){var f=s.next;s.next=r.next,r.next=f}e.baseQueue=s=r,a.pending=null}if(r=t.baseState,s===null)t.memoizedState=r;else{e=s.next;var y=f=null,T=null,D=e,V=!1;do{var U=D.lane&-536870913;if(U!==D.lane?(ft&U)===U:(rn&U)===U){var C=D.revertLane;if(C===0)T!==null&&(T=T.next={lane:0,revertLane:0,gesture:null,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null}),U===Hi&&(V=!0);else if((rn&C)===C){D=D.next,C===Hi&&(V=!0);continue}else U={lane:0,revertLane:D.revertLane,gesture:null,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},T===null?(y=T=U,f=r):T=T.next=U,at.lanes|=C,Nn|=C;U=D.action,fi&&n(r,U),r=D.hasEagerState?D.eagerState:n(r,U)}else C={lane:U,revertLane:D.revertLane,gesture:D.gesture,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},T===null?(y=T=C,f=r):T=T.next=C,at.lanes|=U,Nn|=U;D=D.next}while(D!==null&&D!==e);if(T===null?f=r:T.next=y,!Te(r,t.memoizedState)&&(Xt=!0,V&&(n=qi,n!==null)))throw n;t.memoizedState=r,t.baseState=f,t.baseQueue=T,a.lastRenderedState=r}return s===null&&(a.lanes=0),[t.memoizedState,a.dispatch]}function Mo(t){var e=Ht(),n=e.queue;if(n===null)throw Error(u(311));n.lastRenderedReducer=t;var a=n.dispatch,s=n.pending,r=e.memoizedState;if(s!==null){n.pending=null;var f=s=s.next;do r=t(r,f.action),f=f.next;while(f!==s);Te(r,e.memoizedState)||(Xt=!0),e.memoizedState=r,e.baseQueue===null&&(e.baseState=r),n.lastRenderedState=r}return[r,a]}function Ch(t,e,n){var a=at,s=Ht(),r=mt;if(r){if(n===void 0)throw Error(u(407));n=n()}else n=e();var f=!Te((Mt||s).memoizedState,n);if(f&&(s.memoizedState=n,Xt=!0),s=s.queue,Co(Rh.bind(null,a,s,t),[t]),s.getSnapshot!==e||f||Gt!==null&&Gt.memoizedState.tag&1){if(a.flags|=2048,Ki(9,{destroy:void 0},Oh.bind(null,a,s,n,e),null),Ct===null)throw Error(u(349));r||(rn&127)!==0||zh(a,e,n)}return n}function zh(t,e,n){t.flags|=16384,t={getSnapshot:e,value:n},e=at.updateQueue,e===null?(e=ns(),at.updateQueue=e,e.stores=[t]):(n=e.stores,n===null?e.stores=[t]:n.push(t))}function Oh(t,e,n,a){e.value=n,e.getSnapshot=a,Vh(e)&&_h(t)}function Rh(t,e,n){return n(function(){Vh(e)&&_h(t)})}function Vh(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!Te(t,n)}catch{return!0}}function _h(t){var e=ni(t,2);e!==null&&pe(e,t,2)}function xo(t){var e=ue();if(typeof t=="function"){var n=t;if(t=n(),fi){bn(!0);try{n()}finally{bn(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:cn,lastRenderedState:t},e}function Uh(t,e,n,a){return t.baseState=n,Eo(t,Mt,typeof a=="function"?a:cn)}function Vv(t,e,n,a,s){if(us(t))throw Error(u(485));if(t=e.action,t!==null){var r={payload:s,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(f){r.listeners.push(f)}};R.T!==null?n(!0):r.isTransition=!1,a(r),n=e.pending,n===null?(r.next=e.pending=r,Bh(e,r)):(r.next=n.next,e.pending=n.next=r)}}function Bh(t,e){var n=e.action,a=e.payload,s=t.state;if(e.isTransition){var r=R.T,f={};R.T=f;try{var y=n(s,a),T=R.S;T!==null&&T(f,y),Nh(t,e,y)}catch(D){Do(t,e,D)}finally{r!==null&&f.types!==null&&(r.types=f.types),R.T=r}}else try{r=n(s,a),Nh(t,e,r)}catch(D){Do(t,e,D)}}function Nh(t,e,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(a){Lh(t,e,a)},function(a){return Do(t,e,a)}):Lh(t,e,n)}function Lh(t,e,n){e.status="fulfilled",e.value=n,wh(e),t.state=n,e=t.pending,e!==null&&(n=e.next,n===e?t.pending=null:(n=n.next,e.next=n,Bh(t,n)))}function Do(t,e,n){var a=t.pending;if(t.pending=null,a!==null){a=a.next;do e.status="rejected",e.reason=n,wh(e),e=e.next;while(e!==a)}t.action=null}function wh(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function jh(t,e){return e}function Hh(t,e){if(mt){var n=Ct.formState;if(n!==null){t:{var a=at;if(mt){if(Rt){e:{for(var s=Rt,r=Be;s.nodeType!==8;){if(!r){s=null;break e}if(s=Le(s.nextSibling),s===null){s=null;break e}}r=s.data,s=r==="F!"||r==="F"?s:null}if(s){Rt=Le(s.nextSibling),a=s.data==="F!";break t}}Dn(a)}a=!1}a&&(e=n[0])}}return n=ue(),n.memoizedState=n.baseState=e,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:jh,lastRenderedState:e},n.queue=a,n=ad.bind(null,at,a),a.dispatch=n,a=xo(!1),r=_o.bind(null,at,!1,a.queue),a=ue(),s={state:e,dispatch:null,action:t,pending:null},a.queue=s,n=Vv.bind(null,at,s,r,n),s.dispatch=n,a.memoizedState=t,[e,n,!1]}function qh(t){var e=Ht();return Yh(e,Mt,t)}function Yh(t,e,n){if(e=Eo(t,e,jh)[0],t=as(cn)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var a=Ha(e)}catch(f){throw f===Yi?kl:f}else a=e;e=Ht();var s=e.queue,r=s.dispatch;return n!==e.memoizedState&&(at.flags|=2048,Ki(9,{destroy:void 0},_v.bind(null,s,n),null)),[a,r,t]}function _v(t,e){t.action=e}function Gh(t){var e=Ht(),n=Mt;if(n!==null)return Yh(e,n,t);Ht(),e=e.memoizedState,n=Ht();var a=n.queue.dispatch;return n.memoizedState=t,[e,a,!1]}function Ki(t,e,n,a){return t={tag:t,create:n,deps:a,inst:e,next:null},e=at.updateQueue,e===null&&(e=ns(),at.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 Xh(){return Ht().memoizedState}function ls(t,e,n,a){var s=ue();at.flags|=t,s.memoizedState=Ki(1|e,{destroy:void 0},n,a===void 0?null:a)}function ss(t,e,n,a){var s=Ht();a=a===void 0?null:a;var r=s.memoizedState.inst;Mt!==null&&a!==null&&go(a,Mt.memoizedState.deps)?s.memoizedState=Ki(e,r,n,a):(at.flags|=t,s.memoizedState=Ki(1|e,r,n,a))}function Zh(t,e){ls(8390656,8,t,e)}function Co(t,e){ss(2048,8,t,e)}function Uv(t){at.flags|=4;var e=at.updateQueue;if(e===null)e=ns(),at.updateQueue=e,e.events=[t];else{var n=e.events;n===null?e.events=[t]:n.push(t)}}function Qh(t){var e=Ht().memoizedState;return Uv({ref:e,nextImpl:t}),function(){if((vt&2)!==0)throw Error(u(440));return e.impl.apply(void 0,arguments)}}function Kh(t,e){return ss(4,2,t,e)}function Jh(t,e){return ss(4,4,t,e)}function kh(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 Fh(t,e,n){n=n!=null?n.concat([t]):null,ss(4,4,kh.bind(null,e,t),n)}function zo(){}function Wh(t,e){var n=Ht();e=e===void 0?null:e;var a=n.memoizedState;return e!==null&&go(e,a[1])?a[0]:(n.memoizedState=[t,e],t)}function Ph(t,e){var n=Ht();e=e===void 0?null:e;var a=n.memoizedState;if(e!==null&&go(e,a[1]))return a[0];if(a=t(),fi){bn(!0);try{t()}finally{bn(!1)}}return n.memoizedState=[a,e],a}function Oo(t,e,n){return n===void 0||(rn&1073741824)!==0&&(ft&261930)===0?t.memoizedState=e:(t.memoizedState=n,t=$d(),at.lanes|=t,Nn|=t,n)}function $h(t,e,n,a){return Te(n,e)?n:Xi.current!==null?(t=Oo(t,n,a),Te(t,e)||(Xt=!0),t):(rn&42)===0||(rn&1073741824)!==0&&(ft&261930)===0?(Xt=!0,t.memoizedState=n):(t=$d(),at.lanes|=t,Nn|=t,e)}function Ih(t,e,n,a,s){var r=q.p;q.p=r!==0&&8>r?r:8;var f=R.T,y={};R.T=y,_o(t,!1,e,n);try{var T=s(),D=R.S;if(D!==null&&D(y,T),T!==null&&typeof T=="object"&&typeof T.then=="function"){var V=zv(T,a);qa(t,e,V,De(t))}else qa(t,e,a,De(t))}catch(U){qa(t,e,{then:function(){},status:"rejected",reason:U},De())}finally{q.p=r,f!==null&&y.types!==null&&(f.types=y.types),R.T=f}}function Bv(){}function Ro(t,e,n,a){if(t.tag!==5)throw Error(u(476));var s=td(t).queue;Ih(t,s,e,Z,n===null?Bv:function(){return ed(t),n(a)})}function td(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:Z,baseState:Z,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:cn,lastRenderedState:Z},next:null};var n={};return e.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:cn,lastRenderedState:n},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function ed(t){var e=td(t);e.next===null&&(e=t.alternate.memoizedState),qa(t,e.next.queue,{},De())}function Vo(){return $t(il)}function nd(){return Ht().memoizedState}function id(){return Ht().memoizedState}function Nv(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var n=De();t=On(n);var a=Rn(e,t,n);a!==null&&(pe(a,e,n),Na(a,e,n)),e={cache:lo()},t.payload=e;return}e=e.return}}function Lv(t,e,n){var a=De();n={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},us(t)?ld(e,n):(n=ku(t,e,n,a),n!==null&&(pe(n,t,a),sd(n,e,a)))}function ad(t,e,n){var a=De();qa(t,e,n,a)}function qa(t,e,n,a){var s={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(us(t))ld(e,s);else{var r=t.alternate;if(t.lanes===0&&(r===null||r.lanes===0)&&(r=e.lastRenderedReducer,r!==null))try{var f=e.lastRenderedState,y=r(f,n);if(s.hasEagerState=!0,s.eagerState=y,Te(y,f))return Yl(t,e,s,0),Ct===null&&ql(),!1}catch{}if(n=ku(t,e,s,a),n!==null)return pe(n,t,a),sd(n,e,a),!0}return!1}function _o(t,e,n,a){if(a={lane:2,revertLane:cr(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},us(t)){if(e)throw Error(u(479))}else e=ku(t,n,a,2),e!==null&&pe(e,t,2)}function us(t){var e=t.alternate;return t===at||e!==null&&e===at}function ld(t,e){Zi=ts=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function sd(t,e,n){if((n&4194048)!==0){var a=e.lanes;a&=t.pendingLanes,n|=a,e.lanes=n,ff(t,n)}}var Ya={readContext:$t,use:is,useCallback:Ut,useContext:Ut,useEffect:Ut,useImperativeHandle:Ut,useLayoutEffect:Ut,useInsertionEffect:Ut,useMemo:Ut,useReducer:Ut,useRef:Ut,useState:Ut,useDebugValue:Ut,useDeferredValue:Ut,useTransition:Ut,useSyncExternalStore:Ut,useId:Ut,useHostTransitionStatus:Ut,useFormState:Ut,useActionState:Ut,useOptimistic:Ut,useMemoCache:Ut,useCacheRefresh:Ut};Ya.useEffectEvent=Ut;var ud={readContext:$t,use:is,useCallback:function(t,e){return ue().memoizedState=[t,e===void 0?null:e],t},useContext:$t,useEffect:Zh,useImperativeHandle:function(t,e,n){n=n!=null?n.concat([t]):null,ls(4194308,4,kh.bind(null,e,t),n)},useLayoutEffect:function(t,e){return ls(4194308,4,t,e)},useInsertionEffect:function(t,e){ls(4,2,t,e)},useMemo:function(t,e){var n=ue();e=e===void 0?null:e;var a=t();if(fi){bn(!0);try{t()}finally{bn(!1)}}return n.memoizedState=[a,e],a},useReducer:function(t,e,n){var a=ue();if(n!==void 0){var s=n(e);if(fi){bn(!0);try{n(e)}finally{bn(!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=Lv.bind(null,at,t),[a.memoizedState,t]},useRef:function(t){var e=ue();return t={current:t},e.memoizedState=t},useState:function(t){t=xo(t);var e=t.queue,n=ad.bind(null,at,e);return e.dispatch=n,[t.memoizedState,n]},useDebugValue:zo,useDeferredValue:function(t,e){var n=ue();return Oo(n,t,e)},useTransition:function(){var t=xo(!1);return t=Ih.bind(null,at,t.queue,!0,!1),ue().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,n){var a=at,s=ue();if(mt){if(n===void 0)throw Error(u(407));n=n()}else{if(n=e(),Ct===null)throw Error(u(349));(ft&127)!==0||zh(a,e,n)}s.memoizedState=n;var r={value:n,getSnapshot:e};return s.queue=r,Zh(Rh.bind(null,a,r,t),[t]),a.flags|=2048,Ki(9,{destroy:void 0},Oh.bind(null,a,r,n,e),null),n},useId:function(){var t=ue(),e=Ct.identifierPrefix;if(mt){var n=ke,a=Je;n=(a&~(1<<32-Se(a)-1)).toString(32)+n,e="_"+e+"R_"+n,n=es++,0<n&&(e+="H"+n.toString(32)),e+="_"}else n=Ov++,e="_"+e+"r_"+n.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:Vo,useFormState:Hh,useActionState:Hh,useOptimistic:function(t){var e=ue();e.memoizedState=e.baseState=t;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=n,e=_o.bind(null,at,!0,n),n.dispatch=e,[t,e]},useMemoCache:Ao,useCacheRefresh:function(){return ue().memoizedState=Nv.bind(null,at)},useEffectEvent:function(t){var e=ue(),n={impl:t};return e.memoizedState=n,function(){if((vt&2)!==0)throw Error(u(440));return n.impl.apply(void 0,arguments)}}},Uo={readContext:$t,use:is,useCallback:Wh,useContext:$t,useEffect:Co,useImperativeHandle:Fh,useInsertionEffect:Kh,useLayoutEffect:Jh,useMemo:Ph,useReducer:as,useRef:Xh,useState:function(){return as(cn)},useDebugValue:zo,useDeferredValue:function(t,e){var n=Ht();return $h(n,Mt.memoizedState,t,e)},useTransition:function(){var t=as(cn)[0],e=Ht().memoizedState;return[typeof t=="boolean"?t:Ha(t),e]},useSyncExternalStore:Ch,useId:nd,useHostTransitionStatus:Vo,useFormState:qh,useActionState:qh,useOptimistic:function(t,e){var n=Ht();return Uh(n,Mt,t,e)},useMemoCache:Ao,useCacheRefresh:id};Uo.useEffectEvent=Qh;var od={readContext:$t,use:is,useCallback:Wh,useContext:$t,useEffect:Co,useImperativeHandle:Fh,useInsertionEffect:Kh,useLayoutEffect:Jh,useMemo:Ph,useReducer:Mo,useRef:Xh,useState:function(){return Mo(cn)},useDebugValue:zo,useDeferredValue:function(t,e){var n=Ht();return Mt===null?Oo(n,t,e):$h(n,Mt.memoizedState,t,e)},useTransition:function(){var t=Mo(cn)[0],e=Ht().memoizedState;return[typeof t=="boolean"?t:Ha(t),e]},useSyncExternalStore:Ch,useId:nd,useHostTransitionStatus:Vo,useFormState:Gh,useActionState:Gh,useOptimistic:function(t,e){var n=Ht();return Mt!==null?Uh(n,Mt,t,e):(n.baseState=t,[t,n.queue.dispatch])},useMemoCache:Ao,useCacheRefresh:id};od.useEffectEvent=Qh;function Bo(t,e,n,a){e=t.memoizedState,n=n(a,e),n=n==null?e:S({},e,n),t.memoizedState=n,t.lanes===0&&(t.updateQueue.baseState=n)}var No={enqueueSetState:function(t,e,n){t=t._reactInternals;var a=De(),s=On(a);s.payload=e,n!=null&&(s.callback=n),e=Rn(t,s,a),e!==null&&(pe(e,t,a),Na(e,t,a))},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var a=De(),s=On(a);s.tag=1,s.payload=e,n!=null&&(s.callback=n),e=Rn(t,s,a),e!==null&&(pe(e,t,a),Na(e,t,a))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=De(),a=On(n);a.tag=2,e!=null&&(a.callback=e),e=Rn(t,a,n),e!==null&&(pe(e,t,n),Na(e,t,n))}};function rd(t,e,n,a,s,r,f){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(a,r,f):e.prototype&&e.prototype.isPureReactComponent?!Ca(n,a)||!Ca(s,r):!0}function cd(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&&No.enqueueReplaceState(e,e.state,null)}function hi(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=S({},n));for(var s in t)n[s]===void 0&&(n[s]=t[s])}return n}function fd(t){Hl(t)}function hd(t){console.error(t)}function dd(t){Hl(t)}function os(t,e){try{var n=t.onUncaughtError;n(e.value,{componentStack:e.stack})}catch(a){setTimeout(function(){throw a})}}function md(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 Lo(t,e,n){return n=On(n),n.tag=3,n.payload={element:null},n.callback=function(){os(t,e)},n}function yd(t){return t=On(t),t.tag=3,t}function pd(t,e,n,a){var s=n.type.getDerivedStateFromError;if(typeof s=="function"){var r=a.value;t.payload=function(){return s(r)},t.callback=function(){md(e,n,a)}}var f=n.stateNode;f!==null&&typeof f.componentDidCatch=="function"&&(t.callback=function(){md(e,n,a),typeof s!="function"&&(Ln===null?Ln=new Set([this]):Ln.add(this));var y=a.stack;this.componentDidCatch(a.value,{componentStack:y!==null?y:""})})}function wv(t,e,n,a,s){if(n.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(e=n.alternate,e!==null&&ji(e,n,s,!0),n=Ae.current,n!==null){switch(n.tag){case 31:case 13:return Ne===null?Ts():n.alternate===null&&Bt===0&&(Bt=3),n.flags&=-257,n.flags|=65536,n.lanes=s,a===Fl?n.flags|=16384:(e=n.updateQueue,e===null?n.updateQueue=new Set([a]):e.add(a),ur(t,a,s)),!1;case 22:return n.flags|=65536,a===Fl?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)),ur(t,a,s)),!1}throw Error(u(435,n.tag))}return ur(t,a,s),Ts(),!1}if(mt)return e=Ae.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=s,a!==to&&(t=Error(u(422),{cause:a}),Ra(Ve(t,n)))):(a!==to&&(e=Error(u(423),{cause:a}),Ra(Ve(e,n))),t=t.current.alternate,t.flags|=65536,s&=-s,t.lanes|=s,a=Ve(a,n),s=Lo(t.stateNode,a,s),fo(t,s),Bt!==4&&(Bt=2)),!1;var r=Error(u(520),{cause:a});if(r=Ve(r,n),Fa===null?Fa=[r]:Fa.push(r),Bt!==4&&(Bt=2),e===null)return!0;a=Ve(a,n),n=e;do{switch(n.tag){case 3:return n.flags|=65536,t=s&-s,n.lanes|=t,t=Lo(n.stateNode,a,t),fo(n,t),!1;case 1:if(e=n.type,r=n.stateNode,(n.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||r!==null&&typeof r.componentDidCatch=="function"&&(Ln===null||!Ln.has(r))))return n.flags|=65536,s&=-s,n.lanes|=s,s=yd(s),pd(s,t,n,a),fo(n,s),!1}n=n.return}while(n!==null);return!1}var wo=Error(u(461)),Xt=!1;function It(t,e,n,a){e.child=t===null?Th(e,null,n,a):ci(e,t.child,n,a)}function gd(t,e,n,a,s){n=n.render;var r=e.ref;if("ref"in a){var f={};for(var y in a)y!=="ref"&&(f[y]=a[y])}else f=a;return si(e),a=vo(t,e,n,f,r,s),y=So(),t!==null&&!Xt?(To(t,e,s),fn(t,e,s)):(mt&&y&&$u(e),e.flags|=1,It(t,e,a,s),e.child)}function vd(t,e,n,a,s){if(t===null){var r=n.type;return typeof r=="function"&&!Fu(r)&&r.defaultProps===void 0&&n.compare===null?(e.tag=15,e.type=r,Sd(t,e,r,a,s)):(t=Xl(n.type,null,a,e,e.mode,s),t.ref=e.ref,t.return=e,e.child=t)}if(r=t.child,!Qo(t,s)){var f=r.memoizedProps;if(n=n.compare,n=n!==null?n:Ca,n(f,a)&&t.ref===e.ref)return fn(t,e,s)}return e.flags|=1,t=ln(r,a),t.ref=e.ref,t.return=e,e.child=t}function Sd(t,e,n,a,s){if(t!==null){var r=t.memoizedProps;if(Ca(r,a)&&t.ref===e.ref)if(Xt=!1,e.pendingProps=a=r,Qo(t,s))(t.flags&131072)!==0&&(Xt=!0);else return e.lanes=t.lanes,fn(t,e,s)}return jo(t,e,n,a,s)}function Td(t,e,n,a){var s=a.children,r=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((e.flags&128)!==0){if(r=r!==null?r.baseLanes|n:n,t!==null){for(a=e.child=t.child,s=0;a!==null;)s=s|a.lanes|a.childLanes,a=a.sibling;a=s&~r}else a=0,e.child=null;return bd(t,e,r,n,a)}if((n&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&Jl(e,r!==null?r.cachePool:null),r!==null?Eh(e,r):mo(),Mh(e);else return a=e.lanes=536870912,bd(t,e,r!==null?r.baseLanes|n:n,n,a)}else r!==null?(Jl(e,r.cachePool),Eh(e,r),_n(),e.memoizedState=null):(t!==null&&Jl(e,null),mo(),_n());return It(t,e,s,n),e.child}function Ga(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function bd(t,e,n,a,s){var r=uo();return r=r===null?null:{parent:Yt._currentValue,pool:r},e.memoizedState={baseLanes:n,cachePool:r},t!==null&&Jl(e,null),mo(),Mh(e),t!==null&&ji(t,e,a,!0),e.childLanes=s,null}function rs(t,e){return e=fs({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function Ad(t,e,n){return ci(e,t.child,null,n),t=rs(e,e.pendingProps),t.flags|=2,Ee(e),e.memoizedState=null,t}function jv(t,e,n){var a=e.pendingProps,s=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(mt){if(a.mode==="hidden")return t=rs(e,a),e.lanes=536870912,Ga(null,t);if(po(e),(t=Rt)?(t=Bm(t,Be),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Mn!==null?{id:Je,overflow:ke}:null,retryLane:536870912,hydrationErrors:null},n=lh(t),n.return=e,e.child=n,Pt=e,Rt=null)):t=null,t===null)throw Dn(e);return e.lanes=536870912,null}return rs(e,a)}var r=t.memoizedState;if(r!==null){var f=r.dehydrated;if(po(e),s)if(e.flags&256)e.flags&=-257,e=Ad(t,e,n);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(u(558));else if(Xt||ji(t,e,n,!1),s=(n&t.childLanes)!==0,Xt||s){if(a=Ct,a!==null&&(f=hf(a,n),f!==0&&f!==r.retryLane))throw r.retryLane=f,ni(t,f),pe(a,t,f),wo;Ts(),e=Ad(t,e,n)}else t=r.treeContext,Rt=Le(f.nextSibling),Pt=e,mt=!0,xn=null,Be=!1,t!==null&&oh(e,t),e=rs(e,a),e.flags|=4096;return e}return t=ln(t.child,{mode:a.mode,children:a.children}),t.ref=e.ref,e.child=t,t.return=e,t}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(u(284));(t===null||t.ref!==n)&&(e.flags|=4194816)}}function jo(t,e,n,a,s){return si(e),n=vo(t,e,n,a,void 0,s),a=So(),t!==null&&!Xt?(To(t,e,s),fn(t,e,s)):(mt&&a&&$u(e),e.flags|=1,It(t,e,n,s),e.child)}function Ed(t,e,n,a,s,r){return si(e),e.updateQueue=null,n=Dh(e,a,n,s),xh(t),a=So(),t!==null&&!Xt?(To(t,e,r),fn(t,e,r)):(mt&&a&&$u(e),e.flags|=1,It(t,e,n,r),e.child)}function Md(t,e,n,a,s){if(si(e),e.stateNode===null){var r=Bi,f=n.contextType;typeof f=="object"&&f!==null&&(r=$t(f)),r=new n(a,r),e.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=No,e.stateNode=r,r._reactInternals=e,r=e.stateNode,r.props=a,r.state=e.memoizedState,r.refs={},ro(e),f=n.contextType,r.context=typeof f=="object"&&f!==null?$t(f):Bi,r.state=e.memoizedState,f=n.getDerivedStateFromProps,typeof f=="function"&&(Bo(e,n,f,a),r.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof r.getSnapshotBeforeUpdate=="function"||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(f=r.state,typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount(),f!==r.state&&No.enqueueReplaceState(r,r.state,null),wa(e,a,r,s),La(),r.state=e.memoizedState),typeof r.componentDidMount=="function"&&(e.flags|=4194308),a=!0}else if(t===null){r=e.stateNode;var y=e.memoizedProps,T=hi(n,y);r.props=T;var D=r.context,V=n.contextType;f=Bi,typeof V=="object"&&V!==null&&(f=$t(V));var U=n.getDerivedStateFromProps;V=typeof U=="function"||typeof r.getSnapshotBeforeUpdate=="function",y=e.pendingProps!==y,V||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(y||D!==f)&&cd(e,r,a,f),zn=!1;var C=e.memoizedState;r.state=C,wa(e,a,r,s),La(),D=e.memoizedState,y||C!==D||zn?(typeof U=="function"&&(Bo(e,n,U,a),D=e.memoizedState),(T=zn||rd(e,n,T,a,C,D,f))?(V||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount()),typeof r.componentDidMount=="function"&&(e.flags|=4194308)):(typeof r.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=a,e.memoizedState=D),r.props=a,r.state=D,r.context=f,a=T):(typeof r.componentDidMount=="function"&&(e.flags|=4194308),a=!1)}else{r=e.stateNode,co(t,e),f=e.memoizedProps,V=hi(n,f),r.props=V,U=e.pendingProps,C=r.context,D=n.contextType,T=Bi,typeof D=="object"&&D!==null&&(T=$t(D)),y=n.getDerivedStateFromProps,(D=typeof y=="function"||typeof r.getSnapshotBeforeUpdate=="function")||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(f!==U||C!==T)&&cd(e,r,a,T),zn=!1,C=e.memoizedState,r.state=C,wa(e,a,r,s),La();var z=e.memoizedState;f!==U||C!==z||zn||t!==null&&t.dependencies!==null&&Ql(t.dependencies)?(typeof y=="function"&&(Bo(e,n,y,a),z=e.memoizedState),(V=zn||rd(e,n,V,a,C,z,T)||t!==null&&t.dependencies!==null&&Ql(t.dependencies))?(D||typeof r.UNSAFE_componentWillUpdate!="function"&&typeof r.componentWillUpdate!="function"||(typeof r.componentWillUpdate=="function"&&r.componentWillUpdate(a,z,T),typeof r.UNSAFE_componentWillUpdate=="function"&&r.UNSAFE_componentWillUpdate(a,z,T)),typeof r.componentDidUpdate=="function"&&(e.flags|=4),typeof r.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof r.componentDidUpdate!="function"||f===t.memoizedProps&&C===t.memoizedState||(e.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||f===t.memoizedProps&&C===t.memoizedState||(e.flags|=1024),e.memoizedProps=a,e.memoizedState=z),r.props=a,r.state=z,r.context=T,a=V):(typeof r.componentDidUpdate!="function"||f===t.memoizedProps&&C===t.memoizedState||(e.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||f===t.memoizedProps&&C===t.memoizedState||(e.flags|=1024),a=!1)}return r=a,cs(t,e),a=(e.flags&128)!==0,r||a?(r=e.stateNode,n=a&&typeof n.getDerivedStateFromError!="function"?null:r.render(),e.flags|=1,t!==null&&a?(e.child=ci(e,t.child,null,s),e.child=ci(e,null,n,s)):It(t,e,n,s),e.memoizedState=r.state,t=e.child):t=fn(t,e,s),t}function xd(t,e,n,a){return ai(),e.flags|=256,It(t,e,n,a),e.child}var Ho={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function qo(t){return{baseLanes:t,cachePool:mh()}}function Yo(t,e,n){return t=t!==null?t.childLanes&~n:0,e&&(t|=xe),t}function Dd(t,e,n){var a=e.pendingProps,s=!1,r=(e.flags&128)!==0,f;if((f=r)||(f=t!==null&&t.memoizedState===null?!1:(jt.current&2)!==0),f&&(s=!0,e.flags&=-129),f=(e.flags&32)!==0,e.flags&=-33,t===null){if(mt){if(s?Vn(e):_n(),(t=Rt)?(t=Bm(t,Be),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Mn!==null?{id:Je,overflow:ke}:null,retryLane:536870912,hydrationErrors:null},n=lh(t),n.return=e,e.child=n,Pt=e,Rt=null)):t=null,t===null)throw Dn(e);return Er(t)?e.lanes=32:e.lanes=536870912,null}var y=a.children;return a=a.fallback,s?(_n(),s=e.mode,y=fs({mode:"hidden",children:y},s),a=ii(a,s,n,null),y.return=e,a.return=e,y.sibling=a,e.child=y,a=e.child,a.memoizedState=qo(n),a.childLanes=Yo(t,f,n),e.memoizedState=Ho,Ga(null,a)):(Vn(e),Go(e,y))}var T=t.memoizedState;if(T!==null&&(y=T.dehydrated,y!==null)){if(r)e.flags&256?(Vn(e),e.flags&=-257,e=Xo(t,e,n)):e.memoizedState!==null?(_n(),e.child=t.child,e.flags|=128,e=null):(_n(),y=a.fallback,s=e.mode,a=fs({mode:"visible",children:a.children},s),y=ii(y,s,n,null),y.flags|=2,a.return=e,y.return=e,a.sibling=y,e.child=a,ci(e,t.child,null,n),a=e.child,a.memoizedState=qo(n),a.childLanes=Yo(t,f,n),e.memoizedState=Ho,e=Ga(null,a));else if(Vn(e),Er(y)){if(f=y.nextSibling&&y.nextSibling.dataset,f)var D=f.dgst;f=D,a=Error(u(419)),a.stack="",a.digest=f,Ra({value:a,source:null,stack:null}),e=Xo(t,e,n)}else if(Xt||ji(t,e,n,!1),f=(n&t.childLanes)!==0,Xt||f){if(f=Ct,f!==null&&(a=hf(f,n),a!==0&&a!==T.retryLane))throw T.retryLane=a,ni(t,a),pe(f,t,a),wo;Ar(y)||Ts(),e=Xo(t,e,n)}else Ar(y)?(e.flags|=192,e.child=t.child,e=null):(t=T.treeContext,Rt=Le(y.nextSibling),Pt=e,mt=!0,xn=null,Be=!1,t!==null&&oh(e,t),e=Go(e,a.children),e.flags|=4096);return e}return s?(_n(),y=a.fallback,s=e.mode,T=t.child,D=T.sibling,a=ln(T,{mode:"hidden",children:a.children}),a.subtreeFlags=T.subtreeFlags&65011712,D!==null?y=ln(D,y):(y=ii(y,s,n,null),y.flags|=2),y.return=e,a.return=e,a.sibling=y,e.child=a,Ga(null,a),a=e.child,y=t.child.memoizedState,y===null?y=qo(n):(s=y.cachePool,s!==null?(T=Yt._currentValue,s=s.parent!==T?{parent:T,pool:T}:s):s=mh(),y={baseLanes:y.baseLanes|n,cachePool:s}),a.memoizedState=y,a.childLanes=Yo(t,f,n),e.memoizedState=Ho,Ga(t.child,a)):(Vn(e),n=t.child,t=n.sibling,n=ln(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 Go(t,e){return e=fs({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function fs(t,e){return t=be(22,t,null,e),t.lanes=0,t}function Xo(t,e,n){return ci(e,t.child,null,n),t=Go(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),io(t.return,e,n)}function Zo(t,e,n,a,s,r){var f=t.memoizedState;f===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:s,treeForkCount:r}:(f.isBackwards=e,f.rendering=null,f.renderingStartTime=0,f.last=a,f.tail=n,f.tailMode=s,f.treeForkCount=r)}function zd(t,e,n){var a=e.pendingProps,s=a.revealOrder,r=a.tail;a=a.children;var f=jt.current,y=(f&2)!==0;if(y?(f=f&1|2,e.flags|=128):f&=1,G(jt,f),It(t,e,a,n),a=mt?Oa:0,!y&&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}switch(s){case"forwards":for(n=e.child,s=null;n!==null;)t=n.alternate,t!==null&&Il(t)===null&&(s=n),n=n.sibling;n=s,n===null?(s=e.child,e.child=null):(s=n.sibling,n.sibling=null),Zo(e,!1,s,n,r,a);break;case"backwards":case"unstable_legacy-backwards":for(n=null,s=e.child,e.child=null;s!==null;){if(t=s.alternate,t!==null&&Il(t)===null){e.child=s;break}t=s.sibling,s.sibling=n,n=s,s=t}Zo(e,!0,n,null,r,a);break;case"together":Zo(e,!1,null,null,void 0,a);break;default:e.memoizedState=null}return e.child}function fn(t,e,n){if(t!==null&&(e.dependencies=t.dependencies),Nn|=e.lanes,(n&e.childLanes)===0)if(t!==null){if(ji(t,e,n,!1),(n&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(u(153));if(e.child!==null){for(t=e.child,n=ln(t,t.pendingProps),e.child=n,n.return=e;t.sibling!==null;)t=t.sibling,n=n.sibling=ln(t,t.pendingProps),n.return=e;n.sibling=null}return e.child}function Qo(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Ql(t)))}function Hv(t,e,n){switch(e.tag){case 3:se(e,e.stateNode.containerInfo),Cn(e,Yt,t.memoizedState.cache),ai();break;case 27:case 5:ma(e);break;case 4:se(e,e.stateNode.containerInfo);break;case 10:Cn(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,po(e),null;break;case 13:var a=e.memoizedState;if(a!==null)return a.dehydrated!==null?(Vn(e),e.flags|=128,null):(n&e.child.childLanes)!==0?Dd(t,e,n):(Vn(e),t=fn(t,e,n),t!==null?t.sibling:null);Vn(e);break;case 19:var s=(t.flags&128)!==0;if(a=(n&e.childLanes)!==0,a||(ji(t,e,n,!1),a=(n&e.childLanes)!==0),s){if(a)return zd(t,e,n);e.flags|=128}if(s=e.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),G(jt,jt.current),a)break;return null;case 22:return e.lanes=0,Td(t,e,n,e.pendingProps);case 24:Cn(e,Yt,t.memoizedState.cache)}return fn(t,e,n)}function Od(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps)Xt=!0;else{if(!Qo(t,n)&&(e.flags&128)===0)return Xt=!1,Hv(t,e,n);Xt=(t.flags&131072)!==0}else Xt=!1,mt&&(e.flags&1048576)!==0&&uh(e,Oa,e.index);switch(e.lanes=0,e.tag){case 16:t:{var a=e.pendingProps;if(t=oi(e.elementType),e.type=t,typeof t=="function")Fu(t)?(a=hi(t,a),e.tag=1,e=Md(null,e,t,a,n)):(e.tag=0,e=jo(null,e,t,a,n));else{if(t!=null){var s=t.$$typeof;if(s===X){e.tag=11,e=gd(null,e,t,a,n);break t}else if(s===K){e.tag=14,e=vd(null,e,t,a,n);break t}}throw e=qt(t)||t,Error(u(306,e,""))}}return e;case 0:return jo(t,e,e.type,e.pendingProps,n);case 1:return a=e.type,s=hi(a,e.pendingProps),Md(t,e,a,s,n);case 3:t:{if(se(e,e.stateNode.containerInfo),t===null)throw Error(u(387));a=e.pendingProps;var r=e.memoizedState;s=r.element,co(t,e),wa(e,a,null,n);var f=e.memoizedState;if(a=f.cache,Cn(e,Yt,a),a!==r.cache&&ao(e,[Yt],n,!0),La(),a=f.element,r.isDehydrated)if(r={element:a,isDehydrated:!1,cache:f.cache},e.updateQueue.baseState=r,e.memoizedState=r,e.flags&256){e=xd(t,e,a,n);break t}else if(a!==s){s=Ve(Error(u(424)),e),Ra(s),e=xd(t,e,a,n);break t}else for(t=e.stateNode.containerInfo,t.nodeType===9?t=t.body:t=t.nodeName==="HTML"?t.ownerDocument.body:t,Rt=Le(t.firstChild),Pt=e,mt=!0,xn=null,Be=!0,n=Th(e,null,a,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ai(),a===s){e=fn(t,e,n);break t}It(t,e,a,n)}e=e.child}return e;case 26:return cs(t,e),t===null?(n=qm(e.type,null,e.pendingProps,null))?e.memoizedState=n:mt||(n=e.type,t=e.pendingProps,a=Cs(ot.current).createElement(n),a[Wt]=e,a[ce]=t,te(a,n,t),kt(a),e.stateNode=a):e.memoizedState=qm(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return ma(e),t===null&&mt&&(a=e.stateNode=wm(e.type,e.pendingProps,ot.current),Pt=e,Be=!0,s=Rt,qn(e.type)?(Mr=s,Rt=Le(a.firstChild)):Rt=s),It(t,e,e.pendingProps.children,n),cs(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&mt&&((s=a=Rt)&&(a=y1(a,e.type,e.pendingProps,Be),a!==null?(e.stateNode=a,Pt=e,Rt=Le(a.firstChild),Be=!1,s=!0):s=!1),s||Dn(e)),ma(e),s=e.type,r=e.pendingProps,f=t!==null?t.memoizedProps:null,a=r.children,Sr(s,r)?a=null:f!==null&&Sr(s,f)&&(e.flags|=32),e.memoizedState!==null&&(s=vo(t,e,Rv,null,null,n),il._currentValue=s),cs(t,e),It(t,e,a,n),e.child;case 6:return t===null&&mt&&((t=n=Rt)&&(n=p1(n,e.pendingProps,Be),n!==null?(e.stateNode=n,Pt=e,Rt=null,t=!0):t=!1),t||Dn(e)),null;case 13:return Dd(t,e,n);case 4:return se(e,e.stateNode.containerInfo),a=e.pendingProps,t===null?e.child=ci(e,null,a,n):It(t,e,a,n),e.child;case 11:return gd(t,e,e.type,e.pendingProps,n);case 7:return It(t,e,e.pendingProps,n),e.child;case 8:return It(t,e,e.pendingProps.children,n),e.child;case 12:return It(t,e,e.pendingProps.children,n),e.child;case 10:return a=e.pendingProps,Cn(e,e.type,a.value),It(t,e,a.children,n),e.child;case 9:return s=e.type._context,a=e.pendingProps.children,si(e),s=$t(s),a=a(s),e.flags|=1,It(t,e,a,n),e.child;case 14:return vd(t,e,e.type,e.pendingProps,n);case 15:return Sd(t,e,e.type,e.pendingProps,n);case 19:return zd(t,e,n);case 31:return jv(t,e,n);case 22:return Td(t,e,n,e.pendingProps);case 24:return si(e),a=$t(Yt),t===null?(s=uo(),s===null&&(s=Ct,r=lo(),s.pooledCache=r,r.refCount++,r!==null&&(s.pooledCacheLanes|=n),s=r),e.memoizedState={parent:a,cache:s},ro(e),Cn(e,Yt,s)):((t.lanes&n)!==0&&(co(t,e),wa(e,null,null,n),La()),s=t.memoizedState,r=e.memoizedState,s.parent!==a?(s={parent:a,cache:a},e.memoizedState=s,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=s),Cn(e,Yt,a)):(a=r.cache,Cn(e,Yt,a),a!==s.cache&&ao(e,[Yt],n,!0))),It(t,e,e.pendingProps.children,n),e.child;case 29:throw e.pendingProps}throw Error(u(156,e.tag))}function hn(t){t.flags|=4}function Ko(t,e,n,a,s){if((e=(t.mode&32)!==0)&&(e=!1),e){if(t.flags|=16777216,(s&335544128)===s)if(t.stateNode.complete)t.flags|=8192;else if(nm())t.flags|=8192;else throw ri=Fl,oo}else t.flags&=-16777217}function Rd(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Qm(e))if(nm())t.flags|=8192;else throw ri=Fl,oo}function hs(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?rf():536870912,t.lanes|=e,Wi|=e)}function Xa(t,e){if(!mt)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 Vt(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 qv(t,e,n){var a=e.pendingProps;switch(Iu(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Vt(e),null;case 1:return Vt(e),null;case 3:return n=e.stateNode,a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),on(Yt),wt(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(t===null||t.child===null)&&(wi(e)?hn(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,eo())),Vt(e),null;case 26:var s=e.type,r=e.memoizedState;return t===null?(hn(e),r!==null?(Vt(e),Rd(e,r)):(Vt(e),Ko(e,s,null,a,n))):r?r!==t.memoizedState?(hn(e),Vt(e),Rd(e,r)):(Vt(e),e.flags&=-16777217):(t=t.memoizedProps,t!==a&&hn(e),Vt(e),Ko(e,s,t,a,n)),null;case 27:if(El(e),n=ot.current,s=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==a&&hn(e);else{if(!a){if(e.stateNode===null)throw Error(u(166));return Vt(e),null}t=k.current,wi(e)?rh(e):(t=wm(s,a,n),e.stateNode=t,hn(e))}return Vt(e),null;case 5:if(El(e),s=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==a&&hn(e);else{if(!a){if(e.stateNode===null)throw Error(u(166));return Vt(e),null}if(r=k.current,wi(e))rh(e);else{var f=Cs(ot.current);switch(r){case 1:r=f.createElementNS("http://www.w3.org/2000/svg",s);break;case 2:r=f.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;default:switch(s){case"svg":r=f.createElementNS("http://www.w3.org/2000/svg",s);break;case"math":r=f.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;case"script":r=f.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild);break;case"select":r=typeof a.is=="string"?f.createElement("select",{is:a.is}):f.createElement("select"),a.multiple?r.multiple=!0:a.size&&(r.size=a.size);break;default:r=typeof a.is=="string"?f.createElement(s,{is:a.is}):f.createElement(s)}}r[Wt]=e,r[ce]=a;t:for(f=e.child;f!==null;){if(f.tag===5||f.tag===6)r.appendChild(f.stateNode);else if(f.tag!==4&&f.tag!==27&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break t;for(;f.sibling===null;){if(f.return===null||f.return===e)break t;f=f.return}f.sibling.return=f.return,f=f.sibling}e.stateNode=r;t:switch(te(r,s,a),s){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break t;case"img":a=!0;break t;default:a=!1}a&&hn(e)}}return Vt(e),Ko(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,n),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==a&&hn(e);else{if(typeof a!="string"&&e.stateNode===null)throw Error(u(166));if(t=ot.current,wi(e)){if(t=e.stateNode,n=e.memoizedProps,a=null,s=Pt,s!==null)switch(s.tag){case 27:case 5:a=s.memoizedProps}t[Wt]=e,t=!!(t.nodeValue===n||a!==null&&a.suppressHydrationWarning===!0||Dm(t.nodeValue,n)),t||Dn(e,!0)}else t=Cs(t).createTextNode(a),t[Wt]=e,e.stateNode=t}return Vt(e),null;case 31:if(n=e.memoizedState,t===null||t.memoizedState!==null){if(a=wi(e),n!==null){if(t===null){if(!a)throw Error(u(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(u(557));t[Wt]=e}else ai(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Vt(e),t=!1}else n=eo(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),t=!0;if(!t)return e.flags&256?(Ee(e),e):(Ee(e),null);if((e.flags&128)!==0)throw Error(u(558))}return Vt(e),null;case 13:if(a=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(s=wi(e),a!==null&&a.dehydrated!==null){if(t===null){if(!s)throw Error(u(318));if(s=e.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(u(317));s[Wt]=e}else ai(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Vt(e),s=!1}else s=eo(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=s),s=!0;if(!s)return e.flags&256?(Ee(e),e):(Ee(e),null)}return Ee(e),(e.flags&128)!==0?(e.lanes=n,e):(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),r=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(r=a.memoizedState.cachePool.pool),r!==s&&(a.flags|=2048)),n!==t&&n&&(e.child.flags|=8192),hs(e,e.updateQueue),Vt(e),null);case 4:return wt(),t===null&&mr(e.stateNode.containerInfo),Vt(e),null;case 10:return on(e.type),Vt(e),null;case 19:if(N(jt),a=e.memoizedState,a===null)return Vt(e),null;if(s=(e.flags&128)!==0,r=a.rendering,r===null)if(s)Xa(a,!1);else{if(Bt!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(r=Il(t),r!==null){for(e.flags|=128,Xa(a,!1),t=r.updateQueue,e.updateQueue=t,hs(e,t),e.subtreeFlags=0,t=n,n=e.child;n!==null;)ah(n,t),n=n.sibling;return G(jt,jt.current&1|2),mt&&sn(e,a.treeForkCount),e.child}t=t.sibling}a.tail!==null&&ge()>gs&&(e.flags|=128,s=!0,Xa(a,!1),e.lanes=4194304)}else{if(!s)if(t=Il(r),t!==null){if(e.flags|=128,s=!0,t=t.updateQueue,e.updateQueue=t,hs(e,t),Xa(a,!0),a.tail===null&&a.tailMode==="hidden"&&!r.alternate&&!mt)return Vt(e),null}else 2*ge()-a.renderingStartTime>gs&&n!==536870912&&(e.flags|=128,s=!0,Xa(a,!1),e.lanes=4194304);a.isBackwards?(r.sibling=e.child,e.child=r):(t=a.last,t!==null?t.sibling=r:e.child=r,a.last=r)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=ge(),t.sibling=null,n=jt.current,G(jt,s?n&1|2:n&1),mt&&sn(e,a.treeForkCount),t):(Vt(e),null);case 22:case 23:return Ee(e),yo(),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&&(Vt(e),e.subtreeFlags&6&&(e.flags|=8192)):Vt(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&&N(ui),null;case 24:return n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),on(Yt),Vt(e),null;case 25:return null;case 30:return null}throw Error(u(156,e.tag))}function Yv(t,e){switch(Iu(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return on(Yt),wt(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return El(e),null;case 31:if(e.memoizedState!==null){if(Ee(e),e.alternate===null)throw Error(u(340));ai()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(Ee(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(u(340));ai()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return N(jt),null;case 4:return wt(),null;case 10:return on(e.type),null;case 22:case 23:return Ee(e),yo(),t!==null&&N(ui),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return on(Yt),null;case 25:return null;default:return null}}function Vd(t,e){switch(Iu(e),e.tag){case 3:on(Yt),wt();break;case 26:case 27:case 5:El(e);break;case 4:wt();break;case 31:e.memoizedState!==null&&Ee(e);break;case 13:Ee(e);break;case 19:N(jt);break;case 10:on(e.type);break;case 22:case 23:Ee(e),yo(),t!==null&&N(ui);break;case 24:on(Yt)}}function Za(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 r=n.create,f=n.inst;a=r(),f.destroy=a}n=n.next}while(n!==s)}}catch(y){At(e,e.return,y)}}function Un(t,e,n){try{var a=e.updateQueue,s=a!==null?a.lastEffect:null;if(s!==null){var r=s.next;a=r;do{if((a.tag&t)===t){var f=a.inst,y=f.destroy;if(y!==void 0){f.destroy=void 0,s=e;var T=n,D=y;try{D()}catch(V){At(s,T,V)}}}a=a.next}while(a!==r)}}catch(V){At(e,e.return,V)}}function _d(t){var e=t.updateQueue;if(e!==null){var n=t.stateNode;try{Ah(e,n)}catch(a){At(t,t.return,a)}}}function Ud(t,e,n){n.props=hi(t.type,t.memoizedProps),n.state=t.memoizedState;try{n.componentWillUnmount()}catch(a){At(t,e,a)}}function Qa(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){At(t,e,s)}}function Fe(t,e){var n=t.ref,a=t.refCleanup;if(n!==null)if(typeof a=="function")try{a()}catch(s){At(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){At(t,e,s)}else n.current=null}function Bd(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){At(t,t.return,s)}}function Jo(t,e,n){try{var a=t.stateNode;r1(a,t.type,n,e),a[ce]=e}catch(s){At(t,t.return,s)}}function Nd(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&qn(t.type)||t.tag===4}function ko(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Nd(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&qn(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Fo(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=nn));else if(a!==4&&(a===27&&qn(t.type)&&(n=t.stateNode,e=null),t=t.child,t!==null))for(Fo(t,e,n),t=t.sibling;t!==null;)Fo(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&&qn(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 Ld(t){var e=t.stateNode,n=t.memoizedProps;try{for(var a=t.type,s=e.attributes;s.length;)e.removeAttributeNode(s[0]);te(e,a,n),e[Wt]=t,e[ce]=n}catch(r){At(t,t.return,r)}}var dn=!1,Zt=!1,Wo=!1,wd=typeof WeakSet=="function"?WeakSet:Set,Ft=null;function Gv(t,e){if(t=t.containerInfo,gr=Bs,t=Ff(t),Gu(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,r=a.focusNode;a=a.focusOffset;try{n.nodeType,r.nodeType}catch{n=null;break t}var f=0,y=-1,T=-1,D=0,V=0,U=t,C=null;e:for(;;){for(var z;U!==n||s!==0&&U.nodeType!==3||(y=f+s),U!==r||a!==0&&U.nodeType!==3||(T=f+a),U.nodeType===3&&(f+=U.nodeValue.length),(z=U.firstChild)!==null;)C=U,U=z;for(;;){if(U===t)break e;if(C===n&&++D===s&&(y=f),C===r&&++V===a&&(T=f),(z=U.nextSibling)!==null)break;U=C,C=U.parentNode}U=z}n=y===-1||T===-1?null:{start:y,end:T}}else n=null}n=n||{start:0,end:0}}else n=null;for(vr={focusedElem:t,selectionRange:n},Bs=!1,Ft=e;Ft!==null;)if(e=Ft,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,Ft=t;else for(;Ft!==null;){switch(e=Ft,r=e.alternate,t=e.flags,e.tag){case 0:if((t&4)!==0&&(t=e.updateQueue,t=t!==null?t.events:null,t!==null))for(n=0;n<t.length;n++)s=t[n],s.ref.impl=s.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&r!==null){t=void 0,n=e,s=r.memoizedProps,r=r.memoizedState,a=n.stateNode;try{var Q=hi(n.type,s);t=a.getSnapshotBeforeUpdate(Q,r),a.__reactInternalSnapshotBeforeUpdate=t}catch(I){At(n,n.return,I)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,n=t.nodeType,n===9)br(t);else if(n===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":br(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(u(163))}if(t=e.sibling,t!==null){t.return=e.return,Ft=t;break}Ft=e.return}}function jd(t,e,n){var a=n.flags;switch(n.tag){case 0:case 11:case 15:yn(t,n),a&4&&Za(5,n);break;case 1:if(yn(t,n),a&4)if(t=n.stateNode,e===null)try{t.componentDidMount()}catch(f){At(n,n.return,f)}else{var s=hi(n.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(s,e,t.__reactInternalSnapshotBeforeUpdate)}catch(f){At(n,n.return,f)}}a&64&&_d(n),a&512&&Qa(n,n.return);break;case 3:if(yn(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{Ah(t,e)}catch(f){At(n,n.return,f)}}break;case 27:e===null&&a&4&&Ld(n);case 26:case 5:yn(t,n),e===null&&a&4&&Bd(n),a&512&&Qa(n,n.return);break;case 12:yn(t,n);break;case 31:yn(t,n),a&4&&Yd(t,n);break;case 13:yn(t,n),a&4&&Gd(t,n),a&64&&(t=n.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(n=Pv.bind(null,n),g1(t,n))));break;case 22:if(a=n.memoizedState!==null||dn,!a){e=e!==null&&e.memoizedState!==null||Zt,s=dn;var r=Zt;dn=a,(Zt=e)&&!r?pn(t,n,(n.subtreeFlags&8772)!==0):yn(t,n),dn=s,Zt=r}break;case 30:break;default:yn(t,n)}}function Hd(t){var e=t.alternate;e!==null&&(t.alternate=null,Hd(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&xu(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var _t=null,he=!1;function mn(t,e,n){for(n=n.child;n!==null;)qd(t,e,n),n=n.sibling}function qd(t,e,n){if(ve&&typeof ve.onCommitFiberUnmount=="function")try{ve.onCommitFiberUnmount(ya,n)}catch{}switch(n.tag){case 26:Zt||Fe(n,e),mn(t,e,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:Zt||Fe(n,e);var a=_t,s=he;qn(n.type)&&(_t=n.stateNode,he=!1),mn(t,e,n),tl(n.stateNode),_t=a,he=s;break;case 5:Zt||Fe(n,e);case 6:if(a=_t,s=he,_t=null,mn(t,e,n),_t=a,he=s,_t!==null)if(he)try{(_t.nodeType===9?_t.body:_t.nodeName==="HTML"?_t.ownerDocument.body:_t).removeChild(n.stateNode)}catch(r){At(n,e,r)}else try{_t.removeChild(n.stateNode)}catch(r){At(n,e,r)}break;case 18:_t!==null&&(he?(t=_t,_m(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,n.stateNode),aa(t)):_m(_t,n.stateNode));break;case 4:a=_t,s=he,_t=n.stateNode.containerInfo,he=!0,mn(t,e,n),_t=a,he=s;break;case 0:case 11:case 14:case 15:Un(2,n,e),Zt||Un(4,n,e),mn(t,e,n);break;case 1:Zt||(Fe(n,e),a=n.stateNode,typeof a.componentWillUnmount=="function"&&Ud(n,e,a)),mn(t,e,n);break;case 21:mn(t,e,n);break;case 22:Zt=(a=Zt)||n.memoizedState!==null,mn(t,e,n),Zt=a;break;default:mn(t,e,n)}}function Yd(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{aa(t)}catch(n){At(e,e.return,n)}}}function Gd(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{aa(t)}catch(n){At(e,e.return,n)}}function Xv(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new wd),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new wd),e;default:throw Error(u(435,t.tag))}}function ms(t,e){var n=Xv(t);e.forEach(function(a){if(!n.has(a)){n.add(a);var s=$v.bind(null,t,a);a.then(s,s)}})}function de(t,e){var n=e.deletions;if(n!==null)for(var a=0;a<n.length;a++){var s=n[a],r=t,f=e,y=f;t:for(;y!==null;){switch(y.tag){case 27:if(qn(y.type)){_t=y.stateNode,he=!1;break t}break;case 5:_t=y.stateNode,he=!1;break t;case 3:case 4:_t=y.stateNode.containerInfo,he=!0;break t}y=y.return}if(_t===null)throw Error(u(160));qd(r,f,s),_t=null,he=!1,r=s.alternate,r!==null&&(r.return=null),s.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)Xd(e,t),e=e.sibling}var Ye=null;function Xd(t,e){var n=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:de(e,t),me(t),a&4&&(Un(3,t,t.return),Za(3,t),Un(5,t,t.return));break;case 1:de(e,t),me(t),a&512&&(Zt||n===null||Fe(n,n.return)),a&64&&dn&&(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=Ye;if(de(e,t),me(t),a&512&&(Zt||n===null||Fe(n,n.return)),a&4){var r=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":r=s.getElementsByTagName("title")[0],(!r||r[va]||r[Wt]||r.namespaceURI==="http://www.w3.org/2000/svg"||r.hasAttribute("itemprop"))&&(r=s.createElement(a),s.head.insertBefore(r,s.querySelector("head > title"))),te(r,a,n),r[Wt]=t,kt(r),a=r;break t;case"link":var f=Xm("link","href",s).get(a+(n.href||""));if(f){for(var y=0;y<f.length;y++)if(r=f[y],r.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&r.getAttribute("rel")===(n.rel==null?null:n.rel)&&r.getAttribute("title")===(n.title==null?null:n.title)&&r.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){f.splice(y,1);break e}}r=s.createElement(a),te(r,a,n),s.head.appendChild(r);break;case"meta":if(f=Xm("meta","content",s).get(a+(n.content||""))){for(y=0;y<f.length;y++)if(r=f[y],r.getAttribute("content")===(n.content==null?null:""+n.content)&&r.getAttribute("name")===(n.name==null?null:n.name)&&r.getAttribute("property")===(n.property==null?null:n.property)&&r.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&r.getAttribute("charset")===(n.charSet==null?null:n.charSet)){f.splice(y,1);break e}}r=s.createElement(a),te(r,a,n),s.head.appendChild(r);break;default:throw Error(u(468,a))}r[Wt]=t,kt(r),a=r}t.stateNode=a}else Zm(s,t.type,t.stateNode);else t.stateNode=Gm(s,a,t.memoizedProps);else r!==a?(r===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):r.count--,a===null?Zm(s,t.type,t.stateNode):Gm(s,a,t.memoizedProps)):a===null&&t.stateNode!==null&&Jo(t,t.memoizedProps,n.memoizedProps)}break;case 27:de(e,t),me(t),a&512&&(Zt||n===null||Fe(n,n.return)),n!==null&&a&4&&Jo(t,t.memoizedProps,n.memoizedProps);break;case 5:if(de(e,t),me(t),a&512&&(Zt||n===null||Fe(n,n.return)),t.flags&32){s=t.stateNode;try{Ci(s,"")}catch(Q){At(t,t.return,Q)}}a&4&&t.stateNode!=null&&(s=t.memoizedProps,Jo(t,s,n!==null?n.memoizedProps:s)),a&1024&&(Wo=!0);break;case 6:if(de(e,t),me(t),a&4){if(t.stateNode===null)throw Error(u(162));a=t.memoizedProps,n=t.stateNode;try{n.nodeValue=a}catch(Q){At(t,t.return,Q)}}break;case 3:if(Rs=null,s=Ye,Ye=zs(e.containerInfo),de(e,t),Ye=s,me(t),a&4&&n!==null&&n.memoizedState.isDehydrated)try{aa(e.containerInfo)}catch(Q){At(t,t.return,Q)}Wo&&(Wo=!1,Zd(t));break;case 4:a=Ye,Ye=zs(t.stateNode.containerInfo),de(e,t),me(t),Ye=a;break;case 12:de(e,t),me(t);break;case 31:de(e,t),me(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,ms(t,a)));break;case 13:de(e,t),me(t),t.child.flags&8192&&t.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(ps=ge()),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,ms(t,a)));break;case 22:s=t.memoizedState!==null;var T=n!==null&&n.memoizedState!==null,D=dn,V=Zt;if(dn=D||s,Zt=V||T,de(e,t),Zt=V,dn=D,me(t),a&8192)t:for(e=t.stateNode,e._visibility=s?e._visibility&-2:e._visibility|1,s&&(n===null||T||dn||Zt||di(t)),n=null,e=t;;){if(e.tag===5||e.tag===26){if(n===null){T=n=e;try{if(r=T.stateNode,s)f=r.style,typeof f.setProperty=="function"?f.setProperty("display","none","important"):f.display="none";else{y=T.stateNode;var U=T.memoizedProps.style,C=U!=null&&U.hasOwnProperty("display")?U.display:null;y.style.display=C==null||typeof C=="boolean"?"":(""+C).trim()}}catch(Q){At(T,T.return,Q)}}}else if(e.tag===6){if(n===null){T=e;try{T.stateNode.nodeValue=s?"":T.memoizedProps}catch(Q){At(T,T.return,Q)}}}else if(e.tag===18){if(n===null){T=e;try{var z=T.stateNode;s?Um(z,!0):Um(T.stateNode,!1)}catch(Q){At(T,T.return,Q)}}}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,ms(t,n))));break;case 19:de(e,t),me(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,ms(t,a)));break;case 30:break;case 21:break;default:de(e,t),me(t)}}function me(t){var e=t.flags;if(e&2){try{for(var n,a=t.return;a!==null;){if(Nd(a)){n=a;break}a=a.return}if(n==null)throw Error(u(160));switch(n.tag){case 27:var s=n.stateNode,r=ko(t);ds(t,r,s);break;case 5:var f=n.stateNode;n.flags&32&&(Ci(f,""),n.flags&=-33);var y=ko(t);ds(t,y,f);break;case 3:case 4:var T=n.stateNode.containerInfo,D=ko(t);Fo(t,D,T);break;default:throw Error(u(161))}}catch(V){At(t,t.return,V)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Zd(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;Zd(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function yn(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)jd(t,e.alternate,e),e=e.sibling}function di(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:Un(4,e,e.return),di(e);break;case 1:Fe(e,e.return);var n=e.stateNode;typeof n.componentWillUnmount=="function"&&Ud(e,e.return,n),di(e);break;case 27:tl(e.stateNode);case 26:case 5:Fe(e,e.return),di(e);break;case 22:e.memoizedState===null&&di(e);break;case 30:di(e);break;default:di(e)}t=t.sibling}}function pn(t,e,n){for(n=n&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var a=e.alternate,s=t,r=e,f=r.flags;switch(r.tag){case 0:case 11:case 15:pn(s,r,n),Za(4,r);break;case 1:if(pn(s,r,n),a=r,s=a.stateNode,typeof s.componentDidMount=="function")try{s.componentDidMount()}catch(D){At(a,a.return,D)}if(a=r,s=a.updateQueue,s!==null){var y=a.stateNode;try{var T=s.shared.hiddenCallbacks;if(T!==null)for(s.shared.hiddenCallbacks=null,s=0;s<T.length;s++)bh(T[s],y)}catch(D){At(a,a.return,D)}}n&&f&64&&_d(r),Qa(r,r.return);break;case 27:Ld(r);case 26:case 5:pn(s,r,n),n&&a===null&&f&4&&Bd(r),Qa(r,r.return);break;case 12:pn(s,r,n);break;case 31:pn(s,r,n),n&&f&4&&Yd(s,r);break;case 13:pn(s,r,n),n&&f&4&&Gd(s,r);break;case 22:r.memoizedState===null&&pn(s,r,n),Qa(r,r.return);break;case 30:break;default:pn(s,r,n)}e=e.sibling}}function Po(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&&Va(n))}function $o(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Va(t))}function Ge(t,e,n,a){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Qd(t,e,n,a),e=e.sibling}function Qd(t,e,n,a){var s=e.flags;switch(e.tag){case 0:case 11:case 15:Ge(t,e,n,a),s&2048&&Za(9,e);break;case 1:Ge(t,e,n,a);break;case 3:Ge(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&&Va(t)));break;case 12:if(s&2048){Ge(t,e,n,a),t=e.stateNode;try{var r=e.memoizedProps,f=r.id,y=r.onPostCommit;typeof y=="function"&&y(f,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(T){At(e,e.return,T)}}else Ge(t,e,n,a);break;case 31:Ge(t,e,n,a);break;case 13:Ge(t,e,n,a);break;case 23:break;case 22:r=e.stateNode,f=e.alternate,e.memoizedState!==null?r._visibility&2?Ge(t,e,n,a):Ka(t,e):r._visibility&2?Ge(t,e,n,a):(r._visibility|=2,Ji(t,e,n,a,(e.subtreeFlags&10256)!==0||!1)),s&2048&&Po(f,e);break;case 24:Ge(t,e,n,a),s&2048&&$o(e.alternate,e);break;default:Ge(t,e,n,a)}}function Ji(t,e,n,a,s){for(s=s&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var r=t,f=e,y=n,T=a,D=f.flags;switch(f.tag){case 0:case 11:case 15:Ji(r,f,y,T,s),Za(8,f);break;case 23:break;case 22:var V=f.stateNode;f.memoizedState!==null?V._visibility&2?Ji(r,f,y,T,s):Ka(r,f):(V._visibility|=2,Ji(r,f,y,T,s)),s&&D&2048&&Po(f.alternate,f);break;case 24:Ji(r,f,y,T,s),s&&D&2048&&$o(f.alternate,f);break;default:Ji(r,f,y,T,s)}e=e.sibling}}function Ka(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:Ka(n,a),s&2048&&Po(a.alternate,a);break;case 24:Ka(n,a),s&2048&&$o(a.alternate,a);break;default:Ka(n,a)}e=e.sibling}}var Ja=8192;function ki(t,e,n){if(t.subtreeFlags&Ja)for(t=t.child;t!==null;)Kd(t,e,n),t=t.sibling}function Kd(t,e,n){switch(t.tag){case 26:ki(t,e,n),t.flags&Ja&&t.memoizedState!==null&&O1(n,Ye,t.memoizedState,t.memoizedProps);break;case 5:ki(t,e,n);break;case 3:case 4:var a=Ye;Ye=zs(t.stateNode.containerInfo),ki(t,e,n),Ye=a;break;case 22:t.memoizedState===null&&(a=t.alternate,a!==null&&a.memoizedState!==null?(a=Ja,Ja=16777216,ki(t,e,n),Ja=a):ki(t,e,n));break;default:ki(t,e,n)}}function Jd(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 ka(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];Ft=a,Fd(a,t)}Jd(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)kd(t),t=t.sibling}function kd(t){switch(t.tag){case 0:case 11:case 15:ka(t),t.flags&2048&&Un(9,t,t.return);break;case 3:ka(t);break;case 12:ka(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,ys(t)):ka(t);break;default:ka(t)}}function ys(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];Ft=a,Fd(a,t)}Jd(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:Un(8,e,e.return),ys(e);break;case 22:n=e.stateNode,n._visibility&2&&(n._visibility&=-3,ys(e));break;default:ys(e)}t=t.sibling}}function Fd(t,e){for(;Ft!==null;){var n=Ft;switch(n.tag){case 0:case 11:case 15:Un(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:Va(n.memoizedState.cache)}if(a=n.child,a!==null)a.return=n,Ft=a;else t:for(n=t;Ft!==null;){a=Ft;var s=a.sibling,r=a.return;if(Hd(a),a===n){Ft=null;break t}if(s!==null){s.return=r,Ft=s;break t}Ft=r}}}var Zv={getCacheForType:function(t){var e=$t(Yt),n=e.data.get(t);return n===void 0&&(n=t(),e.data.set(t,n)),n},cacheSignal:function(){return $t(Yt).controller.signal}},Qv=typeof WeakMap=="function"?WeakMap:Map,vt=0,Ct=null,rt=null,ft=0,bt=0,Me=null,Bn=!1,Fi=!1,Io=!1,gn=0,Bt=0,Nn=0,mi=0,tr=0,xe=0,Wi=0,Fa=null,ye=null,er=!1,ps=0,Wd=0,gs=1/0,vs=null,Ln=null,Kt=0,wn=null,Pi=null,vn=0,nr=0,ir=null,Pd=null,Wa=0,ar=null;function De(){return(vt&2)!==0&&ft!==0?ft&-ft:R.T!==null?cr():df()}function $d(){if(xe===0)if((ft&536870912)===0||mt){var t=Dl;Dl<<=1,(Dl&3932160)===0&&(Dl=262144),xe=t}else xe=536870912;return t=Ae.current,t!==null&&(t.flags|=32),xe}function pe(t,e,n){(t===Ct&&(bt===2||bt===9)||t.cancelPendingCommit!==null)&&($i(t,0),jn(t,ft,xe,!1)),ga(t,n),((vt&2)===0||t!==Ct)&&(t===Ct&&((vt&2)===0&&(mi|=n),Bt===4&&jn(t,ft,xe,!1)),We(t))}function Id(t,e,n){if((vt&6)!==0)throw Error(u(327));var a=!n&&(e&127)===0&&(e&t.expiredLanes)===0||pa(t,e),s=a?kv(t,e):sr(t,e,!0),r=a;do{if(s===0){Fi&&!a&&jn(t,e,0,!1);break}else{if(n=t.current.alternate,r&&!Kv(n)){s=sr(t,e,!1),r=!1;continue}if(s===2){if(r=e,t.errorRecoveryDisabledLanes&r)var f=0;else f=t.pendingLanes&-536870913,f=f!==0?f:f&536870912?536870912:0;if(f!==0){e=f;t:{var y=t;s=Fa;var T=y.current.memoizedState.isDehydrated;if(T&&($i(y,f).flags|=256),f=sr(y,f,!1),f!==2){if(Io&&!T){y.errorRecoveryDisabledLanes|=r,mi|=r,s=4;break t}r=ye,ye=s,r!==null&&(ye===null?ye=r:ye.push.apply(ye,r))}s=f}if(r=!1,s!==2)continue}}if(s===1){$i(t,0),jn(t,e,0,!0);break}t:{switch(a=t,r=s,r){case 0:case 1:throw Error(u(345));case 4:if((e&4194048)!==e)break;case 6:jn(a,e,xe,!Bn);break t;case 2:ye=null;break;case 3:case 5:break;default:throw Error(u(329))}if((e&62914560)===e&&(s=ps+300-ge(),10<s)){if(jn(a,e,xe,!Bn),zl(a,0,!0)!==0)break t;vn=e,a.timeoutHandle=Rm(tm.bind(null,a,n,ye,vs,er,e,xe,mi,Wi,Bn,r,"Throttled",-0,0),s);break t}tm(a,n,ye,vs,er,e,xe,mi,Wi,Bn,r,null,-0,0)}}break}while(!0);We(t)}function tm(t,e,n,a,s,r,f,y,T,D,V,U,C,z){if(t.timeoutHandle=-1,U=e.subtreeFlags,U&8192||(U&16785408)===16785408){U={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:nn},Kd(e,r,U);var Q=(r&62914560)===r?ps-ge():(r&4194048)===r?Wd-ge():0;if(Q=R1(U,Q),Q!==null){vn=r,t.cancelPendingCommit=Q(om.bind(null,t,e,r,n,a,s,f,y,T,V,U,null,C,z)),jn(t,r,f,!D);return}}om(t,e,r,n,a,s,f,y,T)}function Kv(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],r=s.getSnapshot;s=s.value;try{if(!Te(r(),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 jn(t,e,n,a){e&=~tr,e&=~mi,t.suspendedLanes|=e,t.pingedLanes&=~e,a&&(t.warmLanes|=e),a=t.expirationTimes;for(var s=e;0<s;){var r=31-Se(s),f=1<<r;a[r]=-1,s&=~f}n!==0&&cf(t,n,e)}function Ss(){return(vt&6)===0?(Pa(0),!1):!0}function lr(){if(rt!==null){if(bt===0)var t=rt.return;else t=rt,un=li=null,bo(t),Gi=null,Ua=0,t=rt;for(;t!==null;)Vd(t.alternate,t),t=t.return;rt=null}}function $i(t,e){var n=t.timeoutHandle;n!==-1&&(t.timeoutHandle=-1,h1(n)),n=t.cancelPendingCommit,n!==null&&(t.cancelPendingCommit=null,n()),vn=0,lr(),Ct=t,rt=n=ln(t.current,null),ft=e,bt=0,Me=null,Bn=!1,Fi=pa(t,e),Io=!1,Wi=xe=tr=mi=Nn=Bt=0,ye=Fa=null,er=!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-Se(a),r=1<<s;e|=t[s],a&=~r}return gn=e,ql(),n}function em(t,e){at=null,R.H=Ya,e===Yi||e===kl?(e=gh(),bt=3):e===oo?(e=gh(),bt=4):bt=e===wo?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,Me=e,rt===null&&(Bt=1,os(t,Ve(e,t.current)))}function nm(){var t=Ae.current;return t===null?!0:(ft&4194048)===ft?Ne===null:(ft&62914560)===ft||(ft&536870912)!==0?t===Ne:!1}function im(){var t=R.H;return R.H=Ya,t===null?Ya:t}function am(){var t=R.A;return R.A=Zv,t}function Ts(){Bt=4,Bn||(ft&4194048)!==ft&&Ae.current!==null||(Fi=!0),(Nn&134217727)===0&&(mi&134217727)===0||Ct===null||jn(Ct,ft,xe,!1)}function sr(t,e,n){var a=vt;vt|=2;var s=im(),r=am();(Ct!==t||ft!==e)&&(vs=null,$i(t,e)),e=!1;var f=Bt;t:do try{if(bt!==0&&rt!==null){var y=rt,T=Me;switch(bt){case 8:lr(),f=6;break t;case 3:case 2:case 9:case 6:Ae.current===null&&(e=!0);var D=bt;if(bt=0,Me=null,Ii(t,y,T,D),n&&Fi){f=0;break t}break;default:D=bt,bt=0,Me=null,Ii(t,y,T,D)}}Jv(),f=Bt;break}catch(V){em(t,V)}while(!0);return e&&t.shellSuspendCounter++,un=li=null,vt=a,R.H=s,R.A=r,rt===null&&(Ct=null,ft=0,ql()),f}function Jv(){for(;rt!==null;)lm(rt)}function kv(t,e){var n=vt;vt|=2;var a=im(),s=am();Ct!==t||ft!==e?(vs=null,gs=ge()+500,$i(t,e)):Fi=pa(t,e);t:do try{if(bt!==0&&rt!==null){e=rt;var r=Me;e:switch(bt){case 1:bt=0,Me=null,Ii(t,e,r,1);break;case 2:case 9:if(yh(r)){bt=0,Me=null,sm(e);break}e=function(){bt!==2&&bt!==9||Ct!==t||(bt=7),We(t)},r.then(e,e);break t;case 3:bt=7;break t;case 4:bt=5;break t;case 7:yh(r)?(bt=0,Me=null,sm(e)):(bt=0,Me=null,Ii(t,e,r,7));break;case 5:var f=null;switch(rt.tag){case 26:f=rt.memoizedState;case 5:case 27:var y=rt;if(f?Qm(f):y.stateNode.complete){bt=0,Me=null;var T=y.sibling;if(T!==null)rt=T;else{var D=y.return;D!==null?(rt=D,bs(D)):rt=null}break e}}bt=0,Me=null,Ii(t,e,r,5);break;case 6:bt=0,Me=null,Ii(t,e,r,6);break;case 8:lr(),Bt=6;break t;default:throw Error(u(462))}}Fv();break}catch(V){em(t,V)}while(!0);return un=li=null,R.H=a,R.A=s,vt=n,rt!==null?0:(Ct=null,ft=0,ql(),Bt)}function Fv(){for(;rt!==null&&!v0();)lm(rt)}function lm(t){var e=Od(t.alternate,t,gn);t.memoizedProps=t.pendingProps,e===null?bs(t):rt=e}function sm(t){var e=t,n=e.alternate;switch(e.tag){case 15:case 0:e=Ed(n,e,e.pendingProps,e.type,void 0,ft);break;case 11:e=Ed(n,e,e.pendingProps,e.type.render,e.ref,ft);break;case 5:bo(e);default:Vd(n,e),e=rt=ah(e,gn),e=Od(n,e,gn)}t.memoizedProps=t.pendingProps,e===null?bs(t):rt=e}function Ii(t,e,n,a){un=li=null,bo(e),Gi=null,Ua=0;var s=e.return;try{if(wv(t,s,e,n,ft)){Bt=1,os(t,Ve(n,t.current)),rt=null;return}}catch(r){if(s!==null)throw rt=s,r;Bt=1,os(t,Ve(n,t.current)),rt=null;return}e.flags&32768?(mt||a===1?t=!0:Fi||(ft&536870912)!==0?t=!1:(Bn=t=!0,(a===2||a===9||a===3||a===6)&&(a=Ae.current,a!==null&&a.tag===13&&(a.flags|=16384))),um(e,t)):bs(e)}function bs(t){var e=t;do{if((e.flags&32768)!==0){um(e,Bn);return}t=e.return;var n=qv(e.alternate,e,gn);if(n!==null){rt=n;return}if(e=e.sibling,e!==null){rt=e;return}rt=e=t}while(e!==null);Bt===0&&(Bt=5)}function um(t,e){do{var n=Yv(t.alternate,t);if(n!==null){n.flags&=32767,rt=n;return}if(n=t.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!e&&(t=t.sibling,t!==null)){rt=t;return}rt=t=n}while(t!==null);Bt=6,rt=null}function om(t,e,n,a,s,r,f,y,T){t.cancelPendingCommit=null;do As();while(Kt!==0);if((vt&6)!==0)throw Error(u(327));if(e!==null){if(e===t.current)throw Error(u(177));if(r=e.lanes|e.childLanes,r|=Ju,z0(t,n,r,f,y,T),t===Ct&&(rt=Ct=null,ft=0),Pi=e,wn=t,vn=n,nr=r,ir=s,Pd=a,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,Iv(Ml,function(){return dm(),null})):(t.callbackNode=null,t.callbackPriority=0),a=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||a){a=R.T,R.T=null,s=q.p,q.p=2,f=vt,vt|=4;try{Gv(t,e,n)}finally{vt=f,q.p=s,R.T=a}}Kt=1,rm(),cm(),fm()}}function rm(){if(Kt===1){Kt=0;var t=wn,e=Pi,n=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||n){n=R.T,R.T=null;var a=q.p;q.p=2;var s=vt;vt|=4;try{Xd(e,t);var r=vr,f=Ff(t.containerInfo),y=r.focusedElem,T=r.selectionRange;if(f!==y&&y&&y.ownerDocument&&kf(y.ownerDocument.documentElement,y)){if(T!==null&&Gu(y)){var D=T.start,V=T.end;if(V===void 0&&(V=D),"selectionStart"in y)y.selectionStart=D,y.selectionEnd=Math.min(V,y.value.length);else{var U=y.ownerDocument||document,C=U&&U.defaultView||window;if(C.getSelection){var z=C.getSelection(),Q=y.textContent.length,I=Math.min(T.start,Q),Dt=T.end===void 0?I:Math.min(T.end,Q);!z.extend&&I>Dt&&(f=Dt,Dt=I,I=f);var M=Jf(y,I),b=Jf(y,Dt);if(M&&b&&(z.rangeCount!==1||z.anchorNode!==M.node||z.anchorOffset!==M.offset||z.focusNode!==b.node||z.focusOffset!==b.offset)){var x=U.createRange();x.setStart(M.node,M.offset),z.removeAllRanges(),I>Dt?(z.addRange(x),z.extend(b.node,b.offset)):(x.setEnd(b.node,b.offset),z.addRange(x))}}}}for(U=[],z=y;z=z.parentNode;)z.nodeType===1&&U.push({element:z,left:z.scrollLeft,top:z.scrollTop});for(typeof y.focus=="function"&&y.focus(),y=0;y<U.length;y++){var _=U[y];_.element.scrollLeft=_.left,_.element.scrollTop=_.top}}Bs=!!gr,vr=gr=null}finally{vt=s,q.p=a,R.T=n}}t.current=e,Kt=2}}function cm(){if(Kt===2){Kt=0;var t=wn,e=Pi,n=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||n){n=R.T,R.T=null;var a=q.p;q.p=2;var s=vt;vt|=4;try{jd(t,e.alternate,e)}finally{vt=s,q.p=a,R.T=n}}Kt=3}}function fm(){if(Kt===4||Kt===3){Kt=0,S0();var t=wn,e=Pi,n=vn,a=Pd;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?Kt=5:(Kt=0,Pi=wn=null,hm(t,t.pendingLanes));var s=t.pendingLanes;if(s===0&&(Ln=null),Eu(n),e=e.stateNode,ve&&typeof ve.onCommitFiberRoot=="function")try{ve.onCommitFiberRoot(ya,e,void 0,(e.current.flags&128)===128)}catch{}if(a!==null){e=R.T,s=q.p,q.p=2,R.T=null;try{for(var r=t.onRecoverableError,f=0;f<a.length;f++){var y=a[f];r(y.value,{componentStack:y.stack})}}finally{R.T=e,q.p=s}}(vn&3)!==0&&As(),We(t),s=t.pendingLanes,(n&261930)!==0&&(s&42)!==0?t===ar?Wa++:(Wa=0,ar=t):Wa=0,Pa(0)}}function hm(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,Va(e)))}function As(){return rm(),cm(),fm(),dm()}function dm(){if(Kt!==5)return!1;var t=wn,e=nr;nr=0;var n=Eu(vn),a=R.T,s=q.p;try{q.p=32>n?32:n,R.T=null,n=ir,ir=null;var r=wn,f=vn;if(Kt=0,Pi=wn=null,vn=0,(vt&6)!==0)throw Error(u(331));var y=vt;if(vt|=4,kd(r.current),Qd(r,r.current,f,n),vt=y,Pa(0,!1),ve&&typeof ve.onPostCommitFiberRoot=="function")try{ve.onPostCommitFiberRoot(ya,r)}catch{}return!0}finally{q.p=s,R.T=a,hm(t,e)}}function mm(t,e,n){e=Ve(n,e),e=Lo(t.stateNode,e,2),t=Rn(t,e,2),t!==null&&(ga(t,2),We(t))}function At(t,e,n){if(t.tag===3)mm(t,t,n);else for(;e!==null;){if(e.tag===3){mm(e,t,n);break}else if(e.tag===1){var a=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Ln===null||!Ln.has(a))){t=Ve(n,t),n=yd(2),a=Rn(e,n,2),a!==null&&(pd(n,a,e,t),ga(a,2),We(a));break}}e=e.return}}function ur(t,e,n){var a=t.pingCache;if(a===null){a=t.pingCache=new Qv;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)||(Io=!0,s.add(n),t=Wv.bind(null,t,e,n),e.then(t,t))}function Wv(t,e,n){var a=t.pingCache;a!==null&&a.delete(e),t.pingedLanes|=t.suspendedLanes&n,t.warmLanes&=~n,Ct===t&&(ft&n)===n&&(Bt===4||Bt===3&&(ft&62914560)===ft&&300>ge()-ps?(vt&2)===0&&$i(t,0):tr|=n,Wi===ft&&(Wi=0)),We(t)}function ym(t,e){e===0&&(e=rf()),t=ni(t,e),t!==null&&(ga(t,e),We(t))}function Pv(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),ym(t,n)}function $v(t,e){var n=0;switch(t.tag){case 31: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(u(314))}a!==null&&a.delete(e),ym(t,n)}function Iv(t,e){return Su(t,e)}var Es=null,ta=null,or=!1,Ms=!1,rr=!1,Hn=0;function We(t){t!==ta&&t.next===null&&(ta===null?Es=ta=t:ta=ta.next=t),Ms=!0,or||(or=!0,e1())}function Pa(t,e){if(!rr&&Ms){rr=!0;do for(var n=!1,a=Es;a!==null;){if(t!==0){var s=a.pendingLanes;if(s===0)var r=0;else{var f=a.suspendedLanes,y=a.pingedLanes;r=(1<<31-Se(42|t)+1)-1,r&=s&~(f&~y),r=r&201326741?r&201326741|1:r?r|2:0}r!==0&&(n=!0,Sm(a,r))}else r=ft,r=zl(a,a===Ct?r:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(r&3)===0||pa(a,r)||(n=!0,Sm(a,r));a=a.next}while(n);rr=!1}}function t1(){pm()}function pm(){Ms=or=!1;var t=0;Hn!==0&&f1()&&(t=Hn);for(var e=ge(),n=null,a=Es;a!==null;){var s=a.next,r=gm(a,e);r===0?(a.next=null,n===null?Es=s:n.next=s,s===null&&(ta=n)):(n=a,(t!==0||(r&3)!==0)&&(Ms=!0)),a=s}Kt!==0&&Kt!==5||Pa(t),Hn!==0&&(Hn=0)}function gm(t,e){for(var n=t.suspendedLanes,a=t.pingedLanes,s=t.expirationTimes,r=t.pendingLanes&-62914561;0<r;){var f=31-Se(r),y=1<<f,T=s[f];T===-1?((y&n)===0||(y&a)!==0)&&(s[f]=C0(y,e)):T<=e&&(t.expiredLanes|=y),r&=~y}if(e=Ct,n=ft,n=zl(t,t===e?n:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a=t.callbackNode,n===0||t===e&&(bt===2||bt===9)||t.cancelPendingCommit!==null)return a!==null&&a!==null&&Tu(a),t.callbackNode=null,t.callbackPriority=0;if((n&3)===0||pa(t,n)){if(e=n&-n,e===t.callbackPriority)return e;switch(a!==null&&Tu(a),Eu(n)){case 2:case 8:n=uf;break;case 32:n=Ml;break;case 268435456:n=of;break;default:n=Ml}return a=vm.bind(null,t),n=Su(n,a),t.callbackPriority=e,t.callbackNode=n,e}return a!==null&&a!==null&&Tu(a),t.callbackPriority=2,t.callbackNode=null,2}function vm(t,e){if(Kt!==0&&Kt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var n=t.callbackNode;if(As()&&t.callbackNode!==n)return null;var a=ft;return a=zl(t,t===Ct?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a===0?null:(Id(t,a,e),gm(t,ge()),t.callbackNode!=null&&t.callbackNode===n?vm.bind(null,t):null)}function Sm(t,e){if(As())return null;Id(t,e,!0)}function e1(){d1(function(){(vt&6)!==0?Su(sf,t1):pm()})}function cr(){if(Hn===0){var t=Hi;t===0&&(t=xl,xl<<=1,(xl&261888)===0&&(xl=256)),Hn=t}return Hn}function Tm(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:_l(""+t)}function bm(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 n1(t,e,n,a,s){if(e==="submit"&&n&&n.stateNode===s){var r=Tm((s[ce]||null).action),f=a.submitter;f&&(e=(e=f[ce]||null)?Tm(e.formAction):f.getAttribute("formAction"),e!==null&&(r=e,f=null));var y=new Ll("action","action",null,a,s);t.push({event:y,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Hn!==0){var T=f?bm(s,f):new FormData(s);Ro(n,{pending:!0,data:T,method:s.method,action:r},null,T)}}else typeof r=="function"&&(y.preventDefault(),T=f?bm(s,f):new FormData(s),Ro(n,{pending:!0,data:T,method:s.method,action:r},r,T))},currentTarget:s}]})}}for(var fr=0;fr<Ku.length;fr++){var hr=Ku[fr],i1=hr.toLowerCase(),a1=hr[0].toUpperCase()+hr.slice(1);qe(i1,"on"+a1)}qe($f,"onAnimationEnd"),qe(If,"onAnimationIteration"),qe(th,"onAnimationStart"),qe("dblclick","onDoubleClick"),qe("focusin","onFocus"),qe("focusout","onBlur"),qe(Tv,"onTransitionRun"),qe(bv,"onTransitionStart"),qe(Av,"onTransitionCancel"),qe(eh,"onTransitionEnd"),xi("onMouseEnter",["mouseout","mouseover"]),xi("onMouseLeave",["mouseout","mouseover"]),xi("onPointerEnter",["pointerout","pointerover"]),xi("onPointerLeave",["pointerout","pointerover"]),$n("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),$n("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),$n("onBeforeInput",["compositionend","keypress","textInput","paste"]),$n("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),$n("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),$n("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var $a="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(" "),l1=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat($a));function Am(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 r=void 0;if(e)for(var f=a.length-1;0<=f;f--){var y=a[f],T=y.instance,D=y.currentTarget;if(y=y.listener,T!==r&&s.isPropagationStopped())break t;r=y,s.currentTarget=D;try{r(s)}catch(V){Hl(V)}s.currentTarget=null,r=T}else for(f=0;f<a.length;f++){if(y=a[f],T=y.instance,D=y.currentTarget,y=y.listener,T!==r&&s.isPropagationStopped())break t;r=y,s.currentTarget=D;try{r(s)}catch(V){Hl(V)}s.currentTarget=null,r=T}}}}function ct(t,e){var n=e[Mu];n===void 0&&(n=e[Mu]=new Set);var a=t+"__bubble";n.has(a)||(Em(e,t,2,!1),n.add(a))}function dr(t,e,n){var a=0;e&&(a|=4),Em(n,t,a,e)}var xs="_reactListening"+Math.random().toString(36).slice(2);function mr(t){if(!t[xs]){t[xs]=!0,pf.forEach(function(n){n!=="selectionchange"&&(l1.has(n)||dr(n,!1,t),dr(n,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[xs]||(e[xs]=!0,dr("selectionchange",!1,e))}}function Em(t,e,n,a){switch($m(e)){case 2:var s=U1;break;case 8:s=B1;break;default:s=Or}n=s.bind(null,e,n,t),s=void 0,!Uu||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 yr(t,e,n,a,s){var r=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 y=a.stateNode.containerInfo;if(y===s)break;if(f===4)for(f=a.return;f!==null;){var T=f.tag;if((T===3||T===4)&&f.stateNode.containerInfo===s)return;f=f.return}for(;y!==null;){if(f=Ai(y),f===null)return;if(T=f.tag,T===5||T===6||T===26||T===27){a=r=f;continue t}y=y.parentNode}}a=a.return}zf(function(){var D=r,V=Vu(n),U=[];t:{var C=nh.get(t);if(C!==void 0){var z=Ll,Q=t;switch(t){case"keypress":if(Bl(n)===0)break t;case"keydown":case"keyup":z=$0;break;case"focusin":Q="focus",z=wu;break;case"focusout":Q="blur",z=wu;break;case"beforeblur":case"afterblur":z=wu;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":z=Vf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":z=q0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":z=ev;break;case $f:case If:case th:z=X0;break;case eh:z=iv;break;case"scroll":case"scrollend":z=j0;break;case"wheel":z=lv;break;case"copy":case"cut":case"paste":z=Q0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":z=Uf;break;case"toggle":case"beforetoggle":z=uv}var I=(e&4)!==0,Dt=!I&&(t==="scroll"||t==="scrollend"),M=I?C!==null?C+"Capture":null:C;I=[];for(var b=D,x;b!==null;){var _=b;if(x=_.stateNode,_=_.tag,_!==5&&_!==26&&_!==27||x===null||M===null||(_=Ta(b,M),_!=null&&I.push(Ia(b,_,x))),Dt)break;b=b.return}0<I.length&&(C=new z(C,Q,null,n,V),U.push({event:C,listeners:I}))}}if((e&7)===0){t:{if(C=t==="mouseover"||t==="pointerover",z=t==="mouseout"||t==="pointerout",C&&n!==Ru&&(Q=n.relatedTarget||n.fromElement)&&(Ai(Q)||Q[bi]))break t;if((z||C)&&(C=V.window===V?V:(C=V.ownerDocument)?C.defaultView||C.parentWindow:window,z?(Q=n.relatedTarget||n.toElement,z=D,Q=Q?Ai(Q):null,Q!==null&&(Dt=d(Q),I=Q.tag,Q!==Dt||I!==5&&I!==27&&I!==6)&&(Q=null)):(z=null,Q=D),z!==Q)){if(I=Vf,_="onMouseLeave",M="onMouseEnter",b="mouse",(t==="pointerout"||t==="pointerover")&&(I=Uf,_="onPointerLeave",M="onPointerEnter",b="pointer"),Dt=z==null?C:Sa(z),x=Q==null?C:Sa(Q),C=new I(_,b+"leave",z,n,V),C.target=Dt,C.relatedTarget=x,_=null,Ai(V)===D&&(I=new I(M,b+"enter",Q,n,V),I.target=x,I.relatedTarget=Dt,_=I),Dt=_,z&&Q)e:{for(I=s1,M=z,b=Q,x=0,_=M;_;_=I(_))x++;_=0;for(var $=b;$;$=I($))_++;for(;0<x-_;)M=I(M),x--;for(;0<_-x;)b=I(b),_--;for(;x--;){if(M===b||b!==null&&M===b.alternate){I=M;break e}M=I(M),b=I(b)}I=null}else I=null;z!==null&&Mm(U,C,z,I,!1),Q!==null&&Dt!==null&&Mm(U,Dt,Q,I,!0)}}t:{if(C=D?Sa(D):window,z=C.nodeName&&C.nodeName.toLowerCase(),z==="select"||z==="input"&&C.type==="file")var yt=Yf;else if(Hf(C))if(Gf)yt=gv;else{yt=yv;var F=mv}else z=C.nodeName,!z||z.toLowerCase()!=="input"||C.type!=="checkbox"&&C.type!=="radio"?D&&Ou(D.elementType)&&(yt=Yf):yt=pv;if(yt&&(yt=yt(t,D))){qf(U,yt,n,V);break t}F&&F(t,C,D),t==="focusout"&&D&&C.type==="number"&&D.memoizedProps.value!=null&&zu(C,"number",C.value)}switch(F=D?Sa(D):window,t){case"focusin":(Hf(F)||F.contentEditable==="true")&&(Vi=F,Xu=D,za=null);break;case"focusout":za=Xu=Vi=null;break;case"mousedown":Zu=!0;break;case"contextmenu":case"mouseup":case"dragend":Zu=!1,Wf(U,n,V);break;case"selectionchange":if(Sv)break;case"keydown":case"keyup":Wf(U,n,V)}var st;if(Hu)t:{switch(t){case"compositionstart":var ht="onCompositionStart";break t;case"compositionend":ht="onCompositionEnd";break t;case"compositionupdate":ht="onCompositionUpdate";break t}ht=void 0}else Ri?wf(t,n)&&(ht="onCompositionEnd"):t==="keydown"&&n.keyCode===229&&(ht="onCompositionStart");ht&&(Bf&&n.locale!=="ko"&&(Ri||ht!=="onCompositionStart"?ht==="onCompositionEnd"&&Ri&&(st=Of()):(En=V,Bu="value"in En?En.value:En.textContent,Ri=!0)),F=Ds(D,ht),0<F.length&&(ht=new _f(ht,t,null,n,V),U.push({event:ht,listeners:F}),st?ht.data=st:(st=jf(n),st!==null&&(ht.data=st)))),(st=rv?cv(t,n):fv(t,n))&&(ht=Ds(D,"onBeforeInput"),0<ht.length&&(F=new _f("onBeforeInput","beforeinput",null,n,V),U.push({event:F,listeners:ht}),F.data=st)),n1(U,t,D,n,V)}Am(U,e)})}function Ia(t,e,n){return{instance:t,listener:e,currentTarget:n}}function Ds(t,e){for(var n=e+"Capture",a=[];t!==null;){var s=t,r=s.stateNode;if(s=s.tag,s!==5&&s!==26&&s!==27||r===null||(s=Ta(t,n),s!=null&&a.unshift(Ia(t,s,r)),s=Ta(t,e),s!=null&&a.push(Ia(t,s,r))),t.tag===3)return a;t=t.return}return[]}function s1(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function Mm(t,e,n,a,s){for(var r=e._reactName,f=[];n!==null&&n!==a;){var y=n,T=y.alternate,D=y.stateNode;if(y=y.tag,T!==null&&T===a)break;y!==5&&y!==26&&y!==27||D===null||(T=D,s?(D=Ta(n,r),D!=null&&f.unshift(Ia(n,D,T))):s||(D=Ta(n,r),D!=null&&f.push(Ia(n,D,T)))),n=n.return}f.length!==0&&t.push({event:e,listeners:f})}var u1=/\r\n?/g,o1=/\u0000|\uFFFD/g;function xm(t){return(typeof t=="string"?t:""+t).replace(u1,`
9
- `).replace(o1,"")}function Dm(t,e){return e=xm(e),xm(t)===e}function xt(t,e,n,a,s,r){switch(n){case"children":typeof a=="string"?e==="body"||e==="textarea"&&a===""||Ci(t,a):(typeof a=="number"||typeof a=="bigint")&&e!=="body"&&Ci(t,""+a);break;case"className":Rl(t,"class",a);break;case"tabIndex":Rl(t,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Rl(t,n,a);break;case"style":Df(t,a,r);break;case"data":if(e!=="object"){Rl(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=_l(""+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 r=="function"&&(n==="formAction"?(e!=="input"&&xt(t,e,"name",s.name,s,null),xt(t,e,"formEncType",s.formEncType,s,null),xt(t,e,"formMethod",s.formMethod,s,null),xt(t,e,"formTarget",s.formTarget,s,null)):(xt(t,e,"encType",s.encType,s,null),xt(t,e,"method",s.method,s,null),xt(t,e,"target",s.target,s,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(n);break}a=_l(""+a),t.setAttribute(n,a);break;case"onClick":a!=null&&(t.onclick=nn);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(u(61));if(n=a.__html,n!=null){if(s.children!=null)throw Error(u(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=_l(""+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":en(t,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":en(t,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":en(t,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":en(t,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":en(t,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":en(t,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":en(t,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":en(t,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":en(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=L0.get(n)||n,Ol(t,n,a))}}function pr(t,e,n,a,s,r){switch(n){case"style":Df(t,a,r);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(u(61));if(n=a.__html,n!=null){if(s.children!=null)throw Error(u(60));t.innerHTML=n}}break;case"children":typeof a=="string"?Ci(t,a):(typeof a=="number"||typeof a=="bigint")&&Ci(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=nn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!gf.hasOwnProperty(n))t:{if(n[0]==="o"&&n[1]==="n"&&(s=n.endsWith("Capture"),e=n.slice(2,s?n.length-7:void 0),r=t[ce]||null,r=r!=null?r[n]:null,typeof r=="function"&&t.removeEventListener(e,r,s),typeof a=="function")){typeof r!="function"&&r!==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 te(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,r;for(r in n)if(n.hasOwnProperty(r)){var f=n[r];if(f!=null)switch(r){case"src":a=!0;break;case"srcSet":s=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(u(137,e));default:xt(t,e,r,f,n,null)}}s&&xt(t,e,"srcSet",n.srcSet,n,null),a&&xt(t,e,"src",n.src,n,null);return;case"input":ct("invalid",t);var y=r=f=s=null,T=null,D=null;for(a in n)if(n.hasOwnProperty(a)){var V=n[a];if(V!=null)switch(a){case"name":s=V;break;case"type":f=V;break;case"checked":T=V;break;case"defaultChecked":D=V;break;case"value":r=V;break;case"defaultValue":y=V;break;case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(u(137,e));break;default:xt(t,e,a,V,n,null)}}Af(t,r,y,T,D,f,s,!1);return;case"select":ct("invalid",t),a=f=r=null;for(s in n)if(n.hasOwnProperty(s)&&(y=n[s],y!=null))switch(s){case"value":r=y;break;case"defaultValue":f=y;break;case"multiple":a=y;default:xt(t,e,s,y,n,null)}e=r,n=f,t.multiple=!!a,e!=null?Di(t,!!a,e,!1):n!=null&&Di(t,!!a,n,!0);return;case"textarea":ct("invalid",t),r=s=a=null;for(f in n)if(n.hasOwnProperty(f)&&(y=n[f],y!=null))switch(f){case"value":a=y;break;case"defaultValue":s=y;break;case"children":r=y;break;case"dangerouslySetInnerHTML":if(y!=null)throw Error(u(91));break;default:xt(t,e,f,y,n,null)}Mf(t,a,s,r);return;case"option":for(T in n)n.hasOwnProperty(T)&&(a=n[T],a!=null)&&(T==="selected"?t.selected=a&&typeof a!="function"&&typeof a!="symbol":xt(t,e,T,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<$a.length;a++)ct($a[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(u(137,e));default:xt(t,e,D,a,n,null)}return;default:if(Ou(e)){for(V in n)n.hasOwnProperty(V)&&(a=n[V],a!==void 0&&pr(t,e,V,a,n,void 0));return}}for(y in n)n.hasOwnProperty(y)&&(a=n[y],a!=null&&xt(t,e,y,a,n,null))}function r1(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,r=null,f=null,y=null,T=null,D=null,V=null;for(z in n){var U=n[z];if(n.hasOwnProperty(z)&&U!=null)switch(z){case"checked":break;case"value":break;case"defaultValue":T=U;default:a.hasOwnProperty(z)||xt(t,e,z,null,a,U)}}for(var C in a){var z=a[C];if(U=n[C],a.hasOwnProperty(C)&&(z!=null||U!=null))switch(C){case"type":r=z;break;case"name":s=z;break;case"checked":D=z;break;case"defaultChecked":V=z;break;case"value":f=z;break;case"defaultValue":y=z;break;case"children":case"dangerouslySetInnerHTML":if(z!=null)throw Error(u(137,e));break;default:z!==U&&xt(t,e,C,z,a,U)}}Cu(t,f,y,T,D,V,r,s);return;case"select":z=f=y=C=null;for(r in n)if(T=n[r],n.hasOwnProperty(r)&&T!=null)switch(r){case"value":break;case"multiple":z=T;default:a.hasOwnProperty(r)||xt(t,e,r,null,a,T)}for(s in a)if(r=a[s],T=n[s],a.hasOwnProperty(s)&&(r!=null||T!=null))switch(s){case"value":C=r;break;case"defaultValue":y=r;break;case"multiple":f=r;default:r!==T&&xt(t,e,s,r,a,T)}e=y,n=f,a=z,C!=null?Di(t,!!n,C,!1):!!a!=!!n&&(e!=null?Di(t,!!n,e,!0):Di(t,!!n,n?[]:"",!1));return;case"textarea":z=C=null;for(y in n)if(s=n[y],n.hasOwnProperty(y)&&s!=null&&!a.hasOwnProperty(y))switch(y){case"value":break;case"children":break;default:xt(t,e,y,null,a,s)}for(f in a)if(s=a[f],r=n[f],a.hasOwnProperty(f)&&(s!=null||r!=null))switch(f){case"value":C=s;break;case"defaultValue":z=s;break;case"children":break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(u(91));break;default:s!==r&&xt(t,e,f,s,a,r)}Ef(t,C,z);return;case"option":for(var Q in n)C=n[Q],n.hasOwnProperty(Q)&&C!=null&&!a.hasOwnProperty(Q)&&(Q==="selected"?t.selected=!1:xt(t,e,Q,null,a,C));for(T in a)C=a[T],z=n[T],a.hasOwnProperty(T)&&C!==z&&(C!=null||z!=null)&&(T==="selected"?t.selected=C&&typeof C!="function"&&typeof C!="symbol":xt(t,e,T,C,a,z));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)C=n[I],n.hasOwnProperty(I)&&C!=null&&!a.hasOwnProperty(I)&&xt(t,e,I,null,a,C);for(D in a)if(C=a[D],z=n[D],a.hasOwnProperty(D)&&C!==z&&(C!=null||z!=null))switch(D){case"children":case"dangerouslySetInnerHTML":if(C!=null)throw Error(u(137,e));break;default:xt(t,e,D,C,a,z)}return;default:if(Ou(e)){for(var Dt in n)C=n[Dt],n.hasOwnProperty(Dt)&&C!==void 0&&!a.hasOwnProperty(Dt)&&pr(t,e,Dt,void 0,a,C);for(V in a)C=a[V],z=n[V],!a.hasOwnProperty(V)||C===z||C===void 0&&z===void 0||pr(t,e,V,C,a,z);return}}for(var M in n)C=n[M],n.hasOwnProperty(M)&&C!=null&&!a.hasOwnProperty(M)&&xt(t,e,M,null,a,C);for(U in a)C=a[U],z=n[U],!a.hasOwnProperty(U)||C===z||C==null&&z==null||xt(t,e,U,C,a,z)}function Cm(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function c1(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,n=performance.getEntriesByType("resource"),a=0;a<n.length;a++){var s=n[a],r=s.transferSize,f=s.initiatorType,y=s.duration;if(r&&y&&Cm(f)){for(f=0,y=s.responseEnd,a+=1;a<n.length;a++){var T=n[a],D=T.startTime;if(D>y)break;var V=T.transferSize,U=T.initiatorType;V&&Cm(U)&&(T=T.responseEnd,f+=V*(T<y?1:(y-D)/(T-D)))}if(--a,e+=8*(r+f)/(s.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var gr=null,vr=null;function Cs(t){return t.nodeType===9?t:t.ownerDocument}function zm(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 Om(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 Sr(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 Tr=null;function f1(){var t=window.event;return t&&t.type==="popstate"?t===Tr?!1:(Tr=t,!0):(Tr=null,!1)}var Rm=typeof setTimeout=="function"?setTimeout:void 0,h1=typeof clearTimeout=="function"?clearTimeout:void 0,Vm=typeof Promise=="function"?Promise:void 0,d1=typeof queueMicrotask=="function"?queueMicrotask:typeof Vm<"u"?function(t){return Vm.resolve(null).then(t).catch(m1)}:Rm;function m1(t){setTimeout(function(){throw t})}function qn(t){return t==="head"}function _m(t,e){var n=e,a=0;do{var s=n.nextSibling;if(t.removeChild(n),s&&s.nodeType===8)if(n=s.data,n==="/$"||n==="/&"){if(a===0){t.removeChild(s),aa(e);return}a--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")a++;else if(n==="html")tl(t.ownerDocument.documentElement);else if(n==="head"){n=t.ownerDocument.head,tl(n);for(var r=n.firstChild;r;){var f=r.nextSibling,y=r.nodeName;r[va]||y==="SCRIPT"||y==="STYLE"||y==="LINK"&&r.rel.toLowerCase()==="stylesheet"||n.removeChild(r),r=f}}else n==="body"&&tl(t.ownerDocument.body);n=s}while(n);aa(e)}function Um(t,e){var n=t;t=0;do{var a=n.nextSibling;if(n.nodeType===1?e?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(e?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),a&&a.nodeType===8)if(n=a.data,n==="/$"){if(t===0)break;t--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||t++;n=a}while(n)}function br(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":br(n),xu(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}t.removeChild(n)}}function y1(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[va])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(r=t.getAttribute("rel"),r==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(r!==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(r=t.getAttribute("src"),(r!==(s.src==null?null:s.src)||t.getAttribute("type")!==(s.type==null?null:s.type)||t.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin))&&r&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var r=s.name==null?null:""+s.name;if(s.type==="hidden"&&t.getAttribute("name")===r)return t}else return t;if(t=Le(t.nextSibling),t===null)break}return null}function p1(t,e,n){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!n||(t=Le(t.nextSibling),t===null))return null;return t}function Bm(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=Le(t.nextSibling),t===null))return null;return t}function Ar(t){return t.data==="$?"||t.data==="$~"}function Er(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function g1(t,e){var n=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||n.readyState!=="loading")e();else{var a=function(){e(),n.removeEventListener("DOMContentLoaded",a)};n.addEventListener("DOMContentLoaded",a),t._reactRetry=a}}function Le(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return t}var Mr=null;function Nm(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="/$"||n==="/&"){if(e===0)return Le(t.nextSibling);e--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||e++}t=t.nextSibling}return null}function Lm(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(e===0)return t;e--}else n!=="/$"&&n!=="/&"||e++}t=t.previousSibling}return null}function wm(t,e,n){switch(e=Cs(n),t){case"html":if(t=e.documentElement,!t)throw Error(u(452));return t;case"head":if(t=e.head,!t)throw Error(u(453));return t;case"body":if(t=e.body,!t)throw Error(u(454));return t;default:throw Error(u(451))}}function tl(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);xu(t)}var we=new Map,jm=new Set;function zs(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var Sn=q.d;q.d={f:v1,r:S1,D:T1,C:b1,L:A1,m:E1,X:x1,S:M1,M:D1};function v1(){var t=Sn.f(),e=Ss();return t||e}function S1(t){var e=Ei(t);e!==null&&e.tag===5&&e.type==="form"?ed(e):Sn.r(t)}var ea=typeof document>"u"?null:document;function Hm(t,e,n){var a=ea;if(a&&typeof e=="string"&&e){var s=Oe(e);s='link[rel="'+t+'"][href="'+s+'"]',typeof n=="string"&&(s+='[crossorigin="'+n+'"]'),jm.has(s)||(jm.add(s),t={rel:t,crossOrigin:n,href:e},a.querySelector(s)===null&&(e=a.createElement("link"),te(e,"link",t),kt(e),a.head.appendChild(e)))}}function T1(t){Sn.D(t),Hm("dns-prefetch",t,null)}function b1(t,e){Sn.C(t,e),Hm("preconnect",t,e)}function A1(t,e,n){Sn.L(t,e,n);var a=ea;if(a&&t&&e){var s='link[rel="preload"][as="'+Oe(e)+'"]';e==="image"&&n&&n.imageSrcSet?(s+='[imagesrcset="'+Oe(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(s+='[imagesizes="'+Oe(n.imageSizes)+'"]')):s+='[href="'+Oe(t)+'"]';var r=s;switch(e){case"style":r=na(t);break;case"script":r=ia(t)}we.has(r)||(t=S({rel:"preload",href:e==="image"&&n&&n.imageSrcSet?void 0:t,as:e},n),we.set(r,t),a.querySelector(s)!==null||e==="style"&&a.querySelector(el(r))||e==="script"&&a.querySelector(nl(r))||(e=a.createElement("link"),te(e,"link",t),kt(e),a.head.appendChild(e)))}}function E1(t,e){Sn.m(t,e);var n=ea;if(n&&t){var a=e&&typeof e.as=="string"?e.as:"script",s='link[rel="modulepreload"][as="'+Oe(a)+'"][href="'+Oe(t)+'"]',r=s;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":r=ia(t)}if(!we.has(r)&&(t=S({rel:"modulepreload",href:t},e),we.set(r,t),n.querySelector(s)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(nl(r)))return}a=n.createElement("link"),te(a,"link",t),kt(a),n.head.appendChild(a)}}}function M1(t,e,n){Sn.S(t,e,n);var a=ea;if(a&&t){var s=Mi(a).hoistableStyles,r=na(t);e=e||"default";var f=s.get(r);if(!f){var y={loading:0,preload:null};if(f=a.querySelector(el(r)))y.loading=5;else{t=S({rel:"stylesheet",href:t,"data-precedence":e},n),(n=we.get(r))&&xr(t,n);var T=f=a.createElement("link");kt(T),te(T,"link",t),T._p=new Promise(function(D,V){T.onload=D,T.onerror=V}),T.addEventListener("load",function(){y.loading|=1}),T.addEventListener("error",function(){y.loading|=2}),y.loading|=4,Os(f,e,a)}f={type:"stylesheet",instance:f,count:1,state:y},s.set(r,f)}}}function x1(t,e){Sn.X(t,e);var n=ea;if(n&&t){var a=Mi(n).hoistableScripts,s=ia(t),r=a.get(s);r||(r=n.querySelector(nl(s)),r||(t=S({src:t,async:!0},e),(e=we.get(s))&&Dr(t,e),r=n.createElement("script"),kt(r),te(r,"link",t),n.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},a.set(s,r))}}function D1(t,e){Sn.M(t,e);var n=ea;if(n&&t){var a=Mi(n).hoistableScripts,s=ia(t),r=a.get(s);r||(r=n.querySelector(nl(s)),r||(t=S({src:t,async:!0,type:"module"},e),(e=we.get(s))&&Dr(t,e),r=n.createElement("script"),kt(r),te(r,"link",t),n.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},a.set(s,r))}}function qm(t,e,n,a){var s=(s=ot.current)?zs(s):null;if(!s)throw Error(u(446));switch(t){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(e=na(n.href),n=Mi(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=na(n.href);var r=Mi(s).hoistableStyles,f=r.get(t);if(f||(s=s.ownerDocument||s,f={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},r.set(t,f),(r=s.querySelector(el(t)))&&!r._p&&(f.instance=r,f.state.loading=5),we.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},we.set(t,n),r||C1(s,t,n,f.state))),e&&a===null)throw Error(u(528,""));return f}if(e&&a!==null)throw Error(u(529,""));return null;case"script":return e=n.async,n=n.src,typeof n=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=ia(n),n=Mi(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(u(444,t))}}function na(t){return'href="'+Oe(t)+'"'}function el(t){return'link[rel="stylesheet"]['+t+"]"}function Ym(t){return S({},t,{"data-precedence":t.precedence,precedence:null})}function C1(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}),te(e,"link",n),kt(e),t.head.appendChild(e))}function ia(t){return'[src="'+Oe(t)+'"]'}function nl(t){return"script[async]"+t}function Gm(t,e,n){if(e.count++,e.instance===null)switch(e.type){case"style":var a=t.querySelector('style[data-href~="'+Oe(n.href)+'"]');if(a)return e.instance=a,kt(a),a;var s=S({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return a=(t.ownerDocument||t).createElement("style"),kt(a),te(a,"style",s),Os(a,n.precedence,t),e.instance=a;case"stylesheet":s=na(n.href);var r=t.querySelector(el(s));if(r)return e.state.loading|=4,e.instance=r,kt(r),r;a=Ym(n),(s=we.get(s))&&xr(a,s),r=(t.ownerDocument||t).createElement("link"),kt(r);var f=r;return f._p=new Promise(function(y,T){f.onload=y,f.onerror=T}),te(r,"link",a),e.state.loading|=4,Os(r,n.precedence,t),e.instance=r;case"script":return r=ia(n.src),(s=t.querySelector(nl(r)))?(e.instance=s,kt(s),s):(a=n,(s=we.get(r))&&(a=S({},n),Dr(a,s)),t=t.ownerDocument||t,s=t.createElement("script"),kt(s),te(s,"link",a),t.head.appendChild(s),e.instance=s);case"void":return null;default:throw Error(u(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(a=e.instance,e.state.loading|=4,Os(a,n.precedence,t));return e.instance}function Os(t,e,n){for(var a=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),s=a.length?a[a.length-1]:null,r=s,f=0;f<a.length;f++){var y=a[f];if(y.dataset.precedence===e)r=y;else if(r!==s)break}r?r.parentNode.insertBefore(t,r.nextSibling):(e=n.nodeType===9?n.head:n,e.insertBefore(t,e.firstChild))}function xr(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function Dr(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var Rs=null;function Xm(t,e,n){if(Rs===null){var a=new Map,s=Rs=new Map;s.set(n,a)}else s=Rs,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 r=n[s];if(!(r[va]||r[Wt]||t==="link"&&r.getAttribute("rel")==="stylesheet")&&r.namespaceURI!=="http://www.w3.org/2000/svg"){var f=r.getAttribute(e)||"";f=t+f;var y=a.get(f);y?y.push(r):a.set(f,[r])}}return a}function Zm(t,e,n){t=t.ownerDocument||t,t.head.insertBefore(n,e==="title"?t.querySelector("head > title"):null)}function z1(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;return e.rel==="stylesheet"?(t=e.disabled,typeof e.precedence=="string"&&t==null):!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 Qm(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function O1(t,e,n,a){if(n.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var s=na(a.href),r=e.querySelector(el(s));if(r){e=r._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=Vs.bind(t),e.then(t,t)),n.state.loading|=4,n.instance=r,kt(r);return}r=e.ownerDocument||e,a=Ym(a),(s=we.get(s))&&xr(a,s),r=r.createElement("link"),kt(r);var f=r;f._p=new Promise(function(y,T){f.onload=y,f.onerror=T}),te(r,"link",a),n.instance=r}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(n,e),(e=n.state.preload)&&(n.state.loading&3)===0&&(t.count++,n=Vs.bind(t),e.addEventListener("load",n),e.addEventListener("error",n))}}var Cr=0;function R1(t,e){return t.stylesheets&&t.count===0&&Us(t,t.stylesheets),0<t.count||0<t.imgCount?function(n){var a=setTimeout(function(){if(t.stylesheets&&Us(t,t.stylesheets),t.unsuspend){var r=t.unsuspend;t.unsuspend=null,r()}},6e4+e);0<t.imgBytes&&Cr===0&&(Cr=62500*c1());var s=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&Us(t,t.stylesheets),t.unsuspend)){var r=t.unsuspend;t.unsuspend=null,r()}},(t.imgBytes>Cr?50:800)+e);return t.unsuspend=n,function(){t.unsuspend=null,clearTimeout(a),clearTimeout(s)}}:null}function Vs(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Us(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var _s=null;function Us(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,_s=new Map,e.forEach(V1,t),_s=null,Vs.call(t))}function V1(t,e){if(!(e.state.loading&4)){var n=_s.get(t);if(n)var a=n.get(null);else{n=new Map,_s.set(t,n);for(var s=t.querySelectorAll("link[data-precedence],style[data-precedence]"),r=0;r<s.length;r++){var f=s[r];(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"),r=n.get(f)||a,r===a&&n.set(null,s),n.set(f,s),this.count++,a=Vs.bind(this),s.addEventListener("load",a),s.addEventListener("error",a),r?r.parentNode.insertBefore(s,r.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(s,t.firstChild)),e.state.loading|=4}}var il={$$typeof:H,Provider:null,Consumer:null,_currentValue:Z,_currentValue2:Z,_threadCount:0};function _1(t,e,n,a,s,r,f,y,T){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=bu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=bu(0),this.hiddenUpdates=bu(null),this.identifierPrefix=a,this.onUncaughtError=s,this.onCaughtError=r,this.onRecoverableError=f,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=T,this.incompleteTransitions=new Map}function Km(t,e,n,a,s,r,f,y,T,D,V,U){return t=new _1(t,e,n,f,T,D,V,U,y),e=1,r===!0&&(e|=24),r=be(3,null,null,e),t.current=r,r.stateNode=t,e=lo(),e.refCount++,t.pooledCache=e,e.refCount++,r.memoizedState={element:a,isDehydrated:n,cache:e},ro(r),t}function Jm(t){return t?(t=Bi,t):Bi}function km(t,e,n,a,s,r){s=Jm(s),a.context===null?a.context=s:a.pendingContext=s,a=On(e),a.payload={element:n},r=r===void 0?null:r,r!==null&&(a.callback=r),n=Rn(t,a,e),n!==null&&(pe(n,t,e),Na(n,t,e))}function Fm(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var n=t.retryLane;t.retryLane=n!==0&&n<e?n:e}}function zr(t,e){Fm(t,e),(t=t.alternate)&&Fm(t,e)}function Wm(t){if(t.tag===13||t.tag===31){var e=ni(t,67108864);e!==null&&pe(e,t,67108864),zr(t,67108864)}}function Pm(t){if(t.tag===13||t.tag===31){var e=De();e=Au(e);var n=ni(t,e);n!==null&&pe(n,t,e),zr(t,e)}}var Bs=!0;function U1(t,e,n,a){var s=R.T;R.T=null;var r=q.p;try{q.p=2,Or(t,e,n,a)}finally{q.p=r,R.T=s}}function B1(t,e,n,a){var s=R.T;R.T=null;var r=q.p;try{q.p=8,Or(t,e,n,a)}finally{q.p=r,R.T=s}}function Or(t,e,n,a){if(Bs){var s=Rr(a);if(s===null)yr(t,e,a,Ns,n),Im(t,a);else if(L1(s,t,e,n,a))a.stopPropagation();else if(Im(t,a),e&4&&-1<N1.indexOf(t)){for(;s!==null;){var r=Ei(s);if(r!==null)switch(r.tag){case 3:if(r=r.stateNode,r.current.memoizedState.isDehydrated){var f=Pn(r.pendingLanes);if(f!==0){var y=r;for(y.pendingLanes|=2,y.entangledLanes|=2;f;){var T=1<<31-Se(f);y.entanglements[1]|=T,f&=~T}We(r),(vt&6)===0&&(gs=ge()+500,Pa(0))}}break;case 31:case 13:y=ni(r,2),y!==null&&pe(y,r,2),Ss(),zr(r,2)}if(r=Rr(a),r===null&&yr(t,e,a,Ns,n),r===s)break;s=r}s!==null&&a.stopPropagation()}else yr(t,e,a,null,n)}}function Rr(t){return t=Vu(t),Vr(t)}var Ns=null;function Vr(t){if(Ns=null,t=Ai(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===31){if(t=p(e),t!==null)return t;t=null}else if(n===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return Ns=t,null}function $m(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(T0()){case sf:return 2;case uf:return 8;case Ml:case b0:return 32;case of:return 268435456;default:return 32}default:return 32}}var _r=!1,Yn=null,Gn=null,Xn=null,al=new Map,ll=new Map,Zn=[],N1="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 Im(t,e){switch(t){case"focusin":case"focusout":Yn=null;break;case"dragenter":case"dragleave":Gn=null;break;case"mouseover":case"mouseout":Xn=null;break;case"pointerover":case"pointerout":al.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":ll.delete(e.pointerId)}}function sl(t,e,n,a,s,r){return t===null||t.nativeEvent!==r?(t={blockedOn:e,domEventName:n,eventSystemFlags:a,nativeEvent:r,targetContainers:[s]},e!==null&&(e=Ei(e),e!==null&&Wm(e)),t):(t.eventSystemFlags|=a,e=t.targetContainers,s!==null&&e.indexOf(s)===-1&&e.push(s),t)}function L1(t,e,n,a,s){switch(e){case"focusin":return Yn=sl(Yn,t,e,n,a,s),!0;case"dragenter":return Gn=sl(Gn,t,e,n,a,s),!0;case"mouseover":return Xn=sl(Xn,t,e,n,a,s),!0;case"pointerover":var r=s.pointerId;return al.set(r,sl(al.get(r)||null,t,e,n,a,s)),!0;case"gotpointercapture":return r=s.pointerId,ll.set(r,sl(ll.get(r)||null,t,e,n,a,s)),!0}return!1}function ty(t){var e=Ai(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,mf(t.priority,function(){Pm(n)});return}}else if(e===31){if(e=p(n),e!==null){t.blockedOn=e,mf(t.priority,function(){Pm(n)});return}}else if(e===3&&n.stateNode.current.memoizedState.isDehydrated){t.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Ls(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var n=Rr(t.nativeEvent);if(n===null){n=t.nativeEvent;var a=new n.constructor(n.type,n);Ru=a,n.target.dispatchEvent(a),Ru=null}else return e=Ei(n),e!==null&&Wm(e),t.blockedOn=n,!1;e.shift()}return!0}function ey(t,e,n){Ls(t)&&n.delete(e)}function w1(){_r=!1,Yn!==null&&Ls(Yn)&&(Yn=null),Gn!==null&&Ls(Gn)&&(Gn=null),Xn!==null&&Ls(Xn)&&(Xn=null),al.forEach(ey),ll.forEach(ey)}function ws(t,e){t.blockedOn===e&&(t.blockedOn=null,_r||(_r=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,w1)))}var js=null;function ny(t){js!==t&&(js=t,i.unstable_scheduleCallback(i.unstable_NormalPriority,function(){js===t&&(js=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(Vr(a||n)===null)continue;break}var r=Ei(n);r!==null&&(t.splice(e,3),e-=3,Ro(r,{pending:!0,data:s,method:n.method,action:a},a,s))}}))}function aa(t){function e(T){return ws(T,t)}Yn!==null&&ws(Yn,t),Gn!==null&&ws(Gn,t),Xn!==null&&ws(Xn,t),al.forEach(e),ll.forEach(e);for(var n=0;n<Zn.length;n++){var a=Zn[n];a.blockedOn===t&&(a.blockedOn=null)}for(;0<Zn.length&&(n=Zn[0],n.blockedOn===null);)ty(n),n.blockedOn===null&&Zn.shift();if(n=(t.ownerDocument||t).$$reactFormReplay,n!=null)for(a=0;a<n.length;a+=3){var s=n[a],r=n[a+1],f=s[ce]||null;if(typeof r=="function")f||ny(n);else if(f){var y=null;if(r&&r.hasAttribute("formAction")){if(s=r,f=r[ce]||null)y=f.formAction;else if(Vr(s)!==null)continue}else y=f.action;typeof y=="function"?n[a+1]=y:(n.splice(a,3),a-=3),ny(n)}}}function iy(){function t(r){r.canIntercept&&r.info==="react-transition"&&r.intercept({handler:function(){return new Promise(function(f){return s=f})},focusReset:"manual",scroll:"manual"})}function e(){s!==null&&(s(),s=null),a||setTimeout(n,20)}function n(){if(!a&&!navigation.transition){var r=navigation.currentEntry;r&&r.url!=null&&navigation.navigate(r.url,{state:r.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,s=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(n,100),function(){a=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),s!==null&&(s(),s=null)}}}function Ur(t){this._internalRoot=t}Hs.prototype.render=Ur.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(u(409));var n=e.current,a=De();km(n,a,t,e,null,null)},Hs.prototype.unmount=Ur.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;km(t.current,2,null,t,null,null),Ss(),e[bi]=null}};function Hs(t){this._internalRoot=t}Hs.prototype.unstable_scheduleHydration=function(t){if(t){var e=df();t={blockedOn:null,target:t,priority:e};for(var n=0;n<Zn.length&&e!==0&&e<Zn[n].priority;n++);Zn.splice(n,0,t),n===0&&ty(t)}};var ay=l.version;if(ay!=="19.2.8")throw Error(u(527,ay,"19.2.8"));q.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(u(188)):(t=Object.keys(t).join(","),Error(u(268,t)));return t=m(e),t=t!==null?v(t):null,t=t===null?null:t.stateNode,t};var j1={bundleType:0,version:"19.2.8",rendererPackageName:"react-dom",currentDispatcherRef:R,reconcilerVersion:"19.2.8"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var qs=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!qs.isDisabled&&qs.supportsFiber)try{ya=qs.inject(j1),ve=qs}catch{}}return ol.createRoot=function(t,e){if(!c(t))throw Error(u(299));var n=!1,a="",s=fd,r=hd,f=dd;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&&(r=e.onCaughtError),e.onRecoverableError!==void 0&&(f=e.onRecoverableError)),e=Km(t,1,!1,null,null,n,a,null,s,r,f,iy),t[bi]=e.current,mr(t),new Ur(e)},ol.hydrateRoot=function(t,e,n){if(!c(t))throw Error(u(299));var a=!1,s="",r=fd,f=hd,y=dd,T=null;return n!=null&&(n.unstable_strictMode===!0&&(a=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onUncaughtError!==void 0&&(r=n.onUncaughtError),n.onCaughtError!==void 0&&(f=n.onCaughtError),n.onRecoverableError!==void 0&&(y=n.onRecoverableError),n.formState!==void 0&&(T=n.formState)),e=Km(t,1,!0,e,n??null,a,s,T,r,f,y,iy),e.context=Jm(null),n=e.current,a=De(),a=Au(a),s=On(a),s.callback=null,Rn(n,s,a),n=a,e.current.lanes=n,ga(e,n),We(e),t[bi]=e.current,mr(t),new Hs(e)},ol.version="19.2.8",ol}var my;function W1(){if(my)return Lr.exports;my=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(),Lr.exports=F1(),Lr.exports}var Rp=W1();const P1=zc(Rp),gE=Cc({__proto__:null,default:P1},[Rp]);const Vp=(...i)=>i.filter((l,o,u)=>!!l&&l.trim()!==""&&u.indexOf(l)===o).join(" ").trim();const $1=i=>i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const I1=i=>i.replace(/^([A-Z])|[\s-_]+(\w)/g,(l,o,u)=>u?u.toUpperCase():o.toLowerCase());const yy=i=>{const l=I1(i);return l.charAt(0).toUpperCase()+l.slice(1)};var qr={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"};const tS=i=>{for(const l in i)if(l.startsWith("aria-")||l==="role"||l==="title")return!0;return!1},eS=W.createContext({}),nS=()=>W.useContext(eS),iS=W.forwardRef(({color:i,size:l,strokeWidth:o,absoluteStrokeWidth:u,className:c="",children:d,iconNode:h,...p},g)=>{const{size:m=24,strokeWidth:v=2,absoluteStrokeWidth:S=!1,color:E="currentColor",className:B=""}=nS()??{},O=u??S?Number(o??v)*24/Number(l??m):o??v;return W.createElement("svg",{ref:g,...qr,width:l??m??qr.width,height:l??m??qr.height,stroke:i??E,strokeWidth:O,className:Vp("lucide",B,c),...!d&&!tS(p)&&{"aria-hidden":"true"},...p},[...h.map(([L,w])=>W.createElement(L,w)),...Array.isArray(d)?d:[d]])});const Ke=(i,l)=>{const o=W.forwardRef(({className:u,...c},d)=>W.createElement(iS,{ref:d,iconNode:l,className:Vp(`lucide-${$1(yy(i))}`,`lucide-${i}`,u),...c}));return o.displayName=yy(i),o};const aS=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],vE=Ke("arrow-right",aS);const lS=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],SE=Ke("check",lS);const sS=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}]],TE=Ke("clipboard",sS);const uS=[["path",{d:"M18 5a2 2 0 0 1 2 2v8.526a2 2 0 0 0 .212.897l1.068 2.127a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45l1.068-2.127A2 2 0 0 0 4 15.526V7a2 2 0 0 1 2-2z",key:"1pdavp"}],["path",{d:"M20.054 15.987H3.946",key:"14rxg9"}]],bE=Ke("laptop",uS);const oS=[["path",{d:"M16.247 7.761a6 6 0 0 1 0 8.478",key:"1fwjs5"}],["path",{d:"M19.075 4.933a10 10 0 0 1 0 14.134",key:"ehdyv1"}],["path",{d:"M4.925 19.067a10 10 0 0 1 0-14.134",key:"1q22gi"}],["path",{d:"M7.753 16.239a6 6 0 0 1 0-8.478",key:"r2q7qm"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],AE=Ke("radio",oS);const rS=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],EE=Ke("search",rS);const cS=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],ME=Ke("shield-check",cS);const fS=[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]],xE=Ke("square-terminal",fS);const hS=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],dS=Ke("triangle-alert",hS);const mS=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]],DE=Ke("wrench",mS);const yS=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],pS=Ke("x",yS),_p=W.createContext({});function gS(i){const l=W.useRef(null);return l.current===null&&(l.current=i()),l.current}const vS=typeof window<"u",SS=vS?W.useLayoutEffect:W.useEffect,Rc=W.createContext(null);function Vc(i,l){i.indexOf(l)===-1&&i.push(l)}function Is(i,l){const o=i.indexOf(l);o>-1&&i.splice(o,1)}const tn=(i,l,o)=>o>l?l:o<i?i:o;let cu=()=>{};const Jn={},Up=i=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(i),Bp=i=>typeof i=="object"&&i!==null,Np=i=>/^0[^.\s]+$/u.test(i);function Lp(i){let l;return()=>(l===void 0&&(l=i()),l)}const He=i=>i,Sl=(...i)=>i.reduce((l,o)=>u=>o(l(u))),yl=(i,l,o)=>{const u=l-i;return u?(o-i)/u:1};class _c{constructor(){this.subscriptions=[]}add(l){return Vc(this.subscriptions,l),()=>Is(this.subscriptions,l)}notify(l,o,u){const c=this.subscriptions.length;if(c)if(c===1)this.subscriptions[0](l,o,u);else for(let d=0;d<c;d++){const h=this.subscriptions[d];h&&h(l,o,u)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Ce=i=>i*1e3,je=i=>i/1e3,wp=(i,l)=>l?i*(1e3/l):0,jp=(i,l,o)=>(((1-3*o+3*l)*i+(3*o-6*l))*i+3*l)*i,TS=1e-7,bS=12;function AS(i,l,o,u,c){let d,h,p=0;do h=l+(o-l)/2,d=jp(h,u,c)-i,d>0?o=h:l=h;while(Math.abs(d)>TS&&++p<bS);return h}function Tl(i,l,o,u){if(i===l&&o===u)return He;const c=d=>AS(d,0,1,i,o);return d=>d===0||d===1?d:jp(c(d),l,u)}const Hp=i=>l=>l<=.5?i(2*l)/2:(2-i(2*(1-l)))/2,qp=i=>l=>1-i(1-l),Yp=Tl(.33,1.53,.69,.99),Uc=qp(Yp),Gp=Hp(Uc),Xp=i=>i>=1?1:(i*=2)<1?.5*Uc(i):.5*(2-Math.pow(2,-10*(i-1))),Bc=i=>1-Math.sin(Math.acos(i)),Zp=qp(Bc),Qp=Hp(Bc),ES=Tl(.42,0,1,1),MS=Tl(0,0,.58,1),Kp=Tl(.42,0,.58,1),xS=i=>Array.isArray(i)&&typeof i[0]!="number",Jp=i=>Array.isArray(i)&&typeof i[0]=="number",DS={linear:He,easeIn:ES,easeInOut:Kp,easeOut:MS,circIn:Bc,circInOut:Qp,circOut:Zp,backIn:Uc,backInOut:Gp,backOut:Yp,anticipate:Xp},CS=i=>typeof i=="string",py=i=>{if(Jp(i)){cu(i.length===4);const[l,o,u,c]=i;return Tl(l,o,u,c)}else if(CS(i))return DS[i];return i},Ys=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function zS(i){let l=new Set,o=new Set,u=!1,c=!1;const d=new WeakSet;let h={delta:0,timestamp:0,isProcessing:!1};function p(m){d.has(m)&&(g.schedule(m),i()),m(h)}const g={schedule:(m,v=!1,S=!1)=>{const B=S&&u?l:o;return v&&d.add(m),B.add(m),m},cancel:m=>{o.delete(m),d.delete(m)},process:m=>{if(h=m,u){c=!0;return}u=!0;const v=l;l=o,o=v,l.forEach(p),l.clear(),u=!1,c&&(c=!1,g.process(m))}};return g}const OS=40;function kp(i,l){let o=!1,u=!0;const c={delta:0,timestamp:0,isProcessing:!1},d=()=>o=!0,h=Ys.reduce((H,X)=>(H[X]=zS(d),H),{}),{setup:p,read:g,resolveKeyframes:m,preUpdate:v,update:S,preRender:E,render:B,postRender:O}=h,L=()=>{const H=Jn.useManualTiming,X=H?c.timestamp:performance.now();o=!1,H||(c.delta=u?1e3/60:Math.max(Math.min(X-c.timestamp,OS),1)),c.timestamp=X,c.isProcessing=!0,p.process(c),g.process(c),m.process(c),v.process(c),S.process(c),E.process(c),B.process(c),O.process(c),c.isProcessing=!1,o&&l&&(u=!1,i(L))},w=()=>{o=!0,u=!0,c.isProcessing||i(L)};return{schedule:Ys.reduce((H,X)=>{const et=h[X];return H[X]=(ut,K=!1,P=!1)=>(o||w(),et.schedule(ut,K,P)),H},{}),cancel:H=>{for(let X=0;X<Ys.length;X++)h[Ys[X]].cancel(H)},state:c,steps:h}}const{schedule:Ot,cancel:kn,state:ee,steps:Yr}=kp(typeof requestAnimationFrame<"u"?requestAnimationFrame:He,!0);let Qs;function RS(){Qs=void 0}const oe={now:()=>(Qs===void 0&&oe.set(ee.isProcessing||Jn.useManualTiming?ee.timestamp:performance.now()),Qs),set:i=>{Qs=i,queueMicrotask(RS)}},Fp=i=>l=>typeof l=="string"&&l.startsWith(i),Wp=Fp("--"),VS=Fp("var(--"),Nc=i=>VS(i)?_S.test(i.split("/*")[0].trim()):!1,_S=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function gy(i){return typeof i!="string"?!1:i.split("/*")[0].includes("var(--")}const fa={test:i=>typeof i=="number",parse:parseFloat,transform:i=>i},pl={...fa,transform:i=>tn(0,1,i)},Gs={...fa,default:1},fl=i=>Math.round(i*1e5)/1e5,Lc=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function US(i){return i==null}const BS=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,wc=(i,l)=>o=>!!(typeof o=="string"&&BS.test(o)&&o.startsWith(i)||l&&!US(o)&&Object.prototype.hasOwnProperty.call(o,l)),Pp=(i,l,o)=>u=>{if(typeof u!="string")return u;const[c,d,h,p]=u.match(Lc);return{[i]:parseFloat(c),[l]:parseFloat(d),[o]:parseFloat(h),alpha:p!==void 0?parseFloat(p):1}},NS=i=>tn(0,255,i),Gr={...fa,transform:i=>Math.round(NS(i))},gi={test:wc("rgb","red"),parse:Pp("red","green","blue"),transform:({red:i,green:l,blue:o,alpha:u=1})=>"rgba("+Gr.transform(i)+", "+Gr.transform(l)+", "+Gr.transform(o)+", "+fl(pl.transform(u))+")"};function LS(i){let l="",o="",u="",c="";return i.length>5?(l=i.substring(1,3),o=i.substring(3,5),u=i.substring(5,7),c=i.substring(7,9)):(l=i.substring(1,2),o=i.substring(2,3),u=i.substring(3,4),c=i.substring(4,5),l+=l,o+=o,u+=u,c+=c),{red:parseInt(l,16),green:parseInt(o,16),blue:parseInt(u,16),alpha:c?parseInt(c,16)/255:1}}const ic={test:wc("#"),parse:LS,transform:gi.transform},bl=i=>({test:l=>typeof l=="string"&&l.endsWith(i)&&l.split(" ").length===1,parse:parseFloat,transform:l=>`${l}${i}`}),Tn=bl("deg"),Ie=bl("%"),J=bl("px"),wS=bl("vh"),jS=bl("vw"),vy={...Ie,parse:i=>Ie.parse(i)/100,transform:i=>Ie.transform(i*100)},sa={test:wc("hsl","hue"),parse:Pp("hue","saturation","lightness"),transform:({hue:i,saturation:l,lightness:o,alpha:u=1})=>"hsla("+Math.round(i)+", "+Ie.transform(fl(l))+", "+Ie.transform(fl(o))+", "+fl(pl.transform(u))+")"},Qt={test:i=>gi.test(i)||ic.test(i)||sa.test(i),parse:i=>gi.test(i)?gi.parse(i):sa.test(i)?sa.parse(i):ic.parse(i),transform:i=>typeof i=="string"?i:i.hasOwnProperty("red")?gi.transform(i):sa.transform(i),getAnimatableNone:i=>{const l=Qt.parse(i);return l.alpha=0,Qt.transform(l)}},HS=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function qS(i){return isNaN(i)&&typeof i=="string"&&(i.match(Lc)?.length||0)+(i.match(HS)?.length||0)>0}const $p="number",Ip="color",YS="var",GS="var(",Sy="${}",XS=/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 ra(i){const l=i.toString(),o=[],u={color:[],number:[],var:[]},c=[];let d=0;const p=l.replace(XS,g=>(Qt.test(g)?(u.color.push(d),c.push(Ip),o.push(Qt.parse(g))):g.startsWith(GS)?(u.var.push(d),c.push(YS),o.push(g)):(u.number.push(d),c.push($p),o.push(parseFloat(g))),++d,Sy)).split(Sy);return{values:o,split:p,indexes:u,types:c}}function ZS(i){return ra(i).values}function tg({split:i,types:l}){const o=i.length;return u=>{let c="";for(let d=0;d<o;d++)if(c+=i[d],u[d]!==void 0){const h=l[d];h===$p?c+=fl(u[d]):h===Ip?c+=Qt.transform(u[d]):c+=u[d]}return c}}function QS(i){return tg(ra(i))}const KS=i=>typeof i=="number"?0:Qt.test(i)?Qt.getAnimatableNone(i):i,JS=(i,l)=>typeof i=="number"?l?.trim().endsWith("/")?i:0:KS(i);function kS(i){const l=ra(i);return tg(l)(l.values.map((u,c)=>JS(u,l.split[c])))}const Qe={test:qS,parse:ZS,createTransformer:QS,getAnimatableNone:kS};function Xr(i,l,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?i+(l-i)*6*o:o<1/2?l:o<2/3?i+(l-i)*(2/3-o)*6:i}function FS({hue:i,saturation:l,lightness:o,alpha:u}){i/=360,l/=100,o/=100;let c=0,d=0,h=0;if(!l)c=d=h=o;else{const p=o<.5?o*(1+l):o+l-o*l,g=2*o-p;c=Xr(g,p,i+1/3),d=Xr(g,p,i),h=Xr(g,p,i-1/3)}return{red:Math.round(c*255),green:Math.round(d*255),blue:Math.round(h*255),alpha:u}}function tu(i,l){return o=>o>0?l:i}const zt=(i,l,o)=>i+(l-i)*o,Zr=(i,l,o)=>{const u=i*i,c=o*(l*l-u)+u;return c<0?0:Math.sqrt(c)},WS=[ic,gi,sa],PS=i=>WS.find(l=>l.test(i));function Ty(i){const l=PS(i);if(!l)return!1;let o=l.parse(i);return l===sa&&(o=FS(o)),o}const by=(i,l)=>{const o=Ty(i),u=Ty(l);if(!o||!u)return tu(i,l);const c={...o};return d=>(c.red=Zr(o.red,u.red,d),c.green=Zr(o.green,u.green,d),c.blue=Zr(o.blue,u.blue,d),c.alpha=zt(o.alpha,u.alpha,d),gi.transform(c))},ac=new Set(["none","hidden"]);function $S(i,l){return ac.has(i)?o=>o<=0?i:l:o=>o>=1?l:i}function IS(i,l){return o=>zt(i,l,o)}function jc(i){return typeof i=="number"?IS:typeof i=="string"?Nc(i)?tu:Qt.test(i)?by:nT:Array.isArray(i)?eg:typeof i=="object"?Qt.test(i)?by:tT:tu}function eg(i,l){const o=[...i],u=o.length,c=i.map((d,h)=>jc(d)(d,l[h]));return d=>{for(let h=0;h<u;h++)o[h]=c[h](d);return o}}function tT(i,l){const o={...i,...l},u={};for(const c in o)i[c]!==void 0&&l[c]!==void 0&&(u[c]=jc(i[c])(i[c],l[c]));return c=>{for(const d in u)o[d]=u[d](c);return o}}function eT(i,l){const o=[],u={color:0,var:0,number:0};for(let c=0;c<l.values.length;c++){const d=l.types[c],h=i.indexes[d][u[d]],p=i.values[h]??0;o[c]=p,u[d]++}return o}const nT=(i,l)=>{const o=Qe.createTransformer(l),u=ra(i),c=ra(l);return u.indexes.var.length===c.indexes.var.length&&u.indexes.color.length===c.indexes.color.length&&u.indexes.number.length>=c.indexes.number.length?ac.has(i)&&!c.values.length||ac.has(l)&&!u.values.length?$S(i,l):Sl(eg(eT(u,c),c.values),o):tu(i,l)};function ng(i,l,o){return typeof i=="number"&&typeof l=="number"&&typeof o=="number"?zt(i,l,o):jc(i)(i,l)}const iT=i=>{const l=({timestamp:o})=>i(o);return{start:(o=!0)=>Ot.update(l,o),stop:()=>kn(l),now:()=>ee.isProcessing?ee.timestamp:oe.now()}},ig=(i,l,o=10)=>{let u="";const c=Math.max(Math.round(l/o),2);for(let d=0;d<c;d++)u+=Math.round(i(d/(c-1))*1e4)/1e4+", ";return`linear(${u.substring(0,u.length-2)})`},eu=2e4;function Hc(i){let l=0;const o=50;let u=i.next(l);for(;!u.done&&l<eu;)l+=o,u=i.next(l);return l>=eu?1/0:l}function aT(i,l=100,o){const u=o({...i,keyframes:[0,l]}),c=Math.min(Hc(u),eu);return{type:"keyframes",ease:d=>u.next(c*d).value/l,duration:je(c)}}const Nt={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function lc(i,l){return i*Math.sqrt(1-l*l)}const lT=12;function sT(i,l,o){let u=o;for(let c=1;c<lT;c++)u=u-i(u)/l(u);return u}const Qr=.001;function uT({duration:i=Nt.duration,bounce:l=Nt.bounce,velocity:o=Nt.velocity,mass:u=Nt.mass}){let c,d,h=1-l;h=tn(Nt.minDamping,Nt.maxDamping,h),i=tn(Nt.minDuration,Nt.maxDuration,je(i)),h<1?(c=m=>{const v=m*h,S=v*i,E=v-o,B=lc(m,h),O=Math.exp(-S);return Qr-E/B*O},d=m=>{const S=m*h*i,E=S*o+o,B=Math.pow(h,2)*Math.pow(m,2)*i,O=Math.exp(-S),L=lc(Math.pow(m,2),h);return(-c(m)+Qr>0?-1:1)*((E-B)*O)/L}):(c=m=>{const v=Math.exp(-m*i),S=(m-o)*i+1;return-Qr+v*S},d=m=>{const v=Math.exp(-m*i),S=(o-m)*(i*i);return v*S});const p=5/i,g=sT(c,d,p);if(i=Ce(i),isNaN(g))return{stiffness:Nt.stiffness,damping:Nt.damping,duration:i};{const m=Math.pow(g,2)*u;return{stiffness:m,damping:h*2*Math.sqrt(u*m),duration:i}}}const oT=["duration","bounce"],rT=["stiffness","damping","mass"];function Ay(i,l){return l.some(o=>i[o]!==void 0)}function cT(i){let l={velocity:Nt.velocity,stiffness:Nt.stiffness,damping:Nt.damping,mass:Nt.mass,isResolvedFromDuration:!1,...i};if(!Ay(i,rT)&&Ay(i,oT))if(l.velocity=0,i.visualDuration){const o=i.visualDuration,u=2*Math.PI/(o*1.2),c=u*u,d=2*tn(.05,1,1-(i.bounce||0))*Math.sqrt(c);l={...l,mass:Nt.mass,stiffness:c,damping:d}}else{const o=uT({...i,velocity:0});l={...l,...o,mass:Nt.mass},l.isResolvedFromDuration=!0}return l}function nu(i=Nt.visualDuration,l=Nt.bounce){const o=typeof i!="object"?{visualDuration:i,keyframes:[0,1],bounce:l}:i;let{restSpeed:u,restDelta:c}=o;const d=o.keyframes[0],h=o.keyframes[o.keyframes.length-1],p={done:!1,value:d},{stiffness:g,damping:m,mass:v,duration:S,velocity:E,isResolvedFromDuration:B}=cT({...o,velocity:-je(o.velocity||0)}),O=E||0,L=m/(2*Math.sqrt(g*v)),w=h-d,j=je(Math.sqrt(g/v)),Y=Math.abs(w)<5;u||(u=Y?Nt.restSpeed.granular:Nt.restSpeed.default),c||(c=Y?Nt.restDelta.granular:Nt.restDelta.default);let H,X,et,ut,K,P;if(L<1)et=lc(j,L),ut=(O+L*j*w)/et,H=tt=>{const gt=Math.exp(-L*j*tt);return h-gt*(ut*Math.sin(et*tt)+w*Math.cos(et*tt))},K=L*j*ut+w*et,P=L*j*w-ut*et,X=tt=>Math.exp(-L*j*tt)*(K*Math.sin(et*tt)+P*Math.cos(et*tt));else if(L===1){H=gt=>h-Math.exp(-j*gt)*(w+(O+j*w)*gt);const tt=O+j*w;X=gt=>Math.exp(-j*gt)*(j*tt*gt-O)}else{const tt=j*Math.sqrt(L*L-1);H=qt=>{const Lt=Math.exp(-L*j*qt),R=Math.min(tt*qt,300);return h-Lt*((O+L*j*w)*Math.sinh(R)+tt*w*Math.cosh(R))/tt};const gt=(O+L*j*w)/tt,Tt=L*j*gt-w*tt,le=L*j*w-gt*tt;X=qt=>{const Lt=Math.exp(-L*j*qt),R=Math.min(tt*qt,300);return Lt*(Tt*Math.sinh(R)+le*Math.cosh(R))}}const Et={calculatedDuration:B&&S||null,velocity:tt=>Ce(X(tt)),next:tt=>{if(!B&&L<1){const Tt=Math.exp(-L*j*tt),le=Math.sin(et*tt),qt=Math.cos(et*tt),Lt=h-Tt*(ut*le+w*qt),R=Ce(Tt*(K*le+P*qt));return p.done=Math.abs(R)<=u&&Math.abs(h-Lt)<=c,p.value=p.done?h:Lt,p}const gt=H(tt);if(B)p.done=tt>=S;else{const Tt=Ce(X(tt));p.done=Math.abs(Tt)<=u&&Math.abs(h-gt)<=c}return p.value=p.done?h:gt,p},toString:()=>{const tt=Math.min(Hc(Et),eu),gt=ig(Tt=>Et.next(tt*Tt).value,tt,30);return tt+"ms "+gt},toTransition:()=>{}};return Et}nu.applyToOptions=i=>{const l=aT(i,100,nu);return i.ease=l.ease,i.duration=Ce(l.duration),i.type="keyframes",i};const fT=5;function ag(i,l,o){const u=Math.max(l-fT,0);return wp(o-i(u),l-u)}function sc({keyframes:i,velocity:l=0,power:o=.8,timeConstant:u=325,bounceDamping:c=10,bounceStiffness:d=500,modifyTarget:h,min:p,max:g,restDelta:m=.5,restSpeed:v}){const S=i[0],E={done:!1,value:S},B=P=>p!==void 0&&P<p||g!==void 0&&P>g,O=P=>p===void 0?g:g===void 0||Math.abs(p-P)<Math.abs(g-P)?p:g;let L=o*l;const w=S+L,j=h===void 0?w:h(w);j!==w&&(L=j-S);const Y=P=>-L*Math.exp(-P/u),H=P=>j+Y(P),X=P=>{const Et=Y(P),tt=H(P);E.done=Math.abs(Et)<=m,E.value=E.done?j:tt};let et,ut;const K=P=>{B(E.value)&&(et=P,ut=nu({keyframes:[E.value,O(E.value)],velocity:ag(H,P,E.value),damping:c,stiffness:d,restDelta:m,restSpeed:v}))};return K(0),{calculatedDuration:null,next:P=>{let Et=!1;return!ut&&et===void 0&&(Et=!0,X(P),K(P)),et!==void 0&&P>=et?ut.next(P-et):(!Et&&X(P),E)}}}function hT(i,l,o){const u=[],c=o||Jn.mix||ng,d=i.length-1;for(let h=0;h<d;h++){let p=c(i[h],i[h+1]);if(l){const g=Array.isArray(l)?l[h]||He:l;p=Sl(g,p)}u.push(p)}return u}function dT(i,l,{clamp:o=!0,ease:u,mixer:c}={}){const d=i.length;if(cu(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 p=hT(l,u,c),g=p.length,m=v=>{if(h&&v<i[0])return l[0];let S=0;if(g>1)for(;S<i.length-2&&!(v<i[S+1]);S++);const E=yl(i[S],i[S+1],v);return p[S](E)};return o?v=>m(tn(i[0],i[d-1],v)):m}function mT(i,l){const o=i[i.length-1];for(let u=1;u<=l;u++){const c=yl(0,l,u);i.push(zt(o,1,c))}}function yT(i){const l=[0];return mT(l,i.length-1),l}function pT(i,l){return i.map(o=>o*l)}function gT(i,l){return i.map(()=>l||Kp).splice(0,i.length-1)}function hl({duration:i=300,keyframes:l,times:o,ease:u="easeInOut"}){const c=xS(u)?u.map(py):py(u),d={done:!1,value:l[0]},h=pT(o&&o.length===l.length?o:yT(l),i),p=dT(h,l,{ease:Array.isArray(c)?c:gT(l,c)});return{calculatedDuration:i,next:g=>(d.value=p(g),d.done=g>=i,d)}}const vT=i=>i!==null;function fu(i,{repeat:l,repeatType:o="loop"},u,c=1){const d=i.filter(vT),p=c<0||l&&o!=="loop"&&l%2===1?0:d.length-1;return!p||u===void 0?d[p]:u}const ST={decay:sc,inertia:sc,tween:hl,keyframes:hl,spring:nu};function lg(i){typeof i.type=="string"&&(i.type=ST[i.type])}class qc{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(l=>{this.resolve=l})}notifyFinished(){this.resolve()}then(l,o){return this.finished.then(l,o)}}const TT=i=>i/100;class iu extends qc{constructor(l){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{const{motionValue:o}=this.options;o&&o.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;lg(l);const{type:o=hl,repeat:u=0,repeatDelay:c=0,repeatType:d,velocity:h=0}=l;let{keyframes:p}=l;const g=o||hl;g!==hl&&typeof p[0]!="number"&&(this.mixKeyframes=Sl(TT,ng(p[0],p[1])),p=[0,100]);const m=g({...l,keyframes:p});d==="mirror"&&(this.mirroredGenerator=g({...l,keyframes:[...p].reverse(),velocity:-h})),m.calculatedDuration===null&&(m.calculatedDuration=Hc(m));const{calculatedDuration:v}=m;this.calculatedDuration=v,this.resolvedDuration=v+c,this.totalDuration=this.resolvedDuration*(u+1)-c,this.generator=m}updateTime(l){const o=Math.round(l-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=o}tick(l,o=!1){const{generator:u,totalDuration:c,mixKeyframes:d,mirroredGenerator:h,resolvedDuration:p,calculatedDuration:g}=this;if(this.startTime===null)return u.next(0);const{delay:m=0,keyframes:v,repeat:S,repeatType:E,repeatDelay:B,type:O,onUpdate:L,finalKeyframe:w}=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)),o?this.currentTime=l:this.updateTime(l);const j=this.currentTime-m*(this.playbackSpeed>=0?1:-1),Y=this.playbackSpeed>=0?j<0:j>c;this.currentTime=Math.max(j,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let H=this.currentTime,X=u;if(S){const P=Math.min(this.currentTime,c)/p;let Et=Math.floor(P),tt=P%1;!tt&&P>=1&&(tt=1),tt===1&&Et--,Et=Math.min(Et,S+1),Et%2&&(E==="reverse"?(tt=1-tt,B&&(tt-=B/p)):E==="mirror"&&(X=h)),H=tn(0,1,tt)*p}let et;Y?(this.delayState.value=v[0],et=this.delayState):et=X.next(H),d&&!Y&&(et.value=d(et.value));let{done:ut}=et;!Y&&g!==null&&(ut=this.playbackSpeed>=0?this.currentTime>=c:this.currentTime<=0);const K=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&ut);return K&&O!==sc&&(et.value=fu(v,this.options,w,this.speed)),L&&L(et.value),K&&this.finish(),et}then(l,o){return this.finished.then(l,o)}get duration(){return je(this.calculatedDuration)}get iterationDuration(){const{delay:l=0}=this.options||{};return this.duration+je(l)}get time(){return je(this.currentTime)}set time(l){l=Ce(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?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=l,this.tick(l))}getGeneratorVelocity(){const l=this.currentTime;if(l<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(l);const o=this.generator.next(l).value;return ag(u=>this.generator.next(u).value,l,o)}get speed(){return this.playbackSpeed}set speed(l){const o=this.playbackSpeed!==l;o&&this.driver&&this.updateTime(oe.now()),this.playbackSpeed=l,o&&this.driver&&(this.time=je(this.currentTime))}play(){if(this.isStopped)return;const{driver:l=iT,startTime:o}=this.options;this.driver||(this.driver=l(c=>this.tick(c))),this.options.onPlay?.();const u=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=u):this.holdTime!==null?this.startTime=u-this.holdTime:this.startTime||(this.startTime=o??u),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 bT(i){for(let l=1;l<i.length;l++)i[l]??(i[l]=i[l-1])}const vi=i=>i*180/Math.PI,uc=i=>{const l=vi(Math.atan2(i[1],i[0]));return oc(l)},AT={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:i=>(Math.abs(i[0])+Math.abs(i[3]))/2,rotate:uc,rotateZ:uc,skewX:i=>vi(Math.atan(i[1])),skewY:i=>vi(Math.atan(i[2])),skew:i=>(Math.abs(i[1])+Math.abs(i[2]))/2},oc=i=>(i=i%360,i<0&&(i+=360),i),Ey=uc,My=i=>Math.sqrt(i[0]*i[0]+i[1]*i[1]),xy=i=>Math.sqrt(i[4]*i[4]+i[5]*i[5]),ET={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:My,scaleY:xy,scale:i=>(My(i)+xy(i))/2,rotateX:i=>oc(vi(Math.atan2(i[6],i[5]))),rotateY:i=>oc(vi(Math.atan2(-i[2],i[0]))),rotateZ:Ey,rotate:Ey,skewX:i=>vi(Math.atan(i[4])),skewY:i=>vi(Math.atan(i[1])),skew:i=>(Math.abs(i[1])+Math.abs(i[4]))/2};function rc(i){return i.includes("scale")?1:0}function cc(i,l){if(!i||i==="none")return rc(l);const o=i.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let u,c;if(o)u=ET,c=o;else{const p=i.match(/^matrix\(([-\d.e\s,]+)\)$/u);u=AT,c=p}if(!c)return rc(l);const d=u[l],h=c[1].split(",").map(xT);return typeof d=="function"?d(h):h[d]}const MT=(i,l)=>{const{transform:o="none"}=getComputedStyle(i);return cc(o,l)};function xT(i){return parseFloat(i.trim())}const ha=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],da=new Set([...ha,"pathRotation"]),Dy=i=>i===fa||i===J,DT=new Set(["x","y","z"]),CT=ha.filter(i=>!DT.has(i));function zT(i){const l=[];return CT.forEach(o=>{const u=i.getValue(o);u!==void 0&&(l.push([o,u.get()]),u.set(o.startsWith("scale")?1:0))}),l}const Kn={width:({x:i},{paddingLeft:l="0",paddingRight:o="0",boxSizing:u})=>{const c=i.max-i.min;return u==="border-box"?c:c-parseFloat(l)-parseFloat(o)},height:({y:i},{paddingTop:l="0",paddingBottom:o="0",boxSizing:u})=>{const c=i.max-i.min;return u==="border-box"?c:c-parseFloat(l)-parseFloat(o)},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})=>cc(l,"x"),y:(i,{transform:l})=>cc(l,"y")};Kn.translateX=Kn.x;Kn.translateY=Kn.y;const Si=new Set;let fc=!1,hc=!1,dc=!1;function sg(){if(hc){const i=Array.from(Si).filter(u=>u.needsMeasurement),l=new Set(i.map(u=>u.element)),o=new Map;l.forEach(u=>{const c=zT(u);c.length&&(o.set(u,c),u.render())}),i.forEach(u=>u.measureInitialState()),l.forEach(u=>{u.render();const c=o.get(u);c&&c.forEach(([d,h])=>{u.getValue(d)?.set(h)})}),i.forEach(u=>u.measureEndState()),i.forEach(u=>{u.suspendedScrollY!==void 0&&window.scrollTo(0,u.suspendedScrollY)})}hc=!1,fc=!1,Si.forEach(i=>i.complete(dc)),Si.clear()}function ug(){Si.forEach(i=>{i.readKeyframes(),i.needsMeasurement&&(hc=!0)})}function OT(){dc=!0,ug(),sg(),dc=!1}class Yc{constructor(l,o,u,c,d,h=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...l],this.onComplete=o,this.name=u,this.motionValue=c,this.element=d,this.isAsync=h}scheduleResolve(){this.state="scheduled",this.isAsync?(Si.add(this),fc||(fc=!0,Ot.read(ug),Ot.resolveKeyframes(sg))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:l,name:o,element:u,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(u&&o){const p=u.readValue(o,h);p!=null&&(l[0]=p)}l[0]===void 0&&(l[0]=h),c&&d===void 0&&c.set(l[0])}bT(l)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(l=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,l),Si.delete(this)}cancel(){this.state==="scheduled"&&(Si.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const RT=i=>i.startsWith("--");function og(i,l,o){RT(l)?i.style.setProperty(l,o):i.style[l]=o}const VT={};function rg(i,l){const o=Lp(i);return()=>VT[l]??o()}const _T=rg(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),cg=rg(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),cl=([i,l,o,u])=>`cubic-bezier(${i}, ${l}, ${o}, ${u})`,Cy={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:cl([0,.65,.55,1]),circOut:cl([.55,0,1,.45]),backIn:cl([.31,.01,.66,-.59]),backOut:cl([.33,1.53,.69,.99])};function fg(i,l){if(i)return typeof i=="function"?cg()?ig(i,l):"ease-out":Jp(i)?cl(i):Array.isArray(i)?i.map(o=>fg(o,l)||Cy.easeOut):Cy[i]}function UT(i,l,o,{delay:u=0,duration:c=300,repeat:d=0,repeatType:h="loop",ease:p="easeOut",times:g}={},m=void 0){const v={[l]:o};g&&(v.offset=g);const S=fg(p,c);Array.isArray(S)&&(v.easing=S);const E={delay:u,duration:c,easing:Array.isArray(S)?"linear":S,fill:"both",iterations:d+1,direction:h==="reverse"?"alternate":"normal"};return m&&(E.pseudoElement=m),i.animate(v,E)}function hg(i){return typeof i=="function"&&"applyToOptions"in i}function BT({type:i,...l}){return hg(i)&&cg()?i.applyToOptions(l):(l.duration??(l.duration=300),l.ease??(l.ease="easeOut"),l)}class dg extends qc{constructor(l){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!l)return;const{element:o,name:u,keyframes:c,pseudoElement:d,allowFlatten:h=!1,finalKeyframe:p,onComplete:g}=l;this.isPseudoElement=!!d,this.allowFlatten=h,this.options=l,cu(typeof l.type!="string");const m=BT(l);this.animation=UT(o,u,c,m,d),m.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!d){const v=fu(c,this.options,p,this.speed);this.updateMotionValue&&this.updateMotionValue(v),og(o,u,v),this.animation.cancel()}g?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,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(){const l=this.options?.element;!this.isPseudoElement&&l?.isConnected&&this.animation.commitStyles?.()}get duration(){const l=this.animation.effect?.getComputedTiming?.().duration||0;return je(Number(l))}get iterationDuration(){const{delay:l=0}=this.options||{};return this.duration+je(l)}get time(){return je(Number(this.animation.currentTime)||0)}set time(l){const o=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Ce(l),o&&this.animation.pause()}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 this.manualStartTime??Number(this.animation.startTime)}set startTime(l){this.manualStartTime=this.animation.startTime=l}attachTimeline({timeline:l,rangeStart:o,rangeEnd:u,observe:c}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,l&&_T()?(this.animation.timeline=l,o&&(this.animation.rangeStart=o),u&&(this.animation.rangeEnd=u),He):c(this)}}const mg={anticipate:Xp,backInOut:Gp,circInOut:Qp};function NT(i){return i in mg}function LT(i){typeof i.ease=="string"&&NT(i.ease)&&(i.ease=mg[i.ease])}const Kr=10;class wT extends dg{constructor(l){LT(l),lg(l),super(l),l.startTime!==void 0&&l.autoplay!==!1&&(this.startTime=l.startTime),this.options=l}updateMotionValue(l){const{motionValue:o,onUpdate:u,onComplete:c,element:d,...h}=this.options;if(!o)return;if(l!==void 0){o.set(l);return}const p=new iu({...h,autoplay:!1}),g=Math.max(Kr,oe.now()-this.startTime),m=tn(0,Kr,g-Kr),v=p.sample(g).value,{name:S}=this.options;d&&S&&og(d,S,v),o.setWithVelocity(p.sample(Math.max(0,g-m)).value,v,m),p.stop()}}const zy=(i,l)=>l==="zIndex"?!1:!!(typeof i=="number"||Array.isArray(i)||typeof i=="string"&&(Qe.test(i)||i==="0")&&!i.startsWith("url("));function jT(i){const l=i[0];if(i.length===1)return!0;for(let o=0;o<i.length;o++)if(i[o]!==l)return!0}function HT(i,l,o,u){const c=i[0];if(c===null)return!1;if(l==="display"||l==="visibility")return!0;const d=i[i.length-1],h=zy(c,l),p=zy(d,l);return!h||!p?!1:jT(i)||(o==="spring"||hg(o))&&u}function mc(i){i.duration=0,i.type="keyframes"}const yg=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),qT=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function YT(i){for(let l=0;l<i.length;l++)if(typeof i[l]=="string"&&qT.test(i[l]))return!0;return!1}const GT=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),XT=Lp(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function ZT(i){const{motionValue:l,name:o,repeatDelay:u,repeatType:c,damping:d,type:h,keyframes:p}=i,g=l?.owner?.current;if(!(g instanceof HTMLElement)&&!(g instanceof SVGElement))return!1;const{onUpdate:m,transformTemplate:v}=l.owner.getProps();return XT()&&o&&(yg.has(o)||GT.has(o)&&YT(p))&&(o!=="transform"||!v)&&!m&&!u&&c!=="mirror"&&d!==0&&h!=="inertia"}const QT=40;class KT extends qc{constructor({autoplay:l=!0,delay:o=0,type:u="keyframes",repeat:c=0,repeatDelay:d=0,repeatType:h="loop",keyframes:p,name:g,motionValue:m,element:v,...S}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=oe.now();const E={autoplay:l,delay:o,type:u,repeat:c,repeatDelay:d,repeatType:h,name:g,motionValue:m,element:v,...S},B=v?.KeyframeResolver||Yc;this.keyframeResolver=new B(p,(O,L,w)=>this.onKeyframesResolved(O,L,E,!w),g,m,v),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(l,o,u,c){this.keyframeResolver=void 0;const{name:d,type:h,velocity:p,delay:g,isHandoff:m,onUpdate:v}=u;this.resolvedAt=oe.now();let S=!0;HT(l,d,h,p)||(S=!1,(Jn.instantAnimations||!g)&&v?.(fu(l,u,o)),l[0]=l[l.length-1],mc(u),u.repeat=0);const B={startTime:c?this.resolvedAt?this.resolvedAt-this.createdAt>QT?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:o,...u,keyframes:l},O=S&&!m&&ZT(B),L=B.motionValue?.owner?.current;let w;if(O)try{w=new wT({...B,element:L})}catch{w=new iu(B)}else w=new iu(B);w.finished.then(()=>{this.notifyFinished()}).catch(He),this.pendingTimeline&&(this.stopTimeline=w.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=w}get finished(){return this._animation?this.animation.finished:this._finished}then(l,o){return this.finished.finally(l).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),OT()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}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()}}function pg(i,l,o,u=0,c=1){const d=Array.from(i).sort((m,v)=>m.sortNodePosition(v)).indexOf(l),h=i.size,p=(h-1)*u;return typeof o=="function"?o(d,h):c===1?d*u:p-d*u}const Oy=30,JT=i=>!isNaN(parseFloat(i));class kT{constructor(l,o={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=u=>{const c=oe.now();if(this.updatedAt!==c&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(u),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=o.owner}setCurrent(l){this.current=l,this.updatedAt=oe.now(),this.canTrackVelocity===null&&l!==void 0&&(this.canTrackVelocity=JT(this.current))}setPrevFrameValue(l=this.current){this.prevFrameValue=l,this.prevUpdatedAt=this.updatedAt}onChange(l){return this.on("change",l)}on(l,o){this.events[l]||(this.events[l]=new _c);const u=this.events[l].add(o);return l==="change"?()=>{u(),Ot.read(()=>{this.events.change.getSize()||this.stop()})}:u}clearListeners(){for(const l in this.events)this.events[l].clear()}attach(l,o){this.passiveEffect=l,this.stopPassiveEffect=o}set(l){this.passiveEffect?this.passiveEffect(l,this.updateAndNotify):this.updateAndNotify(l)}setWithVelocity(l,o,u){this.set(o),this.prev=void 0,this.prevFrameValue=l,this.prevUpdatedAt=this.updatedAt-u}jump(l,o=!0){this.updateAndNotify(l),this.prev=l,this.prevUpdatedAt=this.prevFrameValue=void 0,o&&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>Oy)return 0;const o=Math.min(this.updatedAt-this.prevUpdatedAt,Oy);return wp(parseFloat(this.current)-parseFloat(this.prevFrameValue),o)}start(l){return this.stop(),new Promise(o=>{this.hasAnimated=!0,this.animation=l(o),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 ca(i,l){return new kT(i,l)}function gg(i,l){if(i?.inherit&&l){const{inherit:o,...u}=i;return{...l,...u}}return i}function Gc(i,l){const o=i?.[l]??i?.default??i;return o!==i?gg(o,i):o}const FT={type:"spring",stiffness:500,damping:25,restSpeed:10},WT=i=>({type:"spring",stiffness:550,damping:i===0?2*Math.sqrt(550):30,restSpeed:10}),PT={type:"keyframes",duration:.8},$T={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},IT=(i,{keyframes:l})=>l.length>2?PT:da.has(i)?i.startsWith("scale")?WT(l[1]):FT:$T,tb=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function eb(i){for(const l in i)if(!tb.has(l))return!0;return!1}const Xc=(i,l,o,u={},c,d)=>h=>{const p=Gc(u,i)||{},g=p.delay||u.delay||0;let{elapsed:m=0}=u;m=m-Ce(g);const v={keyframes:Array.isArray(o)?o:[null,o],ease:"easeOut",velocity:l.getVelocity(),...p,delay:-m,onUpdate:E=>{l.set(E),p.onUpdate&&p.onUpdate(E)},onComplete:()=>{h(),p.onComplete&&p.onComplete()},name:i,motionValue:l,element:d?void 0:c};eb(p)||Object.assign(v,IT(i,v)),v.duration&&(v.duration=Ce(v.duration)),v.repeatDelay&&(v.repeatDelay=Ce(v.repeatDelay)),v.from!==void 0&&(v.keyframes[0]=v.from);let S=!1;if((v.type===!1||v.duration===0&&!v.repeatDelay)&&(mc(v),v.delay===0&&(S=!0)),(Jn.instantAnimations||Jn.skipAnimations||c?.shouldSkipAnimations||p.skipAnimations)&&(S=!0,mc(v),v.delay=0),v.allowFlatten=!p.type&&!p.ease,S&&!d&&l.get()!==void 0){const E=fu(v.keyframes,p);if(E!==void 0){Ot.update(()=>{v.onUpdate(E),v.onComplete()});return}}return p.isSync?new iu(v):new KT(v)},nb=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function ib(i){const l=nb.exec(i);if(!l)return[,];const[,o,u,c]=l;return[`--${o??u}`,c]}function vg(i,l,o=1){const[u,c]=ib(i);if(!u)return;const d=window.getComputedStyle(l).getPropertyValue(u);if(d){const h=d.trim();return Up(h)?parseFloat(h):h}return Nc(c)?vg(c,l,o+1):c}function Ry(i){const l=[{},{}];return i?.values.forEach((o,u)=>{l[0][u]=o.get(),l[1][u]=o.getVelocity()}),l}function Zc(i,l,o,u){if(typeof l=="function"){const[c,d]=Ry(u);l=l(o!==void 0?o:i.custom,c,d)}if(typeof l=="string"&&(l=i.variants&&i.variants[l]),typeof l=="function"){const[c,d]=Ry(u);l=l(o!==void 0?o:i.custom,c,d)}return l}function Ti(i,l,o){const u=i.getProps();return Zc(u,l,o!==void 0?o:u.custom,i)}const Sg=new Set(["width","height","top","left","right","bottom",...ha]),yc=i=>Array.isArray(i);function ab(i,l,o){i.hasValue(l)?i.getValue(l).set(o):i.addValue(l,ca(o))}function lb(i){return yc(i)?i[i.length-1]||0:i}function sb(i,l){const o=Ti(i,l);let{transitionEnd:u={},transition:c={},...d}=o||{};d={...d,...u};for(const h in d){const p=lb(d[h]);ab(i,h,p)}}const ne=i=>!!(i&&i.getVelocity);function ub(i){return!!(ne(i)&&i.add)}function pc(i,l){const o=i.getValue("willChange");if(ub(o))return o.add(l);if(!o&&Jn.WillChange){const u=new Jn.WillChange("auto");i.addValue("willChange",u),u.add(l)}}function Qc(i){return i.replace(/([A-Z])/g,l=>`-${l.toLowerCase()}`)}const ob="framerAppearId",Tg="data-"+Qc(ob);function bg(i){return i.props[Tg]}function rb({protectedKeys:i,needsAnimating:l},o){const u=i.hasOwnProperty(o)&&l[o]!==!0;return l[o]=!1,u}function Ag(i,l,{delay:o=0,transitionOverride:u,type:c}={}){let{transition:d,transitionEnd:h,...p}=l;const g=i.getDefaultTransition();d=d?gg(d,g):g;const m=d?.reduceMotion,v=d?.skipAnimations;u&&(d=u);const S=[],E=c&&i.animationState&&i.animationState.getState()[c],B=d?.path;B&&B.animateVisualElement(i,p,d,o,S);for(const O in p){const L=i.getValue(O,i.latestValues[O]??null),w=p[O];if(w===void 0||E&&rb(E,O))continue;const j={delay:o,...Gc(d||{},O)};v&&(j.skipAnimations=!0);const Y=L.get();if(Y!==void 0&&!L.isAnimating()&&!Array.isArray(w)&&w===Y&&!j.velocity){Ot.update(()=>L.set(w));continue}let H=!1;if(window.MotionHandoffAnimation){const ut=bg(i);if(ut){const K=window.MotionHandoffAnimation(ut,O,Ot);K!==null&&(j.startTime=K,H=!0)}}pc(i,O);const X=m??i.shouldReduceMotion;L.start(Xc(O,L,w,X&&Sg.has(O)?{type:!1}:j,i,H));const et=L.animation;et&&S.push(et)}if(h){const O=()=>Ot.update(()=>{h&&sb(i,h)});S.length?Promise.all(S).then(O):O()}return S}function gc(i,l,o={}){const u=Ti(i,l,o.type==="exit"?i.presenceContext?.custom:void 0);let{transition:c=i.getDefaultTransition()||{}}=u||{};o.transitionOverride&&(c=o.transitionOverride);const d=u?()=>Promise.all(Ag(i,u,o)):()=>Promise.resolve(),h=i.variantChildren&&i.variantChildren.size?(g=0)=>{const{delayChildren:m=0,staggerChildren:v,staggerDirection:S}=c;return cb(i,l,g,m,v,S,o)}:()=>Promise.resolve(),{when:p}=c;if(p){const[g,m]=p==="beforeChildren"?[d,h]:[h,d];return g().then(()=>m())}else return Promise.all([d(),h(o.delay)])}function cb(i,l,o=0,u=0,c=0,d=1,h){const p=[];for(const g of i.variantChildren)g.notify("AnimationStart",l),p.push(gc(g,l,{...h,delay:o+(typeof u=="function"?0:u)+pg(i.variantChildren,g,u,c,d)}).then(()=>g.notify("AnimationComplete",l)));return Promise.all(p)}function fb(i,l,o={}){i.notify("AnimationStart",l);let u;if(Array.isArray(l)){const c=l.map(d=>gc(i,d,o));u=Promise.all(c)}else if(typeof l=="string")u=gc(i,l,o);else{const c=typeof l=="function"?Ti(i,l,o.custom):l;u=Promise.all(Ag(i,c,o))}return u.then(()=>{i.notify("AnimationComplete",l)})}const hb={test:i=>i==="auto",parse:i=>i},Eg=i=>l=>l.test(i),Mg=[fa,J,Ie,Tn,jS,wS,hb],Vy=i=>Mg.find(Eg(i));function db(i){return typeof i=="number"?i===0:i!==null?i==="none"||i==="0"||Np(i):!0}const mb=new Set(["brightness","contrast","saturate","opacity"]);function yb(i){const[l,o]=i.slice(0,-1).split("(");if(l==="drop-shadow")return i;const[u]=o.match(Lc)||[];if(!u)return i;const c=o.replace(u,"");let d=mb.has(l)?1:0;return u!==o&&(d*=100),l+"("+d+c+")"}const pb=/\b([a-z-]*)\(.*?\)/gu,vc={...Qe,getAnimatableNone:i=>{const l=i.match(pb);return l?l.map(yb).join(" "):i}},Sc={...Qe,getAnimatableNone:i=>{const l=Qe.parse(i);return Qe.createTransformer(i)(l.map(u=>typeof u=="number"?0:typeof u=="object"?{...u,alpha:1}:u))}},_y={...fa,transform:Math.round},gb={rotate:Tn,pathRotation:Tn,rotateX:Tn,rotateY:Tn,rotateZ:Tn,scale:Gs,scaleX:Gs,scaleY:Gs,scaleZ:Gs,skew:Tn,skewX:Tn,skewY:Tn,distance:J,translateX:J,translateY:J,translateZ:J,x:J,y:J,z:J,perspective:J,transformPerspective:J,opacity:pl,originX:vy,originY:vy,originZ:J},au={borderWidth:J,borderTopWidth:J,borderRightWidth:J,borderBottomWidth:J,borderLeftWidth:J,borderRadius:J,borderTopLeftRadius:J,borderTopRightRadius:J,borderBottomRightRadius:J,borderBottomLeftRadius:J,width:J,maxWidth:J,height:J,maxHeight:J,top:J,right:J,bottom:J,left:J,inset:J,insetBlock:J,insetBlockStart:J,insetBlockEnd:J,insetInline:J,insetInlineStart:J,insetInlineEnd:J,padding:J,paddingTop:J,paddingRight:J,paddingBottom:J,paddingLeft:J,paddingBlock:J,paddingBlockStart:J,paddingBlockEnd:J,paddingInline:J,paddingInlineStart:J,paddingInlineEnd:J,margin:J,marginTop:J,marginRight:J,marginBottom:J,marginLeft:J,marginBlock:J,marginBlockStart:J,marginBlockEnd:J,marginInline:J,marginInlineStart:J,marginInlineEnd:J,fontSize:J,backgroundPositionX:J,backgroundPositionY:J,...gb,zIndex:_y,fillOpacity:pl,strokeOpacity:pl,numOctaves:_y},vb={...au,color:Qt,backgroundColor:Qt,outlineColor:Qt,fill:Qt,stroke:Qt,borderColor:Qt,borderTopColor:Qt,borderRightColor:Qt,borderBottomColor:Qt,borderLeftColor:Qt,filter:vc,WebkitFilter:vc,mask:Sc,WebkitMask:Sc},xg=i=>vb[i],Sb=new Set([vc,Sc]);function Dg(i,l){let o=xg(i);return Sb.has(o)||(o=Qe),o.getAnimatableNone?o.getAnimatableNone(l):void 0}const Tb=new Set(["auto","none","0"]);function bb(i,l,o){let u=0,c;for(;u<i.length&&!c;){const d=i[u];typeof d=="string"&&!Tb.has(d)&&ra(d).values.length&&(c=i[u]),u++}if(c&&o)for(const d of l)i[d]=Dg(o,c)}class Ab extends Yc{constructor(l,o,u,c,d){super(l,o,u,c,d,!0)}readKeyframes(){const{unresolvedKeyframes:l,element:o,name:u}=this;if(!o||!o.current)return;super.readKeyframes();for(let v=0;v<l.length;v++){let S=l[v];if(typeof S=="string"&&(S=S.trim(),Nc(S))){const E=vg(S,o.current);E!==void 0&&(l[v]=E),v===l.length-1&&(this.finalKeyframe=S)}}if(this.resolveNoneKeyframes(),!Sg.has(u)||l.length!==2)return;const[c,d]=l,h=Vy(c),p=Vy(d),g=gy(c),m=gy(d);if(g!==m&&Kn[u]){this.needsMeasurement=!0;return}if(h!==p)if(Dy(h)&&Dy(p))for(let v=0;v<l.length;v++){const S=l[v];typeof S=="string"&&(l[v]=parseFloat(S))}else Kn[u]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:l,name:o}=this,u=[];for(let c=0;c<l.length;c++)(l[c]===null||db(l[c]))&&u.push(c);u.length&&bb(l,u,o)}measureInitialState(){const{element:l,unresolvedKeyframes:o,name:u}=this;if(!l||!l.current)return;u==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Kn[u](l.measureViewportBox(),window.getComputedStyle(l.current)),o[0]=this.measuredOrigin;const c=o[o.length-1];c!==void 0&&l.getValue(u,c).jump(c,!1)}measureEndState(){const{element:l,name:o,unresolvedKeyframes:u}=this;if(!l||!l.current)return;const c=l.getValue(o);c&&c.jump(this.measuredOrigin,!1);const d=u.length-1,h=u[d];u[d]=Kn[o](l.measureViewportBox(),window.getComputedStyle(l.current)),h!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=h),this.removedTransforms?.length&&this.removedTransforms.forEach(([p,g])=>{l.getValue(p).set(g)}),this.resolveNoneKeyframes()}}const Kc=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];function Cg(i,l,o){if(i==null)return[];if(i instanceof EventTarget)return[i];if(typeof i=="string"){let u=document;const c=o?.[i]??u.querySelectorAll(i);return c?Array.from(c):[]}return Array.from(i).filter(u=>u!=null)}const Tc=(i,l)=>l&&typeof i=="number"?l.transform(i):i;function Eb(i){return Bp(i)&&"offsetHeight"in i&&!("ownerSVGElement"in i)}const{schedule:Jc}=kp(queueMicrotask,!1),Ze={x:!1,y:!1};function zg(){return Ze.x||Ze.y}function Mb(i){return i==="x"||i==="y"?Ze[i]?null:(Ze[i]=!0,()=>{Ze[i]=!1}):Ze.x||Ze.y?null:(Ze.x=Ze.y=!0,()=>{Ze.x=Ze.y=!1})}function Og(i,l){const o=Cg(i),u=new AbortController,c={passive:!0,...l,signal:u.signal};return[o,c,()=>u.abort()]}function xb(i){return!(i.pointerType==="touch"||zg())}function Db(i,l,o={}){const[u,c,d]=Og(i,o);return u.forEach(h=>{let p=!1,g=!1,m;const v=()=>{h.removeEventListener("pointerleave",O)},S=w=>{m&&(m(w),m=void 0),v()},E=w=>{p=!1,window.removeEventListener("pointerup",E),window.removeEventListener("pointercancel",E),g&&(g=!1,S(w))},B=()=>{p=!0,window.addEventListener("pointerup",E,c),window.addEventListener("pointercancel",E,c)},O=w=>{if(w.pointerType!=="touch"){if(p){g=!0;return}S(w)}},L=w=>{if(!xb(w))return;g=!1;const j=l(h,w);typeof j=="function"&&(m=j,h.addEventListener("pointerleave",O,c))};h.addEventListener("pointerenter",L,c),h.addEventListener("pointerdown",B,c)}),d}const Rg=(i,l)=>l?i===l?!0:Rg(i,l.parentElement):!1,kc=i=>i.pointerType==="mouse"?typeof i.button!="number"||i.button<=0:i.isPrimary!==!1,Cb=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function zb(i){return Cb.has(i.tagName)||i.isContentEditable===!0}const Ob=new Set(["INPUT","SELECT","TEXTAREA"]);function Rb(i){return Ob.has(i.tagName)||i.isContentEditable===!0}const Ks=new WeakSet;function Uy(i){return l=>{l.key==="Enter"&&i(l)}}function Jr(i,l){i.dispatchEvent(new PointerEvent("pointer"+l,{isPrimary:!0,bubbles:!0}))}const Vb=(i,l)=>{const o=i.currentTarget;if(!o)return;const u=Uy(()=>{if(Ks.has(o))return;Jr(o,"down");const c=Uy(()=>{Jr(o,"up")}),d=()=>Jr(o,"cancel");o.addEventListener("keyup",c,l),o.addEventListener("blur",d,l)});o.addEventListener("keydown",u,l),o.addEventListener("blur",()=>o.removeEventListener("keydown",u),l)};function By(i){return kc(i)&&!zg()}const Ny=new WeakSet;function _b(i,l,o={}){const[u,c,d]=Og(i,o),h=p=>{const g=p.currentTarget;if(!By(p)||Ny.has(p))return;Ks.add(g),o.stopPropagation&&Ny.add(p);const m=l(g,p),v={...c,capture:!0},S=(O,L)=>{window.removeEventListener("pointerup",E,v),window.removeEventListener("pointercancel",B,v),Ks.has(g)&&Ks.delete(g),By(O)&&typeof m=="function"&&m(O,{success:L})},E=O=>{S(O,g===window||g===document||o.useGlobalTarget||Rg(g,O.target))},B=O=>{S(O,!1)};window.addEventListener("pointerup",E,v),window.addEventListener("pointercancel",B,v)};return u.forEach(p=>{(o.useGlobalTarget?window:p).addEventListener("pointerdown",h,c),Eb(p)&&(p.addEventListener("focus",m=>Vb(m,c)),!zb(p)&&!p.hasAttribute("tabindex")&&(p.tabIndex=0))}),d}function Fc(i){return Bp(i)&&"ownerSVGElement"in i}const Js=new WeakMap;let ks;const Vg=(i,l,o)=>(u,c)=>c&&c[0]?c[0][i+"Size"]:Fc(u)&&"getBBox"in u?u.getBBox()[l]:u[o],Ub=Vg("inline","width","offsetWidth"),Bb=Vg("block","height","offsetHeight");function Nb({target:i,borderBoxSize:l}){Js.get(i)?.forEach(o=>{o(i,{get width(){return Ub(i,l)},get height(){return Bb(i,l)}})})}function Lb(i){i.forEach(Nb)}function wb(){typeof ResizeObserver>"u"||(ks=new ResizeObserver(Lb))}function jb(i,l){ks||wb();const o=Cg(i);return o.forEach(u=>{let c=Js.get(u);c||(c=new Set,Js.set(u,c)),c.add(l),ks?.observe(u)}),()=>{o.forEach(u=>{const c=Js.get(u);c?.delete(l),c?.size||ks?.unobserve(u)})}}const Fs=new Set;let ua;function Hb(){ua=()=>{const i={get width(){return window.innerWidth},get height(){return window.innerHeight}};Fs.forEach(l=>l(i))},window.addEventListener("resize",ua)}function qb(i){return Fs.add(i),ua||Hb(),()=>{Fs.delete(i),!Fs.size&&typeof ua=="function"&&(window.removeEventListener("resize",ua),ua=void 0)}}function Ly(i,l){return typeof i=="function"?qb(i):jb(i,l)}function Yb(i){return Fc(i)&&i.tagName==="svg"}const Gb=[...Mg,Qt,Qe],Xb=i=>Gb.find(Eg(i)),wy=()=>({translate:0,scale:1,origin:0,originPoint:0}),oa=()=>({x:wy(),y:wy()}),jy=()=>({min:0,max:0}),Jt=()=>({x:jy(),y:jy()}),Zb=new WeakMap;function hu(i){return i!==null&&typeof i=="object"&&typeof i.start=="function"}function gl(i){return typeof i=="string"||Array.isArray(i)}const Wc=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Pc=["initial",...Wc];function du(i){return hu(i.animate)||Pc.some(l=>gl(i[l]))}function _g(i){return!!(du(i)||i.variants)}function Qb(i,l,o){for(const u in l){const c=l[u],d=o[u];if(ne(c))i.addValue(u,c);else if(ne(d))i.addValue(u,ca(c,{owner:i}));else if(d!==c)if(i.hasValue(u)){const h=i.getValue(u);h.liveStyle===!0?h.jump(c):h.hasAnimated||h.set(c)}else{const h=i.getStaticValue(u);i.addValue(u,ca(h!==void 0?h:c,{owner:i}))}}for(const u in o)l[u]===void 0&&i.removeValue(u);return l}const lu={current:null},$c={current:!1},Kb=typeof window<"u";function Ug(){if($c.current=!0,!!Kb)if(window.matchMedia){const i=window.matchMedia("(prefers-reduced-motion)"),l=()=>lu.current=i.matches;i.addEventListener("change",l),l()}else lu.current=!1}const Hy=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let su={};function Bg(i){su=i}function Jb(){return su}class kb{scrapeMotionValuesFromProps(l,o,u){return{}}constructor({parent:l,props:o,presenceContext:u,reducedMotionConfig:c,skipAnimations:d,blockInitialAnimation:h,visualState:p},g={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Yc,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const B=oe.now();this.renderScheduledAt<B&&(this.renderScheduledAt=B,Ot.render(this.render,!1,!0))};const{latestValues:m,renderState:v}=p;this.latestValues=m,this.baseTarget={...m},this.initialValues=o.initial?{...m}:{},this.renderState=v,this.parent=l,this.props=o,this.presenceContext=u,this.depth=l?l.depth+1:0,this.reducedMotionConfig=c,this.skipAnimationsConfig=d,this.options=g,this.blockInitialAnimation=!!h,this.isControllingVariants=du(o),this.isVariantNode=_g(o),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(l&&l.current);const{willChange:S,...E}=this.scrapeMotionValuesFromProps(o,{},this);for(const B in E){const O=E[B];m[B]!==void 0&&ne(O)&&O.set(m[B])}}mount(l){if(this.hasBeenMounted)for(const o in this.initialValues)this.values.get(o)?.jump(this.initialValues[o]),this.latestValues[o]=this.initialValues[o];this.current=l,Zb.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((o,u)=>this.bindToMotionValue(u,o)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:($c.current||Ug(),this.shouldReduceMotion=lu.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),kn(this.notifyUpdate),kn(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 o=this.features[l];o&&(o.unmount(),o.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,o){if(this.valueSubscriptions.has(l)&&this.valueSubscriptions.get(l)(),o.accelerate&&yg.has(l)&&this.current instanceof HTMLElement){const{factory:h,keyframes:p,times:g,ease:m,duration:v}=o.accelerate,S=new dg({element:this.current,name:l,keyframes:p,times:g,ease:m,duration:Ce(v)}),E=h(S);this.valueSubscriptions.set(l,()=>{E(),S.cancel()});return}const u=da.has(l);u&&this.onBindTransform&&this.onBindTransform();const c=o.on("change",h=>{this.latestValues[l]=h,this.props.onUpdate&&Ot.preRender(this.notifyUpdate),u&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let d;typeof window<"u"&&window.MotionCheckAppearSync&&(d=window.MotionCheckAppearSync(this,l,o)),this.valueSubscriptions.set(l,()=>{c(),d&&d()})}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 su){const o=su[l];if(!o)continue;const{isEnabled:u,Feature:c}=o;if(!this.features[l]&&c&&u(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):Jt()}getStaticValue(l){return this.latestValues[l]}setStaticValue(l,o){this.latestValues[l]=o}update(l,o){(l.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=l,this.prevPresenceContext=this.presenceContext,this.presenceContext=o;for(let u=0;u<Hy.length;u++){const c=Hy[u];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=Qb(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 o=this.getClosestVariantNode();if(o)return o.variantChildren&&o.variantChildren.add(l),()=>o.variantChildren.delete(l)}addValue(l,o){const u=this.values.get(l);o!==u&&(u&&this.removeValue(l),this.bindToMotionValue(l,o),this.values.set(l,o),this.latestValues[l]=o.get())}removeValue(l){this.values.delete(l);const o=this.valueSubscriptions.get(l);o&&(o(),this.valueSubscriptions.delete(l)),delete this.latestValues[l],this.removeValueFromRenderState(l,this.renderState)}hasValue(l){return this.values.has(l)}getValue(l,o){if(this.props.values&&this.props.values[l])return this.props.values[l];let u=this.values.get(l);return u===void 0&&o!==void 0&&(u=ca(o===null?void 0:o,{owner:this}),this.addValue(l,u)),u}readValue(l,o){let u=this.latestValues[l]!==void 0||!this.current?this.latestValues[l]:this.getBaseTargetFromProps(this.props,l)??this.readValueFromInstance(this.current,l,this.options);return u!=null&&(typeof u=="string"&&(Up(u)||Np(u))?u=parseFloat(u):!Xb(u)&&Qe.test(o)&&(u=Dg(l,o)),this.setBaseTarget(l,ne(u)?u.get():u)),ne(u)?u.get():u}setBaseTarget(l,o){this.baseTarget[l]=o}getBaseTarget(l){const{initial:o}=this.props;let u;if(typeof o=="string"||typeof o=="object"){const d=Zc(this.props,o,this.presenceContext?.custom);d&&(u=d[l])}if(o&&u!==void 0)return u;const c=this.getBaseTargetFromProps(this.props,l);return c!==void 0&&!ne(c)?c:this.initialValues[l]!==void 0&&u===void 0?void 0:this.baseTarget[l]}on(l,o){return this.events[l]||(this.events[l]=new _c),this.events[l].add(o)}notify(l,...o){this.events[l]&&this.events[l].notify(...o)}scheduleRenderMicrotask(){Jc.render(this.render)}}class Ng extends kb{constructor(){super(...arguments),this.KeyframeResolver=Ab}sortInstanceNodePosition(l,o){return l.compareDocumentPosition(o)&2?1:-1}getBaseTargetFromProps(l,o){const u=l.style;return u?u[o]:void 0}removeValueFromRenderState(l,{vars:o,style:u}){delete o[l],delete u[l]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:l}=this.props;ne(l)&&(this.childSubscription=l.on("change",o=>{this.current&&(this.current.textContent=`${o}`)}))}}class Fn{constructor(l){this.isMounted=!1,this.node=l}update(){}}function Lg({top:i,left:l,right:o,bottom:u}){return{x:{min:l,max:o},y:{min:i,max:u}}}function Fb({x:i,y:l}){return{top:l.min,right:i.max,bottom:l.max,left:i.min}}function Wb(i,l){if(!l)return i;const o=l({x:i.left,y:i.top}),u=l({x:i.right,y:i.bottom});return{top:o.y,left:o.x,bottom:u.y,right:u.x}}function kr(i){return i===void 0||i===1}function bc({scale:i,scaleX:l,scaleY:o}){return!kr(i)||!kr(l)||!kr(o)}function pi(i){return bc(i)||wg(i)||i.z||i.rotate||i.rotateX||i.rotateY||i.skewX||i.skewY}function wg(i){return qy(i.x)||qy(i.y)}function qy(i){return i&&i!=="0%"}function uu(i,l,o){const u=i-o,c=l*u;return o+c}function Yy(i,l,o,u,c){return c!==void 0&&(i=uu(i,c,u)),uu(i,o,u)+l}function Ac(i,l=0,o=1,u,c){i.min=Yy(i.min,l,o,u,c),i.max=Yy(i.max,l,o,u,c)}function jg(i,{x:l,y:o}){Ac(i.x,l.translate,l.scale,l.originPoint),Ac(i.y,o.translate,o.scale,o.originPoint)}const Gy=.999999999999,Xy=1.0000000000001;function Pb(i,l,o,u=!1){const c=o.length;if(!c)return;l.x=l.y=1;let d,h;for(let p=0;p<c;p++){d=o[p],h=d.projectionDelta;const{visualElement:g}=d.options;g&&g.props.style&&g.props.style.display==="contents"||(u&&d.options.layoutScroll&&d.scroll&&d!==d.root&&($e(i.x,-d.scroll.offset.x),$e(i.y,-d.scroll.offset.y)),h&&(l.x*=h.x.scale,l.y*=h.y.scale,jg(i,h)),u&&pi(d.latestValues)&&Ws(i,d.latestValues,d.layout?.layoutBox))}l.x<Xy&&l.x>Gy&&(l.x=1),l.y<Xy&&l.y>Gy&&(l.y=1)}function $e(i,l){i.min+=l,i.max+=l}function Zy(i,l,o,u,c=.5){const d=zt(i.min,i.max,c);Ac(i,l,o,d,u)}function Qy(i,l){return typeof i=="string"?parseFloat(i)/100*(l.max-l.min):i}function Ws(i,l,o){const u=o??i;Zy(i.x,Qy(l.x,u.x),l.scaleX,l.scale,l.originX),Zy(i.y,Qy(l.y,u.y),l.scaleY,l.scale,l.originY)}function Hg(i,l){return Lg(Wb(i.getBoundingClientRect(),l))}function $b(i,l,o){const u=Hg(i,o),{scroll:c}=l;return c&&($e(u.x,c.offset.x),$e(u.y,c.offset.y)),u}const Ib={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},t2=ha.length;function e2(i,l,o){let u="",c=!0;for(let h=0;h<t2;h++){const p=ha[h],g=i[p];if(g===void 0)continue;let m=!0;if(typeof g=="number")m=g===(p.startsWith("scale")?1:0);else{const v=parseFloat(g);m=p.startsWith("scale")?v===1:v===0}if(!m||o){const v=Tc(g,au[p]);if(!m){c=!1;const S=Ib[p]||p;u+=`${S}(${v}) `}o&&(l[p]=v)}}const d=i.pathRotation;return d&&(c=!1,u+=`rotate(${Tc(d,au.pathRotation)}) `),u=u.trim(),o?u=o(l,c?"":u):c&&(u="none"),u}function Ic(i,l,o){const{style:u,vars:c,transformOrigin:d}=i;let h=!1,p=!1;for(const g in l){const m=l[g];if(da.has(g)){h=!0;continue}else if(Wp(g)){c[g]=m;continue}else{const v=Tc(m,au[g]);g.startsWith("origin")?(p=!0,d[g]=v):u[g]=v}}if(l.transform||(h||o?u.transform=e2(l,i.transform,o):u.transform&&(u.transform="none")),p){const{originX:g="50%",originY:m="50%",originZ:v=0}=d;u.transformOrigin=`${g} ${m} ${v}`}}function qg(i,{style:l,vars:o},u,c){const d=i.style;let h;for(h in l)d[h]=l[h];c?.applyProjectionStyles(d,u);for(h in o)d.setProperty(h,o[h])}function Ky(i,l){return l.max===l.min?0:i/(l.max-l.min)*100}const rl={correct:(i,l)=>{if(!l.target)return i;if(typeof i=="string")if(J.test(i))i=parseFloat(i);else return i;const o=Ky(i,l.target.x),u=Ky(i,l.target.y);return`${o}% ${u}%`}},n2={correct:(i,{treeScale:l,projectionDelta:o})=>{const u=i,c=Qe.parse(i);if(c.length>5)return u;const d=Qe.createTransformer(i),h=typeof c[0]!="number"?1:0,p=o.x.scale*l.x,g=o.y.scale*l.y;c[0+h]/=p,c[1+h]/=g;const m=zt(p,g,.5);return typeof c[2+h]=="number"&&(c[2+h]/=m),typeof c[3+h]=="number"&&(c[3+h]/=m),d(c)}},Ec={borderRadius:{...rl,applyTo:[...Kc]},borderTopLeftRadius:rl,borderTopRightRadius:rl,borderBottomLeftRadius:rl,borderBottomRightRadius:rl,boxShadow:n2};function Yg(i,{layout:l,layoutId:o}){return da.has(i)||i.startsWith("origin")||(l||o!==void 0)&&(!!Ec[i]||i==="opacity")}function tf(i,l,o){const u=i.style,c=l?.style,d={};if(!u)return d;for(const h in u)(ne(u[h])||c&&ne(c[h])||Yg(h,i)||o?.getValue(h)?.liveStyle!==void 0)&&(d[h]=u[h]);return d}function i2(i){return window.getComputedStyle(i)}class a2 extends Ng{constructor(){super(...arguments),this.type="html",this.renderInstance=qg}mount(l){cu(!!l.style),super.mount(l)}readValueFromInstance(l,o){if(da.has(o))return this.projection?.isProjecting?rc(o):MT(l,o);{const u=i2(l),c=(Wp(o)?u.getPropertyValue(o):u[o])||0;return typeof c=="string"?c.trim():c}}measureInstanceViewportBox(l,{transformPagePoint:o}){return Hg(l,o)}build(l,o,u){Ic(l,o,u.transformTemplate)}scrapeMotionValuesFromProps(l,o,u){return tf(l,o,u)}}const l2={offset:"stroke-dashoffset",array:"stroke-dasharray"},s2={offset:"strokeDashoffset",array:"strokeDasharray"};function u2(i,l,o=1,u=0,c=!0){i.pathLength=1;const d=c?l2:s2;i[d.offset]=`${-u}`,i[d.array]=`${l} ${o}`}const o2=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Gg(i,{attrX:l,attrY:o,attrScale:u,pathLength:c,pathSpacing:d=1,pathOffset:h=0,...p},g,m,v){if(Ic(i,p,m),g){i.style.viewBox&&(i.attrs.viewBox=i.style.viewBox);return}i.attrs=i.style,i.style={};const{attrs:S,style:E}=i;S.transform&&(E.transform=S.transform,delete S.transform),(E.transform||S.transformOrigin)&&(E.transformOrigin=S.transformOrigin??"50% 50%",delete S.transformOrigin),E.transform&&(E.transformBox=v?.transformBox??"fill-box",delete S.transformBox);for(const B of o2)S[B]!==void 0&&(E[B]=S[B],delete S[B]);l!==void 0&&(S.x=l),o!==void 0&&(S.y=o),u!==void 0&&(S.scale=u),c!==void 0&&u2(S,c,d,h,!1)}const Xg=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"]),Zg=i=>typeof i=="string"&&i.toLowerCase()==="svg";function r2(i,l,o,u){qg(i,l,void 0,u);for(const c in l.attrs)i.setAttribute(Xg.has(c)?c:Qc(c),l.attrs[c])}function Qg(i,l,o){const u=tf(i,l,o);for(const c in i)if(ne(i[c])||ne(l[c])){const d=ha.indexOf(c)!==-1?"attr"+c.charAt(0).toUpperCase()+c.substring(1):c;u[d]=i[c]}return u}class c2 extends Ng{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Jt}getBaseTargetFromProps(l,o){return l[o]}readValueFromInstance(l,o){if(da.has(o)){const u=xg(o);return u&&u.default||0}return o=Xg.has(o)?o:Qc(o),l.getAttribute(o)}scrapeMotionValuesFromProps(l,o,u){return Qg(l,o,u)}build(l,o,u){Gg(l,o,this.isSVGTag,u.transformTemplate,u.style)}renderInstance(l,o,u,c){r2(l,o,u,c)}mount(l){this.isSVGTag=Zg(l.tagName),super.mount(l)}}const f2=Pc.length;function Kg(i){if(!i)return;if(!i.isControllingVariants){const o=i.parent?Kg(i.parent)||{}:{};return i.props.initial!==void 0&&(o.initial=i.props.initial),o}const l={};for(let o=0;o<f2;o++){const u=Pc[o],c=i.props[u];(gl(c)||c===!1)&&(l[u]=c)}return l}function Jg(i,l){if(!Array.isArray(l))return!1;const o=l.length;if(o!==i.length)return!1;for(let u=0;u<o;u++)if(l[u]!==i[u])return!1;return!0}const h2=[...Wc].reverse(),d2=Wc.length;function m2(i){return l=>Promise.all(l.map(({animation:o,options:u})=>fb(i,o,u)))}function y2(i){let l=m2(i),o=Jy(),u=!0,c=!1;const d=m=>(v,S)=>{const E=Ti(i,S,m==="exit"?i.presenceContext?.custom:void 0);if(E){const{transition:B,transitionEnd:O,...L}=E;v={...v,...L,...O}}return v};function h(m){l=m(i)}function p(m){const{props:v}=i,S=Kg(i.parent)||{},E=[],B=new Set;let O={},L=1/0;for(let j=0;j<d2;j++){const Y=h2[j],H=o[Y],X=v[Y]!==void 0?v[Y]:S[Y],et=gl(X),ut=Y===m?H.isActive:null;ut===!1&&(L=j);let K=X===S[Y]&&X!==v[Y]&&et;if(K&&(u||c)&&i.manuallyAnimateOnMount&&(K=!1),H.protectedKeys={...O},!H.isActive&&ut===null||!X&&!H.prevProp||hu(X)||typeof X=="boolean")continue;if(Y==="exit"&&H.isActive&&ut!==!0){H.prevResolvedValues&&(O={...O,...H.prevResolvedValues});continue}const P=p2(H.prevProp,X);let Et=P||Y===m&&H.isActive&&!K&&et||j>L&&et,tt=!1;const gt=Array.isArray(X)?X:[X];let Tt=gt.reduce(d(Y),{});ut===!1&&(Tt={});const{prevResolvedValues:le={}}=H,qt={...le,...Tt},Lt=Z=>{Et=!0,B.has(Z)&&(tt=!0,B.delete(Z)),H.needsAnimating[Z]=!0;const lt=i.getValue(Z);lt&&(lt.liveStyle=!1)};for(const Z in qt){const lt=Tt[Z],dt=le[Z];if(O.hasOwnProperty(Z))continue;let A=!1;yc(lt)&&yc(dt)?A=!Jg(lt,dt)||P:A=lt!==dt,A?lt!=null?Lt(Z):B.add(Z):lt!==void 0&&B.has(Z)?Lt(Z):H.protectedKeys[Z]=!0}H.prevProp=X,H.prevResolvedValues=Tt,H.isActive&&(O={...O,...Tt}),(u||c)&&i.blockInitialAnimation&&(Et=!1);const R=K&&P;Et&&(!R||tt)&&E.push(...gt.map(Z=>{const lt={type:Y};if(typeof Z=="string"&&(u||c)&&!R&&i.manuallyAnimateOnMount&&i.parent){const{parent:dt}=i,A=Ti(dt,Z);if(dt.enteringChildren&&A){const{delayChildren:N}=A.transition||{};lt.delay=pg(dt.enteringChildren,i,N)}}return{animation:Z,options:lt}}))}if(B.size){const j={};if(typeof v.initial!="boolean"){const Y=Ti(i,Array.isArray(v.initial)?v.initial[0]:v.initial);Y&&Y.transition&&(j.transition=Y.transition)}B.forEach(Y=>{const H=i.getBaseTarget(Y),X=i.getValue(Y);X&&(X.liveStyle=!0),j[Y]=H??null}),E.push({animation:j})}let w=!!E.length;return u&&(v.initial===!1||v.initial===v.animate)&&!i.manuallyAnimateOnMount&&(w=!1),u=!1,c=!1,w?l(E):Promise.resolve()}function g(m,v){if(o[m].isActive===v)return Promise.resolve();i.variantChildren?.forEach(E=>E.animationState?.setActive(m,v)),o[m].isActive=v;const S=p(m);for(const E in o)o[E].protectedKeys={};return S}return{animateChanges:p,setActive:g,setAnimateFunction:h,getState:()=>o,reset:()=>{o=Jy(),c=!0}}}function p2(i,l){return typeof l=="string"?l!==i:Array.isArray(l)?!Jg(l,i):!1}function yi(i=!1){return{isActive:i,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Jy(){return{animate:yi(!0),whileInView:yi(),whileHover:yi(),whileTap:yi(),whileDrag:yi(),whileFocus:yi(),exit:yi()}}function Mc(i,l){i.min=l.min,i.max=l.max}function Xe(i,l){Mc(i.x,l.x),Mc(i.y,l.y)}function ky(i,l){i.translate=l.translate,i.scale=l.scale,i.originPoint=l.originPoint,i.origin=l.origin}const kg=1e-4,g2=1-kg,v2=1+kg,Fg=.01,S2=0-Fg,T2=0+Fg;function re(i){return i.max-i.min}function b2(i,l,o){return Math.abs(i-l)<=o}function Fy(i,l,o,u=.5){i.origin=u,i.originPoint=zt(l.min,l.max,i.origin),i.scale=re(o)/re(l),i.translate=zt(o.min,o.max,i.origin)-i.originPoint,(i.scale>=g2&&i.scale<=v2||isNaN(i.scale))&&(i.scale=1),(i.translate>=S2&&i.translate<=T2||isNaN(i.translate))&&(i.translate=0)}function dl(i,l,o,u){Fy(i.x,l.x,o.x,u?u.originX:void 0),Fy(i.y,l.y,o.y,u?u.originY:void 0)}function Wy(i,l,o,u=0){const c=u?zt(o.min,o.max,u):o.min;i.min=c+l.min,i.max=i.min+re(l)}function A2(i,l,o,u){Wy(i.x,l.x,o.x,u?.x),Wy(i.y,l.y,o.y,u?.y)}function Py(i,l,o,u=0){const c=u?zt(o.min,o.max,u):o.min;i.min=l.min-c,i.max=i.min+re(l)}function ou(i,l,o,u){Py(i.x,l.x,o.x,u?.x),Py(i.y,l.y,o.y,u?.y)}function $y(i,l,o,u,c){return i-=l,i=uu(i,1/o,u),c!==void 0&&(i=uu(i,1/c,u)),i}function E2(i,l=0,o=1,u=.5,c,d=i,h=i){if(Ie.test(l)&&(l=parseFloat(l),l=zt(h.min,h.max,l/100)-h.min),typeof l!="number")return;let p=zt(d.min,d.max,u);i===d&&(p-=l),i.min=$y(i.min,l,o,p,c),i.max=$y(i.max,l,o,p,c)}function Iy(i,l,[o,u,c],d,h){E2(i,l[o],l[u],l[c],l.scale,d,h)}const M2=["x","scaleX","originX"],x2=["y","scaleY","originY"];function tp(i,l,o,u){Iy(i.x,l,M2,o?o.x:void 0,u?u.x:void 0),Iy(i.y,l,x2,o?o.y:void 0,u?u.y:void 0)}function ep(i){return i.translate===0&&i.scale===1}function Wg(i){return ep(i.x)&&ep(i.y)}function np(i,l){return i.min===l.min&&i.max===l.max}function D2(i,l){return np(i.x,l.x)&&np(i.y,l.y)}function ip(i,l){return Math.round(i.min)===Math.round(l.min)&&Math.round(i.max)===Math.round(l.max)}function Pg(i,l){return ip(i.x,l.x)&&ip(i.y,l.y)}function ap(i){return re(i.x)/re(i.y)}function lp(i,l){return i.translate===l.translate&&i.scale===l.scale&&i.originPoint===l.originPoint}function Pe(i){return[i("x"),i("y")]}function C2(i,l,o){let u="";const c=i.x.translate/l.x,d=i.y.translate/l.y,h=o?.z||0;if((c||d||h)&&(u=`translate3d(${c}px, ${d}px, ${h}px) `),(l.x!==1||l.y!==1)&&(u+=`scale(${1/l.x}, ${1/l.y}) `),o){const{transformPerspective:m,rotate:v,pathRotation:S,rotateX:E,rotateY:B,skewX:O,skewY:L}=o;m&&(u=`perspective(${m}px) ${u}`),v&&(u+=`rotate(${v}deg) `),S&&(u+=`rotate(${S}deg) `),E&&(u+=`rotateX(${E}deg) `),B&&(u+=`rotateY(${B}deg) `),O&&(u+=`skewX(${O}deg) `),L&&(u+=`skewY(${L}deg) `)}const p=i.x.scale*l.x,g=i.y.scale*l.y;return(p!==1||g!==1)&&(u+=`scale(${p}, ${g})`),u||"none"}const z2=Kc.length,sp=i=>typeof i=="string"?parseFloat(i):i,up=i=>typeof i=="number"||J.test(i);function O2(i,l,o,u,c,d){c?(i.opacity=zt(0,o.opacity??1,R2(u)),i.opacityExit=zt(l.opacity??1,0,V2(u))):d&&(i.opacity=zt(l.opacity??1,o.opacity??1,u));for(let h=0;h<z2;h++){const p=Kc[h];let g=op(l,p),m=op(o,p);if(g===void 0&&m===void 0)continue;g||(g=0),m||(m=0),g===0||m===0||up(g)===up(m)?(i[p]=Math.max(zt(sp(g),sp(m),u),0),(Ie.test(m)||Ie.test(g))&&(i[p]+="%")):i[p]=m}(l.rotate||o.rotate)&&(i.rotate=zt(l.rotate||0,o.rotate||0,u))}function op(i,l){return i[l]!==void 0?i[l]:i.borderRadius}const R2=$g(0,.5,Zp),V2=$g(.5,.95,He);function $g(i,l,o){return u=>u<i?0:u>l?1:o(yl(i,l,u))}function _2(i,l,o){const u=ne(i)?i:ca(i);return u.start(Xc("",u,l,o)),u.animation}function vl(i,l,o,u={passive:!0}){return i.addEventListener(l,o,u),()=>i.removeEventListener(l,o,u)}const U2=(i,l)=>i.depth-l.depth;class B2{constructor(){this.children=[],this.isDirty=!1}add(l){Vc(this.children,l),this.isDirty=!0}remove(l){Is(this.children,l),this.isDirty=!0}forEach(l){this.isDirty&&this.children.sort(U2),this.isDirty=!1,this.children.forEach(l)}}function N2(i,l){const o=oe.now(),u=({timestamp:c})=>{const d=c-o;d>=l&&(kn(u),i(d-l))};return Ot.setup(u,!0),()=>kn(u)}function Ps(i){return ne(i)?i.get():i}class L2{constructor(){this.members=[]}add(l){Vc(this.members,l);for(let o=this.members.length-1;o>=0;o--){const u=this.members[o];if(u===l||u===this.lead||u===this.prevLead)continue;const c=u.instance;(!c||c.isConnected===!1)&&!u.snapshot&&(Is(this.members,u),u.unmount())}l.scheduleRender()}remove(l){if(Is(this.members,l),l===this.prevLead&&(this.prevLead=void 0),l===this.lead){const o=this.members[this.members.length-1];o&&this.promote(o)}}relegate(l){for(let o=this.members.indexOf(l)-1;o>=0;o--){const u=this.members[o];if(u.isPresent!==!1&&u.instance?.isConnected!==!1)return this.promote(u),!0}return!1}promote(l,o){const u=this.lead;if(l!==u&&(this.prevLead=u,this.lead=l,l.show(),u)){u.updateSnapshot(),l.scheduleRender();const{layoutDependency:c}=u.options,{layoutDependency:d}=l.options;(c===void 0||c!==d)&&(l.resumeFrom=u,o&&(u.preserveOpacity=!0),u.snapshot&&(l.snapshot=u.snapshot,l.snapshot.latestValues=u.animationValues||u.latestValues),l.root?.isUpdating&&(l.isLayoutDirty=!0)),l.options.crossfade===!1&&u.hide()}}exitAnimationComplete(){this.members.forEach(l=>{l.options.onExitComplete?.(),l.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(l=>l.instance&&l.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}const $s={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Fr=["","X","Y","Z"],w2=1e3;let j2=0;function Wr(i,l,o,u){const{latestValues:c}=l;c[i]&&(o[i]=c[i],l.setStaticValue(i,0),u&&(u[i]=0))}function Ig(i){if(i.hasCheckedOptimisedAppear=!0,i.root===i)return;const{visualElement:l}=i.options;if(!l)return;const o=bg(l);if(window.MotionHasOptimisedAnimation(o,"transform")){const{layout:c,layoutId:d}=i.options;window.MotionCancelOptimisedAnimation(o,"transform",Ot,!(c||d))}const{parent:u}=i;u&&!u.hasCheckedOptimisedAppear&&Ig(u)}function t0({attachResizeListener:i,defaultParent:l,measureScroll:o,checkIsScrollRoot:u,resetTransform:c}){return class{constructor(h={},p=l?.()){this.id=j2++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(Y2),this.nodes.forEach(J2),this.nodes.forEach(k2),this.nodes.forEach(G2)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=h,this.root=p?p.root||p:this,this.path=p?[...p.path,p]:[],this.parent=p,this.depth=p?p.depth+1:0;for(let g=0;g<this.path.length;g++)this.path[g].shouldResetTransform=!0;this.root===this&&(this.nodes=new B2)}addEventListener(h,p){return this.eventHandlers.has(h)||this.eventHandlers.set(h,new _c),this.eventHandlers.get(h).add(p)}notifyListeners(h,...p){const g=this.eventHandlers.get(h);g&&g.notify(...p)}hasListeners(h){return this.eventHandlers.has(h)}mount(h){if(this.instance)return;this.isSVG=Fc(h)&&!Yb(h),this.instance=h;const{layoutId:p,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||p)&&(this.isLayoutDirty=!0),i){let v,S=0;const E=()=>this.root.updateBlockedByResize=!1;Ot.read(()=>{S=window.innerWidth}),i(h,()=>{const B=window.innerWidth;B!==S&&(S=B,this.root.updateBlockedByResize=!0,v&&v(),v=N2(E,250),$s.hasAnimatedSinceResize&&($s.hasAnimatedSinceResize=!1,this.nodes.forEach(fp)))})}p&&this.root.registerSharedNode(p,this),this.options.animate!==!1&&m&&(p||g)&&this.addEventListener("didUpdate",({delta:v,hasLayoutChanged:S,hasRelativeLayoutChanged:E,layout:B})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const O=this.options.transition||m.getDefaultTransition()||I2,{onLayoutAnimationStart:L,onLayoutAnimationComplete:w}=m.getProps(),j=!this.targetLayout||!Pg(this.targetLayout,B),Y=!S&&E;if(this.options.layoutRoot||this.resumeFrom||Y||S&&(j||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const H={...Gc(O,"layout"),onPlay:L,onComplete:w};(m.shouldReduceMotion||this.options.layoutRoot)&&(H.delay=0,H.type=!1),this.startAnimation(H),this.setAnimationOrigin(v,Y,H.path)}else S||fp(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=B})}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(),kn(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(F2),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&&Ig(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let v=0;v<this.path.length;v++){const S=this.path[v];S.shouldResetTransform=!0,(typeof S.latestValues.x=="string"||typeof S.latestValues.y=="string")&&(S.isLayoutDirty=!0),S.updateScroll("snapshot"),S.options.layoutRoot&&S.willUpdate(!1)}const{layoutId:p,layout:g}=this.options;if(p===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()){const g=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),g&&this.nodes.forEach(Z2),this.nodes.forEach(rp);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(cp);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Q2),this.nodes.forEach(K2),this.nodes.forEach(H2),this.nodes.forEach(q2)):this.nodes.forEach(cp),this.clearAllSnapshots();const p=oe.now();ee.delta=tn(0,1e3/60,p-ee.timestamp),ee.timestamp=p,ee.isProcessing=!0,Yr.update.process(ee),Yr.preRender.process(ee),Yr.render.process(ee),ee.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Jc.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(X2),this.sharedNodes.forEach(W2)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Ot.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Ot.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!re(this.snapshot.measuredBox.x)&&!re(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.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=Jt()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:p}=this.options;p&&p.notify("LayoutMeasure",this.layout.layoutBox,h?h.layoutBox:void 0)}updateScroll(h="measure"){let p=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===h&&(p=!1),p&&this.instance){const g=u(this.instance);this.scroll={animationId:this.root.animationId,phase:h,isRoot:g,offset:o(this.instance),wasRoot:this.scroll?this.scroll.isRoot:g}}}resetTransform(){if(!c)return;const h=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,p=this.projectionDelta&&!Wg(this.projectionDelta),g=this.getTransformTemplate(),m=g?g(this.latestValues,""):void 0,v=m!==this.prevTransformTemplateValue;h&&this.instance&&(p||pi(this.latestValues)||v)&&(c(this.instance,m),this.shouldResetTransform=!1,this.scheduleRender())}measure(h=!0){const p=this.measurePageBox();let g=this.removeElementScroll(p);return h&&(g=this.removeTransform(g)),tA(g),{animationId:this.root.animationId,measuredBox:p,layoutBox:g,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:h}=this.options;if(!h)return Jt();const p=h.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(eA))){const{scroll:m}=this.root;m&&($e(p.x,m.offset.x),$e(p.y,m.offset.y))}return p}removeElementScroll(h){const p=Jt();if(Xe(p,h),this.scroll?.wasRoot)return p;for(let g=0;g<this.path.length;g++){const m=this.path[g],{scroll:v,options:S}=m;m!==this.root&&v&&S.layoutScroll&&(v.wasRoot&&Xe(p,h),$e(p.x,v.offset.x),$e(p.y,v.offset.y))}return p}applyTransform(h,p=!1,g){const m=g||Jt();Xe(m,h);for(let v=0;v<this.path.length;v++){const S=this.path[v];!p&&S.options.layoutScroll&&S.scroll&&S!==S.root&&($e(m.x,-S.scroll.offset.x),$e(m.y,-S.scroll.offset.y)),pi(S.latestValues)&&Ws(m,S.latestValues,S.layout?.layoutBox)}return pi(this.latestValues)&&Ws(m,this.latestValues,this.layout?.layoutBox),m}removeTransform(h){const p=Jt();Xe(p,h);for(let g=0;g<this.path.length;g++){const m=this.path[g];if(!pi(m.latestValues))continue;let v;m.instance&&(bc(m.latestValues)&&m.updateSnapshot(),v=Jt(),Xe(v,m.measurePageBox())),tp(p,m.latestValues,m.snapshot?.layoutBox,v)}return pi(this.latestValues)&&tp(p,this.latestValues),p}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!==ee.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(h=!1){const p=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=p.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=p.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=p.isSharedProjectionDirty);const g=!!this.resumingFrom||this!==p;if(!(h||g&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:v,layoutId:S}=this.options;if(!this.layout||!(v||S))return;this.resolvedRelativeTargetAt=ee.timestamp;const E=this.getClosestProjectingParent();E&&this.linkedParentVersion!==E.layoutVersion&&!E.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&E&&E.layout?this.createRelativeTarget(E,this.layout.layoutBox,E.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Jt(),this.targetWithTransforms=Jt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),A2(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Xe(this.target,this.layout.layoutBox),jg(this.target,this.targetDelta)):Xe(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&E&&!!E.resumingFrom==!!this.resumingFrom&&!E.options.layoutScroll&&E.target&&this.animationProgress!==1?this.createRelativeTarget(E,this.target,E.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||bc(this.parent.latestValues)||wg(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(h,p,g){this.relativeParent=h,this.linkedParentVersion=h.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Jt(),this.relativeTargetOrigin=Jt(),ou(this.relativeTargetOrigin,p,g,this.options.layoutAnchor||void 0),Xe(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const h=this.getLead(),p=!!this.resumingFrom||this!==h;let g=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(g=!1),p&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(g=!1),this.resolvedRelativeTargetAt===ee.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;Xe(this.layoutCorrected,this.layout.layoutBox);const S=this.treeScale.x,E=this.treeScale.y;Pb(this.layoutCorrected,this.treeScale,this.path,p),h.layout&&!h.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(h.target=h.layout.layoutBox,h.targetWithTransforms=Jt());const{target:B}=h;if(!B){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(ky(this.prevProjectionDelta.x,this.projectionDelta.x),ky(this.prevProjectionDelta.y,this.projectionDelta.y)),dl(this.projectionDelta,this.layoutCorrected,B,this.latestValues),(this.treeScale.x!==S||this.treeScale.y!==E||!lp(this.projectionDelta.x,this.prevProjectionDelta.x)||!lp(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",B))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(h=!0){if(this.options.visualElement?.scheduleRender(),h){const p=this.getStack();p&&p.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=oa(),this.projectionDelta=oa(),this.projectionDeltaWithTransform=oa()}setAnimationOrigin(h,p=!1,g){const m=this.snapshot,v=m?m.latestValues:{},S={...this.latestValues},E=oa();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!p;const B=Jt(),O=m?m.source:void 0,L=this.layout?this.layout.source:void 0,w=O!==L,j=this.getStack(),Y=!j||j.members.length<=1,H=!!(w&&!Y&&this.options.crossfade===!0&&!this.path.some($2));this.animationProgress=0;let X;const et=g?.interpolateProjection(h);this.mixTargetDelta=ut=>{const K=ut/1e3,P=et?.(K);P?(E.x.translate=P.x,E.x.scale=zt(h.x.scale,1,K),E.x.origin=h.x.origin,E.x.originPoint=h.x.originPoint,E.y.translate=P.y,E.y.scale=zt(h.y.scale,1,K),E.y.origin=h.y.origin,E.y.originPoint=h.y.originPoint):(hp(E.x,h.x,K),hp(E.y,h.y,K)),this.setTargetDelta(E),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ou(B,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),P2(this.relativeTarget,this.relativeTargetOrigin,B,K),X&&D2(this.relativeTarget,X)&&(this.isProjectionDirty=!1),X||(X=Jt()),Xe(X,this.relativeTarget)),w&&(this.animationValues=S,O2(S,v,this.latestValues,K,H,Y)),P&&P.rotate!==void 0&&(this.animationValues||(this.animationValues=S),this.animationValues.pathRotation=P.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=K},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(h){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(kn(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ot.update(()=>{$s.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=ca(0)),this.motionValue.jump(0,!1),this.currentAnimation=_2(this.motionValue,[0,1e3],{...h,velocity:0,isSync:!0,onUpdate:p=>{this.mixTargetDelta(p),h.onUpdate&&h.onUpdate(p)},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(w2),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const h=this.getLead();let{targetWithTransforms:p,target:g,layout:m,latestValues:v}=h;if(!(!p||!g||!m)){if(this!==h&&this.layout&&m&&e0(this.options.animationType,this.layout.layoutBox,m.layoutBox)){g=this.target||Jt();const S=re(this.layout.layoutBox.x);g.x.min=h.target.x.min,g.x.max=g.x.min+S;const E=re(this.layout.layoutBox.y);g.y.min=h.target.y.min,g.y.max=g.y.min+E}Xe(p,g),Ws(p,v),dl(this.projectionDeltaWithTransform,this.layoutCorrected,p,v)}}registerSharedNode(h,p){this.sharedNodes.has(h)||this.sharedNodes.set(h,new L2),this.sharedNodes.get(h).add(p);const m=p.options.initialPromotionConfig;p.promote({transition:m?m.transition:void 0,preserveFollowOpacity:m&&m.shouldPreserveFollowOpacity?m.shouldPreserveFollowOpacity(p):void 0})}isLead(){const 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:p,preserveFollowOpacity:g}={}){const m=this.getStack();m&&m.promote(this,g),h&&(this.projectionDelta=void 0,this.needsReset=!0),p&&this.setOptions({transition:p})}relegate(){const h=this.getStack();return h?h.relegate(this):!1}resetSkewAndRotation(){const{visualElement:h}=this.options;if(!h)return;let p=!1;const{latestValues:g}=h;if((g.z||g.rotate||g.rotateX||g.rotateY||g.rotateZ||g.skewX||g.skewY)&&(p=!0),!p)return;const m={};g.z&&Wr("z",h,m,this.animationValues);for(let v=0;v<Fr.length;v++)Wr(`rotate${Fr[v]}`,h,m,this.animationValues),Wr(`skew${Fr[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,p){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=Ps(p?.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=Ps(p?.pointerEvents)||""),this.hasProjected&&!pi(this.latestValues)&&(h.transform=g?g({},""):"none",this.hasProjected=!1);return}h.visibility="";const v=m.animationValues||m.latestValues;this.applyTransformsToTarget();let S=C2(this.projectionDeltaWithTransform,this.treeScale,v);g&&(S=g(v,S)),h.transform=S;const{x:E,y:B}=this.projectionDelta;h.transformOrigin=`${E.origin*100}% ${B.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 O in Ec){if(v[O]===void 0)continue;const{correct:L,applyTo:w,isCSSVariable:j}=Ec[O],Y=S==="none"?v[O]:L(v[O],m);if(w){const H=w.length;for(let X=0;X<H;X++)h[w[X]]=Y}else j?this.options.visualElement.renderState.vars[O]=Y:h[O]=Y}this.options.layoutId&&(h.pointerEvents=m===this?Ps(p?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(h=>h.currentAnimation?.stop()),this.root.nodes.forEach(rp),this.root.sharedNodes.clear()}}}function H2(i){i.updateLayout()}function q2(i){const l=i.resumeFrom?.snapshot||i.snapshot;if(i.isLead()&&i.layout&&l&&i.hasListeners("didUpdate")){const{layoutBox:o,measuredBox:u}=i.layout,{animationType:c}=i.options,d=l.source!==i.layout.source;if(c==="size")Pe(v=>{const S=d?l.measuredBox[v]:l.layoutBox[v],E=re(S);S.min=o[v].min,S.max=S.min+E});else if(c==="x"||c==="y"){const v=c==="x"?"y":"x";Mc(d?l.measuredBox[v]:l.layoutBox[v],o[v])}else e0(c,l.layoutBox,o)&&Pe(v=>{const S=d?l.measuredBox[v]:l.layoutBox[v],E=re(o[v]);S.max=S.min+E,i.relativeTarget&&!i.currentAnimation&&(i.isProjectionDirty=!0,i.relativeTarget[v].max=i.relativeTarget[v].min+E)});const h=oa();dl(h,o,l.layoutBox);const p=oa();d?dl(p,i.applyTransform(u,!0),l.measuredBox):dl(p,o,l.layoutBox);const g=!Wg(h);let m=!1;if(!i.resumeFrom){const v=i.getClosestProjectingParent();if(v&&!v.resumeFrom){const{snapshot:S,layout:E}=v;if(S&&E){const B=i.options.layoutAnchor||void 0,O=Jt();ou(O,l.layoutBox,S.layoutBox,B);const L=Jt();ou(L,o,E.layoutBox,B),Pg(O,L)||(m=!0),v.options.layoutRoot&&(i.relativeTarget=L,i.relativeTargetOrigin=O,i.relativeParent=v)}}}i.notifyListeners("didUpdate",{layout:o,snapshot:l,delta:p,layoutDelta:h,hasLayoutChanged:g,hasRelativeLayoutChanged:m})}else if(i.isLead()){const{onExitComplete:o}=i.options;o&&o()}i.options.transition=void 0}function Y2(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 G2(i){i.isProjectionDirty=i.isSharedProjectionDirty=i.isTransformDirty=!1}function X2(i){i.clearSnapshot()}function rp(i){i.clearMeasurements()}function Z2(i){i.isLayoutDirty=!0,i.updateLayout()}function cp(i){i.isLayoutDirty=!1}function Q2(i){i.isAnimationBlocked&&i.layout&&!i.isLayoutDirty&&(i.snapshot=i.layout,i.isLayoutDirty=!0)}function K2(i){const{visualElement:l}=i.options;l&&l.getProps().onBeforeLayoutMeasure&&l.notify("BeforeLayoutMeasure"),i.resetTransform()}function fp(i){i.finishAnimation(),i.targetDelta=i.relativeTarget=i.target=void 0,i.isProjectionDirty=!0}function J2(i){i.resolveTargetDelta()}function k2(i){i.calcProjection()}function F2(i){i.resetSkewAndRotation()}function W2(i){i.removeLeadSnapshot()}function hp(i,l,o){i.translate=zt(l.translate,0,o),i.scale=zt(l.scale,1,o),i.origin=l.origin,i.originPoint=l.originPoint}function dp(i,l,o,u){i.min=zt(l.min,o.min,u),i.max=zt(l.max,o.max,u)}function P2(i,l,o,u){dp(i.x,l.x,o.x,u),dp(i.y,l.y,o.y,u)}function $2(i){return i.animationValues&&i.animationValues.opacityExit!==void 0}const I2={duration:.45,ease:[.4,0,.1,1]},mp=i=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(i),yp=mp("applewebkit/")&&!mp("chrome/")?Math.round:He;function pp(i){i.min=yp(i.min),i.max=yp(i.max)}function tA(i){pp(i.x),pp(i.y)}function e0(i,l,o){return i==="position"||i==="preserve-aspect"&&!b2(ap(l),ap(o),.2)}function eA(i){return i!==i.root&&i.scroll?.wasRoot}const nA=t0({attachResizeListener:(i,l)=>vl(i,"resize",l),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Pr={current:void 0},n0=t0({measureScroll:i=>({x:i.scrollLeft,y:i.scrollTop}),defaultParent:()=>{if(!Pr.current){const i=new nA({});i.mount(window),i.setOptions({layoutScroll:!0}),Pr.current=i}return Pr.current},resetTransform:(i,l)=>{i.style.transform=l!==void 0?l:"none"},checkIsScrollRoot:i=>window.getComputedStyle(i).position==="fixed"}),i0=W.createContext({transformPagePoint:i=>i,isStatic:!1,reducedMotion:"never"});function iA(i=!0){const l=W.useContext(Rc);if(l===null)return[!0,null];const{isPresent:o,onExitComplete:u,register:c}=l,d=W.useId();W.useEffect(()=>{if(i)return c(d)},[i]);const h=W.useCallback(()=>i&&u&&u(d),[d,u,i]);return!o&&u?[!1,h]:[!0]}const a0=W.createContext({strict:!1}),gp={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let vp=!1;function aA(){if(vp)return;const i={};for(const l in gp)i[l]={isEnabled:o=>gp[l].some(u=>!!o[u])};Bg(i),vp=!0}function l0(){return aA(),Jb()}function lA(i){const l=l0();for(const o in i)l[o]={...l[o],...i[o]};Bg(l)}const sA=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function ru(i){return i.startsWith("while")||i.startsWith("drag")&&i!=="draggable"||i.startsWith("layout")||i.startsWith("onTap")||i.startsWith("onPan")||i.startsWith("onLayout")||sA.has(i)}let s0=i=>!ru(i);function uA(i){typeof i=="function"&&(s0=l=>l.startsWith("on")?!ru(l):i(l))}try{uA(require("@emotion/is-prop-valid").default)}catch{}function oA(i,l,o){const u={};for(const c in i)c==="values"&&typeof i.values=="object"||ne(i[c])||(s0(c)||o===!0&&ru(c)||!l&&!ru(c)||i.draggable&&c.startsWith("onDrag"))&&(u[c]=i[c]);return u}const mu=W.createContext({});function rA(i,l){if(du(i)){const{initial:o,animate:u}=i;return{initial:o===!1||gl(o)?o:void 0,animate:gl(u)?u:void 0}}return i.inherit!==!1?l:{}}function cA(i){const{initial:l,animate:o}=rA(i,W.useContext(mu));return W.useMemo(()=>({initial:l,animate:o}),[Sp(l),Sp(o)])}function Sp(i){return Array.isArray(i)?i.join(" "):i}const ef=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function u0(i,l,o){for(const u in l)!ne(l[u])&&!Yg(u,o)&&(i[u]=l[u])}function fA({transformTemplate:i},l){return W.useMemo(()=>{const o=ef();return Ic(o,l,i),Object.assign({},o.vars,o.style)},[l])}function hA(i,l){const o=i.style||{},u={};return u0(u,o,i),Object.assign(u,fA(i,l)),u}function dA(i,l){const o={},u=hA(i,l);return i.drag&&i.dragListener!==!1&&(o.draggable=!1,u.userSelect=u.WebkitUserSelect=u.WebkitTouchCallout="none",u.touchAction=i.drag===!0?"none":`pan-${i.drag==="x"?"y":"x"}`),i.tabIndex===void 0&&(i.onTap||i.onTapStart||i.whileTap)&&(o.tabIndex=0),o.style=u,o}const o0=()=>({...ef(),attrs:{}});function mA(i,l,o,u){const c=W.useMemo(()=>{const d=o0();return Gg(d,l,Zg(u),i.transformTemplate,i.style),{...d.attrs,style:{...d.style}}},[l]);if(i.style){const d={};u0(d,i.style,i),c.style={...d,...c.style}}return c}const yA=["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 nf(i){return typeof i!="string"||i.includes("-")?!1:!!(yA.indexOf(i)>-1||/[A-Z]/u.test(i))}function pA(i,l,o,{latestValues:u},c,d=!1,h){const g=(h??nf(i)?mA:dA)(l,u,c,i),m=oA(l,typeof i=="string",d),v=i!==W.Fragment?{...m,...g,ref:o}:{},{children:S}=l,E=W.useMemo(()=>ne(S)?S.get():S,[S]);return W.createElement(i,{...v,children:E})}function gA({scrapeMotionValuesFromProps:i,createRenderState:l},o,u,c){return{latestValues:vA(o,u,c,i),renderState:l()}}function vA(i,l,o,u){const c={},d=u(i,{});for(const E in d)c[E]=Ps(d[E]);let{initial:h,animate:p}=i;const g=du(i),m=_g(i);l&&m&&!g&&i.inherit!==!1&&(h===void 0&&(h=l.initial),p===void 0&&(p=l.animate));let v=o?o.initial===!1:!1;v=v||h===!1;const S=v?p:h;if(S&&typeof S!="boolean"&&!hu(S)){const E=Array.isArray(S)?S:[S];for(let B=0;B<E.length;B++){const O=Zc(i,E[B]);if(O){const{transitionEnd:L,transition:w,...j}=O;for(const Y in j){let H=j[Y];if(Array.isArray(H)){const X=v?H.length-1:0;H=H[X]}H!==null&&(c[Y]=H)}for(const Y in L)c[Y]=L[Y]}}}return c}const r0=i=>(l,o)=>{const u=W.useContext(mu),c=W.useContext(Rc),d=()=>gA(i,l,u,c);return o?d():gS(d)},SA=r0({scrapeMotionValuesFromProps:tf,createRenderState:ef}),TA=r0({scrapeMotionValuesFromProps:Qg,createRenderState:o0}),bA=Symbol.for("motionComponentSymbol");function AA(i,l,o){const u=W.useRef(o);W.useInsertionEffect(()=>{u.current=o});const c=W.useRef(null);return W.useCallback(d=>{d&&i.onMount?.(d),l&&(d?l.mount(d):l.unmount());const h=u.current;if(typeof h=="function")if(d){const p=h(d);typeof p=="function"&&(c.current=p)}else c.current?(c.current(),c.current=null):h(d);else h&&(h.current=d)},[l])}const c0=W.createContext({});function la(i){return i&&typeof i=="object"&&Object.prototype.hasOwnProperty.call(i,"current")}function EA(i,l,o,u,c,d){const{visualElement:h}=W.useContext(mu),p=W.useContext(a0),g=W.useContext(Rc),m=W.useContext(i0),v=m.reducedMotion,S=m.skipAnimations,E=W.useRef(null),B=W.useRef(!1);u=u||p.renderer,!E.current&&u&&(E.current=u(i,{visualState:l,parent:h,props:o,presenceContext:g,blockInitialAnimation:g?g.initial===!1:!1,reducedMotionConfig:v,skipAnimations:S,isSVG:d}),B.current&&E.current&&(E.current.manuallyAnimateOnMount=!0));const O=E.current,L=W.useContext(c0);O&&!O.projection&&c&&(O.type==="html"||O.type==="svg")&&MA(E.current,o,c,L);const w=W.useRef(!1);W.useInsertionEffect(()=>{O&&w.current&&O.update(o,g)});const j=o[Tg],Y=W.useRef(!!j&&typeof window<"u"&&!window.MotionHandoffIsComplete?.(j)&&window.MotionHasOptimisedAnimation?.(j));return SS(()=>{B.current=!0,O&&(w.current=!0,window.MotionIsMounted=!0,O.updateFeatures(),O.scheduleRenderMicrotask(),Y.current&&O.animationState&&O.animationState.animateChanges())}),W.useEffect(()=>{O&&(!Y.current&&O.animationState&&O.animationState.animateChanges(),Y.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(j)}),Y.current=!1),O.enteringChildren=void 0)}),O}function MA(i,l,o,u){const{layoutId:c,layout:d,drag:h,dragConstraints:p,layoutScroll:g,layoutRoot:m,layoutAnchor:v,layoutCrossfade:S}=l;i.projection=new o(i.latestValues,l["data-framer-portal-id"]?void 0:f0(i.parent)),i.projection.setOptions({layoutId:c,layout:d,alwaysMeasureLayout:!!h||p&&la(p),visualElement:i,animationType:typeof d=="string"?d:"both",initialPromotionConfig:u,crossfade:S,layoutScroll:g,layoutRoot:m,layoutAnchor:v})}function f0(i){if(i)return i.options.allowProjection!==!1?i.projection:f0(i.parent)}function $r(i,{forwardMotionProps:l=!1,type:o}={},u,c){u&&lA(u);const d=o?o==="svg":nf(i),h=d?TA:SA;function p(m,v){let S;const E={...W.useContext(i0),...m,layoutId:xA(m)},{isStatic:B}=E,O=cA(m),L=h(m,B);if(!B&&typeof window<"u"){DA();const w=CA(E);S=w.MeasureLayout,O.visualElement=EA(i,L,E,c,w.ProjectionNode,d)}return ae.jsxs(mu.Provider,{value:O,children:[S&&O.visualElement?ae.jsx(S,{visualElement:O.visualElement,...E}):null,pA(i,m,AA(L,O.visualElement,v),L,B,l,d)]})}p.displayName=`motion.${typeof i=="string"?i:`create(${i.displayName??i.name??""})`}`;const g=W.forwardRef(p);return g[bA]=i,g}function xA({layoutId:i}){const l=W.useContext(_p).id;return l&&i!==void 0?l+"-"+i:i}function DA(i,l){W.useContext(a0).strict}function CA(i){const l=l0(),{drag:o,layout:u}=l;if(!o&&!u)return{};const c={...o,...u};return{MeasureLayout:o?.isEnabled(i)||u?.isEnabled(i)?c.MeasureLayout:void 0,ProjectionNode:c.ProjectionNode}}function zA(i,l){if(typeof Proxy>"u")return $r;const o=new Map,u=(d,h)=>$r(d,h,i,l),c=(d,h)=>u(d,h);return new Proxy(c,{get:(d,h)=>h==="create"?u:(o.has(h)||o.set(h,$r(h,void 0,i,l)),o.get(h))})}const OA=(i,l)=>l.isSVG??nf(i)?new c2(l):new a2(l,{allowProjection:i!==W.Fragment});class RA extends Fn{constructor(l){super(l),l.animationState||(l.animationState=y2(l))}updateAnimationControlsSubscription(){const{animate:l}=this.node.getProps();hu(l)&&(this.unmountControls=l.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:l}=this.node.getProps(),{animate:o}=this.node.prevProps||{};l!==o&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let VA=0;class _A extends Fn{constructor(){super(...arguments),this.id=VA++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;const{isPresent:l,onExitComplete:o}=this.node.presenceContext,{isPresent:u}=this.node.prevPresenceContext||{};if(!this.node.animationState||l===u)return;if(l&&u===!1){if(this.isExitComplete){const{initial:d,custom:h}=this.node.getProps();if(typeof d=="string"||typeof d=="object"&&d!==null&&!Array.isArray(d)){const p=Ti(this.node,d,h);if(p){const{transition:g,transitionEnd:m,...v}=p;for(const S in v)this.node.getValue(S)?.jump(v[S])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const c=this.node.animationState.setActive("exit",!l);o&&!l&&c.then(()=>{this.isExitComplete=!0,o(this.id)})}mount(){const{register:l,onExitComplete:o}=this.node.presenceContext||{};o&&o(this.id),l&&(this.unmount=l(this.id))}unmount(){}}const UA={animation:{Feature:RA},exit:{Feature:_A}};function Al(i){return{point:{x:i.pageX,y:i.pageY}}}const BA=i=>l=>kc(l)&&i(l,Al(l));function ml(i,l,o,u){return vl(i,l,BA(o),u)}const h0=({current:i})=>i?i.ownerDocument.defaultView:null,Tp=(i,l)=>Math.abs(i-l);function NA(i,l){const o=Tp(i.x,l.x),u=Tp(i.y,l.y);return Math.sqrt(o**2+u**2)}const bp=new Set(["auto","scroll"]);class d0{constructor(l,o,{transformPagePoint:u,contextWindow:c=window,dragSnapToOrigin:d=!1,distanceThreshold:h=3,element:p}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=O=>{this.handleScroll(O.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Xs(this.lastRawMoveEventInfo,this.transformPagePoint));const O=Ir(this.lastMoveEventInfo,this.history),L=this.startEvent!==null,w=NA(O.offset,{x:0,y:0})>=this.distanceThreshold;if(!L&&!w)return;const{point:j}=O,{timestamp:Y}=ee;this.history.push({...j,timestamp:Y});const{onStart:H,onMove:X}=this.handlers;L||(H&&H(this.lastMoveEvent,O),this.startEvent=this.lastMoveEvent),X&&X(this.lastMoveEvent,O)},this.handlePointerMove=(O,L)=>{this.lastMoveEvent=O,this.lastRawMoveEventInfo=L,this.lastMoveEventInfo=Xs(L,this.transformPagePoint),Ot.update(this.updatePoint,!0)},this.handlePointerUp=(O,L)=>{this.end();const{onEnd:w,onSessionEnd:j,resumeAnimation:Y}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&Y&&Y(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const H=Ir(O.type==="pointercancel"?this.lastMoveEventInfo:Xs(L,this.transformPagePoint),this.history);this.startEvent&&w&&w(O,H),j&&j(O,H)},!kc(l))return;this.dragSnapToOrigin=d,this.handlers=o,this.transformPagePoint=u,this.distanceThreshold=h,this.contextWindow=c||window;const g=Al(l),m=Xs(g,this.transformPagePoint),{point:v}=m,{timestamp:S}=ee;this.history=[{...v,timestamp:S}];const{onSessionStart:E}=o;E&&E(l,Ir(m,this.history));const B={passive:!0,capture:!0};this.removeListeners=Sl(ml(this.contextWindow,"pointermove",this.handlePointerMove,B),ml(this.contextWindow,"pointerup",this.handlePointerUp,B),ml(this.contextWindow,"pointercancel",this.handlePointerUp,B)),p&&this.startScrollTracking(p)}startScrollTracking(l){let o=l.parentElement;for(;o;){const u=getComputedStyle(o);(bp.has(u.overflowX)||bp.has(u.overflowY))&&this.scrollPositions.set(o,{x:o.scrollLeft,y:o.scrollTop}),o=o.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(l){const o=this.scrollPositions.get(l);if(!o)return;const u=l===window,c=u?{x:window.scrollX,y:window.scrollY}:{x:l.scrollLeft,y:l.scrollTop},d={x:c.x-o.x,y:c.y-o.y};d.x===0&&d.y===0||(u?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=d.x,this.lastMoveEventInfo.point.y+=d.y):this.history.length>0&&(this.history[0].x-=d.x,this.history[0].y-=d.y),this.scrollPositions.set(l,c),Ot.update(this.updatePoint,!0))}updateHandlers(l){this.handlers=l}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),kn(this.updatePoint)}}function Xs(i,l){return l?{point:l(i.point)}:i}function Ap(i,l){return{x:i.x-l.x,y:i.y-l.y}}function Ir({point:i},l){return{point:i,delta:Ap(i,m0(l)),offset:Ap(i,LA(l)),velocity:wA(l,.1)}}function LA(i){return i[0]}function m0(i){return i[i.length-1]}function wA(i,l){if(i.length<2)return{x:0,y:0};let o=i.length-1,u=null;const c=m0(i);for(;o>=0&&(u=i[o],!(c.timestamp-u.timestamp>Ce(l)));)o--;if(!u)return{x:0,y:0};u===i[0]&&i.length>2&&c.timestamp-u.timestamp>Ce(l)*2&&(u=i[1]);const d=je(c.timestamp-u.timestamp);if(d===0)return{x:0,y:0};const h={x:(c.x-u.x)/d,y:(c.y-u.y)/d};return h.x===1/0&&(h.x=0),h.y===1/0&&(h.y=0),h}function jA(i,{min:l,max:o},u){return l!==void 0&&i<l?i=u?zt(l,i,u.min):Math.max(i,l):o!==void 0&&i>o&&(i=u?zt(o,i,u.max):Math.min(i,o)),i}function Ep(i,l,o){return{min:l!==void 0?i.min+l:void 0,max:o!==void 0?i.max+o-(i.max-i.min):void 0}}function HA(i,{top:l,left:o,bottom:u,right:c}){return{x:Ep(i.x,o,c),y:Ep(i.y,l,u)}}function Mp(i,l){let o=l.min-i.min,u=l.max-i.max;return l.max-l.min<i.max-i.min&&([o,u]=[u,o]),{min:o,max:u}}function qA(i,l){return{x:Mp(i.x,l.x),y:Mp(i.y,l.y)}}function YA(i,l){let o=.5;const u=re(i),c=re(l);return c>u?o=yl(l.min,l.max-u,i.min):u>c&&(o=yl(i.min,i.max-c,l.min)),tn(0,1,o)}function GA(i,l){const o={};return l.min!==void 0&&(o.min=l.min-i.min),l.max!==void 0&&(o.max=l.max-i.min),o}const xc=.35;function XA(i=xc){return i===!1?i=0:i===!0&&(i=xc),{x:xp(i,"left","right"),y:xp(i,"top","bottom")}}function xp(i,l,o){return{min:Dp(i,l),max:Dp(i,o)}}function Dp(i,l){return typeof i=="number"?i:i[l]||0}const ZA=new WeakMap;class QA{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=Jt(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=l}start(l,{snapToCursor:o=!1,distanceThreshold:u}={}){const{presenceContext:c}=this.visualElement;if(c&&c.isPresent===!1)return;const d=S=>{o&&this.snapToCursor(Al(S).point),this.stopAnimation()},h=(S,E)=>{const{drag:B,dragPropagation:O,onDragStart:L}=this.getProps();if(B&&!O&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Mb(B),!this.openDragLock))return;this.latestPointerEvent=S,this.latestPanInfo=E,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Pe(j=>{let Y=this.getAxisMotionValue(j).get()||0;if(Ie.test(Y)){const{projection:H}=this.visualElement;if(H&&H.layout){const X=H.layout.layoutBox[j];X&&(Y=re(X)*(parseFloat(Y)/100))}}this.originPoint[j]=Y}),L&&Ot.update(()=>L(S,E),!1,!0),pc(this.visualElement,"transform");const{animationState:w}=this.visualElement;w&&w.setActive("whileDrag",!0)},p=(S,E)=>{this.latestPointerEvent=S,this.latestPanInfo=E;const{dragPropagation:B,dragDirectionLock:O,onDirectionLock:L,onDrag:w}=this.getProps();if(!B&&!this.openDragLock)return;const{offset:j}=E;if(O&&this.currentDirection===null){this.currentDirection=JA(j),this.currentDirection!==null&&L&&L(this.currentDirection);return}this.updateAxis("x",E.point,j),this.updateAxis("y",E.point,j),this.visualElement.render(),w&&Ot.update(()=>w(S,E),!1,!0)},g=(S,E)=>{this.latestPointerEvent=S,this.latestPanInfo=E,this.stop(S,E),this.latestPointerEvent=null,this.latestPanInfo=null},m=()=>{const{dragSnapToOrigin:S}=this.getProps();(S||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:v}=this.getProps();this.panSession=new d0(l,{onSessionStart:d,onStart:h,onMove:p,onSessionEnd:g,resumeAnimation:m},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:v,distanceThreshold:u,contextWindow:h0(this.visualElement),element:this.visualElement.current})}stop(l,o){const u=l||this.latestPointerEvent,c=o||this.latestPanInfo,d=this.isDragging;if(this.cancel(),!d||!c||!u)return;const{velocity:h}=c;this.startAnimation(h);const{onDragEnd:p}=this.getProps();p&&Ot.postRender(()=>p(u,c))}cancel(){this.isDragging=!1;const{projection:l,animationState:o}=this.visualElement;l&&(l.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:u}=this.getProps();!u&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),o&&o.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(l,o,u){const{drag:c}=this.getProps();if(!u||!Zs(l,c,this.currentDirection))return;const d=this.getAxisMotionValue(l);let h=this.originPoint[l]+u[l];this.constraints&&this.constraints[l]&&(h=jA(h,this.constraints[l],this.elastic[l])),d.set(h)}resolveConstraints(){const{dragConstraints:l,dragElastic:o}=this.getProps(),u=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,c=this.constraints;l&&la(l)?this.constraints||(this.constraints=this.resolveRefConstraints()):l&&u?this.constraints=HA(u.layoutBox,l):this.constraints=!1,this.elastic=XA(o),c!==this.constraints&&!la(l)&&u&&this.constraints&&!this.hasMutatedConstraints&&Pe(d=>{this.constraints!==!1&&this.getAxisMotionValue(d)&&(this.constraints[d]=GA(u.layoutBox[d],this.constraints[d]))})}resolveRefConstraints(){const{dragConstraints:l,onMeasureDragConstraints:o}=this.getProps();if(!l||!la(l))return!1;const u=l.current,{projection:c}=this.visualElement;if(!c||!c.layout)return!1;c.root&&(c.root.scroll=void 0,c.root.updateScroll());const d=$b(u,c.root,this.visualElement.getTransformPagePoint());let h=qA(c.layout.layoutBox,d);if(o){const p=o(Fb(h));this.hasMutatedConstraints=!!p,p&&(h=Lg(p))}return h}startAnimation(l){const{drag:o,dragMomentum:u,dragElastic:c,dragTransition:d,dragSnapToOrigin:h,onDragTransitionEnd:p}=this.getProps(),g=this.constraints||{},m=Pe(v=>{if(!Zs(v,o,this.currentDirection))return;let S=g&&g[v]||{};(h===!0||h===v)&&(S={min:0,max:0});const E=c?200:1e6,B=c?40:1e7,O={type:"inertia",velocity:u?l[v]:0,bounceStiffness:E,bounceDamping:B,timeConstant:750,restDelta:1,restSpeed:10,...d,...S};return this.startAxisValueAnimation(v,O)});return Promise.all(m).then(p)}startAxisValueAnimation(l,o){const u=this.getAxisMotionValue(l);return pc(this.visualElement,l),u.start(Xc(l,u,0,o,this.visualElement,!1))}stopAnimation(){Pe(l=>this.getAxisMotionValue(l).stop())}getAxisMotionValue(l){const o=`_drag${l.toUpperCase()}`,c=this.visualElement.getProps()[o];return c||this.visualElement.getValue(l,this.visualElement.latestValues[l]??0)}snapToCursor(l){Pe(o=>{const{drag:u}=this.getProps();if(!Zs(o,u,this.currentDirection))return;const{projection:c}=this.visualElement,d=this.getAxisMotionValue(o);if(c&&c.layout){const{min:h,max:p}=c.layout.layoutBox[o],g=d.get()||0;d.set(l[o]-zt(h,p,.5)+g)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:l,dragConstraints:o}=this.getProps(),{projection:u}=this.visualElement;if(!la(o)||!u||!this.constraints)return;this.stopAnimation();const c={x:0,y:0};Pe(h=>{const p=this.getAxisMotionValue(h);if(p&&this.constraints!==!1){const g=p.get();c[h]=YA({min:g,max:g},this.constraints[h])}});const{transformTemplate:d}=this.visualElement.getProps();this.visualElement.current.style.transform=d?d({},""):"none",u.root&&u.root.updateScroll(),u.updateLayout(),this.constraints=!1,this.resolveConstraints(),Pe(h=>{if(!Zs(h,l,null))return;const p=this.getAxisMotionValue(h),{min:g,max:m}=this.constraints[h];p.set(zt(g,m,c[h]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;ZA.set(this.visualElement,this);const l=this.visualElement.current,o=ml(l,"pointerdown",m=>{const{drag:v,dragListener:S=!0}=this.getProps(),E=m.target,B=E!==l&&Rb(E);v&&S&&!B&&this.start(m)});let u;const c=()=>{const{dragConstraints:m}=this.getProps();la(m)&&m.current&&(this.constraints=this.resolveRefConstraints(),u||(u=KA(l,m.current,()=>this.scalePositionWithinConstraints())))},{projection:d}=this.visualElement,h=d.addEventListener("measure",c);d&&!d.layout&&(d.root&&d.root.updateScroll(),d.updateLayout()),Ot.read(c);const p=vl(window,"resize",()=>this.scalePositionWithinConstraints()),g=d.addEventListener("didUpdate",(({delta:m,hasLayoutChanged:v})=>{this.isDragging&&v&&(Pe(S=>{const E=this.getAxisMotionValue(S);E&&(this.originPoint[S]+=m[S].translate,E.set(E.get()+m[S].translate))}),this.visualElement.render())}));return()=>{p(),o(),h(),g&&g(),u&&u()}}getProps(){const l=this.visualElement.getProps(),{drag:o=!1,dragDirectionLock:u=!1,dragPropagation:c=!1,dragConstraints:d=!1,dragElastic:h=xc,dragMomentum:p=!0}=l;return{...l,drag:o,dragDirectionLock:u,dragPropagation:c,dragConstraints:d,dragElastic:h,dragMomentum:p}}}function Cp(i){let l=!0;return()=>{if(l){l=!1;return}i()}}function KA(i,l,o){const u=Ly(i,Cp(o)),c=Ly(l,Cp(o));return()=>{u(),c()}}function Zs(i,l,o){return(l===!0||l===i)&&(o===null||o===i)}function JA(i,l=10){let o=null;return Math.abs(i.y)>l?o="y":Math.abs(i.x)>l&&(o="x"),o}class kA extends Fn{constructor(l){super(l),this.removeGroupControls=He,this.removeListeners=He,this.controls=new QA(l)}mount(){const{dragControls:l}=this.node.getProps();l&&(this.removeGroupControls=l.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||He}update(){const{dragControls:l}=this.node.getProps(),{dragControls:o}=this.node.prevProps||{};l!==o&&(this.removeGroupControls(),l&&(this.removeGroupControls=l.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const tc=i=>(l,o)=>{i&&Ot.update(()=>i(l,o),!1,!0)};class FA extends Fn{constructor(){super(...arguments),this.removePointerDownListener=He}onPointerDown(l){this.session=new d0(l,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:h0(this.node)})}createPanHandlers(){const{onPanSessionStart:l,onPanStart:o,onPan:u,onPanEnd:c}=this.node.getProps();return{onSessionStart:tc(l),onStart:tc(o),onMove:tc(u),onEnd:(d,h)=>{delete this.session,c&&Ot.postRender(()=>c(d,h))}}}mount(){this.removePointerDownListener=ml(this.node.current,"pointerdown",l=>this.onPointerDown(l))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let ec=!1;class WA extends W.Component{componentDidMount(){const{visualElement:l,layoutGroup:o,switchLayoutGroup:u,layoutId:c}=this.props,{projection:d}=l;d&&(o.group&&o.group.add(d),u&&u.register&&c&&u.register(d),ec&&d.root.didUpdate(),d.addEventListener("animationComplete",()=>{this.safeToRemove()}),d.setOptions({...d.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),$s.hasEverUpdated=!0}getSnapshotBeforeUpdate(l){const{layoutDependency:o,visualElement:u,drag:c,isPresent:d}=this.props,{projection:h}=u;return h&&(h.isPresent=d,l.layoutDependency!==o&&h.setOptions({...h.options,layoutDependency:o}),ec=!0,c||l.layoutDependency!==o||o===void 0||l.isPresent!==d?h.willUpdate():this.safeToRemove(),l.isPresent!==d&&(d?h.promote():h.relegate()||Ot.postRender(()=>{const p=h.getStack();(!p||!p.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:l,layoutAnchor:o}=this.props,{projection:u}=l;u&&(u.options.layoutAnchor=o,u.root.didUpdate(),Jc.postRender(()=>{!u.currentAnimation&&u.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:l,layoutGroup:o,switchLayoutGroup:u}=this.props,{projection:c}=l;ec=!0,c&&(c.scheduleCheckAfterUnmount(),o&&o.group&&o.group.remove(c),u&&u.deregister&&u.deregister(c))}safeToRemove(){const{safeToRemove:l}=this.props;l&&l()}render(){return null}}function y0(i){const[l,o]=iA(),u=W.useContext(_p);return ae.jsx(WA,{...i,layoutGroup:u,switchLayoutGroup:W.useContext(c0),isPresent:l,safeToRemove:o})}const PA={pan:{Feature:FA},drag:{Feature:kA,ProjectionNode:n0,MeasureLayout:y0}};function zp(i,l,o){const{props:u}=i;i.animationState&&u.whileHover&&i.animationState.setActive("whileHover",o==="Start");const c="onHover"+o,d=u[c];d&&Ot.postRender(()=>d(l,Al(l)))}class $A extends Fn{mount(){const{current:l}=this.node;l&&(this.unmount=Db(l,(o,u)=>(zp(this.node,u,"Start"),c=>zp(this.node,c,"End"))))}unmount(){}}class IA extends Fn{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=Sl(vl(this.node.current,"focus",()=>this.onFocus()),vl(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Op(i,l,o){const{props:u}=i;if(i.current instanceof HTMLButtonElement&&i.current.disabled)return;i.animationState&&u.whileTap&&i.animationState.setActive("whileTap",o==="Start");const c="onTap"+(o==="End"?"":o),d=u[c];d&&Ot.postRender(()=>d(l,Al(l)))}class tE extends Fn{mount(){const{current:l}=this.node;if(!l)return;const{globalTapTarget:o,propagate:u}=this.node.props;this.unmount=_b(l,(c,d)=>(Op(this.node,d,"Start"),(h,{success:p})=>Op(this.node,h,p?"End":"Cancel")),{useGlobalTarget:o,stopPropagation:u?.tap===!1})}unmount(){}}const Dc=new WeakMap,nc=new WeakMap,eE=i=>{const l=Dc.get(i.target);l&&l(i)},nE=i=>{i.forEach(eE)};function iE({root:i,...l}){const o=i||document;nc.has(o)||nc.set(o,{});const u=nc.get(o),c=JSON.stringify(l);return u[c]||(u[c]=new IntersectionObserver(nE,{root:i,...l})),u[c]}function aE(i,l,o){const u=iE(l);return Dc.set(i,o),u.observe(i),()=>{Dc.delete(i),u.unobserve(i)}}const lE={some:0,all:1};class sE extends Fn{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();const{viewport:l={}}=this.node.getProps(),{root:o,margin:u,amount:c="some",once:d}=l,h={root:o?o.current:void 0,rootMargin:u,threshold:typeof c=="number"?c:lE[c]},p=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:S}=this.node.getProps(),E=m?v:S;E&&E(g)};this.stopObserver=aE(this.node.current,h,p)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:l,prevProps:o}=this.node;["amount","margin","root"].some(uE(l,o))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}function uE({viewport:i={}},{viewport:l={}}={}){return o=>i[o]!==l[o]}const oE={inView:{Feature:sE},tap:{Feature:tE},focus:{Feature:IA},hover:{Feature:$A}},rE={layout:{ProjectionNode:n0,MeasureLayout:y0}},cE={...UA,...oE,...PA,...rE},fE=zA(cE,OA);function zE(){!$c.current&&Ug();const[i]=W.useState(lu.current);return i}const p0=fE;function OE(i){const[l,o]=W.useState(0);return W.useEffect(()=>{if(!i){o(0);return}const u=window.visualViewport;if(!u)return;const c=()=>o(Math.max(0,Math.round(window.innerHeight-u.height-u.offsetTop)));return u.addEventListener("resize",c),u.addEventListener("scroll",c),c(),()=>{u.removeEventListener("resize",c),u.removeEventListener("scroll",c)}},[i]),l}function RE(i){const[l,o]=W.useState(null);return W.useEffect(()=>{if(!i){o(null);return}const u=window.visualViewport;if(!u){o(window.innerHeight);return}const c=()=>o(Math.round(u.height));return u.addEventListener("resize",c),u.addEventListener("scroll",c),c(),()=>{u.removeEventListener("resize",c),u.removeEventListener("scroll",c)}},[i]),l}const hE={type:"spring",stiffness:380,damping:34,mass:.9},dE={duration:.26,ease:[.22,.61,.24,1]},mE={duration:.16,ease:[.4,0,1,1]};function VE({status:i,large:l}){return ae.jsx("span",{className:`led ${i}${l?" lg":""}`,"aria-hidden":"true"})}function _E({children:i,count:l,urgent:o,action:u}){return ae.jsxs("div",{className:"label",children:[ae.jsx("span",{children:i}),l!==void 0&&l>0?ae.jsx("span",{className:`count${o?" urgent":""}`,children:l}):null,ae.jsx("span",{className:"rule"}),u]})}function UE({children:i,onClick:l,className:o="",disabled:u,label:c,pressed:d}){return ae.jsx(p0.button,{type:"button",className:`key ${o}`,onClick:l,disabled:u,"aria-label":c,"aria-pressed":d,...u?{}:{whileTap:{y:1,scale:.985}},transition:hE,children:i})}function BE({children:i,tone:l="warn",onDismiss:o}){return ae.jsxs(p0.div,{className:`notice ${l==="bad"?"bad":""}`,role:"status",initial:{opacity:0,y:-8},animate:{opacity:1,y:0},exit:{opacity:0,y:-8,transition:mE},transition:dE,children:[ae.jsx(dS,{size:17,strokeWidth:2}),ae.jsx("span",{className:"body",children:i}),o?ae.jsx("button",{type:"button",onClick:o,"aria-label":"Dismiss",children:ae.jsx(pS,{size:17,strokeWidth:2.2})}):null]})}export{vE as A,SE as C,mE as E,UE as K,_p as L,i0 as M,BE as N,Rc as P,Z1 as R,EE as S,DE as W,pS as X,k1 as a,gE as b,pE as c,Ke as d,ae as e,SS as f,zc as g,iA as h,Eb as i,yE as j,xE as k,hE as l,p0 as m,OE as n,RE as o,zE as p,VE as q,W as r,AE as s,ME as t,gS as u,TE as v,_E as w,dE as x,bE as y,Rp as z};
8
+ `+a.stack}}var vu=Object.prototype.hasOwnProperty,Su=i.unstable_scheduleCallback,Tu=i.unstable_cancelCallback,v0=i.unstable_shouldYield,S0=i.unstable_requestPaint,ge=i.unstable_now,T0=i.unstable_getCurrentPriorityLevel,sf=i.unstable_ImmediatePriority,uf=i.unstable_UserBlockingPriority,Ml=i.unstable_NormalPriority,b0=i.unstable_LowPriority,of=i.unstable_IdlePriority,A0=i.log,E0=i.unstable_setDisableYieldValue,ya=null,ve=null;function bn(t){if(typeof A0=="function"&&E0(t),ve&&typeof ve.setStrictMode=="function")try{ve.setStrictMode(ya,t)}catch{}}var Se=Math.clz32?Math.clz32:D0,M0=Math.log,x0=Math.LN2;function D0(t){return t>>>=0,t===0?32:31-(M0(t)/x0|0)|0}var xl=256,Dl=262144,Cl=4194304;function Pn(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function zl(t,e,n){var a=t.pendingLanes;if(a===0)return 0;var s=0,r=t.suspendedLanes,f=t.pingedLanes;t=t.warmLanes;var y=a&134217727;return y!==0?(a=y&~r,a!==0?s=Pn(a):(f&=y,f!==0?s=Pn(f):n||(n=y&~t,n!==0&&(s=Pn(n))))):(y=a&~r,y!==0?s=Pn(y):f!==0?s=Pn(f):n||(n=a&~t,n!==0&&(s=Pn(n)))),s===0?0:e!==0&&e!==s&&(e&r)===0&&(r=s&-s,n=e&-e,r>=n||r===32&&(n&4194048)!==0)?e:s}function pa(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function C0(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 rf(){var t=Cl;return Cl<<=1,(Cl&62914560)===0&&(Cl=4194304),t}function bu(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function ga(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function z0(t,e,n,a,s,r){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 y=t.entanglements,T=t.expirationTimes,D=t.hiddenUpdates;for(n=f&~n;0<n;){var V=31-Se(n),U=1<<V;y[V]=0,T[V]=-1;var C=D[V];if(C!==null)for(D[V]=null,V=0;V<C.length;V++){var z=C[V];z!==null&&(z.lane&=-536870913)}n&=~U}a!==0&&cf(t,a,0),r!==0&&s===0&&t.tag!==0&&(t.suspendedLanes|=r&~(f&~e))}function cf(t,e,n){t.pendingLanes|=e,t.suspendedLanes&=~e;var a=31-Se(e);t.entangledLanes|=e,t.entanglements[a]=t.entanglements[a]|1073741824|n&261930}function ff(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var a=31-Se(n),s=1<<a;s&e|t[a]&e&&(t[a]|=e),n&=~s}}function hf(t,e){var n=e&-e;return n=(n&42)!==0?1:Au(n),(n&(t.suspendedLanes|e))!==0?0:n}function Au(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 Eu(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function df(){var t=q.p;return t!==0?t:(t=window.event,t===void 0?32:$m(t.type))}function mf(t,e){var n=q.p;try{return q.p=t,e()}finally{q.p=n}}var An=Math.random().toString(36).slice(2),Wt="__reactFiber$"+An,ce="__reactProps$"+An,bi="__reactContainer$"+An,Mu="__reactEvents$"+An,O0="__reactListeners$"+An,R0="__reactHandles$"+An,yf="__reactResources$"+An,va="__reactMarker$"+An;function xu(t){delete t[Wt],delete t[ce],delete t[Mu],delete t[O0],delete t[R0]}function Ai(t){var e=t[Wt];if(e)return e;for(var n=t.parentNode;n;){if(e=n[bi]||n[Wt]){if(n=e.alternate,e.child!==null||n!==null&&n.child!==null)for(t=Lm(t);t!==null;){if(n=t[Wt])return n;t=Lm(t)}return e}t=n,n=t.parentNode}return null}function Ei(t){if(t=t[Wt]||t[bi]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function Sa(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(u(33))}function Mi(t){var e=t[yf];return e||(e=t[yf]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function kt(t){t[va]=!0}var pf=new Set,gf={};function $n(t,e){xi(t,e),xi(t+"Capture",e)}function xi(t,e){for(gf[t]=e,t=0;t<e.length;t++)pf.add(e[t])}var V0=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]*$"),vf={},Sf={};function _0(t){return vu.call(Sf,t)?!0:vu.call(vf,t)?!1:V0.test(t)?Sf[t]=!0:(vf[t]=!0,!1)}function Ol(t,e,n){if(_0(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 Rl(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 en(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)}}function Oe(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Tf(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function U0(t,e,n){var a=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var s=a.get,r=a.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return s.call(this)},set:function(f){n=""+f,r.call(this,f)}}),Object.defineProperty(t,e,{enumerable:a.enumerable}),{getValue:function(){return n},setValue:function(f){n=""+f},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Du(t){if(!t._valueTracker){var e=Tf(t)?"checked":"value";t._valueTracker=U0(t,e,""+t[e])}}function bf(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),a="";return t&&(a=Tf(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 B0=/[\n"\\]/g;function Re(t){return t.replace(B0,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Cu(t,e,n,a,s,r,f,y){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=""+Oe(e)):t.value!==""+Oe(e)&&(t.value=""+Oe(e)):f!=="submit"&&f!=="reset"||t.removeAttribute("value"),e!=null?zu(t,f,Oe(e)):n!=null?zu(t,f,Oe(n)):a!=null&&t.removeAttribute("value"),s==null&&r!=null&&(t.defaultChecked=!!r),s!=null&&(t.checked=s&&typeof s!="function"&&typeof s!="symbol"),y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?t.name=""+Oe(y):t.removeAttribute("name")}function Af(t,e,n,a,s,r,f,y){if(r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"&&(t.type=r),e!=null||n!=null){if(!(r!=="submit"&&r!=="reset"||e!=null)){Du(t);return}n=n!=null?""+Oe(n):"",e=e!=null?""+Oe(e):n,y||e===t.value||(t.value=e),t.defaultValue=e}a=a??s,a=typeof a!="function"&&typeof a!="symbol"&&!!a,t.checked=y?t.checked:!!a,t.defaultChecked=!!a,f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(t.name=f),Du(t)}function zu(t,e,n){e==="number"&&Vl(t.ownerDocument)===t||t.defaultValue===""+n||(t.defaultValue=""+n)}function Di(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=""+Oe(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 Ef(t,e,n){if(e!=null&&(e=""+Oe(e),e!==t.value&&(t.value=e),n==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=n!=null?""+Oe(n):""}function Mf(t,e,n,a){if(e==null){if(a!=null){if(n!=null)throw Error(u(92));if(Lt(a)){if(1<a.length)throw Error(u(93));a=a[0]}n=a}n==null&&(n=""),e=n}n=Oe(e),t.defaultValue=n,a=t.textContent,a===n&&a!==""&&a!==null&&(t.value=a),Du(t)}function Ci(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var N0=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 xf(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||N0.has(e)?e==="float"?t.cssFloat=n:t[e]=(""+n).trim():t[e]=n+"px"}function Df(t,e,n){if(e!=null&&typeof e!="object")throw Error(u(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&&xf(t,s,a)}else for(var r in e)e.hasOwnProperty(r)&&xf(t,r,e[r])}function Ou(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 L0=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),w0=/^[\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 _l(t){return w0.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function nn(){}var Ru=null;function Vu(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var zi=null,Oi=null;function Cf(t){var e=Ei(t);if(e&&(t=e.stateNode)){var n=t[ce]||null;t:switch(t=e.stateNode,e.type){case"input":if(Cu(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="'+Re(""+e)+'"][type="radio"]'),e=0;e<n.length;e++){var a=n[e];if(a!==t&&a.form===t.form){var s=a[ce]||null;if(!s)throw Error(u(90));Cu(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&&bf(a)}break t;case"textarea":Ef(t,n.value,n.defaultValue);break t;case"select":e=n.value,e!=null&&Di(t,!!n.multiple,e,!1)}}}var _u=!1;function zf(t,e,n){if(_u)return t(e,n);_u=!0;try{var a=t(e);return a}finally{if(_u=!1,(zi!==null||Oi!==null)&&(Ss(),zi&&(e=zi,t=Oi,Oi=zi=null,Cf(e),t)))for(e=0;e<t.length;e++)Cf(t[e])}}function Ta(t,e){var n=t.stateNode;if(n===null)return null;var a=n[ce]||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(u(231,e,typeof n));return n}var an=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Uu=!1;if(an)try{var ba={};Object.defineProperty(ba,"passive",{get:function(){Uu=!0}}),window.addEventListener("test",ba,ba),window.removeEventListener("test",ba,ba)}catch{Uu=!1}var En=null,Bu=null,Ul=null;function Of(){if(Ul)return Ul;var t,e=Bu,n=e.length,a,s="value"in En?En.value:En.textContent,r=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[r-a];a++);return Ul=s.slice(t,1<a?1-a:void 0)}function Bl(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function Nl(){return!0}function Rf(){return!1}function fe(t){function e(n,a,s,r,f){this._reactName=n,this._targetInst=s,this.type=a,this.nativeEvent=r,this.target=f,this.currentTarget=null;for(var y in t)t.hasOwnProperty(y)&&(n=t[y],this[y]=n?n(r):r[y]);return this.isDefaultPrevented=(r.defaultPrevented!=null?r.defaultPrevented:r.returnValue===!1)?Nl:Rf,this.isPropagationStopped=Rf,this}return S(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Nl)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Nl)},persist:function(){},isPersistent:Nl}),e}var In={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ll=fe(In),Aa=S({},In,{view:0,detail:0}),j0=fe(Aa),Nu,Lu,Ea,wl=S({},Aa,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ju,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!==Ea&&(Ea&&t.type==="mousemove"?(Nu=t.screenX-Ea.screenX,Lu=t.screenY-Ea.screenY):Lu=Nu=0,Ea=t),Nu)},movementY:function(t){return"movementY"in t?t.movementY:Lu}}),Vf=fe(wl),H0=S({},wl,{dataTransfer:0}),q0=fe(H0),Y0=S({},Aa,{relatedTarget:0}),wu=fe(Y0),G0=S({},In,{animationName:0,elapsedTime:0,pseudoElement:0}),X0=fe(G0),Q0=S({},In,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Z0=fe(Q0),K0=S({},In,{data:0}),_f=fe(K0),J0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},k0={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"},F0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function W0(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=F0[t])?!!e[t]:!1}function ju(){return W0}var P0=S({},Aa,{key:function(t){if(t.key){var e=J0[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Bl(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?k0[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ju,charCode:function(t){return t.type==="keypress"?Bl(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Bl(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),$0=fe(P0),I0=S({},wl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Uf=fe(I0),tv=S({},Aa,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ju}),ev=fe(tv),nv=S({},In,{propertyName:0,elapsedTime:0,pseudoElement:0}),iv=fe(nv),av=S({},wl,{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}),lv=fe(av),sv=S({},In,{newState:0,oldState:0}),uv=fe(sv),ov=[9,13,27,32],Hu=an&&"CompositionEvent"in window,Ma=null;an&&"documentMode"in document&&(Ma=document.documentMode);var rv=an&&"TextEvent"in window&&!Ma,Bf=an&&(!Hu||Ma&&8<Ma&&11>=Ma),Nf=" ",Lf=!1;function wf(t,e){switch(t){case"keyup":return ov.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jf(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Ri=!1;function cv(t,e){switch(t){case"compositionend":return jf(e);case"keypress":return e.which!==32?null:(Lf=!0,Nf);case"textInput":return t=e.data,t===Nf&&Lf?null:t;default:return null}}function fv(t,e){if(Ri)return t==="compositionend"||!Hu&&wf(t,e)?(t=Of(),Ul=Bu=En=null,Ri=!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 Bf&&e.locale!=="ko"?null:e.data;default:return null}}var hv={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Hf(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!hv[t.type]:e==="textarea"}function qf(t,e,n,a){zi?Oi?Oi.push(a):Oi=[a]:zi=a,e=Ds(e,"onChange"),0<e.length&&(n=new Ll("onChange","change",null,n,a),t.push({event:n,listeners:e}))}var xa=null,Da=null;function dv(t){Am(t,0)}function jl(t){var e=Sa(t);if(bf(e))return t}function Yf(t,e){if(t==="change")return e}var Gf=!1;if(an){var qu;if(an){var Yu="oninput"in document;if(!Yu){var Xf=document.createElement("div");Xf.setAttribute("oninput","return;"),Yu=typeof Xf.oninput=="function"}qu=Yu}else qu=!1;Gf=qu&&(!document.documentMode||9<document.documentMode)}function Qf(){xa&&(xa.detachEvent("onpropertychange",Zf),Da=xa=null)}function Zf(t){if(t.propertyName==="value"&&jl(Da)){var e=[];qf(e,Da,t,Vu(t)),zf(dv,e)}}function mv(t,e,n){t==="focusin"?(Qf(),xa=e,Da=n,xa.attachEvent("onpropertychange",Zf)):t==="focusout"&&Qf()}function yv(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return jl(Da)}function pv(t,e){if(t==="click")return jl(e)}function gv(t,e){if(t==="input"||t==="change")return jl(e)}function vv(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Te=typeof Object.is=="function"?Object.is:vv;function Ca(t,e){if(Te(t,e))return!0;if(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(!vu.call(e,s)||!Te(t[s],e[s]))return!1}return!0}function Kf(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Jf(t,e){var n=Kf(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=Kf(n)}}function kf(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?kf(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Ff(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 Gu(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 Sv=an&&"documentMode"in document&&11>=document.documentMode,Vi=null,Xu=null,za=null,Qu=!1;function Wf(t,e,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Qu||Vi==null||Vi!==Vl(a)||(a=Vi,"selectionStart"in a&&Gu(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}),za&&Ca(za,a)||(za=a,a=Ds(Xu,"onSelect"),0<a.length&&(e=new Ll("onSelect","select",null,e,n),t.push({event:e,listeners:a}),e.target=Vi)))}function ti(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var _i={animationend:ti("Animation","AnimationEnd"),animationiteration:ti("Animation","AnimationIteration"),animationstart:ti("Animation","AnimationStart"),transitionrun:ti("Transition","TransitionRun"),transitionstart:ti("Transition","TransitionStart"),transitioncancel:ti("Transition","TransitionCancel"),transitionend:ti("Transition","TransitionEnd")},Zu={},Pf={};an&&(Pf=document.createElement("div").style,"AnimationEvent"in window||(delete _i.animationend.animation,delete _i.animationiteration.animation,delete _i.animationstart.animation),"TransitionEvent"in window||delete _i.transitionend.transition);function ei(t){if(Zu[t])return Zu[t];if(!_i[t])return t;var e=_i[t],n;for(n in e)if(e.hasOwnProperty(n)&&n in Pf)return Zu[t]=e[n];return t}var $f=ei("animationend"),If=ei("animationiteration"),th=ei("animationstart"),Tv=ei("transitionrun"),bv=ei("transitionstart"),Av=ei("transitioncancel"),eh=ei("transitionend"),nh=new Map,Ku="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(" ");Ku.push("scrollEnd");function Ye(t,e){nh.set(t,e),$n(e,[t])}var Hl=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},Ve=[],Ui=0,Ju=0;function ql(){for(var t=Ui,e=Ju=Ui=0;e<t;){var n=Ve[e];Ve[e++]=null;var a=Ve[e];Ve[e++]=null;var s=Ve[e];Ve[e++]=null;var r=Ve[e];if(Ve[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}r!==0&&ih(n,s,r)}}function Yl(t,e,n,a){Ve[Ui++]=t,Ve[Ui++]=e,Ve[Ui++]=n,Ve[Ui++]=a,Ju|=a,t.lanes|=a,t=t.alternate,t!==null&&(t.lanes|=a)}function ku(t,e,n,a){return Yl(t,e,n,a),Gl(t)}function ni(t,e){return Yl(t,null,null,e),Gl(t)}function ih(t,e,n){t.lanes|=n;var a=t.alternate;a!==null&&(a.lanes|=n);for(var s=!1,r=t.return;r!==null;)r.childLanes|=n,a=r.alternate,a!==null&&(a.childLanes|=n),r.tag===22&&(t=r.stateNode,t===null||t._visibility&1||(s=!0)),t=r,r=r.return;return t.tag===3?(r=t.stateNode,s&&e!==null&&(s=31-Se(n),t=r.hiddenUpdates,a=t[s],a===null?t[s]=[e]:a.push(e),e.lane=n|536870912),r):null}function Gl(t){if(50<Wa)throw Wa=0,ar=null,Error(u(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var Bi={};function Ev(t,e,n,a){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function be(t,e,n,a){return new Ev(t,e,n,a)}function Fu(t){return t=t.prototype,!(!t||!t.isReactComponent)}function ln(t,e){var n=t.alternate;return n===null?(n=be(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 ah(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 Xl(t,e,n,a,s,r){var f=0;if(a=t,typeof t=="function")Fu(t)&&(f=1);else if(typeof t=="string")f=z1(t,n,k.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case Et:return t=be(31,n,e,s),t.elementType=Et,t.lanes=r,t;case L:return ii(n.children,s,r,e);case w:f=8,s|=24;break;case j:return t=be(12,n,e,s|2),t.elementType=j,t.lanes=r,t;case et:return t=be(13,n,e,s),t.elementType=et,t.lanes=r,t;case ut:return t=be(19,n,e,s),t.elementType=ut,t.lanes=r,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case H:f=10;break t;case Y:f=9;break t;case X:f=11;break t;case K:f=14;break t;case P:f=16,a=null;break t}f=29,n=Error(u(130,t===null?"null":typeof t,"")),a=null}return e=be(f,n,e,s),e.elementType=t,e.type=a,e.lanes=r,e}function ii(t,e,n,a){return t=be(7,t,a,e),t.lanes=n,t}function Wu(t,e,n){return t=be(6,t,null,e),t.lanes=n,t}function lh(t){var e=be(18,null,null,0);return e.stateNode=t,e}function Pu(t,e,n){return e=be(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var sh=new WeakMap;function _e(t,e){if(typeof t=="object"&&t!==null){var n=sh.get(t);return n!==void 0?n:(e={value:t,source:e,stack:lf(e)},sh.set(t,e),e)}return{value:t,source:e,stack:lf(e)}}var Ni=[],Li=0,Ql=null,Oa=0,Ue=[],Be=0,Mn=null,Je=1,ke="";function sn(t,e){Ni[Li++]=Oa,Ni[Li++]=Ql,Ql=t,Oa=e}function uh(t,e,n){Ue[Be++]=Je,Ue[Be++]=ke,Ue[Be++]=Mn,Mn=t;var a=Je;t=ke;var s=32-Se(a)-1;a&=~(1<<s),n+=1;var r=32-Se(e)+s;if(30<r){var f=s-s%5;r=(a&(1<<f)-1).toString(32),a>>=f,s-=f,Je=1<<32-Se(e)+s|n<<s|a,ke=r+t}else Je=1<<r|n<<s|a,ke=t}function $u(t){t.return!==null&&(sn(t,1),uh(t,1,0))}function Iu(t){for(;t===Ql;)Ql=Ni[--Li],Ni[Li]=null,Oa=Ni[--Li],Ni[Li]=null;for(;t===Mn;)Mn=Ue[--Be],Ue[Be]=null,ke=Ue[--Be],Ue[Be]=null,Je=Ue[--Be],Ue[Be]=null}function oh(t,e){Ue[Be++]=Je,Ue[Be++]=ke,Ue[Be++]=Mn,Je=e.id,ke=e.overflow,Mn=t}var Pt=null,Rt=null,mt=!1,xn=null,Ne=!1,to=Error(u(519));function Dn(t){var e=Error(u(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ra(_e(e,t)),to}function rh(t){var e=t.stateNode,n=t.type,a=t.memoizedProps;switch(e[Wt]=t,e[ce]=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<$a.length;n++)ct($a[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);break;case"select":ct("invalid",e);break;case"textarea":ct("invalid",e),Mf(e,a.value,a.defaultValue,a.children)}n=a.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||e.textContent===""+n||a.suppressHydrationWarning===!0||Dm(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=nn),e=!0):e=!1,e||Dn(t,!0)}function ch(t){for(Pt=t.return;Pt;)switch(Pt.tag){case 5:case 31:case 13:Ne=!1;return;case 27:case 3:Ne=!0;return;default:Pt=Pt.return}}function wi(t){if(t!==Pt)return!1;if(!mt)return ch(t),mt=!0,!1;var e=t.tag,n;if((n=e!==3&&e!==27)&&((n=e===5)&&(n=t.type,n=!(n!=="form"&&n!=="button")||Sr(t.type,t.memoizedProps)),n=!n),n&&Rt&&Dn(t),ch(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(u(317));Rt=Nm(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(u(317));Rt=Nm(t)}else e===27?(e=Rt,qn(t.type)?(t=Mr,Mr=null,Rt=t):Rt=e):Rt=Pt?we(t.stateNode.nextSibling):null;return!0}function ai(){Rt=Pt=null,mt=!1}function eo(){var t=xn;return t!==null&&(ye===null?ye=t:ye.push.apply(ye,t),xn=null),t}function Ra(t){xn===null?xn=[t]:xn.push(t)}var no=A(null),li=null,un=null;function Cn(t,e,n){G(no,e._currentValue),e._currentValue=n}function on(t){t._currentValue=no.current,N(no)}function io(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 ao(t,e,n,a){var s=t.child;for(s!==null&&(s.return=t);s!==null;){var r=s.dependencies;if(r!==null){var f=s.child;r=r.firstContext;t:for(;r!==null;){var y=r;r=s;for(var T=0;T<e.length;T++)if(y.context===e[T]){r.lanes|=n,y=r.alternate,y!==null&&(y.lanes|=n),io(r.return,n,t),a||(f=null);break t}r=y.next}}else if(s.tag===18){if(f=s.return,f===null)throw Error(u(341));f.lanes|=n,r=f.alternate,r!==null&&(r.lanes|=n),io(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 ji(t,e,n,a){t=null;for(var s=e,r=!1;s!==null;){if(!r){if((s.flags&524288)!==0)r=!0;else if((s.flags&262144)!==0)break}if(s.tag===10){var f=s.alternate;if(f===null)throw Error(u(387));if(f=f.memoizedProps,f!==null){var y=s.type;Te(s.pendingProps.value,f.value)||(t!==null?t.push(y):t=[y])}}else if(s===St.current){if(f=s.alternate,f===null)throw Error(u(387));f.memoizedState.memoizedState!==s.memoizedState.memoizedState&&(t!==null?t.push(il):t=[il])}s=s.return}t!==null&&ao(e,t,n,a),e.flags|=262144}function Zl(t){for(t=t.firstContext;t!==null;){if(!Te(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function si(t){li=t,un=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function $t(t){return fh(li,t)}function Kl(t,e){return li===null&&si(t),fh(t,e)}function fh(t,e){var n=e._currentValue;if(e={context:e,memoizedValue:n,next:null},un===null){if(t===null)throw Error(u(308));un=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else un=un.next=e;return n}var Mv=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()})}},xv=i.unstable_scheduleCallback,Dv=i.unstable_NormalPriority,Yt={$$typeof:H,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function lo(){return{controller:new Mv,data:new Map,refCount:0}}function Va(t){t.refCount--,t.refCount===0&&xv(Dv,function(){t.controller.abort()})}var _a=null,so=0,Hi=0,qi=null;function Cv(t,e){if(_a===null){var n=_a=[];so=0,Hi=cr(),qi={status:"pending",value:void 0,then:function(a){n.push(a)}}}return so++,e.then(hh,hh),e}function hh(){if(--so===0&&_a!==null){qi!==null&&(qi.status="fulfilled");var t=_a;_a=null,Hi=0,qi=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function zv(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 dh=R.S;R.S=function(t,e){Wd=ge(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&Cv(t,e),dh!==null&&dh(t,e)};var ui=A(null);function uo(){var t=ui.current;return t!==null?t:Ct.pooledCache}function Jl(t,e){e===null?G(ui,ui.current):G(ui,e.pool)}function mh(){var t=uo();return t===null?null:{parent:Yt._currentValue,pool:t}}var Yi=Error(u(460)),oo=Error(u(474)),kl=Error(u(542)),Fl={then:function(){}};function yh(t){return t=t.status,t==="fulfilled"||t==="rejected"}function ph(t,e,n){switch(n=t[n],n===void 0?t.push(e):n!==e&&(e.then(nn,nn),e=n),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,vh(t),t;default:if(typeof e.status=="string")e.then(nn,nn);else{if(t=Ct,t!==null&&100<t.shellSuspendCounter)throw Error(u(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,vh(t),t}throw ri=e,Yi}}function oi(t){try{var e=t._init;return e(t._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(ri=n,Yi):n}}var ri=null;function gh(){if(ri===null)throw Error(u(459));var t=ri;return ri=null,t}function vh(t){if(t===Yi||t===kl)throw Error(u(483))}var Gi=null,Ua=0;function Wl(t){var e=Ua;return Ua+=1,Gi===null&&(Gi=[]),ph(Gi,t,e)}function Ba(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function Pl(t,e){throw e.$$typeof===E?Error(u(525)):(t=Object.prototype.toString.call(e),Error(u(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function Sh(t){function e(M,b){if(t){var x=M.deletions;x===null?(M.deletions=[b],M.flags|=16):x.push(b)}}function n(M,b){if(!t)return null;for(;b!==null;)e(M,b),b=b.sibling;return null}function a(M){for(var b=new Map;M!==null;)M.key!==null?b.set(M.key,M):b.set(M.index,M),M=M.sibling;return b}function s(M,b){return M=ln(M,b),M.index=0,M.sibling=null,M}function r(M,b,x){return M.index=x,t?(x=M.alternate,x!==null?(x=x.index,x<b?(M.flags|=67108866,b):x):(M.flags|=67108866,b)):(M.flags|=1048576,b)}function f(M){return t&&M.alternate===null&&(M.flags|=67108866),M}function y(M,b,x,_){return b===null||b.tag!==6?(b=Wu(x,M.mode,_),b.return=M,b):(b=s(b,x),b.return=M,b)}function T(M,b,x,_){var $=x.type;return $===L?V(M,b,x.props.children,_,x.key):b!==null&&(b.elementType===$||typeof $=="object"&&$!==null&&$.$$typeof===P&&oi($)===b.type)?(b=s(b,x.props),Ba(b,x),b.return=M,b):(b=Xl(x.type,x.key,x.props,null,M.mode,_),Ba(b,x),b.return=M,b)}function D(M,b,x,_){return b===null||b.tag!==4||b.stateNode.containerInfo!==x.containerInfo||b.stateNode.implementation!==x.implementation?(b=Pu(x,M.mode,_),b.return=M,b):(b=s(b,x.children||[]),b.return=M,b)}function V(M,b,x,_,$){return b===null||b.tag!==7?(b=ii(x,M.mode,_,$),b.return=M,b):(b=s(b,x),b.return=M,b)}function U(M,b,x){if(typeof b=="string"&&b!==""||typeof b=="number"||typeof b=="bigint")return b=Wu(""+b,M.mode,x),b.return=M,b;if(typeof b=="object"&&b!==null){switch(b.$$typeof){case B:return x=Xl(b.type,b.key,b.props,null,M.mode,x),Ba(x,b),x.return=M,x;case O:return b=Pu(b,M.mode,x),b.return=M,b;case P:return b=oi(b),U(M,b,x)}if(Lt(b)||Tt(b))return b=ii(b,M.mode,x,null),b.return=M,b;if(typeof b.then=="function")return U(M,Wl(b),x);if(b.$$typeof===H)return U(M,Kl(M,b),x);Pl(M,b)}return null}function C(M,b,x,_){var $=b!==null?b.key:null;if(typeof x=="string"&&x!==""||typeof x=="number"||typeof x=="bigint")return $!==null?null:y(M,b,""+x,_);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case B:return x.key===$?T(M,b,x,_):null;case O:return x.key===$?D(M,b,x,_):null;case P:return x=oi(x),C(M,b,x,_)}if(Lt(x)||Tt(x))return $!==null?null:V(M,b,x,_,null);if(typeof x.then=="function")return C(M,b,Wl(x),_);if(x.$$typeof===H)return C(M,b,Kl(M,x),_);Pl(M,x)}return null}function z(M,b,x,_,$){if(typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint")return M=M.get(x)||null,y(b,M,""+_,$);if(typeof _=="object"&&_!==null){switch(_.$$typeof){case B:return M=M.get(_.key===null?x:_.key)||null,T(b,M,_,$);case O:return M=M.get(_.key===null?x:_.key)||null,D(b,M,_,$);case P:return _=oi(_),z(M,b,x,_,$)}if(Lt(_)||Tt(_))return M=M.get(x)||null,V(b,M,_,$,null);if(typeof _.then=="function")return z(M,b,x,Wl(_),$);if(_.$$typeof===H)return z(M,b,x,Kl(b,_),$);Pl(b,_)}return null}function Z(M,b,x,_){for(var $=null,yt=null,F=b,st=b=0,ht=null;F!==null&&st<x.length;st++){F.index>st?(ht=F,F=null):ht=F.sibling;var pt=C(M,F,x[st],_);if(pt===null){F===null&&(F=ht);break}t&&F&&pt.alternate===null&&e(M,F),b=r(pt,b,st),yt===null?$=pt:yt.sibling=pt,yt=pt,F=ht}if(st===x.length)return n(M,F),mt&&sn(M,st),$;if(F===null){for(;st<x.length;st++)F=U(M,x[st],_),F!==null&&(b=r(F,b,st),yt===null?$=F:yt.sibling=F,yt=F);return mt&&sn(M,st),$}for(F=a(F);st<x.length;st++)ht=z(F,M,st,x[st],_),ht!==null&&(t&&ht.alternate!==null&&F.delete(ht.key===null?st:ht.key),b=r(ht,b,st),yt===null?$=ht:yt.sibling=ht,yt=ht);return t&&F.forEach(function(Zn){return e(M,Zn)}),mt&&sn(M,st),$}function I(M,b,x,_){if(x==null)throw Error(u(151));for(var $=null,yt=null,F=b,st=b=0,ht=null,pt=x.next();F!==null&&!pt.done;st++,pt=x.next()){F.index>st?(ht=F,F=null):ht=F.sibling;var Zn=C(M,F,pt.value,_);if(Zn===null){F===null&&(F=ht);break}t&&F&&Zn.alternate===null&&e(M,F),b=r(Zn,b,st),yt===null?$=Zn:yt.sibling=Zn,yt=Zn,F=ht}if(pt.done)return n(M,F),mt&&sn(M,st),$;if(F===null){for(;!pt.done;st++,pt=x.next())pt=U(M,pt.value,_),pt!==null&&(b=r(pt,b,st),yt===null?$=pt:yt.sibling=pt,yt=pt);return mt&&sn(M,st),$}for(F=a(F);!pt.done;st++,pt=x.next())pt=z(F,M,st,pt.value,_),pt!==null&&(t&&pt.alternate!==null&&F.delete(pt.key===null?st:pt.key),b=r(pt,b,st),yt===null?$=pt:yt.sibling=pt,yt=pt);return t&&F.forEach(function(H1){return e(M,H1)}),mt&&sn(M,st),$}function Dt(M,b,x,_){if(typeof x=="object"&&x!==null&&x.type===L&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case B:t:{for(var $=x.key;b!==null;){if(b.key===$){if($=x.type,$===L){if(b.tag===7){n(M,b.sibling),_=s(b,x.props.children),_.return=M,M=_;break t}}else if(b.elementType===$||typeof $=="object"&&$!==null&&$.$$typeof===P&&oi($)===b.type){n(M,b.sibling),_=s(b,x.props),Ba(_,x),_.return=M,M=_;break t}n(M,b);break}else e(M,b);b=b.sibling}x.type===L?(_=ii(x.props.children,M.mode,_,x.key),_.return=M,M=_):(_=Xl(x.type,x.key,x.props,null,M.mode,_),Ba(_,x),_.return=M,M=_)}return f(M);case O:t:{for($=x.key;b!==null;){if(b.key===$)if(b.tag===4&&b.stateNode.containerInfo===x.containerInfo&&b.stateNode.implementation===x.implementation){n(M,b.sibling),_=s(b,x.children||[]),_.return=M,M=_;break t}else{n(M,b);break}else e(M,b);b=b.sibling}_=Pu(x,M.mode,_),_.return=M,M=_}return f(M);case P:return x=oi(x),Dt(M,b,x,_)}if(Lt(x))return Z(M,b,x,_);if(Tt(x)){if($=Tt(x),typeof $!="function")throw Error(u(150));return x=$.call(x),I(M,b,x,_)}if(typeof x.then=="function")return Dt(M,b,Wl(x),_);if(x.$$typeof===H)return Dt(M,b,Kl(M,x),_);Pl(M,x)}return typeof x=="string"&&x!==""||typeof x=="number"||typeof x=="bigint"?(x=""+x,b!==null&&b.tag===6?(n(M,b.sibling),_=s(b,x),_.return=M,M=_):(n(M,b),_=Wu(x,M.mode,_),_.return=M,M=_),f(M)):n(M,b)}return function(M,b,x,_){try{Ua=0;var $=Dt(M,b,x,_);return Gi=null,$}catch(F){if(F===Yi||F===kl)throw F;var yt=be(29,F,null,M.mode);return yt.lanes=_,yt.return=M,yt}}}var ci=Sh(!0),Th=Sh(!1),zn=!1;function ro(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function co(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 On(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Rn(t,e,n){var a=t.updateQueue;if(a===null)return null;if(a=a.shared,(vt&2)!==0){var s=a.pending;return s===null?e.next=e:(e.next=s.next,s.next=e),a.pending=e,e=Gl(t),ih(t,null,n),e}return Yl(t,a,e,n),Gl(t)}function Na(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,ff(t,n)}}function fo(t,e){var n=t.updateQueue,a=t.alternate;if(a!==null&&(a=a.updateQueue,n===a)){var s=null,r=null;if(n=n.firstBaseUpdate,n!==null){do{var f={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};r===null?s=r=f:r=r.next=f,n=n.next}while(n!==null);r===null?s=r=e:r=r.next=e}else s=r=e;n={baseState:a.baseState,firstBaseUpdate:s,lastBaseUpdate:r,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 ho=!1;function La(){if(ho){var t=qi;if(t!==null)throw t}}function wa(t,e,n,a){ho=!1;var s=t.updateQueue;zn=!1;var r=s.firstBaseUpdate,f=s.lastBaseUpdate,y=s.shared.pending;if(y!==null){s.shared.pending=null;var T=y,D=T.next;T.next=null,f===null?r=D:f.next=D,f=T;var V=t.alternate;V!==null&&(V=V.updateQueue,y=V.lastBaseUpdate,y!==f&&(y===null?V.firstBaseUpdate=D:y.next=D,V.lastBaseUpdate=T))}if(r!==null){var U=s.baseState;f=0,V=D=T=null,y=r;do{var C=y.lane&-536870913,z=C!==y.lane;if(z?(ft&C)===C:(a&C)===C){C!==0&&C===Hi&&(ho=!0),V!==null&&(V=V.next={lane:0,tag:y.tag,payload:y.payload,callback:null,next:null});t:{var Z=t,I=y;C=e;var Dt=n;switch(I.tag){case 1:if(Z=I.payload,typeof Z=="function"){U=Z.call(Dt,U,C);break t}U=Z;break t;case 3:Z.flags=Z.flags&-65537|128;case 0:if(Z=I.payload,C=typeof Z=="function"?Z.call(Dt,U,C):Z,C==null)break t;U=S({},U,C);break t;case 2:zn=!0}}C=y.callback,C!==null&&(t.flags|=64,z&&(t.flags|=8192),z=s.callbacks,z===null?s.callbacks=[C]:z.push(C))}else z={lane:C,tag:y.tag,payload:y.payload,callback:y.callback,next:null},V===null?(D=V=z,T=U):V=V.next=z,f|=C;if(y=y.next,y===null){if(y=s.shared.pending,y===null)break;z=y,y=z.next,z.next=null,s.lastBaseUpdate=z,s.shared.pending=null}}while(!0);V===null&&(T=U),s.baseState=T,s.firstBaseUpdate=D,s.lastBaseUpdate=V,r===null&&(s.shared.lanes=0),Nn|=f,t.lanes=f,t.memoizedState=U}}function bh(t,e){if(typeof t!="function")throw Error(u(191,t));t.call(e)}function Ah(t,e){var n=t.callbacks;if(n!==null)for(t.callbacks=null,t=0;t<n.length;t++)bh(n[t],e)}var Xi=A(null),$l=A(0);function Eh(t,e){t=gn,G($l,t),G(Xi,e),gn=t|e.baseLanes}function mo(){G($l,gn),G(Xi,Xi.current)}function yo(){gn=$l.current,N(Xi),N($l)}var Ae=A(null),Le=null;function Vn(t){var e=t.alternate;G(jt,jt.current&1),G(Ae,t),Le===null&&(e===null||Xi.current!==null||e.memoizedState!==null)&&(Le=t)}function po(t){G(jt,jt.current),G(Ae,t),Le===null&&(Le=t)}function Mh(t){t.tag===22?(G(jt,jt.current),G(Ae,t),Le===null&&(Le=t)):_n()}function _n(){G(jt,jt.current),G(Ae,Ae.current)}function Ee(t){N(Ae),Le===t&&(Le=null),N(jt)}var jt=A(0);function Il(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||Ar(n)||Er(n)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var rn=0,at=null,Mt=null,Gt=null,ts=!1,Qi=!1,fi=!1,es=0,ja=0,Zi=null,Ov=0;function Ut(){throw Error(u(321))}function go(t,e){if(e===null)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!Te(t[n],e[n]))return!1;return!0}function vo(t,e,n,a,s,r){return rn=r,at=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,R.H=t===null||t.memoizedState===null?ud:Uo,fi=!1,r=n(a,s),fi=!1,Qi&&(r=Dh(e,n,a,s)),xh(t),r}function xh(t){R.H=Ya;var e=Mt!==null&&Mt.next!==null;if(rn=0,Gt=Mt=at=null,ts=!1,ja=0,Zi=null,e)throw Error(u(300));t===null||Xt||(t=t.dependencies,t!==null&&Zl(t)&&(Xt=!0))}function Dh(t,e,n,a){at=t;var s=0;do{if(Qi&&(Zi=null),ja=0,Qi=!1,25<=s)throw Error(u(301));if(s+=1,Gt=Mt=null,t.updateQueue!=null){var r=t.updateQueue;r.lastEffect=null,r.events=null,r.stores=null,r.memoCache!=null&&(r.memoCache.index=0)}R.H=od,r=e(n,a)}while(Qi);return r}function Rv(){var t=R.H,e=t.useState()[0];return e=typeof e.then=="function"?Ha(e):e,t=t.useState()[0],(Mt!==null?Mt.memoizedState:null)!==t&&(at.flags|=1024),e}function So(){var t=es!==0;return es=0,t}function To(t,e,n){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~n}function bo(t){if(ts){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}ts=!1}rn=0,Gt=Mt=at=null,Qi=!1,ja=es=0,Zi=null}function ue(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Gt===null?at.memoizedState=Gt=t:Gt=Gt.next=t,Gt}function Ht(){if(Mt===null){var t=at.alternate;t=t!==null?t.memoizedState:null}else t=Mt.next;var e=Gt===null?at.memoizedState:Gt.next;if(e!==null)Gt=e,Mt=t;else{if(t===null)throw at.alternate===null?Error(u(467)):Error(u(310));Mt=t,t={memoizedState:Mt.memoizedState,baseState:Mt.baseState,baseQueue:Mt.baseQueue,queue:Mt.queue,next:null},Gt===null?at.memoizedState=Gt=t:Gt=Gt.next=t}return Gt}function ns(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ha(t){var e=ja;return ja+=1,Zi===null&&(Zi=[]),t=ph(Zi,t,e),e=at,(Gt===null?e.memoizedState:Gt.next)===null&&(e=e.alternate,R.H=e===null||e.memoizedState===null?ud:Uo),t}function is(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Ha(t);if(t.$$typeof===H)return $t(t)}throw Error(u(438,String(t)))}function Ao(t){var e=null,n=at.updateQueue;if(n!==null&&(e=n.memoCache),e==null){var a=at.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=ns(),at.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]=tt;return e.index++,n}function cn(t,e){return typeof e=="function"?e(t):e}function as(t){var e=Ht();return Eo(e,Mt,t)}function Eo(t,e,n){var a=t.queue;if(a===null)throw Error(u(311));a.lastRenderedReducer=n;var s=t.baseQueue,r=a.pending;if(r!==null){if(s!==null){var f=s.next;s.next=r.next,r.next=f}e.baseQueue=s=r,a.pending=null}if(r=t.baseState,s===null)t.memoizedState=r;else{e=s.next;var y=f=null,T=null,D=e,V=!1;do{var U=D.lane&-536870913;if(U!==D.lane?(ft&U)===U:(rn&U)===U){var C=D.revertLane;if(C===0)T!==null&&(T=T.next={lane:0,revertLane:0,gesture:null,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null}),U===Hi&&(V=!0);else if((rn&C)===C){D=D.next,C===Hi&&(V=!0);continue}else U={lane:0,revertLane:D.revertLane,gesture:null,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},T===null?(y=T=U,f=r):T=T.next=U,at.lanes|=C,Nn|=C;U=D.action,fi&&n(r,U),r=D.hasEagerState?D.eagerState:n(r,U)}else C={lane:U,revertLane:D.revertLane,gesture:D.gesture,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},T===null?(y=T=C,f=r):T=T.next=C,at.lanes|=U,Nn|=U;D=D.next}while(D!==null&&D!==e);if(T===null?f=r:T.next=y,!Te(r,t.memoizedState)&&(Xt=!0,V&&(n=qi,n!==null)))throw n;t.memoizedState=r,t.baseState=f,t.baseQueue=T,a.lastRenderedState=r}return s===null&&(a.lanes=0),[t.memoizedState,a.dispatch]}function Mo(t){var e=Ht(),n=e.queue;if(n===null)throw Error(u(311));n.lastRenderedReducer=t;var a=n.dispatch,s=n.pending,r=e.memoizedState;if(s!==null){n.pending=null;var f=s=s.next;do r=t(r,f.action),f=f.next;while(f!==s);Te(r,e.memoizedState)||(Xt=!0),e.memoizedState=r,e.baseQueue===null&&(e.baseState=r),n.lastRenderedState=r}return[r,a]}function Ch(t,e,n){var a=at,s=Ht(),r=mt;if(r){if(n===void 0)throw Error(u(407));n=n()}else n=e();var f=!Te((Mt||s).memoizedState,n);if(f&&(s.memoizedState=n,Xt=!0),s=s.queue,Co(Rh.bind(null,a,s,t),[t]),s.getSnapshot!==e||f||Gt!==null&&Gt.memoizedState.tag&1){if(a.flags|=2048,Ki(9,{destroy:void 0},Oh.bind(null,a,s,n,e),null),Ct===null)throw Error(u(349));r||(rn&127)!==0||zh(a,e,n)}return n}function zh(t,e,n){t.flags|=16384,t={getSnapshot:e,value:n},e=at.updateQueue,e===null?(e=ns(),at.updateQueue=e,e.stores=[t]):(n=e.stores,n===null?e.stores=[t]:n.push(t))}function Oh(t,e,n,a){e.value=n,e.getSnapshot=a,Vh(e)&&_h(t)}function Rh(t,e,n){return n(function(){Vh(e)&&_h(t)})}function Vh(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!Te(t,n)}catch{return!0}}function _h(t){var e=ni(t,2);e!==null&&pe(e,t,2)}function xo(t){var e=ue();if(typeof t=="function"){var n=t;if(t=n(),fi){bn(!0);try{n()}finally{bn(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:cn,lastRenderedState:t},e}function Uh(t,e,n,a){return t.baseState=n,Eo(t,Mt,typeof a=="function"?a:cn)}function Vv(t,e,n,a,s){if(us(t))throw Error(u(485));if(t=e.action,t!==null){var r={payload:s,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(f){r.listeners.push(f)}};R.T!==null?n(!0):r.isTransition=!1,a(r),n=e.pending,n===null?(r.next=e.pending=r,Bh(e,r)):(r.next=n.next,e.pending=n.next=r)}}function Bh(t,e){var n=e.action,a=e.payload,s=t.state;if(e.isTransition){var r=R.T,f={};R.T=f;try{var y=n(s,a),T=R.S;T!==null&&T(f,y),Nh(t,e,y)}catch(D){Do(t,e,D)}finally{r!==null&&f.types!==null&&(r.types=f.types),R.T=r}}else try{r=n(s,a),Nh(t,e,r)}catch(D){Do(t,e,D)}}function Nh(t,e,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(a){Lh(t,e,a)},function(a){return Do(t,e,a)}):Lh(t,e,n)}function Lh(t,e,n){e.status="fulfilled",e.value=n,wh(e),t.state=n,e=t.pending,e!==null&&(n=e.next,n===e?t.pending=null:(n=n.next,e.next=n,Bh(t,n)))}function Do(t,e,n){var a=t.pending;if(t.pending=null,a!==null){a=a.next;do e.status="rejected",e.reason=n,wh(e),e=e.next;while(e!==a)}t.action=null}function wh(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function jh(t,e){return e}function Hh(t,e){if(mt){var n=Ct.formState;if(n!==null){t:{var a=at;if(mt){if(Rt){e:{for(var s=Rt,r=Ne;s.nodeType!==8;){if(!r){s=null;break e}if(s=we(s.nextSibling),s===null){s=null;break e}}r=s.data,s=r==="F!"||r==="F"?s:null}if(s){Rt=we(s.nextSibling),a=s.data==="F!";break t}}Dn(a)}a=!1}a&&(e=n[0])}}return n=ue(),n.memoizedState=n.baseState=e,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:jh,lastRenderedState:e},n.queue=a,n=ad.bind(null,at,a),a.dispatch=n,a=xo(!1),r=_o.bind(null,at,!1,a.queue),a=ue(),s={state:e,dispatch:null,action:t,pending:null},a.queue=s,n=Vv.bind(null,at,s,r,n),s.dispatch=n,a.memoizedState=t,[e,n,!1]}function qh(t){var e=Ht();return Yh(e,Mt,t)}function Yh(t,e,n){if(e=Eo(t,e,jh)[0],t=as(cn)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var a=Ha(e)}catch(f){throw f===Yi?kl:f}else a=e;e=Ht();var s=e.queue,r=s.dispatch;return n!==e.memoizedState&&(at.flags|=2048,Ki(9,{destroy:void 0},_v.bind(null,s,n),null)),[a,r,t]}function _v(t,e){t.action=e}function Gh(t){var e=Ht(),n=Mt;if(n!==null)return Yh(e,n,t);Ht(),e=e.memoizedState,n=Ht();var a=n.queue.dispatch;return n.memoizedState=t,[e,a,!1]}function Ki(t,e,n,a){return t={tag:t,create:n,deps:a,inst:e,next:null},e=at.updateQueue,e===null&&(e=ns(),at.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 Xh(){return Ht().memoizedState}function ls(t,e,n,a){var s=ue();at.flags|=t,s.memoizedState=Ki(1|e,{destroy:void 0},n,a===void 0?null:a)}function ss(t,e,n,a){var s=Ht();a=a===void 0?null:a;var r=s.memoizedState.inst;Mt!==null&&a!==null&&go(a,Mt.memoizedState.deps)?s.memoizedState=Ki(e,r,n,a):(at.flags|=t,s.memoizedState=Ki(1|e,r,n,a))}function Qh(t,e){ls(8390656,8,t,e)}function Co(t,e){ss(2048,8,t,e)}function Uv(t){at.flags|=4;var e=at.updateQueue;if(e===null)e=ns(),at.updateQueue=e,e.events=[t];else{var n=e.events;n===null?e.events=[t]:n.push(t)}}function Zh(t){var e=Ht().memoizedState;return Uv({ref:e,nextImpl:t}),function(){if((vt&2)!==0)throw Error(u(440));return e.impl.apply(void 0,arguments)}}function Kh(t,e){return ss(4,2,t,e)}function Jh(t,e){return ss(4,4,t,e)}function kh(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 Fh(t,e,n){n=n!=null?n.concat([t]):null,ss(4,4,kh.bind(null,e,t),n)}function zo(){}function Wh(t,e){var n=Ht();e=e===void 0?null:e;var a=n.memoizedState;return e!==null&&go(e,a[1])?a[0]:(n.memoizedState=[t,e],t)}function Ph(t,e){var n=Ht();e=e===void 0?null:e;var a=n.memoizedState;if(e!==null&&go(e,a[1]))return a[0];if(a=t(),fi){bn(!0);try{t()}finally{bn(!1)}}return n.memoizedState=[a,e],a}function Oo(t,e,n){return n===void 0||(rn&1073741824)!==0&&(ft&261930)===0?t.memoizedState=e:(t.memoizedState=n,t=$d(),at.lanes|=t,Nn|=t,n)}function $h(t,e,n,a){return Te(n,e)?n:Xi.current!==null?(t=Oo(t,n,a),Te(t,e)||(Xt=!0),t):(rn&42)===0||(rn&1073741824)!==0&&(ft&261930)===0?(Xt=!0,t.memoizedState=n):(t=$d(),at.lanes|=t,Nn|=t,e)}function Ih(t,e,n,a,s){var r=q.p;q.p=r!==0&&8>r?r:8;var f=R.T,y={};R.T=y,_o(t,!1,e,n);try{var T=s(),D=R.S;if(D!==null&&D(y,T),T!==null&&typeof T=="object"&&typeof T.then=="function"){var V=zv(T,a);qa(t,e,V,De(t))}else qa(t,e,a,De(t))}catch(U){qa(t,e,{then:function(){},status:"rejected",reason:U},De())}finally{q.p=r,f!==null&&y.types!==null&&(f.types=y.types),R.T=f}}function Bv(){}function Ro(t,e,n,a){if(t.tag!==5)throw Error(u(476));var s=td(t).queue;Ih(t,s,e,Q,n===null?Bv:function(){return ed(t),n(a)})}function td(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:Q,baseState:Q,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:cn,lastRenderedState:Q},next:null};var n={};return e.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:cn,lastRenderedState:n},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function ed(t){var e=td(t);e.next===null&&(e=t.alternate.memoizedState),qa(t,e.next.queue,{},De())}function Vo(){return $t(il)}function nd(){return Ht().memoizedState}function id(){return Ht().memoizedState}function Nv(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var n=De();t=On(n);var a=Rn(e,t,n);a!==null&&(pe(a,e,n),Na(a,e,n)),e={cache:lo()},t.payload=e;return}e=e.return}}function Lv(t,e,n){var a=De();n={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},us(t)?ld(e,n):(n=ku(t,e,n,a),n!==null&&(pe(n,t,a),sd(n,e,a)))}function ad(t,e,n){var a=De();qa(t,e,n,a)}function qa(t,e,n,a){var s={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(us(t))ld(e,s);else{var r=t.alternate;if(t.lanes===0&&(r===null||r.lanes===0)&&(r=e.lastRenderedReducer,r!==null))try{var f=e.lastRenderedState,y=r(f,n);if(s.hasEagerState=!0,s.eagerState=y,Te(y,f))return Yl(t,e,s,0),Ct===null&&ql(),!1}catch{}if(n=ku(t,e,s,a),n!==null)return pe(n,t,a),sd(n,e,a),!0}return!1}function _o(t,e,n,a){if(a={lane:2,revertLane:cr(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},us(t)){if(e)throw Error(u(479))}else e=ku(t,n,a,2),e!==null&&pe(e,t,2)}function us(t){var e=t.alternate;return t===at||e!==null&&e===at}function ld(t,e){Qi=ts=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function sd(t,e,n){if((n&4194048)!==0){var a=e.lanes;a&=t.pendingLanes,n|=a,e.lanes=n,ff(t,n)}}var Ya={readContext:$t,use:is,useCallback:Ut,useContext:Ut,useEffect:Ut,useImperativeHandle:Ut,useLayoutEffect:Ut,useInsertionEffect:Ut,useMemo:Ut,useReducer:Ut,useRef:Ut,useState:Ut,useDebugValue:Ut,useDeferredValue:Ut,useTransition:Ut,useSyncExternalStore:Ut,useId:Ut,useHostTransitionStatus:Ut,useFormState:Ut,useActionState:Ut,useOptimistic:Ut,useMemoCache:Ut,useCacheRefresh:Ut};Ya.useEffectEvent=Ut;var ud={readContext:$t,use:is,useCallback:function(t,e){return ue().memoizedState=[t,e===void 0?null:e],t},useContext:$t,useEffect:Qh,useImperativeHandle:function(t,e,n){n=n!=null?n.concat([t]):null,ls(4194308,4,kh.bind(null,e,t),n)},useLayoutEffect:function(t,e){return ls(4194308,4,t,e)},useInsertionEffect:function(t,e){ls(4,2,t,e)},useMemo:function(t,e){var n=ue();e=e===void 0?null:e;var a=t();if(fi){bn(!0);try{t()}finally{bn(!1)}}return n.memoizedState=[a,e],a},useReducer:function(t,e,n){var a=ue();if(n!==void 0){var s=n(e);if(fi){bn(!0);try{n(e)}finally{bn(!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=Lv.bind(null,at,t),[a.memoizedState,t]},useRef:function(t){var e=ue();return t={current:t},e.memoizedState=t},useState:function(t){t=xo(t);var e=t.queue,n=ad.bind(null,at,e);return e.dispatch=n,[t.memoizedState,n]},useDebugValue:zo,useDeferredValue:function(t,e){var n=ue();return Oo(n,t,e)},useTransition:function(){var t=xo(!1);return t=Ih.bind(null,at,t.queue,!0,!1),ue().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,n){var a=at,s=ue();if(mt){if(n===void 0)throw Error(u(407));n=n()}else{if(n=e(),Ct===null)throw Error(u(349));(ft&127)!==0||zh(a,e,n)}s.memoizedState=n;var r={value:n,getSnapshot:e};return s.queue=r,Qh(Rh.bind(null,a,r,t),[t]),a.flags|=2048,Ki(9,{destroy:void 0},Oh.bind(null,a,r,n,e),null),n},useId:function(){var t=ue(),e=Ct.identifierPrefix;if(mt){var n=ke,a=Je;n=(a&~(1<<32-Se(a)-1)).toString(32)+n,e="_"+e+"R_"+n,n=es++,0<n&&(e+="H"+n.toString(32)),e+="_"}else n=Ov++,e="_"+e+"r_"+n.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:Vo,useFormState:Hh,useActionState:Hh,useOptimistic:function(t){var e=ue();e.memoizedState=e.baseState=t;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=n,e=_o.bind(null,at,!0,n),n.dispatch=e,[t,e]},useMemoCache:Ao,useCacheRefresh:function(){return ue().memoizedState=Nv.bind(null,at)},useEffectEvent:function(t){var e=ue(),n={impl:t};return e.memoizedState=n,function(){if((vt&2)!==0)throw Error(u(440));return n.impl.apply(void 0,arguments)}}},Uo={readContext:$t,use:is,useCallback:Wh,useContext:$t,useEffect:Co,useImperativeHandle:Fh,useInsertionEffect:Kh,useLayoutEffect:Jh,useMemo:Ph,useReducer:as,useRef:Xh,useState:function(){return as(cn)},useDebugValue:zo,useDeferredValue:function(t,e){var n=Ht();return $h(n,Mt.memoizedState,t,e)},useTransition:function(){var t=as(cn)[0],e=Ht().memoizedState;return[typeof t=="boolean"?t:Ha(t),e]},useSyncExternalStore:Ch,useId:nd,useHostTransitionStatus:Vo,useFormState:qh,useActionState:qh,useOptimistic:function(t,e){var n=Ht();return Uh(n,Mt,t,e)},useMemoCache:Ao,useCacheRefresh:id};Uo.useEffectEvent=Zh;var od={readContext:$t,use:is,useCallback:Wh,useContext:$t,useEffect:Co,useImperativeHandle:Fh,useInsertionEffect:Kh,useLayoutEffect:Jh,useMemo:Ph,useReducer:Mo,useRef:Xh,useState:function(){return Mo(cn)},useDebugValue:zo,useDeferredValue:function(t,e){var n=Ht();return Mt===null?Oo(n,t,e):$h(n,Mt.memoizedState,t,e)},useTransition:function(){var t=Mo(cn)[0],e=Ht().memoizedState;return[typeof t=="boolean"?t:Ha(t),e]},useSyncExternalStore:Ch,useId:nd,useHostTransitionStatus:Vo,useFormState:Gh,useActionState:Gh,useOptimistic:function(t,e){var n=Ht();return Mt!==null?Uh(n,Mt,t,e):(n.baseState=t,[t,n.queue.dispatch])},useMemoCache:Ao,useCacheRefresh:id};od.useEffectEvent=Zh;function Bo(t,e,n,a){e=t.memoizedState,n=n(a,e),n=n==null?e:S({},e,n),t.memoizedState=n,t.lanes===0&&(t.updateQueue.baseState=n)}var No={enqueueSetState:function(t,e,n){t=t._reactInternals;var a=De(),s=On(a);s.payload=e,n!=null&&(s.callback=n),e=Rn(t,s,a),e!==null&&(pe(e,t,a),Na(e,t,a))},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var a=De(),s=On(a);s.tag=1,s.payload=e,n!=null&&(s.callback=n),e=Rn(t,s,a),e!==null&&(pe(e,t,a),Na(e,t,a))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=De(),a=On(n);a.tag=2,e!=null&&(a.callback=e),e=Rn(t,a,n),e!==null&&(pe(e,t,n),Na(e,t,n))}};function rd(t,e,n,a,s,r,f){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(a,r,f):e.prototype&&e.prototype.isPureReactComponent?!Ca(n,a)||!Ca(s,r):!0}function cd(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&&No.enqueueReplaceState(e,e.state,null)}function hi(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=S({},n));for(var s in t)n[s]===void 0&&(n[s]=t[s])}return n}function fd(t){Hl(t)}function hd(t){console.error(t)}function dd(t){Hl(t)}function os(t,e){try{var n=t.onUncaughtError;n(e.value,{componentStack:e.stack})}catch(a){setTimeout(function(){throw a})}}function md(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 Lo(t,e,n){return n=On(n),n.tag=3,n.payload={element:null},n.callback=function(){os(t,e)},n}function yd(t){return t=On(t),t.tag=3,t}function pd(t,e,n,a){var s=n.type.getDerivedStateFromError;if(typeof s=="function"){var r=a.value;t.payload=function(){return s(r)},t.callback=function(){md(e,n,a)}}var f=n.stateNode;f!==null&&typeof f.componentDidCatch=="function"&&(t.callback=function(){md(e,n,a),typeof s!="function"&&(Ln===null?Ln=new Set([this]):Ln.add(this));var y=a.stack;this.componentDidCatch(a.value,{componentStack:y!==null?y:""})})}function wv(t,e,n,a,s){if(n.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(e=n.alternate,e!==null&&ji(e,n,s,!0),n=Ae.current,n!==null){switch(n.tag){case 31:case 13:return Le===null?Ts():n.alternate===null&&Bt===0&&(Bt=3),n.flags&=-257,n.flags|=65536,n.lanes=s,a===Fl?n.flags|=16384:(e=n.updateQueue,e===null?n.updateQueue=new Set([a]):e.add(a),ur(t,a,s)),!1;case 22:return n.flags|=65536,a===Fl?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)),ur(t,a,s)),!1}throw Error(u(435,n.tag))}return ur(t,a,s),Ts(),!1}if(mt)return e=Ae.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=s,a!==to&&(t=Error(u(422),{cause:a}),Ra(_e(t,n)))):(a!==to&&(e=Error(u(423),{cause:a}),Ra(_e(e,n))),t=t.current.alternate,t.flags|=65536,s&=-s,t.lanes|=s,a=_e(a,n),s=Lo(t.stateNode,a,s),fo(t,s),Bt!==4&&(Bt=2)),!1;var r=Error(u(520),{cause:a});if(r=_e(r,n),Fa===null?Fa=[r]:Fa.push(r),Bt!==4&&(Bt=2),e===null)return!0;a=_e(a,n),n=e;do{switch(n.tag){case 3:return n.flags|=65536,t=s&-s,n.lanes|=t,t=Lo(n.stateNode,a,t),fo(n,t),!1;case 1:if(e=n.type,r=n.stateNode,(n.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||r!==null&&typeof r.componentDidCatch=="function"&&(Ln===null||!Ln.has(r))))return n.flags|=65536,s&=-s,n.lanes|=s,s=yd(s),pd(s,t,n,a),fo(n,s),!1}n=n.return}while(n!==null);return!1}var wo=Error(u(461)),Xt=!1;function It(t,e,n,a){e.child=t===null?Th(e,null,n,a):ci(e,t.child,n,a)}function gd(t,e,n,a,s){n=n.render;var r=e.ref;if("ref"in a){var f={};for(var y in a)y!=="ref"&&(f[y]=a[y])}else f=a;return si(e),a=vo(t,e,n,f,r,s),y=So(),t!==null&&!Xt?(To(t,e,s),fn(t,e,s)):(mt&&y&&$u(e),e.flags|=1,It(t,e,a,s),e.child)}function vd(t,e,n,a,s){if(t===null){var r=n.type;return typeof r=="function"&&!Fu(r)&&r.defaultProps===void 0&&n.compare===null?(e.tag=15,e.type=r,Sd(t,e,r,a,s)):(t=Xl(n.type,null,a,e,e.mode,s),t.ref=e.ref,t.return=e,e.child=t)}if(r=t.child,!Zo(t,s)){var f=r.memoizedProps;if(n=n.compare,n=n!==null?n:Ca,n(f,a)&&t.ref===e.ref)return fn(t,e,s)}return e.flags|=1,t=ln(r,a),t.ref=e.ref,t.return=e,e.child=t}function Sd(t,e,n,a,s){if(t!==null){var r=t.memoizedProps;if(Ca(r,a)&&t.ref===e.ref)if(Xt=!1,e.pendingProps=a=r,Zo(t,s))(t.flags&131072)!==0&&(Xt=!0);else return e.lanes=t.lanes,fn(t,e,s)}return jo(t,e,n,a,s)}function Td(t,e,n,a){var s=a.children,r=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((e.flags&128)!==0){if(r=r!==null?r.baseLanes|n:n,t!==null){for(a=e.child=t.child,s=0;a!==null;)s=s|a.lanes|a.childLanes,a=a.sibling;a=s&~r}else a=0,e.child=null;return bd(t,e,r,n,a)}if((n&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&Jl(e,r!==null?r.cachePool:null),r!==null?Eh(e,r):mo(),Mh(e);else return a=e.lanes=536870912,bd(t,e,r!==null?r.baseLanes|n:n,n,a)}else r!==null?(Jl(e,r.cachePool),Eh(e,r),_n(),e.memoizedState=null):(t!==null&&Jl(e,null),mo(),_n());return It(t,e,s,n),e.child}function Ga(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function bd(t,e,n,a,s){var r=uo();return r=r===null?null:{parent:Yt._currentValue,pool:r},e.memoizedState={baseLanes:n,cachePool:r},t!==null&&Jl(e,null),mo(),Mh(e),t!==null&&ji(t,e,a,!0),e.childLanes=s,null}function rs(t,e){return e=fs({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function Ad(t,e,n){return ci(e,t.child,null,n),t=rs(e,e.pendingProps),t.flags|=2,Ee(e),e.memoizedState=null,t}function jv(t,e,n){var a=e.pendingProps,s=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(mt){if(a.mode==="hidden")return t=rs(e,a),e.lanes=536870912,Ga(null,t);if(po(e),(t=Rt)?(t=Bm(t,Ne),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Mn!==null?{id:Je,overflow:ke}:null,retryLane:536870912,hydrationErrors:null},n=lh(t),n.return=e,e.child=n,Pt=e,Rt=null)):t=null,t===null)throw Dn(e);return e.lanes=536870912,null}return rs(e,a)}var r=t.memoizedState;if(r!==null){var f=r.dehydrated;if(po(e),s)if(e.flags&256)e.flags&=-257,e=Ad(t,e,n);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(u(558));else if(Xt||ji(t,e,n,!1),s=(n&t.childLanes)!==0,Xt||s){if(a=Ct,a!==null&&(f=hf(a,n),f!==0&&f!==r.retryLane))throw r.retryLane=f,ni(t,f),pe(a,t,f),wo;Ts(),e=Ad(t,e,n)}else t=r.treeContext,Rt=we(f.nextSibling),Pt=e,mt=!0,xn=null,Ne=!1,t!==null&&oh(e,t),e=rs(e,a),e.flags|=4096;return e}return t=ln(t.child,{mode:a.mode,children:a.children}),t.ref=e.ref,e.child=t,t.return=e,t}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(u(284));(t===null||t.ref!==n)&&(e.flags|=4194816)}}function jo(t,e,n,a,s){return si(e),n=vo(t,e,n,a,void 0,s),a=So(),t!==null&&!Xt?(To(t,e,s),fn(t,e,s)):(mt&&a&&$u(e),e.flags|=1,It(t,e,n,s),e.child)}function Ed(t,e,n,a,s,r){return si(e),e.updateQueue=null,n=Dh(e,a,n,s),xh(t),a=So(),t!==null&&!Xt?(To(t,e,r),fn(t,e,r)):(mt&&a&&$u(e),e.flags|=1,It(t,e,n,r),e.child)}function Md(t,e,n,a,s){if(si(e),e.stateNode===null){var r=Bi,f=n.contextType;typeof f=="object"&&f!==null&&(r=$t(f)),r=new n(a,r),e.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=No,e.stateNode=r,r._reactInternals=e,r=e.stateNode,r.props=a,r.state=e.memoizedState,r.refs={},ro(e),f=n.contextType,r.context=typeof f=="object"&&f!==null?$t(f):Bi,r.state=e.memoizedState,f=n.getDerivedStateFromProps,typeof f=="function"&&(Bo(e,n,f,a),r.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof r.getSnapshotBeforeUpdate=="function"||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(f=r.state,typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount(),f!==r.state&&No.enqueueReplaceState(r,r.state,null),wa(e,a,r,s),La(),r.state=e.memoizedState),typeof r.componentDidMount=="function"&&(e.flags|=4194308),a=!0}else if(t===null){r=e.stateNode;var y=e.memoizedProps,T=hi(n,y);r.props=T;var D=r.context,V=n.contextType;f=Bi,typeof V=="object"&&V!==null&&(f=$t(V));var U=n.getDerivedStateFromProps;V=typeof U=="function"||typeof r.getSnapshotBeforeUpdate=="function",y=e.pendingProps!==y,V||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(y||D!==f)&&cd(e,r,a,f),zn=!1;var C=e.memoizedState;r.state=C,wa(e,a,r,s),La(),D=e.memoizedState,y||C!==D||zn?(typeof U=="function"&&(Bo(e,n,U,a),D=e.memoizedState),(T=zn||rd(e,n,T,a,C,D,f))?(V||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount()),typeof r.componentDidMount=="function"&&(e.flags|=4194308)):(typeof r.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=a,e.memoizedState=D),r.props=a,r.state=D,r.context=f,a=T):(typeof r.componentDidMount=="function"&&(e.flags|=4194308),a=!1)}else{r=e.stateNode,co(t,e),f=e.memoizedProps,V=hi(n,f),r.props=V,U=e.pendingProps,C=r.context,D=n.contextType,T=Bi,typeof D=="object"&&D!==null&&(T=$t(D)),y=n.getDerivedStateFromProps,(D=typeof y=="function"||typeof r.getSnapshotBeforeUpdate=="function")||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(f!==U||C!==T)&&cd(e,r,a,T),zn=!1,C=e.memoizedState,r.state=C,wa(e,a,r,s),La();var z=e.memoizedState;f!==U||C!==z||zn||t!==null&&t.dependencies!==null&&Zl(t.dependencies)?(typeof y=="function"&&(Bo(e,n,y,a),z=e.memoizedState),(V=zn||rd(e,n,V,a,C,z,T)||t!==null&&t.dependencies!==null&&Zl(t.dependencies))?(D||typeof r.UNSAFE_componentWillUpdate!="function"&&typeof r.componentWillUpdate!="function"||(typeof r.componentWillUpdate=="function"&&r.componentWillUpdate(a,z,T),typeof r.UNSAFE_componentWillUpdate=="function"&&r.UNSAFE_componentWillUpdate(a,z,T)),typeof r.componentDidUpdate=="function"&&(e.flags|=4),typeof r.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof r.componentDidUpdate!="function"||f===t.memoizedProps&&C===t.memoizedState||(e.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||f===t.memoizedProps&&C===t.memoizedState||(e.flags|=1024),e.memoizedProps=a,e.memoizedState=z),r.props=a,r.state=z,r.context=T,a=V):(typeof r.componentDidUpdate!="function"||f===t.memoizedProps&&C===t.memoizedState||(e.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||f===t.memoizedProps&&C===t.memoizedState||(e.flags|=1024),a=!1)}return r=a,cs(t,e),a=(e.flags&128)!==0,r||a?(r=e.stateNode,n=a&&typeof n.getDerivedStateFromError!="function"?null:r.render(),e.flags|=1,t!==null&&a?(e.child=ci(e,t.child,null,s),e.child=ci(e,null,n,s)):It(t,e,n,s),e.memoizedState=r.state,t=e.child):t=fn(t,e,s),t}function xd(t,e,n,a){return ai(),e.flags|=256,It(t,e,n,a),e.child}var Ho={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function qo(t){return{baseLanes:t,cachePool:mh()}}function Yo(t,e,n){return t=t!==null?t.childLanes&~n:0,e&&(t|=xe),t}function Dd(t,e,n){var a=e.pendingProps,s=!1,r=(e.flags&128)!==0,f;if((f=r)||(f=t!==null&&t.memoizedState===null?!1:(jt.current&2)!==0),f&&(s=!0,e.flags&=-129),f=(e.flags&32)!==0,e.flags&=-33,t===null){if(mt){if(s?Vn(e):_n(),(t=Rt)?(t=Bm(t,Ne),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Mn!==null?{id:Je,overflow:ke}:null,retryLane:536870912,hydrationErrors:null},n=lh(t),n.return=e,e.child=n,Pt=e,Rt=null)):t=null,t===null)throw Dn(e);return Er(t)?e.lanes=32:e.lanes=536870912,null}var y=a.children;return a=a.fallback,s?(_n(),s=e.mode,y=fs({mode:"hidden",children:y},s),a=ii(a,s,n,null),y.return=e,a.return=e,y.sibling=a,e.child=y,a=e.child,a.memoizedState=qo(n),a.childLanes=Yo(t,f,n),e.memoizedState=Ho,Ga(null,a)):(Vn(e),Go(e,y))}var T=t.memoizedState;if(T!==null&&(y=T.dehydrated,y!==null)){if(r)e.flags&256?(Vn(e),e.flags&=-257,e=Xo(t,e,n)):e.memoizedState!==null?(_n(),e.child=t.child,e.flags|=128,e=null):(_n(),y=a.fallback,s=e.mode,a=fs({mode:"visible",children:a.children},s),y=ii(y,s,n,null),y.flags|=2,a.return=e,y.return=e,a.sibling=y,e.child=a,ci(e,t.child,null,n),a=e.child,a.memoizedState=qo(n),a.childLanes=Yo(t,f,n),e.memoizedState=Ho,e=Ga(null,a));else if(Vn(e),Er(y)){if(f=y.nextSibling&&y.nextSibling.dataset,f)var D=f.dgst;f=D,a=Error(u(419)),a.stack="",a.digest=f,Ra({value:a,source:null,stack:null}),e=Xo(t,e,n)}else if(Xt||ji(t,e,n,!1),f=(n&t.childLanes)!==0,Xt||f){if(f=Ct,f!==null&&(a=hf(f,n),a!==0&&a!==T.retryLane))throw T.retryLane=a,ni(t,a),pe(f,t,a),wo;Ar(y)||Ts(),e=Xo(t,e,n)}else Ar(y)?(e.flags|=192,e.child=t.child,e=null):(t=T.treeContext,Rt=we(y.nextSibling),Pt=e,mt=!0,xn=null,Ne=!1,t!==null&&oh(e,t),e=Go(e,a.children),e.flags|=4096);return e}return s?(_n(),y=a.fallback,s=e.mode,T=t.child,D=T.sibling,a=ln(T,{mode:"hidden",children:a.children}),a.subtreeFlags=T.subtreeFlags&65011712,D!==null?y=ln(D,y):(y=ii(y,s,n,null),y.flags|=2),y.return=e,a.return=e,a.sibling=y,e.child=a,Ga(null,a),a=e.child,y=t.child.memoizedState,y===null?y=qo(n):(s=y.cachePool,s!==null?(T=Yt._currentValue,s=s.parent!==T?{parent:T,pool:T}:s):s=mh(),y={baseLanes:y.baseLanes|n,cachePool:s}),a.memoizedState=y,a.childLanes=Yo(t,f,n),e.memoizedState=Ho,Ga(t.child,a)):(Vn(e),n=t.child,t=n.sibling,n=ln(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 Go(t,e){return e=fs({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function fs(t,e){return t=be(22,t,null,e),t.lanes=0,t}function Xo(t,e,n){return ci(e,t.child,null,n),t=Go(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),io(t.return,e,n)}function Qo(t,e,n,a,s,r){var f=t.memoizedState;f===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:s,treeForkCount:r}:(f.isBackwards=e,f.rendering=null,f.renderingStartTime=0,f.last=a,f.tail=n,f.tailMode=s,f.treeForkCount=r)}function zd(t,e,n){var a=e.pendingProps,s=a.revealOrder,r=a.tail;a=a.children;var f=jt.current,y=(f&2)!==0;if(y?(f=f&1|2,e.flags|=128):f&=1,G(jt,f),It(t,e,a,n),a=mt?Oa:0,!y&&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}switch(s){case"forwards":for(n=e.child,s=null;n!==null;)t=n.alternate,t!==null&&Il(t)===null&&(s=n),n=n.sibling;n=s,n===null?(s=e.child,e.child=null):(s=n.sibling,n.sibling=null),Qo(e,!1,s,n,r,a);break;case"backwards":case"unstable_legacy-backwards":for(n=null,s=e.child,e.child=null;s!==null;){if(t=s.alternate,t!==null&&Il(t)===null){e.child=s;break}t=s.sibling,s.sibling=n,n=s,s=t}Qo(e,!0,n,null,r,a);break;case"together":Qo(e,!1,null,null,void 0,a);break;default:e.memoizedState=null}return e.child}function fn(t,e,n){if(t!==null&&(e.dependencies=t.dependencies),Nn|=e.lanes,(n&e.childLanes)===0)if(t!==null){if(ji(t,e,n,!1),(n&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(u(153));if(e.child!==null){for(t=e.child,n=ln(t,t.pendingProps),e.child=n,n.return=e;t.sibling!==null;)t=t.sibling,n=n.sibling=ln(t,t.pendingProps),n.return=e;n.sibling=null}return e.child}function Zo(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Zl(t)))}function Hv(t,e,n){switch(e.tag){case 3:se(e,e.stateNode.containerInfo),Cn(e,Yt,t.memoizedState.cache),ai();break;case 27:case 5:ma(e);break;case 4:se(e,e.stateNode.containerInfo);break;case 10:Cn(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,po(e),null;break;case 13:var a=e.memoizedState;if(a!==null)return a.dehydrated!==null?(Vn(e),e.flags|=128,null):(n&e.child.childLanes)!==0?Dd(t,e,n):(Vn(e),t=fn(t,e,n),t!==null?t.sibling:null);Vn(e);break;case 19:var s=(t.flags&128)!==0;if(a=(n&e.childLanes)!==0,a||(ji(t,e,n,!1),a=(n&e.childLanes)!==0),s){if(a)return zd(t,e,n);e.flags|=128}if(s=e.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),G(jt,jt.current),a)break;return null;case 22:return e.lanes=0,Td(t,e,n,e.pendingProps);case 24:Cn(e,Yt,t.memoizedState.cache)}return fn(t,e,n)}function Od(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps)Xt=!0;else{if(!Zo(t,n)&&(e.flags&128)===0)return Xt=!1,Hv(t,e,n);Xt=(t.flags&131072)!==0}else Xt=!1,mt&&(e.flags&1048576)!==0&&uh(e,Oa,e.index);switch(e.lanes=0,e.tag){case 16:t:{var a=e.pendingProps;if(t=oi(e.elementType),e.type=t,typeof t=="function")Fu(t)?(a=hi(t,a),e.tag=1,e=Md(null,e,t,a,n)):(e.tag=0,e=jo(null,e,t,a,n));else{if(t!=null){var s=t.$$typeof;if(s===X){e.tag=11,e=gd(null,e,t,a,n);break t}else if(s===K){e.tag=14,e=vd(null,e,t,a,n);break t}}throw e=qt(t)||t,Error(u(306,e,""))}}return e;case 0:return jo(t,e,e.type,e.pendingProps,n);case 1:return a=e.type,s=hi(a,e.pendingProps),Md(t,e,a,s,n);case 3:t:{if(se(e,e.stateNode.containerInfo),t===null)throw Error(u(387));a=e.pendingProps;var r=e.memoizedState;s=r.element,co(t,e),wa(e,a,null,n);var f=e.memoizedState;if(a=f.cache,Cn(e,Yt,a),a!==r.cache&&ao(e,[Yt],n,!0),La(),a=f.element,r.isDehydrated)if(r={element:a,isDehydrated:!1,cache:f.cache},e.updateQueue.baseState=r,e.memoizedState=r,e.flags&256){e=xd(t,e,a,n);break t}else if(a!==s){s=_e(Error(u(424)),e),Ra(s),e=xd(t,e,a,n);break t}else for(t=e.stateNode.containerInfo,t.nodeType===9?t=t.body:t=t.nodeName==="HTML"?t.ownerDocument.body:t,Rt=we(t.firstChild),Pt=e,mt=!0,xn=null,Ne=!0,n=Th(e,null,a,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ai(),a===s){e=fn(t,e,n);break t}It(t,e,a,n)}e=e.child}return e;case 26:return cs(t,e),t===null?(n=qm(e.type,null,e.pendingProps,null))?e.memoizedState=n:mt||(n=e.type,t=e.pendingProps,a=Cs(ot.current).createElement(n),a[Wt]=e,a[ce]=t,te(a,n,t),kt(a),e.stateNode=a):e.memoizedState=qm(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return ma(e),t===null&&mt&&(a=e.stateNode=wm(e.type,e.pendingProps,ot.current),Pt=e,Ne=!0,s=Rt,qn(e.type)?(Mr=s,Rt=we(a.firstChild)):Rt=s),It(t,e,e.pendingProps.children,n),cs(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&mt&&((s=a=Rt)&&(a=y1(a,e.type,e.pendingProps,Ne),a!==null?(e.stateNode=a,Pt=e,Rt=we(a.firstChild),Ne=!1,s=!0):s=!1),s||Dn(e)),ma(e),s=e.type,r=e.pendingProps,f=t!==null?t.memoizedProps:null,a=r.children,Sr(s,r)?a=null:f!==null&&Sr(s,f)&&(e.flags|=32),e.memoizedState!==null&&(s=vo(t,e,Rv,null,null,n),il._currentValue=s),cs(t,e),It(t,e,a,n),e.child;case 6:return t===null&&mt&&((t=n=Rt)&&(n=p1(n,e.pendingProps,Ne),n!==null?(e.stateNode=n,Pt=e,Rt=null,t=!0):t=!1),t||Dn(e)),null;case 13:return Dd(t,e,n);case 4:return se(e,e.stateNode.containerInfo),a=e.pendingProps,t===null?e.child=ci(e,null,a,n):It(t,e,a,n),e.child;case 11:return gd(t,e,e.type,e.pendingProps,n);case 7:return It(t,e,e.pendingProps,n),e.child;case 8:return It(t,e,e.pendingProps.children,n),e.child;case 12:return It(t,e,e.pendingProps.children,n),e.child;case 10:return a=e.pendingProps,Cn(e,e.type,a.value),It(t,e,a.children,n),e.child;case 9:return s=e.type._context,a=e.pendingProps.children,si(e),s=$t(s),a=a(s),e.flags|=1,It(t,e,a,n),e.child;case 14:return vd(t,e,e.type,e.pendingProps,n);case 15:return Sd(t,e,e.type,e.pendingProps,n);case 19:return zd(t,e,n);case 31:return jv(t,e,n);case 22:return Td(t,e,n,e.pendingProps);case 24:return si(e),a=$t(Yt),t===null?(s=uo(),s===null&&(s=Ct,r=lo(),s.pooledCache=r,r.refCount++,r!==null&&(s.pooledCacheLanes|=n),s=r),e.memoizedState={parent:a,cache:s},ro(e),Cn(e,Yt,s)):((t.lanes&n)!==0&&(co(t,e),wa(e,null,null,n),La()),s=t.memoizedState,r=e.memoizedState,s.parent!==a?(s={parent:a,cache:a},e.memoizedState=s,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=s),Cn(e,Yt,a)):(a=r.cache,Cn(e,Yt,a),a!==s.cache&&ao(e,[Yt],n,!0))),It(t,e,e.pendingProps.children,n),e.child;case 29:throw e.pendingProps}throw Error(u(156,e.tag))}function hn(t){t.flags|=4}function Ko(t,e,n,a,s){if((e=(t.mode&32)!==0)&&(e=!1),e){if(t.flags|=16777216,(s&335544128)===s)if(t.stateNode.complete)t.flags|=8192;else if(nm())t.flags|=8192;else throw ri=Fl,oo}else t.flags&=-16777217}function Rd(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Zm(e))if(nm())t.flags|=8192;else throw ri=Fl,oo}function hs(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?rf():536870912,t.lanes|=e,Wi|=e)}function Xa(t,e){if(!mt)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 Vt(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 qv(t,e,n){var a=e.pendingProps;switch(Iu(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Vt(e),null;case 1:return Vt(e),null;case 3:return n=e.stateNode,a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),on(Yt),wt(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(t===null||t.child===null)&&(wi(e)?hn(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,eo())),Vt(e),null;case 26:var s=e.type,r=e.memoizedState;return t===null?(hn(e),r!==null?(Vt(e),Rd(e,r)):(Vt(e),Ko(e,s,null,a,n))):r?r!==t.memoizedState?(hn(e),Vt(e),Rd(e,r)):(Vt(e),e.flags&=-16777217):(t=t.memoizedProps,t!==a&&hn(e),Vt(e),Ko(e,s,t,a,n)),null;case 27:if(El(e),n=ot.current,s=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==a&&hn(e);else{if(!a){if(e.stateNode===null)throw Error(u(166));return Vt(e),null}t=k.current,wi(e)?rh(e):(t=wm(s,a,n),e.stateNode=t,hn(e))}return Vt(e),null;case 5:if(El(e),s=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==a&&hn(e);else{if(!a){if(e.stateNode===null)throw Error(u(166));return Vt(e),null}if(r=k.current,wi(e))rh(e);else{var f=Cs(ot.current);switch(r){case 1:r=f.createElementNS("http://www.w3.org/2000/svg",s);break;case 2:r=f.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;default:switch(s){case"svg":r=f.createElementNS("http://www.w3.org/2000/svg",s);break;case"math":r=f.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;case"script":r=f.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild);break;case"select":r=typeof a.is=="string"?f.createElement("select",{is:a.is}):f.createElement("select"),a.multiple?r.multiple=!0:a.size&&(r.size=a.size);break;default:r=typeof a.is=="string"?f.createElement(s,{is:a.is}):f.createElement(s)}}r[Wt]=e,r[ce]=a;t:for(f=e.child;f!==null;){if(f.tag===5||f.tag===6)r.appendChild(f.stateNode);else if(f.tag!==4&&f.tag!==27&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break t;for(;f.sibling===null;){if(f.return===null||f.return===e)break t;f=f.return}f.sibling.return=f.return,f=f.sibling}e.stateNode=r;t:switch(te(r,s,a),s){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break t;case"img":a=!0;break t;default:a=!1}a&&hn(e)}}return Vt(e),Ko(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,n),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==a&&hn(e);else{if(typeof a!="string"&&e.stateNode===null)throw Error(u(166));if(t=ot.current,wi(e)){if(t=e.stateNode,n=e.memoizedProps,a=null,s=Pt,s!==null)switch(s.tag){case 27:case 5:a=s.memoizedProps}t[Wt]=e,t=!!(t.nodeValue===n||a!==null&&a.suppressHydrationWarning===!0||Dm(t.nodeValue,n)),t||Dn(e,!0)}else t=Cs(t).createTextNode(a),t[Wt]=e,e.stateNode=t}return Vt(e),null;case 31:if(n=e.memoizedState,t===null||t.memoizedState!==null){if(a=wi(e),n!==null){if(t===null){if(!a)throw Error(u(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(u(557));t[Wt]=e}else ai(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Vt(e),t=!1}else n=eo(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),t=!0;if(!t)return e.flags&256?(Ee(e),e):(Ee(e),null);if((e.flags&128)!==0)throw Error(u(558))}return Vt(e),null;case 13:if(a=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(s=wi(e),a!==null&&a.dehydrated!==null){if(t===null){if(!s)throw Error(u(318));if(s=e.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(u(317));s[Wt]=e}else ai(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Vt(e),s=!1}else s=eo(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=s),s=!0;if(!s)return e.flags&256?(Ee(e),e):(Ee(e),null)}return Ee(e),(e.flags&128)!==0?(e.lanes=n,e):(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),r=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(r=a.memoizedState.cachePool.pool),r!==s&&(a.flags|=2048)),n!==t&&n&&(e.child.flags|=8192),hs(e,e.updateQueue),Vt(e),null);case 4:return wt(),t===null&&mr(e.stateNode.containerInfo),Vt(e),null;case 10:return on(e.type),Vt(e),null;case 19:if(N(jt),a=e.memoizedState,a===null)return Vt(e),null;if(s=(e.flags&128)!==0,r=a.rendering,r===null)if(s)Xa(a,!1);else{if(Bt!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(r=Il(t),r!==null){for(e.flags|=128,Xa(a,!1),t=r.updateQueue,e.updateQueue=t,hs(e,t),e.subtreeFlags=0,t=n,n=e.child;n!==null;)ah(n,t),n=n.sibling;return G(jt,jt.current&1|2),mt&&sn(e,a.treeForkCount),e.child}t=t.sibling}a.tail!==null&&ge()>gs&&(e.flags|=128,s=!0,Xa(a,!1),e.lanes=4194304)}else{if(!s)if(t=Il(r),t!==null){if(e.flags|=128,s=!0,t=t.updateQueue,e.updateQueue=t,hs(e,t),Xa(a,!0),a.tail===null&&a.tailMode==="hidden"&&!r.alternate&&!mt)return Vt(e),null}else 2*ge()-a.renderingStartTime>gs&&n!==536870912&&(e.flags|=128,s=!0,Xa(a,!1),e.lanes=4194304);a.isBackwards?(r.sibling=e.child,e.child=r):(t=a.last,t!==null?t.sibling=r:e.child=r,a.last=r)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=ge(),t.sibling=null,n=jt.current,G(jt,s?n&1|2:n&1),mt&&sn(e,a.treeForkCount),t):(Vt(e),null);case 22:case 23:return Ee(e),yo(),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&&(Vt(e),e.subtreeFlags&6&&(e.flags|=8192)):Vt(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&&N(ui),null;case 24:return n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),on(Yt),Vt(e),null;case 25:return null;case 30:return null}throw Error(u(156,e.tag))}function Yv(t,e){switch(Iu(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return on(Yt),wt(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return El(e),null;case 31:if(e.memoizedState!==null){if(Ee(e),e.alternate===null)throw Error(u(340));ai()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(Ee(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(u(340));ai()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return N(jt),null;case 4:return wt(),null;case 10:return on(e.type),null;case 22:case 23:return Ee(e),yo(),t!==null&&N(ui),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return on(Yt),null;case 25:return null;default:return null}}function Vd(t,e){switch(Iu(e),e.tag){case 3:on(Yt),wt();break;case 26:case 27:case 5:El(e);break;case 4:wt();break;case 31:e.memoizedState!==null&&Ee(e);break;case 13:Ee(e);break;case 19:N(jt);break;case 10:on(e.type);break;case 22:case 23:Ee(e),yo(),t!==null&&N(ui);break;case 24:on(Yt)}}function Qa(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 r=n.create,f=n.inst;a=r(),f.destroy=a}n=n.next}while(n!==s)}}catch(y){At(e,e.return,y)}}function Un(t,e,n){try{var a=e.updateQueue,s=a!==null?a.lastEffect:null;if(s!==null){var r=s.next;a=r;do{if((a.tag&t)===t){var f=a.inst,y=f.destroy;if(y!==void 0){f.destroy=void 0,s=e;var T=n,D=y;try{D()}catch(V){At(s,T,V)}}}a=a.next}while(a!==r)}}catch(V){At(e,e.return,V)}}function _d(t){var e=t.updateQueue;if(e!==null){var n=t.stateNode;try{Ah(e,n)}catch(a){At(t,t.return,a)}}}function Ud(t,e,n){n.props=hi(t.type,t.memoizedProps),n.state=t.memoizedState;try{n.componentWillUnmount()}catch(a){At(t,e,a)}}function Za(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){At(t,e,s)}}function Fe(t,e){var n=t.ref,a=t.refCleanup;if(n!==null)if(typeof a=="function")try{a()}catch(s){At(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){At(t,e,s)}else n.current=null}function Bd(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){At(t,t.return,s)}}function Jo(t,e,n){try{var a=t.stateNode;r1(a,t.type,n,e),a[ce]=e}catch(s){At(t,t.return,s)}}function Nd(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&qn(t.type)||t.tag===4}function ko(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Nd(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&qn(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Fo(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=nn));else if(a!==4&&(a===27&&qn(t.type)&&(n=t.stateNode,e=null),t=t.child,t!==null))for(Fo(t,e,n),t=t.sibling;t!==null;)Fo(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&&qn(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 Ld(t){var e=t.stateNode,n=t.memoizedProps;try{for(var a=t.type,s=e.attributes;s.length;)e.removeAttributeNode(s[0]);te(e,a,n),e[Wt]=t,e[ce]=n}catch(r){At(t,t.return,r)}}var dn=!1,Qt=!1,Wo=!1,wd=typeof WeakSet=="function"?WeakSet:Set,Ft=null;function Gv(t,e){if(t=t.containerInfo,gr=Bs,t=Ff(t),Gu(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,r=a.focusNode;a=a.focusOffset;try{n.nodeType,r.nodeType}catch{n=null;break t}var f=0,y=-1,T=-1,D=0,V=0,U=t,C=null;e:for(;;){for(var z;U!==n||s!==0&&U.nodeType!==3||(y=f+s),U!==r||a!==0&&U.nodeType!==3||(T=f+a),U.nodeType===3&&(f+=U.nodeValue.length),(z=U.firstChild)!==null;)C=U,U=z;for(;;){if(U===t)break e;if(C===n&&++D===s&&(y=f),C===r&&++V===a&&(T=f),(z=U.nextSibling)!==null)break;U=C,C=U.parentNode}U=z}n=y===-1||T===-1?null:{start:y,end:T}}else n=null}n=n||{start:0,end:0}}else n=null;for(vr={focusedElem:t,selectionRange:n},Bs=!1,Ft=e;Ft!==null;)if(e=Ft,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,Ft=t;else for(;Ft!==null;){switch(e=Ft,r=e.alternate,t=e.flags,e.tag){case 0:if((t&4)!==0&&(t=e.updateQueue,t=t!==null?t.events:null,t!==null))for(n=0;n<t.length;n++)s=t[n],s.ref.impl=s.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&r!==null){t=void 0,n=e,s=r.memoizedProps,r=r.memoizedState,a=n.stateNode;try{var Z=hi(n.type,s);t=a.getSnapshotBeforeUpdate(Z,r),a.__reactInternalSnapshotBeforeUpdate=t}catch(I){At(n,n.return,I)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,n=t.nodeType,n===9)br(t);else if(n===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":br(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(u(163))}if(t=e.sibling,t!==null){t.return=e.return,Ft=t;break}Ft=e.return}}function jd(t,e,n){var a=n.flags;switch(n.tag){case 0:case 11:case 15:yn(t,n),a&4&&Qa(5,n);break;case 1:if(yn(t,n),a&4)if(t=n.stateNode,e===null)try{t.componentDidMount()}catch(f){At(n,n.return,f)}else{var s=hi(n.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(s,e,t.__reactInternalSnapshotBeforeUpdate)}catch(f){At(n,n.return,f)}}a&64&&_d(n),a&512&&Za(n,n.return);break;case 3:if(yn(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{Ah(t,e)}catch(f){At(n,n.return,f)}}break;case 27:e===null&&a&4&&Ld(n);case 26:case 5:yn(t,n),e===null&&a&4&&Bd(n),a&512&&Za(n,n.return);break;case 12:yn(t,n);break;case 31:yn(t,n),a&4&&Yd(t,n);break;case 13:yn(t,n),a&4&&Gd(t,n),a&64&&(t=n.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(n=Pv.bind(null,n),g1(t,n))));break;case 22:if(a=n.memoizedState!==null||dn,!a){e=e!==null&&e.memoizedState!==null||Qt,s=dn;var r=Qt;dn=a,(Qt=e)&&!r?pn(t,n,(n.subtreeFlags&8772)!==0):yn(t,n),dn=s,Qt=r}break;case 30:break;default:yn(t,n)}}function Hd(t){var e=t.alternate;e!==null&&(t.alternate=null,Hd(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&xu(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var _t=null,he=!1;function mn(t,e,n){for(n=n.child;n!==null;)qd(t,e,n),n=n.sibling}function qd(t,e,n){if(ve&&typeof ve.onCommitFiberUnmount=="function")try{ve.onCommitFiberUnmount(ya,n)}catch{}switch(n.tag){case 26:Qt||Fe(n,e),mn(t,e,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:Qt||Fe(n,e);var a=_t,s=he;qn(n.type)&&(_t=n.stateNode,he=!1),mn(t,e,n),tl(n.stateNode),_t=a,he=s;break;case 5:Qt||Fe(n,e);case 6:if(a=_t,s=he,_t=null,mn(t,e,n),_t=a,he=s,_t!==null)if(he)try{(_t.nodeType===9?_t.body:_t.nodeName==="HTML"?_t.ownerDocument.body:_t).removeChild(n.stateNode)}catch(r){At(n,e,r)}else try{_t.removeChild(n.stateNode)}catch(r){At(n,e,r)}break;case 18:_t!==null&&(he?(t=_t,_m(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,n.stateNode),aa(t)):_m(_t,n.stateNode));break;case 4:a=_t,s=he,_t=n.stateNode.containerInfo,he=!0,mn(t,e,n),_t=a,he=s;break;case 0:case 11:case 14:case 15:Un(2,n,e),Qt||Un(4,n,e),mn(t,e,n);break;case 1:Qt||(Fe(n,e),a=n.stateNode,typeof a.componentWillUnmount=="function"&&Ud(n,e,a)),mn(t,e,n);break;case 21:mn(t,e,n);break;case 22:Qt=(a=Qt)||n.memoizedState!==null,mn(t,e,n),Qt=a;break;default:mn(t,e,n)}}function Yd(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{aa(t)}catch(n){At(e,e.return,n)}}}function Gd(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{aa(t)}catch(n){At(e,e.return,n)}}function Xv(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new wd),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new wd),e;default:throw Error(u(435,t.tag))}}function ms(t,e){var n=Xv(t);e.forEach(function(a){if(!n.has(a)){n.add(a);var s=$v.bind(null,t,a);a.then(s,s)}})}function de(t,e){var n=e.deletions;if(n!==null)for(var a=0;a<n.length;a++){var s=n[a],r=t,f=e,y=f;t:for(;y!==null;){switch(y.tag){case 27:if(qn(y.type)){_t=y.stateNode,he=!1;break t}break;case 5:_t=y.stateNode,he=!1;break t;case 3:case 4:_t=y.stateNode.containerInfo,he=!0;break t}y=y.return}if(_t===null)throw Error(u(160));qd(r,f,s),_t=null,he=!1,r=s.alternate,r!==null&&(r.return=null),s.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)Xd(e,t),e=e.sibling}var Ge=null;function Xd(t,e){var n=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:de(e,t),me(t),a&4&&(Un(3,t,t.return),Qa(3,t),Un(5,t,t.return));break;case 1:de(e,t),me(t),a&512&&(Qt||n===null||Fe(n,n.return)),a&64&&dn&&(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=Ge;if(de(e,t),me(t),a&512&&(Qt||n===null||Fe(n,n.return)),a&4){var r=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":r=s.getElementsByTagName("title")[0],(!r||r[va]||r[Wt]||r.namespaceURI==="http://www.w3.org/2000/svg"||r.hasAttribute("itemprop"))&&(r=s.createElement(a),s.head.insertBefore(r,s.querySelector("head > title"))),te(r,a,n),r[Wt]=t,kt(r),a=r;break t;case"link":var f=Xm("link","href",s).get(a+(n.href||""));if(f){for(var y=0;y<f.length;y++)if(r=f[y],r.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&r.getAttribute("rel")===(n.rel==null?null:n.rel)&&r.getAttribute("title")===(n.title==null?null:n.title)&&r.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){f.splice(y,1);break e}}r=s.createElement(a),te(r,a,n),s.head.appendChild(r);break;case"meta":if(f=Xm("meta","content",s).get(a+(n.content||""))){for(y=0;y<f.length;y++)if(r=f[y],r.getAttribute("content")===(n.content==null?null:""+n.content)&&r.getAttribute("name")===(n.name==null?null:n.name)&&r.getAttribute("property")===(n.property==null?null:n.property)&&r.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&r.getAttribute("charset")===(n.charSet==null?null:n.charSet)){f.splice(y,1);break e}}r=s.createElement(a),te(r,a,n),s.head.appendChild(r);break;default:throw Error(u(468,a))}r[Wt]=t,kt(r),a=r}t.stateNode=a}else Qm(s,t.type,t.stateNode);else t.stateNode=Gm(s,a,t.memoizedProps);else r!==a?(r===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):r.count--,a===null?Qm(s,t.type,t.stateNode):Gm(s,a,t.memoizedProps)):a===null&&t.stateNode!==null&&Jo(t,t.memoizedProps,n.memoizedProps)}break;case 27:de(e,t),me(t),a&512&&(Qt||n===null||Fe(n,n.return)),n!==null&&a&4&&Jo(t,t.memoizedProps,n.memoizedProps);break;case 5:if(de(e,t),me(t),a&512&&(Qt||n===null||Fe(n,n.return)),t.flags&32){s=t.stateNode;try{Ci(s,"")}catch(Z){At(t,t.return,Z)}}a&4&&t.stateNode!=null&&(s=t.memoizedProps,Jo(t,s,n!==null?n.memoizedProps:s)),a&1024&&(Wo=!0);break;case 6:if(de(e,t),me(t),a&4){if(t.stateNode===null)throw Error(u(162));a=t.memoizedProps,n=t.stateNode;try{n.nodeValue=a}catch(Z){At(t,t.return,Z)}}break;case 3:if(Rs=null,s=Ge,Ge=zs(e.containerInfo),de(e,t),Ge=s,me(t),a&4&&n!==null&&n.memoizedState.isDehydrated)try{aa(e.containerInfo)}catch(Z){At(t,t.return,Z)}Wo&&(Wo=!1,Qd(t));break;case 4:a=Ge,Ge=zs(t.stateNode.containerInfo),de(e,t),me(t),Ge=a;break;case 12:de(e,t),me(t);break;case 31:de(e,t),me(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,ms(t,a)));break;case 13:de(e,t),me(t),t.child.flags&8192&&t.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(ps=ge()),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,ms(t,a)));break;case 22:s=t.memoizedState!==null;var T=n!==null&&n.memoizedState!==null,D=dn,V=Qt;if(dn=D||s,Qt=V||T,de(e,t),Qt=V,dn=D,me(t),a&8192)t:for(e=t.stateNode,e._visibility=s?e._visibility&-2:e._visibility|1,s&&(n===null||T||dn||Qt||di(t)),n=null,e=t;;){if(e.tag===5||e.tag===26){if(n===null){T=n=e;try{if(r=T.stateNode,s)f=r.style,typeof f.setProperty=="function"?f.setProperty("display","none","important"):f.display="none";else{y=T.stateNode;var U=T.memoizedProps.style,C=U!=null&&U.hasOwnProperty("display")?U.display:null;y.style.display=C==null||typeof C=="boolean"?"":(""+C).trim()}}catch(Z){At(T,T.return,Z)}}}else if(e.tag===6){if(n===null){T=e;try{T.stateNode.nodeValue=s?"":T.memoizedProps}catch(Z){At(T,T.return,Z)}}}else if(e.tag===18){if(n===null){T=e;try{var z=T.stateNode;s?Um(z,!0):Um(T.stateNode,!1)}catch(Z){At(T,T.return,Z)}}}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,ms(t,n))));break;case 19:de(e,t),me(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,ms(t,a)));break;case 30:break;case 21:break;default:de(e,t),me(t)}}function me(t){var e=t.flags;if(e&2){try{for(var n,a=t.return;a!==null;){if(Nd(a)){n=a;break}a=a.return}if(n==null)throw Error(u(160));switch(n.tag){case 27:var s=n.stateNode,r=ko(t);ds(t,r,s);break;case 5:var f=n.stateNode;n.flags&32&&(Ci(f,""),n.flags&=-33);var y=ko(t);ds(t,y,f);break;case 3:case 4:var T=n.stateNode.containerInfo,D=ko(t);Fo(t,D,T);break;default:throw Error(u(161))}}catch(V){At(t,t.return,V)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Qd(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;Qd(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function yn(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)jd(t,e.alternate,e),e=e.sibling}function di(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:Un(4,e,e.return),di(e);break;case 1:Fe(e,e.return);var n=e.stateNode;typeof n.componentWillUnmount=="function"&&Ud(e,e.return,n),di(e);break;case 27:tl(e.stateNode);case 26:case 5:Fe(e,e.return),di(e);break;case 22:e.memoizedState===null&&di(e);break;case 30:di(e);break;default:di(e)}t=t.sibling}}function pn(t,e,n){for(n=n&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var a=e.alternate,s=t,r=e,f=r.flags;switch(r.tag){case 0:case 11:case 15:pn(s,r,n),Qa(4,r);break;case 1:if(pn(s,r,n),a=r,s=a.stateNode,typeof s.componentDidMount=="function")try{s.componentDidMount()}catch(D){At(a,a.return,D)}if(a=r,s=a.updateQueue,s!==null){var y=a.stateNode;try{var T=s.shared.hiddenCallbacks;if(T!==null)for(s.shared.hiddenCallbacks=null,s=0;s<T.length;s++)bh(T[s],y)}catch(D){At(a,a.return,D)}}n&&f&64&&_d(r),Za(r,r.return);break;case 27:Ld(r);case 26:case 5:pn(s,r,n),n&&a===null&&f&4&&Bd(r),Za(r,r.return);break;case 12:pn(s,r,n);break;case 31:pn(s,r,n),n&&f&4&&Yd(s,r);break;case 13:pn(s,r,n),n&&f&4&&Gd(s,r);break;case 22:r.memoizedState===null&&pn(s,r,n),Za(r,r.return);break;case 30:break;default:pn(s,r,n)}e=e.sibling}}function Po(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&&Va(n))}function $o(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Va(t))}function Xe(t,e,n,a){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Zd(t,e,n,a),e=e.sibling}function Zd(t,e,n,a){var s=e.flags;switch(e.tag){case 0:case 11:case 15:Xe(t,e,n,a),s&2048&&Qa(9,e);break;case 1:Xe(t,e,n,a);break;case 3:Xe(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&&Va(t)));break;case 12:if(s&2048){Xe(t,e,n,a),t=e.stateNode;try{var r=e.memoizedProps,f=r.id,y=r.onPostCommit;typeof y=="function"&&y(f,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(T){At(e,e.return,T)}}else Xe(t,e,n,a);break;case 31:Xe(t,e,n,a);break;case 13:Xe(t,e,n,a);break;case 23:break;case 22:r=e.stateNode,f=e.alternate,e.memoizedState!==null?r._visibility&2?Xe(t,e,n,a):Ka(t,e):r._visibility&2?Xe(t,e,n,a):(r._visibility|=2,Ji(t,e,n,a,(e.subtreeFlags&10256)!==0||!1)),s&2048&&Po(f,e);break;case 24:Xe(t,e,n,a),s&2048&&$o(e.alternate,e);break;default:Xe(t,e,n,a)}}function Ji(t,e,n,a,s){for(s=s&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var r=t,f=e,y=n,T=a,D=f.flags;switch(f.tag){case 0:case 11:case 15:Ji(r,f,y,T,s),Qa(8,f);break;case 23:break;case 22:var V=f.stateNode;f.memoizedState!==null?V._visibility&2?Ji(r,f,y,T,s):Ka(r,f):(V._visibility|=2,Ji(r,f,y,T,s)),s&&D&2048&&Po(f.alternate,f);break;case 24:Ji(r,f,y,T,s),s&&D&2048&&$o(f.alternate,f);break;default:Ji(r,f,y,T,s)}e=e.sibling}}function Ka(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:Ka(n,a),s&2048&&Po(a.alternate,a);break;case 24:Ka(n,a),s&2048&&$o(a.alternate,a);break;default:Ka(n,a)}e=e.sibling}}var Ja=8192;function ki(t,e,n){if(t.subtreeFlags&Ja)for(t=t.child;t!==null;)Kd(t,e,n),t=t.sibling}function Kd(t,e,n){switch(t.tag){case 26:ki(t,e,n),t.flags&Ja&&t.memoizedState!==null&&O1(n,Ge,t.memoizedState,t.memoizedProps);break;case 5:ki(t,e,n);break;case 3:case 4:var a=Ge;Ge=zs(t.stateNode.containerInfo),ki(t,e,n),Ge=a;break;case 22:t.memoizedState===null&&(a=t.alternate,a!==null&&a.memoizedState!==null?(a=Ja,Ja=16777216,ki(t,e,n),Ja=a):ki(t,e,n));break;default:ki(t,e,n)}}function Jd(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 ka(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];Ft=a,Fd(a,t)}Jd(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)kd(t),t=t.sibling}function kd(t){switch(t.tag){case 0:case 11:case 15:ka(t),t.flags&2048&&Un(9,t,t.return);break;case 3:ka(t);break;case 12:ka(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,ys(t)):ka(t);break;default:ka(t)}}function ys(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];Ft=a,Fd(a,t)}Jd(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:Un(8,e,e.return),ys(e);break;case 22:n=e.stateNode,n._visibility&2&&(n._visibility&=-3,ys(e));break;default:ys(e)}t=t.sibling}}function Fd(t,e){for(;Ft!==null;){var n=Ft;switch(n.tag){case 0:case 11:case 15:Un(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:Va(n.memoizedState.cache)}if(a=n.child,a!==null)a.return=n,Ft=a;else t:for(n=t;Ft!==null;){a=Ft;var s=a.sibling,r=a.return;if(Hd(a),a===n){Ft=null;break t}if(s!==null){s.return=r,Ft=s;break t}Ft=r}}}var Qv={getCacheForType:function(t){var e=$t(Yt),n=e.data.get(t);return n===void 0&&(n=t(),e.data.set(t,n)),n},cacheSignal:function(){return $t(Yt).controller.signal}},Zv=typeof WeakMap=="function"?WeakMap:Map,vt=0,Ct=null,rt=null,ft=0,bt=0,Me=null,Bn=!1,Fi=!1,Io=!1,gn=0,Bt=0,Nn=0,mi=0,tr=0,xe=0,Wi=0,Fa=null,ye=null,er=!1,ps=0,Wd=0,gs=1/0,vs=null,Ln=null,Kt=0,wn=null,Pi=null,vn=0,nr=0,ir=null,Pd=null,Wa=0,ar=null;function De(){return(vt&2)!==0&&ft!==0?ft&-ft:R.T!==null?cr():df()}function $d(){if(xe===0)if((ft&536870912)===0||mt){var t=Dl;Dl<<=1,(Dl&3932160)===0&&(Dl=262144),xe=t}else xe=536870912;return t=Ae.current,t!==null&&(t.flags|=32),xe}function pe(t,e,n){(t===Ct&&(bt===2||bt===9)||t.cancelPendingCommit!==null)&&($i(t,0),jn(t,ft,xe,!1)),ga(t,n),((vt&2)===0||t!==Ct)&&(t===Ct&&((vt&2)===0&&(mi|=n),Bt===4&&jn(t,ft,xe,!1)),We(t))}function Id(t,e,n){if((vt&6)!==0)throw Error(u(327));var a=!n&&(e&127)===0&&(e&t.expiredLanes)===0||pa(t,e),s=a?kv(t,e):sr(t,e,!0),r=a;do{if(s===0){Fi&&!a&&jn(t,e,0,!1);break}else{if(n=t.current.alternate,r&&!Kv(n)){s=sr(t,e,!1),r=!1;continue}if(s===2){if(r=e,t.errorRecoveryDisabledLanes&r)var f=0;else f=t.pendingLanes&-536870913,f=f!==0?f:f&536870912?536870912:0;if(f!==0){e=f;t:{var y=t;s=Fa;var T=y.current.memoizedState.isDehydrated;if(T&&($i(y,f).flags|=256),f=sr(y,f,!1),f!==2){if(Io&&!T){y.errorRecoveryDisabledLanes|=r,mi|=r,s=4;break t}r=ye,ye=s,r!==null&&(ye===null?ye=r:ye.push.apply(ye,r))}s=f}if(r=!1,s!==2)continue}}if(s===1){$i(t,0),jn(t,e,0,!0);break}t:{switch(a=t,r=s,r){case 0:case 1:throw Error(u(345));case 4:if((e&4194048)!==e)break;case 6:jn(a,e,xe,!Bn);break t;case 2:ye=null;break;case 3:case 5:break;default:throw Error(u(329))}if((e&62914560)===e&&(s=ps+300-ge(),10<s)){if(jn(a,e,xe,!Bn),zl(a,0,!0)!==0)break t;vn=e,a.timeoutHandle=Rm(tm.bind(null,a,n,ye,vs,er,e,xe,mi,Wi,Bn,r,"Throttled",-0,0),s);break t}tm(a,n,ye,vs,er,e,xe,mi,Wi,Bn,r,null,-0,0)}}break}while(!0);We(t)}function tm(t,e,n,a,s,r,f,y,T,D,V,U,C,z){if(t.timeoutHandle=-1,U=e.subtreeFlags,U&8192||(U&16785408)===16785408){U={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:nn},Kd(e,r,U);var Z=(r&62914560)===r?ps-ge():(r&4194048)===r?Wd-ge():0;if(Z=R1(U,Z),Z!==null){vn=r,t.cancelPendingCommit=Z(om.bind(null,t,e,r,n,a,s,f,y,T,V,U,null,C,z)),jn(t,r,f,!D);return}}om(t,e,r,n,a,s,f,y,T)}function Kv(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],r=s.getSnapshot;s=s.value;try{if(!Te(r(),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 jn(t,e,n,a){e&=~tr,e&=~mi,t.suspendedLanes|=e,t.pingedLanes&=~e,a&&(t.warmLanes|=e),a=t.expirationTimes;for(var s=e;0<s;){var r=31-Se(s),f=1<<r;a[r]=-1,s&=~f}n!==0&&cf(t,n,e)}function Ss(){return(vt&6)===0?(Pa(0),!1):!0}function lr(){if(rt!==null){if(bt===0)var t=rt.return;else t=rt,un=li=null,bo(t),Gi=null,Ua=0,t=rt;for(;t!==null;)Vd(t.alternate,t),t=t.return;rt=null}}function $i(t,e){var n=t.timeoutHandle;n!==-1&&(t.timeoutHandle=-1,h1(n)),n=t.cancelPendingCommit,n!==null&&(t.cancelPendingCommit=null,n()),vn=0,lr(),Ct=t,rt=n=ln(t.current,null),ft=e,bt=0,Me=null,Bn=!1,Fi=pa(t,e),Io=!1,Wi=xe=tr=mi=Nn=Bt=0,ye=Fa=null,er=!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-Se(a),r=1<<s;e|=t[s],a&=~r}return gn=e,ql(),n}function em(t,e){at=null,R.H=Ya,e===Yi||e===kl?(e=gh(),bt=3):e===oo?(e=gh(),bt=4):bt=e===wo?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,Me=e,rt===null&&(Bt=1,os(t,_e(e,t.current)))}function nm(){var t=Ae.current;return t===null?!0:(ft&4194048)===ft?Le===null:(ft&62914560)===ft||(ft&536870912)!==0?t===Le:!1}function im(){var t=R.H;return R.H=Ya,t===null?Ya:t}function am(){var t=R.A;return R.A=Qv,t}function Ts(){Bt=4,Bn||(ft&4194048)!==ft&&Ae.current!==null||(Fi=!0),(Nn&134217727)===0&&(mi&134217727)===0||Ct===null||jn(Ct,ft,xe,!1)}function sr(t,e,n){var a=vt;vt|=2;var s=im(),r=am();(Ct!==t||ft!==e)&&(vs=null,$i(t,e)),e=!1;var f=Bt;t:do try{if(bt!==0&&rt!==null){var y=rt,T=Me;switch(bt){case 8:lr(),f=6;break t;case 3:case 2:case 9:case 6:Ae.current===null&&(e=!0);var D=bt;if(bt=0,Me=null,Ii(t,y,T,D),n&&Fi){f=0;break t}break;default:D=bt,bt=0,Me=null,Ii(t,y,T,D)}}Jv(),f=Bt;break}catch(V){em(t,V)}while(!0);return e&&t.shellSuspendCounter++,un=li=null,vt=a,R.H=s,R.A=r,rt===null&&(Ct=null,ft=0,ql()),f}function Jv(){for(;rt!==null;)lm(rt)}function kv(t,e){var n=vt;vt|=2;var a=im(),s=am();Ct!==t||ft!==e?(vs=null,gs=ge()+500,$i(t,e)):Fi=pa(t,e);t:do try{if(bt!==0&&rt!==null){e=rt;var r=Me;e:switch(bt){case 1:bt=0,Me=null,Ii(t,e,r,1);break;case 2:case 9:if(yh(r)){bt=0,Me=null,sm(e);break}e=function(){bt!==2&&bt!==9||Ct!==t||(bt=7),We(t)},r.then(e,e);break t;case 3:bt=7;break t;case 4:bt=5;break t;case 7:yh(r)?(bt=0,Me=null,sm(e)):(bt=0,Me=null,Ii(t,e,r,7));break;case 5:var f=null;switch(rt.tag){case 26:f=rt.memoizedState;case 5:case 27:var y=rt;if(f?Zm(f):y.stateNode.complete){bt=0,Me=null;var T=y.sibling;if(T!==null)rt=T;else{var D=y.return;D!==null?(rt=D,bs(D)):rt=null}break e}}bt=0,Me=null,Ii(t,e,r,5);break;case 6:bt=0,Me=null,Ii(t,e,r,6);break;case 8:lr(),Bt=6;break t;default:throw Error(u(462))}}Fv();break}catch(V){em(t,V)}while(!0);return un=li=null,R.H=a,R.A=s,vt=n,rt!==null?0:(Ct=null,ft=0,ql(),Bt)}function Fv(){for(;rt!==null&&!v0();)lm(rt)}function lm(t){var e=Od(t.alternate,t,gn);t.memoizedProps=t.pendingProps,e===null?bs(t):rt=e}function sm(t){var e=t,n=e.alternate;switch(e.tag){case 15:case 0:e=Ed(n,e,e.pendingProps,e.type,void 0,ft);break;case 11:e=Ed(n,e,e.pendingProps,e.type.render,e.ref,ft);break;case 5:bo(e);default:Vd(n,e),e=rt=ah(e,gn),e=Od(n,e,gn)}t.memoizedProps=t.pendingProps,e===null?bs(t):rt=e}function Ii(t,e,n,a){un=li=null,bo(e),Gi=null,Ua=0;var s=e.return;try{if(wv(t,s,e,n,ft)){Bt=1,os(t,_e(n,t.current)),rt=null;return}}catch(r){if(s!==null)throw rt=s,r;Bt=1,os(t,_e(n,t.current)),rt=null;return}e.flags&32768?(mt||a===1?t=!0:Fi||(ft&536870912)!==0?t=!1:(Bn=t=!0,(a===2||a===9||a===3||a===6)&&(a=Ae.current,a!==null&&a.tag===13&&(a.flags|=16384))),um(e,t)):bs(e)}function bs(t){var e=t;do{if((e.flags&32768)!==0){um(e,Bn);return}t=e.return;var n=qv(e.alternate,e,gn);if(n!==null){rt=n;return}if(e=e.sibling,e!==null){rt=e;return}rt=e=t}while(e!==null);Bt===0&&(Bt=5)}function um(t,e){do{var n=Yv(t.alternate,t);if(n!==null){n.flags&=32767,rt=n;return}if(n=t.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!e&&(t=t.sibling,t!==null)){rt=t;return}rt=t=n}while(t!==null);Bt=6,rt=null}function om(t,e,n,a,s,r,f,y,T){t.cancelPendingCommit=null;do As();while(Kt!==0);if((vt&6)!==0)throw Error(u(327));if(e!==null){if(e===t.current)throw Error(u(177));if(r=e.lanes|e.childLanes,r|=Ju,z0(t,n,r,f,y,T),t===Ct&&(rt=Ct=null,ft=0),Pi=e,wn=t,vn=n,nr=r,ir=s,Pd=a,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,Iv(Ml,function(){return dm(),null})):(t.callbackNode=null,t.callbackPriority=0),a=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||a){a=R.T,R.T=null,s=q.p,q.p=2,f=vt,vt|=4;try{Gv(t,e,n)}finally{vt=f,q.p=s,R.T=a}}Kt=1,rm(),cm(),fm()}}function rm(){if(Kt===1){Kt=0;var t=wn,e=Pi,n=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||n){n=R.T,R.T=null;var a=q.p;q.p=2;var s=vt;vt|=4;try{Xd(e,t);var r=vr,f=Ff(t.containerInfo),y=r.focusedElem,T=r.selectionRange;if(f!==y&&y&&y.ownerDocument&&kf(y.ownerDocument.documentElement,y)){if(T!==null&&Gu(y)){var D=T.start,V=T.end;if(V===void 0&&(V=D),"selectionStart"in y)y.selectionStart=D,y.selectionEnd=Math.min(V,y.value.length);else{var U=y.ownerDocument||document,C=U&&U.defaultView||window;if(C.getSelection){var z=C.getSelection(),Z=y.textContent.length,I=Math.min(T.start,Z),Dt=T.end===void 0?I:Math.min(T.end,Z);!z.extend&&I>Dt&&(f=Dt,Dt=I,I=f);var M=Jf(y,I),b=Jf(y,Dt);if(M&&b&&(z.rangeCount!==1||z.anchorNode!==M.node||z.anchorOffset!==M.offset||z.focusNode!==b.node||z.focusOffset!==b.offset)){var x=U.createRange();x.setStart(M.node,M.offset),z.removeAllRanges(),I>Dt?(z.addRange(x),z.extend(b.node,b.offset)):(x.setEnd(b.node,b.offset),z.addRange(x))}}}}for(U=[],z=y;z=z.parentNode;)z.nodeType===1&&U.push({element:z,left:z.scrollLeft,top:z.scrollTop});for(typeof y.focus=="function"&&y.focus(),y=0;y<U.length;y++){var _=U[y];_.element.scrollLeft=_.left,_.element.scrollTop=_.top}}Bs=!!gr,vr=gr=null}finally{vt=s,q.p=a,R.T=n}}t.current=e,Kt=2}}function cm(){if(Kt===2){Kt=0;var t=wn,e=Pi,n=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||n){n=R.T,R.T=null;var a=q.p;q.p=2;var s=vt;vt|=4;try{jd(t,e.alternate,e)}finally{vt=s,q.p=a,R.T=n}}Kt=3}}function fm(){if(Kt===4||Kt===3){Kt=0,S0();var t=wn,e=Pi,n=vn,a=Pd;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?Kt=5:(Kt=0,Pi=wn=null,hm(t,t.pendingLanes));var s=t.pendingLanes;if(s===0&&(Ln=null),Eu(n),e=e.stateNode,ve&&typeof ve.onCommitFiberRoot=="function")try{ve.onCommitFiberRoot(ya,e,void 0,(e.current.flags&128)===128)}catch{}if(a!==null){e=R.T,s=q.p,q.p=2,R.T=null;try{for(var r=t.onRecoverableError,f=0;f<a.length;f++){var y=a[f];r(y.value,{componentStack:y.stack})}}finally{R.T=e,q.p=s}}(vn&3)!==0&&As(),We(t),s=t.pendingLanes,(n&261930)!==0&&(s&42)!==0?t===ar?Wa++:(Wa=0,ar=t):Wa=0,Pa(0)}}function hm(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,Va(e)))}function As(){return rm(),cm(),fm(),dm()}function dm(){if(Kt!==5)return!1;var t=wn,e=nr;nr=0;var n=Eu(vn),a=R.T,s=q.p;try{q.p=32>n?32:n,R.T=null,n=ir,ir=null;var r=wn,f=vn;if(Kt=0,Pi=wn=null,vn=0,(vt&6)!==0)throw Error(u(331));var y=vt;if(vt|=4,kd(r.current),Zd(r,r.current,f,n),vt=y,Pa(0,!1),ve&&typeof ve.onPostCommitFiberRoot=="function")try{ve.onPostCommitFiberRoot(ya,r)}catch{}return!0}finally{q.p=s,R.T=a,hm(t,e)}}function mm(t,e,n){e=_e(n,e),e=Lo(t.stateNode,e,2),t=Rn(t,e,2),t!==null&&(ga(t,2),We(t))}function At(t,e,n){if(t.tag===3)mm(t,t,n);else for(;e!==null;){if(e.tag===3){mm(e,t,n);break}else if(e.tag===1){var a=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Ln===null||!Ln.has(a))){t=_e(n,t),n=yd(2),a=Rn(e,n,2),a!==null&&(pd(n,a,e,t),ga(a,2),We(a));break}}e=e.return}}function ur(t,e,n){var a=t.pingCache;if(a===null){a=t.pingCache=new Zv;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)||(Io=!0,s.add(n),t=Wv.bind(null,t,e,n),e.then(t,t))}function Wv(t,e,n){var a=t.pingCache;a!==null&&a.delete(e),t.pingedLanes|=t.suspendedLanes&n,t.warmLanes&=~n,Ct===t&&(ft&n)===n&&(Bt===4||Bt===3&&(ft&62914560)===ft&&300>ge()-ps?(vt&2)===0&&$i(t,0):tr|=n,Wi===ft&&(Wi=0)),We(t)}function ym(t,e){e===0&&(e=rf()),t=ni(t,e),t!==null&&(ga(t,e),We(t))}function Pv(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),ym(t,n)}function $v(t,e){var n=0;switch(t.tag){case 31: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(u(314))}a!==null&&a.delete(e),ym(t,n)}function Iv(t,e){return Su(t,e)}var Es=null,ta=null,or=!1,Ms=!1,rr=!1,Hn=0;function We(t){t!==ta&&t.next===null&&(ta===null?Es=ta=t:ta=ta.next=t),Ms=!0,or||(or=!0,e1())}function Pa(t,e){if(!rr&&Ms){rr=!0;do for(var n=!1,a=Es;a!==null;){if(t!==0){var s=a.pendingLanes;if(s===0)var r=0;else{var f=a.suspendedLanes,y=a.pingedLanes;r=(1<<31-Se(42|t)+1)-1,r&=s&~(f&~y),r=r&201326741?r&201326741|1:r?r|2:0}r!==0&&(n=!0,Sm(a,r))}else r=ft,r=zl(a,a===Ct?r:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(r&3)===0||pa(a,r)||(n=!0,Sm(a,r));a=a.next}while(n);rr=!1}}function t1(){pm()}function pm(){Ms=or=!1;var t=0;Hn!==0&&f1()&&(t=Hn);for(var e=ge(),n=null,a=Es;a!==null;){var s=a.next,r=gm(a,e);r===0?(a.next=null,n===null?Es=s:n.next=s,s===null&&(ta=n)):(n=a,(t!==0||(r&3)!==0)&&(Ms=!0)),a=s}Kt!==0&&Kt!==5||Pa(t),Hn!==0&&(Hn=0)}function gm(t,e){for(var n=t.suspendedLanes,a=t.pingedLanes,s=t.expirationTimes,r=t.pendingLanes&-62914561;0<r;){var f=31-Se(r),y=1<<f,T=s[f];T===-1?((y&n)===0||(y&a)!==0)&&(s[f]=C0(y,e)):T<=e&&(t.expiredLanes|=y),r&=~y}if(e=Ct,n=ft,n=zl(t,t===e?n:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a=t.callbackNode,n===0||t===e&&(bt===2||bt===9)||t.cancelPendingCommit!==null)return a!==null&&a!==null&&Tu(a),t.callbackNode=null,t.callbackPriority=0;if((n&3)===0||pa(t,n)){if(e=n&-n,e===t.callbackPriority)return e;switch(a!==null&&Tu(a),Eu(n)){case 2:case 8:n=uf;break;case 32:n=Ml;break;case 268435456:n=of;break;default:n=Ml}return a=vm.bind(null,t),n=Su(n,a),t.callbackPriority=e,t.callbackNode=n,e}return a!==null&&a!==null&&Tu(a),t.callbackPriority=2,t.callbackNode=null,2}function vm(t,e){if(Kt!==0&&Kt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var n=t.callbackNode;if(As()&&t.callbackNode!==n)return null;var a=ft;return a=zl(t,t===Ct?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a===0?null:(Id(t,a,e),gm(t,ge()),t.callbackNode!=null&&t.callbackNode===n?vm.bind(null,t):null)}function Sm(t,e){if(As())return null;Id(t,e,!0)}function e1(){d1(function(){(vt&6)!==0?Su(sf,t1):pm()})}function cr(){if(Hn===0){var t=Hi;t===0&&(t=xl,xl<<=1,(xl&261888)===0&&(xl=256)),Hn=t}return Hn}function Tm(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:_l(""+t)}function bm(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 n1(t,e,n,a,s){if(e==="submit"&&n&&n.stateNode===s){var r=Tm((s[ce]||null).action),f=a.submitter;f&&(e=(e=f[ce]||null)?Tm(e.formAction):f.getAttribute("formAction"),e!==null&&(r=e,f=null));var y=new Ll("action","action",null,a,s);t.push({event:y,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Hn!==0){var T=f?bm(s,f):new FormData(s);Ro(n,{pending:!0,data:T,method:s.method,action:r},null,T)}}else typeof r=="function"&&(y.preventDefault(),T=f?bm(s,f):new FormData(s),Ro(n,{pending:!0,data:T,method:s.method,action:r},r,T))},currentTarget:s}]})}}for(var fr=0;fr<Ku.length;fr++){var hr=Ku[fr],i1=hr.toLowerCase(),a1=hr[0].toUpperCase()+hr.slice(1);Ye(i1,"on"+a1)}Ye($f,"onAnimationEnd"),Ye(If,"onAnimationIteration"),Ye(th,"onAnimationStart"),Ye("dblclick","onDoubleClick"),Ye("focusin","onFocus"),Ye("focusout","onBlur"),Ye(Tv,"onTransitionRun"),Ye(bv,"onTransitionStart"),Ye(Av,"onTransitionCancel"),Ye(eh,"onTransitionEnd"),xi("onMouseEnter",["mouseout","mouseover"]),xi("onMouseLeave",["mouseout","mouseover"]),xi("onPointerEnter",["pointerout","pointerover"]),xi("onPointerLeave",["pointerout","pointerover"]),$n("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),$n("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),$n("onBeforeInput",["compositionend","keypress","textInput","paste"]),$n("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),$n("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),$n("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var $a="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(" "),l1=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat($a));function Am(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 r=void 0;if(e)for(var f=a.length-1;0<=f;f--){var y=a[f],T=y.instance,D=y.currentTarget;if(y=y.listener,T!==r&&s.isPropagationStopped())break t;r=y,s.currentTarget=D;try{r(s)}catch(V){Hl(V)}s.currentTarget=null,r=T}else for(f=0;f<a.length;f++){if(y=a[f],T=y.instance,D=y.currentTarget,y=y.listener,T!==r&&s.isPropagationStopped())break t;r=y,s.currentTarget=D;try{r(s)}catch(V){Hl(V)}s.currentTarget=null,r=T}}}}function ct(t,e){var n=e[Mu];n===void 0&&(n=e[Mu]=new Set);var a=t+"__bubble";n.has(a)||(Em(e,t,2,!1),n.add(a))}function dr(t,e,n){var a=0;e&&(a|=4),Em(n,t,a,e)}var xs="_reactListening"+Math.random().toString(36).slice(2);function mr(t){if(!t[xs]){t[xs]=!0,pf.forEach(function(n){n!=="selectionchange"&&(l1.has(n)||dr(n,!1,t),dr(n,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[xs]||(e[xs]=!0,dr("selectionchange",!1,e))}}function Em(t,e,n,a){switch($m(e)){case 2:var s=U1;break;case 8:s=B1;break;default:s=Or}n=s.bind(null,e,n,t),s=void 0,!Uu||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 yr(t,e,n,a,s){var r=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 y=a.stateNode.containerInfo;if(y===s)break;if(f===4)for(f=a.return;f!==null;){var T=f.tag;if((T===3||T===4)&&f.stateNode.containerInfo===s)return;f=f.return}for(;y!==null;){if(f=Ai(y),f===null)return;if(T=f.tag,T===5||T===6||T===26||T===27){a=r=f;continue t}y=y.parentNode}}a=a.return}zf(function(){var D=r,V=Vu(n),U=[];t:{var C=nh.get(t);if(C!==void 0){var z=Ll,Z=t;switch(t){case"keypress":if(Bl(n)===0)break t;case"keydown":case"keyup":z=$0;break;case"focusin":Z="focus",z=wu;break;case"focusout":Z="blur",z=wu;break;case"beforeblur":case"afterblur":z=wu;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":z=Vf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":z=q0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":z=ev;break;case $f:case If:case th:z=X0;break;case eh:z=iv;break;case"scroll":case"scrollend":z=j0;break;case"wheel":z=lv;break;case"copy":case"cut":case"paste":z=Z0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":z=Uf;break;case"toggle":case"beforetoggle":z=uv}var I=(e&4)!==0,Dt=!I&&(t==="scroll"||t==="scrollend"),M=I?C!==null?C+"Capture":null:C;I=[];for(var b=D,x;b!==null;){var _=b;if(x=_.stateNode,_=_.tag,_!==5&&_!==26&&_!==27||x===null||M===null||(_=Ta(b,M),_!=null&&I.push(Ia(b,_,x))),Dt)break;b=b.return}0<I.length&&(C=new z(C,Z,null,n,V),U.push({event:C,listeners:I}))}}if((e&7)===0){t:{if(C=t==="mouseover"||t==="pointerover",z=t==="mouseout"||t==="pointerout",C&&n!==Ru&&(Z=n.relatedTarget||n.fromElement)&&(Ai(Z)||Z[bi]))break t;if((z||C)&&(C=V.window===V?V:(C=V.ownerDocument)?C.defaultView||C.parentWindow:window,z?(Z=n.relatedTarget||n.toElement,z=D,Z=Z?Ai(Z):null,Z!==null&&(Dt=d(Z),I=Z.tag,Z!==Dt||I!==5&&I!==27&&I!==6)&&(Z=null)):(z=null,Z=D),z!==Z)){if(I=Vf,_="onMouseLeave",M="onMouseEnter",b="mouse",(t==="pointerout"||t==="pointerover")&&(I=Uf,_="onPointerLeave",M="onPointerEnter",b="pointer"),Dt=z==null?C:Sa(z),x=Z==null?C:Sa(Z),C=new I(_,b+"leave",z,n,V),C.target=Dt,C.relatedTarget=x,_=null,Ai(V)===D&&(I=new I(M,b+"enter",Z,n,V),I.target=x,I.relatedTarget=Dt,_=I),Dt=_,z&&Z)e:{for(I=s1,M=z,b=Z,x=0,_=M;_;_=I(_))x++;_=0;for(var $=b;$;$=I($))_++;for(;0<x-_;)M=I(M),x--;for(;0<_-x;)b=I(b),_--;for(;x--;){if(M===b||b!==null&&M===b.alternate){I=M;break e}M=I(M),b=I(b)}I=null}else I=null;z!==null&&Mm(U,C,z,I,!1),Z!==null&&Dt!==null&&Mm(U,Dt,Z,I,!0)}}t:{if(C=D?Sa(D):window,z=C.nodeName&&C.nodeName.toLowerCase(),z==="select"||z==="input"&&C.type==="file")var yt=Yf;else if(Hf(C))if(Gf)yt=gv;else{yt=yv;var F=mv}else z=C.nodeName,!z||z.toLowerCase()!=="input"||C.type!=="checkbox"&&C.type!=="radio"?D&&Ou(D.elementType)&&(yt=Yf):yt=pv;if(yt&&(yt=yt(t,D))){qf(U,yt,n,V);break t}F&&F(t,C,D),t==="focusout"&&D&&C.type==="number"&&D.memoizedProps.value!=null&&zu(C,"number",C.value)}switch(F=D?Sa(D):window,t){case"focusin":(Hf(F)||F.contentEditable==="true")&&(Vi=F,Xu=D,za=null);break;case"focusout":za=Xu=Vi=null;break;case"mousedown":Qu=!0;break;case"contextmenu":case"mouseup":case"dragend":Qu=!1,Wf(U,n,V);break;case"selectionchange":if(Sv)break;case"keydown":case"keyup":Wf(U,n,V)}var st;if(Hu)t:{switch(t){case"compositionstart":var ht="onCompositionStart";break t;case"compositionend":ht="onCompositionEnd";break t;case"compositionupdate":ht="onCompositionUpdate";break t}ht=void 0}else Ri?wf(t,n)&&(ht="onCompositionEnd"):t==="keydown"&&n.keyCode===229&&(ht="onCompositionStart");ht&&(Bf&&n.locale!=="ko"&&(Ri||ht!=="onCompositionStart"?ht==="onCompositionEnd"&&Ri&&(st=Of()):(En=V,Bu="value"in En?En.value:En.textContent,Ri=!0)),F=Ds(D,ht),0<F.length&&(ht=new _f(ht,t,null,n,V),U.push({event:ht,listeners:F}),st?ht.data=st:(st=jf(n),st!==null&&(ht.data=st)))),(st=rv?cv(t,n):fv(t,n))&&(ht=Ds(D,"onBeforeInput"),0<ht.length&&(F=new _f("onBeforeInput","beforeinput",null,n,V),U.push({event:F,listeners:ht}),F.data=st)),n1(U,t,D,n,V)}Am(U,e)})}function Ia(t,e,n){return{instance:t,listener:e,currentTarget:n}}function Ds(t,e){for(var n=e+"Capture",a=[];t!==null;){var s=t,r=s.stateNode;if(s=s.tag,s!==5&&s!==26&&s!==27||r===null||(s=Ta(t,n),s!=null&&a.unshift(Ia(t,s,r)),s=Ta(t,e),s!=null&&a.push(Ia(t,s,r))),t.tag===3)return a;t=t.return}return[]}function s1(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function Mm(t,e,n,a,s){for(var r=e._reactName,f=[];n!==null&&n!==a;){var y=n,T=y.alternate,D=y.stateNode;if(y=y.tag,T!==null&&T===a)break;y!==5&&y!==26&&y!==27||D===null||(T=D,s?(D=Ta(n,r),D!=null&&f.unshift(Ia(n,D,T))):s||(D=Ta(n,r),D!=null&&f.push(Ia(n,D,T)))),n=n.return}f.length!==0&&t.push({event:e,listeners:f})}var u1=/\r\n?/g,o1=/\u0000|\uFFFD/g;function xm(t){return(typeof t=="string"?t:""+t).replace(u1,`
9
+ `).replace(o1,"")}function Dm(t,e){return e=xm(e),xm(t)===e}function xt(t,e,n,a,s,r){switch(n){case"children":typeof a=="string"?e==="body"||e==="textarea"&&a===""||Ci(t,a):(typeof a=="number"||typeof a=="bigint")&&e!=="body"&&Ci(t,""+a);break;case"className":Rl(t,"class",a);break;case"tabIndex":Rl(t,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Rl(t,n,a);break;case"style":Df(t,a,r);break;case"data":if(e!=="object"){Rl(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=_l(""+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 r=="function"&&(n==="formAction"?(e!=="input"&&xt(t,e,"name",s.name,s,null),xt(t,e,"formEncType",s.formEncType,s,null),xt(t,e,"formMethod",s.formMethod,s,null),xt(t,e,"formTarget",s.formTarget,s,null)):(xt(t,e,"encType",s.encType,s,null),xt(t,e,"method",s.method,s,null),xt(t,e,"target",s.target,s,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(n);break}a=_l(""+a),t.setAttribute(n,a);break;case"onClick":a!=null&&(t.onclick=nn);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(u(61));if(n=a.__html,n!=null){if(s.children!=null)throw Error(u(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=_l(""+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":en(t,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":en(t,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":en(t,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":en(t,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":en(t,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":en(t,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":en(t,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":en(t,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":en(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=L0.get(n)||n,Ol(t,n,a))}}function pr(t,e,n,a,s,r){switch(n){case"style":Df(t,a,r);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(u(61));if(n=a.__html,n!=null){if(s.children!=null)throw Error(u(60));t.innerHTML=n}}break;case"children":typeof a=="string"?Ci(t,a):(typeof a=="number"||typeof a=="bigint")&&Ci(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=nn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!gf.hasOwnProperty(n))t:{if(n[0]==="o"&&n[1]==="n"&&(s=n.endsWith("Capture"),e=n.slice(2,s?n.length-7:void 0),r=t[ce]||null,r=r!=null?r[n]:null,typeof r=="function"&&t.removeEventListener(e,r,s),typeof a=="function")){typeof r!="function"&&r!==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 te(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,r;for(r in n)if(n.hasOwnProperty(r)){var f=n[r];if(f!=null)switch(r){case"src":a=!0;break;case"srcSet":s=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(u(137,e));default:xt(t,e,r,f,n,null)}}s&&xt(t,e,"srcSet",n.srcSet,n,null),a&&xt(t,e,"src",n.src,n,null);return;case"input":ct("invalid",t);var y=r=f=s=null,T=null,D=null;for(a in n)if(n.hasOwnProperty(a)){var V=n[a];if(V!=null)switch(a){case"name":s=V;break;case"type":f=V;break;case"checked":T=V;break;case"defaultChecked":D=V;break;case"value":r=V;break;case"defaultValue":y=V;break;case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(u(137,e));break;default:xt(t,e,a,V,n,null)}}Af(t,r,y,T,D,f,s,!1);return;case"select":ct("invalid",t),a=f=r=null;for(s in n)if(n.hasOwnProperty(s)&&(y=n[s],y!=null))switch(s){case"value":r=y;break;case"defaultValue":f=y;break;case"multiple":a=y;default:xt(t,e,s,y,n,null)}e=r,n=f,t.multiple=!!a,e!=null?Di(t,!!a,e,!1):n!=null&&Di(t,!!a,n,!0);return;case"textarea":ct("invalid",t),r=s=a=null;for(f in n)if(n.hasOwnProperty(f)&&(y=n[f],y!=null))switch(f){case"value":a=y;break;case"defaultValue":s=y;break;case"children":r=y;break;case"dangerouslySetInnerHTML":if(y!=null)throw Error(u(91));break;default:xt(t,e,f,y,n,null)}Mf(t,a,s,r);return;case"option":for(T in n)n.hasOwnProperty(T)&&(a=n[T],a!=null)&&(T==="selected"?t.selected=a&&typeof a!="function"&&typeof a!="symbol":xt(t,e,T,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<$a.length;a++)ct($a[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(u(137,e));default:xt(t,e,D,a,n,null)}return;default:if(Ou(e)){for(V in n)n.hasOwnProperty(V)&&(a=n[V],a!==void 0&&pr(t,e,V,a,n,void 0));return}}for(y in n)n.hasOwnProperty(y)&&(a=n[y],a!=null&&xt(t,e,y,a,n,null))}function r1(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,r=null,f=null,y=null,T=null,D=null,V=null;for(z in n){var U=n[z];if(n.hasOwnProperty(z)&&U!=null)switch(z){case"checked":break;case"value":break;case"defaultValue":T=U;default:a.hasOwnProperty(z)||xt(t,e,z,null,a,U)}}for(var C in a){var z=a[C];if(U=n[C],a.hasOwnProperty(C)&&(z!=null||U!=null))switch(C){case"type":r=z;break;case"name":s=z;break;case"checked":D=z;break;case"defaultChecked":V=z;break;case"value":f=z;break;case"defaultValue":y=z;break;case"children":case"dangerouslySetInnerHTML":if(z!=null)throw Error(u(137,e));break;default:z!==U&&xt(t,e,C,z,a,U)}}Cu(t,f,y,T,D,V,r,s);return;case"select":z=f=y=C=null;for(r in n)if(T=n[r],n.hasOwnProperty(r)&&T!=null)switch(r){case"value":break;case"multiple":z=T;default:a.hasOwnProperty(r)||xt(t,e,r,null,a,T)}for(s in a)if(r=a[s],T=n[s],a.hasOwnProperty(s)&&(r!=null||T!=null))switch(s){case"value":C=r;break;case"defaultValue":y=r;break;case"multiple":f=r;default:r!==T&&xt(t,e,s,r,a,T)}e=y,n=f,a=z,C!=null?Di(t,!!n,C,!1):!!a!=!!n&&(e!=null?Di(t,!!n,e,!0):Di(t,!!n,n?[]:"",!1));return;case"textarea":z=C=null;for(y in n)if(s=n[y],n.hasOwnProperty(y)&&s!=null&&!a.hasOwnProperty(y))switch(y){case"value":break;case"children":break;default:xt(t,e,y,null,a,s)}for(f in a)if(s=a[f],r=n[f],a.hasOwnProperty(f)&&(s!=null||r!=null))switch(f){case"value":C=s;break;case"defaultValue":z=s;break;case"children":break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(u(91));break;default:s!==r&&xt(t,e,f,s,a,r)}Ef(t,C,z);return;case"option":for(var Z in n)C=n[Z],n.hasOwnProperty(Z)&&C!=null&&!a.hasOwnProperty(Z)&&(Z==="selected"?t.selected=!1:xt(t,e,Z,null,a,C));for(T in a)C=a[T],z=n[T],a.hasOwnProperty(T)&&C!==z&&(C!=null||z!=null)&&(T==="selected"?t.selected=C&&typeof C!="function"&&typeof C!="symbol":xt(t,e,T,C,a,z));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)C=n[I],n.hasOwnProperty(I)&&C!=null&&!a.hasOwnProperty(I)&&xt(t,e,I,null,a,C);for(D in a)if(C=a[D],z=n[D],a.hasOwnProperty(D)&&C!==z&&(C!=null||z!=null))switch(D){case"children":case"dangerouslySetInnerHTML":if(C!=null)throw Error(u(137,e));break;default:xt(t,e,D,C,a,z)}return;default:if(Ou(e)){for(var Dt in n)C=n[Dt],n.hasOwnProperty(Dt)&&C!==void 0&&!a.hasOwnProperty(Dt)&&pr(t,e,Dt,void 0,a,C);for(V in a)C=a[V],z=n[V],!a.hasOwnProperty(V)||C===z||C===void 0&&z===void 0||pr(t,e,V,C,a,z);return}}for(var M in n)C=n[M],n.hasOwnProperty(M)&&C!=null&&!a.hasOwnProperty(M)&&xt(t,e,M,null,a,C);for(U in a)C=a[U],z=n[U],!a.hasOwnProperty(U)||C===z||C==null&&z==null||xt(t,e,U,C,a,z)}function Cm(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function c1(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,n=performance.getEntriesByType("resource"),a=0;a<n.length;a++){var s=n[a],r=s.transferSize,f=s.initiatorType,y=s.duration;if(r&&y&&Cm(f)){for(f=0,y=s.responseEnd,a+=1;a<n.length;a++){var T=n[a],D=T.startTime;if(D>y)break;var V=T.transferSize,U=T.initiatorType;V&&Cm(U)&&(T=T.responseEnd,f+=V*(T<y?1:(y-D)/(T-D)))}if(--a,e+=8*(r+f)/(s.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var gr=null,vr=null;function Cs(t){return t.nodeType===9?t:t.ownerDocument}function zm(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 Om(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 Sr(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 Tr=null;function f1(){var t=window.event;return t&&t.type==="popstate"?t===Tr?!1:(Tr=t,!0):(Tr=null,!1)}var Rm=typeof setTimeout=="function"?setTimeout:void 0,h1=typeof clearTimeout=="function"?clearTimeout:void 0,Vm=typeof Promise=="function"?Promise:void 0,d1=typeof queueMicrotask=="function"?queueMicrotask:typeof Vm<"u"?function(t){return Vm.resolve(null).then(t).catch(m1)}:Rm;function m1(t){setTimeout(function(){throw t})}function qn(t){return t==="head"}function _m(t,e){var n=e,a=0;do{var s=n.nextSibling;if(t.removeChild(n),s&&s.nodeType===8)if(n=s.data,n==="/$"||n==="/&"){if(a===0){t.removeChild(s),aa(e);return}a--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")a++;else if(n==="html")tl(t.ownerDocument.documentElement);else if(n==="head"){n=t.ownerDocument.head,tl(n);for(var r=n.firstChild;r;){var f=r.nextSibling,y=r.nodeName;r[va]||y==="SCRIPT"||y==="STYLE"||y==="LINK"&&r.rel.toLowerCase()==="stylesheet"||n.removeChild(r),r=f}}else n==="body"&&tl(t.ownerDocument.body);n=s}while(n);aa(e)}function Um(t,e){var n=t;t=0;do{var a=n.nextSibling;if(n.nodeType===1?e?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(e?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),a&&a.nodeType===8)if(n=a.data,n==="/$"){if(t===0)break;t--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||t++;n=a}while(n)}function br(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":br(n),xu(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}t.removeChild(n)}}function y1(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[va])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(r=t.getAttribute("rel"),r==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(r!==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(r=t.getAttribute("src"),(r!==(s.src==null?null:s.src)||t.getAttribute("type")!==(s.type==null?null:s.type)||t.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin))&&r&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var r=s.name==null?null:""+s.name;if(s.type==="hidden"&&t.getAttribute("name")===r)return t}else return t;if(t=we(t.nextSibling),t===null)break}return null}function p1(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 Bm(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=we(t.nextSibling),t===null))return null;return t}function Ar(t){return t.data==="$?"||t.data==="$~"}function Er(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function g1(t,e){var n=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||n.readyState!=="loading")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==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return t}var Mr=null;function Nm(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="/$"||n==="/&"){if(e===0)return we(t.nextSibling);e--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||e++}t=t.nextSibling}return null}function Lm(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(e===0)return t;e--}else n!=="/$"&&n!=="/&"||e++}t=t.previousSibling}return null}function wm(t,e,n){switch(e=Cs(n),t){case"html":if(t=e.documentElement,!t)throw Error(u(452));return t;case"head":if(t=e.head,!t)throw Error(u(453));return t;case"body":if(t=e.body,!t)throw Error(u(454));return t;default:throw Error(u(451))}}function tl(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);xu(t)}var je=new Map,jm=new Set;function zs(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var Sn=q.d;q.d={f:v1,r:S1,D:T1,C:b1,L:A1,m:E1,X:x1,S:M1,M:D1};function v1(){var t=Sn.f(),e=Ss();return t||e}function S1(t){var e=Ei(t);e!==null&&e.tag===5&&e.type==="form"?ed(e):Sn.r(t)}var ea=typeof document>"u"?null:document;function Hm(t,e,n){var a=ea;if(a&&typeof e=="string"&&e){var s=Re(e);s='link[rel="'+t+'"][href="'+s+'"]',typeof n=="string"&&(s+='[crossorigin="'+n+'"]'),jm.has(s)||(jm.add(s),t={rel:t,crossOrigin:n,href:e},a.querySelector(s)===null&&(e=a.createElement("link"),te(e,"link",t),kt(e),a.head.appendChild(e)))}}function T1(t){Sn.D(t),Hm("dns-prefetch",t,null)}function b1(t,e){Sn.C(t,e),Hm("preconnect",t,e)}function A1(t,e,n){Sn.L(t,e,n);var a=ea;if(a&&t&&e){var s='link[rel="preload"][as="'+Re(e)+'"]';e==="image"&&n&&n.imageSrcSet?(s+='[imagesrcset="'+Re(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(s+='[imagesizes="'+Re(n.imageSizes)+'"]')):s+='[href="'+Re(t)+'"]';var r=s;switch(e){case"style":r=na(t);break;case"script":r=ia(t)}je.has(r)||(t=S({rel:"preload",href:e==="image"&&n&&n.imageSrcSet?void 0:t,as:e},n),je.set(r,t),a.querySelector(s)!==null||e==="style"&&a.querySelector(el(r))||e==="script"&&a.querySelector(nl(r))||(e=a.createElement("link"),te(e,"link",t),kt(e),a.head.appendChild(e)))}}function E1(t,e){Sn.m(t,e);var n=ea;if(n&&t){var a=e&&typeof e.as=="string"?e.as:"script",s='link[rel="modulepreload"][as="'+Re(a)+'"][href="'+Re(t)+'"]',r=s;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":r=ia(t)}if(!je.has(r)&&(t=S({rel:"modulepreload",href:t},e),je.set(r,t),n.querySelector(s)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(nl(r)))return}a=n.createElement("link"),te(a,"link",t),kt(a),n.head.appendChild(a)}}}function M1(t,e,n){Sn.S(t,e,n);var a=ea;if(a&&t){var s=Mi(a).hoistableStyles,r=na(t);e=e||"default";var f=s.get(r);if(!f){var y={loading:0,preload:null};if(f=a.querySelector(el(r)))y.loading=5;else{t=S({rel:"stylesheet",href:t,"data-precedence":e},n),(n=je.get(r))&&xr(t,n);var T=f=a.createElement("link");kt(T),te(T,"link",t),T._p=new Promise(function(D,V){T.onload=D,T.onerror=V}),T.addEventListener("load",function(){y.loading|=1}),T.addEventListener("error",function(){y.loading|=2}),y.loading|=4,Os(f,e,a)}f={type:"stylesheet",instance:f,count:1,state:y},s.set(r,f)}}}function x1(t,e){Sn.X(t,e);var n=ea;if(n&&t){var a=Mi(n).hoistableScripts,s=ia(t),r=a.get(s);r||(r=n.querySelector(nl(s)),r||(t=S({src:t,async:!0},e),(e=je.get(s))&&Dr(t,e),r=n.createElement("script"),kt(r),te(r,"link",t),n.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},a.set(s,r))}}function D1(t,e){Sn.M(t,e);var n=ea;if(n&&t){var a=Mi(n).hoistableScripts,s=ia(t),r=a.get(s);r||(r=n.querySelector(nl(s)),r||(t=S({src:t,async:!0,type:"module"},e),(e=je.get(s))&&Dr(t,e),r=n.createElement("script"),kt(r),te(r,"link",t),n.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},a.set(s,r))}}function qm(t,e,n,a){var s=(s=ot.current)?zs(s):null;if(!s)throw Error(u(446));switch(t){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(e=na(n.href),n=Mi(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=na(n.href);var r=Mi(s).hoistableStyles,f=r.get(t);if(f||(s=s.ownerDocument||s,f={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},r.set(t,f),(r=s.querySelector(el(t)))&&!r._p&&(f.instance=r,f.state.loading=5),je.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},je.set(t,n),r||C1(s,t,n,f.state))),e&&a===null)throw Error(u(528,""));return f}if(e&&a!==null)throw Error(u(529,""));return null;case"script":return e=n.async,n=n.src,typeof n=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=ia(n),n=Mi(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(u(444,t))}}function na(t){return'href="'+Re(t)+'"'}function el(t){return'link[rel="stylesheet"]['+t+"]"}function Ym(t){return S({},t,{"data-precedence":t.precedence,precedence:null})}function C1(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}),te(e,"link",n),kt(e),t.head.appendChild(e))}function ia(t){return'[src="'+Re(t)+'"]'}function nl(t){return"script[async]"+t}function Gm(t,e,n){if(e.count++,e.instance===null)switch(e.type){case"style":var a=t.querySelector('style[data-href~="'+Re(n.href)+'"]');if(a)return e.instance=a,kt(a),a;var s=S({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return a=(t.ownerDocument||t).createElement("style"),kt(a),te(a,"style",s),Os(a,n.precedence,t),e.instance=a;case"stylesheet":s=na(n.href);var r=t.querySelector(el(s));if(r)return e.state.loading|=4,e.instance=r,kt(r),r;a=Ym(n),(s=je.get(s))&&xr(a,s),r=(t.ownerDocument||t).createElement("link"),kt(r);var f=r;return f._p=new Promise(function(y,T){f.onload=y,f.onerror=T}),te(r,"link",a),e.state.loading|=4,Os(r,n.precedence,t),e.instance=r;case"script":return r=ia(n.src),(s=t.querySelector(nl(r)))?(e.instance=s,kt(s),s):(a=n,(s=je.get(r))&&(a=S({},n),Dr(a,s)),t=t.ownerDocument||t,s=t.createElement("script"),kt(s),te(s,"link",a),t.head.appendChild(s),e.instance=s);case"void":return null;default:throw Error(u(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(a=e.instance,e.state.loading|=4,Os(a,n.precedence,t));return e.instance}function Os(t,e,n){for(var a=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),s=a.length?a[a.length-1]:null,r=s,f=0;f<a.length;f++){var y=a[f];if(y.dataset.precedence===e)r=y;else if(r!==s)break}r?r.parentNode.insertBefore(t,r.nextSibling):(e=n.nodeType===9?n.head:n,e.insertBefore(t,e.firstChild))}function xr(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function Dr(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var Rs=null;function Xm(t,e,n){if(Rs===null){var a=new Map,s=Rs=new Map;s.set(n,a)}else s=Rs,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 r=n[s];if(!(r[va]||r[Wt]||t==="link"&&r.getAttribute("rel")==="stylesheet")&&r.namespaceURI!=="http://www.w3.org/2000/svg"){var f=r.getAttribute(e)||"";f=t+f;var y=a.get(f);y?y.push(r):a.set(f,[r])}}return a}function Qm(t,e,n){t=t.ownerDocument||t,t.head.insertBefore(n,e==="title"?t.querySelector("head > title"):null)}function z1(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;return e.rel==="stylesheet"?(t=e.disabled,typeof e.precedence=="string"&&t==null):!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 Zm(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function O1(t,e,n,a){if(n.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var s=na(a.href),r=e.querySelector(el(s));if(r){e=r._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=Vs.bind(t),e.then(t,t)),n.state.loading|=4,n.instance=r,kt(r);return}r=e.ownerDocument||e,a=Ym(a),(s=je.get(s))&&xr(a,s),r=r.createElement("link"),kt(r);var f=r;f._p=new Promise(function(y,T){f.onload=y,f.onerror=T}),te(r,"link",a),n.instance=r}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(n,e),(e=n.state.preload)&&(n.state.loading&3)===0&&(t.count++,n=Vs.bind(t),e.addEventListener("load",n),e.addEventListener("error",n))}}var Cr=0;function R1(t,e){return t.stylesheets&&t.count===0&&Us(t,t.stylesheets),0<t.count||0<t.imgCount?function(n){var a=setTimeout(function(){if(t.stylesheets&&Us(t,t.stylesheets),t.unsuspend){var r=t.unsuspend;t.unsuspend=null,r()}},6e4+e);0<t.imgBytes&&Cr===0&&(Cr=62500*c1());var s=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&Us(t,t.stylesheets),t.unsuspend)){var r=t.unsuspend;t.unsuspend=null,r()}},(t.imgBytes>Cr?50:800)+e);return t.unsuspend=n,function(){t.unsuspend=null,clearTimeout(a),clearTimeout(s)}}:null}function Vs(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Us(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var _s=null;function Us(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,_s=new Map,e.forEach(V1,t),_s=null,Vs.call(t))}function V1(t,e){if(!(e.state.loading&4)){var n=_s.get(t);if(n)var a=n.get(null);else{n=new Map,_s.set(t,n);for(var s=t.querySelectorAll("link[data-precedence],style[data-precedence]"),r=0;r<s.length;r++){var f=s[r];(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"),r=n.get(f)||a,r===a&&n.set(null,s),n.set(f,s),this.count++,a=Vs.bind(this),s.addEventListener("load",a),s.addEventListener("error",a),r?r.parentNode.insertBefore(s,r.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(s,t.firstChild)),e.state.loading|=4}}var il={$$typeof:H,Provider:null,Consumer:null,_currentValue:Q,_currentValue2:Q,_threadCount:0};function _1(t,e,n,a,s,r,f,y,T){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=bu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=bu(0),this.hiddenUpdates=bu(null),this.identifierPrefix=a,this.onUncaughtError=s,this.onCaughtError=r,this.onRecoverableError=f,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=T,this.incompleteTransitions=new Map}function Km(t,e,n,a,s,r,f,y,T,D,V,U){return t=new _1(t,e,n,f,T,D,V,U,y),e=1,r===!0&&(e|=24),r=be(3,null,null,e),t.current=r,r.stateNode=t,e=lo(),e.refCount++,t.pooledCache=e,e.refCount++,r.memoizedState={element:a,isDehydrated:n,cache:e},ro(r),t}function Jm(t){return t?(t=Bi,t):Bi}function km(t,e,n,a,s,r){s=Jm(s),a.context===null?a.context=s:a.pendingContext=s,a=On(e),a.payload={element:n},r=r===void 0?null:r,r!==null&&(a.callback=r),n=Rn(t,a,e),n!==null&&(pe(n,t,e),Na(n,t,e))}function Fm(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var n=t.retryLane;t.retryLane=n!==0&&n<e?n:e}}function zr(t,e){Fm(t,e),(t=t.alternate)&&Fm(t,e)}function Wm(t){if(t.tag===13||t.tag===31){var e=ni(t,67108864);e!==null&&pe(e,t,67108864),zr(t,67108864)}}function Pm(t){if(t.tag===13||t.tag===31){var e=De();e=Au(e);var n=ni(t,e);n!==null&&pe(n,t,e),zr(t,e)}}var Bs=!0;function U1(t,e,n,a){var s=R.T;R.T=null;var r=q.p;try{q.p=2,Or(t,e,n,a)}finally{q.p=r,R.T=s}}function B1(t,e,n,a){var s=R.T;R.T=null;var r=q.p;try{q.p=8,Or(t,e,n,a)}finally{q.p=r,R.T=s}}function Or(t,e,n,a){if(Bs){var s=Rr(a);if(s===null)yr(t,e,a,Ns,n),Im(t,a);else if(L1(s,t,e,n,a))a.stopPropagation();else if(Im(t,a),e&4&&-1<N1.indexOf(t)){for(;s!==null;){var r=Ei(s);if(r!==null)switch(r.tag){case 3:if(r=r.stateNode,r.current.memoizedState.isDehydrated){var f=Pn(r.pendingLanes);if(f!==0){var y=r;for(y.pendingLanes|=2,y.entangledLanes|=2;f;){var T=1<<31-Se(f);y.entanglements[1]|=T,f&=~T}We(r),(vt&6)===0&&(gs=ge()+500,Pa(0))}}break;case 31:case 13:y=ni(r,2),y!==null&&pe(y,r,2),Ss(),zr(r,2)}if(r=Rr(a),r===null&&yr(t,e,a,Ns,n),r===s)break;s=r}s!==null&&a.stopPropagation()}else yr(t,e,a,null,n)}}function Rr(t){return t=Vu(t),Vr(t)}var Ns=null;function Vr(t){if(Ns=null,t=Ai(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===31){if(t=p(e),t!==null)return t;t=null}else if(n===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return Ns=t,null}function $m(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(T0()){case sf:return 2;case uf:return 8;case Ml:case b0:return 32;case of:return 268435456;default:return 32}default:return 32}}var _r=!1,Yn=null,Gn=null,Xn=null,al=new Map,ll=new Map,Qn=[],N1="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 Im(t,e){switch(t){case"focusin":case"focusout":Yn=null;break;case"dragenter":case"dragleave":Gn=null;break;case"mouseover":case"mouseout":Xn=null;break;case"pointerover":case"pointerout":al.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":ll.delete(e.pointerId)}}function sl(t,e,n,a,s,r){return t===null||t.nativeEvent!==r?(t={blockedOn:e,domEventName:n,eventSystemFlags:a,nativeEvent:r,targetContainers:[s]},e!==null&&(e=Ei(e),e!==null&&Wm(e)),t):(t.eventSystemFlags|=a,e=t.targetContainers,s!==null&&e.indexOf(s)===-1&&e.push(s),t)}function L1(t,e,n,a,s){switch(e){case"focusin":return Yn=sl(Yn,t,e,n,a,s),!0;case"dragenter":return Gn=sl(Gn,t,e,n,a,s),!0;case"mouseover":return Xn=sl(Xn,t,e,n,a,s),!0;case"pointerover":var r=s.pointerId;return al.set(r,sl(al.get(r)||null,t,e,n,a,s)),!0;case"gotpointercapture":return r=s.pointerId,ll.set(r,sl(ll.get(r)||null,t,e,n,a,s)),!0}return!1}function ty(t){var e=Ai(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,mf(t.priority,function(){Pm(n)});return}}else if(e===31){if(e=p(n),e!==null){t.blockedOn=e,mf(t.priority,function(){Pm(n)});return}}else if(e===3&&n.stateNode.current.memoizedState.isDehydrated){t.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Ls(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var n=Rr(t.nativeEvent);if(n===null){n=t.nativeEvent;var a=new n.constructor(n.type,n);Ru=a,n.target.dispatchEvent(a),Ru=null}else return e=Ei(n),e!==null&&Wm(e),t.blockedOn=n,!1;e.shift()}return!0}function ey(t,e,n){Ls(t)&&n.delete(e)}function w1(){_r=!1,Yn!==null&&Ls(Yn)&&(Yn=null),Gn!==null&&Ls(Gn)&&(Gn=null),Xn!==null&&Ls(Xn)&&(Xn=null),al.forEach(ey),ll.forEach(ey)}function ws(t,e){t.blockedOn===e&&(t.blockedOn=null,_r||(_r=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,w1)))}var js=null;function ny(t){js!==t&&(js=t,i.unstable_scheduleCallback(i.unstable_NormalPriority,function(){js===t&&(js=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(Vr(a||n)===null)continue;break}var r=Ei(n);r!==null&&(t.splice(e,3),e-=3,Ro(r,{pending:!0,data:s,method:n.method,action:a},a,s))}}))}function aa(t){function e(T){return ws(T,t)}Yn!==null&&ws(Yn,t),Gn!==null&&ws(Gn,t),Xn!==null&&ws(Xn,t),al.forEach(e),ll.forEach(e);for(var n=0;n<Qn.length;n++){var a=Qn[n];a.blockedOn===t&&(a.blockedOn=null)}for(;0<Qn.length&&(n=Qn[0],n.blockedOn===null);)ty(n),n.blockedOn===null&&Qn.shift();if(n=(t.ownerDocument||t).$$reactFormReplay,n!=null)for(a=0;a<n.length;a+=3){var s=n[a],r=n[a+1],f=s[ce]||null;if(typeof r=="function")f||ny(n);else if(f){var y=null;if(r&&r.hasAttribute("formAction")){if(s=r,f=r[ce]||null)y=f.formAction;else if(Vr(s)!==null)continue}else y=f.action;typeof y=="function"?n[a+1]=y:(n.splice(a,3),a-=3),ny(n)}}}function iy(){function t(r){r.canIntercept&&r.info==="react-transition"&&r.intercept({handler:function(){return new Promise(function(f){return s=f})},focusReset:"manual",scroll:"manual"})}function e(){s!==null&&(s(),s=null),a||setTimeout(n,20)}function n(){if(!a&&!navigation.transition){var r=navigation.currentEntry;r&&r.url!=null&&navigation.navigate(r.url,{state:r.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,s=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(n,100),function(){a=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),s!==null&&(s(),s=null)}}}function Ur(t){this._internalRoot=t}Hs.prototype.render=Ur.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(u(409));var n=e.current,a=De();km(n,a,t,e,null,null)},Hs.prototype.unmount=Ur.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;km(t.current,2,null,t,null,null),Ss(),e[bi]=null}};function Hs(t){this._internalRoot=t}Hs.prototype.unstable_scheduleHydration=function(t){if(t){var e=df();t={blockedOn:null,target:t,priority:e};for(var n=0;n<Qn.length&&e!==0&&e<Qn[n].priority;n++);Qn.splice(n,0,t),n===0&&ty(t)}};var ay=l.version;if(ay!=="19.2.8")throw Error(u(527,ay,"19.2.8"));q.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(u(188)):(t=Object.keys(t).join(","),Error(u(268,t)));return t=m(e),t=t!==null?v(t):null,t=t===null?null:t.stateNode,t};var j1={bundleType:0,version:"19.2.8",rendererPackageName:"react-dom",currentDispatcherRef:R,reconcilerVersion:"19.2.8"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var qs=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!qs.isDisabled&&qs.supportsFiber)try{ya=qs.inject(j1),ve=qs}catch{}}return ol.createRoot=function(t,e){if(!c(t))throw Error(u(299));var n=!1,a="",s=fd,r=hd,f=dd;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&&(r=e.onCaughtError),e.onRecoverableError!==void 0&&(f=e.onRecoverableError)),e=Km(t,1,!1,null,null,n,a,null,s,r,f,iy),t[bi]=e.current,mr(t),new Ur(e)},ol.hydrateRoot=function(t,e,n){if(!c(t))throw Error(u(299));var a=!1,s="",r=fd,f=hd,y=dd,T=null;return n!=null&&(n.unstable_strictMode===!0&&(a=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onUncaughtError!==void 0&&(r=n.onUncaughtError),n.onCaughtError!==void 0&&(f=n.onCaughtError),n.onRecoverableError!==void 0&&(y=n.onRecoverableError),n.formState!==void 0&&(T=n.formState)),e=Km(t,1,!0,e,n??null,a,s,T,r,f,y,iy),e.context=Jm(null),n=e.current,a=De(),a=Au(a),s=On(a),s.callback=null,Rn(n,s,a),n=a,e.current.lanes=n,ga(e,n),We(e),t[bi]=e.current,mr(t),new Hs(e)},ol.version="19.2.8",ol}var my;function W1(){if(my)return Lr.exports;my=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(),Lr.exports=F1(),Lr.exports}var Rp=W1();const P1=zc(Rp),SE=Cc({__proto__:null,default:P1},[Rp]);const Vp=(...i)=>i.filter((l,o,u)=>!!l&&l.trim()!==""&&u.indexOf(l)===o).join(" ").trim();const $1=i=>i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const I1=i=>i.replace(/^([A-Z])|[\s-_]+(\w)/g,(l,o,u)=>u?u.toUpperCase():o.toLowerCase());const yy=i=>{const l=I1(i);return l.charAt(0).toUpperCase()+l.slice(1)};var qr={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"};const tS=i=>{for(const l in i)if(l.startsWith("aria-")||l==="role"||l==="title")return!0;return!1},eS=W.createContext({}),nS=()=>W.useContext(eS),iS=W.forwardRef(({color:i,size:l,strokeWidth:o,absoluteStrokeWidth:u,className:c="",children:d,iconNode:h,...p},g)=>{const{size:m=24,strokeWidth:v=2,absoluteStrokeWidth:S=!1,color:E="currentColor",className:B=""}=nS()??{},O=u??S?Number(o??v)*24/Number(l??m):o??v;return W.createElement("svg",{ref:g,...qr,width:l??m??qr.width,height:l??m??qr.height,stroke:i??E,strokeWidth:O,className:Vp("lucide",B,c),...!d&&!tS(p)&&{"aria-hidden":"true"},...p},[...h.map(([L,w])=>W.createElement(L,w)),...Array.isArray(d)?d:[d]])});const ze=(i,l)=>{const o=W.forwardRef(({className:u,...c},d)=>W.createElement(iS,{ref:d,iconNode:l,className:Vp(`lucide-${$1(yy(i))}`,`lucide-${i}`,u),...c}));return o.displayName=yy(i),o};const aS=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],TE=ze("arrow-right",aS);const lS=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],bE=ze("check",lS);const sS=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],AE=ze("circle-question-mark",sS);const uS=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}]],EE=ze("clipboard",uS);const oS=[["path",{d:"M18 5a2 2 0 0 1 2 2v8.526a2 2 0 0 0 .212.897l1.068 2.127a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45l1.068-2.127A2 2 0 0 0 4 15.526V7a2 2 0 0 1 2-2z",key:"1pdavp"}],["path",{d:"M20.054 15.987H3.946",key:"14rxg9"}]],ME=ze("laptop",oS);const rS=[["path",{d:"M16.247 7.761a6 6 0 0 1 0 8.478",key:"1fwjs5"}],["path",{d:"M19.075 4.933a10 10 0 0 1 0 14.134",key:"ehdyv1"}],["path",{d:"M4.925 19.067a10 10 0 0 1 0-14.134",key:"1q22gi"}],["path",{d:"M7.753 16.239a6 6 0 0 1 0-8.478",key:"r2q7qm"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],xE=ze("radio",rS);const cS=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],DE=ze("search",cS);const fS=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],CE=ze("shield-check",fS);const hS=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],zE=ze("smartphone",hS);const dS=[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]],OE=ze("square-terminal",dS);const mS=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],yS=ze("triangle-alert",mS);const pS=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]],RE=ze("wrench",pS);const gS=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],vS=ze("x",gS),_p=W.createContext({});function SS(i){const l=W.useRef(null);return l.current===null&&(l.current=i()),l.current}const TS=typeof window<"u",bS=TS?W.useLayoutEffect:W.useEffect,Rc=W.createContext(null);function Vc(i,l){i.indexOf(l)===-1&&i.push(l)}function Is(i,l){const o=i.indexOf(l);o>-1&&i.splice(o,1)}const tn=(i,l,o)=>o>l?l:o<i?i:o;let cu=()=>{};const Jn={},Up=i=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(i),Bp=i=>typeof i=="object"&&i!==null,Np=i=>/^0[^.\s]+$/u.test(i);function Lp(i){let l;return()=>(l===void 0&&(l=i()),l)}const qe=i=>i,Sl=(...i)=>i.reduce((l,o)=>u=>o(l(u))),yl=(i,l,o)=>{const u=l-i;return u?(o-i)/u:1};class _c{constructor(){this.subscriptions=[]}add(l){return Vc(this.subscriptions,l),()=>Is(this.subscriptions,l)}notify(l,o,u){const c=this.subscriptions.length;if(c)if(c===1)this.subscriptions[0](l,o,u);else for(let d=0;d<c;d++){const h=this.subscriptions[d];h&&h(l,o,u)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Ce=i=>i*1e3,He=i=>i/1e3,wp=(i,l)=>l?i*(1e3/l):0,jp=(i,l,o)=>(((1-3*o+3*l)*i+(3*o-6*l))*i+3*l)*i,AS=1e-7,ES=12;function MS(i,l,o,u,c){let d,h,p=0;do h=l+(o-l)/2,d=jp(h,u,c)-i,d>0?o=h:l=h;while(Math.abs(d)>AS&&++p<ES);return h}function Tl(i,l,o,u){if(i===l&&o===u)return qe;const c=d=>MS(d,0,1,i,o);return d=>d===0||d===1?d:jp(c(d),l,u)}const Hp=i=>l=>l<=.5?i(2*l)/2:(2-i(2*(1-l)))/2,qp=i=>l=>1-i(1-l),Yp=Tl(.33,1.53,.69,.99),Uc=qp(Yp),Gp=Hp(Uc),Xp=i=>i>=1?1:(i*=2)<1?.5*Uc(i):.5*(2-Math.pow(2,-10*(i-1))),Bc=i=>1-Math.sin(Math.acos(i)),Qp=qp(Bc),Zp=Hp(Bc),xS=Tl(.42,0,1,1),DS=Tl(0,0,.58,1),Kp=Tl(.42,0,.58,1),CS=i=>Array.isArray(i)&&typeof i[0]!="number",Jp=i=>Array.isArray(i)&&typeof i[0]=="number",zS={linear:qe,easeIn:xS,easeInOut:Kp,easeOut:DS,circIn:Bc,circInOut:Zp,circOut:Qp,backIn:Uc,backInOut:Gp,backOut:Yp,anticipate:Xp},OS=i=>typeof i=="string",py=i=>{if(Jp(i)){cu(i.length===4);const[l,o,u,c]=i;return Tl(l,o,u,c)}else if(OS(i))return zS[i];return i},Ys=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function RS(i){let l=new Set,o=new Set,u=!1,c=!1;const d=new WeakSet;let h={delta:0,timestamp:0,isProcessing:!1};function p(m){d.has(m)&&(g.schedule(m),i()),m(h)}const g={schedule:(m,v=!1,S=!1)=>{const B=S&&u?l:o;return v&&d.add(m),B.add(m),m},cancel:m=>{o.delete(m),d.delete(m)},process:m=>{if(h=m,u){c=!0;return}u=!0;const v=l;l=o,o=v,l.forEach(p),l.clear(),u=!1,c&&(c=!1,g.process(m))}};return g}const VS=40;function kp(i,l){let o=!1,u=!0;const c={delta:0,timestamp:0,isProcessing:!1},d=()=>o=!0,h=Ys.reduce((H,X)=>(H[X]=RS(d),H),{}),{setup:p,read:g,resolveKeyframes:m,preUpdate:v,update:S,preRender:E,render:B,postRender:O}=h,L=()=>{const H=Jn.useManualTiming,X=H?c.timestamp:performance.now();o=!1,H||(c.delta=u?1e3/60:Math.max(Math.min(X-c.timestamp,VS),1)),c.timestamp=X,c.isProcessing=!0,p.process(c),g.process(c),m.process(c),v.process(c),S.process(c),E.process(c),B.process(c),O.process(c),c.isProcessing=!1,o&&l&&(u=!1,i(L))},w=()=>{o=!0,u=!0,c.isProcessing||i(L)};return{schedule:Ys.reduce((H,X)=>{const et=h[X];return H[X]=(ut,K=!1,P=!1)=>(o||w(),et.schedule(ut,K,P)),H},{}),cancel:H=>{for(let X=0;X<Ys.length;X++)h[Ys[X]].cancel(H)},state:c,steps:h}}const{schedule:Ot,cancel:kn,state:ee,steps:Yr}=kp(typeof requestAnimationFrame<"u"?requestAnimationFrame:qe,!0);let Zs;function _S(){Zs=void 0}const oe={now:()=>(Zs===void 0&&oe.set(ee.isProcessing||Jn.useManualTiming?ee.timestamp:performance.now()),Zs),set:i=>{Zs=i,queueMicrotask(_S)}},Fp=i=>l=>typeof l=="string"&&l.startsWith(i),Wp=Fp("--"),US=Fp("var(--"),Nc=i=>US(i)?BS.test(i.split("/*")[0].trim()):!1,BS=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function gy(i){return typeof i!="string"?!1:i.split("/*")[0].includes("var(--")}const fa={test:i=>typeof i=="number",parse:parseFloat,transform:i=>i},pl={...fa,transform:i=>tn(0,1,i)},Gs={...fa,default:1},fl=i=>Math.round(i*1e5)/1e5,Lc=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function NS(i){return i==null}const LS=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,wc=(i,l)=>o=>!!(typeof o=="string"&&LS.test(o)&&o.startsWith(i)||l&&!NS(o)&&Object.prototype.hasOwnProperty.call(o,l)),Pp=(i,l,o)=>u=>{if(typeof u!="string")return u;const[c,d,h,p]=u.match(Lc);return{[i]:parseFloat(c),[l]:parseFloat(d),[o]:parseFloat(h),alpha:p!==void 0?parseFloat(p):1}},wS=i=>tn(0,255,i),Gr={...fa,transform:i=>Math.round(wS(i))},gi={test:wc("rgb","red"),parse:Pp("red","green","blue"),transform:({red:i,green:l,blue:o,alpha:u=1})=>"rgba("+Gr.transform(i)+", "+Gr.transform(l)+", "+Gr.transform(o)+", "+fl(pl.transform(u))+")"};function jS(i){let l="",o="",u="",c="";return i.length>5?(l=i.substring(1,3),o=i.substring(3,5),u=i.substring(5,7),c=i.substring(7,9)):(l=i.substring(1,2),o=i.substring(2,3),u=i.substring(3,4),c=i.substring(4,5),l+=l,o+=o,u+=u,c+=c),{red:parseInt(l,16),green:parseInt(o,16),blue:parseInt(u,16),alpha:c?parseInt(c,16)/255:1}}const ic={test:wc("#"),parse:jS,transform:gi.transform},bl=i=>({test:l=>typeof l=="string"&&l.endsWith(i)&&l.split(" ").length===1,parse:parseFloat,transform:l=>`${l}${i}`}),Tn=bl("deg"),Ie=bl("%"),J=bl("px"),HS=bl("vh"),qS=bl("vw"),vy={...Ie,parse:i=>Ie.parse(i)/100,transform:i=>Ie.transform(i*100)},sa={test:wc("hsl","hue"),parse:Pp("hue","saturation","lightness"),transform:({hue:i,saturation:l,lightness:o,alpha:u=1})=>"hsla("+Math.round(i)+", "+Ie.transform(fl(l))+", "+Ie.transform(fl(o))+", "+fl(pl.transform(u))+")"},Zt={test:i=>gi.test(i)||ic.test(i)||sa.test(i),parse:i=>gi.test(i)?gi.parse(i):sa.test(i)?sa.parse(i):ic.parse(i),transform:i=>typeof i=="string"?i:i.hasOwnProperty("red")?gi.transform(i):sa.transform(i),getAnimatableNone:i=>{const l=Zt.parse(i);return l.alpha=0,Zt.transform(l)}},YS=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function GS(i){return isNaN(i)&&typeof i=="string"&&(i.match(Lc)?.length||0)+(i.match(YS)?.length||0)>0}const $p="number",Ip="color",XS="var",QS="var(",Sy="${}",ZS=/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 ra(i){const l=i.toString(),o=[],u={color:[],number:[],var:[]},c=[];let d=0;const p=l.replace(ZS,g=>(Zt.test(g)?(u.color.push(d),c.push(Ip),o.push(Zt.parse(g))):g.startsWith(QS)?(u.var.push(d),c.push(XS),o.push(g)):(u.number.push(d),c.push($p),o.push(parseFloat(g))),++d,Sy)).split(Sy);return{values:o,split:p,indexes:u,types:c}}function KS(i){return ra(i).values}function tg({split:i,types:l}){const o=i.length;return u=>{let c="";for(let d=0;d<o;d++)if(c+=i[d],u[d]!==void 0){const h=l[d];h===$p?c+=fl(u[d]):h===Ip?c+=Zt.transform(u[d]):c+=u[d]}return c}}function JS(i){return tg(ra(i))}const kS=i=>typeof i=="number"?0:Zt.test(i)?Zt.getAnimatableNone(i):i,FS=(i,l)=>typeof i=="number"?l?.trim().endsWith("/")?i:0:kS(i);function WS(i){const l=ra(i);return tg(l)(l.values.map((u,c)=>FS(u,l.split[c])))}const Ke={test:GS,parse:KS,createTransformer:JS,getAnimatableNone:WS};function Xr(i,l,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?i+(l-i)*6*o:o<1/2?l:o<2/3?i+(l-i)*(2/3-o)*6:i}function PS({hue:i,saturation:l,lightness:o,alpha:u}){i/=360,l/=100,o/=100;let c=0,d=0,h=0;if(!l)c=d=h=o;else{const p=o<.5?o*(1+l):o+l-o*l,g=2*o-p;c=Xr(g,p,i+1/3),d=Xr(g,p,i),h=Xr(g,p,i-1/3)}return{red:Math.round(c*255),green:Math.round(d*255),blue:Math.round(h*255),alpha:u}}function tu(i,l){return o=>o>0?l:i}const zt=(i,l,o)=>i+(l-i)*o,Qr=(i,l,o)=>{const u=i*i,c=o*(l*l-u)+u;return c<0?0:Math.sqrt(c)},$S=[ic,gi,sa],IS=i=>$S.find(l=>l.test(i));function Ty(i){const l=IS(i);if(!l)return!1;let o=l.parse(i);return l===sa&&(o=PS(o)),o}const by=(i,l)=>{const o=Ty(i),u=Ty(l);if(!o||!u)return tu(i,l);const c={...o};return d=>(c.red=Qr(o.red,u.red,d),c.green=Qr(o.green,u.green,d),c.blue=Qr(o.blue,u.blue,d),c.alpha=zt(o.alpha,u.alpha,d),gi.transform(c))},ac=new Set(["none","hidden"]);function tT(i,l){return ac.has(i)?o=>o<=0?i:l:o=>o>=1?l:i}function eT(i,l){return o=>zt(i,l,o)}function jc(i){return typeof i=="number"?eT:typeof i=="string"?Nc(i)?tu:Zt.test(i)?by:aT:Array.isArray(i)?eg:typeof i=="object"?Zt.test(i)?by:nT:tu}function eg(i,l){const o=[...i],u=o.length,c=i.map((d,h)=>jc(d)(d,l[h]));return d=>{for(let h=0;h<u;h++)o[h]=c[h](d);return o}}function nT(i,l){const o={...i,...l},u={};for(const c in o)i[c]!==void 0&&l[c]!==void 0&&(u[c]=jc(i[c])(i[c],l[c]));return c=>{for(const d in u)o[d]=u[d](c);return o}}function iT(i,l){const o=[],u={color:0,var:0,number:0};for(let c=0;c<l.values.length;c++){const d=l.types[c],h=i.indexes[d][u[d]],p=i.values[h]??0;o[c]=p,u[d]++}return o}const aT=(i,l)=>{const o=Ke.createTransformer(l),u=ra(i),c=ra(l);return u.indexes.var.length===c.indexes.var.length&&u.indexes.color.length===c.indexes.color.length&&u.indexes.number.length>=c.indexes.number.length?ac.has(i)&&!c.values.length||ac.has(l)&&!u.values.length?tT(i,l):Sl(eg(iT(u,c),c.values),o):tu(i,l)};function ng(i,l,o){return typeof i=="number"&&typeof l=="number"&&typeof o=="number"?zt(i,l,o):jc(i)(i,l)}const lT=i=>{const l=({timestamp:o})=>i(o);return{start:(o=!0)=>Ot.update(l,o),stop:()=>kn(l),now:()=>ee.isProcessing?ee.timestamp:oe.now()}},ig=(i,l,o=10)=>{let u="";const c=Math.max(Math.round(l/o),2);for(let d=0;d<c;d++)u+=Math.round(i(d/(c-1))*1e4)/1e4+", ";return`linear(${u.substring(0,u.length-2)})`},eu=2e4;function Hc(i){let l=0;const o=50;let u=i.next(l);for(;!u.done&&l<eu;)l+=o,u=i.next(l);return l>=eu?1/0:l}function sT(i,l=100,o){const u=o({...i,keyframes:[0,l]}),c=Math.min(Hc(u),eu);return{type:"keyframes",ease:d=>u.next(c*d).value/l,duration:He(c)}}const Nt={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function lc(i,l){return i*Math.sqrt(1-l*l)}const uT=12;function oT(i,l,o){let u=o;for(let c=1;c<uT;c++)u=u-i(u)/l(u);return u}const Zr=.001;function rT({duration:i=Nt.duration,bounce:l=Nt.bounce,velocity:o=Nt.velocity,mass:u=Nt.mass}){let c,d,h=1-l;h=tn(Nt.minDamping,Nt.maxDamping,h),i=tn(Nt.minDuration,Nt.maxDuration,He(i)),h<1?(c=m=>{const v=m*h,S=v*i,E=v-o,B=lc(m,h),O=Math.exp(-S);return Zr-E/B*O},d=m=>{const S=m*h*i,E=S*o+o,B=Math.pow(h,2)*Math.pow(m,2)*i,O=Math.exp(-S),L=lc(Math.pow(m,2),h);return(-c(m)+Zr>0?-1:1)*((E-B)*O)/L}):(c=m=>{const v=Math.exp(-m*i),S=(m-o)*i+1;return-Zr+v*S},d=m=>{const v=Math.exp(-m*i),S=(o-m)*(i*i);return v*S});const p=5/i,g=oT(c,d,p);if(i=Ce(i),isNaN(g))return{stiffness:Nt.stiffness,damping:Nt.damping,duration:i};{const m=Math.pow(g,2)*u;return{stiffness:m,damping:h*2*Math.sqrt(u*m),duration:i}}}const cT=["duration","bounce"],fT=["stiffness","damping","mass"];function Ay(i,l){return l.some(o=>i[o]!==void 0)}function hT(i){let l={velocity:Nt.velocity,stiffness:Nt.stiffness,damping:Nt.damping,mass:Nt.mass,isResolvedFromDuration:!1,...i};if(!Ay(i,fT)&&Ay(i,cT))if(l.velocity=0,i.visualDuration){const o=i.visualDuration,u=2*Math.PI/(o*1.2),c=u*u,d=2*tn(.05,1,1-(i.bounce||0))*Math.sqrt(c);l={...l,mass:Nt.mass,stiffness:c,damping:d}}else{const o=rT({...i,velocity:0});l={...l,...o,mass:Nt.mass},l.isResolvedFromDuration=!0}return l}function nu(i=Nt.visualDuration,l=Nt.bounce){const o=typeof i!="object"?{visualDuration:i,keyframes:[0,1],bounce:l}:i;let{restSpeed:u,restDelta:c}=o;const d=o.keyframes[0],h=o.keyframes[o.keyframes.length-1],p={done:!1,value:d},{stiffness:g,damping:m,mass:v,duration:S,velocity:E,isResolvedFromDuration:B}=hT({...o,velocity:-He(o.velocity||0)}),O=E||0,L=m/(2*Math.sqrt(g*v)),w=h-d,j=He(Math.sqrt(g/v)),Y=Math.abs(w)<5;u||(u=Y?Nt.restSpeed.granular:Nt.restSpeed.default),c||(c=Y?Nt.restDelta.granular:Nt.restDelta.default);let H,X,et,ut,K,P;if(L<1)et=lc(j,L),ut=(O+L*j*w)/et,H=tt=>{const gt=Math.exp(-L*j*tt);return h-gt*(ut*Math.sin(et*tt)+w*Math.cos(et*tt))},K=L*j*ut+w*et,P=L*j*w-ut*et,X=tt=>Math.exp(-L*j*tt)*(K*Math.sin(et*tt)+P*Math.cos(et*tt));else if(L===1){H=gt=>h-Math.exp(-j*gt)*(w+(O+j*w)*gt);const tt=O+j*w;X=gt=>Math.exp(-j*gt)*(j*tt*gt-O)}else{const tt=j*Math.sqrt(L*L-1);H=qt=>{const Lt=Math.exp(-L*j*qt),R=Math.min(tt*qt,300);return h-Lt*((O+L*j*w)*Math.sinh(R)+tt*w*Math.cosh(R))/tt};const gt=(O+L*j*w)/tt,Tt=L*j*gt-w*tt,le=L*j*w-gt*tt;X=qt=>{const Lt=Math.exp(-L*j*qt),R=Math.min(tt*qt,300);return Lt*(Tt*Math.sinh(R)+le*Math.cosh(R))}}const Et={calculatedDuration:B&&S||null,velocity:tt=>Ce(X(tt)),next:tt=>{if(!B&&L<1){const Tt=Math.exp(-L*j*tt),le=Math.sin(et*tt),qt=Math.cos(et*tt),Lt=h-Tt*(ut*le+w*qt),R=Ce(Tt*(K*le+P*qt));return p.done=Math.abs(R)<=u&&Math.abs(h-Lt)<=c,p.value=p.done?h:Lt,p}const gt=H(tt);if(B)p.done=tt>=S;else{const Tt=Ce(X(tt));p.done=Math.abs(Tt)<=u&&Math.abs(h-gt)<=c}return p.value=p.done?h:gt,p},toString:()=>{const tt=Math.min(Hc(Et),eu),gt=ig(Tt=>Et.next(tt*Tt).value,tt,30);return tt+"ms "+gt},toTransition:()=>{}};return Et}nu.applyToOptions=i=>{const l=sT(i,100,nu);return i.ease=l.ease,i.duration=Ce(l.duration),i.type="keyframes",i};const dT=5;function ag(i,l,o){const u=Math.max(l-dT,0);return wp(o-i(u),l-u)}function sc({keyframes:i,velocity:l=0,power:o=.8,timeConstant:u=325,bounceDamping:c=10,bounceStiffness:d=500,modifyTarget:h,min:p,max:g,restDelta:m=.5,restSpeed:v}){const S=i[0],E={done:!1,value:S},B=P=>p!==void 0&&P<p||g!==void 0&&P>g,O=P=>p===void 0?g:g===void 0||Math.abs(p-P)<Math.abs(g-P)?p:g;let L=o*l;const w=S+L,j=h===void 0?w:h(w);j!==w&&(L=j-S);const Y=P=>-L*Math.exp(-P/u),H=P=>j+Y(P),X=P=>{const Et=Y(P),tt=H(P);E.done=Math.abs(Et)<=m,E.value=E.done?j:tt};let et,ut;const K=P=>{B(E.value)&&(et=P,ut=nu({keyframes:[E.value,O(E.value)],velocity:ag(H,P,E.value),damping:c,stiffness:d,restDelta:m,restSpeed:v}))};return K(0),{calculatedDuration:null,next:P=>{let Et=!1;return!ut&&et===void 0&&(Et=!0,X(P),K(P)),et!==void 0&&P>=et?ut.next(P-et):(!Et&&X(P),E)}}}function mT(i,l,o){const u=[],c=o||Jn.mix||ng,d=i.length-1;for(let h=0;h<d;h++){let p=c(i[h],i[h+1]);if(l){const g=Array.isArray(l)?l[h]||qe:l;p=Sl(g,p)}u.push(p)}return u}function yT(i,l,{clamp:o=!0,ease:u,mixer:c}={}){const d=i.length;if(cu(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 p=mT(l,u,c),g=p.length,m=v=>{if(h&&v<i[0])return l[0];let S=0;if(g>1)for(;S<i.length-2&&!(v<i[S+1]);S++);const E=yl(i[S],i[S+1],v);return p[S](E)};return o?v=>m(tn(i[0],i[d-1],v)):m}function pT(i,l){const o=i[i.length-1];for(let u=1;u<=l;u++){const c=yl(0,l,u);i.push(zt(o,1,c))}}function gT(i){const l=[0];return pT(l,i.length-1),l}function vT(i,l){return i.map(o=>o*l)}function ST(i,l){return i.map(()=>l||Kp).splice(0,i.length-1)}function hl({duration:i=300,keyframes:l,times:o,ease:u="easeInOut"}){const c=CS(u)?u.map(py):py(u),d={done:!1,value:l[0]},h=vT(o&&o.length===l.length?o:gT(l),i),p=yT(h,l,{ease:Array.isArray(c)?c:ST(l,c)});return{calculatedDuration:i,next:g=>(d.value=p(g),d.done=g>=i,d)}}const TT=i=>i!==null;function fu(i,{repeat:l,repeatType:o="loop"},u,c=1){const d=i.filter(TT),p=c<0||l&&o!=="loop"&&l%2===1?0:d.length-1;return!p||u===void 0?d[p]:u}const bT={decay:sc,inertia:sc,tween:hl,keyframes:hl,spring:nu};function lg(i){typeof i.type=="string"&&(i.type=bT[i.type])}class qc{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(l=>{this.resolve=l})}notifyFinished(){this.resolve()}then(l,o){return this.finished.then(l,o)}}const AT=i=>i/100;class iu extends qc{constructor(l){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{const{motionValue:o}=this.options;o&&o.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;lg(l);const{type:o=hl,repeat:u=0,repeatDelay:c=0,repeatType:d,velocity:h=0}=l;let{keyframes:p}=l;const g=o||hl;g!==hl&&typeof p[0]!="number"&&(this.mixKeyframes=Sl(AT,ng(p[0],p[1])),p=[0,100]);const m=g({...l,keyframes:p});d==="mirror"&&(this.mirroredGenerator=g({...l,keyframes:[...p].reverse(),velocity:-h})),m.calculatedDuration===null&&(m.calculatedDuration=Hc(m));const{calculatedDuration:v}=m;this.calculatedDuration=v,this.resolvedDuration=v+c,this.totalDuration=this.resolvedDuration*(u+1)-c,this.generator=m}updateTime(l){const o=Math.round(l-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=o}tick(l,o=!1){const{generator:u,totalDuration:c,mixKeyframes:d,mirroredGenerator:h,resolvedDuration:p,calculatedDuration:g}=this;if(this.startTime===null)return u.next(0);const{delay:m=0,keyframes:v,repeat:S,repeatType:E,repeatDelay:B,type:O,onUpdate:L,finalKeyframe:w}=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)),o?this.currentTime=l:this.updateTime(l);const j=this.currentTime-m*(this.playbackSpeed>=0?1:-1),Y=this.playbackSpeed>=0?j<0:j>c;this.currentTime=Math.max(j,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let H=this.currentTime,X=u;if(S){const P=Math.min(this.currentTime,c)/p;let Et=Math.floor(P),tt=P%1;!tt&&P>=1&&(tt=1),tt===1&&Et--,Et=Math.min(Et,S+1),Et%2&&(E==="reverse"?(tt=1-tt,B&&(tt-=B/p)):E==="mirror"&&(X=h)),H=tn(0,1,tt)*p}let et;Y?(this.delayState.value=v[0],et=this.delayState):et=X.next(H),d&&!Y&&(et.value=d(et.value));let{done:ut}=et;!Y&&g!==null&&(ut=this.playbackSpeed>=0?this.currentTime>=c:this.currentTime<=0);const K=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&ut);return K&&O!==sc&&(et.value=fu(v,this.options,w,this.speed)),L&&L(et.value),K&&this.finish(),et}then(l,o){return this.finished.then(l,o)}get duration(){return He(this.calculatedDuration)}get iterationDuration(){const{delay:l=0}=this.options||{};return this.duration+He(l)}get time(){return He(this.currentTime)}set time(l){l=Ce(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?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=l,this.tick(l))}getGeneratorVelocity(){const l=this.currentTime;if(l<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(l);const o=this.generator.next(l).value;return ag(u=>this.generator.next(u).value,l,o)}get speed(){return this.playbackSpeed}set speed(l){const o=this.playbackSpeed!==l;o&&this.driver&&this.updateTime(oe.now()),this.playbackSpeed=l,o&&this.driver&&(this.time=He(this.currentTime))}play(){if(this.isStopped)return;const{driver:l=lT,startTime:o}=this.options;this.driver||(this.driver=l(c=>this.tick(c))),this.options.onPlay?.();const u=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=u):this.holdTime!==null?this.startTime=u-this.holdTime:this.startTime||(this.startTime=o??u),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 ET(i){for(let l=1;l<i.length;l++)i[l]??(i[l]=i[l-1])}const vi=i=>i*180/Math.PI,uc=i=>{const l=vi(Math.atan2(i[1],i[0]));return oc(l)},MT={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:i=>(Math.abs(i[0])+Math.abs(i[3]))/2,rotate:uc,rotateZ:uc,skewX:i=>vi(Math.atan(i[1])),skewY:i=>vi(Math.atan(i[2])),skew:i=>(Math.abs(i[1])+Math.abs(i[2]))/2},oc=i=>(i=i%360,i<0&&(i+=360),i),Ey=uc,My=i=>Math.sqrt(i[0]*i[0]+i[1]*i[1]),xy=i=>Math.sqrt(i[4]*i[4]+i[5]*i[5]),xT={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:My,scaleY:xy,scale:i=>(My(i)+xy(i))/2,rotateX:i=>oc(vi(Math.atan2(i[6],i[5]))),rotateY:i=>oc(vi(Math.atan2(-i[2],i[0]))),rotateZ:Ey,rotate:Ey,skewX:i=>vi(Math.atan(i[4])),skewY:i=>vi(Math.atan(i[1])),skew:i=>(Math.abs(i[1])+Math.abs(i[4]))/2};function rc(i){return i.includes("scale")?1:0}function cc(i,l){if(!i||i==="none")return rc(l);const o=i.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let u,c;if(o)u=xT,c=o;else{const p=i.match(/^matrix\(([-\d.e\s,]+)\)$/u);u=MT,c=p}if(!c)return rc(l);const d=u[l],h=c[1].split(",").map(CT);return typeof d=="function"?d(h):h[d]}const DT=(i,l)=>{const{transform:o="none"}=getComputedStyle(i);return cc(o,l)};function CT(i){return parseFloat(i.trim())}const ha=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],da=new Set([...ha,"pathRotation"]),Dy=i=>i===fa||i===J,zT=new Set(["x","y","z"]),OT=ha.filter(i=>!zT.has(i));function RT(i){const l=[];return OT.forEach(o=>{const u=i.getValue(o);u!==void 0&&(l.push([o,u.get()]),u.set(o.startsWith("scale")?1:0))}),l}const Kn={width:({x:i},{paddingLeft:l="0",paddingRight:o="0",boxSizing:u})=>{const c=i.max-i.min;return u==="border-box"?c:c-parseFloat(l)-parseFloat(o)},height:({y:i},{paddingTop:l="0",paddingBottom:o="0",boxSizing:u})=>{const c=i.max-i.min;return u==="border-box"?c:c-parseFloat(l)-parseFloat(o)},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})=>cc(l,"x"),y:(i,{transform:l})=>cc(l,"y")};Kn.translateX=Kn.x;Kn.translateY=Kn.y;const Si=new Set;let fc=!1,hc=!1,dc=!1;function sg(){if(hc){const i=Array.from(Si).filter(u=>u.needsMeasurement),l=new Set(i.map(u=>u.element)),o=new Map;l.forEach(u=>{const c=RT(u);c.length&&(o.set(u,c),u.render())}),i.forEach(u=>u.measureInitialState()),l.forEach(u=>{u.render();const c=o.get(u);c&&c.forEach(([d,h])=>{u.getValue(d)?.set(h)})}),i.forEach(u=>u.measureEndState()),i.forEach(u=>{u.suspendedScrollY!==void 0&&window.scrollTo(0,u.suspendedScrollY)})}hc=!1,fc=!1,Si.forEach(i=>i.complete(dc)),Si.clear()}function ug(){Si.forEach(i=>{i.readKeyframes(),i.needsMeasurement&&(hc=!0)})}function VT(){dc=!0,ug(),sg(),dc=!1}class Yc{constructor(l,o,u,c,d,h=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...l],this.onComplete=o,this.name=u,this.motionValue=c,this.element=d,this.isAsync=h}scheduleResolve(){this.state="scheduled",this.isAsync?(Si.add(this),fc||(fc=!0,Ot.read(ug),Ot.resolveKeyframes(sg))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:l,name:o,element:u,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(u&&o){const p=u.readValue(o,h);p!=null&&(l[0]=p)}l[0]===void 0&&(l[0]=h),c&&d===void 0&&c.set(l[0])}ET(l)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(l=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,l),Si.delete(this)}cancel(){this.state==="scheduled"&&(Si.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const _T=i=>i.startsWith("--");function og(i,l,o){_T(l)?i.style.setProperty(l,o):i.style[l]=o}const UT={};function rg(i,l){const o=Lp(i);return()=>UT[l]??o()}const BT=rg(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),cg=rg(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),cl=([i,l,o,u])=>`cubic-bezier(${i}, ${l}, ${o}, ${u})`,Cy={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:cl([0,.65,.55,1]),circOut:cl([.55,0,1,.45]),backIn:cl([.31,.01,.66,-.59]),backOut:cl([.33,1.53,.69,.99])};function fg(i,l){if(i)return typeof i=="function"?cg()?ig(i,l):"ease-out":Jp(i)?cl(i):Array.isArray(i)?i.map(o=>fg(o,l)||Cy.easeOut):Cy[i]}function NT(i,l,o,{delay:u=0,duration:c=300,repeat:d=0,repeatType:h="loop",ease:p="easeOut",times:g}={},m=void 0){const v={[l]:o};g&&(v.offset=g);const S=fg(p,c);Array.isArray(S)&&(v.easing=S);const E={delay:u,duration:c,easing:Array.isArray(S)?"linear":S,fill:"both",iterations:d+1,direction:h==="reverse"?"alternate":"normal"};return m&&(E.pseudoElement=m),i.animate(v,E)}function hg(i){return typeof i=="function"&&"applyToOptions"in i}function LT({type:i,...l}){return hg(i)&&cg()?i.applyToOptions(l):(l.duration??(l.duration=300),l.ease??(l.ease="easeOut"),l)}class dg extends qc{constructor(l){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!l)return;const{element:o,name:u,keyframes:c,pseudoElement:d,allowFlatten:h=!1,finalKeyframe:p,onComplete:g}=l;this.isPseudoElement=!!d,this.allowFlatten=h,this.options=l,cu(typeof l.type!="string");const m=LT(l);this.animation=NT(o,u,c,m,d),m.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!d){const v=fu(c,this.options,p,this.speed);this.updateMotionValue&&this.updateMotionValue(v),og(o,u,v),this.animation.cancel()}g?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,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(){const l=this.options?.element;!this.isPseudoElement&&l?.isConnected&&this.animation.commitStyles?.()}get duration(){const l=this.animation.effect?.getComputedTiming?.().duration||0;return He(Number(l))}get iterationDuration(){const{delay:l=0}=this.options||{};return this.duration+He(l)}get time(){return He(Number(this.animation.currentTime)||0)}set time(l){const o=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Ce(l),o&&this.animation.pause()}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 this.manualStartTime??Number(this.animation.startTime)}set startTime(l){this.manualStartTime=this.animation.startTime=l}attachTimeline({timeline:l,rangeStart:o,rangeEnd:u,observe:c}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,l&&BT()?(this.animation.timeline=l,o&&(this.animation.rangeStart=o),u&&(this.animation.rangeEnd=u),qe):c(this)}}const mg={anticipate:Xp,backInOut:Gp,circInOut:Zp};function wT(i){return i in mg}function jT(i){typeof i.ease=="string"&&wT(i.ease)&&(i.ease=mg[i.ease])}const Kr=10;class HT extends dg{constructor(l){jT(l),lg(l),super(l),l.startTime!==void 0&&l.autoplay!==!1&&(this.startTime=l.startTime),this.options=l}updateMotionValue(l){const{motionValue:o,onUpdate:u,onComplete:c,element:d,...h}=this.options;if(!o)return;if(l!==void 0){o.set(l);return}const p=new iu({...h,autoplay:!1}),g=Math.max(Kr,oe.now()-this.startTime),m=tn(0,Kr,g-Kr),v=p.sample(g).value,{name:S}=this.options;d&&S&&og(d,S,v),o.setWithVelocity(p.sample(Math.max(0,g-m)).value,v,m),p.stop()}}const zy=(i,l)=>l==="zIndex"?!1:!!(typeof i=="number"||Array.isArray(i)||typeof i=="string"&&(Ke.test(i)||i==="0")&&!i.startsWith("url("));function qT(i){const l=i[0];if(i.length===1)return!0;for(let o=0;o<i.length;o++)if(i[o]!==l)return!0}function YT(i,l,o,u){const c=i[0];if(c===null)return!1;if(l==="display"||l==="visibility")return!0;const d=i[i.length-1],h=zy(c,l),p=zy(d,l);return!h||!p?!1:qT(i)||(o==="spring"||hg(o))&&u}function mc(i){i.duration=0,i.type="keyframes"}const yg=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),GT=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function XT(i){for(let l=0;l<i.length;l++)if(typeof i[l]=="string"&&GT.test(i[l]))return!0;return!1}const QT=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),ZT=Lp(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function KT(i){const{motionValue:l,name:o,repeatDelay:u,repeatType:c,damping:d,type:h,keyframes:p}=i,g=l?.owner?.current;if(!(g instanceof HTMLElement)&&!(g instanceof SVGElement))return!1;const{onUpdate:m,transformTemplate:v}=l.owner.getProps();return ZT()&&o&&(yg.has(o)||QT.has(o)&&XT(p))&&(o!=="transform"||!v)&&!m&&!u&&c!=="mirror"&&d!==0&&h!=="inertia"}const JT=40;class kT extends qc{constructor({autoplay:l=!0,delay:o=0,type:u="keyframes",repeat:c=0,repeatDelay:d=0,repeatType:h="loop",keyframes:p,name:g,motionValue:m,element:v,...S}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=oe.now();const E={autoplay:l,delay:o,type:u,repeat:c,repeatDelay:d,repeatType:h,name:g,motionValue:m,element:v,...S},B=v?.KeyframeResolver||Yc;this.keyframeResolver=new B(p,(O,L,w)=>this.onKeyframesResolved(O,L,E,!w),g,m,v),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(l,o,u,c){this.keyframeResolver=void 0;const{name:d,type:h,velocity:p,delay:g,isHandoff:m,onUpdate:v}=u;this.resolvedAt=oe.now();let S=!0;YT(l,d,h,p)||(S=!1,(Jn.instantAnimations||!g)&&v?.(fu(l,u,o)),l[0]=l[l.length-1],mc(u),u.repeat=0);const B={startTime:c?this.resolvedAt?this.resolvedAt-this.createdAt>JT?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:o,...u,keyframes:l},O=S&&!m&&KT(B),L=B.motionValue?.owner?.current;let w;if(O)try{w=new HT({...B,element:L})}catch{w=new iu(B)}else w=new iu(B);w.finished.then(()=>{this.notifyFinished()}).catch(qe),this.pendingTimeline&&(this.stopTimeline=w.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=w}get finished(){return this._animation?this.animation.finished:this._finished}then(l,o){return this.finished.finally(l).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),VT()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}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()}}function pg(i,l,o,u=0,c=1){const d=Array.from(i).sort((m,v)=>m.sortNodePosition(v)).indexOf(l),h=i.size,p=(h-1)*u;return typeof o=="function"?o(d,h):c===1?d*u:p-d*u}const Oy=30,FT=i=>!isNaN(parseFloat(i));class WT{constructor(l,o={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=u=>{const c=oe.now();if(this.updatedAt!==c&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(u),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=o.owner}setCurrent(l){this.current=l,this.updatedAt=oe.now(),this.canTrackVelocity===null&&l!==void 0&&(this.canTrackVelocity=FT(this.current))}setPrevFrameValue(l=this.current){this.prevFrameValue=l,this.prevUpdatedAt=this.updatedAt}onChange(l){return this.on("change",l)}on(l,o){this.events[l]||(this.events[l]=new _c);const u=this.events[l].add(o);return l==="change"?()=>{u(),Ot.read(()=>{this.events.change.getSize()||this.stop()})}:u}clearListeners(){for(const l in this.events)this.events[l].clear()}attach(l,o){this.passiveEffect=l,this.stopPassiveEffect=o}set(l){this.passiveEffect?this.passiveEffect(l,this.updateAndNotify):this.updateAndNotify(l)}setWithVelocity(l,o,u){this.set(o),this.prev=void 0,this.prevFrameValue=l,this.prevUpdatedAt=this.updatedAt-u}jump(l,o=!0){this.updateAndNotify(l),this.prev=l,this.prevUpdatedAt=this.prevFrameValue=void 0,o&&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>Oy)return 0;const o=Math.min(this.updatedAt-this.prevUpdatedAt,Oy);return wp(parseFloat(this.current)-parseFloat(this.prevFrameValue),o)}start(l){return this.stop(),new Promise(o=>{this.hasAnimated=!0,this.animation=l(o),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 ca(i,l){return new WT(i,l)}function gg(i,l){if(i?.inherit&&l){const{inherit:o,...u}=i;return{...l,...u}}return i}function Gc(i,l){const o=i?.[l]??i?.default??i;return o!==i?gg(o,i):o}const PT={type:"spring",stiffness:500,damping:25,restSpeed:10},$T=i=>({type:"spring",stiffness:550,damping:i===0?2*Math.sqrt(550):30,restSpeed:10}),IT={type:"keyframes",duration:.8},tb={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},eb=(i,{keyframes:l})=>l.length>2?IT:da.has(i)?i.startsWith("scale")?$T(l[1]):PT:tb,nb=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function ib(i){for(const l in i)if(!nb.has(l))return!0;return!1}const Xc=(i,l,o,u={},c,d)=>h=>{const p=Gc(u,i)||{},g=p.delay||u.delay||0;let{elapsed:m=0}=u;m=m-Ce(g);const v={keyframes:Array.isArray(o)?o:[null,o],ease:"easeOut",velocity:l.getVelocity(),...p,delay:-m,onUpdate:E=>{l.set(E),p.onUpdate&&p.onUpdate(E)},onComplete:()=>{h(),p.onComplete&&p.onComplete()},name:i,motionValue:l,element:d?void 0:c};ib(p)||Object.assign(v,eb(i,v)),v.duration&&(v.duration=Ce(v.duration)),v.repeatDelay&&(v.repeatDelay=Ce(v.repeatDelay)),v.from!==void 0&&(v.keyframes[0]=v.from);let S=!1;if((v.type===!1||v.duration===0&&!v.repeatDelay)&&(mc(v),v.delay===0&&(S=!0)),(Jn.instantAnimations||Jn.skipAnimations||c?.shouldSkipAnimations||p.skipAnimations)&&(S=!0,mc(v),v.delay=0),v.allowFlatten=!p.type&&!p.ease,S&&!d&&l.get()!==void 0){const E=fu(v.keyframes,p);if(E!==void 0){Ot.update(()=>{v.onUpdate(E),v.onComplete()});return}}return p.isSync?new iu(v):new kT(v)},ab=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function lb(i){const l=ab.exec(i);if(!l)return[,];const[,o,u,c]=l;return[`--${o??u}`,c]}function vg(i,l,o=1){const[u,c]=lb(i);if(!u)return;const d=window.getComputedStyle(l).getPropertyValue(u);if(d){const h=d.trim();return Up(h)?parseFloat(h):h}return Nc(c)?vg(c,l,o+1):c}function Ry(i){const l=[{},{}];return i?.values.forEach((o,u)=>{l[0][u]=o.get(),l[1][u]=o.getVelocity()}),l}function Qc(i,l,o,u){if(typeof l=="function"){const[c,d]=Ry(u);l=l(o!==void 0?o:i.custom,c,d)}if(typeof l=="string"&&(l=i.variants&&i.variants[l]),typeof l=="function"){const[c,d]=Ry(u);l=l(o!==void 0?o:i.custom,c,d)}return l}function Ti(i,l,o){const u=i.getProps();return Qc(u,l,o!==void 0?o:u.custom,i)}const Sg=new Set(["width","height","top","left","right","bottom",...ha]),yc=i=>Array.isArray(i);function sb(i,l,o){i.hasValue(l)?i.getValue(l).set(o):i.addValue(l,ca(o))}function ub(i){return yc(i)?i[i.length-1]||0:i}function ob(i,l){const o=Ti(i,l);let{transitionEnd:u={},transition:c={},...d}=o||{};d={...d,...u};for(const h in d){const p=ub(d[h]);sb(i,h,p)}}const ne=i=>!!(i&&i.getVelocity);function rb(i){return!!(ne(i)&&i.add)}function pc(i,l){const o=i.getValue("willChange");if(rb(o))return o.add(l);if(!o&&Jn.WillChange){const u=new Jn.WillChange("auto");i.addValue("willChange",u),u.add(l)}}function Zc(i){return i.replace(/([A-Z])/g,l=>`-${l.toLowerCase()}`)}const cb="framerAppearId",Tg="data-"+Zc(cb);function bg(i){return i.props[Tg]}function fb({protectedKeys:i,needsAnimating:l},o){const u=i.hasOwnProperty(o)&&l[o]!==!0;return l[o]=!1,u}function Ag(i,l,{delay:o=0,transitionOverride:u,type:c}={}){let{transition:d,transitionEnd:h,...p}=l;const g=i.getDefaultTransition();d=d?gg(d,g):g;const m=d?.reduceMotion,v=d?.skipAnimations;u&&(d=u);const S=[],E=c&&i.animationState&&i.animationState.getState()[c],B=d?.path;B&&B.animateVisualElement(i,p,d,o,S);for(const O in p){const L=i.getValue(O,i.latestValues[O]??null),w=p[O];if(w===void 0||E&&fb(E,O))continue;const j={delay:o,...Gc(d||{},O)};v&&(j.skipAnimations=!0);const Y=L.get();if(Y!==void 0&&!L.isAnimating()&&!Array.isArray(w)&&w===Y&&!j.velocity){Ot.update(()=>L.set(w));continue}let H=!1;if(window.MotionHandoffAnimation){const ut=bg(i);if(ut){const K=window.MotionHandoffAnimation(ut,O,Ot);K!==null&&(j.startTime=K,H=!0)}}pc(i,O);const X=m??i.shouldReduceMotion;L.start(Xc(O,L,w,X&&Sg.has(O)?{type:!1}:j,i,H));const et=L.animation;et&&S.push(et)}if(h){const O=()=>Ot.update(()=>{h&&ob(i,h)});S.length?Promise.all(S).then(O):O()}return S}function gc(i,l,o={}){const u=Ti(i,l,o.type==="exit"?i.presenceContext?.custom:void 0);let{transition:c=i.getDefaultTransition()||{}}=u||{};o.transitionOverride&&(c=o.transitionOverride);const d=u?()=>Promise.all(Ag(i,u,o)):()=>Promise.resolve(),h=i.variantChildren&&i.variantChildren.size?(g=0)=>{const{delayChildren:m=0,staggerChildren:v,staggerDirection:S}=c;return hb(i,l,g,m,v,S,o)}:()=>Promise.resolve(),{when:p}=c;if(p){const[g,m]=p==="beforeChildren"?[d,h]:[h,d];return g().then(()=>m())}else return Promise.all([d(),h(o.delay)])}function hb(i,l,o=0,u=0,c=0,d=1,h){const p=[];for(const g of i.variantChildren)g.notify("AnimationStart",l),p.push(gc(g,l,{...h,delay:o+(typeof u=="function"?0:u)+pg(i.variantChildren,g,u,c,d)}).then(()=>g.notify("AnimationComplete",l)));return Promise.all(p)}function db(i,l,o={}){i.notify("AnimationStart",l);let u;if(Array.isArray(l)){const c=l.map(d=>gc(i,d,o));u=Promise.all(c)}else if(typeof l=="string")u=gc(i,l,o);else{const c=typeof l=="function"?Ti(i,l,o.custom):l;u=Promise.all(Ag(i,c,o))}return u.then(()=>{i.notify("AnimationComplete",l)})}const mb={test:i=>i==="auto",parse:i=>i},Eg=i=>l=>l.test(i),Mg=[fa,J,Ie,Tn,qS,HS,mb],Vy=i=>Mg.find(Eg(i));function yb(i){return typeof i=="number"?i===0:i!==null?i==="none"||i==="0"||Np(i):!0}const pb=new Set(["brightness","contrast","saturate","opacity"]);function gb(i){const[l,o]=i.slice(0,-1).split("(");if(l==="drop-shadow")return i;const[u]=o.match(Lc)||[];if(!u)return i;const c=o.replace(u,"");let d=pb.has(l)?1:0;return u!==o&&(d*=100),l+"("+d+c+")"}const vb=/\b([a-z-]*)\(.*?\)/gu,vc={...Ke,getAnimatableNone:i=>{const l=i.match(vb);return l?l.map(gb).join(" "):i}},Sc={...Ke,getAnimatableNone:i=>{const l=Ke.parse(i);return Ke.createTransformer(i)(l.map(u=>typeof u=="number"?0:typeof u=="object"?{...u,alpha:1}:u))}},_y={...fa,transform:Math.round},Sb={rotate:Tn,pathRotation:Tn,rotateX:Tn,rotateY:Tn,rotateZ:Tn,scale:Gs,scaleX:Gs,scaleY:Gs,scaleZ:Gs,skew:Tn,skewX:Tn,skewY:Tn,distance:J,translateX:J,translateY:J,translateZ:J,x:J,y:J,z:J,perspective:J,transformPerspective:J,opacity:pl,originX:vy,originY:vy,originZ:J},au={borderWidth:J,borderTopWidth:J,borderRightWidth:J,borderBottomWidth:J,borderLeftWidth:J,borderRadius:J,borderTopLeftRadius:J,borderTopRightRadius:J,borderBottomRightRadius:J,borderBottomLeftRadius:J,width:J,maxWidth:J,height:J,maxHeight:J,top:J,right:J,bottom:J,left:J,inset:J,insetBlock:J,insetBlockStart:J,insetBlockEnd:J,insetInline:J,insetInlineStart:J,insetInlineEnd:J,padding:J,paddingTop:J,paddingRight:J,paddingBottom:J,paddingLeft:J,paddingBlock:J,paddingBlockStart:J,paddingBlockEnd:J,paddingInline:J,paddingInlineStart:J,paddingInlineEnd:J,margin:J,marginTop:J,marginRight:J,marginBottom:J,marginLeft:J,marginBlock:J,marginBlockStart:J,marginBlockEnd:J,marginInline:J,marginInlineStart:J,marginInlineEnd:J,fontSize:J,backgroundPositionX:J,backgroundPositionY:J,...Sb,zIndex:_y,fillOpacity:pl,strokeOpacity:pl,numOctaves:_y},Tb={...au,color:Zt,backgroundColor:Zt,outlineColor:Zt,fill:Zt,stroke:Zt,borderColor:Zt,borderTopColor:Zt,borderRightColor:Zt,borderBottomColor:Zt,borderLeftColor:Zt,filter:vc,WebkitFilter:vc,mask:Sc,WebkitMask:Sc},xg=i=>Tb[i],bb=new Set([vc,Sc]);function Dg(i,l){let o=xg(i);return bb.has(o)||(o=Ke),o.getAnimatableNone?o.getAnimatableNone(l):void 0}const Ab=new Set(["auto","none","0"]);function Eb(i,l,o){let u=0,c;for(;u<i.length&&!c;){const d=i[u];typeof d=="string"&&!Ab.has(d)&&ra(d).values.length&&(c=i[u]),u++}if(c&&o)for(const d of l)i[d]=Dg(o,c)}class Mb extends Yc{constructor(l,o,u,c,d){super(l,o,u,c,d,!0)}readKeyframes(){const{unresolvedKeyframes:l,element:o,name:u}=this;if(!o||!o.current)return;super.readKeyframes();for(let v=0;v<l.length;v++){let S=l[v];if(typeof S=="string"&&(S=S.trim(),Nc(S))){const E=vg(S,o.current);E!==void 0&&(l[v]=E),v===l.length-1&&(this.finalKeyframe=S)}}if(this.resolveNoneKeyframes(),!Sg.has(u)||l.length!==2)return;const[c,d]=l,h=Vy(c),p=Vy(d),g=gy(c),m=gy(d);if(g!==m&&Kn[u]){this.needsMeasurement=!0;return}if(h!==p)if(Dy(h)&&Dy(p))for(let v=0;v<l.length;v++){const S=l[v];typeof S=="string"&&(l[v]=parseFloat(S))}else Kn[u]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:l,name:o}=this,u=[];for(let c=0;c<l.length;c++)(l[c]===null||yb(l[c]))&&u.push(c);u.length&&Eb(l,u,o)}measureInitialState(){const{element:l,unresolvedKeyframes:o,name:u}=this;if(!l||!l.current)return;u==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Kn[u](l.measureViewportBox(),window.getComputedStyle(l.current)),o[0]=this.measuredOrigin;const c=o[o.length-1];c!==void 0&&l.getValue(u,c).jump(c,!1)}measureEndState(){const{element:l,name:o,unresolvedKeyframes:u}=this;if(!l||!l.current)return;const c=l.getValue(o);c&&c.jump(this.measuredOrigin,!1);const d=u.length-1,h=u[d];u[d]=Kn[o](l.measureViewportBox(),window.getComputedStyle(l.current)),h!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=h),this.removedTransforms?.length&&this.removedTransforms.forEach(([p,g])=>{l.getValue(p).set(g)}),this.resolveNoneKeyframes()}}const Kc=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];function Cg(i,l,o){if(i==null)return[];if(i instanceof EventTarget)return[i];if(typeof i=="string"){let u=document;const c=o?.[i]??u.querySelectorAll(i);return c?Array.from(c):[]}return Array.from(i).filter(u=>u!=null)}const Tc=(i,l)=>l&&typeof i=="number"?l.transform(i):i;function xb(i){return Bp(i)&&"offsetHeight"in i&&!("ownerSVGElement"in i)}const{schedule:Jc}=kp(queueMicrotask,!1),Ze={x:!1,y:!1};function zg(){return Ze.x||Ze.y}function Db(i){return i==="x"||i==="y"?Ze[i]?null:(Ze[i]=!0,()=>{Ze[i]=!1}):Ze.x||Ze.y?null:(Ze.x=Ze.y=!0,()=>{Ze.x=Ze.y=!1})}function Og(i,l){const o=Cg(i),u=new AbortController,c={passive:!0,...l,signal:u.signal};return[o,c,()=>u.abort()]}function Cb(i){return!(i.pointerType==="touch"||zg())}function zb(i,l,o={}){const[u,c,d]=Og(i,o);return u.forEach(h=>{let p=!1,g=!1,m;const v=()=>{h.removeEventListener("pointerleave",O)},S=w=>{m&&(m(w),m=void 0),v()},E=w=>{p=!1,window.removeEventListener("pointerup",E),window.removeEventListener("pointercancel",E),g&&(g=!1,S(w))},B=()=>{p=!0,window.addEventListener("pointerup",E,c),window.addEventListener("pointercancel",E,c)},O=w=>{if(w.pointerType!=="touch"){if(p){g=!0;return}S(w)}},L=w=>{if(!Cb(w))return;g=!1;const j=l(h,w);typeof j=="function"&&(m=j,h.addEventListener("pointerleave",O,c))};h.addEventListener("pointerenter",L,c),h.addEventListener("pointerdown",B,c)}),d}const Rg=(i,l)=>l?i===l?!0:Rg(i,l.parentElement):!1,kc=i=>i.pointerType==="mouse"?typeof i.button!="number"||i.button<=0:i.isPrimary!==!1,Ob=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Rb(i){return Ob.has(i.tagName)||i.isContentEditable===!0}const Vb=new Set(["INPUT","SELECT","TEXTAREA"]);function _b(i){return Vb.has(i.tagName)||i.isContentEditable===!0}const Ks=new WeakSet;function Uy(i){return l=>{l.key==="Enter"&&i(l)}}function Jr(i,l){i.dispatchEvent(new PointerEvent("pointer"+l,{isPrimary:!0,bubbles:!0}))}const Ub=(i,l)=>{const o=i.currentTarget;if(!o)return;const u=Uy(()=>{if(Ks.has(o))return;Jr(o,"down");const c=Uy(()=>{Jr(o,"up")}),d=()=>Jr(o,"cancel");o.addEventListener("keyup",c,l),o.addEventListener("blur",d,l)});o.addEventListener("keydown",u,l),o.addEventListener("blur",()=>o.removeEventListener("keydown",u),l)};function By(i){return kc(i)&&!zg()}const Ny=new WeakSet;function Bb(i,l,o={}){const[u,c,d]=Og(i,o),h=p=>{const g=p.currentTarget;if(!By(p)||Ny.has(p))return;Ks.add(g),o.stopPropagation&&Ny.add(p);const m=l(g,p),v={...c,capture:!0},S=(O,L)=>{window.removeEventListener("pointerup",E,v),window.removeEventListener("pointercancel",B,v),Ks.has(g)&&Ks.delete(g),By(O)&&typeof m=="function"&&m(O,{success:L})},E=O=>{S(O,g===window||g===document||o.useGlobalTarget||Rg(g,O.target))},B=O=>{S(O,!1)};window.addEventListener("pointerup",E,v),window.addEventListener("pointercancel",B,v)};return u.forEach(p=>{(o.useGlobalTarget?window:p).addEventListener("pointerdown",h,c),xb(p)&&(p.addEventListener("focus",m=>Ub(m,c)),!Rb(p)&&!p.hasAttribute("tabindex")&&(p.tabIndex=0))}),d}function Fc(i){return Bp(i)&&"ownerSVGElement"in i}const Js=new WeakMap;let ks;const Vg=(i,l,o)=>(u,c)=>c&&c[0]?c[0][i+"Size"]:Fc(u)&&"getBBox"in u?u.getBBox()[l]:u[o],Nb=Vg("inline","width","offsetWidth"),Lb=Vg("block","height","offsetHeight");function wb({target:i,borderBoxSize:l}){Js.get(i)?.forEach(o=>{o(i,{get width(){return Nb(i,l)},get height(){return Lb(i,l)}})})}function jb(i){i.forEach(wb)}function Hb(){typeof ResizeObserver>"u"||(ks=new ResizeObserver(jb))}function qb(i,l){ks||Hb();const o=Cg(i);return o.forEach(u=>{let c=Js.get(u);c||(c=new Set,Js.set(u,c)),c.add(l),ks?.observe(u)}),()=>{o.forEach(u=>{const c=Js.get(u);c?.delete(l),c?.size||ks?.unobserve(u)})}}const Fs=new Set;let ua;function Yb(){ua=()=>{const i={get width(){return window.innerWidth},get height(){return window.innerHeight}};Fs.forEach(l=>l(i))},window.addEventListener("resize",ua)}function Gb(i){return Fs.add(i),ua||Yb(),()=>{Fs.delete(i),!Fs.size&&typeof ua=="function"&&(window.removeEventListener("resize",ua),ua=void 0)}}function Ly(i,l){return typeof i=="function"?Gb(i):qb(i,l)}function Xb(i){return Fc(i)&&i.tagName==="svg"}const Qb=[...Mg,Zt,Ke],Zb=i=>Qb.find(Eg(i)),wy=()=>({translate:0,scale:1,origin:0,originPoint:0}),oa=()=>({x:wy(),y:wy()}),jy=()=>({min:0,max:0}),Jt=()=>({x:jy(),y:jy()}),Kb=new WeakMap;function hu(i){return i!==null&&typeof i=="object"&&typeof i.start=="function"}function gl(i){return typeof i=="string"||Array.isArray(i)}const Wc=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Pc=["initial",...Wc];function du(i){return hu(i.animate)||Pc.some(l=>gl(i[l]))}function _g(i){return!!(du(i)||i.variants)}function Jb(i,l,o){for(const u in l){const c=l[u],d=o[u];if(ne(c))i.addValue(u,c);else if(ne(d))i.addValue(u,ca(c,{owner:i}));else if(d!==c)if(i.hasValue(u)){const h=i.getValue(u);h.liveStyle===!0?h.jump(c):h.hasAnimated||h.set(c)}else{const h=i.getStaticValue(u);i.addValue(u,ca(h!==void 0?h:c,{owner:i}))}}for(const u in o)l[u]===void 0&&i.removeValue(u);return l}const lu={current:null},$c={current:!1},kb=typeof window<"u";function Ug(){if($c.current=!0,!!kb)if(window.matchMedia){const i=window.matchMedia("(prefers-reduced-motion)"),l=()=>lu.current=i.matches;i.addEventListener("change",l),l()}else lu.current=!1}const Hy=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let su={};function Bg(i){su=i}function Fb(){return su}class Wb{scrapeMotionValuesFromProps(l,o,u){return{}}constructor({parent:l,props:o,presenceContext:u,reducedMotionConfig:c,skipAnimations:d,blockInitialAnimation:h,visualState:p},g={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Yc,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const B=oe.now();this.renderScheduledAt<B&&(this.renderScheduledAt=B,Ot.render(this.render,!1,!0))};const{latestValues:m,renderState:v}=p;this.latestValues=m,this.baseTarget={...m},this.initialValues=o.initial?{...m}:{},this.renderState=v,this.parent=l,this.props=o,this.presenceContext=u,this.depth=l?l.depth+1:0,this.reducedMotionConfig=c,this.skipAnimationsConfig=d,this.options=g,this.blockInitialAnimation=!!h,this.isControllingVariants=du(o),this.isVariantNode=_g(o),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(l&&l.current);const{willChange:S,...E}=this.scrapeMotionValuesFromProps(o,{},this);for(const B in E){const O=E[B];m[B]!==void 0&&ne(O)&&O.set(m[B])}}mount(l){if(this.hasBeenMounted)for(const o in this.initialValues)this.values.get(o)?.jump(this.initialValues[o]),this.latestValues[o]=this.initialValues[o];this.current=l,Kb.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((o,u)=>this.bindToMotionValue(u,o)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:($c.current||Ug(),this.shouldReduceMotion=lu.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),kn(this.notifyUpdate),kn(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 o=this.features[l];o&&(o.unmount(),o.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,o){if(this.valueSubscriptions.has(l)&&this.valueSubscriptions.get(l)(),o.accelerate&&yg.has(l)&&this.current instanceof HTMLElement){const{factory:h,keyframes:p,times:g,ease:m,duration:v}=o.accelerate,S=new dg({element:this.current,name:l,keyframes:p,times:g,ease:m,duration:Ce(v)}),E=h(S);this.valueSubscriptions.set(l,()=>{E(),S.cancel()});return}const u=da.has(l);u&&this.onBindTransform&&this.onBindTransform();const c=o.on("change",h=>{this.latestValues[l]=h,this.props.onUpdate&&Ot.preRender(this.notifyUpdate),u&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let d;typeof window<"u"&&window.MotionCheckAppearSync&&(d=window.MotionCheckAppearSync(this,l,o)),this.valueSubscriptions.set(l,()=>{c(),d&&d()})}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 su){const o=su[l];if(!o)continue;const{isEnabled:u,Feature:c}=o;if(!this.features[l]&&c&&u(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):Jt()}getStaticValue(l){return this.latestValues[l]}setStaticValue(l,o){this.latestValues[l]=o}update(l,o){(l.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=l,this.prevPresenceContext=this.presenceContext,this.presenceContext=o;for(let u=0;u<Hy.length;u++){const c=Hy[u];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=Jb(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 o=this.getClosestVariantNode();if(o)return o.variantChildren&&o.variantChildren.add(l),()=>o.variantChildren.delete(l)}addValue(l,o){const u=this.values.get(l);o!==u&&(u&&this.removeValue(l),this.bindToMotionValue(l,o),this.values.set(l,o),this.latestValues[l]=o.get())}removeValue(l){this.values.delete(l);const o=this.valueSubscriptions.get(l);o&&(o(),this.valueSubscriptions.delete(l)),delete this.latestValues[l],this.removeValueFromRenderState(l,this.renderState)}hasValue(l){return this.values.has(l)}getValue(l,o){if(this.props.values&&this.props.values[l])return this.props.values[l];let u=this.values.get(l);return u===void 0&&o!==void 0&&(u=ca(o===null?void 0:o,{owner:this}),this.addValue(l,u)),u}readValue(l,o){let u=this.latestValues[l]!==void 0||!this.current?this.latestValues[l]:this.getBaseTargetFromProps(this.props,l)??this.readValueFromInstance(this.current,l,this.options);return u!=null&&(typeof u=="string"&&(Up(u)||Np(u))?u=parseFloat(u):!Zb(u)&&Ke.test(o)&&(u=Dg(l,o)),this.setBaseTarget(l,ne(u)?u.get():u)),ne(u)?u.get():u}setBaseTarget(l,o){this.baseTarget[l]=o}getBaseTarget(l){const{initial:o}=this.props;let u;if(typeof o=="string"||typeof o=="object"){const d=Qc(this.props,o,this.presenceContext?.custom);d&&(u=d[l])}if(o&&u!==void 0)return u;const c=this.getBaseTargetFromProps(this.props,l);return c!==void 0&&!ne(c)?c:this.initialValues[l]!==void 0&&u===void 0?void 0:this.baseTarget[l]}on(l,o){return this.events[l]||(this.events[l]=new _c),this.events[l].add(o)}notify(l,...o){this.events[l]&&this.events[l].notify(...o)}scheduleRenderMicrotask(){Jc.render(this.render)}}class Ng extends Wb{constructor(){super(...arguments),this.KeyframeResolver=Mb}sortInstanceNodePosition(l,o){return l.compareDocumentPosition(o)&2?1:-1}getBaseTargetFromProps(l,o){const u=l.style;return u?u[o]:void 0}removeValueFromRenderState(l,{vars:o,style:u}){delete o[l],delete u[l]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:l}=this.props;ne(l)&&(this.childSubscription=l.on("change",o=>{this.current&&(this.current.textContent=`${o}`)}))}}class Fn{constructor(l){this.isMounted=!1,this.node=l}update(){}}function Lg({top:i,left:l,right:o,bottom:u}){return{x:{min:l,max:o},y:{min:i,max:u}}}function Pb({x:i,y:l}){return{top:l.min,right:i.max,bottom:l.max,left:i.min}}function $b(i,l){if(!l)return i;const o=l({x:i.left,y:i.top}),u=l({x:i.right,y:i.bottom});return{top:o.y,left:o.x,bottom:u.y,right:u.x}}function kr(i){return i===void 0||i===1}function bc({scale:i,scaleX:l,scaleY:o}){return!kr(i)||!kr(l)||!kr(o)}function pi(i){return bc(i)||wg(i)||i.z||i.rotate||i.rotateX||i.rotateY||i.skewX||i.skewY}function wg(i){return qy(i.x)||qy(i.y)}function qy(i){return i&&i!=="0%"}function uu(i,l,o){const u=i-o,c=l*u;return o+c}function Yy(i,l,o,u,c){return c!==void 0&&(i=uu(i,c,u)),uu(i,o,u)+l}function Ac(i,l=0,o=1,u,c){i.min=Yy(i.min,l,o,u,c),i.max=Yy(i.max,l,o,u,c)}function jg(i,{x:l,y:o}){Ac(i.x,l.translate,l.scale,l.originPoint),Ac(i.y,o.translate,o.scale,o.originPoint)}const Gy=.999999999999,Xy=1.0000000000001;function Ib(i,l,o,u=!1){const c=o.length;if(!c)return;l.x=l.y=1;let d,h;for(let p=0;p<c;p++){d=o[p],h=d.projectionDelta;const{visualElement:g}=d.options;g&&g.props.style&&g.props.style.display==="contents"||(u&&d.options.layoutScroll&&d.scroll&&d!==d.root&&($e(i.x,-d.scroll.offset.x),$e(i.y,-d.scroll.offset.y)),h&&(l.x*=h.x.scale,l.y*=h.y.scale,jg(i,h)),u&&pi(d.latestValues)&&Ws(i,d.latestValues,d.layout?.layoutBox))}l.x<Xy&&l.x>Gy&&(l.x=1),l.y<Xy&&l.y>Gy&&(l.y=1)}function $e(i,l){i.min+=l,i.max+=l}function Qy(i,l,o,u,c=.5){const d=zt(i.min,i.max,c);Ac(i,l,o,d,u)}function Zy(i,l){return typeof i=="string"?parseFloat(i)/100*(l.max-l.min):i}function Ws(i,l,o){const u=o??i;Qy(i.x,Zy(l.x,u.x),l.scaleX,l.scale,l.originX),Qy(i.y,Zy(l.y,u.y),l.scaleY,l.scale,l.originY)}function Hg(i,l){return Lg($b(i.getBoundingClientRect(),l))}function t2(i,l,o){const u=Hg(i,o),{scroll:c}=l;return c&&($e(u.x,c.offset.x),$e(u.y,c.offset.y)),u}const e2={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},n2=ha.length;function i2(i,l,o){let u="",c=!0;for(let h=0;h<n2;h++){const p=ha[h],g=i[p];if(g===void 0)continue;let m=!0;if(typeof g=="number")m=g===(p.startsWith("scale")?1:0);else{const v=parseFloat(g);m=p.startsWith("scale")?v===1:v===0}if(!m||o){const v=Tc(g,au[p]);if(!m){c=!1;const S=e2[p]||p;u+=`${S}(${v}) `}o&&(l[p]=v)}}const d=i.pathRotation;return d&&(c=!1,u+=`rotate(${Tc(d,au.pathRotation)}) `),u=u.trim(),o?u=o(l,c?"":u):c&&(u="none"),u}function Ic(i,l,o){const{style:u,vars:c,transformOrigin:d}=i;let h=!1,p=!1;for(const g in l){const m=l[g];if(da.has(g)){h=!0;continue}else if(Wp(g)){c[g]=m;continue}else{const v=Tc(m,au[g]);g.startsWith("origin")?(p=!0,d[g]=v):u[g]=v}}if(l.transform||(h||o?u.transform=i2(l,i.transform,o):u.transform&&(u.transform="none")),p){const{originX:g="50%",originY:m="50%",originZ:v=0}=d;u.transformOrigin=`${g} ${m} ${v}`}}function qg(i,{style:l,vars:o},u,c){const d=i.style;let h;for(h in l)d[h]=l[h];c?.applyProjectionStyles(d,u);for(h in o)d.setProperty(h,o[h])}function Ky(i,l){return l.max===l.min?0:i/(l.max-l.min)*100}const rl={correct:(i,l)=>{if(!l.target)return i;if(typeof i=="string")if(J.test(i))i=parseFloat(i);else return i;const o=Ky(i,l.target.x),u=Ky(i,l.target.y);return`${o}% ${u}%`}},a2={correct:(i,{treeScale:l,projectionDelta:o})=>{const u=i,c=Ke.parse(i);if(c.length>5)return u;const d=Ke.createTransformer(i),h=typeof c[0]!="number"?1:0,p=o.x.scale*l.x,g=o.y.scale*l.y;c[0+h]/=p,c[1+h]/=g;const m=zt(p,g,.5);return typeof c[2+h]=="number"&&(c[2+h]/=m),typeof c[3+h]=="number"&&(c[3+h]/=m),d(c)}},Ec={borderRadius:{...rl,applyTo:[...Kc]},borderTopLeftRadius:rl,borderTopRightRadius:rl,borderBottomLeftRadius:rl,borderBottomRightRadius:rl,boxShadow:a2};function Yg(i,{layout:l,layoutId:o}){return da.has(i)||i.startsWith("origin")||(l||o!==void 0)&&(!!Ec[i]||i==="opacity")}function tf(i,l,o){const u=i.style,c=l?.style,d={};if(!u)return d;for(const h in u)(ne(u[h])||c&&ne(c[h])||Yg(h,i)||o?.getValue(h)?.liveStyle!==void 0)&&(d[h]=u[h]);return d}function l2(i){return window.getComputedStyle(i)}class s2 extends Ng{constructor(){super(...arguments),this.type="html",this.renderInstance=qg}mount(l){cu(!!l.style),super.mount(l)}readValueFromInstance(l,o){if(da.has(o))return this.projection?.isProjecting?rc(o):DT(l,o);{const u=l2(l),c=(Wp(o)?u.getPropertyValue(o):u[o])||0;return typeof c=="string"?c.trim():c}}measureInstanceViewportBox(l,{transformPagePoint:o}){return Hg(l,o)}build(l,o,u){Ic(l,o,u.transformTemplate)}scrapeMotionValuesFromProps(l,o,u){return tf(l,o,u)}}const u2={offset:"stroke-dashoffset",array:"stroke-dasharray"},o2={offset:"strokeDashoffset",array:"strokeDasharray"};function r2(i,l,o=1,u=0,c=!0){i.pathLength=1;const d=c?u2:o2;i[d.offset]=`${-u}`,i[d.array]=`${l} ${o}`}const c2=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Gg(i,{attrX:l,attrY:o,attrScale:u,pathLength:c,pathSpacing:d=1,pathOffset:h=0,...p},g,m,v){if(Ic(i,p,m),g){i.style.viewBox&&(i.attrs.viewBox=i.style.viewBox);return}i.attrs=i.style,i.style={};const{attrs:S,style:E}=i;S.transform&&(E.transform=S.transform,delete S.transform),(E.transform||S.transformOrigin)&&(E.transformOrigin=S.transformOrigin??"50% 50%",delete S.transformOrigin),E.transform&&(E.transformBox=v?.transformBox??"fill-box",delete S.transformBox);for(const B of c2)S[B]!==void 0&&(E[B]=S[B],delete S[B]);l!==void 0&&(S.x=l),o!==void 0&&(S.y=o),u!==void 0&&(S.scale=u),c!==void 0&&r2(S,c,d,h,!1)}const Xg=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"]),Qg=i=>typeof i=="string"&&i.toLowerCase()==="svg";function f2(i,l,o,u){qg(i,l,void 0,u);for(const c in l.attrs)i.setAttribute(Xg.has(c)?c:Zc(c),l.attrs[c])}function Zg(i,l,o){const u=tf(i,l,o);for(const c in i)if(ne(i[c])||ne(l[c])){const d=ha.indexOf(c)!==-1?"attr"+c.charAt(0).toUpperCase()+c.substring(1):c;u[d]=i[c]}return u}class h2 extends Ng{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Jt}getBaseTargetFromProps(l,o){return l[o]}readValueFromInstance(l,o){if(da.has(o)){const u=xg(o);return u&&u.default||0}return o=Xg.has(o)?o:Zc(o),l.getAttribute(o)}scrapeMotionValuesFromProps(l,o,u){return Zg(l,o,u)}build(l,o,u){Gg(l,o,this.isSVGTag,u.transformTemplate,u.style)}renderInstance(l,o,u,c){f2(l,o,u,c)}mount(l){this.isSVGTag=Qg(l.tagName),super.mount(l)}}const d2=Pc.length;function Kg(i){if(!i)return;if(!i.isControllingVariants){const o=i.parent?Kg(i.parent)||{}:{};return i.props.initial!==void 0&&(o.initial=i.props.initial),o}const l={};for(let o=0;o<d2;o++){const u=Pc[o],c=i.props[u];(gl(c)||c===!1)&&(l[u]=c)}return l}function Jg(i,l){if(!Array.isArray(l))return!1;const o=l.length;if(o!==i.length)return!1;for(let u=0;u<o;u++)if(l[u]!==i[u])return!1;return!0}const m2=[...Wc].reverse(),y2=Wc.length;function p2(i){return l=>Promise.all(l.map(({animation:o,options:u})=>db(i,o,u)))}function g2(i){let l=p2(i),o=Jy(),u=!0,c=!1;const d=m=>(v,S)=>{const E=Ti(i,S,m==="exit"?i.presenceContext?.custom:void 0);if(E){const{transition:B,transitionEnd:O,...L}=E;v={...v,...L,...O}}return v};function h(m){l=m(i)}function p(m){const{props:v}=i,S=Kg(i.parent)||{},E=[],B=new Set;let O={},L=1/0;for(let j=0;j<y2;j++){const Y=m2[j],H=o[Y],X=v[Y]!==void 0?v[Y]:S[Y],et=gl(X),ut=Y===m?H.isActive:null;ut===!1&&(L=j);let K=X===S[Y]&&X!==v[Y]&&et;if(K&&(u||c)&&i.manuallyAnimateOnMount&&(K=!1),H.protectedKeys={...O},!H.isActive&&ut===null||!X&&!H.prevProp||hu(X)||typeof X=="boolean")continue;if(Y==="exit"&&H.isActive&&ut!==!0){H.prevResolvedValues&&(O={...O,...H.prevResolvedValues});continue}const P=v2(H.prevProp,X);let Et=P||Y===m&&H.isActive&&!K&&et||j>L&&et,tt=!1;const gt=Array.isArray(X)?X:[X];let Tt=gt.reduce(d(Y),{});ut===!1&&(Tt={});const{prevResolvedValues:le={}}=H,qt={...le,...Tt},Lt=Q=>{Et=!0,B.has(Q)&&(tt=!0,B.delete(Q)),H.needsAnimating[Q]=!0;const lt=i.getValue(Q);lt&&(lt.liveStyle=!1)};for(const Q in qt){const lt=Tt[Q],dt=le[Q];if(O.hasOwnProperty(Q))continue;let A=!1;yc(lt)&&yc(dt)?A=!Jg(lt,dt)||P:A=lt!==dt,A?lt!=null?Lt(Q):B.add(Q):lt!==void 0&&B.has(Q)?Lt(Q):H.protectedKeys[Q]=!0}H.prevProp=X,H.prevResolvedValues=Tt,H.isActive&&(O={...O,...Tt}),(u||c)&&i.blockInitialAnimation&&(Et=!1);const R=K&&P;Et&&(!R||tt)&&E.push(...gt.map(Q=>{const lt={type:Y};if(typeof Q=="string"&&(u||c)&&!R&&i.manuallyAnimateOnMount&&i.parent){const{parent:dt}=i,A=Ti(dt,Q);if(dt.enteringChildren&&A){const{delayChildren:N}=A.transition||{};lt.delay=pg(dt.enteringChildren,i,N)}}return{animation:Q,options:lt}}))}if(B.size){const j={};if(typeof v.initial!="boolean"){const Y=Ti(i,Array.isArray(v.initial)?v.initial[0]:v.initial);Y&&Y.transition&&(j.transition=Y.transition)}B.forEach(Y=>{const H=i.getBaseTarget(Y),X=i.getValue(Y);X&&(X.liveStyle=!0),j[Y]=H??null}),E.push({animation:j})}let w=!!E.length;return u&&(v.initial===!1||v.initial===v.animate)&&!i.manuallyAnimateOnMount&&(w=!1),u=!1,c=!1,w?l(E):Promise.resolve()}function g(m,v){if(o[m].isActive===v)return Promise.resolve();i.variantChildren?.forEach(E=>E.animationState?.setActive(m,v)),o[m].isActive=v;const S=p(m);for(const E in o)o[E].protectedKeys={};return S}return{animateChanges:p,setActive:g,setAnimateFunction:h,getState:()=>o,reset:()=>{o=Jy(),c=!0}}}function v2(i,l){return typeof l=="string"?l!==i:Array.isArray(l)?!Jg(l,i):!1}function yi(i=!1){return{isActive:i,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Jy(){return{animate:yi(!0),whileInView:yi(),whileHover:yi(),whileTap:yi(),whileDrag:yi(),whileFocus:yi(),exit:yi()}}function Mc(i,l){i.min=l.min,i.max=l.max}function Qe(i,l){Mc(i.x,l.x),Mc(i.y,l.y)}function ky(i,l){i.translate=l.translate,i.scale=l.scale,i.originPoint=l.originPoint,i.origin=l.origin}const kg=1e-4,S2=1-kg,T2=1+kg,Fg=.01,b2=0-Fg,A2=0+Fg;function re(i){return i.max-i.min}function E2(i,l,o){return Math.abs(i-l)<=o}function Fy(i,l,o,u=.5){i.origin=u,i.originPoint=zt(l.min,l.max,i.origin),i.scale=re(o)/re(l),i.translate=zt(o.min,o.max,i.origin)-i.originPoint,(i.scale>=S2&&i.scale<=T2||isNaN(i.scale))&&(i.scale=1),(i.translate>=b2&&i.translate<=A2||isNaN(i.translate))&&(i.translate=0)}function dl(i,l,o,u){Fy(i.x,l.x,o.x,u?u.originX:void 0),Fy(i.y,l.y,o.y,u?u.originY:void 0)}function Wy(i,l,o,u=0){const c=u?zt(o.min,o.max,u):o.min;i.min=c+l.min,i.max=i.min+re(l)}function M2(i,l,o,u){Wy(i.x,l.x,o.x,u?.x),Wy(i.y,l.y,o.y,u?.y)}function Py(i,l,o,u=0){const c=u?zt(o.min,o.max,u):o.min;i.min=l.min-c,i.max=i.min+re(l)}function ou(i,l,o,u){Py(i.x,l.x,o.x,u?.x),Py(i.y,l.y,o.y,u?.y)}function $y(i,l,o,u,c){return i-=l,i=uu(i,1/o,u),c!==void 0&&(i=uu(i,1/c,u)),i}function x2(i,l=0,o=1,u=.5,c,d=i,h=i){if(Ie.test(l)&&(l=parseFloat(l),l=zt(h.min,h.max,l/100)-h.min),typeof l!="number")return;let p=zt(d.min,d.max,u);i===d&&(p-=l),i.min=$y(i.min,l,o,p,c),i.max=$y(i.max,l,o,p,c)}function Iy(i,l,[o,u,c],d,h){x2(i,l[o],l[u],l[c],l.scale,d,h)}const D2=["x","scaleX","originX"],C2=["y","scaleY","originY"];function tp(i,l,o,u){Iy(i.x,l,D2,o?o.x:void 0,u?u.x:void 0),Iy(i.y,l,C2,o?o.y:void 0,u?u.y:void 0)}function ep(i){return i.translate===0&&i.scale===1}function Wg(i){return ep(i.x)&&ep(i.y)}function np(i,l){return i.min===l.min&&i.max===l.max}function z2(i,l){return np(i.x,l.x)&&np(i.y,l.y)}function ip(i,l){return Math.round(i.min)===Math.round(l.min)&&Math.round(i.max)===Math.round(l.max)}function Pg(i,l){return ip(i.x,l.x)&&ip(i.y,l.y)}function ap(i){return re(i.x)/re(i.y)}function lp(i,l){return i.translate===l.translate&&i.scale===l.scale&&i.originPoint===l.originPoint}function Pe(i){return[i("x"),i("y")]}function O2(i,l,o){let u="";const c=i.x.translate/l.x,d=i.y.translate/l.y,h=o?.z||0;if((c||d||h)&&(u=`translate3d(${c}px, ${d}px, ${h}px) `),(l.x!==1||l.y!==1)&&(u+=`scale(${1/l.x}, ${1/l.y}) `),o){const{transformPerspective:m,rotate:v,pathRotation:S,rotateX:E,rotateY:B,skewX:O,skewY:L}=o;m&&(u=`perspective(${m}px) ${u}`),v&&(u+=`rotate(${v}deg) `),S&&(u+=`rotate(${S}deg) `),E&&(u+=`rotateX(${E}deg) `),B&&(u+=`rotateY(${B}deg) `),O&&(u+=`skewX(${O}deg) `),L&&(u+=`skewY(${L}deg) `)}const p=i.x.scale*l.x,g=i.y.scale*l.y;return(p!==1||g!==1)&&(u+=`scale(${p}, ${g})`),u||"none"}const R2=Kc.length,sp=i=>typeof i=="string"?parseFloat(i):i,up=i=>typeof i=="number"||J.test(i);function V2(i,l,o,u,c,d){c?(i.opacity=zt(0,o.opacity??1,_2(u)),i.opacityExit=zt(l.opacity??1,0,U2(u))):d&&(i.opacity=zt(l.opacity??1,o.opacity??1,u));for(let h=0;h<R2;h++){const p=Kc[h];let g=op(l,p),m=op(o,p);if(g===void 0&&m===void 0)continue;g||(g=0),m||(m=0),g===0||m===0||up(g)===up(m)?(i[p]=Math.max(zt(sp(g),sp(m),u),0),(Ie.test(m)||Ie.test(g))&&(i[p]+="%")):i[p]=m}(l.rotate||o.rotate)&&(i.rotate=zt(l.rotate||0,o.rotate||0,u))}function op(i,l){return i[l]!==void 0?i[l]:i.borderRadius}const _2=$g(0,.5,Qp),U2=$g(.5,.95,qe);function $g(i,l,o){return u=>u<i?0:u>l?1:o(yl(i,l,u))}function B2(i,l,o){const u=ne(i)?i:ca(i);return u.start(Xc("",u,l,o)),u.animation}function vl(i,l,o,u={passive:!0}){return i.addEventListener(l,o,u),()=>i.removeEventListener(l,o,u)}const N2=(i,l)=>i.depth-l.depth;class L2{constructor(){this.children=[],this.isDirty=!1}add(l){Vc(this.children,l),this.isDirty=!0}remove(l){Is(this.children,l),this.isDirty=!0}forEach(l){this.isDirty&&this.children.sort(N2),this.isDirty=!1,this.children.forEach(l)}}function w2(i,l){const o=oe.now(),u=({timestamp:c})=>{const d=c-o;d>=l&&(kn(u),i(d-l))};return Ot.setup(u,!0),()=>kn(u)}function Ps(i){return ne(i)?i.get():i}class j2{constructor(){this.members=[]}add(l){Vc(this.members,l);for(let o=this.members.length-1;o>=0;o--){const u=this.members[o];if(u===l||u===this.lead||u===this.prevLead)continue;const c=u.instance;(!c||c.isConnected===!1)&&!u.snapshot&&(Is(this.members,u),u.unmount())}l.scheduleRender()}remove(l){if(Is(this.members,l),l===this.prevLead&&(this.prevLead=void 0),l===this.lead){const o=this.members[this.members.length-1];o&&this.promote(o)}}relegate(l){for(let o=this.members.indexOf(l)-1;o>=0;o--){const u=this.members[o];if(u.isPresent!==!1&&u.instance?.isConnected!==!1)return this.promote(u),!0}return!1}promote(l,o){const u=this.lead;if(l!==u&&(this.prevLead=u,this.lead=l,l.show(),u)){u.updateSnapshot(),l.scheduleRender();const{layoutDependency:c}=u.options,{layoutDependency:d}=l.options;(c===void 0||c!==d)&&(l.resumeFrom=u,o&&(u.preserveOpacity=!0),u.snapshot&&(l.snapshot=u.snapshot,l.snapshot.latestValues=u.animationValues||u.latestValues),l.root?.isUpdating&&(l.isLayoutDirty=!0)),l.options.crossfade===!1&&u.hide()}}exitAnimationComplete(){this.members.forEach(l=>{l.options.onExitComplete?.(),l.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(l=>l.instance&&l.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}const $s={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Fr=["","X","Y","Z"],H2=1e3;let q2=0;function Wr(i,l,o,u){const{latestValues:c}=l;c[i]&&(o[i]=c[i],l.setStaticValue(i,0),u&&(u[i]=0))}function Ig(i){if(i.hasCheckedOptimisedAppear=!0,i.root===i)return;const{visualElement:l}=i.options;if(!l)return;const o=bg(l);if(window.MotionHasOptimisedAnimation(o,"transform")){const{layout:c,layoutId:d}=i.options;window.MotionCancelOptimisedAnimation(o,"transform",Ot,!(c||d))}const{parent:u}=i;u&&!u.hasCheckedOptimisedAppear&&Ig(u)}function t0({attachResizeListener:i,defaultParent:l,measureScroll:o,checkIsScrollRoot:u,resetTransform:c}){return class{constructor(h={},p=l?.()){this.id=q2++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(X2),this.nodes.forEach(F2),this.nodes.forEach(W2),this.nodes.forEach(Q2)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=h,this.root=p?p.root||p:this,this.path=p?[...p.path,p]:[],this.parent=p,this.depth=p?p.depth+1:0;for(let g=0;g<this.path.length;g++)this.path[g].shouldResetTransform=!0;this.root===this&&(this.nodes=new L2)}addEventListener(h,p){return this.eventHandlers.has(h)||this.eventHandlers.set(h,new _c),this.eventHandlers.get(h).add(p)}notifyListeners(h,...p){const g=this.eventHandlers.get(h);g&&g.notify(...p)}hasListeners(h){return this.eventHandlers.has(h)}mount(h){if(this.instance)return;this.isSVG=Fc(h)&&!Xb(h),this.instance=h;const{layoutId:p,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||p)&&(this.isLayoutDirty=!0),i){let v,S=0;const E=()=>this.root.updateBlockedByResize=!1;Ot.read(()=>{S=window.innerWidth}),i(h,()=>{const B=window.innerWidth;B!==S&&(S=B,this.root.updateBlockedByResize=!0,v&&v(),v=w2(E,250),$s.hasAnimatedSinceResize&&($s.hasAnimatedSinceResize=!1,this.nodes.forEach(fp)))})}p&&this.root.registerSharedNode(p,this),this.options.animate!==!1&&m&&(p||g)&&this.addEventListener("didUpdate",({delta:v,hasLayoutChanged:S,hasRelativeLayoutChanged:E,layout:B})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const O=this.options.transition||m.getDefaultTransition()||eA,{onLayoutAnimationStart:L,onLayoutAnimationComplete:w}=m.getProps(),j=!this.targetLayout||!Pg(this.targetLayout,B),Y=!S&&E;if(this.options.layoutRoot||this.resumeFrom||Y||S&&(j||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const H={...Gc(O,"layout"),onPlay:L,onComplete:w};(m.shouldReduceMotion||this.options.layoutRoot)&&(H.delay=0,H.type=!1),this.startAnimation(H),this.setAnimationOrigin(v,Y,H.path)}else S||fp(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=B})}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(),kn(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(P2),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&&Ig(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let v=0;v<this.path.length;v++){const S=this.path[v];S.shouldResetTransform=!0,(typeof S.latestValues.x=="string"||typeof S.latestValues.y=="string")&&(S.isLayoutDirty=!0),S.updateScroll("snapshot"),S.options.layoutRoot&&S.willUpdate(!1)}const{layoutId:p,layout:g}=this.options;if(p===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()){const g=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),g&&this.nodes.forEach(K2),this.nodes.forEach(rp);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(cp);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(J2),this.nodes.forEach(k2),this.nodes.forEach(Y2),this.nodes.forEach(G2)):this.nodes.forEach(cp),this.clearAllSnapshots();const p=oe.now();ee.delta=tn(0,1e3/60,p-ee.timestamp),ee.timestamp=p,ee.isProcessing=!0,Yr.update.process(ee),Yr.preRender.process(ee),Yr.render.process(ee),ee.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Jc.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Z2),this.sharedNodes.forEach($2)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Ot.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Ot.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!re(this.snapshot.measuredBox.x)&&!re(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.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=Jt()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:p}=this.options;p&&p.notify("LayoutMeasure",this.layout.layoutBox,h?h.layoutBox:void 0)}updateScroll(h="measure"){let p=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===h&&(p=!1),p&&this.instance){const g=u(this.instance);this.scroll={animationId:this.root.animationId,phase:h,isRoot:g,offset:o(this.instance),wasRoot:this.scroll?this.scroll.isRoot:g}}}resetTransform(){if(!c)return;const h=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,p=this.projectionDelta&&!Wg(this.projectionDelta),g=this.getTransformTemplate(),m=g?g(this.latestValues,""):void 0,v=m!==this.prevTransformTemplateValue;h&&this.instance&&(p||pi(this.latestValues)||v)&&(c(this.instance,m),this.shouldResetTransform=!1,this.scheduleRender())}measure(h=!0){const p=this.measurePageBox();let g=this.removeElementScroll(p);return h&&(g=this.removeTransform(g)),nA(g),{animationId:this.root.animationId,measuredBox:p,layoutBox:g,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:h}=this.options;if(!h)return Jt();const p=h.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(iA))){const{scroll:m}=this.root;m&&($e(p.x,m.offset.x),$e(p.y,m.offset.y))}return p}removeElementScroll(h){const p=Jt();if(Qe(p,h),this.scroll?.wasRoot)return p;for(let g=0;g<this.path.length;g++){const m=this.path[g],{scroll:v,options:S}=m;m!==this.root&&v&&S.layoutScroll&&(v.wasRoot&&Qe(p,h),$e(p.x,v.offset.x),$e(p.y,v.offset.y))}return p}applyTransform(h,p=!1,g){const m=g||Jt();Qe(m,h);for(let v=0;v<this.path.length;v++){const S=this.path[v];!p&&S.options.layoutScroll&&S.scroll&&S!==S.root&&($e(m.x,-S.scroll.offset.x),$e(m.y,-S.scroll.offset.y)),pi(S.latestValues)&&Ws(m,S.latestValues,S.layout?.layoutBox)}return pi(this.latestValues)&&Ws(m,this.latestValues,this.layout?.layoutBox),m}removeTransform(h){const p=Jt();Qe(p,h);for(let g=0;g<this.path.length;g++){const m=this.path[g];if(!pi(m.latestValues))continue;let v;m.instance&&(bc(m.latestValues)&&m.updateSnapshot(),v=Jt(),Qe(v,m.measurePageBox())),tp(p,m.latestValues,m.snapshot?.layoutBox,v)}return pi(this.latestValues)&&tp(p,this.latestValues),p}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!==ee.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(h=!1){const p=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=p.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=p.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=p.isSharedProjectionDirty);const g=!!this.resumingFrom||this!==p;if(!(h||g&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:v,layoutId:S}=this.options;if(!this.layout||!(v||S))return;this.resolvedRelativeTargetAt=ee.timestamp;const E=this.getClosestProjectingParent();E&&this.linkedParentVersion!==E.layoutVersion&&!E.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&E&&E.layout?this.createRelativeTarget(E,this.layout.layoutBox,E.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Jt(),this.targetWithTransforms=Jt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),M2(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Qe(this.target,this.layout.layoutBox),jg(this.target,this.targetDelta)):Qe(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&E&&!!E.resumingFrom==!!this.resumingFrom&&!E.options.layoutScroll&&E.target&&this.animationProgress!==1?this.createRelativeTarget(E,this.target,E.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||bc(this.parent.latestValues)||wg(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(h,p,g){this.relativeParent=h,this.linkedParentVersion=h.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Jt(),this.relativeTargetOrigin=Jt(),ou(this.relativeTargetOrigin,p,g,this.options.layoutAnchor||void 0),Qe(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const h=this.getLead(),p=!!this.resumingFrom||this!==h;let g=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(g=!1),p&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(g=!1),this.resolvedRelativeTargetAt===ee.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;Qe(this.layoutCorrected,this.layout.layoutBox);const S=this.treeScale.x,E=this.treeScale.y;Ib(this.layoutCorrected,this.treeScale,this.path,p),h.layout&&!h.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(h.target=h.layout.layoutBox,h.targetWithTransforms=Jt());const{target:B}=h;if(!B){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(ky(this.prevProjectionDelta.x,this.projectionDelta.x),ky(this.prevProjectionDelta.y,this.projectionDelta.y)),dl(this.projectionDelta,this.layoutCorrected,B,this.latestValues),(this.treeScale.x!==S||this.treeScale.y!==E||!lp(this.projectionDelta.x,this.prevProjectionDelta.x)||!lp(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",B))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(h=!0){if(this.options.visualElement?.scheduleRender(),h){const p=this.getStack();p&&p.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=oa(),this.projectionDelta=oa(),this.projectionDeltaWithTransform=oa()}setAnimationOrigin(h,p=!1,g){const m=this.snapshot,v=m?m.latestValues:{},S={...this.latestValues},E=oa();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!p;const B=Jt(),O=m?m.source:void 0,L=this.layout?this.layout.source:void 0,w=O!==L,j=this.getStack(),Y=!j||j.members.length<=1,H=!!(w&&!Y&&this.options.crossfade===!0&&!this.path.some(tA));this.animationProgress=0;let X;const et=g?.interpolateProjection(h);this.mixTargetDelta=ut=>{const K=ut/1e3,P=et?.(K);P?(E.x.translate=P.x,E.x.scale=zt(h.x.scale,1,K),E.x.origin=h.x.origin,E.x.originPoint=h.x.originPoint,E.y.translate=P.y,E.y.scale=zt(h.y.scale,1,K),E.y.origin=h.y.origin,E.y.originPoint=h.y.originPoint):(hp(E.x,h.x,K),hp(E.y,h.y,K)),this.setTargetDelta(E),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ou(B,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),I2(this.relativeTarget,this.relativeTargetOrigin,B,K),X&&z2(this.relativeTarget,X)&&(this.isProjectionDirty=!1),X||(X=Jt()),Qe(X,this.relativeTarget)),w&&(this.animationValues=S,V2(S,v,this.latestValues,K,H,Y)),P&&P.rotate!==void 0&&(this.animationValues||(this.animationValues=S),this.animationValues.pathRotation=P.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=K},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(h){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(kn(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ot.update(()=>{$s.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=ca(0)),this.motionValue.jump(0,!1),this.currentAnimation=B2(this.motionValue,[0,1e3],{...h,velocity:0,isSync:!0,onUpdate:p=>{this.mixTargetDelta(p),h.onUpdate&&h.onUpdate(p)},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(H2),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const h=this.getLead();let{targetWithTransforms:p,target:g,layout:m,latestValues:v}=h;if(!(!p||!g||!m)){if(this!==h&&this.layout&&m&&e0(this.options.animationType,this.layout.layoutBox,m.layoutBox)){g=this.target||Jt();const S=re(this.layout.layoutBox.x);g.x.min=h.target.x.min,g.x.max=g.x.min+S;const E=re(this.layout.layoutBox.y);g.y.min=h.target.y.min,g.y.max=g.y.min+E}Qe(p,g),Ws(p,v),dl(this.projectionDeltaWithTransform,this.layoutCorrected,p,v)}}registerSharedNode(h,p){this.sharedNodes.has(h)||this.sharedNodes.set(h,new j2),this.sharedNodes.get(h).add(p);const m=p.options.initialPromotionConfig;p.promote({transition:m?m.transition:void 0,preserveFollowOpacity:m&&m.shouldPreserveFollowOpacity?m.shouldPreserveFollowOpacity(p):void 0})}isLead(){const 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:p,preserveFollowOpacity:g}={}){const m=this.getStack();m&&m.promote(this,g),h&&(this.projectionDelta=void 0,this.needsReset=!0),p&&this.setOptions({transition:p})}relegate(){const h=this.getStack();return h?h.relegate(this):!1}resetSkewAndRotation(){const{visualElement:h}=this.options;if(!h)return;let p=!1;const{latestValues:g}=h;if((g.z||g.rotate||g.rotateX||g.rotateY||g.rotateZ||g.skewX||g.skewY)&&(p=!0),!p)return;const m={};g.z&&Wr("z",h,m,this.animationValues);for(let v=0;v<Fr.length;v++)Wr(`rotate${Fr[v]}`,h,m,this.animationValues),Wr(`skew${Fr[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,p){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=Ps(p?.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=Ps(p?.pointerEvents)||""),this.hasProjected&&!pi(this.latestValues)&&(h.transform=g?g({},""):"none",this.hasProjected=!1);return}h.visibility="";const v=m.animationValues||m.latestValues;this.applyTransformsToTarget();let S=O2(this.projectionDeltaWithTransform,this.treeScale,v);g&&(S=g(v,S)),h.transform=S;const{x:E,y:B}=this.projectionDelta;h.transformOrigin=`${E.origin*100}% ${B.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 O in Ec){if(v[O]===void 0)continue;const{correct:L,applyTo:w,isCSSVariable:j}=Ec[O],Y=S==="none"?v[O]:L(v[O],m);if(w){const H=w.length;for(let X=0;X<H;X++)h[w[X]]=Y}else j?this.options.visualElement.renderState.vars[O]=Y:h[O]=Y}this.options.layoutId&&(h.pointerEvents=m===this?Ps(p?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(h=>h.currentAnimation?.stop()),this.root.nodes.forEach(rp),this.root.sharedNodes.clear()}}}function Y2(i){i.updateLayout()}function G2(i){const l=i.resumeFrom?.snapshot||i.snapshot;if(i.isLead()&&i.layout&&l&&i.hasListeners("didUpdate")){const{layoutBox:o,measuredBox:u}=i.layout,{animationType:c}=i.options,d=l.source!==i.layout.source;if(c==="size")Pe(v=>{const S=d?l.measuredBox[v]:l.layoutBox[v],E=re(S);S.min=o[v].min,S.max=S.min+E});else if(c==="x"||c==="y"){const v=c==="x"?"y":"x";Mc(d?l.measuredBox[v]:l.layoutBox[v],o[v])}else e0(c,l.layoutBox,o)&&Pe(v=>{const S=d?l.measuredBox[v]:l.layoutBox[v],E=re(o[v]);S.max=S.min+E,i.relativeTarget&&!i.currentAnimation&&(i.isProjectionDirty=!0,i.relativeTarget[v].max=i.relativeTarget[v].min+E)});const h=oa();dl(h,o,l.layoutBox);const p=oa();d?dl(p,i.applyTransform(u,!0),l.measuredBox):dl(p,o,l.layoutBox);const g=!Wg(h);let m=!1;if(!i.resumeFrom){const v=i.getClosestProjectingParent();if(v&&!v.resumeFrom){const{snapshot:S,layout:E}=v;if(S&&E){const B=i.options.layoutAnchor||void 0,O=Jt();ou(O,l.layoutBox,S.layoutBox,B);const L=Jt();ou(L,o,E.layoutBox,B),Pg(O,L)||(m=!0),v.options.layoutRoot&&(i.relativeTarget=L,i.relativeTargetOrigin=O,i.relativeParent=v)}}}i.notifyListeners("didUpdate",{layout:o,snapshot:l,delta:p,layoutDelta:h,hasLayoutChanged:g,hasRelativeLayoutChanged:m})}else if(i.isLead()){const{onExitComplete:o}=i.options;o&&o()}i.options.transition=void 0}function X2(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 Q2(i){i.isProjectionDirty=i.isSharedProjectionDirty=i.isTransformDirty=!1}function Z2(i){i.clearSnapshot()}function rp(i){i.clearMeasurements()}function K2(i){i.isLayoutDirty=!0,i.updateLayout()}function cp(i){i.isLayoutDirty=!1}function J2(i){i.isAnimationBlocked&&i.layout&&!i.isLayoutDirty&&(i.snapshot=i.layout,i.isLayoutDirty=!0)}function k2(i){const{visualElement:l}=i.options;l&&l.getProps().onBeforeLayoutMeasure&&l.notify("BeforeLayoutMeasure"),i.resetTransform()}function fp(i){i.finishAnimation(),i.targetDelta=i.relativeTarget=i.target=void 0,i.isProjectionDirty=!0}function F2(i){i.resolveTargetDelta()}function W2(i){i.calcProjection()}function P2(i){i.resetSkewAndRotation()}function $2(i){i.removeLeadSnapshot()}function hp(i,l,o){i.translate=zt(l.translate,0,o),i.scale=zt(l.scale,1,o),i.origin=l.origin,i.originPoint=l.originPoint}function dp(i,l,o,u){i.min=zt(l.min,o.min,u),i.max=zt(l.max,o.max,u)}function I2(i,l,o,u){dp(i.x,l.x,o.x,u),dp(i.y,l.y,o.y,u)}function tA(i){return i.animationValues&&i.animationValues.opacityExit!==void 0}const eA={duration:.45,ease:[.4,0,.1,1]},mp=i=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(i),yp=mp("applewebkit/")&&!mp("chrome/")?Math.round:qe;function pp(i){i.min=yp(i.min),i.max=yp(i.max)}function nA(i){pp(i.x),pp(i.y)}function e0(i,l,o){return i==="position"||i==="preserve-aspect"&&!E2(ap(l),ap(o),.2)}function iA(i){return i!==i.root&&i.scroll?.wasRoot}const aA=t0({attachResizeListener:(i,l)=>vl(i,"resize",l),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Pr={current:void 0},n0=t0({measureScroll:i=>({x:i.scrollLeft,y:i.scrollTop}),defaultParent:()=>{if(!Pr.current){const i=new aA({});i.mount(window),i.setOptions({layoutScroll:!0}),Pr.current=i}return Pr.current},resetTransform:(i,l)=>{i.style.transform=l!==void 0?l:"none"},checkIsScrollRoot:i=>window.getComputedStyle(i).position==="fixed"}),i0=W.createContext({transformPagePoint:i=>i,isStatic:!1,reducedMotion:"never"});function lA(i=!0){const l=W.useContext(Rc);if(l===null)return[!0,null];const{isPresent:o,onExitComplete:u,register:c}=l,d=W.useId();W.useEffect(()=>{if(i)return c(d)},[i]);const h=W.useCallback(()=>i&&u&&u(d),[d,u,i]);return!o&&u?[!1,h]:[!0]}const a0=W.createContext({strict:!1}),gp={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let vp=!1;function sA(){if(vp)return;const i={};for(const l in gp)i[l]={isEnabled:o=>gp[l].some(u=>!!o[u])};Bg(i),vp=!0}function l0(){return sA(),Fb()}function uA(i){const l=l0();for(const o in i)l[o]={...l[o],...i[o]};Bg(l)}const oA=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function ru(i){return i.startsWith("while")||i.startsWith("drag")&&i!=="draggable"||i.startsWith("layout")||i.startsWith("onTap")||i.startsWith("onPan")||i.startsWith("onLayout")||oA.has(i)}let s0=i=>!ru(i);function rA(i){typeof i=="function"&&(s0=l=>l.startsWith("on")?!ru(l):i(l))}try{rA(require("@emotion/is-prop-valid").default)}catch{}function cA(i,l,o){const u={};for(const c in i)c==="values"&&typeof i.values=="object"||ne(i[c])||(s0(c)||o===!0&&ru(c)||!l&&!ru(c)||i.draggable&&c.startsWith("onDrag"))&&(u[c]=i[c]);return u}const mu=W.createContext({});function fA(i,l){if(du(i)){const{initial:o,animate:u}=i;return{initial:o===!1||gl(o)?o:void 0,animate:gl(u)?u:void 0}}return i.inherit!==!1?l:{}}function hA(i){const{initial:l,animate:o}=fA(i,W.useContext(mu));return W.useMemo(()=>({initial:l,animate:o}),[Sp(l),Sp(o)])}function Sp(i){return Array.isArray(i)?i.join(" "):i}const ef=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function u0(i,l,o){for(const u in l)!ne(l[u])&&!Yg(u,o)&&(i[u]=l[u])}function dA({transformTemplate:i},l){return W.useMemo(()=>{const o=ef();return Ic(o,l,i),Object.assign({},o.vars,o.style)},[l])}function mA(i,l){const o=i.style||{},u={};return u0(u,o,i),Object.assign(u,dA(i,l)),u}function yA(i,l){const o={},u=mA(i,l);return i.drag&&i.dragListener!==!1&&(o.draggable=!1,u.userSelect=u.WebkitUserSelect=u.WebkitTouchCallout="none",u.touchAction=i.drag===!0?"none":`pan-${i.drag==="x"?"y":"x"}`),i.tabIndex===void 0&&(i.onTap||i.onTapStart||i.whileTap)&&(o.tabIndex=0),o.style=u,o}const o0=()=>({...ef(),attrs:{}});function pA(i,l,o,u){const c=W.useMemo(()=>{const d=o0();return Gg(d,l,Qg(u),i.transformTemplate,i.style),{...d.attrs,style:{...d.style}}},[l]);if(i.style){const d={};u0(d,i.style,i),c.style={...d,...c.style}}return c}const gA=["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 nf(i){return typeof i!="string"||i.includes("-")?!1:!!(gA.indexOf(i)>-1||/[A-Z]/u.test(i))}function vA(i,l,o,{latestValues:u},c,d=!1,h){const g=(h??nf(i)?pA:yA)(l,u,c,i),m=cA(l,typeof i=="string",d),v=i!==W.Fragment?{...m,...g,ref:o}:{},{children:S}=l,E=W.useMemo(()=>ne(S)?S.get():S,[S]);return W.createElement(i,{...v,children:E})}function SA({scrapeMotionValuesFromProps:i,createRenderState:l},o,u,c){return{latestValues:TA(o,u,c,i),renderState:l()}}function TA(i,l,o,u){const c={},d=u(i,{});for(const E in d)c[E]=Ps(d[E]);let{initial:h,animate:p}=i;const g=du(i),m=_g(i);l&&m&&!g&&i.inherit!==!1&&(h===void 0&&(h=l.initial),p===void 0&&(p=l.animate));let v=o?o.initial===!1:!1;v=v||h===!1;const S=v?p:h;if(S&&typeof S!="boolean"&&!hu(S)){const E=Array.isArray(S)?S:[S];for(let B=0;B<E.length;B++){const O=Qc(i,E[B]);if(O){const{transitionEnd:L,transition:w,...j}=O;for(const Y in j){let H=j[Y];if(Array.isArray(H)){const X=v?H.length-1:0;H=H[X]}H!==null&&(c[Y]=H)}for(const Y in L)c[Y]=L[Y]}}}return c}const r0=i=>(l,o)=>{const u=W.useContext(mu),c=W.useContext(Rc),d=()=>SA(i,l,u,c);return o?d():SS(d)},bA=r0({scrapeMotionValuesFromProps:tf,createRenderState:ef}),AA=r0({scrapeMotionValuesFromProps:Zg,createRenderState:o0}),EA=Symbol.for("motionComponentSymbol");function MA(i,l,o){const u=W.useRef(o);W.useInsertionEffect(()=>{u.current=o});const c=W.useRef(null);return W.useCallback(d=>{d&&i.onMount?.(d),l&&(d?l.mount(d):l.unmount());const h=u.current;if(typeof h=="function")if(d){const p=h(d);typeof p=="function"&&(c.current=p)}else c.current?(c.current(),c.current=null):h(d);else h&&(h.current=d)},[l])}const c0=W.createContext({});function la(i){return i&&typeof i=="object"&&Object.prototype.hasOwnProperty.call(i,"current")}function xA(i,l,o,u,c,d){const{visualElement:h}=W.useContext(mu),p=W.useContext(a0),g=W.useContext(Rc),m=W.useContext(i0),v=m.reducedMotion,S=m.skipAnimations,E=W.useRef(null),B=W.useRef(!1);u=u||p.renderer,!E.current&&u&&(E.current=u(i,{visualState:l,parent:h,props:o,presenceContext:g,blockInitialAnimation:g?g.initial===!1:!1,reducedMotionConfig:v,skipAnimations:S,isSVG:d}),B.current&&E.current&&(E.current.manuallyAnimateOnMount=!0));const O=E.current,L=W.useContext(c0);O&&!O.projection&&c&&(O.type==="html"||O.type==="svg")&&DA(E.current,o,c,L);const w=W.useRef(!1);W.useInsertionEffect(()=>{O&&w.current&&O.update(o,g)});const j=o[Tg],Y=W.useRef(!!j&&typeof window<"u"&&!window.MotionHandoffIsComplete?.(j)&&window.MotionHasOptimisedAnimation?.(j));return bS(()=>{B.current=!0,O&&(w.current=!0,window.MotionIsMounted=!0,O.updateFeatures(),O.scheduleRenderMicrotask(),Y.current&&O.animationState&&O.animationState.animateChanges())}),W.useEffect(()=>{O&&(!Y.current&&O.animationState&&O.animationState.animateChanges(),Y.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(j)}),Y.current=!1),O.enteringChildren=void 0)}),O}function DA(i,l,o,u){const{layoutId:c,layout:d,drag:h,dragConstraints:p,layoutScroll:g,layoutRoot:m,layoutAnchor:v,layoutCrossfade:S}=l;i.projection=new o(i.latestValues,l["data-framer-portal-id"]?void 0:f0(i.parent)),i.projection.setOptions({layoutId:c,layout:d,alwaysMeasureLayout:!!h||p&&la(p),visualElement:i,animationType:typeof d=="string"?d:"both",initialPromotionConfig:u,crossfade:S,layoutScroll:g,layoutRoot:m,layoutAnchor:v})}function f0(i){if(i)return i.options.allowProjection!==!1?i.projection:f0(i.parent)}function $r(i,{forwardMotionProps:l=!1,type:o}={},u,c){u&&uA(u);const d=o?o==="svg":nf(i),h=d?AA:bA;function p(m,v){let S;const E={...W.useContext(i0),...m,layoutId:CA(m)},{isStatic:B}=E,O=hA(m),L=h(m,B);if(!B&&typeof window<"u"){zA();const w=OA(E);S=w.MeasureLayout,O.visualElement=xA(i,L,E,c,w.ProjectionNode,d)}return ae.jsxs(mu.Provider,{value:O,children:[S&&O.visualElement?ae.jsx(S,{visualElement:O.visualElement,...E}):null,vA(i,m,MA(L,O.visualElement,v),L,B,l,d)]})}p.displayName=`motion.${typeof i=="string"?i:`create(${i.displayName??i.name??""})`}`;const g=W.forwardRef(p);return g[EA]=i,g}function CA({layoutId:i}){const l=W.useContext(_p).id;return l&&i!==void 0?l+"-"+i:i}function zA(i,l){W.useContext(a0).strict}function OA(i){const l=l0(),{drag:o,layout:u}=l;if(!o&&!u)return{};const c={...o,...u};return{MeasureLayout:o?.isEnabled(i)||u?.isEnabled(i)?c.MeasureLayout:void 0,ProjectionNode:c.ProjectionNode}}function RA(i,l){if(typeof Proxy>"u")return $r;const o=new Map,u=(d,h)=>$r(d,h,i,l),c=(d,h)=>u(d,h);return new Proxy(c,{get:(d,h)=>h==="create"?u:(o.has(h)||o.set(h,$r(h,void 0,i,l)),o.get(h))})}const VA=(i,l)=>l.isSVG??nf(i)?new h2(l):new s2(l,{allowProjection:i!==W.Fragment});class _A extends Fn{constructor(l){super(l),l.animationState||(l.animationState=g2(l))}updateAnimationControlsSubscription(){const{animate:l}=this.node.getProps();hu(l)&&(this.unmountControls=l.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:l}=this.node.getProps(),{animate:o}=this.node.prevProps||{};l!==o&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let UA=0;class BA extends Fn{constructor(){super(...arguments),this.id=UA++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;const{isPresent:l,onExitComplete:o}=this.node.presenceContext,{isPresent:u}=this.node.prevPresenceContext||{};if(!this.node.animationState||l===u)return;if(l&&u===!1){if(this.isExitComplete){const{initial:d,custom:h}=this.node.getProps();if(typeof d=="string"||typeof d=="object"&&d!==null&&!Array.isArray(d)){const p=Ti(this.node,d,h);if(p){const{transition:g,transitionEnd:m,...v}=p;for(const S in v)this.node.getValue(S)?.jump(v[S])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const c=this.node.animationState.setActive("exit",!l);o&&!l&&c.then(()=>{this.isExitComplete=!0,o(this.id)})}mount(){const{register:l,onExitComplete:o}=this.node.presenceContext||{};o&&o(this.id),l&&(this.unmount=l(this.id))}unmount(){}}const NA={animation:{Feature:_A},exit:{Feature:BA}};function Al(i){return{point:{x:i.pageX,y:i.pageY}}}const LA=i=>l=>kc(l)&&i(l,Al(l));function ml(i,l,o,u){return vl(i,l,LA(o),u)}const h0=({current:i})=>i?i.ownerDocument.defaultView:null,Tp=(i,l)=>Math.abs(i-l);function wA(i,l){const o=Tp(i.x,l.x),u=Tp(i.y,l.y);return Math.sqrt(o**2+u**2)}const bp=new Set(["auto","scroll"]);class d0{constructor(l,o,{transformPagePoint:u,contextWindow:c=window,dragSnapToOrigin:d=!1,distanceThreshold:h=3,element:p}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=O=>{this.handleScroll(O.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Xs(this.lastRawMoveEventInfo,this.transformPagePoint));const O=Ir(this.lastMoveEventInfo,this.history),L=this.startEvent!==null,w=wA(O.offset,{x:0,y:0})>=this.distanceThreshold;if(!L&&!w)return;const{point:j}=O,{timestamp:Y}=ee;this.history.push({...j,timestamp:Y});const{onStart:H,onMove:X}=this.handlers;L||(H&&H(this.lastMoveEvent,O),this.startEvent=this.lastMoveEvent),X&&X(this.lastMoveEvent,O)},this.handlePointerMove=(O,L)=>{this.lastMoveEvent=O,this.lastRawMoveEventInfo=L,this.lastMoveEventInfo=Xs(L,this.transformPagePoint),Ot.update(this.updatePoint,!0)},this.handlePointerUp=(O,L)=>{this.end();const{onEnd:w,onSessionEnd:j,resumeAnimation:Y}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&Y&&Y(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const H=Ir(O.type==="pointercancel"?this.lastMoveEventInfo:Xs(L,this.transformPagePoint),this.history);this.startEvent&&w&&w(O,H),j&&j(O,H)},!kc(l))return;this.dragSnapToOrigin=d,this.handlers=o,this.transformPagePoint=u,this.distanceThreshold=h,this.contextWindow=c||window;const g=Al(l),m=Xs(g,this.transformPagePoint),{point:v}=m,{timestamp:S}=ee;this.history=[{...v,timestamp:S}];const{onSessionStart:E}=o;E&&E(l,Ir(m,this.history));const B={passive:!0,capture:!0};this.removeListeners=Sl(ml(this.contextWindow,"pointermove",this.handlePointerMove,B),ml(this.contextWindow,"pointerup",this.handlePointerUp,B),ml(this.contextWindow,"pointercancel",this.handlePointerUp,B)),p&&this.startScrollTracking(p)}startScrollTracking(l){let o=l.parentElement;for(;o;){const u=getComputedStyle(o);(bp.has(u.overflowX)||bp.has(u.overflowY))&&this.scrollPositions.set(o,{x:o.scrollLeft,y:o.scrollTop}),o=o.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(l){const o=this.scrollPositions.get(l);if(!o)return;const u=l===window,c=u?{x:window.scrollX,y:window.scrollY}:{x:l.scrollLeft,y:l.scrollTop},d={x:c.x-o.x,y:c.y-o.y};d.x===0&&d.y===0||(u?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=d.x,this.lastMoveEventInfo.point.y+=d.y):this.history.length>0&&(this.history[0].x-=d.x,this.history[0].y-=d.y),this.scrollPositions.set(l,c),Ot.update(this.updatePoint,!0))}updateHandlers(l){this.handlers=l}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),kn(this.updatePoint)}}function Xs(i,l){return l?{point:l(i.point)}:i}function Ap(i,l){return{x:i.x-l.x,y:i.y-l.y}}function Ir({point:i},l){return{point:i,delta:Ap(i,m0(l)),offset:Ap(i,jA(l)),velocity:HA(l,.1)}}function jA(i){return i[0]}function m0(i){return i[i.length-1]}function HA(i,l){if(i.length<2)return{x:0,y:0};let o=i.length-1,u=null;const c=m0(i);for(;o>=0&&(u=i[o],!(c.timestamp-u.timestamp>Ce(l)));)o--;if(!u)return{x:0,y:0};u===i[0]&&i.length>2&&c.timestamp-u.timestamp>Ce(l)*2&&(u=i[1]);const d=He(c.timestamp-u.timestamp);if(d===0)return{x:0,y:0};const h={x:(c.x-u.x)/d,y:(c.y-u.y)/d};return h.x===1/0&&(h.x=0),h.y===1/0&&(h.y=0),h}function qA(i,{min:l,max:o},u){return l!==void 0&&i<l?i=u?zt(l,i,u.min):Math.max(i,l):o!==void 0&&i>o&&(i=u?zt(o,i,u.max):Math.min(i,o)),i}function Ep(i,l,o){return{min:l!==void 0?i.min+l:void 0,max:o!==void 0?i.max+o-(i.max-i.min):void 0}}function YA(i,{top:l,left:o,bottom:u,right:c}){return{x:Ep(i.x,o,c),y:Ep(i.y,l,u)}}function Mp(i,l){let o=l.min-i.min,u=l.max-i.max;return l.max-l.min<i.max-i.min&&([o,u]=[u,o]),{min:o,max:u}}function GA(i,l){return{x:Mp(i.x,l.x),y:Mp(i.y,l.y)}}function XA(i,l){let o=.5;const u=re(i),c=re(l);return c>u?o=yl(l.min,l.max-u,i.min):u>c&&(o=yl(i.min,i.max-c,l.min)),tn(0,1,o)}function QA(i,l){const o={};return l.min!==void 0&&(o.min=l.min-i.min),l.max!==void 0&&(o.max=l.max-i.min),o}const xc=.35;function ZA(i=xc){return i===!1?i=0:i===!0&&(i=xc),{x:xp(i,"left","right"),y:xp(i,"top","bottom")}}function xp(i,l,o){return{min:Dp(i,l),max:Dp(i,o)}}function Dp(i,l){return typeof i=="number"?i:i[l]||0}const KA=new WeakMap;class JA{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=Jt(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=l}start(l,{snapToCursor:o=!1,distanceThreshold:u}={}){const{presenceContext:c}=this.visualElement;if(c&&c.isPresent===!1)return;const d=S=>{o&&this.snapToCursor(Al(S).point),this.stopAnimation()},h=(S,E)=>{const{drag:B,dragPropagation:O,onDragStart:L}=this.getProps();if(B&&!O&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Db(B),!this.openDragLock))return;this.latestPointerEvent=S,this.latestPanInfo=E,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Pe(j=>{let Y=this.getAxisMotionValue(j).get()||0;if(Ie.test(Y)){const{projection:H}=this.visualElement;if(H&&H.layout){const X=H.layout.layoutBox[j];X&&(Y=re(X)*(parseFloat(Y)/100))}}this.originPoint[j]=Y}),L&&Ot.update(()=>L(S,E),!1,!0),pc(this.visualElement,"transform");const{animationState:w}=this.visualElement;w&&w.setActive("whileDrag",!0)},p=(S,E)=>{this.latestPointerEvent=S,this.latestPanInfo=E;const{dragPropagation:B,dragDirectionLock:O,onDirectionLock:L,onDrag:w}=this.getProps();if(!B&&!this.openDragLock)return;const{offset:j}=E;if(O&&this.currentDirection===null){this.currentDirection=FA(j),this.currentDirection!==null&&L&&L(this.currentDirection);return}this.updateAxis("x",E.point,j),this.updateAxis("y",E.point,j),this.visualElement.render(),w&&Ot.update(()=>w(S,E),!1,!0)},g=(S,E)=>{this.latestPointerEvent=S,this.latestPanInfo=E,this.stop(S,E),this.latestPointerEvent=null,this.latestPanInfo=null},m=()=>{const{dragSnapToOrigin:S}=this.getProps();(S||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:v}=this.getProps();this.panSession=new d0(l,{onSessionStart:d,onStart:h,onMove:p,onSessionEnd:g,resumeAnimation:m},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:v,distanceThreshold:u,contextWindow:h0(this.visualElement),element:this.visualElement.current})}stop(l,o){const u=l||this.latestPointerEvent,c=o||this.latestPanInfo,d=this.isDragging;if(this.cancel(),!d||!c||!u)return;const{velocity:h}=c;this.startAnimation(h);const{onDragEnd:p}=this.getProps();p&&Ot.postRender(()=>p(u,c))}cancel(){this.isDragging=!1;const{projection:l,animationState:o}=this.visualElement;l&&(l.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:u}=this.getProps();!u&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),o&&o.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(l,o,u){const{drag:c}=this.getProps();if(!u||!Qs(l,c,this.currentDirection))return;const d=this.getAxisMotionValue(l);let h=this.originPoint[l]+u[l];this.constraints&&this.constraints[l]&&(h=qA(h,this.constraints[l],this.elastic[l])),d.set(h)}resolveConstraints(){const{dragConstraints:l,dragElastic:o}=this.getProps(),u=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,c=this.constraints;l&&la(l)?this.constraints||(this.constraints=this.resolveRefConstraints()):l&&u?this.constraints=YA(u.layoutBox,l):this.constraints=!1,this.elastic=ZA(o),c!==this.constraints&&!la(l)&&u&&this.constraints&&!this.hasMutatedConstraints&&Pe(d=>{this.constraints!==!1&&this.getAxisMotionValue(d)&&(this.constraints[d]=QA(u.layoutBox[d],this.constraints[d]))})}resolveRefConstraints(){const{dragConstraints:l,onMeasureDragConstraints:o}=this.getProps();if(!l||!la(l))return!1;const u=l.current,{projection:c}=this.visualElement;if(!c||!c.layout)return!1;c.root&&(c.root.scroll=void 0,c.root.updateScroll());const d=t2(u,c.root,this.visualElement.getTransformPagePoint());let h=GA(c.layout.layoutBox,d);if(o){const p=o(Pb(h));this.hasMutatedConstraints=!!p,p&&(h=Lg(p))}return h}startAnimation(l){const{drag:o,dragMomentum:u,dragElastic:c,dragTransition:d,dragSnapToOrigin:h,onDragTransitionEnd:p}=this.getProps(),g=this.constraints||{},m=Pe(v=>{if(!Qs(v,o,this.currentDirection))return;let S=g&&g[v]||{};(h===!0||h===v)&&(S={min:0,max:0});const E=c?200:1e6,B=c?40:1e7,O={type:"inertia",velocity:u?l[v]:0,bounceStiffness:E,bounceDamping:B,timeConstant:750,restDelta:1,restSpeed:10,...d,...S};return this.startAxisValueAnimation(v,O)});return Promise.all(m).then(p)}startAxisValueAnimation(l,o){const u=this.getAxisMotionValue(l);return pc(this.visualElement,l),u.start(Xc(l,u,0,o,this.visualElement,!1))}stopAnimation(){Pe(l=>this.getAxisMotionValue(l).stop())}getAxisMotionValue(l){const o=`_drag${l.toUpperCase()}`,c=this.visualElement.getProps()[o];return c||this.visualElement.getValue(l,this.visualElement.latestValues[l]??0)}snapToCursor(l){Pe(o=>{const{drag:u}=this.getProps();if(!Qs(o,u,this.currentDirection))return;const{projection:c}=this.visualElement,d=this.getAxisMotionValue(o);if(c&&c.layout){const{min:h,max:p}=c.layout.layoutBox[o],g=d.get()||0;d.set(l[o]-zt(h,p,.5)+g)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:l,dragConstraints:o}=this.getProps(),{projection:u}=this.visualElement;if(!la(o)||!u||!this.constraints)return;this.stopAnimation();const c={x:0,y:0};Pe(h=>{const p=this.getAxisMotionValue(h);if(p&&this.constraints!==!1){const g=p.get();c[h]=XA({min:g,max:g},this.constraints[h])}});const{transformTemplate:d}=this.visualElement.getProps();this.visualElement.current.style.transform=d?d({},""):"none",u.root&&u.root.updateScroll(),u.updateLayout(),this.constraints=!1,this.resolveConstraints(),Pe(h=>{if(!Qs(h,l,null))return;const p=this.getAxisMotionValue(h),{min:g,max:m}=this.constraints[h];p.set(zt(g,m,c[h]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;KA.set(this.visualElement,this);const l=this.visualElement.current,o=ml(l,"pointerdown",m=>{const{drag:v,dragListener:S=!0}=this.getProps(),E=m.target,B=E!==l&&_b(E);v&&S&&!B&&this.start(m)});let u;const c=()=>{const{dragConstraints:m}=this.getProps();la(m)&&m.current&&(this.constraints=this.resolveRefConstraints(),u||(u=kA(l,m.current,()=>this.scalePositionWithinConstraints())))},{projection:d}=this.visualElement,h=d.addEventListener("measure",c);d&&!d.layout&&(d.root&&d.root.updateScroll(),d.updateLayout()),Ot.read(c);const p=vl(window,"resize",()=>this.scalePositionWithinConstraints()),g=d.addEventListener("didUpdate",(({delta:m,hasLayoutChanged:v})=>{this.isDragging&&v&&(Pe(S=>{const E=this.getAxisMotionValue(S);E&&(this.originPoint[S]+=m[S].translate,E.set(E.get()+m[S].translate))}),this.visualElement.render())}));return()=>{p(),o(),h(),g&&g(),u&&u()}}getProps(){const l=this.visualElement.getProps(),{drag:o=!1,dragDirectionLock:u=!1,dragPropagation:c=!1,dragConstraints:d=!1,dragElastic:h=xc,dragMomentum:p=!0}=l;return{...l,drag:o,dragDirectionLock:u,dragPropagation:c,dragConstraints:d,dragElastic:h,dragMomentum:p}}}function Cp(i){let l=!0;return()=>{if(l){l=!1;return}i()}}function kA(i,l,o){const u=Ly(i,Cp(o)),c=Ly(l,Cp(o));return()=>{u(),c()}}function Qs(i,l,o){return(l===!0||l===i)&&(o===null||o===i)}function FA(i,l=10){let o=null;return Math.abs(i.y)>l?o="y":Math.abs(i.x)>l&&(o="x"),o}class WA extends Fn{constructor(l){super(l),this.removeGroupControls=qe,this.removeListeners=qe,this.controls=new JA(l)}mount(){const{dragControls:l}=this.node.getProps();l&&(this.removeGroupControls=l.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||qe}update(){const{dragControls:l}=this.node.getProps(),{dragControls:o}=this.node.prevProps||{};l!==o&&(this.removeGroupControls(),l&&(this.removeGroupControls=l.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const tc=i=>(l,o)=>{i&&Ot.update(()=>i(l,o),!1,!0)};class PA extends Fn{constructor(){super(...arguments),this.removePointerDownListener=qe}onPointerDown(l){this.session=new d0(l,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:h0(this.node)})}createPanHandlers(){const{onPanSessionStart:l,onPanStart:o,onPan:u,onPanEnd:c}=this.node.getProps();return{onSessionStart:tc(l),onStart:tc(o),onMove:tc(u),onEnd:(d,h)=>{delete this.session,c&&Ot.postRender(()=>c(d,h))}}}mount(){this.removePointerDownListener=ml(this.node.current,"pointerdown",l=>this.onPointerDown(l))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let ec=!1;class $A extends W.Component{componentDidMount(){const{visualElement:l,layoutGroup:o,switchLayoutGroup:u,layoutId:c}=this.props,{projection:d}=l;d&&(o.group&&o.group.add(d),u&&u.register&&c&&u.register(d),ec&&d.root.didUpdate(),d.addEventListener("animationComplete",()=>{this.safeToRemove()}),d.setOptions({...d.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),$s.hasEverUpdated=!0}getSnapshotBeforeUpdate(l){const{layoutDependency:o,visualElement:u,drag:c,isPresent:d}=this.props,{projection:h}=u;return h&&(h.isPresent=d,l.layoutDependency!==o&&h.setOptions({...h.options,layoutDependency:o}),ec=!0,c||l.layoutDependency!==o||o===void 0||l.isPresent!==d?h.willUpdate():this.safeToRemove(),l.isPresent!==d&&(d?h.promote():h.relegate()||Ot.postRender(()=>{const p=h.getStack();(!p||!p.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:l,layoutAnchor:o}=this.props,{projection:u}=l;u&&(u.options.layoutAnchor=o,u.root.didUpdate(),Jc.postRender(()=>{!u.currentAnimation&&u.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:l,layoutGroup:o,switchLayoutGroup:u}=this.props,{projection:c}=l;ec=!0,c&&(c.scheduleCheckAfterUnmount(),o&&o.group&&o.group.remove(c),u&&u.deregister&&u.deregister(c))}safeToRemove(){const{safeToRemove:l}=this.props;l&&l()}render(){return null}}function y0(i){const[l,o]=lA(),u=W.useContext(_p);return ae.jsx($A,{...i,layoutGroup:u,switchLayoutGroup:W.useContext(c0),isPresent:l,safeToRemove:o})}const IA={pan:{Feature:PA},drag:{Feature:WA,ProjectionNode:n0,MeasureLayout:y0}};function zp(i,l,o){const{props:u}=i;i.animationState&&u.whileHover&&i.animationState.setActive("whileHover",o==="Start");const c="onHover"+o,d=u[c];d&&Ot.postRender(()=>d(l,Al(l)))}class tE extends Fn{mount(){const{current:l}=this.node;l&&(this.unmount=zb(l,(o,u)=>(zp(this.node,u,"Start"),c=>zp(this.node,c,"End"))))}unmount(){}}class eE extends Fn{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=Sl(vl(this.node.current,"focus",()=>this.onFocus()),vl(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Op(i,l,o){const{props:u}=i;if(i.current instanceof HTMLButtonElement&&i.current.disabled)return;i.animationState&&u.whileTap&&i.animationState.setActive("whileTap",o==="Start");const c="onTap"+(o==="End"?"":o),d=u[c];d&&Ot.postRender(()=>d(l,Al(l)))}class nE extends Fn{mount(){const{current:l}=this.node;if(!l)return;const{globalTapTarget:o,propagate:u}=this.node.props;this.unmount=Bb(l,(c,d)=>(Op(this.node,d,"Start"),(h,{success:p})=>Op(this.node,h,p?"End":"Cancel")),{useGlobalTarget:o,stopPropagation:u?.tap===!1})}unmount(){}}const Dc=new WeakMap,nc=new WeakMap,iE=i=>{const l=Dc.get(i.target);l&&l(i)},aE=i=>{i.forEach(iE)};function lE({root:i,...l}){const o=i||document;nc.has(o)||nc.set(o,{});const u=nc.get(o),c=JSON.stringify(l);return u[c]||(u[c]=new IntersectionObserver(aE,{root:i,...l})),u[c]}function sE(i,l,o){const u=lE(l);return Dc.set(i,o),u.observe(i),()=>{Dc.delete(i),u.unobserve(i)}}const uE={some:0,all:1};class oE extends Fn{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();const{viewport:l={}}=this.node.getProps(),{root:o,margin:u,amount:c="some",once:d}=l,h={root:o?o.current:void 0,rootMargin:u,threshold:typeof c=="number"?c:uE[c]},p=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:S}=this.node.getProps(),E=m?v:S;E&&E(g)};this.stopObserver=sE(this.node.current,h,p)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:l,prevProps:o}=this.node;["amount","margin","root"].some(rE(l,o))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}function rE({viewport:i={}},{viewport:l={}}={}){return o=>i[o]!==l[o]}const cE={inView:{Feature:oE},tap:{Feature:nE},focus:{Feature:eE},hover:{Feature:tE}},fE={layout:{ProjectionNode:n0,MeasureLayout:y0}},hE={...NA,...cE,...IA,...fE},dE=RA(hE,VA);function _E(){!$c.current&&Ug();const[i]=W.useState(lu.current);return i}const p0=dE;function UE(i){const[l,o]=W.useState(0);return W.useEffect(()=>{if(!i){o(0);return}const u=window.visualViewport;if(!u)return;const c=()=>o(Math.max(0,Math.round(window.innerHeight-u.height-u.offsetTop)));return u.addEventListener("resize",c),u.addEventListener("scroll",c),c(),()=>{u.removeEventListener("resize",c),u.removeEventListener("scroll",c)}},[i]),l}function BE(i){const[l,o]=W.useState(null);return W.useEffect(()=>{if(!i){o(null);return}const u=window.visualViewport;if(!u){o(window.innerHeight);return}const c=()=>o(Math.round(u.height));return u.addEventListener("resize",c),u.addEventListener("scroll",c),c(),()=>{u.removeEventListener("resize",c),u.removeEventListener("scroll",c)}},[i]),l}const mE={type:"spring",stiffness:380,damping:34,mass:.9},yE={duration:.26,ease:[.22,.61,.24,1]},pE={duration:.16,ease:[.4,0,1,1]};function NE({status:i,large:l}){return ae.jsx("span",{className:`led ${i}${l?" lg":""}`,"aria-hidden":"true"})}function LE({children:i,count:l,urgent:o,action:u}){return ae.jsxs("div",{className:"label",children:[ae.jsx("span",{children:i}),l!==void 0&&l>0?ae.jsx("span",{className:`count${o?" urgent":""}`,children:l}):null,ae.jsx("span",{className:"rule"}),u]})}function wE({children:i,onClick:l,className:o="",disabled:u,label:c,pressed:d}){return ae.jsx(p0.button,{type:"button",className:`key ${o}`,onClick:l,disabled:u,"aria-label":c,"aria-pressed":d,...u?{}:{whileTap:{y:1,scale:.985}},transition:mE,children:i})}function jE({children:i,tone:l="warn",onDismiss:o}){return ae.jsxs(p0.div,{className:`notice ${l==="bad"?"bad":""}`,role:"status",initial:{opacity:0,y:-8},animate:{opacity:1,y:0},exit:{opacity:0,y:-8,transition:pE},transition:yE,children:[ae.jsx(yS,{size:17,strokeWidth:2}),ae.jsx("span",{className:"body",children:i}),o?ae.jsx("button",{type:"button",onClick:o,"aria-label":"Dismiss",children:ae.jsx(vS,{size:17,strokeWidth:2.2})}):null]})}export{TE as A,yE as B,bE as C,Rp as D,pE as E,wE as K,_p as L,i0 as M,jE as N,Rc as P,Q1 as R,DE as S,RE as W,vS as X,k1 as a,SE as b,vE as c,ze as d,ae as e,bS as f,zc as g,lA as h,xb as i,gE as j,OE as k,mE as l,p0 as m,UE as n,BE as o,ME as p,zE as q,W as r,_E as s,NE as t,SS as u,xE as v,CE as w,EE as x,AE as y,LE as z};