10 lines
244 KiB
JavaScript
10 lines
244 KiB
JavaScript
function Ld(R){return R&&R.__esModule&&Object.prototype.hasOwnProperty.call(R,"default")?R.default:R}var Ds={exports:{}},Yn={};var wo;function Jd(){if(wo)return Yn;wo=1;var R=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function c(s,h,y){var v=null;if(y!==void 0&&(v=""+y),h.key!==void 0&&(v=""+h.key),"key"in h){y={};for(var g in h)g!=="key"&&(y[g]=h[g])}else y=h;return h=y.ref,{$$typeof:R,type:s,key:v,ref:h!==void 0?h:null,props:y}}return Yn.Fragment=n,Yn.jsx=c,Yn.jsxs=c,Yn}var Wo;function Kd(){return Wo||(Wo=1,Ds.exports=Jd()),Ds.exports}var zm=Kd(),Cs={exports:{}},F={};var Fo;function wd(){if(Fo)return F;Fo=1;var R=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),c=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),h=Symbol.for("react.profiler"),y=Symbol.for("react.consumer"),v=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),o=Symbol.for("react.memo"),z=Symbol.for("react.lazy"),_=Symbol.for("react.activity"),E=Symbol.iterator;function T(p){return p===null||typeof p!="object"?null:(p=E&&p[E]||p["@@iterator"],typeof p=="function"?p:null)}var U={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},q=Object.assign,Z={};function B(p,Y,j){this.props=p,this.context=Y,this.refs=Z,this.updater=j||U}B.prototype.isReactComponent={},B.prototype.setState=function(p,Y){if(typeof p!="object"&&typeof p!="function"&&p!=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,p,Y,"setState")},B.prototype.forceUpdate=function(p){this.updater.enqueueForceUpdate(this,p,"forceUpdate")};function W(){}W.prototype=B.prototype;function k(p,Y,j){this.props=p,this.context=Y,this.refs=Z,this.updater=j||U}var et=k.prototype=new W;et.constructor=k,q(et,B.prototype),et.isPureReactComponent=!0;var tt=Array.isArray;function $(){}var Q={H:null,A:null,T:null,S:null},At=Object.prototype.hasOwnProperty;function Zt(p,Y,j){var V=j.ref;return{$$typeof:R,type:p,key:Y,ref:V!==void 0?V:null,props:j}}function $t(p,Y){return Zt(p.type,Y,p.props)}function Qt(p){return typeof p=="object"&&p!==null&&p.$$typeof===R}function Mt(p){var Y={"=":"=0",":":"=2"};return"$"+p.replace(/[=:]/g,function(j){return Y[j]})}var tl=/\/+/g;function ll(p,Y){return typeof p=="object"&&p!==null&&p.key!=null?Mt(""+p.key):Y.toString(36)}function Wt(p){switch(p.status){case"fulfilled":return p.value;case"rejected":throw p.reason;default:switch(typeof p.status=="string"?p.then($,$):(p.status="pending",p.then(function(Y){p.status==="pending"&&(p.status="fulfilled",p.value=Y)},function(Y){p.status==="pending"&&(p.status="rejected",p.reason=Y)})),p.status){case"fulfilled":return p.value;case"rejected":throw p.reason}}throw p}function D(p,Y,j,V,I){var at=typeof p;(at==="undefined"||at==="boolean")&&(p=null);var dt=!1;if(p===null)dt=!0;else switch(at){case"bigint":case"string":case"number":dt=!0;break;case"object":switch(p.$$typeof){case R:case n:dt=!0;break;case z:return dt=p._init,D(dt(p._payload),Y,j,V,I)}}if(dt)return I=I(p),dt=V===""?"."+ll(p,0):V,tt(I)?(j="",dt!=null&&(j=dt.replace(tl,"$&/")+"/"),D(I,Y,j,"",function(Za){return Za})):I!=null&&(Qt(I)&&(I=$t(I,j+(I.key==null||p&&p.key===I.key?"":(""+I.key).replace(tl,"$&/")+"/")+dt)),Y.push(I)),1;dt=0;var It=V===""?".":V+":";if(tt(p))for(var Ot=0;Ot<p.length;Ot++)V=p[Ot],at=It+ll(V,Ot),dt+=D(V,Y,j,at,I);else if(Ot=T(p),typeof Ot=="function")for(p=Ot.call(p),Ot=0;!(V=p.next()).done;)V=V.value,at=It+ll(V,Ot++),dt+=D(V,Y,j,at,I);else if(at==="object"){if(typeof p.then=="function")return D(Wt(p),Y,j,V,I);throw Y=String(p),Error("Objects are not valid as a React child (found: "+(Y==="[object Object]"?"object with keys {"+Object.keys(p).join(", ")+"}":Y)+"). If you meant to render a collection of children, use an array instead.")}return dt}function X(p,Y,j){if(p==null)return p;var V=[],I=0;return D(p,V,"","",function(at){return Y.call(j,at,I++)}),V}function K(p){if(p._status===-1){var Y=p._result;Y=Y(),Y.then(function(j){(p._status===0||p._status===-1)&&(p._status=1,p._result=j)},function(j){(p._status===0||p._status===-1)&&(p._status=2,p._result=j)}),p._status===-1&&(p._status=0,p._result=Y)}if(p._status===1)return p._result.default;throw p._result}var ft=typeof reportError=="function"?reportError:function(p){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Y=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof p=="object"&&p!==null&&typeof p.message=="string"?String(p.message):String(p),error:p});if(!window.dispatchEvent(Y))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",p);return}console.error(p)},ht={map:X,forEach:function(p,Y,j){X(p,function(){Y.apply(this,arguments)},j)},count:function(p){var Y=0;return X(p,function(){Y++}),Y},toArray:function(p){return X(p,function(Y){return Y})||[]},only:function(p){if(!Qt(p))throw Error("React.Children.only expected to receive a single React element child.");return p}};return F.Activity=_,F.Children=ht,F.Component=B,F.Fragment=c,F.Profiler=h,F.PureComponent=k,F.StrictMode=s,F.Suspense=d,F.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Q,F.__COMPILER_RUNTIME={__proto__:null,c:function(p){return Q.H.useMemoCache(p)}},F.cache=function(p){return function(){return p.apply(null,arguments)}},F.cacheSignal=function(){return null},F.cloneElement=function(p,Y,j){if(p==null)throw Error("The argument must be a React element, but you passed "+p+".");var V=q({},p.props),I=p.key;if(Y!=null)for(at in Y.key!==void 0&&(I=""+Y.key),Y)!At.call(Y,at)||at==="key"||at==="__self"||at==="__source"||at==="ref"&&Y.ref===void 0||(V[at]=Y[at]);var at=arguments.length-2;if(at===1)V.children=j;else if(1<at){for(var dt=Array(at),It=0;It<at;It++)dt[It]=arguments[It+2];V.children=dt}return Zt(p.type,I,V)},F.createContext=function(p){return p={$$typeof:v,_currentValue:p,_currentValue2:p,_threadCount:0,Provider:null,Consumer:null},p.Provider=p,p.Consumer={$$typeof:y,_context:p},p},F.createElement=function(p,Y,j){var V,I={},at=null;if(Y!=null)for(V in Y.key!==void 0&&(at=""+Y.key),Y)At.call(Y,V)&&V!=="key"&&V!=="__self"&&V!=="__source"&&(I[V]=Y[V]);var dt=arguments.length-2;if(dt===1)I.children=j;else if(1<dt){for(var It=Array(dt),Ot=0;Ot<dt;Ot++)It[Ot]=arguments[Ot+2];I.children=It}if(p&&p.defaultProps)for(V in dt=p.defaultProps,dt)I[V]===void 0&&(I[V]=dt[V]);return Zt(p,at,I)},F.createRef=function(){return{current:null}},F.forwardRef=function(p){return{$$typeof:g,render:p}},F.isValidElement=Qt,F.lazy=function(p){return{$$typeof:z,_payload:{_status:-1,_result:p},_init:K}},F.memo=function(p,Y){return{$$typeof:o,type:p,compare:Y===void 0?null:Y}},F.startTransition=function(p){var Y=Q.T,j={};Q.T=j;try{var V=p(),I=Q.S;I!==null&&I(j,V),typeof V=="object"&&V!==null&&typeof V.then=="function"&&V.then($,ft)}catch(at){ft(at)}finally{Y!==null&&j.types!==null&&(Y.types=j.types),Q.T=Y}},F.unstable_useCacheRefresh=function(){return Q.H.useCacheRefresh()},F.use=function(p){return Q.H.use(p)},F.useActionState=function(p,Y,j){return Q.H.useActionState(p,Y,j)},F.useCallback=function(p,Y){return Q.H.useCallback(p,Y)},F.useContext=function(p){return Q.H.useContext(p)},F.useDebugValue=function(){},F.useDeferredValue=function(p,Y){return Q.H.useDeferredValue(p,Y)},F.useEffect=function(p,Y){return Q.H.useEffect(p,Y)},F.useEffectEvent=function(p){return Q.H.useEffectEvent(p)},F.useId=function(){return Q.H.useId()},F.useImperativeHandle=function(p,Y,j){return Q.H.useImperativeHandle(p,Y,j)},F.useInsertionEffect=function(p,Y){return Q.H.useInsertionEffect(p,Y)},F.useLayoutEffect=function(p,Y){return Q.H.useLayoutEffect(p,Y)},F.useMemo=function(p,Y){return Q.H.useMemo(p,Y)},F.useOptimistic=function(p,Y){return Q.H.useOptimistic(p,Y)},F.useReducer=function(p,Y,j){return Q.H.useReducer(p,Y,j)},F.useRef=function(p){return Q.H.useRef(p)},F.useState=function(p){return Q.H.useState(p)},F.useSyncExternalStore=function(p,Y,j){return Q.H.useSyncExternalStore(p,Y,j)},F.useTransition=function(){return Q.H.useTransition()},F.version="19.2.3",F}var ko;function Zs(){return ko||(ko=1,Cs.exports=wd()),Cs.exports}var Wd=Zs();const pm=Ld(Wd);var Rs={exports:{}},Bn={},Ns={exports:{}},Hs={};var $o;function Fd(){return $o||($o=1,(function(R){function n(D,X){var K=D.length;D.push(X);t:for(;0<K;){var ft=K-1>>>1,ht=D[ft];if(0<h(ht,X))D[ft]=X,D[K]=ht,K=ft;else break t}}function c(D){return D.length===0?null:D[0]}function s(D){if(D.length===0)return null;var X=D[0],K=D.pop();if(K!==X){D[0]=K;t:for(var ft=0,ht=D.length,p=ht>>>1;ft<p;){var Y=2*(ft+1)-1,j=D[Y],V=Y+1,I=D[V];if(0>h(j,K))V<ht&&0>h(I,j)?(D[ft]=I,D[V]=K,ft=V):(D[ft]=j,D[Y]=K,ft=Y);else if(V<ht&&0>h(I,K))D[ft]=I,D[V]=K,ft=V;else break t}}return X}function h(D,X){var K=D.sortIndex-X.sortIndex;return K!==0?K:D.id-X.id}if(R.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var y=performance;R.unstable_now=function(){return y.now()}}else{var v=Date,g=v.now();R.unstable_now=function(){return v.now()-g}}var d=[],o=[],z=1,_=null,E=3,T=!1,U=!1,q=!1,Z=!1,B=typeof setTimeout=="function"?setTimeout:null,W=typeof clearTimeout=="function"?clearTimeout:null,k=typeof setImmediate<"u"?setImmediate:null;function et(D){for(var X=c(o);X!==null;){if(X.callback===null)s(o);else if(X.startTime<=D)s(o),X.sortIndex=X.expirationTime,n(d,X);else break;X=c(o)}}function tt(D){if(q=!1,et(D),!U)if(c(d)!==null)U=!0,$||($=!0,Mt());else{var X=c(o);X!==null&&Wt(tt,X.startTime-D)}}var $=!1,Q=-1,At=5,Zt=-1;function $t(){return Z?!0:!(R.unstable_now()-Zt<At)}function Qt(){if(Z=!1,$){var D=R.unstable_now();Zt=D;var X=!0;try{t:{U=!1,q&&(q=!1,W(Q),Q=-1),T=!0;var K=E;try{l:{for(et(D),_=c(d);_!==null&&!(_.expirationTime>D&&$t());){var ft=_.callback;if(typeof ft=="function"){_.callback=null,E=_.priorityLevel;var ht=ft(_.expirationTime<=D);if(D=R.unstable_now(),typeof ht=="function"){_.callback=ht,et(D),X=!0;break l}_===c(d)&&s(d),et(D)}else s(d);_=c(d)}if(_!==null)X=!0;else{var p=c(o);p!==null&&Wt(tt,p.startTime-D),X=!1}}break t}finally{_=null,E=K,T=!1}X=void 0}}finally{X?Mt():$=!1}}}var Mt;if(typeof k=="function")Mt=function(){k(Qt)};else if(typeof MessageChannel<"u"){var tl=new MessageChannel,ll=tl.port2;tl.port1.onmessage=Qt,Mt=function(){ll.postMessage(null)}}else Mt=function(){B(Qt,0)};function Wt(D,X){Q=B(function(){D(R.unstable_now())},X)}R.unstable_IdlePriority=5,R.unstable_ImmediatePriority=1,R.unstable_LowPriority=4,R.unstable_NormalPriority=3,R.unstable_Profiling=null,R.unstable_UserBlockingPriority=2,R.unstable_cancelCallback=function(D){D.callback=null},R.unstable_forceFrameRate=function(D){0>D||125<D?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):At=0<D?Math.floor(1e3/D):5},R.unstable_getCurrentPriorityLevel=function(){return E},R.unstable_next=function(D){switch(E){case 1:case 2:case 3:var X=3;break;default:X=E}var K=E;E=X;try{return D()}finally{E=K}},R.unstable_requestPaint=function(){Z=!0},R.unstable_runWithPriority=function(D,X){switch(D){case 1:case 2:case 3:case 4:case 5:break;default:D=3}var K=E;E=D;try{return X()}finally{E=K}},R.unstable_scheduleCallback=function(D,X,K){var ft=R.unstable_now();switch(typeof K=="object"&&K!==null?(K=K.delay,K=typeof K=="number"&&0<K?ft+K:ft):K=ft,D){case 1:var ht=-1;break;case 2:ht=250;break;case 5:ht=1073741823;break;case 4:ht=1e4;break;default:ht=5e3}return ht=K+ht,D={id:z++,callback:X,priorityLevel:D,startTime:K,expirationTime:ht,sortIndex:-1},K>ft?(D.sortIndex=K,n(o,D),c(d)===null&&D===c(o)&&(q?(W(Q),Q=-1):q=!0,Wt(tt,K-ft))):(D.sortIndex=ht,n(d,D),U||T||(U=!0,$||($=!0,Mt()))),D},R.unstable_shouldYield=$t,R.unstable_wrapCallback=function(D){var X=E;return function(){var K=E;E=X;try{return D.apply(this,arguments)}finally{E=K}}}})(Hs)),Hs}var Io;function kd(){return Io||(Io=1,Ns.exports=Fd()),Ns.exports}var qs={exports:{}},Ft={};var Po;function $d(){if(Po)return Ft;Po=1;var R=Zs();function n(d){var o="https://react.dev/errors/"+d;if(1<arguments.length){o+="?args[]="+encodeURIComponent(arguments[1]);for(var z=2;z<arguments.length;z++)o+="&args[]="+encodeURIComponent(arguments[z])}return"Minified React error #"+d+"; visit "+o+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function c(){}var s={d:{f:c,r:function(){throw Error(n(522))},D:c,C:c,L:c,m:c,X:c,S:c,M:c},p:0,findDOMNode:null},h=Symbol.for("react.portal");function y(d,o,z){var _=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:h,key:_==null?null:""+_,children:d,containerInfo:o,implementation:z}}var v=R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function g(d,o){if(d==="font")return"";if(typeof o=="string")return o==="use-credentials"?o:""}return Ft.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,Ft.createPortal=function(d,o){var z=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!o||o.nodeType!==1&&o.nodeType!==9&&o.nodeType!==11)throw Error(n(299));return y(d,o,null,z)},Ft.flushSync=function(d){var o=v.T,z=s.p;try{if(v.T=null,s.p=2,d)return d()}finally{v.T=o,s.p=z,s.d.f()}},Ft.preconnect=function(d,o){typeof d=="string"&&(o?(o=o.crossOrigin,o=typeof o=="string"?o==="use-credentials"?o:"":void 0):o=null,s.d.C(d,o))},Ft.prefetchDNS=function(d){typeof d=="string"&&s.d.D(d)},Ft.preinit=function(d,o){if(typeof d=="string"&&o&&typeof o.as=="string"){var z=o.as,_=g(z,o.crossOrigin),E=typeof o.integrity=="string"?o.integrity:void 0,T=typeof o.fetchPriority=="string"?o.fetchPriority:void 0;z==="style"?s.d.S(d,typeof o.precedence=="string"?o.precedence:void 0,{crossOrigin:_,integrity:E,fetchPriority:T}):z==="script"&&s.d.X(d,{crossOrigin:_,integrity:E,fetchPriority:T,nonce:typeof o.nonce=="string"?o.nonce:void 0})}},Ft.preinitModule=function(d,o){if(typeof d=="string")if(typeof o=="object"&&o!==null){if(o.as==null||o.as==="script"){var z=g(o.as,o.crossOrigin);s.d.M(d,{crossOrigin:z,integrity:typeof o.integrity=="string"?o.integrity:void 0,nonce:typeof o.nonce=="string"?o.nonce:void 0})}}else o==null&&s.d.M(d)},Ft.preload=function(d,o){if(typeof d=="string"&&typeof o=="object"&&o!==null&&typeof o.as=="string"){var z=o.as,_=g(z,o.crossOrigin);s.d.L(d,z,{crossOrigin:_,integrity:typeof o.integrity=="string"?o.integrity:void 0,nonce:typeof o.nonce=="string"?o.nonce:void 0,type:typeof o.type=="string"?o.type:void 0,fetchPriority:typeof o.fetchPriority=="string"?o.fetchPriority:void 0,referrerPolicy:typeof o.referrerPolicy=="string"?o.referrerPolicy:void 0,imageSrcSet:typeof o.imageSrcSet=="string"?o.imageSrcSet:void 0,imageSizes:typeof o.imageSizes=="string"?o.imageSizes:void 0,media:typeof o.media=="string"?o.media:void 0})}},Ft.preloadModule=function(d,o){if(typeof d=="string")if(o){var z=g(o.as,o.crossOrigin);s.d.m(d,{as:typeof o.as=="string"&&o.as!=="script"?o.as:void 0,crossOrigin:z,integrity:typeof o.integrity=="string"?o.integrity:void 0})}else s.d.m(d)},Ft.requestFormReset=function(d){s.d.r(d)},Ft.unstable_batchedUpdates=function(d,o){return d(o)},Ft.useFormState=function(d,o,z){return v.H.useFormState(d,o,z)},Ft.useFormStatus=function(){return v.H.useHostTransitionStatus()},Ft.version="19.2.3",Ft}var t0;function Id(){if(t0)return qs.exports;t0=1;function R(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(R)}catch(n){console.error(n)}}return R(),qs.exports=$d(),qs.exports}var l0;function Pd(){if(l0)return Bn;l0=1;var R=kd(),n=Zs(),c=Id();function s(t){var l="https://react.dev/errors/"+t;if(1<arguments.length){l+="?args[]="+encodeURIComponent(arguments[1]);for(var e=2;e<arguments.length;e++)l+="&args[]="+encodeURIComponent(arguments[e])}return"Minified React error #"+t+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function h(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function y(t){var l=t,e=t;if(t.alternate)for(;l.return;)l=l.return;else{t=l;do l=t,(l.flags&4098)!==0&&(e=l.return),t=l.return;while(t)}return l.tag===3?e:null}function v(t){if(t.tag===13){var l=t.memoizedState;if(l===null&&(t=t.alternate,t!==null&&(l=t.memoizedState)),l!==null)return l.dehydrated}return null}function g(t){if(t.tag===31){var l=t.memoizedState;if(l===null&&(t=t.alternate,t!==null&&(l=t.memoizedState)),l!==null)return l.dehydrated}return null}function d(t){if(y(t)!==t)throw Error(s(188))}function o(t){var l=t.alternate;if(!l){if(l=y(t),l===null)throw Error(s(188));return l!==t?null:t}for(var e=t,a=l;;){var i=e.return;if(i===null)break;var u=i.alternate;if(u===null){if(a=i.return,a!==null){e=a;continue}break}if(i.child===u.child){for(u=i.child;u;){if(u===e)return d(i),t;if(u===a)return d(i),l;u=u.sibling}throw Error(s(188))}if(e.return!==a.return)e=i,a=u;else{for(var f=!1,r=i.child;r;){if(r===e){f=!0,e=i,a=u;break}if(r===a){f=!0,a=i,e=u;break}r=r.sibling}if(!f){for(r=u.child;r;){if(r===e){f=!0,e=u,a=i;break}if(r===a){f=!0,a=u,e=i;break}r=r.sibling}if(!f)throw Error(s(189))}}if(e.alternate!==a)throw Error(s(190))}if(e.tag!==3)throw Error(s(188));return e.stateNode.current===e?t:l}function z(t){var l=t.tag;if(l===5||l===26||l===27||l===6)return t;for(t=t.child;t!==null;){if(l=z(t),l!==null)return l;t=t.sibling}return null}var _=Object.assign,E=Symbol.for("react.element"),T=Symbol.for("react.transitional.element"),U=Symbol.for("react.portal"),q=Symbol.for("react.fragment"),Z=Symbol.for("react.strict_mode"),B=Symbol.for("react.profiler"),W=Symbol.for("react.consumer"),k=Symbol.for("react.context"),et=Symbol.for("react.forward_ref"),tt=Symbol.for("react.suspense"),$=Symbol.for("react.suspense_list"),Q=Symbol.for("react.memo"),At=Symbol.for("react.lazy"),Zt=Symbol.for("react.activity"),$t=Symbol.for("react.memo_cache_sentinel"),Qt=Symbol.iterator;function Mt(t){return t===null||typeof t!="object"?null:(t=Qt&&t[Qt]||t["@@iterator"],typeof t=="function"?t:null)}var tl=Symbol.for("react.client.reference");function ll(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===tl?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case q:return"Fragment";case B:return"Profiler";case Z:return"StrictMode";case tt:return"Suspense";case $:return"SuspenseList";case Zt:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case U:return"Portal";case k:return t.displayName||"Context";case W:return(t._context.displayName||"Context")+".Consumer";case et:var l=t.render;return t=t.displayName,t||(t=l.displayName||l.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case Q:return l=t.displayName||null,l!==null?l:ll(t.type)||"Memo";case At:l=t._payload,t=t._init;try{return ll(t(l))}catch{}}return null}var Wt=Array.isArray,D=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,X=c.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,K={pending:!1,data:null,method:null,action:null},ft=[],ht=-1;function p(t){return{current:t}}function Y(t){0>ht||(t.current=ft[ht],ft[ht]=null,ht--)}function j(t,l){ht++,ft[ht]=t.current,t.current=l}var V=p(null),I=p(null),at=p(null),dt=p(null);function It(t,l){switch(j(at,l),j(I,t),j(V,null),l.nodeType){case 9:case 11:t=(t=l.documentElement)&&(t=t.namespaceURI)?vo(t):0;break;default:if(t=l.tagName,l=l.namespaceURI)l=vo(l),t=go(l,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}Y(V),j(V,t)}function Ot(){Y(V),Y(I),Y(at)}function Za(t){t.memoizedState!==null&&j(dt,t);var l=V.current,e=go(l,t.type);l!==e&&(j(I,t),j(V,e))}function Zn(t){I.current===t&&(Y(V),Y(I)),dt.current===t&&(Y(dt),Rn._currentValue=K)}var ou,Ls;function Ce(t){if(ou===void 0)try{throw Error()}catch(e){var l=e.stack.trim().match(/\n( *(at )?)/);ou=l&&l[1]||"",Ls=-1<e.stack.indexOf(`
|
|
at`)?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
`+ou+t+Ls}var yu=!1;function du(t,l){if(!t||yu)return"";yu=!0;var e=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(l){var H=function(){throw Error()};if(Object.defineProperty(H.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(H,[])}catch(O){var A=O}Reflect.construct(t,[],H)}else{try{H.call()}catch(O){A=O}t.call(H.prototype)}}else{try{throw Error()}catch(O){A=O}(H=t())&&typeof H.catch=="function"&&H.catch(function(){})}}catch(O){if(O&&A&&typeof O.stack=="string")return[O.stack,A.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=a.DetermineComponentFrameRoot(),f=u[0],r=u[1];if(f&&r){var m=f.split(`
|
|
`),x=r.split(`
|
|
`);for(i=a=0;a<m.length&&!m[a].includes("DetermineComponentFrameRoot");)a++;for(;i<x.length&&!x[i].includes("DetermineComponentFrameRoot");)i++;if(a===m.length||i===x.length)for(a=m.length-1,i=x.length-1;1<=a&&0<=i&&m[a]!==x[i];)i--;for(;1<=a&&0<=i;a--,i--)if(m[a]!==x[i]){if(a!==1||i!==1)do if(a--,i--,0>i||m[a]!==x[i]){var C=`
|
|
`+m[a].replace(" at new "," at ");return t.displayName&&C.includes("<anonymous>")&&(C=C.replace("<anonymous>",t.displayName)),C}while(1<=a&&0<=i);break}}}finally{yu=!1,Error.prepareStackTrace=e}return(e=t?t.displayName||t.name:"")?Ce(e):""}function _0(t,l){switch(t.tag){case 26:case 27:case 5:return Ce(t.type);case 16:return Ce("Lazy");case 13:return t.child!==l&&l!==null?Ce("Suspense Fallback"):Ce("Suspense");case 19:return Ce("SuspenseList");case 0:case 15:return du(t.type,!1);case 11:return du(t.type.render,!1);case 1:return du(t.type,!0);case 31:return Ce("Activity");default:return""}}function Js(t){try{var l="",e=null;do l+=_0(t,e),e=t,t=t.return;while(t);return l}catch(a){return`
|
|
Error generating stack: `+a.message+`
|
|
`+a.stack}}var mu=Object.prototype.hasOwnProperty,vu=R.unstable_scheduleCallback,gu=R.unstable_cancelCallback,b0=R.unstable_shouldYield,M0=R.unstable_requestPaint,hl=R.unstable_now,x0=R.unstable_getCurrentPriorityLevel,Ks=R.unstable_ImmediatePriority,ws=R.unstable_UserBlockingPriority,Vn=R.unstable_NormalPriority,A0=R.unstable_LowPriority,Ws=R.unstable_IdlePriority,T0=R.log,E0=R.unstable_setDisableYieldValue,Va=null,rl=null;function ie(t){if(typeof T0=="function"&&E0(t),rl&&typeof rl.setStrictMode=="function")try{rl.setStrictMode(Va,t)}catch{}}var ol=Math.clz32?Math.clz32:D0,O0=Math.log,U0=Math.LN2;function D0(t){return t>>>=0,t===0?32:31-(O0(t)/U0|0)|0}var Ln=256,Jn=262144,Kn=4194304;function Re(t){var l=t&42;if(l!==0)return l;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 wn(t,l,e){var a=t.pendingLanes;if(a===0)return 0;var i=0,u=t.suspendedLanes,f=t.pingedLanes;t=t.warmLanes;var r=a&134217727;return r!==0?(a=r&~u,a!==0?i=Re(a):(f&=r,f!==0?i=Re(f):e||(e=r&~t,e!==0&&(i=Re(e))))):(r=a&~u,r!==0?i=Re(r):f!==0?i=Re(f):e||(e=a&~t,e!==0&&(i=Re(e)))),i===0?0:l!==0&&l!==i&&(l&u)===0&&(u=i&-i,e=l&-l,u>=e||u===32&&(e&4194048)!==0)?l:i}function La(t,l){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&l)===0}function C0(t,l){switch(t){case 1:case 2:case 4:case 8:case 64:return l+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 l+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 Fs(){var t=Kn;return Kn<<=1,(Kn&62914560)===0&&(Kn=4194304),t}function Su(t){for(var l=[],e=0;31>e;e++)l.push(t);return l}function Ja(t,l){t.pendingLanes|=l,l!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function R0(t,l,e,a,i,u){var f=t.pendingLanes;t.pendingLanes=e,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=e,t.entangledLanes&=e,t.errorRecoveryDisabledLanes&=e,t.shellSuspendCounter=0;var r=t.entanglements,m=t.expirationTimes,x=t.hiddenUpdates;for(e=f&~e;0<e;){var C=31-ol(e),H=1<<C;r[C]=0,m[C]=-1;var A=x[C];if(A!==null)for(x[C]=null,C=0;C<A.length;C++){var O=A[C];O!==null&&(O.lane&=-536870913)}e&=~H}a!==0&&ks(t,a,0),u!==0&&i===0&&t.tag!==0&&(t.suspendedLanes|=u&~(f&~l))}function ks(t,l,e){t.pendingLanes|=l,t.suspendedLanes&=~l;var a=31-ol(l);t.entangledLanes|=l,t.entanglements[a]=t.entanglements[a]|1073741824|e&261930}function $s(t,l){var e=t.entangledLanes|=l;for(t=t.entanglements;e;){var a=31-ol(e),i=1<<a;i&l|t[a]&l&&(t[a]|=l),e&=~i}}function Is(t,l){var e=l&-l;return e=(e&42)!==0?1:zu(e),(e&(t.suspendedLanes|l))!==0?0:e}function zu(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 pu(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Ps(){var t=X.p;return t!==0?t:(t=window.event,t===void 0?32:jo(t.type))}function tf(t,l){var e=X.p;try{return X.p=t,l()}finally{X.p=e}}var ue=Math.random().toString(36).slice(2),Vt="__reactFiber$"+ue,el="__reactProps$"+ue,Pe="__reactContainer$"+ue,_u="__reactEvents$"+ue,N0="__reactListeners$"+ue,H0="__reactHandles$"+ue,lf="__reactResources$"+ue,Ka="__reactMarker$"+ue;function bu(t){delete t[Vt],delete t[el],delete t[_u],delete t[N0],delete t[H0]}function ta(t){var l=t[Vt];if(l)return l;for(var e=t.parentNode;e;){if(l=e[Pe]||e[Vt]){if(e=l.alternate,l.child!==null||e!==null&&e.child!==null)for(t=xo(t);t!==null;){if(e=t[Vt])return e;t=xo(t)}return l}t=e,e=t.parentNode}return null}function la(t){if(t=t[Vt]||t[Pe]){var l=t.tag;if(l===5||l===6||l===13||l===31||l===26||l===27||l===3)return t}return null}function wa(t){var l=t.tag;if(l===5||l===26||l===27||l===6)return t.stateNode;throw Error(s(33))}function ea(t){var l=t[lf];return l||(l=t[lf]={hoistableStyles:new Map,hoistableScripts:new Map}),l}function jt(t){t[Ka]=!0}var ef=new Set,af={};function Ne(t,l){aa(t,l),aa(t+"Capture",l)}function aa(t,l){for(af[t]=l,t=0;t<l.length;t++)ef.add(l[t])}var q0=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]*$"),nf={},uf={};function Y0(t){return mu.call(uf,t)?!0:mu.call(nf,t)?!1:q0.test(t)?uf[t]=!0:(nf[t]=!0,!1)}function Wn(t,l,e){if(Y0(l))if(e===null)t.removeAttribute(l);else{switch(typeof e){case"undefined":case"function":case"symbol":t.removeAttribute(l);return;case"boolean":var a=l.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){t.removeAttribute(l);return}}t.setAttribute(l,""+e)}}function Fn(t,l,e){if(e===null)t.removeAttribute(l);else{switch(typeof e){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(l);return}t.setAttribute(l,""+e)}}function Ql(t,l,e,a){if(a===null)t.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttributeNS(l,e,""+a)}}function _l(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function cf(t){var l=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function B0(t,l,e){var a=Object.getOwnPropertyDescriptor(t.constructor.prototype,l);if(!t.hasOwnProperty(l)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var i=a.get,u=a.set;return Object.defineProperty(t,l,{configurable:!0,get:function(){return i.call(this)},set:function(f){e=""+f,u.call(this,f)}}),Object.defineProperty(t,l,{enumerable:a.enumerable}),{getValue:function(){return e},setValue:function(f){e=""+f},stopTracking:function(){t._valueTracker=null,delete t[l]}}}}function Mu(t){if(!t._valueTracker){var l=cf(t)?"checked":"value";t._valueTracker=B0(t,l,""+t[l])}}function sf(t){if(!t)return!1;var l=t._valueTracker;if(!l)return!0;var e=l.getValue(),a="";return t&&(a=cf(t)?t.checked?"true":"false":t.value),t=a,t!==e?(l.setValue(t),!0):!1}function kn(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 X0=/[\n"\\]/g;function bl(t){return t.replace(X0,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function xu(t,l,e,a,i,u,f,r){t.name="",f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"?t.type=f:t.removeAttribute("type"),l!=null?f==="number"?(l===0&&t.value===""||t.value!=l)&&(t.value=""+_l(l)):t.value!==""+_l(l)&&(t.value=""+_l(l)):f!=="submit"&&f!=="reset"||t.removeAttribute("value"),l!=null?Au(t,f,_l(l)):e!=null?Au(t,f,_l(e)):a!=null&&t.removeAttribute("value"),i==null&&u!=null&&(t.defaultChecked=!!u),i!=null&&(t.checked=i&&typeof i!="function"&&typeof i!="symbol"),r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"?t.name=""+_l(r):t.removeAttribute("name")}function ff(t,l,e,a,i,u,f,r){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(t.type=u),l!=null||e!=null){if(!(u!=="submit"&&u!=="reset"||l!=null)){Mu(t);return}e=e!=null?""+_l(e):"",l=l!=null?""+_l(l):e,r||l===t.value||(t.value=l),t.defaultValue=l}a=a??i,a=typeof a!="function"&&typeof a!="symbol"&&!!a,t.checked=r?t.checked:!!a,t.defaultChecked=!!a,f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(t.name=f),Mu(t)}function Au(t,l,e){l==="number"&&kn(t.ownerDocument)===t||t.defaultValue===""+e||(t.defaultValue=""+e)}function na(t,l,e,a){if(t=t.options,l){l={};for(var i=0;i<e.length;i++)l["$"+e[i]]=!0;for(e=0;e<t.length;e++)i=l.hasOwnProperty("$"+t[e].value),t[e].selected!==i&&(t[e].selected=i),i&&a&&(t[e].defaultSelected=!0)}else{for(e=""+_l(e),l=null,i=0;i<t.length;i++){if(t[i].value===e){t[i].selected=!0,a&&(t[i].defaultSelected=!0);return}l!==null||t[i].disabled||(l=t[i])}l!==null&&(l.selected=!0)}}function hf(t,l,e){if(l!=null&&(l=""+_l(l),l!==t.value&&(t.value=l),e==null)){t.defaultValue!==l&&(t.defaultValue=l);return}t.defaultValue=e!=null?""+_l(e):""}function rf(t,l,e,a){if(l==null){if(a!=null){if(e!=null)throw Error(s(92));if(Wt(a)){if(1<a.length)throw Error(s(93));a=a[0]}e=a}e==null&&(e=""),l=e}e=_l(l),t.defaultValue=e,a=t.textContent,a===e&&a!==""&&a!==null&&(t.value=a),Mu(t)}function ia(t,l){if(l){var e=t.firstChild;if(e&&e===t.lastChild&&e.nodeType===3){e.nodeValue=l;return}}t.textContent=l}var Q0=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 of(t,l,e){var a=l.indexOf("--")===0;e==null||typeof e=="boolean"||e===""?a?t.setProperty(l,""):l==="float"?t.cssFloat="":t[l]="":a?t.setProperty(l,e):typeof e!="number"||e===0||Q0.has(l)?l==="float"?t.cssFloat=e:t[l]=(""+e).trim():t[l]=e+"px"}function yf(t,l,e){if(l!=null&&typeof l!="object")throw Error(s(62));if(t=t.style,e!=null){for(var a in e)!e.hasOwnProperty(a)||l!=null&&l.hasOwnProperty(a)||(a.indexOf("--")===0?t.setProperty(a,""):a==="float"?t.cssFloat="":t[a]="");for(var i in l)a=l[i],l.hasOwnProperty(i)&&e[i]!==a&&of(t,i,a)}else for(var u in l)l.hasOwnProperty(u)&&of(t,u,l[u])}function Tu(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 j0=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"]]),G0=/^[\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 $n(t){return G0.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function jl(){}var Eu=null;function Ou(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var ua=null,ca=null;function df(t){var l=la(t);if(l&&(t=l.stateNode)){var e=t[el]||null;t:switch(t=l.stateNode,l.type){case"input":if(xu(t,e.value,e.defaultValue,e.defaultValue,e.checked,e.defaultChecked,e.type,e.name),l=e.name,e.type==="radio"&&l!=null){for(e=t;e.parentNode;)e=e.parentNode;for(e=e.querySelectorAll('input[name="'+bl(""+l)+'"][type="radio"]'),l=0;l<e.length;l++){var a=e[l];if(a!==t&&a.form===t.form){var i=a[el]||null;if(!i)throw Error(s(90));xu(a,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(l=0;l<e.length;l++)a=e[l],a.form===t.form&&sf(a)}break t;case"textarea":hf(t,e.value,e.defaultValue);break t;case"select":l=e.value,l!=null&&na(t,!!e.multiple,l,!1)}}}var Uu=!1;function mf(t,l,e){if(Uu)return t(l,e);Uu=!0;try{var a=t(l);return a}finally{if(Uu=!1,(ua!==null||ca!==null)&&(Xi(),ua&&(l=ua,t=ca,ca=ua=null,df(l),t)))for(l=0;l<t.length;l++)df(t[l])}}function Wa(t,l){var e=t.stateNode;if(e===null)return null;var a=e[el]||null;if(a===null)return null;e=a[l];t:switch(l){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(e&&typeof e!="function")throw Error(s(231,l,typeof e));return e}var Gl=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Du=!1;if(Gl)try{var Fa={};Object.defineProperty(Fa,"passive",{get:function(){Du=!0}}),window.addEventListener("test",Fa,Fa),window.removeEventListener("test",Fa,Fa)}catch{Du=!1}var ce=null,Cu=null,In=null;function vf(){if(In)return In;var t,l=Cu,e=l.length,a,i="value"in ce?ce.value:ce.textContent,u=i.length;for(t=0;t<e&&l[t]===i[t];t++);var f=e-t;for(a=1;a<=f&&l[e-a]===i[u-a];a++);return In=i.slice(t,1<a?1-a:void 0)}function Pn(t){var l=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&l===13&&(t=13)):t=l,t===10&&(t=13),32<=t||t===13?t:0}function ti(){return!0}function gf(){return!1}function al(t){function l(e,a,i,u,f){this._reactName=e,this._targetInst=i,this.type=a,this.nativeEvent=u,this.target=f,this.currentTarget=null;for(var r in t)t.hasOwnProperty(r)&&(e=t[r],this[r]=e?e(u):u[r]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?ti:gf,this.isPropagationStopped=gf,this}return _(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!="unknown"&&(e.returnValue=!1),this.isDefaultPrevented=ti)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!="unknown"&&(e.cancelBubble=!0),this.isPropagationStopped=ti)},persist:function(){},isPersistent:ti}),l}var He={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},li=al(He),ka=_({},He,{view:0,detail:0}),Z0=al(ka),Ru,Nu,$a,ei=_({},ka,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:qu,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!==$a&&($a&&t.type==="mousemove"?(Ru=t.screenX-$a.screenX,Nu=t.screenY-$a.screenY):Nu=Ru=0,$a=t),Ru)},movementY:function(t){return"movementY"in t?t.movementY:Nu}}),Sf=al(ei),V0=_({},ei,{dataTransfer:0}),L0=al(V0),J0=_({},ka,{relatedTarget:0}),Hu=al(J0),K0=_({},He,{animationName:0,elapsedTime:0,pseudoElement:0}),w0=al(K0),W0=_({},He,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),F0=al(W0),k0=_({},He,{data:0}),zf=al(k0),$0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},I0={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},P0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ty(t){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(t):(t=P0[t])?!!l[t]:!1}function qu(){return ty}var ly=_({},ka,{key:function(t){if(t.key){var l=$0[t.key]||t.key;if(l!=="Unidentified")return l}return t.type==="keypress"?(t=Pn(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?I0[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:qu,charCode:function(t){return t.type==="keypress"?Pn(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Pn(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),ey=al(ly),ay=_({},ei,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),pf=al(ay),ny=_({},ka,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:qu}),iy=al(ny),uy=_({},He,{propertyName:0,elapsedTime:0,pseudoElement:0}),cy=al(uy),sy=_({},ei,{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}),fy=al(sy),hy=_({},He,{newState:0,oldState:0}),ry=al(hy),oy=[9,13,27,32],Yu=Gl&&"CompositionEvent"in window,Ia=null;Gl&&"documentMode"in document&&(Ia=document.documentMode);var yy=Gl&&"TextEvent"in window&&!Ia,_f=Gl&&(!Yu||Ia&&8<Ia&&11>=Ia),bf=" ",Mf=!1;function xf(t,l){switch(t){case"keyup":return oy.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Af(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var sa=!1;function dy(t,l){switch(t){case"compositionend":return Af(l);case"keypress":return l.which!==32?null:(Mf=!0,bf);case"textInput":return t=l.data,t===bf&&Mf?null:t;default:return null}}function my(t,l){if(sa)return t==="compositionend"||!Yu&&xf(t,l)?(t=vf(),In=Cu=ce=null,sa=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(l.ctrlKey||l.altKey||l.metaKey)||l.ctrlKey&&l.altKey){if(l.char&&1<l.char.length)return l.char;if(l.which)return String.fromCharCode(l.which)}return null;case"compositionend":return _f&&l.locale!=="ko"?null:l.data;default:return null}}var vy={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 Tf(t){var l=t&&t.nodeName&&t.nodeName.toLowerCase();return l==="input"?!!vy[t.type]:l==="textarea"}function Ef(t,l,e,a){ua?ca?ca.push(a):ca=[a]:ua=a,l=Ji(l,"onChange"),0<l.length&&(e=new li("onChange","change",null,e,a),t.push({event:e,listeners:l}))}var Pa=null,tn=null;function gy(t){fo(t,0)}function ai(t){var l=wa(t);if(sf(l))return t}function Of(t,l){if(t==="change")return l}var Uf=!1;if(Gl){var Bu;if(Gl){var Xu="oninput"in document;if(!Xu){var Df=document.createElement("div");Df.setAttribute("oninput","return;"),Xu=typeof Df.oninput=="function"}Bu=Xu}else Bu=!1;Uf=Bu&&(!document.documentMode||9<document.documentMode)}function Cf(){Pa&&(Pa.detachEvent("onpropertychange",Rf),tn=Pa=null)}function Rf(t){if(t.propertyName==="value"&&ai(tn)){var l=[];Ef(l,tn,t,Ou(t)),mf(gy,l)}}function Sy(t,l,e){t==="focusin"?(Cf(),Pa=l,tn=e,Pa.attachEvent("onpropertychange",Rf)):t==="focusout"&&Cf()}function zy(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return ai(tn)}function py(t,l){if(t==="click")return ai(l)}function _y(t,l){if(t==="input"||t==="change")return ai(l)}function by(t,l){return t===l&&(t!==0||1/t===1/l)||t!==t&&l!==l}var yl=typeof Object.is=="function"?Object.is:by;function ln(t,l){if(yl(t,l))return!0;if(typeof t!="object"||t===null||typeof l!="object"||l===null)return!1;var e=Object.keys(t),a=Object.keys(l);if(e.length!==a.length)return!1;for(a=0;a<e.length;a++){var i=e[a];if(!mu.call(l,i)||!yl(t[i],l[i]))return!1}return!0}function Nf(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Hf(t,l){var e=Nf(t);t=0;for(var a;e;){if(e.nodeType===3){if(a=t+e.textContent.length,t<=l&&a>=l)return{node:e,offset:l-t};t=a}t:{for(;e;){if(e.nextSibling){e=e.nextSibling;break t}e=e.parentNode}e=void 0}e=Nf(e)}}function qf(t,l){return t&&l?t===l?!0:t&&t.nodeType===3?!1:l&&l.nodeType===3?qf(t,l.parentNode):"contains"in t?t.contains(l):t.compareDocumentPosition?!!(t.compareDocumentPosition(l)&16):!1:!1}function Yf(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var l=kn(t.document);l instanceof t.HTMLIFrameElement;){try{var e=typeof l.contentWindow.location.href=="string"}catch{e=!1}if(e)t=l.contentWindow;else break;l=kn(t.document)}return l}function Qu(t){var l=t&&t.nodeName&&t.nodeName.toLowerCase();return l&&(l==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||l==="textarea"||t.contentEditable==="true")}var My=Gl&&"documentMode"in document&&11>=document.documentMode,fa=null,ju=null,en=null,Gu=!1;function Bf(t,l,e){var a=e.window===e?e.document:e.nodeType===9?e:e.ownerDocument;Gu||fa==null||fa!==kn(a)||(a=fa,"selectionStart"in a&&Qu(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}),en&&ln(en,a)||(en=a,a=Ji(ju,"onSelect"),0<a.length&&(l=new li("onSelect","select",null,l,e),t.push({event:l,listeners:a}),l.target=fa)))}function qe(t,l){var e={};return e[t.toLowerCase()]=l.toLowerCase(),e["Webkit"+t]="webkit"+l,e["Moz"+t]="moz"+l,e}var ha={animationend:qe("Animation","AnimationEnd"),animationiteration:qe("Animation","AnimationIteration"),animationstart:qe("Animation","AnimationStart"),transitionrun:qe("Transition","TransitionRun"),transitionstart:qe("Transition","TransitionStart"),transitioncancel:qe("Transition","TransitionCancel"),transitionend:qe("Transition","TransitionEnd")},Zu={},Xf={};Gl&&(Xf=document.createElement("div").style,"AnimationEvent"in window||(delete ha.animationend.animation,delete ha.animationiteration.animation,delete ha.animationstart.animation),"TransitionEvent"in window||delete ha.transitionend.transition);function Ye(t){if(Zu[t])return Zu[t];if(!ha[t])return t;var l=ha[t],e;for(e in l)if(l.hasOwnProperty(e)&&e in Xf)return Zu[t]=l[e];return t}var Qf=Ye("animationend"),jf=Ye("animationiteration"),Gf=Ye("animationstart"),xy=Ye("transitionrun"),Ay=Ye("transitionstart"),Ty=Ye("transitioncancel"),Zf=Ye("transitionend"),Vf=new Map,Vu="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(" ");Vu.push("scrollEnd");function Cl(t,l){Vf.set(t,l),Ne(l,[t])}var ni=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var l=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(l))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},Ml=[],ra=0,Lu=0;function ii(){for(var t=ra,l=Lu=ra=0;l<t;){var e=Ml[l];Ml[l++]=null;var a=Ml[l];Ml[l++]=null;var i=Ml[l];Ml[l++]=null;var u=Ml[l];if(Ml[l++]=null,a!==null&&i!==null){var f=a.pending;f===null?i.next=i:(i.next=f.next,f.next=i),a.pending=i}u!==0&&Lf(e,i,u)}}function ui(t,l,e,a){Ml[ra++]=t,Ml[ra++]=l,Ml[ra++]=e,Ml[ra++]=a,Lu|=a,t.lanes|=a,t=t.alternate,t!==null&&(t.lanes|=a)}function Ju(t,l,e,a){return ui(t,l,e,a),ci(t)}function Be(t,l){return ui(t,null,null,l),ci(t)}function Lf(t,l,e){t.lanes|=e;var a=t.alternate;a!==null&&(a.lanes|=e);for(var i=!1,u=t.return;u!==null;)u.childLanes|=e,a=u.alternate,a!==null&&(a.childLanes|=e),u.tag===22&&(t=u.stateNode,t===null||t._visibility&1||(i=!0)),t=u,u=u.return;return t.tag===3?(u=t.stateNode,i&&l!==null&&(i=31-ol(e),t=u.hiddenUpdates,a=t[i],a===null?t[i]=[l]:a.push(l),l.lane=e|536870912),u):null}function ci(t){if(50<An)throw An=0,ts=null,Error(s(185));for(var l=t.return;l!==null;)t=l,l=t.return;return t.tag===3?t.stateNode:null}var oa={};function Ey(t,l,e,a){this.tag=t,this.key=e,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=l,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 dl(t,l,e,a){return new Ey(t,l,e,a)}function Ku(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Zl(t,l){var e=t.alternate;return e===null?(e=dl(t.tag,l,t.key,t.mode),e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.alternate=t,t.alternate=e):(e.pendingProps=l,e.type=t.type,e.flags=0,e.subtreeFlags=0,e.deletions=null),e.flags=t.flags&65011712,e.childLanes=t.childLanes,e.lanes=t.lanes,e.child=t.child,e.memoizedProps=t.memoizedProps,e.memoizedState=t.memoizedState,e.updateQueue=t.updateQueue,l=t.dependencies,e.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.refCleanup=t.refCleanup,e}function Jf(t,l){t.flags&=65011714;var e=t.alternate;return e===null?(t.childLanes=0,t.lanes=l,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,t.type=e.type,l=e.dependencies,t.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext}),t}function si(t,l,e,a,i,u){var f=0;if(a=t,typeof t=="function")Ku(t)&&(f=1);else if(typeof t=="string")f=Rd(t,e,V.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case Zt:return t=dl(31,e,l,i),t.elementType=Zt,t.lanes=u,t;case q:return Xe(e.children,i,u,l);case Z:f=8,i|=24;break;case B:return t=dl(12,e,l,i|2),t.elementType=B,t.lanes=u,t;case tt:return t=dl(13,e,l,i),t.elementType=tt,t.lanes=u,t;case $:return t=dl(19,e,l,i),t.elementType=$,t.lanes=u,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case k:f=10;break t;case W:f=9;break t;case et:f=11;break t;case Q:f=14;break t;case At:f=16,a=null;break t}f=29,e=Error(s(130,t===null?"null":typeof t,"")),a=null}return l=dl(f,e,l,i),l.elementType=t,l.type=a,l.lanes=u,l}function Xe(t,l,e,a){return t=dl(7,t,a,l),t.lanes=e,t}function wu(t,l,e){return t=dl(6,t,null,l),t.lanes=e,t}function Kf(t){var l=dl(18,null,null,0);return l.stateNode=t,l}function Wu(t,l,e){return l=dl(4,t.children!==null?t.children:[],t.key,l),l.lanes=e,l.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},l}var wf=new WeakMap;function xl(t,l){if(typeof t=="object"&&t!==null){var e=wf.get(t);return e!==void 0?e:(l={value:t,source:l,stack:Js(l)},wf.set(t,l),l)}return{value:t,source:l,stack:Js(l)}}var ya=[],da=0,fi=null,an=0,Al=[],Tl=0,se=null,ql=1,Yl="";function Vl(t,l){ya[da++]=an,ya[da++]=fi,fi=t,an=l}function Wf(t,l,e){Al[Tl++]=ql,Al[Tl++]=Yl,Al[Tl++]=se,se=t;var a=ql;t=Yl;var i=32-ol(a)-1;a&=~(1<<i),e+=1;var u=32-ol(l)+i;if(30<u){var f=i-i%5;u=(a&(1<<f)-1).toString(32),a>>=f,i-=f,ql=1<<32-ol(l)+i|e<<i|a,Yl=u+t}else ql=1<<u|e<<i|a,Yl=t}function Fu(t){t.return!==null&&(Vl(t,1),Wf(t,1,0))}function ku(t){for(;t===fi;)fi=ya[--da],ya[da]=null,an=ya[--da],ya[da]=null;for(;t===se;)se=Al[--Tl],Al[Tl]=null,Yl=Al[--Tl],Al[Tl]=null,ql=Al[--Tl],Al[Tl]=null}function Ff(t,l){Al[Tl++]=ql,Al[Tl++]=Yl,Al[Tl++]=se,ql=l.id,Yl=l.overflow,se=t}var Lt=null,_t=null,st=!1,fe=null,El=!1,$u=Error(s(519));function he(t){var l=Error(s(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw nn(xl(l,t)),$u}function kf(t){var l=t.stateNode,e=t.type,a=t.memoizedProps;switch(l[Vt]=t,l[el]=a,e){case"dialog":it("cancel",l),it("close",l);break;case"iframe":case"object":case"embed":it("load",l);break;case"video":case"audio":for(e=0;e<En.length;e++)it(En[e],l);break;case"source":it("error",l);break;case"img":case"image":case"link":it("error",l),it("load",l);break;case"details":it("toggle",l);break;case"input":it("invalid",l),ff(l,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":it("invalid",l);break;case"textarea":it("invalid",l),rf(l,a.value,a.defaultValue,a.children)}e=a.children,typeof e!="string"&&typeof e!="number"&&typeof e!="bigint"||l.textContent===""+e||a.suppressHydrationWarning===!0||yo(l.textContent,e)?(a.popover!=null&&(it("beforetoggle",l),it("toggle",l)),a.onScroll!=null&&it("scroll",l),a.onScrollEnd!=null&&it("scrollend",l),a.onClick!=null&&(l.onclick=jl),l=!0):l=!1,l||he(t,!0)}function $f(t){for(Lt=t.return;Lt;)switch(Lt.tag){case 5:case 31:case 13:El=!1;return;case 27:case 3:El=!0;return;default:Lt=Lt.return}}function ma(t){if(t!==Lt)return!1;if(!st)return $f(t),st=!0,!1;var l=t.tag,e;if((e=l!==3&&l!==27)&&((e=l===5)&&(e=t.type,e=!(e!=="form"&&e!=="button")||ms(t.type,t.memoizedProps)),e=!e),e&&_t&&he(t),$f(t),l===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(s(317));_t=Mo(t)}else if(l===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(s(317));_t=Mo(t)}else l===27?(l=_t,xe(t.type)?(t=ps,ps=null,_t=t):_t=l):_t=Lt?Ul(t.stateNode.nextSibling):null;return!0}function Qe(){_t=Lt=null,st=!1}function Iu(){var t=fe;return t!==null&&(cl===null?cl=t:cl.push.apply(cl,t),fe=null),t}function nn(t){fe===null?fe=[t]:fe.push(t)}var Pu=p(null),je=null,Ll=null;function re(t,l,e){j(Pu,l._currentValue),l._currentValue=e}function Jl(t){t._currentValue=Pu.current,Y(Pu)}function tc(t,l,e){for(;t!==null;){var a=t.alternate;if((t.childLanes&l)!==l?(t.childLanes|=l,a!==null&&(a.childLanes|=l)):a!==null&&(a.childLanes&l)!==l&&(a.childLanes|=l),t===e)break;t=t.return}}function lc(t,l,e,a){var i=t.child;for(i!==null&&(i.return=t);i!==null;){var u=i.dependencies;if(u!==null){var f=i.child;u=u.firstContext;t:for(;u!==null;){var r=u;u=i;for(var m=0;m<l.length;m++)if(r.context===l[m]){u.lanes|=e,r=u.alternate,r!==null&&(r.lanes|=e),tc(u.return,e,t),a||(f=null);break t}u=r.next}}else if(i.tag===18){if(f=i.return,f===null)throw Error(s(341));f.lanes|=e,u=f.alternate,u!==null&&(u.lanes|=e),tc(f,e,t),f=null}else f=i.child;if(f!==null)f.return=i;else for(f=i;f!==null;){if(f===t){f=null;break}if(i=f.sibling,i!==null){i.return=f.return,f=i;break}f=f.return}i=f}}function va(t,l,e,a){t=null;for(var i=l,u=!1;i!==null;){if(!u){if((i.flags&524288)!==0)u=!0;else if((i.flags&262144)!==0)break}if(i.tag===10){var f=i.alternate;if(f===null)throw Error(s(387));if(f=f.memoizedProps,f!==null){var r=i.type;yl(i.pendingProps.value,f.value)||(t!==null?t.push(r):t=[r])}}else if(i===dt.current){if(f=i.alternate,f===null)throw Error(s(387));f.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(t!==null?t.push(Rn):t=[Rn])}i=i.return}t!==null&&lc(l,t,e,a),l.flags|=262144}function hi(t){for(t=t.firstContext;t!==null;){if(!yl(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Ge(t){je=t,Ll=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function Jt(t){return If(je,t)}function ri(t,l){return je===null&&Ge(t),If(t,l)}function If(t,l){var e=l._currentValue;if(l={context:l,memoizedValue:e,next:null},Ll===null){if(t===null)throw Error(s(308));Ll=l,t.dependencies={lanes:0,firstContext:l},t.flags|=524288}else Ll=Ll.next=l;return e}var Oy=typeof AbortController<"u"?AbortController:function(){var t=[],l=this.signal={aborted:!1,addEventListener:function(e,a){t.push(a)}};this.abort=function(){l.aborted=!0,t.forEach(function(e){return e()})}},Uy=R.unstable_scheduleCallback,Dy=R.unstable_NormalPriority,Nt={$$typeof:k,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function ec(){return{controller:new Oy,data:new Map,refCount:0}}function un(t){t.refCount--,t.refCount===0&&Uy(Dy,function(){t.controller.abort()})}var cn=null,ac=0,ga=0,Sa=null;function Cy(t,l){if(cn===null){var e=cn=[];ac=0,ga=us(),Sa={status:"pending",value:void 0,then:function(a){e.push(a)}}}return ac++,l.then(Pf,Pf),l}function Pf(){if(--ac===0&&cn!==null){Sa!==null&&(Sa.status="fulfilled");var t=cn;cn=null,ga=0,Sa=null;for(var l=0;l<t.length;l++)(0,t[l])()}}function Ry(t,l){var e=[],a={status:"pending",value:null,reason:null,then:function(i){e.push(i)}};return t.then(function(){a.status="fulfilled",a.value=l;for(var i=0;i<e.length;i++)(0,e[i])(l)},function(i){for(a.status="rejected",a.reason=i,i=0;i<e.length;i++)(0,e[i])(void 0)}),a}var th=D.S;D.S=function(t,l){Br=hl(),typeof l=="object"&&l!==null&&typeof l.then=="function"&&Cy(t,l),th!==null&&th(t,l)};var Ze=p(null);function nc(){var t=Ze.current;return t!==null?t:pt.pooledCache}function oi(t,l){l===null?j(Ze,Ze.current):j(Ze,l.pool)}function lh(){var t=nc();return t===null?null:{parent:Nt._currentValue,pool:t}}var za=Error(s(460)),ic=Error(s(474)),yi=Error(s(542)),di={then:function(){}};function eh(t){return t=t.status,t==="fulfilled"||t==="rejected"}function ah(t,l,e){switch(e=t[e],e===void 0?t.push(l):e!==l&&(l.then(jl,jl),l=e),l.status){case"fulfilled":return l.value;case"rejected":throw t=l.reason,ih(t),t;default:if(typeof l.status=="string")l.then(jl,jl);else{if(t=pt,t!==null&&100<t.shellSuspendCounter)throw Error(s(482));t=l,t.status="pending",t.then(function(a){if(l.status==="pending"){var i=l;i.status="fulfilled",i.value=a}},function(a){if(l.status==="pending"){var i=l;i.status="rejected",i.reason=a}})}switch(l.status){case"fulfilled":return l.value;case"rejected":throw t=l.reason,ih(t),t}throw Le=l,za}}function Ve(t){try{var l=t._init;return l(t._payload)}catch(e){throw e!==null&&typeof e=="object"&&typeof e.then=="function"?(Le=e,za):e}}var Le=null;function nh(){if(Le===null)throw Error(s(459));var t=Le;return Le=null,t}function ih(t){if(t===za||t===yi)throw Error(s(483))}var pa=null,sn=0;function mi(t){var l=sn;return sn+=1,pa===null&&(pa=[]),ah(pa,t,l)}function fn(t,l){l=l.props.ref,t.ref=l!==void 0?l:null}function vi(t,l){throw l.$$typeof===E?Error(s(525)):(t=Object.prototype.toString.call(l),Error(s(31,t==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":t)))}function uh(t){function l(b,S){if(t){var M=b.deletions;M===null?(b.deletions=[S],b.flags|=16):M.push(S)}}function e(b,S){if(!t)return null;for(;S!==null;)l(b,S),S=S.sibling;return null}function a(b){for(var S=new Map;b!==null;)b.key!==null?S.set(b.key,b):S.set(b.index,b),b=b.sibling;return S}function i(b,S){return b=Zl(b,S),b.index=0,b.sibling=null,b}function u(b,S,M){return b.index=M,t?(M=b.alternate,M!==null?(M=M.index,M<S?(b.flags|=67108866,S):M):(b.flags|=67108866,S)):(b.flags|=1048576,S)}function f(b){return t&&b.alternate===null&&(b.flags|=67108866),b}function r(b,S,M,N){return S===null||S.tag!==6?(S=wu(M,b.mode,N),S.return=b,S):(S=i(S,M),S.return=b,S)}function m(b,S,M,N){var J=M.type;return J===q?C(b,S,M.props.children,N,M.key):S!==null&&(S.elementType===J||typeof J=="object"&&J!==null&&J.$$typeof===At&&Ve(J)===S.type)?(S=i(S,M.props),fn(S,M),S.return=b,S):(S=si(M.type,M.key,M.props,null,b.mode,N),fn(S,M),S.return=b,S)}function x(b,S,M,N){return S===null||S.tag!==4||S.stateNode.containerInfo!==M.containerInfo||S.stateNode.implementation!==M.implementation?(S=Wu(M,b.mode,N),S.return=b,S):(S=i(S,M.children||[]),S.return=b,S)}function C(b,S,M,N,J){return S===null||S.tag!==7?(S=Xe(M,b.mode,N,J),S.return=b,S):(S=i(S,M),S.return=b,S)}function H(b,S,M){if(typeof S=="string"&&S!==""||typeof S=="number"||typeof S=="bigint")return S=wu(""+S,b.mode,M),S.return=b,S;if(typeof S=="object"&&S!==null){switch(S.$$typeof){case T:return M=si(S.type,S.key,S.props,null,b.mode,M),fn(M,S),M.return=b,M;case U:return S=Wu(S,b.mode,M),S.return=b,S;case At:return S=Ve(S),H(b,S,M)}if(Wt(S)||Mt(S))return S=Xe(S,b.mode,M,null),S.return=b,S;if(typeof S.then=="function")return H(b,mi(S),M);if(S.$$typeof===k)return H(b,ri(b,S),M);vi(b,S)}return null}function A(b,S,M,N){var J=S!==null?S.key:null;if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return J!==null?null:r(b,S,""+M,N);if(typeof M=="object"&&M!==null){switch(M.$$typeof){case T:return M.key===J?m(b,S,M,N):null;case U:return M.key===J?x(b,S,M,N):null;case At:return M=Ve(M),A(b,S,M,N)}if(Wt(M)||Mt(M))return J!==null?null:C(b,S,M,N,null);if(typeof M.then=="function")return A(b,S,mi(M),N);if(M.$$typeof===k)return A(b,S,ri(b,M),N);vi(b,M)}return null}function O(b,S,M,N,J){if(typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint")return b=b.get(M)||null,r(S,b,""+N,J);if(typeof N=="object"&&N!==null){switch(N.$$typeof){case T:return b=b.get(N.key===null?M:N.key)||null,m(S,b,N,J);case U:return b=b.get(N.key===null?M:N.key)||null,x(S,b,N,J);case At:return N=Ve(N),O(b,S,M,N,J)}if(Wt(N)||Mt(N))return b=b.get(M)||null,C(S,b,N,J,null);if(typeof N.then=="function")return O(b,S,M,mi(N),J);if(N.$$typeof===k)return O(b,S,M,ri(S,N),J);vi(S,N)}return null}function G(b,S,M,N){for(var J=null,rt=null,L=S,lt=S=0,ct=null;L!==null&<<M.length;lt++){L.index>lt?(ct=L,L=null):ct=L.sibling;var ot=A(b,L,M[lt],N);if(ot===null){L===null&&(L=ct);break}t&&L&&ot.alternate===null&&l(b,L),S=u(ot,S,lt),rt===null?J=ot:rt.sibling=ot,rt=ot,L=ct}if(lt===M.length)return e(b,L),st&&Vl(b,lt),J;if(L===null){for(;lt<M.length;lt++)L=H(b,M[lt],N),L!==null&&(S=u(L,S,lt),rt===null?J=L:rt.sibling=L,rt=L);return st&&Vl(b,lt),J}for(L=a(L);lt<M.length;lt++)ct=O(L,b,lt,M[lt],N),ct!==null&&(t&&ct.alternate!==null&&L.delete(ct.key===null?lt:ct.key),S=u(ct,S,lt),rt===null?J=ct:rt.sibling=ct,rt=ct);return t&&L.forEach(function(Ue){return l(b,Ue)}),st&&Vl(b,lt),J}function w(b,S,M,N){if(M==null)throw Error(s(151));for(var J=null,rt=null,L=S,lt=S=0,ct=null,ot=M.next();L!==null&&!ot.done;lt++,ot=M.next()){L.index>lt?(ct=L,L=null):ct=L.sibling;var Ue=A(b,L,ot.value,N);if(Ue===null){L===null&&(L=ct);break}t&&L&&Ue.alternate===null&&l(b,L),S=u(Ue,S,lt),rt===null?J=Ue:rt.sibling=Ue,rt=Ue,L=ct}if(ot.done)return e(b,L),st&&Vl(b,lt),J;if(L===null){for(;!ot.done;lt++,ot=M.next())ot=H(b,ot.value,N),ot!==null&&(S=u(ot,S,lt),rt===null?J=ot:rt.sibling=ot,rt=ot);return st&&Vl(b,lt),J}for(L=a(L);!ot.done;lt++,ot=M.next())ot=O(L,b,lt,ot.value,N),ot!==null&&(t&&ot.alternate!==null&&L.delete(ot.key===null?lt:ot.key),S=u(ot,S,lt),rt===null?J=ot:rt.sibling=ot,rt=ot);return t&&L.forEach(function(Vd){return l(b,Vd)}),st&&Vl(b,lt),J}function zt(b,S,M,N){if(typeof M=="object"&&M!==null&&M.type===q&&M.key===null&&(M=M.props.children),typeof M=="object"&&M!==null){switch(M.$$typeof){case T:t:{for(var J=M.key;S!==null;){if(S.key===J){if(J=M.type,J===q){if(S.tag===7){e(b,S.sibling),N=i(S,M.props.children),N.return=b,b=N;break t}}else if(S.elementType===J||typeof J=="object"&&J!==null&&J.$$typeof===At&&Ve(J)===S.type){e(b,S.sibling),N=i(S,M.props),fn(N,M),N.return=b,b=N;break t}e(b,S);break}else l(b,S);S=S.sibling}M.type===q?(N=Xe(M.props.children,b.mode,N,M.key),N.return=b,b=N):(N=si(M.type,M.key,M.props,null,b.mode,N),fn(N,M),N.return=b,b=N)}return f(b);case U:t:{for(J=M.key;S!==null;){if(S.key===J)if(S.tag===4&&S.stateNode.containerInfo===M.containerInfo&&S.stateNode.implementation===M.implementation){e(b,S.sibling),N=i(S,M.children||[]),N.return=b,b=N;break t}else{e(b,S);break}else l(b,S);S=S.sibling}N=Wu(M,b.mode,N),N.return=b,b=N}return f(b);case At:return M=Ve(M),zt(b,S,M,N)}if(Wt(M))return G(b,S,M,N);if(Mt(M)){if(J=Mt(M),typeof J!="function")throw Error(s(150));return M=J.call(M),w(b,S,M,N)}if(typeof M.then=="function")return zt(b,S,mi(M),N);if(M.$$typeof===k)return zt(b,S,ri(b,M),N);vi(b,M)}return typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint"?(M=""+M,S!==null&&S.tag===6?(e(b,S.sibling),N=i(S,M),N.return=b,b=N):(e(b,S),N=wu(M,b.mode,N),N.return=b,b=N),f(b)):e(b,S)}return function(b,S,M,N){try{sn=0;var J=zt(b,S,M,N);return pa=null,J}catch(L){if(L===za||L===yi)throw L;var rt=dl(29,L,null,b.mode);return rt.lanes=N,rt.return=b,rt}}}var Je=uh(!0),ch=uh(!1),oe=!1;function uc(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function cc(t,l){t=t.updateQueue,l.updateQueue===t&&(l.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function ye(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function de(t,l,e){var a=t.updateQueue;if(a===null)return null;if(a=a.shared,(yt&2)!==0){var i=a.pending;return i===null?l.next=l:(l.next=i.next,i.next=l),a.pending=l,l=ci(t),Lf(t,null,e),l}return ui(t,a,l,e),ci(t)}function hn(t,l,e){if(l=l.updateQueue,l!==null&&(l=l.shared,(e&4194048)!==0)){var a=l.lanes;a&=t.pendingLanes,e|=a,l.lanes=e,$s(t,e)}}function sc(t,l){var e=t.updateQueue,a=t.alternate;if(a!==null&&(a=a.updateQueue,e===a)){var i=null,u=null;if(e=e.firstBaseUpdate,e!==null){do{var f={lane:e.lane,tag:e.tag,payload:e.payload,callback:null,next:null};u===null?i=u=f:u=u.next=f,e=e.next}while(e!==null);u===null?i=u=l:u=u.next=l}else i=u=l;e={baseState:a.baseState,firstBaseUpdate:i,lastBaseUpdate:u,shared:a.shared,callbacks:a.callbacks},t.updateQueue=e;return}t=e.lastBaseUpdate,t===null?e.firstBaseUpdate=l:t.next=l,e.lastBaseUpdate=l}var fc=!1;function rn(){if(fc){var t=Sa;if(t!==null)throw t}}function on(t,l,e,a){fc=!1;var i=t.updateQueue;oe=!1;var u=i.firstBaseUpdate,f=i.lastBaseUpdate,r=i.shared.pending;if(r!==null){i.shared.pending=null;var m=r,x=m.next;m.next=null,f===null?u=x:f.next=x,f=m;var C=t.alternate;C!==null&&(C=C.updateQueue,r=C.lastBaseUpdate,r!==f&&(r===null?C.firstBaseUpdate=x:r.next=x,C.lastBaseUpdate=m))}if(u!==null){var H=i.baseState;f=0,C=x=m=null,r=u;do{var A=r.lane&-536870913,O=A!==r.lane;if(O?(ut&A)===A:(a&A)===A){A!==0&&A===ga&&(fc=!0),C!==null&&(C=C.next={lane:0,tag:r.tag,payload:r.payload,callback:null,next:null});t:{var G=t,w=r;A=l;var zt=e;switch(w.tag){case 1:if(G=w.payload,typeof G=="function"){H=G.call(zt,H,A);break t}H=G;break t;case 3:G.flags=G.flags&-65537|128;case 0:if(G=w.payload,A=typeof G=="function"?G.call(zt,H,A):G,A==null)break t;H=_({},H,A);break t;case 2:oe=!0}}A=r.callback,A!==null&&(t.flags|=64,O&&(t.flags|=8192),O=i.callbacks,O===null?i.callbacks=[A]:O.push(A))}else O={lane:A,tag:r.tag,payload:r.payload,callback:r.callback,next:null},C===null?(x=C=O,m=H):C=C.next=O,f|=A;if(r=r.next,r===null){if(r=i.shared.pending,r===null)break;O=r,r=O.next,O.next=null,i.lastBaseUpdate=O,i.shared.pending=null}}while(!0);C===null&&(m=H),i.baseState=m,i.firstBaseUpdate=x,i.lastBaseUpdate=C,u===null&&(i.shared.lanes=0),ze|=f,t.lanes=f,t.memoizedState=H}}function sh(t,l){if(typeof t!="function")throw Error(s(191,t));t.call(l)}function fh(t,l){var e=t.callbacks;if(e!==null)for(t.callbacks=null,t=0;t<e.length;t++)sh(e[t],l)}var _a=p(null),gi=p(0);function hh(t,l){t=te,j(gi,t),j(_a,l),te=t|l.baseLanes}function hc(){j(gi,te),j(_a,_a.current)}function rc(){te=gi.current,Y(_a),Y(gi)}var ml=p(null),Ol=null;function me(t){var l=t.alternate;j(Ut,Ut.current&1),j(ml,t),Ol===null&&(l===null||_a.current!==null||l.memoizedState!==null)&&(Ol=t)}function oc(t){j(Ut,Ut.current),j(ml,t),Ol===null&&(Ol=t)}function rh(t){t.tag===22?(j(Ut,Ut.current),j(ml,t),Ol===null&&(Ol=t)):ve()}function ve(){j(Ut,Ut.current),j(ml,ml.current)}function vl(t){Y(ml),Ol===t&&(Ol=null),Y(Ut)}var Ut=p(0);function Si(t){for(var l=t;l!==null;){if(l.tag===13){var e=l.memoizedState;if(e!==null&&(e=e.dehydrated,e===null||Ss(e)||zs(e)))return l}else if(l.tag===19&&(l.memoizedProps.revealOrder==="forwards"||l.memoizedProps.revealOrder==="backwards"||l.memoizedProps.revealOrder==="unstable_legacy-backwards"||l.memoizedProps.revealOrder==="together")){if((l.flags&128)!==0)return l}else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===t)break;for(;l.sibling===null;){if(l.return===null||l.return===t)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}var Kl=0,P=null,gt=null,Ht=null,zi=!1,ba=!1,Ke=!1,pi=0,yn=0,Ma=null,Ny=0;function Tt(){throw Error(s(321))}function yc(t,l){if(l===null)return!1;for(var e=0;e<l.length&&e<t.length;e++)if(!yl(t[e],l[e]))return!1;return!0}function dc(t,l,e,a,i,u){return Kl=u,P=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,D.H=t===null||t.memoizedState===null?Wh:Uc,Ke=!1,u=e(a,i),Ke=!1,ba&&(u=yh(l,e,a,i)),oh(t),u}function oh(t){D.H=vn;var l=gt!==null&>.next!==null;if(Kl=0,Ht=gt=P=null,zi=!1,yn=0,Ma=null,l)throw Error(s(300));t===null||qt||(t=t.dependencies,t!==null&&hi(t)&&(qt=!0))}function yh(t,l,e,a){P=t;var i=0;do{if(ba&&(Ma=null),yn=0,ba=!1,25<=i)throw Error(s(301));if(i+=1,Ht=gt=null,t.updateQueue!=null){var u=t.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}D.H=Fh,u=l(e,a)}while(ba);return u}function Hy(){var t=D.H,l=t.useState()[0];return l=typeof l.then=="function"?dn(l):l,t=t.useState()[0],(gt!==null?gt.memoizedState:null)!==t&&(P.flags|=1024),l}function mc(){var t=pi!==0;return pi=0,t}function vc(t,l,e){l.updateQueue=t.updateQueue,l.flags&=-2053,t.lanes&=~e}function gc(t){if(zi){for(t=t.memoizedState;t!==null;){var l=t.queue;l!==null&&(l.pending=null),t=t.next}zi=!1}Kl=0,Ht=gt=P=null,ba=!1,yn=pi=0,Ma=null}function Pt(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ht===null?P.memoizedState=Ht=t:Ht=Ht.next=t,Ht}function Dt(){if(gt===null){var t=P.alternate;t=t!==null?t.memoizedState:null}else t=gt.next;var l=Ht===null?P.memoizedState:Ht.next;if(l!==null)Ht=l,gt=t;else{if(t===null)throw P.alternate===null?Error(s(467)):Error(s(310));gt=t,t={memoizedState:gt.memoizedState,baseState:gt.baseState,baseQueue:gt.baseQueue,queue:gt.queue,next:null},Ht===null?P.memoizedState=Ht=t:Ht=Ht.next=t}return Ht}function _i(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function dn(t){var l=yn;return yn+=1,Ma===null&&(Ma=[]),t=ah(Ma,t,l),l=P,(Ht===null?l.memoizedState:Ht.next)===null&&(l=l.alternate,D.H=l===null||l.memoizedState===null?Wh:Uc),t}function bi(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return dn(t);if(t.$$typeof===k)return Jt(t)}throw Error(s(438,String(t)))}function Sc(t){var l=null,e=P.updateQueue;if(e!==null&&(l=e.memoCache),l==null){var a=P.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(l={data:a.data.map(function(i){return i.slice()}),index:0})))}if(l==null&&(l={data:[],index:0}),e===null&&(e=_i(),P.updateQueue=e),e.memoCache=l,e=l.data[l.index],e===void 0)for(e=l.data[l.index]=Array(t),a=0;a<t;a++)e[a]=$t;return l.index++,e}function wl(t,l){return typeof l=="function"?l(t):l}function Mi(t){var l=Dt();return zc(l,gt,t)}function zc(t,l,e){var a=t.queue;if(a===null)throw Error(s(311));a.lastRenderedReducer=e;var i=t.baseQueue,u=a.pending;if(u!==null){if(i!==null){var f=i.next;i.next=u.next,u.next=f}l.baseQueue=i=u,a.pending=null}if(u=t.baseState,i===null)t.memoizedState=u;else{l=i.next;var r=f=null,m=null,x=l,C=!1;do{var H=x.lane&-536870913;if(H!==x.lane?(ut&H)===H:(Kl&H)===H){var A=x.revertLane;if(A===0)m!==null&&(m=m.next={lane:0,revertLane:0,gesture:null,action:x.action,hasEagerState:x.hasEagerState,eagerState:x.eagerState,next:null}),H===ga&&(C=!0);else if((Kl&A)===A){x=x.next,A===ga&&(C=!0);continue}else H={lane:0,revertLane:x.revertLane,gesture:null,action:x.action,hasEagerState:x.hasEagerState,eagerState:x.eagerState,next:null},m===null?(r=m=H,f=u):m=m.next=H,P.lanes|=A,ze|=A;H=x.action,Ke&&e(u,H),u=x.hasEagerState?x.eagerState:e(u,H)}else A={lane:H,revertLane:x.revertLane,gesture:x.gesture,action:x.action,hasEagerState:x.hasEagerState,eagerState:x.eagerState,next:null},m===null?(r=m=A,f=u):m=m.next=A,P.lanes|=H,ze|=H;x=x.next}while(x!==null&&x!==l);if(m===null?f=u:m.next=r,!yl(u,t.memoizedState)&&(qt=!0,C&&(e=Sa,e!==null)))throw e;t.memoizedState=u,t.baseState=f,t.baseQueue=m,a.lastRenderedState=u}return i===null&&(a.lanes=0),[t.memoizedState,a.dispatch]}function pc(t){var l=Dt(),e=l.queue;if(e===null)throw Error(s(311));e.lastRenderedReducer=t;var a=e.dispatch,i=e.pending,u=l.memoizedState;if(i!==null){e.pending=null;var f=i=i.next;do u=t(u,f.action),f=f.next;while(f!==i);yl(u,l.memoizedState)||(qt=!0),l.memoizedState=u,l.baseQueue===null&&(l.baseState=u),e.lastRenderedState=u}return[u,a]}function dh(t,l,e){var a=P,i=Dt(),u=st;if(u){if(e===void 0)throw Error(s(407));e=e()}else e=l();var f=!yl((gt||i).memoizedState,e);if(f&&(i.memoizedState=e,qt=!0),i=i.queue,Mc(gh.bind(null,a,i,t),[t]),i.getSnapshot!==l||f||Ht!==null&&Ht.memoizedState.tag&1){if(a.flags|=2048,xa(9,{destroy:void 0},vh.bind(null,a,i,e,l),null),pt===null)throw Error(s(349));u||(Kl&127)!==0||mh(a,l,e)}return e}function mh(t,l,e){t.flags|=16384,t={getSnapshot:l,value:e},l=P.updateQueue,l===null?(l=_i(),P.updateQueue=l,l.stores=[t]):(e=l.stores,e===null?l.stores=[t]:e.push(t))}function vh(t,l,e,a){l.value=e,l.getSnapshot=a,Sh(l)&&zh(t)}function gh(t,l,e){return e(function(){Sh(l)&&zh(t)})}function Sh(t){var l=t.getSnapshot;t=t.value;try{var e=l();return!yl(t,e)}catch{return!0}}function zh(t){var l=Be(t,2);l!==null&&sl(l,t,2)}function _c(t){var l=Pt();if(typeof t=="function"){var e=t;if(t=e(),Ke){ie(!0);try{e()}finally{ie(!1)}}}return l.memoizedState=l.baseState=t,l.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:wl,lastRenderedState:t},l}function ph(t,l,e,a){return t.baseState=e,zc(t,gt,typeof a=="function"?a:wl)}function qy(t,l,e,a,i){if(Ti(t))throw Error(s(485));if(t=l.action,t!==null){var u={payload:i,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(f){u.listeners.push(f)}};D.T!==null?e(!0):u.isTransition=!1,a(u),e=l.pending,e===null?(u.next=l.pending=u,_h(l,u)):(u.next=e.next,l.pending=e.next=u)}}function _h(t,l){var e=l.action,a=l.payload,i=t.state;if(l.isTransition){var u=D.T,f={};D.T=f;try{var r=e(i,a),m=D.S;m!==null&&m(f,r),bh(t,l,r)}catch(x){bc(t,l,x)}finally{u!==null&&f.types!==null&&(u.types=f.types),D.T=u}}else try{u=e(i,a),bh(t,l,u)}catch(x){bc(t,l,x)}}function bh(t,l,e){e!==null&&typeof e=="object"&&typeof e.then=="function"?e.then(function(a){Mh(t,l,a)},function(a){return bc(t,l,a)}):Mh(t,l,e)}function Mh(t,l,e){l.status="fulfilled",l.value=e,xh(l),t.state=e,l=t.pending,l!==null&&(e=l.next,e===l?t.pending=null:(e=e.next,l.next=e,_h(t,e)))}function bc(t,l,e){var a=t.pending;if(t.pending=null,a!==null){a=a.next;do l.status="rejected",l.reason=e,xh(l),l=l.next;while(l!==a)}t.action=null}function xh(t){t=t.listeners;for(var l=0;l<t.length;l++)(0,t[l])()}function Ah(t,l){return l}function Th(t,l){if(st){var e=pt.formState;if(e!==null){t:{var a=P;if(st){if(_t){l:{for(var i=_t,u=El;i.nodeType!==8;){if(!u){i=null;break l}if(i=Ul(i.nextSibling),i===null){i=null;break l}}u=i.data,i=u==="F!"||u==="F"?i:null}if(i){_t=Ul(i.nextSibling),a=i.data==="F!";break t}}he(a)}a=!1}a&&(l=e[0])}}return e=Pt(),e.memoizedState=e.baseState=l,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ah,lastRenderedState:l},e.queue=a,e=Jh.bind(null,P,a),a.dispatch=e,a=_c(!1),u=Oc.bind(null,P,!1,a.queue),a=Pt(),i={state:l,dispatch:null,action:t,pending:null},a.queue=i,e=qy.bind(null,P,i,u,e),i.dispatch=e,a.memoizedState=t,[l,e,!1]}function Eh(t){var l=Dt();return Oh(l,gt,t)}function Oh(t,l,e){if(l=zc(t,l,Ah)[0],t=Mi(wl)[0],typeof l=="object"&&l!==null&&typeof l.then=="function")try{var a=dn(l)}catch(f){throw f===za?yi:f}else a=l;l=Dt();var i=l.queue,u=i.dispatch;return e!==l.memoizedState&&(P.flags|=2048,xa(9,{destroy:void 0},Yy.bind(null,i,e),null)),[a,u,t]}function Yy(t,l){t.action=l}function Uh(t){var l=Dt(),e=gt;if(e!==null)return Oh(l,e,t);Dt(),l=l.memoizedState,e=Dt();var a=e.queue.dispatch;return e.memoizedState=t,[l,a,!1]}function xa(t,l,e,a){return t={tag:t,create:e,deps:a,inst:l,next:null},l=P.updateQueue,l===null&&(l=_i(),P.updateQueue=l),e=l.lastEffect,e===null?l.lastEffect=t.next=t:(a=e.next,e.next=t,t.next=a,l.lastEffect=t),t}function Dh(){return Dt().memoizedState}function xi(t,l,e,a){var i=Pt();P.flags|=t,i.memoizedState=xa(1|l,{destroy:void 0},e,a===void 0?null:a)}function Ai(t,l,e,a){var i=Dt();a=a===void 0?null:a;var u=i.memoizedState.inst;gt!==null&&a!==null&&yc(a,gt.memoizedState.deps)?i.memoizedState=xa(l,u,e,a):(P.flags|=t,i.memoizedState=xa(1|l,u,e,a))}function Ch(t,l){xi(8390656,8,t,l)}function Mc(t,l){Ai(2048,8,t,l)}function By(t){P.flags|=4;var l=P.updateQueue;if(l===null)l=_i(),P.updateQueue=l,l.events=[t];else{var e=l.events;e===null?l.events=[t]:e.push(t)}}function Rh(t){var l=Dt().memoizedState;return By({ref:l,nextImpl:t}),function(){if((yt&2)!==0)throw Error(s(440));return l.impl.apply(void 0,arguments)}}function Nh(t,l){return Ai(4,2,t,l)}function Hh(t,l){return Ai(4,4,t,l)}function qh(t,l){if(typeof l=="function"){t=t();var e=l(t);return function(){typeof e=="function"?e():l(null)}}if(l!=null)return t=t(),l.current=t,function(){l.current=null}}function Yh(t,l,e){e=e!=null?e.concat([t]):null,Ai(4,4,qh.bind(null,l,t),e)}function xc(){}function Bh(t,l){var e=Dt();l=l===void 0?null:l;var a=e.memoizedState;return l!==null&&yc(l,a[1])?a[0]:(e.memoizedState=[t,l],t)}function Xh(t,l){var e=Dt();l=l===void 0?null:l;var a=e.memoizedState;if(l!==null&&yc(l,a[1]))return a[0];if(a=t(),Ke){ie(!0);try{t()}finally{ie(!1)}}return e.memoizedState=[a,l],a}function Ac(t,l,e){return e===void 0||(Kl&1073741824)!==0&&(ut&261930)===0?t.memoizedState=l:(t.memoizedState=e,t=Qr(),P.lanes|=t,ze|=t,e)}function Qh(t,l,e,a){return yl(e,l)?e:_a.current!==null?(t=Ac(t,e,a),yl(t,l)||(qt=!0),t):(Kl&42)===0||(Kl&1073741824)!==0&&(ut&261930)===0?(qt=!0,t.memoizedState=e):(t=Qr(),P.lanes|=t,ze|=t,l)}function jh(t,l,e,a,i){var u=X.p;X.p=u!==0&&8>u?u:8;var f=D.T,r={};D.T=r,Oc(t,!1,l,e);try{var m=i(),x=D.S;if(x!==null&&x(r,m),m!==null&&typeof m=="object"&&typeof m.then=="function"){var C=Ry(m,a);mn(t,l,C,zl(t))}else mn(t,l,a,zl(t))}catch(H){mn(t,l,{then:function(){},status:"rejected",reason:H},zl())}finally{X.p=u,f!==null&&r.types!==null&&(f.types=r.types),D.T=f}}function Xy(){}function Tc(t,l,e,a){if(t.tag!==5)throw Error(s(476));var i=Gh(t).queue;jh(t,i,l,K,e===null?Xy:function(){return Zh(t),e(a)})}function Gh(t){var l=t.memoizedState;if(l!==null)return l;l={memoizedState:K,baseState:K,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:wl,lastRenderedState:K},next:null};var e={};return l.next={memoizedState:e,baseState:e,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:wl,lastRenderedState:e},next:null},t.memoizedState=l,t=t.alternate,t!==null&&(t.memoizedState=l),l}function Zh(t){var l=Gh(t);l.next===null&&(l=t.alternate.memoizedState),mn(t,l.next.queue,{},zl())}function Ec(){return Jt(Rn)}function Vh(){return Dt().memoizedState}function Lh(){return Dt().memoizedState}function Qy(t){for(var l=t.return;l!==null;){switch(l.tag){case 24:case 3:var e=zl();t=ye(e);var a=de(l,t,e);a!==null&&(sl(a,l,e),hn(a,l,e)),l={cache:ec()},t.payload=l;return}l=l.return}}function jy(t,l,e){var a=zl();e={lane:a,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null},Ti(t)?Kh(l,e):(e=Ju(t,l,e,a),e!==null&&(sl(e,t,a),wh(e,l,a)))}function Jh(t,l,e){var a=zl();mn(t,l,e,a)}function mn(t,l,e,a){var i={lane:a,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null};if(Ti(t))Kh(l,i);else{var u=t.alternate;if(t.lanes===0&&(u===null||u.lanes===0)&&(u=l.lastRenderedReducer,u!==null))try{var f=l.lastRenderedState,r=u(f,e);if(i.hasEagerState=!0,i.eagerState=r,yl(r,f))return ui(t,l,i,0),pt===null&&ii(),!1}catch{}if(e=Ju(t,l,i,a),e!==null)return sl(e,t,a),wh(e,l,a),!0}return!1}function Oc(t,l,e,a){if(a={lane:2,revertLane:us(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Ti(t)){if(l)throw Error(s(479))}else l=Ju(t,e,a,2),l!==null&&sl(l,t,2)}function Ti(t){var l=t.alternate;return t===P||l!==null&&l===P}function Kh(t,l){ba=zi=!0;var e=t.pending;e===null?l.next=l:(l.next=e.next,e.next=l),t.pending=l}function wh(t,l,e){if((e&4194048)!==0){var a=l.lanes;a&=t.pendingLanes,e|=a,l.lanes=e,$s(t,e)}}var vn={readContext:Jt,use:bi,useCallback:Tt,useContext:Tt,useEffect:Tt,useImperativeHandle:Tt,useLayoutEffect:Tt,useInsertionEffect:Tt,useMemo:Tt,useReducer:Tt,useRef:Tt,useState:Tt,useDebugValue:Tt,useDeferredValue:Tt,useTransition:Tt,useSyncExternalStore:Tt,useId:Tt,useHostTransitionStatus:Tt,useFormState:Tt,useActionState:Tt,useOptimistic:Tt,useMemoCache:Tt,useCacheRefresh:Tt};vn.useEffectEvent=Tt;var Wh={readContext:Jt,use:bi,useCallback:function(t,l){return Pt().memoizedState=[t,l===void 0?null:l],t},useContext:Jt,useEffect:Ch,useImperativeHandle:function(t,l,e){e=e!=null?e.concat([t]):null,xi(4194308,4,qh.bind(null,l,t),e)},useLayoutEffect:function(t,l){return xi(4194308,4,t,l)},useInsertionEffect:function(t,l){xi(4,2,t,l)},useMemo:function(t,l){var e=Pt();l=l===void 0?null:l;var a=t();if(Ke){ie(!0);try{t()}finally{ie(!1)}}return e.memoizedState=[a,l],a},useReducer:function(t,l,e){var a=Pt();if(e!==void 0){var i=e(l);if(Ke){ie(!0);try{e(l)}finally{ie(!1)}}}else i=l;return a.memoizedState=a.baseState=i,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:i},a.queue=t,t=t.dispatch=jy.bind(null,P,t),[a.memoizedState,t]},useRef:function(t){var l=Pt();return t={current:t},l.memoizedState=t},useState:function(t){t=_c(t);var l=t.queue,e=Jh.bind(null,P,l);return l.dispatch=e,[t.memoizedState,e]},useDebugValue:xc,useDeferredValue:function(t,l){var e=Pt();return Ac(e,t,l)},useTransition:function(){var t=_c(!1);return t=jh.bind(null,P,t.queue,!0,!1),Pt().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,l,e){var a=P,i=Pt();if(st){if(e===void 0)throw Error(s(407));e=e()}else{if(e=l(),pt===null)throw Error(s(349));(ut&127)!==0||mh(a,l,e)}i.memoizedState=e;var u={value:e,getSnapshot:l};return i.queue=u,Ch(gh.bind(null,a,u,t),[t]),a.flags|=2048,xa(9,{destroy:void 0},vh.bind(null,a,u,e,l),null),e},useId:function(){var t=Pt(),l=pt.identifierPrefix;if(st){var e=Yl,a=ql;e=(a&~(1<<32-ol(a)-1)).toString(32)+e,l="_"+l+"R_"+e,e=pi++,0<e&&(l+="H"+e.toString(32)),l+="_"}else e=Ny++,l="_"+l+"r_"+e.toString(32)+"_";return t.memoizedState=l},useHostTransitionStatus:Ec,useFormState:Th,useActionState:Th,useOptimistic:function(t){var l=Pt();l.memoizedState=l.baseState=t;var e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return l.queue=e,l=Oc.bind(null,P,!0,e),e.dispatch=l,[t,l]},useMemoCache:Sc,useCacheRefresh:function(){return Pt().memoizedState=Qy.bind(null,P)},useEffectEvent:function(t){var l=Pt(),e={impl:t};return l.memoizedState=e,function(){if((yt&2)!==0)throw Error(s(440));return e.impl.apply(void 0,arguments)}}},Uc={readContext:Jt,use:bi,useCallback:Bh,useContext:Jt,useEffect:Mc,useImperativeHandle:Yh,useInsertionEffect:Nh,useLayoutEffect:Hh,useMemo:Xh,useReducer:Mi,useRef:Dh,useState:function(){return Mi(wl)},useDebugValue:xc,useDeferredValue:function(t,l){var e=Dt();return Qh(e,gt.memoizedState,t,l)},useTransition:function(){var t=Mi(wl)[0],l=Dt().memoizedState;return[typeof t=="boolean"?t:dn(t),l]},useSyncExternalStore:dh,useId:Vh,useHostTransitionStatus:Ec,useFormState:Eh,useActionState:Eh,useOptimistic:function(t,l){var e=Dt();return ph(e,gt,t,l)},useMemoCache:Sc,useCacheRefresh:Lh};Uc.useEffectEvent=Rh;var Fh={readContext:Jt,use:bi,useCallback:Bh,useContext:Jt,useEffect:Mc,useImperativeHandle:Yh,useInsertionEffect:Nh,useLayoutEffect:Hh,useMemo:Xh,useReducer:pc,useRef:Dh,useState:function(){return pc(wl)},useDebugValue:xc,useDeferredValue:function(t,l){var e=Dt();return gt===null?Ac(e,t,l):Qh(e,gt.memoizedState,t,l)},useTransition:function(){var t=pc(wl)[0],l=Dt().memoizedState;return[typeof t=="boolean"?t:dn(t),l]},useSyncExternalStore:dh,useId:Vh,useHostTransitionStatus:Ec,useFormState:Uh,useActionState:Uh,useOptimistic:function(t,l){var e=Dt();return gt!==null?ph(e,gt,t,l):(e.baseState=t,[t,e.queue.dispatch])},useMemoCache:Sc,useCacheRefresh:Lh};Fh.useEffectEvent=Rh;function Dc(t,l,e,a){l=t.memoizedState,e=e(a,l),e=e==null?l:_({},l,e),t.memoizedState=e,t.lanes===0&&(t.updateQueue.baseState=e)}var Cc={enqueueSetState:function(t,l,e){t=t._reactInternals;var a=zl(),i=ye(a);i.payload=l,e!=null&&(i.callback=e),l=de(t,i,a),l!==null&&(sl(l,t,a),hn(l,t,a))},enqueueReplaceState:function(t,l,e){t=t._reactInternals;var a=zl(),i=ye(a);i.tag=1,i.payload=l,e!=null&&(i.callback=e),l=de(t,i,a),l!==null&&(sl(l,t,a),hn(l,t,a))},enqueueForceUpdate:function(t,l){t=t._reactInternals;var e=zl(),a=ye(e);a.tag=2,l!=null&&(a.callback=l),l=de(t,a,e),l!==null&&(sl(l,t,e),hn(l,t,e))}};function kh(t,l,e,a,i,u,f){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(a,u,f):l.prototype&&l.prototype.isPureReactComponent?!ln(e,a)||!ln(i,u):!0}function $h(t,l,e,a){t=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(e,a),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(e,a),l.state!==t&&Cc.enqueueReplaceState(l,l.state,null)}function we(t,l){var e=l;if("ref"in l){e={};for(var a in l)a!=="ref"&&(e[a]=l[a])}if(t=t.defaultProps){e===l&&(e=_({},e));for(var i in t)e[i]===void 0&&(e[i]=t[i])}return e}function Ih(t){ni(t)}function Ph(t){console.error(t)}function tr(t){ni(t)}function Ei(t,l){try{var e=t.onUncaughtError;e(l.value,{componentStack:l.stack})}catch(a){setTimeout(function(){throw a})}}function lr(t,l,e){try{var a=t.onCaughtError;a(e.value,{componentStack:e.stack,errorBoundary:l.tag===1?l.stateNode:null})}catch(i){setTimeout(function(){throw i})}}function Rc(t,l,e){return e=ye(e),e.tag=3,e.payload={element:null},e.callback=function(){Ei(t,l)},e}function er(t){return t=ye(t),t.tag=3,t}function ar(t,l,e,a){var i=e.type.getDerivedStateFromError;if(typeof i=="function"){var u=a.value;t.payload=function(){return i(u)},t.callback=function(){lr(l,e,a)}}var f=e.stateNode;f!==null&&typeof f.componentDidCatch=="function"&&(t.callback=function(){lr(l,e,a),typeof i!="function"&&(pe===null?pe=new Set([this]):pe.add(this));var r=a.stack;this.componentDidCatch(a.value,{componentStack:r!==null?r:""})})}function Gy(t,l,e,a,i){if(e.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(l=e.alternate,l!==null&&va(l,e,i,!0),e=ml.current,e!==null){switch(e.tag){case 31:case 13:return Ol===null?Qi():e.alternate===null&&Et===0&&(Et=3),e.flags&=-257,e.flags|=65536,e.lanes=i,a===di?e.flags|=16384:(l=e.updateQueue,l===null?e.updateQueue=new Set([a]):l.add(a),as(t,a,i)),!1;case 22:return e.flags|=65536,a===di?e.flags|=16384:(l=e.updateQueue,l===null?(l={transitions:null,markerInstances:null,retryQueue:new Set([a])},e.updateQueue=l):(e=l.retryQueue,e===null?l.retryQueue=new Set([a]):e.add(a)),as(t,a,i)),!1}throw Error(s(435,e.tag))}return as(t,a,i),Qi(),!1}if(st)return l=ml.current,l!==null?((l.flags&65536)===0&&(l.flags|=256),l.flags|=65536,l.lanes=i,a!==$u&&(t=Error(s(422),{cause:a}),nn(xl(t,e)))):(a!==$u&&(l=Error(s(423),{cause:a}),nn(xl(l,e))),t=t.current.alternate,t.flags|=65536,i&=-i,t.lanes|=i,a=xl(a,e),i=Rc(t.stateNode,a,i),sc(t,i),Et!==4&&(Et=2)),!1;var u=Error(s(520),{cause:a});if(u=xl(u,e),xn===null?xn=[u]:xn.push(u),Et!==4&&(Et=2),l===null)return!0;a=xl(a,e),e=l;do{switch(e.tag){case 3:return e.flags|=65536,t=i&-i,e.lanes|=t,t=Rc(e.stateNode,a,t),sc(e,t),!1;case 1:if(l=e.type,u=e.stateNode,(e.flags&128)===0&&(typeof l.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(pe===null||!pe.has(u))))return e.flags|=65536,i&=-i,e.lanes|=i,i=er(i),ar(i,t,e,a),sc(e,i),!1}e=e.return}while(e!==null);return!1}var Nc=Error(s(461)),qt=!1;function Kt(t,l,e,a){l.child=t===null?ch(l,null,e,a):Je(l,t.child,e,a)}function nr(t,l,e,a,i){e=e.render;var u=l.ref;if("ref"in a){var f={};for(var r in a)r!=="ref"&&(f[r]=a[r])}else f=a;return Ge(l),a=dc(t,l,e,f,u,i),r=mc(),t!==null&&!qt?(vc(t,l,i),Wl(t,l,i)):(st&&r&&Fu(l),l.flags|=1,Kt(t,l,a,i),l.child)}function ir(t,l,e,a,i){if(t===null){var u=e.type;return typeof u=="function"&&!Ku(u)&&u.defaultProps===void 0&&e.compare===null?(l.tag=15,l.type=u,ur(t,l,u,a,i)):(t=si(e.type,null,a,l,l.mode,i),t.ref=l.ref,t.return=l,l.child=t)}if(u=t.child,!Gc(t,i)){var f=u.memoizedProps;if(e=e.compare,e=e!==null?e:ln,e(f,a)&&t.ref===l.ref)return Wl(t,l,i)}return l.flags|=1,t=Zl(u,a),t.ref=l.ref,t.return=l,l.child=t}function ur(t,l,e,a,i){if(t!==null){var u=t.memoizedProps;if(ln(u,a)&&t.ref===l.ref)if(qt=!1,l.pendingProps=a=u,Gc(t,i))(t.flags&131072)!==0&&(qt=!0);else return l.lanes=t.lanes,Wl(t,l,i)}return Hc(t,l,e,a,i)}function cr(t,l,e,a){var i=a.children,u=t!==null?t.memoizedState:null;if(t===null&&l.stateNode===null&&(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((l.flags&128)!==0){if(u=u!==null?u.baseLanes|e:e,t!==null){for(a=l.child=t.child,i=0;a!==null;)i=i|a.lanes|a.childLanes,a=a.sibling;a=i&~u}else a=0,l.child=null;return sr(t,l,u,e,a)}if((e&536870912)!==0)l.memoizedState={baseLanes:0,cachePool:null},t!==null&&oi(l,u!==null?u.cachePool:null),u!==null?hh(l,u):hc(),rh(l);else return a=l.lanes=536870912,sr(t,l,u!==null?u.baseLanes|e:e,e,a)}else u!==null?(oi(l,u.cachePool),hh(l,u),ve(),l.memoizedState=null):(t!==null&&oi(l,null),hc(),ve());return Kt(t,l,i,e),l.child}function gn(t,l){return t!==null&&t.tag===22||l.stateNode!==null||(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.sibling}function sr(t,l,e,a,i){var u=nc();return u=u===null?null:{parent:Nt._currentValue,pool:u},l.memoizedState={baseLanes:e,cachePool:u},t!==null&&oi(l,null),hc(),rh(l),t!==null&&va(t,l,a,!0),l.childLanes=i,null}function Oi(t,l){return l=Di({mode:l.mode,children:l.children},t.mode),l.ref=t.ref,t.child=l,l.return=t,l}function fr(t,l,e){return Je(l,t.child,null,e),t=Oi(l,l.pendingProps),t.flags|=2,vl(l),l.memoizedState=null,t}function Zy(t,l,e){var a=l.pendingProps,i=(l.flags&128)!==0;if(l.flags&=-129,t===null){if(st){if(a.mode==="hidden")return t=Oi(l,a),l.lanes=536870912,gn(null,t);if(oc(l),(t=_t)?(t=bo(t,El),t=t!==null&&t.data==="&"?t:null,t!==null&&(l.memoizedState={dehydrated:t,treeContext:se!==null?{id:ql,overflow:Yl}:null,retryLane:536870912,hydrationErrors:null},e=Kf(t),e.return=l,l.child=e,Lt=l,_t=null)):t=null,t===null)throw he(l);return l.lanes=536870912,null}return Oi(l,a)}var u=t.memoizedState;if(u!==null){var f=u.dehydrated;if(oc(l),i)if(l.flags&256)l.flags&=-257,l=fr(t,l,e);else if(l.memoizedState!==null)l.child=t.child,l.flags|=128,l=null;else throw Error(s(558));else if(qt||va(t,l,e,!1),i=(e&t.childLanes)!==0,qt||i){if(a=pt,a!==null&&(f=Is(a,e),f!==0&&f!==u.retryLane))throw u.retryLane=f,Be(t,f),sl(a,t,f),Nc;Qi(),l=fr(t,l,e)}else t=u.treeContext,_t=Ul(f.nextSibling),Lt=l,st=!0,fe=null,El=!1,t!==null&&Ff(l,t),l=Oi(l,a),l.flags|=4096;return l}return t=Zl(t.child,{mode:a.mode,children:a.children}),t.ref=l.ref,l.child=t,t.return=l,t}function Ui(t,l){var e=l.ref;if(e===null)t!==null&&t.ref!==null&&(l.flags|=4194816);else{if(typeof e!="function"&&typeof e!="object")throw Error(s(284));(t===null||t.ref!==e)&&(l.flags|=4194816)}}function Hc(t,l,e,a,i){return Ge(l),e=dc(t,l,e,a,void 0,i),a=mc(),t!==null&&!qt?(vc(t,l,i),Wl(t,l,i)):(st&&a&&Fu(l),l.flags|=1,Kt(t,l,e,i),l.child)}function hr(t,l,e,a,i,u){return Ge(l),l.updateQueue=null,e=yh(l,a,e,i),oh(t),a=mc(),t!==null&&!qt?(vc(t,l,u),Wl(t,l,u)):(st&&a&&Fu(l),l.flags|=1,Kt(t,l,e,u),l.child)}function rr(t,l,e,a,i){if(Ge(l),l.stateNode===null){var u=oa,f=e.contextType;typeof f=="object"&&f!==null&&(u=Jt(f)),u=new e(a,u),l.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=Cc,l.stateNode=u,u._reactInternals=l,u=l.stateNode,u.props=a,u.state=l.memoizedState,u.refs={},uc(l),f=e.contextType,u.context=typeof f=="object"&&f!==null?Jt(f):oa,u.state=l.memoizedState,f=e.getDerivedStateFromProps,typeof f=="function"&&(Dc(l,e,f,a),u.state=l.memoizedState),typeof e.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(f=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),f!==u.state&&Cc.enqueueReplaceState(u,u.state,null),on(l,a,u,i),rn(),u.state=l.memoizedState),typeof u.componentDidMount=="function"&&(l.flags|=4194308),a=!0}else if(t===null){u=l.stateNode;var r=l.memoizedProps,m=we(e,r);u.props=m;var x=u.context,C=e.contextType;f=oa,typeof C=="object"&&C!==null&&(f=Jt(C));var H=e.getDerivedStateFromProps;C=typeof H=="function"||typeof u.getSnapshotBeforeUpdate=="function",r=l.pendingProps!==r,C||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(r||x!==f)&&$h(l,u,a,f),oe=!1;var A=l.memoizedState;u.state=A,on(l,a,u,i),rn(),x=l.memoizedState,r||A!==x||oe?(typeof H=="function"&&(Dc(l,e,H,a),x=l.memoizedState),(m=oe||kh(l,e,m,a,A,x,f))?(C||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(l.flags|=4194308)):(typeof u.componentDidMount=="function"&&(l.flags|=4194308),l.memoizedProps=a,l.memoizedState=x),u.props=a,u.state=x,u.context=f,a=m):(typeof u.componentDidMount=="function"&&(l.flags|=4194308),a=!1)}else{u=l.stateNode,cc(t,l),f=l.memoizedProps,C=we(e,f),u.props=C,H=l.pendingProps,A=u.context,x=e.contextType,m=oa,typeof x=="object"&&x!==null&&(m=Jt(x)),r=e.getDerivedStateFromProps,(x=typeof r=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(f!==H||A!==m)&&$h(l,u,a,m),oe=!1,A=l.memoizedState,u.state=A,on(l,a,u,i),rn();var O=l.memoizedState;f!==H||A!==O||oe||t!==null&&t.dependencies!==null&&hi(t.dependencies)?(typeof r=="function"&&(Dc(l,e,r,a),O=l.memoizedState),(C=oe||kh(l,e,C,a,A,O,m)||t!==null&&t.dependencies!==null&&hi(t.dependencies))?(x||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(a,O,m),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(a,O,m)),typeof u.componentDidUpdate=="function"&&(l.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof u.componentDidUpdate!="function"||f===t.memoizedProps&&A===t.memoizedState||(l.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||f===t.memoizedProps&&A===t.memoizedState||(l.flags|=1024),l.memoizedProps=a,l.memoizedState=O),u.props=a,u.state=O,u.context=m,a=C):(typeof u.componentDidUpdate!="function"||f===t.memoizedProps&&A===t.memoizedState||(l.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||f===t.memoizedProps&&A===t.memoizedState||(l.flags|=1024),a=!1)}return u=a,Ui(t,l),a=(l.flags&128)!==0,u||a?(u=l.stateNode,e=a&&typeof e.getDerivedStateFromError!="function"?null:u.render(),l.flags|=1,t!==null&&a?(l.child=Je(l,t.child,null,i),l.child=Je(l,null,e,i)):Kt(t,l,e,i),l.memoizedState=u.state,t=l.child):t=Wl(t,l,i),t}function or(t,l,e,a){return Qe(),l.flags|=256,Kt(t,l,e,a),l.child}var qc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Yc(t){return{baseLanes:t,cachePool:lh()}}function Bc(t,l,e){return t=t!==null?t.childLanes&~e:0,l&&(t|=Sl),t}function yr(t,l,e){var a=l.pendingProps,i=!1,u=(l.flags&128)!==0,f;if((f=u)||(f=t!==null&&t.memoizedState===null?!1:(Ut.current&2)!==0),f&&(i=!0,l.flags&=-129),f=(l.flags&32)!==0,l.flags&=-33,t===null){if(st){if(i?me(l):ve(),(t=_t)?(t=bo(t,El),t=t!==null&&t.data!=="&"?t:null,t!==null&&(l.memoizedState={dehydrated:t,treeContext:se!==null?{id:ql,overflow:Yl}:null,retryLane:536870912,hydrationErrors:null},e=Kf(t),e.return=l,l.child=e,Lt=l,_t=null)):t=null,t===null)throw he(l);return zs(t)?l.lanes=32:l.lanes=536870912,null}var r=a.children;return a=a.fallback,i?(ve(),i=l.mode,r=Di({mode:"hidden",children:r},i),a=Xe(a,i,e,null),r.return=l,a.return=l,r.sibling=a,l.child=r,a=l.child,a.memoizedState=Yc(e),a.childLanes=Bc(t,f,e),l.memoizedState=qc,gn(null,a)):(me(l),Xc(l,r))}var m=t.memoizedState;if(m!==null&&(r=m.dehydrated,r!==null)){if(u)l.flags&256?(me(l),l.flags&=-257,l=Qc(t,l,e)):l.memoizedState!==null?(ve(),l.child=t.child,l.flags|=128,l=null):(ve(),r=a.fallback,i=l.mode,a=Di({mode:"visible",children:a.children},i),r=Xe(r,i,e,null),r.flags|=2,a.return=l,r.return=l,a.sibling=r,l.child=a,Je(l,t.child,null,e),a=l.child,a.memoizedState=Yc(e),a.childLanes=Bc(t,f,e),l.memoizedState=qc,l=gn(null,a));else if(me(l),zs(r)){if(f=r.nextSibling&&r.nextSibling.dataset,f)var x=f.dgst;f=x,a=Error(s(419)),a.stack="",a.digest=f,nn({value:a,source:null,stack:null}),l=Qc(t,l,e)}else if(qt||va(t,l,e,!1),f=(e&t.childLanes)!==0,qt||f){if(f=pt,f!==null&&(a=Is(f,e),a!==0&&a!==m.retryLane))throw m.retryLane=a,Be(t,a),sl(f,t,a),Nc;Ss(r)||Qi(),l=Qc(t,l,e)}else Ss(r)?(l.flags|=192,l.child=t.child,l=null):(t=m.treeContext,_t=Ul(r.nextSibling),Lt=l,st=!0,fe=null,El=!1,t!==null&&Ff(l,t),l=Xc(l,a.children),l.flags|=4096);return l}return i?(ve(),r=a.fallback,i=l.mode,m=t.child,x=m.sibling,a=Zl(m,{mode:"hidden",children:a.children}),a.subtreeFlags=m.subtreeFlags&65011712,x!==null?r=Zl(x,r):(r=Xe(r,i,e,null),r.flags|=2),r.return=l,a.return=l,a.sibling=r,l.child=a,gn(null,a),a=l.child,r=t.child.memoizedState,r===null?r=Yc(e):(i=r.cachePool,i!==null?(m=Nt._currentValue,i=i.parent!==m?{parent:m,pool:m}:i):i=lh(),r={baseLanes:r.baseLanes|e,cachePool:i}),a.memoizedState=r,a.childLanes=Bc(t,f,e),l.memoizedState=qc,gn(t.child,a)):(me(l),e=t.child,t=e.sibling,e=Zl(e,{mode:"visible",children:a.children}),e.return=l,e.sibling=null,t!==null&&(f=l.deletions,f===null?(l.deletions=[t],l.flags|=16):f.push(t)),l.child=e,l.memoizedState=null,e)}function Xc(t,l){return l=Di({mode:"visible",children:l},t.mode),l.return=t,t.child=l}function Di(t,l){return t=dl(22,t,null,l),t.lanes=0,t}function Qc(t,l,e){return Je(l,t.child,null,e),t=Xc(l,l.pendingProps.children),t.flags|=2,l.memoizedState=null,t}function dr(t,l,e){t.lanes|=l;var a=t.alternate;a!==null&&(a.lanes|=l),tc(t.return,l,e)}function jc(t,l,e,a,i,u){var f=t.memoizedState;f===null?t.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:a,tail:e,tailMode:i,treeForkCount:u}:(f.isBackwards=l,f.rendering=null,f.renderingStartTime=0,f.last=a,f.tail=e,f.tailMode=i,f.treeForkCount=u)}function mr(t,l,e){var a=l.pendingProps,i=a.revealOrder,u=a.tail;a=a.children;var f=Ut.current,r=(f&2)!==0;if(r?(f=f&1|2,l.flags|=128):f&=1,j(Ut,f),Kt(t,l,a,e),a=st?an:0,!r&&t!==null&&(t.flags&128)!==0)t:for(t=l.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&dr(t,e,l);else if(t.tag===19)dr(t,e,l);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===l)break t;for(;t.sibling===null;){if(t.return===null||t.return===l)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(i){case"forwards":for(e=l.child,i=null;e!==null;)t=e.alternate,t!==null&&Si(t)===null&&(i=e),e=e.sibling;e=i,e===null?(i=l.child,l.child=null):(i=e.sibling,e.sibling=null),jc(l,!1,i,e,u,a);break;case"backwards":case"unstable_legacy-backwards":for(e=null,i=l.child,l.child=null;i!==null;){if(t=i.alternate,t!==null&&Si(t)===null){l.child=i;break}t=i.sibling,i.sibling=e,e=i,i=t}jc(l,!0,e,null,u,a);break;case"together":jc(l,!1,null,null,void 0,a);break;default:l.memoizedState=null}return l.child}function Wl(t,l,e){if(t!==null&&(l.dependencies=t.dependencies),ze|=l.lanes,(e&l.childLanes)===0)if(t!==null){if(va(t,l,e,!1),(e&l.childLanes)===0)return null}else return null;if(t!==null&&l.child!==t.child)throw Error(s(153));if(l.child!==null){for(t=l.child,e=Zl(t,t.pendingProps),l.child=e,e.return=l;t.sibling!==null;)t=t.sibling,e=e.sibling=Zl(t,t.pendingProps),e.return=l;e.sibling=null}return l.child}function Gc(t,l){return(t.lanes&l)!==0?!0:(t=t.dependencies,!!(t!==null&&hi(t)))}function Vy(t,l,e){switch(l.tag){case 3:It(l,l.stateNode.containerInfo),re(l,Nt,t.memoizedState.cache),Qe();break;case 27:case 5:Za(l);break;case 4:It(l,l.stateNode.containerInfo);break;case 10:re(l,l.type,l.memoizedProps.value);break;case 31:if(l.memoizedState!==null)return l.flags|=128,oc(l),null;break;case 13:var a=l.memoizedState;if(a!==null)return a.dehydrated!==null?(me(l),l.flags|=128,null):(e&l.child.childLanes)!==0?yr(t,l,e):(me(l),t=Wl(t,l,e),t!==null?t.sibling:null);me(l);break;case 19:var i=(t.flags&128)!==0;if(a=(e&l.childLanes)!==0,a||(va(t,l,e,!1),a=(e&l.childLanes)!==0),i){if(a)return mr(t,l,e);l.flags|=128}if(i=l.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),j(Ut,Ut.current),a)break;return null;case 22:return l.lanes=0,cr(t,l,e,l.pendingProps);case 24:re(l,Nt,t.memoizedState.cache)}return Wl(t,l,e)}function vr(t,l,e){if(t!==null)if(t.memoizedProps!==l.pendingProps)qt=!0;else{if(!Gc(t,e)&&(l.flags&128)===0)return qt=!1,Vy(t,l,e);qt=(t.flags&131072)!==0}else qt=!1,st&&(l.flags&1048576)!==0&&Wf(l,an,l.index);switch(l.lanes=0,l.tag){case 16:t:{var a=l.pendingProps;if(t=Ve(l.elementType),l.type=t,typeof t=="function")Ku(t)?(a=we(t,a),l.tag=1,l=rr(null,l,t,a,e)):(l.tag=0,l=Hc(null,l,t,a,e));else{if(t!=null){var i=t.$$typeof;if(i===et){l.tag=11,l=nr(null,l,t,a,e);break t}else if(i===Q){l.tag=14,l=ir(null,l,t,a,e);break t}}throw l=ll(t)||t,Error(s(306,l,""))}}return l;case 0:return Hc(t,l,l.type,l.pendingProps,e);case 1:return a=l.type,i=we(a,l.pendingProps),rr(t,l,a,i,e);case 3:t:{if(It(l,l.stateNode.containerInfo),t===null)throw Error(s(387));a=l.pendingProps;var u=l.memoizedState;i=u.element,cc(t,l),on(l,a,null,e);var f=l.memoizedState;if(a=f.cache,re(l,Nt,a),a!==u.cache&&lc(l,[Nt],e,!0),rn(),a=f.element,u.isDehydrated)if(u={element:a,isDehydrated:!1,cache:f.cache},l.updateQueue.baseState=u,l.memoizedState=u,l.flags&256){l=or(t,l,a,e);break t}else if(a!==i){i=xl(Error(s(424)),l),nn(i),l=or(t,l,a,e);break t}else for(t=l.stateNode.containerInfo,t.nodeType===9?t=t.body:t=t.nodeName==="HTML"?t.ownerDocument.body:t,_t=Ul(t.firstChild),Lt=l,st=!0,fe=null,El=!0,e=ch(l,null,a,e),l.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling;else{if(Qe(),a===i){l=Wl(t,l,e);break t}Kt(t,l,a,e)}l=l.child}return l;case 26:return Ui(t,l),t===null?(e=Oo(l.type,null,l.pendingProps,null))?l.memoizedState=e:st||(e=l.type,t=l.pendingProps,a=Ki(at.current).createElement(e),a[Vt]=l,a[el]=t,wt(a,e,t),jt(a),l.stateNode=a):l.memoizedState=Oo(l.type,t.memoizedProps,l.pendingProps,t.memoizedState),null;case 27:return Za(l),t===null&&st&&(a=l.stateNode=Ao(l.type,l.pendingProps,at.current),Lt=l,El=!0,i=_t,xe(l.type)?(ps=i,_t=Ul(a.firstChild)):_t=i),Kt(t,l,l.pendingProps.children,e),Ui(t,l),t===null&&(l.flags|=4194304),l.child;case 5:return t===null&&st&&((i=a=_t)&&(a=zd(a,l.type,l.pendingProps,El),a!==null?(l.stateNode=a,Lt=l,_t=Ul(a.firstChild),El=!1,i=!0):i=!1),i||he(l)),Za(l),i=l.type,u=l.pendingProps,f=t!==null?t.memoizedProps:null,a=u.children,ms(i,u)?a=null:f!==null&&ms(i,f)&&(l.flags|=32),l.memoizedState!==null&&(i=dc(t,l,Hy,null,null,e),Rn._currentValue=i),Ui(t,l),Kt(t,l,a,e),l.child;case 6:return t===null&&st&&((t=e=_t)&&(e=pd(e,l.pendingProps,El),e!==null?(l.stateNode=e,Lt=l,_t=null,t=!0):t=!1),t||he(l)),null;case 13:return yr(t,l,e);case 4:return It(l,l.stateNode.containerInfo),a=l.pendingProps,t===null?l.child=Je(l,null,a,e):Kt(t,l,a,e),l.child;case 11:return nr(t,l,l.type,l.pendingProps,e);case 7:return Kt(t,l,l.pendingProps,e),l.child;case 8:return Kt(t,l,l.pendingProps.children,e),l.child;case 12:return Kt(t,l,l.pendingProps.children,e),l.child;case 10:return a=l.pendingProps,re(l,l.type,a.value),Kt(t,l,a.children,e),l.child;case 9:return i=l.type._context,a=l.pendingProps.children,Ge(l),i=Jt(i),a=a(i),l.flags|=1,Kt(t,l,a,e),l.child;case 14:return ir(t,l,l.type,l.pendingProps,e);case 15:return ur(t,l,l.type,l.pendingProps,e);case 19:return mr(t,l,e);case 31:return Zy(t,l,e);case 22:return cr(t,l,e,l.pendingProps);case 24:return Ge(l),a=Jt(Nt),t===null?(i=nc(),i===null&&(i=pt,u=ec(),i.pooledCache=u,u.refCount++,u!==null&&(i.pooledCacheLanes|=e),i=u),l.memoizedState={parent:a,cache:i},uc(l),re(l,Nt,i)):((t.lanes&e)!==0&&(cc(t,l),on(l,null,null,e),rn()),i=t.memoizedState,u=l.memoizedState,i.parent!==a?(i={parent:a,cache:a},l.memoizedState=i,l.lanes===0&&(l.memoizedState=l.updateQueue.baseState=i),re(l,Nt,a)):(a=u.cache,re(l,Nt,a),a!==i.cache&&lc(l,[Nt],e,!0))),Kt(t,l,l.pendingProps.children,e),l.child;case 29:throw l.pendingProps}throw Error(s(156,l.tag))}function Fl(t){t.flags|=4}function Zc(t,l,e,a,i){if((l=(t.mode&32)!==0)&&(l=!1),l){if(t.flags|=16777216,(i&335544128)===i)if(t.stateNode.complete)t.flags|=8192;else if(Vr())t.flags|=8192;else throw Le=di,ic}else t.flags&=-16777217}function gr(t,l){if(l.type!=="stylesheet"||(l.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!No(l))if(Vr())t.flags|=8192;else throw Le=di,ic}function Ci(t,l){l!==null&&(t.flags|=4),t.flags&16384&&(l=t.tag!==22?Fs():536870912,t.lanes|=l,Oa|=l)}function Sn(t,l){if(!st)switch(t.tailMode){case"hidden":l=t.tail;for(var e=null;l!==null;)l.alternate!==null&&(e=l),l=l.sibling;e===null?t.tail=null:e.sibling=null;break;case"collapsed":e=t.tail;for(var a=null;e!==null;)e.alternate!==null&&(a=e),e=e.sibling;a===null?l||t.tail===null?t.tail=null:t.tail.sibling=null:a.sibling=null}}function bt(t){var l=t.alternate!==null&&t.alternate.child===t.child,e=0,a=0;if(l)for(var i=t.child;i!==null;)e|=i.lanes|i.childLanes,a|=i.subtreeFlags&65011712,a|=i.flags&65011712,i.return=t,i=i.sibling;else for(i=t.child;i!==null;)e|=i.lanes|i.childLanes,a|=i.subtreeFlags,a|=i.flags,i.return=t,i=i.sibling;return t.subtreeFlags|=a,t.childLanes=e,l}function Ly(t,l,e){var a=l.pendingProps;switch(ku(l),l.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return bt(l),null;case 1:return bt(l),null;case 3:return e=l.stateNode,a=null,t!==null&&(a=t.memoizedState.cache),l.memoizedState.cache!==a&&(l.flags|=2048),Jl(Nt),Ot(),e.pendingContext&&(e.context=e.pendingContext,e.pendingContext=null),(t===null||t.child===null)&&(ma(l)?Fl(l):t===null||t.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,Iu())),bt(l),null;case 26:var i=l.type,u=l.memoizedState;return t===null?(Fl(l),u!==null?(bt(l),gr(l,u)):(bt(l),Zc(l,i,null,a,e))):u?u!==t.memoizedState?(Fl(l),bt(l),gr(l,u)):(bt(l),l.flags&=-16777217):(t=t.memoizedProps,t!==a&&Fl(l),bt(l),Zc(l,i,t,a,e)),null;case 27:if(Zn(l),e=at.current,i=l.type,t!==null&&l.stateNode!=null)t.memoizedProps!==a&&Fl(l);else{if(!a){if(l.stateNode===null)throw Error(s(166));return bt(l),null}t=V.current,ma(l)?kf(l):(t=Ao(i,a,e),l.stateNode=t,Fl(l))}return bt(l),null;case 5:if(Zn(l),i=l.type,t!==null&&l.stateNode!=null)t.memoizedProps!==a&&Fl(l);else{if(!a){if(l.stateNode===null)throw Error(s(166));return bt(l),null}if(u=V.current,ma(l))kf(l);else{var f=Ki(at.current);switch(u){case 1:u=f.createElementNS("http://www.w3.org/2000/svg",i);break;case 2:u=f.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;default:switch(i){case"svg":u=f.createElementNS("http://www.w3.org/2000/svg",i);break;case"math":u=f.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;case"script":u=f.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof a.is=="string"?f.createElement("select",{is:a.is}):f.createElement("select"),a.multiple?u.multiple=!0:a.size&&(u.size=a.size);break;default:u=typeof a.is=="string"?f.createElement(i,{is:a.is}):f.createElement(i)}}u[Vt]=l,u[el]=a;t:for(f=l.child;f!==null;){if(f.tag===5||f.tag===6)u.appendChild(f.stateNode);else if(f.tag!==4&&f.tag!==27&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===l)break t;for(;f.sibling===null;){if(f.return===null||f.return===l)break t;f=f.return}f.sibling.return=f.return,f=f.sibling}l.stateNode=u;t:switch(wt(u,i,a),i){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break t;case"img":a=!0;break t;default:a=!1}a&&Fl(l)}}return bt(l),Zc(l,l.type,t===null?null:t.memoizedProps,l.pendingProps,e),null;case 6:if(t&&l.stateNode!=null)t.memoizedProps!==a&&Fl(l);else{if(typeof a!="string"&&l.stateNode===null)throw Error(s(166));if(t=at.current,ma(l)){if(t=l.stateNode,e=l.memoizedProps,a=null,i=Lt,i!==null)switch(i.tag){case 27:case 5:a=i.memoizedProps}t[Vt]=l,t=!!(t.nodeValue===e||a!==null&&a.suppressHydrationWarning===!0||yo(t.nodeValue,e)),t||he(l,!0)}else t=Ki(t).createTextNode(a),t[Vt]=l,l.stateNode=t}return bt(l),null;case 31:if(e=l.memoizedState,t===null||t.memoizedState!==null){if(a=ma(l),e!==null){if(t===null){if(!a)throw Error(s(318));if(t=l.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(s(557));t[Vt]=l}else Qe(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;bt(l),t=!1}else e=Iu(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=e),t=!0;if(!t)return l.flags&256?(vl(l),l):(vl(l),null);if((l.flags&128)!==0)throw Error(s(558))}return bt(l),null;case 13:if(a=l.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(i=ma(l),a!==null&&a.dehydrated!==null){if(t===null){if(!i)throw Error(s(318));if(i=l.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(s(317));i[Vt]=l}else Qe(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;bt(l),i=!1}else i=Iu(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=i),i=!0;if(!i)return l.flags&256?(vl(l),l):(vl(l),null)}return vl(l),(l.flags&128)!==0?(l.lanes=e,l):(e=a!==null,t=t!==null&&t.memoizedState!==null,e&&(a=l.child,i=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(i=a.alternate.memoizedState.cachePool.pool),u=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),u!==i&&(a.flags|=2048)),e!==t&&e&&(l.child.flags|=8192),Ci(l,l.updateQueue),bt(l),null);case 4:return Ot(),t===null&&hs(l.stateNode.containerInfo),bt(l),null;case 10:return Jl(l.type),bt(l),null;case 19:if(Y(Ut),a=l.memoizedState,a===null)return bt(l),null;if(i=(l.flags&128)!==0,u=a.rendering,u===null)if(i)Sn(a,!1);else{if(Et!==0||t!==null&&(t.flags&128)!==0)for(t=l.child;t!==null;){if(u=Si(t),u!==null){for(l.flags|=128,Sn(a,!1),t=u.updateQueue,l.updateQueue=t,Ci(l,t),l.subtreeFlags=0,t=e,e=l.child;e!==null;)Jf(e,t),e=e.sibling;return j(Ut,Ut.current&1|2),st&&Vl(l,a.treeForkCount),l.child}t=t.sibling}a.tail!==null&&hl()>Yi&&(l.flags|=128,i=!0,Sn(a,!1),l.lanes=4194304)}else{if(!i)if(t=Si(u),t!==null){if(l.flags|=128,i=!0,t=t.updateQueue,l.updateQueue=t,Ci(l,t),Sn(a,!0),a.tail===null&&a.tailMode==="hidden"&&!u.alternate&&!st)return bt(l),null}else 2*hl()-a.renderingStartTime>Yi&&e!==536870912&&(l.flags|=128,i=!0,Sn(a,!1),l.lanes=4194304);a.isBackwards?(u.sibling=l.child,l.child=u):(t=a.last,t!==null?t.sibling=u:l.child=u,a.last=u)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=hl(),t.sibling=null,e=Ut.current,j(Ut,i?e&1|2:e&1),st&&Vl(l,a.treeForkCount),t):(bt(l),null);case 22:case 23:return vl(l),rc(),a=l.memoizedState!==null,t!==null?t.memoizedState!==null!==a&&(l.flags|=8192):a&&(l.flags|=8192),a?(e&536870912)!==0&&(l.flags&128)===0&&(bt(l),l.subtreeFlags&6&&(l.flags|=8192)):bt(l),e=l.updateQueue,e!==null&&Ci(l,e.retryQueue),e=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),a=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(a=l.memoizedState.cachePool.pool),a!==e&&(l.flags|=2048),t!==null&&Y(Ze),null;case 24:return e=null,t!==null&&(e=t.memoizedState.cache),l.memoizedState.cache!==e&&(l.flags|=2048),Jl(Nt),bt(l),null;case 25:return null;case 30:return null}throw Error(s(156,l.tag))}function Jy(t,l){switch(ku(l),l.tag){case 1:return t=l.flags,t&65536?(l.flags=t&-65537|128,l):null;case 3:return Jl(Nt),Ot(),t=l.flags,(t&65536)!==0&&(t&128)===0?(l.flags=t&-65537|128,l):null;case 26:case 27:case 5:return Zn(l),null;case 31:if(l.memoizedState!==null){if(vl(l),l.alternate===null)throw Error(s(340));Qe()}return t=l.flags,t&65536?(l.flags=t&-65537|128,l):null;case 13:if(vl(l),t=l.memoizedState,t!==null&&t.dehydrated!==null){if(l.alternate===null)throw Error(s(340));Qe()}return t=l.flags,t&65536?(l.flags=t&-65537|128,l):null;case 19:return Y(Ut),null;case 4:return Ot(),null;case 10:return Jl(l.type),null;case 22:case 23:return vl(l),rc(),t!==null&&Y(Ze),t=l.flags,t&65536?(l.flags=t&-65537|128,l):null;case 24:return Jl(Nt),null;case 25:return null;default:return null}}function Sr(t,l){switch(ku(l),l.tag){case 3:Jl(Nt),Ot();break;case 26:case 27:case 5:Zn(l);break;case 4:Ot();break;case 31:l.memoizedState!==null&&vl(l);break;case 13:vl(l);break;case 19:Y(Ut);break;case 10:Jl(l.type);break;case 22:case 23:vl(l),rc(),t!==null&&Y(Ze);break;case 24:Jl(Nt)}}function zn(t,l){try{var e=l.updateQueue,a=e!==null?e.lastEffect:null;if(a!==null){var i=a.next;e=i;do{if((e.tag&t)===t){a=void 0;var u=e.create,f=e.inst;a=u(),f.destroy=a}e=e.next}while(e!==i)}}catch(r){vt(l,l.return,r)}}function ge(t,l,e){try{var a=l.updateQueue,i=a!==null?a.lastEffect:null;if(i!==null){var u=i.next;a=u;do{if((a.tag&t)===t){var f=a.inst,r=f.destroy;if(r!==void 0){f.destroy=void 0,i=l;var m=e,x=r;try{x()}catch(C){vt(i,m,C)}}}a=a.next}while(a!==u)}}catch(C){vt(l,l.return,C)}}function zr(t){var l=t.updateQueue;if(l!==null){var e=t.stateNode;try{fh(l,e)}catch(a){vt(t,t.return,a)}}}function pr(t,l,e){e.props=we(t.type,t.memoizedProps),e.state=t.memoizedState;try{e.componentWillUnmount()}catch(a){vt(t,l,a)}}function pn(t,l){try{var e=t.ref;if(e!==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 e=="function"?t.refCleanup=e(a):e.current=a}}catch(i){vt(t,l,i)}}function Bl(t,l){var e=t.ref,a=t.refCleanup;if(e!==null)if(typeof a=="function")try{a()}catch(i){vt(t,l,i)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof e=="function")try{e(null)}catch(i){vt(t,l,i)}else e.current=null}function _r(t){var l=t.type,e=t.memoizedProps,a=t.stateNode;try{t:switch(l){case"button":case"input":case"select":case"textarea":e.autoFocus&&a.focus();break t;case"img":e.src?a.src=e.src:e.srcSet&&(a.srcset=e.srcSet)}}catch(i){vt(t,t.return,i)}}function Vc(t,l,e){try{var a=t.stateNode;yd(a,t.type,e,l),a[el]=l}catch(i){vt(t,t.return,i)}}function br(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&xe(t.type)||t.tag===4}function Lc(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||br(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&&xe(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 Jc(t,l,e){var a=t.tag;if(a===5||a===6)t=t.stateNode,l?(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).insertBefore(t,l):(l=e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.appendChild(t),e=e._reactRootContainer,e!=null||l.onclick!==null||(l.onclick=jl));else if(a!==4&&(a===27&&xe(t.type)&&(e=t.stateNode,l=null),t=t.child,t!==null))for(Jc(t,l,e),t=t.sibling;t!==null;)Jc(t,l,e),t=t.sibling}function Ri(t,l,e){var a=t.tag;if(a===5||a===6)t=t.stateNode,l?e.insertBefore(t,l):e.appendChild(t);else if(a!==4&&(a===27&&xe(t.type)&&(e=t.stateNode),t=t.child,t!==null))for(Ri(t,l,e),t=t.sibling;t!==null;)Ri(t,l,e),t=t.sibling}function Mr(t){var l=t.stateNode,e=t.memoizedProps;try{for(var a=t.type,i=l.attributes;i.length;)l.removeAttributeNode(i[0]);wt(l,a,e),l[Vt]=t,l[el]=e}catch(u){vt(t,t.return,u)}}var kl=!1,Yt=!1,Kc=!1,xr=typeof WeakSet=="function"?WeakSet:Set,Gt=null;function Ky(t,l){if(t=t.containerInfo,ys=Pi,t=Yf(t),Qu(t)){if("selectionStart"in t)var e={start:t.selectionStart,end:t.selectionEnd};else t:{e=(e=t.ownerDocument)&&e.defaultView||window;var a=e.getSelection&&e.getSelection();if(a&&a.rangeCount!==0){e=a.anchorNode;var i=a.anchorOffset,u=a.focusNode;a=a.focusOffset;try{e.nodeType,u.nodeType}catch{e=null;break t}var f=0,r=-1,m=-1,x=0,C=0,H=t,A=null;l:for(;;){for(var O;H!==e||i!==0&&H.nodeType!==3||(r=f+i),H!==u||a!==0&&H.nodeType!==3||(m=f+a),H.nodeType===3&&(f+=H.nodeValue.length),(O=H.firstChild)!==null;)A=H,H=O;for(;;){if(H===t)break l;if(A===e&&++x===i&&(r=f),A===u&&++C===a&&(m=f),(O=H.nextSibling)!==null)break;H=A,A=H.parentNode}H=O}e=r===-1||m===-1?null:{start:r,end:m}}else e=null}e=e||{start:0,end:0}}else e=null;for(ds={focusedElem:t,selectionRange:e},Pi=!1,Gt=l;Gt!==null;)if(l=Gt,t=l.child,(l.subtreeFlags&1028)!==0&&t!==null)t.return=l,Gt=t;else for(;Gt!==null;){switch(l=Gt,u=l.alternate,t=l.flags,l.tag){case 0:if((t&4)!==0&&(t=l.updateQueue,t=t!==null?t.events:null,t!==null))for(e=0;e<t.length;e++)i=t[e],i.ref.impl=i.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&u!==null){t=void 0,e=l,i=u.memoizedProps,u=u.memoizedState,a=e.stateNode;try{var G=we(e.type,i);t=a.getSnapshotBeforeUpdate(G,u),a.__reactInternalSnapshotBeforeUpdate=t}catch(w){vt(e,e.return,w)}}break;case 3:if((t&1024)!==0){if(t=l.stateNode.containerInfo,e=t.nodeType,e===9)gs(t);else if(e===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":gs(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(s(163))}if(t=l.sibling,t!==null){t.return=l.return,Gt=t;break}Gt=l.return}}function Ar(t,l,e){var a=e.flags;switch(e.tag){case 0:case 11:case 15:Il(t,e),a&4&&zn(5,e);break;case 1:if(Il(t,e),a&4)if(t=e.stateNode,l===null)try{t.componentDidMount()}catch(f){vt(e,e.return,f)}else{var i=we(e.type,l.memoizedProps);l=l.memoizedState;try{t.componentDidUpdate(i,l,t.__reactInternalSnapshotBeforeUpdate)}catch(f){vt(e,e.return,f)}}a&64&&zr(e),a&512&&pn(e,e.return);break;case 3:if(Il(t,e),a&64&&(t=e.updateQueue,t!==null)){if(l=null,e.child!==null)switch(e.child.tag){case 27:case 5:l=e.child.stateNode;break;case 1:l=e.child.stateNode}try{fh(t,l)}catch(f){vt(e,e.return,f)}}break;case 27:l===null&&a&4&&Mr(e);case 26:case 5:Il(t,e),l===null&&a&4&&_r(e),a&512&&pn(e,e.return);break;case 12:Il(t,e);break;case 31:Il(t,e),a&4&&Or(t,e);break;case 13:Il(t,e),a&4&&Ur(t,e),a&64&&(t=e.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(e=ld.bind(null,e),_d(t,e))));break;case 22:if(a=e.memoizedState!==null||kl,!a){l=l!==null&&l.memoizedState!==null||Yt,i=kl;var u=Yt;kl=a,(Yt=l)&&!u?Pl(t,e,(e.subtreeFlags&8772)!==0):Il(t,e),kl=i,Yt=u}break;case 30:break;default:Il(t,e)}}function Tr(t){var l=t.alternate;l!==null&&(t.alternate=null,Tr(l)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(l=t.stateNode,l!==null&&bu(l)),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 xt=null,nl=!1;function $l(t,l,e){for(e=e.child;e!==null;)Er(t,l,e),e=e.sibling}function Er(t,l,e){if(rl&&typeof rl.onCommitFiberUnmount=="function")try{rl.onCommitFiberUnmount(Va,e)}catch{}switch(e.tag){case 26:Yt||Bl(e,l),$l(t,l,e),e.memoizedState?e.memoizedState.count--:e.stateNode&&(e=e.stateNode,e.parentNode.removeChild(e));break;case 27:Yt||Bl(e,l);var a=xt,i=nl;xe(e.type)&&(xt=e.stateNode,nl=!1),$l(t,l,e),Un(e.stateNode),xt=a,nl=i;break;case 5:Yt||Bl(e,l);case 6:if(a=xt,i=nl,xt=null,$l(t,l,e),xt=a,nl=i,xt!==null)if(nl)try{(xt.nodeType===9?xt.body:xt.nodeName==="HTML"?xt.ownerDocument.body:xt).removeChild(e.stateNode)}catch(u){vt(e,l,u)}else try{xt.removeChild(e.stateNode)}catch(u){vt(e,l,u)}break;case 18:xt!==null&&(nl?(t=xt,po(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,e.stateNode),Ya(t)):po(xt,e.stateNode));break;case 4:a=xt,i=nl,xt=e.stateNode.containerInfo,nl=!0,$l(t,l,e),xt=a,nl=i;break;case 0:case 11:case 14:case 15:ge(2,e,l),Yt||ge(4,e,l),$l(t,l,e);break;case 1:Yt||(Bl(e,l),a=e.stateNode,typeof a.componentWillUnmount=="function"&&pr(e,l,a)),$l(t,l,e);break;case 21:$l(t,l,e);break;case 22:Yt=(a=Yt)||e.memoizedState!==null,$l(t,l,e),Yt=a;break;default:$l(t,l,e)}}function Or(t,l){if(l.memoizedState===null&&(t=l.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{Ya(t)}catch(e){vt(l,l.return,e)}}}function Ur(t,l){if(l.memoizedState===null&&(t=l.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Ya(t)}catch(e){vt(l,l.return,e)}}function wy(t){switch(t.tag){case 31:case 13:case 19:var l=t.stateNode;return l===null&&(l=t.stateNode=new xr),l;case 22:return t=t.stateNode,l=t._retryCache,l===null&&(l=t._retryCache=new xr),l;default:throw Error(s(435,t.tag))}}function Ni(t,l){var e=wy(t);l.forEach(function(a){if(!e.has(a)){e.add(a);var i=ed.bind(null,t,a);a.then(i,i)}})}function il(t,l){var e=l.deletions;if(e!==null)for(var a=0;a<e.length;a++){var i=e[a],u=t,f=l,r=f;t:for(;r!==null;){switch(r.tag){case 27:if(xe(r.type)){xt=r.stateNode,nl=!1;break t}break;case 5:xt=r.stateNode,nl=!1;break t;case 3:case 4:xt=r.stateNode.containerInfo,nl=!0;break t}r=r.return}if(xt===null)throw Error(s(160));Er(u,f,i),xt=null,nl=!1,u=i.alternate,u!==null&&(u.return=null),i.return=null}if(l.subtreeFlags&13886)for(l=l.child;l!==null;)Dr(l,t),l=l.sibling}var Rl=null;function Dr(t,l){var e=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:il(l,t),ul(t),a&4&&(ge(3,t,t.return),zn(3,t),ge(5,t,t.return));break;case 1:il(l,t),ul(t),a&512&&(Yt||e===null||Bl(e,e.return)),a&64&&kl&&(t=t.updateQueue,t!==null&&(a=t.callbacks,a!==null&&(e=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=e===null?a:e.concat(a))));break;case 26:var i=Rl;if(il(l,t),ul(t),a&512&&(Yt||e===null||Bl(e,e.return)),a&4){var u=e!==null?e.memoizedState:null;if(a=t.memoizedState,e===null)if(a===null)if(t.stateNode===null){t:{a=t.type,e=t.memoizedProps,i=i.ownerDocument||i;l:switch(a){case"title":u=i.getElementsByTagName("title")[0],(!u||u[Ka]||u[Vt]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=i.createElement(a),i.head.insertBefore(u,i.querySelector("head > title"))),wt(u,a,e),u[Vt]=t,jt(u),a=u;break t;case"link":var f=Co("link","href",i).get(a+(e.href||""));if(f){for(var r=0;r<f.length;r++)if(u=f[r],u.getAttribute("href")===(e.href==null||e.href===""?null:e.href)&&u.getAttribute("rel")===(e.rel==null?null:e.rel)&&u.getAttribute("title")===(e.title==null?null:e.title)&&u.getAttribute("crossorigin")===(e.crossOrigin==null?null:e.crossOrigin)){f.splice(r,1);break l}}u=i.createElement(a),wt(u,a,e),i.head.appendChild(u);break;case"meta":if(f=Co("meta","content",i).get(a+(e.content||""))){for(r=0;r<f.length;r++)if(u=f[r],u.getAttribute("content")===(e.content==null?null:""+e.content)&&u.getAttribute("name")===(e.name==null?null:e.name)&&u.getAttribute("property")===(e.property==null?null:e.property)&&u.getAttribute("http-equiv")===(e.httpEquiv==null?null:e.httpEquiv)&&u.getAttribute("charset")===(e.charSet==null?null:e.charSet)){f.splice(r,1);break l}}u=i.createElement(a),wt(u,a,e),i.head.appendChild(u);break;default:throw Error(s(468,a))}u[Vt]=t,jt(u),a=u}t.stateNode=a}else Ro(i,t.type,t.stateNode);else t.stateNode=Do(i,a,t.memoizedProps);else u!==a?(u===null?e.stateNode!==null&&(e=e.stateNode,e.parentNode.removeChild(e)):u.count--,a===null?Ro(i,t.type,t.stateNode):Do(i,a,t.memoizedProps)):a===null&&t.stateNode!==null&&Vc(t,t.memoizedProps,e.memoizedProps)}break;case 27:il(l,t),ul(t),a&512&&(Yt||e===null||Bl(e,e.return)),e!==null&&a&4&&Vc(t,t.memoizedProps,e.memoizedProps);break;case 5:if(il(l,t),ul(t),a&512&&(Yt||e===null||Bl(e,e.return)),t.flags&32){i=t.stateNode;try{ia(i,"")}catch(G){vt(t,t.return,G)}}a&4&&t.stateNode!=null&&(i=t.memoizedProps,Vc(t,i,e!==null?e.memoizedProps:i)),a&1024&&(Kc=!0);break;case 6:if(il(l,t),ul(t),a&4){if(t.stateNode===null)throw Error(s(162));a=t.memoizedProps,e=t.stateNode;try{e.nodeValue=a}catch(G){vt(t,t.return,G)}}break;case 3:if(Fi=null,i=Rl,Rl=wi(l.containerInfo),il(l,t),Rl=i,ul(t),a&4&&e!==null&&e.memoizedState.isDehydrated)try{Ya(l.containerInfo)}catch(G){vt(t,t.return,G)}Kc&&(Kc=!1,Cr(t));break;case 4:a=Rl,Rl=wi(t.stateNode.containerInfo),il(l,t),ul(t),Rl=a;break;case 12:il(l,t),ul(t);break;case 31:il(l,t),ul(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,Ni(t,a)));break;case 13:il(l,t),ul(t),t.child.flags&8192&&t.memoizedState!==null!=(e!==null&&e.memoizedState!==null)&&(qi=hl()),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,Ni(t,a)));break;case 22:i=t.memoizedState!==null;var m=e!==null&&e.memoizedState!==null,x=kl,C=Yt;if(kl=x||i,Yt=C||m,il(l,t),Yt=C,kl=x,ul(t),a&8192)t:for(l=t.stateNode,l._visibility=i?l._visibility&-2:l._visibility|1,i&&(e===null||m||kl||Yt||We(t)),e=null,l=t;;){if(l.tag===5||l.tag===26){if(e===null){m=e=l;try{if(u=m.stateNode,i)f=u.style,typeof f.setProperty=="function"?f.setProperty("display","none","important"):f.display="none";else{r=m.stateNode;var H=m.memoizedProps.style,A=H!=null&&H.hasOwnProperty("display")?H.display:null;r.style.display=A==null||typeof A=="boolean"?"":(""+A).trim()}}catch(G){vt(m,m.return,G)}}}else if(l.tag===6){if(e===null){m=l;try{m.stateNode.nodeValue=i?"":m.memoizedProps}catch(G){vt(m,m.return,G)}}}else if(l.tag===18){if(e===null){m=l;try{var O=m.stateNode;i?_o(O,!0):_o(m.stateNode,!1)}catch(G){vt(m,m.return,G)}}}else if((l.tag!==22&&l.tag!==23||l.memoizedState===null||l===t)&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===t)break t;for(;l.sibling===null;){if(l.return===null||l.return===t)break t;e===l&&(e=null),l=l.return}e===l&&(e=null),l.sibling.return=l.return,l=l.sibling}a&4&&(a=t.updateQueue,a!==null&&(e=a.retryQueue,e!==null&&(a.retryQueue=null,Ni(t,e))));break;case 19:il(l,t),ul(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,Ni(t,a)));break;case 30:break;case 21:break;default:il(l,t),ul(t)}}function ul(t){var l=t.flags;if(l&2){try{for(var e,a=t.return;a!==null;){if(br(a)){e=a;break}a=a.return}if(e==null)throw Error(s(160));switch(e.tag){case 27:var i=e.stateNode,u=Lc(t);Ri(t,u,i);break;case 5:var f=e.stateNode;e.flags&32&&(ia(f,""),e.flags&=-33);var r=Lc(t);Ri(t,r,f);break;case 3:case 4:var m=e.stateNode.containerInfo,x=Lc(t);Jc(t,x,m);break;default:throw Error(s(161))}}catch(C){vt(t,t.return,C)}t.flags&=-3}l&4096&&(t.flags&=-4097)}function Cr(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var l=t;Cr(l),l.tag===5&&l.flags&1024&&l.stateNode.reset(),t=t.sibling}}function Il(t,l){if(l.subtreeFlags&8772)for(l=l.child;l!==null;)Ar(t,l.alternate,l),l=l.sibling}function We(t){for(t=t.child;t!==null;){var l=t;switch(l.tag){case 0:case 11:case 14:case 15:ge(4,l,l.return),We(l);break;case 1:Bl(l,l.return);var e=l.stateNode;typeof e.componentWillUnmount=="function"&&pr(l,l.return,e),We(l);break;case 27:Un(l.stateNode);case 26:case 5:Bl(l,l.return),We(l);break;case 22:l.memoizedState===null&&We(l);break;case 30:We(l);break;default:We(l)}t=t.sibling}}function Pl(t,l,e){for(e=e&&(l.subtreeFlags&8772)!==0,l=l.child;l!==null;){var a=l.alternate,i=t,u=l,f=u.flags;switch(u.tag){case 0:case 11:case 15:Pl(i,u,e),zn(4,u);break;case 1:if(Pl(i,u,e),a=u,i=a.stateNode,typeof i.componentDidMount=="function")try{i.componentDidMount()}catch(x){vt(a,a.return,x)}if(a=u,i=a.updateQueue,i!==null){var r=a.stateNode;try{var m=i.shared.hiddenCallbacks;if(m!==null)for(i.shared.hiddenCallbacks=null,i=0;i<m.length;i++)sh(m[i],r)}catch(x){vt(a,a.return,x)}}e&&f&64&&zr(u),pn(u,u.return);break;case 27:Mr(u);case 26:case 5:Pl(i,u,e),e&&a===null&&f&4&&_r(u),pn(u,u.return);break;case 12:Pl(i,u,e);break;case 31:Pl(i,u,e),e&&f&4&&Or(i,u);break;case 13:Pl(i,u,e),e&&f&4&&Ur(i,u);break;case 22:u.memoizedState===null&&Pl(i,u,e),pn(u,u.return);break;case 30:break;default:Pl(i,u,e)}l=l.sibling}}function wc(t,l){var e=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),t=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(t=l.memoizedState.cachePool.pool),t!==e&&(t!=null&&t.refCount++,e!=null&&un(e))}function Wc(t,l){t=null,l.alternate!==null&&(t=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==t&&(l.refCount++,t!=null&&un(t))}function Nl(t,l,e,a){if(l.subtreeFlags&10256)for(l=l.child;l!==null;)Rr(t,l,e,a),l=l.sibling}function Rr(t,l,e,a){var i=l.flags;switch(l.tag){case 0:case 11:case 15:Nl(t,l,e,a),i&2048&&zn(9,l);break;case 1:Nl(t,l,e,a);break;case 3:Nl(t,l,e,a),i&2048&&(t=null,l.alternate!==null&&(t=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==t&&(l.refCount++,t!=null&&un(t)));break;case 12:if(i&2048){Nl(t,l,e,a),t=l.stateNode;try{var u=l.memoizedProps,f=u.id,r=u.onPostCommit;typeof r=="function"&&r(f,l.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(m){vt(l,l.return,m)}}else Nl(t,l,e,a);break;case 31:Nl(t,l,e,a);break;case 13:Nl(t,l,e,a);break;case 23:break;case 22:u=l.stateNode,f=l.alternate,l.memoizedState!==null?u._visibility&2?Nl(t,l,e,a):_n(t,l):u._visibility&2?Nl(t,l,e,a):(u._visibility|=2,Aa(t,l,e,a,(l.subtreeFlags&10256)!==0||!1)),i&2048&&wc(f,l);break;case 24:Nl(t,l,e,a),i&2048&&Wc(l.alternate,l);break;default:Nl(t,l,e,a)}}function Aa(t,l,e,a,i){for(i=i&&((l.subtreeFlags&10256)!==0||!1),l=l.child;l!==null;){var u=t,f=l,r=e,m=a,x=f.flags;switch(f.tag){case 0:case 11:case 15:Aa(u,f,r,m,i),zn(8,f);break;case 23:break;case 22:var C=f.stateNode;f.memoizedState!==null?C._visibility&2?Aa(u,f,r,m,i):_n(u,f):(C._visibility|=2,Aa(u,f,r,m,i)),i&&x&2048&&wc(f.alternate,f);break;case 24:Aa(u,f,r,m,i),i&&x&2048&&Wc(f.alternate,f);break;default:Aa(u,f,r,m,i)}l=l.sibling}}function _n(t,l){if(l.subtreeFlags&10256)for(l=l.child;l!==null;){var e=t,a=l,i=a.flags;switch(a.tag){case 22:_n(e,a),i&2048&&wc(a.alternate,a);break;case 24:_n(e,a),i&2048&&Wc(a.alternate,a);break;default:_n(e,a)}l=l.sibling}}var bn=8192;function Ta(t,l,e){if(t.subtreeFlags&bn)for(t=t.child;t!==null;)Nr(t,l,e),t=t.sibling}function Nr(t,l,e){switch(t.tag){case 26:Ta(t,l,e),t.flags&bn&&t.memoizedState!==null&&Nd(e,Rl,t.memoizedState,t.memoizedProps);break;case 5:Ta(t,l,e);break;case 3:case 4:var a=Rl;Rl=wi(t.stateNode.containerInfo),Ta(t,l,e),Rl=a;break;case 22:t.memoizedState===null&&(a=t.alternate,a!==null&&a.memoizedState!==null?(a=bn,bn=16777216,Ta(t,l,e),bn=a):Ta(t,l,e));break;default:Ta(t,l,e)}}function Hr(t){var l=t.alternate;if(l!==null&&(t=l.child,t!==null)){l.child=null;do l=t.sibling,t.sibling=null,t=l;while(t!==null)}}function Mn(t){var l=t.deletions;if((t.flags&16)!==0){if(l!==null)for(var e=0;e<l.length;e++){var a=l[e];Gt=a,Yr(a,t)}Hr(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)qr(t),t=t.sibling}function qr(t){switch(t.tag){case 0:case 11:case 15:Mn(t),t.flags&2048&&ge(9,t,t.return);break;case 3:Mn(t);break;case 12:Mn(t);break;case 22:var l=t.stateNode;t.memoizedState!==null&&l._visibility&2&&(t.return===null||t.return.tag!==13)?(l._visibility&=-3,Hi(t)):Mn(t);break;default:Mn(t)}}function Hi(t){var l=t.deletions;if((t.flags&16)!==0){if(l!==null)for(var e=0;e<l.length;e++){var a=l[e];Gt=a,Yr(a,t)}Hr(t)}for(t=t.child;t!==null;){switch(l=t,l.tag){case 0:case 11:case 15:ge(8,l,l.return),Hi(l);break;case 22:e=l.stateNode,e._visibility&2&&(e._visibility&=-3,Hi(l));break;default:Hi(l)}t=t.sibling}}function Yr(t,l){for(;Gt!==null;){var e=Gt;switch(e.tag){case 0:case 11:case 15:ge(8,e,l);break;case 23:case 22:if(e.memoizedState!==null&&e.memoizedState.cachePool!==null){var a=e.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:un(e.memoizedState.cache)}if(a=e.child,a!==null)a.return=e,Gt=a;else t:for(e=t;Gt!==null;){a=Gt;var i=a.sibling,u=a.return;if(Tr(a),a===e){Gt=null;break t}if(i!==null){i.return=u,Gt=i;break t}Gt=u}}}var Wy={getCacheForType:function(t){var l=Jt(Nt),e=l.data.get(t);return e===void 0&&(e=t(),l.data.set(t,e)),e},cacheSignal:function(){return Jt(Nt).controller.signal}},Fy=typeof WeakMap=="function"?WeakMap:Map,yt=0,pt=null,nt=null,ut=0,mt=0,gl=null,Se=!1,Ea=!1,Fc=!1,te=0,Et=0,ze=0,Fe=0,kc=0,Sl=0,Oa=0,xn=null,cl=null,$c=!1,qi=0,Br=0,Yi=1/0,Bi=null,pe=null,Xt=0,_e=null,Ua=null,le=0,Ic=0,Pc=null,Xr=null,An=0,ts=null;function zl(){return(yt&2)!==0&&ut!==0?ut&-ut:D.T!==null?us():Ps()}function Qr(){if(Sl===0)if((ut&536870912)===0||st){var t=Jn;Jn<<=1,(Jn&3932160)===0&&(Jn=262144),Sl=t}else Sl=536870912;return t=ml.current,t!==null&&(t.flags|=32),Sl}function sl(t,l,e){(t===pt&&(mt===2||mt===9)||t.cancelPendingCommit!==null)&&(Da(t,0),be(t,ut,Sl,!1)),Ja(t,e),((yt&2)===0||t!==pt)&&(t===pt&&((yt&2)===0&&(Fe|=e),Et===4&&be(t,ut,Sl,!1)),Xl(t))}function jr(t,l,e){if((yt&6)!==0)throw Error(s(327));var a=!e&&(l&127)===0&&(l&t.expiredLanes)===0||La(t,l),i=a?Iy(t,l):es(t,l,!0),u=a;do{if(i===0){Ea&&!a&&be(t,l,0,!1);break}else{if(e=t.current.alternate,u&&!ky(e)){i=es(t,l,!1),u=!1;continue}if(i===2){if(u=l,t.errorRecoveryDisabledLanes&u)var f=0;else f=t.pendingLanes&-536870913,f=f!==0?f:f&536870912?536870912:0;if(f!==0){l=f;t:{var r=t;i=xn;var m=r.current.memoizedState.isDehydrated;if(m&&(Da(r,f).flags|=256),f=es(r,f,!1),f!==2){if(Fc&&!m){r.errorRecoveryDisabledLanes|=u,Fe|=u,i=4;break t}u=cl,cl=i,u!==null&&(cl===null?cl=u:cl.push.apply(cl,u))}i=f}if(u=!1,i!==2)continue}}if(i===1){Da(t,0),be(t,l,0,!0);break}t:{switch(a=t,u=i,u){case 0:case 1:throw Error(s(345));case 4:if((l&4194048)!==l)break;case 6:be(a,l,Sl,!Se);break t;case 2:cl=null;break;case 3:case 5:break;default:throw Error(s(329))}if((l&62914560)===l&&(i=qi+300-hl(),10<i)){if(be(a,l,Sl,!Se),wn(a,0,!0)!==0)break t;le=l,a.timeoutHandle=So(Gr.bind(null,a,e,cl,Bi,$c,l,Sl,Fe,Oa,Se,u,"Throttled",-0,0),i);break t}Gr(a,e,cl,Bi,$c,l,Sl,Fe,Oa,Se,u,null,-0,0)}}break}while(!0);Xl(t)}function Gr(t,l,e,a,i,u,f,r,m,x,C,H,A,O){if(t.timeoutHandle=-1,H=l.subtreeFlags,H&8192||(H&16785408)===16785408){H={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:jl},Nr(l,u,H);var G=(u&62914560)===u?qi-hl():(u&4194048)===u?Br-hl():0;if(G=Hd(H,G),G!==null){le=u,t.cancelPendingCommit=G(Fr.bind(null,t,l,u,e,a,i,f,r,m,C,H,null,A,O)),be(t,u,f,!x);return}}Fr(t,l,u,e,a,i,f,r,m)}function ky(t){for(var l=t;;){var e=l.tag;if((e===0||e===11||e===15)&&l.flags&16384&&(e=l.updateQueue,e!==null&&(e=e.stores,e!==null)))for(var a=0;a<e.length;a++){var i=e[a],u=i.getSnapshot;i=i.value;try{if(!yl(u(),i))return!1}catch{return!1}}if(e=l.child,l.subtreeFlags&16384&&e!==null)e.return=l,l=e;else{if(l===t)break;for(;l.sibling===null;){if(l.return===null||l.return===t)return!0;l=l.return}l.sibling.return=l.return,l=l.sibling}}return!0}function be(t,l,e,a){l&=~kc,l&=~Fe,t.suspendedLanes|=l,t.pingedLanes&=~l,a&&(t.warmLanes|=l),a=t.expirationTimes;for(var i=l;0<i;){var u=31-ol(i),f=1<<u;a[u]=-1,i&=~f}e!==0&&ks(t,e,l)}function Xi(){return(yt&6)===0?(Tn(0),!1):!0}function ls(){if(nt!==null){if(mt===0)var t=nt.return;else t=nt,Ll=je=null,gc(t),pa=null,sn=0,t=nt;for(;t!==null;)Sr(t.alternate,t),t=t.return;nt=null}}function Da(t,l){var e=t.timeoutHandle;e!==-1&&(t.timeoutHandle=-1,vd(e)),e=t.cancelPendingCommit,e!==null&&(t.cancelPendingCommit=null,e()),le=0,ls(),pt=t,nt=e=Zl(t.current,null),ut=l,mt=0,gl=null,Se=!1,Ea=La(t,l),Fc=!1,Oa=Sl=kc=Fe=ze=Et=0,cl=xn=null,$c=!1,(l&8)!==0&&(l|=l&32);var a=t.entangledLanes;if(a!==0)for(t=t.entanglements,a&=l;0<a;){var i=31-ol(a),u=1<<i;l|=t[i],a&=~u}return te=l,ii(),e}function Zr(t,l){P=null,D.H=vn,l===za||l===yi?(l=nh(),mt=3):l===ic?(l=nh(),mt=4):mt=l===Nc?8:l!==null&&typeof l=="object"&&typeof l.then=="function"?6:1,gl=l,nt===null&&(Et=1,Ei(t,xl(l,t.current)))}function Vr(){var t=ml.current;return t===null?!0:(ut&4194048)===ut?Ol===null:(ut&62914560)===ut||(ut&536870912)!==0?t===Ol:!1}function Lr(){var t=D.H;return D.H=vn,t===null?vn:t}function Jr(){var t=D.A;return D.A=Wy,t}function Qi(){Et=4,Se||(ut&4194048)!==ut&&ml.current!==null||(Ea=!0),(ze&134217727)===0&&(Fe&134217727)===0||pt===null||be(pt,ut,Sl,!1)}function es(t,l,e){var a=yt;yt|=2;var i=Lr(),u=Jr();(pt!==t||ut!==l)&&(Bi=null,Da(t,l)),l=!1;var f=Et;t:do try{if(mt!==0&&nt!==null){var r=nt,m=gl;switch(mt){case 8:ls(),f=6;break t;case 3:case 2:case 9:case 6:ml.current===null&&(l=!0);var x=mt;if(mt=0,gl=null,Ca(t,r,m,x),e&&Ea){f=0;break t}break;default:x=mt,mt=0,gl=null,Ca(t,r,m,x)}}$y(),f=Et;break}catch(C){Zr(t,C)}while(!0);return l&&t.shellSuspendCounter++,Ll=je=null,yt=a,D.H=i,D.A=u,nt===null&&(pt=null,ut=0,ii()),f}function $y(){for(;nt!==null;)Kr(nt)}function Iy(t,l){var e=yt;yt|=2;var a=Lr(),i=Jr();pt!==t||ut!==l?(Bi=null,Yi=hl()+500,Da(t,l)):Ea=La(t,l);t:do try{if(mt!==0&&nt!==null){l=nt;var u=gl;l:switch(mt){case 1:mt=0,gl=null,Ca(t,l,u,1);break;case 2:case 9:if(eh(u)){mt=0,gl=null,wr(l);break}l=function(){mt!==2&&mt!==9||pt!==t||(mt=7),Xl(t)},u.then(l,l);break t;case 3:mt=7;break t;case 4:mt=5;break t;case 7:eh(u)?(mt=0,gl=null,wr(l)):(mt=0,gl=null,Ca(t,l,u,7));break;case 5:var f=null;switch(nt.tag){case 26:f=nt.memoizedState;case 5:case 27:var r=nt;if(f?No(f):r.stateNode.complete){mt=0,gl=null;var m=r.sibling;if(m!==null)nt=m;else{var x=r.return;x!==null?(nt=x,ji(x)):nt=null}break l}}mt=0,gl=null,Ca(t,l,u,5);break;case 6:mt=0,gl=null,Ca(t,l,u,6);break;case 8:ls(),Et=6;break t;default:throw Error(s(462))}}Py();break}catch(C){Zr(t,C)}while(!0);return Ll=je=null,D.H=a,D.A=i,yt=e,nt!==null?0:(pt=null,ut=0,ii(),Et)}function Py(){for(;nt!==null&&!b0();)Kr(nt)}function Kr(t){var l=vr(t.alternate,t,te);t.memoizedProps=t.pendingProps,l===null?ji(t):nt=l}function wr(t){var l=t,e=l.alternate;switch(l.tag){case 15:case 0:l=hr(e,l,l.pendingProps,l.type,void 0,ut);break;case 11:l=hr(e,l,l.pendingProps,l.type.render,l.ref,ut);break;case 5:gc(l);default:Sr(e,l),l=nt=Jf(l,te),l=vr(e,l,te)}t.memoizedProps=t.pendingProps,l===null?ji(t):nt=l}function Ca(t,l,e,a){Ll=je=null,gc(l),pa=null,sn=0;var i=l.return;try{if(Gy(t,i,l,e,ut)){Et=1,Ei(t,xl(e,t.current)),nt=null;return}}catch(u){if(i!==null)throw nt=i,u;Et=1,Ei(t,xl(e,t.current)),nt=null;return}l.flags&32768?(st||a===1?t=!0:Ea||(ut&536870912)!==0?t=!1:(Se=t=!0,(a===2||a===9||a===3||a===6)&&(a=ml.current,a!==null&&a.tag===13&&(a.flags|=16384))),Wr(l,t)):ji(l)}function ji(t){var l=t;do{if((l.flags&32768)!==0){Wr(l,Se);return}t=l.return;var e=Ly(l.alternate,l,te);if(e!==null){nt=e;return}if(l=l.sibling,l!==null){nt=l;return}nt=l=t}while(l!==null);Et===0&&(Et=5)}function Wr(t,l){do{var e=Jy(t.alternate,t);if(e!==null){e.flags&=32767,nt=e;return}if(e=t.return,e!==null&&(e.flags|=32768,e.subtreeFlags=0,e.deletions=null),!l&&(t=t.sibling,t!==null)){nt=t;return}nt=t=e}while(t!==null);Et=6,nt=null}function Fr(t,l,e,a,i,u,f,r,m){t.cancelPendingCommit=null;do Gi();while(Xt!==0);if((yt&6)!==0)throw Error(s(327));if(l!==null){if(l===t.current)throw Error(s(177));if(u=l.lanes|l.childLanes,u|=Lu,R0(t,e,u,f,r,m),t===pt&&(nt=pt=null,ut=0),Ua=l,_e=t,le=e,Ic=u,Pc=i,Xr=a,(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,ad(Vn,function(){return to(),null})):(t.callbackNode=null,t.callbackPriority=0),a=(l.flags&13878)!==0,(l.subtreeFlags&13878)!==0||a){a=D.T,D.T=null,i=X.p,X.p=2,f=yt,yt|=4;try{Ky(t,l,e)}finally{yt=f,X.p=i,D.T=a}}Xt=1,kr(),$r(),Ir()}}function kr(){if(Xt===1){Xt=0;var t=_e,l=Ua,e=(l.flags&13878)!==0;if((l.subtreeFlags&13878)!==0||e){e=D.T,D.T=null;var a=X.p;X.p=2;var i=yt;yt|=4;try{Dr(l,t);var u=ds,f=Yf(t.containerInfo),r=u.focusedElem,m=u.selectionRange;if(f!==r&&r&&r.ownerDocument&&qf(r.ownerDocument.documentElement,r)){if(m!==null&&Qu(r)){var x=m.start,C=m.end;if(C===void 0&&(C=x),"selectionStart"in r)r.selectionStart=x,r.selectionEnd=Math.min(C,r.value.length);else{var H=r.ownerDocument||document,A=H&&H.defaultView||window;if(A.getSelection){var O=A.getSelection(),G=r.textContent.length,w=Math.min(m.start,G),zt=m.end===void 0?w:Math.min(m.end,G);!O.extend&&w>zt&&(f=zt,zt=w,w=f);var b=Hf(r,w),S=Hf(r,zt);if(b&&S&&(O.rangeCount!==1||O.anchorNode!==b.node||O.anchorOffset!==b.offset||O.focusNode!==S.node||O.focusOffset!==S.offset)){var M=H.createRange();M.setStart(b.node,b.offset),O.removeAllRanges(),w>zt?(O.addRange(M),O.extend(S.node,S.offset)):(M.setEnd(S.node,S.offset),O.addRange(M))}}}}for(H=[],O=r;O=O.parentNode;)O.nodeType===1&&H.push({element:O,left:O.scrollLeft,top:O.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r<H.length;r++){var N=H[r];N.element.scrollLeft=N.left,N.element.scrollTop=N.top}}Pi=!!ys,ds=ys=null}finally{yt=i,X.p=a,D.T=e}}t.current=l,Xt=2}}function $r(){if(Xt===2){Xt=0;var t=_e,l=Ua,e=(l.flags&8772)!==0;if((l.subtreeFlags&8772)!==0||e){e=D.T,D.T=null;var a=X.p;X.p=2;var i=yt;yt|=4;try{Ar(t,l.alternate,l)}finally{yt=i,X.p=a,D.T=e}}Xt=3}}function Ir(){if(Xt===4||Xt===3){Xt=0,M0();var t=_e,l=Ua,e=le,a=Xr;(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?Xt=5:(Xt=0,Ua=_e=null,Pr(t,t.pendingLanes));var i=t.pendingLanes;if(i===0&&(pe=null),pu(e),l=l.stateNode,rl&&typeof rl.onCommitFiberRoot=="function")try{rl.onCommitFiberRoot(Va,l,void 0,(l.current.flags&128)===128)}catch{}if(a!==null){l=D.T,i=X.p,X.p=2,D.T=null;try{for(var u=t.onRecoverableError,f=0;f<a.length;f++){var r=a[f];u(r.value,{componentStack:r.stack})}}finally{D.T=l,X.p=i}}(le&3)!==0&&Gi(),Xl(t),i=t.pendingLanes,(e&261930)!==0&&(i&42)!==0?t===ts?An++:(An=0,ts=t):An=0,Tn(0)}}function Pr(t,l){(t.pooledCacheLanes&=l)===0&&(l=t.pooledCache,l!=null&&(t.pooledCache=null,un(l)))}function Gi(){return kr(),$r(),Ir(),to()}function to(){if(Xt!==5)return!1;var t=_e,l=Ic;Ic=0;var e=pu(le),a=D.T,i=X.p;try{X.p=32>e?32:e,D.T=null,e=Pc,Pc=null;var u=_e,f=le;if(Xt=0,Ua=_e=null,le=0,(yt&6)!==0)throw Error(s(331));var r=yt;if(yt|=4,qr(u.current),Rr(u,u.current,f,e),yt=r,Tn(0,!1),rl&&typeof rl.onPostCommitFiberRoot=="function")try{rl.onPostCommitFiberRoot(Va,u)}catch{}return!0}finally{X.p=i,D.T=a,Pr(t,l)}}function lo(t,l,e){l=xl(e,l),l=Rc(t.stateNode,l,2),t=de(t,l,2),t!==null&&(Ja(t,2),Xl(t))}function vt(t,l,e){if(t.tag===3)lo(t,t,e);else for(;l!==null;){if(l.tag===3){lo(l,t,e);break}else if(l.tag===1){var a=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(pe===null||!pe.has(a))){t=xl(e,t),e=er(2),a=de(l,e,2),a!==null&&(ar(e,a,l,t),Ja(a,2),Xl(a));break}}l=l.return}}function as(t,l,e){var a=t.pingCache;if(a===null){a=t.pingCache=new Fy;var i=new Set;a.set(l,i)}else i=a.get(l),i===void 0&&(i=new Set,a.set(l,i));i.has(e)||(Fc=!0,i.add(e),t=td.bind(null,t,l,e),l.then(t,t))}function td(t,l,e){var a=t.pingCache;a!==null&&a.delete(l),t.pingedLanes|=t.suspendedLanes&e,t.warmLanes&=~e,pt===t&&(ut&e)===e&&(Et===4||Et===3&&(ut&62914560)===ut&&300>hl()-qi?(yt&2)===0&&Da(t,0):kc|=e,Oa===ut&&(Oa=0)),Xl(t)}function eo(t,l){l===0&&(l=Fs()),t=Be(t,l),t!==null&&(Ja(t,l),Xl(t))}function ld(t){var l=t.memoizedState,e=0;l!==null&&(e=l.retryLane),eo(t,e)}function ed(t,l){var e=0;switch(t.tag){case 31:case 13:var a=t.stateNode,i=t.memoizedState;i!==null&&(e=i.retryLane);break;case 19:a=t.stateNode;break;case 22:a=t.stateNode._retryCache;break;default:throw Error(s(314))}a!==null&&a.delete(l),eo(t,e)}function ad(t,l){return vu(t,l)}var Zi=null,Ra=null,ns=!1,Vi=!1,is=!1,Me=0;function Xl(t){t!==Ra&&t.next===null&&(Ra===null?Zi=Ra=t:Ra=Ra.next=t),Vi=!0,ns||(ns=!0,id())}function Tn(t,l){if(!is&&Vi){is=!0;do for(var e=!1,a=Zi;a!==null;){if(t!==0){var i=a.pendingLanes;if(i===0)var u=0;else{var f=a.suspendedLanes,r=a.pingedLanes;u=(1<<31-ol(42|t)+1)-1,u&=i&~(f&~r),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(e=!0,uo(a,u))}else u=ut,u=wn(a,a===pt?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(u&3)===0||La(a,u)||(e=!0,uo(a,u));a=a.next}while(e);is=!1}}function nd(){ao()}function ao(){Vi=ns=!1;var t=0;Me!==0&&md()&&(t=Me);for(var l=hl(),e=null,a=Zi;a!==null;){var i=a.next,u=no(a,l);u===0?(a.next=null,e===null?Zi=i:e.next=i,i===null&&(Ra=e)):(e=a,(t!==0||(u&3)!==0)&&(Vi=!0)),a=i}Xt!==0&&Xt!==5||Tn(t),Me!==0&&(Me=0)}function no(t,l){for(var e=t.suspendedLanes,a=t.pingedLanes,i=t.expirationTimes,u=t.pendingLanes&-62914561;0<u;){var f=31-ol(u),r=1<<f,m=i[f];m===-1?((r&e)===0||(r&a)!==0)&&(i[f]=C0(r,l)):m<=l&&(t.expiredLanes|=r),u&=~r}if(l=pt,e=ut,e=wn(t,t===l?e:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a=t.callbackNode,e===0||t===l&&(mt===2||mt===9)||t.cancelPendingCommit!==null)return a!==null&&a!==null&&gu(a),t.callbackNode=null,t.callbackPriority=0;if((e&3)===0||La(t,e)){if(l=e&-e,l===t.callbackPriority)return l;switch(a!==null&&gu(a),pu(e)){case 2:case 8:e=ws;break;case 32:e=Vn;break;case 268435456:e=Ws;break;default:e=Vn}return a=io.bind(null,t),e=vu(e,a),t.callbackPriority=l,t.callbackNode=e,l}return a!==null&&a!==null&&gu(a),t.callbackPriority=2,t.callbackNode=null,2}function io(t,l){if(Xt!==0&&Xt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var e=t.callbackNode;if(Gi()&&t.callbackNode!==e)return null;var a=ut;return a=wn(t,t===pt?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a===0?null:(jr(t,a,l),no(t,hl()),t.callbackNode!=null&&t.callbackNode===e?io.bind(null,t):null)}function uo(t,l){if(Gi())return null;jr(t,l,!0)}function id(){gd(function(){(yt&6)!==0?vu(Ks,nd):ao()})}function us(){if(Me===0){var t=ga;t===0&&(t=Ln,Ln<<=1,(Ln&261888)===0&&(Ln=256)),Me=t}return Me}function co(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:$n(""+t)}function so(t,l){var e=l.ownerDocument.createElement("input");return e.name=l.name,e.value=l.value,t.id&&e.setAttribute("form",t.id),l.parentNode.insertBefore(e,l),t=new FormData(t),e.parentNode.removeChild(e),t}function ud(t,l,e,a,i){if(l==="submit"&&e&&e.stateNode===i){var u=co((i[el]||null).action),f=a.submitter;f&&(l=(l=f[el]||null)?co(l.formAction):f.getAttribute("formAction"),l!==null&&(u=l,f=null));var r=new li("action","action",null,a,i);t.push({event:r,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Me!==0){var m=f?so(i,f):new FormData(i);Tc(e,{pending:!0,data:m,method:i.method,action:u},null,m)}}else typeof u=="function"&&(r.preventDefault(),m=f?so(i,f):new FormData(i),Tc(e,{pending:!0,data:m,method:i.method,action:u},u,m))},currentTarget:i}]})}}for(var cs=0;cs<Vu.length;cs++){var ss=Vu[cs],cd=ss.toLowerCase(),sd=ss[0].toUpperCase()+ss.slice(1);Cl(cd,"on"+sd)}Cl(Qf,"onAnimationEnd"),Cl(jf,"onAnimationIteration"),Cl(Gf,"onAnimationStart"),Cl("dblclick","onDoubleClick"),Cl("focusin","onFocus"),Cl("focusout","onBlur"),Cl(xy,"onTransitionRun"),Cl(Ay,"onTransitionStart"),Cl(Ty,"onTransitionCancel"),Cl(Zf,"onTransitionEnd"),aa("onMouseEnter",["mouseout","mouseover"]),aa("onMouseLeave",["mouseout","mouseover"]),aa("onPointerEnter",["pointerout","pointerover"]),aa("onPointerLeave",["pointerout","pointerover"]),Ne("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ne("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ne("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ne("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ne("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ne("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var En="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(" "),fd=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(En));function fo(t,l){l=(l&4)!==0;for(var e=0;e<t.length;e++){var a=t[e],i=a.event;a=a.listeners;t:{var u=void 0;if(l)for(var f=a.length-1;0<=f;f--){var r=a[f],m=r.instance,x=r.currentTarget;if(r=r.listener,m!==u&&i.isPropagationStopped())break t;u=r,i.currentTarget=x;try{u(i)}catch(C){ni(C)}i.currentTarget=null,u=m}else for(f=0;f<a.length;f++){if(r=a[f],m=r.instance,x=r.currentTarget,r=r.listener,m!==u&&i.isPropagationStopped())break t;u=r,i.currentTarget=x;try{u(i)}catch(C){ni(C)}i.currentTarget=null,u=m}}}}function it(t,l){var e=l[_u];e===void 0&&(e=l[_u]=new Set);var a=t+"__bubble";e.has(a)||(ho(l,t,2,!1),e.add(a))}function fs(t,l,e){var a=0;l&&(a|=4),ho(e,t,a,l)}var Li="_reactListening"+Math.random().toString(36).slice(2);function hs(t){if(!t[Li]){t[Li]=!0,ef.forEach(function(e){e!=="selectionchange"&&(fd.has(e)||fs(e,!1,t),fs(e,!0,t))});var l=t.nodeType===9?t:t.ownerDocument;l===null||l[Li]||(l[Li]=!0,fs("selectionchange",!1,l))}}function ho(t,l,e,a){switch(jo(l)){case 2:var i=Bd;break;case 8:i=Xd;break;default:i=As}e=i.bind(null,l,e,t),i=void 0,!Du||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(i=!0),a?i!==void 0?t.addEventListener(l,e,{capture:!0,passive:i}):t.addEventListener(l,e,!0):i!==void 0?t.addEventListener(l,e,{passive:i}):t.addEventListener(l,e,!1)}function rs(t,l,e,a,i){var u=a;if((l&1)===0&&(l&2)===0&&a!==null)t:for(;;){if(a===null)return;var f=a.tag;if(f===3||f===4){var r=a.stateNode.containerInfo;if(r===i)break;if(f===4)for(f=a.return;f!==null;){var m=f.tag;if((m===3||m===4)&&f.stateNode.containerInfo===i)return;f=f.return}for(;r!==null;){if(f=ta(r),f===null)return;if(m=f.tag,m===5||m===6||m===26||m===27){a=u=f;continue t}r=r.parentNode}}a=a.return}mf(function(){var x=u,C=Ou(e),H=[];t:{var A=Vf.get(t);if(A!==void 0){var O=li,G=t;switch(t){case"keypress":if(Pn(e)===0)break t;case"keydown":case"keyup":O=ey;break;case"focusin":G="focus",O=Hu;break;case"focusout":G="blur",O=Hu;break;case"beforeblur":case"afterblur":O=Hu;break;case"click":if(e.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":O=Sf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":O=L0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":O=iy;break;case Qf:case jf:case Gf:O=w0;break;case Zf:O=cy;break;case"scroll":case"scrollend":O=Z0;break;case"wheel":O=fy;break;case"copy":case"cut":case"paste":O=F0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":O=pf;break;case"toggle":case"beforetoggle":O=ry}var w=(l&4)!==0,zt=!w&&(t==="scroll"||t==="scrollend"),b=w?A!==null?A+"Capture":null:A;w=[];for(var S=x,M;S!==null;){var N=S;if(M=N.stateNode,N=N.tag,N!==5&&N!==26&&N!==27||M===null||b===null||(N=Wa(S,b),N!=null&&w.push(On(S,N,M))),zt)break;S=S.return}0<w.length&&(A=new O(A,G,null,e,C),H.push({event:A,listeners:w}))}}if((l&7)===0){t:{if(A=t==="mouseover"||t==="pointerover",O=t==="mouseout"||t==="pointerout",A&&e!==Eu&&(G=e.relatedTarget||e.fromElement)&&(ta(G)||G[Pe]))break t;if((O||A)&&(A=C.window===C?C:(A=C.ownerDocument)?A.defaultView||A.parentWindow:window,O?(G=e.relatedTarget||e.toElement,O=x,G=G?ta(G):null,G!==null&&(zt=y(G),w=G.tag,G!==zt||w!==5&&w!==27&&w!==6)&&(G=null)):(O=null,G=x),O!==G)){if(w=Sf,N="onMouseLeave",b="onMouseEnter",S="mouse",(t==="pointerout"||t==="pointerover")&&(w=pf,N="onPointerLeave",b="onPointerEnter",S="pointer"),zt=O==null?A:wa(O),M=G==null?A:wa(G),A=new w(N,S+"leave",O,e,C),A.target=zt,A.relatedTarget=M,N=null,ta(C)===x&&(w=new w(b,S+"enter",G,e,C),w.target=M,w.relatedTarget=zt,N=w),zt=N,O&&G)l:{for(w=hd,b=O,S=G,M=0,N=b;N;N=w(N))M++;N=0;for(var J=S;J;J=w(J))N++;for(;0<M-N;)b=w(b),M--;for(;0<N-M;)S=w(S),N--;for(;M--;){if(b===S||S!==null&&b===S.alternate){w=b;break l}b=w(b),S=w(S)}w=null}else w=null;O!==null&&ro(H,A,O,w,!1),G!==null&&zt!==null&&ro(H,zt,G,w,!0)}}t:{if(A=x?wa(x):window,O=A.nodeName&&A.nodeName.toLowerCase(),O==="select"||O==="input"&&A.type==="file")var rt=Of;else if(Tf(A))if(Uf)rt=_y;else{rt=zy;var L=Sy}else O=A.nodeName,!O||O.toLowerCase()!=="input"||A.type!=="checkbox"&&A.type!=="radio"?x&&Tu(x.elementType)&&(rt=Of):rt=py;if(rt&&(rt=rt(t,x))){Ef(H,rt,e,C);break t}L&&L(t,A,x),t==="focusout"&&x&&A.type==="number"&&x.memoizedProps.value!=null&&Au(A,"number",A.value)}switch(L=x?wa(x):window,t){case"focusin":(Tf(L)||L.contentEditable==="true")&&(fa=L,ju=x,en=null);break;case"focusout":en=ju=fa=null;break;case"mousedown":Gu=!0;break;case"contextmenu":case"mouseup":case"dragend":Gu=!1,Bf(H,e,C);break;case"selectionchange":if(My)break;case"keydown":case"keyup":Bf(H,e,C)}var lt;if(Yu)t:{switch(t){case"compositionstart":var ct="onCompositionStart";break t;case"compositionend":ct="onCompositionEnd";break t;case"compositionupdate":ct="onCompositionUpdate";break t}ct=void 0}else sa?xf(t,e)&&(ct="onCompositionEnd"):t==="keydown"&&e.keyCode===229&&(ct="onCompositionStart");ct&&(_f&&e.locale!=="ko"&&(sa||ct!=="onCompositionStart"?ct==="onCompositionEnd"&&sa&&(lt=vf()):(ce=C,Cu="value"in ce?ce.value:ce.textContent,sa=!0)),L=Ji(x,ct),0<L.length&&(ct=new zf(ct,t,null,e,C),H.push({event:ct,listeners:L}),lt?ct.data=lt:(lt=Af(e),lt!==null&&(ct.data=lt)))),(lt=yy?dy(t,e):my(t,e))&&(ct=Ji(x,"onBeforeInput"),0<ct.length&&(L=new zf("onBeforeInput","beforeinput",null,e,C),H.push({event:L,listeners:ct}),L.data=lt)),ud(H,t,x,e,C)}fo(H,l)})}function On(t,l,e){return{instance:t,listener:l,currentTarget:e}}function Ji(t,l){for(var e=l+"Capture",a=[];t!==null;){var i=t,u=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||u===null||(i=Wa(t,e),i!=null&&a.unshift(On(t,i,u)),i=Wa(t,l),i!=null&&a.push(On(t,i,u))),t.tag===3)return a;t=t.return}return[]}function hd(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function ro(t,l,e,a,i){for(var u=l._reactName,f=[];e!==null&&e!==a;){var r=e,m=r.alternate,x=r.stateNode;if(r=r.tag,m!==null&&m===a)break;r!==5&&r!==26&&r!==27||x===null||(m=x,i?(x=Wa(e,u),x!=null&&f.unshift(On(e,x,m))):i||(x=Wa(e,u),x!=null&&f.push(On(e,x,m)))),e=e.return}f.length!==0&&t.push({event:l,listeners:f})}var rd=/\r\n?/g,od=/\u0000|\uFFFD/g;function oo(t){return(typeof t=="string"?t:""+t).replace(rd,`
|
|
`).replace(od,"")}function yo(t,l){return l=oo(l),oo(t)===l}function St(t,l,e,a,i,u){switch(e){case"children":typeof a=="string"?l==="body"||l==="textarea"&&a===""||ia(t,a):(typeof a=="number"||typeof a=="bigint")&&l!=="body"&&ia(t,""+a);break;case"className":Fn(t,"class",a);break;case"tabIndex":Fn(t,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Fn(t,e,a);break;case"style":yf(t,a,u);break;case"data":if(l!=="object"){Fn(t,"data",a);break}case"src":case"href":if(a===""&&(l!=="a"||e!=="href")){t.removeAttribute(e);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(e);break}a=$n(""+a),t.setAttribute(e,a);break;case"action":case"formAction":if(typeof a=="function"){t.setAttribute(e,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof u=="function"&&(e==="formAction"?(l!=="input"&&St(t,l,"name",i.name,i,null),St(t,l,"formEncType",i.formEncType,i,null),St(t,l,"formMethod",i.formMethod,i,null),St(t,l,"formTarget",i.formTarget,i,null)):(St(t,l,"encType",i.encType,i,null),St(t,l,"method",i.method,i,null),St(t,l,"target",i.target,i,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(e);break}a=$n(""+a),t.setAttribute(e,a);break;case"onClick":a!=null&&(t.onclick=jl);break;case"onScroll":a!=null&&it("scroll",t);break;case"onScrollEnd":a!=null&&it("scrollend",t);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(s(61));if(e=a.__html,e!=null){if(i.children!=null)throw Error(s(60));t.innerHTML=e}}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}e=$n(""+a),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",e);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(e,""+a):t.removeAttribute(e);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(e,""):t.removeAttribute(e);break;case"capture":case"download":a===!0?t.setAttribute(e,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(e,a):t.removeAttribute(e);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?t.setAttribute(e,a):t.removeAttribute(e);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?t.removeAttribute(e):t.setAttribute(e,a);break;case"popover":it("beforetoggle",t),it("toggle",t),Wn(t,"popover",a);break;case"xlinkActuate":Ql(t,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Ql(t,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Ql(t,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Ql(t,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Ql(t,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Ql(t,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Ql(t,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Ql(t,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Ql(t,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Wn(t,"is",a);break;case"innerText":case"textContent":break;default:(!(2<e.length)||e[0]!=="o"&&e[0]!=="O"||e[1]!=="n"&&e[1]!=="N")&&(e=j0.get(e)||e,Wn(t,e,a))}}function os(t,l,e,a,i,u){switch(e){case"style":yf(t,a,u);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(s(61));if(e=a.__html,e!=null){if(i.children!=null)throw Error(s(60));t.innerHTML=e}}break;case"children":typeof a=="string"?ia(t,a):(typeof a=="number"||typeof a=="bigint")&&ia(t,""+a);break;case"onScroll":a!=null&&it("scroll",t);break;case"onScrollEnd":a!=null&&it("scrollend",t);break;case"onClick":a!=null&&(t.onclick=jl);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!af.hasOwnProperty(e))t:{if(e[0]==="o"&&e[1]==="n"&&(i=e.endsWith("Capture"),l=e.slice(2,i?e.length-7:void 0),u=t[el]||null,u=u!=null?u[e]:null,typeof u=="function"&&t.removeEventListener(l,u,i),typeof a=="function")){typeof u!="function"&&u!==null&&(e in t?t[e]=null:t.hasAttribute(e)&&t.removeAttribute(e)),t.addEventListener(l,a,i);break t}e in t?t[e]=a:a===!0?t.setAttribute(e,""):Wn(t,e,a)}}}function wt(t,l,e){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":it("error",t),it("load",t);var a=!1,i=!1,u;for(u in e)if(e.hasOwnProperty(u)){var f=e[u];if(f!=null)switch(u){case"src":a=!0;break;case"srcSet":i=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(s(137,l));default:St(t,l,u,f,e,null)}}i&&St(t,l,"srcSet",e.srcSet,e,null),a&&St(t,l,"src",e.src,e,null);return;case"input":it("invalid",t);var r=u=f=i=null,m=null,x=null;for(a in e)if(e.hasOwnProperty(a)){var C=e[a];if(C!=null)switch(a){case"name":i=C;break;case"type":f=C;break;case"checked":m=C;break;case"defaultChecked":x=C;break;case"value":u=C;break;case"defaultValue":r=C;break;case"children":case"dangerouslySetInnerHTML":if(C!=null)throw Error(s(137,l));break;default:St(t,l,a,C,e,null)}}ff(t,u,r,m,x,f,i,!1);return;case"select":it("invalid",t),a=f=u=null;for(i in e)if(e.hasOwnProperty(i)&&(r=e[i],r!=null))switch(i){case"value":u=r;break;case"defaultValue":f=r;break;case"multiple":a=r;default:St(t,l,i,r,e,null)}l=u,e=f,t.multiple=!!a,l!=null?na(t,!!a,l,!1):e!=null&&na(t,!!a,e,!0);return;case"textarea":it("invalid",t),u=i=a=null;for(f in e)if(e.hasOwnProperty(f)&&(r=e[f],r!=null))switch(f){case"value":a=r;break;case"defaultValue":i=r;break;case"children":u=r;break;case"dangerouslySetInnerHTML":if(r!=null)throw Error(s(91));break;default:St(t,l,f,r,e,null)}rf(t,a,i,u);return;case"option":for(m in e)e.hasOwnProperty(m)&&(a=e[m],a!=null)&&(m==="selected"?t.selected=a&&typeof a!="function"&&typeof a!="symbol":St(t,l,m,a,e,null));return;case"dialog":it("beforetoggle",t),it("toggle",t),it("cancel",t),it("close",t);break;case"iframe":case"object":it("load",t);break;case"video":case"audio":for(a=0;a<En.length;a++)it(En[a],t);break;case"image":it("error",t),it("load",t);break;case"details":it("toggle",t);break;case"embed":case"source":case"link":it("error",t),it("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(x in e)if(e.hasOwnProperty(x)&&(a=e[x],a!=null))switch(x){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,l));default:St(t,l,x,a,e,null)}return;default:if(Tu(l)){for(C in e)e.hasOwnProperty(C)&&(a=e[C],a!==void 0&&os(t,l,C,a,e,void 0));return}}for(r in e)e.hasOwnProperty(r)&&(a=e[r],a!=null&&St(t,l,r,a,e,null))}function yd(t,l,e,a){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var i=null,u=null,f=null,r=null,m=null,x=null,C=null;for(O in e){var H=e[O];if(e.hasOwnProperty(O)&&H!=null)switch(O){case"checked":break;case"value":break;case"defaultValue":m=H;default:a.hasOwnProperty(O)||St(t,l,O,null,a,H)}}for(var A in a){var O=a[A];if(H=e[A],a.hasOwnProperty(A)&&(O!=null||H!=null))switch(A){case"type":u=O;break;case"name":i=O;break;case"checked":x=O;break;case"defaultChecked":C=O;break;case"value":f=O;break;case"defaultValue":r=O;break;case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(s(137,l));break;default:O!==H&&St(t,l,A,O,a,H)}}xu(t,f,r,m,x,C,u,i);return;case"select":O=f=r=A=null;for(u in e)if(m=e[u],e.hasOwnProperty(u)&&m!=null)switch(u){case"value":break;case"multiple":O=m;default:a.hasOwnProperty(u)||St(t,l,u,null,a,m)}for(i in a)if(u=a[i],m=e[i],a.hasOwnProperty(i)&&(u!=null||m!=null))switch(i){case"value":A=u;break;case"defaultValue":r=u;break;case"multiple":f=u;default:u!==m&&St(t,l,i,u,a,m)}l=r,e=f,a=O,A!=null?na(t,!!e,A,!1):!!a!=!!e&&(l!=null?na(t,!!e,l,!0):na(t,!!e,e?[]:"",!1));return;case"textarea":O=A=null;for(r in e)if(i=e[r],e.hasOwnProperty(r)&&i!=null&&!a.hasOwnProperty(r))switch(r){case"value":break;case"children":break;default:St(t,l,r,null,a,i)}for(f in a)if(i=a[f],u=e[f],a.hasOwnProperty(f)&&(i!=null||u!=null))switch(f){case"value":A=i;break;case"defaultValue":O=i;break;case"children":break;case"dangerouslySetInnerHTML":if(i!=null)throw Error(s(91));break;default:i!==u&&St(t,l,f,i,a,u)}hf(t,A,O);return;case"option":for(var G in e)A=e[G],e.hasOwnProperty(G)&&A!=null&&!a.hasOwnProperty(G)&&(G==="selected"?t.selected=!1:St(t,l,G,null,a,A));for(m in a)A=a[m],O=e[m],a.hasOwnProperty(m)&&A!==O&&(A!=null||O!=null)&&(m==="selected"?t.selected=A&&typeof A!="function"&&typeof A!="symbol":St(t,l,m,A,a,O));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 w in e)A=e[w],e.hasOwnProperty(w)&&A!=null&&!a.hasOwnProperty(w)&&St(t,l,w,null,a,A);for(x in a)if(A=a[x],O=e[x],a.hasOwnProperty(x)&&A!==O&&(A!=null||O!=null))switch(x){case"children":case"dangerouslySetInnerHTML":if(A!=null)throw Error(s(137,l));break;default:St(t,l,x,A,a,O)}return;default:if(Tu(l)){for(var zt in e)A=e[zt],e.hasOwnProperty(zt)&&A!==void 0&&!a.hasOwnProperty(zt)&&os(t,l,zt,void 0,a,A);for(C in a)A=a[C],O=e[C],!a.hasOwnProperty(C)||A===O||A===void 0&&O===void 0||os(t,l,C,A,a,O);return}}for(var b in e)A=e[b],e.hasOwnProperty(b)&&A!=null&&!a.hasOwnProperty(b)&&St(t,l,b,null,a,A);for(H in a)A=a[H],O=e[H],!a.hasOwnProperty(H)||A===O||A==null&&O==null||St(t,l,H,A,a,O)}function mo(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function dd(){if(typeof performance.getEntriesByType=="function"){for(var t=0,l=0,e=performance.getEntriesByType("resource"),a=0;a<e.length;a++){var i=e[a],u=i.transferSize,f=i.initiatorType,r=i.duration;if(u&&r&&mo(f)){for(f=0,r=i.responseEnd,a+=1;a<e.length;a++){var m=e[a],x=m.startTime;if(x>r)break;var C=m.transferSize,H=m.initiatorType;C&&mo(H)&&(m=m.responseEnd,f+=C*(m<r?1:(r-x)/(m-x)))}if(--a,l+=8*(u+f)/(i.duration/1e3),t++,10<t)break}}if(0<t)return l/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var ys=null,ds=null;function Ki(t){return t.nodeType===9?t:t.ownerDocument}function vo(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 go(t,l){if(t===0)switch(l){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&l==="foreignObject"?0:t}function ms(t,l){return t==="textarea"||t==="noscript"||typeof l.children=="string"||typeof l.children=="number"||typeof l.children=="bigint"||typeof l.dangerouslySetInnerHTML=="object"&&l.dangerouslySetInnerHTML!==null&&l.dangerouslySetInnerHTML.__html!=null}var vs=null;function md(){var t=window.event;return t&&t.type==="popstate"?t===vs?!1:(vs=t,!0):(vs=null,!1)}var So=typeof setTimeout=="function"?setTimeout:void 0,vd=typeof clearTimeout=="function"?clearTimeout:void 0,zo=typeof Promise=="function"?Promise:void 0,gd=typeof queueMicrotask=="function"?queueMicrotask:typeof zo<"u"?function(t){return zo.resolve(null).then(t).catch(Sd)}:So;function Sd(t){setTimeout(function(){throw t})}function xe(t){return t==="head"}function po(t,l){var e=l,a=0;do{var i=e.nextSibling;if(t.removeChild(e),i&&i.nodeType===8)if(e=i.data,e==="/$"||e==="/&"){if(a===0){t.removeChild(i),Ya(l);return}a--}else if(e==="$"||e==="$?"||e==="$~"||e==="$!"||e==="&")a++;else if(e==="html")Un(t.ownerDocument.documentElement);else if(e==="head"){e=t.ownerDocument.head,Un(e);for(var u=e.firstChild;u;){var f=u.nextSibling,r=u.nodeName;u[Ka]||r==="SCRIPT"||r==="STYLE"||r==="LINK"&&u.rel.toLowerCase()==="stylesheet"||e.removeChild(u),u=f}}else e==="body"&&Un(t.ownerDocument.body);e=i}while(e);Ya(l)}function _o(t,l){var e=t;t=0;do{var a=e.nextSibling;if(e.nodeType===1?l?(e._stashedDisplay=e.style.display,e.style.display="none"):(e.style.display=e._stashedDisplay||"",e.getAttribute("style")===""&&e.removeAttribute("style")):e.nodeType===3&&(l?(e._stashedText=e.nodeValue,e.nodeValue=""):e.nodeValue=e._stashedText||""),a&&a.nodeType===8)if(e=a.data,e==="/$"){if(t===0)break;t--}else e!=="$"&&e!=="$?"&&e!=="$~"&&e!=="$!"||t++;e=a}while(e)}function gs(t){var l=t.firstChild;for(l&&l.nodeType===10&&(l=l.nextSibling);l;){var e=l;switch(l=l.nextSibling,e.nodeName){case"HTML":case"HEAD":case"BODY":gs(e),bu(e);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(e.rel.toLowerCase()==="stylesheet")continue}t.removeChild(e)}}function zd(t,l,e,a){for(;t.nodeType===1;){var i=e;if(t.nodeName.toLowerCase()!==l.toLowerCase()){if(!a&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(a){if(!t[Ka])switch(l){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(u=t.getAttribute("rel"),u==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(u!==i.rel||t.getAttribute("href")!==(i.href==null||i.href===""?null:i.href)||t.getAttribute("crossorigin")!==(i.crossOrigin==null?null:i.crossOrigin)||t.getAttribute("title")!==(i.title==null?null:i.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(u=t.getAttribute("src"),(u!==(i.src==null?null:i.src)||t.getAttribute("type")!==(i.type==null?null:i.type)||t.getAttribute("crossorigin")!==(i.crossOrigin==null?null:i.crossOrigin))&&u&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(l==="input"&&t.type==="hidden"){var u=i.name==null?null:""+i.name;if(i.type==="hidden"&&t.getAttribute("name")===u)return t}else return t;if(t=Ul(t.nextSibling),t===null)break}return null}function pd(t,l,e){if(l==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=Ul(t.nextSibling),t===null))return null;return t}function bo(t,l){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!l||(t=Ul(t.nextSibling),t===null))return null;return t}function Ss(t){return t.data==="$?"||t.data==="$~"}function zs(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function _d(t,l){var e=t.ownerDocument;if(t.data==="$~")t._reactRetry=l;else if(t.data!=="$?"||e.readyState!=="loading")l();else{var a=function(){l(),e.removeEventListener("DOMContentLoaded",a)};e.addEventListener("DOMContentLoaded",a),t._reactRetry=a}}function Ul(t){for(;t!=null;t=t.nextSibling){var l=t.nodeType;if(l===1||l===3)break;if(l===8){if(l=t.data,l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"||l==="F!"||l==="F")break;if(l==="/$"||l==="/&")return null}}return t}var ps=null;function Mo(t){t=t.nextSibling;for(var l=0;t;){if(t.nodeType===8){var e=t.data;if(e==="/$"||e==="/&"){if(l===0)return Ul(t.nextSibling);l--}else e!=="$"&&e!=="$!"&&e!=="$?"&&e!=="$~"&&e!=="&"||l++}t=t.nextSibling}return null}function xo(t){t=t.previousSibling;for(var l=0;t;){if(t.nodeType===8){var e=t.data;if(e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"){if(l===0)return t;l--}else e!=="/$"&&e!=="/&"||l++}t=t.previousSibling}return null}function Ao(t,l,e){switch(l=Ki(e),t){case"html":if(t=l.documentElement,!t)throw Error(s(452));return t;case"head":if(t=l.head,!t)throw Error(s(453));return t;case"body":if(t=l.body,!t)throw Error(s(454));return t;default:throw Error(s(451))}}function Un(t){for(var l=t.attributes;l.length;)t.removeAttributeNode(l[0]);bu(t)}var Dl=new Map,To=new Set;function wi(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var ee=X.d;X.d={f:bd,r:Md,D:xd,C:Ad,L:Td,m:Ed,X:Ud,S:Od,M:Dd};function bd(){var t=ee.f(),l=Xi();return t||l}function Md(t){var l=la(t);l!==null&&l.tag===5&&l.type==="form"?Zh(l):ee.r(t)}var Na=typeof document>"u"?null:document;function Eo(t,l,e){var a=Na;if(a&&typeof l=="string"&&l){var i=bl(l);i='link[rel="'+t+'"][href="'+i+'"]',typeof e=="string"&&(i+='[crossorigin="'+e+'"]'),To.has(i)||(To.add(i),t={rel:t,crossOrigin:e,href:l},a.querySelector(i)===null&&(l=a.createElement("link"),wt(l,"link",t),jt(l),a.head.appendChild(l)))}}function xd(t){ee.D(t),Eo("dns-prefetch",t,null)}function Ad(t,l){ee.C(t,l),Eo("preconnect",t,l)}function Td(t,l,e){ee.L(t,l,e);var a=Na;if(a&&t&&l){var i='link[rel="preload"][as="'+bl(l)+'"]';l==="image"&&e&&e.imageSrcSet?(i+='[imagesrcset="'+bl(e.imageSrcSet)+'"]',typeof e.imageSizes=="string"&&(i+='[imagesizes="'+bl(e.imageSizes)+'"]')):i+='[href="'+bl(t)+'"]';var u=i;switch(l){case"style":u=Ha(t);break;case"script":u=qa(t)}Dl.has(u)||(t=_({rel:"preload",href:l==="image"&&e&&e.imageSrcSet?void 0:t,as:l},e),Dl.set(u,t),a.querySelector(i)!==null||l==="style"&&a.querySelector(Dn(u))||l==="script"&&a.querySelector(Cn(u))||(l=a.createElement("link"),wt(l,"link",t),jt(l),a.head.appendChild(l)))}}function Ed(t,l){ee.m(t,l);var e=Na;if(e&&t){var a=l&&typeof l.as=="string"?l.as:"script",i='link[rel="modulepreload"][as="'+bl(a)+'"][href="'+bl(t)+'"]',u=i;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=qa(t)}if(!Dl.has(u)&&(t=_({rel:"modulepreload",href:t},l),Dl.set(u,t),e.querySelector(i)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(e.querySelector(Cn(u)))return}a=e.createElement("link"),wt(a,"link",t),jt(a),e.head.appendChild(a)}}}function Od(t,l,e){ee.S(t,l,e);var a=Na;if(a&&t){var i=ea(a).hoistableStyles,u=Ha(t);l=l||"default";var f=i.get(u);if(!f){var r={loading:0,preload:null};if(f=a.querySelector(Dn(u)))r.loading=5;else{t=_({rel:"stylesheet",href:t,"data-precedence":l},e),(e=Dl.get(u))&&_s(t,e);var m=f=a.createElement("link");jt(m),wt(m,"link",t),m._p=new Promise(function(x,C){m.onload=x,m.onerror=C}),m.addEventListener("load",function(){r.loading|=1}),m.addEventListener("error",function(){r.loading|=2}),r.loading|=4,Wi(f,l,a)}f={type:"stylesheet",instance:f,count:1,state:r},i.set(u,f)}}}function Ud(t,l){ee.X(t,l);var e=Na;if(e&&t){var a=ea(e).hoistableScripts,i=qa(t),u=a.get(i);u||(u=e.querySelector(Cn(i)),u||(t=_({src:t,async:!0},l),(l=Dl.get(i))&&bs(t,l),u=e.createElement("script"),jt(u),wt(u,"link",t),e.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(i,u))}}function Dd(t,l){ee.M(t,l);var e=Na;if(e&&t){var a=ea(e).hoistableScripts,i=qa(t),u=a.get(i);u||(u=e.querySelector(Cn(i)),u||(t=_({src:t,async:!0,type:"module"},l),(l=Dl.get(i))&&bs(t,l),u=e.createElement("script"),jt(u),wt(u,"link",t),e.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(i,u))}}function Oo(t,l,e,a){var i=(i=at.current)?wi(i):null;if(!i)throw Error(s(446));switch(t){case"meta":case"title":return null;case"style":return typeof e.precedence=="string"&&typeof e.href=="string"?(l=Ha(e.href),e=ea(i).hoistableStyles,a=e.get(l),a||(a={type:"style",instance:null,count:0,state:null},e.set(l,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(e.rel==="stylesheet"&&typeof e.href=="string"&&typeof e.precedence=="string"){t=Ha(e.href);var u=ea(i).hoistableStyles,f=u.get(t);if(f||(i=i.ownerDocument||i,f={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(t,f),(u=i.querySelector(Dn(t)))&&!u._p&&(f.instance=u,f.state.loading=5),Dl.has(t)||(e={rel:"preload",as:"style",href:e.href,crossOrigin:e.crossOrigin,integrity:e.integrity,media:e.media,hrefLang:e.hrefLang,referrerPolicy:e.referrerPolicy},Dl.set(t,e),u||Cd(i,t,e,f.state))),l&&a===null)throw Error(s(528,""));return f}if(l&&a!==null)throw Error(s(529,""));return null;case"script":return l=e.async,e=e.src,typeof e=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(l=qa(e),e=ea(i).hoistableScripts,a=e.get(l),a||(a={type:"script",instance:null,count:0,state:null},e.set(l,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,t))}}function Ha(t){return'href="'+bl(t)+'"'}function Dn(t){return'link[rel="stylesheet"]['+t+"]"}function Uo(t){return _({},t,{"data-precedence":t.precedence,precedence:null})}function Cd(t,l,e,a){t.querySelector('link[rel="preload"][as="style"]['+l+"]")?a.loading=1:(l=t.createElement("link"),a.preload=l,l.addEventListener("load",function(){return a.loading|=1}),l.addEventListener("error",function(){return a.loading|=2}),wt(l,"link",e),jt(l),t.head.appendChild(l))}function qa(t){return'[src="'+bl(t)+'"]'}function Cn(t){return"script[async]"+t}function Do(t,l,e){if(l.count++,l.instance===null)switch(l.type){case"style":var a=t.querySelector('style[data-href~="'+bl(e.href)+'"]');if(a)return l.instance=a,jt(a),a;var i=_({},e,{"data-href":e.href,"data-precedence":e.precedence,href:null,precedence:null});return a=(t.ownerDocument||t).createElement("style"),jt(a),wt(a,"style",i),Wi(a,e.precedence,t),l.instance=a;case"stylesheet":i=Ha(e.href);var u=t.querySelector(Dn(i));if(u)return l.state.loading|=4,l.instance=u,jt(u),u;a=Uo(e),(i=Dl.get(i))&&_s(a,i),u=(t.ownerDocument||t).createElement("link"),jt(u);var f=u;return f._p=new Promise(function(r,m){f.onload=r,f.onerror=m}),wt(u,"link",a),l.state.loading|=4,Wi(u,e.precedence,t),l.instance=u;case"script":return u=qa(e.src),(i=t.querySelector(Cn(u)))?(l.instance=i,jt(i),i):(a=e,(i=Dl.get(u))&&(a=_({},e),bs(a,i)),t=t.ownerDocument||t,i=t.createElement("script"),jt(i),wt(i,"link",a),t.head.appendChild(i),l.instance=i);case"void":return null;default:throw Error(s(443,l.type))}else l.type==="stylesheet"&&(l.state.loading&4)===0&&(a=l.instance,l.state.loading|=4,Wi(a,e.precedence,t));return l.instance}function Wi(t,l,e){for(var a=e.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),i=a.length?a[a.length-1]:null,u=i,f=0;f<a.length;f++){var r=a[f];if(r.dataset.precedence===l)u=r;else if(u!==i)break}u?u.parentNode.insertBefore(t,u.nextSibling):(l=e.nodeType===9?e.head:e,l.insertBefore(t,l.firstChild))}function _s(t,l){t.crossOrigin==null&&(t.crossOrigin=l.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=l.referrerPolicy),t.title==null&&(t.title=l.title)}function bs(t,l){t.crossOrigin==null&&(t.crossOrigin=l.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=l.referrerPolicy),t.integrity==null&&(t.integrity=l.integrity)}var Fi=null;function Co(t,l,e){if(Fi===null){var a=new Map,i=Fi=new Map;i.set(e,a)}else i=Fi,a=i.get(e),a||(a=new Map,i.set(e,a));if(a.has(t))return a;for(a.set(t,null),e=e.getElementsByTagName(t),i=0;i<e.length;i++){var u=e[i];if(!(u[Ka]||u[Vt]||t==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var f=u.getAttribute(l)||"";f=t+f;var r=a.get(f);r?r.push(u):a.set(f,[u])}}return a}function Ro(t,l,e){t=t.ownerDocument||t,t.head.insertBefore(e,l==="title"?t.querySelector("head > title"):null)}function Rd(t,l,e){if(e===1||l.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof l.precedence!="string"||typeof l.href!="string"||l.href==="")break;return!0;case"link":if(typeof l.rel!="string"||typeof l.href!="string"||l.href===""||l.onLoad||l.onError)break;return l.rel==="stylesheet"?(t=l.disabled,typeof l.precedence=="string"&&t==null):!0;case"script":if(l.async&&typeof l.async!="function"&&typeof l.async!="symbol"&&!l.onLoad&&!l.onError&&l.src&&typeof l.src=="string")return!0}return!1}function No(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function Nd(t,l,e,a){if(e.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(e.state.loading&4)===0){if(e.instance===null){var i=Ha(a.href),u=l.querySelector(Dn(i));if(u){l=u._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(t.count++,t=ki.bind(t),l.then(t,t)),e.state.loading|=4,e.instance=u,jt(u);return}u=l.ownerDocument||l,a=Uo(a),(i=Dl.get(i))&&_s(a,i),u=u.createElement("link"),jt(u);var f=u;f._p=new Promise(function(r,m){f.onload=r,f.onerror=m}),wt(u,"link",a),e.instance=u}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(e,l),(l=e.state.preload)&&(e.state.loading&3)===0&&(t.count++,e=ki.bind(t),l.addEventListener("load",e),l.addEventListener("error",e))}}var Ms=0;function Hd(t,l){return t.stylesheets&&t.count===0&&Ii(t,t.stylesheets),0<t.count||0<t.imgCount?function(e){var a=setTimeout(function(){if(t.stylesheets&&Ii(t,t.stylesheets),t.unsuspend){var u=t.unsuspend;t.unsuspend=null,u()}},6e4+l);0<t.imgBytes&&Ms===0&&(Ms=62500*dd());var i=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&Ii(t,t.stylesheets),t.unsuspend)){var u=t.unsuspend;t.unsuspend=null,u()}},(t.imgBytes>Ms?50:800)+l);return t.unsuspend=e,function(){t.unsuspend=null,clearTimeout(a),clearTimeout(i)}}:null}function ki(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Ii(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var $i=null;function Ii(t,l){t.stylesheets=null,t.unsuspend!==null&&(t.count++,$i=new Map,l.forEach(qd,t),$i=null,ki.call(t))}function qd(t,l){if(!(l.state.loading&4)){var e=$i.get(t);if(e)var a=e.get(null);else{e=new Map,$i.set(t,e);for(var i=t.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<i.length;u++){var f=i[u];(f.nodeName==="LINK"||f.getAttribute("media")!=="not all")&&(e.set(f.dataset.precedence,f),a=f)}a&&e.set(null,a)}i=l.instance,f=i.getAttribute("data-precedence"),u=e.get(f)||a,u===a&&e.set(null,i),e.set(f,i),this.count++,a=ki.bind(this),i.addEventListener("load",a),i.addEventListener("error",a),u?u.parentNode.insertBefore(i,u.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(i,t.firstChild)),l.state.loading|=4}}var Rn={$$typeof:k,Provider:null,Consumer:null,_currentValue:K,_currentValue2:K,_threadCount:0};function Yd(t,l,e,a,i,u,f,r,m){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=Su(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Su(0),this.hiddenUpdates=Su(null),this.identifierPrefix=a,this.onUncaughtError=i,this.onCaughtError=u,this.onRecoverableError=f,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=m,this.incompleteTransitions=new Map}function Ho(t,l,e,a,i,u,f,r,m,x,C,H){return t=new Yd(t,l,e,f,m,x,C,H,r),l=1,u===!0&&(l|=24),u=dl(3,null,null,l),t.current=u,u.stateNode=t,l=ec(),l.refCount++,t.pooledCache=l,l.refCount++,u.memoizedState={element:a,isDehydrated:e,cache:l},uc(u),t}function qo(t){return t?(t=oa,t):oa}function Yo(t,l,e,a,i,u){i=qo(i),a.context===null?a.context=i:a.pendingContext=i,a=ye(l),a.payload={element:e},u=u===void 0?null:u,u!==null&&(a.callback=u),e=de(t,a,l),e!==null&&(sl(e,t,l),hn(e,t,l))}function Bo(t,l){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var e=t.retryLane;t.retryLane=e!==0&&e<l?e:l}}function xs(t,l){Bo(t,l),(t=t.alternate)&&Bo(t,l)}function Xo(t){if(t.tag===13||t.tag===31){var l=Be(t,67108864);l!==null&&sl(l,t,67108864),xs(t,67108864)}}function Qo(t){if(t.tag===13||t.tag===31){var l=zl();l=zu(l);var e=Be(t,l);e!==null&&sl(e,t,l),xs(t,l)}}var Pi=!0;function Bd(t,l,e,a){var i=D.T;D.T=null;var u=X.p;try{X.p=2,As(t,l,e,a)}finally{X.p=u,D.T=i}}function Xd(t,l,e,a){var i=D.T;D.T=null;var u=X.p;try{X.p=8,As(t,l,e,a)}finally{X.p=u,D.T=i}}function As(t,l,e,a){if(Pi){var i=Ts(a);if(i===null)rs(t,l,a,tu,e),Go(t,a);else if(jd(i,t,l,e,a))a.stopPropagation();else if(Go(t,a),l&4&&-1<Qd.indexOf(t)){for(;i!==null;){var u=la(i);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var f=Re(u.pendingLanes);if(f!==0){var r=u;for(r.pendingLanes|=2,r.entangledLanes|=2;f;){var m=1<<31-ol(f);r.entanglements[1]|=m,f&=~m}Xl(u),(yt&6)===0&&(Yi=hl()+500,Tn(0))}}break;case 31:case 13:r=Be(u,2),r!==null&&sl(r,u,2),Xi(),xs(u,2)}if(u=Ts(a),u===null&&rs(t,l,a,tu,e),u===i)break;i=u}i!==null&&a.stopPropagation()}else rs(t,l,a,null,e)}}function Ts(t){return t=Ou(t),Es(t)}var tu=null;function Es(t){if(tu=null,t=ta(t),t!==null){var l=y(t);if(l===null)t=null;else{var e=l.tag;if(e===13){if(t=v(l),t!==null)return t;t=null}else if(e===31){if(t=g(l),t!==null)return t;t=null}else if(e===3){if(l.stateNode.current.memoizedState.isDehydrated)return l.tag===3?l.stateNode.containerInfo:null;t=null}else l!==t&&(t=null)}}return tu=t,null}function jo(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(x0()){case Ks:return 2;case ws:return 8;case Vn:case A0:return 32;case Ws:return 268435456;default:return 32}default:return 32}}var Os=!1,Ae=null,Te=null,Ee=null,Nn=new Map,Hn=new Map,Oe=[],Qd="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 Go(t,l){switch(t){case"focusin":case"focusout":Ae=null;break;case"dragenter":case"dragleave":Te=null;break;case"mouseover":case"mouseout":Ee=null;break;case"pointerover":case"pointerout":Nn.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":Hn.delete(l.pointerId)}}function qn(t,l,e,a,i,u){return t===null||t.nativeEvent!==u?(t={blockedOn:l,domEventName:e,eventSystemFlags:a,nativeEvent:u,targetContainers:[i]},l!==null&&(l=la(l),l!==null&&Xo(l)),t):(t.eventSystemFlags|=a,l=t.targetContainers,i!==null&&l.indexOf(i)===-1&&l.push(i),t)}function jd(t,l,e,a,i){switch(l){case"focusin":return Ae=qn(Ae,t,l,e,a,i),!0;case"dragenter":return Te=qn(Te,t,l,e,a,i),!0;case"mouseover":return Ee=qn(Ee,t,l,e,a,i),!0;case"pointerover":var u=i.pointerId;return Nn.set(u,qn(Nn.get(u)||null,t,l,e,a,i)),!0;case"gotpointercapture":return u=i.pointerId,Hn.set(u,qn(Hn.get(u)||null,t,l,e,a,i)),!0}return!1}function Zo(t){var l=ta(t.target);if(l!==null){var e=y(l);if(e!==null){if(l=e.tag,l===13){if(l=v(e),l!==null){t.blockedOn=l,tf(t.priority,function(){Qo(e)});return}}else if(l===31){if(l=g(e),l!==null){t.blockedOn=l,tf(t.priority,function(){Qo(e)});return}}else if(l===3&&e.stateNode.current.memoizedState.isDehydrated){t.blockedOn=e.tag===3?e.stateNode.containerInfo:null;return}}}t.blockedOn=null}function lu(t){if(t.blockedOn!==null)return!1;for(var l=t.targetContainers;0<l.length;){var e=Ts(t.nativeEvent);if(e===null){e=t.nativeEvent;var a=new e.constructor(e.type,e);Eu=a,e.target.dispatchEvent(a),Eu=null}else return l=la(e),l!==null&&Xo(l),t.blockedOn=e,!1;l.shift()}return!0}function Vo(t,l,e){lu(t)&&e.delete(l)}function Gd(){Os=!1,Ae!==null&&lu(Ae)&&(Ae=null),Te!==null&&lu(Te)&&(Te=null),Ee!==null&&lu(Ee)&&(Ee=null),Nn.forEach(Vo),Hn.forEach(Vo)}function eu(t,l){t.blockedOn===l&&(t.blockedOn=null,Os||(Os=!0,R.unstable_scheduleCallback(R.unstable_NormalPriority,Gd)))}var au=null;function Lo(t){au!==t&&(au=t,R.unstable_scheduleCallback(R.unstable_NormalPriority,function(){au===t&&(au=null);for(var l=0;l<t.length;l+=3){var e=t[l],a=t[l+1],i=t[l+2];if(typeof a!="function"){if(Es(a||e)===null)continue;break}var u=la(e);u!==null&&(t.splice(l,3),l-=3,Tc(u,{pending:!0,data:i,method:e.method,action:a},a,i))}}))}function Ya(t){function l(m){return eu(m,t)}Ae!==null&&eu(Ae,t),Te!==null&&eu(Te,t),Ee!==null&&eu(Ee,t),Nn.forEach(l),Hn.forEach(l);for(var e=0;e<Oe.length;e++){var a=Oe[e];a.blockedOn===t&&(a.blockedOn=null)}for(;0<Oe.length&&(e=Oe[0],e.blockedOn===null);)Zo(e),e.blockedOn===null&&Oe.shift();if(e=(t.ownerDocument||t).$$reactFormReplay,e!=null)for(a=0;a<e.length;a+=3){var i=e[a],u=e[a+1],f=i[el]||null;if(typeof u=="function")f||Lo(e);else if(f){var r=null;if(u&&u.hasAttribute("formAction")){if(i=u,f=u[el]||null)r=f.formAction;else if(Es(i)!==null)continue}else r=f.action;typeof r=="function"?e[a+1]=r:(e.splice(a,3),a-=3),Lo(e)}}}function Jo(){function t(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:function(){return new Promise(function(f){return i=f})},focusReset:"manual",scroll:"manual"})}function l(){i!==null&&(i(),i=null),a||setTimeout(e,20)}function e(){if(!a&&!navigation.transition){var u=navigation.currentEntry;u&&u.url!=null&&navigation.navigate(u.url,{state:u.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,i=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",l),navigation.addEventListener("navigateerror",l),setTimeout(e,100),function(){a=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",l),navigation.removeEventListener("navigateerror",l),i!==null&&(i(),i=null)}}}function Us(t){this._internalRoot=t}nu.prototype.render=Us.prototype.render=function(t){var l=this._internalRoot;if(l===null)throw Error(s(409));var e=l.current,a=zl();Yo(e,a,t,l,null,null)},nu.prototype.unmount=Us.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var l=t.containerInfo;Yo(t.current,2,null,t,null,null),Xi(),l[Pe]=null}};function nu(t){this._internalRoot=t}nu.prototype.unstable_scheduleHydration=function(t){if(t){var l=Ps();t={blockedOn:null,target:t,priority:l};for(var e=0;e<Oe.length&&l!==0&&l<Oe[e].priority;e++);Oe.splice(e,0,t),e===0&&Zo(t)}};var Ko=n.version;if(Ko!=="19.2.3")throw Error(s(527,Ko,"19.2.3"));X.findDOMNode=function(t){var l=t._reactInternals;if(l===void 0)throw typeof t.render=="function"?Error(s(188)):(t=Object.keys(t).join(","),Error(s(268,t)));return t=o(l),t=t!==null?z(t):null,t=t===null?null:t.stateNode,t};var Zd={bundleType:0,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:D,reconcilerVersion:"19.2.3"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var iu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!iu.isDisabled&&iu.supportsFiber)try{Va=iu.inject(Zd),rl=iu}catch{}}return Bn.createRoot=function(t,l){if(!h(t))throw Error(s(299));var e=!1,a="",i=Ih,u=Ph,f=tr;return l!=null&&(l.unstable_strictMode===!0&&(e=!0),l.identifierPrefix!==void 0&&(a=l.identifierPrefix),l.onUncaughtError!==void 0&&(i=l.onUncaughtError),l.onCaughtError!==void 0&&(u=l.onCaughtError),l.onRecoverableError!==void 0&&(f=l.onRecoverableError)),l=Ho(t,1,!1,null,null,e,a,null,i,u,f,Jo),t[Pe]=l.current,hs(t),new Us(l)},Bn.hydrateRoot=function(t,l,e){if(!h(t))throw Error(s(299));var a=!1,i="",u=Ih,f=Ph,r=tr,m=null;return e!=null&&(e.unstable_strictMode===!0&&(a=!0),e.identifierPrefix!==void 0&&(i=e.identifierPrefix),e.onUncaughtError!==void 0&&(u=e.onUncaughtError),e.onCaughtError!==void 0&&(f=e.onCaughtError),e.onRecoverableError!==void 0&&(r=e.onRecoverableError),e.formState!==void 0&&(m=e.formState)),l=Ho(t,1,!0,l,e??null,a,i,m,u,f,r,Jo),l.context=qo(null),e=l.current,a=zl(),a=zu(a),i=ye(a),i.callback=null,de(e,i,a),e=a,l.current.lanes=e,Ja(l,e),Xl(l),t[Pe]=l.current,hs(t),new nu(l)},Bn.version="19.2.3",Bn}var e0;function tm(){if(e0)return Rs.exports;e0=1;function R(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(R)}catch(n){console.error(n)}}return R(),Rs.exports=Pd(),Rs.exports}var _m=tm();const S0="182",z0=300,a0=1e3,uu=1001,n0=1002,lm=1006,em=1008,am=1009,nm=1015,im=1023,um="",i0=35044,bm=35048,cu=2e3,u0=2001;function c0(R){return document.createElementNS("http://www.w3.org/1999/xhtml",R)}function Ie(...R){const n="THREE."+R.shift();console.warn(n,...R)}function s0(...R){const n="THREE."+R.shift();console.error(n,...R)}class p0{addEventListener(n,c){this._listeners===void 0&&(this._listeners={});const s=this._listeners;s[n]===void 0&&(s[n]=[]),s[n].indexOf(c)===-1&&s[n].push(c)}hasEventListener(n,c){const s=this._listeners;return s===void 0?!1:s[n]!==void 0&&s[n].indexOf(c)!==-1}removeEventListener(n,c){const s=this._listeners;if(s===void 0)return;const h=s[n];if(h!==void 0){const y=h.indexOf(c);y!==-1&&h.splice(y,1)}}dispatchEvent(n){const c=this._listeners;if(c===void 0)return;const s=c[n.type];if(s!==void 0){n.target=this;const h=s.slice(0);for(let y=0,v=h.length;y<v;y++)h[y].call(this,n);n.target=null}}}const kt=["00","01","02","03","04","05","06","07","08","09","0a","0b","0c","0d","0e","0f","10","11","12","13","14","15","16","17","18","19","1a","1b","1c","1d","1e","1f","20","21","22","23","24","25","26","27","28","29","2a","2b","2c","2d","2e","2f","30","31","32","33","34","35","36","37","38","39","3a","3b","3c","3d","3e","3f","40","41","42","43","44","45","46","47","48","49","4a","4b","4c","4d","4e","4f","50","51","52","53","54","55","56","57","58","59","5a","5b","5c","5d","5e","5f","60","61","62","63","64","65","66","67","68","69","6a","6b","6c","6d","6e","6f","70","71","72","73","74","75","76","77","78","79","7a","7b","7c","7d","7e","7f","80","81","82","83","84","85","86","87","88","89","8a","8b","8c","8d","8e","8f","90","91","92","93","94","95","96","97","98","99","9a","9b","9c","9d","9e","9f","a0","a1","a2","a3","a4","a5","a6","a7","a8","a9","aa","ab","ac","ad","ae","af","b0","b1","b2","b3","b4","b5","b6","b7","b8","b9","ba","bb","bc","bd","be","bf","c0","c1","c2","c3","c4","c5","c6","c7","c8","c9","ca","cb","cc","cd","ce","cf","d0","d1","d2","d3","d4","d5","d6","d7","d8","d9","da","db","dc","dd","de","df","e0","e1","e2","e3","e4","e5","e6","e7","e8","e9","ea","eb","ec","ed","ee","ef","f0","f1","f2","f3","f4","f5","f6","f7","f8","f9","fa","fb","fc","fd","fe","ff"];function Vs(){const R=Math.random()*4294967295|0,n=Math.random()*4294967295|0,c=Math.random()*4294967295|0,s=Math.random()*4294967295|0;return(kt[R&255]+kt[R>>8&255]+kt[R>>16&255]+kt[R>>24&255]+"-"+kt[n&255]+kt[n>>8&255]+"-"+kt[n>>16&15|64]+kt[n>>24&255]+"-"+kt[c&63|128]+kt[c>>8&255]+"-"+kt[c>>16&255]+kt[c>>24&255]+kt[s&255]+kt[s>>8&255]+kt[s>>16&255]+kt[s>>24&255]).toLowerCase()}function Ct(R,n,c){return Math.max(n,Math.min(c,R))}function Xn(R,n){switch(n.constructor){case Float32Array:return R;case Uint32Array:return R/4294967295;case Uint16Array:return R/65535;case Uint8Array:return R/255;case Int32Array:return Math.max(R/2147483647,-1);case Int16Array:return Math.max(R/32767,-1);case Int8Array:return Math.max(R/127,-1);default:throw new Error("Invalid component type.")}}function fl(R,n){switch(n.constructor){case Float32Array:return R;case Uint32Array:return Math.round(R*4294967295);case Uint16Array:return Math.round(R*65535);case Uint8Array:return Math.round(R*255);case Int32Array:return Math.round(R*2147483647);case Int16Array:return Math.round(R*32767);case Int8Array:return Math.round(R*127);default:throw new Error("Invalid component type.")}}class Ga{constructor(n=0,c=0){Ga.prototype.isVector2=!0,this.x=n,this.y=c}get width(){return this.x}set width(n){this.x=n}get height(){return this.y}set height(n){this.y=n}set(n,c){return this.x=n,this.y=c,this}setScalar(n){return this.x=n,this.y=n,this}setX(n){return this.x=n,this}setY(n){return this.y=n,this}setComponent(n,c){switch(n){case 0:this.x=c;break;case 1:this.y=c;break;default:throw new Error("index is out of range: "+n)}return this}getComponent(n){switch(n){case 0:return this.x;case 1:return this.y;default:throw new Error("index is out of range: "+n)}}clone(){return new this.constructor(this.x,this.y)}copy(n){return this.x=n.x,this.y=n.y,this}add(n){return this.x+=n.x,this.y+=n.y,this}addScalar(n){return this.x+=n,this.y+=n,this}addVectors(n,c){return this.x=n.x+c.x,this.y=n.y+c.y,this}addScaledVector(n,c){return this.x+=n.x*c,this.y+=n.y*c,this}sub(n){return this.x-=n.x,this.y-=n.y,this}subScalar(n){return this.x-=n,this.y-=n,this}subVectors(n,c){return this.x=n.x-c.x,this.y=n.y-c.y,this}multiply(n){return this.x*=n.x,this.y*=n.y,this}multiplyScalar(n){return this.x*=n,this.y*=n,this}divide(n){return this.x/=n.x,this.y/=n.y,this}divideScalar(n){return this.multiplyScalar(1/n)}applyMatrix3(n){const c=this.x,s=this.y,h=n.elements;return this.x=h[0]*c+h[3]*s+h[6],this.y=h[1]*c+h[4]*s+h[7],this}min(n){return this.x=Math.min(this.x,n.x),this.y=Math.min(this.y,n.y),this}max(n){return this.x=Math.max(this.x,n.x),this.y=Math.max(this.y,n.y),this}clamp(n,c){return this.x=Ct(this.x,n.x,c.x),this.y=Ct(this.y,n.y,c.y),this}clampScalar(n,c){return this.x=Ct(this.x,n,c),this.y=Ct(this.y,n,c),this}clampLength(n,c){const s=this.length();return this.divideScalar(s||1).multiplyScalar(Ct(s,n,c))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this}negate(){return this.x=-this.x,this.y=-this.y,this}dot(n){return this.x*n.x+this.y*n.y}cross(n){return this.x*n.y-this.y*n.x}lengthSq(){return this.x*this.x+this.y*this.y}length(){return Math.sqrt(this.x*this.x+this.y*this.y)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)}normalize(){return this.divideScalar(this.length()||1)}angle(){return Math.atan2(-this.y,-this.x)+Math.PI}angleTo(n){const c=Math.sqrt(this.lengthSq()*n.lengthSq());if(c===0)return Math.PI/2;const s=this.dot(n)/c;return Math.acos(Ct(s,-1,1))}distanceTo(n){return Math.sqrt(this.distanceToSquared(n))}distanceToSquared(n){const c=this.x-n.x,s=this.y-n.y;return c*c+s*s}manhattanDistanceTo(n){return Math.abs(this.x-n.x)+Math.abs(this.y-n.y)}setLength(n){return this.normalize().multiplyScalar(n)}lerp(n,c){return this.x+=(n.x-this.x)*c,this.y+=(n.y-this.y)*c,this}lerpVectors(n,c,s){return this.x=n.x+(c.x-n.x)*s,this.y=n.y+(c.y-n.y)*s,this}equals(n){return n.x===this.x&&n.y===this.y}fromArray(n,c=0){return this.x=n[c],this.y=n[c+1],this}toArray(n=[],c=0){return n[c]=this.x,n[c+1]=this.y,n}fromBufferAttribute(n,c){return this.x=n.getX(c),this.y=n.getY(c),this}rotateAround(n,c){const s=Math.cos(c),h=Math.sin(c),y=this.x-n.x,v=this.y-n.y;return this.x=y*s-v*h+n.x,this.y=y*h+v*s+n.y,this}random(){return this.x=Math.random(),this.y=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y}}class jn{constructor(n=0,c=0,s=0,h=1){this.isQuaternion=!0,this._x=n,this._y=c,this._z=s,this._w=h}static slerpFlat(n,c,s,h,y,v,g){let d=s[h+0],o=s[h+1],z=s[h+2],_=s[h+3],E=y[v+0],T=y[v+1],U=y[v+2],q=y[v+3];if(g<=0){n[c+0]=d,n[c+1]=o,n[c+2]=z,n[c+3]=_;return}if(g>=1){n[c+0]=E,n[c+1]=T,n[c+2]=U,n[c+3]=q;return}if(_!==q||d!==E||o!==T||z!==U){let Z=d*E+o*T+z*U+_*q;Z<0&&(E=-E,T=-T,U=-U,q=-q,Z=-Z);let B=1-g;if(Z<.9995){const W=Math.acos(Z),k=Math.sin(W);B=Math.sin(B*W)/k,g=Math.sin(g*W)/k,d=d*B+E*g,o=o*B+T*g,z=z*B+U*g,_=_*B+q*g}else{d=d*B+E*g,o=o*B+T*g,z=z*B+U*g,_=_*B+q*g;const W=1/Math.sqrt(d*d+o*o+z*z+_*_);d*=W,o*=W,z*=W,_*=W}}n[c]=d,n[c+1]=o,n[c+2]=z,n[c+3]=_}static multiplyQuaternionsFlat(n,c,s,h,y,v){const g=s[h],d=s[h+1],o=s[h+2],z=s[h+3],_=y[v],E=y[v+1],T=y[v+2],U=y[v+3];return n[c]=g*U+z*_+d*T-o*E,n[c+1]=d*U+z*E+o*_-g*T,n[c+2]=o*U+z*T+g*E-d*_,n[c+3]=z*U-g*_-d*E-o*T,n}get x(){return this._x}set x(n){this._x=n,this._onChangeCallback()}get y(){return this._y}set y(n){this._y=n,this._onChangeCallback()}get z(){return this._z}set z(n){this._z=n,this._onChangeCallback()}get w(){return this._w}set w(n){this._w=n,this._onChangeCallback()}set(n,c,s,h){return this._x=n,this._y=c,this._z=s,this._w=h,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._w)}copy(n){return this._x=n.x,this._y=n.y,this._z=n.z,this._w=n.w,this._onChangeCallback(),this}setFromEuler(n,c=!0){const s=n._x,h=n._y,y=n._z,v=n._order,g=Math.cos,d=Math.sin,o=g(s/2),z=g(h/2),_=g(y/2),E=d(s/2),T=d(h/2),U=d(y/2);switch(v){case"XYZ":this._x=E*z*_+o*T*U,this._y=o*T*_-E*z*U,this._z=o*z*U+E*T*_,this._w=o*z*_-E*T*U;break;case"YXZ":this._x=E*z*_+o*T*U,this._y=o*T*_-E*z*U,this._z=o*z*U-E*T*_,this._w=o*z*_+E*T*U;break;case"ZXY":this._x=E*z*_-o*T*U,this._y=o*T*_+E*z*U,this._z=o*z*U+E*T*_,this._w=o*z*_-E*T*U;break;case"ZYX":this._x=E*z*_-o*T*U,this._y=o*T*_+E*z*U,this._z=o*z*U-E*T*_,this._w=o*z*_+E*T*U;break;case"YZX":this._x=E*z*_+o*T*U,this._y=o*T*_+E*z*U,this._z=o*z*U-E*T*_,this._w=o*z*_-E*T*U;break;case"XZY":this._x=E*z*_-o*T*U,this._y=o*T*_-E*z*U,this._z=o*z*U+E*T*_,this._w=o*z*_+E*T*U;break;default:Ie("Quaternion: .setFromEuler() encountered an unknown order: "+v)}return c===!0&&this._onChangeCallback(),this}setFromAxisAngle(n,c){const s=c/2,h=Math.sin(s);return this._x=n.x*h,this._y=n.y*h,this._z=n.z*h,this._w=Math.cos(s),this._onChangeCallback(),this}setFromRotationMatrix(n){const c=n.elements,s=c[0],h=c[4],y=c[8],v=c[1],g=c[5],d=c[9],o=c[2],z=c[6],_=c[10],E=s+g+_;if(E>0){const T=.5/Math.sqrt(E+1);this._w=.25/T,this._x=(z-d)*T,this._y=(y-o)*T,this._z=(v-h)*T}else if(s>g&&s>_){const T=2*Math.sqrt(1+s-g-_);this._w=(z-d)/T,this._x=.25*T,this._y=(h+v)/T,this._z=(y+o)/T}else if(g>_){const T=2*Math.sqrt(1+g-s-_);this._w=(y-o)/T,this._x=(h+v)/T,this._y=.25*T,this._z=(d+z)/T}else{const T=2*Math.sqrt(1+_-s-g);this._w=(v-h)/T,this._x=(y+o)/T,this._y=(d+z)/T,this._z=.25*T}return this._onChangeCallback(),this}setFromUnitVectors(n,c){let s=n.dot(c)+1;return s<1e-8?(s=0,Math.abs(n.x)>Math.abs(n.z)?(this._x=-n.y,this._y=n.x,this._z=0,this._w=s):(this._x=0,this._y=-n.z,this._z=n.y,this._w=s)):(this._x=n.y*c.z-n.z*c.y,this._y=n.z*c.x-n.x*c.z,this._z=n.x*c.y-n.y*c.x,this._w=s),this.normalize()}angleTo(n){return 2*Math.acos(Math.abs(Ct(this.dot(n),-1,1)))}rotateTowards(n,c){const s=this.angleTo(n);if(s===0)return this;const h=Math.min(1,c/s);return this.slerp(n,h),this}identity(){return this.set(0,0,0,1)}invert(){return this.conjugate()}conjugate(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this}dot(n){return this._x*n._x+this._y*n._y+this._z*n._z+this._w*n._w}lengthSq(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w}length(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)}normalize(){let n=this.length();return n===0?(this._x=0,this._y=0,this._z=0,this._w=1):(n=1/n,this._x=this._x*n,this._y=this._y*n,this._z=this._z*n,this._w=this._w*n),this._onChangeCallback(),this}multiply(n){return this.multiplyQuaternions(this,n)}premultiply(n){return this.multiplyQuaternions(n,this)}multiplyQuaternions(n,c){const s=n._x,h=n._y,y=n._z,v=n._w,g=c._x,d=c._y,o=c._z,z=c._w;return this._x=s*z+v*g+h*o-y*d,this._y=h*z+v*d+y*g-s*o,this._z=y*z+v*o+s*d-h*g,this._w=v*z-s*g-h*d-y*o,this._onChangeCallback(),this}slerp(n,c){if(c<=0)return this;if(c>=1)return this.copy(n);let s=n._x,h=n._y,y=n._z,v=n._w,g=this.dot(n);g<0&&(s=-s,h=-h,y=-y,v=-v,g=-g);let d=1-c;if(g<.9995){const o=Math.acos(g),z=Math.sin(o);d=Math.sin(d*o)/z,c=Math.sin(c*o)/z,this._x=this._x*d+s*c,this._y=this._y*d+h*c,this._z=this._z*d+y*c,this._w=this._w*d+v*c,this._onChangeCallback()}else this._x=this._x*d+s*c,this._y=this._y*d+h*c,this._z=this._z*d+y*c,this._w=this._w*d+v*c,this.normalize();return this}slerpQuaternions(n,c,s){return this.copy(n).slerp(c,s)}random(){const n=2*Math.PI*Math.random(),c=2*Math.PI*Math.random(),s=Math.random(),h=Math.sqrt(1-s),y=Math.sqrt(s);return this.set(h*Math.sin(n),h*Math.cos(n),y*Math.sin(c),y*Math.cos(c))}equals(n){return n._x===this._x&&n._y===this._y&&n._z===this._z&&n._w===this._w}fromArray(n,c=0){return this._x=n[c],this._y=n[c+1],this._z=n[c+2],this._w=n[c+3],this._onChangeCallback(),this}toArray(n=[],c=0){return n[c]=this._x,n[c+1]=this._y,n[c+2]=this._z,n[c+3]=this._w,n}fromBufferAttribute(n,c){return this._x=n.getX(c),this._y=n.getY(c),this._z=n.getZ(c),this._w=n.getW(c),this._onChangeCallback(),this}toJSON(){return this.toArray()}_onChange(n){return this._onChangeCallback=n,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._w}}class Rt{constructor(n=0,c=0,s=0){Rt.prototype.isVector3=!0,this.x=n,this.y=c,this.z=s}set(n,c,s){return s===void 0&&(s=this.z),this.x=n,this.y=c,this.z=s,this}setScalar(n){return this.x=n,this.y=n,this.z=n,this}setX(n){return this.x=n,this}setY(n){return this.y=n,this}setZ(n){return this.z=n,this}setComponent(n,c){switch(n){case 0:this.x=c;break;case 1:this.y=c;break;case 2:this.z=c;break;default:throw new Error("index is out of range: "+n)}return this}getComponent(n){switch(n){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw new Error("index is out of range: "+n)}}clone(){return new this.constructor(this.x,this.y,this.z)}copy(n){return this.x=n.x,this.y=n.y,this.z=n.z,this}add(n){return this.x+=n.x,this.y+=n.y,this.z+=n.z,this}addScalar(n){return this.x+=n,this.y+=n,this.z+=n,this}addVectors(n,c){return this.x=n.x+c.x,this.y=n.y+c.y,this.z=n.z+c.z,this}addScaledVector(n,c){return this.x+=n.x*c,this.y+=n.y*c,this.z+=n.z*c,this}sub(n){return this.x-=n.x,this.y-=n.y,this.z-=n.z,this}subScalar(n){return this.x-=n,this.y-=n,this.z-=n,this}subVectors(n,c){return this.x=n.x-c.x,this.y=n.y-c.y,this.z=n.z-c.z,this}multiply(n){return this.x*=n.x,this.y*=n.y,this.z*=n.z,this}multiplyScalar(n){return this.x*=n,this.y*=n,this.z*=n,this}multiplyVectors(n,c){return this.x=n.x*c.x,this.y=n.y*c.y,this.z=n.z*c.z,this}applyEuler(n){return this.applyQuaternion(f0.setFromEuler(n))}applyAxisAngle(n,c){return this.applyQuaternion(f0.setFromAxisAngle(n,c))}applyMatrix3(n){const c=this.x,s=this.y,h=this.z,y=n.elements;return this.x=y[0]*c+y[3]*s+y[6]*h,this.y=y[1]*c+y[4]*s+y[7]*h,this.z=y[2]*c+y[5]*s+y[8]*h,this}applyNormalMatrix(n){return this.applyMatrix3(n).normalize()}applyMatrix4(n){const c=this.x,s=this.y,h=this.z,y=n.elements,v=1/(y[3]*c+y[7]*s+y[11]*h+y[15]);return this.x=(y[0]*c+y[4]*s+y[8]*h+y[12])*v,this.y=(y[1]*c+y[5]*s+y[9]*h+y[13])*v,this.z=(y[2]*c+y[6]*s+y[10]*h+y[14])*v,this}applyQuaternion(n){const c=this.x,s=this.y,h=this.z,y=n.x,v=n.y,g=n.z,d=n.w,o=2*(v*h-g*s),z=2*(g*c-y*h),_=2*(y*s-v*c);return this.x=c+d*o+v*_-g*z,this.y=s+d*z+g*o-y*_,this.z=h+d*_+y*z-v*o,this}project(n){return this.applyMatrix4(n.matrixWorldInverse).applyMatrix4(n.projectionMatrix)}unproject(n){return this.applyMatrix4(n.projectionMatrixInverse).applyMatrix4(n.matrixWorld)}transformDirection(n){const c=this.x,s=this.y,h=this.z,y=n.elements;return this.x=y[0]*c+y[4]*s+y[8]*h,this.y=y[1]*c+y[5]*s+y[9]*h,this.z=y[2]*c+y[6]*s+y[10]*h,this.normalize()}divide(n){return this.x/=n.x,this.y/=n.y,this.z/=n.z,this}divideScalar(n){return this.multiplyScalar(1/n)}min(n){return this.x=Math.min(this.x,n.x),this.y=Math.min(this.y,n.y),this.z=Math.min(this.z,n.z),this}max(n){return this.x=Math.max(this.x,n.x),this.y=Math.max(this.y,n.y),this.z=Math.max(this.z,n.z),this}clamp(n,c){return this.x=Ct(this.x,n.x,c.x),this.y=Ct(this.y,n.y,c.y),this.z=Ct(this.z,n.z,c.z),this}clampScalar(n,c){return this.x=Ct(this.x,n,c),this.y=Ct(this.y,n,c),this.z=Ct(this.z,n,c),this}clampLength(n,c){const s=this.length();return this.divideScalar(s||1).multiplyScalar(Ct(s,n,c))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this.z=Math.trunc(this.z),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this}dot(n){return this.x*n.x+this.y*n.y+this.z*n.z}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)}normalize(){return this.divideScalar(this.length()||1)}setLength(n){return this.normalize().multiplyScalar(n)}lerp(n,c){return this.x+=(n.x-this.x)*c,this.y+=(n.y-this.y)*c,this.z+=(n.z-this.z)*c,this}lerpVectors(n,c,s){return this.x=n.x+(c.x-n.x)*s,this.y=n.y+(c.y-n.y)*s,this.z=n.z+(c.z-n.z)*s,this}cross(n){return this.crossVectors(this,n)}crossVectors(n,c){const s=n.x,h=n.y,y=n.z,v=c.x,g=c.y,d=c.z;return this.x=h*d-y*g,this.y=y*v-s*d,this.z=s*g-h*v,this}projectOnVector(n){const c=n.lengthSq();if(c===0)return this.set(0,0,0);const s=n.dot(this)/c;return this.copy(n).multiplyScalar(s)}projectOnPlane(n){return Ys.copy(this).projectOnVector(n),this.sub(Ys)}reflect(n){return this.sub(Ys.copy(n).multiplyScalar(2*this.dot(n)))}angleTo(n){const c=Math.sqrt(this.lengthSq()*n.lengthSq());if(c===0)return Math.PI/2;const s=this.dot(n)/c;return Math.acos(Ct(s,-1,1))}distanceTo(n){return Math.sqrt(this.distanceToSquared(n))}distanceToSquared(n){const c=this.x-n.x,s=this.y-n.y,h=this.z-n.z;return c*c+s*s+h*h}manhattanDistanceTo(n){return Math.abs(this.x-n.x)+Math.abs(this.y-n.y)+Math.abs(this.z-n.z)}setFromSpherical(n){return this.setFromSphericalCoords(n.radius,n.phi,n.theta)}setFromSphericalCoords(n,c,s){const h=Math.sin(c)*n;return this.x=h*Math.sin(s),this.y=Math.cos(c)*n,this.z=h*Math.cos(s),this}setFromCylindrical(n){return this.setFromCylindricalCoords(n.radius,n.theta,n.y)}setFromCylindricalCoords(n,c,s){return this.x=n*Math.sin(c),this.y=s,this.z=n*Math.cos(c),this}setFromMatrixPosition(n){const c=n.elements;return this.x=c[12],this.y=c[13],this.z=c[14],this}setFromMatrixScale(n){const c=this.setFromMatrixColumn(n,0).length(),s=this.setFromMatrixColumn(n,1).length(),h=this.setFromMatrixColumn(n,2).length();return this.x=c,this.y=s,this.z=h,this}setFromMatrixColumn(n,c){return this.fromArray(n.elements,c*4)}setFromMatrix3Column(n,c){return this.fromArray(n.elements,c*3)}setFromEuler(n){return this.x=n._x,this.y=n._y,this.z=n._z,this}setFromColor(n){return this.x=n.r,this.y=n.g,this.z=n.b,this}equals(n){return n.x===this.x&&n.y===this.y&&n.z===this.z}fromArray(n,c=0){return this.x=n[c],this.y=n[c+1],this.z=n[c+2],this}toArray(n=[],c=0){return n[c]=this.x,n[c+1]=this.y,n[c+2]=this.z,n}fromBufferAttribute(n,c){return this.x=n.getX(c),this.y=n.getY(c),this.z=n.getZ(c),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this}randomDirection(){const n=Math.random()*Math.PI*2,c=Math.random()*2-1,s=Math.sqrt(1-c*c);return this.x=s*Math.cos(n),this.y=c,this.z=s*Math.sin(n),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z}}const Ys=new Rt,f0=new jn;class Gn{constructor(n,c,s,h,y,v,g,d,o){Gn.prototype.isMatrix3=!0,this.elements=[1,0,0,0,1,0,0,0,1],n!==void 0&&this.set(n,c,s,h,y,v,g,d,o)}set(n,c,s,h,y,v,g,d,o){const z=this.elements;return z[0]=n,z[1]=h,z[2]=g,z[3]=c,z[4]=y,z[5]=d,z[6]=s,z[7]=v,z[8]=o,this}identity(){return this.set(1,0,0,0,1,0,0,0,1),this}copy(n){const c=this.elements,s=n.elements;return c[0]=s[0],c[1]=s[1],c[2]=s[2],c[3]=s[3],c[4]=s[4],c[5]=s[5],c[6]=s[6],c[7]=s[7],c[8]=s[8],this}extractBasis(n,c,s){return n.setFromMatrix3Column(this,0),c.setFromMatrix3Column(this,1),s.setFromMatrix3Column(this,2),this}setFromMatrix4(n){const c=n.elements;return this.set(c[0],c[4],c[8],c[1],c[5],c[9],c[2],c[6],c[10]),this}multiply(n){return this.multiplyMatrices(this,n)}premultiply(n){return this.multiplyMatrices(n,this)}multiplyMatrices(n,c){const s=n.elements,h=c.elements,y=this.elements,v=s[0],g=s[3],d=s[6],o=s[1],z=s[4],_=s[7],E=s[2],T=s[5],U=s[8],q=h[0],Z=h[3],B=h[6],W=h[1],k=h[4],et=h[7],tt=h[2],$=h[5],Q=h[8];return y[0]=v*q+g*W+d*tt,y[3]=v*Z+g*k+d*$,y[6]=v*B+g*et+d*Q,y[1]=o*q+z*W+_*tt,y[4]=o*Z+z*k+_*$,y[7]=o*B+z*et+_*Q,y[2]=E*q+T*W+U*tt,y[5]=E*Z+T*k+U*$,y[8]=E*B+T*et+U*Q,this}multiplyScalar(n){const c=this.elements;return c[0]*=n,c[3]*=n,c[6]*=n,c[1]*=n,c[4]*=n,c[7]*=n,c[2]*=n,c[5]*=n,c[8]*=n,this}determinant(){const n=this.elements,c=n[0],s=n[1],h=n[2],y=n[3],v=n[4],g=n[5],d=n[6],o=n[7],z=n[8];return c*v*z-c*g*o-s*y*z+s*g*d+h*y*o-h*v*d}invert(){const n=this.elements,c=n[0],s=n[1],h=n[2],y=n[3],v=n[4],g=n[5],d=n[6],o=n[7],z=n[8],_=z*v-g*o,E=g*d-z*y,T=o*y-v*d,U=c*_+s*E+h*T;if(U===0)return this.set(0,0,0,0,0,0,0,0,0);const q=1/U;return n[0]=_*q,n[1]=(h*o-z*s)*q,n[2]=(g*s-h*v)*q,n[3]=E*q,n[4]=(z*c-h*d)*q,n[5]=(h*y-g*c)*q,n[6]=T*q,n[7]=(s*d-o*c)*q,n[8]=(v*c-s*y)*q,this}transpose(){let n;const c=this.elements;return n=c[1],c[1]=c[3],c[3]=n,n=c[2],c[2]=c[6],c[6]=n,n=c[5],c[5]=c[7],c[7]=n,this}getNormalMatrix(n){return this.setFromMatrix4(n).invert().transpose()}transposeIntoArray(n){const c=this.elements;return n[0]=c[0],n[1]=c[3],n[2]=c[6],n[3]=c[1],n[4]=c[4],n[5]=c[7],n[6]=c[2],n[7]=c[5],n[8]=c[8],this}setUvTransform(n,c,s,h,y,v,g){const d=Math.cos(y),o=Math.sin(y);return this.set(s*d,s*o,-s*(d*v+o*g)+v+n,-h*o,h*d,-h*(-o*v+d*g)+g+c,0,0,1),this}scale(n,c){return this.premultiply(Bs.makeScale(n,c)),this}rotate(n){return this.premultiply(Bs.makeRotation(-n)),this}translate(n,c){return this.premultiply(Bs.makeTranslation(n,c)),this}makeTranslation(n,c){return n.isVector2?this.set(1,0,n.x,0,1,n.y,0,0,1):this.set(1,0,n,0,1,c,0,0,1),this}makeRotation(n){const c=Math.cos(n),s=Math.sin(n);return this.set(c,-s,0,s,c,0,0,0,1),this}makeScale(n,c){return this.set(n,0,0,0,c,0,0,0,1),this}equals(n){const c=this.elements,s=n.elements;for(let h=0;h<9;h++)if(c[h]!==s[h])return!1;return!0}fromArray(n,c=0){for(let s=0;s<9;s++)this.elements[s]=n[s+c];return this}toArray(n=[],c=0){const s=this.elements;return n[c]=s[0],n[c+1]=s[1],n[c+2]=s[2],n[c+3]=s[3],n[c+4]=s[4],n[c+5]=s[5],n[c+6]=s[6],n[c+7]=s[7],n[c+8]=s[8],n}clone(){return new this.constructor().fromArray(this.elements)}}const Bs=new Gn;function Xs(R){return R<.04045?R*.0773993808:Math.pow(R*.9478672986+.0521327014,2.4)}let Ba;class cm{static getDataURL(n,c="image/png"){if(/^data:/i.test(n.src)||typeof HTMLCanvasElement>"u")return n.src;let s;if(n instanceof HTMLCanvasElement)s=n;else{Ba===void 0&&(Ba=c0("canvas")),Ba.width=n.width,Ba.height=n.height;const h=Ba.getContext("2d");n instanceof ImageData?h.putImageData(n,0,0):h.drawImage(n,0,0,n.width,n.height),s=Ba}return s.toDataURL(c)}static sRGBToLinear(n){if(typeof HTMLImageElement<"u"&&n instanceof HTMLImageElement||typeof HTMLCanvasElement<"u"&&n instanceof HTMLCanvasElement||typeof ImageBitmap<"u"&&n instanceof ImageBitmap){const c=c0("canvas");c.width=n.width,c.height=n.height;const s=c.getContext("2d");s.drawImage(n,0,0,n.width,n.height);const h=s.getImageData(0,0,n.width,n.height),y=h.data;for(let v=0;v<y.length;v++)y[v]=Xs(y[v]/255)*255;return s.putImageData(h,0,0),c}else if(n.data){const c=n.data.slice(0);for(let s=0;s<c.length;s++)c instanceof Uint8Array||c instanceof Uint8ClampedArray?c[s]=Math.floor(Xs(c[s]/255)*255):c[s]=Xs(c[s]);return{data:c,width:n.width,height:n.height}}else return Ie("ImageUtils.sRGBToLinear(): Unsupported image type. No color space conversion applied."),n}}let sm=0;class fm{constructor(n=null){this.isSource=!0,Object.defineProperty(this,"id",{value:sm++}),this.uuid=Vs(),this.data=n,this.dataReady=!0,this.version=0}getSize(n){const c=this.data;return typeof HTMLVideoElement<"u"&&c instanceof HTMLVideoElement?n.set(c.videoWidth,c.videoHeight,0):typeof VideoFrame<"u"&&c instanceof VideoFrame?n.set(c.displayHeight,c.displayWidth,0):c!==null?n.set(c.width,c.height,c.depth||0):n.set(0,0,0),n}set needsUpdate(n){n===!0&&this.version++}toJSON(n){const c=n===void 0||typeof n=="string";if(!c&&n.images[this.uuid]!==void 0)return n.images[this.uuid];const s={uuid:this.uuid,url:""},h=this.data;if(h!==null){let y;if(Array.isArray(h)){y=[];for(let v=0,g=h.length;v<g;v++)h[v].isDataTexture?y.push(Qs(h[v].image)):y.push(Qs(h[v]))}else y=Qs(h);s.url=y}return c||(n.images[this.uuid]=s),s}}function Qs(R){return typeof HTMLImageElement<"u"&&R instanceof HTMLImageElement||typeof HTMLCanvasElement<"u"&&R instanceof HTMLCanvasElement||typeof ImageBitmap<"u"&&R instanceof ImageBitmap?cm.getDataURL(R):R.data?{data:Array.from(R.data),width:R.width,height:R.height,type:R.data.constructor.name}:(Ie("Texture: Unable to serialize Texture."),{})}let hm=0;const js=new Rt;class ke extends p0{constructor(n=ke.DEFAULT_IMAGE,c=ke.DEFAULT_MAPPING,s=uu,h=uu,y=lm,v=em,g=im,d=am,o=ke.DEFAULT_ANISOTROPY,z=um){super(),this.isTexture=!0,Object.defineProperty(this,"id",{value:hm++}),this.uuid=Vs(),this.name="",this.source=new fm(n),this.mipmaps=[],this.mapping=c,this.channel=0,this.wrapS=s,this.wrapT=h,this.magFilter=y,this.minFilter=v,this.anisotropy=o,this.format=g,this.internalFormat=null,this.type=d,this.offset=new Ga(0,0),this.repeat=new Ga(1,1),this.center=new Ga(0,0),this.rotation=0,this.matrixAutoUpdate=!0,this.matrix=new Gn,this.generateMipmaps=!0,this.premultiplyAlpha=!1,this.flipY=!0,this.unpackAlignment=4,this.colorSpace=z,this.userData={},this.updateRanges=[],this.version=0,this.onUpdate=null,this.renderTarget=null,this.isRenderTargetTexture=!1,this.isArrayTexture=!!(n&&n.depth&&n.depth>1),this.pmremVersion=0}get width(){return this.source.getSize(js).x}get height(){return this.source.getSize(js).y}get depth(){return this.source.getSize(js).z}get image(){return this.source.data}set image(n=null){this.source.data=n}updateMatrix(){this.matrix.setUvTransform(this.offset.x,this.offset.y,this.repeat.x,this.repeat.y,this.rotation,this.center.x,this.center.y)}addUpdateRange(n,c){this.updateRanges.push({start:n,count:c})}clearUpdateRanges(){this.updateRanges.length=0}clone(){return new this.constructor().copy(this)}copy(n){return this.name=n.name,this.source=n.source,this.mipmaps=n.mipmaps.slice(0),this.mapping=n.mapping,this.channel=n.channel,this.wrapS=n.wrapS,this.wrapT=n.wrapT,this.magFilter=n.magFilter,this.minFilter=n.minFilter,this.anisotropy=n.anisotropy,this.format=n.format,this.internalFormat=n.internalFormat,this.type=n.type,this.offset.copy(n.offset),this.repeat.copy(n.repeat),this.center.copy(n.center),this.rotation=n.rotation,this.matrixAutoUpdate=n.matrixAutoUpdate,this.matrix.copy(n.matrix),this.generateMipmaps=n.generateMipmaps,this.premultiplyAlpha=n.premultiplyAlpha,this.flipY=n.flipY,this.unpackAlignment=n.unpackAlignment,this.colorSpace=n.colorSpace,this.renderTarget=n.renderTarget,this.isRenderTargetTexture=n.isRenderTargetTexture,this.isArrayTexture=n.isArrayTexture,this.userData=JSON.parse(JSON.stringify(n.userData)),this.needsUpdate=!0,this}setValues(n){for(const c in n){const s=n[c];if(s===void 0){Ie(`Texture.setValues(): parameter '${c}' has value of undefined.`);continue}const h=this[c];if(h===void 0){Ie(`Texture.setValues(): property '${c}' does not exist.`);continue}h&&s&&h.isVector2&&s.isVector2||h&&s&&h.isVector3&&s.isVector3||h&&s&&h.isMatrix3&&s.isMatrix3?h.copy(s):this[c]=s}}toJSON(n){const c=n===void 0||typeof n=="string";if(!c&&n.textures[this.uuid]!==void 0)return n.textures[this.uuid];const s={metadata:{version:4.7,type:"Texture",generator:"Texture.toJSON"},uuid:this.uuid,name:this.name,image:this.source.toJSON(n).uuid,mapping:this.mapping,channel:this.channel,repeat:[this.repeat.x,this.repeat.y],offset:[this.offset.x,this.offset.y],center:[this.center.x,this.center.y],rotation:this.rotation,wrap:[this.wrapS,this.wrapT],format:this.format,internalFormat:this.internalFormat,type:this.type,colorSpace:this.colorSpace,minFilter:this.minFilter,magFilter:this.magFilter,anisotropy:this.anisotropy,flipY:this.flipY,generateMipmaps:this.generateMipmaps,premultiplyAlpha:this.premultiplyAlpha,unpackAlignment:this.unpackAlignment};return Object.keys(this.userData).length>0&&(s.userData=this.userData),c||(n.textures[this.uuid]=s),s}dispose(){this.dispatchEvent({type:"dispose"})}transformUv(n){if(this.mapping!==z0)return n;if(n.applyMatrix3(this.matrix),n.x<0||n.x>1)switch(this.wrapS){case a0:n.x=n.x-Math.floor(n.x);break;case uu:n.x=n.x<0?0:1;break;case n0:Math.abs(Math.floor(n.x)%2)===1?n.x=Math.ceil(n.x)-n.x:n.x=n.x-Math.floor(n.x);break}if(n.y<0||n.y>1)switch(this.wrapT){case a0:n.y=n.y-Math.floor(n.y);break;case uu:n.y=n.y<0?0:1;break;case n0:Math.abs(Math.floor(n.y)%2)===1?n.y=Math.ceil(n.y)-n.y:n.y=n.y-Math.floor(n.y);break}return this.flipY&&(n.y=1-n.y),n}set needsUpdate(n){n===!0&&(this.version++,this.source.needsUpdate=!0)}set needsPMREMUpdate(n){n===!0&&this.pmremVersion++}}ke.DEFAULT_IMAGE=null;ke.DEFAULT_MAPPING=z0;ke.DEFAULT_ANISOTROPY=1;class ne{constructor(n,c,s,h,y,v,g,d,o,z,_,E,T,U,q,Z){ne.prototype.isMatrix4=!0,this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],n!==void 0&&this.set(n,c,s,h,y,v,g,d,o,z,_,E,T,U,q,Z)}set(n,c,s,h,y,v,g,d,o,z,_,E,T,U,q,Z){const B=this.elements;return B[0]=n,B[4]=c,B[8]=s,B[12]=h,B[1]=y,B[5]=v,B[9]=g,B[13]=d,B[2]=o,B[6]=z,B[10]=_,B[14]=E,B[3]=T,B[7]=U,B[11]=q,B[15]=Z,this}identity(){return this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1),this}clone(){return new ne().fromArray(this.elements)}copy(n){const c=this.elements,s=n.elements;return c[0]=s[0],c[1]=s[1],c[2]=s[2],c[3]=s[3],c[4]=s[4],c[5]=s[5],c[6]=s[6],c[7]=s[7],c[8]=s[8],c[9]=s[9],c[10]=s[10],c[11]=s[11],c[12]=s[12],c[13]=s[13],c[14]=s[14],c[15]=s[15],this}copyPosition(n){const c=this.elements,s=n.elements;return c[12]=s[12],c[13]=s[13],c[14]=s[14],this}setFromMatrix3(n){const c=n.elements;return this.set(c[0],c[3],c[6],0,c[1],c[4],c[7],0,c[2],c[5],c[8],0,0,0,0,1),this}extractBasis(n,c,s){return this.determinant()===0?(n.set(1,0,0),c.set(0,1,0),s.set(0,0,1),this):(n.setFromMatrixColumn(this,0),c.setFromMatrixColumn(this,1),s.setFromMatrixColumn(this,2),this)}makeBasis(n,c,s){return this.set(n.x,c.x,s.x,0,n.y,c.y,s.y,0,n.z,c.z,s.z,0,0,0,0,1),this}extractRotation(n){if(n.determinant()===0)return this.identity();const c=this.elements,s=n.elements,h=1/Xa.setFromMatrixColumn(n,0).length(),y=1/Xa.setFromMatrixColumn(n,1).length(),v=1/Xa.setFromMatrixColumn(n,2).length();return c[0]=s[0]*h,c[1]=s[1]*h,c[2]=s[2]*h,c[3]=0,c[4]=s[4]*y,c[5]=s[5]*y,c[6]=s[6]*y,c[7]=0,c[8]=s[8]*v,c[9]=s[9]*v,c[10]=s[10]*v,c[11]=0,c[12]=0,c[13]=0,c[14]=0,c[15]=1,this}makeRotationFromEuler(n){const c=this.elements,s=n.x,h=n.y,y=n.z,v=Math.cos(s),g=Math.sin(s),d=Math.cos(h),o=Math.sin(h),z=Math.cos(y),_=Math.sin(y);if(n.order==="XYZ"){const E=v*z,T=v*_,U=g*z,q=g*_;c[0]=d*z,c[4]=-d*_,c[8]=o,c[1]=T+U*o,c[5]=E-q*o,c[9]=-g*d,c[2]=q-E*o,c[6]=U+T*o,c[10]=v*d}else if(n.order==="YXZ"){const E=d*z,T=d*_,U=o*z,q=o*_;c[0]=E+q*g,c[4]=U*g-T,c[8]=v*o,c[1]=v*_,c[5]=v*z,c[9]=-g,c[2]=T*g-U,c[6]=q+E*g,c[10]=v*d}else if(n.order==="ZXY"){const E=d*z,T=d*_,U=o*z,q=o*_;c[0]=E-q*g,c[4]=-v*_,c[8]=U+T*g,c[1]=T+U*g,c[5]=v*z,c[9]=q-E*g,c[2]=-v*o,c[6]=g,c[10]=v*d}else if(n.order==="ZYX"){const E=v*z,T=v*_,U=g*z,q=g*_;c[0]=d*z,c[4]=U*o-T,c[8]=E*o+q,c[1]=d*_,c[5]=q*o+E,c[9]=T*o-U,c[2]=-o,c[6]=g*d,c[10]=v*d}else if(n.order==="YZX"){const E=v*d,T=v*o,U=g*d,q=g*o;c[0]=d*z,c[4]=q-E*_,c[8]=U*_+T,c[1]=_,c[5]=v*z,c[9]=-g*z,c[2]=-o*z,c[6]=T*_+U,c[10]=E-q*_}else if(n.order==="XZY"){const E=v*d,T=v*o,U=g*d,q=g*o;c[0]=d*z,c[4]=-_,c[8]=o*z,c[1]=E*_+q,c[5]=v*z,c[9]=T*_-U,c[2]=U*_-T,c[6]=g*z,c[10]=q*_+E}return c[3]=0,c[7]=0,c[11]=0,c[12]=0,c[13]=0,c[14]=0,c[15]=1,this}makeRotationFromQuaternion(n){return this.compose(rm,n,om)}lookAt(n,c,s){const h=this.elements;return pl.subVectors(n,c),pl.lengthSq()===0&&(pl.z=1),pl.normalize(),De.crossVectors(s,pl),De.lengthSq()===0&&(Math.abs(s.z)===1?pl.x+=1e-4:pl.z+=1e-4,pl.normalize(),De.crossVectors(s,pl)),De.normalize(),su.crossVectors(pl,De),h[0]=De.x,h[4]=su.x,h[8]=pl.x,h[1]=De.y,h[5]=su.y,h[9]=pl.y,h[2]=De.z,h[6]=su.z,h[10]=pl.z,this}multiply(n){return this.multiplyMatrices(this,n)}premultiply(n){return this.multiplyMatrices(n,this)}multiplyMatrices(n,c){const s=n.elements,h=c.elements,y=this.elements,v=s[0],g=s[4],d=s[8],o=s[12],z=s[1],_=s[5],E=s[9],T=s[13],U=s[2],q=s[6],Z=s[10],B=s[14],W=s[3],k=s[7],et=s[11],tt=s[15],$=h[0],Q=h[4],At=h[8],Zt=h[12],$t=h[1],Qt=h[5],Mt=h[9],tl=h[13],ll=h[2],Wt=h[6],D=h[10],X=h[14],K=h[3],ft=h[7],ht=h[11],p=h[15];return y[0]=v*$+g*$t+d*ll+o*K,y[4]=v*Q+g*Qt+d*Wt+o*ft,y[8]=v*At+g*Mt+d*D+o*ht,y[12]=v*Zt+g*tl+d*X+o*p,y[1]=z*$+_*$t+E*ll+T*K,y[5]=z*Q+_*Qt+E*Wt+T*ft,y[9]=z*At+_*Mt+E*D+T*ht,y[13]=z*Zt+_*tl+E*X+T*p,y[2]=U*$+q*$t+Z*ll+B*K,y[6]=U*Q+q*Qt+Z*Wt+B*ft,y[10]=U*At+q*Mt+Z*D+B*ht,y[14]=U*Zt+q*tl+Z*X+B*p,y[3]=W*$+k*$t+et*ll+tt*K,y[7]=W*Q+k*Qt+et*Wt+tt*ft,y[11]=W*At+k*Mt+et*D+tt*ht,y[15]=W*Zt+k*tl+et*X+tt*p,this}multiplyScalar(n){const c=this.elements;return c[0]*=n,c[4]*=n,c[8]*=n,c[12]*=n,c[1]*=n,c[5]*=n,c[9]*=n,c[13]*=n,c[2]*=n,c[6]*=n,c[10]*=n,c[14]*=n,c[3]*=n,c[7]*=n,c[11]*=n,c[15]*=n,this}determinant(){const n=this.elements,c=n[0],s=n[4],h=n[8],y=n[12],v=n[1],g=n[5],d=n[9],o=n[13],z=n[2],_=n[6],E=n[10],T=n[14],U=n[3],q=n[7],Z=n[11],B=n[15],W=d*T-o*E,k=g*T-o*_,et=g*E-d*_,tt=v*T-o*z,$=v*E-d*z,Q=v*_-g*z;return c*(q*W-Z*k+B*et)-s*(U*W-Z*tt+B*$)+h*(U*k-q*tt+B*Q)-y*(U*et-q*$+Z*Q)}transpose(){const n=this.elements;let c;return c=n[1],n[1]=n[4],n[4]=c,c=n[2],n[2]=n[8],n[8]=c,c=n[6],n[6]=n[9],n[9]=c,c=n[3],n[3]=n[12],n[12]=c,c=n[7],n[7]=n[13],n[13]=c,c=n[11],n[11]=n[14],n[14]=c,this}setPosition(n,c,s){const h=this.elements;return n.isVector3?(h[12]=n.x,h[13]=n.y,h[14]=n.z):(h[12]=n,h[13]=c,h[14]=s),this}invert(){const n=this.elements,c=n[0],s=n[1],h=n[2],y=n[3],v=n[4],g=n[5],d=n[6],o=n[7],z=n[8],_=n[9],E=n[10],T=n[11],U=n[12],q=n[13],Z=n[14],B=n[15],W=_*Z*o-q*E*o+q*d*T-g*Z*T-_*d*B+g*E*B,k=U*E*o-z*Z*o-U*d*T+v*Z*T+z*d*B-v*E*B,et=z*q*o-U*_*o+U*g*T-v*q*T-z*g*B+v*_*B,tt=U*_*d-z*q*d-U*g*E+v*q*E+z*g*Z-v*_*Z,$=c*W+s*k+h*et+y*tt;if($===0)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);const Q=1/$;return n[0]=W*Q,n[1]=(q*E*y-_*Z*y-q*h*T+s*Z*T+_*h*B-s*E*B)*Q,n[2]=(g*Z*y-q*d*y+q*h*o-s*Z*o-g*h*B+s*d*B)*Q,n[3]=(_*d*y-g*E*y-_*h*o+s*E*o+g*h*T-s*d*T)*Q,n[4]=k*Q,n[5]=(z*Z*y-U*E*y+U*h*T-c*Z*T-z*h*B+c*E*B)*Q,n[6]=(U*d*y-v*Z*y-U*h*o+c*Z*o+v*h*B-c*d*B)*Q,n[7]=(v*E*y-z*d*y+z*h*o-c*E*o-v*h*T+c*d*T)*Q,n[8]=et*Q,n[9]=(U*_*y-z*q*y-U*s*T+c*q*T+z*s*B-c*_*B)*Q,n[10]=(v*q*y-U*g*y+U*s*o-c*q*o-v*s*B+c*g*B)*Q,n[11]=(z*g*y-v*_*y-z*s*o+c*_*o+v*s*T-c*g*T)*Q,n[12]=tt*Q,n[13]=(z*q*h-U*_*h+U*s*E-c*q*E-z*s*Z+c*_*Z)*Q,n[14]=(U*g*h-v*q*h-U*s*d+c*q*d+v*s*Z-c*g*Z)*Q,n[15]=(v*_*h-z*g*h+z*s*d-c*_*d-v*s*E+c*g*E)*Q,this}scale(n){const c=this.elements,s=n.x,h=n.y,y=n.z;return c[0]*=s,c[4]*=h,c[8]*=y,c[1]*=s,c[5]*=h,c[9]*=y,c[2]*=s,c[6]*=h,c[10]*=y,c[3]*=s,c[7]*=h,c[11]*=y,this}getMaxScaleOnAxis(){const n=this.elements,c=n[0]*n[0]+n[1]*n[1]+n[2]*n[2],s=n[4]*n[4]+n[5]*n[5]+n[6]*n[6],h=n[8]*n[8]+n[9]*n[9]+n[10]*n[10];return Math.sqrt(Math.max(c,s,h))}makeTranslation(n,c,s){return n.isVector3?this.set(1,0,0,n.x,0,1,0,n.y,0,0,1,n.z,0,0,0,1):this.set(1,0,0,n,0,1,0,c,0,0,1,s,0,0,0,1),this}makeRotationX(n){const c=Math.cos(n),s=Math.sin(n);return this.set(1,0,0,0,0,c,-s,0,0,s,c,0,0,0,0,1),this}makeRotationY(n){const c=Math.cos(n),s=Math.sin(n);return this.set(c,0,s,0,0,1,0,0,-s,0,c,0,0,0,0,1),this}makeRotationZ(n){const c=Math.cos(n),s=Math.sin(n);return this.set(c,-s,0,0,s,c,0,0,0,0,1,0,0,0,0,1),this}makeRotationAxis(n,c){const s=Math.cos(c),h=Math.sin(c),y=1-s,v=n.x,g=n.y,d=n.z,o=y*v,z=y*g;return this.set(o*v+s,o*g-h*d,o*d+h*g,0,o*g+h*d,z*g+s,z*d-h*v,0,o*d-h*g,z*d+h*v,y*d*d+s,0,0,0,0,1),this}makeScale(n,c,s){return this.set(n,0,0,0,0,c,0,0,0,0,s,0,0,0,0,1),this}makeShear(n,c,s,h,y,v){return this.set(1,s,y,0,n,1,v,0,c,h,1,0,0,0,0,1),this}compose(n,c,s){const h=this.elements,y=c._x,v=c._y,g=c._z,d=c._w,o=y+y,z=v+v,_=g+g,E=y*o,T=y*z,U=y*_,q=v*z,Z=v*_,B=g*_,W=d*o,k=d*z,et=d*_,tt=s.x,$=s.y,Q=s.z;return h[0]=(1-(q+B))*tt,h[1]=(T+et)*tt,h[2]=(U-k)*tt,h[3]=0,h[4]=(T-et)*$,h[5]=(1-(E+B))*$,h[6]=(Z+W)*$,h[7]=0,h[8]=(U+k)*Q,h[9]=(Z-W)*Q,h[10]=(1-(E+q))*Q,h[11]=0,h[12]=n.x,h[13]=n.y,h[14]=n.z,h[15]=1,this}decompose(n,c,s){const h=this.elements;if(n.x=h[12],n.y=h[13],n.z=h[14],this.determinant()===0)return s.set(1,1,1),c.identity(),this;let y=Xa.set(h[0],h[1],h[2]).length();const v=Xa.set(h[4],h[5],h[6]).length(),g=Xa.set(h[8],h[9],h[10]).length();this.determinant()<0&&(y=-y),Hl.copy(this);const o=1/y,z=1/v,_=1/g;return Hl.elements[0]*=o,Hl.elements[1]*=o,Hl.elements[2]*=o,Hl.elements[4]*=z,Hl.elements[5]*=z,Hl.elements[6]*=z,Hl.elements[8]*=_,Hl.elements[9]*=_,Hl.elements[10]*=_,c.setFromRotationMatrix(Hl),s.x=y,s.y=v,s.z=g,this}makePerspective(n,c,s,h,y,v,g=cu,d=!1){const o=this.elements,z=2*y/(c-n),_=2*y/(s-h),E=(c+n)/(c-n),T=(s+h)/(s-h);let U,q;if(d)U=y/(v-y),q=v*y/(v-y);else if(g===cu)U=-(v+y)/(v-y),q=-2*v*y/(v-y);else if(g===u0)U=-v/(v-y),q=-v*y/(v-y);else throw new Error("THREE.Matrix4.makePerspective(): Invalid coordinate system: "+g);return o[0]=z,o[4]=0,o[8]=E,o[12]=0,o[1]=0,o[5]=_,o[9]=T,o[13]=0,o[2]=0,o[6]=0,o[10]=U,o[14]=q,o[3]=0,o[7]=0,o[11]=-1,o[15]=0,this}makeOrthographic(n,c,s,h,y,v,g=cu,d=!1){const o=this.elements,z=2/(c-n),_=2/(s-h),E=-(c+n)/(c-n),T=-(s+h)/(s-h);let U,q;if(d)U=1/(v-y),q=v/(v-y);else if(g===cu)U=-2/(v-y),q=-(v+y)/(v-y);else if(g===u0)U=-1/(v-y),q=-y/(v-y);else throw new Error("THREE.Matrix4.makeOrthographic(): Invalid coordinate system: "+g);return o[0]=z,o[4]=0,o[8]=0,o[12]=E,o[1]=0,o[5]=_,o[9]=0,o[13]=T,o[2]=0,o[6]=0,o[10]=U,o[14]=q,o[3]=0,o[7]=0,o[11]=0,o[15]=1,this}equals(n){const c=this.elements,s=n.elements;for(let h=0;h<16;h++)if(c[h]!==s[h])return!1;return!0}fromArray(n,c=0){for(let s=0;s<16;s++)this.elements[s]=n[s+c];return this}toArray(n=[],c=0){const s=this.elements;return n[c]=s[0],n[c+1]=s[1],n[c+2]=s[2],n[c+3]=s[3],n[c+4]=s[4],n[c+5]=s[5],n[c+6]=s[6],n[c+7]=s[7],n[c+8]=s[8],n[c+9]=s[9],n[c+10]=s[10],n[c+11]=s[11],n[c+12]=s[12],n[c+13]=s[13],n[c+14]=s[14],n[c+15]=s[15],n}}const Xa=new Rt,Hl=new ne,rm=new Rt(0,0,0),om=new Rt(1,1,1),De=new Rt,su=new Rt,pl=new Rt,h0=new ne,r0=new jn;class ru{constructor(n=0,c=0,s=0,h=ru.DEFAULT_ORDER){this.isEuler=!0,this._x=n,this._y=c,this._z=s,this._order=h}get x(){return this._x}set x(n){this._x=n,this._onChangeCallback()}get y(){return this._y}set y(n){this._y=n,this._onChangeCallback()}get z(){return this._z}set z(n){this._z=n,this._onChangeCallback()}get order(){return this._order}set order(n){this._order=n,this._onChangeCallback()}set(n,c,s,h=this._order){return this._x=n,this._y=c,this._z=s,this._order=h,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._order)}copy(n){return this._x=n._x,this._y=n._y,this._z=n._z,this._order=n._order,this._onChangeCallback(),this}setFromRotationMatrix(n,c=this._order,s=!0){const h=n.elements,y=h[0],v=h[4],g=h[8],d=h[1],o=h[5],z=h[9],_=h[2],E=h[6],T=h[10];switch(c){case"XYZ":this._y=Math.asin(Ct(g,-1,1)),Math.abs(g)<.9999999?(this._x=Math.atan2(-z,T),this._z=Math.atan2(-v,y)):(this._x=Math.atan2(E,o),this._z=0);break;case"YXZ":this._x=Math.asin(-Ct(z,-1,1)),Math.abs(z)<.9999999?(this._y=Math.atan2(g,T),this._z=Math.atan2(d,o)):(this._y=Math.atan2(-_,y),this._z=0);break;case"ZXY":this._x=Math.asin(Ct(E,-1,1)),Math.abs(E)<.9999999?(this._y=Math.atan2(-_,T),this._z=Math.atan2(-v,o)):(this._y=0,this._z=Math.atan2(d,y));break;case"ZYX":this._y=Math.asin(-Ct(_,-1,1)),Math.abs(_)<.9999999?(this._x=Math.atan2(E,T),this._z=Math.atan2(d,y)):(this._x=0,this._z=Math.atan2(-v,o));break;case"YZX":this._z=Math.asin(Ct(d,-1,1)),Math.abs(d)<.9999999?(this._x=Math.atan2(-z,o),this._y=Math.atan2(-_,y)):(this._x=0,this._y=Math.atan2(g,T));break;case"XZY":this._z=Math.asin(-Ct(v,-1,1)),Math.abs(v)<.9999999?(this._x=Math.atan2(E,o),this._y=Math.atan2(g,y)):(this._x=Math.atan2(-z,T),this._y=0);break;default:Ie("Euler: .setFromRotationMatrix() encountered an unknown order: "+c)}return this._order=c,s===!0&&this._onChangeCallback(),this}setFromQuaternion(n,c,s){return h0.makeRotationFromQuaternion(n),this.setFromRotationMatrix(h0,c,s)}setFromVector3(n,c=this._order){return this.set(n.x,n.y,n.z,c)}reorder(n){return r0.setFromEuler(this),this.setFromQuaternion(r0,n)}equals(n){return n._x===this._x&&n._y===this._y&&n._z===this._z&&n._order===this._order}fromArray(n){return this._x=n[0],this._y=n[1],this._z=n[2],n[3]!==void 0&&(this._order=n[3]),this._onChangeCallback(),this}toArray(n=[],c=0){return n[c]=this._x,n[c+1]=this._y,n[c+2]=this._z,n[c+3]=this._order,n}_onChange(n){return this._onChangeCallback=n,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._order}}ru.DEFAULT_ORDER="XYZ";class ym{constructor(){this.mask=1}set(n){this.mask=(1<<n|0)>>>0}enable(n){this.mask|=1<<n|0}enableAll(){this.mask=-1}toggle(n){this.mask^=1<<n|0}disable(n){this.mask&=~(1<<n|0)}disableAll(){this.mask=0}test(n){return(this.mask&n.mask)!==0}isEnabled(n){return(this.mask&(1<<n|0))!==0}}let dm=0;const o0=new Rt,Qa=new jn,ae=new ne,fu=new Rt,Qn=new Rt,mm=new Rt,vm=new jn,y0=new Rt(1,0,0),d0=new Rt(0,1,0),m0=new Rt(0,0,1),v0={type:"added"},gm={type:"removed"},ja={type:"childadded",child:null},Gs={type:"childremoved",child:null};class $e extends p0{constructor(){super(),this.isObject3D=!0,Object.defineProperty(this,"id",{value:dm++}),this.uuid=Vs(),this.name="",this.type="Object3D",this.parent=null,this.children=[],this.up=$e.DEFAULT_UP.clone();const n=new Rt,c=new ru,s=new jn,h=new Rt(1,1,1);function y(){s.setFromEuler(c,!1)}function v(){c.setFromQuaternion(s,void 0,!1)}c._onChange(y),s._onChange(v),Object.defineProperties(this,{position:{configurable:!0,enumerable:!0,value:n},rotation:{configurable:!0,enumerable:!0,value:c},quaternion:{configurable:!0,enumerable:!0,value:s},scale:{configurable:!0,enumerable:!0,value:h},modelViewMatrix:{value:new ne},normalMatrix:{value:new Gn}}),this.matrix=new ne,this.matrixWorld=new ne,this.matrixAutoUpdate=$e.DEFAULT_MATRIX_AUTO_UPDATE,this.matrixWorldAutoUpdate=$e.DEFAULT_MATRIX_WORLD_AUTO_UPDATE,this.matrixWorldNeedsUpdate=!1,this.layers=new ym,this.visible=!0,this.castShadow=!1,this.receiveShadow=!1,this.frustumCulled=!0,this.renderOrder=0,this.animations=[],this.customDepthMaterial=void 0,this.customDistanceMaterial=void 0,this.userData={}}onBeforeShadow(){}onAfterShadow(){}onBeforeRender(){}onAfterRender(){}applyMatrix4(n){this.matrixAutoUpdate&&this.updateMatrix(),this.matrix.premultiply(n),this.matrix.decompose(this.position,this.quaternion,this.scale)}applyQuaternion(n){return this.quaternion.premultiply(n),this}setRotationFromAxisAngle(n,c){this.quaternion.setFromAxisAngle(n,c)}setRotationFromEuler(n){this.quaternion.setFromEuler(n,!0)}setRotationFromMatrix(n){this.quaternion.setFromRotationMatrix(n)}setRotationFromQuaternion(n){this.quaternion.copy(n)}rotateOnAxis(n,c){return Qa.setFromAxisAngle(n,c),this.quaternion.multiply(Qa),this}rotateOnWorldAxis(n,c){return Qa.setFromAxisAngle(n,c),this.quaternion.premultiply(Qa),this}rotateX(n){return this.rotateOnAxis(y0,n)}rotateY(n){return this.rotateOnAxis(d0,n)}rotateZ(n){return this.rotateOnAxis(m0,n)}translateOnAxis(n,c){return o0.copy(n).applyQuaternion(this.quaternion),this.position.add(o0.multiplyScalar(c)),this}translateX(n){return this.translateOnAxis(y0,n)}translateY(n){return this.translateOnAxis(d0,n)}translateZ(n){return this.translateOnAxis(m0,n)}localToWorld(n){return this.updateWorldMatrix(!0,!1),n.applyMatrix4(this.matrixWorld)}worldToLocal(n){return this.updateWorldMatrix(!0,!1),n.applyMatrix4(ae.copy(this.matrixWorld).invert())}lookAt(n,c,s){n.isVector3?fu.copy(n):fu.set(n,c,s);const h=this.parent;this.updateWorldMatrix(!0,!1),Qn.setFromMatrixPosition(this.matrixWorld),this.isCamera||this.isLight?ae.lookAt(Qn,fu,this.up):ae.lookAt(fu,Qn,this.up),this.quaternion.setFromRotationMatrix(ae),h&&(ae.extractRotation(h.matrixWorld),Qa.setFromRotationMatrix(ae),this.quaternion.premultiply(Qa.invert()))}add(n){if(arguments.length>1){for(let c=0;c<arguments.length;c++)this.add(arguments[c]);return this}return n===this?(s0("Object3D.add: object can't be added as a child of itself.",n),this):(n&&n.isObject3D?(n.removeFromParent(),n.parent=this,this.children.push(n),n.dispatchEvent(v0),ja.child=n,this.dispatchEvent(ja),ja.child=null):s0("Object3D.add: object not an instance of THREE.Object3D.",n),this)}remove(n){if(arguments.length>1){for(let s=0;s<arguments.length;s++)this.remove(arguments[s]);return this}const c=this.children.indexOf(n);return c!==-1&&(n.parent=null,this.children.splice(c,1),n.dispatchEvent(gm),Gs.child=n,this.dispatchEvent(Gs),Gs.child=null),this}removeFromParent(){const n=this.parent;return n!==null&&n.remove(this),this}clear(){return this.remove(...this.children)}attach(n){return this.updateWorldMatrix(!0,!1),ae.copy(this.matrixWorld).invert(),n.parent!==null&&(n.parent.updateWorldMatrix(!0,!1),ae.multiply(n.parent.matrixWorld)),n.applyMatrix4(ae),n.removeFromParent(),n.parent=this,this.children.push(n),n.updateWorldMatrix(!1,!0),n.dispatchEvent(v0),ja.child=n,this.dispatchEvent(ja),ja.child=null,this}getObjectById(n){return this.getObjectByProperty("id",n)}getObjectByName(n){return this.getObjectByProperty("name",n)}getObjectByProperty(n,c){if(this[n]===c)return this;for(let s=0,h=this.children.length;s<h;s++){const v=this.children[s].getObjectByProperty(n,c);if(v!==void 0)return v}}getObjectsByProperty(n,c,s=[]){this[n]===c&&s.push(this);const h=this.children;for(let y=0,v=h.length;y<v;y++)h[y].getObjectsByProperty(n,c,s);return s}getWorldPosition(n){return this.updateWorldMatrix(!0,!1),n.setFromMatrixPosition(this.matrixWorld)}getWorldQuaternion(n){return this.updateWorldMatrix(!0,!1),this.matrixWorld.decompose(Qn,n,mm),n}getWorldScale(n){return this.updateWorldMatrix(!0,!1),this.matrixWorld.decompose(Qn,vm,n),n}getWorldDirection(n){this.updateWorldMatrix(!0,!1);const c=this.matrixWorld.elements;return n.set(c[8],c[9],c[10]).normalize()}raycast(){}traverse(n){n(this);const c=this.children;for(let s=0,h=c.length;s<h;s++)c[s].traverse(n)}traverseVisible(n){if(this.visible===!1)return;n(this);const c=this.children;for(let s=0,h=c.length;s<h;s++)c[s].traverseVisible(n)}traverseAncestors(n){const c=this.parent;c!==null&&(n(c),c.traverseAncestors(n))}updateMatrix(){this.matrix.compose(this.position,this.quaternion,this.scale),this.matrixWorldNeedsUpdate=!0}updateMatrixWorld(n){this.matrixAutoUpdate&&this.updateMatrix(),(this.matrixWorldNeedsUpdate||n)&&(this.matrixWorldAutoUpdate===!0&&(this.parent===null?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix)),this.matrixWorldNeedsUpdate=!1,n=!0);const c=this.children;for(let s=0,h=c.length;s<h;s++)c[s].updateMatrixWorld(n)}updateWorldMatrix(n,c){const s=this.parent;if(n===!0&&s!==null&&s.updateWorldMatrix(!0,!1),this.matrixAutoUpdate&&this.updateMatrix(),this.matrixWorldAutoUpdate===!0&&(this.parent===null?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix)),c===!0){const h=this.children;for(let y=0,v=h.length;y<v;y++)h[y].updateWorldMatrix(!1,!0)}}toJSON(n){const c=n===void 0||typeof n=="string",s={};c&&(n={geometries:{},materials:{},textures:{},images:{},shapes:{},skeletons:{},animations:{},nodes:{}},s.metadata={version:4.7,type:"Object",generator:"Object3D.toJSON"});const h={};h.uuid=this.uuid,h.type=this.type,this.name!==""&&(h.name=this.name),this.castShadow===!0&&(h.castShadow=!0),this.receiveShadow===!0&&(h.receiveShadow=!0),this.visible===!1&&(h.visible=!1),this.frustumCulled===!1&&(h.frustumCulled=!1),this.renderOrder!==0&&(h.renderOrder=this.renderOrder),Object.keys(this.userData).length>0&&(h.userData=this.userData),h.layers=this.layers.mask,h.matrix=this.matrix.toArray(),h.up=this.up.toArray(),this.matrixAutoUpdate===!1&&(h.matrixAutoUpdate=!1),this.isInstancedMesh&&(h.type="InstancedMesh",h.count=this.count,h.instanceMatrix=this.instanceMatrix.toJSON(),this.instanceColor!==null&&(h.instanceColor=this.instanceColor.toJSON())),this.isBatchedMesh&&(h.type="BatchedMesh",h.perObjectFrustumCulled=this.perObjectFrustumCulled,h.sortObjects=this.sortObjects,h.drawRanges=this._drawRanges,h.reservedRanges=this._reservedRanges,h.geometryInfo=this._geometryInfo.map(g=>({...g,boundingBox:g.boundingBox?g.boundingBox.toJSON():void 0,boundingSphere:g.boundingSphere?g.boundingSphere.toJSON():void 0})),h.instanceInfo=this._instanceInfo.map(g=>({...g})),h.availableInstanceIds=this._availableInstanceIds.slice(),h.availableGeometryIds=this._availableGeometryIds.slice(),h.nextIndexStart=this._nextIndexStart,h.nextVertexStart=this._nextVertexStart,h.geometryCount=this._geometryCount,h.maxInstanceCount=this._maxInstanceCount,h.maxVertexCount=this._maxVertexCount,h.maxIndexCount=this._maxIndexCount,h.geometryInitialized=this._geometryInitialized,h.matricesTexture=this._matricesTexture.toJSON(n),h.indirectTexture=this._indirectTexture.toJSON(n),this._colorsTexture!==null&&(h.colorsTexture=this._colorsTexture.toJSON(n)),this.boundingSphere!==null&&(h.boundingSphere=this.boundingSphere.toJSON()),this.boundingBox!==null&&(h.boundingBox=this.boundingBox.toJSON()));function y(g,d){return g[d.uuid]===void 0&&(g[d.uuid]=d.toJSON(n)),d.uuid}if(this.isScene)this.background&&(this.background.isColor?h.background=this.background.toJSON():this.background.isTexture&&(h.background=this.background.toJSON(n).uuid)),this.environment&&this.environment.isTexture&&this.environment.isRenderTargetTexture!==!0&&(h.environment=this.environment.toJSON(n).uuid);else if(this.isMesh||this.isLine||this.isPoints){h.geometry=y(n.geometries,this.geometry);const g=this.geometry.parameters;if(g!==void 0&&g.shapes!==void 0){const d=g.shapes;if(Array.isArray(d))for(let o=0,z=d.length;o<z;o++){const _=d[o];y(n.shapes,_)}else y(n.shapes,d)}}if(this.isSkinnedMesh&&(h.bindMode=this.bindMode,h.bindMatrix=this.bindMatrix.toArray(),this.skeleton!==void 0&&(y(n.skeletons,this.skeleton),h.skeleton=this.skeleton.uuid)),this.material!==void 0)if(Array.isArray(this.material)){const g=[];for(let d=0,o=this.material.length;d<o;d++)g.push(y(n.materials,this.material[d]));h.material=g}else h.material=y(n.materials,this.material);if(this.children.length>0){h.children=[];for(let g=0;g<this.children.length;g++)h.children.push(this.children[g].toJSON(n).object)}if(this.animations.length>0){h.animations=[];for(let g=0;g<this.animations.length;g++){const d=this.animations[g];h.animations.push(y(n.animations,d))}}if(c){const g=v(n.geometries),d=v(n.materials),o=v(n.textures),z=v(n.images),_=v(n.shapes),E=v(n.skeletons),T=v(n.animations),U=v(n.nodes);g.length>0&&(s.geometries=g),d.length>0&&(s.materials=d),o.length>0&&(s.textures=o),z.length>0&&(s.images=z),_.length>0&&(s.shapes=_),E.length>0&&(s.skeletons=E),T.length>0&&(s.animations=T),U.length>0&&(s.nodes=U)}return s.object=h,s;function v(g){const d=[];for(const o in g){const z=g[o];delete z.metadata,d.push(z)}return d}}clone(n){return new this.constructor().copy(this,n)}copy(n,c=!0){if(this.name=n.name,this.up.copy(n.up),this.position.copy(n.position),this.rotation.order=n.rotation.order,this.quaternion.copy(n.quaternion),this.scale.copy(n.scale),this.matrix.copy(n.matrix),this.matrixWorld.copy(n.matrixWorld),this.matrixAutoUpdate=n.matrixAutoUpdate,this.matrixWorldAutoUpdate=n.matrixWorldAutoUpdate,this.matrixWorldNeedsUpdate=n.matrixWorldNeedsUpdate,this.layers.mask=n.layers.mask,this.visible=n.visible,this.castShadow=n.castShadow,this.receiveShadow=n.receiveShadow,this.frustumCulled=n.frustumCulled,this.renderOrder=n.renderOrder,this.animations=n.animations.slice(),this.userData=JSON.parse(JSON.stringify(n.userData)),c===!0)for(let s=0;s<n.children.length;s++){const h=n.children[s];this.add(h.clone())}return this}}$e.DEFAULT_UP=new Rt(0,1,0);$e.DEFAULT_MATRIX_AUTO_UPDATE=!0;$e.DEFAULT_MATRIX_WORLD_AUTO_UPDATE=!0;const Bt=new Rt,hu=new Ga;let Sm=0;class g0{constructor(n,c,s=!1){if(Array.isArray(n))throw new TypeError("THREE.BufferAttribute: array should be a Typed Array.");this.isBufferAttribute=!0,Object.defineProperty(this,"id",{value:Sm++}),this.name="",this.array=n,this.itemSize=c,this.count=n!==void 0?n.length/c:0,this.normalized=s,this.usage=i0,this.updateRanges=[],this.gpuType=nm,this.version=0}onUploadCallback(){}set needsUpdate(n){n===!0&&this.version++}setUsage(n){return this.usage=n,this}addUpdateRange(n,c){this.updateRanges.push({start:n,count:c})}clearUpdateRanges(){this.updateRanges.length=0}copy(n){return this.name=n.name,this.array=new n.array.constructor(n.array),this.itemSize=n.itemSize,this.count=n.count,this.normalized=n.normalized,this.usage=n.usage,this.gpuType=n.gpuType,this}copyAt(n,c,s){n*=this.itemSize,s*=c.itemSize;for(let h=0,y=this.itemSize;h<y;h++)this.array[n+h]=c.array[s+h];return this}copyArray(n){return this.array.set(n),this}applyMatrix3(n){if(this.itemSize===2)for(let c=0,s=this.count;c<s;c++)hu.fromBufferAttribute(this,c),hu.applyMatrix3(n),this.setXY(c,hu.x,hu.y);else if(this.itemSize===3)for(let c=0,s=this.count;c<s;c++)Bt.fromBufferAttribute(this,c),Bt.applyMatrix3(n),this.setXYZ(c,Bt.x,Bt.y,Bt.z);return this}applyMatrix4(n){for(let c=0,s=this.count;c<s;c++)Bt.fromBufferAttribute(this,c),Bt.applyMatrix4(n),this.setXYZ(c,Bt.x,Bt.y,Bt.z);return this}applyNormalMatrix(n){for(let c=0,s=this.count;c<s;c++)Bt.fromBufferAttribute(this,c),Bt.applyNormalMatrix(n),this.setXYZ(c,Bt.x,Bt.y,Bt.z);return this}transformDirection(n){for(let c=0,s=this.count;c<s;c++)Bt.fromBufferAttribute(this,c),Bt.transformDirection(n),this.setXYZ(c,Bt.x,Bt.y,Bt.z);return this}set(n,c=0){return this.array.set(n,c),this}getComponent(n,c){let s=this.array[n*this.itemSize+c];return this.normalized&&(s=Xn(s,this.array)),s}setComponent(n,c,s){return this.normalized&&(s=fl(s,this.array)),this.array[n*this.itemSize+c]=s,this}getX(n){let c=this.array[n*this.itemSize];return this.normalized&&(c=Xn(c,this.array)),c}setX(n,c){return this.normalized&&(c=fl(c,this.array)),this.array[n*this.itemSize]=c,this}getY(n){let c=this.array[n*this.itemSize+1];return this.normalized&&(c=Xn(c,this.array)),c}setY(n,c){return this.normalized&&(c=fl(c,this.array)),this.array[n*this.itemSize+1]=c,this}getZ(n){let c=this.array[n*this.itemSize+2];return this.normalized&&(c=Xn(c,this.array)),c}setZ(n,c){return this.normalized&&(c=fl(c,this.array)),this.array[n*this.itemSize+2]=c,this}getW(n){let c=this.array[n*this.itemSize+3];return this.normalized&&(c=Xn(c,this.array)),c}setW(n,c){return this.normalized&&(c=fl(c,this.array)),this.array[n*this.itemSize+3]=c,this}setXY(n,c,s){return n*=this.itemSize,this.normalized&&(c=fl(c,this.array),s=fl(s,this.array)),this.array[n+0]=c,this.array[n+1]=s,this}setXYZ(n,c,s,h){return n*=this.itemSize,this.normalized&&(c=fl(c,this.array),s=fl(s,this.array),h=fl(h,this.array)),this.array[n+0]=c,this.array[n+1]=s,this.array[n+2]=h,this}setXYZW(n,c,s,h,y){return n*=this.itemSize,this.normalized&&(c=fl(c,this.array),s=fl(s,this.array),h=fl(h,this.array),y=fl(y,this.array)),this.array[n+0]=c,this.array[n+1]=s,this.array[n+2]=h,this.array[n+3]=y,this}onUpload(n){return this.onUploadCallback=n,this}clone(){return new this.constructor(this.array,this.itemSize).copy(this)}toJSON(){const n={itemSize:this.itemSize,type:this.array.constructor.name,array:Array.from(this.array),normalized:this.normalized};return this.name!==""&&(n.name=this.name),this.usage!==i0&&(n.usage=this.usage),n}}typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("register",{detail:{revision:S0}}));typeof window<"u"&&(window.__THREE__?Ie("WARNING: Multiple instances of Three.js being imported."):window.__THREE__=S0);function Mm(R,n=1e-4){n=Math.max(n,Number.EPSILON);const c={},s=R.getIndex(),h=R.getAttribute("position"),y=s?s.count:h.count;let v=0;const g=Object.keys(R.attributes),d={},o={},z=[],_=["getX","getY","getZ","getW"];for(let q=0,Z=g.length;q<Z;q++){const B=g[q];d[B]=[];const W=R.morphAttributes[B];W&&(o[B]=new Array(W.length).fill(0).map(()=>[]))}const E=Math.log10(1/n),T=Math.pow(10,E);for(let q=0;q<y;q++){const Z=s?s.getX(q):q;let B="";for(let W=0,k=g.length;W<k;W++){const et=g[W],tt=R.getAttribute(et),$=tt.itemSize;for(let Q=0;Q<$;Q++)B+=`${~~(tt[_[Q]](Z)*T)},`}if(B in c)z.push(c[B]);else{for(let W=0,k=g.length;W<k;W++){const et=g[W],tt=R.getAttribute(et),$=R.morphAttributes[et],Q=tt.itemSize,At=d[et],Zt=o[et];for(let $t=0;$t<Q;$t++){const Qt=_[$t];if(At.push(tt[Qt](Z)),$)for(let Mt=0,tl=$.length;Mt<tl;Mt++)Zt[Mt].push($[Mt][Qt](Z))}}c[B]=v,z.push(v),v++}}const U=R.clone();for(let q=0,Z=g.length;q<Z;q++){const B=g[q],W=R.getAttribute(B),k=new W.array.constructor(d[B]),et=new g0(k,W.itemSize,W.normalized);if(U.setAttribute(B,et),B in o)for(let tt=0;tt<o[B].length;tt++){const $=R.morphAttributes[B][tt],Q=new $.array.constructor(o[B][tt]),At=new g0(Q,$.itemSize,$.normalized);U.morphAttributes[B][tt]=At}}return U.setIndex(z),U}export{bm as D,ru as E,ne as M,$e as O,jn as Q,pm as R,Rt as V,_m as c,zm as j,Mm as m,Wd as r};
|