154 lines
543 KiB
JavaScript
154 lines
543 KiB
JavaScript
var q1=s=>{throw TypeError(s)};var E0=(s,c,i)=>c.has(s)||q1("Cannot "+i);var S=(s,c,i)=>(E0(s,c,"read from private field"),i?i.call(s):c.get(s)),ie=(s,c,i)=>c.has(s)?q1("Cannot add the same private member more than once"):c instanceof WeakSet?c.add(s):c.set(s,i),P=(s,c,i,o)=>(E0(s,c,"write to private field"),o?o.call(s,i):c.set(s,i),i),je=(s,c,i)=>(E0(s,c,"access private method"),i);var Fr=(s,c,i,o)=>({set _(d){P(s,c,d,i)},get _(){return S(s,c,o)}});(function(){const c=document.createElement("link").relList;if(c&&c.supports&&c.supports("modulepreload"))return;for(const d of document.querySelectorAll('link[rel="modulepreload"]'))o(d);new MutationObserver(d=>{for(const h of d)if(h.type==="childList")for(const m of h.addedNodes)m.tagName==="LINK"&&m.rel==="modulepreload"&&o(m)}).observe(document,{childList:!0,subtree:!0});function i(d){const h={};return d.integrity&&(h.integrity=d.integrity),d.referrerPolicy&&(h.referrerPolicy=d.referrerPolicy),d.crossOrigin==="use-credentials"?h.credentials="include":d.crossOrigin==="anonymous"?h.credentials="omit":h.credentials="same-origin",h}function o(d){if(d.ep)return;d.ep=!0;const h=i(d);fetch(d.href,h)}})();function $_(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var R0={exports:{}},lc={};/**
|
||
* @license React
|
||
* react-jsx-runtime.production.js
|
||
*
|
||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var $1;function G_(){if($1)return lc;$1=1;var s=Symbol.for("react.transitional.element"),c=Symbol.for("react.fragment");function i(o,d,h){var m=null;if(h!==void 0&&(m=""+h),d.key!==void 0&&(m=""+d.key),"key"in d){h={};for(var p in d)p!=="key"&&(h[p]=d[p])}else h=d;return d=h.ref,{$$typeof:s,type:o,key:m,ref:d!==void 0?d:null,props:h}}return lc.Fragment=c,lc.jsx=i,lc.jsxs=i,lc}var G1;function V_(){return G1||(G1=1,R0.exports=G_()),R0.exports}var l=V_(),A0={exports:{}},ve={};/**
|
||
* @license React
|
||
* react.production.js
|
||
*
|
||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var V1;function F_(){if(V1)return ve;V1=1;var s=Symbol.for("react.transitional.element"),c=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),h=Symbol.for("react.consumer"),m=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),v=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),y=Symbol.for("react.activity"),w=Symbol.iterator;function E(T){return T===null||typeof T!="object"?null:(T=w&&T[w]||T["@@iterator"],typeof T=="function"?T:null)}var A={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},O=Object.assign,N={};function M(T,H,I){this.props=T,this.context=H,this.refs=N,this.updater=I||A}M.prototype.isReactComponent={},M.prototype.setState=function(T,H){if(typeof T!="object"&&typeof T!="function"&&T!=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,T,H,"setState")},M.prototype.forceUpdate=function(T){this.updater.enqueueForceUpdate(this,T,"forceUpdate")};function F(){}F.prototype=M.prototype;function $(T,H,I){this.props=T,this.context=H,this.refs=N,this.updater=I||A}var V=$.prototype=new F;V.constructor=$,O(V,M.prototype),V.isPureReactComponent=!0;var K=Array.isArray;function le(){}var X={H:null,A:null,T:null,S:null},ne=Object.prototype.hasOwnProperty;function de(T,H,I){var J=I.ref;return{$$typeof:s,type:T,key:H,ref:J!==void 0?J:null,props:I}}function he(T,H){return de(T.type,H,T.props)}function _e(T){return typeof T=="object"&&T!==null&&T.$$typeof===s}function De(T){var H={"=":"=0",":":"=2"};return"$"+T.replace(/[=:]/g,function(I){return H[I]})}var se=/\/+/g;function $e(T,H){return typeof T=="object"&&T!==null&&T.key!=null?De(""+T.key):H.toString(36)}function ze(T){switch(T.status){case"fulfilled":return T.value;case"rejected":throw T.reason;default:switch(typeof T.status=="string"?T.then(le,le):(T.status="pending",T.then(function(H){T.status==="pending"&&(T.status="fulfilled",T.value=H)},function(H){T.status==="pending"&&(T.status="rejected",T.reason=H)})),T.status){case"fulfilled":return T.value;case"rejected":throw T.reason}}throw T}function U(T,H,I,J,me){var ge=typeof T;(ge==="undefined"||ge==="boolean")&&(T=null);var Ae=!1;if(T===null)Ae=!0;else switch(ge){case"bigint":case"string":case"number":Ae=!0;break;case"object":switch(T.$$typeof){case s:case c:Ae=!0;break;case x:return Ae=T._init,U(Ae(T._payload),H,I,J,me)}}if(Ae)return me=me(T),Ae=J===""?"."+$e(T,0):J,K(me)?(I="",Ae!=null&&(I=Ae.replace(se,"$&/")+"/"),U(me,H,I,"",function($t){return $t})):me!=null&&(_e(me)&&(me=he(me,I+(me.key==null||T&&T.key===me.key?"":(""+me.key).replace(se,"$&/")+"/")+Ae)),H.push(me)),1;Ae=0;var ot=J===""?".":J+":";if(K(T))for(var ye=0;ye<T.length;ye++)J=T[ye],ge=ot+$e(J,ye),Ae+=U(J,H,I,ge,me);else if(ye=E(T),typeof ye=="function")for(T=ye.call(T),ye=0;!(J=T.next()).done;)J=J.value,ge=ot+$e(J,ye++),Ae+=U(J,H,I,ge,me);else if(ge==="object"){if(typeof T.then=="function")return U(ze(T),H,I,J,me);throw H=String(T),Error("Objects are not valid as a React child (found: "+(H==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":H)+"). If you meant to render a collection of children, use an array instead.")}return Ae}function Q(T,H,I){if(T==null)return T;var J=[],me=0;return U(T,J,"","",function(ge){return H.call(I,ge,me++)}),J}function oe(T){if(T._status===-1){var H=T._result;H=H(),H.then(function(I){(T._status===0||T._status===-1)&&(T._status=1,T._result=I)},function(I){(T._status===0||T._status===-1)&&(T._status=2,T._result=I)}),T._status===-1&&(T._status=0,T._result=H)}if(T._status===1)return T._result.default;throw T._result}var Le=typeof reportError=="function"?reportError:function(T){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var H=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(H))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",T);return}console.error(T)},ke={map:Q,forEach:function(T,H,I){Q(T,function(){H.apply(this,arguments)},I)},count:function(T){var H=0;return Q(T,function(){H++}),H},toArray:function(T){return Q(T,function(H){return H})||[]},only:function(T){if(!_e(T))throw Error("React.Children.only expected to receive a single React element child.");return T}};return ve.Activity=y,ve.Children=ke,ve.Component=M,ve.Fragment=i,ve.Profiler=d,ve.PureComponent=$,ve.StrictMode=o,ve.Suspense=_,ve.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=X,ve.__COMPILER_RUNTIME={__proto__:null,c:function(T){return X.H.useMemoCache(T)}},ve.cache=function(T){return function(){return T.apply(null,arguments)}},ve.cacheSignal=function(){return null},ve.cloneElement=function(T,H,I){if(T==null)throw Error("The argument must be a React element, but you passed "+T+".");var J=O({},T.props),me=T.key;if(H!=null)for(ge in H.key!==void 0&&(me=""+H.key),H)!ne.call(H,ge)||ge==="key"||ge==="__self"||ge==="__source"||ge==="ref"&&H.ref===void 0||(J[ge]=H[ge]);var ge=arguments.length-2;if(ge===1)J.children=I;else if(1<ge){for(var Ae=Array(ge),ot=0;ot<ge;ot++)Ae[ot]=arguments[ot+2];J.children=Ae}return de(T.type,me,J)},ve.createContext=function(T){return T={$$typeof:m,_currentValue:T,_currentValue2:T,_threadCount:0,Provider:null,Consumer:null},T.Provider=T,T.Consumer={$$typeof:h,_context:T},T},ve.createElement=function(T,H,I){var J,me={},ge=null;if(H!=null)for(J in H.key!==void 0&&(ge=""+H.key),H)ne.call(H,J)&&J!=="key"&&J!=="__self"&&J!=="__source"&&(me[J]=H[J]);var Ae=arguments.length-2;if(Ae===1)me.children=I;else if(1<Ae){for(var ot=Array(Ae),ye=0;ye<Ae;ye++)ot[ye]=arguments[ye+2];me.children=ot}if(T&&T.defaultProps)for(J in Ae=T.defaultProps,Ae)me[J]===void 0&&(me[J]=Ae[J]);return de(T,ge,me)},ve.createRef=function(){return{current:null}},ve.forwardRef=function(T){return{$$typeof:p,render:T}},ve.isValidElement=_e,ve.lazy=function(T){return{$$typeof:x,_payload:{_status:-1,_result:T},_init:oe}},ve.memo=function(T,H){return{$$typeof:v,type:T,compare:H===void 0?null:H}},ve.startTransition=function(T){var H=X.T,I={};X.T=I;try{var J=T(),me=X.S;me!==null&&me(I,J),typeof J=="object"&&J!==null&&typeof J.then=="function"&&J.then(le,Le)}catch(ge){Le(ge)}finally{H!==null&&I.types!==null&&(H.types=I.types),X.T=H}},ve.unstable_useCacheRefresh=function(){return X.H.useCacheRefresh()},ve.use=function(T){return X.H.use(T)},ve.useActionState=function(T,H,I){return X.H.useActionState(T,H,I)},ve.useCallback=function(T,H){return X.H.useCallback(T,H)},ve.useContext=function(T){return X.H.useContext(T)},ve.useDebugValue=function(){},ve.useDeferredValue=function(T,H){return X.H.useDeferredValue(T,H)},ve.useEffect=function(T,H){return X.H.useEffect(T,H)},ve.useEffectEvent=function(T){return X.H.useEffectEvent(T)},ve.useId=function(){return X.H.useId()},ve.useImperativeHandle=function(T,H,I){return X.H.useImperativeHandle(T,H,I)},ve.useInsertionEffect=function(T,H){return X.H.useInsertionEffect(T,H)},ve.useLayoutEffect=function(T,H){return X.H.useLayoutEffect(T,H)},ve.useMemo=function(T,H){return X.H.useMemo(T,H)},ve.useOptimistic=function(T,H){return X.H.useOptimistic(T,H)},ve.useReducer=function(T,H,I){return X.H.useReducer(T,H,I)},ve.useRef=function(T){return X.H.useRef(T)},ve.useState=function(T){return X.H.useState(T)},ve.useSyncExternalStore=function(T,H,I){return X.H.useSyncExternalStore(T,H,I)},ve.useTransition=function(){return X.H.useTransition()},ve.version="19.2.5",ve}var F1;function b2(){return F1||(F1=1,A0.exports=F_()),A0.exports}var b=b2(),O0={exports:{}},ac={},M0={exports:{}},D0={};/**
|
||
* @license React
|
||
* scheduler.production.js
|
||
*
|
||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var Q1;function Q_(){return Q1||(Q1=1,(function(s){function c(U,Q){var oe=U.length;U.push(Q);e:for(;0<oe;){var Le=oe-1>>>1,ke=U[Le];if(0<d(ke,Q))U[Le]=Q,U[oe]=ke,oe=Le;else break e}}function i(U){return U.length===0?null:U[0]}function o(U){if(U.length===0)return null;var Q=U[0],oe=U.pop();if(oe!==Q){U[0]=oe;e:for(var Le=0,ke=U.length,T=ke>>>1;Le<T;){var H=2*(Le+1)-1,I=U[H],J=H+1,me=U[J];if(0>d(I,oe))J<ke&&0>d(me,I)?(U[Le]=me,U[J]=oe,Le=J):(U[Le]=I,U[H]=oe,Le=H);else if(J<ke&&0>d(me,oe))U[Le]=me,U[J]=oe,Le=J;else break e}}return Q}function d(U,Q){var oe=U.sortIndex-Q.sortIndex;return oe!==0?oe:U.id-Q.id}if(s.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var h=performance;s.unstable_now=function(){return h.now()}}else{var m=Date,p=m.now();s.unstable_now=function(){return m.now()-p}}var _=[],v=[],x=1,y=null,w=3,E=!1,A=!1,O=!1,N=!1,M=typeof setTimeout=="function"?setTimeout:null,F=typeof clearTimeout=="function"?clearTimeout:null,$=typeof setImmediate<"u"?setImmediate:null;function V(U){for(var Q=i(v);Q!==null;){if(Q.callback===null)o(v);else if(Q.startTime<=U)o(v),Q.sortIndex=Q.expirationTime,c(_,Q);else break;Q=i(v)}}function K(U){if(O=!1,V(U),!A)if(i(_)!==null)A=!0,le||(le=!0,De());else{var Q=i(v);Q!==null&&ze(K,Q.startTime-U)}}var le=!1,X=-1,ne=5,de=-1;function he(){return N?!0:!(s.unstable_now()-de<ne)}function _e(){if(N=!1,le){var U=s.unstable_now();de=U;var Q=!0;try{e:{A=!1,O&&(O=!1,F(X),X=-1),E=!0;var oe=w;try{t:{for(V(U),y=i(_);y!==null&&!(y.expirationTime>U&&he());){var Le=y.callback;if(typeof Le=="function"){y.callback=null,w=y.priorityLevel;var ke=Le(y.expirationTime<=U);if(U=s.unstable_now(),typeof ke=="function"){y.callback=ke,V(U),Q=!0;break t}y===i(_)&&o(_),V(U)}else o(_);y=i(_)}if(y!==null)Q=!0;else{var T=i(v);T!==null&&ze(K,T.startTime-U),Q=!1}}break e}finally{y=null,w=oe,E=!1}Q=void 0}}finally{Q?De():le=!1}}}var De;if(typeof $=="function")De=function(){$(_e)};else if(typeof MessageChannel<"u"){var se=new MessageChannel,$e=se.port2;se.port1.onmessage=_e,De=function(){$e.postMessage(null)}}else De=function(){M(_e,0)};function ze(U,Q){X=M(function(){U(s.unstable_now())},Q)}s.unstable_IdlePriority=5,s.unstable_ImmediatePriority=1,s.unstable_LowPriority=4,s.unstable_NormalPriority=3,s.unstable_Profiling=null,s.unstable_UserBlockingPriority=2,s.unstable_cancelCallback=function(U){U.callback=null},s.unstable_forceFrameRate=function(U){0>U||125<U?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ne=0<U?Math.floor(1e3/U):5},s.unstable_getCurrentPriorityLevel=function(){return w},s.unstable_next=function(U){switch(w){case 1:case 2:case 3:var Q=3;break;default:Q=w}var oe=w;w=Q;try{return U()}finally{w=oe}},s.unstable_requestPaint=function(){N=!0},s.unstable_runWithPriority=function(U,Q){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var oe=w;w=U;try{return Q()}finally{w=oe}},s.unstable_scheduleCallback=function(U,Q,oe){var Le=s.unstable_now();switch(typeof oe=="object"&&oe!==null?(oe=oe.delay,oe=typeof oe=="number"&&0<oe?Le+oe:Le):oe=Le,U){case 1:var ke=-1;break;case 2:ke=250;break;case 5:ke=1073741823;break;case 4:ke=1e4;break;default:ke=5e3}return ke=oe+ke,U={id:x++,callback:Q,priorityLevel:U,startTime:oe,expirationTime:ke,sortIndex:-1},oe>Le?(U.sortIndex=oe,c(v,U),i(_)===null&&U===i(v)&&(O?(F(X),X=-1):O=!0,ze(K,oe-Le))):(U.sortIndex=ke,c(_,U),A||E||(A=!0,le||(le=!0,De()))),U},s.unstable_shouldYield=he,s.unstable_wrapCallback=function(U){var Q=w;return function(){var oe=w;w=Q;try{return U.apply(this,arguments)}finally{w=oe}}}})(D0)),D0}var Y1;function Y_(){return Y1||(Y1=1,M0.exports=Q_()),M0.exports}var z0={exports:{}},Et={};/**
|
||
* @license React
|
||
* react-dom.production.js
|
||
*
|
||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var X1;function X_(){if(X1)return Et;X1=1;var s=b2();function c(_){var v="https://react.dev/errors/"+_;if(1<arguments.length){v+="?args[]="+encodeURIComponent(arguments[1]);for(var x=2;x<arguments.length;x++)v+="&args[]="+encodeURIComponent(arguments[x])}return"Minified React error #"+_+"; visit "+v+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(){}var o={d:{f:i,r:function(){throw Error(c(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},d=Symbol.for("react.portal");function h(_,v,x){var y=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:d,key:y==null?null:""+y,children:_,containerInfo:v,implementation:x}}var m=s.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function p(_,v){if(_==="font")return"";if(typeof v=="string")return v==="use-credentials"?v:""}return Et.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,Et.createPortal=function(_,v){var x=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!v||v.nodeType!==1&&v.nodeType!==9&&v.nodeType!==11)throw Error(c(299));return h(_,v,null,x)},Et.flushSync=function(_){var v=m.T,x=o.p;try{if(m.T=null,o.p=2,_)return _()}finally{m.T=v,o.p=x,o.d.f()}},Et.preconnect=function(_,v){typeof _=="string"&&(v?(v=v.crossOrigin,v=typeof v=="string"?v==="use-credentials"?v:"":void 0):v=null,o.d.C(_,v))},Et.prefetchDNS=function(_){typeof _=="string"&&o.d.D(_)},Et.preinit=function(_,v){if(typeof _=="string"&&v&&typeof v.as=="string"){var x=v.as,y=p(x,v.crossOrigin),w=typeof v.integrity=="string"?v.integrity:void 0,E=typeof v.fetchPriority=="string"?v.fetchPriority:void 0;x==="style"?o.d.S(_,typeof v.precedence=="string"?v.precedence:void 0,{crossOrigin:y,integrity:w,fetchPriority:E}):x==="script"&&o.d.X(_,{crossOrigin:y,integrity:w,fetchPriority:E,nonce:typeof v.nonce=="string"?v.nonce:void 0})}},Et.preinitModule=function(_,v){if(typeof _=="string")if(typeof v=="object"&&v!==null){if(v.as==null||v.as==="script"){var x=p(v.as,v.crossOrigin);o.d.M(_,{crossOrigin:x,integrity:typeof v.integrity=="string"?v.integrity:void 0,nonce:typeof v.nonce=="string"?v.nonce:void 0})}}else v==null&&o.d.M(_)},Et.preload=function(_,v){if(typeof _=="string"&&typeof v=="object"&&v!==null&&typeof v.as=="string"){var x=v.as,y=p(x,v.crossOrigin);o.d.L(_,x,{crossOrigin:y,integrity:typeof v.integrity=="string"?v.integrity:void 0,nonce:typeof v.nonce=="string"?v.nonce:void 0,type:typeof v.type=="string"?v.type:void 0,fetchPriority:typeof v.fetchPriority=="string"?v.fetchPriority:void 0,referrerPolicy:typeof v.referrerPolicy=="string"?v.referrerPolicy:void 0,imageSrcSet:typeof v.imageSrcSet=="string"?v.imageSrcSet:void 0,imageSizes:typeof v.imageSizes=="string"?v.imageSizes:void 0,media:typeof v.media=="string"?v.media:void 0})}},Et.preloadModule=function(_,v){if(typeof _=="string")if(v){var x=p(v.as,v.crossOrigin);o.d.m(_,{as:typeof v.as=="string"&&v.as!=="script"?v.as:void 0,crossOrigin:x,integrity:typeof v.integrity=="string"?v.integrity:void 0})}else o.d.m(_)},Et.requestFormReset=function(_){o.d.r(_)},Et.unstable_batchedUpdates=function(_,v){return _(v)},Et.useFormState=function(_,v,x){return m.H.useFormState(_,v,x)},Et.useFormStatus=function(){return m.H.useHostTransitionStatus()},Et.version="19.2.5",Et}var Z1;function Z_(){if(Z1)return z0.exports;Z1=1;function s(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(s)}catch(c){console.error(c)}}return s(),z0.exports=X_(),z0.exports}/**
|
||
* @license React
|
||
* react-dom-client.production.js
|
||
*
|
||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var K1;function K_(){if(K1)return ac;K1=1;var s=Y_(),c=b2(),i=Z_();function o(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function d(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function h(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function m(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function p(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function _(e){if(h(e)!==e)throw Error(o(188))}function v(e){var t=e.alternate;if(!t){if(t=h(e),t===null)throw Error(o(188));return t!==e?null:e}for(var n=e,a=t;;){var r=n.return;if(r===null)break;var u=r.alternate;if(u===null){if(a=r.return,a!==null){n=a;continue}break}if(r.child===u.child){for(u=r.child;u;){if(u===n)return _(r),e;if(u===a)return _(r),t;u=u.sibling}throw Error(o(188))}if(n.return!==a.return)n=r,a=u;else{for(var f=!1,g=r.child;g;){if(g===n){f=!0,n=r,a=u;break}if(g===a){f=!0,a=r,n=u;break}g=g.sibling}if(!f){for(g=u.child;g;){if(g===n){f=!0,n=u,a=r;break}if(g===a){f=!0,a=u,n=r;break}g=g.sibling}if(!f)throw Error(o(189))}}if(n.alternate!==a)throw Error(o(190))}if(n.tag!==3)throw Error(o(188));return n.stateNode.current===n?e:t}function x(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=x(e),t!==null)return t;e=e.sibling}return null}var y=Object.assign,w=Symbol.for("react.element"),E=Symbol.for("react.transitional.element"),A=Symbol.for("react.portal"),O=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),$=Symbol.for("react.context"),V=Symbol.for("react.forward_ref"),K=Symbol.for("react.suspense"),le=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),ne=Symbol.for("react.lazy"),de=Symbol.for("react.activity"),he=Symbol.for("react.memo_cache_sentinel"),_e=Symbol.iterator;function De(e){return e===null||typeof e!="object"?null:(e=_e&&e[_e]||e["@@iterator"],typeof e=="function"?e:null)}var se=Symbol.for("react.client.reference");function $e(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===se?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case O:return"Fragment";case M:return"Profiler";case N:return"StrictMode";case K:return"Suspense";case le:return"SuspenseList";case de:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case A:return"Portal";case $:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case V:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:$e(e.type)||"Memo";case ne:t=e._payload,e=e._init;try{return $e(e(t))}catch{}}return null}var ze=Array.isArray,U=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,oe={pending:!1,data:null,method:null,action:null},Le=[],ke=-1;function T(e){return{current:e}}function H(e){0>ke||(e.current=Le[ke],Le[ke]=null,ke--)}function I(e,t){ke++,Le[ke]=e.current,e.current=t}var J=T(null),me=T(null),ge=T(null),Ae=T(null);function ot(e,t){switch(I(ge,t),I(me,e),I(J,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?o1(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=o1(t),e=u1(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}H(J),I(J,e)}function ye(){H(J),H(me),H(ge)}function $t(e){e.memoizedState!==null&&I(Ae,e);var t=J.current,n=u1(t,e.type);t!==n&&(I(me,e),I(J,n))}function Hn(e){me.current===e&&(H(J),H(me)),Ae.current===e&&(H(Ae),Ji._currentValue=oe)}var Pa,oi;function qn(e){if(Pa===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Pa=t&&t[1]||"",oi=-1<n.stack.indexOf(`
|
||
at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
|
||
`+Pa+e+oi}var Wa=!1;function We(e,t){if(!e||Wa)return"";Wa=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var G=function(){throw Error()};if(Object.defineProperty(G.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(G,[])}catch(B){var L=B}Reflect.construct(e,[],G)}else{try{G.call()}catch(B){L=B}e.call(G.prototype)}}else{try{throw Error()}catch(B){L=B}(G=e())&&typeof G.catch=="function"&&G.catch(function(){})}}catch(B){if(B&&L&&typeof B.stack=="string")return[B.stack,L.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var r=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");r&&r.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=a.DetermineComponentFrameRoot(),f=u[0],g=u[1];if(f&&g){var j=f.split(`
|
||
`),z=g.split(`
|
||
`);for(r=a=0;a<j.length&&!j[a].includes("DetermineComponentFrameRoot");)a++;for(;r<z.length&&!z[r].includes("DetermineComponentFrameRoot");)r++;if(a===j.length||r===z.length)for(a=j.length-1,r=z.length-1;1<=a&&0<=r&&j[a]!==z[r];)r--;for(;1<=a&&0<=r;a--,r--)if(j[a]!==z[r]){if(a!==1||r!==1)do if(a--,r--,0>r||j[a]!==z[r]){var k=`
|
||
`+j[a].replace(" at new "," at ");return e.displayName&&k.includes("<anonymous>")&&(k=k.replace("<anonymous>",e.displayName)),k}while(1<=a&&0<=r);break}}}finally{Wa=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?qn(n):""}function El(e,t){switch(e.tag){case 26:case 27:case 5:return qn(e.type);case 16:return qn("Lazy");case 13:return e.child!==t&&t!==null?qn("Suspense Fallback"):qn("Suspense");case 19:return qn("SuspenseList");case 0:case 15:return We(e.type,!1);case 11:return We(e.type.render,!1);case 1:return We(e.type,!0);case 31:return qn("Activity");default:return""}}function ui(e){try{var t="",n=null;do t+=El(e,n),n=e,e=e.return;while(e);return t}catch(a){return`
|
||
Error generating stack: `+a.message+`
|
||
`+a.stack}}var ho=Object.prototype.hasOwnProperty,mo=s.unstable_scheduleCallback,po=s.unstable_cancelCallback,y3=s.unstable_shouldYield,x3=s.unstable_requestPaint,Wt=s.unstable_now,b3=s.unstable_getCurrentPriorityLevel,q2=s.unstable_ImmediatePriority,$2=s.unstable_UserBlockingPriority,Tc=s.unstable_NormalPriority,j3=s.unstable_LowPriority,G2=s.unstable_IdlePriority,S3=s.log,N3=s.unstable_setDisableYieldValue,di=null,Jt=null;function Rl(e){if(typeof S3=="function"&&N3(e),Jt&&typeof Jt.setStrictMode=="function")try{Jt.setStrictMode(di,e)}catch{}}var en=Math.clz32?Math.clz32:T3,w3=Math.log,C3=Math.LN2;function T3(e){return e>>>=0,e===0?32:31-(w3(e)/C3|0)|0}var Ec=256,Rc=262144,Ac=4194304;function ma(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Oc(e,t,n){var a=e.pendingLanes;if(a===0)return 0;var r=0,u=e.suspendedLanes,f=e.pingedLanes;e=e.warmLanes;var g=a&134217727;return g!==0?(a=g&~u,a!==0?r=ma(a):(f&=g,f!==0?r=ma(f):n||(n=g&~e,n!==0&&(r=ma(n))))):(g=a&~u,g!==0?r=ma(g):f!==0?r=ma(f):n||(n=a&~e,n!==0&&(r=ma(n)))),r===0?0:t!==0&&t!==r&&(t&u)===0&&(u=r&-r,n=t&-t,u>=n||u===32&&(n&4194048)!==0)?t:r}function fi(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function E3(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function V2(){var e=Ac;return Ac<<=1,(Ac&62914560)===0&&(Ac=4194304),e}function vo(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function hi(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function R3(e,t,n,a,r,u){var f=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var g=e.entanglements,j=e.expirationTimes,z=e.hiddenUpdates;for(n=f&~n;0<n;){var k=31-en(n),G=1<<k;g[k]=0,j[k]=-1;var L=z[k];if(L!==null)for(z[k]=null,k=0;k<L.length;k++){var B=L[k];B!==null&&(B.lane&=-536870913)}n&=~G}a!==0&&F2(e,a,0),u!==0&&r===0&&e.tag!==0&&(e.suspendedLanes|=u&~(f&~t))}function F2(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-en(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|n&261930}function Q2(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var a=31-en(n),r=1<<a;r&t|e[a]&t&&(e[a]|=t),n&=~r}}function Y2(e,t){var n=t&-t;return n=(n&42)!==0?1:_o(n),(n&(e.suspendedLanes|t))!==0?0:n}function _o(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function go(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function X2(){var e=Q.p;return e!==0?e:(e=window.event,e===void 0?32:D1(e.type))}function Z2(e,t){var n=Q.p;try{return Q.p=e,t()}finally{Q.p=n}}var Al=Math.random().toString(36).slice(2),St="__reactFiber$"+Al,Gt="__reactProps$"+Al,Ja="__reactContainer$"+Al,yo="__reactEvents$"+Al,A3="__reactListeners$"+Al,O3="__reactHandles$"+Al,K2="__reactResources$"+Al,mi="__reactMarker$"+Al;function xo(e){delete e[St],delete e[Gt],delete e[yo],delete e[A3],delete e[O3]}function es(e){var t=e[St];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ja]||n[St]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=_1(e);e!==null;){if(n=e[St])return n;e=_1(e)}return t}e=n,n=e.parentNode}return null}function ts(e){if(e=e[St]||e[Ja]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function pi(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(o(33))}function ns(e){var t=e[K2];return t||(t=e[K2]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function _t(e){e[mi]=!0}var I2=new Set,P2={};function pa(e,t){ls(e,t),ls(e+"Capture",t)}function ls(e,t){for(P2[e]=t,e=0;e<t.length;e++)I2.add(t[e])}var M3=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]*$"),W2={},J2={};function D3(e){return ho.call(J2,e)?!0:ho.call(W2,e)?!1:M3.test(e)?J2[e]=!0:(W2[e]=!0,!1)}function Mc(e,t,n){if(D3(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+n)}}function Dc(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+n)}}function tl(e,t,n,a){if(a===null)e.removeAttribute(n);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,""+a)}}function _n(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ed(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function z3(e,t,n){var a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var r=a.get,u=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(f){n=""+f,u.call(this,f)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return n},setValue:function(f){n=""+f},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function bo(e){if(!e._valueTracker){var t=ed(e)?"checked":"value";e._valueTracker=z3(e,t,""+e[t])}}function td(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),a="";return e&&(a=ed(e)?e.checked?"true":"false":e.value),e=a,e!==n?(t.setValue(e),!0):!1}function zc(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var L3=/[\n"\\]/g;function gn(e){return e.replace(L3,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function jo(e,t,n,a,r,u,f,g){e.name="",f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"?e.type=f:e.removeAttribute("type"),t!=null?f==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+_n(t)):e.value!==""+_n(t)&&(e.value=""+_n(t)):f!=="submit"&&f!=="reset"||e.removeAttribute("value"),t!=null?So(e,f,_n(t)):n!=null?So(e,f,_n(n)):a!=null&&e.removeAttribute("value"),r==null&&u!=null&&(e.defaultChecked=!!u),r!=null&&(e.checked=r&&typeof r!="function"&&typeof r!="symbol"),g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?e.name=""+_n(g):e.removeAttribute("name")}function nd(e,t,n,a,r,u,f,g){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(e.type=u),t!=null||n!=null){if(!(u!=="submit"&&u!=="reset"||t!=null)){bo(e);return}n=n!=null?""+_n(n):"",t=t!=null?""+_n(t):n,g||t===e.value||(e.value=t),e.defaultValue=t}a=a??r,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=g?e.checked:!!a,e.defaultChecked=!!a,f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(e.name=f),bo(e)}function So(e,t,n){t==="number"&&zc(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function as(e,t,n,a){if(e=e.options,t){t={};for(var r=0;r<n.length;r++)t["$"+n[r]]=!0;for(n=0;n<e.length;n++)r=t.hasOwnProperty("$"+e[n].value),e[n].selected!==r&&(e[n].selected=r),r&&a&&(e[n].defaultSelected=!0)}else{for(n=""+_n(n),t=null,r=0;r<e.length;r++){if(e[r].value===n){e[r].selected=!0,a&&(e[r].defaultSelected=!0);return}t!==null||e[r].disabled||(t=e[r])}t!==null&&(t.selected=!0)}}function ld(e,t,n){if(t!=null&&(t=""+_n(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+_n(n):""}function ad(e,t,n,a){if(t==null){if(a!=null){if(n!=null)throw Error(o(92));if(ze(a)){if(1<a.length)throw Error(o(93));a=a[0]}n=a}n==null&&(n=""),t=n}n=_n(t),e.defaultValue=n,a=e.textContent,a===n&&a!==""&&a!==null&&(e.value=a),bo(e)}function ss(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var B3=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 sd(e,t,n){var a=t.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?a?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":a?e.setProperty(t,n):typeof n!="number"||n===0||B3.has(t)?t==="float"?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function id(e,t,n){if(t!=null&&typeof t!="object")throw Error(o(62));if(e=e.style,n!=null){for(var a in n)!n.hasOwnProperty(a)||t!=null&&t.hasOwnProperty(a)||(a.indexOf("--")===0?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="");for(var r in t)a=t[r],t.hasOwnProperty(r)&&n[r]!==a&&sd(e,r,a)}else for(var u in t)t.hasOwnProperty(u)&&sd(e,u,t[u])}function No(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var U3=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"]]),k3=/^[\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 Lc(e){return k3.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function nl(){}var wo=null;function Co(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var is=null,cs=null;function cd(e){var t=ts(e);if(t&&(e=t.stateNode)){var n=e[Gt]||null;e:switch(e=t.stateNode,t.type){case"input":if(jo(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+gn(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var a=n[t];if(a!==e&&a.form===e.form){var r=a[Gt]||null;if(!r)throw Error(o(90));jo(a,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name)}}for(t=0;t<n.length;t++)a=n[t],a.form===e.form&&td(a)}break e;case"textarea":ld(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&as(e,!!n.multiple,t,!1)}}}var To=!1;function rd(e,t,n){if(To)return e(t,n);To=!0;try{var a=e(t);return a}finally{if(To=!1,(is!==null||cs!==null)&&(jr(),is&&(t=is,e=cs,cs=is=null,cd(t),e)))for(t=0;t<e.length;t++)cd(e[t])}}function vi(e,t){var n=e.stateNode;if(n===null)return null;var a=n[Gt]||null;if(a===null)return null;n=a[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(o(231,t,typeof n));return n}var ll=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Eo=!1;if(ll)try{var _i={};Object.defineProperty(_i,"passive",{get:function(){Eo=!0}}),window.addEventListener("test",_i,_i),window.removeEventListener("test",_i,_i)}catch{Eo=!1}var Ol=null,Ro=null,Bc=null;function od(){if(Bc)return Bc;var e,t=Ro,n=t.length,a,r="value"in Ol?Ol.value:Ol.textContent,u=r.length;for(e=0;e<n&&t[e]===r[e];e++);var f=n-e;for(a=1;a<=f&&t[n-a]===r[u-a];a++);return Bc=r.slice(e,1<a?1-a:void 0)}function Uc(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function kc(){return!0}function ud(){return!1}function Vt(e){function t(n,a,r,u,f){this._reactName=n,this._targetInst=r,this.type=a,this.nativeEvent=u,this.target=f,this.currentTarget=null;for(var g in e)e.hasOwnProperty(g)&&(n=e[g],this[g]=n?n(u):u[g]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?kc:ud,this.isPropagationStopped=ud,this}return y(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=kc)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=kc)},persist:function(){},isPersistent:kc}),t}var va={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Hc=Vt(va),gi=y({},va,{view:0,detail:0}),H3=Vt(gi),Ao,Oo,yi,qc=y({},gi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Do,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==yi&&(yi&&e.type==="mousemove"?(Ao=e.screenX-yi.screenX,Oo=e.screenY-yi.screenY):Oo=Ao=0,yi=e),Ao)},movementY:function(e){return"movementY"in e?e.movementY:Oo}}),dd=Vt(qc),q3=y({},qc,{dataTransfer:0}),$3=Vt(q3),G3=y({},gi,{relatedTarget:0}),Mo=Vt(G3),V3=y({},va,{animationName:0,elapsedTime:0,pseudoElement:0}),F3=Vt(V3),Q3=y({},va,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Y3=Vt(Q3),X3=y({},va,{data:0}),fd=Vt(X3),Z3={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},K3={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"},I3={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function P3(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=I3[e])?!!t[e]:!1}function Do(){return P3}var W3=y({},gi,{key:function(e){if(e.key){var t=Z3[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Uc(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?K3[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Do,charCode:function(e){return e.type==="keypress"?Uc(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Uc(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),J3=Vt(W3),ev=y({},qc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),hd=Vt(ev),tv=y({},gi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Do}),nv=Vt(tv),lv=y({},va,{propertyName:0,elapsedTime:0,pseudoElement:0}),av=Vt(lv),sv=y({},qc,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),iv=Vt(sv),cv=y({},va,{newState:0,oldState:0}),rv=Vt(cv),ov=[9,13,27,32],zo=ll&&"CompositionEvent"in window,xi=null;ll&&"documentMode"in document&&(xi=document.documentMode);var uv=ll&&"TextEvent"in window&&!xi,md=ll&&(!zo||xi&&8<xi&&11>=xi),pd=" ",vd=!1;function _d(e,t){switch(e){case"keyup":return ov.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function gd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var rs=!1;function dv(e,t){switch(e){case"compositionend":return gd(t);case"keypress":return t.which!==32?null:(vd=!0,pd);case"textInput":return e=t.data,e===pd&&vd?null:e;default:return null}}function fv(e,t){if(rs)return e==="compositionend"||!zo&&_d(e,t)?(e=od(),Bc=Ro=Ol=null,rs=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return md&&t.locale!=="ko"?null:t.data;default:return null}}var hv={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function yd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!hv[e.type]:t==="textarea"}function xd(e,t,n,a){is?cs?cs.push(a):cs=[a]:is=a,t=Rr(t,"onChange"),0<t.length&&(n=new Hc("onChange","change",null,n,a),e.push({event:n,listeners:t}))}var bi=null,ji=null;function mv(e){l1(e,0)}function $c(e){var t=pi(e);if(td(t))return e}function bd(e,t){if(e==="change")return t}var jd=!1;if(ll){var Lo;if(ll){var Bo="oninput"in document;if(!Bo){var Sd=document.createElement("div");Sd.setAttribute("oninput","return;"),Bo=typeof Sd.oninput=="function"}Lo=Bo}else Lo=!1;jd=Lo&&(!document.documentMode||9<document.documentMode)}function Nd(){bi&&(bi.detachEvent("onpropertychange",wd),ji=bi=null)}function wd(e){if(e.propertyName==="value"&&$c(ji)){var t=[];xd(t,ji,e,Co(e)),rd(mv,t)}}function pv(e,t,n){e==="focusin"?(Nd(),bi=t,ji=n,bi.attachEvent("onpropertychange",wd)):e==="focusout"&&Nd()}function vv(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return $c(ji)}function _v(e,t){if(e==="click")return $c(t)}function gv(e,t){if(e==="input"||e==="change")return $c(t)}function yv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var tn=typeof Object.is=="function"?Object.is:yv;function Si(e,t){if(tn(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(a=0;a<n.length;a++){var r=n[a];if(!ho.call(t,r)||!tn(e[r],t[r]))return!1}return!0}function Cd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Td(e,t){var n=Cd(e);e=0;for(var a;n;){if(n.nodeType===3){if(a=e+n.textContent.length,e<=t&&a>=t)return{node:n,offset:t-e};e=a}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Cd(n)}}function Ed(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ed(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Rd(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=zc(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=zc(e.document)}return t}function Uo(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var xv=ll&&"documentMode"in document&&11>=document.documentMode,os=null,ko=null,Ni=null,Ho=!1;function Ad(e,t,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ho||os==null||os!==zc(a)||(a=os,"selectionStart"in a&&Uo(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}),Ni&&Si(Ni,a)||(Ni=a,a=Rr(ko,"onSelect"),0<a.length&&(t=new Hc("onSelect","select",null,t,n),e.push({event:t,listeners:a}),t.target=os)))}function _a(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var us={animationend:_a("Animation","AnimationEnd"),animationiteration:_a("Animation","AnimationIteration"),animationstart:_a("Animation","AnimationStart"),transitionrun:_a("Transition","TransitionRun"),transitionstart:_a("Transition","TransitionStart"),transitioncancel:_a("Transition","TransitionCancel"),transitionend:_a("Transition","TransitionEnd")},qo={},Od={};ll&&(Od=document.createElement("div").style,"AnimationEvent"in window||(delete us.animationend.animation,delete us.animationiteration.animation,delete us.animationstart.animation),"TransitionEvent"in window||delete us.transitionend.transition);function ga(e){if(qo[e])return qo[e];if(!us[e])return e;var t=us[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Od)return qo[e]=t[n];return e}var Md=ga("animationend"),Dd=ga("animationiteration"),zd=ga("animationstart"),bv=ga("transitionrun"),jv=ga("transitionstart"),Sv=ga("transitioncancel"),Ld=ga("transitionend"),Bd=new Map,$o="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(" ");$o.push("scrollEnd");function Dn(e,t){Bd.set(e,t),pa(t,[e])}var Gc=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},yn=[],ds=0,Go=0;function Vc(){for(var e=ds,t=Go=ds=0;t<e;){var n=yn[t];yn[t++]=null;var a=yn[t];yn[t++]=null;var r=yn[t];yn[t++]=null;var u=yn[t];if(yn[t++]=null,a!==null&&r!==null){var f=a.pending;f===null?r.next=r:(r.next=f.next,f.next=r),a.pending=r}u!==0&&Ud(n,r,u)}}function Fc(e,t,n,a){yn[ds++]=e,yn[ds++]=t,yn[ds++]=n,yn[ds++]=a,Go|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function Vo(e,t,n,a){return Fc(e,t,n,a),Qc(e)}function ya(e,t){return Fc(e,null,null,t),Qc(e)}function Ud(e,t,n){e.lanes|=n;var a=e.alternate;a!==null&&(a.lanes|=n);for(var r=!1,u=e.return;u!==null;)u.childLanes|=n,a=u.alternate,a!==null&&(a.childLanes|=n),u.tag===22&&(e=u.stateNode,e===null||e._visibility&1||(r=!0)),e=u,u=u.return;return e.tag===3?(u=e.stateNode,r&&t!==null&&(r=31-en(n),e=u.hiddenUpdates,a=e[r],a===null?e[r]=[t]:a.push(t),t.lane=n|536870912),u):null}function Qc(e){if(50<Yi)throw Yi=0,Wu=null,Error(o(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var fs={};function Nv(e,t,n,a){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function nn(e,t,n,a){return new Nv(e,t,n,a)}function Fo(e){return e=e.prototype,!(!e||!e.isReactComponent)}function al(e,t){var n=e.alternate;return n===null?(n=nn(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function kd(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Yc(e,t,n,a,r,u){var f=0;if(a=e,typeof e=="function")Fo(e)&&(f=1);else if(typeof e=="string")f=R_(e,n,J.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case de:return e=nn(31,n,t,r),e.elementType=de,e.lanes=u,e;case O:return xa(n.children,r,u,t);case N:f=8,r|=24;break;case M:return e=nn(12,n,t,r|2),e.elementType=M,e.lanes=u,e;case K:return e=nn(13,n,t,r),e.elementType=K,e.lanes=u,e;case le:return e=nn(19,n,t,r),e.elementType=le,e.lanes=u,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case $:f=10;break e;case F:f=9;break e;case V:f=11;break e;case X:f=14;break e;case ne:f=16,a=null;break e}f=29,n=Error(o(130,e===null?"null":typeof e,"")),a=null}return t=nn(f,n,t,r),t.elementType=e,t.type=a,t.lanes=u,t}function xa(e,t,n,a){return e=nn(7,e,a,t),e.lanes=n,e}function Qo(e,t,n){return e=nn(6,e,null,t),e.lanes=n,e}function Hd(e){var t=nn(18,null,null,0);return t.stateNode=e,t}function Yo(e,t,n){return t=nn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var qd=new WeakMap;function xn(e,t){if(typeof e=="object"&&e!==null){var n=qd.get(e);return n!==void 0?n:(t={value:e,source:t,stack:ui(t)},qd.set(e,t),t)}return{value:e,source:t,stack:ui(t)}}var hs=[],ms=0,Xc=null,wi=0,bn=[],jn=0,Ml=null,$n=1,Gn="";function sl(e,t){hs[ms++]=wi,hs[ms++]=Xc,Xc=e,wi=t}function $d(e,t,n){bn[jn++]=$n,bn[jn++]=Gn,bn[jn++]=Ml,Ml=e;var a=$n;e=Gn;var r=32-en(a)-1;a&=~(1<<r),n+=1;var u=32-en(t)+r;if(30<u){var f=r-r%5;u=(a&(1<<f)-1).toString(32),a>>=f,r-=f,$n=1<<32-en(t)+r|n<<r|a,Gn=u+e}else $n=1<<u|n<<r|a,Gn=e}function Xo(e){e.return!==null&&(sl(e,1),$d(e,1,0))}function Zo(e){for(;e===Xc;)Xc=hs[--ms],hs[ms]=null,wi=hs[--ms],hs[ms]=null;for(;e===Ml;)Ml=bn[--jn],bn[jn]=null,Gn=bn[--jn],bn[jn]=null,$n=bn[--jn],bn[jn]=null}function Gd(e,t){bn[jn++]=$n,bn[jn++]=Gn,bn[jn++]=Ml,$n=t.id,Gn=t.overflow,Ml=e}var Nt=null,Ie=null,Oe=!1,Dl=null,Sn=!1,Ko=Error(o(519));function zl(e){var t=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ci(xn(t,e)),Ko}function Vd(e){var t=e.stateNode,n=e.type,a=e.memoizedProps;switch(t[St]=e,t[Gt]=a,n){case"dialog":Te("cancel",t),Te("close",t);break;case"iframe":case"object":case"embed":Te("load",t);break;case"video":case"audio":for(n=0;n<Zi.length;n++)Te(Zi[n],t);break;case"source":Te("error",t);break;case"img":case"image":case"link":Te("error",t),Te("load",t);break;case"details":Te("toggle",t);break;case"input":Te("invalid",t),nd(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":Te("invalid",t);break;case"textarea":Te("invalid",t),ad(t,a.value,a.defaultValue,a.children)}n=a.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||a.suppressHydrationWarning===!0||c1(t.textContent,n)?(a.popover!=null&&(Te("beforetoggle",t),Te("toggle",t)),a.onScroll!=null&&Te("scroll",t),a.onScrollEnd!=null&&Te("scrollend",t),a.onClick!=null&&(t.onclick=nl),t=!0):t=!1,t||zl(e,!0)}function Fd(e){for(Nt=e.return;Nt;)switch(Nt.tag){case 5:case 31:case 13:Sn=!1;return;case 27:case 3:Sn=!0;return;default:Nt=Nt.return}}function ps(e){if(e!==Nt)return!1;if(!Oe)return Fd(e),Oe=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||h0(e.type,e.memoizedProps)),n=!n),n&&Ie&&zl(e),Fd(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));Ie=v1(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));Ie=v1(e)}else t===27?(t=Ie,Zl(e.type)?(e=g0,g0=null,Ie=e):Ie=t):Ie=Nt?wn(e.stateNode.nextSibling):null;return!0}function ba(){Ie=Nt=null,Oe=!1}function Io(){var e=Dl;return e!==null&&(Xt===null?Xt=e:Xt.push.apply(Xt,e),Dl=null),e}function Ci(e){Dl===null?Dl=[e]:Dl.push(e)}var Po=T(null),ja=null,il=null;function Ll(e,t,n){I(Po,t._currentValue),t._currentValue=n}function cl(e){e._currentValue=Po.current,H(Po)}function Wo(e,t,n){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===n)break;e=e.return}}function Jo(e,t,n,a){var r=e.child;for(r!==null&&(r.return=e);r!==null;){var u=r.dependencies;if(u!==null){var f=r.child;u=u.firstContext;e:for(;u!==null;){var g=u;u=r;for(var j=0;j<t.length;j++)if(g.context===t[j]){u.lanes|=n,g=u.alternate,g!==null&&(g.lanes|=n),Wo(u.return,n,e),a||(f=null);break e}u=g.next}}else if(r.tag===18){if(f=r.return,f===null)throw Error(o(341));f.lanes|=n,u=f.alternate,u!==null&&(u.lanes|=n),Wo(f,n,e),f=null}else f=r.child;if(f!==null)f.return=r;else for(f=r;f!==null;){if(f===e){f=null;break}if(r=f.sibling,r!==null){r.return=f.return,f=r;break}f=f.return}r=f}}function vs(e,t,n,a){e=null;for(var r=t,u=!1;r!==null;){if(!u){if((r.flags&524288)!==0)u=!0;else if((r.flags&262144)!==0)break}if(r.tag===10){var f=r.alternate;if(f===null)throw Error(o(387));if(f=f.memoizedProps,f!==null){var g=r.type;tn(r.pendingProps.value,f.value)||(e!==null?e.push(g):e=[g])}}else if(r===Ae.current){if(f=r.alternate,f===null)throw Error(o(387));f.memoizedState.memoizedState!==r.memoizedState.memoizedState&&(e!==null?e.push(Ji):e=[Ji])}r=r.return}e!==null&&Jo(t,e,n,a),t.flags|=262144}function Zc(e){for(e=e.firstContext;e!==null;){if(!tn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Sa(e){ja=e,il=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function wt(e){return Qd(ja,e)}function Kc(e,t){return ja===null&&Sa(e),Qd(e,t)}function Qd(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},il===null){if(e===null)throw Error(o(308));il=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else il=il.next=t;return n}var wv=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,a){e.push(a)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},Cv=s.unstable_scheduleCallback,Tv=s.unstable_NormalPriority,ut={$$typeof:$,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function eu(){return{controller:new wv,data:new Map,refCount:0}}function Ti(e){e.refCount--,e.refCount===0&&Cv(Tv,function(){e.controller.abort()})}var Ei=null,tu=0,_s=0,gs=null;function Ev(e,t){if(Ei===null){var n=Ei=[];tu=0,_s=a0(),gs={status:"pending",value:void 0,then:function(a){n.push(a)}}}return tu++,t.then(Yd,Yd),t}function Yd(){if(--tu===0&&Ei!==null){gs!==null&&(gs.status="fulfilled");var e=Ei;Ei=null,_s=0,gs=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Rv(e,t){var n=[],a={status:"pending",value:null,reason:null,then:function(r){n.push(r)}};return e.then(function(){a.status="fulfilled",a.value=t;for(var r=0;r<n.length;r++)(0,n[r])(t)},function(r){for(a.status="rejected",a.reason=r,r=0;r<n.length;r++)(0,n[r])(void 0)}),a}var Xd=U.S;U.S=function(e,t){Oh=Wt(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&Ev(e,t),Xd!==null&&Xd(e,t)};var Na=T(null);function nu(){var e=Na.current;return e!==null?e:Ze.pooledCache}function Ic(e,t){t===null?I(Na,Na.current):I(Na,t.pool)}function Zd(){var e=nu();return e===null?null:{parent:ut._currentValue,pool:e}}var ys=Error(o(460)),lu=Error(o(474)),Pc=Error(o(542)),Wc={then:function(){}};function Kd(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Id(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(nl,nl),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Wd(e),e;default:if(typeof t.status=="string")t.then(nl,nl);else{if(e=Ze,e!==null&&100<e.shellSuspendCounter)throw Error(o(482));e=t,e.status="pending",e.then(function(a){if(t.status==="pending"){var r=t;r.status="fulfilled",r.value=a}},function(a){if(t.status==="pending"){var r=t;r.status="rejected",r.reason=a}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Wd(e),e}throw Ca=t,ys}}function wa(e){try{var t=e._init;return t(e._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(Ca=n,ys):n}}var Ca=null;function Pd(){if(Ca===null)throw Error(o(459));var e=Ca;return Ca=null,e}function Wd(e){if(e===ys||e===Pc)throw Error(o(483))}var xs=null,Ri=0;function Jc(e){var t=Ri;return Ri+=1,xs===null&&(xs=[]),Id(xs,e,t)}function Ai(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function er(e,t){throw t.$$typeof===w?Error(o(525)):(e=Object.prototype.toString.call(t),Error(o(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function Jd(e){function t(R,C){if(e){var D=R.deletions;D===null?(R.deletions=[C],R.flags|=16):D.push(C)}}function n(R,C){if(!e)return null;for(;C!==null;)t(R,C),C=C.sibling;return null}function a(R){for(var C=new Map;R!==null;)R.key!==null?C.set(R.key,R):C.set(R.index,R),R=R.sibling;return C}function r(R,C){return R=al(R,C),R.index=0,R.sibling=null,R}function u(R,C,D){return R.index=D,e?(D=R.alternate,D!==null?(D=D.index,D<C?(R.flags|=67108866,C):D):(R.flags|=67108866,C)):(R.flags|=1048576,C)}function f(R){return e&&R.alternate===null&&(R.flags|=67108866),R}function g(R,C,D,q){return C===null||C.tag!==6?(C=Qo(D,R.mode,q),C.return=R,C):(C=r(C,D),C.return=R,C)}function j(R,C,D,q){var ce=D.type;return ce===O?k(R,C,D.props.children,q,D.key):C!==null&&(C.elementType===ce||typeof ce=="object"&&ce!==null&&ce.$$typeof===ne&&wa(ce)===C.type)?(C=r(C,D.props),Ai(C,D),C.return=R,C):(C=Yc(D.type,D.key,D.props,null,R.mode,q),Ai(C,D),C.return=R,C)}function z(R,C,D,q){return C===null||C.tag!==4||C.stateNode.containerInfo!==D.containerInfo||C.stateNode.implementation!==D.implementation?(C=Yo(D,R.mode,q),C.return=R,C):(C=r(C,D.children||[]),C.return=R,C)}function k(R,C,D,q,ce){return C===null||C.tag!==7?(C=xa(D,R.mode,q,ce),C.return=R,C):(C=r(C,D),C.return=R,C)}function G(R,C,D){if(typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint")return C=Qo(""+C,R.mode,D),C.return=R,C;if(typeof C=="object"&&C!==null){switch(C.$$typeof){case E:return D=Yc(C.type,C.key,C.props,null,R.mode,D),Ai(D,C),D.return=R,D;case A:return C=Yo(C,R.mode,D),C.return=R,C;case ne:return C=wa(C),G(R,C,D)}if(ze(C)||De(C))return C=xa(C,R.mode,D,null),C.return=R,C;if(typeof C.then=="function")return G(R,Jc(C),D);if(C.$$typeof===$)return G(R,Kc(R,C),D);er(R,C)}return null}function L(R,C,D,q){var ce=C!==null?C.key:null;if(typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint")return ce!==null?null:g(R,C,""+D,q);if(typeof D=="object"&&D!==null){switch(D.$$typeof){case E:return D.key===ce?j(R,C,D,q):null;case A:return D.key===ce?z(R,C,D,q):null;case ne:return D=wa(D),L(R,C,D,q)}if(ze(D)||De(D))return ce!==null?null:k(R,C,D,q,null);if(typeof D.then=="function")return L(R,C,Jc(D),q);if(D.$$typeof===$)return L(R,C,Kc(R,D),q);er(R,D)}return null}function B(R,C,D,q,ce){if(typeof q=="string"&&q!==""||typeof q=="number"||typeof q=="bigint")return R=R.get(D)||null,g(C,R,""+q,ce);if(typeof q=="object"&&q!==null){switch(q.$$typeof){case E:return R=R.get(q.key===null?D:q.key)||null,j(C,R,q,ce);case A:return R=R.get(q.key===null?D:q.key)||null,z(C,R,q,ce);case ne:return q=wa(q),B(R,C,D,q,ce)}if(ze(q)||De(q))return R=R.get(D)||null,k(C,R,q,ce,null);if(typeof q.then=="function")return B(R,C,D,Jc(q),ce);if(q.$$typeof===$)return B(R,C,D,Kc(C,q),ce);er(C,q)}return null}function ee(R,C,D,q){for(var ce=null,Be=null,ae=C,be=C=0,Re=null;ae!==null&&be<D.length;be++){ae.index>be?(Re=ae,ae=null):Re=ae.sibling;var Ue=L(R,ae,D[be],q);if(Ue===null){ae===null&&(ae=Re);break}e&&ae&&Ue.alternate===null&&t(R,ae),C=u(Ue,C,be),Be===null?ce=Ue:Be.sibling=Ue,Be=Ue,ae=Re}if(be===D.length)return n(R,ae),Oe&&sl(R,be),ce;if(ae===null){for(;be<D.length;be++)ae=G(R,D[be],q),ae!==null&&(C=u(ae,C,be),Be===null?ce=ae:Be.sibling=ae,Be=ae);return Oe&&sl(R,be),ce}for(ae=a(ae);be<D.length;be++)Re=B(ae,R,be,D[be],q),Re!==null&&(e&&Re.alternate!==null&&ae.delete(Re.key===null?be:Re.key),C=u(Re,C,be),Be===null?ce=Re:Be.sibling=Re,Be=Re);return e&&ae.forEach(function(Jl){return t(R,Jl)}),Oe&&sl(R,be),ce}function ue(R,C,D,q){if(D==null)throw Error(o(151));for(var ce=null,Be=null,ae=C,be=C=0,Re=null,Ue=D.next();ae!==null&&!Ue.done;be++,Ue=D.next()){ae.index>be?(Re=ae,ae=null):Re=ae.sibling;var Jl=L(R,ae,Ue.value,q);if(Jl===null){ae===null&&(ae=Re);break}e&&ae&&Jl.alternate===null&&t(R,ae),C=u(Jl,C,be),Be===null?ce=Jl:Be.sibling=Jl,Be=Jl,ae=Re}if(Ue.done)return n(R,ae),Oe&&sl(R,be),ce;if(ae===null){for(;!Ue.done;be++,Ue=D.next())Ue=G(R,Ue.value,q),Ue!==null&&(C=u(Ue,C,be),Be===null?ce=Ue:Be.sibling=Ue,Be=Ue);return Oe&&sl(R,be),ce}for(ae=a(ae);!Ue.done;be++,Ue=D.next())Ue=B(ae,R,be,Ue.value,q),Ue!==null&&(e&&Ue.alternate!==null&&ae.delete(Ue.key===null?be:Ue.key),C=u(Ue,C,be),Be===null?ce=Ue:Be.sibling=Ue,Be=Ue);return e&&ae.forEach(function(q_){return t(R,q_)}),Oe&&sl(R,be),ce}function Xe(R,C,D,q){if(typeof D=="object"&&D!==null&&D.type===O&&D.key===null&&(D=D.props.children),typeof D=="object"&&D!==null){switch(D.$$typeof){case E:e:{for(var ce=D.key;C!==null;){if(C.key===ce){if(ce=D.type,ce===O){if(C.tag===7){n(R,C.sibling),q=r(C,D.props.children),q.return=R,R=q;break e}}else if(C.elementType===ce||typeof ce=="object"&&ce!==null&&ce.$$typeof===ne&&wa(ce)===C.type){n(R,C.sibling),q=r(C,D.props),Ai(q,D),q.return=R,R=q;break e}n(R,C);break}else t(R,C);C=C.sibling}D.type===O?(q=xa(D.props.children,R.mode,q,D.key),q.return=R,R=q):(q=Yc(D.type,D.key,D.props,null,R.mode,q),Ai(q,D),q.return=R,R=q)}return f(R);case A:e:{for(ce=D.key;C!==null;){if(C.key===ce)if(C.tag===4&&C.stateNode.containerInfo===D.containerInfo&&C.stateNode.implementation===D.implementation){n(R,C.sibling),q=r(C,D.children||[]),q.return=R,R=q;break e}else{n(R,C);break}else t(R,C);C=C.sibling}q=Yo(D,R.mode,q),q.return=R,R=q}return f(R);case ne:return D=wa(D),Xe(R,C,D,q)}if(ze(D))return ee(R,C,D,q);if(De(D)){if(ce=De(D),typeof ce!="function")throw Error(o(150));return D=ce.call(D),ue(R,C,D,q)}if(typeof D.then=="function")return Xe(R,C,Jc(D),q);if(D.$$typeof===$)return Xe(R,C,Kc(R,D),q);er(R,D)}return typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint"?(D=""+D,C!==null&&C.tag===6?(n(R,C.sibling),q=r(C,D),q.return=R,R=q):(n(R,C),q=Qo(D,R.mode,q),q.return=R,R=q),f(R)):n(R,C)}return function(R,C,D,q){try{Ri=0;var ce=Xe(R,C,D,q);return xs=null,ce}catch(ae){if(ae===ys||ae===Pc)throw ae;var Be=nn(29,ae,null,R.mode);return Be.lanes=q,Be.return=R,Be}finally{}}}var Ta=Jd(!0),ef=Jd(!1),Bl=!1;function au(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function su(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ul(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function kl(e,t,n){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(He&2)!==0){var r=a.pending;return r===null?t.next=t:(t.next=r.next,r.next=t),a.pending=t,t=Qc(e),Ud(e,null,n),t}return Fc(e,a,t,n),Qc(e)}function Oi(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,Q2(e,n)}}function iu(e,t){var n=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,n===a)){var r=null,u=null;if(n=n.firstBaseUpdate,n!==null){do{var f={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};u===null?r=u=f:u=u.next=f,n=n.next}while(n!==null);u===null?r=u=t:u=u.next=t}else r=u=t;n={baseState:a.baseState,firstBaseUpdate:r,lastBaseUpdate:u,shared:a.shared,callbacks:a.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var cu=!1;function Mi(){if(cu){var e=gs;if(e!==null)throw e}}function Di(e,t,n,a){cu=!1;var r=e.updateQueue;Bl=!1;var u=r.firstBaseUpdate,f=r.lastBaseUpdate,g=r.shared.pending;if(g!==null){r.shared.pending=null;var j=g,z=j.next;j.next=null,f===null?u=z:f.next=z,f=j;var k=e.alternate;k!==null&&(k=k.updateQueue,g=k.lastBaseUpdate,g!==f&&(g===null?k.firstBaseUpdate=z:g.next=z,k.lastBaseUpdate=j))}if(u!==null){var G=r.baseState;f=0,k=z=j=null,g=u;do{var L=g.lane&-536870913,B=L!==g.lane;if(B?(Ee&L)===L:(a&L)===L){L!==0&&L===_s&&(cu=!0),k!==null&&(k=k.next={lane:0,tag:g.tag,payload:g.payload,callback:null,next:null});e:{var ee=e,ue=g;L=t;var Xe=n;switch(ue.tag){case 1:if(ee=ue.payload,typeof ee=="function"){G=ee.call(Xe,G,L);break e}G=ee;break e;case 3:ee.flags=ee.flags&-65537|128;case 0:if(ee=ue.payload,L=typeof ee=="function"?ee.call(Xe,G,L):ee,L==null)break e;G=y({},G,L);break e;case 2:Bl=!0}}L=g.callback,L!==null&&(e.flags|=64,B&&(e.flags|=8192),B=r.callbacks,B===null?r.callbacks=[L]:B.push(L))}else B={lane:L,tag:g.tag,payload:g.payload,callback:g.callback,next:null},k===null?(z=k=B,j=G):k=k.next=B,f|=L;if(g=g.next,g===null){if(g=r.shared.pending,g===null)break;B=g,g=B.next,B.next=null,r.lastBaseUpdate=B,r.shared.pending=null}}while(!0);k===null&&(j=G),r.baseState=j,r.firstBaseUpdate=z,r.lastBaseUpdate=k,u===null&&(r.shared.lanes=0),Vl|=f,e.lanes=f,e.memoizedState=G}}function tf(e,t){if(typeof e!="function")throw Error(o(191,e));e.call(t)}function nf(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)tf(n[e],t)}var bs=T(null),tr=T(0);function lf(e,t){e=vl,I(tr,e),I(bs,t),vl=e|t.baseLanes}function ru(){I(tr,vl),I(bs,bs.current)}function ou(){vl=tr.current,H(bs),H(tr)}var ln=T(null),Nn=null;function Hl(e){var t=e.alternate;I(st,st.current&1),I(ln,e),Nn===null&&(t===null||bs.current!==null||t.memoizedState!==null)&&(Nn=e)}function uu(e){I(st,st.current),I(ln,e),Nn===null&&(Nn=e)}function af(e){e.tag===22?(I(st,st.current),I(ln,e),Nn===null&&(Nn=e)):ql()}function ql(){I(st,st.current),I(ln,ln.current)}function an(e){H(ln),Nn===e&&(Nn=null),H(st)}var st=T(0);function nr(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||v0(n)||_0(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var rl=0,xe=null,Qe=null,dt=null,lr=!1,js=!1,Ea=!1,ar=0,zi=0,Ss=null,Av=0;function nt(){throw Error(o(321))}function du(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!tn(e[n],t[n]))return!1;return!0}function fu(e,t,n,a,r,u){return rl=u,xe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,U.H=e===null||e.memoizedState===null?Gf:Tu,Ea=!1,u=n(a,r),Ea=!1,js&&(u=cf(t,n,a,r)),sf(e),u}function sf(e){U.H=Ui;var t=Qe!==null&&Qe.next!==null;if(rl=0,dt=Qe=xe=null,lr=!1,zi=0,Ss=null,t)throw Error(o(300));e===null||ft||(e=e.dependencies,e!==null&&Zc(e)&&(ft=!0))}function cf(e,t,n,a){xe=e;var r=0;do{if(js&&(Ss=null),zi=0,js=!1,25<=r)throw Error(o(301));if(r+=1,dt=Qe=null,e.updateQueue!=null){var u=e.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}U.H=Vf,u=t(n,a)}while(js);return u}function Ov(){var e=U.H,t=e.useState()[0];return t=typeof t.then=="function"?Li(t):t,e=e.useState()[0],(Qe!==null?Qe.memoizedState:null)!==e&&(xe.flags|=1024),t}function hu(){var e=ar!==0;return ar=0,e}function mu(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function pu(e){if(lr){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}lr=!1}rl=0,dt=Qe=xe=null,js=!1,zi=ar=0,Ss=null}function Mt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return dt===null?xe.memoizedState=dt=e:dt=dt.next=e,dt}function it(){if(Qe===null){var e=xe.alternate;e=e!==null?e.memoizedState:null}else e=Qe.next;var t=dt===null?xe.memoizedState:dt.next;if(t!==null)dt=t,Qe=e;else{if(e===null)throw xe.alternate===null?Error(o(467)):Error(o(310));Qe=e,e={memoizedState:Qe.memoizedState,baseState:Qe.baseState,baseQueue:Qe.baseQueue,queue:Qe.queue,next:null},dt===null?xe.memoizedState=dt=e:dt=dt.next=e}return dt}function sr(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Li(e){var t=zi;return zi+=1,Ss===null&&(Ss=[]),e=Id(Ss,e,t),t=xe,(dt===null?t.memoizedState:dt.next)===null&&(t=t.alternate,U.H=t===null||t.memoizedState===null?Gf:Tu),e}function ir(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Li(e);if(e.$$typeof===$)return wt(e)}throw Error(o(438,String(e)))}function vu(e){var t=null,n=xe.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var a=xe.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(r){return r.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=sr(),xe.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),a=0;a<e;a++)n[a]=he;return t.index++,n}function ol(e,t){return typeof t=="function"?t(e):t}function cr(e){var t=it();return _u(t,Qe,e)}function _u(e,t,n){var a=e.queue;if(a===null)throw Error(o(311));a.lastRenderedReducer=n;var r=e.baseQueue,u=a.pending;if(u!==null){if(r!==null){var f=r.next;r.next=u.next,u.next=f}t.baseQueue=r=u,a.pending=null}if(u=e.baseState,r===null)e.memoizedState=u;else{t=r.next;var g=f=null,j=null,z=t,k=!1;do{var G=z.lane&-536870913;if(G!==z.lane?(Ee&G)===G:(rl&G)===G){var L=z.revertLane;if(L===0)j!==null&&(j=j.next={lane:0,revertLane:0,gesture:null,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null}),G===_s&&(k=!0);else if((rl&L)===L){z=z.next,L===_s&&(k=!0);continue}else G={lane:0,revertLane:z.revertLane,gesture:null,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},j===null?(g=j=G,f=u):j=j.next=G,xe.lanes|=L,Vl|=L;G=z.action,Ea&&n(u,G),u=z.hasEagerState?z.eagerState:n(u,G)}else L={lane:G,revertLane:z.revertLane,gesture:z.gesture,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},j===null?(g=j=L,f=u):j=j.next=L,xe.lanes|=G,Vl|=G;z=z.next}while(z!==null&&z!==t);if(j===null?f=u:j.next=g,!tn(u,e.memoizedState)&&(ft=!0,k&&(n=gs,n!==null)))throw n;e.memoizedState=u,e.baseState=f,e.baseQueue=j,a.lastRenderedState=u}return r===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function gu(e){var t=it(),n=t.queue;if(n===null)throw Error(o(311));n.lastRenderedReducer=e;var a=n.dispatch,r=n.pending,u=t.memoizedState;if(r!==null){n.pending=null;var f=r=r.next;do u=e(u,f.action),f=f.next;while(f!==r);tn(u,t.memoizedState)||(ft=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),n.lastRenderedState=u}return[u,a]}function rf(e,t,n){var a=xe,r=it(),u=Oe;if(u){if(n===void 0)throw Error(o(407));n=n()}else n=t();var f=!tn((Qe||r).memoizedState,n);if(f&&(r.memoizedState=n,ft=!0),r=r.queue,bu(df.bind(null,a,r,e),[e]),r.getSnapshot!==t||f||dt!==null&&dt.memoizedState.tag&1){if(a.flags|=2048,Ns(9,{destroy:void 0},uf.bind(null,a,r,n,t),null),Ze===null)throw Error(o(349));u||(rl&127)!==0||of(a,t,n)}return n}function of(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=xe.updateQueue,t===null?(t=sr(),xe.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function uf(e,t,n,a){t.value=n,t.getSnapshot=a,ff(t)&&hf(e)}function df(e,t,n){return n(function(){ff(t)&&hf(e)})}function ff(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!tn(e,n)}catch{return!0}}function hf(e){var t=ya(e,2);t!==null&&Zt(t,e,2)}function yu(e){var t=Mt();if(typeof e=="function"){var n=e;if(e=n(),Ea){Rl(!0);try{n()}finally{Rl(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ol,lastRenderedState:e},t}function mf(e,t,n,a){return e.baseState=n,_u(e,Qe,typeof a=="function"?a:ol)}function Mv(e,t,n,a,r){if(ur(e))throw Error(o(485));if(e=t.action,e!==null){var u={payload:r,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(f){u.listeners.push(f)}};U.T!==null?n(!0):u.isTransition=!1,a(u),n=t.pending,n===null?(u.next=t.pending=u,pf(t,u)):(u.next=n.next,t.pending=n.next=u)}}function pf(e,t){var n=t.action,a=t.payload,r=e.state;if(t.isTransition){var u=U.T,f={};U.T=f;try{var g=n(r,a),j=U.S;j!==null&&j(f,g),vf(e,t,g)}catch(z){xu(e,t,z)}finally{u!==null&&f.types!==null&&(u.types=f.types),U.T=u}}else try{u=n(r,a),vf(e,t,u)}catch(z){xu(e,t,z)}}function vf(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(a){_f(e,t,a)},function(a){return xu(e,t,a)}):_f(e,t,n)}function _f(e,t,n){t.status="fulfilled",t.value=n,gf(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,pf(e,n)))}function xu(e,t,n){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=n,gf(t),t=t.next;while(t!==a)}e.action=null}function gf(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function yf(e,t){return t}function xf(e,t){if(Oe){var n=Ze.formState;if(n!==null){e:{var a=xe;if(Oe){if(Ie){t:{for(var r=Ie,u=Sn;r.nodeType!==8;){if(!u){r=null;break t}if(r=wn(r.nextSibling),r===null){r=null;break t}}u=r.data,r=u==="F!"||u==="F"?r:null}if(r){Ie=wn(r.nextSibling),a=r.data==="F!";break e}}zl(a)}a=!1}a&&(t=n[0])}}return n=Mt(),n.memoizedState=n.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:yf,lastRenderedState:t},n.queue=a,n=Hf.bind(null,xe,a),a.dispatch=n,a=yu(!1),u=Cu.bind(null,xe,!1,a.queue),a=Mt(),r={state:t,dispatch:null,action:e,pending:null},a.queue=r,n=Mv.bind(null,xe,r,u,n),r.dispatch=n,a.memoizedState=e,[t,n,!1]}function bf(e){var t=it();return jf(t,Qe,e)}function jf(e,t,n){if(t=_u(e,t,yf)[0],e=cr(ol)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=Li(t)}catch(f){throw f===ys?Pc:f}else a=t;t=it();var r=t.queue,u=r.dispatch;return n!==t.memoizedState&&(xe.flags|=2048,Ns(9,{destroy:void 0},Dv.bind(null,r,n),null)),[a,u,e]}function Dv(e,t){e.action=t}function Sf(e){var t=it(),n=Qe;if(n!==null)return jf(t,n,e);it(),t=t.memoizedState,n=it();var a=n.queue.dispatch;return n.memoizedState=e,[t,a,!1]}function Ns(e,t,n,a){return e={tag:e,create:n,deps:a,inst:t,next:null},t=xe.updateQueue,t===null&&(t=sr(),xe.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(a=n.next,n.next=e,e.next=a,t.lastEffect=e),e}function Nf(){return it().memoizedState}function rr(e,t,n,a){var r=Mt();xe.flags|=e,r.memoizedState=Ns(1|t,{destroy:void 0},n,a===void 0?null:a)}function or(e,t,n,a){var r=it();a=a===void 0?null:a;var u=r.memoizedState.inst;Qe!==null&&a!==null&&du(a,Qe.memoizedState.deps)?r.memoizedState=Ns(t,u,n,a):(xe.flags|=e,r.memoizedState=Ns(1|t,u,n,a))}function wf(e,t){rr(8390656,8,e,t)}function bu(e,t){or(2048,8,e,t)}function zv(e){xe.flags|=4;var t=xe.updateQueue;if(t===null)t=sr(),xe.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function Cf(e){var t=it().memoizedState;return zv({ref:t,nextImpl:e}),function(){if((He&2)!==0)throw Error(o(440));return t.impl.apply(void 0,arguments)}}function Tf(e,t){return or(4,2,e,t)}function Ef(e,t){return or(4,4,e,t)}function Rf(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Af(e,t,n){n=n!=null?n.concat([e]):null,or(4,4,Rf.bind(null,t,e),n)}function ju(){}function Of(e,t){var n=it();t=t===void 0?null:t;var a=n.memoizedState;return t!==null&&du(t,a[1])?a[0]:(n.memoizedState=[e,t],e)}function Mf(e,t){var n=it();t=t===void 0?null:t;var a=n.memoizedState;if(t!==null&&du(t,a[1]))return a[0];if(a=e(),Ea){Rl(!0);try{e()}finally{Rl(!1)}}return n.memoizedState=[a,t],a}function Su(e,t,n){return n===void 0||(rl&1073741824)!==0&&(Ee&261930)===0?e.memoizedState=t:(e.memoizedState=n,e=Dh(),xe.lanes|=e,Vl|=e,n)}function Df(e,t,n,a){return tn(n,t)?n:bs.current!==null?(e=Su(e,n,a),tn(e,t)||(ft=!0),e):(rl&42)===0||(rl&1073741824)!==0&&(Ee&261930)===0?(ft=!0,e.memoizedState=n):(e=Dh(),xe.lanes|=e,Vl|=e,t)}function zf(e,t,n,a,r){var u=Q.p;Q.p=u!==0&&8>u?u:8;var f=U.T,g={};U.T=g,Cu(e,!1,t,n);try{var j=r(),z=U.S;if(z!==null&&z(g,j),j!==null&&typeof j=="object"&&typeof j.then=="function"){var k=Rv(j,a);Bi(e,t,k,rn(e))}else Bi(e,t,a,rn(e))}catch(G){Bi(e,t,{then:function(){},status:"rejected",reason:G},rn())}finally{Q.p=u,f!==null&&g.types!==null&&(f.types=g.types),U.T=f}}function Lv(){}function Nu(e,t,n,a){if(e.tag!==5)throw Error(o(476));var r=Lf(e).queue;zf(e,r,t,oe,n===null?Lv:function(){return Bf(e),n(a)})}function Lf(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:oe,baseState:oe,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ol,lastRenderedState:oe},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ol,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Bf(e){var t=Lf(e);t.next===null&&(t=e.alternate.memoizedState),Bi(e,t.next.queue,{},rn())}function wu(){return wt(Ji)}function Uf(){return it().memoizedState}function kf(){return it().memoizedState}function Bv(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=rn();e=Ul(n);var a=kl(t,e,n);a!==null&&(Zt(a,t,n),Oi(a,t,n)),t={cache:eu()},e.payload=t;return}t=t.return}}function Uv(e,t,n){var a=rn();n={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},ur(e)?qf(t,n):(n=Vo(e,t,n,a),n!==null&&(Zt(n,e,a),$f(n,t,a)))}function Hf(e,t,n){var a=rn();Bi(e,t,n,a)}function Bi(e,t,n,a){var r={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(ur(e))qf(t,r);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var f=t.lastRenderedState,g=u(f,n);if(r.hasEagerState=!0,r.eagerState=g,tn(g,f))return Fc(e,t,r,0),Ze===null&&Vc(),!1}catch{}finally{}if(n=Vo(e,t,r,a),n!==null)return Zt(n,e,a),$f(n,t,a),!0}return!1}function Cu(e,t,n,a){if(a={lane:2,revertLane:a0(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},ur(e)){if(t)throw Error(o(479))}else t=Vo(e,n,a,2),t!==null&&Zt(t,e,2)}function ur(e){var t=e.alternate;return e===xe||t!==null&&t===xe}function qf(e,t){js=lr=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function $f(e,t,n){if((n&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,Q2(e,n)}}var Ui={readContext:wt,use:ir,useCallback:nt,useContext:nt,useEffect:nt,useImperativeHandle:nt,useLayoutEffect:nt,useInsertionEffect:nt,useMemo:nt,useReducer:nt,useRef:nt,useState:nt,useDebugValue:nt,useDeferredValue:nt,useTransition:nt,useSyncExternalStore:nt,useId:nt,useHostTransitionStatus:nt,useFormState:nt,useActionState:nt,useOptimistic:nt,useMemoCache:nt,useCacheRefresh:nt};Ui.useEffectEvent=nt;var Gf={readContext:wt,use:ir,useCallback:function(e,t){return Mt().memoizedState=[e,t===void 0?null:t],e},useContext:wt,useEffect:wf,useImperativeHandle:function(e,t,n){n=n!=null?n.concat([e]):null,rr(4194308,4,Rf.bind(null,t,e),n)},useLayoutEffect:function(e,t){return rr(4194308,4,e,t)},useInsertionEffect:function(e,t){rr(4,2,e,t)},useMemo:function(e,t){var n=Mt();t=t===void 0?null:t;var a=e();if(Ea){Rl(!0);try{e()}finally{Rl(!1)}}return n.memoizedState=[a,t],a},useReducer:function(e,t,n){var a=Mt();if(n!==void 0){var r=n(t);if(Ea){Rl(!0);try{n(t)}finally{Rl(!1)}}}else r=t;return a.memoizedState=a.baseState=r,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},a.queue=e,e=e.dispatch=Uv.bind(null,xe,e),[a.memoizedState,e]},useRef:function(e){var t=Mt();return e={current:e},t.memoizedState=e},useState:function(e){e=yu(e);var t=e.queue,n=Hf.bind(null,xe,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:ju,useDeferredValue:function(e,t){var n=Mt();return Su(n,e,t)},useTransition:function(){var e=yu(!1);return e=zf.bind(null,xe,e.queue,!0,!1),Mt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var a=xe,r=Mt();if(Oe){if(n===void 0)throw Error(o(407));n=n()}else{if(n=t(),Ze===null)throw Error(o(349));(Ee&127)!==0||of(a,t,n)}r.memoizedState=n;var u={value:n,getSnapshot:t};return r.queue=u,wf(df.bind(null,a,u,e),[e]),a.flags|=2048,Ns(9,{destroy:void 0},uf.bind(null,a,u,n,t),null),n},useId:function(){var e=Mt(),t=Ze.identifierPrefix;if(Oe){var n=Gn,a=$n;n=(a&~(1<<32-en(a)-1)).toString(32)+n,t="_"+t+"R_"+n,n=ar++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=Av++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:wu,useFormState:xf,useActionState:xf,useOptimistic:function(e){var t=Mt();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Cu.bind(null,xe,!0,n),n.dispatch=t,[e,t]},useMemoCache:vu,useCacheRefresh:function(){return Mt().memoizedState=Bv.bind(null,xe)},useEffectEvent:function(e){var t=Mt(),n={impl:e};return t.memoizedState=n,function(){if((He&2)!==0)throw Error(o(440));return n.impl.apply(void 0,arguments)}}},Tu={readContext:wt,use:ir,useCallback:Of,useContext:wt,useEffect:bu,useImperativeHandle:Af,useInsertionEffect:Tf,useLayoutEffect:Ef,useMemo:Mf,useReducer:cr,useRef:Nf,useState:function(){return cr(ol)},useDebugValue:ju,useDeferredValue:function(e,t){var n=it();return Df(n,Qe.memoizedState,e,t)},useTransition:function(){var e=cr(ol)[0],t=it().memoizedState;return[typeof e=="boolean"?e:Li(e),t]},useSyncExternalStore:rf,useId:Uf,useHostTransitionStatus:wu,useFormState:bf,useActionState:bf,useOptimistic:function(e,t){var n=it();return mf(n,Qe,e,t)},useMemoCache:vu,useCacheRefresh:kf};Tu.useEffectEvent=Cf;var Vf={readContext:wt,use:ir,useCallback:Of,useContext:wt,useEffect:bu,useImperativeHandle:Af,useInsertionEffect:Tf,useLayoutEffect:Ef,useMemo:Mf,useReducer:gu,useRef:Nf,useState:function(){return gu(ol)},useDebugValue:ju,useDeferredValue:function(e,t){var n=it();return Qe===null?Su(n,e,t):Df(n,Qe.memoizedState,e,t)},useTransition:function(){var e=gu(ol)[0],t=it().memoizedState;return[typeof e=="boolean"?e:Li(e),t]},useSyncExternalStore:rf,useId:Uf,useHostTransitionStatus:wu,useFormState:Sf,useActionState:Sf,useOptimistic:function(e,t){var n=it();return Qe!==null?mf(n,Qe,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:vu,useCacheRefresh:kf};Vf.useEffectEvent=Cf;function Eu(e,t,n,a){t=e.memoizedState,n=n(a,t),n=n==null?t:y({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Ru={enqueueSetState:function(e,t,n){e=e._reactInternals;var a=rn(),r=Ul(a);r.payload=t,n!=null&&(r.callback=n),t=kl(e,r,a),t!==null&&(Zt(t,e,a),Oi(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var a=rn(),r=Ul(a);r.tag=1,r.payload=t,n!=null&&(r.callback=n),t=kl(e,r,a),t!==null&&(Zt(t,e,a),Oi(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=rn(),a=Ul(n);a.tag=2,t!=null&&(a.callback=t),t=kl(e,a,n),t!==null&&(Zt(t,e,n),Oi(t,e,n))}};function Ff(e,t,n,a,r,u,f){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,u,f):t.prototype&&t.prototype.isPureReactComponent?!Si(n,a)||!Si(r,u):!0}function Qf(e,t,n,a){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,a),t.state!==e&&Ru.enqueueReplaceState(t,t.state,null)}function Ra(e,t){var n=t;if("ref"in t){n={};for(var a in t)a!=="ref"&&(n[a]=t[a])}if(e=e.defaultProps){n===t&&(n=y({},n));for(var r in e)n[r]===void 0&&(n[r]=e[r])}return n}function Yf(e){Gc(e)}function Xf(e){console.error(e)}function Zf(e){Gc(e)}function dr(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function Kf(e,t,n){try{var a=e.onCaughtError;a(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function Au(e,t,n){return n=Ul(n),n.tag=3,n.payload={element:null},n.callback=function(){dr(e,t)},n}function If(e){return e=Ul(e),e.tag=3,e}function Pf(e,t,n,a){var r=n.type.getDerivedStateFromError;if(typeof r=="function"){var u=a.value;e.payload=function(){return r(u)},e.callback=function(){Kf(t,n,a)}}var f=n.stateNode;f!==null&&typeof f.componentDidCatch=="function"&&(e.callback=function(){Kf(t,n,a),typeof r!="function"&&(Fl===null?Fl=new Set([this]):Fl.add(this));var g=a.stack;this.componentDidCatch(a.value,{componentStack:g!==null?g:""})})}function kv(e,t,n,a,r){if(n.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=n.alternate,t!==null&&vs(t,n,r,!0),n=ln.current,n!==null){switch(n.tag){case 31:case 13:return Nn===null?Sr():n.alternate===null&<===0&&(lt=3),n.flags&=-257,n.flags|=65536,n.lanes=r,a===Wc?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([a]):t.add(a),t0(e,a,r)),!1;case 22:return n.flags|=65536,a===Wc?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([a]):n.add(a)),t0(e,a,r)),!1}throw Error(o(435,n.tag))}return t0(e,a,r),Sr(),!1}if(Oe)return t=ln.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=r,a!==Ko&&(e=Error(o(422),{cause:a}),Ci(xn(e,n)))):(a!==Ko&&(t=Error(o(423),{cause:a}),Ci(xn(t,n))),e=e.current.alternate,e.flags|=65536,r&=-r,e.lanes|=r,a=xn(a,n),r=Au(e.stateNode,a,r),iu(e,r),lt!==4&&(lt=2)),!1;var u=Error(o(520),{cause:a});if(u=xn(u,n),Qi===null?Qi=[u]:Qi.push(u),lt!==4&&(lt=2),t===null)return!0;a=xn(a,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=r&-r,n.lanes|=e,e=Au(n.stateNode,a,e),iu(n,e),!1;case 1:if(t=n.type,u=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(Fl===null||!Fl.has(u))))return n.flags|=65536,r&=-r,n.lanes|=r,r=If(r),Pf(r,e,n,a),iu(n,r),!1}n=n.return}while(n!==null);return!1}var Ou=Error(o(461)),ft=!1;function Ct(e,t,n,a){t.child=e===null?ef(t,null,n,a):Ta(t,e.child,n,a)}function Wf(e,t,n,a,r){n=n.render;var u=t.ref;if("ref"in a){var f={};for(var g in a)g!=="ref"&&(f[g]=a[g])}else f=a;return Sa(t),a=fu(e,t,n,f,u,r),g=hu(),e!==null&&!ft?(mu(e,t,r),ul(e,t,r)):(Oe&&g&&Xo(t),t.flags|=1,Ct(e,t,a,r),t.child)}function Jf(e,t,n,a,r){if(e===null){var u=n.type;return typeof u=="function"&&!Fo(u)&&u.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=u,eh(e,t,u,a,r)):(e=Yc(n.type,null,a,t,t.mode,r),e.ref=t.ref,e.return=t,t.child=e)}if(u=e.child,!Hu(e,r)){var f=u.memoizedProps;if(n=n.compare,n=n!==null?n:Si,n(f,a)&&e.ref===t.ref)return ul(e,t,r)}return t.flags|=1,e=al(u,a),e.ref=t.ref,e.return=t,t.child=e}function eh(e,t,n,a,r){if(e!==null){var u=e.memoizedProps;if(Si(u,a)&&e.ref===t.ref)if(ft=!1,t.pendingProps=a=u,Hu(e,r))(e.flags&131072)!==0&&(ft=!0);else return t.lanes=e.lanes,ul(e,t,r)}return Mu(e,t,n,a,r)}function th(e,t,n,a){var r=a.children,u=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((t.flags&128)!==0){if(u=u!==null?u.baseLanes|n:n,e!==null){for(a=t.child=e.child,r=0;a!==null;)r=r|a.lanes|a.childLanes,a=a.sibling;a=r&~u}else a=0,t.child=null;return nh(e,t,u,n,a)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Ic(t,u!==null?u.cachePool:null),u!==null?lf(t,u):ru(),af(t);else return a=t.lanes=536870912,nh(e,t,u!==null?u.baseLanes|n:n,n,a)}else u!==null?(Ic(t,u.cachePool),lf(t,u),ql(),t.memoizedState=null):(e!==null&&Ic(t,null),ru(),ql());return Ct(e,t,r,n),t.child}function ki(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function nh(e,t,n,a,r){var u=nu();return u=u===null?null:{parent:ut._currentValue,pool:u},t.memoizedState={baseLanes:n,cachePool:u},e!==null&&Ic(t,null),ru(),af(t),e!==null&&vs(e,t,a,!0),t.childLanes=r,null}function fr(e,t){return t=mr({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function lh(e,t,n){return Ta(t,e.child,null,n),e=fr(t,t.pendingProps),e.flags|=2,an(t),t.memoizedState=null,e}function Hv(e,t,n){var a=t.pendingProps,r=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(Oe){if(a.mode==="hidden")return e=fr(t,a),t.lanes=536870912,ki(null,e);if(uu(t),(e=Ie)?(e=p1(e,Sn),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ml!==null?{id:$n,overflow:Gn}:null,retryLane:536870912,hydrationErrors:null},n=Hd(e),n.return=t,t.child=n,Nt=t,Ie=null)):e=null,e===null)throw zl(t);return t.lanes=536870912,null}return fr(t,a)}var u=e.memoizedState;if(u!==null){var f=u.dehydrated;if(uu(t),r)if(t.flags&256)t.flags&=-257,t=lh(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(o(558));else if(ft||vs(e,t,n,!1),r=(n&e.childLanes)!==0,ft||r){if(a=Ze,a!==null&&(f=Y2(a,n),f!==0&&f!==u.retryLane))throw u.retryLane=f,ya(e,f),Zt(a,e,f),Ou;Sr(),t=lh(e,t,n)}else e=u.treeContext,Ie=wn(f.nextSibling),Nt=t,Oe=!0,Dl=null,Sn=!1,e!==null&&Gd(t,e),t=fr(t,a),t.flags|=4096;return t}return e=al(e.child,{mode:a.mode,children:a.children}),e.ref=t.ref,t.child=e,e.return=t,e}function hr(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(o(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function Mu(e,t,n,a,r){return Sa(t),n=fu(e,t,n,a,void 0,r),a=hu(),e!==null&&!ft?(mu(e,t,r),ul(e,t,r)):(Oe&&a&&Xo(t),t.flags|=1,Ct(e,t,n,r),t.child)}function ah(e,t,n,a,r,u){return Sa(t),t.updateQueue=null,n=cf(t,a,n,r),sf(e),a=hu(),e!==null&&!ft?(mu(e,t,u),ul(e,t,u)):(Oe&&a&&Xo(t),t.flags|=1,Ct(e,t,n,u),t.child)}function sh(e,t,n,a,r){if(Sa(t),t.stateNode===null){var u=fs,f=n.contextType;typeof f=="object"&&f!==null&&(u=wt(f)),u=new n(a,u),t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=Ru,t.stateNode=u,u._reactInternals=t,u=t.stateNode,u.props=a,u.state=t.memoizedState,u.refs={},au(t),f=n.contextType,u.context=typeof f=="object"&&f!==null?wt(f):fs,u.state=t.memoizedState,f=n.getDerivedStateFromProps,typeof f=="function"&&(Eu(t,n,f,a),u.state=t.memoizedState),typeof n.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&&Ru.enqueueReplaceState(u,u.state,null),Di(t,a,u,r),Mi(),u.state=t.memoizedState),typeof u.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(e===null){u=t.stateNode;var g=t.memoizedProps,j=Ra(n,g);u.props=j;var z=u.context,k=n.contextType;f=fs,typeof k=="object"&&k!==null&&(f=wt(k));var G=n.getDerivedStateFromProps;k=typeof G=="function"||typeof u.getSnapshotBeforeUpdate=="function",g=t.pendingProps!==g,k||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(g||z!==f)&&Qf(t,u,a,f),Bl=!1;var L=t.memoizedState;u.state=L,Di(t,a,u,r),Mi(),z=t.memoizedState,g||L!==z||Bl?(typeof G=="function"&&(Eu(t,n,G,a),z=t.memoizedState),(j=Bl||Ff(t,n,j,a,L,z,f))?(k||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(t.flags|=4194308)):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=z),u.props=a,u.state=z,u.context=f,a=j):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{u=t.stateNode,su(e,t),f=t.memoizedProps,k=Ra(n,f),u.props=k,G=t.pendingProps,L=u.context,z=n.contextType,j=fs,typeof z=="object"&&z!==null&&(j=wt(z)),g=n.getDerivedStateFromProps,(z=typeof g=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(f!==G||L!==j)&&Qf(t,u,a,j),Bl=!1,L=t.memoizedState,u.state=L,Di(t,a,u,r),Mi();var B=t.memoizedState;f!==G||L!==B||Bl||e!==null&&e.dependencies!==null&&Zc(e.dependencies)?(typeof g=="function"&&(Eu(t,n,g,a),B=t.memoizedState),(k=Bl||Ff(t,n,k,a,L,B,j)||e!==null&&e.dependencies!==null&&Zc(e.dependencies))?(z||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(a,B,j),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(a,B,j)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||f===e.memoizedProps&&L===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||f===e.memoizedProps&&L===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=B),u.props=a,u.state=B,u.context=j,a=k):(typeof u.componentDidUpdate!="function"||f===e.memoizedProps&&L===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||f===e.memoizedProps&&L===e.memoizedState||(t.flags|=1024),a=!1)}return u=a,hr(e,t),a=(t.flags&128)!==0,u||a?(u=t.stateNode,n=a&&typeof n.getDerivedStateFromError!="function"?null:u.render(),t.flags|=1,e!==null&&a?(t.child=Ta(t,e.child,null,r),t.child=Ta(t,null,n,r)):Ct(e,t,n,r),t.memoizedState=u.state,e=t.child):e=ul(e,t,r),e}function ih(e,t,n,a){return ba(),t.flags|=256,Ct(e,t,n,a),t.child}var Du={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function zu(e){return{baseLanes:e,cachePool:Zd()}}function Lu(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=cn),e}function ch(e,t,n){var a=t.pendingProps,r=!1,u=(t.flags&128)!==0,f;if((f=u)||(f=e!==null&&e.memoizedState===null?!1:(st.current&2)!==0),f&&(r=!0,t.flags&=-129),f=(t.flags&32)!==0,t.flags&=-33,e===null){if(Oe){if(r?Hl(t):ql(),(e=Ie)?(e=p1(e,Sn),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ml!==null?{id:$n,overflow:Gn}:null,retryLane:536870912,hydrationErrors:null},n=Hd(e),n.return=t,t.child=n,Nt=t,Ie=null)):e=null,e===null)throw zl(t);return _0(e)?t.lanes=32:t.lanes=536870912,null}var g=a.children;return a=a.fallback,r?(ql(),r=t.mode,g=mr({mode:"hidden",children:g},r),a=xa(a,r,n,null),g.return=t,a.return=t,g.sibling=a,t.child=g,a=t.child,a.memoizedState=zu(n),a.childLanes=Lu(e,f,n),t.memoizedState=Du,ki(null,a)):(Hl(t),Bu(t,g))}var j=e.memoizedState;if(j!==null&&(g=j.dehydrated,g!==null)){if(u)t.flags&256?(Hl(t),t.flags&=-257,t=Uu(e,t,n)):t.memoizedState!==null?(ql(),t.child=e.child,t.flags|=128,t=null):(ql(),g=a.fallback,r=t.mode,a=mr({mode:"visible",children:a.children},r),g=xa(g,r,n,null),g.flags|=2,a.return=t,g.return=t,a.sibling=g,t.child=a,Ta(t,e.child,null,n),a=t.child,a.memoizedState=zu(n),a.childLanes=Lu(e,f,n),t.memoizedState=Du,t=ki(null,a));else if(Hl(t),_0(g)){if(f=g.nextSibling&&g.nextSibling.dataset,f)var z=f.dgst;f=z,a=Error(o(419)),a.stack="",a.digest=f,Ci({value:a,source:null,stack:null}),t=Uu(e,t,n)}else if(ft||vs(e,t,n,!1),f=(n&e.childLanes)!==0,ft||f){if(f=Ze,f!==null&&(a=Y2(f,n),a!==0&&a!==j.retryLane))throw j.retryLane=a,ya(e,a),Zt(f,e,a),Ou;v0(g)||Sr(),t=Uu(e,t,n)}else v0(g)?(t.flags|=192,t.child=e.child,t=null):(e=j.treeContext,Ie=wn(g.nextSibling),Nt=t,Oe=!0,Dl=null,Sn=!1,e!==null&&Gd(t,e),t=Bu(t,a.children),t.flags|=4096);return t}return r?(ql(),g=a.fallback,r=t.mode,j=e.child,z=j.sibling,a=al(j,{mode:"hidden",children:a.children}),a.subtreeFlags=j.subtreeFlags&65011712,z!==null?g=al(z,g):(g=xa(g,r,n,null),g.flags|=2),g.return=t,a.return=t,a.sibling=g,t.child=a,ki(null,a),a=t.child,g=e.child.memoizedState,g===null?g=zu(n):(r=g.cachePool,r!==null?(j=ut._currentValue,r=r.parent!==j?{parent:j,pool:j}:r):r=Zd(),g={baseLanes:g.baseLanes|n,cachePool:r}),a.memoizedState=g,a.childLanes=Lu(e,f,n),t.memoizedState=Du,ki(e.child,a)):(Hl(t),n=e.child,e=n.sibling,n=al(n,{mode:"visible",children:a.children}),n.return=t,n.sibling=null,e!==null&&(f=t.deletions,f===null?(t.deletions=[e],t.flags|=16):f.push(e)),t.child=n,t.memoizedState=null,n)}function Bu(e,t){return t=mr({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function mr(e,t){return e=nn(22,e,null,t),e.lanes=0,e}function Uu(e,t,n){return Ta(t,e.child,null,n),e=Bu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function rh(e,t,n){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),Wo(e.return,t,n)}function ku(e,t,n,a,r,u){var f=e.memoizedState;f===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:r,treeForkCount:u}:(f.isBackwards=t,f.rendering=null,f.renderingStartTime=0,f.last=a,f.tail=n,f.tailMode=r,f.treeForkCount=u)}function oh(e,t,n){var a=t.pendingProps,r=a.revealOrder,u=a.tail;a=a.children;var f=st.current,g=(f&2)!==0;if(g?(f=f&1|2,t.flags|=128):f&=1,I(st,f),Ct(e,t,a,n),a=Oe?wi:0,!g&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&rh(e,n,t);else if(e.tag===19)rh(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(r){case"forwards":for(n=t.child,r=null;n!==null;)e=n.alternate,e!==null&&nr(e)===null&&(r=n),n=n.sibling;n=r,n===null?(r=t.child,t.child=null):(r=n.sibling,n.sibling=null),ku(t,!1,r,n,u,a);break;case"backwards":case"unstable_legacy-backwards":for(n=null,r=t.child,t.child=null;r!==null;){if(e=r.alternate,e!==null&&nr(e)===null){t.child=r;break}e=r.sibling,r.sibling=n,n=r,r=e}ku(t,!0,n,null,u,a);break;case"together":ku(t,!1,null,null,void 0,a);break;default:t.memoizedState=null}return t.child}function ul(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Vl|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(vs(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(o(153));if(t.child!==null){for(e=t.child,n=al(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=al(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Hu(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Zc(e)))}function qv(e,t,n){switch(t.tag){case 3:ot(t,t.stateNode.containerInfo),Ll(t,ut,e.memoizedState.cache),ba();break;case 27:case 5:$t(t);break;case 4:ot(t,t.stateNode.containerInfo);break;case 10:Ll(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,uu(t),null;break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(Hl(t),t.flags|=128,null):(n&t.child.childLanes)!==0?ch(e,t,n):(Hl(t),e=ul(e,t,n),e!==null?e.sibling:null);Hl(t);break;case 19:var r=(e.flags&128)!==0;if(a=(n&t.childLanes)!==0,a||(vs(e,t,n,!1),a=(n&t.childLanes)!==0),r){if(a)return oh(e,t,n);t.flags|=128}if(r=t.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),I(st,st.current),a)break;return null;case 22:return t.lanes=0,th(e,t,n,t.pendingProps);case 24:Ll(t,ut,e.memoizedState.cache)}return ul(e,t,n)}function uh(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)ft=!0;else{if(!Hu(e,n)&&(t.flags&128)===0)return ft=!1,qv(e,t,n);ft=(e.flags&131072)!==0}else ft=!1,Oe&&(t.flags&1048576)!==0&&$d(t,wi,t.index);switch(t.lanes=0,t.tag){case 16:e:{var a=t.pendingProps;if(e=wa(t.elementType),t.type=e,typeof e=="function")Fo(e)?(a=Ra(e,a),t.tag=1,t=sh(null,t,e,a,n)):(t.tag=0,t=Mu(null,t,e,a,n));else{if(e!=null){var r=e.$$typeof;if(r===V){t.tag=11,t=Wf(null,t,e,a,n);break e}else if(r===X){t.tag=14,t=Jf(null,t,e,a,n);break e}}throw t=$e(e)||e,Error(o(306,t,""))}}return t;case 0:return Mu(e,t,t.type,t.pendingProps,n);case 1:return a=t.type,r=Ra(a,t.pendingProps),sh(e,t,a,r,n);case 3:e:{if(ot(t,t.stateNode.containerInfo),e===null)throw Error(o(387));a=t.pendingProps;var u=t.memoizedState;r=u.element,su(e,t),Di(t,a,null,n);var f=t.memoizedState;if(a=f.cache,Ll(t,ut,a),a!==u.cache&&Jo(t,[ut],n,!0),Mi(),a=f.element,u.isDehydrated)if(u={element:a,isDehydrated:!1,cache:f.cache},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){t=ih(e,t,a,n);break e}else if(a!==r){r=xn(Error(o(424)),t),Ci(r),t=ih(e,t,a,n);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Ie=wn(e.firstChild),Nt=t,Oe=!0,Dl=null,Sn=!0,n=ef(t,null,a,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(ba(),a===r){t=ul(e,t,n);break e}Ct(e,t,a,n)}t=t.child}return t;case 26:return hr(e,t),e===null?(n=b1(t.type,null,t.pendingProps,null))?t.memoizedState=n:Oe||(n=t.type,e=t.pendingProps,a=Ar(ge.current).createElement(n),a[St]=t,a[Gt]=e,Tt(a,n,e),_t(a),t.stateNode=a):t.memoizedState=b1(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return $t(t),e===null&&Oe&&(a=t.stateNode=g1(t.type,t.pendingProps,ge.current),Nt=t,Sn=!0,r=Ie,Zl(t.type)?(g0=r,Ie=wn(a.firstChild)):Ie=r),Ct(e,t,t.pendingProps.children,n),hr(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Oe&&((r=a=Ie)&&(a=v_(a,t.type,t.pendingProps,Sn),a!==null?(t.stateNode=a,Nt=t,Ie=wn(a.firstChild),Sn=!1,r=!0):r=!1),r||zl(t)),$t(t),r=t.type,u=t.pendingProps,f=e!==null?e.memoizedProps:null,a=u.children,h0(r,u)?a=null:f!==null&&h0(r,f)&&(t.flags|=32),t.memoizedState!==null&&(r=fu(e,t,Ov,null,null,n),Ji._currentValue=r),hr(e,t),Ct(e,t,a,n),t.child;case 6:return e===null&&Oe&&((e=n=Ie)&&(n=__(n,t.pendingProps,Sn),n!==null?(t.stateNode=n,Nt=t,Ie=null,e=!0):e=!1),e||zl(t)),null;case 13:return ch(e,t,n);case 4:return ot(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=Ta(t,null,a,n):Ct(e,t,a,n),t.child;case 11:return Wf(e,t,t.type,t.pendingProps,n);case 7:return Ct(e,t,t.pendingProps,n),t.child;case 8:return Ct(e,t,t.pendingProps.children,n),t.child;case 12:return Ct(e,t,t.pendingProps.children,n),t.child;case 10:return a=t.pendingProps,Ll(t,t.type,a.value),Ct(e,t,a.children,n),t.child;case 9:return r=t.type._context,a=t.pendingProps.children,Sa(t),r=wt(r),a=a(r),t.flags|=1,Ct(e,t,a,n),t.child;case 14:return Jf(e,t,t.type,t.pendingProps,n);case 15:return eh(e,t,t.type,t.pendingProps,n);case 19:return oh(e,t,n);case 31:return Hv(e,t,n);case 22:return th(e,t,n,t.pendingProps);case 24:return Sa(t),a=wt(ut),e===null?(r=nu(),r===null&&(r=Ze,u=eu(),r.pooledCache=u,u.refCount++,u!==null&&(r.pooledCacheLanes|=n),r=u),t.memoizedState={parent:a,cache:r},au(t),Ll(t,ut,r)):((e.lanes&n)!==0&&(su(e,t),Di(t,null,null,n),Mi()),r=e.memoizedState,u=t.memoizedState,r.parent!==a?(r={parent:a,cache:a},t.memoizedState=r,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=r),Ll(t,ut,a)):(a=u.cache,Ll(t,ut,a),a!==r.cache&&Jo(t,[ut],n,!0))),Ct(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(o(156,t.tag))}function dl(e){e.flags|=4}function qu(e,t,n,a,r){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(r&335544128)===r)if(e.stateNode.complete)e.flags|=8192;else if(Uh())e.flags|=8192;else throw Ca=Wc,lu}else e.flags&=-16777217}function dh(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!C1(t))if(Uh())e.flags|=8192;else throw Ca=Wc,lu}function pr(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?V2():536870912,e.lanes|=t,Es|=t)}function Hi(e,t){if(!Oe)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var a=null;n!==null;)n.alternate!==null&&(a=n),n=n.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function Pe(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,a=0;if(t)for(var r=e.child;r!==null;)n|=r.lanes|r.childLanes,a|=r.subtreeFlags&65011712,a|=r.flags&65011712,r.return=e,r=r.sibling;else for(r=e.child;r!==null;)n|=r.lanes|r.childLanes,a|=r.subtreeFlags,a|=r.flags,r.return=e,r=r.sibling;return e.subtreeFlags|=a,e.childLanes=n,t}function $v(e,t,n){var a=t.pendingProps;switch(Zo(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Pe(t),null;case 1:return Pe(t),null;case 3:return n=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),cl(ut),ye(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(ps(t)?dl(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Io())),Pe(t),null;case 26:var r=t.type,u=t.memoizedState;return e===null?(dl(t),u!==null?(Pe(t),dh(t,u)):(Pe(t),qu(t,r,null,a,n))):u?u!==e.memoizedState?(dl(t),Pe(t),dh(t,u)):(Pe(t),t.flags&=-16777217):(e=e.memoizedProps,e!==a&&dl(t),Pe(t),qu(t,r,e,a,n)),null;case 27:if(Hn(t),n=ge.current,r=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&dl(t);else{if(!a){if(t.stateNode===null)throw Error(o(166));return Pe(t),null}e=J.current,ps(t)?Vd(t):(e=g1(r,a,n),t.stateNode=e,dl(t))}return Pe(t),null;case 5:if(Hn(t),r=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&dl(t);else{if(!a){if(t.stateNode===null)throw Error(o(166));return Pe(t),null}if(u=J.current,ps(t))Vd(t);else{var f=Ar(ge.current);switch(u){case 1:u=f.createElementNS("http://www.w3.org/2000/svg",r);break;case 2:u=f.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;default:switch(r){case"svg":u=f.createElementNS("http://www.w3.org/2000/svg",r);break;case"math":u=f.createElementNS("http://www.w3.org/1998/Math/MathML",r);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(r,{is:a.is}):f.createElement(r)}}u[St]=t,u[Gt]=a;e:for(f=t.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===t)break e;for(;f.sibling===null;){if(f.return===null||f.return===t)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}t.stateNode=u;e:switch(Tt(u,r,a),r){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&dl(t)}}return Pe(t),qu(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&dl(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(o(166));if(e=ge.current,ps(t)){if(e=t.stateNode,n=t.memoizedProps,a=null,r=Nt,r!==null)switch(r.tag){case 27:case 5:a=r.memoizedProps}e[St]=t,e=!!(e.nodeValue===n||a!==null&&a.suppressHydrationWarning===!0||c1(e.nodeValue,n)),e||zl(t,!0)}else e=Ar(e).createTextNode(a),e[St]=t,t.stateNode=e}return Pe(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(a=ps(t),n!==null){if(e===null){if(!a)throw Error(o(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(557));e[St]=t}else ba(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Pe(t),e=!1}else n=Io(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(an(t),t):(an(t),null);if((t.flags&128)!==0)throw Error(o(558))}return Pe(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(r=ps(t),a!==null&&a.dehydrated!==null){if(e===null){if(!r)throw Error(o(318));if(r=t.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(o(317));r[St]=t}else ba(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Pe(t),r=!1}else r=Io(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),r=!0;if(!r)return t.flags&256?(an(t),t):(an(t),null)}return an(t),(t.flags&128)!==0?(t.lanes=n,t):(n=a!==null,e=e!==null&&e.memoizedState!==null,n&&(a=t.child,r=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(r=a.alternate.memoizedState.cachePool.pool),u=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),u!==r&&(a.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),pr(t,t.updateQueue),Pe(t),null);case 4:return ye(),e===null&&r0(t.stateNode.containerInfo),Pe(t),null;case 10:return cl(t.type),Pe(t),null;case 19:if(H(st),a=t.memoizedState,a===null)return Pe(t),null;if(r=(t.flags&128)!==0,u=a.rendering,u===null)if(r)Hi(a,!1);else{if(lt!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(u=nr(e),u!==null){for(t.flags|=128,Hi(a,!1),e=u.updateQueue,t.updateQueue=e,pr(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)kd(n,e),n=n.sibling;return I(st,st.current&1|2),Oe&&sl(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&Wt()>xr&&(t.flags|=128,r=!0,Hi(a,!1),t.lanes=4194304)}else{if(!r)if(e=nr(u),e!==null){if(t.flags|=128,r=!0,e=e.updateQueue,t.updateQueue=e,pr(t,e),Hi(a,!0),a.tail===null&&a.tailMode==="hidden"&&!u.alternate&&!Oe)return Pe(t),null}else 2*Wt()-a.renderingStartTime>xr&&n!==536870912&&(t.flags|=128,r=!0,Hi(a,!1),t.lanes=4194304);a.isBackwards?(u.sibling=t.child,t.child=u):(e=a.last,e!==null?e.sibling=u:t.child=u,a.last=u)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=Wt(),e.sibling=null,n=st.current,I(st,r?n&1|2:n&1),Oe&&sl(t,a.treeForkCount),e):(Pe(t),null);case 22:case 23:return an(t),ou(),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(n&536870912)!==0&&(t.flags&128)===0&&(Pe(t),t.subtreeFlags&6&&(t.flags|=8192)):Pe(t),n=t.updateQueue,n!==null&&pr(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==n&&(t.flags|=2048),e!==null&&H(Na),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),cl(ut),Pe(t),null;case 25:return null;case 30:return null}throw Error(o(156,t.tag))}function Gv(e,t){switch(Zo(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return cl(ut),ye(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Hn(t),null;case 31:if(t.memoizedState!==null){if(an(t),t.alternate===null)throw Error(o(340));ba()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(an(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(o(340));ba()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return H(st),null;case 4:return ye(),null;case 10:return cl(t.type),null;case 22:case 23:return an(t),ou(),e!==null&&H(Na),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return cl(ut),null;case 25:return null;default:return null}}function fh(e,t){switch(Zo(t),t.tag){case 3:cl(ut),ye();break;case 26:case 27:case 5:Hn(t);break;case 4:ye();break;case 31:t.memoizedState!==null&&an(t);break;case 13:an(t);break;case 19:H(st);break;case 10:cl(t.type);break;case 22:case 23:an(t),ou(),e!==null&&H(Na);break;case 24:cl(ut)}}function qi(e,t){try{var n=t.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var r=a.next;n=r;do{if((n.tag&e)===e){a=void 0;var u=n.create,f=n.inst;a=u(),f.destroy=a}n=n.next}while(n!==r)}}catch(g){Ve(t,t.return,g)}}function $l(e,t,n){try{var a=t.updateQueue,r=a!==null?a.lastEffect:null;if(r!==null){var u=r.next;a=u;do{if((a.tag&e)===e){var f=a.inst,g=f.destroy;if(g!==void 0){f.destroy=void 0,r=t;var j=n,z=g;try{z()}catch(k){Ve(r,j,k)}}}a=a.next}while(a!==u)}}catch(k){Ve(t,t.return,k)}}function hh(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{nf(t,n)}catch(a){Ve(e,e.return,a)}}}function mh(e,t,n){n.props=Ra(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(a){Ve(e,t,a)}}function $i(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}typeof n=="function"?e.refCleanup=n(a):n.current=a}}catch(r){Ve(e,t,r)}}function Vn(e,t){var n=e.ref,a=e.refCleanup;if(n!==null)if(typeof a=="function")try{a()}catch(r){Ve(e,t,r)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(r){Ve(e,t,r)}else n.current=null}function ph(e){var t=e.type,n=e.memoizedProps,a=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&a.focus();break e;case"img":n.src?a.src=n.src:n.srcSet&&(a.srcset=n.srcSet)}}catch(r){Ve(e,e.return,r)}}function $u(e,t,n){try{var a=e.stateNode;u_(a,e.type,n,t),a[Gt]=t}catch(r){Ve(e,e.return,r)}}function vh(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Zl(e.type)||e.tag===4}function Gu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||vh(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Zl(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Vu(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=nl));else if(a!==4&&(a===27&&Zl(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(Vu(e,t,n),e=e.sibling;e!==null;)Vu(e,t,n),e=e.sibling}function vr(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(a!==4&&(a===27&&Zl(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(vr(e,t,n),e=e.sibling;e!==null;)vr(e,t,n),e=e.sibling}function _h(e){var t=e.stateNode,n=e.memoizedProps;try{for(var a=e.type,r=t.attributes;r.length;)t.removeAttributeNode(r[0]);Tt(t,a,n),t[St]=e,t[Gt]=n}catch(u){Ve(e,e.return,u)}}var fl=!1,ht=!1,Fu=!1,gh=typeof WeakSet=="function"?WeakSet:Set,gt=null;function Vv(e,t){if(e=e.containerInfo,d0=Ur,e=Rd(e),Uo(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var a=n.getSelection&&n.getSelection();if(a&&a.rangeCount!==0){n=a.anchorNode;var r=a.anchorOffset,u=a.focusNode;a=a.focusOffset;try{n.nodeType,u.nodeType}catch{n=null;break e}var f=0,g=-1,j=-1,z=0,k=0,G=e,L=null;t:for(;;){for(var B;G!==n||r!==0&&G.nodeType!==3||(g=f+r),G!==u||a!==0&&G.nodeType!==3||(j=f+a),G.nodeType===3&&(f+=G.nodeValue.length),(B=G.firstChild)!==null;)L=G,G=B;for(;;){if(G===e)break t;if(L===n&&++z===r&&(g=f),L===u&&++k===a&&(j=f),(B=G.nextSibling)!==null)break;G=L,L=G.parentNode}G=B}n=g===-1||j===-1?null:{start:g,end:j}}else n=null}n=n||{start:0,end:0}}else n=null;for(f0={focusedElem:e,selectionRange:n},Ur=!1,gt=t;gt!==null;)if(t=gt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,gt=e;else for(;gt!==null;){switch(t=gt,u=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(n=0;n<e.length;n++)r=e[n],r.ref.impl=r.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&u!==null){e=void 0,n=t,r=u.memoizedProps,u=u.memoizedState,a=n.stateNode;try{var ee=Ra(n.type,r);e=a.getSnapshotBeforeUpdate(ee,u),a.__reactInternalSnapshotBeforeUpdate=e}catch(ue){Ve(n,n.return,ue)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)p0(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":p0(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(o(163))}if(e=t.sibling,e!==null){e.return=t.return,gt=e;break}gt=t.return}}function yh(e,t,n){var a=n.flags;switch(n.tag){case 0:case 11:case 15:ml(e,n),a&4&&qi(5,n);break;case 1:if(ml(e,n),a&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(f){Ve(n,n.return,f)}else{var r=Ra(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(r,t,e.__reactInternalSnapshotBeforeUpdate)}catch(f){Ve(n,n.return,f)}}a&64&&hh(n),a&512&&$i(n,n.return);break;case 3:if(ml(e,n),a&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{nf(e,t)}catch(f){Ve(n,n.return,f)}}break;case 27:t===null&&a&4&&_h(n);case 26:case 5:ml(e,n),t===null&&a&4&&ph(n),a&512&&$i(n,n.return);break;case 12:ml(e,n);break;case 31:ml(e,n),a&4&&jh(e,n);break;case 13:ml(e,n),a&4&&Sh(e,n),a&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=Wv.bind(null,n),g_(e,n))));break;case 22:if(a=n.memoizedState!==null||fl,!a){t=t!==null&&t.memoizedState!==null||ht,r=fl;var u=ht;fl=a,(ht=t)&&!u?pl(e,n,(n.subtreeFlags&8772)!==0):ml(e,n),fl=r,ht=u}break;case 30:break;default:ml(e,n)}}function xh(e){var t=e.alternate;t!==null&&(e.alternate=null,xh(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&xo(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Je=null,Ft=!1;function hl(e,t,n){for(n=n.child;n!==null;)bh(e,t,n),n=n.sibling}function bh(e,t,n){if(Jt&&typeof Jt.onCommitFiberUnmount=="function")try{Jt.onCommitFiberUnmount(di,n)}catch{}switch(n.tag){case 26:ht||Vn(n,t),hl(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:ht||Vn(n,t);var a=Je,r=Ft;Zl(n.type)&&(Je=n.stateNode,Ft=!1),hl(e,t,n),Ii(n.stateNode),Je=a,Ft=r;break;case 5:ht||Vn(n,t);case 6:if(a=Je,r=Ft,Je=null,hl(e,t,n),Je=a,Ft=r,Je!==null)if(Ft)try{(Je.nodeType===9?Je.body:Je.nodeName==="HTML"?Je.ownerDocument.body:Je).removeChild(n.stateNode)}catch(u){Ve(n,t,u)}else try{Je.removeChild(n.stateNode)}catch(u){Ve(n,t,u)}break;case 18:Je!==null&&(Ft?(e=Je,h1(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),Bs(e)):h1(Je,n.stateNode));break;case 4:a=Je,r=Ft,Je=n.stateNode.containerInfo,Ft=!0,hl(e,t,n),Je=a,Ft=r;break;case 0:case 11:case 14:case 15:$l(2,n,t),ht||$l(4,n,t),hl(e,t,n);break;case 1:ht||(Vn(n,t),a=n.stateNode,typeof a.componentWillUnmount=="function"&&mh(n,t,a)),hl(e,t,n);break;case 21:hl(e,t,n);break;case 22:ht=(a=ht)||n.memoizedState!==null,hl(e,t,n),ht=a;break;default:hl(e,t,n)}}function jh(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Bs(e)}catch(n){Ve(t,t.return,n)}}}function Sh(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Bs(e)}catch(n){Ve(t,t.return,n)}}function Fv(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new gh),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new gh),t;default:throw Error(o(435,e.tag))}}function _r(e,t){var n=Fv(e);t.forEach(function(a){if(!n.has(a)){n.add(a);var r=Jv.bind(null,e,a);a.then(r,r)}})}function Qt(e,t){var n=t.deletions;if(n!==null)for(var a=0;a<n.length;a++){var r=n[a],u=e,f=t,g=f;e:for(;g!==null;){switch(g.tag){case 27:if(Zl(g.type)){Je=g.stateNode,Ft=!1;break e}break;case 5:Je=g.stateNode,Ft=!1;break e;case 3:case 4:Je=g.stateNode.containerInfo,Ft=!0;break e}g=g.return}if(Je===null)throw Error(o(160));bh(u,f,r),Je=null,Ft=!1,u=r.alternate,u!==null&&(u.return=null),r.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Nh(t,e),t=t.sibling}var zn=null;function Nh(e,t){var n=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Qt(t,e),Yt(e),a&4&&($l(3,e,e.return),qi(3,e),$l(5,e,e.return));break;case 1:Qt(t,e),Yt(e),a&512&&(ht||n===null||Vn(n,n.return)),a&64&&fl&&(e=e.updateQueue,e!==null&&(a=e.callbacks,a!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?a:n.concat(a))));break;case 26:var r=zn;if(Qt(t,e),Yt(e),a&512&&(ht||n===null||Vn(n,n.return)),a&4){var u=n!==null?n.memoizedState:null;if(a=e.memoizedState,n===null)if(a===null)if(e.stateNode===null){e:{a=e.type,n=e.memoizedProps,r=r.ownerDocument||r;t:switch(a){case"title":u=r.getElementsByTagName("title")[0],(!u||u[mi]||u[St]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=r.createElement(a),r.head.insertBefore(u,r.querySelector("head > title"))),Tt(u,a,n),u[St]=e,_t(u),a=u;break e;case"link":var f=N1("link","href",r).get(a+(n.href||""));if(f){for(var g=0;g<f.length;g++)if(u=f[g],u.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&u.getAttribute("rel")===(n.rel==null?null:n.rel)&&u.getAttribute("title")===(n.title==null?null:n.title)&&u.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){f.splice(g,1);break t}}u=r.createElement(a),Tt(u,a,n),r.head.appendChild(u);break;case"meta":if(f=N1("meta","content",r).get(a+(n.content||""))){for(g=0;g<f.length;g++)if(u=f[g],u.getAttribute("content")===(n.content==null?null:""+n.content)&&u.getAttribute("name")===(n.name==null?null:n.name)&&u.getAttribute("property")===(n.property==null?null:n.property)&&u.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&u.getAttribute("charset")===(n.charSet==null?null:n.charSet)){f.splice(g,1);break t}}u=r.createElement(a),Tt(u,a,n),r.head.appendChild(u);break;default:throw Error(o(468,a))}u[St]=e,_t(u),a=u}e.stateNode=a}else w1(r,e.type,e.stateNode);else e.stateNode=S1(r,a,e.memoizedProps);else u!==a?(u===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):u.count--,a===null?w1(r,e.type,e.stateNode):S1(r,a,e.memoizedProps)):a===null&&e.stateNode!==null&&$u(e,e.memoizedProps,n.memoizedProps)}break;case 27:Qt(t,e),Yt(e),a&512&&(ht||n===null||Vn(n,n.return)),n!==null&&a&4&&$u(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Qt(t,e),Yt(e),a&512&&(ht||n===null||Vn(n,n.return)),e.flags&32){r=e.stateNode;try{ss(r,"")}catch(ee){Ve(e,e.return,ee)}}a&4&&e.stateNode!=null&&(r=e.memoizedProps,$u(e,r,n!==null?n.memoizedProps:r)),a&1024&&(Fu=!0);break;case 6:if(Qt(t,e),Yt(e),a&4){if(e.stateNode===null)throw Error(o(162));a=e.memoizedProps,n=e.stateNode;try{n.nodeValue=a}catch(ee){Ve(e,e.return,ee)}}break;case 3:if(Dr=null,r=zn,zn=Or(t.containerInfo),Qt(t,e),zn=r,Yt(e),a&4&&n!==null&&n.memoizedState.isDehydrated)try{Bs(t.containerInfo)}catch(ee){Ve(e,e.return,ee)}Fu&&(Fu=!1,wh(e));break;case 4:a=zn,zn=Or(e.stateNode.containerInfo),Qt(t,e),Yt(e),zn=a;break;case 12:Qt(t,e),Yt(e);break;case 31:Qt(t,e),Yt(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,_r(e,a)));break;case 13:Qt(t,e),Yt(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(yr=Wt()),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,_r(e,a)));break;case 22:r=e.memoizedState!==null;var j=n!==null&&n.memoizedState!==null,z=fl,k=ht;if(fl=z||r,ht=k||j,Qt(t,e),ht=k,fl=z,Yt(e),a&8192)e:for(t=e.stateNode,t._visibility=r?t._visibility&-2:t._visibility|1,r&&(n===null||j||fl||ht||Aa(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){j=n=t;try{if(u=j.stateNode,r)f=u.style,typeof f.setProperty=="function"?f.setProperty("display","none","important"):f.display="none";else{g=j.stateNode;var G=j.memoizedProps.style,L=G!=null&&G.hasOwnProperty("display")?G.display:null;g.style.display=L==null||typeof L=="boolean"?"":(""+L).trim()}}catch(ee){Ve(j,j.return,ee)}}}else if(t.tag===6){if(n===null){j=t;try{j.stateNode.nodeValue=r?"":j.memoizedProps}catch(ee){Ve(j,j.return,ee)}}}else if(t.tag===18){if(n===null){j=t;try{var B=j.stateNode;r?m1(B,!0):m1(j.stateNode,!1)}catch(ee){Ve(j,j.return,ee)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}a&4&&(a=e.updateQueue,a!==null&&(n=a.retryQueue,n!==null&&(a.retryQueue=null,_r(e,n))));break;case 19:Qt(t,e),Yt(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,_r(e,a)));break;case 30:break;case 21:break;default:Qt(t,e),Yt(e)}}function Yt(e){var t=e.flags;if(t&2){try{for(var n,a=e.return;a!==null;){if(vh(a)){n=a;break}a=a.return}if(n==null)throw Error(o(160));switch(n.tag){case 27:var r=n.stateNode,u=Gu(e);vr(e,u,r);break;case 5:var f=n.stateNode;n.flags&32&&(ss(f,""),n.flags&=-33);var g=Gu(e);vr(e,g,f);break;case 3:case 4:var j=n.stateNode.containerInfo,z=Gu(e);Vu(e,z,j);break;default:throw Error(o(161))}}catch(k){Ve(e,e.return,k)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function wh(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;wh(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function ml(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)yh(e,t.alternate,t),t=t.sibling}function Aa(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:$l(4,t,t.return),Aa(t);break;case 1:Vn(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount=="function"&&mh(t,t.return,n),Aa(t);break;case 27:Ii(t.stateNode);case 26:case 5:Vn(t,t.return),Aa(t);break;case 22:t.memoizedState===null&&Aa(t);break;case 30:Aa(t);break;default:Aa(t)}e=e.sibling}}function pl(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var a=t.alternate,r=e,u=t,f=u.flags;switch(u.tag){case 0:case 11:case 15:pl(r,u,n),qi(4,u);break;case 1:if(pl(r,u,n),a=u,r=a.stateNode,typeof r.componentDidMount=="function")try{r.componentDidMount()}catch(z){Ve(a,a.return,z)}if(a=u,r=a.updateQueue,r!==null){var g=a.stateNode;try{var j=r.shared.hiddenCallbacks;if(j!==null)for(r.shared.hiddenCallbacks=null,r=0;r<j.length;r++)tf(j[r],g)}catch(z){Ve(a,a.return,z)}}n&&f&64&&hh(u),$i(u,u.return);break;case 27:_h(u);case 26:case 5:pl(r,u,n),n&&a===null&&f&4&&ph(u),$i(u,u.return);break;case 12:pl(r,u,n);break;case 31:pl(r,u,n),n&&f&4&&jh(r,u);break;case 13:pl(r,u,n),n&&f&4&&Sh(r,u);break;case 22:u.memoizedState===null&&pl(r,u,n),$i(u,u.return);break;case 30:break;default:pl(r,u,n)}t=t.sibling}}function Qu(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&Ti(n))}function Yu(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Ti(e))}function Ln(e,t,n,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Ch(e,t,n,a),t=t.sibling}function Ch(e,t,n,a){var r=t.flags;switch(t.tag){case 0:case 11:case 15:Ln(e,t,n,a),r&2048&&qi(9,t);break;case 1:Ln(e,t,n,a);break;case 3:Ln(e,t,n,a),r&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Ti(e)));break;case 12:if(r&2048){Ln(e,t,n,a),e=t.stateNode;try{var u=t.memoizedProps,f=u.id,g=u.onPostCommit;typeof g=="function"&&g(f,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(j){Ve(t,t.return,j)}}else Ln(e,t,n,a);break;case 31:Ln(e,t,n,a);break;case 13:Ln(e,t,n,a);break;case 23:break;case 22:u=t.stateNode,f=t.alternate,t.memoizedState!==null?u._visibility&2?Ln(e,t,n,a):Gi(e,t):u._visibility&2?Ln(e,t,n,a):(u._visibility|=2,ws(e,t,n,a,(t.subtreeFlags&10256)!==0||!1)),r&2048&&Qu(f,t);break;case 24:Ln(e,t,n,a),r&2048&&Yu(t.alternate,t);break;default:Ln(e,t,n,a)}}function ws(e,t,n,a,r){for(r=r&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var u=e,f=t,g=n,j=a,z=f.flags;switch(f.tag){case 0:case 11:case 15:ws(u,f,g,j,r),qi(8,f);break;case 23:break;case 22:var k=f.stateNode;f.memoizedState!==null?k._visibility&2?ws(u,f,g,j,r):Gi(u,f):(k._visibility|=2,ws(u,f,g,j,r)),r&&z&2048&&Qu(f.alternate,f);break;case 24:ws(u,f,g,j,r),r&&z&2048&&Yu(f.alternate,f);break;default:ws(u,f,g,j,r)}t=t.sibling}}function Gi(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,a=t,r=a.flags;switch(a.tag){case 22:Gi(n,a),r&2048&&Qu(a.alternate,a);break;case 24:Gi(n,a),r&2048&&Yu(a.alternate,a);break;default:Gi(n,a)}t=t.sibling}}var Vi=8192;function Cs(e,t,n){if(e.subtreeFlags&Vi)for(e=e.child;e!==null;)Th(e,t,n),e=e.sibling}function Th(e,t,n){switch(e.tag){case 26:Cs(e,t,n),e.flags&Vi&&e.memoizedState!==null&&A_(n,zn,e.memoizedState,e.memoizedProps);break;case 5:Cs(e,t,n);break;case 3:case 4:var a=zn;zn=Or(e.stateNode.containerInfo),Cs(e,t,n),zn=a;break;case 22:e.memoizedState===null&&(a=e.alternate,a!==null&&a.memoizedState!==null?(a=Vi,Vi=16777216,Cs(e,t,n),Vi=a):Cs(e,t,n));break;default:Cs(e,t,n)}}function Eh(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Fi(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n];gt=a,Ah(a,e)}Eh(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Rh(e),e=e.sibling}function Rh(e){switch(e.tag){case 0:case 11:case 15:Fi(e),e.flags&2048&&$l(9,e,e.return);break;case 3:Fi(e);break;case 12:Fi(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,gr(e)):Fi(e);break;default:Fi(e)}}function gr(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n];gt=a,Ah(a,e)}Eh(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:$l(8,t,t.return),gr(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,gr(t));break;default:gr(t)}e=e.sibling}}function Ah(e,t){for(;gt!==null;){var n=gt;switch(n.tag){case 0:case 11:case 15:$l(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var a=n.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:Ti(n.memoizedState.cache)}if(a=n.child,a!==null)a.return=n,gt=a;else e:for(n=e;gt!==null;){a=gt;var r=a.sibling,u=a.return;if(xh(a),a===n){gt=null;break e}if(r!==null){r.return=u,gt=r;break e}gt=u}}}var Qv={getCacheForType:function(e){var t=wt(ut),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return wt(ut).controller.signal}},Yv=typeof WeakMap=="function"?WeakMap:Map,He=0,Ze=null,Ce=null,Ee=0,Ge=0,sn=null,Gl=!1,Ts=!1,Xu=!1,vl=0,lt=0,Vl=0,Oa=0,Zu=0,cn=0,Es=0,Qi=null,Xt=null,Ku=!1,yr=0,Oh=0,xr=1/0,br=null,Fl=null,mt=0,Ql=null,Rs=null,_l=0,Iu=0,Pu=null,Mh=null,Yi=0,Wu=null;function rn(){return(He&2)!==0&&Ee!==0?Ee&-Ee:U.T!==null?a0():X2()}function Dh(){if(cn===0)if((Ee&536870912)===0||Oe){var e=Rc;Rc<<=1,(Rc&3932160)===0&&(Rc=262144),cn=e}else cn=536870912;return e=ln.current,e!==null&&(e.flags|=32),cn}function Zt(e,t,n){(e===Ze&&(Ge===2||Ge===9)||e.cancelPendingCommit!==null)&&(As(e,0),Yl(e,Ee,cn,!1)),hi(e,n),((He&2)===0||e!==Ze)&&(e===Ze&&((He&2)===0&&(Oa|=n),lt===4&&Yl(e,Ee,cn,!1)),Fn(e))}function zh(e,t,n){if((He&6)!==0)throw Error(o(327));var a=!n&&(t&127)===0&&(t&e.expiredLanes)===0||fi(e,t),r=a?Kv(e,t):e0(e,t,!0),u=a;do{if(r===0){Ts&&!a&&Yl(e,t,0,!1);break}else{if(n=e.current.alternate,u&&!Xv(n)){r=e0(e,t,!1),u=!1;continue}if(r===2){if(u=t,e.errorRecoveryDisabledLanes&u)var f=0;else f=e.pendingLanes&-536870913,f=f!==0?f:f&536870912?536870912:0;if(f!==0){t=f;e:{var g=e;r=Qi;var j=g.current.memoizedState.isDehydrated;if(j&&(As(g,f).flags|=256),f=e0(g,f,!1),f!==2){if(Xu&&!j){g.errorRecoveryDisabledLanes|=u,Oa|=u,r=4;break e}u=Xt,Xt=r,u!==null&&(Xt===null?Xt=u:Xt.push.apply(Xt,u))}r=f}if(u=!1,r!==2)continue}}if(r===1){As(e,0),Yl(e,t,0,!0);break}e:{switch(a=e,u=r,u){case 0:case 1:throw Error(o(345));case 4:if((t&4194048)!==t)break;case 6:Yl(a,t,cn,!Gl);break e;case 2:Xt=null;break;case 3:case 5:break;default:throw Error(o(329))}if((t&62914560)===t&&(r=yr+300-Wt(),10<r)){if(Yl(a,t,cn,!Gl),Oc(a,0,!0)!==0)break e;_l=t,a.timeoutHandle=d1(Lh.bind(null,a,n,Xt,br,Ku,t,cn,Oa,Es,Gl,u,"Throttled",-0,0),r);break e}Lh(a,n,Xt,br,Ku,t,cn,Oa,Es,Gl,u,null,-0,0)}}break}while(!0);Fn(e)}function Lh(e,t,n,a,r,u,f,g,j,z,k,G,L,B){if(e.timeoutHandle=-1,G=t.subtreeFlags,G&8192||(G&16785408)===16785408){G={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:nl},Th(t,u,G);var ee=(u&62914560)===u?yr-Wt():(u&4194048)===u?Oh-Wt():0;if(ee=O_(G,ee),ee!==null){_l=u,e.cancelPendingCommit=ee(Vh.bind(null,e,t,u,n,a,r,f,g,j,k,G,null,L,B)),Yl(e,u,f,!z);return}}Vh(e,t,u,n,a,r,f,g,j)}function Xv(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var a=0;a<n.length;a++){var r=n[a],u=r.getSnapshot;r=r.value;try{if(!tn(u(),r))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Yl(e,t,n,a){t&=~Zu,t&=~Oa,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var r=t;0<r;){var u=31-en(r),f=1<<u;a[u]=-1,r&=~f}n!==0&&F2(e,n,t)}function jr(){return(He&6)===0?(Xi(0),!1):!0}function Ju(){if(Ce!==null){if(Ge===0)var e=Ce.return;else e=Ce,il=ja=null,pu(e),xs=null,Ri=0,e=Ce;for(;e!==null;)fh(e.alternate,e),e=e.return;Ce=null}}function As(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,h_(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),_l=0,Ju(),Ze=e,Ce=n=al(e.current,null),Ee=t,Ge=0,sn=null,Gl=!1,Ts=fi(e,t),Xu=!1,Es=cn=Zu=Oa=Vl=lt=0,Xt=Qi=null,Ku=!1,(t&8)!==0&&(t|=t&32);var a=e.entangledLanes;if(a!==0)for(e=e.entanglements,a&=t;0<a;){var r=31-en(a),u=1<<r;t|=e[r],a&=~u}return vl=t,Vc(),n}function Bh(e,t){xe=null,U.H=Ui,t===ys||t===Pc?(t=Pd(),Ge=3):t===lu?(t=Pd(),Ge=4):Ge=t===Ou?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,sn=t,Ce===null&&(lt=1,dr(e,xn(t,e.current)))}function Uh(){var e=ln.current;return e===null?!0:(Ee&4194048)===Ee?Nn===null:(Ee&62914560)===Ee||(Ee&536870912)!==0?e===Nn:!1}function kh(){var e=U.H;return U.H=Ui,e===null?Ui:e}function Hh(){var e=U.A;return U.A=Qv,e}function Sr(){lt=4,Gl||(Ee&4194048)!==Ee&&ln.current!==null||(Ts=!0),(Vl&134217727)===0&&(Oa&134217727)===0||Ze===null||Yl(Ze,Ee,cn,!1)}function e0(e,t,n){var a=He;He|=2;var r=kh(),u=Hh();(Ze!==e||Ee!==t)&&(br=null,As(e,t)),t=!1;var f=lt;e:do try{if(Ge!==0&&Ce!==null){var g=Ce,j=sn;switch(Ge){case 8:Ju(),f=6;break e;case 3:case 2:case 9:case 6:ln.current===null&&(t=!0);var z=Ge;if(Ge=0,sn=null,Os(e,g,j,z),n&&Ts){f=0;break e}break;default:z=Ge,Ge=0,sn=null,Os(e,g,j,z)}}Zv(),f=lt;break}catch(k){Bh(e,k)}while(!0);return t&&e.shellSuspendCounter++,il=ja=null,He=a,U.H=r,U.A=u,Ce===null&&(Ze=null,Ee=0,Vc()),f}function Zv(){for(;Ce!==null;)qh(Ce)}function Kv(e,t){var n=He;He|=2;var a=kh(),r=Hh();Ze!==e||Ee!==t?(br=null,xr=Wt()+500,As(e,t)):Ts=fi(e,t);e:do try{if(Ge!==0&&Ce!==null){t=Ce;var u=sn;t:switch(Ge){case 1:Ge=0,sn=null,Os(e,t,u,1);break;case 2:case 9:if(Kd(u)){Ge=0,sn=null,$h(t);break}t=function(){Ge!==2&&Ge!==9||Ze!==e||(Ge=7),Fn(e)},u.then(t,t);break e;case 3:Ge=7;break e;case 4:Ge=5;break e;case 7:Kd(u)?(Ge=0,sn=null,$h(t)):(Ge=0,sn=null,Os(e,t,u,7));break;case 5:var f=null;switch(Ce.tag){case 26:f=Ce.memoizedState;case 5:case 27:var g=Ce;if(f?C1(f):g.stateNode.complete){Ge=0,sn=null;var j=g.sibling;if(j!==null)Ce=j;else{var z=g.return;z!==null?(Ce=z,Nr(z)):Ce=null}break t}}Ge=0,sn=null,Os(e,t,u,5);break;case 6:Ge=0,sn=null,Os(e,t,u,6);break;case 8:Ju(),lt=6;break e;default:throw Error(o(462))}}Iv();break}catch(k){Bh(e,k)}while(!0);return il=ja=null,U.H=a,U.A=r,He=n,Ce!==null?0:(Ze=null,Ee=0,Vc(),lt)}function Iv(){for(;Ce!==null&&!y3();)qh(Ce)}function qh(e){var t=uh(e.alternate,e,vl);e.memoizedProps=e.pendingProps,t===null?Nr(e):Ce=t}function $h(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=ah(n,t,t.pendingProps,t.type,void 0,Ee);break;case 11:t=ah(n,t,t.pendingProps,t.type.render,t.ref,Ee);break;case 5:pu(t);default:fh(n,t),t=Ce=kd(t,vl),t=uh(n,t,vl)}e.memoizedProps=e.pendingProps,t===null?Nr(e):Ce=t}function Os(e,t,n,a){il=ja=null,pu(t),xs=null,Ri=0;var r=t.return;try{if(kv(e,r,t,n,Ee)){lt=1,dr(e,xn(n,e.current)),Ce=null;return}}catch(u){if(r!==null)throw Ce=r,u;lt=1,dr(e,xn(n,e.current)),Ce=null;return}t.flags&32768?(Oe||a===1?e=!0:Ts||(Ee&536870912)!==0?e=!1:(Gl=e=!0,(a===2||a===9||a===3||a===6)&&(a=ln.current,a!==null&&a.tag===13&&(a.flags|=16384))),Gh(t,e)):Nr(t)}function Nr(e){var t=e;do{if((t.flags&32768)!==0){Gh(t,Gl);return}e=t.return;var n=$v(t.alternate,t,vl);if(n!==null){Ce=n;return}if(t=t.sibling,t!==null){Ce=t;return}Ce=t=e}while(t!==null);lt===0&&(lt=5)}function Gh(e,t){do{var n=Gv(e.alternate,e);if(n!==null){n.flags&=32767,Ce=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){Ce=e;return}Ce=e=n}while(e!==null);lt=6,Ce=null}function Vh(e,t,n,a,r,u,f,g,j){e.cancelPendingCommit=null;do wr();while(mt!==0);if((He&6)!==0)throw Error(o(327));if(t!==null){if(t===e.current)throw Error(o(177));if(u=t.lanes|t.childLanes,u|=Go,R3(e,n,u,f,g,j),e===Ze&&(Ce=Ze=null,Ee=0),Rs=t,Ql=e,_l=n,Iu=u,Pu=r,Mh=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,e_(Tc,function(){return Zh(),null})):(e.callbackNode=null,e.callbackPriority=0),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=U.T,U.T=null,r=Q.p,Q.p=2,f=He,He|=4;try{Vv(e,t,n)}finally{He=f,Q.p=r,U.T=a}}mt=1,Fh(),Qh(),Yh()}}function Fh(){if(mt===1){mt=0;var e=Ql,t=Rs,n=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||n){n=U.T,U.T=null;var a=Q.p;Q.p=2;var r=He;He|=4;try{Nh(t,e);var u=f0,f=Rd(e.containerInfo),g=u.focusedElem,j=u.selectionRange;if(f!==g&&g&&g.ownerDocument&&Ed(g.ownerDocument.documentElement,g)){if(j!==null&&Uo(g)){var z=j.start,k=j.end;if(k===void 0&&(k=z),"selectionStart"in g)g.selectionStart=z,g.selectionEnd=Math.min(k,g.value.length);else{var G=g.ownerDocument||document,L=G&&G.defaultView||window;if(L.getSelection){var B=L.getSelection(),ee=g.textContent.length,ue=Math.min(j.start,ee),Xe=j.end===void 0?ue:Math.min(j.end,ee);!B.extend&&ue>Xe&&(f=Xe,Xe=ue,ue=f);var R=Td(g,ue),C=Td(g,Xe);if(R&&C&&(B.rangeCount!==1||B.anchorNode!==R.node||B.anchorOffset!==R.offset||B.focusNode!==C.node||B.focusOffset!==C.offset)){var D=G.createRange();D.setStart(R.node,R.offset),B.removeAllRanges(),ue>Xe?(B.addRange(D),B.extend(C.node,C.offset)):(D.setEnd(C.node,C.offset),B.addRange(D))}}}}for(G=[],B=g;B=B.parentNode;)B.nodeType===1&&G.push({element:B,left:B.scrollLeft,top:B.scrollTop});for(typeof g.focus=="function"&&g.focus(),g=0;g<G.length;g++){var q=G[g];q.element.scrollLeft=q.left,q.element.scrollTop=q.top}}Ur=!!d0,f0=d0=null}finally{He=r,Q.p=a,U.T=n}}e.current=t,mt=2}}function Qh(){if(mt===2){mt=0;var e=Ql,t=Rs,n=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||n){n=U.T,U.T=null;var a=Q.p;Q.p=2;var r=He;He|=4;try{yh(e,t.alternate,t)}finally{He=r,Q.p=a,U.T=n}}mt=3}}function Yh(){if(mt===4||mt===3){mt=0,x3();var e=Ql,t=Rs,n=_l,a=Mh;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?mt=5:(mt=0,Rs=Ql=null,Xh(e,e.pendingLanes));var r=e.pendingLanes;if(r===0&&(Fl=null),go(n),t=t.stateNode,Jt&&typeof Jt.onCommitFiberRoot=="function")try{Jt.onCommitFiberRoot(di,t,void 0,(t.current.flags&128)===128)}catch{}if(a!==null){t=U.T,r=Q.p,Q.p=2,U.T=null;try{for(var u=e.onRecoverableError,f=0;f<a.length;f++){var g=a[f];u(g.value,{componentStack:g.stack})}}finally{U.T=t,Q.p=r}}(_l&3)!==0&&wr(),Fn(e),r=e.pendingLanes,(n&261930)!==0&&(r&42)!==0?e===Wu?Yi++:(Yi=0,Wu=e):Yi=0,Xi(0)}}function Xh(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Ti(t)))}function wr(){return Fh(),Qh(),Yh(),Zh()}function Zh(){if(mt!==5)return!1;var e=Ql,t=Iu;Iu=0;var n=go(_l),a=U.T,r=Q.p;try{Q.p=32>n?32:n,U.T=null,n=Pu,Pu=null;var u=Ql,f=_l;if(mt=0,Rs=Ql=null,_l=0,(He&6)!==0)throw Error(o(331));var g=He;if(He|=4,Rh(u.current),Ch(u,u.current,f,n),He=g,Xi(0,!1),Jt&&typeof Jt.onPostCommitFiberRoot=="function")try{Jt.onPostCommitFiberRoot(di,u)}catch{}return!0}finally{Q.p=r,U.T=a,Xh(e,t)}}function Kh(e,t,n){t=xn(n,t),t=Au(e.stateNode,t,2),e=kl(e,t,2),e!==null&&(hi(e,2),Fn(e))}function Ve(e,t,n){if(e.tag===3)Kh(e,e,n);else for(;t!==null;){if(t.tag===3){Kh(t,e,n);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Fl===null||!Fl.has(a))){e=xn(n,e),n=If(2),a=kl(t,n,2),a!==null&&(Pf(n,a,t,e),hi(a,2),Fn(a));break}}t=t.return}}function t0(e,t,n){var a=e.pingCache;if(a===null){a=e.pingCache=new Yv;var r=new Set;a.set(t,r)}else r=a.get(t),r===void 0&&(r=new Set,a.set(t,r));r.has(n)||(Xu=!0,r.add(n),e=Pv.bind(null,e,t,n),t.then(e,e))}function Pv(e,t,n){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Ze===e&&(Ee&n)===n&&(lt===4||lt===3&&(Ee&62914560)===Ee&&300>Wt()-yr?(He&2)===0&&As(e,0):Zu|=n,Es===Ee&&(Es=0)),Fn(e)}function Ih(e,t){t===0&&(t=V2()),e=ya(e,t),e!==null&&(hi(e,t),Fn(e))}function Wv(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ih(e,n)}function Jv(e,t){var n=0;switch(e.tag){case 31:case 13:var a=e.stateNode,r=e.memoizedState;r!==null&&(n=r.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(o(314))}a!==null&&a.delete(t),Ih(e,n)}function e_(e,t){return mo(e,t)}var Cr=null,Ms=null,n0=!1,Tr=!1,l0=!1,Xl=0;function Fn(e){e!==Ms&&e.next===null&&(Ms===null?Cr=Ms=e:Ms=Ms.next=e),Tr=!0,n0||(n0=!0,n_())}function Xi(e,t){if(!l0&&Tr){l0=!0;do for(var n=!1,a=Cr;a!==null;){if(e!==0){var r=a.pendingLanes;if(r===0)var u=0;else{var f=a.suspendedLanes,g=a.pingedLanes;u=(1<<31-en(42|e)+1)-1,u&=r&~(f&~g),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(n=!0,e1(a,u))}else u=Ee,u=Oc(a,a===Ze?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(u&3)===0||fi(a,u)||(n=!0,e1(a,u));a=a.next}while(n);l0=!1}}function t_(){Ph()}function Ph(){Tr=n0=!1;var e=0;Xl!==0&&f_()&&(e=Xl);for(var t=Wt(),n=null,a=Cr;a!==null;){var r=a.next,u=Wh(a,t);u===0?(a.next=null,n===null?Cr=r:n.next=r,r===null&&(Ms=n)):(n=a,(e!==0||(u&3)!==0)&&(Tr=!0)),a=r}mt!==0&&mt!==5||Xi(e),Xl!==0&&(Xl=0)}function Wh(e,t){for(var n=e.suspendedLanes,a=e.pingedLanes,r=e.expirationTimes,u=e.pendingLanes&-62914561;0<u;){var f=31-en(u),g=1<<f,j=r[f];j===-1?((g&n)===0||(g&a)!==0)&&(r[f]=E3(g,t)):j<=t&&(e.expiredLanes|=g),u&=~g}if(t=Ze,n=Ee,n=Oc(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a=e.callbackNode,n===0||e===t&&(Ge===2||Ge===9)||e.cancelPendingCommit!==null)return a!==null&&a!==null&&po(a),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||fi(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(a!==null&&po(a),go(n)){case 2:case 8:n=$2;break;case 32:n=Tc;break;case 268435456:n=G2;break;default:n=Tc}return a=Jh.bind(null,e),n=mo(n,a),e.callbackPriority=t,e.callbackNode=n,t}return a!==null&&a!==null&&po(a),e.callbackPriority=2,e.callbackNode=null,2}function Jh(e,t){if(mt!==0&&mt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(wr()&&e.callbackNode!==n)return null;var a=Ee;return a=Oc(e,e===Ze?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a===0?null:(zh(e,a,t),Wh(e,Wt()),e.callbackNode!=null&&e.callbackNode===n?Jh.bind(null,e):null)}function e1(e,t){if(wr())return null;zh(e,t,!0)}function n_(){m_(function(){(He&6)!==0?mo(q2,t_):Ph()})}function a0(){if(Xl===0){var e=_s;e===0&&(e=Ec,Ec<<=1,(Ec&261888)===0&&(Ec=256)),Xl=e}return Xl}function t1(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Lc(""+e)}function n1(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function l_(e,t,n,a,r){if(t==="submit"&&n&&n.stateNode===r){var u=t1((r[Gt]||null).action),f=a.submitter;f&&(t=(t=f[Gt]||null)?t1(t.formAction):f.getAttribute("formAction"),t!==null&&(u=t,f=null));var g=new Hc("action","action",null,a,r);e.push({event:g,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Xl!==0){var j=f?n1(r,f):new FormData(r);Nu(n,{pending:!0,data:j,method:r.method,action:u},null,j)}}else typeof u=="function"&&(g.preventDefault(),j=f?n1(r,f):new FormData(r),Nu(n,{pending:!0,data:j,method:r.method,action:u},u,j))},currentTarget:r}]})}}for(var s0=0;s0<$o.length;s0++){var i0=$o[s0],a_=i0.toLowerCase(),s_=i0[0].toUpperCase()+i0.slice(1);Dn(a_,"on"+s_)}Dn(Md,"onAnimationEnd"),Dn(Dd,"onAnimationIteration"),Dn(zd,"onAnimationStart"),Dn("dblclick","onDoubleClick"),Dn("focusin","onFocus"),Dn("focusout","onBlur"),Dn(bv,"onTransitionRun"),Dn(jv,"onTransitionStart"),Dn(Sv,"onTransitionCancel"),Dn(Ld,"onTransitionEnd"),ls("onMouseEnter",["mouseout","mouseover"]),ls("onMouseLeave",["mouseout","mouseover"]),ls("onPointerEnter",["pointerout","pointerover"]),ls("onPointerLeave",["pointerout","pointerover"]),pa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),pa("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),pa("onBeforeInput",["compositionend","keypress","textInput","paste"]),pa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),pa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),pa("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Zi="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(" "),i_=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Zi));function l1(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var a=e[n],r=a.event;a=a.listeners;e:{var u=void 0;if(t)for(var f=a.length-1;0<=f;f--){var g=a[f],j=g.instance,z=g.currentTarget;if(g=g.listener,j!==u&&r.isPropagationStopped())break e;u=g,r.currentTarget=z;try{u(r)}catch(k){Gc(k)}r.currentTarget=null,u=j}else for(f=0;f<a.length;f++){if(g=a[f],j=g.instance,z=g.currentTarget,g=g.listener,j!==u&&r.isPropagationStopped())break e;u=g,r.currentTarget=z;try{u(r)}catch(k){Gc(k)}r.currentTarget=null,u=j}}}}function Te(e,t){var n=t[yo];n===void 0&&(n=t[yo]=new Set);var a=e+"__bubble";n.has(a)||(a1(t,e,2,!1),n.add(a))}function c0(e,t,n){var a=0;t&&(a|=4),a1(n,e,a,t)}var Er="_reactListening"+Math.random().toString(36).slice(2);function r0(e){if(!e[Er]){e[Er]=!0,I2.forEach(function(n){n!=="selectionchange"&&(i_.has(n)||c0(n,!1,e),c0(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Er]||(t[Er]=!0,c0("selectionchange",!1,t))}}function a1(e,t,n,a){switch(D1(t)){case 2:var r=z_;break;case 8:r=L_;break;default:r=S0}n=r.bind(null,t,n,e),r=void 0,!Eo||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(r=!0),a?r!==void 0?e.addEventListener(t,n,{capture:!0,passive:r}):e.addEventListener(t,n,!0):r!==void 0?e.addEventListener(t,n,{passive:r}):e.addEventListener(t,n,!1)}function o0(e,t,n,a,r){var u=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var f=a.tag;if(f===3||f===4){var g=a.stateNode.containerInfo;if(g===r)break;if(f===4)for(f=a.return;f!==null;){var j=f.tag;if((j===3||j===4)&&f.stateNode.containerInfo===r)return;f=f.return}for(;g!==null;){if(f=es(g),f===null)return;if(j=f.tag,j===5||j===6||j===26||j===27){a=u=f;continue e}g=g.parentNode}}a=a.return}rd(function(){var z=u,k=Co(n),G=[];e:{var L=Bd.get(e);if(L!==void 0){var B=Hc,ee=e;switch(e){case"keypress":if(Uc(n)===0)break e;case"keydown":case"keyup":B=J3;break;case"focusin":ee="focus",B=Mo;break;case"focusout":ee="blur",B=Mo;break;case"beforeblur":case"afterblur":B=Mo;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":B=dd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":B=$3;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":B=nv;break;case Md:case Dd:case zd:B=F3;break;case Ld:B=av;break;case"scroll":case"scrollend":B=H3;break;case"wheel":B=iv;break;case"copy":case"cut":case"paste":B=Y3;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":B=hd;break;case"toggle":case"beforetoggle":B=rv}var ue=(t&4)!==0,Xe=!ue&&(e==="scroll"||e==="scrollend"),R=ue?L!==null?L+"Capture":null:L;ue=[];for(var C=z,D;C!==null;){var q=C;if(D=q.stateNode,q=q.tag,q!==5&&q!==26&&q!==27||D===null||R===null||(q=vi(C,R),q!=null&&ue.push(Ki(C,q,D))),Xe)break;C=C.return}0<ue.length&&(L=new B(L,ee,null,n,k),G.push({event:L,listeners:ue}))}}if((t&7)===0){e:{if(L=e==="mouseover"||e==="pointerover",B=e==="mouseout"||e==="pointerout",L&&n!==wo&&(ee=n.relatedTarget||n.fromElement)&&(es(ee)||ee[Ja]))break e;if((B||L)&&(L=k.window===k?k:(L=k.ownerDocument)?L.defaultView||L.parentWindow:window,B?(ee=n.relatedTarget||n.toElement,B=z,ee=ee?es(ee):null,ee!==null&&(Xe=h(ee),ue=ee.tag,ee!==Xe||ue!==5&&ue!==27&&ue!==6)&&(ee=null)):(B=null,ee=z),B!==ee)){if(ue=dd,q="onMouseLeave",R="onMouseEnter",C="mouse",(e==="pointerout"||e==="pointerover")&&(ue=hd,q="onPointerLeave",R="onPointerEnter",C="pointer"),Xe=B==null?L:pi(B),D=ee==null?L:pi(ee),L=new ue(q,C+"leave",B,n,k),L.target=Xe,L.relatedTarget=D,q=null,es(k)===z&&(ue=new ue(R,C+"enter",ee,n,k),ue.target=D,ue.relatedTarget=Xe,q=ue),Xe=q,B&&ee)t:{for(ue=c_,R=B,C=ee,D=0,q=R;q;q=ue(q))D++;q=0;for(var ce=C;ce;ce=ue(ce))q++;for(;0<D-q;)R=ue(R),D--;for(;0<q-D;)C=ue(C),q--;for(;D--;){if(R===C||C!==null&&R===C.alternate){ue=R;break t}R=ue(R),C=ue(C)}ue=null}else ue=null;B!==null&&s1(G,L,B,ue,!1),ee!==null&&Xe!==null&&s1(G,Xe,ee,ue,!0)}}e:{if(L=z?pi(z):window,B=L.nodeName&&L.nodeName.toLowerCase(),B==="select"||B==="input"&&L.type==="file")var Be=bd;else if(yd(L))if(jd)Be=gv;else{Be=vv;var ae=pv}else B=L.nodeName,!B||B.toLowerCase()!=="input"||L.type!=="checkbox"&&L.type!=="radio"?z&&No(z.elementType)&&(Be=bd):Be=_v;if(Be&&(Be=Be(e,z))){xd(G,Be,n,k);break e}ae&&ae(e,L,z),e==="focusout"&&z&&L.type==="number"&&z.memoizedProps.value!=null&&So(L,"number",L.value)}switch(ae=z?pi(z):window,e){case"focusin":(yd(ae)||ae.contentEditable==="true")&&(os=ae,ko=z,Ni=null);break;case"focusout":Ni=ko=os=null;break;case"mousedown":Ho=!0;break;case"contextmenu":case"mouseup":case"dragend":Ho=!1,Ad(G,n,k);break;case"selectionchange":if(xv)break;case"keydown":case"keyup":Ad(G,n,k)}var be;if(zo)e:{switch(e){case"compositionstart":var Re="onCompositionStart";break e;case"compositionend":Re="onCompositionEnd";break e;case"compositionupdate":Re="onCompositionUpdate";break e}Re=void 0}else rs?_d(e,n)&&(Re="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(Re="onCompositionStart");Re&&(md&&n.locale!=="ko"&&(rs||Re!=="onCompositionStart"?Re==="onCompositionEnd"&&rs&&(be=od()):(Ol=k,Ro="value"in Ol?Ol.value:Ol.textContent,rs=!0)),ae=Rr(z,Re),0<ae.length&&(Re=new fd(Re,e,null,n,k),G.push({event:Re,listeners:ae}),be?Re.data=be:(be=gd(n),be!==null&&(Re.data=be)))),(be=uv?dv(e,n):fv(e,n))&&(Re=Rr(z,"onBeforeInput"),0<Re.length&&(ae=new fd("onBeforeInput","beforeinput",null,n,k),G.push({event:ae,listeners:Re}),ae.data=be)),l_(G,e,z,n,k)}l1(G,t)})}function Ki(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Rr(e,t){for(var n=t+"Capture",a=[];e!==null;){var r=e,u=r.stateNode;if(r=r.tag,r!==5&&r!==26&&r!==27||u===null||(r=vi(e,n),r!=null&&a.unshift(Ki(e,r,u)),r=vi(e,t),r!=null&&a.push(Ki(e,r,u))),e.tag===3)return a;e=e.return}return[]}function c_(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function s1(e,t,n,a,r){for(var u=t._reactName,f=[];n!==null&&n!==a;){var g=n,j=g.alternate,z=g.stateNode;if(g=g.tag,j!==null&&j===a)break;g!==5&&g!==26&&g!==27||z===null||(j=z,r?(z=vi(n,u),z!=null&&f.unshift(Ki(n,z,j))):r||(z=vi(n,u),z!=null&&f.push(Ki(n,z,j)))),n=n.return}f.length!==0&&e.push({event:t,listeners:f})}var r_=/\r\n?/g,o_=/\u0000|\uFFFD/g;function i1(e){return(typeof e=="string"?e:""+e).replace(r_,`
|
||
`).replace(o_,"")}function c1(e,t){return t=i1(t),i1(e)===t}function Ye(e,t,n,a,r,u){switch(n){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||ss(e,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&ss(e,""+a);break;case"className":Dc(e,"class",a);break;case"tabIndex":Dc(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Dc(e,n,a);break;case"style":id(e,a,u);break;case"data":if(t!=="object"){Dc(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||n!=="href")){e.removeAttribute(n);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}a=Lc(""+a),e.setAttribute(n,a);break;case"action":case"formAction":if(typeof a=="function"){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof u=="function"&&(n==="formAction"?(t!=="input"&&Ye(e,t,"name",r.name,r,null),Ye(e,t,"formEncType",r.formEncType,r,null),Ye(e,t,"formMethod",r.formMethod,r,null),Ye(e,t,"formTarget",r.formTarget,r,null)):(Ye(e,t,"encType",r.encType,r,null),Ye(e,t,"method",r.method,r,null),Ye(e,t,"target",r.target,r,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}a=Lc(""+a),e.setAttribute(n,a);break;case"onClick":a!=null&&(e.onclick=nl);break;case"onScroll":a!=null&&Te("scroll",e);break;case"onScrollEnd":a!=null&&Te("scrollend",e);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(o(61));if(n=a.__html,n!=null){if(r.children!=null)throw Error(o(60));e.innerHTML=n}}break;case"multiple":e.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":e.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){e.removeAttribute("xlink:href");break}n=Lc(""+a),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,""+a):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":a===!0?e.setAttribute(n,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,a):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?e.setAttribute(n,a):e.removeAttribute(n);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(n):e.setAttribute(n,a);break;case"popover":Te("beforetoggle",e),Te("toggle",e),Mc(e,"popover",a);break;case"xlinkActuate":tl(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":tl(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":tl(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":tl(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":tl(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":tl(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":tl(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":tl(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":tl(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Mc(e,"is",a);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=U3.get(n)||n,Mc(e,n,a))}}function u0(e,t,n,a,r,u){switch(n){case"style":id(e,a,u);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(o(61));if(n=a.__html,n!=null){if(r.children!=null)throw Error(o(60));e.innerHTML=n}}break;case"children":typeof a=="string"?ss(e,a):(typeof a=="number"||typeof a=="bigint")&&ss(e,""+a);break;case"onScroll":a!=null&&Te("scroll",e);break;case"onScrollEnd":a!=null&&Te("scrollend",e);break;case"onClick":a!=null&&(e.onclick=nl);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!P2.hasOwnProperty(n))e:{if(n[0]==="o"&&n[1]==="n"&&(r=n.endsWith("Capture"),t=n.slice(2,r?n.length-7:void 0),u=e[Gt]||null,u=u!=null?u[n]:null,typeof u=="function"&&e.removeEventListener(t,u,r),typeof a=="function")){typeof u!="function"&&u!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,a,r);break e}n in e?e[n]=a:a===!0?e.setAttribute(n,""):Mc(e,n,a)}}}function Tt(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Te("error",e),Te("load",e);var a=!1,r=!1,u;for(u in n)if(n.hasOwnProperty(u)){var f=n[u];if(f!=null)switch(u){case"src":a=!0;break;case"srcSet":r=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:Ye(e,t,u,f,n,null)}}r&&Ye(e,t,"srcSet",n.srcSet,n,null),a&&Ye(e,t,"src",n.src,n,null);return;case"input":Te("invalid",e);var g=u=f=r=null,j=null,z=null;for(a in n)if(n.hasOwnProperty(a)){var k=n[a];if(k!=null)switch(a){case"name":r=k;break;case"type":f=k;break;case"checked":j=k;break;case"defaultChecked":z=k;break;case"value":u=k;break;case"defaultValue":g=k;break;case"children":case"dangerouslySetInnerHTML":if(k!=null)throw Error(o(137,t));break;default:Ye(e,t,a,k,n,null)}}nd(e,u,g,j,z,f,r,!1);return;case"select":Te("invalid",e),a=f=u=null;for(r in n)if(n.hasOwnProperty(r)&&(g=n[r],g!=null))switch(r){case"value":u=g;break;case"defaultValue":f=g;break;case"multiple":a=g;default:Ye(e,t,r,g,n,null)}t=u,n=f,e.multiple=!!a,t!=null?as(e,!!a,t,!1):n!=null&&as(e,!!a,n,!0);return;case"textarea":Te("invalid",e),u=r=a=null;for(f in n)if(n.hasOwnProperty(f)&&(g=n[f],g!=null))switch(f){case"value":a=g;break;case"defaultValue":r=g;break;case"children":u=g;break;case"dangerouslySetInnerHTML":if(g!=null)throw Error(o(91));break;default:Ye(e,t,f,g,n,null)}ad(e,a,r,u);return;case"option":for(j in n)if(n.hasOwnProperty(j)&&(a=n[j],a!=null))switch(j){case"selected":e.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:Ye(e,t,j,a,n,null)}return;case"dialog":Te("beforetoggle",e),Te("toggle",e),Te("cancel",e),Te("close",e);break;case"iframe":case"object":Te("load",e);break;case"video":case"audio":for(a=0;a<Zi.length;a++)Te(Zi[a],e);break;case"image":Te("error",e),Te("load",e);break;case"details":Te("toggle",e);break;case"embed":case"source":case"link":Te("error",e),Te("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(z in n)if(n.hasOwnProperty(z)&&(a=n[z],a!=null))switch(z){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:Ye(e,t,z,a,n,null)}return;default:if(No(t)){for(k in n)n.hasOwnProperty(k)&&(a=n[k],a!==void 0&&u0(e,t,k,a,n,void 0));return}}for(g in n)n.hasOwnProperty(g)&&(a=n[g],a!=null&&Ye(e,t,g,a,n,null))}function u_(e,t,n,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var r=null,u=null,f=null,g=null,j=null,z=null,k=null;for(B in n){var G=n[B];if(n.hasOwnProperty(B)&&G!=null)switch(B){case"checked":break;case"value":break;case"defaultValue":j=G;default:a.hasOwnProperty(B)||Ye(e,t,B,null,a,G)}}for(var L in a){var B=a[L];if(G=n[L],a.hasOwnProperty(L)&&(B!=null||G!=null))switch(L){case"type":u=B;break;case"name":r=B;break;case"checked":z=B;break;case"defaultChecked":k=B;break;case"value":f=B;break;case"defaultValue":g=B;break;case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(o(137,t));break;default:B!==G&&Ye(e,t,L,B,a,G)}}jo(e,f,g,j,z,k,u,r);return;case"select":B=f=g=L=null;for(u in n)if(j=n[u],n.hasOwnProperty(u)&&j!=null)switch(u){case"value":break;case"multiple":B=j;default:a.hasOwnProperty(u)||Ye(e,t,u,null,a,j)}for(r in a)if(u=a[r],j=n[r],a.hasOwnProperty(r)&&(u!=null||j!=null))switch(r){case"value":L=u;break;case"defaultValue":g=u;break;case"multiple":f=u;default:u!==j&&Ye(e,t,r,u,a,j)}t=g,n=f,a=B,L!=null?as(e,!!n,L,!1):!!a!=!!n&&(t!=null?as(e,!!n,t,!0):as(e,!!n,n?[]:"",!1));return;case"textarea":B=L=null;for(g in n)if(r=n[g],n.hasOwnProperty(g)&&r!=null&&!a.hasOwnProperty(g))switch(g){case"value":break;case"children":break;default:Ye(e,t,g,null,a,r)}for(f in a)if(r=a[f],u=n[f],a.hasOwnProperty(f)&&(r!=null||u!=null))switch(f){case"value":L=r;break;case"defaultValue":B=r;break;case"children":break;case"dangerouslySetInnerHTML":if(r!=null)throw Error(o(91));break;default:r!==u&&Ye(e,t,f,r,a,u)}ld(e,L,B);return;case"option":for(var ee in n)if(L=n[ee],n.hasOwnProperty(ee)&&L!=null&&!a.hasOwnProperty(ee))switch(ee){case"selected":e.selected=!1;break;default:Ye(e,t,ee,null,a,L)}for(j in a)if(L=a[j],B=n[j],a.hasOwnProperty(j)&&L!==B&&(L!=null||B!=null))switch(j){case"selected":e.selected=L&&typeof L!="function"&&typeof L!="symbol";break;default:Ye(e,t,j,L,a,B)}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 ue in n)L=n[ue],n.hasOwnProperty(ue)&&L!=null&&!a.hasOwnProperty(ue)&&Ye(e,t,ue,null,a,L);for(z in a)if(L=a[z],B=n[z],a.hasOwnProperty(z)&&L!==B&&(L!=null||B!=null))switch(z){case"children":case"dangerouslySetInnerHTML":if(L!=null)throw Error(o(137,t));break;default:Ye(e,t,z,L,a,B)}return;default:if(No(t)){for(var Xe in n)L=n[Xe],n.hasOwnProperty(Xe)&&L!==void 0&&!a.hasOwnProperty(Xe)&&u0(e,t,Xe,void 0,a,L);for(k in a)L=a[k],B=n[k],!a.hasOwnProperty(k)||L===B||L===void 0&&B===void 0||u0(e,t,k,L,a,B);return}}for(var R in n)L=n[R],n.hasOwnProperty(R)&&L!=null&&!a.hasOwnProperty(R)&&Ye(e,t,R,null,a,L);for(G in a)L=a[G],B=n[G],!a.hasOwnProperty(G)||L===B||L==null&&B==null||Ye(e,t,G,L,a,B)}function r1(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function d_(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,n=performance.getEntriesByType("resource"),a=0;a<n.length;a++){var r=n[a],u=r.transferSize,f=r.initiatorType,g=r.duration;if(u&&g&&r1(f)){for(f=0,g=r.responseEnd,a+=1;a<n.length;a++){var j=n[a],z=j.startTime;if(z>g)break;var k=j.transferSize,G=j.initiatorType;k&&r1(G)&&(j=j.responseEnd,f+=k*(j<g?1:(g-z)/(j-z)))}if(--a,t+=8*(u+f)/(r.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var d0=null,f0=null;function Ar(e){return e.nodeType===9?e:e.ownerDocument}function o1(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function u1(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function h0(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var m0=null;function f_(){var e=window.event;return e&&e.type==="popstate"?e===m0?!1:(m0=e,!0):(m0=null,!1)}var d1=typeof setTimeout=="function"?setTimeout:void 0,h_=typeof clearTimeout=="function"?clearTimeout:void 0,f1=typeof Promise=="function"?Promise:void 0,m_=typeof queueMicrotask=="function"?queueMicrotask:typeof f1<"u"?function(e){return f1.resolve(null).then(e).catch(p_)}:d1;function p_(e){setTimeout(function(){throw e})}function Zl(e){return e==="head"}function h1(e,t){var n=t,a=0;do{var r=n.nextSibling;if(e.removeChild(n),r&&r.nodeType===8)if(n=r.data,n==="/$"||n==="/&"){if(a===0){e.removeChild(r),Bs(t);return}a--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")a++;else if(n==="html")Ii(e.ownerDocument.documentElement);else if(n==="head"){n=e.ownerDocument.head,Ii(n);for(var u=n.firstChild;u;){var f=u.nextSibling,g=u.nodeName;u[mi]||g==="SCRIPT"||g==="STYLE"||g==="LINK"&&u.rel.toLowerCase()==="stylesheet"||n.removeChild(u),u=f}}else n==="body"&&Ii(e.ownerDocument.body);n=r}while(n);Bs(t)}function m1(e,t){var n=e;e=0;do{var a=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),a&&a.nodeType===8)if(n=a.data,n==="/$"){if(e===0)break;e--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||e++;n=a}while(n)}function p0(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":p0(n),xo(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function v_(e,t,n,a){for(;e.nodeType===1;){var r=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[mi])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(u=e.getAttribute("rel"),u==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(u!==r.rel||e.getAttribute("href")!==(r.href==null||r.href===""?null:r.href)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin)||e.getAttribute("title")!==(r.title==null?null:r.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(u=e.getAttribute("src"),(u!==(r.src==null?null:r.src)||e.getAttribute("type")!==(r.type==null?null:r.type)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin))&&u&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var u=r.name==null?null:""+r.name;if(r.type==="hidden"&&e.getAttribute("name")===u)return e}else return e;if(e=wn(e.nextSibling),e===null)break}return null}function __(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=wn(e.nextSibling),e===null))return null;return e}function p1(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=wn(e.nextSibling),e===null))return null;return e}function v0(e){return e.data==="$?"||e.data==="$~"}function _0(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function g_(e,t){var n=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||n.readyState!=="loading")t();else{var a=function(){t(),n.removeEventListener("DOMContentLoaded",a)};n.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}function wn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var g0=null;function v1(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"||n==="/&"){if(t===0)return wn(e.nextSibling);t--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||t++}e=e.nextSibling}return null}function _1(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(t===0)return e;t--}else n!=="/$"&&n!=="/&"||t++}e=e.previousSibling}return null}function g1(e,t,n){switch(t=Ar(n),e){case"html":if(e=t.documentElement,!e)throw Error(o(452));return e;case"head":if(e=t.head,!e)throw Error(o(453));return e;case"body":if(e=t.body,!e)throw Error(o(454));return e;default:throw Error(o(451))}}function Ii(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);xo(e)}var Cn=new Map,y1=new Set;function Or(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var gl=Q.d;Q.d={f:y_,r:x_,D:b_,C:j_,L:S_,m:N_,X:C_,S:w_,M:T_};function y_(){var e=gl.f(),t=jr();return e||t}function x_(e){var t=ts(e);t!==null&&t.tag===5&&t.type==="form"?Bf(t):gl.r(e)}var Ds=typeof document>"u"?null:document;function x1(e,t,n){var a=Ds;if(a&&typeof t=="string"&&t){var r=gn(t);r='link[rel="'+e+'"][href="'+r+'"]',typeof n=="string"&&(r+='[crossorigin="'+n+'"]'),y1.has(r)||(y1.add(r),e={rel:e,crossOrigin:n,href:t},a.querySelector(r)===null&&(t=a.createElement("link"),Tt(t,"link",e),_t(t),a.head.appendChild(t)))}}function b_(e){gl.D(e),x1("dns-prefetch",e,null)}function j_(e,t){gl.C(e,t),x1("preconnect",e,t)}function S_(e,t,n){gl.L(e,t,n);var a=Ds;if(a&&e&&t){var r='link[rel="preload"][as="'+gn(t)+'"]';t==="image"&&n&&n.imageSrcSet?(r+='[imagesrcset="'+gn(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(r+='[imagesizes="'+gn(n.imageSizes)+'"]')):r+='[href="'+gn(e)+'"]';var u=r;switch(t){case"style":u=zs(e);break;case"script":u=Ls(e)}Cn.has(u)||(e=y({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),Cn.set(u,e),a.querySelector(r)!==null||t==="style"&&a.querySelector(Pi(u))||t==="script"&&a.querySelector(Wi(u))||(t=a.createElement("link"),Tt(t,"link",e),_t(t),a.head.appendChild(t)))}}function N_(e,t){gl.m(e,t);var n=Ds;if(n&&e){var a=t&&typeof t.as=="string"?t.as:"script",r='link[rel="modulepreload"][as="'+gn(a)+'"][href="'+gn(e)+'"]',u=r;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=Ls(e)}if(!Cn.has(u)&&(e=y({rel:"modulepreload",href:e},t),Cn.set(u,e),n.querySelector(r)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Wi(u)))return}a=n.createElement("link"),Tt(a,"link",e),_t(a),n.head.appendChild(a)}}}function w_(e,t,n){gl.S(e,t,n);var a=Ds;if(a&&e){var r=ns(a).hoistableStyles,u=zs(e);t=t||"default";var f=r.get(u);if(!f){var g={loading:0,preload:null};if(f=a.querySelector(Pi(u)))g.loading=5;else{e=y({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Cn.get(u))&&y0(e,n);var j=f=a.createElement("link");_t(j),Tt(j,"link",e),j._p=new Promise(function(z,k){j.onload=z,j.onerror=k}),j.addEventListener("load",function(){g.loading|=1}),j.addEventListener("error",function(){g.loading|=2}),g.loading|=4,Mr(f,t,a)}f={type:"stylesheet",instance:f,count:1,state:g},r.set(u,f)}}}function C_(e,t){gl.X(e,t);var n=Ds;if(n&&e){var a=ns(n).hoistableScripts,r=Ls(e),u=a.get(r);u||(u=n.querySelector(Wi(r)),u||(e=y({src:e,async:!0},t),(t=Cn.get(r))&&x0(e,t),u=n.createElement("script"),_t(u),Tt(u,"link",e),n.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(r,u))}}function T_(e,t){gl.M(e,t);var n=Ds;if(n&&e){var a=ns(n).hoistableScripts,r=Ls(e),u=a.get(r);u||(u=n.querySelector(Wi(r)),u||(e=y({src:e,async:!0,type:"module"},t),(t=Cn.get(r))&&x0(e,t),u=n.createElement("script"),_t(u),Tt(u,"link",e),n.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(r,u))}}function b1(e,t,n,a){var r=(r=ge.current)?Or(r):null;if(!r)throw Error(o(446));switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(t=zs(n.href),n=ns(r).hoistableStyles,a=n.get(t),a||(a={type:"style",instance:null,count:0,state:null},n.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=zs(n.href);var u=ns(r).hoistableStyles,f=u.get(e);if(f||(r=r.ownerDocument||r,f={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,f),(u=r.querySelector(Pi(e)))&&!u._p&&(f.instance=u,f.state.loading=5),Cn.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Cn.set(e,n),u||E_(r,e,n,f.state))),t&&a===null)throw Error(o(528,""));return f}if(t&&a!==null)throw Error(o(529,""));return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Ls(n),n=ns(r).hoistableScripts,a=n.get(t),a||(a={type:"script",instance:null,count:0,state:null},n.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,e))}}function zs(e){return'href="'+gn(e)+'"'}function Pi(e){return'link[rel="stylesheet"]['+e+"]"}function j1(e){return y({},e,{"data-precedence":e.precedence,precedence:null})}function E_(e,t,n,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),Tt(t,"link",n),_t(t),e.head.appendChild(t))}function Ls(e){return'[src="'+gn(e)+'"]'}function Wi(e){return"script[async]"+e}function S1(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+gn(n.href)+'"]');if(a)return t.instance=a,_t(a),a;var r=y({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),_t(a),Tt(a,"style",r),Mr(a,n.precedence,e),t.instance=a;case"stylesheet":r=zs(n.href);var u=e.querySelector(Pi(r));if(u)return t.state.loading|=4,t.instance=u,_t(u),u;a=j1(n),(r=Cn.get(r))&&y0(a,r),u=(e.ownerDocument||e).createElement("link"),_t(u);var f=u;return f._p=new Promise(function(g,j){f.onload=g,f.onerror=j}),Tt(u,"link",a),t.state.loading|=4,Mr(u,n.precedence,e),t.instance=u;case"script":return u=Ls(n.src),(r=e.querySelector(Wi(u)))?(t.instance=r,_t(r),r):(a=n,(r=Cn.get(u))&&(a=y({},n),x0(a,r)),e=e.ownerDocument||e,r=e.createElement("script"),_t(r),Tt(r,"link",a),e.head.appendChild(r),t.instance=r);case"void":return null;default:throw Error(o(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,Mr(a,n.precedence,e));return t.instance}function Mr(e,t,n){for(var a=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),r=a.length?a[a.length-1]:null,u=r,f=0;f<a.length;f++){var g=a[f];if(g.dataset.precedence===t)u=g;else if(u!==r)break}u?u.parentNode.insertBefore(e,u.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function y0(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function x0(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Dr=null;function N1(e,t,n){if(Dr===null){var a=new Map,r=Dr=new Map;r.set(n,a)}else r=Dr,a=r.get(n),a||(a=new Map,r.set(n,a));if(a.has(e))return a;for(a.set(e,null),n=n.getElementsByTagName(e),r=0;r<n.length;r++){var u=n[r];if(!(u[mi]||u[St]||e==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var f=u.getAttribute(t)||"";f=e+f;var g=a.get(f);g?g.push(u):a.set(f,[u])}}return a}function w1(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function R_(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function C1(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function A_(e,t,n,a){if(n.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var r=zs(a.href),u=t.querySelector(Pi(r));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=zr.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=u,_t(u);return}u=t.ownerDocument||t,a=j1(a),(r=Cn.get(r))&&y0(a,r),u=u.createElement("link"),_t(u);var f=u;f._p=new Promise(function(g,j){f.onload=g,f.onerror=j}),Tt(u,"link",a),n.instance=u}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&3)===0&&(e.count++,n=zr.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}var b0=0;function O_(e,t){return e.stylesheets&&e.count===0&&Br(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var a=setTimeout(function(){if(e.stylesheets&&Br(e,e.stylesheets),e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}},6e4+t);0<e.imgBytes&&b0===0&&(b0=62500*d_());var r=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Br(e,e.stylesheets),e.unsuspend)){var u=e.unsuspend;e.unsuspend=null,u()}},(e.imgBytes>b0?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(r)}}:null}function zr(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Br(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Lr=null;function Br(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Lr=new Map,t.forEach(M_,e),Lr=null,zr.call(e))}function M_(e,t){if(!(t.state.loading&4)){var n=Lr.get(e);if(n)var a=n.get(null);else{n=new Map,Lr.set(e,n);for(var r=e.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<r.length;u++){var f=r[u];(f.nodeName==="LINK"||f.getAttribute("media")!=="not all")&&(n.set(f.dataset.precedence,f),a=f)}a&&n.set(null,a)}r=t.instance,f=r.getAttribute("data-precedence"),u=n.get(f)||a,u===a&&n.set(null,r),n.set(f,r),this.count++,a=zr.bind(this),r.addEventListener("load",a),r.addEventListener("error",a),u?u.parentNode.insertBefore(r,u.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(r,e.firstChild)),t.state.loading|=4}}var Ji={$$typeof:$,Provider:null,Consumer:null,_currentValue:oe,_currentValue2:oe,_threadCount:0};function D_(e,t,n,a,r,u,f,g,j){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=vo(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vo(0),this.hiddenUpdates=vo(null),this.identifierPrefix=a,this.onUncaughtError=r,this.onCaughtError=u,this.onRecoverableError=f,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=j,this.incompleteTransitions=new Map}function T1(e,t,n,a,r,u,f,g,j,z,k,G){return e=new D_(e,t,n,f,j,z,k,G,g),t=1,u===!0&&(t|=24),u=nn(3,null,null,t),e.current=u,u.stateNode=e,t=eu(),t.refCount++,e.pooledCache=t,t.refCount++,u.memoizedState={element:a,isDehydrated:n,cache:t},au(u),e}function E1(e){return e?(e=fs,e):fs}function R1(e,t,n,a,r,u){r=E1(r),a.context===null?a.context=r:a.pendingContext=r,a=Ul(t),a.payload={element:n},u=u===void 0?null:u,u!==null&&(a.callback=u),n=kl(e,a,t),n!==null&&(Zt(n,e,t),Oi(n,e,t))}function A1(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function j0(e,t){A1(e,t),(e=e.alternate)&&A1(e,t)}function O1(e){if(e.tag===13||e.tag===31){var t=ya(e,67108864);t!==null&&Zt(t,e,67108864),j0(e,67108864)}}function M1(e){if(e.tag===13||e.tag===31){var t=rn();t=_o(t);var n=ya(e,t);n!==null&&Zt(n,e,t),j0(e,t)}}var Ur=!0;function z_(e,t,n,a){var r=U.T;U.T=null;var u=Q.p;try{Q.p=2,S0(e,t,n,a)}finally{Q.p=u,U.T=r}}function L_(e,t,n,a){var r=U.T;U.T=null;var u=Q.p;try{Q.p=8,S0(e,t,n,a)}finally{Q.p=u,U.T=r}}function S0(e,t,n,a){if(Ur){var r=N0(a);if(r===null)o0(e,t,a,kr,n),z1(e,a);else if(U_(r,e,t,n,a))a.stopPropagation();else if(z1(e,a),t&4&&-1<B_.indexOf(e)){for(;r!==null;){var u=ts(r);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var f=ma(u.pendingLanes);if(f!==0){var g=u;for(g.pendingLanes|=2,g.entangledLanes|=2;f;){var j=1<<31-en(f);g.entanglements[1]|=j,f&=~j}Fn(u),(He&6)===0&&(xr=Wt()+500,Xi(0))}}break;case 31:case 13:g=ya(u,2),g!==null&&Zt(g,u,2),jr(),j0(u,2)}if(u=N0(a),u===null&&o0(e,t,a,kr,n),u===r)break;r=u}r!==null&&a.stopPropagation()}else o0(e,t,a,null,n)}}function N0(e){return e=Co(e),w0(e)}var kr=null;function w0(e){if(kr=null,e=es(e),e!==null){var t=h(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=m(t),e!==null)return e;e=null}else if(n===31){if(e=p(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return kr=e,null}function D1(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(b3()){case q2:return 2;case $2:return 8;case Tc:case j3:return 32;case G2:return 268435456;default:return 32}default:return 32}}var C0=!1,Kl=null,Il=null,Pl=null,ec=new Map,tc=new Map,Wl=[],B_="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 z1(e,t){switch(e){case"focusin":case"focusout":Kl=null;break;case"dragenter":case"dragleave":Il=null;break;case"mouseover":case"mouseout":Pl=null;break;case"pointerover":case"pointerout":ec.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":tc.delete(t.pointerId)}}function nc(e,t,n,a,r,u){return e===null||e.nativeEvent!==u?(e={blockedOn:t,domEventName:n,eventSystemFlags:a,nativeEvent:u,targetContainers:[r]},t!==null&&(t=ts(t),t!==null&&O1(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,r!==null&&t.indexOf(r)===-1&&t.push(r),e)}function U_(e,t,n,a,r){switch(t){case"focusin":return Kl=nc(Kl,e,t,n,a,r),!0;case"dragenter":return Il=nc(Il,e,t,n,a,r),!0;case"mouseover":return Pl=nc(Pl,e,t,n,a,r),!0;case"pointerover":var u=r.pointerId;return ec.set(u,nc(ec.get(u)||null,e,t,n,a,r)),!0;case"gotpointercapture":return u=r.pointerId,tc.set(u,nc(tc.get(u)||null,e,t,n,a,r)),!0}return!1}function L1(e){var t=es(e.target);if(t!==null){var n=h(t);if(n!==null){if(t=n.tag,t===13){if(t=m(n),t!==null){e.blockedOn=t,Z2(e.priority,function(){M1(n)});return}}else if(t===31){if(t=p(n),t!==null){e.blockedOn=t,Z2(e.priority,function(){M1(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Hr(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=N0(e.nativeEvent);if(n===null){n=e.nativeEvent;var a=new n.constructor(n.type,n);wo=a,n.target.dispatchEvent(a),wo=null}else return t=ts(n),t!==null&&O1(t),e.blockedOn=n,!1;t.shift()}return!0}function B1(e,t,n){Hr(e)&&n.delete(t)}function k_(){C0=!1,Kl!==null&&Hr(Kl)&&(Kl=null),Il!==null&&Hr(Il)&&(Il=null),Pl!==null&&Hr(Pl)&&(Pl=null),ec.forEach(B1),tc.forEach(B1)}function qr(e,t){e.blockedOn===t&&(e.blockedOn=null,C0||(C0=!0,s.unstable_scheduleCallback(s.unstable_NormalPriority,k_)))}var $r=null;function U1(e){$r!==e&&($r=e,s.unstable_scheduleCallback(s.unstable_NormalPriority,function(){$r===e&&($r=null);for(var t=0;t<e.length;t+=3){var n=e[t],a=e[t+1],r=e[t+2];if(typeof a!="function"){if(w0(a||n)===null)continue;break}var u=ts(n);u!==null&&(e.splice(t,3),t-=3,Nu(u,{pending:!0,data:r,method:n.method,action:a},a,r))}}))}function Bs(e){function t(j){return qr(j,e)}Kl!==null&&qr(Kl,e),Il!==null&&qr(Il,e),Pl!==null&&qr(Pl,e),ec.forEach(t),tc.forEach(t);for(var n=0;n<Wl.length;n++){var a=Wl[n];a.blockedOn===e&&(a.blockedOn=null)}for(;0<Wl.length&&(n=Wl[0],n.blockedOn===null);)L1(n),n.blockedOn===null&&Wl.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(a=0;a<n.length;a+=3){var r=n[a],u=n[a+1],f=r[Gt]||null;if(typeof u=="function")f||U1(n);else if(f){var g=null;if(u&&u.hasAttribute("formAction")){if(r=u,f=u[Gt]||null)g=f.formAction;else if(w0(r)!==null)continue}else g=f.action;typeof g=="function"?n[a+1]=g:(n.splice(a,3),a-=3),U1(n)}}}function k1(){function e(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:function(){return new Promise(function(f){return r=f})},focusReset:"manual",scroll:"manual"})}function t(){r!==null&&(r(),r=null),a||setTimeout(n,20)}function n(){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,r=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){a=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),r!==null&&(r(),r=null)}}}function T0(e){this._internalRoot=e}Gr.prototype.render=T0.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(o(409));var n=t.current,a=rn();R1(n,a,e,t,null,null)},Gr.prototype.unmount=T0.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;R1(e.current,2,null,e,null,null),jr(),t[Ja]=null}};function Gr(e){this._internalRoot=e}Gr.prototype.unstable_scheduleHydration=function(e){if(e){var t=X2();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Wl.length&&t!==0&&t<Wl[n].priority;n++);Wl.splice(n,0,e),n===0&&L1(e)}};var H1=c.version;if(H1!=="19.2.5")throw Error(o(527,H1,"19.2.5"));Q.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(o(188)):(e=Object.keys(e).join(","),Error(o(268,e)));return e=v(t),e=e!==null?x(e):null,e=e===null?null:e.stateNode,e};var H_={bundleType:0,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:U,reconcilerVersion:"19.2.5"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Vr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Vr.isDisabled&&Vr.supportsFiber)try{di=Vr.inject(H_),Jt=Vr}catch{}}return ac.createRoot=function(e,t){if(!d(e))throw Error(o(299));var n=!1,a="",r=Yf,u=Xf,f=Zf;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(r=t.onUncaughtError),t.onCaughtError!==void 0&&(u=t.onCaughtError),t.onRecoverableError!==void 0&&(f=t.onRecoverableError)),t=T1(e,1,!1,null,null,n,a,null,r,u,f,k1),e[Ja]=t.current,r0(e),new T0(t)},ac.hydrateRoot=function(e,t,n){if(!d(e))throw Error(o(299));var a=!1,r="",u=Yf,f=Xf,g=Zf,j=null;return n!=null&&(n.unstable_strictMode===!0&&(a=!0),n.identifierPrefix!==void 0&&(r=n.identifierPrefix),n.onUncaughtError!==void 0&&(u=n.onUncaughtError),n.onCaughtError!==void 0&&(f=n.onCaughtError),n.onRecoverableError!==void 0&&(g=n.onRecoverableError),n.formState!==void 0&&(j=n.formState)),t=T1(e,1,!0,t,n??null,a,r,j,u,f,g,k1),t.context=E1(null),n=t.current,a=rn(),a=_o(a),r=Ul(a),r.callback=null,kl(n,r,a),n=a,t.current.lanes=n,hi(t,n),Fn(t),e[Ja]=t.current,r0(e),new Gr(t)},ac.version="19.2.5",ac}var I1;function I_(){if(I1)return O0.exports;I1=1;function s(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(s)}catch(c){console.error(c)}}return s(),O0.exports=K_(),O0.exports}var P_=I_();/**
|
||
* react-router v7.14.2
|
||
*
|
||
* Copyright (c) Remix Software Inc.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE.md file in the root directory of this source tree.
|
||
*
|
||
* @license MIT
|
||
*/var P1="popstate";function W1(s){return typeof s=="object"&&s!=null&&"pathname"in s&&"search"in s&&"hash"in s&&"state"in s&&"key"in s}function W_(s={}){function c(o,d){var v;let h=(v=d.state)==null?void 0:v.masked,{pathname:m,search:p,hash:_}=h||o.location;return I0("",{pathname:m,search:p,hash:_},d.state&&d.state.usr||null,d.state&&d.state.key||"default",h?{pathname:o.location.pathname,search:o.location.search,hash:o.location.hash}:void 0)}function i(o,d){return typeof d=="string"?d:mc(d)}return e4(c,i,null,s)}function et(s,c){if(s===!1||s===null||typeof s>"u")throw new Error(c)}function kn(s,c){if(!s){typeof console<"u"&&console.warn(c);try{throw new Error(c)}catch{}}}function J_(){return Math.random().toString(36).substring(2,10)}function J1(s,c){return{usr:s.state,key:s.key,idx:c,masked:s.unstable_mask?{pathname:s.pathname,search:s.search,hash:s.hash}:void 0}}function I0(s,c,i=null,o,d){return{pathname:typeof s=="string"?s:s.pathname,search:"",hash:"",...typeof c=="string"?ei(c):c,state:i,key:c&&c.key||o||J_(),unstable_mask:d}}function mc({pathname:s="/",search:c="",hash:i=""}){return c&&c!=="?"&&(s+=c.charAt(0)==="?"?c:"?"+c),i&&i!=="#"&&(s+=i.charAt(0)==="#"?i:"#"+i),s}function ei(s){let c={};if(s){let i=s.indexOf("#");i>=0&&(c.hash=s.substring(i),s=s.substring(0,i));let o=s.indexOf("?");o>=0&&(c.search=s.substring(o),s=s.substring(0,o)),s&&(c.pathname=s)}return c}function e4(s,c,i,o={}){let{window:d=document.defaultView,v5Compat:h=!1}=o,m=d.history,p="POP",_=null,v=x();v==null&&(v=0,m.replaceState({...m.state,idx:v},""));function x(){return(m.state||{idx:null}).idx}function y(){p="POP";let N=x(),M=N==null?null:N-v;v=N,_&&_({action:p,location:O.location,delta:M})}function w(N,M){p="PUSH";let F=W1(N)?N:I0(O.location,N,M);v=x()+1;let $=J1(F,v),V=O.createHref(F.unstable_mask||F);try{m.pushState($,"",V)}catch(K){if(K instanceof DOMException&&K.name==="DataCloneError")throw K;d.location.assign(V)}h&&_&&_({action:p,location:O.location,delta:1})}function E(N,M){p="REPLACE";let F=W1(N)?N:I0(O.location,N,M);v=x();let $=J1(F,v),V=O.createHref(F.unstable_mask||F);m.replaceState($,"",V),h&&_&&_({action:p,location:O.location,delta:0})}function A(N){return t4(N)}let O={get action(){return p},get location(){return s(d,m)},listen(N){if(_)throw new Error("A history only accepts one active listener");return d.addEventListener(P1,y),_=N,()=>{d.removeEventListener(P1,y),_=null}},createHref(N){return c(d,N)},createURL:A,encodeLocation(N){let M=A(N);return{pathname:M.pathname,search:M.search,hash:M.hash}},push:w,replace:E,go(N){return m.go(N)}};return O}function t4(s,c=!1){let i="http://localhost";typeof window<"u"&&(i=window.location.origin!=="null"?window.location.origin:window.location.href),et(i,"No window.location.(origin|href) available to create URL");let o=typeof s=="string"?s:mc(s);return o=o.replace(/ $/,"%20"),!c&&o.startsWith("//")&&(o=i+o),new URL(o,i)}function op(s,c,i="/"){return n4(s,c,i,!1)}function n4(s,c,i,o){let d=typeof c=="string"?ei(c):c,h=Tl(d.pathname||"/",i);if(h==null)return null;let m=up(s);l4(m);let p=null;for(let _=0;p==null&&_<m.length;++_){let v=m4(h);p=f4(m[_],v,o)}return p}function up(s,c=[],i=[],o="",d=!1){let h=(m,p,_=d,v)=>{let x={relativePath:v===void 0?m.path||"":v,caseSensitive:m.caseSensitive===!0,childrenIndex:p,route:m};if(x.relativePath.startsWith("/")){if(!x.relativePath.startsWith(o)&&_)return;et(x.relativePath.startsWith(o),`Absolute route path "${x.relativePath}" nested under path "${o}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),x.relativePath=x.relativePath.slice(o.length)}let y=Un([o,x.relativePath]),w=i.concat(x);m.children&&m.children.length>0&&(et(m.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${y}".`),up(m.children,c,w,y,_)),!(m.path==null&&!m.index)&&c.push({path:y,score:u4(y,m.index),routesMeta:w})};return s.forEach((m,p)=>{var _;if(m.path===""||!((_=m.path)!=null&&_.includes("?")))h(m,p);else for(let v of dp(m.path))h(m,p,!0,v)}),c}function dp(s){let c=s.split("/");if(c.length===0)return[];let[i,...o]=c,d=i.endsWith("?"),h=i.replace(/\?$/,"");if(o.length===0)return d?[h,""]:[h];let m=dp(o.join("/")),p=[];return p.push(...m.map(_=>_===""?h:[h,_].join("/"))),d&&p.push(...m),p.map(_=>s.startsWith("/")&&_===""?"/":_)}function l4(s){s.sort((c,i)=>c.score!==i.score?i.score-c.score:d4(c.routesMeta.map(o=>o.childrenIndex),i.routesMeta.map(o=>o.childrenIndex)))}var a4=/^:[\w-]+$/,s4=3,i4=2,c4=1,r4=10,o4=-2,em=s=>s==="*";function u4(s,c){let i=s.split("/"),o=i.length;return i.some(em)&&(o+=o4),c&&(o+=i4),i.filter(d=>!em(d)).reduce((d,h)=>d+(a4.test(h)?s4:h===""?c4:r4),o)}function d4(s,c){return s.length===c.length&&s.slice(0,-1).every((o,d)=>o===c[d])?s[s.length-1]-c[c.length-1]:0}function f4(s,c,i=!1){let{routesMeta:o}=s,d={},h="/",m=[];for(let p=0;p<o.length;++p){let _=o[p],v=p===o.length-1,x=h==="/"?c:c.slice(h.length)||"/",y=Jr({path:_.relativePath,caseSensitive:_.caseSensitive,end:v},x),w=_.route;if(!y&&v&&i&&!o[o.length-1].route.index&&(y=Jr({path:_.relativePath,caseSensitive:_.caseSensitive,end:!1},x)),!y)return null;Object.assign(d,y.params),m.push({params:d,pathname:Un([h,y.pathname]),pathnameBase:g4(Un([h,y.pathnameBase])),route:w}),y.pathnameBase!=="/"&&(h=Un([h,y.pathnameBase]))}return m}function Jr(s,c){typeof s=="string"&&(s={path:s,caseSensitive:!1,end:!0});let[i,o]=h4(s.path,s.caseSensitive,s.end),d=c.match(i);if(!d)return null;let h=d[0],m=h.replace(/(.)\/+$/,"$1"),p=d.slice(1);return{params:o.reduce((v,{paramName:x,isOptional:y},w)=>{if(x==="*"){let A=p[w]||"";m=h.slice(0,h.length-A.length).replace(/(.)\/+$/,"$1")}const E=p[w];return y&&!E?v[x]=void 0:v[x]=(E||"").replace(/%2F/g,"/"),v},{}),pathname:h,pathnameBase:m,pattern:s}}function h4(s,c=!1,i=!0){kn(s==="*"||!s.endsWith("*")||s.endsWith("/*"),`Route path "${s}" will be treated as if it were "${s.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${s.replace(/\*$/,"/*")}".`);let o=[],d="^"+s.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(m,p,_,v,x)=>{if(o.push({paramName:p,isOptional:_!=null}),_){let y=x.charAt(v+m.length);return y&&y!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return s.endsWith("*")?(o.push({paramName:"*"}),d+=s==="*"||s==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i?d+="\\/*$":s!==""&&s!=="/"&&(d+="(?:(?=\\/|$))"),[new RegExp(d,c?void 0:"i"),o]}function m4(s){try{return s.split("/").map(c=>decodeURIComponent(c).replace(/\//g,"%2F")).join("/")}catch(c){return kn(!1,`The URL path "${s}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${c}).`),s}}function Tl(s,c){if(c==="/")return s;if(!s.toLowerCase().startsWith(c.toLowerCase()))return null;let i=c.endsWith("/")?c.length-1:c.length,o=s.charAt(i);return o&&o!=="/"?null:s.slice(i)||"/"}var p4=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function v4(s,c="/"){let{pathname:i,search:o="",hash:d=""}=typeof s=="string"?ei(s):s,h;return i?(i=fp(i),i.startsWith("/")?h=tm(i.substring(1),"/"):h=tm(i,c)):h=c,{pathname:h,search:y4(o),hash:x4(d)}}function tm(s,c){let i=eo(c).split("/");return s.split("/").forEach(d=>{d===".."?i.length>1&&i.pop():d!=="."&&i.push(d)}),i.length>1?i.join("/"):"/"}function L0(s,c,i,o){return`Cannot include a '${s}' character in a manually specified \`to.${c}\` field [${JSON.stringify(o)}]. Please separate it out to the \`to.${i}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function _4(s){return s.filter((c,i)=>i===0||c.route.path&&c.route.path.length>0)}function j2(s){let c=_4(s);return c.map((i,o)=>o===c.length-1?i.pathname:i.pathnameBase)}function io(s,c,i,o=!1){let d;typeof s=="string"?d=ei(s):(d={...s},et(!d.pathname||!d.pathname.includes("?"),L0("?","pathname","search",d)),et(!d.pathname||!d.pathname.includes("#"),L0("#","pathname","hash",d)),et(!d.search||!d.search.includes("#"),L0("#","search","hash",d)));let h=s===""||d.pathname==="",m=h?"/":d.pathname,p;if(m==null)p=i;else{let y=c.length-1;if(!o&&m.startsWith("..")){let w=m.split("/");for(;w[0]==="..";)w.shift(),y-=1;d.pathname=w.join("/")}p=y>=0?c[y]:"/"}let _=v4(d,p),v=m&&m!=="/"&&m.endsWith("/"),x=(h||m===".")&&i.endsWith("/");return!_.pathname.endsWith("/")&&(v||x)&&(_.pathname+="/"),_}var fp=s=>s.replace(/\/\/+/g,"/"),Un=s=>fp(s.join("/")),eo=s=>s.replace(/\/+$/,""),g4=s=>eo(s).replace(/^\/*/,"/"),y4=s=>!s||s==="?"?"":s.startsWith("?")?s:"?"+s,x4=s=>!s||s==="#"?"":s.startsWith("#")?s:"#"+s,b4=class{constructor(s,c,i,o=!1){this.status=s,this.statusText=c||"",this.internal=o,i instanceof Error?(this.data=i.toString(),this.error=i):this.data=i}};function j4(s){return s!=null&&typeof s.status=="number"&&typeof s.statusText=="string"&&typeof s.internal=="boolean"&&"data"in s}function S4(s){let c=s.map(i=>i.route.path).filter(Boolean);return Un(c)||"/"}var hp=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function mp(s,c){let i=s;if(typeof i!="string"||!p4.test(i))return{absoluteURL:void 0,isExternal:!1,to:i};let o=i,d=!1;if(hp)try{let h=new URL(window.location.href),m=i.startsWith("//")?new URL(h.protocol+i):new URL(i),p=Tl(m.pathname,c);m.origin===h.origin&&p!=null?i=p+m.search+m.hash:d=!0}catch{kn(!1,`<Link to="${i}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:o,isExternal:d,to:i}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var pp=["POST","PUT","PATCH","DELETE"];new Set(pp);var N4=["GET",...pp];new Set(N4);var ti=b.createContext(null);ti.displayName="DataRouter";var co=b.createContext(null);co.displayName="DataRouterState";var vp=b.createContext(!1);function w4(){return b.useContext(vp)}var _p=b.createContext({isTransitioning:!1});_p.displayName="ViewTransition";var C4=b.createContext(new Map);C4.displayName="Fetchers";var T4=b.createContext(null);T4.displayName="Await";var mn=b.createContext(null);mn.displayName="Navigation";var Sc=b.createContext(null);Sc.displayName="Location";var On=b.createContext({outlet:null,matches:[],isDataRoute:!1});On.displayName="Route";var S2=b.createContext(null);S2.displayName="RouteError";var gp="REACT_ROUTER_ERROR",E4="REDIRECT",R4="ROUTE_ERROR_RESPONSE";function A4(s){if(s.startsWith(`${gp}:${E4}:{`))try{let c=JSON.parse(s.slice(28));if(typeof c=="object"&&c&&typeof c.status=="number"&&typeof c.statusText=="string"&&typeof c.location=="string"&&typeof c.reloadDocument=="boolean"&&typeof c.replace=="boolean")return c}catch{}}function O4(s){if(s.startsWith(`${gp}:${R4}:{`))try{let c=JSON.parse(s.slice(40));if(typeof c=="object"&&c&&typeof c.status=="number"&&typeof c.statusText=="string")return new b4(c.status,c.statusText,c.data)}catch{}}function M4(s,{relative:c}={}){et(ni(),"useHref() may be used only in the context of a <Router> component.");let{basename:i,navigator:o}=b.useContext(mn),{hash:d,pathname:h,search:m}=Nc(s,{relative:c}),p=h;return i!=="/"&&(p=h==="/"?i:Un([i,h])),o.createHref({pathname:p,search:m,hash:d})}function ni(){return b.useContext(Sc)!=null}function pn(){return et(ni(),"useLocation() may be used only in the context of a <Router> component."),b.useContext(Sc).location}var yp="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function xp(s){b.useContext(mn).static||b.useLayoutEffect(s)}function Mn(){let{isDataRoute:s}=b.useContext(On);return s?Z4():D4()}function D4(){et(ni(),"useNavigate() may be used only in the context of a <Router> component.");let s=b.useContext(ti),{basename:c,navigator:i}=b.useContext(mn),{matches:o}=b.useContext(On),{pathname:d}=pn(),h=JSON.stringify(j2(o)),m=b.useRef(!1);return xp(()=>{m.current=!0}),b.useCallback((_,v={})=>{if(kn(m.current,yp),!m.current)return;if(typeof _=="number"){i.go(_);return}let x=io(_,JSON.parse(h),d,v.relative==="path");s==null&&c!=="/"&&(x.pathname=x.pathname==="/"?c:Un([c,x.pathname])),(v.replace?i.replace:i.push)(x,v.state,v)},[c,i,h,d,s])}var z4=b.createContext(null);function L4(s){let c=b.useContext(On).outlet;return b.useMemo(()=>c&&b.createElement(z4.Provider,{value:s},c),[c,s])}function B4(){let{matches:s}=b.useContext(On),c=s[s.length-1];return(c==null?void 0:c.params)??{}}function Nc(s,{relative:c}={}){let{matches:i}=b.useContext(On),{pathname:o}=pn(),d=JSON.stringify(j2(i));return b.useMemo(()=>io(s,JSON.parse(d),o,c==="path"),[s,d,o,c])}function U4(s,c){return bp(s,c)}function bp(s,c,i){var N;et(ni(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:o}=b.useContext(mn),{matches:d}=b.useContext(On),h=d[d.length-1],m=h?h.params:{},p=h?h.pathname:"/",_=h?h.pathnameBase:"/",v=h&&h.route;{let M=v&&v.path||"";Sp(p,!v||M.endsWith("*")||M.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${p}" (under <Route path="${M}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
|
||
|
||
Please change the parent <Route path="${M}"> to <Route path="${M==="/"?"*":`${M}/*`}">.`)}let x=pn(),y;if(c){let M=typeof c=="string"?ei(c):c;et(_==="/"||((N=M.pathname)==null?void 0:N.startsWith(_)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${_}" but pathname "${M.pathname}" was given in the \`location\` prop.`),y=M}else y=x;let w=y.pathname||"/",E=w;if(_!=="/"){let M=_.replace(/^\//,"").split("/");E="/"+w.replace(/^\//,"").split("/").slice(M.length).join("/")}let A=op(s,{pathname:E});kn(v||A!=null,`No routes matched location "${y.pathname}${y.search}${y.hash}" `),kn(A==null||A[A.length-1].route.element!==void 0||A[A.length-1].route.Component!==void 0||A[A.length-1].route.lazy!==void 0,`Matched leaf route at location "${y.pathname}${y.search}${y.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let O=G4(A&&A.map(M=>Object.assign({},M,{params:Object.assign({},m,M.params),pathname:Un([_,o.encodeLocation?o.encodeLocation(M.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:M.pathname]),pathnameBase:M.pathnameBase==="/"?_:Un([_,o.encodeLocation?o.encodeLocation(M.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:M.pathnameBase])})),d,i);return c&&O?b.createElement(Sc.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...y},navigationType:"POP"}},O):O}function k4(){let s=X4(),c=j4(s)?`${s.status} ${s.statusText}`:s instanceof Error?s.message:JSON.stringify(s),i=s instanceof Error?s.stack:null,o="rgba(200,200,200, 0.5)",d={padding:"0.5rem",backgroundColor:o},h={padding:"2px 4px",backgroundColor:o},m=null;return console.error("Error handled by React Router default ErrorBoundary:",s),m=b.createElement(b.Fragment,null,b.createElement("p",null,"💿 Hey developer 👋"),b.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",b.createElement("code",{style:h},"ErrorBoundary")," or"," ",b.createElement("code",{style:h},"errorElement")," prop on your route.")),b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},c),i?b.createElement("pre",{style:d},i):null,m)}var H4=b.createElement(k4,null),jp=class extends b.Component{constructor(s){super(s),this.state={location:s.location,revalidation:s.revalidation,error:s.error}}static getDerivedStateFromError(s){return{error:s}}static getDerivedStateFromProps(s,c){return c.location!==s.location||c.revalidation!=="idle"&&s.revalidation==="idle"?{error:s.error,location:s.location,revalidation:s.revalidation}:{error:s.error!==void 0?s.error:c.error,location:c.location,revalidation:s.revalidation||c.revalidation}}componentDidCatch(s,c){this.props.onError?this.props.onError(s,c):console.error("React Router caught the following error during render",s)}render(){let s=this.state.error;if(this.context&&typeof s=="object"&&s&&"digest"in s&&typeof s.digest=="string"){const i=O4(s.digest);i&&(s=i)}let c=s!==void 0?b.createElement(On.Provider,{value:this.props.routeContext},b.createElement(S2.Provider,{value:s,children:this.props.component})):this.props.children;return this.context?b.createElement(q4,{error:s},c):c}};jp.contextType=vp;var B0=new WeakMap;function q4({children:s,error:c}){let{basename:i}=b.useContext(mn);if(typeof c=="object"&&c&&"digest"in c&&typeof c.digest=="string"){let o=A4(c.digest);if(o){let d=B0.get(c);if(d)throw d;let h=mp(o.location,i);if(hp&&!B0.get(c))if(h.isExternal||o.reloadDocument)window.location.href=h.absoluteURL||h.to;else{const m=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(h.to,{replace:o.replace}));throw B0.set(c,m),m}return b.createElement("meta",{httpEquiv:"refresh",content:`0;url=${h.absoluteURL||h.to}`})}}return s}function $4({routeContext:s,match:c,children:i}){let o=b.useContext(ti);return o&&o.static&&o.staticContext&&(c.route.errorElement||c.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=c.route.id),b.createElement(On.Provider,{value:s},i)}function G4(s,c=[],i){let o=i==null?void 0:i.state;if(s==null){if(!o)return null;if(o.errors)s=o.matches;else if(c.length===0&&!o.initialized&&o.matches.length>0)s=o.matches;else return null}let d=s,h=o==null?void 0:o.errors;if(h!=null){let x=d.findIndex(y=>y.route.id&&(h==null?void 0:h[y.route.id])!==void 0);et(x>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(h).join(",")}`),d=d.slice(0,Math.min(d.length,x+1))}let m=!1,p=-1;if(i&&o){m=o.renderFallback;for(let x=0;x<d.length;x++){let y=d[x];if((y.route.HydrateFallback||y.route.hydrateFallbackElement)&&(p=x),y.route.id){let{loaderData:w,errors:E}=o,A=y.route.loader&&!w.hasOwnProperty(y.route.id)&&(!E||E[y.route.id]===void 0);if(y.route.lazy||A){i.isStatic&&(m=!0),p>=0?d=d.slice(0,p+1):d=[d[0]];break}}}}let _=i==null?void 0:i.onError,v=o&&_?(x,y)=>{var w,E;_(x,{location:o.location,params:((E=(w=o.matches)==null?void 0:w[0])==null?void 0:E.params)??{},unstable_pattern:S4(o.matches),errorInfo:y})}:void 0;return d.reduceRight((x,y,w)=>{let E,A=!1,O=null,N=null;o&&(E=h&&y.route.id?h[y.route.id]:void 0,O=y.route.errorElement||H4,m&&(p<0&&w===0?(Sp("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),A=!0,N=null):p===w&&(A=!0,N=y.route.hydrateFallbackElement||null)));let M=c.concat(d.slice(0,w+1)),F=()=>{let $;return E?$=O:A?$=N:y.route.Component?$=b.createElement(y.route.Component,null):y.route.element?$=y.route.element:$=x,b.createElement($4,{match:y,routeContext:{outlet:x,matches:M,isDataRoute:o!=null},children:$})};return o&&(y.route.ErrorBoundary||y.route.errorElement||w===0)?b.createElement(jp,{location:o.location,revalidation:o.revalidation,component:O,error:E,children:F(),routeContext:{outlet:null,matches:M,isDataRoute:!0},onError:v}):F()},null)}function N2(s){return`${s} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function V4(s){let c=b.useContext(ti);return et(c,N2(s)),c}function F4(s){let c=b.useContext(co);return et(c,N2(s)),c}function Q4(s){let c=b.useContext(On);return et(c,N2(s)),c}function w2(s){let c=Q4(s),i=c.matches[c.matches.length-1];return et(i.route.id,`${s} can only be used on routes that contain a unique "id"`),i.route.id}function Y4(){return w2("useRouteId")}function X4(){var o;let s=b.useContext(S2),c=F4("useRouteError"),i=w2("useRouteError");return s!==void 0?s:(o=c.errors)==null?void 0:o[i]}function Z4(){let{router:s}=V4("useNavigate"),c=w2("useNavigate"),i=b.useRef(!1);return xp(()=>{i.current=!0}),b.useCallback(async(d,h={})=>{kn(i.current,yp),i.current&&(typeof d=="number"?await s.navigate(d):await s.navigate(d,{fromRouteId:c,...h}))},[s,c])}var nm={};function Sp(s,c,i){!c&&!nm[s]&&(nm[s]=!0,kn(!1,i))}b.memo(K4);function K4({routes:s,future:c,state:i,isStatic:o,onError:d}){return bp(s,void 0,{state:i,isStatic:o,onError:d})}function pc({to:s,replace:c,state:i,relative:o}){et(ni(),"<Navigate> may be used only in the context of a <Router> component.");let{static:d}=b.useContext(mn);kn(!d,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:h}=b.useContext(On),{pathname:m}=pn(),p=Mn(),_=io(s,j2(h),m,o==="path"),v=JSON.stringify(_);return b.useEffect(()=>{p(JSON.parse(v),{replace:c,state:i,relative:o})},[p,v,o,c,i]),null}function Np(s){return L4(s.context)}function rt(s){et(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function I4({basename:s="/",children:c=null,location:i,navigationType:o="POP",navigator:d,static:h=!1,unstable_useTransitions:m}){et(!ni(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let p=s.replace(/^\/*/,"/"),_=b.useMemo(()=>({basename:p,navigator:d,static:h,unstable_useTransitions:m,future:{}}),[p,d,h,m]);typeof i=="string"&&(i=ei(i));let{pathname:v="/",search:x="",hash:y="",state:w=null,key:E="default",unstable_mask:A}=i,O=b.useMemo(()=>{let N=Tl(v,p);return N==null?null:{location:{pathname:N,search:x,hash:y,state:w,key:E,unstable_mask:A},navigationType:o}},[p,v,x,y,w,E,o,A]);return kn(O!=null,`<Router basename="${p}"> is not able to match the URL "${v}${x}${y}" because it does not start with the basename, so the <Router> won't render anything.`),O==null?null:b.createElement(mn.Provider,{value:_},b.createElement(Sc.Provider,{children:c,value:O}))}function P4({children:s,location:c}){return U4(P0(s),c)}function P0(s,c=[]){let i=[];return b.Children.forEach(s,(o,d)=>{if(!b.isValidElement(o))return;let h=[...c,d];if(o.type===b.Fragment){i.push.apply(i,P0(o.props.children,h));return}et(o.type===rt,`[${typeof o.type=="string"?o.type:o.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),et(!o.props.index||!o.props.children,"An index route cannot have child routes.");let m={id:o.props.id||h.join("-"),caseSensitive:o.props.caseSensitive,element:o.props.element,Component:o.props.Component,index:o.props.index,path:o.props.path,middleware:o.props.middleware,loader:o.props.loader,action:o.props.action,hydrateFallbackElement:o.props.hydrateFallbackElement,HydrateFallback:o.props.HydrateFallback,errorElement:o.props.errorElement,ErrorBoundary:o.props.ErrorBoundary,hasErrorBoundary:o.props.hasErrorBoundary===!0||o.props.ErrorBoundary!=null||o.props.errorElement!=null,shouldRevalidate:o.props.shouldRevalidate,handle:o.props.handle,lazy:o.props.lazy};o.props.children&&(m.children=P0(o.props.children,h)),i.push(m)}),i}var Ir="get",Pr="application/x-www-form-urlencoded";function ro(s){return typeof HTMLElement<"u"&&s instanceof HTMLElement}function W4(s){return ro(s)&&s.tagName.toLowerCase()==="button"}function J4(s){return ro(s)&&s.tagName.toLowerCase()==="form"}function eg(s){return ro(s)&&s.tagName.toLowerCase()==="input"}function tg(s){return!!(s.metaKey||s.altKey||s.ctrlKey||s.shiftKey)}function ng(s,c){return s.button===0&&(!c||c==="_self")&&!tg(s)}var Qr=null;function lg(){if(Qr===null)try{new FormData(document.createElement("form"),0),Qr=!1}catch{Qr=!0}return Qr}var ag=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function U0(s){return s!=null&&!ag.has(s)?(kn(!1,`"${s}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Pr}"`),null):s}function sg(s,c){let i,o,d,h,m;if(J4(s)){let p=s.getAttribute("action");o=p?Tl(p,c):null,i=s.getAttribute("method")||Ir,d=U0(s.getAttribute("enctype"))||Pr,h=new FormData(s)}else if(W4(s)||eg(s)&&(s.type==="submit"||s.type==="image")){let p=s.form;if(p==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let _=s.getAttribute("formaction")||p.getAttribute("action");if(o=_?Tl(_,c):null,i=s.getAttribute("formmethod")||p.getAttribute("method")||Ir,d=U0(s.getAttribute("formenctype"))||U0(p.getAttribute("enctype"))||Pr,h=new FormData(p,s),!lg()){let{name:v,type:x,value:y}=s;if(x==="image"){let w=v?`${v}.`:"";h.append(`${w}x`,"0"),h.append(`${w}y`,"0")}else v&&h.append(v,y)}}else{if(ro(s))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');i=Ir,o=null,d=Pr,m=s}return h&&d==="text/plain"&&(m=h,h=void 0),{action:o,method:i.toLowerCase(),encType:d,formData:h,body:m}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function C2(s,c){if(s===!1||s===null||typeof s>"u")throw new Error(c)}function wp(s,c,i,o){let d=typeof s=="string"?new URL(s,typeof window>"u"?"server://singlefetch/":window.location.origin):s;return i?d.pathname.endsWith("/")?d.pathname=`${d.pathname}_.${o}`:d.pathname=`${d.pathname}.${o}`:d.pathname==="/"?d.pathname=`_root.${o}`:c&&Tl(d.pathname,c)==="/"?d.pathname=`${eo(c)}/_root.${o}`:d.pathname=`${eo(d.pathname)}.${o}`,d}async function ig(s,c){if(s.id in c)return c[s.id];try{let i=await import(s.module);return c[s.id]=i,i}catch(i){return console.error(`Error loading route module \`${s.module}\`, reloading page...`),console.error(i),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function cg(s){return s==null?!1:s.href==null?s.rel==="preload"&&typeof s.imageSrcSet=="string"&&typeof s.imageSizes=="string":typeof s.rel=="string"&&typeof s.href=="string"}async function rg(s,c,i){let o=await Promise.all(s.map(async d=>{let h=c.routes[d.route.id];if(h){let m=await ig(h,i);return m.links?m.links():[]}return[]}));return fg(o.flat(1).filter(cg).filter(d=>d.rel==="stylesheet"||d.rel==="preload").map(d=>d.rel==="stylesheet"?{...d,rel:"prefetch",as:"style"}:{...d,rel:"prefetch"}))}function lm(s,c,i,o,d,h){let m=(_,v)=>i[v]?_.route.id!==i[v].route.id:!0,p=(_,v)=>{var x;return i[v].pathname!==_.pathname||((x=i[v].route.path)==null?void 0:x.endsWith("*"))&&i[v].params["*"]!==_.params["*"]};return h==="assets"?c.filter((_,v)=>m(_,v)||p(_,v)):h==="data"?c.filter((_,v)=>{var y;let x=o.routes[_.route.id];if(!x||!x.hasLoader)return!1;if(m(_,v)||p(_,v))return!0;if(_.route.shouldRevalidate){let w=_.route.shouldRevalidate({currentUrl:new URL(d.pathname+d.search+d.hash,window.origin),currentParams:((y=i[0])==null?void 0:y.params)||{},nextUrl:new URL(s,window.origin),nextParams:_.params,defaultShouldRevalidate:!0});if(typeof w=="boolean")return w}return!0}):[]}function og(s,c,{includeHydrateFallback:i}={}){return ug(s.map(o=>{let d=c.routes[o.route.id];if(!d)return[];let h=[d.module];return d.clientActionModule&&(h=h.concat(d.clientActionModule)),d.clientLoaderModule&&(h=h.concat(d.clientLoaderModule)),i&&d.hydrateFallbackModule&&(h=h.concat(d.hydrateFallbackModule)),d.imports&&(h=h.concat(d.imports)),h}).flat(1))}function ug(s){return[...new Set(s)]}function dg(s){let c={},i=Object.keys(s).sort();for(let o of i)c[o]=s[o];return c}function fg(s,c){let i=new Set;return new Set(c),s.reduce((o,d)=>{let h=JSON.stringify(dg(d));return i.has(h)||(i.add(h),o.push({key:h,link:d})),o},[])}function T2(){let s=b.useContext(ti);return C2(s,"You must render this element inside a <DataRouterContext.Provider> element"),s}function hg(){let s=b.useContext(co);return C2(s,"You must render this element inside a <DataRouterStateContext.Provider> element"),s}var E2=b.createContext(void 0);E2.displayName="FrameworkContext";function R2(){let s=b.useContext(E2);return C2(s,"You must render this element inside a <HydratedRouter> element"),s}function mg(s,c){let i=b.useContext(E2),[o,d]=b.useState(!1),[h,m]=b.useState(!1),{onFocus:p,onBlur:_,onMouseEnter:v,onMouseLeave:x,onTouchStart:y}=c,w=b.useRef(null);b.useEffect(()=>{if(s==="render"&&m(!0),s==="viewport"){let O=M=>{M.forEach(F=>{m(F.isIntersecting)})},N=new IntersectionObserver(O,{threshold:.5});return w.current&&N.observe(w.current),()=>{N.disconnect()}}},[s]),b.useEffect(()=>{if(o){let O=setTimeout(()=>{m(!0)},100);return()=>{clearTimeout(O)}}},[o]);let E=()=>{d(!0)},A=()=>{d(!1),m(!1)};return i?s!=="intent"?[h,w,{}]:[h,w,{onFocus:sc(p,E),onBlur:sc(_,A),onMouseEnter:sc(v,E),onMouseLeave:sc(x,A),onTouchStart:sc(y,E)}]:[!1,w,{}]}function sc(s,c){return i=>{s&&s(i),i.defaultPrevented||c(i)}}function pg({page:s,...c}){let i=w4(),{router:o}=T2(),d=b.useMemo(()=>op(o.routes,s,o.basename),[o.routes,s,o.basename]);return d?i?b.createElement(_g,{page:s,matches:d,...c}):b.createElement(gg,{page:s,matches:d,...c}):null}function vg(s){let{manifest:c,routeModules:i}=R2(),[o,d]=b.useState([]);return b.useEffect(()=>{let h=!1;return rg(s,c,i).then(m=>{h||d(m)}),()=>{h=!0}},[s,c,i]),o}function _g({page:s,matches:c,...i}){let o=pn(),{future:d}=R2(),{basename:h}=T2(),m=b.useMemo(()=>{if(s===o.pathname+o.search+o.hash)return[];let p=wp(s,h,d.unstable_trailingSlashAwareDataRequests,"rsc"),_=!1,v=[];for(let x of c)typeof x.route.shouldRevalidate=="function"?_=!0:v.push(x.route.id);return _&&v.length>0&&p.searchParams.set("_routes",v.join(",")),[p.pathname+p.search]},[h,d.unstable_trailingSlashAwareDataRequests,s,o,c]);return b.createElement(b.Fragment,null,m.map(p=>b.createElement("link",{key:p,rel:"prefetch",as:"fetch",href:p,...i})))}function gg({page:s,matches:c,...i}){let o=pn(),{future:d,manifest:h,routeModules:m}=R2(),{basename:p}=T2(),{loaderData:_,matches:v}=hg(),x=b.useMemo(()=>lm(s,c,v,h,o,"data"),[s,c,v,h,o]),y=b.useMemo(()=>lm(s,c,v,h,o,"assets"),[s,c,v,h,o]),w=b.useMemo(()=>{if(s===o.pathname+o.search+o.hash)return[];let O=new Set,N=!1;if(c.forEach(F=>{var V;let $=h.routes[F.route.id];!$||!$.hasLoader||(!x.some(K=>K.route.id===F.route.id)&&F.route.id in _&&((V=m[F.route.id])!=null&&V.shouldRevalidate)||$.hasClientLoader?N=!0:O.add(F.route.id))}),O.size===0)return[];let M=wp(s,p,d.unstable_trailingSlashAwareDataRequests,"data");return N&&O.size>0&&M.searchParams.set("_routes",c.filter(F=>O.has(F.route.id)).map(F=>F.route.id).join(",")),[M.pathname+M.search]},[p,d.unstable_trailingSlashAwareDataRequests,_,o,h,x,c,s,m]),E=b.useMemo(()=>og(y,h),[y,h]),A=vg(y);return b.createElement(b.Fragment,null,w.map(O=>b.createElement("link",{key:O,rel:"prefetch",as:"fetch",href:O,...i})),E.map(O=>b.createElement("link",{key:O,rel:"modulepreload",href:O,...i})),A.map(({key:O,link:N})=>b.createElement("link",{key:O,nonce:i.nonce,...N,crossOrigin:N.crossOrigin??i.crossOrigin})))}function yg(...s){return c=>{s.forEach(i=>{typeof i=="function"?i(c):i!=null&&(i.current=c)})}}var xg=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{xg&&(window.__reactRouterVersion="7.14.2")}catch{}function bg({basename:s,children:c,unstable_useTransitions:i,window:o}){let d=b.useRef();d.current==null&&(d.current=W_({window:o,v5Compat:!0}));let h=d.current,[m,p]=b.useState({action:h.action,location:h.location}),_=b.useCallback(v=>{i===!1?p(v):b.startTransition(()=>p(v))},[i]);return b.useLayoutEffect(()=>h.listen(_),[h,_]),b.createElement(I4,{basename:s,children:c,location:m.location,navigationType:m.action,navigator:h,unstable_useTransitions:i})}var Cp=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ht=b.forwardRef(function({onClick:c,discover:i="render",prefetch:o="none",relative:d,reloadDocument:h,replace:m,unstable_mask:p,state:_,target:v,to:x,preventScrollReset:y,viewTransition:w,unstable_defaultShouldRevalidate:E,...A},O){let{basename:N,navigator:M,unstable_useTransitions:F}=b.useContext(mn),$=typeof x=="string"&&Cp.test(x),V=mp(x,N);x=V.to;let K=M4(x,{relative:d}),le=pn(),X=null;if(p){let ze=io(p,[],le.unstable_mask?le.unstable_mask.pathname:"/",!0);N!=="/"&&(ze.pathname=ze.pathname==="/"?N:Un([N,ze.pathname])),X=M.createHref(ze)}let[ne,de,he]=mg(o,A),_e=Ng(x,{replace:m,unstable_mask:p,state:_,target:v,preventScrollReset:y,relative:d,viewTransition:w,unstable_defaultShouldRevalidate:E,unstable_useTransitions:F});function De(ze){c&&c(ze),ze.defaultPrevented||_e(ze)}let se=!(V.isExternal||h),$e=b.createElement("a",{...A,...he,href:(se?X:void 0)||V.absoluteURL||K,onClick:se?De:c,ref:yg(O,de),target:v,"data-discover":!$&&i==="render"?"true":void 0});return ne&&!$?b.createElement(b.Fragment,null,$e,b.createElement(pg,{page:K})):$e});Ht.displayName="Link";var Tp=b.forwardRef(function({"aria-current":c="page",caseSensitive:i=!1,className:o="",end:d=!1,style:h,to:m,viewTransition:p,children:_,...v},x){let y=Nc(m,{relative:v.relative}),w=pn(),E=b.useContext(co),{navigator:A,basename:O}=b.useContext(mn),N=E!=null&&Rg(y)&&p===!0,M=A.encodeLocation?A.encodeLocation(y).pathname:y.pathname,F=w.pathname,$=E&&E.navigation&&E.navigation.location?E.navigation.location.pathname:null;i||(F=F.toLowerCase(),$=$?$.toLowerCase():null,M=M.toLowerCase()),$&&O&&($=Tl($,O)||$);const V=M!=="/"&&M.endsWith("/")?M.length-1:M.length;let K=F===M||!d&&F.startsWith(M)&&F.charAt(V)==="/",le=$!=null&&($===M||!d&&$.startsWith(M)&&$.charAt(M.length)==="/"),X={isActive:K,isPending:le,isTransitioning:N},ne=K?c:void 0,de;typeof o=="function"?de=o(X):de=[o,K?"active":null,le?"pending":null,N?"transitioning":null].filter(Boolean).join(" ");let he=typeof h=="function"?h(X):h;return b.createElement(Ht,{...v,"aria-current":ne,className:de,ref:x,style:he,to:m,viewTransition:p},typeof _=="function"?_(X):_)});Tp.displayName="NavLink";var jg=b.forwardRef(({discover:s="render",fetcherKey:c,navigate:i,reloadDocument:o,replace:d,state:h,method:m=Ir,action:p,onSubmit:_,relative:v,preventScrollReset:x,viewTransition:y,unstable_defaultShouldRevalidate:w,...E},A)=>{let{unstable_useTransitions:O}=b.useContext(mn),N=Tg(),M=Eg(p,{relative:v}),F=m.toLowerCase()==="get"?"get":"post",$=typeof p=="string"&&Cp.test(p),V=K=>{if(_&&_(K),K.defaultPrevented)return;K.preventDefault();let le=K.nativeEvent.submitter,X=(le==null?void 0:le.getAttribute("formmethod"))||m,ne=()=>N(le||K.currentTarget,{fetcherKey:c,method:X,navigate:i,replace:d,state:h,relative:v,preventScrollReset:x,viewTransition:y,unstable_defaultShouldRevalidate:w});O&&i!==!1?b.startTransition(()=>ne()):ne()};return b.createElement("form",{ref:A,method:F,action:M,onSubmit:o?_:V,...E,"data-discover":!$&&s==="render"?"true":void 0})});jg.displayName="Form";function Sg(s){return`${s} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Ep(s){let c=b.useContext(ti);return et(c,Sg(s)),c}function Ng(s,{target:c,replace:i,unstable_mask:o,state:d,preventScrollReset:h,relative:m,viewTransition:p,unstable_defaultShouldRevalidate:_,unstable_useTransitions:v}={}){let x=Mn(),y=pn(),w=Nc(s,{relative:m});return b.useCallback(E=>{if(ng(E,c)){E.preventDefault();let A=i!==void 0?i:mc(y)===mc(w),O=()=>x(s,{replace:A,unstable_mask:o,state:d,preventScrollReset:h,relative:m,viewTransition:p,unstable_defaultShouldRevalidate:_});v?b.startTransition(()=>O()):O()}},[y,x,w,i,o,d,c,s,h,m,p,_,v])}var wg=0,Cg=()=>`__${String(++wg)}__`;function Tg(){let{router:s}=Ep("useSubmit"),{basename:c}=b.useContext(mn),i=Y4(),o=s.fetch,d=s.navigate;return b.useCallback(async(h,m={})=>{let{action:p,method:_,encType:v,formData:x,body:y}=sg(h,c);if(m.navigate===!1){let w=m.fetcherKey||Cg();await o(w,i,m.action||p,{unstable_defaultShouldRevalidate:m.unstable_defaultShouldRevalidate,preventScrollReset:m.preventScrollReset,formData:x,body:y,formMethod:m.method||_,formEncType:m.encType||v,flushSync:m.flushSync})}else await d(m.action||p,{unstable_defaultShouldRevalidate:m.unstable_defaultShouldRevalidate,preventScrollReset:m.preventScrollReset,formData:x,body:y,formMethod:m.method||_,formEncType:m.encType||v,replace:m.replace,state:m.state,fromRouteId:i,flushSync:m.flushSync,viewTransition:m.viewTransition})},[o,d,c,i])}function Eg(s,{relative:c}={}){let{basename:i}=b.useContext(mn),o=b.useContext(On);et(o,"useFormAction must be used inside a RouteContext");let[d]=o.matches.slice(-1),h={...Nc(s||".",{relative:c})},m=pn();if(s==null){h.search=m.search;let p=new URLSearchParams(h.search),_=p.getAll("index");if(_.some(x=>x==="")){p.delete("index"),_.filter(y=>y).forEach(y=>p.append("index",y));let x=p.toString();h.search=x?`?${x}`:""}}return(!s||s===".")&&d.route.index&&(h.search=h.search?h.search.replace(/^\?/,"?index&"):"?index"),i!=="/"&&(h.pathname=h.pathname==="/"?i:Un([i,h.pathname])),mc(h)}function Rg(s,{relative:c}={}){let i=b.useContext(_p);et(i!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:o}=Ep("useViewTransitionState"),d=Nc(s,{relative:c});if(!i.isTransitioning)return!1;let h=Tl(i.currentLocation.pathname,o)||i.currentLocation.pathname,m=Tl(i.nextLocation.pathname,o)||i.nextLocation.pathname;return Jr(d.pathname,m)!=null||Jr(d.pathname,h)!=null}const Ag="_btn_8fkbu_1",Og="_primary_8fkbu_17",Mg="_danger_8fkbu_27",Dg="_ghost_8fkbu_37",zg="_outline_8fkbu_47",am={btn:Ag,primary:Og,danger:Mg,ghost:Dg,outline:zg};function Rn({variant:s,children:c,onClick:i,type:o="button",disabled:d}){return l.jsx("button",{type:o,className:`${am.btn} ${am[s]}`,onClick:i,disabled:d,children:c})}const Lg="_field_zffpb_1",Bg="_label_zffpb_7",Ug="_wrap_zffpb_14",kg="_input_zffpb_18",Hg="_readonly_zffpb_37",qg="_copied_zffpb_44",$g="_iconCheck_zffpb_59",Gg="_iconLock_zffpb_68",Vg="_withToggle_zffpb_76",Fg="_togglePw_zffpb_80",Qn={field:Lg,label:Bg,wrap:Ug,input:kg,readonly:Hg,copied:qg,iconCheck:$g,iconLock:Gg,withToggle:Vg,togglePw:Fg};function jt({label:s,value:c,placeholder:i,type:o="text",onChange:d,onBlur:h,readOnly:m,required:p,icon:_}){const[v,x]=b.useState(!1),[y,w]=b.useState(!1),E=o==="password",A=E?y?"text":"password":o,O=()=>{m&&navigator.clipboard.writeText(c).then(()=>{x(!0),setTimeout(()=>x(!1),1500)})};return l.jsxs("div",{className:Qn.field,children:[l.jsx("label",{className:Qn.label,children:s}),l.jsxs("div",{className:Qn.wrap,onClick:O,children:[l.jsx("input",{className:`${Qn.input} ${E?Qn.withToggle:""} ${m?Qn.readonly:""} ${v?Qn.copied:""}`,type:A,...d?{value:c,onChange:N=>d(N.target.value)}:{defaultValue:c},placeholder:i,readOnly:m,required:p,onBlur:h}),E&&l.jsx("button",{type:"button",className:Qn.togglePw,onClick:N=>{N.stopPropagation(),w(M=>!M)},"aria-label":y?"Скрыть пароль":"Показать пароль",children:y?l.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",children:[l.jsx("path",{d:"M17.94 17.94A10.07 10.07 0 0112 20c-7 0-11-8-11-8a18.45 18.45 0 015.06-5.94"}),l.jsx("path",{d:"M9.9 4.24A9.12 9.12 0 0112 4c7 0 11 8 11 8a18.5 18.5 0 01-2.16 3.19"}),l.jsx("line",{x1:"1",y1:"1",x2:"23",y2:"23"})]}):l.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",children:[l.jsx("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8S1 12 1 12z"}),l.jsx("circle",{cx:"12",cy:"12",r:"3"})]})}),_==="check"&&l.jsx("span",{className:Qn.iconCheck,children:"✓"}),_==="lock"&&l.jsx("span",{className:Qn.iconLock,children:"🔒"})]})]})}const Qg="_notification_m7zar_1",Yg="_slideIn_m7zar_1",Xg="_notificationWrapper_m7zar_19",Zg="_closing_m7zar_24",Kg="_slideOut_m7zar_1",Ig="_icon_m7zar_52",Pg="_success_m7zar_65",Wg="_error_m7zar_70",Jg="_info_m7zar_75",ey="_warning_m7zar_80",ty="_message_m7zar_85",ny="_close_m7zar_93",Ma={notification:Qg,slideIn:Yg,notificationWrapper:Xg,closing:Zg,slideOut:Kg,icon:Ig,success:Pg,error:Wg,info:Jg,warning:ey,message:ty,close:ny},ly={success:"✓",error:"✕",info:"i",warning:"!"};function A2({message:s,status:c,onClose:i}){const[o,d]=b.useState(!1);function h(){d(!0)}function m(){o&&i()}return l.jsxs("div",{className:`${Ma.notification} ${Ma[c]} ${o?Ma.closing:""}`,onAnimationEnd:m,children:[l.jsxs("div",{className:Ma.notificationWrapper,children:[l.jsx("span",{className:Ma.icon,children:ly[c]}),l.jsx("p",{className:Ma.message,children:s})]}),l.jsx("button",{className:Ma.close,onClick:h,children:"✕"})]})}const ay="_pill_3oadq_1",sy={pill:ay};function iy({children:s}){return l.jsx("span",{className:sy.pill,children:s})}const cy="_btn_ytb12_1",ry={btn:cy};function Za({label:s="Подтвердить своп",onClick:c,type:i="submit",disabled:o}){return l.jsx("button",{type:i,className:ry.btn,onClick:c,disabled:o,children:s})}const oy="_icon_73irc_1",uy={icon:oy};function sm({letter:s,color:c,logo:i,size:o=40}){return l.jsx("div",{className:uy.icon,style:{background:i?"transparent":c,width:o,height:o,fontSize:o*.45},children:i?l.jsx("img",{src:i,alt:s,style:{width:o*.7,height:o*.7}}):s})}const dy="_section_11f1k_1",fy="_wrap_11f1k_7",hy="_descBlock_11f1k_16",my="_descText_11f1k_22",py="_right_11f1k_33",vy="_glow_11f1k_37",_y="_row_11f1k_49",gy="_check_11f1k_87",yy="_text_11f1k_101",Yn={section:dy,wrap:fy,descBlock:hy,descText:my,right:py,glow:vy,row:_y,check:gy,text:yy},xy="_title_1oq3h_1",by={title:xy};function Rp({children:s}){return l.jsx("h2",{className:by.title,children:s})}const im=["Вся деятельность компании соответствует законодательству Российской Федерации и требованиям регуляторов","Вся документация компании открыта и доступна для ознакомления","Операции защищены шифрованием уровня ERC-20 и проходят верификацию в блокчейне"];function jy(){const[s,c]=b.useState(-1);return l.jsx("section",{id:"about",className:Yn.section,children:l.jsxs("div",{className:Yn.wrap,children:[l.jsxs("div",{children:[l.jsx(iy,{children:"О КОМПАНИИ"}),l.jsx(Rp,{children:"О нас"}),l.jsxs("div",{className:Yn.descBlock,children:[l.jsx("p",{className:Yn.descText,children:"ЭКСА — молодая финтех-компания в сфере цифровых активов. Наша миссия — сделать оборот цифровых активов простым, прозрачным и законным."}),l.jsx("p",{className:Yn.descText,children:"Мы создаём инфраструктуру для операций с криптовалютой и комплексные решения для физических и юридических лиц."})]})]}),l.jsxs("div",{className:Yn.right,children:[l.jsx("div",{className:Yn.glow}),im.map((i,o)=>l.jsxs("div",{className:Yn.row,"data-hovered":s===o||void 0,"data-last":o===im.length-1||void 0,onMouseEnter:()=>c(o),onMouseLeave:()=>c(-1),children:[l.jsx("div",{className:Yn.check,children:"✓"}),l.jsx("span",{className:Yn.text,children:i})]},o))]})]})})}const Sy=new Date("2026-05-21T00:00:00").getTime(),Ap=80,Op=21,wl=[{min:5e3,max:3e4,pct:8},{min:30001,max:1e5,pct:6},{min:100001,max:6e5,pct:4}],k0=wl[0].min,W0=wl[wl.length-1].max;function Ny(s){const c=wl.find(i=>s>=i.min&&s<=i.max);return c||(s>W0?{pct:wl[wl.length-1].pct}:{pct:wl[0].pct})}function O2(s){return s<=k0?0:s>=W0?100:(s-k0)/(W0-k0)*100}function Mp({usdtRate:s}){const[c,i]=b.useState("buy"),[o,d]=b.useState("1000"),[h,m]=b.useState(!1),p=Number.parseFloat(o)||0,_=b.useMemo(()=>{const y=Ny(p),w=p*y.pct/100,A=s*(1+(c==="buy"?1:-1)*y.pct/100),O=p>0?(p/A).toFixed(2):"0.00";return{tierPct:y.pct,commission:w,effectiveRate:A,usdtVal:O,progress:O2(p)}},[p,c,s]);function v(y){d(y.replace(/[^0-9.]/g,""))}function x(){i(y=>y==="buy"?"sell":"buy")}return{mode:c,setMode:i,rubVal:o,updateRub:v,numRub:p,agreed:h,setAgreed:m,toggleMode:x,..._}}var li=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(s){return this.listeners.add(s),this.onSubscribe(),()=>{this.listeners.delete(s),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Ha,na,Hs,Wm,wy=(Wm=class extends li{constructor(){super();ie(this,Ha);ie(this,na);ie(this,Hs);P(this,Hs,c=>{if(typeof window<"u"&&window.addEventListener){const i=()=>c();return window.addEventListener("visibilitychange",i,!1),()=>{window.removeEventListener("visibilitychange",i)}}})}onSubscribe(){S(this,na)||this.setEventListener(S(this,Hs))}onUnsubscribe(){var c;this.hasListeners()||((c=S(this,na))==null||c.call(this),P(this,na,void 0))}setEventListener(c){var i;P(this,Hs,c),(i=S(this,na))==null||i.call(this),P(this,na,c(o=>{typeof o=="boolean"?this.setFocused(o):this.onFocus()}))}setFocused(c){S(this,Ha)!==c&&(P(this,Ha,c),this.onFocus())}onFocus(){const c=this.isFocused();this.listeners.forEach(i=>{i(c)})}isFocused(){var c;return typeof S(this,Ha)=="boolean"?S(this,Ha):((c=globalThis.document)==null?void 0:c.visibilityState)!=="hidden"}},Ha=new WeakMap,na=new WeakMap,Hs=new WeakMap,Wm),M2=new wy,Cy={setTimeout:(s,c)=>setTimeout(s,c),clearTimeout:s=>clearTimeout(s),setInterval:(s,c)=>setInterval(s,c),clearInterval:s=>clearInterval(s)},la,x2,Jm,Ty=(Jm=class{constructor(){ie(this,la,Cy);ie(this,x2,!1)}setTimeoutProvider(s){P(this,la,s)}setTimeout(s,c){return S(this,la).setTimeout(s,c)}clearTimeout(s){S(this,la).clearTimeout(s)}setInterval(s,c){return S(this,la).setInterval(s,c)}clearInterval(s){S(this,la).clearInterval(s)}},la=new WeakMap,x2=new WeakMap,Jm),ka=new Ty;function Ey(s){setTimeout(s,0)}var Ry=typeof window>"u"||"Deno"in globalThis;function kt(){}function Ay(s,c){return typeof s=="function"?s(c):s}function J0(s){return typeof s=="number"&&s>=0&&s!==1/0}function Dp(s,c){return Math.max(s+(c||0)-Date.now(),0)}function da(s,c){return typeof s=="function"?s(c):s}function hn(s,c){return typeof s=="function"?s(c):s}function cm(s,c){const{type:i="all",exact:o,fetchStatus:d,predicate:h,queryKey:m,stale:p}=s;if(m){if(o){if(c.queryHash!==D2(m,c.options))return!1}else if(!vc(c.queryKey,m))return!1}if(i!=="all"){const _=c.isActive();if(i==="active"&&!_||i==="inactive"&&_)return!1}return!(typeof p=="boolean"&&c.isStale()!==p||d&&d!==c.state.fetchStatus||h&&!h(c))}function rm(s,c){const{exact:i,status:o,predicate:d,mutationKey:h}=s;if(h){if(!c.options.mutationKey)return!1;if(i){if(Ka(c.options.mutationKey)!==Ka(h))return!1}else if(!vc(c.options.mutationKey,h))return!1}return!(o&&c.state.status!==o||d&&!d(c))}function D2(s,c){return((c==null?void 0:c.queryKeyHashFn)||Ka)(s)}function Ka(s){return JSON.stringify(s,(c,i)=>e2(i)?Object.keys(i).sort().reduce((o,d)=>(o[d]=i[d],o),{}):i)}function vc(s,c){return s===c?!0:typeof s!=typeof c?!1:s&&c&&typeof s=="object"&&typeof c=="object"?Object.keys(c).every(i=>vc(s[i],c[i])):!1}var Oy=Object.prototype.hasOwnProperty;function zp(s,c,i=0){if(s===c)return s;if(i>500)return c;const o=om(s)&&om(c);if(!o&&!(e2(s)&&e2(c)))return c;const h=(o?s:Object.keys(s)).length,m=o?c:Object.keys(c),p=m.length,_=o?new Array(p):{};let v=0;for(let x=0;x<p;x++){const y=o?x:m[x],w=s[y],E=c[y];if(w===E){_[y]=w,(o?x<h:Oy.call(s,y))&&v++;continue}if(w===null||E===null||typeof w!="object"||typeof E!="object"){_[y]=E;continue}const A=zp(w,E,i+1);_[y]=A,A===w&&v++}return h===p&&v===h?s:_}function to(s,c){if(!c||Object.keys(s).length!==Object.keys(c).length)return!1;for(const i in s)if(s[i]!==c[i])return!1;return!0}function om(s){return Array.isArray(s)&&s.length===Object.keys(s).length}function e2(s){if(!um(s))return!1;const c=s.constructor;if(c===void 0)return!0;const i=c.prototype;return!(!um(i)||!i.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(s)!==Object.prototype)}function um(s){return Object.prototype.toString.call(s)==="[object Object]"}function My(s){return new Promise(c=>{ka.setTimeout(c,s)})}function t2(s,c,i){return typeof i.structuralSharing=="function"?i.structuralSharing(s,c):i.structuralSharing!==!1?zp(s,c):c}function Dy(s,c,i=0){const o=[...s,c];return i&&o.length>i?o.slice(1):o}function zy(s,c,i=0){const o=[c,...s];return i&&o.length>i?o.slice(0,-1):o}var z2=Symbol();function Lp(s,c){return!s.queryFn&&(c!=null&&c.initialPromise)?()=>c.initialPromise:!s.queryFn||s.queryFn===z2?()=>Promise.reject(new Error(`Missing queryFn: '${s.queryHash}'`)):s.queryFn}function L2(s,c){return typeof s=="function"?s(...c):!!s}function Ly(s,c,i){let o=!1,d;return Object.defineProperty(s,"signal",{enumerable:!0,get:()=>(d??(d=c()),o||(o=!0,d.aborted?i():d.addEventListener("abort",i,{once:!0})),d)}),s}var _c=(()=>{let s=()=>Ry;return{isServer(){return s()},setIsServer(c){s=c}}})();function n2(){let s,c;const i=new Promise((d,h)=>{s=d,c=h});i.status="pending",i.catch(()=>{});function o(d){Object.assign(i,d),delete i.resolve,delete i.reject}return i.resolve=d=>{o({status:"fulfilled",value:d}),s(d)},i.reject=d=>{o({status:"rejected",reason:d}),c(d)},i}var By=Ey;function Uy(){let s=[],c=0,i=p=>{p()},o=p=>{p()},d=By;const h=p=>{c?s.push(p):d(()=>{i(p)})},m=()=>{const p=s;s=[],p.length&&d(()=>{o(()=>{p.forEach(_=>{i(_)})})})};return{batch:p=>{let _;c++;try{_=p()}finally{c--,c||m()}return _},batchCalls:p=>(..._)=>{h(()=>{p(..._)})},schedule:h,setNotifyFunction:p=>{i=p},setBatchNotifyFunction:p=>{o=p},setScheduler:p=>{d=p}}}var vt=Uy(),qs,aa,$s,ep,ky=(ep=class extends li{constructor(){super();ie(this,qs,!0);ie(this,aa);ie(this,$s);P(this,$s,c=>{if(typeof window<"u"&&window.addEventListener){const i=()=>c(!0),o=()=>c(!1);return window.addEventListener("online",i,!1),window.addEventListener("offline",o,!1),()=>{window.removeEventListener("online",i),window.removeEventListener("offline",o)}}})}onSubscribe(){S(this,aa)||this.setEventListener(S(this,$s))}onUnsubscribe(){var c;this.hasListeners()||((c=S(this,aa))==null||c.call(this),P(this,aa,void 0))}setEventListener(c){var i;P(this,$s,c),(i=S(this,aa))==null||i.call(this),P(this,aa,c(this.setOnline.bind(this)))}setOnline(c){S(this,qs)!==c&&(P(this,qs,c),this.listeners.forEach(o=>{o(c)}))}isOnline(){return S(this,qs)}},qs=new WeakMap,aa=new WeakMap,$s=new WeakMap,ep),no=new ky;function Hy(s){return Math.min(1e3*2**s,3e4)}function Bp(s){return(s??"online")==="online"?no.isOnline():!0}var l2=class extends Error{constructor(s){super("CancelledError"),this.revert=s==null?void 0:s.revert,this.silent=s==null?void 0:s.silent}};function Up(s){let c=!1,i=0,o;const d=n2(),h=()=>d.status!=="pending",m=O=>{var N;if(!h()){const M=new l2(O);w(M),(N=s.onCancel)==null||N.call(s,M)}},p=()=>{c=!0},_=()=>{c=!1},v=()=>M2.isFocused()&&(s.networkMode==="always"||no.isOnline())&&s.canRun(),x=()=>Bp(s.networkMode)&&s.canRun(),y=O=>{h()||(o==null||o(),d.resolve(O))},w=O=>{h()||(o==null||o(),d.reject(O))},E=()=>new Promise(O=>{var N;o=M=>{(h()||v())&&O(M)},(N=s.onPause)==null||N.call(s)}).then(()=>{var O;o=void 0,h()||(O=s.onContinue)==null||O.call(s)}),A=()=>{if(h())return;let O;const N=i===0?s.initialPromise:void 0;try{O=N??s.fn()}catch(M){O=Promise.reject(M)}Promise.resolve(O).then(y).catch(M=>{var le;if(h())return;const F=s.retry??(_c.isServer()?0:3),$=s.retryDelay??Hy,V=typeof $=="function"?$(i,M):$,K=F===!0||typeof F=="number"&&i<F||typeof F=="function"&&F(i,M);if(c||!K){w(M);return}i++,(le=s.onFail)==null||le.call(s,i,M),My(V).then(()=>v()?void 0:E()).then(()=>{c?w(M):A()})})};return{promise:d,status:()=>d.status,cancel:m,continue:()=>(o==null||o(),d),cancelRetry:p,continueRetry:_,canStart:x,start:()=>(x()?A():E().then(A),d)}}var qa,tp,kp=(tp=class{constructor(){ie(this,qa)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),J0(this.gcTime)&&P(this,qa,ka.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(s){this.gcTime=Math.max(this.gcTime||0,s??(_c.isServer()?1/0:300*1e3))}clearGcTimeout(){S(this,qa)!==void 0&&(ka.clearTimeout(S(this,qa)),P(this,qa,void 0))}},qa=new WeakMap,tp);function qy(s){return{onFetch:(c,i)=>{var x,y,w,E,A;const o=c.options,d=(w=(y=(x=c.fetchOptions)==null?void 0:x.meta)==null?void 0:y.fetchMore)==null?void 0:w.direction,h=((E=c.state.data)==null?void 0:E.pages)||[],m=((A=c.state.data)==null?void 0:A.pageParams)||[];let p={pages:[],pageParams:[]},_=0;const v=async()=>{let O=!1;const N=$=>{Ly($,()=>c.signal,()=>O=!0)},M=Lp(c.options,c.fetchOptions),F=async($,V,K)=>{if(O)return Promise.reject(c.signal.reason);if(V==null&&$.pages.length)return Promise.resolve($);const X=(()=>{const _e={client:c.client,queryKey:c.queryKey,pageParam:V,direction:K?"backward":"forward",meta:c.options.meta};return N(_e),_e})(),ne=await M(X),{maxPages:de}=c.options,he=K?zy:Dy;return{pages:he($.pages,ne,de),pageParams:he($.pageParams,V,de)}};if(d&&h.length){const $=d==="backward",V=$?Hp:a2,K={pages:h,pageParams:m},le=V(o,K);p=await F(K,le,$)}else{const $=s??h.length;do{const V=_===0?m[0]??o.initialPageParam:a2(o,p);if(_>0&&V==null)break;p=await F(p,V),_++}while(_<$)}return p};c.options.persister?c.fetchFn=()=>{var O,N;return(N=(O=c.options).persister)==null?void 0:N.call(O,v,{client:c.client,queryKey:c.queryKey,meta:c.options.meta,signal:c.signal},i)}:c.fetchFn=v}}}function a2(s,{pages:c,pageParams:i}){const o=c.length-1;return c.length>0?s.getNextPageParam(c[o],c,i[o],i):void 0}function Hp(s,{pages:c,pageParams:i}){var o;return c.length>0?(o=s.getPreviousPageParam)==null?void 0:o.call(s,c[0],c,i[0],i):void 0}function $y(s,c){return c?a2(s,c)!=null:!1}function Gy(s,c){return!c||!s.getPreviousPageParam?!1:Hp(s,c)!=null}var Gs,$a,Vs,En,Ga,xt,gc,Va,fn,qp,xl,np,Vy=(np=class extends kp{constructor(c){super();ie(this,fn);ie(this,Gs);ie(this,$a);ie(this,Vs);ie(this,En);ie(this,Ga);ie(this,xt);ie(this,gc);ie(this,Va);P(this,Va,!1),P(this,gc,c.defaultOptions),this.setOptions(c.options),this.observers=[],P(this,Ga,c.client),P(this,En,S(this,Ga).getQueryCache()),this.queryKey=c.queryKey,this.queryHash=c.queryHash,P(this,$a,fm(this.options)),this.state=c.state??S(this,$a),this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return S(this,Gs)}get promise(){var c;return(c=S(this,xt))==null?void 0:c.promise}setOptions(c){if(this.options={...S(this,gc),...c},c!=null&&c._type&&P(this,Gs,c._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const i=fm(this.options);i.data!==void 0&&(this.setState(dm(i.data,i.dataUpdatedAt)),P(this,$a,i))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&S(this,En).remove(this)}setData(c,i){const o=t2(this.state.data,c,this.options);return je(this,fn,xl).call(this,{data:o,type:"success",dataUpdatedAt:i==null?void 0:i.updatedAt,manual:i==null?void 0:i.manual}),o}setState(c){je(this,fn,xl).call(this,{type:"setState",state:c})}cancel(c){var o,d;const i=(o=S(this,xt))==null?void 0:o.promise;return(d=S(this,xt))==null||d.cancel(c),i?i.then(kt).catch(kt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return S(this,$a)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(c=>hn(c.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===z2||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(c=>da(c.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(c=>c.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(c=0){return this.state.data===void 0?!0:c==="static"?!1:this.state.isInvalidated?!0:!Dp(this.state.dataUpdatedAt,c)}onFocus(){var i;const c=this.observers.find(o=>o.shouldFetchOnWindowFocus());c==null||c.refetch({cancelRefetch:!1}),(i=S(this,xt))==null||i.continue()}onOnline(){var i;const c=this.observers.find(o=>o.shouldFetchOnReconnect());c==null||c.refetch({cancelRefetch:!1}),(i=S(this,xt))==null||i.continue()}addObserver(c){this.observers.includes(c)||(this.observers.push(c),this.clearGcTimeout(),S(this,En).notify({type:"observerAdded",query:this,observer:c}))}removeObserver(c){this.observers.includes(c)&&(this.observers=this.observers.filter(i=>i!==c),this.observers.length||(S(this,xt)&&(S(this,Va)||je(this,fn,qp).call(this)?S(this,xt).cancel({revert:!0}):S(this,xt).cancelRetry()),this.scheduleGc()),S(this,En).notify({type:"observerRemoved",query:this,observer:c}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||je(this,fn,xl).call(this,{type:"invalidate"})}async fetch(c,i){var v,x,y,w,E,A,O,N,M,F,$;if(this.state.fetchStatus!=="idle"&&((v=S(this,xt))==null?void 0:v.status())!=="rejected"){if(this.state.data!==void 0&&(i!=null&&i.cancelRefetch))this.cancel({silent:!0});else if(S(this,xt))return S(this,xt).continueRetry(),S(this,xt).promise}if(c&&this.setOptions(c),!this.options.queryFn){const V=this.observers.find(K=>K.options.queryFn);V&&this.setOptions(V.options)}const o=new AbortController,d=V=>{Object.defineProperty(V,"signal",{enumerable:!0,get:()=>(P(this,Va,!0),o.signal)})},h=()=>{const V=Lp(this.options,i),le=(()=>{const X={client:S(this,Ga),queryKey:this.queryKey,meta:this.meta};return d(X),X})();return P(this,Va,!1),this.options.persister?this.options.persister(V,le,this):V(le)},p=(()=>{const V={fetchOptions:i,options:this.options,queryKey:this.queryKey,client:S(this,Ga),state:this.state,fetchFn:h};return d(V),V})(),_=S(this,Gs)==="infinite"?qy(this.options.pages):this.options.behavior;_==null||_.onFetch(p,this),P(this,Vs,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((x=p.fetchOptions)==null?void 0:x.meta))&&je(this,fn,xl).call(this,{type:"fetch",meta:(y=p.fetchOptions)==null?void 0:y.meta}),P(this,xt,Up({initialPromise:i==null?void 0:i.initialPromise,fn:p.fetchFn,onCancel:V=>{V instanceof l2&&V.revert&&this.setState({...S(this,Vs),fetchStatus:"idle"}),o.abort()},onFail:(V,K)=>{je(this,fn,xl).call(this,{type:"failed",failureCount:V,error:K})},onPause:()=>{je(this,fn,xl).call(this,{type:"pause"})},onContinue:()=>{je(this,fn,xl).call(this,{type:"continue"})},retry:p.options.retry,retryDelay:p.options.retryDelay,networkMode:p.options.networkMode,canRun:()=>!0}));try{const V=await S(this,xt).start();if(V===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(V),(E=(w=S(this,En).config).onSuccess)==null||E.call(w,V,this),(O=(A=S(this,En).config).onSettled)==null||O.call(A,V,this.state.error,this),V}catch(V){if(V instanceof l2){if(V.silent)return S(this,xt).promise;if(V.revert){if(this.state.data===void 0)throw V;return this.state.data}}throw je(this,fn,xl).call(this,{type:"error",error:V}),(M=(N=S(this,En).config).onError)==null||M.call(N,V,this),($=(F=S(this,En).config).onSettled)==null||$.call(F,this.state.data,V,this),V}finally{this.scheduleGc()}}},Gs=new WeakMap,$a=new WeakMap,Vs=new WeakMap,En=new WeakMap,Ga=new WeakMap,xt=new WeakMap,gc=new WeakMap,Va=new WeakMap,fn=new WeakSet,qp=function(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"},xl=function(c){const i=o=>{switch(c.type){case"failed":return{...o,fetchFailureCount:c.failureCount,fetchFailureReason:c.error};case"pause":return{...o,fetchStatus:"paused"};case"continue":return{...o,fetchStatus:"fetching"};case"fetch":return{...o,...$p(o.data,this.options),fetchMeta:c.meta??null};case"success":const d={...o,...dm(c.data,c.dataUpdatedAt),dataUpdateCount:o.dataUpdateCount+1,...!c.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return P(this,Vs,c.manual?d:void 0),d;case"error":const h=c.error;return{...o,error:h,errorUpdateCount:o.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:o.fetchFailureCount+1,fetchFailureReason:h,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...o,isInvalidated:!0};case"setState":return{...o,...c.state}}};this.state=i(this.state),vt.batch(()=>{this.observers.forEach(o=>{o.onQueryUpdate()}),S(this,En).notify({query:this,type:"updated",action:c})})},np);function $p(s,c){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Bp(c.networkMode)?"fetching":"paused",...s===void 0&&{error:null,status:"pending"}}}function dm(s,c){return{data:s,dataUpdatedAt:c??Date.now(),error:null,isInvalidated:!1,status:"success"}}function fm(s){const c=typeof s.initialData=="function"?s.initialData():s.initialData,i=c!==void 0,o=i?typeof s.initialDataUpdatedAt=="function"?s.initialDataUpdatedAt():s.initialDataUpdatedAt:0;return{data:c,dataUpdateCount:0,dataUpdatedAt:i?o??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:i?"success":"pending",fetchStatus:"idle"}}var It,Me,yc,Ut,Fa,Fs,bl,sa,xc,Qs,Ys,Qa,Ya,ia,Xs,qe,fc,s2,i2,c2,r2,o2,u2,d2,Vp,lp,Gp=(lp=class extends li{constructor(c,i){super();ie(this,qe);ie(this,It);ie(this,Me);ie(this,yc);ie(this,Ut);ie(this,Fa);ie(this,Fs);ie(this,bl);ie(this,sa);ie(this,xc);ie(this,Qs);ie(this,Ys);ie(this,Qa);ie(this,Ya);ie(this,ia);ie(this,Xs,new Set);this.options=i,P(this,It,c),P(this,sa,null),P(this,bl,n2()),this.bindMethods(),this.setOptions(i)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(S(this,Me).addObserver(this),hm(S(this,Me),this.options)?je(this,qe,fc).call(this):this.updateResult(),je(this,qe,r2).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return f2(S(this,Me),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return f2(S(this,Me),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,je(this,qe,o2).call(this),je(this,qe,u2).call(this),S(this,Me).removeObserver(this)}setOptions(c){const i=this.options,o=S(this,Me);if(this.options=S(this,It).defaultQueryOptions(c),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof hn(this.options.enabled,S(this,Me))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");je(this,qe,d2).call(this),S(this,Me).setOptions(this.options),i._defaulted&&!to(this.options,i)&&S(this,It).getQueryCache().notify({type:"observerOptionsUpdated",query:S(this,Me),observer:this});const d=this.hasListeners();d&&mm(S(this,Me),o,this.options,i)&&je(this,qe,fc).call(this),this.updateResult(),d&&(S(this,Me)!==o||hn(this.options.enabled,S(this,Me))!==hn(i.enabled,S(this,Me))||da(this.options.staleTime,S(this,Me))!==da(i.staleTime,S(this,Me)))&&je(this,qe,s2).call(this);const h=je(this,qe,i2).call(this);d&&(S(this,Me)!==o||hn(this.options.enabled,S(this,Me))!==hn(i.enabled,S(this,Me))||h!==S(this,ia))&&je(this,qe,c2).call(this,h)}getOptimisticResult(c){const i=S(this,It).getQueryCache().build(S(this,It),c),o=this.createResult(i,c);return Qy(this,o)&&(P(this,Ut,o),P(this,Fs,this.options),P(this,Fa,S(this,Me).state)),o}getCurrentResult(){return S(this,Ut)}trackResult(c,i){return new Proxy(c,{get:(o,d)=>(this.trackProp(d),i==null||i(d),d==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&S(this,bl).status==="pending"&&S(this,bl).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(o,d))})}trackProp(c){S(this,Xs).add(c)}getCurrentQuery(){return S(this,Me)}refetch({...c}={}){return this.fetch({...c})}fetchOptimistic(c){const i=S(this,It).defaultQueryOptions(c),o=S(this,It).getQueryCache().build(S(this,It),i);return o.fetch().then(()=>this.createResult(o,i))}fetch(c){return je(this,qe,fc).call(this,{...c,cancelRefetch:c.cancelRefetch??!0}).then(()=>(this.updateResult(),S(this,Ut)))}createResult(c,i){var de;const o=S(this,Me),d=this.options,h=S(this,Ut),m=S(this,Fa),p=S(this,Fs),v=c!==o?c.state:S(this,yc),{state:x}=c;let y={...x},w=!1,E;if(i._optimisticResults){const he=this.hasListeners(),_e=!he&&hm(c,i),De=he&&mm(c,o,i,d);(_e||De)&&(y={...y,...$p(x.data,c.options)}),i._optimisticResults==="isRestoring"&&(y.fetchStatus="idle")}let{error:A,errorUpdatedAt:O,status:N}=y;E=y.data;let M=!1;if(i.placeholderData!==void 0&&E===void 0&&N==="pending"){let he;h!=null&&h.isPlaceholderData&&i.placeholderData===(p==null?void 0:p.placeholderData)?(he=h.data,M=!0):he=typeof i.placeholderData=="function"?i.placeholderData((de=S(this,Ys))==null?void 0:de.state.data,S(this,Ys)):i.placeholderData,he!==void 0&&(N="success",E=t2(h==null?void 0:h.data,he,i),w=!0)}if(i.select&&E!==void 0&&!M)if(h&&E===(m==null?void 0:m.data)&&i.select===S(this,xc))E=S(this,Qs);else try{P(this,xc,i.select),E=i.select(E),E=t2(h==null?void 0:h.data,E,i),P(this,Qs,E),P(this,sa,null)}catch(he){P(this,sa,he)}S(this,sa)&&(A=S(this,sa),E=S(this,Qs),O=Date.now(),N="error");const F=y.fetchStatus==="fetching",$=N==="pending",V=N==="error",K=$&&F,le=E!==void 0,ne={status:N,fetchStatus:y.fetchStatus,isPending:$,isSuccess:N==="success",isError:V,isInitialLoading:K,isLoading:K,data:E,dataUpdatedAt:y.dataUpdatedAt,error:A,errorUpdatedAt:O,failureCount:y.fetchFailureCount,failureReason:y.fetchFailureReason,errorUpdateCount:y.errorUpdateCount,isFetched:c.isFetched(),isFetchedAfterMount:y.dataUpdateCount>v.dataUpdateCount||y.errorUpdateCount>v.errorUpdateCount,isFetching:F,isRefetching:F&&!$,isLoadingError:V&&!le,isPaused:y.fetchStatus==="paused",isPlaceholderData:w,isRefetchError:V&&le,isStale:B2(c,i),refetch:this.refetch,promise:S(this,bl),isEnabled:hn(i.enabled,c)!==!1};if(this.options.experimental_prefetchInRender){const he=ne.data!==void 0,_e=ne.status==="error"&&!he,De=ze=>{_e?ze.reject(ne.error):he&&ze.resolve(ne.data)},se=()=>{const ze=P(this,bl,ne.promise=n2());De(ze)},$e=S(this,bl);switch($e.status){case"pending":c.queryHash===o.queryHash&&De($e);break;case"fulfilled":(_e||ne.data!==$e.value)&&se();break;case"rejected":(!_e||ne.error!==$e.reason)&&se();break}}return ne}updateResult(){const c=S(this,Ut),i=this.createResult(S(this,Me),this.options);if(P(this,Fa,S(this,Me).state),P(this,Fs,this.options),S(this,Fa).data!==void 0&&P(this,Ys,S(this,Me)),to(i,c))return;P(this,Ut,i);const o=()=>{if(!c)return!0;const{notifyOnChangeProps:d}=this.options,h=typeof d=="function"?d():d;if(h==="all"||!h&&!S(this,Xs).size)return!0;const m=new Set(h??S(this,Xs));return this.options.throwOnError&&m.add("error"),Object.keys(S(this,Ut)).some(p=>{const _=p;return S(this,Ut)[_]!==c[_]&&m.has(_)})};je(this,qe,Vp).call(this,{listeners:o()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&je(this,qe,r2).call(this)}},It=new WeakMap,Me=new WeakMap,yc=new WeakMap,Ut=new WeakMap,Fa=new WeakMap,Fs=new WeakMap,bl=new WeakMap,sa=new WeakMap,xc=new WeakMap,Qs=new WeakMap,Ys=new WeakMap,Qa=new WeakMap,Ya=new WeakMap,ia=new WeakMap,Xs=new WeakMap,qe=new WeakSet,fc=function(c){je(this,qe,d2).call(this);let i=S(this,Me).fetch(this.options,c);return c!=null&&c.throwOnError||(i=i.catch(kt)),i},s2=function(){je(this,qe,o2).call(this);const c=da(this.options.staleTime,S(this,Me));if(_c.isServer()||S(this,Ut).isStale||!J0(c))return;const o=Dp(S(this,Ut).dataUpdatedAt,c)+1;P(this,Qa,ka.setTimeout(()=>{S(this,Ut).isStale||this.updateResult()},o))},i2=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(S(this,Me)):this.options.refetchInterval)??!1},c2=function(c){je(this,qe,u2).call(this),P(this,ia,c),!(_c.isServer()||hn(this.options.enabled,S(this,Me))===!1||!J0(S(this,ia))||S(this,ia)===0)&&P(this,Ya,ka.setInterval(()=>{(this.options.refetchIntervalInBackground||M2.isFocused())&&je(this,qe,fc).call(this)},S(this,ia)))},r2=function(){je(this,qe,s2).call(this),je(this,qe,c2).call(this,je(this,qe,i2).call(this))},o2=function(){S(this,Qa)!==void 0&&(ka.clearTimeout(S(this,Qa)),P(this,Qa,void 0))},u2=function(){S(this,Ya)!==void 0&&(ka.clearInterval(S(this,Ya)),P(this,Ya,void 0))},d2=function(){const c=S(this,It).getQueryCache().build(S(this,It),this.options);if(c===S(this,Me))return;const i=S(this,Me);P(this,Me,c),P(this,yc,c.state),this.hasListeners()&&(i==null||i.removeObserver(this),c.addObserver(this))},Vp=function(c){vt.batch(()=>{c.listeners&&this.listeners.forEach(i=>{i(S(this,Ut))}),S(this,It).getQueryCache().notify({query:S(this,Me),type:"observerResultsUpdated"})})},lp);function Fy(s,c){return hn(c.enabled,s)!==!1&&s.state.data===void 0&&!(s.state.status==="error"&&hn(c.retryOnMount,s)===!1)}function hm(s,c){return Fy(s,c)||s.state.data!==void 0&&f2(s,c,c.refetchOnMount)}function f2(s,c,i){if(hn(c.enabled,s)!==!1&&da(c.staleTime,s)!=="static"){const o=typeof i=="function"?i(s):i;return o==="always"||o!==!1&&B2(s,c)}return!1}function mm(s,c,i,o){return(s!==c||hn(o.enabled,s)===!1)&&(!i.suspense||s.state.status!=="error")&&B2(s,i)}function B2(s,c){return hn(c.enabled,s)!==!1&&s.isStaleByTime(da(c.staleTime,s))}function Qy(s,c){return!to(s.getCurrentResult(),c)}var Yy=class extends Gp{constructor(s,c){super(s,c)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(s){s._type="infinite",super.setOptions(s)}getOptimisticResult(s){return s._type="infinite",super.getOptimisticResult(s)}fetchNextPage(s){return this.fetch({...s,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(s){return this.fetch({...s,meta:{fetchMore:{direction:"backward"}}})}createResult(s,c){var A,O;const{state:i}=s,o=super.createResult(s,c),{isFetching:d,isRefetching:h,isError:m,isRefetchError:p}=o,_=(O=(A=i.fetchMeta)==null?void 0:A.fetchMore)==null?void 0:O.direction,v=m&&_==="forward",x=d&&_==="forward",y=m&&_==="backward",w=d&&_==="backward";return{...o,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:$y(c,i.data),hasPreviousPage:Gy(c,i.data),isFetchNextPageError:v,isFetchingNextPage:x,isFetchPreviousPageError:y,isFetchingPreviousPage:w,isRefetchError:p&&!v&&!y,isRefetching:h&&!x&&!w}}},bc,Kn,At,Xa,In,ta,ap,Xy=(ap=class extends kp{constructor(c){super();ie(this,In);ie(this,bc);ie(this,Kn);ie(this,At);ie(this,Xa);P(this,bc,c.client),this.mutationId=c.mutationId,P(this,At,c.mutationCache),P(this,Kn,[]),this.state=c.state||Fp(),this.setOptions(c.options),this.scheduleGc()}setOptions(c){this.options=c,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(c){S(this,Kn).includes(c)||(S(this,Kn).push(c),this.clearGcTimeout(),S(this,At).notify({type:"observerAdded",mutation:this,observer:c}))}removeObserver(c){P(this,Kn,S(this,Kn).filter(i=>i!==c)),this.scheduleGc(),S(this,At).notify({type:"observerRemoved",mutation:this,observer:c})}optionalRemove(){S(this,Kn).length||(this.state.status==="pending"?this.scheduleGc():S(this,At).remove(this))}continue(){var c;return((c=S(this,Xa))==null?void 0:c.continue())??this.execute(this.state.variables)}async execute(c){var m,p,_,v,x,y,w,E,A,O,N,M,F,$,V,K,le,X;const i=()=>{je(this,In,ta).call(this,{type:"continue"})},o={client:S(this,bc),meta:this.options.meta,mutationKey:this.options.mutationKey};P(this,Xa,Up({fn:()=>this.options.mutationFn?this.options.mutationFn(c,o):Promise.reject(new Error("No mutationFn found")),onFail:(ne,de)=>{je(this,In,ta).call(this,{type:"failed",failureCount:ne,error:de})},onPause:()=>{je(this,In,ta).call(this,{type:"pause"})},onContinue:i,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>S(this,At).canRun(this)}));const d=this.state.status==="pending",h=!S(this,Xa).canStart();try{if(d)i();else{je(this,In,ta).call(this,{type:"pending",variables:c,isPaused:h}),S(this,At).config.onMutate&&await S(this,At).config.onMutate(c,this,o);const de=await((p=(m=this.options).onMutate)==null?void 0:p.call(m,c,o));de!==this.state.context&&je(this,In,ta).call(this,{type:"pending",context:de,variables:c,isPaused:h})}const ne=await S(this,Xa).start();return await((v=(_=S(this,At).config).onSuccess)==null?void 0:v.call(_,ne,c,this.state.context,this,o)),await((y=(x=this.options).onSuccess)==null?void 0:y.call(x,ne,c,this.state.context,o)),await((E=(w=S(this,At).config).onSettled)==null?void 0:E.call(w,ne,null,this.state.variables,this.state.context,this,o)),await((O=(A=this.options).onSettled)==null?void 0:O.call(A,ne,null,c,this.state.context,o)),je(this,In,ta).call(this,{type:"success",data:ne}),ne}catch(ne){try{await((M=(N=S(this,At).config).onError)==null?void 0:M.call(N,ne,c,this.state.context,this,o))}catch(de){Promise.reject(de)}try{await(($=(F=this.options).onError)==null?void 0:$.call(F,ne,c,this.state.context,o))}catch(de){Promise.reject(de)}try{await((K=(V=S(this,At).config).onSettled)==null?void 0:K.call(V,void 0,ne,this.state.variables,this.state.context,this,o))}catch(de){Promise.reject(de)}try{await((X=(le=this.options).onSettled)==null?void 0:X.call(le,void 0,ne,c,this.state.context,o))}catch(de){Promise.reject(de)}throw je(this,In,ta).call(this,{type:"error",error:ne}),ne}finally{S(this,At).runNext(this)}}},bc=new WeakMap,Kn=new WeakMap,At=new WeakMap,Xa=new WeakMap,In=new WeakSet,ta=function(c){const i=o=>{switch(c.type){case"failed":return{...o,failureCount:c.failureCount,failureReason:c.error};case"pause":return{...o,isPaused:!0};case"continue":return{...o,isPaused:!1};case"pending":return{...o,context:c.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:c.isPaused,status:"pending",variables:c.variables,submittedAt:Date.now()};case"success":return{...o,data:c.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...o,data:void 0,error:c.error,failureCount:o.failureCount+1,failureReason:c.error,isPaused:!1,status:"error"}}};this.state=i(this.state),vt.batch(()=>{S(this,Kn).forEach(o=>{o.onMutationUpdate(c)}),S(this,At).notify({mutation:this,type:"updated",action:c})})},ap);function Fp(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var jl,Bn,jc,sp,Zy=(sp=class extends li{constructor(c={}){super();ie(this,jl);ie(this,Bn);ie(this,jc);this.config=c,P(this,jl,new Set),P(this,Bn,new Map),P(this,jc,0)}build(c,i,o){const d=new Xy({client:c,mutationCache:this,mutationId:++Fr(this,jc)._,options:c.defaultMutationOptions(i),state:o});return this.add(d),d}add(c){S(this,jl).add(c);const i=Yr(c);if(typeof i=="string"){const o=S(this,Bn).get(i);o?o.push(c):S(this,Bn).set(i,[c])}this.notify({type:"added",mutation:c})}remove(c){if(S(this,jl).delete(c)){const i=Yr(c);if(typeof i=="string"){const o=S(this,Bn).get(i);if(o)if(o.length>1){const d=o.indexOf(c);d!==-1&&o.splice(d,1)}else o[0]===c&&S(this,Bn).delete(i)}}this.notify({type:"removed",mutation:c})}canRun(c){const i=Yr(c);if(typeof i=="string"){const o=S(this,Bn).get(i),d=o==null?void 0:o.find(h=>h.state.status==="pending");return!d||d===c}else return!0}runNext(c){var o;const i=Yr(c);if(typeof i=="string"){const d=(o=S(this,Bn).get(i))==null?void 0:o.find(h=>h!==c&&h.state.isPaused);return(d==null?void 0:d.continue())??Promise.resolve()}else return Promise.resolve()}clear(){vt.batch(()=>{S(this,jl).forEach(c=>{this.notify({type:"removed",mutation:c})}),S(this,jl).clear(),S(this,Bn).clear()})}getAll(){return Array.from(S(this,jl))}find(c){const i={exact:!0,...c};return this.getAll().find(o=>rm(i,o))}findAll(c={}){return this.getAll().filter(i=>rm(c,i))}notify(c){vt.batch(()=>{this.listeners.forEach(i=>{i(c)})})}resumePausedMutations(){const c=this.getAll().filter(i=>i.state.isPaused);return vt.batch(()=>Promise.all(c.map(i=>i.continue().catch(kt))))}},jl=new WeakMap,Bn=new WeakMap,jc=new WeakMap,sp);function Yr(s){var c;return(c=s.options.scope)==null?void 0:c.id}var Sl,ca,Pt,Nl,Cl,Wr,h2,ip,Ky=(ip=class extends li{constructor(i,o){super();ie(this,Cl);ie(this,Sl);ie(this,ca);ie(this,Pt);ie(this,Nl);P(this,Sl,i),this.setOptions(o),this.bindMethods(),je(this,Cl,Wr).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(i){var d;const o=this.options;this.options=S(this,Sl).defaultMutationOptions(i),to(this.options,o)||S(this,Sl).getMutationCache().notify({type:"observerOptionsUpdated",mutation:S(this,Pt),observer:this}),o!=null&&o.mutationKey&&this.options.mutationKey&&Ka(o.mutationKey)!==Ka(this.options.mutationKey)?this.reset():((d=S(this,Pt))==null?void 0:d.state.status)==="pending"&&S(this,Pt).setOptions(this.options)}onUnsubscribe(){var i;this.hasListeners()||(i=S(this,Pt))==null||i.removeObserver(this)}onMutationUpdate(i){je(this,Cl,Wr).call(this),je(this,Cl,h2).call(this,i)}getCurrentResult(){return S(this,ca)}reset(){var i;(i=S(this,Pt))==null||i.removeObserver(this),P(this,Pt,void 0),je(this,Cl,Wr).call(this),je(this,Cl,h2).call(this)}mutate(i,o){var d;return P(this,Nl,o),(d=S(this,Pt))==null||d.removeObserver(this),P(this,Pt,S(this,Sl).getMutationCache().build(S(this,Sl),this.options)),S(this,Pt).addObserver(this),S(this,Pt).execute(i)}},Sl=new WeakMap,ca=new WeakMap,Pt=new WeakMap,Nl=new WeakMap,Cl=new WeakSet,Wr=function(){var o;const i=((o=S(this,Pt))==null?void 0:o.state)??Fp();P(this,ca,{...i,isPending:i.status==="pending",isSuccess:i.status==="success",isError:i.status==="error",isIdle:i.status==="idle",mutate:this.mutate,reset:this.reset})},h2=function(i){vt.batch(()=>{var o,d,h,m,p,_,v,x;if(S(this,Nl)&&this.hasListeners()){const y=S(this,ca).variables,w=S(this,ca).context,E={client:S(this,Sl),meta:this.options.meta,mutationKey:this.options.mutationKey};if((i==null?void 0:i.type)==="success"){try{(d=(o=S(this,Nl)).onSuccess)==null||d.call(o,i.data,y,w,E)}catch(A){Promise.reject(A)}try{(m=(h=S(this,Nl)).onSettled)==null||m.call(h,i.data,null,y,w,E)}catch(A){Promise.reject(A)}}else if((i==null?void 0:i.type)==="error"){try{(_=(p=S(this,Nl)).onError)==null||_.call(p,i.error,y,w,E)}catch(A){Promise.reject(A)}try{(x=(v=S(this,Nl)).onSettled)==null||x.call(v,void 0,i.error,y,w,E)}catch(A){Promise.reject(A)}}}this.listeners.forEach(y=>{y(S(this,ca))})})},ip),Pn,cp,Iy=(cp=class extends li{constructor(c={}){super();ie(this,Pn);this.config=c,P(this,Pn,new Map)}build(c,i,o){const d=i.queryKey,h=i.queryHash??D2(d,i);let m=this.get(h);return m||(m=new Vy({client:c,queryKey:d,queryHash:h,options:c.defaultQueryOptions(i),state:o,defaultOptions:c.getQueryDefaults(d)}),this.add(m)),m}add(c){S(this,Pn).has(c.queryHash)||(S(this,Pn).set(c.queryHash,c),this.notify({type:"added",query:c}))}remove(c){const i=S(this,Pn).get(c.queryHash);i&&(c.destroy(),i===c&&S(this,Pn).delete(c.queryHash),this.notify({type:"removed",query:c}))}clear(){vt.batch(()=>{this.getAll().forEach(c=>{this.remove(c)})})}get(c){return S(this,Pn).get(c)}getAll(){return[...S(this,Pn).values()]}find(c){const i={exact:!0,...c};return this.getAll().find(o=>cm(i,o))}findAll(c={}){const i=this.getAll();return Object.keys(c).length>0?i.filter(o=>cm(c,o)):i}notify(c){vt.batch(()=>{this.listeners.forEach(i=>{i(c)})})}onFocus(){vt.batch(()=>{this.getAll().forEach(c=>{c.onFocus()})})}onOnline(){vt.batch(()=>{this.getAll().forEach(c=>{c.onOnline()})})}},Pn=new WeakMap,cp),at,ra,oa,Zs,Ks,ua,Is,Ps,rp,Py=(rp=class{constructor(s={}){ie(this,at);ie(this,ra);ie(this,oa);ie(this,Zs);ie(this,Ks);ie(this,ua);ie(this,Is);ie(this,Ps);P(this,at,s.queryCache||new Iy),P(this,ra,s.mutationCache||new Zy),P(this,oa,s.defaultOptions||{}),P(this,Zs,new Map),P(this,Ks,new Map),P(this,ua,0)}mount(){Fr(this,ua)._++,S(this,ua)===1&&(P(this,Is,M2.subscribe(async s=>{s&&(await this.resumePausedMutations(),S(this,at).onFocus())})),P(this,Ps,no.subscribe(async s=>{s&&(await this.resumePausedMutations(),S(this,at).onOnline())})))}unmount(){var s,c;Fr(this,ua)._--,S(this,ua)===0&&((s=S(this,Is))==null||s.call(this),P(this,Is,void 0),(c=S(this,Ps))==null||c.call(this),P(this,Ps,void 0))}isFetching(s){return S(this,at).findAll({...s,fetchStatus:"fetching"}).length}isMutating(s){return S(this,ra).findAll({...s,status:"pending"}).length}getQueryData(s){var i;const c=this.defaultQueryOptions({queryKey:s});return(i=S(this,at).get(c.queryHash))==null?void 0:i.state.data}ensureQueryData(s){const c=this.defaultQueryOptions(s),i=S(this,at).build(this,c),o=i.state.data;return o===void 0?this.fetchQuery(s):(s.revalidateIfStale&&i.isStaleByTime(da(c.staleTime,i))&&this.prefetchQuery(c),Promise.resolve(o))}getQueriesData(s){return S(this,at).findAll(s).map(({queryKey:c,state:i})=>{const o=i.data;return[c,o]})}setQueryData(s,c,i){const o=this.defaultQueryOptions({queryKey:s}),d=S(this,at).get(o.queryHash),h=d==null?void 0:d.state.data,m=Ay(c,h);if(m!==void 0)return S(this,at).build(this,o).setData(m,{...i,manual:!0})}setQueriesData(s,c,i){return vt.batch(()=>S(this,at).findAll(s).map(({queryKey:o})=>[o,this.setQueryData(o,c,i)]))}getQueryState(s){var i;const c=this.defaultQueryOptions({queryKey:s});return(i=S(this,at).get(c.queryHash))==null?void 0:i.state}removeQueries(s){const c=S(this,at);vt.batch(()=>{c.findAll(s).forEach(i=>{c.remove(i)})})}resetQueries(s,c){const i=S(this,at);return vt.batch(()=>(i.findAll(s).forEach(o=>{o.reset()}),this.refetchQueries({type:"active",...s},c)))}cancelQueries(s,c={}){const i={revert:!0,...c},o=vt.batch(()=>S(this,at).findAll(s).map(d=>d.cancel(i)));return Promise.all(o).then(kt).catch(kt)}invalidateQueries(s,c={}){return vt.batch(()=>(S(this,at).findAll(s).forEach(i=>{i.invalidate()}),(s==null?void 0:s.refetchType)==="none"?Promise.resolve():this.refetchQueries({...s,type:(s==null?void 0:s.refetchType)??(s==null?void 0:s.type)??"active"},c)))}refetchQueries(s,c={}){const i={...c,cancelRefetch:c.cancelRefetch??!0},o=vt.batch(()=>S(this,at).findAll(s).filter(d=>!d.isDisabled()&&!d.isStatic()).map(d=>{let h=d.fetch(void 0,i);return i.throwOnError||(h=h.catch(kt)),d.state.fetchStatus==="paused"?Promise.resolve():h}));return Promise.all(o).then(kt)}fetchQuery(s){const c=this.defaultQueryOptions(s);c.retry===void 0&&(c.retry=!1);const i=S(this,at).build(this,c);return i.isStaleByTime(da(c.staleTime,i))?i.fetch(c):Promise.resolve(i.state.data)}prefetchQuery(s){return this.fetchQuery(s).then(kt).catch(kt)}fetchInfiniteQuery(s){return s._type="infinite",this.fetchQuery(s)}prefetchInfiniteQuery(s){return this.fetchInfiniteQuery(s).then(kt).catch(kt)}ensureInfiniteQueryData(s){return s._type="infinite",this.ensureQueryData(s)}resumePausedMutations(){return no.isOnline()?S(this,ra).resumePausedMutations():Promise.resolve()}getQueryCache(){return S(this,at)}getMutationCache(){return S(this,ra)}getDefaultOptions(){return S(this,oa)}setDefaultOptions(s){P(this,oa,s)}setQueryDefaults(s,c){S(this,Zs).set(Ka(s),{queryKey:s,defaultOptions:c})}getQueryDefaults(s){const c=[...S(this,Zs).values()],i={};return c.forEach(o=>{vc(s,o.queryKey)&&Object.assign(i,o.defaultOptions)}),i}setMutationDefaults(s,c){S(this,Ks).set(Ka(s),{mutationKey:s,defaultOptions:c})}getMutationDefaults(s){const c=[...S(this,Ks).values()],i={};return c.forEach(o=>{vc(s,o.mutationKey)&&Object.assign(i,o.defaultOptions)}),i}defaultQueryOptions(s){if(s._defaulted)return s;const c={...S(this,oa).queries,...this.getQueryDefaults(s.queryKey),...s,_defaulted:!0};return c.queryHash||(c.queryHash=D2(c.queryKey,c)),c.refetchOnReconnect===void 0&&(c.refetchOnReconnect=c.networkMode!=="always"),c.throwOnError===void 0&&(c.throwOnError=!!c.suspense),!c.networkMode&&c.persister&&(c.networkMode="offlineFirst"),c.queryFn===z2&&(c.enabled=!1),c}defaultMutationOptions(s){return s!=null&&s._defaulted?s:{...S(this,oa).mutations,...(s==null?void 0:s.mutationKey)&&this.getMutationDefaults(s.mutationKey),...s,_defaulted:!0}}clear(){S(this,at).clear(),S(this,ra).clear()}},at=new WeakMap,ra=new WeakMap,oa=new WeakMap,Zs=new WeakMap,Ks=new WeakMap,ua=new WeakMap,Is=new WeakMap,Ps=new WeakMap,rp),Qp=b.createContext(void 0),fa=s=>{const c=b.useContext(Qp);if(!c)throw new Error("No QueryClient set, use QueryClientProvider to set one");return c},Wy=({client:s,children:c})=>(b.useEffect(()=>(s.mount(),()=>{s.unmount()}),[s]),l.jsx(Qp.Provider,{value:s,children:c})),Yp=b.createContext(!1),Jy=()=>b.useContext(Yp);Yp.Provider;function ex(){let s=!1;return{clearReset:()=>{s=!1},reset:()=>{s=!0},isReset:()=>s}}var tx=b.createContext(ex()),nx=()=>b.useContext(tx),lx=(s,c,i)=>{const o=i!=null&&i.state.error&&typeof s.throwOnError=="function"?L2(s.throwOnError,[i.state.error,i]):s.throwOnError;(s.suspense||s.experimental_prefetchInRender||o)&&(c.isReset()||(s.retryOnMount=!1))},ax=s=>{b.useEffect(()=>{s.clearReset()},[s])},sx=({result:s,errorResetBoundary:c,throwOnError:i,query:o,suspense:d})=>s.isError&&!c.isReset()&&!s.isFetching&&o&&(d&&s.data===void 0||L2(i,[s.error,o])),ix=s=>{if(s.suspense){const i=d=>d==="static"?d:Math.max(d??1e3,1e3),o=s.staleTime;s.staleTime=typeof o=="function"?(...d)=>i(o(...d)):i(o),typeof s.gcTime=="number"&&(s.gcTime=Math.max(s.gcTime,1e3))}},cx=(s,c)=>s.isLoading&&s.isFetching&&!c,rx=(s,c)=>(s==null?void 0:s.suspense)&&c.isPending,pm=(s,c,i)=>c.fetchOptimistic(s).catch(()=>{i.clearReset()});function Xp(s,c,i){var w,E,A,O;const o=Jy(),d=nx(),h=fa(),m=h.defaultQueryOptions(s);(E=(w=h.getDefaultOptions().queries)==null?void 0:w._experimental_beforeQuery)==null||E.call(w,m);const p=h.getQueryCache().get(m.queryHash);m._optimisticResults=o?"isRestoring":"optimistic",ix(m),lx(m,d,p),ax(d);const _=!h.getQueryCache().get(m.queryHash),[v]=b.useState(()=>new c(h,m)),x=v.getOptimisticResult(m),y=!o&&s.subscribed!==!1;if(b.useSyncExternalStore(b.useCallback(N=>{const M=y?v.subscribe(vt.batchCalls(N)):kt;return v.updateResult(),M},[v,y]),()=>v.getCurrentResult(),()=>v.getCurrentResult()),b.useEffect(()=>{v.setOptions(m)},[m,v]),rx(m,x))throw pm(m,v,d);if(sx({result:x,errorResetBoundary:d,throwOnError:m.throwOnError,query:p,suspense:m.suspense}))throw x.error;if((O=(A=h.getDefaultOptions().queries)==null?void 0:A._experimental_afterQuery)==null||O.call(A,m,x),m.experimental_prefetchInRender&&!_c.isServer()&&cx(x,o)){const N=_?pm(m,v,d):p==null?void 0:p.promise;N==null||N.catch(kt).finally(()=>{v.updateResult()})}return m.notifyOnChangeProps?x:v.trackResult(x)}function vn(s,c){return Xp(s,Gp)}function qt(s,c){const i=fa(),[o]=b.useState(()=>new Ky(i,s));b.useEffect(()=>{o.setOptions(s)},[o,s]);const d=b.useSyncExternalStore(b.useCallback(m=>o.subscribe(vt.batchCalls(m)),[o]),()=>o.getCurrentResult(),()=>o.getCurrentResult()),h=b.useCallback((m,p)=>{o.mutate(m,p).catch(kt)},[o]);if(d.error&&L2(o.options.throwOnError,[d.error]))throw d.error;return{...d,mutate:h,mutateAsync:d.mutate}}function ox(s,c){return Xp(s,Yy)}const Zp="https://app.auth.elcsa.ru/v1";let hc=null,Ua=null;function U2(){hc=null,Ua=null}function Wn(){return hc?Promise.resolve(hc):Ua||(Ua=fetch(`${Zp}/csrf/token`,{credentials:"include"}).then(s=>s.json()).then(s=>(hc=s.token,Ua=null,hc)).catch(s=>{throw Ua=null,s}),Ua)}const ux=Object.freeze(Object.defineProperty({__proto__:null,clearCsrfCache:U2,getCsrfToken:Wn},Symbol.toStringTag,{value:"Module"})),dx="modulepreload",fx=function(s){return"/"+s},vm={},hx=function(c,i,o){let d=Promise.resolve();if(i&&i.length>0){let m=function(v){return Promise.all(v.map(x=>Promise.resolve(x).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};document.getElementsByTagName("link");const p=document.querySelector("meta[property=csp-nonce]"),_=(p==null?void 0:p.nonce)||(p==null?void 0:p.getAttribute("nonce"));d=m(i.map(v=>{if(v=fx(v),v in vm)return;vm[v]=!0;const x=v.endsWith(".css"),y=x?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${v}"]${y}`))return;const w=document.createElement("link");if(w.rel=x?"stylesheet":dx,x||(w.as="script"),w.crossOrigin="",w.href=v,_&&w.setAttribute("nonce",_),document.head.appendChild(w),x)return new Promise((E,A)=>{w.addEventListener("load",E),w.addEventListener("error",()=>A(new Error(`Unable to preload CSS for ${v}`)))})}))}function h(m){const p=new Event("vite:preloadError",{cancelable:!0});if(p.payload=m,window.dispatchEvent(p),!p.defaultPrevented)throw m}return d.then(m=>{for(const p of m||[])p.status==="rejected"&&h(p.reason);return c().catch(h)})};let H0=null;const An={get:()=>H0,set:s=>{H0=s},clear:()=>{H0=null}},mx="https://app.auth.elcsa.ru/v1/jwt/refresh";async function ai(){const{getCsrfToken:s}=await hx(async()=>{const{getCsrfToken:d}=await Promise.resolve().then(()=>ux);return{getCsrfToken:d}},[]),c=await s(),i=await fetch(mx,{method:"POST",credentials:"include",headers:{"X-CSRF-Token":c}});if(!i.ok)throw new Error("Unauthorized");const o=await i.json();return o.access_token&&An.set(o.access_token),o.access_token??o.result??!0}const px="https://app.payment.elcsa.ru";async function si(s,c,i){const o=await Wn(),d=await fetch(`${px}${s}`,{...c,credentials:"include",headers:{"X-CSRF-Token":o,...c.headers}});if(d.status===401&&i)try{return await ai(),si(s,c,!1)}catch{throw new Error("Unauthorized")}const h=await d.json();if(!d.ok)throw h;return h}function vx(){return si("/payment/config",{},!0)}function _x(s){return si(`/payment/quote?usdt_amount=${s}`,{},!0)}function gx(s){return si(`/payment/quote/rub?total_rub=${s}`,{},!0)}function yx(s){return si("/order/create",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)},!0)}const m2=20;function xx(s,c=m2){return si(`/payment/orders?offset=${s}&limit=${c}`,{},!0)}function Kp(){return vn({queryKey:["payment","config"],queryFn:vx,staleTime:6e4})}function Ip(s){return vn({queryKey:["payment","quote",s],queryFn:()=>_x(s),enabled:s>0,staleTime:3e4,retry:!1})}function Pp(s){return vn({queryKey:["payment","quote","rub",s],queryFn:()=>gx(s),enabled:s>0,staleTime:3e4,retry:!1})}function bx(){return qt({mutationFn:yx,onSuccess:s=>{const c=s.order.itpay_payment_qr_url_desktop;c&&(window.location.href=c)}})}function jx(){return ox({queryKey:["payment","orders"],queryFn:({pageParam:s})=>xx(s),initialPageParam:0,getNextPageParam:(s,c)=>{if(!(s.orders.length<m2))return c.length*m2},staleTime:3e4})}function Ws(s,c){const[i,o]=b.useState(s);return b.useEffect(()=>{const d=setTimeout(()=>o(s),c);return()=>clearTimeout(d)},[s,c]),i}const Sx="_title_ujt2o_1",Nx="_table_ujt2o_8",wx="_row_ujt2o_15",Cx="_range_ujt2o_31",Tx="_pct_ujt2o_36",Ex="_progressBar_ujt2o_43",Rx="_progressFill_ujt2o_51",Ax="_summary_ujt2o_58",Ox="_summaryLabel_ujt2o_73",Mx="_summaryValue_ujt2o_78",dn={title:Sx,table:Nx,row:wx,range:Cx,pct:Tx,progressBar:Ex,progressFill:Rx,summary:Ax,summaryLabel:Ox,summaryValue:Mx},_m=s=>s.toLocaleString("ru-RU"),Dx=({tiers:s,amount:c})=>l.jsx(l.Fragment,{children:s.map((i,o)=>{const d=c>=i.min&&c<=i.max;return l.jsxs("div",{className:dn.row,"data-active":d||void 0,children:[l.jsxs("span",{className:dn.range,children:[_m(i.min)," – ",_m(i.max)," ₽"]}),l.jsxs("span",{className:dn.pct,children:[i.pct,"%"]})]},o)})});function zx({amount:s,progress:c,commission:i,effectiveRate:o}){return l.jsxs("div",{children:[l.jsx("div",{className:dn.title,children:"КОМИССИЯ СЕРВИСА"}),l.jsx("div",{className:dn.table,children:l.jsx(Dx,{tiers:wl,amount:s})}),l.jsx("div",{className:dn.progressBar,children:l.jsx("div",{className:dn.progressFill,style:{width:`${c}%`}})}),l.jsxs("div",{className:dn.summary,children:[l.jsx("span",{className:dn.summaryLabel,children:"Комиссия"}),l.jsxs("span",{className:dn.summaryValue,children:[i.toLocaleString("ru-RU",{maximumFractionDigits:2})," ₽"]})]}),l.jsxs("div",{className:dn.summary,children:[l.jsx("span",{className:dn.summaryLabel,children:"Курс с комиссией"}),l.jsxs("span",{className:dn.summaryValue,children:[o.toFixed(2)," ₽"]})]})]})}const Lx="_section_r2493_1",Bx="_wrap_r2493_6",Ux="_header_r2493_17",kx="_subtitle_r2493_31",Hx="_pills_r2493_38",qx="_pill_r2493_38",$x="_pillValue_r2493_52",Gx="_body_r2493_62",Vx="_tabs_r2493_68",Fx="_tab_r2493_68",Qx="_field_r2493_100",Yx="_fieldInput_r2493_112",Xx="_currency_r2493_138",Zx="_currencyIcon_r2493_147",Kx="_currencyRub_r2493_159",Ix="_currencyUsdt_r2493_163",Px="_swapWrap_r2493_167",Wx="_swapBtn_r2493_173",Jx="_payBtn_r2493_200",Ne={section:Lx,wrap:Bx,header:Ux,subtitle:kx,pills:Hx,pill:qx,pillValue:$x,body:Gx,tabs:Vx,tab:Fx,field:Qx,fieldInput:Yx,currency:Xx,currencyIcon:Zx,currencyRub:Kx,currencyUsdt:Ix,swapWrap:Px,swapBtn:Wx,payBtn:Jx},fe={HOME:"/",WALLET:"/wallet",WALLET_CHAIN:"/wallet/:chain",SWAP:"/swap",BRIDGE:"/bridge",LOGIN:"/login",REGISTER:"/register",PROFILE:"/profile",SEED_PHRASE:"/seed-phrase",CONVERTER:"/converter",KYC:"/kyc",RESTORE_PASSWORD:"/restore-password",PUBLICHNAYA_OFERTA:"/publichnaya-oferta",POLITIKA_PERSONALNYH_DANNYH:"/politika-personalnyh-dannyh",POLITIKA_COOKIE:"/politika-cookie",SOGLASIE_PERSONALNYH_DANNYH:"/soglasie-personalnyh-dannyh",REESTR_PD_RKN:"/reestr-pd-rkn",TRANSACTIONS:"/transactions"};function e6(){const{data:s}=Kp(),[c,i]=b.useState("usdt_to_rub"),[o,d]=b.useState("1000"),h=Number(s==null?void 0:s.usdt_exchange_rate)||Ap,m=Number(s==null?void 0:s.gas_fee)||Op,p=Mp({usdtRate:h}),_=c==="usdt_to_rub",v=Ws(p.numRub,400),{data:x}=Ip(_?v:0),y=Number.parseFloat(o)||0,w=Ws(y,400),{data:E}=Pp(_?0:w);function A(X){d(X.replace(/[^0-9.]/g,""))}function O(){i(X=>X==="usdt_to_rub"?"rub_to_usdt":"usdt_to_rub")}const N=(x==null?void 0:x.total_price)??"",M=Number(N)||0,F=(E==null?void 0:E.usdt_amount)??"",$=Number(F)||0,V=_?Number(x==null?void 0:x.service_fee)||0:Number(E==null?void 0:E.service_fee)||0,K=_?M:y,le=_?p.numRub>0?M/p.numRub:0:$>0?y/$:0;return l.jsx("section",{className:Ne.section,id:"converter",children:l.jsxs("div",{className:Ne.wrap,children:[l.jsxs("div",{className:Ne.header,children:[l.jsxs("div",{children:[l.jsx(Rp,{children:"Конвертация"}),l.jsx("div",{className:Ne.subtitle,children:"Данные обновляются в реальном времени"})]}),l.jsxs("div",{className:Ne.pills,children:[l.jsxs("div",{className:Ne.pill,children:["Цена газа в RUB ",l.jsxs("span",{className:Ne.pillValue,children:[m.toFixed(2)," RUB"]})]}),l.jsxs("div",{className:Ne.pill,children:["USDT/RUB ",l.jsxs("span",{className:Ne.pillValue,children:[h.toFixed(2)," ₽"]})]})]})]}),l.jsxs("div",{className:Ne.body,children:[l.jsxs("div",{children:[l.jsxs("div",{className:Ne.tabs,children:[l.jsx("button",{type:"button",className:Ne.tab,"data-active":_||void 0,onClick:()=>i("usdt_to_rub"),children:"КУПИТЬ"}),l.jsx("button",{type:"button",className:Ne.tab,"data-active":!_||void 0,onClick:()=>i("rub_to_usdt"),children:"ПРОДАТЬ"})]}),_?l.jsxs(l.Fragment,{children:[l.jsx("div",{className:Ne.field,children:l.jsxs("div",{className:Ne.fieldInput,children:[l.jsx("input",{type:"text",value:p.rubVal,onChange:X=>p.updateRub(X.target.value),placeholder:"0",inputMode:"decimal"}),l.jsxs("div",{className:Ne.currency,children:[l.jsx("span",{className:`${Ne.currencyIcon} ${Ne.currencyUsdt}`,children:"₮"})," USDT"]})]})}),l.jsx("div",{className:Ne.swapWrap,children:l.jsx("button",{type:"button",className:Ne.swapBtn,onClick:O,"aria-label":"Поменять направление",children:l.jsx("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",children:l.jsx("path",{d:"M8 2v12M4 10l4 4 4-4",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})})})}),l.jsx("div",{className:Ne.field,children:l.jsxs("div",{className:Ne.fieldInput,children:[l.jsx("input",{type:"text",value:N,readOnly:!0,placeholder:"0"}),l.jsxs("div",{className:Ne.currency,children:[l.jsx("span",{className:`${Ne.currencyIcon} ${Ne.currencyRub}`,children:"₽"})," RUB"]})]})})]}):l.jsxs(l.Fragment,{children:[l.jsx("div",{className:Ne.field,children:l.jsxs("div",{className:Ne.fieldInput,children:[l.jsx("input",{type:"text",value:o,onChange:X=>A(X.target.value),placeholder:"0",inputMode:"decimal"}),l.jsxs("div",{className:Ne.currency,children:[l.jsx("span",{className:`${Ne.currencyIcon} ${Ne.currencyRub}`,children:"₽"})," RUB"]})]})}),l.jsx("div",{className:Ne.swapWrap,children:l.jsx("button",{type:"button",className:Ne.swapBtn,onClick:O,"aria-label":"Поменять направление",children:l.jsx("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",children:l.jsx("path",{d:"M8 2v12M4 10l4 4 4-4",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})})})}),l.jsx("div",{className:Ne.field,children:l.jsxs("div",{className:Ne.fieldInput,children:[l.jsx("input",{type:"text",value:F,readOnly:!0,placeholder:"0"}),l.jsxs("div",{className:Ne.currency,children:[l.jsx("span",{className:`${Ne.currencyIcon} ${Ne.currencyUsdt}`,children:"₮"})," USDT"]})]})})]})]}),l.jsx(zx,{amount:K,progress:O2(K),commission:V,effectiveRate:le})]}),l.jsx(Ht,{to:fe.CONVERTER,className:Ne.payBtn,children:"Перейти к оплате"})]})})}const t6="data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.827%201.094a3.733%203.733%200%2000-3.733%203.733v6.533a3.733%203.733%200%20003.733%203.734h6.533a3.733%203.733%200%20003.734-3.734V4.827a3.733%203.733%200%2000-3.734-3.733H4.827zm5.454%207a2.187%202.187%200%2011-4.375%200%202.187%202.187%200%20014.375%200zm1.313%200a3.5%203.5%200%2011-7%200%203.5%203.5%200%20017%200zm.469-2.938a1.25%201.25%200%20100-2.5%201.25%201.25%200%20000%202.5z'%20fill='%23000'%3e%3c/path%3e%3c/svg%3e",n6="data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1.108%207.617C5.4%205.768%208.262%204.55%209.694%203.961c4.088-1.682%204.938-1.974%205.492-1.984.68-.011.86.551.804%201.137-.221%202.302-1.18%207.887-1.668%2010.465-.43%202.277-1.958%201.292-3.338.397-1.296-.84-2.028-1.362-3.286-2.182-1.453-.947-.511-1.467.317-2.318.217-.223%203.984-3.61%204.057-3.918.06-.256-.167-.333-.373-.286-.13.029-2.2%201.382-6.21%204.058-.588.399-1.12.593-1.597.583-.66-.014-2.26-.583-3.88-1.492-.097-.277.399-.53%201.096-.804z'%20fill='%23000'%3e%3c/path%3e%3c/svg%3e",l6="data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.733%2011.784c-.708-1.191-1.221-2.408-1.221-3.823%200-3.566%202.905-6.457%206.488-6.457%203.583%200%206.488%202.891%206.488%206.457%200%203.565-2.905%206.456-6.488%206.456-1.332%200-2.496-.452-3.64-1.079-.734.18-1.468.362-2.2.55.195-.7.387-1.402.573-2.104zM0%2016s2.944-.768%204.147-1.06A7.995%207.995%200%20008%2015.92c4.418%200%208-3.564%208-7.96S12.418%200%208%200%200%203.564%200%207.96c0%201.479.405%202.862%201.11%204.048C.929%2012.693%200%2016%200%2016zm8.118-6.637a501.25%20501.25%200%2000-1.265-1.26c-.545-.576-.646-1.11-.392-1.298l.52-.298a.675.675%200%2000.248-.924l-.78-1.344a.681.681%200%2000-.928-.248L5%204.29c-1.685.968.271%204.078%201.09%204.892l.944.94c.818.814%203.943%202.76%204.916%201.084l.3-.517a.674.674%200%2000-.249-.924l-1.35-.776a.682.682%200%2000-.929.247l-.3.517c-.188.252-.725.152-1.305-.39z'%20fill='%23000'%3e%3c/path%3e%3c/svg%3e",a6="_footer_1qm30_1",s6="_top_1qm30_11",i6="_col_1qm30_18",c6="_heading_1qm30_35",r6="_companyName_1qm30_44",o6="_phone_1qm30_51",u6="_email_1qm30_58",d6="_socialIcons_1qm30_62",f6="_socialLink_1qm30_67",h6="_divider_1qm30_94",m6="_bottom_1qm30_99",Rt={footer:a6,top:s6,col:i6,heading:c6,companyName:r6,phone:o6,email:u6,socialIcons:d6,socialLink:f6,divider:h6,bottom:m6},p6=[{href:"#",icon:n6,label:"Telegram"},{href:"#",icon:l6,label:"WhatsApp"},{href:"#",icon:t6,label:"Instagram"}];function Jn(){return l.jsxs("footer",{className:Rt.footer,children:[l.jsxs("div",{className:Rt.top,children:[l.jsxs("div",{className:Rt.col,children:[l.jsx("p",{className:Rt.companyName,children:"ООО «ЭКСА»"}),l.jsx("p",{children:"ИНН 9810001062"}),l.jsx("p",{children:"ОГРН 1257800060990"})]}),l.jsxs("div",{className:Rt.col,children:[l.jsx("h4",{className:Rt.heading,children:"О компании"}),l.jsx(Ht,{to:fe.PUBLICHNAYA_OFERTA,children:"Публичная оферта"}),l.jsx(Ht,{to:fe.POLITIKA_PERSONALNYH_DANNYH,children:"Политика персональных данных"}),l.jsx(Ht,{to:fe.POLITIKA_COOKIE,children:"Политика cookie"}),l.jsx(Ht,{to:fe.SOGLASIE_PERSONALNYH_DANNYH,children:"Согласие на обработку данных"}),l.jsx(Ht,{to:fe.REESTR_PD_RKN,children:"Реестр Роскомнадзора"})]}),l.jsxs("div",{className:Rt.col,children:[l.jsx("p",{className:Rt.phone,children:"+7 (812) 123-33-23"}),l.jsx("h4",{className:Rt.heading,children:"Адрес"}),l.jsx("p",{children:"196158, г. Санкт-Петербург, Московское шоссе, 25А, к.1, ПОМЕЩ. 3-Н"}),l.jsx("a",{href:"mailto:company@elcsa.ru",className:Rt.email,children:"company@elcsa.ru"})]}),l.jsxs("div",{className:Rt.col,children:[l.jsx("h4",{className:Rt.heading,children:"Мы в соцсетях"}),l.jsx("div",{className:Rt.socialIcons,children:p6.map(({href:s,icon:c,label:i})=>l.jsx("a",{href:s,className:Rt.socialLink,"aria-label":i,children:l.jsx("img",{src:c,alt:i})},i))})]})]}),l.jsx("div",{className:Rt.divider}),l.jsxs("div",{className:Rt.bottom,children:[l.jsx("p",{children:"© 2026. Все права защищены."}),l.jsx("p",{children:"Компания не является кредитной организацией."})]})]})}const ha="/assets/logo-full-white-DEb7oTyu.png",v6="_nav_5011x_1",_6="_logo_5011x_16",g6="_right_5011x_22",y6="_link_5011x_28",x6="_btn_5011x_47",ic={nav:v6,logo:_6,right:g6,link:y6,btn:x6};function ii(){return l.jsxs("nav",{className:ic.nav,children:[l.jsx("a",{className:ic.logo,href:"/",children:l.jsx("img",{src:ha,alt:"ЭКСА"})}),l.jsxs("div",{className:ic.right,children:[l.jsx("a",{className:ic.link,href:"#about",children:"О нас"}),l.jsx(Ht,{className:ic.btn,to:fe.WALLET,children:"Личный кабинет"})]})]})}const b6="_flow_1oxsf_1",j6="_card_1oxsf_7",S6="_cardRub_1oxsf_17",N6="_cardEksa_1oxsf_27",w6="_cardUsdt_1oxsf_37",C6="_eksaLogo_1oxsf_47",T6="_ghost_1oxsf_54",E6="_ghostBtc_1oxsf_69",R6="_ghostEth_1oxsf_74",A6="_logoCircle_1oxsf_79",O6="_logoRub_1oxsf_90",M6="_logoUsdt_1oxsf_95",D6="_badge_1oxsf_100",z6="_badgeRub_1oxsf_113",L6="_badgeUsdt_1oxsf_117",B6="_status_1oxsf_121",U6="_statusDot_1oxsf_132",k6="_path_1oxsf_139",tt={flow:b6,card:j6,cardRub:S6,cardEksa:N6,cardUsdt:w6,eksaLogo:C6,ghost:T6,ghostBtc:E6,ghostEth:R6,logoCircle:A6,logoRub:O6,logoUsdt:M6,badge:D6,badgeRub:z6,badgeUsdt:L6,status:B6,statusDot:U6,path:k6};function H6(){return l.jsxs("div",{className:tt.flow,children:[l.jsx("div",{className:`${tt.ghost} ${tt.ghostBtc}`,children:l.jsx("span",{style:{fontSize:20,color:"#F7931A"},children:"₿"})}),l.jsx("div",{className:`${tt.ghost} ${tt.ghostEth}`,children:l.jsx("span",{style:{fontSize:20,color:"#627EEA"},children:"Ξ"})}),l.jsxs("div",{className:`${tt.card} ${tt.cardRub}`,children:[l.jsx("div",{className:`${tt.logoCircle} ${tt.logoRub}`,children:"₽"}),l.jsx("div",{className:`${tt.badge} ${tt.badgeRub}`,children:"10 000 ₽"})]}),l.jsx("div",{className:`${tt.card} ${tt.cardEksa}`,children:l.jsx("img",{src:ha,alt:"ЭКСА",className:tt.eksaLogo})}),l.jsxs("div",{className:`${tt.card} ${tt.cardUsdt}`,children:[l.jsx("div",{className:`${tt.logoCircle} ${tt.logoUsdt}`,children:"₮"}),l.jsx("div",{className:`${tt.badge} ${tt.badgeUsdt}`,children:"≈ 125.3 USDT"}),l.jsxs("div",{className:tt.status,children:[l.jsx("span",{className:tt.statusDot})," ✓ Зачислено"]})]}),l.jsxs("svg",{className:tt.path,viewBox:"0 0 420 460",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[l.jsx("defs",{children:l.jsxs("linearGradient",{id:"pathGrad",x1:"0",y1:"0",x2:"1",y2:"1",children:[l.jsx("stop",{offset:"0%",stopColor:"rgba(255,255,255,0.4)"}),l.jsx("stop",{offset:"100%",stopColor:"#26A17B"})]})}),l.jsx("path",{d:"M60 68 C100 160, 250 140, 210 230 C170 310, 300 320, 350 360",stroke:"url(#pathGrad)",strokeWidth:2,strokeDasharray:"8 6",fill:"none"}),l.jsx("path",{d:"M60 68 C100 160, 250 140, 210 230 C170 310, 300 320, 350 360",stroke:"url(#pathGrad)",strokeWidth:8,strokeDasharray:"8 6",opacity:.08,fill:"none"}),l.jsx("circle",{cx:80,cy:110,r:3,fill:"#fff",opacity:.5}),l.jsx("circle",{cx:140,cy:160,r:2.5,fill:"#fff",opacity:.4}),l.jsx("circle",{cx:220,cy:200,r:3,fill:"#fff",opacity:.3}),l.jsx("circle",{cx:200,cy:270,r:2.5,fill:"#26A17B",opacity:.35}),l.jsx("circle",{cx:260,cy:310,r:3,fill:"#26A17B",opacity:.25}),l.jsx("circle",{cx:320,cy:345,r:2,fill:"#26A17B",opacity:.2})]})]})}function q6(s){const[c,i]=b.useState(Date.now());b.useEffect(()=>{const h=setInterval(()=>i(Date.now()),1e3);return()=>clearInterval(h)},[]);const o=Math.max(0,s-c),d=h=>String(h).padStart(2,"0");return{d:d(Math.floor(o/864e5)),h:d(Math.floor(o%864e5/36e5)),m:d(Math.floor(o%36e5/6e4)),s:d(Math.floor(o%6e4/1e3))}}const $6="_label_ikzdd_1",G6="_row_ikzdd_8",V6="_unit_ikzdd_14",F6="_num_ikzdd_21",Q6="_lbl_ikzdd_29",cc={label:$6,row:G6,unit:V6,num:F6,lbl:Q6},Y6=[["d","ДНЕЙ"],["h","ЧАСОВ"],["m","МИНУТ"],["s","СЕКУНД"]];function X6({target:s}){const c=q6(s);return l.jsxs("div",{children:[l.jsx("div",{className:cc.label,children:"ДО ЗАПУСКА ОСТАЛОСЬ"}),l.jsx("div",{className:cc.row,children:Y6.map(([i,o])=>l.jsxs("div",{className:cc.unit,children:[l.jsx("div",{className:cc.num,children:c[i]}),l.jsx("div",{className:cc.lbl,children:o})]},i))})]})}const Z6="_card_17ihg_51",K6="_statusPill_17ihg_84",I6="_statusDot_17ihg_99",P6="_flowRow_17ihg_107",W6="_curBlock_17ihg_114",J6="_curIcon_17ihg_122",e5="_rub_17ihg_133",t5="_usdt_17ihg_141",n5="_flowLine_17ihg_150",l5="_curAmount_17ihg_154",a5="_curLabel_17ihg_163",s5="_curCheck_17ihg_171",i5="_bridge_17ihg_182",c5="_bridgeLine_17ihg_191",r5="_bridgeLabel_17ihg_198",o5="_divider_17ihg_206",u5="_details_17ihg_212",d5="_detailRow_17ihg_220",f5="_detailLabel_17ihg_229",h5="_detailValue_17ihg_235",m5="_green_17ihg_242",Fe={card:Z6,statusPill:K6,statusDot:I6,flowRow:P6,curBlock:W6,curIcon:J6,rub:e5,usdt:t5,flowLine:n5,curAmount:l5,curLabel:a5,curCheck:s5,bridge:i5,bridgeLine:c5,bridgeLabel:r5,divider:o5,details:u5,detailRow:d5,detailLabel:f5,detailValue:h5,green:m5};function p5(){return l.jsxs("div",{className:Fe.card,children:[l.jsxs("div",{className:Fe.statusPill,children:[l.jsx("span",{className:Fe.statusDot}),"Операция завершена"]}),l.jsxs("div",{className:Fe.flowRow,children:[l.jsxs("div",{className:Fe.curBlock,children:[l.jsx("div",{className:`${Fe.curIcon} ${Fe.rub}`,children:"₽"}),l.jsx("div",{className:Fe.curAmount,children:"10 000 ₽"}),l.jsx("div",{className:Fe.curLabel,children:"Отправлено"})]}),l.jsxs("div",{className:Fe.bridge,children:[l.jsx("div",{className:Fe.bridgeLine,children:l.jsxs("svg",{width:48,height:12,viewBox:"0 0 48 12",fill:"none","aria-hidden":"true",children:[l.jsx("line",{x1:0,y1:6,x2:36,y2:6,stroke:"currentColor",strokeWidth:1.5,strokeDasharray:"4 3",className:Fe.flowLine}),l.jsx("path",{d:"M34 2l6 4-6 4",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})]})}),l.jsx("div",{className:Fe.bridgeLabel,children:l.jsx("img",{src:ha,alt:"ЭКСА"})}),l.jsx("div",{className:Fe.bridgeLine,children:l.jsxs("svg",{width:48,height:12,viewBox:"0 0 48 12",fill:"none","aria-hidden":"true",children:[l.jsx("line",{x1:0,y1:6,x2:36,y2:6,stroke:"currentColor",strokeWidth:1.5,strokeDasharray:"4 3",className:Fe.flowLine}),l.jsx("path",{d:"M34 2l6 4-6 4",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})]})})]}),l.jsxs("div",{className:Fe.curBlock,children:[l.jsx("div",{className:`${Fe.curIcon} ${Fe.usdt}`,children:"₮"}),l.jsx("div",{className:Fe.curAmount,children:"125.3 USDT"}),l.jsxs("div",{className:Fe.curCheck,children:[l.jsx("svg",{width:12,height:12,viewBox:"0 0 12 12",fill:"none","aria-hidden":"true",children:l.jsx("path",{d:"M2 6l3 3 5-5",stroke:"#26A17B",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})}),"Зачислено"]})]})]}),l.jsx("div",{className:Fe.divider}),l.jsxs("div",{className:Fe.details,children:[l.jsxs("div",{className:Fe.detailRow,children:[l.jsx("span",{className:Fe.detailLabel,children:"Курс"}),l.jsxs("span",{className:Fe.detailValue,children:[Ap.toFixed(2)," ₽ / USDT"]})]}),l.jsxs("div",{className:Fe.detailRow,children:[l.jsx("span",{className:Fe.detailLabel,children:"Комиссия"}),l.jsx("span",{className:`${Fe.detailValue} ${Fe.green}`,children:"0%"})]})]})]})}const v5="_hero_mnobr_1",_5="_content_mnobr_33",g5="_left_mnobr_45",y5="_desktop_mnobr_52",x5="_mobile_mnobr_56",b5="_right_mnobr_60",j5="_title_mnobr_67",S5="_line2_mnobr_74",N5="_reflection_mnobr_85",w5="_cta_mnobr_96",Xn={hero:v5,content:_5,left:g5,desktop:y5,mobile:x5,right:b5,title:j5,line2:S5,reflection:N5,cta:w5};function C5(){return l.jsx("section",{className:Xn.hero,children:l.jsxs("div",{className:Xn.content,children:[l.jsxs("div",{className:Xn.left,children:[l.jsx("div",{className:Xn.desktop,children:l.jsx(H6,{})}),l.jsx("div",{className:Xn.mobile,children:l.jsx(p5,{})})]}),l.jsxs("div",{className:Xn.right,children:[l.jsxs("h1",{className:Xn.title,children:["Ваш мост",l.jsx("span",{className:Xn.reflection,"aria-hidden":"true",children:"Ваш мост"}),l.jsxs("span",{className:Xn.line2,children:["в мир",l.jsx("br",{}),"цифровых",l.jsx("br",{}),"активов"]})]}),l.jsxs("div",{children:[l.jsx(X6,{target:Sy}),l.jsx("a",{href:"#converter",className:Xn.cta,children:"Попробовать калькулятор"})]})]})]})})}const T5=[{name:"Bitcoin",ticker:"BTC",cls:"btc",icon:"₿",speed:30,color:"rgba(247,147,26,0.8)",fee:"~0.0001 BTC",confirm:"~10 мин"},{name:"Ethereum",ticker:"ETH",cls:"eth",icon:"Ξ",speed:60,color:"rgba(98,126,234,0.8)",fee:"~2–15 Gwei",confirm:"~15 сек"},{name:"Tron",ticker:"TRX",cls:"trx",icon:"◈",speed:90,color:"rgba(255,6,10,0.8)",fee:"~1 TRX",confirm:"~3 сек"},{name:"Solana",ticker:"SOL",cls:"sol",icon:"◎",speed:98,color:"rgba(153,69,255,0.8)",fee:"~0.000005 SOL",confirm:"~1 сек"},{name:"BSC Chain",ticker:"BNB",cls:"bnb",icon:"◆",speed:88,color:"rgba(243,186,47,0.8)",fee:"~0.0005 BNB",confirm:"~3 сек"}],E5="_section_10lhb_1",R5="_wrap_10lhb_6",A5="_title_10lhb_11",O5="_tableWrap_10lhb_18",M5="_table_10lhb_18",D5="_name_10lhb_52",z5="_icon_10lhb_58",L5="_icon_btc_10lhb_71",B5="_icon_eth_10lhb_75",U5="_icon_trx_10lhb_79",k5="_icon_sol_10lhb_83",H5="_icon_bnb_10lhb_87",q5="_label_10lhb_91",$5="_ticker_10lhb_96",G5="_speedBar_10lhb_102",V5="_speedFill_10lhb_110",F5="_fee_10lhb_115",Q5="_confirm_10lhb_121",Y5="_footnote_10lhb_126",Dt={section:E5,wrap:R5,title:A5,tableWrap:O5,table:M5,name:D5,icon:z5,icon_btc:L5,icon_eth:B5,icon_trx:U5,icon_sol:k5,icon_bnb:H5,label:q5,ticker:$5,speedBar:G5,speedFill:V5,fee:F5,confirm:Q5,footnote:Y5};function X5(){return l.jsx("section",{className:Dt.section,children:l.jsxs("div",{className:Dt.wrap,children:[l.jsx("h2",{className:Dt.title,children:"Поддерживаемые сети"}),l.jsx("div",{className:Dt.tableWrap,children:l.jsxs("table",{className:Dt.table,children:[l.jsx("thead",{children:l.jsxs("tr",{children:[l.jsx("th",{children:"Сеть"}),l.jsx("th",{children:"Скорость"}),l.jsx("th",{children:"Комиссия"}),l.jsx("th",{children:"Подтверждение"})]})}),l.jsx("tbody",{children:T5.map(s=>l.jsxs("tr",{children:[l.jsx("td",{children:l.jsxs("div",{className:Dt.name,children:[l.jsx("div",{className:`${Dt.icon} ${Dt[`icon_${s.cls}`]}`,children:s.icon}),l.jsx("span",{className:Dt.label,children:s.name}),l.jsx("span",{className:Dt.ticker,children:s.ticker})]})}),l.jsx("td",{children:l.jsx("div",{className:Dt.speedBar,children:l.jsx("div",{className:Dt.speedFill,style:{width:`${s.speed}%`,background:s.color}})})}),l.jsx("td",{children:l.jsx("span",{className:Dt.fee,children:s.fee})}),l.jsx("td",{children:l.jsx("span",{className:Dt.confirm,children:s.confirm})})]},s.ticker))})]})}),l.jsx("div",{className:Dt.footnote,children:"* Комиссии и время подтверждения указаны приблизительно и зависят от загруженности сети"})]})})}function Z5(){return l.jsxs(l.Fragment,{children:[l.jsx(ii,{}),l.jsxs("main",{children:[l.jsx(C5,{}),l.jsx(jy,{}),l.jsx(e6,{}),l.jsx(X5,{})]}),l.jsx(Jn,{})]})}async function p2(s,c,i){const o=await Wn(),d=An.get(),h={"Content-Type":"application/json","X-CSRF-Token":o,...d?{Authorization:`Bearer ${d}`}:{},...c.headers},m=await fetch(`${Zp}${s}`,{...c,credentials:"include",headers:h});if(m.status===401&&i)try{return await ai(),p2(s,c,!1)}catch{throw An.clear(),new Error("Unauthorized")}const p=await m.json();if(!m.ok)throw p;return p}const wc={get:s=>p2(s,{},!0),post:(s,c)=>p2(s,{method:"POST",body:JSON.stringify(c)},!0)};function K5(s){return wc.post("/auth/registration/start",s)}function I5(s){return wc.post("/auth/registration/complete",s)}function P5(s){return wc.post("/auth/login/start",s)}function W5(s){return wc.post("/auth/login/complete",s)}async function J5(){const s=await Wn();return wc.post("/auth/logout",{_csrf:s})}const Cc="https://app.users.elcsa.ru";async function k2(){const s=await Wn(),c=An.get();return{"X-CSRF-Token":s,...c?{Authorization:`Bearer ${c}`}:{}}}async function eb(){const s=await k2(),c=await fetch(`${Cc}/me/`,{credentials:"include",headers:s}),i=await c.json();if(!c.ok)throw i;return i}async function tb(s){const c=await k2(),i=await fetch(`${Cc}/me/settings/avatar`,{method:"PATCH",credentials:"include",headers:{"Content-Type":"application/json",...c},body:JSON.stringify(s)}),o=await i.json();if(!i.ok)throw o;return o}async function nb(s){const c=await Wn(),i=await fetch(`${Cc}/me/settings/password/forgot/start`,{method:"POST",credentials:"include",headers:{"Content-Type":"application/json","X-CSRF-Token":c},body:JSON.stringify(s)});if(!i.ok)throw await i.json().catch(()=>({}))}async function lb(s){const c=await k2(),i=await fetch(`${Cc}/me/settings/phone`,{method:"PATCH",credentials:"include",headers:{"Content-Type":"application/json",...c},body:JSON.stringify({phone:s})});if(!i.ok)throw await i.json().catch(()=>({}))}async function ab(s){const c=await Wn(),i=await fetch(`${Cc}/me/settings/password/forgot/complete`,{method:"POST",credentials:"include",headers:{"Content-Type":"application/json","X-CSRF-Token":c},body:JSON.stringify(s)});if(!i.ok)throw await i.json().catch(()=>({}))}function ci(s){return vn({queryKey:["me"],queryFn:eb,staleTime:1/0,gcTime:1/0,retry:!1,...s})}function sb(){const s=fa();return qt({mutationFn:tb,onSuccess:c=>{s.setQueryData(["me"],c)}})}function ib(){const s=fa();return qt({mutationFn:lb,onSuccess:()=>{s.invalidateQueries({queryKey:["me"]})}})}const oo=["auth"];function cb(){return vn({queryKey:oo,queryFn:ai,retry:!1,staleTime:1/0,gcTime:1/0,refetchOnWindowFocus:!1})}function Wp(){const{data:s,isLoading:c,isError:i}=cb();return{isAuthenticated:!!s&&!i,isLoading:c}}const Jp="https://app.cryptowallet.elcsa.ru",rb=["ETH","BSC","BTC","TRX","SOL"];async function ri(s,c=!0){const i=await Wn(),o=An.get(),d=await fetch(`${Jp}${s}`,{credentials:"include",headers:{"X-CSRF-Token":i,...o?{Authorization:`Bearer ${o}`}:{}}});if(d.status===401&&c)try{return await ai(),ri(s,!1)}catch{throw An.clear(),new Error("Unauthorized")}const h=await d.json();if(!d.ok)throw h;return h}async function el(s,c,i=!0,o={}){const d=await Wn(),h=An.get(),m=await fetch(`${Jp}${s}`,{method:"POST",credentials:"include",headers:{"Content-Type":"application/json","X-CSRF-Token":d,...h?{Authorization:`Bearer ${h}`}:{},...o},body:JSON.stringify(c)});if(m.status===401&&i)try{return await ai(),el(s,c,!1,o)}catch{throw An.clear(),new Error("Unauthorized")}const p=await m.json();if(!m.ok)throw p;return p}async function ob(){return(await ri("/api/wallets")).data}async function ub(s){return(await ri(`/api/wallets/${s}/balance`)).data}async function db(s){return(await ri(`/api/prices?symbols=${s.join(",")}`)).data}async function fb(s,c){return el(`/api/wallets/${s}/send`,c)}async function hb(){return(await ri("/api/wallets/portfolio")).data}async function mb(){return(await ri("/api/tokens")).data}async function pb(s){return el("/api/relay/quote",s)}async function vb(s){return el("/api/relay/execute/swap",s)}async function _b(s,c){const i=`relay-${s.toLowerCase()}-${Date.now()}`;return el(`/api/wallets/${s}/sign-raw-evm-tx`,c,!0,{"Idempotency-Key":i})}async function gb(s){return el("/api/wallets/SOL/sign-and-broadcast-tx",s)}async function e3(s){return(await el("/api/wallets/TRX/swap/quote",s)).data}async function yb(s){return el("/api/wallets/TRX/swap",{quoteId:s},!0,{"Idempotency-Key":`trx-${Date.now()}`})}async function xb(){await el("/api/wallets/create",{})}async function bb(){return(await el("/api/wallets/mnemonic/reveal",{confirm:"I_UNDERSTAND_SEED_IS_SECRET"})).data.mnemonic}function lo(s){return vn({queryKey:["wallet","balance",s],queryFn:()=>ub(s),staleTime:3e4})}function jb(s){return vn({queryKey:["wallet","prices",s.join(",")],queryFn:()=>db(s),staleTime:300*1e3})}function Sb(){return qt({mutationFn:({chain:s,...c})=>fb(s,c)})}function uo(){return vn({queryKey:["wallet","addresses"],queryFn:ob,staleTime:600*1e3})}function H2(){return vn({queryKey:["wallet","portfolio"],queryFn:hb,staleTime:3e4})}function t3(){return vn({queryKey:["wallet","tokens"],queryFn:mb,staleTime:600*1e3})}function Nb(){return qt({mutationFn:xb})}function wb(){return vn({queryKey:["wallet","mnemonic"],queryFn:bb,staleTime:1/0,retry:!1})}function n3(s){return vn({queryKey:["relay","quote",s==null?void 0:s.originChainId,s==null?void 0:s.destinationChainId,s==null?void 0:s.originCurrency,s==null?void 0:s.destinationCurrency,s==null?void 0:s.amount],queryFn:()=>pb(s),enabled:!!s,staleTime:1e4})}function l3(){return qt({mutationFn:s=>vb(s)})}function a3(){return qt({mutationFn:({chain:s,txData:c})=>s==="SOL"?gb(c):_b(s,c)})}function s3(s){return vn({queryKey:["trx","quote",s==null?void 0:s.from,s==null?void 0:s.to,s==null?void 0:s.amountHuman],queryFn:()=>e3(s),enabled:!!s,staleTime:1e4})}function i3(){return qt({mutationFn:e3})}function c3(){return qt({mutationFn:s=>yb(s)})}const Cb="_card_1kfaj_1",Tb="_label_1kfaj_18",Eb="_amount_1kfaj_27",Rb="_actions_1kfaj_41",Ab="_btn_1kfaj_46",Da={card:Cb,label:Tb,amount:Eb,actions:Rb,btn:Ab},Ob="data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%2020010904//EN'%20'http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd'%3e%3csvg%20version='1.0'%20xmlns='http://www.w3.org/2000/svg'%20width='309.147797pt'%20height='144.859221pt'%20viewBox='0%200%20309.147797%20144.859221'%20preserveAspectRatio='xMidYMid%20meet'%3e%3cmetadata%3e%20Created%20by%20potrace%201.16,%20written%20by%20Peter%20Selinger%202001-2019%20%3c/metadata%3e%3crect%20width='100%25'%20height='100%25'%20fill='none'/%3e%3cg%20transform='translate(-8.181291,146.963747)%20scale(0.100000,-0.100000)'%20fill='%23ffffff'%20stroke='none'%3e%3cpath%20d='M685%201459%20c-328%20-55%20-585%20-344%20-602%20-679%20-14%20-267%20104%20-496%20334%20-643%20282%20-183%20645%20-142%20888%2098%2098%2096%20128%20143%20325%20490%2084%20149%20172%20300%20195%20336%20180%20279%20488%20420%20765%20350%20253%20-64%20426%20-222%20507%20-466%2024%20-70%2027%20-96%2027%20-205%200%20-109%20-3%20-135%20-27%20-207%20-49%20-148%20-167%20-293%20-306%20-377%20-261%20-159%20-617%20-110%20-830%20114%20-30%2032%20-73%2089%20-96%20126%20-43%2070%20-75%2094%20-75%2055%200%20-29%20113%20-194%20163%20-236%20141%20-122%20290%20-185%20453%20-193%20126%20-6%20219%2010%20318%2053%20206%2089%20356%20258%20426%20480%2030%2095%2031%20257%202%20367%20-37%20138%20-111%20259%20-219%20357%20-81%2075%20-234%20154%20-338%20176%20-249%2052%20-515%20-37%20-697%20-234%20-76%20-82%20-145%20-187%20-283%20-436%20-161%20-288%20-191%20-340%20-242%20-412%20-81%20-115%20-208%20-214%20-342%20-266%20-64%20-25%20-94%20-31%20-189%20-35%20-146%20-6%20-213%208%20-341%2070%20-88%2042%20-117%2062%20-181%20127%20-166%20169%20-236%20408%20-181%20623%2063%20245%20223%20419%20461%20499%20211%2071%20430%2028%20628%20-124%2055%20-41%20134%20-138%20184%20-222%2026%20-43%2048%20-52%2048%20-20%200%2019%20-53%20108%20-101%20170%20-147%20193%20-433%20305%20-674%20264z'/%3e%3cpath%20d='M2339%201018%20c-51%20-95%20-108%20-198%20-126%20-228%20-18%20-30%20-33%20-61%20-33%20-69%200%20-13%2053%20-102%20191%20-323%2040%20-65%2059%20-87%2073%20-85%2026%203%20198%20279%20183%20293%20-8%209%20-85%20-89%20-132%20-168%20-26%20-44%20-49%20-77%20-51%20-75%20-17%2016%20-174%20280%20-170%20285%203%203%2042%20-16%2087%20-42%2077%20-45%2082%20-47%20105%20-31%2030%2020%2032%2039%202%2031%20-17%20-4%20-51%2012%20-125%2057%20-57%2034%20-103%2067%20-103%2074%200%2019%20194%20374%20204%20375%209%200%2048%20-66%20158%20-272%2048%20-90%2054%20-98%2070%20-82%209%209%20-1%2037%20-46%20124%20-96%20187%20-166%20308%20-180%20308%20-7%200%20-55%20-78%20-107%20-172z'/%3e%3cpath%20d='M688%201083%20l-3%20-38%20-57%20-3%20c-50%20-3%20-58%20-6%20-58%20-22%200%20-16%207%20-20%2030%20-20%20l30%200%20-2%20-247%20-3%20-248%20-27%20-3%20c-30%20-4%20-38%20-26%20-12%20-36%209%20-3%2035%20-6%2059%20-6%2043%200%2044%200%2047%20-37%202%20-27%208%20-39%2021%20-41%2014%20-3%2017%204%2017%2037%200%2037%203%2041%2024%2041%2021%200%2025%20-5%2028%20-37%204%20-52%2032%20-52%2036%20-2%203%2036%205%2037%2050%2044%2059%209%2093%2026%20125%2065%2054%2063%2048%20152%20-15%20214%20l-40%2040%2021%2037%20c12%2020%2021%2049%2021%2063%200%2065%20-58%20137%20-120%20151%20-23%205%20-30%2012%20-30%2030%200%2034%20-10%2055%20-26%2055%20-8%200%20-14%20-10%20-14%20-24%200%20-39%20-11%20-56%20-35%20-56%20-20%200%20-24%206%20-27%2037%20-2%2026%20-8%2039%20-20%2041%20-13%202%20-17%20-5%20-20%20-35z%20m176%20-97%20c42%20-18%2066%20-51%2066%20-94%200%20-76%20-42%20-102%20-165%20-102%20l-85%200%200%20105%200%20105%2075%200%20c42%200%2090%20-6%20109%20-14z%20m67%20-253%20c41%20-24%2062%20-83%2049%20-133%20-19%20-72%20-87%20-103%20-218%20-98%20l-77%203%20-3%20109%20c-1%2061%200%20116%202%20123%208%2021%20210%2018%20247%20-4z'/%3e%3c/g%3e%3c/svg%3e",Mb="data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%2020010904//EN'%20'http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd'%3e%3csvg%20version='1.0'%20xmlns='http://www.w3.org/2000/svg'%20width='735.823910pt'%20height='388.545063pt'%20viewBox='0%200%20735.823910%20388.545063'%20preserveAspectRatio='xMidYMid%20meet'%3e%3cmetadata%3e%20Created%20by%20potrace%201.16,%20written%20by%20Peter%20Selinger%202001-2019%20%3c/metadata%3e%3crect%20width='100%25'%20height='100%25'%20fill='none'/%3e%3cg%20transform='translate(-7.217511,405.779758)%20scale(0.100000,-0.100000)'%20fill='%23ffffff'%20stroke='none'%3e%3cpath%20d='M1798%204049%20c-430%20-42%20-842%20-238%20-1148%20-548%20-301%20-304%20-486%20-664%20-555%20-1081%20-25%20-154%20-31%20-424%20-11%20-560%2078%20-530%20310%20-943%20721%20-1283%20108%20-89%20335%20-218%20495%20-280%20396%20-155%20886%20-166%201300%20-28%20135%2045%20358%20157%20475%20239%20266%20185%20495%20448%20625%20720%2024%2050%2047%2092%2050%2092%203%200%2034%20-57%2070%20-127%20192%20-377%20514%20-681%20905%20-855%20474%20-212%201031%20-221%201510%20-26%20569%20233%20990%20720%201136%201313%20126%20515%2051%201029%20-217%201487%20-254%20433%20-705%20771%20-1187%20887%20-194%2047%20-261%2055%20-447%2055%20-245%201%20-433%20-30%20-660%20-109%20-263%20-91%20-537%20-269%20-741%20-481%20-117%20-122%20-269%20-344%20-338%20-492%20-14%20-29%20-27%20-52%20-31%20-52%20-3%200%20-21%2030%20-39%2068%20-103%20210%20-277%20437%20-456%20595%20-395%20347%20-927%20517%20-1457%20466z%20m432%20-83%20c648%20-87%201206%20-513%201457%20-1113%2058%20-139%2070%20-143%20109%20-40%2086%20229%20283%20517%20465%20681%20172%20156%20423%20309%20613%20375%20241%2085%20441%20116%20686%20108%20197%20-7%20344%20-32%20523%20-91%20549%20-180%20993%20-630%201176%20-1194%2072%20-221%2086%20-314%2086%20-587%20-1%20-268%20-10%20-343%20-70%20-540%20-168%20-552%20-569%20-985%20-1113%20-1199%20-194%20-76%20-520%20-130%20-722%20-120%20-606%2032%20-1137%20334%20-1468%20835%20-54%2082%20-134%20237%20-172%20334%20-46%20115%20-55%20113%20-110%20-22%20-174%20-433%20-499%20-773%20-932%20-978%20-184%20-87%20-403%20-143%20-642%20-165%20-291%20-26%20-662%2047%20-937%20185%20-449%20225%20-784%20611%20-938%201082%20-71%20216%20-86%20314%20-86%20583%200%20183%204%20256%2018%20330%2091%20489%20342%20897%20733%201191%20256%20193%20549%20309%20889%20352%2076%2010%20340%205%20435%20-7z'/%3e%3cpath%20d='M5120%202656%20c0%20-459%20-2%20-515%20-16%20-520%20-9%20-3%20-78%20-6%20-155%20-6%20l-139%200%200%20-55%200%20-55%20155%200%20156%200%20-3%20-127%20-3%20-128%20-150%20-5%20-150%20-5%20-3%20-47%20-3%20-48%20155%200%20156%200%202%20-327%203%20-328%2055%200%2055%200%203%20327%202%20328%20363%202%20362%203%200%2045%200%2045%20-360%205%20-360%205%20-3%20127%20-3%20126%20383%204%20383%204%2082%2027%20c246%2082%20396%20288%20395%20542%200%20234%20-134%20436%20-345%20522%20-109%2045%20-207%2053%20-629%2053%20l-388%200%200%20-514z%20m940%20375%20c171%20-60%20266%20-168%20306%20-351%2052%20-230%20-99%20-468%20-337%20-531%20-47%20-13%20-722%20-26%20-765%20-15%20l-24%206%200%20461%200%20461%20378%20-4%20c362%20-4%20380%20-5%20442%20-27z'/%3e%3cpath%20d='M1199%203044%20c-5%20-7%20-8%20-75%20-7%20-155%20l3%20-144%20300%20-5%20300%20-5%203%20-317%202%20-318%20190%200%20c174%200%20190%201%20191%2018%200%209%201%20152%202%20317%20l2%20300%20303%203%20302%202%200%20155%20c0%20117%20-3%20155%20-12%20156%20-7%200%20-363%201%20-791%202%20-571%201%20-781%20-1%20-788%20-9z'/%3e%3cpath%20d='M1555%202404%20c-279%20-30%20-473%20-77%20-561%20-137%20-209%20-141%2095%20-294%20668%20-336%2064%20-5%20121%20-12%20127%20-15%208%20-5%2011%20-136%2011%20-437%20l0%20-429%20193%202%20192%203%203%20433%20c2%20403%203%20432%2020%20432%209%200%2082%207%20162%2015%20357%2035%20609%20109%20668%20195%2077%20115%20-127%20217%20-528%20264%20-240%2028%20-269%2029%20-276%2011%20-4%20-9%20-3%20-20%202%20-25%205%20-5%2070%20-14%20144%20-20%20276%20-23%20501%20-75%20562%20-129%2043%20-39%2033%20-63%20-45%20-100%20-321%20-157%20-1451%20-161%20-1799%20-8%20-68%2030%20-94%2062%20-75%2092%2040%2062%20261%20118%20577%20145%2074%207%20139%2015%20143%2019%204%204%205%2015%201%2024%20-7%2020%20-13%2020%20-189%201z'/%3e%3cpath%20d='M3365%202095%20c-30%20-30%20-31%20-54%20-4%20-89%2040%20-50%20119%20-21%20119%2044%200%2064%20-70%2091%20-115%2045z'/%3e%3cpath%20d='M3726%202099%20c-52%20-41%20-24%20-119%2044%20-119%2031%200%2044%208%2059%2037%2017%2033%2014%2051%20-14%2078%20-30%2030%20-54%2031%20-89%204z'/%3e%3cpath%20d='M4100%202113%20c-42%20-17%20-53%20-80%20-19%20-114%2028%20-28%2076%20-22%20102%2013%2018%2024%2019%2030%207%2058%20-16%2039%20-53%2057%20-90%2043z'/%3e%3c/g%3e%3c/svg%3e";function Db(){const{data:s,isLoading:c}=H2(),i=c||!s||s.totalUsd==null?"$—":`$${s.totalUsd.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})}`;return l.jsxs("div",{className:Da.card,children:[l.jsxs("div",{className:Da.left,children:[l.jsx("div",{className:Da.label,children:"Общий баланс"}),l.jsx("div",{className:Da.amount,children:i})]}),l.jsxs("div",{className:Da.actions,children:[l.jsxs(Ht,{to:fe.CONVERTER,className:Da.btn,type:"button",children:[l.jsx("img",{src:Mb,alt:"swap"}),"Пополнить кошелёк"]}),l.jsxs(Ht,{to:fe.SWAP,className:Da.btn,type:"button",children:[l.jsx("img",{src:Ob,alt:"topup"}),"Своп / Бридж"]})]})]})}const zb="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3csvg%20width='800px'%20height='800px'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10%206H15C16.6569%206%2018%207.34315%2018%209C18%2010.6569%2016.6569%2012%2015%2012M10%206V12M10%206H7M10%206V3M15%2012H10M15%2012C16.6569%2012%2018%2013.3431%2018%2015C18%2016.6569%2016.6569%2018%2015%2018H10M10%2012V18M10%2018H7M10%2018V21M13%206V3M13%2021V18'%20stroke='%23fff'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Lb="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pg0KDQo8IURPQ1RZUEUgc3ZnICBQVUJMSUMgJy0vL1czQy8vRFREIFNWRyAxLjEvL0VOJyAgJ2h0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCc+DQoNCjwhLS0gVXBsb2FkZWQgdG86IFNWRyBSZXBvLCB3d3cuc3ZncmVwby5jb20sIEdlbmVyYXRvcjogU1ZHIFJlcG8gTWl4ZXIgVG9vbHMgLS0+DQo8c3ZnIHdpZHRoPSI4MDBweCIgaGVpZ2h0PSI4MDBweCIgdmlld0JveD0iMCAwIDMyIDMyIiBpZD0iX3gzQ19MYXllcl94M0VfIiB2ZXJzaW9uPSIxLjEiIHhtbDpzcGFjZT0icHJlc2VydmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPg0KDQo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPg0KPCFbQ0RBVEFbDQoJLnN0MHtmaWxsOm5vbmU7c3Ryb2tlOiNmZmY7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjEwO30NCgkuc3Qxe2ZpbGw6bm9uZTtzdHJva2U6I2ZmZjtzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6MTA7fQ0KXV0+DQo8L3N0eWxlPg0KDQo8ZyBpZD0iRXRoZXJldW1feDJDX19jcnlwdG9feDJDX19jcnlwdG9jdXJyZW5jeV8xXyI+DQoNCjxnIGlkPSJYTUxJRF8xNV8iPg0KDQo8cG9seWdvbiBjbGFzcz0ic3QxIiBpZD0iWE1MSURfOF8iIHBvaW50cz0iMTYuMDEsMS41IDcuNjIsMTYuMjMgMTYuMDEsMjEuNSAyNC4zOCwxNi4xOCAgICIvPg0KDQo8bGluZSBjbGFzcz0ic3QxIiBpZD0iWE1MSURfMzFfIiB4MT0iMTYuMDEiIHgyPSIxNi4wMSIgeTE9IjMwLjUiIHkyPSIyNC4xIi8+DQoNCjxwb2x5Z29uIGNsYXNzPSJzdDEiIGlkPSJYTUxJRF8xMl8iIHBvaW50cz0iMTYuMDEsMzAuNSA3LjYyLDE4LjgzIDE2LjAxLDI0LjEgMjQuMzgsMTguNzggICAiLz4NCg0KPHBvbHlnb24gY2xhc3M9InN0MSIgaWQ9IlhNTElEXzMwXyIgcG9pbnRzPSIxNi4wMSwxMi4zIDcuNjIsMTYuMjMgMTYuMDEsMjEuNSAyNC4zOCwxNi4xOCAgICIvPg0KDQo8bGluZSBjbGFzcz0ic3QxIiBpZD0iWE1MSURfMzJfIiB4MT0iMTYuMDEiIHgyPSIxNi4wMSIgeTE9IjEuNSIgeTI9IjIxLjUiLz4NCg0KPHBvbHlnb24gY2xhc3M9InN0MSIgaWQ9IlhNTElEXzE5Ml8iIHBvaW50cz0iMTYuMDEsMS41IDcuNjIsMTYuMjMgMTYuMDEsMjEuNSAyNC4zOCwxNi4xOCAgICIvPg0KDQo8L2c+DQoNCjwvZz4NCg0KPC9zdmc+",Bb="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3csvg%20width='800px'%20height='800px'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.08398%205.22265C7.17671%205.08355%207.33282%205%207.5%205H18.5C18.6844%205%2018.8538%205.10149%2018.9408%205.26407C19.0278%205.42665%2019.0183%205.62392%2018.916%205.77735L16.916%208.77735C16.8233%208.91645%2016.6672%209%2016.5%209H5.5C5.3156%209%205.14617%208.89851%205.05916%208.73593C4.97215%208.57335%204.98169%208.37608%205.08398%208.22265L7.08398%205.22265ZM7.76759%206L6.43426%208H16.2324L17.5657%206H7.76759Z'%20fill='%23fff'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.08398%2015.2226C7.17671%2015.0836%207.33282%2015%207.5%2015H18.5C18.6844%2015%2018.8538%2015.1015%2018.9408%2015.2641C19.0278%2015.4267%2019.0183%2015.6239%2018.916%2015.7774L16.916%2018.7774C16.8233%2018.9164%2016.6672%2019%2016.5%2019H5.5C5.3156%2019%205.14617%2018.8985%205.05916%2018.7359C4.97215%2018.5734%204.98169%2018.3761%205.08398%2018.2226L7.08398%2015.2226ZM7.76759%2016L6.43426%2018H16.2324L17.5657%2016H7.76759Z'%20fill='%23fff'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.08398%2013.7774C7.17671%2013.9164%207.33282%2014%207.5%2014H18.5C18.6844%2014%2018.8538%2013.8985%2018.9408%2013.7359C19.0278%2013.5733%2019.0183%2013.3761%2018.916%2013.2226L16.916%2010.2226C16.8233%2010.0836%2016.6672%2010%2016.5%2010H5.5C5.3156%2010%205.14617%2010.1015%205.05916%2010.2641C4.97215%2010.4267%204.98169%2010.6239%205.08398%2010.7774L7.08398%2013.7774ZM7.76759%2013L6.43426%2011H16.2324L17.5657%2013H7.76759Z'%20fill='%23fff'/%3e%3c/svg%3e",Ub="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3csvg%20width='800px'%20height='800px'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.6109%204.68601C4.72546%204.54406%204.90822%204.47575%205.0878%204.50778L16.575%206.55656C16.6715%206.57377%2016.7608%206.61896%2016.8318%206.68651L19.3446%209.07676C19.5379%209.26064%2019.5528%209.5639%2019.3784%209.76583L11.122%2019.3268C11.0084%2019.4583%2010.8347%2019.5214%2010.6632%2019.4935C10.4917%2019.4656%2010.347%2019.3506%2010.281%2019.1898L4.53742%205.18979C4.46819%205.02103%204.49635%204.82796%204.6109%204.68601ZM6.19646%206.59904L10.4853%2017.053L11.2894%2010.6786L6.19646%206.59904ZM12.2688%2010.9045L11.4468%2017.4207L17.7491%2010.1226L12.2688%2010.9045ZM17.9075%209.08986L13.7298%209.68594L16.4453%207.69901L17.9075%209.08986ZM15.2483%207.33573L6.84451%205.83688L11.8343%209.83381L15.2483%207.33573Z'%20fill='%23fff'/%3e%3c/svg%3e",kb="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2026.0.1,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%202496%202496'%20style='enable-background:new%200%200%202496%202496;'%20xml:space='preserve'%3e%3cg%3e%3cpath%20style='fill-rule:evenodd;clip-rule:evenodd;fill:%23F0B90B;'%20d='M1248,0c689.3,0,1248,558.7,1248,1248s-558.7,1248-1248,1248%20S0,1937.3,0,1248S558.7,0,1248,0L1248,0z'/%3e%3cpath%20style='fill:%23FFFFFF;'%20d='M685.9,1248l0.9,330l280.4,165v193.2l-444.5-260.7v-524L685.9,1248L685.9,1248z%20M685.9,918v192.3%20l-163.3-96.6V821.4l163.3-96.6l164.1,96.6L685.9,918L685.9,918z%20M1084.3,821.4l163.3-96.6l164.1,96.6L1247.6,918L1084.3,821.4%20L1084.3,821.4z'/%3e%3cpath%20style='fill:%23FFFFFF;'%20d='M803.9,1509.6v-193.2l163.3,96.6v192.3L803.9,1509.6L803.9,1509.6z%20M1084.3,1812.2l163.3,96.6%20l164.1-96.6v192.3l-164.1,96.6l-163.3-96.6V1812.2L1084.3,1812.2z%20M1645.9,821.4l163.3-96.6l164.1,96.6v192.3l-164.1,96.6V918%20L1645.9,821.4L1645.9,821.4L1645.9,821.4z%20M1809.2,1578l0.9-330l163.3-96.6v524l-444.5,260.7v-193.2L1809.2,1578L1809.2,1578%20L1809.2,1578z'/%3e%3cpolygon%20style='fill:%23FFFFFF;'%20points='1692.1,1509.6%201528.8,1605.3%201528.8,1413%201692.1,1316.4%201692.1,1509.6%20'/%3e%3cpath%20style='fill:%23FFFFFF;'%20d='M1692.1,986.4l0.9,193.2l-281.2,165v330.8l-163.3,95.7l-163.3-95.7v-330.8l-281.2-165V986.4%20L968,889.8l279.5,165.8l281.2-165.8l164.1,96.6H1692.1L1692.1,986.4z%20M803.9,656.5l443.7-261.6l444.5,261.6l-163.3,96.6%20l-281.2-165.8L967.2,753.1L803.9,656.5L803.9,656.5z'/%3e%3c/g%3e%3c/svg%3e",Hb="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='151'%20height='172'%20viewBox='0%200%20151%20172'%20fill='none'%3e%3cpath%20d='M144.518%2039.2113L82.214%203.03438C80.1932%201.87961%2077.9919%201.28418%2075.7545%201.28418C73.5352%201.28418%2071.3158%201.87961%2069.3311%203.03438L7.00937%2039.2474C3.05788%2041.5569%200.585938%2045.8151%200.585938%2050.4162V122.842C0.585938%20127.443%203.05788%20131.756%207.00937%20134.047L18.2143%20140.561L34.5616%20150.052L38.2243%20139.965L71.8932%2047.1143C72.2%2046.2121%2071.5504%2045.2378%2070.54%2045.2378H54.752C53.5792%2045.2378%2052.4966%2045.9775%2052.1177%2047.0782L21.8951%20130.474L12.2961%20124.899C11.5743%20124.484%2011.1232%20123.708%2011.1232%20122.878V50.4162C11.1232%2049.5862%2011.5743%2048.8103%2012.2961%2048.3953L74.6178%2012.1824C74.9606%2011.9658%2075.3756%2011.8756%2075.7725%2011.8756C76.1875%2011.8756%2076.5665%2011.9839%2076.9454%2012.1824L139.285%2048.3953C140.007%2048.8103%20140.458%2049.5862%20140.458%2050.4162V122.842C140.458%20123.672%20140.007%20124.448%20139.285%20124.863L129.794%20130.384L104.822%2061.4768C104.371%2060.2137%20102.639%2060.2137%20102.188%2061.4768L93.9602%2084.1392C93.7257%2084.7707%2093.7257%2085.4744%2093.9602%2086.0879L113.447%20139.875L106.969%20143.646L91.0192%2099.6023C90.5681%2098.3393%2088.8359%2098.3393%2088.3848%2099.6023L80.1571%20122.265C79.9225%20122.896%2079.9225%20123.6%2080.1571%20124.213L90.6403%20153.137L76.9634%20161.094C76.6206%20161.311%2076.2056%20161.401%2075.7906%20161.401C75.3756%20161.401%2074.9967%20161.293%2074.6178%20161.094L61.1033%20153.227L99.5537%2047.1323C99.8965%2046.1941%2099.2108%2045.2017%2098.2365%2045.2017H82.4486C81.2758%2045.2017%2080.1932%2045.9414%2079.8142%2047.0421L44.756%20143.718L41.0932%20153.805L57.4405%20163.295L69.3672%20170.224C71.3519%20171.379%2073.5713%20171.974%2075.7906%20171.974C78.0099%20171.974%2080.2292%20171.379%2082.214%20170.224L144.554%20134.011C148.541%20131.701%20150.977%20127.443%20150.977%20122.806V50.4162C150.977%2045.8151%20148.505%2041.5028%20144.554%2039.2113H144.518Z'%20fill='white'/%3e%3c/svg%3e",qb="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2024.0.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='CIRCLE_OUTLINE_BLACK'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20512%20512'%20style='enable-background:new%200%200%20512%20512;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:%23FDDE00;}%20.st1{fill:%233C2D0C;}%20.st2{fill:%23E78C19;}%20.st3{fill:%23EFB99D;}%20.st4{fill:%23FBFBFB;}%20.st5{fill:%23E72D36;}%20%3c/style%3e%3ccircle%20class='st0'%20cx='256'%20cy='256'%20r='256'/%3e%3cpath%20class='st1'%20d='M131.4,181c0,0-13.2,16.7-8.8,92.2c0,0-28.9,74-19.1,111.8c9.8,37.7,48,35.8,48,35.8s61.3,53.9,108.3,6.4%20c47.1-47.6-39.2-231.9-39.2-231.9l-10.8-63.7c0,0-11.8,9.3-10.3,70.6s-24,18.1-24,18.1L131.4,181z'/%3e%3cpath%20class='st2'%20d='M136.3,247.7l-16.2,45.6l-5.9,31.9c0,0-20.1,71.1,62.8,70.1c0,0,64.7,57.9,106.9,19.1l11.3-12.3l19.6-30.4%20l32.4-96.6c0,0-10.3-66.2-75.5-93.6c0,0-5.4-2.9-15.2,1c0,0-27-60.8-44.1-53.4c0,0-14.7,7.8-2,67.7l-23,10.3%20c0,0-25.2-47.8-48.5-38.2C117.2,177.6,136.3,247.7,136.3,247.7z'/%3e%3cpath%20class='st3'%20d='M220.1,158.9l2,26.5c0,0,1.5,15.2,17.6,9.8c4.6-1.5,8.6-4.7,8.2-9.9c-0.3-3.9-3-7.5-4.8-10.8%20c-3.3-6.3-6-13-9.9-19.1c-2-3.1-6.1-10-10.6-9.2C222.6,146.2,219.2,145.2,220.1,158.9z'/%3e%3cpath%20class='st3'%20d='M149.3,188.7c0.3-0.2,6.9-8.5,20.6,11.7c13.7,20.2,12.3,17.6,12.3,17.6s7.4,8.1-7.7,18.5%20c-3.3,2.4-6.9,4.4-10.7,6c-2.4,0.9-4.9,1.4-7.4,1.4c-2.9-0.1-4.2-1.6-4.9-4.3c-2.3-8.8-4.9-17.6-6.2-26.6%20C144.3,206,142.3,193.2,149.3,188.7z'/%3e%3cpath%20class='st4'%20d='M308.5,229.4c0,4.8-7,8.7-15.7,8.7c-8.7,0-15.7-3.9-15.7-8.7s7.2-11.9,15.8-11.9S308.5,224.6,308.5,229.4z'/%3e%3cellipse%20transform='matrix(0.4925%20-0.8703%200.8703%200.4925%20-121.8385%20314.1253)'%20class='st4'%20cx='208.4'%20cy='261.5'%20rx='17.1'%20ry='11'/%3e%3cpath%20class='st4'%20d='M240.2,306.7l42.9-22.3c0,0,53.4-27.9,66.4-6.4s0,54.4,0,54.4s-5.6,38.5-44.9,41.9l-21.1,2.9l-27,0.7%20c0,0-43.4,2.5-75.3-21.1l-10.1-12.3c0,0-20.3-27.9-6.1-48s62.8,11,62.8,11S234.6,311.2,240.2,306.7z'/%3e%3ccircle%20class='st5'%20cx='337.5'%20cy='185.2'%20r='10.3'/%3e%3ccircle%20class='st5'%20cx='314.7'%20cy='159.9'%20r='10.3'/%3e%3ccircle%20class='st5'%20cx='278.2'%20cy='151.8'%20r='10.3'/%3e%3cpath%20class='st5'%20d='M286.3,78.8c2.2,30.4-2.2,57.9-9.6,57.9s-17.2-29.7-17.2-57.9c0-11.6,6.1-13.5,13.5-13.5%20C280.5,65.3,285.5,67.2,286.3,78.8z'/%3e%3cpath%20class='st5'%20d='M354.5,97.7c-11.2,28.3-27.1,51.2-33.7,48c-6.6-3.2-2.6-34.2,9.7-59.6c5.1-10.5,11.4-9.5,18-6.3%20C355.1,83.1,358.8,86.9,354.5,97.7z'/%3e%3cpath%20class='st5'%20d='M403.3,152.9c-24.7,17.9-50.3,28.7-54.2,22.4c-3.9-6.3,16.2-30.2,40.1-45.1c9.9-6.1,14.7-1.9,18.6,4.3%20C411.6,140.8,412.7,146,403.3,152.9z'/%3e%3cpath%20d='M238.2,276.8c-0.9,0.1-1.8,0.2-2.7,0.3c0.1,0.3,0.2,0.6,0.2,1c0,3.1-4.9,5.7-11,5.9c0,0.3-0.1,0.5,0,0.8%20c0.3,3.8,6.9,6.4,14.6,5.8c7.8-0.6,13.9-4.2,13.6-8C252.5,278.8,246,276.2,238.2,276.8z'/%3e%3cpath%20d='M292.4,263.4c-0.9,0.1-1.8,0.2-2.7,0.3c0.1,0.3,0.2,0.6,0.2,1c0,3.1-4.9,5.7-11,5.9c0,0.3-0.1,0.5,0,0.8%20c0.3,3.8,6.9,6.4,14.6,5.8c7.8-0.6,13.9-4.2,13.6-8C306.8,265.4,300.2,262.8,292.4,263.4z'/%3e%3cpath%20d='M310.2,279.3c0,0-21.5,6.3-20.2,18.4s27.2,18.4,27.2,18.4s7,2.8,11-3.9c4-6.6,9.9-15.6,8.3-28.5%20C336.5,283.7,336,274.1,310.2,279.3z'/%3e%3c/svg%3e",$b="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20336.41%20337.42'%3e%3cdefs%3e%3cstyle%3e.cls-1{fill:%23f0b90b;stroke:%23f0b90b;}%3c/style%3e%3c/defs%3e%3ctitle%3eAsset%201%3c/title%3e%3cg%20id='Layer_2'%20data-name='Layer%202'%3e%3cg%20id='Layer_1-2'%20data-name='Layer%201'%3e%3cpath%20class='cls-1'%20d='M168.2.71l41.5,42.5L105.2,147.71l-41.5-41.5Z'/%3e%3cpath%20class='cls-1'%20d='M231.2,63.71l41.5,42.5L105.2,273.71l-41.5-41.5Z'/%3e%3cpath%20class='cls-1'%20d='M42.2,126.71l41.5,42.5-41.5,41.5L.7,169.21Z'/%3e%3cpath%20class='cls-1'%20d='M294.2,126.71l41.5,42.5L168.2,336.71l-41.5-41.5Z'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e",Gb="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3c!--%20Creator:%20CorelDRAW%202019%20(64-Bit)%20--%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml:space='preserve'%20width='100%25'%20height='100%25'%20version='1.1'%20shape-rendering='geometricPrecision'%20text-rendering='geometricPrecision'%20image-rendering='optimizeQuality'%20fill-rule='evenodd'%20clip-rule='evenodd'%20viewBox='0%200%20444.44%20444.44'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20xmlns:xodm='http://www.corel.com/coreldraw/odm/2003'%3e%3cg%20id='Layer_x0020_1'%3e%3cmetadata%20id='CorelCorpID_0Corel-Layer'/%3e%3cpath%20fill='%23F5AC37'%20fill-rule='nonzero'%20d='M222.22%200c122.74,0%20222.22,99.5%20222.22,222.22%200,122.74%20-99.48,222.22%20-222.22,222.22%20-122.72,0%20-222.22,-99.49%20-222.22,-222.22%200,-122.72%2099.5,-222.22%20222.22,-222.22z'/%3e%3cpath%20fill='%23FEFEFD'%20fill-rule='nonzero'%20d='M230.41%20237.91l84.44%200c1.8,0%202.65,0%202.78,-2.36%200.69,-8.59%200.69,-17.23%200,-25.83%200,-1.67%20-0.83,-2.36%20-2.64,-2.36l-168.05%200c-2.08,0%20-2.64,0.69%20-2.64,2.64l0%2024.72c0,3.19%200,3.19%203.33,3.19l82.78%200zm77.79%20-59.44c0.24,-0.63%200.24,-1.32%200,-1.94%20-1.41,-3.07%20-3.08,-6%20-5.02,-8.75%20-2.92,-4.7%20-6.36,-9.03%20-10.28,-12.92%20-1.85,-2.35%20-3.99,-4.46%20-6.39,-6.25%20-12.02,-10.23%20-26.31,-17.47%20-41.67,-21.11%20-7.75,-1.74%20-15.67,-2.57%20-23.61,-2.5l-74.58%200c-2.08,0%20-2.36,0.83%20-2.36,2.64l0%2049.3c0,2.08%200,2.64%202.64,2.64l160.27%200c0,0%201.39,-0.28%201.67,-1.11l-0.68%200zm0%2088.33c-2.36,-0.26%20-4.74,-0.26%20-7.1,0l-154.02%200c-2.08,0%20-2.78,0%20-2.78,2.78l0%2048.2c0,2.22%200,2.78%202.78,2.78l71.11%200c3.4,0.26%206.8,0.02%2010.13,-0.69%2010.32,-0.74%2020.47,-2.98%2030.15,-6.67%203.52,-1.22%206.92,-2.81%2010.13,-4.72l0.97%200c16.67,-8.67%2030.21,-22.29%2038.75,-39.01%200,0%200.97,-2.1%20-0.12,-2.65zm-191.81%2078.75l0%20-0.83%200%20-32.36%200%20-10.97%200%20-32.64c0,-1.81%200,-2.08%20-2.22,-2.08l-30.14%200c-1.67,0%20-2.36,0%20-2.36,-2.22l0%20-26.39%2032.22%200c1.8,0%202.5,0%202.5,-2.36l0%20-26.11c0,-1.67%200,-2.08%20-2.22,-2.08l-30.14%200c-1.67,0%20-2.36,0%20-2.36,-2.22l0%20-24.44c0,-1.53%200,-1.94%202.22,-1.94l29.86%200c2.08,0%202.64,0%202.64,-2.64l0%20-74.86c0,-2.22%200,-2.78%202.78,-2.78l104.16%200c7.56,0.3%2015.07,1.13%2022.5,2.5%2015.31,2.83%2030.02,8.3%2043.47,16.11%208.92,5.25%2017.13,11.59%2024.44,18.89%205.5,5.71%2010.46,11.89%2014.86,18.47%204.37,6.67%208,13.8%2010.85,21.25%200.35,1.94%202.21,3.25%204.15,2.92l24.86%200c3.19,0%203.19,0%203.33,3.06l0%2022.78c0,2.22%20-0.83,2.78%20-3.06,2.78l-19.17%200c-1.94,0%20-2.5,0%20-2.36,2.5%200.76,8.46%200.76,16.95%200,25.41%200,2.36%200,2.64%202.65,2.64l21.93%200c0.97,1.25%200,2.5%200,3.76%200.14,1.61%200.14,3.24%200,4.85l0%2016.81c0,2.36%20-0.69,3.06%20-2.78,3.06l-26.25%200c-1.83,-0.35%20-3.61,0.82%20-4.03,2.64%20-6.25,16.25%20-16.25,30.82%20-29.17,42.5%20-4.72,4.25%20-9.68,8.25%20-14.86,11.94%20-5.56,3.2%20-10.97,6.53%20-16.67,9.17%20-10.49,4.72%20-21.49,8.2%20-32.78,10.41%20-10.72,1.92%20-21.59,2.79%20-32.5,2.64l-96.39%200%200%20-0.14z'/%3e%3c/g%3e%3c/svg%3e",Vb="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%202000%202000'%20width='2500'%20height='2500'%3e%3cg%20fill='%23c2a633'%3e%3cpath%20d='M1024%20659H881.12v281.69h224.79v117.94H881.12v281.67H1031c38.51%200%20316.16%204.35%20315.73-327.72S1077.44%20659%201024%20659z'/%3e%3cpath%20d='M1000%200C447.71%200%200%20447.71%200%201000s447.71%201000%201000%201000%201000-447.71%201000-1000S1552.29%200%201000%200zm39.29%201540.1H677.14v-481.46H549.48V940.7h127.65V459.21h310.82c73.53%200%20560.56-15.27%20560.56%20549.48%200%20574.09-509.21%20531.41-509.21%20531.41z'/%3e%3c/g%3e%3c/svg%3e",Fb="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2024.0.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='katman_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20800%20800'%20style='enable-background:new%200%200%20800%20800;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:%23141726;}%20.st1{fill:url(%23SVGID_1_);}%20.st2{fill:url(%23SVGID_2_);}%20.st3{fill:url(%23SVGID_3_);}%20.st4{fill:url(%23SVGID_4_);}%20.st5{fill:url(%23SVGID_5_);}%20.st6{fill:url(%23SVGID_6_);}%20%3c/style%3e%3ccircle%20class='st0'%20cx='400'%20cy='400'%20r='400'/%3e%3clinearGradient%20id='SVGID_1_'%20gradientUnits='userSpaceOnUse'%20x1='574.9257'%20y1='665.8727'%20x2='248.5257'%20y2='142.3127'%20gradientTransform='matrix(1%200%200%20-1%200%20800)'%3e%3cstop%20offset='0.16'%20style='stop-color:%23C6F462'/%3e%3cstop%20offset='0.89'%20style='stop-color:%2333D9FF'/%3e%3c/linearGradient%3e%3cpath%20class='st1'%20d='M536,568.9c-66.8-108.5-166.4-170-289.4-195.6c-43.5-9-87.2-8.9-129.4,7.7c-28.9,11.4-33.3,23.4-19.7,53.7%20c92.4-21.9,178.4-1.5,258.9,45c81.1,46.9,141.6,112.2,169.1,205c38.6-11.8,43.6-18.3,34.3-54.2C554.3,609.4,547.4,587.4,536,568.9%20L536,568.9z'/%3e%3clinearGradient%20id='SVGID_2_'%20gradientUnits='userSpaceOnUse'%20x1='572.5896'%20y1='667.3303'%20x2='246.1996'%20y2='143.7703'%20gradientTransform='matrix(1%200%200%20-1%200%20800)'%3e%3cstop%20offset='0.16'%20style='stop-color:%23C6F462'/%3e%3cstop%20offset='0.89'%20style='stop-color:%2333D9FF'/%3e%3c/linearGradient%3e%3cpath%20class='st2'%20d='M609.1,480.6c-85.8-125-207.3-194.9-355.8-218.3c-39.3-6.2-79.4-4.5-116.2,14.3c-17.6,9-33.2,20.5-37.4,44.9%20c115.8-31.9,219.7-3.7,317.5,53c98.3,57,175.1,133.5,205,251.1c20.8-18.4,24.5-41,19.1-62C633.9,534.8,625.5,504.5,609.1,480.6%20L609.1,480.6z'/%3e%3clinearGradient%20id='SVGID_3_'%20gradientUnits='userSpaceOnUse'%20x1='577.0148'%20y1='664.5671'%20x2='250.6247'%20y2='141.0071'%20gradientTransform='matrix(1%200%200%20-1%200%20800)'%3e%3cstop%20offset='0.16'%20style='stop-color:%23C6F462'/%3e%3cstop%20offset='0.89'%20style='stop-color:%2333D9FF'/%3e%3c/linearGradient%3e%3cpath%20class='st3'%20d='M105,488.6c7.3,16.2,12.1,34.5,23,47.6c5.5,6.7,22.2,4.1,33.8,5.7c1.8,0.2,3.6,0.5,5.4,0.7%20c102.9,15.3,184.1,65.1,242.1,152c3.4,5.1,8.9,12.7,13.4,12.7c17.4-0.1,34.9-2.8,52.5-4.5C449,557.5,232.8,438.3,105,488.6%20L105,488.6z'/%3e%3clinearGradient%20id='SVGID_4_'%20gradientUnits='userSpaceOnUse'%20x1='569.0272'%20y1='669.5518'%20x2='242.6272'%20y2='145.9917'%20gradientTransform='matrix(1%200%200%20-1%200%20800)'%3e%3cstop%20offset='0.16'%20style='stop-color:%23C6F462'/%3e%3cstop%20offset='0.89'%20style='stop-color:%2333D9FF'/%3e%3c/linearGradient%3e%3cpath%20class='st4'%20d='M656.6,366.7C599.9,287.4,521.7,234.6,432.9,197c-61.5-26.1-125.2-41.8-192.8-33.7%20c-23.4,2.8-45.3,9.5-63.4,24.7c230.9,5.8,404.6,105.8,524,303.3c0.2-13.1,2.2-27.7-2.6-39.5C686.1,422.5,674.7,392,656.6,366.7z'/%3e%3clinearGradient%20id='SVGID_5_'%20gradientUnits='userSpaceOnUse'%20x1='571.6973'%20y1='667.8917'%20x2='245.2973'%20y2='144.3317'%20gradientTransform='matrix(1%200%200%20-1%200%20800)'%3e%3cstop%20offset='0.16'%20style='stop-color:%23C6F462'/%3e%3cstop%20offset='0.89'%20style='stop-color:%2333D9FF'/%3e%3c/linearGradient%3e%3cpath%20class='st5'%20d='M709.8,325.3c-47-178.9-238-265-379.2-221.4C482.7,133.9,607.5,206.4,709.8,325.3z'/%3e%3clinearGradient%20id='SVGID_6_'%20gradientUnits='userSpaceOnUse'%20x1='579.0382'%20y1='663.3111'%20x2='252.6482'%20y2='139.7511'%20gradientTransform='matrix(1%200%200%20-1%200%20800)'%3e%3cstop%20offset='0.16'%20style='stop-color:%23C6F462'/%3e%3cstop%20offset='0.89'%20style='stop-color:%2333D9FF'/%3e%3c/linearGradient%3e%3cpath%20class='st6'%20d='M155.4,583.9c54.6,69.3,124,109.7,213,122.8C334.4,643.2,214.6,574.5,155.4,583.9L155.4,583.9z'/%3e%3c/svg%3e",Qb="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2037.8%2043.6'%3e%3cdefs%3e%3cstyle%3e.cls-1{fill:%232a5ada;}%3c/style%3e%3c/defs%3e%3ctitle%3eAsset%201%3c/title%3e%3cg%20id='Layer_2'%20data-name='Layer%202'%3e%3cg%20id='Layer_1-2'%20data-name='Layer%201'%3e%3cpath%20class='cls-1'%20d='M18.9,0l-4,2.3L4,8.6,0,10.9V32.7L4,35l11,6.3,4,2.3,4-2.3L33.8,35l4-2.3V10.9l-4-2.3L22.9,2.3ZM8,28.1V15.5L18.9,9.2l10.9,6.3V28.1L18.9,34.4Z'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e",Yb="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2024.0.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='CIRCLE_OUTLINE_BLACK'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20512%20512'%20style='enable-background:new%200%200%20512%20512;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:%23FFD15C;}%20.st1{fill:%23FFFFFF;}%20%3c/style%3e%3cpath%20class='st0'%20d='M512,256c0,141.4-114.6,256-256,256S0,397.4,0,256S114.6,0,256,0S512,114.6,512,256z'/%3e%3cpath%20class='st1'%20d='M193.5,152.3c-10.4,1.5-4.6,10.4-4.6,10.4l-0.3,2.5c14.9,25.7,39.5,52.7,64.6,70.7c18.5,13.2,32.3,32.7,39,54.9%20c6.6,21.9,5.4,44.6-3.2,62.2c-10.4,21.2-30.1,33.5-55.3,34.7c-25.1,1.2-54.9-8.7-88.6-29.4c-0.3,0.8-0.7,1.6-1.1,2.3%20c29.2,30.1,63,48.1,98.1,52.2c35.5,4.2,71.9-5.8,102.7-27.9c-0.8,0-1.4-0.2-1.9-0.5C446.5,298.8,276.9,140.4,193.5,152.3%20L193.5,152.3z'/%3e%3cpath%20d='M462.6,267.4c-0.1-1.9-0.2-4.2-0.6-6.9c-1.3-10.5-5.5-26.6-17.7-43.7c-0.6-0.8-1.2-1.6-1.8-2.4c-0.1-0.2-0.3-0.4-0.4-0.6%20c-0.5-0.7-1.1-1.4-1.6-2.1c0,0-0.1-0.1-0.1-0.1c-0.6-0.7-1.2-1.5-1.8-2.2c-0.1-0.2-0.3-0.3-0.4-0.5c-0.5-0.6-1.1-1.3-1.6-1.9%20c-0.1-0.1-0.1-0.1-0.2-0.2c-0.6-0.7-1.2-1.3-1.8-2c-0.1-0.1-0.3-0.3-0.4-0.4c-0.5-0.6-1-1.1-1.5-1.6c-0.1-0.1-0.2-0.2-0.2-0.3%20c-0.6-0.6-1.2-1.2-1.7-1.7c-0.1-0.1-0.2-0.2-0.4-0.4c-0.5-0.5-1-1-1.5-1.4c-0.1-0.1-0.2-0.2-0.3-0.3c-0.6-0.5-1.1-1-1.7-1.5%20c-0.1-0.1-0.2-0.2-0.3-0.3c-0.5-0.4-1-0.8-1.4-1.2c-0.1-0.1-0.2-0.2-0.3-0.3c-0.5-0.5-1.1-0.9-1.6-1.3c-0.1-0.1-0.2-0.2-0.3-0.3%20c-0.4-0.4-0.9-0.7-1.3-1.1c-0.1-0.1-0.3-0.2-0.4-0.3c-0.5-0.4-1-0.8-1.5-1.1c-0.1-0.1-0.2-0.2-0.3-0.2c-0.4-0.3-0.8-0.6-1.2-0.9%20c-0.1-0.1-0.3-0.2-0.4-0.3c-0.5-0.3-0.9-0.6-1.4-1c-0.1-0.1-0.2-0.2-0.4-0.2c-0.4-0.2-0.7-0.5-1-0.7c-0.2-0.1-0.3-0.2-0.5-0.3%20c-0.4-0.2-0.8-0.5-1.1-0.7c-0.2-0.1-0.4-0.2-0.5-0.3c-0.3-0.2-0.5-0.3-0.8-0.5c-0.2-0.1-0.4-0.2-0.6-0.3c-0.2-0.1-0.5-0.3-0.7-0.4%20c-0.3-0.2-0.6-0.4-1-0.5c-0.2-0.1-0.3-0.2-0.5-0.3c-0.2-0.1-0.4-0.2-0.7-0.3c-0.1-0.1-0.2-0.1-0.3-0.2c-0.4-0.2-0.9-0.5-1.3-0.7%20c0,0-0.1,0-0.1,0c-2.7-4.8-5.7-9.6-8.9-14.4c-37.3-54.6-78.2-81.1-124.9-81.2h-0.2c-19.8,0-37.9,4.5-53,8.9c-4.3,1.3-8.8,2.6-13.1,4%20c-11,3.4-21.4,6.7-30.3,8.1c-5.6,0.9-10,3-13.1,6.2c-2.8,3-4.5,7.1-5,12.1c-1,9.7,2.5,22.8,10.1,37.8c15.3,30.4,44.6,63.9,74.6,85.4%20c3.5,2.5,6.7,5.2,9.7,8.2c-0.6,0.1-1.2,0.2-1.9,0.3c-23.5,3.4-35.8,28.6-40.7,42.3c-1.3,3.6,2.2,6.8,5.8,5.5%20c14.6-4.9,44.3-12.9,61-2.6c0.1,0,0.3-0.1,0.4-0.1c3,15,1.6,29.8-4.1,41.3c-7.5,15.1-21.8,24-40.3,24.9%20c-21.8,1.1-48.6-8.2-79.7-27.6l-0.5-0.3c-0.3-0.1-0.6-0.3-0.8-0.5c24.2-27.5,9.9-69.9,4.3-83.8c-0.7-1.8-3.3-1.8-4.3-0.1%20c-13,22.1-39.8,20.4-39.3,46.7c0,0,0,0,0-0.1c-20.4-16.6-35.6,5.5-61,2.2c-2-0.3-3.5,1.7-2.5,3.4c7.7,13.3,33.5,52.3,71.6,47.9%20l-1.8,1.3l6.8,7.5c33.3,36.7,72.9,58.7,114.6,63.6c6,0.7,12,1.1,18,1.1c34.9,0,69.6-11.7,99.4-33.9c34.2-25.4,57.9-61.3,66.8-101%20c3-13.2,4.2-26.4,3.7-39.5c7.5-3,15.7,0.3,22.2,4.7c0.1,0,0.1,0.1,0.2,0.1c0.3,0.2,0.5,0.4,0.8,0.5c0.1,0,0.1,0.1,0.2,0.1%20c0.8,0.5,1.5,1.1,2.2,1.6c0.1,0.1,0.3,0.2,0.4,0.3c0.2,0.1,0.3,0.3,0.5,0.4c0.2,0.1,0.3,0.3,0.5,0.4c0.1,0.1,0.3,0.2,0.4,0.4%20c0.3,0.2,0.6,0.5,0.8,0.7c0.1,0.1,0.2,0.2,0.3,0.2c0.2,0.2,0.4,0.4,0.6,0.5c0.1,0.1,0.2,0.2,0.3,0.3c0.2,0.2,0.4,0.3,0.6,0.5%20c0.1,0.1,0.2,0.1,0.2,0.2c0.2,0.2,0.5,0.5,0.7,0.7c0.1,0.1,0.2,0.1,0.2,0.2c0.5,0.4,1.1,0.5,1.6,0.5%20C461.7,269.5,462.7,268.6,462.6,267.4z%20M342.9,384.5c0.5,0.3,1.1,0.4,1.9,0.5c-30.8,22.2-67.2,32.1-102.7,27.9%20c-35.2-4.1-68.9-22.1-98.1-52.2c0.4-0.8,0.8-1.5,1.1-2.3c33.7,20.7,63.5,30.6,88.6,29.4c25.2-1.2,44.9-13.6,55.3-34.7%20c8.7-17.6,9.8-40.2,3.2-62.2c-6.7-22.2-20.5-41.7-39-54.9c-25.2-18-49.7-45-64.6-70.7l0.3-2.5c0,0-5.8-8.9,4.6-10.4%20C276.9,140.4,446.5,298.8,342.9,384.5z'/%3e%3cpath%20class='st1'%20d='M280.3,146.5c-2.9-4.1-8.7-15.1,9.3-15.1c18,0,45.4,20.3,51,27.8c-1.7,4.6-13.3,5.6-19.1,5.2%20s-15.6-1.4-23.2-5.2C290.8,155.6,283.2,150.6,280.3,146.5z'/%3e%3c/svg%3e",Xb="/assets/popcat-DOGy5LFs.svg",Zb="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2024.0.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='CIRCLE_OUTLINE_BLACK'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20512%20512'%20style='enable-background:new%200%200%20512%20512;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:%23E6DAFE;}%20%3c/style%3e%3ccircle%20class='st0'%20cx='256'%20cy='256'%20r='256'/%3e%3cpath%20d='M303.4,228.5c0,20.7-16.7,37.5-37.4,37.5v37.5c41.3,0,74.7-33.5,74.7-74.9s-33.5-74.9-74.7-74.9c-13.6,0-26.4,3.6-37.4,10%20c-22.3,12.9-37.4,37.2-37.4,64.9v187.3l33.6,33.7l3.8,3.8V228.5c0-20.7,16.7-37.5,37.4-37.5S303.4,207.9,303.4,228.5z'/%3e%3cpath%20d='M266,78.7c-27.2,0-52.7,7.3-74.7,20.1c-14.1,8.1-26.7,18.5-37.4,30.7c-23.2,26.4-37.4,61.1-37.4,99.1v112.4l37.4,37.5V228.5%20c0-33.3,14.4-63.2,37.4-83.8c10.8-9.7,23.4-17.3,37.4-22.2c11.7-4.2,24.3-6.4,37.4-6.4c61.9,0,112.1,50.3,112.1,112.4%20S327.9,340.9,266,340.9v37.5c82.5,0,149.4-67.1,149.4-149.8S348.5,78.7,266,78.7z'/%3e%3c/svg%3e",Kb="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2024.0.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2032%2036.9'%20style='enable-background:new%200%200%2032%2036.9;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:url(%23SVGID_1_);}%20.st1{fill:url(%23SVGID_2_);}%20.st2{fill:url(%23SVGID_3_);}%20.st3{fill:url(%23SVGID_4_);}%20%3c/style%3e%3clinearGradient%20id='SVGID_1_'%20gradientUnits='userSpaceOnUse'%20x1='32.95'%20y1='26.3048'%20x2='-0.9788'%20y2='12.7367'%20gradientTransform='matrix(1%200%200%20-1%200%2038)'%3e%3cstop%20offset='0'%20style='stop-color:%23C200FB'/%3e%3cstop%20offset='0.4897'%20style='stop-color:%233772FF'/%3e%3cstop%20offset='1'%20style='stop-color:%235AC4BE'/%3e%3c/linearGradient%3e%3cpath%20class='st0'%20d='M30.3,13.9v12.9L16,35L1.7,26.7V10.2L16,1.9l11,6.4l1.7-1L16,0L0,9.2v18.5l16,9.2l16-9.2V12.9L30.3,13.9z'/%3e%3clinearGradient%20id='SVGID_2_'%20gradientUnits='userSpaceOnUse'%20x1='32.2949'%20y1='27.9428'%20x2='-1.6339'%20y2='14.3747'%20gradientTransform='matrix(1%200%200%20-1%200%2038)'%3e%3cstop%20offset='0'%20style='stop-color:%23C200FB'/%3e%3cstop%20offset='0.4897'%20style='stop-color:%233772FF'/%3e%3cstop%20offset='1'%20style='stop-color:%235AC4BE'/%3e%3c/linearGradient%3e%3cpath%20class='st1'%20d='M12,26.8H9.6v-8h8c0.8,0,1.5-0.3,2-0.9c0.5-0.5,0.8-1.3,0.8-2c0-0.4-0.1-0.7-0.2-1.1c-0.1-0.3-0.4-0.7-0.6-0.9%20c-0.3-0.3-0.6-0.5-0.9-0.6S18,13,17.6,13h-8v-2.4h8c1.4,0,2.7,0.6,3.7,1.6c1,1,1.6,2.3,1.6,3.7c0,1.1-0.3,2.1-0.9,3%20c-0.6,0.8-1.4,1.5-2.3,1.9c-0.9,0.3-1.9,0.4-2.9,0.4H12V26.8z'/%3e%3clinearGradient%20id='SVGID_3_'%20gradientUnits='userSpaceOnUse'%20x1='35.6876'%20y1='19.4591'%20x2='1.7588'%20y2='5.891'%20gradientTransform='matrix(1%200%200%20-1%200%2038)'%3e%3cstop%20offset='0'%20style='stop-color:%23C200FB'/%3e%3cstop%20offset='0.4897'%20style='stop-color:%233772FF'/%3e%3cstop%20offset='1'%20style='stop-color:%235AC4BE'/%3e%3c/linearGradient%3e%3cpath%20class='st2'%20d='M22.8,26.6H20l-2.2-3.8c0.9-0.1,1.7-0.2,2.5-0.5L22.8,26.6z'/%3e%3clinearGradient%20id='SVGID_4_'%20gradientUnits='userSpaceOnUse'%20x1='32.0678'%20y1='28.5037'%20x2='-1.861'%20y2='14.9356'%20gradientTransform='matrix(1%200%200%20-1%200%2038)'%3e%3cstop%20offset='0'%20style='stop-color:%23C200FB'/%3e%3cstop%20offset='0.4897'%20style='stop-color:%233772FF'/%3e%3cstop%20offset='1'%20style='stop-color:%235AC4BE'/%3e%3c/linearGradient%3e%3cpath%20class='st3'%20d='M28.7,11.2l1.7,0.9l1.7-0.9V9.2l-1.7-1l-1.7,1V11.2z'/%3e%3c/svg%3e",Ib="/assets/uni-C5oaqT41.svg",Pb="data:image/svg+xml,%3csvg%20width='96'%20height='96'%20viewBox='0%200%2096%2096'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M48%2095C73.9574%2095%2095%2073.9574%2095%2048C95%2022.0426%2073.9574%201%2048%201C22.0426%201%201%2022.0426%201%2048C1%2073.9574%2022.0426%2095%2048%2095Z'%20fill='%230B53BF'/%3e%3cpath%20d='M56.4609%2013.7778V19.8291C68.5341%2023.4716%2077.3759%2034.6928%2077.3759%2047.9997C77.3759%2061.3066%2068.5341%2072.5278%2056.4609%2076.1703V82.2216C71.8534%2078.4616%2083.2509%2064.5672%2083.2509%2047.9997C83.2509%2031.4322%2071.8534%2017.5378%2056.4609%2013.7778Z'%20fill='white'/%3e%3cpath%20d='M18.625%2047.9997C18.625%2034.6928%2027.4669%2023.4716%2039.54%2019.8291V13.7778C24.1475%2017.5378%2012.75%2031.4322%2012.75%2047.9997C12.75%2064.5672%2024.1475%2078.4616%2039.54%2082.2216V76.1703C27.4669%2072.5572%2018.625%2061.3066%2018.625%2047.9997Z'%20fill='white'/%3e%3cpath%20d='M60.6319%2054.5506C60.6319%2042.5362%2041.8025%2047.4713%2041.8025%2040.8325C41.8025%2038.4531%2043.7119%2036.9256%2047.3544%2036.9256C51.7019%2036.9256%2053.2%2039.0406%2053.67%2041.89H59.6625C59.1279%2036.5426%2056.0588%2033.1662%2050.9382%2032.1604V27.4375H45.0632V31.9918C39.4534%2032.7062%2035.9275%2035.973%2035.9275%2040.8325C35.9275%2052.9056%2054.7863%2048.3819%2054.7863%2054.9031C54.7863%2057.3706%2052.4069%2059.0156%2048.3825%2059.0156C43.1244%2059.0156%2041.3913%2056.695%2040.745%2053.4931H34.8994C35.2781%2059.3502%2038.8897%2063.0159%2045.0632%2063.9307V68.5625H50.9382V63.9923C56.9633%2063.2139%2060.6319%2059.7089%2060.6319%2054.5506Z'%20fill='white'/%3e%3c/svg%3e",Wb="data:image/svg+xml,%3csvg%20id='Layer_1'%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20339.43%20295.27'%3e%3ctitle%3etether-usdt-logo%3c/title%3e%3cpath%20d='M62.15,1.45l-61.89,130a2.52,2.52,0,0,0,.54,2.94L167.95,294.56a2.55,2.55,0,0,0,3.53,0L338.63,134.4a2.52,2.52,0,0,0,.54-2.94l-61.89-130A2.5,2.5,0,0,0,275,0H64.45a2.5,2.5,0,0,0-2.3,1.45h0Z'%20style='fill:%2350af95;fill-rule:evenodd'/%3e%3cpath%20d='M191.19,144.8v0c-1.2.09-7.4,0.46-21.23,0.46-11,0-18.81-.33-21.55-0.46v0c-42.51-1.87-74.24-9.27-74.24-18.13s31.73-16.25,74.24-18.15v28.91c2.78,0.2,10.74.67,21.74,0.67,13.2,0,19.81-.55,21-0.66v-28.9c42.42,1.89,74.08,9.29,74.08,18.13s-31.65,16.24-74.08,18.12h0Zm0-39.25V79.68h59.2V40.23H89.21V79.68H148.4v25.86c-48.11,2.21-84.29,11.74-84.29,23.16s36.18,20.94,84.29,23.16v82.9h42.78V151.83c48-2.21,84.12-11.73,84.12-23.14s-36.09-20.93-84.12-23.15h0Zm0,0h0Z'%20style='fill:%23fff;fill-rule:evenodd'/%3e%3c/svg%3e",Jb="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2024.0.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20696.8%20697.9'%20style='enable-background:new%200%200%20696.8%20697.9;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:url(%23SVGID_1_);}%20.st1{fill:url(%23SVGID_2_);}%20.st2{fill:url(%23SVGID_3_);}%20.st3{fill:url(%23SVGID_4_);}%20%3c/style%3e%3clinearGradient%20id='SVGID_1_'%20gradientUnits='userSpaceOnUse'%20x1='716.2648'%20y1='102.511'%20x2='-52.0246'%20y2='621.5151'%20gradientTransform='matrix(1%200%200%20-1%200%20700)'%3e%3cstop%20offset='0'%20style='stop-color:%230F0C48'/%3e%3cstop%20offset='1'%20style='stop-color:%23262769'/%3e%3c/linearGradient%3e%3cpath%20class='st0'%20d='M348.4,697.9c-92.3-0.1-180.9-36.8-246.2-102.2C36.9,530.3,0.1,441.5,0,349c0.1-92.6,36.9-181.3,102.2-246.7%20C167.5,36.9,256.1,0.1,348.4,0c92.3,0.1,180.9,36.9,246.2,102.3c65.3,65.4,102.1,154.1,102.2,246.7%20c-0.1,92.6-36.9,181.3-102.2,246.7S440.7,697.9,348.4,697.9z%20M348.4,26.9c-85.2,0.1-166.9,34-227.2,94.4%20C60.9,181.6,26.9,263.5,26.8,349c0.1,85.4,34,167.4,94.3,227.8c60.3,60.4,142,94.3,227.3,94.3c85.2,0,167-33.9,227.3-94.3%20C636,516.3,669.9,434.4,670,349c-0.1-85.4-34.1-167.3-94.3-227.7C515.3,60.9,433.6,26.9,348.4,26.9L348.4,26.9z'/%3e%3clinearGradient%20id='SVGID_2_'%20gradientUnits='userSpaceOnUse'%20x1='697.22'%20y1='140.5214'%20x2='60.6977'%20y2='570.4864'%20gradientTransform='matrix(1%200%200%20-1%200%20700)'%3e%3cstop%20offset='0'%20style='stop-color:%230F0C48'/%3e%3cstop%20offset='1'%20style='stop-color:%23262769'/%3e%3c/linearGradient%3e%3cpath%20class='st1'%20d='M392.4,642.7c-76.5-0.1-149.8-30.5-203.9-84.7c-54.1-54.2-84.6-127.7-84.7-204.4%20c0.1-76.7,30.6-150.2,84.7-204.4C242.6,95,315.9,64.5,392.4,64.5c76.5,0.1,149.8,30.5,203.9,84.7c54.1,54.2,84.6,127.7,84.7,204.4%20c-0.1,76.7-30.6,150.2-84.7,204.4C542.3,612.2,468.9,642.7,392.4,642.7z%20M392.4,85.3c-71,0.1-139,28.3-189.2,78.6%20s-78.4,118.5-78.6,189.6c0.1,71.1,28.4,139.3,78.6,189.6c50.2,50.3,118.2,78.5,189.2,78.6c71-0.1,139-28.3,189.2-78.6%20c50.2-50.3,78.5-118.5,78.6-189.6c-0.1-71.1-28.4-139.3-78.6-189.6C531.4,113.7,463.4,85.4,392.4,85.3L392.4,85.3z'/%3e%3clinearGradient%20id='SVGID_3_'%20gradientUnits='userSpaceOnUse'%20x1='678.1428'%20y1='178.4569'%20x2='173.4188'%20y2='519.3949'%20gradientTransform='matrix(1%200%200%20-1%200%20700)'%3e%3cstop%20offset='0'%20style='stop-color:%230F0C48'/%3e%3cstop%20offset='1'%20style='stop-color:%23262769'/%3e%3c/linearGradient%3e%3cpath%20class='st2'%20d='M436.5,587.5c-60.7,0-118.8-24.2-161.7-67.2c-42.9-43-67.1-101.3-67.1-162.1c0.1-60.8,24.2-119.1,67.1-162.1%20s101.1-67.1,161.7-67.2c60.7,0,118.8,24.2,161.7,67.2c42.9,43,67,101.3,67.1,162.1c-0.1,60.8-24.2,119.1-67.1,162.1%20C555.3,563.3,497.1,587.5,436.5,587.5L436.5,587.5z%20M436.5,144c-56.7,0-111.1,22.6-151.2,62.8c-40.1,40.2-62.7,94.7-62.8,151.5%20c0.1,56.8,22.7,111.3,62.8,151.5s94.5,62.8,151.2,62.8c56.7,0,111.1-22.6,151.2-62.8c40.1-40.2,62.7-94.7,62.8-151.5%20c-0.1-56.9-22.7-111.4-62.8-151.5C547.5,166.6,493.2,144,436.5,144L436.5,144z'/%3e%3clinearGradient%20id='SVGID_4_'%20gradientUnits='userSpaceOnUse'%20x1='659.0872'%20y1='216.4527'%20x2='286.1323'%20y2='468.3527'%20gradientTransform='matrix(1%200%200%20-1%200%20700)'%3e%3cstop%20offset='0'%20style='stop-color:%230F0C48'/%3e%3cstop%20offset='1'%20style='stop-color:%23262769'/%3e%3c/linearGradient%3e%3cpath%20class='st3'%20d='M480.5,532.3c-44.8,0-87.8-17.9-119.5-49.6c-31.7-31.8-49.5-74.8-49.6-119.7c0.1-44.9,17.9-88,49.6-119.8%20c31.7-31.8,74.7-49.6,119.5-49.7c44.8,0,87.8,17.9,119.5,49.7c31.7,31.8,49.5,74.8,49.6,119.8c-0.1,44.9-17.9,88-49.6,119.7%20C568.3,514.4,525.3,532.3,480.5,532.3L480.5,532.3z%20M480.5,202.5c-42.5,0-83.2,17-113.2,47c-30,30.1-46.9,70.9-47,113.4%20c0.1,42.6,17,83.3,47,113.4c30,30.1,70.7,47,113.2,47c42.4,0,83.1-16.9,113.2-47c30-30.1,46.9-70.9,47-113.4%20c-0.1-42.6-17-83.4-47-113.4C563.7,219.4,523,202.5,480.5,202.5z'/%3e%3c/svg%3e",ej="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2024.0.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20600%20600'%20style='enable-background:new%200%200%20600%20600;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:%23EFBFA8;}%20%3c/style%3e%3cpath%20class='st0'%20d='M300,0C134.3,0,0,134.3,0,300s134.3,300,300,300s300-134.3,300-300S465.7,0,300,0z%20M449,347%20c-13-29-61-93-131-86c-73,8-156,49-180,109c-37-29-5-79,17-102c-5-22,9-70,17-90c3-17,17-29,24-32c-1-12,20-18,30-20l1-2%20c3-9,6-20,32-28c22-8,42,12,50,23c2-6,10-15,18-8c72,11,96,90,100,127c14,10,43,36,50,60c7,29-1,35-11,43l-2,2%20C459,349,453,349,449,347z%20M435,378c-15.7,65.8-68.5,116.3-135,129c-42,0-109-66-128-97c-39-3-30-23-21-32l-5-2c18-42,69-92,169-104%20c55-7,97,32,122,72C438,357,437,371,435,378z%20M216,328c6,15,24,39,50,11C264,331,250,317,216,328z%20M256,470c-4-6,20-9,32-10l16-4%20c3-13-3-14-6-13c-24,2-22-26-16-35c7-8,22-5,27-4c5,2,13,0,16-1c15-1,14,17,11,26c-1,12-18,16-26,16c-1,9,1,13,3,13l34,8%20c13,5,6,6,0,7c-17-11-29-7-37-5l-6,2c-14-5-29-4-35-2C266,471,259,475,256,470z%20M345,344c1-12,13-32,48-14C388,342,371,361,345,344z%20'/%3e%3c/svg%3e",Ot={BTC:zb,ETH:Lb,SOL:Bb,TRX:Ub,BNB:kb,ARB:Hb,BONK:qb,BUSD:$b,DAI:Gb,DOGE:Vb,JUP:Fb,LINK:Qb,ORCA:Yb,POPCAT:Xb,PYTH:Zb,RAY:Kb,UNI:Ib,USDC:Pb,USDT:Wb,W:Jb,WIF:ej};function gm(s){return Ot[s.toUpperCase()]}function ao(s,c=8){const i=typeof s=="number"?s.toString():s,o=i.indexOf(".");return o===-1?i:i.slice(0,o+1+c)}const tj=[{ticker:"BTC",name:"Bitcoin",logo:Ot.BTC,color:"#F7931A",price:"$66,916.00",change:.12,bal:"0.003295",usd:"$220.57",fav:!0},{ticker:"ETH",name:"Ethereum",logo:Ot.ETH,color:"#627EEA",price:"$2,053.97",change:-.12,bal:"0.07636",usd:"$156.51",fav:!1},{ticker:"SOL",name:"Solana",logo:Ot.SOL,color:"#9945FF",price:"$163.84",change:-1.57,bal:"0.07636",usd:"$156.51",fav:!1},{ticker:"TRX",name:"Tron",logo:Ot.TRX,color:"#FF060A",price:"$0.1197",change:1.33,bal:"0.07636",usd:"$156.51",fav:!1},{ticker:"BNB",name:"BNB",logo:Ot.BNB,color:"#F3BA2F",price:"$0.00",change:0,bal:"0.00000",usd:"$0.00",fav:!1}],nj={BTC:"BTC",ETH:"ETH",SOL:"SOL",TRX:"TRX",BSC:"BNB"},lj={BTC:"Bitcoin",ETH:"Ethereum",SOL:"Solana",TRX:"Tron",BSC:"BNB"},ym="#2A2D3A";function xm(s){return s==null?"$—":`$${s.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})}`}function bm(s){return s==null?"$—":s>=1?`$${s.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})}`:`$${s.toLocaleString("en-US",{minimumFractionDigits:4,maximumFractionDigits:6})}`}function jm(s){return tj.find(c=>c.ticker===s)}function aj(s){const{data:c,isLoading:i}=lo(s);if(!c)return{rows:[],isLoading:i};const o=nj[s],d=jm(o),h={ticker:o,name:lj[s],logo:gm(o)??(d==null?void 0:d.logo),color:(d==null?void 0:d.color)??ym,price:bm(c.native.usdPrice),change:0,bal:ao(c.native.formatted),usd:xm(c.native.usdValue),fav:!1},m=Object.entries(c.tokens??{}).map(([p,_])=>{const v=jm(p);return{ticker:p,name:(v==null?void 0:v.name)??p,logo:gm(p)??(v==null?void 0:v.logo),color:(v==null?void 0:v.color)??ym,price:bm(_.usdPrice),change:0,bal:ao(_.formatted),usd:xm(_.usdValue),fav:!1}});return{rows:[h,...m],isLoading:i}}const sj={ETH:["USDT","USDC","DAI","WBTC","LINK","UNI"],BSC:["USDT","USDC","BUSD","WBNB","DOGE"],BTC:[],TRX:["USDT","USDC"],SOL:["USDC","USDT","RAY","BONK","JTO","PYTH","WIF","JUP","ORCA","MNGO","MSOL","STSOL","SAMO","ATLAS"]},ij={ETH:{label:"Ethereum",nativeSymbol:"ETH",hasToken:!0,hasFeeTier:!0,addressPlaceholder:"0x…",unit:"wei",color:"#627EEA",nativeDecimals:18},BSC:{label:"BSC Chain",nativeSymbol:"BSC",hasToken:!0,hasFeeTier:!1,addressPlaceholder:"0x…",unit:"wei",color:"#F3BA2F",nativeDecimals:18},BTC:{label:"Bitcoin",nativeSymbol:"BTC",hasToken:!1,hasFeeTier:!0,addressPlaceholder:"bc1q…",unit:"satoshi",color:"#F7931A",nativeDecimals:8},TRX:{label:"Tron",nativeSymbol:"TRX",hasToken:!0,hasFeeTier:!1,addressPlaceholder:"T…",unit:"sun",color:"#FF060A",nativeDecimals:6},SOL:{label:"Solana",nativeSymbol:"SOL",hasToken:!0,hasFeeTier:!1,addressPlaceholder:"Fg3R…",unit:"lamport",color:"#9945FF",nativeDecimals:9}},Sm={BTC:"BTC",ETH:"ETH",SOL:"SOL",TRX:"TRX",BSC:"BSC"},cj="_overlay_1hejd_1",rj="_dialog_1hejd_14",oj="_dialogIn_1hejd_1",uj="_header_1hejd_37",dj="_title_1hejd_44",fj="_close_1hejd_50",hj="_selectsRow_1hejd_72",mj="_selectGroup_1hejd_79",pj="_selectLabel_1hejd_83",vj="_selectTrigger_1hejd_93",_j="_selectTriggerOpen_1hejd_112",gj="_selectValue_1hejd_117",yj="_chevron_1hejd_125",xj="_chevronOpen_1hejd_131",bj="_tokenDot_1hejd_137",jj="_speedDot_1hejd_158",Sj="_speedDot_slow_1hejd_165",Nj="_speedDot_normal_1hejd_170",wj="_speedDot_fast_1hejd_175",Cj="_dropdown_1hejd_182",Tj="_dropdownItem_1hejd_195",Ej="_dropdownItemActive_1hejd_215",Rj="_dropdownTicker_1hejd_220",Aj="_dropdownName_1hejd_225",Oj="_field_1hejd_233",Mj="_fieldLabel_1hejd_237",Dj="_input_1hejd_247",zj="_amountWrap_1hejd_283",Lj="_amountInput_1hejd_287",Bj="_amountTicker_1hejd_291",Uj="_maxHint_1hejd_304",kj="_maxBtn_1hejd_314",Hj="_errorMsg_1hejd_333",qj="_submitBtn_1hejd_346",re={overlay:cj,dialog:rj,dialogIn:oj,header:uj,title:dj,close:fj,selectsRow:hj,selectGroup:mj,selectLabel:pj,selectTrigger:vj,selectTriggerOpen:_j,selectValue:gj,chevron:yj,chevronOpen:xj,tokenDot:bj,speedDot:jj,speedDot_slow:Sj,speedDot_normal:Nj,speedDot_fast:wj,dropdown:Cj,dropdownItem:Tj,dropdownItemActive:Ej,dropdownTicker:Rj,dropdownName:Aj,field:Oj,fieldLabel:Mj,input:Dj,amountWrap:zj,amountInput:Lj,amountTicker:Bj,maxHint:Uj,maxBtn:kj,errorMsg:Hj,submitBtn:qj},Nm=[{value:"slow",label:"Медленно"},{value:"normal",label:"Нормально"},{value:"fast",label:"Быстро"}];function $j(s){var c;if(s instanceof Error)return s.message;if(s&&typeof s=="object"){const i=s;if(typeof i.message=="string")return i.message;if(typeof i.error=="string")return i.error;if(Array.isArray(i.detail)&&((c=i.detail[0])!=null&&c.msg))return String(i.detail[0].msg)}return"Что-то пошло не так. Попробуйте ещё раз."}function Gj({open:s,onClose:c,network:i,tokens:o=[],initialToken:d=""}){var De;const h=ij[i],m=sj[i],[p,_]=b.useState(d),[v,x]=b.useState("normal"),[y,w]=b.useState(""),[E,A]=b.useState(""),[O,N]=b.useState(null),M=Sb(),F=((De=Nm.find(se=>se.value===v))==null?void 0:De.label)??"Нормально",$=p===""?h.nativeSymbol:p,V=o.find(se=>se.ticker===(p===""?h.nativeSymbol:p));if(b.useEffect(()=>{_(d)},[d]),b.useEffect(()=>{_("")},[i]),b.useEffect(()=>{M.isSuccess&&c()},[M.isSuccess,c]),b.useEffect(()=>{if(!s){w(""),A(""),N(null),M.reset();return}const se=$e=>{$e.key==="Escape"&&c()};return document.addEventListener("keydown",se),()=>document.removeEventListener("keydown",se)},[s,c]),!s)return null;const K=h.hasToken,le=h.hasFeeTier,X=K||le,ne=K&&le?2:1;function de(){O?N(null):c()}function he(se,$e){const[ze,U=""]=se.split("."),Q=U.slice(0,$e).padEnd($e,"0");return(BigInt(ze||"0")*10n**BigInt($e)+BigInt(Q||"0")).toString()}function _e(){const $e=p===""?he(E,h.nativeDecimals):E;M.mutate({chain:i,to:y,amount:$e,...p?{token:p}:{},...h.hasFeeTier?{feeTier:v}:{}})}return l.jsx("div",{className:re.overlay,onClick:de,children:l.jsxs("div",{className:re.dialog,onClick:se=>se.stopPropagation(),children:[l.jsxs("div",{className:re.header,children:[l.jsxs("div",{className:re.headerLeft,children:[l.jsx("span",{className:re.chainDot,style:{background:h.color}}),l.jsxs("span",{className:re.title,children:["Отправить · ",h.label]})]}),l.jsx("button",{className:re.close,onClick:c,type:"button","aria-label":"Закрыть",children:l.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:l.jsx("path",{d:"M1 1l12 12M13 1L1 13",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})})})]}),X&&l.jsxs("div",{className:re.selectsRow,style:{gridTemplateColumns:`repeat(${ne}, 1fr)`},children:[K&&l.jsxs("div",{className:re.selectGroup,children:[l.jsx("label",{className:re.selectLabel,children:"Токен"}),l.jsxs("button",{type:"button",className:`${re.selectTrigger} ${O==="token"?re.selectTriggerOpen:""}`,onClick:()=>N(se=>se==="token"?null:"token"),children:[l.jsx("span",{className:re.tokenDot,style:{background:h.color},children:$[0]}),l.jsx("span",{className:re.selectValue,children:$}),l.jsx("svg",{className:`${re.chevron} ${O==="token"?re.chevronOpen:""}`,width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:l.jsx("path",{d:"M2 4l4 4 4-4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]}),O==="token"&&l.jsxs("div",{className:re.dropdown,children:[l.jsxs("button",{type:"button",className:`${re.dropdownItem} ${p===""?re.dropdownItemActive:""}`,onClick:()=>{_(""),N(null)},children:[l.jsx("span",{className:re.tokenDot,style:{background:h.color},children:h.nativeSymbol[0]}),l.jsx("span",{className:re.dropdownTicker,children:h.nativeSymbol}),l.jsx("span",{className:re.dropdownName,children:"Нативный"})]}),m.map(se=>l.jsxs("button",{type:"button",className:`${re.dropdownItem} ${p===se?re.dropdownItemActive:""}`,onClick:()=>{_(se),N(null)},children:[l.jsx("span",{className:re.tokenDot,style:{background:"rgba(255,255,255,0.12)"},children:se[0]}),l.jsx("span",{className:re.dropdownTicker,children:se})]},se))]})]}),le&&l.jsxs("div",{className:re.selectGroup,children:[l.jsx("label",{className:re.selectLabel,children:"Скорость"}),l.jsxs("button",{type:"button",className:`${re.selectTrigger} ${O==="speed"?re.selectTriggerOpen:""}`,onClick:()=>N(se=>se==="speed"?null:"speed"),children:[l.jsx("span",{className:`${re.speedDot} ${re[`speedDot_${v}`]}`}),l.jsx("span",{className:re.selectValue,children:F}),l.jsx("svg",{className:`${re.chevron} ${O==="speed"?re.chevronOpen:""}`,width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:l.jsx("path",{d:"M2 4l4 4 4-4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]}),O==="speed"&&l.jsx("div",{className:re.dropdown,children:Nm.map(se=>l.jsxs("button",{type:"button",className:`${re.dropdownItem} ${se.value===v?re.dropdownItemActive:""}`,onClick:()=>{x(se.value),N(null)},children:[l.jsx("span",{className:`${re.speedDot} ${re[`speedDot_${se.value}`]}`}),l.jsx("span",{children:se.label})]},se.value))})]})]}),l.jsxs("div",{className:re.field,children:[l.jsx("label",{className:re.fieldLabel,children:"Адрес кошелька"}),l.jsx("input",{className:re.input,type:"text",placeholder:h.addressPlaceholder,value:y,onChange:se=>w(se.target.value),autoComplete:"off",spellCheck:!1})]}),l.jsxs("div",{className:re.field,children:[l.jsx("label",{className:re.fieldLabel,children:"Количество"}),l.jsxs("div",{className:re.amountWrap,children:[l.jsx("input",{className:`${re.input} ${re.amountInput}`,type:"number",placeholder:"0.00",value:E,onChange:se=>A(se.target.value),min:"0",step:"any"}),l.jsx("span",{className:re.amountTicker,children:$})]}),V&&l.jsxs("div",{className:re.maxHint,children:["Макс:"," ",l.jsxs("button",{type:"button",className:re.maxBtn,onClick:()=>A(V.bal),children:[V.bal," ",$]})]})]}),M.isError&&l.jsx("div",{className:re.errorMsg,children:$j(M.error)}),l.jsx("button",{className:re.submitBtn,type:"button",disabled:M.isPending,onClick:_e,children:M.isPending?"Отправка…":"Отправить"})]})})}const Vj="_overlay_qs9u3_6",Fj="_dialog_qs9u3_18",Qj="_header_qs9u3_27",Yj="_title_qs9u3_34",Xj="_closeBtn_qs9u3_40",Zj="_body_qs9u3_55",Kj="_label_qs9u3_62",Ij="_fieldRow_qs9u3_68",Pj="_addressInput_qs9u3_73",Wj="_copyBtn_qs9u3_92",Jj="_copyBtnDone_qs9u3_118",e8="_skeleton_qs9u3_123",t8="_error_qs9u3_136",on={overlay:Vj,dialog:Fj,header:Qj,title:Yj,closeBtn:Xj,body:Zj,label:Kj,fieldRow:Ij,addressInput:Pj,copyBtn:Wj,copyBtnDone:Jj,skeleton:e8,error:t8},n8={ETH:"Ethereum",BSC:"BSC Smart Chain",BTC:"Bitcoin",TRX:"Tron",SOL:"Solana"};function l8({open:s,onClose:c,chain:i}){const{data:o,isLoading:d,isError:h}=uo(),[m,p]=b.useState(!1);if(b.useEffect(()=>{if(!s)return;function w(E){E.key==="Escape"&&c()}return window.addEventListener("keydown",w),()=>window.removeEventListener("keydown",w)},[s,c]),b.useEffect(()=>{s||p(!1)},[s]),!s)return null;const _=o==null?void 0:o.find(w=>w.chain===i),v=(_==null?void 0:_.address)??"";function x(){v&&navigator.clipboard.writeText(v).then(()=>{p(!0),setTimeout(()=>p(!1),2e3)})}function y(w){w.target===w.currentTarget&&c()}return l.jsx("div",{className:on.overlay,onMouseDown:y,children:l.jsxs("div",{className:on.dialog,children:[l.jsxs("div",{className:on.header,children:[l.jsxs("span",{className:on.title,children:["Получить ",n8[i]]}),l.jsx("button",{className:on.closeBtn,type:"button",onClick:c,"aria-label":"Закрыть",children:"✕"})]}),l.jsxs("div",{className:on.body,children:[d&&l.jsx("div",{className:on.skeleton}),h&&l.jsx("p",{className:on.error,children:"Не удалось загрузить адрес. Попробуйте позже."}),!d&&!h&&l.jsxs(l.Fragment,{children:[l.jsxs("label",{className:on.label,children:["Ваш ",i,"-адрес"]}),l.jsxs("div",{className:on.fieldRow,children:[l.jsx("input",{className:on.addressInput,type:"text",readOnly:!0,value:v,onFocus:w=>w.target.select()}),l.jsx("button",{className:`${on.copyBtn} ${m?on.copyBtnDone:""}`,type:"button",onClick:x,disabled:!v,children:m?"Скопировано!":"Копировать"})]})]})]})]})})}const a8="_wrap_2q74k_1",s8="_loading_2q74k_9",i8="_table_2q74k_14",c8="_thStar_2q74k_44",r8="_right_2q74k_48",o8="_center_2q74k_52",u8="_btnGroup_2q74k_57",d8="_star_2q74k_63",f8="_starOn_2q74k_78",h8="_tokId_2q74k_82",m8="_tokLogo_2q74k_88",p8="_price_2q74k_123",v8="_balCol_2q74k_150",_8="_sendBtn_2q74k_163",g8="_receiveBtn_2q74k_186",y8="_noFont_2q74k_209",x8="_mobileList_2q74k_214",b8="_card_2q74k_218",j8="_cardInfo_2q74k_230",S8="_cardTop_2q74k_235",N8="_cardTicker_2q74k_242",w8="_cardName_2q74k_248",C8="_cardBalCrypto_2q74k_254",T8="_cardBot_2q74k_261",E8="_cardPrice_2q74k_267",R8="_cardBalUsd_2q74k_279",A8="_mobileActions_2q74k_300",we={wrap:a8,loading:s8,table:i8,thStar:c8,right:r8,center:o8,btnGroup:u8,star:d8,starOn:f8,tokId:h8,tokLogo:m8,price:p8,balCol:v8,sendBtn:_8,receiveBtn:g8,noFont:y8,mobileList:x8,card:b8,cardInfo:j8,cardTop:S8,cardTicker:N8,cardName:w8,cardBalCrypto:C8,cardBot:T8,cardPrice:E8,cardBalUsd:R8,mobileActions:A8};function O8({chain:s}){const{rows:c,isLoading:i}=aj(s),[o,d]=b.useState({}),[h,m]=b.useState({open:!1,network:"ETH"}),[p,_]=b.useState({open:!1,chain:"ETH"});function v(N){const M=Sm[N]??s;m({open:!0,network:M})}function x(){m(N=>({...N,open:!1}))}function y(N){const M=Sm[N]??s;_({open:!0,chain:M})}function w(){_(N=>({...N,open:!1}))}function E(N){d(M=>({...M,[N]:!M[N]}))}const A=l.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"#4A6DFF",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:l.jsx("path",{d:"M7 17L17 7M17 7H7M17 7v10"})}),O=l.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"#00C48C",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:l.jsx("path",{d:"M17 7L7 17M7 17H17M7 17V7"})});return l.jsxs(l.Fragment,{children:[l.jsxs("div",{className:`${we.wrap} ${i?we.loading:""}`,children:[l.jsxs("table",{className:we.table,children:[l.jsx("thead",{children:l.jsxs("tr",{children:[l.jsx("th",{className:we.thStar,children:"☆"}),l.jsx("th",{children:"Токены"}),l.jsx("th",{className:we.right,children:"Цена"}),l.jsx("th",{className:we.right,children:"Баланс"}),l.jsx("th",{className:we.center})]})}),l.jsx("tbody",{children:c.map(N=>l.jsxs("tr",{children:[l.jsx("td",{children:l.jsx("button",{className:`${we.star} ${o[N.ticker]?we.starOn:""}`,onClick:()=>E(N.ticker),type:"button","aria-label":o[N.ticker]?"Убрать из избранного":"В избранное",children:"★"})}),l.jsx("td",{children:l.jsxs("div",{className:we.tokId,children:[l.jsx("div",{className:we.tokLogo,style:{background:N.color},children:N.logo?l.jsx("img",{src:N.logo,alt:N.ticker,className:""}):N.ticker[0]}),l.jsxs("div",{className:we.balCol,children:[l.jsx("b",{className:we.cardTicker,children:N.ticker}),l.jsx("span",{className:we.noFont,children:N.name})]})]})}),l.jsx("td",{className:we.right,children:l.jsx("span",{className:we.price,children:N.price})}),l.jsx("td",{className:we.right,children:l.jsxs("div",{className:we.balCol,children:[l.jsx("b",{children:N.bal}),l.jsx("span",{children:N.usd})]})}),l.jsx("td",{className:we.center,children:l.jsxs("div",{className:we.btnGroup,children:[l.jsxs("button",{className:we.receiveBtn,type:"button",onClick:M=>{M.stopPropagation(),y(N.ticker)},children:[O,"Получить"]}),l.jsxs("button",{className:we.sendBtn,type:"button",onClick:M=>{M.stopPropagation(),v(N.ticker)},children:[A,"Отправить"]})]})})]},N.ticker))})]}),l.jsx("div",{className:we.mobileList,children:c.map(N=>l.jsxs("div",{className:we.card,children:[l.jsx("button",{className:`${we.star} ${o[N.ticker]?we.starOn:""}`,onClick:()=>E(N.ticker),type:"button","aria-label":o[N.ticker]?"Убрать из избранного":"В избранное",children:"★"}),l.jsx("div",{className:we.tokLogo,style:{background:N.color},children:N.logo?l.jsx("img",{src:N.logo,alt:N.ticker,className:""}):N.ticker[0]}),l.jsxs("div",{className:we.cardInfo,children:[l.jsxs("div",{className:we.cardTop,children:[l.jsxs("div",{children:[l.jsx("span",{className:we.cardTicker,children:N.ticker}),l.jsx("span",{className:we.cardName,children:N.name})]}),l.jsx("span",{className:we.cardBalCrypto,children:N.bal})]}),l.jsxs("div",{className:we.cardBot,children:[l.jsx("span",{className:we.cardPrice,children:N.price}),l.jsx("span",{className:we.cardBalUsd,children:N.usd})]})]})]},N.ticker))})]}),l.jsxs("div",{className:we.mobileActions,children:[l.jsxs("button",{className:we.receiveBtn,type:"button",onClick:()=>{var N;return y(((N=c[0])==null?void 0:N.ticker)??"")},children:[O,"Получить"]}),l.jsxs("button",{className:we.sendBtn,type:"button",onClick:()=>{var N;return v(((N=c[0])==null?void 0:N.ticker)??"")},children:[A,"Отправить"]})]}),l.jsx(Gj,{open:h.open,onClose:x,network:h.network,tokens:c}),l.jsx(l8,{open:p.open,onClose:w,chain:p.chain})]})}const M8="_nav_ip34n_1",D8="_logo_ip34n_11",z8="_ticker_ip34n_16",L8="_tick_ip34n_16",B8="_accountWrapper_ip34n_42",U8="_account_ip34n_42",k8="_dropdown_ip34n_56",H8="_dropdownItem_ip34n_70",q8="_danger_ip34n_89",$8="_avatar_ip34n_93",Kt={nav:M8,logo:D8,ticker:z8,tick:L8,accountWrapper:B8,account:U8,dropdown:k8,dropdownItem:H8,danger:q8,avatar:$8},wm=["BTC","ETH","SOL"],G8=s=>s?s[0].toUpperCase()+s.slice(1).toLowerCase():"";function V8(s){return s==null?"$—":s>=1?`$${s.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})}`:`$${s.toLocaleString("en-US",{minimumFractionDigits:4,maximumFractionDigits:6})}`}function Ia(){const[s,c]=b.useState(!1),[i,o]=b.useState(!1),d=b.useRef(null),h=Mn(),m=fa(),{data:p}=ci(),{data:_}=jb(wm),v=p?[p.first_name,p.middle_name].filter(Boolean).map(G8).join(" "):"",{mutate:x}=qt({mutationFn:J5,onSuccess:()=>{An.clear(),m.setQueryData(oo,null),h(fe.HOME)},onError:()=>o(!0)});b.useEffect(()=>{function w(E){d.current&&!d.current.contains(E.target)&&c(!1)}return document.addEventListener("mousedown",w),()=>document.removeEventListener("mousedown",w)},[]);function y(){x(),c(!1)}return l.jsxs(l.Fragment,{children:[l.jsxs("nav",{className:Kt.nav,children:[l.jsx("a",{href:"/",className:Kt.logo,children:l.jsx("img",{src:ha,alt:"ЭКСА"})}),l.jsx("div",{className:Kt.ticker,children:wm.map(w=>{var E;return l.jsxs("div",{className:Kt.tick,children:[l.jsx("b",{children:w}),l.jsx("span",{children:V8((E=_==null?void 0:_[w])==null?void 0:E.usd)})]},w)})}),l.jsxs("div",{className:Kt.accountWrapper,ref:d,children:[l.jsxs("button",{className:Kt.account,onClick:()=>c(w=>!w),children:[p!=null&&p.avatar_link?l.jsx("img",{src:p.avatar_link,alt:"",className:Kt.avatar}):l.jsx("div",{className:Kt.avatar}),l.jsx("span",{children:v||"Test account"})]}),s&&l.jsxs("div",{className:Kt.dropdown,children:[l.jsx(Ht,{to:fe.PROFILE,className:Kt.dropdownItem,onClick:()=>c(!1),children:"Личный кабинет"}),l.jsx(Ht,{to:fe.WALLET,className:Kt.dropdownItem,onClick:()=>c(!1),children:"Кошелёк"}),l.jsx(Ht,{to:fe.TRANSACTIONS,className:Kt.dropdownItem,onClick:()=>c(!1),children:"Транзакции"}),l.jsx("button",{className:`${Kt.dropdownItem} ${Kt.danger}`,onClick:y,children:"Выйти"})]})]})]}),i&&l.jsx(A2,{status:"error",message:"Произошла ошибка сервера",onClose:()=>o(!1)})]})}const F8="_tabs_1ne0a_1",Q8="_tab_1ne0a_1",Y8="_active_1ne0a_31",X8="_icon_1ne0a_37",Xr={tabs:F8,tab:Q8,active:Y8,icon:X8},Z8=[{chain:"BTC",label:"BTC",icon:Ot.BTC},{chain:"ETH",label:"ETH",icon:Ot.ETH},{chain:"SOL",label:"SOL",icon:Ot.SOL},{chain:"TRX",label:"TRX",icon:Ot.TRX},{chain:"BSC",label:"BSC",icon:Ot.BNB}];function K8(){return l.jsx("div",{className:Xr.tabs,children:Z8.map(s=>l.jsxs(Tp,{to:`/wallet/${s.chain.toLowerCase()}`,className:({isActive:c})=>`${Xr.tab} ${c?Xr.active:""}`,children:[l.jsx("img",{src:s.icon,alt:s.label,className:Xr.icon}),l.jsx("span",{children:s.label})]},s.chain))})}const I8="_page_10fz2_1",P8="_main_10fz2_8",W8="_glow_10fz2_17",J8="_error_10fz2_29",e7="_noWallet_10fz2_38",rc={page:I8,main:P8,glow:W8,error:J8,noWallet:e7};function Cm(){var y;const{data:s,isLoading:c,isError:i}=ci(),{error:o}=H2(),{mutate:d,isPending:h}=Nb(),m=Mn(),{chain:p}=B4(),_=(y=o==null?void 0:o.error)==null?void 0:y.includes("No wallets");if(c)return null;if(i)return l.jsx("div",{className:rc.error,children:"Произошла ошибка. Попробуйте обновить страницу."});if(s&&!s.kyc_verified)return l.jsx(pc,{to:fe.KYC,replace:!0});const v=p==null?void 0:p.toUpperCase(),x=v&&rb.includes(v)?v:void 0;return!_&&!x?l.jsx(pc,{to:"/wallet/btc",replace:!0}):l.jsxs("div",{className:rc.page,children:[l.jsx(Ia,{}),l.jsxs("main",{className:rc.main,children:[l.jsx("div",{className:rc.glow}),_?l.jsxs("div",{className:rc.noWallet,children:[l.jsx("p",{children:"У вас пока нет кошелька. Создайте его, чтобы начать."}),l.jsx(Rn,{variant:"outline",onClick:()=>d(void 0,{onSuccess:()=>m(fe.SEED_PHRASE)}),disabled:h,children:h?"Создание...":"Создать кошелёк"})]}):l.jsxs(l.Fragment,{children:[l.jsx(Db,{}),l.jsx(K8,{}),l.jsx(O8,{chain:x})]})]})]})}const r3=Ot.BTC,o3=Ot.ETH,u3=Ot.SOL,d3=Ot.TRX,f3=Ot.ARB,v2={BTC:{symbol:"BTC",letter:"₿",logo:r3,color:"#F7931A",network:"BITCOIN",balance:0,usdRate:67412,decimals:8},ETH:{symbol:"ETH",letter:"E",logo:o3,color:"#627EEA",network:"ETHEREUM",balance:0,usdRate:3521,decimals:18},SOL:{symbol:"SOL",letter:"S",logo:u3,color:"#9945FF",network:"SOLANA",balance:.994,usdRate:163.84,decimals:9},TRX:{symbol:"TRX",letter:"T",logo:d3,color:"#FF060A",network:"TRON",balance:0,usdRate:.12,decimals:6},ARB:{symbol:"ARB",letter:"A",logo:f3,color:"#4A6DFF",network:"ARBITRUM",balance:0,usdRate:.92,decimals:18},USDC:{symbol:"USDC",letter:"$",color:"#2775CA",network:"SOLANA",balance:0,usdRate:1,decimals:6},USDT:{symbol:"USDT",letter:"$",color:"#26A17B",network:"ETHEREUM",balance:0,usdRate:1,decimals:6}},_2=Object.values(v2),Tm={BTC:{letter:"₿",logo:r3,color:"#F7931A"},ETH:{letter:"E",logo:o3,color:"#627EEA"},BSC:{letter:"B",color:"#F3BA2F"},SOL:{letter:"S",logo:u3,color:"#9945FF"},TRX:{letter:"T",logo:d3,color:"#FF060A"},ARB:{letter:"A",logo:f3,color:"#4A6DFF"},USDC:{letter:"$",color:"#2775CA"},USDT:{letter:"$",color:"#26A17B"},DAI:{letter:"D",color:"#F5AC37"},BUSD:{letter:"B",color:"#F0B90B"},WBTC:{letter:"W",color:"#F7931A"},LINK:{letter:"L",color:"#2A5ADA"},UNI:{letter:"U",color:"#FF007A"},WBNB:{letter:"W",color:"#F3BA2F"},DOGE:{letter:"D",color:"#C2A633"},JUP:{letter:"J",color:"#C7A52D"},WIF:{letter:"W",color:"#9333EA"},BONK:{letter:"B",color:"#FF8C00"},RAY:{letter:"R",color:"#5AC4BE"},ORCA:{letter:"O",color:"#1B8EF2"},PYTH:{letter:"P",color:"#8B5CF6"},JTO:{letter:"J",color:"#06B6D4"},W:{letter:"W",color:"#6B7280"},PUMP:{letter:"P",color:"#00D4AA"},POPCAT:{letter:"P",color:"#FF6B6B"},TRUMP:{letter:"T",color:"#E63946"},PENGU:{letter:"P",color:"#60A5FA"}},t7={ETH:"ETH",BSC:"BSC",BTC:"BTC",TRX:"TRX",SOL:"SOL"};function g2(s){const c=[],i=t7[s.chain]??s.chain,o=Tm[i];c.push({symbol:i,letter:(o==null?void 0:o.letter)??i[0],color:(o==null?void 0:o.color)??"#888",logo:o==null?void 0:o.logo,network:s.chain,balance:parseFloat(s.native.formatted),usdRate:s.native.usdPrice,decimals:s.native.decimals});for(const[d,h]of Object.entries(s.tokens)){const m=Tm[d];c.push({symbol:d,letter:(m==null?void 0:m.letter)??d[0],color:(m==null?void 0:m.color)??"#888",logo:m==null?void 0:m.logo,network:s.chain,balance:parseFloat(h.formatted),usdRate:h.usdPrice,decimals:h.decimals})}return c}const Em=82.2578;function h3(){const[s,c]=b.useState("0"),[i,o]=b.useState(v2.SOL),[d,h]=b.useState(v2.USDC),[m,p]=b.useState(!1),_=parseFloat(s)||0,v=(_*Em).toFixed(4),x=(_*i.usdRate).toFixed(2),y=(_*Em*d.usdRate).toFixed(2);function w(N){c(N)}function E(N){c((i.balance*N/100).toFixed(4))}function A(){o(d),h(i)}function O(){p(!0),setTimeout(()=>p(!1),400)}return{fromAmount:s,toAmount:v,fromUsd:x,toUsd:y,fromToken:i,toToken:d,isRefreshing:m,setFromAmount:w,setPercent:E,swapTokens:A,refreshRate:O,setFromToken:o,setToToken:h}}const n7="_wrap_18yiu_1",l7="_trigger_18yiu_6",a7="_name_18yiu_22",s7="_chevron_18yiu_29",i7="_chevronOpen_18yiu_37",c7="_dropdown_18yiu_41",r7="_dropdownWrapper_18yiu_47",o7="_option_18yiu_60",u7="_optionActive_18yiu_78",d7="_optionInfo_18yiu_82",f7="_optionSymbol_18yiu_90",h7="_optionNetwork_18yiu_96",m7="_check_18yiu_103",p7="_triggerCompact_18yiu_110",v7="_nameCompact_18yiu_116",zt={wrap:n7,trigger:l7,name:a7,chevron:s7,chevronOpen:i7,dropdown:c7,dropdownWrapper:r7,option:o7,optionActive:u7,optionInfo:d7,optionSymbol:f7,optionNetwork:h7,check:m7,triggerCompact:p7,nameCompact:v7};function Rm({value:s,options:c,onChange:i,compact:o=!1}){const[d,h]=b.useState(!1),m=b.useRef(null);b.useEffect(()=>{function _(v){m.current&&!m.current.contains(v.target)&&h(!1)}return document.addEventListener("mousedown",_),()=>document.removeEventListener("mousedown",_)},[]);function p(_){i(_),h(!1)}return l.jsxs("div",{className:zt.wrap,ref:m,children:[l.jsxs("button",{className:`${zt.trigger} ${o?zt.triggerCompact:""}`,onClick:()=>h(_=>!_),children:[l.jsx(sm,{letter:s.letter,color:s.color,logo:s.logo,size:o?24:40}),l.jsx("span",{className:`${zt.name} ${o?zt.nameCompact:""}`,children:s.symbol}),l.jsx("span",{className:`${zt.chevron} ${d?zt.chevronOpen:""}`,children:"▾"})]}),d&&l.jsx("div",{className:zt.dropdownWrapper,children:l.jsx("div",{className:zt.dropdown,children:c.map(_=>l.jsxs("button",{className:`${zt.option} ${_.symbol===s.symbol?zt.optionActive:""}`,onClick:()=>p(_),children:[l.jsx(sm,{letter:_.letter,color:_.color,logo:_.logo,size:32}),l.jsxs("div",{className:zt.optionInfo,children:[l.jsx("span",{className:zt.optionSymbol,children:_.symbol}),l.jsx("span",{className:zt.optionNetwork,children:_.network})]}),_.symbol===s.symbol&&l.jsx("span",{className:zt.check,children:"✓"})]},_.symbol))})})]})}const _7="_wrapper_19brp_1",g7="_pillsOuter_19brp_8",y7="_card_19brp_13",x7="_top_19brp_20",b7="_label_19brp_33",j7="_networkPills_19brp_54",S7="_networkBtn_19brp_60",N7="_networkBtnActive_19brp_79",w7="_pillsInner_19brp_85",C7="_pill_19brp_8",T7="_selectTop_19brp_109",E7="_selectMid_19brp_113",R7="_mid_19brp_118",A7="_input_19brp_126",O7="_display_19brp_142",M7="_int_19brp_151",D7="_dec_19brp_156",z7="_bottom_19brp_161",L7="_usd_19brp_167",B7="_balance_19brp_176",U7="_max_19brp_184",ct={wrapper:_7,pillsOuter:g7,card:y7,top:x7,label:b7,networkPills:j7,networkBtn:S7,networkBtnActive:N7,pillsInner:w7,pill:C7,selectTop:T7,selectMid:E7,mid:R7,input:A7,display:O7,int:M7,dec:D7,bottom:z7,usd:L7,balance:B7,max:U7},k7=["ETH","BSC","TRX","SOL"],H7=[25,50,100];function so({mode:s,token:c,tokenOptions:i,amount:o,usd:d,onTokenChange:h,onAmountChange:m,onSetPercent:p,selectedNetwork:_,onNetworkChange:v,hideNetworkSelect:x}){const[y,w]=ao(o,8).split("."),E=p&&l.jsx(l.Fragment,{children:H7.map(A=>l.jsxs("button",{className:ct.pill,onClick:()=>p(A),children:[A,"%"]},A))});return l.jsxs("div",{className:ct.wrapper,children:[s==="from"&&E&&l.jsx("div",{className:ct.pillsOuter,children:E}),l.jsxs("div",{className:ct.card,children:[l.jsxs("div",{className:ct.top,children:[l.jsx("div",{className:ct.label,children:s==="from"&&!x&&l.jsx("div",{className:ct.networkPills,children:k7.map(A=>l.jsx("button",{className:`${ct.networkBtn} ${A===_?ct.networkBtnActive:""}`,onClick:()=>v==null?void 0:v(A),children:A},A))})}),s==="from"&&E&&l.jsx("div",{className:ct.pillsInner,children:E}),l.jsx("div",{className:ct.selectTop,children:l.jsx(Rm,{value:c,options:i,onChange:h,compact:!0})})]}),l.jsxs("div",{className:ct.mid,children:[s==="from"?l.jsx("input",{className:ct.input,type:"text",value:o,onChange:A=>{const O=A.target.value;(/^(\d+\.?\d*|\.?\d*)$/.test(O)||O==="")&&(m==null||m(O))},placeholder:"0"}):l.jsxs("div",{className:ct.display,children:[l.jsx("span",{className:ct.int,children:y}),w&&l.jsxs("span",{className:ct.dec,children:[".",w]})]}),l.jsx("div",{className:ct.selectMid,children:l.jsx(Rm,{value:c,options:i,onChange:h})})]}),l.jsxs("div",{className:ct.bottom,children:[d&&l.jsxs("span",{className:ct.usd,children:["≈ $",d]}),l.jsxs("span",{className:ct.balance,children:[l.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"var(--text-secondary)",strokeWidth:"2",children:[l.jsx("rect",{x:"2",y:"6",width:"20",height:"14",rx:"3"}),l.jsx("path",{d:"M6 6V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v2"})]}),ao(c.balance,8),s==="from"&&p&&l.jsx("button",{className:ct.max,onClick:()=>p(100),children:"МАКС"})]})]})]})]})}const q7="_wrap_wqzoz_1",$7="_line_wqzoz_11",G7="_circle_wqzoz_19",q0={wrap:q7,line:$7,circle:G7};function m3({onClick:s}){const[c,i]=b.useState(!1);function o(){i(!0),setTimeout(()=>i(!1),300),s()}return l.jsxs("div",{className:q0.wrap,children:[l.jsx("div",{className:q0.line}),l.jsx("button",{className:q0.circle,style:{transform:c?"rotate(180deg)":"rotate(0deg)"},onClick:o,"aria-label":"Поменять токены",children:"⇅"})]})}const V7="_panel_16d4z_1",F7="_row_16d4z_10",Q7="_label_16d4z_22",Y7="_value_16d4z_30",X7="_link_16d4z_36",oc={panel:V7,row:F7,label:Q7,value:Y7,link:X7};function p3({gasFee:s}){const c=[{label:"ПРОВАЙДЕР",value:"ЛУЧШИЙ",link:!1},{label:"СКОЛЬЖЕНИЕ",value:"АВТО (0.5%)",link:!0},{label:"СЕТЕВОЙ СБОР",value:s?`$${s}`:"—",link:!1}];return l.jsx("div",{className:oc.panel,children:c.map(({label:i,value:o,link:d})=>l.jsxs("div",{className:oc.row,children:[l.jsx("span",{className:oc.label,children:i}),l.jsx("span",{className:`${oc.value} ${d?oc.link:""}`,children:o})]},i))})}const Z7="_overlay_1gegs_1",K7="_card_1gegs_12",I7="_header_1gegs_24",P7="_title_1gegs_30",W7="_closeBtn_1gegs_36",J7="_flow_1gegs_51",e9="_token_1gegs_57",t9="_tokenLabel_1gegs_67",n9="_tokenAmount_1gegs_75",l9="_tokenUsd_1gegs_81",a9="_arrow_1gegs_86",s9="_details_1gegs_93",i9="_row_1gegs_99",c9="_rowLabel_1gegs_105",r9="_rowValue_1gegs_110",o9="_impact_1gegs_116",u9="_confirmBtn_1gegs_120",Ke={overlay:Z7,card:K7,header:I7,title:P7,closeBtn:W7,flow:J7,token:e9,tokenLabel:t9,tokenAmount:n9,tokenUsd:l9,arrow:a9,details:s9,row:i9,rowLabel:c9,rowValue:r9,impact:o9,confirmBtn:u9};function v3({data:s,onConfirm:c,onClose:i}){const{details:o,fees:d}=s,{currencyIn:h,currencyOut:m,totalImpact:p,rate:_}=o,v=parseFloat(p.percent),x=parseFloat(_).toFixed(4);return l.jsx("div",{className:Ke.overlay,onClick:i,children:l.jsxs("div",{className:Ke.card,onClick:y=>y.stopPropagation(),children:[l.jsxs("div",{className:Ke.header,children:[l.jsx("span",{className:Ke.title,children:"Подтвердить своп"}),l.jsx("button",{className:Ke.closeBtn,onClick:i,children:"×"})]}),l.jsxs("div",{className:Ke.flow,children:[l.jsxs("div",{className:Ke.token,children:[l.jsx("span",{className:Ke.tokenLabel,children:"Отдаёте"}),l.jsxs("span",{className:Ke.tokenAmount,children:[h.amountFormatted," ",h.currency.symbol]}),l.jsxs("span",{className:Ke.tokenUsd,children:["≈ $",h.amountUsd]})]}),l.jsx("div",{className:Ke.arrow,children:"↓"}),l.jsxs("div",{className:Ke.token,children:[l.jsx("span",{className:Ke.tokenLabel,children:"Получаете"}),l.jsxs("span",{className:Ke.tokenAmount,children:[m.amountFormatted," ",m.currency.symbol]}),l.jsxs("span",{className:Ke.tokenUsd,children:["≈ $",m.amountUsd]})]})]}),l.jsxs("div",{className:Ke.details,children:[l.jsxs("div",{className:Ke.row,children:[l.jsx("span",{className:Ke.rowLabel,children:"Курс"}),l.jsxs("span",{className:Ke.rowValue,children:["1 ",h.currency.symbol," = ",x," ",m.currency.symbol]})]}),l.jsxs("div",{className:Ke.row,children:[l.jsx("span",{className:Ke.rowLabel,children:"Комиссия сети"}),l.jsxs("span",{className:Ke.rowValue,children:["$",d.gas.amountUsd]})]}),l.jsxs("div",{className:Ke.row,children:[l.jsx("span",{className:Ke.rowLabel,children:"Влияние на цену"}),l.jsxs("span",{className:`${Ke.rowValue} ${v<0?Ke.impact:""}`,children:[p.percent,"%"]})]})]}),l.jsx("button",{className:Ke.confirmBtn,onClick:c,children:"Подтвердить"})]})})}const d9="_overlay_cse4p_1",f9="_card_cse4p_12",h9="_header_cse4p_24",m9="_title_cse4p_30",p9="_closeBtn_cse4p_36",v9="_flow_cse4p_51",_9="_token_cse4p_57",g9="_tokenLabel_cse4p_67",y9="_tokenAmount_cse4p_75",x9="_minOut_cse4p_81",b9="_arrow_cse4p_86",j9="_details_cse4p_93",S9="_row_cse4p_99",N9="_rowLabel_cse4p_105",w9="_rowValue_cse4p_110",C9="_confirmBtn_cse4p_116",pt={overlay:d9,card:f9,header:h9,title:m9,closeBtn:p9,flow:v9,token:_9,tokenLabel:g9,tokenAmount:y9,minOut:x9,arrow:b9,details:j9,row:S9,rowLabel:N9,rowValue:w9,confirmBtn:C9};function _3({quote:s,fromSymbol:c,toSymbol:i,amountHuman:o,onConfirm:d,onClose:h}){const{expectedOutFormatted:m,minOutFormatted:p,fees:_}=s;return l.jsx("div",{className:pt.overlay,onClick:h,children:l.jsxs("div",{className:pt.card,onClick:v=>v.stopPropagation(),children:[l.jsxs("div",{className:pt.header,children:[l.jsx("span",{className:pt.title,children:"Подтвердить своп"}),l.jsx("button",{className:pt.closeBtn,onClick:h,children:"×"})]}),l.jsxs("div",{className:pt.flow,children:[l.jsxs("div",{className:pt.token,children:[l.jsx("span",{className:pt.tokenLabel,children:"Отдаёте"}),l.jsxs("span",{className:pt.tokenAmount,children:[o," ",c]})]}),l.jsx("div",{className:pt.arrow,children:"↓"}),l.jsxs("div",{className:pt.token,children:[l.jsx("span",{className:pt.tokenLabel,children:"Получаете"}),l.jsxs("span",{className:pt.tokenAmount,children:[m," ",i]}),l.jsxs("span",{className:pt.minOut,children:["Минимум: ",p," ",i]})]})]}),l.jsx("div",{className:pt.details,children:l.jsxs("div",{className:pt.row,children:[l.jsx("span",{className:pt.rowLabel,children:"Комиссия сети"}),l.jsxs("span",{className:pt.rowValue,children:[_.network.amountFormatted," ",_.network.asset," (≈$",_.network.amountUsd,")"]})]})}),l.jsx("button",{className:pt.confirmBtn,onClick:d,children:"Подтвердить"})]})})}const T9="_form_1fk2f_1",E9={form:T9},R9={ETH:1,BSC:56,SOL:792703809},Am={SOL:"11111111111111111111111111111111",DEFAULT:"0x0000000000000000000000000000000000000000"};function Om(s){return Am[s]??Am.DEFAULT}function A9(){var me,ge,Ae,ot;const{fromAmount:s,fromUsd:c,fromToken:i,toToken:o,setFromAmount:d,setPercent:h,swapTokens:m,setFromToken:p,setToToken:_}=h3(),[v,x]=b.useState("ETH"),[y,w]=b.useState(null),[E,A]=b.useState(null),O=v==="TRX",{data:N}=lo(v),M=N?g2(N):_2;b.useEffect(()=>{M.length!==0&&(p(ye=>M.find($t=>$t.symbol===ye.symbol)??M[0]),_(ye=>M.find($t=>$t.symbol===ye.symbol)??M[1]??M[0]))},[N,v]);const F=Ws(s,500),{data:$}=uo(),{data:V}=t3(),K=parseFloat(F),le=R9[v],X=(me=$==null?void 0:$.find(ye=>ye.chain===v))==null?void 0:me.address,ne=((ge=V==null?void 0:V.find(ye=>ye.chain===v&&ye.symbol===i.symbol))==null?void 0:ge.contract)??Om(v),de=((Ae=V==null?void 0:V.find(ye=>ye.chain===v&&ye.symbol===o.symbol))==null?void 0:Ae.contract)??Om(v),he=!O&&le&&X&&K>0?{user:X,recipient:X,originChainId:le,destinationChainId:le,originCurrency:ne,destinationCurrency:de,amount:Math.round(K*Math.pow(10,i.decimals)).toString(),tradeType:"EXACT_INPUT"}:null,{data:_e}=n3(he),{mutate:De,isPending:se}=l3(),{mutate:$e}=a3(),ze=O&&K>0?{from:i.symbol,to:o.symbol,amountHuman:F}:null,{data:U}=s3(ze),{mutate:Q,isPending:oe}=i3(),{mutate:Le}=c3(),ke=O?(U==null?void 0:U.expectedOutFormatted)??"0":(_e==null?void 0:_e.details.currencyOut.amountFormatted)??"0",T=O||_e==null?void 0:_e.details.currencyOut.amountUsd,H=O?(ot=U==null?void 0:U.fees.network.amountUsd)==null?void 0:ot.toString():_e==null?void 0:_e.fees.gas.amountUsd,I=O?K<=0||oe:!he||se;function J(){if(O){if(!ze)return;Q(ze,{onSuccess:ye=>A(ye)})}else{if(!he)return;De(he,{onSuccess:ye=>w(ye)})}}return l.jsxs("div",{className:E9.form,children:[l.jsx(so,{mode:"from",token:i,tokenOptions:M,amount:s,usd:c,onAmountChange:d,onSetPercent:h,onTokenChange:p,selectedNetwork:v,onNetworkChange:x}),l.jsx(m3,{onClick:m}),l.jsx(so,{mode:"to",token:o,tokenOptions:M,amount:ke,usd:T,onTokenChange:_}),l.jsx(p3,{gasFee:H}),l.jsx(Za,{onClick:J,disabled:I}),y&&l.jsx(v3,{data:y,onClose:()=>w(null),onConfirm:()=>{var $t,Hn;const ye=(Hn=($t=y.steps[0])==null?void 0:$t.items[0])==null?void 0:Hn.data;ye&&$e({chain:v,txData:ye}),w(null)}}),E&&l.jsx(_3,{quote:E,fromSymbol:i.symbol,toSymbol:o.symbol,amountHuman:s,onClose:()=>A(null),onConfirm:()=>{Le(E.quoteId),A(null)}})]})}const O9="_page_vqv0y_1",M9="_tabs_vqv0y_8",D9="_tab_vqv0y_8",z9="_active_vqv0y_26",L9="_inactive_vqv0y_31",B9="_main_vqv0y_40",za={page:O9,tabs:M9,tab:D9,active:z9,inactive:L9,main:B9};function U9(){const s=Mn();return l.jsxs("div",{className:za.page,children:[l.jsx(Ia,{}),l.jsxs("div",{className:za.tabs,children:[l.jsx("button",{className:`${za.tab} ${za.active}`,onClick:()=>s(fe.SWAP),children:"СВОП"}),l.jsx("button",{className:`${za.tab} ${za.inactive}`,onClick:()=>s(fe.BRIDGE),children:"БРИДЖ"})]}),l.jsx("main",{className:za.main,children:l.jsx(A9,{})}),l.jsx(Jn,{})]})}const k9="_wrap_njjv3_1",H9="_label_njjv3_9",q9="_select_njjv3_18",$0={wrap:k9,label:H9,select:q9},$9=["ETH","BSC","TRX","SOL"];function Mm({label:s,value:c,onChange:i}){return l.jsxs("div",{className:$0.wrap,children:[l.jsx("span",{className:$0.label,children:s}),l.jsx("select",{className:$0.select,value:c,onChange:o=>i(o.target.value),children:$9.map(o=>l.jsx("option",{value:o,children:o},o))})]})}const G9="_form_htwuf_1",V9={form:G9},Dm={ETH:1,BSC:56,SOL:792703809},zm={SOL:"11111111111111111111111111111111",DEFAULT:"0x0000000000000000000000000000000000000000"};function Lm(s){return zm[s]??zm.DEFAULT}function F9(){var Hn,Pa,oi,qn,Wa;const{fromAmount:s,fromUsd:c,fromToken:i,toToken:o,setFromAmount:d,setPercent:h,swapTokens:m,setFromToken:p,setToToken:_}=h3(),[v,x]=b.useState("ETH"),[y,w]=b.useState("BSC"),[E,A]=b.useState(null),[O,N]=b.useState(null),M=v==="TRX",{data:F}=lo(v),{data:$}=lo(y),V=F?g2(F):_2,K=$?g2($):_2;b.useEffect(()=>{V.length!==0&&p(We=>V.find(El=>El.symbol===We.symbol)??V[0])},[F,v]),b.useEffect(()=>{K.length!==0&&_(We=>K.find(El=>El.symbol===We.symbol)??K[0])},[$,y]);const le=Ws(s,500),{data:X}=uo(),{data:ne}=t3(),de=parseFloat(le),he=Dm[v],_e=Dm[y],De=(Hn=X==null?void 0:X.find(We=>We.chain===v))==null?void 0:Hn.address,se=(Pa=X==null?void 0:X.find(We=>We.chain===y))==null?void 0:Pa.address,$e=((oi=ne==null?void 0:ne.find(We=>We.chain===v&&We.symbol===i.symbol))==null?void 0:oi.contract)??Lm(v),ze=((qn=ne==null?void 0:ne.find(We=>We.chain===y&&We.symbol===o.symbol))==null?void 0:qn.contract)??Lm(y),U=!M&&he&&_e&&De&&de>0?{user:De,recipient:se??De,originChainId:he,destinationChainId:_e,originCurrency:$e,destinationCurrency:ze,amount:Math.round(de*Math.pow(10,i.decimals)).toString(),tradeType:"EXACT_INPUT"}:null,{data:Q}=n3(U),{mutate:oe,isPending:Le}=l3(),{mutate:ke}=a3(),T=M&&de>0?{from:i.symbol,to:o.symbol,amountHuman:le}:null,{data:H}=s3(T),{mutate:I,isPending:J}=i3(),{mutate:me}=c3(),ge=M?(H==null?void 0:H.expectedOutFormatted)??"0":(Q==null?void 0:Q.details.currencyOut.amountFormatted)??"0",Ae=M||Q==null?void 0:Q.details.currencyOut.amountUsd,ot=M?(Wa=H==null?void 0:H.fees.network.amountUsd)==null?void 0:Wa.toString():Q==null?void 0:Q.fees.gas.amountUsd,ye=M?de<=0||J:!U||Le;function $t(){if(M){if(!T)return;I(T,{onSuccess:We=>N(We)})}else{if(!U)return;oe(U,{onSuccess:We=>A(We)})}}return l.jsxs("div",{className:V9.form,children:[l.jsx(Mm,{label:"ИЗ",value:v,onChange:x}),l.jsx(so,{mode:"from",token:i,tokenOptions:V,amount:s,usd:c,onAmountChange:d,onSetPercent:h,onTokenChange:p,hideNetworkSelect:!0}),l.jsx(m3,{onClick:m}),l.jsx(Mm,{label:"В",value:y,onChange:w}),l.jsx(so,{mode:"to",token:o,tokenOptions:K,amount:ge,usd:Ae,onTokenChange:_,hideNetworkSelect:!0}),l.jsx(p3,{gasFee:ot}),l.jsx(Za,{label:"Подтвердить бридж",onClick:$t,disabled:ye}),E&&l.jsx(v3,{data:E,onClose:()=>A(null),onConfirm:()=>{var El,ui;const We=(ui=(El=E.steps[0])==null?void 0:El.items[0])==null?void 0:ui.data;We&&ke({chain:v,txData:We}),A(null)}}),O&&l.jsx(_3,{quote:O,fromSymbol:i.symbol,toSymbol:o.symbol,amountHuman:s,onClose:()=>N(null),onConfirm:()=>{me(O.quoteId),N(null)}})]})}const Q9="_page_1ieiw_1",Y9="_tabs_1ieiw_8",X9="_tab_1ieiw_8",Z9="_active_1ieiw_26",K9="_inactive_1ieiw_31",I9="_main_1ieiw_40",La={page:Q9,tabs:Y9,tab:X9,active:Z9,inactive:K9,main:I9};function P9(){const s=Mn();return l.jsxs("div",{className:La.page,children:[l.jsx(Ia,{}),l.jsxs("div",{className:La.tabs,children:[l.jsx("button",{className:`${La.tab} ${La.inactive}`,onClick:()=>s(fe.SWAP),children:"СВОП"}),l.jsx("button",{className:`${La.tab} ${La.active}`,onClick:()=>s(fe.BRIDGE),children:"БРИДЖ"})]}),l.jsx("main",{className:La.main,children:l.jsx(F9,{})}),l.jsx(Jn,{})]})}var y2=function(s,c){return y2=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var d in o)Object.prototype.hasOwnProperty.call(o,d)&&(i[d]=o[d])},y2(s,c)};function W9(s,c){if(typeof c!="function"&&c!==null)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");y2(s,c);function i(){this.constructor=s}s.prototype=c===null?Object.create(c):(i.prototype=c.prototype,new i)}var bt=function(){return bt=Object.assign||function(c){for(var i,o=1,d=arguments.length;o<d;o++){i=arguments[o];for(var h in i)Object.prototype.hasOwnProperty.call(i,h)&&(c[h]=i[h])}return c},bt.apply(this,arguments)};var G0,Bm;function J9(){if(Bm)return G0;Bm=1;var s=!1,c,i,o,d,h,m,p,_,v,x,y,w,E,A,O;function N(){if(!s){s=!0;var F=navigator.userAgent,$=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(F),V=/(Mac OS X)|(Windows)|(Linux)/.exec(F);if(w=/\b(iPhone|iP[ao]d)/.exec(F),E=/\b(iP[ao]d)/.exec(F),x=/Android/i.exec(F),A=/FBAN\/\w+;/i.exec(F),O=/Mobile/i.exec(F),y=!!/Win64/.exec(F),$){c=$[1]?parseFloat($[1]):$[5]?parseFloat($[5]):NaN,c&&document&&document.documentMode&&(c=document.documentMode);var K=/(?:Trident\/(\d+.\d+))/.exec(F);m=K?parseFloat(K[1])+4:c,i=$[2]?parseFloat($[2]):NaN,o=$[3]?parseFloat($[3]):NaN,d=$[4]?parseFloat($[4]):NaN,d?($=/(?:Chrome\/(\d+\.\d+))/.exec(F),h=$&&$[1]?parseFloat($[1]):NaN):h=NaN}else c=i=o=h=d=NaN;if(V){if(V[1]){var le=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(F);p=le?parseFloat(le[1].replace("_",".")):!0}else p=!1;_=!!V[2],v=!!V[3]}else p=_=v=!1}}var M={ie:function(){return N()||c},ieCompatibilityMode:function(){return N()||m>c},ie64:function(){return M.ie()&&y},firefox:function(){return N()||i},opera:function(){return N()||o},webkit:function(){return N()||d},safari:function(){return M.webkit()},chrome:function(){return N()||h},windows:function(){return N()||_},osx:function(){return N()||p},linux:function(){return N()||v},iphone:function(){return N()||w},mobile:function(){return N()||w||E||x||O},nativeApp:function(){return N()||A},android:function(){return N()||x},ipad:function(){return N()||E}};return G0=M,G0}var V0,Um;function eS(){if(Um)return V0;Um=1;var s=!!(typeof window<"u"&&window.document&&window.document.createElement),c={canUseDOM:s,canUseWorkers:typeof Worker<"u",canUseEventListeners:s&&!!(window.addEventListener||window.attachEvent),canUseViewport:s&&!!window.screen,isInWorker:!s};return V0=c,V0}var F0,km;function tS(){if(km)return F0;km=1;var s=eS(),c;s.canUseDOM&&(c=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);/**
|
||
* Checks if an event is supported in the current execution environment.
|
||
*
|
||
* NOTE: This will not work correctly for non-generic events such as `change`,
|
||
* `reset`, `load`, `error`, and `select`.
|
||
*
|
||
* Borrows from Modernizr.
|
||
*
|
||
* @param {string} eventNameSuffix Event name, e.g. "click".
|
||
* @param {?boolean} capture Check if the capture phase is supported.
|
||
* @return {boolean} True if the event is supported.
|
||
* @internal
|
||
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
||
*/function i(o,d){if(!s.canUseDOM||d&&!("addEventListener"in document))return!1;var h="on"+o,m=h in document;if(!m){var p=document.createElement("div");p.setAttribute(h,"return;"),m=typeof p[h]=="function"}return!m&&c&&o==="wheel"&&(m=document.implementation.hasFeature("Events.wheel","3.0")),m}return F0=i,F0}var Q0,Hm;function nS(){if(Hm)return Q0;Hm=1;var s=J9(),c=tS(),i=10,o=40,d=800;function h(m){var p=0,_=0,v=0,x=0;return"detail"in m&&(_=m.detail),"wheelDelta"in m&&(_=-m.wheelDelta/120),"wheelDeltaY"in m&&(_=-m.wheelDeltaY/120),"wheelDeltaX"in m&&(p=-m.wheelDeltaX/120),"axis"in m&&m.axis===m.HORIZONTAL_AXIS&&(p=_,_=0),v=p*i,x=_*i,"deltaY"in m&&(x=m.deltaY),"deltaX"in m&&(v=m.deltaX),(v||x)&&m.deltaMode&&(m.deltaMode==1?(v*=o,x*=o):(v*=d,x*=d)),v&&!p&&(p=v<1?-1:1),x&&!_&&(_=x<1?-1:1),{spinX:p,spinY:_,pixelX:v,pixelY:x}}return h.getEventType=function(){return s.firefox()?"DOMMouseScroll":c("wheel")?"wheel":"mousewheel"},Q0=h,Q0}var Y0,qm;function lS(){return qm||(qm=1,Y0=nS()),Y0}var aS=lS();const sS=$_(aS);function iS(s,c,i,o,d,h){h===void 0&&(h=0);var m=Js(s,c,h),p=m.width,_=m.height,v=Math.min(p,i),x=Math.min(_,o);return v>x*d?{width:x*d,height:x}:{width:v,height:v/d}}function cS(s){return s.width>s.height?s.width/s.naturalWidth:s.height/s.naturalHeight}function uc(s,c,i,o,d){d===void 0&&(d=0);var h=Js(c.width,c.height,d),m=h.width,p=h.height;return{x:$m(s.x,m,i.width,o),y:$m(s.y,p,i.height,o)}}function $m(s,c,i,o){var d=Math.abs(c*o/2-i/2);return fo(s,-d,d)}function Gm(s,c){return Math.sqrt(Math.pow(s.y-c.y,2)+Math.pow(s.x-c.x,2))}function Vm(s,c){return Math.atan2(c.y-s.y,c.x-s.x)*180/Math.PI}function rS(s,c,i,o,d,h,m){h===void 0&&(h=0),m===void 0&&(m=!0);var p=m?oS:uS,_=Js(c.width,c.height,h),v=Js(c.naturalWidth,c.naturalHeight,h),x={x:p(100,((_.width-i.width/d)/2-s.x/d)/_.width*100),y:p(100,((_.height-i.height/d)/2-s.y/d)/_.height*100),width:p(100,i.width/_.width*100/d),height:p(100,i.height/_.height*100/d)},y=Math.round(p(v.width,x.width*v.width/100)),w=Math.round(p(v.height,x.height*v.height/100)),E=v.width>=v.height*o,A=E?{width:Math.round(w*o),height:w}:{width:y,height:Math.round(y/o)},O=bt(bt({},A),{x:Math.round(p(v.width-A.width,x.x*v.width/100)),y:Math.round(p(v.height-A.height,x.y*v.height/100))});return{croppedAreaPercentages:x,croppedAreaPixels:O}}function oS(s,c){return Math.min(s,Math.max(0,c))}function uS(s,c){return c}function dS(s,c,i,o,d,h){var m=Js(c.width,c.height,i),p=fo(o.width/m.width*(100/s.width),d,h),_={x:p*m.width/2-o.width/2-m.width*p*(s.x/100),y:p*m.height/2-o.height/2-m.height*p*(s.y/100)};return{crop:_,zoom:p}}function fS(s,c,i){var o=cS(c);return i.height>i.width?i.height/(s.height*o):i.width/(s.width*o)}function hS(s,c,i,o,d,h){i===void 0&&(i=0);var m=Js(c.naturalWidth,c.naturalHeight,i),p=fo(fS(s,c,o),d,h),_=o.height>o.width?o.height/s.height:o.width/s.width,v={x:((m.width-s.width)/2-s.x)*_,y:((m.height-s.height)/2-s.y)*_};return{crop:v,zoom:p}}function Fm(s,c){return{x:(c.x+s.x)/2,y:(c.y+s.y)/2}}function mS(s){return s*Math.PI/180}function Js(s,c,i){var o=mS(i);return{width:Math.abs(Math.cos(o)*s)+Math.abs(Math.sin(o)*c),height:Math.abs(Math.sin(o)*s)+Math.abs(Math.cos(o)*c)}}function fo(s,c,i){return Math.min(Math.max(s,c),i)}function Zr(){for(var s=[],c=0;c<arguments.length;c++)s[c]=arguments[c];return s.filter(function(i){return typeof i=="string"&&i.length>0}).join(" ").trim()}var pS=`.reactEasyCrop_Container {
|
||
position: absolute;
|
||
top: 0;
|
||
left: 0;
|
||
right: 0;
|
||
bottom: 0;
|
||
overflow: hidden;
|
||
user-select: none;
|
||
touch-action: none;
|
||
cursor: move;
|
||
display: flex;
|
||
justify-content: center;
|
||
align-items: center;
|
||
}
|
||
|
||
.reactEasyCrop_Image,
|
||
.reactEasyCrop_Video {
|
||
will-change: transform; /* this improves performances and prevent painting issues on iOS Chrome */
|
||
}
|
||
|
||
.reactEasyCrop_Contain {
|
||
max-width: 100%;
|
||
max-height: 100%;
|
||
margin: auto;
|
||
position: absolute;
|
||
top: 0;
|
||
bottom: 0;
|
||
left: 0;
|
||
right: 0;
|
||
}
|
||
.reactEasyCrop_Cover_Horizontal {
|
||
width: 100%;
|
||
height: auto;
|
||
}
|
||
.reactEasyCrop_Cover_Vertical {
|
||
width: auto;
|
||
height: 100%;
|
||
}
|
||
|
||
.reactEasyCrop_CropArea {
|
||
position: absolute;
|
||
left: 50%;
|
||
top: 50%;
|
||
transform: translate(-50%, -50%);
|
||
border: 1px solid rgba(255, 255, 255, 0.5);
|
||
box-sizing: border-box;
|
||
box-shadow: 0 0 0 9999em;
|
||
color: rgba(0, 0, 0, 0.5);
|
||
overflow: hidden;
|
||
}
|
||
|
||
.reactEasyCrop_CropAreaRound {
|
||
border-radius: 50%;
|
||
}
|
||
|
||
.reactEasyCrop_CropAreaGrid::before {
|
||
content: ' ';
|
||
box-sizing: border-box;
|
||
position: absolute;
|
||
border: 1px solid rgba(255, 255, 255, 0.5);
|
||
top: 0;
|
||
bottom: 0;
|
||
left: 33.33%;
|
||
right: 33.33%;
|
||
border-top: 0;
|
||
border-bottom: 0;
|
||
}
|
||
|
||
.reactEasyCrop_CropAreaGrid::after {
|
||
content: ' ';
|
||
box-sizing: border-box;
|
||
position: absolute;
|
||
border: 1px solid rgba(255, 255, 255, 0.5);
|
||
top: 33.33%;
|
||
bottom: 33.33%;
|
||
left: 0;
|
||
right: 0;
|
||
border-left: 0;
|
||
border-right: 0;
|
||
}
|
||
`,vS=1,_S=3,gS=1,yS=(function(s){W9(c,s);function c(){var i=s!==null&&s.apply(this,arguments)||this;return i.cropperRef=b.createRef(),i.imageRef=b.createRef(),i.videoRef=b.createRef(),i.containerPosition={x:0,y:0},i.containerRef=null,i.styleRef=null,i.containerRect=null,i.mediaSize={width:0,height:0,naturalWidth:0,naturalHeight:0},i.dragStartPosition={x:0,y:0},i.dragStartCrop={x:0,y:0},i.gestureZoomStart=0,i.gestureRotationStart=0,i.isTouching=!1,i.lastPinchDistance=0,i.lastPinchRotation=0,i.rafDragTimeout=null,i.rafPinchTimeout=null,i.wheelTimer=null,i.currentDoc=typeof document<"u"?document:null,i.currentWindow=typeof window<"u"?window:null,i.resizeObserver=null,i.previousCropSize=null,i.isInitialized=!1,i.state={cropSize:null,hasWheelJustStarted:!1,mediaObjectFit:void 0},i.initResizeObserver=function(){if(!(typeof window.ResizeObserver>"u"||!i.containerRef)){var o=!0;i.resizeObserver=new window.ResizeObserver(function(d){if(o){o=!1;return}i.computeSizes()}),i.resizeObserver.observe(i.containerRef)}},i.preventZoomSafari=function(o){return o.preventDefault()},i.cleanEvents=function(){i.currentDoc&&(i.currentDoc.removeEventListener("mousemove",i.onMouseMove),i.currentDoc.removeEventListener("mouseup",i.onDragStopped),i.currentDoc.removeEventListener("touchmove",i.onTouchMove),i.currentDoc.removeEventListener("touchend",i.onDragStopped),i.currentDoc.removeEventListener("gesturechange",i.onGestureChange),i.currentDoc.removeEventListener("gestureend",i.onGestureEnd),i.currentDoc.removeEventListener("scroll",i.onScroll))},i.clearScrollEvent=function(){i.containerRef&&i.containerRef.removeEventListener("wheel",i.onWheel),i.wheelTimer&&clearTimeout(i.wheelTimer)},i.onMediaLoad=function(){var o=i.computeSizes();o&&(i.previousCropSize=o,i.emitCropData(),i.setInitialCrop(o),i.isInitialized=!0),i.props.onMediaLoaded&&i.props.onMediaLoaded(i.mediaSize)},i.setInitialCrop=function(o){if(i.props.initialCroppedAreaPercentages){var d=dS(i.props.initialCroppedAreaPercentages,i.mediaSize,i.props.rotation,o,i.props.minZoom,i.props.maxZoom),h=d.crop,m=d.zoom;i.props.onCropChange(h),i.props.onZoomChange&&i.props.onZoomChange(m)}else if(i.props.initialCroppedAreaPixels){var p=hS(i.props.initialCroppedAreaPixels,i.mediaSize,i.props.rotation,o,i.props.minZoom,i.props.maxZoom),h=p.crop,m=p.zoom;i.props.onCropChange(h),i.props.onZoomChange&&i.props.onZoomChange(m)}},i.computeSizes=function(){var o,d,h,m,p,_,v=i.imageRef.current||i.videoRef.current;if(v&&i.containerRef){i.containerRect=i.containerRef.getBoundingClientRect(),i.saveContainerPosition();var x=i.containerRect.width/i.containerRect.height,y=((o=i.imageRef.current)===null||o===void 0?void 0:o.naturalWidth)||((d=i.videoRef.current)===null||d===void 0?void 0:d.videoWidth)||0,w=((h=i.imageRef.current)===null||h===void 0?void 0:h.naturalHeight)||((m=i.videoRef.current)===null||m===void 0?void 0:m.videoHeight)||0,E=v.offsetWidth<y||v.offsetHeight<w,A=y/w,O=void 0;if(E)switch(i.state.mediaObjectFit){default:case"contain":O=x>A?{width:i.containerRect.height*A,height:i.containerRect.height}:{width:i.containerRect.width,height:i.containerRect.width/A};break;case"horizontal-cover":O={width:i.containerRect.width,height:i.containerRect.width/A};break;case"vertical-cover":O={width:i.containerRect.height*A,height:i.containerRect.height};break}else O={width:v.offsetWidth,height:v.offsetHeight};i.mediaSize=bt(bt({},O),{naturalWidth:y,naturalHeight:w}),i.props.setMediaSize&&i.props.setMediaSize(i.mediaSize);var N=i.props.cropSize?i.props.cropSize:iS(i.mediaSize.width,i.mediaSize.height,i.containerRect.width,i.containerRect.height,i.props.aspect,i.props.rotation);return(((p=i.state.cropSize)===null||p===void 0?void 0:p.height)!==N.height||((_=i.state.cropSize)===null||_===void 0?void 0:_.width)!==N.width)&&i.props.onCropSizeChange&&i.props.onCropSizeChange(N),i.setState({cropSize:N},i.recomputeCropPosition),i.props.setCropSize&&i.props.setCropSize(N),N}},i.saveContainerPosition=function(){if(i.containerRef){var o=i.containerRef.getBoundingClientRect();i.containerPosition={x:o.left,y:o.top}}},i.onMouseDown=function(o){i.currentDoc&&(o.preventDefault(),i.currentDoc.addEventListener("mousemove",i.onMouseMove),i.currentDoc.addEventListener("mouseup",i.onDragStopped),i.saveContainerPosition(),i.onDragStart(c.getMousePoint(o)))},i.onMouseMove=function(o){return i.onDrag(c.getMousePoint(o))},i.onScroll=function(o){i.currentDoc&&(o.preventDefault(),i.saveContainerPosition())},i.onTouchStart=function(o){i.currentDoc&&(i.isTouching=!0,!(i.props.onTouchRequest&&!i.props.onTouchRequest(o))&&(i.currentDoc.addEventListener("touchmove",i.onTouchMove,{passive:!1}),i.currentDoc.addEventListener("touchend",i.onDragStopped),i.saveContainerPosition(),o.touches.length===2?i.onPinchStart(o):o.touches.length===1&&i.onDragStart(c.getTouchPoint(o.touches[0]))))},i.onTouchMove=function(o){o.preventDefault(),o.touches.length===2?i.onPinchMove(o):o.touches.length===1&&i.onDrag(c.getTouchPoint(o.touches[0]))},i.onGestureStart=function(o){i.currentDoc&&(o.preventDefault(),i.currentDoc.addEventListener("gesturechange",i.onGestureChange),i.currentDoc.addEventListener("gestureend",i.onGestureEnd),i.gestureZoomStart=i.props.zoom,i.gestureRotationStart=i.props.rotation)},i.onGestureChange=function(o){if(o.preventDefault(),!i.isTouching){var d=c.getMousePoint(o),h=i.gestureZoomStart-1+o.scale;if(i.setNewZoom(h,d,{shouldUpdatePosition:!0}),i.props.onRotationChange){var m=i.gestureRotationStart+o.rotation;i.props.onRotationChange(m)}}},i.onGestureEnd=function(o){i.cleanEvents()},i.onDragStart=function(o){var d,h,m=o.x,p=o.y;i.dragStartPosition={x:m,y:p},i.dragStartCrop=bt({},i.props.crop),(h=(d=i.props).onInteractionStart)===null||h===void 0||h.call(d)},i.onDrag=function(o){var d=o.x,h=o.y;i.currentWindow&&(i.rafDragTimeout&&i.currentWindow.cancelAnimationFrame(i.rafDragTimeout),i.rafDragTimeout=i.currentWindow.requestAnimationFrame(function(){if(i.state.cropSize&&!(d===void 0||h===void 0)){var m=d-i.dragStartPosition.x,p=h-i.dragStartPosition.y,_={x:i.dragStartCrop.x+m,y:i.dragStartCrop.y+p},v=i.props.restrictPosition?uc(_,i.mediaSize,i.state.cropSize,i.props.zoom,i.props.rotation):_;i.props.onCropChange(v)}}))},i.onDragStopped=function(){var o,d;i.isTouching=!1,i.cleanEvents(),i.emitCropData(),(d=(o=i.props).onInteractionEnd)===null||d===void 0||d.call(o)},i.onWheel=function(o){if(i.currentWindow&&!(i.props.onWheelRequest&&!i.props.onWheelRequest(o))){o.preventDefault();var d=c.getMousePoint(o),h=sS(o).pixelY,m=i.props.zoom-h*i.props.zoomSpeed/200;i.setNewZoom(m,d,{shouldUpdatePosition:!0}),i.state.hasWheelJustStarted||i.setState({hasWheelJustStarted:!0},function(){var p,_;return(_=(p=i.props).onInteractionStart)===null||_===void 0?void 0:_.call(p)}),i.wheelTimer&&clearTimeout(i.wheelTimer),i.wheelTimer=i.currentWindow.setTimeout(function(){return i.setState({hasWheelJustStarted:!1},function(){var p,_;return(_=(p=i.props).onInteractionEnd)===null||_===void 0?void 0:_.call(p)})},250)}},i.getPointOnContainer=function(o,d){var h=o.x,m=o.y;if(!i.containerRect)throw new Error("The Cropper is not mounted");return{x:i.containerRect.width/2-(h-d.x),y:i.containerRect.height/2-(m-d.y)}},i.getPointOnMedia=function(o){var d=o.x,h=o.y,m=i.props,p=m.crop,_=m.zoom;return{x:(d+p.x)/_,y:(h+p.y)/_}},i.setNewZoom=function(o,d,h){var m=h===void 0?{}:h,p=m.shouldUpdatePosition,_=p===void 0?!0:p;if(!(!i.state.cropSize||!i.props.onZoomChange)){var v=fo(o,i.props.minZoom,i.props.maxZoom);if(_){var x=i.getPointOnContainer(d,i.containerPosition),y=i.getPointOnMedia(x),w={x:y.x*v-x.x,y:y.y*v-x.y},E=i.props.restrictPosition?uc(w,i.mediaSize,i.state.cropSize,v,i.props.rotation):w;i.props.onCropChange(E)}i.props.onZoomChange(v)}},i.getCropData=function(){if(!i.state.cropSize)return null;var o=i.props.restrictPosition?uc(i.props.crop,i.mediaSize,i.state.cropSize,i.props.zoom,i.props.rotation):i.props.crop;return rS(o,i.mediaSize,i.state.cropSize,i.getAspect(),i.props.zoom,i.props.rotation,i.props.restrictPosition)},i.emitCropData=function(){var o=i.getCropData();if(o){var d=o.croppedAreaPercentages,h=o.croppedAreaPixels;i.props.onCropComplete&&i.props.onCropComplete(d,h),i.props.onCropAreaChange&&i.props.onCropAreaChange(d,h)}},i.emitCropAreaChange=function(){var o=i.getCropData();if(o){var d=o.croppedAreaPercentages,h=o.croppedAreaPixels;i.props.onCropAreaChange&&i.props.onCropAreaChange(d,h)}},i.recomputeCropPosition=function(){var o,d;if(i.state.cropSize){var h=i.props.crop;if(i.isInitialized&&(!((o=i.previousCropSize)===null||o===void 0)&&o.width)&&(!((d=i.previousCropSize)===null||d===void 0)&&d.height)){var m=Math.abs(i.previousCropSize.width-i.state.cropSize.width)>1e-6||Math.abs(i.previousCropSize.height-i.state.cropSize.height)>1e-6;if(m){var p=i.state.cropSize.width/i.previousCropSize.width,_=i.state.cropSize.height/i.previousCropSize.height;h={x:i.props.crop.x*p,y:i.props.crop.y*_}}}var v=i.props.restrictPosition?uc(h,i.mediaSize,i.state.cropSize,i.props.zoom,i.props.rotation):h;i.previousCropSize=i.state.cropSize,i.props.onCropChange(v),i.emitCropData()}},i.onKeyDown=function(o){var d,h,m=i.props,p=m.crop,_=m.onCropChange,v=m.keyboardStep,x=m.zoom,y=m.rotation,w=v;if(i.state.cropSize){o.shiftKey&&(w*=.2);var E=bt({},p);switch(o.key){case"ArrowUp":E.y-=w,o.preventDefault();break;case"ArrowDown":E.y+=w,o.preventDefault();break;case"ArrowLeft":E.x-=w,o.preventDefault();break;case"ArrowRight":E.x+=w,o.preventDefault();break;default:return}i.props.restrictPosition&&(E=uc(E,i.mediaSize,i.state.cropSize,x,y)),o.repeat||(h=(d=i.props).onInteractionStart)===null||h===void 0||h.call(d),_(E)}},i.onKeyUp=function(o){var d,h;switch(o.key){case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":o.preventDefault();break;default:return}i.emitCropData(),(h=(d=i.props).onInteractionEnd)===null||h===void 0||h.call(d)},i}return c.prototype.componentDidMount=function(){!this.currentDoc||!this.currentWindow||(this.containerRef&&(this.containerRef.ownerDocument&&(this.currentDoc=this.containerRef.ownerDocument),this.currentDoc.defaultView&&(this.currentWindow=this.currentDoc.defaultView),this.initResizeObserver(),typeof window.ResizeObserver>"u"&&this.currentWindow.addEventListener("resize",this.computeSizes),this.props.zoomWithScroll&&this.containerRef.addEventListener("wheel",this.onWheel,{passive:!1}),this.containerRef.addEventListener("gesturestart",this.onGestureStart)),this.currentDoc.addEventListener("scroll",this.onScroll),this.props.disableAutomaticStylesInjection||(this.styleRef=this.currentDoc.createElement("style"),this.styleRef.setAttribute("type","text/css"),this.props.nonce&&this.styleRef.setAttribute("nonce",this.props.nonce),this.styleRef.innerHTML=pS,this.currentDoc.head.appendChild(this.styleRef)),this.imageRef.current&&this.imageRef.current.complete&&this.onMediaLoad(),this.props.setImageRef&&this.props.setImageRef(this.imageRef),this.props.setVideoRef&&this.props.setVideoRef(this.videoRef),this.props.setCropperRef&&this.props.setCropperRef(this.cropperRef))},c.prototype.componentWillUnmount=function(){var i,o;!this.currentDoc||!this.currentWindow||(typeof window.ResizeObserver>"u"&&this.currentWindow.removeEventListener("resize",this.computeSizes),(i=this.resizeObserver)===null||i===void 0||i.disconnect(),this.containerRef&&this.containerRef.removeEventListener("gesturestart",this.preventZoomSafari),this.styleRef&&((o=this.styleRef.parentNode)===null||o===void 0||o.removeChild(this.styleRef)),this.cleanEvents(),this.props.zoomWithScroll&&this.clearScrollEvent())},c.prototype.componentDidUpdate=function(i){var o,d,h,m,p,_,v,x,y;i.rotation!==this.props.rotation?(this.computeSizes(),this.recomputeCropPosition()):i.aspect!==this.props.aspect?this.computeSizes():i.objectFit!==this.props.objectFit?this.computeSizes():i.zoom!==this.props.zoom?this.recomputeCropPosition():((o=i.cropSize)===null||o===void 0?void 0:o.height)!==((d=this.props.cropSize)===null||d===void 0?void 0:d.height)||((h=i.cropSize)===null||h===void 0?void 0:h.width)!==((m=this.props.cropSize)===null||m===void 0?void 0:m.width)?this.computeSizes():(((p=i.crop)===null||p===void 0?void 0:p.x)!==((_=this.props.crop)===null||_===void 0?void 0:_.x)||((v=i.crop)===null||v===void 0?void 0:v.y)!==((x=this.props.crop)===null||x===void 0?void 0:x.y))&&this.emitCropAreaChange(),i.zoomWithScroll!==this.props.zoomWithScroll&&this.containerRef&&(this.props.zoomWithScroll?this.containerRef.addEventListener("wheel",this.onWheel,{passive:!1}):this.clearScrollEvent()),i.video!==this.props.video&&((y=this.videoRef.current)===null||y===void 0||y.load());var w=this.getObjectFit();w!==this.state.mediaObjectFit&&this.setState({mediaObjectFit:w},this.computeSizes)},c.prototype.getAspect=function(){var i=this.props,o=i.cropSize,d=i.aspect;return o?o.width/o.height:d},c.prototype.getObjectFit=function(){var i,o,d,h;if(this.props.objectFit==="cover"){var m=this.imageRef.current||this.videoRef.current;if(m&&this.containerRef){this.containerRect=this.containerRef.getBoundingClientRect();var p=this.containerRect.width/this.containerRect.height,_=((i=this.imageRef.current)===null||i===void 0?void 0:i.naturalWidth)||((o=this.videoRef.current)===null||o===void 0?void 0:o.videoWidth)||0,v=((d=this.imageRef.current)===null||d===void 0?void 0:d.naturalHeight)||((h=this.videoRef.current)===null||h===void 0?void 0:h.videoHeight)||0,x=_/v;return x<p?"horizontal-cover":"vertical-cover"}return"horizontal-cover"}return this.props.objectFit},c.prototype.onPinchStart=function(i){var o=c.getTouchPoint(i.touches[0]),d=c.getTouchPoint(i.touches[1]);this.lastPinchDistance=Gm(o,d),this.lastPinchRotation=Vm(o,d),this.onDragStart(Fm(o,d))},c.prototype.onPinchMove=function(i){var o=this;if(!(!this.currentDoc||!this.currentWindow)){var d=c.getTouchPoint(i.touches[0]),h=c.getTouchPoint(i.touches[1]),m=Fm(d,h);this.onDrag(m),this.rafPinchTimeout&&this.currentWindow.cancelAnimationFrame(this.rafPinchTimeout),this.rafPinchTimeout=this.currentWindow.requestAnimationFrame(function(){var p=Gm(d,h),_=o.props.zoom*(p/o.lastPinchDistance);o.setNewZoom(_,m,{shouldUpdatePosition:!1}),o.lastPinchDistance=p;var v=Vm(d,h),x=o.props.rotation+(v-o.lastPinchRotation);o.props.onRotationChange&&o.props.onRotationChange(x),o.lastPinchRotation=v})}},c.prototype.render=function(){var i=this,o,d=this.props,h=d.image,m=d.video,p=d.mediaProps,_=d.cropperProps,v=d.transform,x=d.crop,y=x.x,w=x.y,E=d.rotation,A=d.zoom,O=d.cropShape,N=d.showGrid,M=d.roundCropAreaPixels,F=d.style,$=F.containerStyle,V=F.cropAreaStyle,K=F.mediaStyle,le=d.classes,X=le.containerClassName,ne=le.cropAreaClassName,de=le.mediaClassName,he=(o=this.state.mediaObjectFit)!==null&&o!==void 0?o:this.getObjectFit();return b.createElement("div",{onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,ref:function(De){return i.containerRef=De},"data-testid":"container",style:$,className:Zr("reactEasyCrop_Container",X)},h?b.createElement("img",bt({alt:"",className:Zr("reactEasyCrop_Image",he==="contain"&&"reactEasyCrop_Contain",he==="horizontal-cover"&&"reactEasyCrop_Cover_Horizontal",he==="vertical-cover"&&"reactEasyCrop_Cover_Vertical",de)},p,{src:h,ref:this.imageRef,style:bt(bt({},K),{transform:v||"translate(".concat(y,"px, ").concat(w,"px) rotate(").concat(E,"deg) scale(").concat(A,")")}),onLoad:this.onMediaLoad})):m&&b.createElement("video",bt({autoPlay:!0,playsInline:!0,loop:!0,muted:!0,className:Zr("reactEasyCrop_Video",he==="contain"&&"reactEasyCrop_Contain",he==="horizontal-cover"&&"reactEasyCrop_Cover_Horizontal",he==="vertical-cover"&&"reactEasyCrop_Cover_Vertical",de)},p,{ref:this.videoRef,onLoadedMetadata:this.onMediaLoad,style:bt(bt({},K),{transform:v||"translate(".concat(y,"px, ").concat(w,"px) rotate(").concat(E,"deg) scale(").concat(A,")")}),controls:!1}),(Array.isArray(m)?m:[{src:m}]).map(function(_e){return b.createElement("source",bt({key:_e.src},_e))})),this.state.cropSize&&b.createElement("div",bt({ref:this.cropperRef,style:bt(bt({},V),{width:M?Math.round(this.state.cropSize.width):this.state.cropSize.width,height:M?Math.round(this.state.cropSize.height):this.state.cropSize.height}),tabIndex:0,onKeyDown:this.onKeyDown,onKeyUp:this.onKeyUp,"data-testid":"cropper",className:Zr("reactEasyCrop_CropArea",O==="round"&&"reactEasyCrop_CropAreaRound",N&&"reactEasyCrop_CropAreaGrid",ne)},_)))},c.defaultProps={zoom:1,rotation:0,aspect:4/3,maxZoom:_S,minZoom:vS,cropShape:"rect",objectFit:"contain",showGrid:!0,style:{},classes:{},mediaProps:{},cropperProps:{},zoomSpeed:1,restrictPosition:!0,zoomWithScroll:!0,keyboardStep:gS},c.getMousePoint=function(i){return{x:Number(i.clientX),y:Number(i.clientY)}},c.getTouchPoint=function(i){return{x:Number(i.clientX),y:Number(i.clientY)}},c})(b.Component);function xS(s){return new Promise((c,i)=>{const o=new Image;o.onload=()=>c(o),o.onerror=()=>i(new Error("Не удалось загрузить изображение")),o.src=s})}async function bS(s,c,i=512){const o=await xS(s),d=document.createElement("canvas");d.width=i,d.height=i;const h=d.getContext("2d");if(!h)throw new Error("Canvas 2D context недоступен");return h.drawImage(o,c.x,c.y,c.width,c.height,0,0,i,i),new Promise((m,p)=>{d.toBlob(_=>{_?m(_):p(new Error("Пустой Blob после обрезки"))},"image/jpeg",.9)})}const jS="_backdrop_1cfz6_1",SS="_card_1cfz6_12",NS="_title_1cfz6_25",wS="_cropArea_1cfz6_31",CS="_controls_1cfz6_40",TS="_zoom_1cfz6_52",ES="_actions_1cfz6_57",RS="_error_1cfz6_63",ea={backdrop:jS,card:SS,title:NS,cropArea:wS,controls:CS,zoom:TS,actions:ES,error:RS};function AS({imageSrc:s,isSaving:c,onCancel:i,onConfirm:o}){const[d,h]=b.useState({x:0,y:0}),[m,p]=b.useState(1),[_,v]=b.useState(null),[x,y]=b.useState(null),w=b.useCallback((A,O)=>{v(O)},[]);b.useEffect(()=>{const A=O=>{O.key==="Escape"&&!c&&i()};return window.addEventListener("keydown",A),()=>window.removeEventListener("keydown",A)},[i,c]);const E=async()=>{if(_){y(null);try{const A=await bS(s,_);await o(A)}catch{y("Не удалось обрезать изображение")}}};return l.jsx("div",{className:ea.backdrop,onClick:c?void 0:i,children:l.jsxs("div",{className:ea.card,onClick:A=>A.stopPropagation(),children:[l.jsx("h3",{className:ea.title,children:"Выберите область аватара"}),l.jsx("div",{className:ea.cropArea,children:l.jsx(yS,{image:s,crop:d,zoom:m,aspect:1,cropShape:"round",showGrid:!1,onCropChange:h,onZoomChange:p,onCropComplete:w})}),l.jsxs("div",{className:ea.controls,children:[l.jsx("label",{htmlFor:"avatar-zoom",children:"Масштаб"}),l.jsx("input",{id:"avatar-zoom",className:ea.zoom,type:"range",min:1,max:3,step:.01,value:m,onChange:A=>p(Number(A.target.value))})]}),x&&l.jsx("span",{className:ea.error,children:x}),l.jsxs("div",{className:ea.actions,children:[l.jsx(Rn,{variant:"ghost",onClick:i,disabled:c,children:"Отмена"}),l.jsx(Rn,{variant:"primary",onClick:E,disabled:c||!_,children:c?"Загрузка...":"Сохранить"})]})]})})}const OS="_col_1gh35_1",MS="_avatar_1gh35_10",DS="_avatarImg_1gh35_30",zS="_error_1gh35_37",LS="_overlay_1gh35_43",BS="_addPhoto_1gh35_68",Us={col:OS,avatar:MS,avatarImg:DS,error:zS,overlay:LS,addPhoto:BS};function US(s){return new Promise((c,i)=>{const o=new FileReader;o.onload=()=>{const d=o.result,h=d.indexOf(",");c(h>=0?d.slice(h+1):d)},o.onerror=()=>i(o.error),o.readAsDataURL(s)})}function kS(){const{data:s}=ci(),{mutateAsync:c,isPending:i}=sb(),o=b.useRef(null),[d,h]=b.useState(null),[m,p]=b.useState(!1),[_,v]=b.useState(null),x=(s==null?void 0:s.avatar_link)??null,y=x&&!m;b.useEffect(()=>{p(!1)},[x]),b.useEffect(()=>()=>{_&&URL.revokeObjectURL(_)},[_]);const w=()=>{var N;i||(N=o.current)==null||N.click()},E=N=>{var F;const M=(F=N.target.files)==null?void 0:F[0];N.target.value="",M&&(h(null),v(URL.createObjectURL(M)))},A=()=>{_&&URL.revokeObjectURL(_),v(null)},O=async N=>{try{const M=await US(N);await c({photo_base64:M,decoded_bytes:String(N.size)}),A()}catch{h("Не удалось загрузить фото"),A()}};return l.jsxs("div",{className:Us.col,children:[l.jsxs("div",{className:Us.avatar,onClick:w,children:[y?l.jsx("img",{src:x,alt:"avatar",className:Us.avatarImg,referrerPolicy:"no-referrer",onError:()=>{console.warn("[avatar] failed to load",x),p(!0)}}):l.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[l.jsx("circle",{cx:"12",cy:"8",r:"4"}),l.jsx("path",{d:"M4 20c0-4 4-7 8-7s8 3 8 7"})]}),l.jsx("div",{className:Us.overlay,children:l.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"#fff",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[l.jsx("path",{d:"M23 19a2 2 0 01-2 2H3a2 2 0 01-2-2V8a2 2 0 012-2h4l2-3h6l2 3h4a2 2 0 012 2z"}),l.jsx("circle",{cx:"12",cy:"13",r:"4"})]})})]}),l.jsx("input",{ref:o,type:"file",accept:"image/*",onChange:E,hidden:!0}),l.jsx("div",{className:Us.addPhoto,children:l.jsx(Rn,{variant:"ghost",onClick:w,disabled:i,children:i?"ЗАГРУЗКА...":"ДОБАВИТЬ ФОТО"})}),d&&l.jsx("span",{className:Us.error,children:d}),_&&l.jsx(AS,{imageSrc:_,isSaving:i,onCancel:A,onConfirm:O})]})}const HS="_card_17od5_1",qS="_title_17od5_8",$S="_actions_17od5_17",X0={card:HS,title:qS,actions:$S};function Kr({title:s,children:c,actions:i}){return l.jsxs("div",{className:X0.card,children:[l.jsx("div",{className:X0.title,children:s}),c,i&&l.jsx("div",{className:X0.actions,children:i})]})}const GS="_page_h0psp_1",VS="_kycBanner_h0psp_8",FS="_main_h0psp_19",QS="_profileTop_h0psp_29",YS="_userInfo_h0psp_33",XS="_sections_h0psp_37",ZS="_grid2_h0psp_44",KS="_grid1_h0psp_50",IS="_mnemonicRow_h0psp_56",PS="_mnemonicInfo_h0psp_63",WS="_mnemonicIcon_h0psp_69",JS="_mnemonicText_h0psp_73",eN="_userName_h0psp_105",tN="_userBalance_h0psp_112",Lt={page:GS,kycBanner:VS,main:FS,profileTop:QS,userInfo:YS,sections:XS,grid2:ZS,grid1:KS,mnemonicRow:IS,mnemonicInfo:PS,mnemonicIcon:WS,mnemonicText:JS,userName:eN,userBalance:tN};function nN(){const{data:s}=ci(),{data:c,isLoading:i}=H2(),{data:o}=uo(),d=ib(),h=Mn(),[m,p]=b.useState(""),[_,v]=b.useState(""),[x,y]=b.useState(null);b.useEffect(()=>{(s==null?void 0:s.phone)!=null&&(p(s.phone),v(s.phone))},[s==null?void 0:s.phone]);function w(){const N=m.trim();N===_||d.isPending||d.mutate(N,{onSuccess:()=>{v(N),y({status:"success",message:"Номер телефона обновлён"})},onError:()=>{y({status:"error",message:"Не удалось обновить номер телефона"})}})}const E=N=>N?N[0].toUpperCase()+N.slice(1).toLowerCase():"",A=s?[s.last_name,s.first_name,s.middle_name].filter(Boolean).map(E).join(" "):"",O=i||!c||c.totalUsd==null?"$—":`$${c.totalUsd.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})}`;return l.jsxs("div",{className:Lt.page,children:[l.jsx(Ia,{}),s&&!s.kyc_verified&&l.jsx("div",{className:Lt.kycBanner,children:"Для полного доступа к платформе необходимо пройти верификацию личности (KYC)"}),l.jsxs("main",{className:Lt.main,children:[l.jsxs("div",{className:Lt.profileTop,children:[l.jsx(kS,{}),l.jsxs("div",{className:Lt.userInfo,children:[l.jsx("span",{className:Lt.userName,children:A}),l.jsx("span",{className:Lt.userBalance,children:O})]})]}),l.jsxs("div",{className:Lt.sections,children:[l.jsx(Kr,{title:"Личные данные",children:l.jsxs("div",{className:Lt.grid2,children:[l.jsx(jt,{label:"Полное ФИО",value:A,placeholder:"Например: Иванов Иван Иванович",readOnly:!0}),l.jsx(jt,{label:"Адрес электронной почты",value:(s==null?void 0:s.email)??"",type:"email",icon:"check",placeholder:"example@mail.ru",readOnly:!0}),l.jsx(jt,{label:"Серия и номер паспорта",value:(s==null?void 0:s.passport_data)??"",placeholder:"0000 000000",readOnly:!0}),l.jsx(jt,{label:"Номер телефона",value:m,onChange:p,onBlur:w,type:"tel",placeholder:"+7 (999) 000-00-00"})]})}),l.jsx(Kr,{title:"Верификация",children:l.jsxs("div",{className:Lt.grid2,children:[l.jsx(jt,{label:"ИНН",value:(s==null?void 0:s.inn)??"",readOnly:!0,icon:"lock",placeholder:"000000000000"}),l.jsx(jt,{label:"ID аккаунта",value:(s==null?void 0:s.id)??"",readOnly:!0,icon:"lock",placeholder:"ECSA-00000000"})]})}),l.jsx(Kr,{title:"Безопасность",actions:l.jsxs(l.Fragment,{children:[l.jsx(Rn,{variant:"danger",children:"⚠️ Посмотреть приватный ключ"}),l.jsx(Rn,{variant:"primary",children:"СОХРАНИТЬ"})]}),children:l.jsx("div",{className:Lt.grid1,children:o==null?void 0:o.map(({chain:N,address:M})=>l.jsx(jt,{label:`Адрес ${N}`,readOnly:!0,icon:"lock",value:M,placeholder:"—"},N))})}),l.jsx(Kr,{title:"Мнемоника",children:l.jsxs("div",{className:Lt.mnemonicRow,children:[l.jsxs("div",{className:Lt.mnemonicInfo,children:[l.jsx("span",{className:Lt.mnemonicIcon,children:"🔑"}),l.jsx("span",{className:Lt.mnemonicText,children:"Сид-фраза из 12 слов для восстановления кошелька"})]}),l.jsx(Rn,{variant:"danger",onClick:()=>h(fe.SEED_PHRASE),children:"⚠ Показать мнемонику"})]})})]})]}),x&&l.jsx(A2,{status:x.status,message:x.message,onClose:()=>y(null)})]})}const lN="_card_1erii_1",aN="_logo_1erii_10",sN="_title_1erii_20",iN="_twoCol_1erii_29",cN="_leftCol_1erii_36",rN="_rightCol_1erii_42",oN="_codeHint_1erii_48",uN="_error_1erii_55",dN="_submitWrapper_1erii_62",fN="_footer_1erii_66",hN="_forgot_1erii_73",mN="_divider_1erii_88",Tn={card:lN,logo:aN,title:sN,twoCol:iN,leftCol:cN,rightCol:rN,codeHint:oN,error:uN,submitWrapper:dN,footer:fN,forgot:hN,divider:mN};function Qm(s){var i,o;const c=s;return((o=(i=c==null?void 0:c.detail)==null?void 0:i[0])==null?void 0:o.msg)??"Произошла ошибка"}function pN(){const[s,c]=b.useState(""),[i,o]=b.useState(""),[d,h]=b.useState(""),[m,p]=b.useState(!1),_=fa(),v=Mn(),x=qt({mutationFn:P5,onSuccess:()=>p(!0)}),y=qt({mutationFn:W5,onSuccess:async({access_token:O})=>{U2(),O&&An.set(O),await _.invalidateQueries({queryKey:oo}),v(fe.PROFILE)}}),w=()=>{s&&x.mutate({email:s})},E=O=>{O.preventDefault(),y.mutate({email:s,password:i,code:d})},A=(x.isError?Qm(x.error):null)??(y.isError?Qm(y.error):null);return{email:s,setEmail:c,password:i,setPassword:o,verificationCode:d,setVerificationCode:h,codeSent:m,isLoadingCode:x.isPending,isLoadingSubmit:y.isPending,error:A,handleRequestCode:w,handleSubmit:E}}function vN(){const{email:s,setEmail:c,password:i,setPassword:o,verificationCode:d,setVerificationCode:h,codeSent:m,isLoadingCode:p,isLoadingSubmit:_,error:v,handleRequestCode:x,handleSubmit:y}=pN(),w=Mn();return l.jsxs("form",{className:Tn.card,onSubmit:y,children:[l.jsx("div",{className:Tn.logo,children:l.jsx("img",{src:ha,alt:"ЭКСА"})}),l.jsx("h1",{className:Tn.title,children:"Войти в кошелёк ЭКСА"}),l.jsxs("div",{className:Tn.twoCol,children:[l.jsxs("div",{className:Tn.leftCol,children:[l.jsx(jt,{label:"Адрес электронной почты",type:"email",value:s,onChange:c,placeholder:"example@mail.ru",required:!0}),l.jsx(jt,{label:"Пароль",type:"password",value:i,onChange:o,placeholder:"••••••••",required:!0})]}),l.jsxs("div",{className:Tn.rightCol,children:[l.jsx(Rn,{variant:"ghost",type:"button",onClick:x,disabled:m||p,children:p?"Отправка...":m?"Код отправлен":"Получить код на email"}),l.jsx("span",{className:Tn.codeHint,children:"Код не пришёл"}),l.jsx(jt,{label:"Ввести код",type:"text",value:d,onChange:h,placeholder:"000 000",required:!0})]})]}),v&&l.jsx("p",{className:Tn.error,children:v}),l.jsx("div",{className:Tn.submitWrapper,children:l.jsx(Za,{label:_?"Вход...":"Войти",disabled:_})}),l.jsxs("div",{className:Tn.footer,children:[l.jsx("a",{className:Tn.forgot,onClick:()=>w(fe.RESTORE_PASSWORD),children:"Забыли пароль?"}),l.jsx("div",{className:Tn.divider,children:l.jsx("span",{children:"или"})}),l.jsx(Rn,{variant:"outline",type:"button",onClick:()=>w(fe.REGISTER),children:"Создать новый кошелёк"})]})]})}const _N="_page_a6ygb_1",gN={page:_N};function yN(){return l.jsx("div",{className:gN.page,children:l.jsx(vN,{})})}function Ym(s){var i,o;const c=s;return((o=(i=c==null?void 0:c.detail)==null?void 0:i[0])==null?void 0:o.msg)??"Произошла ошибка"}function xN(){const s=Mn(),c=fa(),[i,o]=b.useState(""),[d,h]=b.useState(""),[m,p]=b.useState(""),[_,v]=b.useState(""),[x,y]=b.useState(!1),[w,E]=b.useState(null),A=qt({mutationFn:K5,onSuccess:()=>y(!0)}),O=qt({mutationFn:I5,onSuccess:async({access_token:$})=>{U2(),$&&An.set($),await c.invalidateQueries({queryKey:oo}),s(fe.WALLET)}}),N=()=>{i&&A.mutate({email:i})},M=$=>{if($.preventDefault(),d!==m){E("Пароли не совпадают");return}E(null),O.mutate({email:i,password:d,confirm_password:m,code:_})},F=w??(A.isError?Ym(A.error):null)??(O.isError?Ym(O.error):null);return{email:i,setEmail:o,password:d,setPassword:h,confirmPassword:m,setConfirmPassword:p,verificationCode:_,setVerificationCode:v,codeSent:x,isLoadingCode:A.isPending,isLoadingSubmit:O.isPending,error:F,handleRequestCode:N,handleSubmit:M}}const bN="_card_wnog4_1",jN="_logo_wnog4_10",SN="_title_wnog4_20",NN="_twoCol_wnog4_29",wN="_leftCol_wnog4_36",CN="_rightCol_wnog4_42",TN="_codeHint_wnog4_53",EN="_error_wnog4_60",RN="_submitWrapper_wnog4_67",AN="_legal_wnog4_71",Zn={card:bN,logo:jN,title:SN,twoCol:NN,leftCol:wN,rightCol:CN,codeHint:TN,error:EN,submitWrapper:RN,legal:AN};function ON(){const{email:s,setEmail:c,password:i,setPassword:o,confirmPassword:d,setConfirmPassword:h,verificationCode:m,setVerificationCode:p,codeSent:_,isLoadingCode:v,isLoadingSubmit:x,error:y,handleRequestCode:w,handleSubmit:E}=xN();return l.jsxs("form",{className:Zn.card,onSubmit:E,children:[l.jsx("div",{className:Zn.logo,children:l.jsx("img",{src:ha,alt:"ЭКСА"})}),l.jsx("h1",{className:Zn.title,children:"Создать кошелёк ЭКСА"}),l.jsxs("div",{className:Zn.twoCol,children:[l.jsxs("div",{className:Zn.leftCol,children:[l.jsx(jt,{label:"Введите адрес электронной почты",type:"email",value:s,onChange:c,placeholder:"example@mail.ru",required:!0}),l.jsx(jt,{label:"Придумайте пароль",type:"password",value:i,onChange:o,placeholder:"••••••••",required:!0}),l.jsx(jt,{label:"Повторите пароль",type:"password",value:d,onChange:h,placeholder:"••••••••",required:!0})]}),l.jsxs("div",{className:Zn.rightCol,children:[l.jsx(Rn,{variant:"ghost",type:"button",onClick:w,disabled:_||v,children:v?"Отправка...":_?"Код отправлен":"Получить проверочный код"}),l.jsx("span",{className:Zn.codeHint,children:"Код не пришёл"}),l.jsx(jt,{label:"Ввести код",type:"text",value:m,onChange:p,placeholder:"000 000",required:!0})]})]}),y&&l.jsx("p",{className:Zn.error,children:y}),l.jsx("div",{className:Zn.submitWrapper,children:l.jsx(Za,{label:x?"Создание...":"Создать",disabled:x})}),l.jsxs("p",{className:Zn.legal,children:["Нажимая «Создать», вы принимаете",l.jsx("br",{}),l.jsx("a",{href:"#",children:"Пользовательское соглашение"})," и ",l.jsx("a",{href:"#",children:"Политику конфиденциальности"})]})]})}const MN="_page_a6ygb_1",DN={page:MN};function zN(){return l.jsx("div",{className:DN.page,children:l.jsx(ON,{})})}const LN="_title_ujt2o_1",BN="_table_ujt2o_8",UN="_row_ujt2o_15",kN="_range_ujt2o_31",HN="_pct_ujt2o_36",qN="_progressBar_ujt2o_43",$N="_progressFill_ujt2o_51",GN="_summary_ujt2o_58",VN="_summaryLabel_ujt2o_73",FN="_summaryValue_ujt2o_78",un={title:LN,table:BN,row:UN,range:kN,pct:HN,progressBar:qN,progressFill:$N,summary:GN,summaryLabel:VN,summaryValue:FN},Xm=s=>s.toLocaleString("ru-RU");function QN({amount:s,progress:c,commission:i,effectiveRate:o}){return l.jsxs("div",{children:[l.jsx("div",{className:un.title,children:"КОМИССИЯ СЕРВИСА"}),l.jsx("div",{className:un.table,children:wl.map((d,h)=>l.jsxs("div",{className:un.row,"data-active":s>=d.min&&s<=d.max||void 0,children:[l.jsxs("span",{className:un.range,children:[Xm(d.min)," – ",Xm(d.max)," ₽"]}),l.jsxs("span",{className:un.pct,children:[d.pct,"%"]})]},h))}),l.jsx("div",{className:un.progressBar,children:l.jsx("div",{className:un.progressFill,style:{width:`${c}%`}})}),l.jsxs("div",{className:un.summary,children:[l.jsx("span",{className:un.summaryLabel,children:"Комиссия"}),l.jsxs("span",{className:un.summaryValue,children:[i.toLocaleString("ru-RU",{maximumFractionDigits:2})," ₽"]})]}),l.jsxs("div",{className:un.summary,children:[l.jsx("span",{className:un.summaryLabel,children:"Курс с комиссией"}),l.jsxs("span",{className:un.summaryValue,children:[o.toFixed(2)," ₽"]})]})]})}const YN="_wrap_6xfms_1",XN="_box_6xfms_12",ZN="_text_6xfms_39",KN="_link_6xfms_46",IN="_required_6xfms_51",dc={wrap:YN,box:XN,text:ZN,link:KN,required:IN};function PN({checked:s,onToggle:c}){return l.jsxs("button",{type:"button",className:dc.wrap,onClick:c,"aria-pressed":s,children:[l.jsx("span",{className:dc.box,"data-checked":s||void 0,children:l.jsx("svg",{width:12,height:12,viewBox:"0 0 12 12",fill:"none","aria-hidden":"true",children:l.jsx("path",{d:"M2 6l3 3 5-5",stroke:"#fff",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})})}),l.jsxs("span",{className:dc.text,children:["Я ознакомлен и согласен с"," ",l.jsx("a",{href:"/publichnaya-oferta",className:dc.link,target:"_blank",rel:"noopener noreferrer",onClick:i=>i.stopPropagation(),children:"публичной офертой"}),". Вся деятельность компании соответствует законодательству Российской Федерации.",l.jsx("br",{}),l.jsx("span",{className:dc.required,children:"ОБЯЗАТЕЛЬНОЕ ПОЛЕ"})]})]})}const WN="_wrap_1nqy0_1",JN="_header_1nqy0_8",ew="_title_1nqy0_17",tw="_subtitle_1nqy0_22",nw="_pills_1nqy0_29",lw="_pill_1nqy0_29",aw="_pillValue_1nqy0_43",sw="_body_1nqy0_53",iw="_tabs_1nqy0_59",cw="_tab_1nqy0_59",rw="_field_1nqy0_91",ow="_fieldError_1nqy0_95",uw="_fieldLabel_1nqy0_101",dw="_fieldInput_1nqy0_109",fw="_currency_1nqy0_135",hw="_currencyIcon_1nqy0_144",mw="_currencyRub_1nqy0_156",pw="_currencyUsdt_1nqy0_160",vw="_swapWrap_1nqy0_164",_w="_swapBtn_1nqy0_169",gw="_bottom_1nqy0_182",yw="_payBtn_1nqy0_190",pe={wrap:WN,header:JN,title:ew,subtitle:tw,pills:nw,pill:lw,pillValue:aw,body:sw,tabs:iw,tab:cw,field:rw,fieldError:ow,fieldLabel:uw,fieldInput:dw,currency:fw,currencyIcon:hw,currencyRub:mw,currencyUsdt:pw,swapWrap:vw,swapBtn:_w,bottom:gw,payBtn:yw};function xw(){const s=Mp({usdtRate:0}),[c,i]=b.useState("usdt_to_rub"),[o,d]=b.useState("1000"),{data:h}=Kp(),m=Number(h==null?void 0:h.usdt_exchange_rate)||0,p=Number(h==null?void 0:h.gas_fee)||Op,_=c==="usdt_to_rub",v=Ws(s.numRub,400),{data:x,isError:y}=Ip(_?v:0),w=Number.parseFloat(o)||0,E=Ws(w,400),{data:A,isError:O}=Pp(_?0:E);function N(se){d(se.replace(/[^0-9.]/g,""))}function M(){i(se=>se==="usdt_to_rub"?"rub_to_usdt":"usdt_to_rub")}const F=(x==null?void 0:x.total_price)??"",$=Number(F)||0,V=(A==null?void 0:A.usdt_amount)??"",K=Number(V)||0,le=_?Number(x==null?void 0:x.service_fee)||0:Number(A==null?void 0:A.service_fee)||0,X=_?$:w,ne=_?s.numRub>0?$/s.numRub:0:K>0?w/K:0,{mutate:de,isPending:he}=bx();function _e(){de(_?{usdt_amount:s.numRub,usdt_exchange_rate:1,gas_fee:1,total_price:Number(F)||0}:{usdt_amount:K,usdt_exchange_rate:1,gas_fee:1,total_price:w})}const De=_?!F||he||!s.agreed:!V||he||!s.agreed;return l.jsxs("div",{className:pe.wrap,children:[l.jsxs("div",{className:pe.header,children:[l.jsxs("div",{children:[l.jsx("h1",{className:pe.title,children:"Конвертация"}),l.jsx("div",{className:pe.subtitle,children:"Данные обновляются в реальном времени"})]}),l.jsxs("div",{className:pe.pills,children:[l.jsxs("div",{className:pe.pill,children:["Цена газа в RUB ",l.jsxs("span",{className:pe.pillValue,children:[p.toFixed(2)," RUB"]})]}),l.jsxs("div",{className:pe.pill,children:["USDT/RUB ",l.jsxs("span",{className:pe.pillValue,children:[m.toFixed(2)," ₽"]})]})]})]}),l.jsxs("div",{className:pe.body,children:[l.jsxs("div",{children:[l.jsxs("div",{className:pe.tabs,children:[l.jsx("button",{type:"button",className:pe.tab,"data-active":_||void 0,onClick:()=>i("usdt_to_rub"),children:"КУПИТЬ"}),l.jsx("button",{type:"button",className:pe.tab,"data-active":!_||void 0,onClick:()=>i("rub_to_usdt"),children:"ПРОДАТЬ"})]}),_?l.jsxs(l.Fragment,{children:[l.jsxs("div",{className:pe.field,children:[l.jsx("div",{className:pe.fieldLabel,children:"Конвертируете"}),l.jsxs("div",{className:pe.fieldInput,children:[l.jsx("input",{type:"text",value:s.rubVal,onChange:se=>s.updateRub(se.target.value),placeholder:"0",inputMode:"decimal"}),l.jsxs("div",{className:pe.currency,children:[l.jsx("span",{className:`${pe.currencyIcon} ${pe.currencyUsdt}`,children:"₮"}),"USDT"]})]}),y&&l.jsx("div",{className:pe.fieldError,children:"Сумма слишком большая и превышает 600 000 ₽"})]}),l.jsx("div",{className:pe.swapWrap,children:l.jsx("button",{type:"button",className:pe.swapBtn,onClick:M,"aria-label":"Поменять направление",children:l.jsx("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",children:l.jsx("path",{d:"M8 2v12M4 10l4 4 4-4",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})})})}),l.jsxs("div",{className:pe.field,children:[l.jsx("div",{className:pe.fieldLabel,children:"Платите"}),l.jsxs("div",{className:pe.fieldInput,children:[l.jsx("input",{type:"text",value:F,readOnly:!0,placeholder:"0"}),l.jsxs("div",{className:pe.currency,children:[l.jsx("span",{className:`${pe.currencyIcon} ${pe.currencyRub}`,children:"₽"}),"RUB"]})]})]})]}):l.jsxs(l.Fragment,{children:[l.jsxs("div",{className:pe.field,children:[l.jsx("div",{className:pe.fieldLabel,children:"Конвертируете"}),l.jsxs("div",{className:pe.fieldInput,children:[l.jsx("input",{type:"text",value:o,onChange:se=>N(se.target.value),placeholder:"0",inputMode:"decimal"}),l.jsxs("div",{className:pe.currency,children:[l.jsx("span",{className:`${pe.currencyIcon} ${pe.currencyRub}`,children:"₽"}),"RUB"]})]}),O&&l.jsx("div",{className:pe.fieldError,children:"Сумма слишком большая и превышает 600 000 ₽"})]}),l.jsx("div",{className:pe.swapWrap,children:l.jsx("button",{type:"button",className:pe.swapBtn,onClick:M,"aria-label":"Поменять направление",children:l.jsx("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",children:l.jsx("path",{d:"M8 2v12M4 10l4 4 4-4",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})})})}),l.jsxs("div",{className:pe.field,children:[l.jsx("div",{className:pe.fieldLabel,children:"Платите"}),l.jsxs("div",{className:pe.fieldInput,children:[l.jsx("input",{type:"text",value:V,readOnly:!0,placeholder:"0"}),l.jsxs("div",{className:pe.currency,children:[l.jsx("span",{className:`${pe.currencyIcon} ${pe.currencyUsdt}`,children:"₮"}),"USDT"]})]})]})]})]}),l.jsx(QN,{amount:X,progress:O2(X),commission:le,effectiveRate:ne})]}),l.jsx("div",{className:pe.bottom,children:l.jsx(PN,{checked:s.agreed,onToggle:()=>s.setAgreed(!s.agreed)})}),l.jsx("button",{type:"button",className:pe.payBtn,onClick:_e,disabled:De,children:he?"Обработка...":"Оплатить"})]})}const bw="_page_gbj3c_1",jw="_main_gbj3c_8",Zm={page:bw,main:jw};function Sw(){return l.jsxs("div",{className:Zm.page,children:[l.jsx(Ia,{}),l.jsx("main",{className:Zm.main,children:l.jsx(xw,{})}),l.jsx(Jn,{})]})}const Km=52;function Nw(s){const[c,i]=b.useState(!1),[o,d]=b.useState(Km),[h,m]=b.useState(!1),p=b.useRef(null),_=b.useCallback(()=>{p.current&&clearInterval(p.current),d(Km),p.current=setInterval(()=>{d(y=>y<=1?(clearInterval(p.current),i(!0),0):y-1)},1e3)},[]);b.useEffect(()=>(_(),()=>{p.current&&clearInterval(p.current)}),[_]);const v=b.useCallback(()=>{i(y=>y?(_(),!1):(p.current&&clearInterval(p.current),!0))},[_]),x=b.useCallback(()=>{navigator.clipboard.writeText(s.join(" ")).then(()=>{m(!0),setTimeout(()=>m(!1),1500)})},[s]);return{hidden:c,countdown:o,copied:h,handleHide:v,handleCopy:x}}const ww="_content_o6p8v_1",Cw="_titleRow_o6p8v_6",Tw="_title_o6p8v_6",Ew="_titleButtons_o6p8v_19",Rw="_btnFixed_o6p8v_26",Aw="_subtitle_o6p8v_34",Ow="_countdown_o6p8v_42",Mw="_seedGrid_o6p8v_47",Dw="_seedCard_o6p8v_54",zw="_seedNum_o6p8v_73",Lw="_seedWord_o6p8v_80",Bw="_seedWordHidden_o6p8v_88",Uw="_warning_o6p8v_93",kw="_warningIcon_o6p8v_101",Hw="_warningText_o6p8v_107",qw="_profileLinkRow_o6p8v_115",$w="_profileLink_o6p8v_115",yt={content:ww,titleRow:Cw,title:Tw,titleButtons:Ew,btnFixed:Rw,subtitle:Aw,countdown:Ow,seedGrid:Mw,seedCard:Dw,seedNum:zw,seedWord:Lw,seedWordHidden:Bw,warning:Uw,warningIcon:kw,warningText:Hw,profileLinkRow:qw,profileLink:$w};function Gw({words:s}){const{hidden:c,countdown:i,copied:o,handleHide:d,handleCopy:h}=Nw(s);return l.jsxs("div",{className:yt.content,children:[l.jsxs("div",{className:yt.titleRow,children:[l.jsx("h1",{className:yt.title,children:"СИД ФРАЗА"}),l.jsxs("div",{className:yt.titleButtons,children:[l.jsx("div",{className:yt.btnFixed,children:l.jsx(Rn,{variant:"outline",onClick:d,children:c?"ПОКАЗАТЬ":"СКРЫТЬ"})}),l.jsx("div",{className:yt.btnFixed,children:l.jsx(Rn,{variant:"outline",onClick:h,children:o?"СКОПИРОВАНО":"КОПИРОВАТЬ"})})]})]}),!c&&l.jsxs("div",{className:yt.subtitle,children:["АВТОМАТИЧЕСКОЕ СКРЫТИЕ ЧЕРЕЗ"," ",l.jsx("span",{className:yt.countdown,children:i}),"С"]}),l.jsx("div",{className:yt.seedGrid,children:s.map((m,p)=>l.jsxs("div",{className:yt.seedCard,children:[l.jsxs("span",{className:yt.seedNum,children:[p+1,"."]}),l.jsx("span",{className:`${yt.seedWord} ${c?yt.seedWordHidden:""}`,children:c?"•••••":m})]},p))}),l.jsxs("div",{className:yt.warning,children:[l.jsx("span",{className:yt.warningIcon,children:"⚠️"}),l.jsx("p",{className:yt.warningText,children:"Никогда не передавайте сид-фразу третьим лицам. Тот, кто знает фразу — владеет кошельком."})]}),l.jsx("div",{className:yt.profileLinkRow,children:l.jsx(Ht,{to:fe.PROFILE,className:yt.profileLink,children:"Перейти в профиль"})})]})}const Vw="_page_1mk6w_1",Fw="_main_1mk6w_8",Qw="_glow_1mk6w_17",Z0={page:Vw,main:Fw,glow:Qw};function Yw(){const{data:s,isLoading:c}=wb(),i=s?s.split(" "):[];return l.jsxs("div",{className:Z0.page,children:[l.jsx(Ia,{}),l.jsxs("main",{className:Z0.main,children:[l.jsx("div",{className:Z0.glow}),!c&&l.jsx(Gw,{words:i})]})]})}const Xw="https://app.kyc.elcsa.ru";function Zw(){return g3(!0)}async function g3(s){const c=await Wn(),i=await fetch(`${Xw}/kyc/create`,{method:"POST",credentials:"include",headers:{"Content-Type":"application/json","X-CSRF-Token":c},body:JSON.stringify({})});if(i.status===401&&s)try{return await ai(),g3(!1)}catch{throw An.clear(),new Error("Unauthorized")}const o=await i.json();if(!i.ok)throw o;return o}function Kw(){const s=qt({mutationFn:Zw});return{trigger:s.mutate,data:s.data,isLoading:s.isPending,isError:s.isError}}const Iw="_backdrop_1do7s_1",Pw="_modal_1do7s_12",Ww="_closeBtn_1do7s_22",Jw="_body_1do7s_40",eC="_qrBlock_1do7s_47",tC="_qrImage_1do7s_55",nC="_linkBtn_1do7s_63",Ba={backdrop:Iw,modal:Pw,closeBtn:Ww,body:Jw,qrBlock:eC,qrImage:tC,linkBtn:nC};function lC({data:s,onClose:c}){return l.jsx("div",{className:Ba.backdrop,onClick:c,children:l.jsxs("div",{className:Ba.modal,onClick:i=>i.stopPropagation(),children:[l.jsx("button",{className:Ba.closeBtn,onClick:c,type:"button",children:"×"}),l.jsx("div",{className:Ba.body,children:l.jsxs("div",{className:Ba.qrBlock,children:[l.jsx("img",{className:Ba.qrImage,src:s.qr_code,alt:"QR-код для верификации"}),l.jsx("a",{className:Ba.linkBtn,href:s.link,target:"_blank",rel:"noopener noreferrer",children:"Перейти к верификации"})]})})]})})}const aC="_card_omb8e_1",sC="_logo_omb8e_13",iC="_iconWrapper_omb8e_21",cC="_description_omb8e_34",rC="_buttonWrapper_omb8e_42",oC="_error_omb8e_47",ks={card:aC,logo:sC,iconWrapper:iC,description:cC,buttonWrapper:rC,error:oC};function uC(){const{trigger:s,data:c,isLoading:i,isError:o}=Kw(),d=Mn(),h=fa(),{data:m}=ci({refetchInterval:c?5e3:!1});b.useEffect(()=>{m!=null&&m.kyc_verified&&d(fe.SEED_PHRASE,{replace:!0})},[m==null?void 0:m.kyc_verified,d]);const p=()=>{h.invalidateQueries({queryKey:["me"]})};return l.jsxs(l.Fragment,{children:[l.jsxs("div",{className:ks.card,children:[l.jsx("div",{className:ks.logo,children:l.jsx("img",{src:ha,alt:"ЭКСА"})}),l.jsx("div",{className:ks.iconWrapper,children:l.jsxs("svg",{width:"38",height:"38",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l.jsx("path",{d:"M12 2L3 6v6c0 5.25 3.75 10.15 9 11.35C17.25 22.15 21 17.25 21 12V6l-9-4z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),l.jsx("path",{d:"M9 12l2 2 4-4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}),l.jsx("p",{className:ks.description,children:"Для продолжения работы необходимо пройти KYC верификацию"}),l.jsx("div",{className:ks.buttonWrapper,children:l.jsx(Za,{label:i?"Загрузка...":"Подтвердить личность",type:"button",onClick:()=>s(),disabled:i})}),o&&l.jsx("p",{className:ks.error,children:"Произошла ошибка. Попробуй перезагрузить страницу и попробовать снова."})]}),c&&l.jsx(lC,{data:c,onClose:p})]})}const dC="_page_6lnfw_1",fC={page:dC};function hC(){const{data:s,isLoading:c}=ci();return c?null:s!=null&&s.kyc_verified?l.jsx(pc,{to:fe.PROFILE,replace:!0}):l.jsx("div",{className:fC.page,children:l.jsx(uC,{})})}const mC="_card_mzeuq_1",pC="_logo_mzeuq_10",vC="_title_mzeuq_20",_C="_fields_mzeuq_29",gC="_emailRow_mzeuq_35",yC="_error_mzeuq_41",xC="_submitWrapper_mzeuq_48",bC="_footer_mzeuq_52",jC="_back_mzeuq_58",yl={card:mC,logo:pC,title:vC,fields:_C,emailRow:gC,error:yC,submitWrapper:xC,footer:bC,back:jC};function SC(){const[s,c]=b.useState(""),[i,o]=b.useState(!1),[d,h]=b.useState(!1),[m,p]=b.useState(""),[_,v]=b.useState(""),[x,y]=b.useState(""),[w,E]=b.useState(""),[A,O]=b.useState(!1),[N,M]=b.useState(null),F=Mn();async function $(){E(""),h(!0);try{await nb({email:s}),o(!0),M({status:"success",message:`Код отправлен на ${s}`})}catch{M({status:"error",message:"Не удалось отправить письмо. Проверьте email и попробуйте снова."})}finally{h(!1)}}async function V(K){if(K.preventDefault(),E(""),_!==x){E("Пароли не совпадают");return}O(!0);try{await ab({email:s,code:m,new_password:_,confirm_password:x}),F(fe.LOGIN)}catch{E("Не удалось изменить пароль. Проверьте код и попробуйте снова.")}finally{O(!1)}}return l.jsxs(l.Fragment,{children:[l.jsxs("form",{className:yl.card,onSubmit:V,children:[l.jsx("div",{className:yl.logo,children:l.jsx("img",{src:ha,alt:"ЭКСА"})}),l.jsx("h1",{className:yl.title,children:"Восстановление пароля"}),l.jsxs("div",{className:yl.fields,children:[l.jsxs("div",{className:yl.emailRow,children:[l.jsx(jt,{label:"E-Mail",type:"email",value:s,onChange:c,placeholder:"example@mail.com",required:!0}),l.jsx(Za,{label:d?"Отправка...":"Получить код",disabled:d||!s,type:"button",onClick:$})]}),i&&l.jsxs(l.Fragment,{children:[l.jsx(jt,{label:"Код с почты",type:"text",value:m,onChange:p,placeholder:"000 000",required:!0}),l.jsx(jt,{label:"Новый пароль",type:"password",value:_,onChange:v,placeholder:"••••••••",required:!0}),l.jsx(jt,{label:"Повторить пароль",type:"password",value:x,onChange:y,placeholder:"••••••••",required:!0})]})]}),w&&l.jsx("p",{className:yl.error,children:w}),i&&l.jsx("div",{className:yl.submitWrapper,children:l.jsx(Za,{label:A?"Сохранение...":"Изменить пароль",disabled:A})}),l.jsx("div",{className:yl.footer,children:l.jsx("a",{className:yl.back,onClick:()=>F(fe.LOGIN),children:"Вернуться ко входу"})})]}),N&&l.jsx(A2,{status:N.status,message:N.message,onClose:()=>M(null)})]})}const NC="_page_6lnfw_1",wC={page:NC};function CC(){return l.jsx("div",{className:wC.page,children:l.jsx(SC,{})})}const TC="_main_1fqml_1",EC="_container_1fqml_7",RC="_title_1fqml_13",AC="_subtitle_1fqml_21",OC="_section_1fqml_29",MC="_sectionTitle_1fqml_33",DC="_definitions_1fqml_42",zC="_definition_1fqml_42",LC="_requisites_1fqml_56",Se={main:TC,container:EC,title:RC,subtitle:AC,section:OC,sectionTitle:MC,definitions:DC,definition:zC,requisites:LC};function BC(){return l.jsxs(l.Fragment,{children:[l.jsx(ii,{}),l.jsx("main",{className:Se.main,children:l.jsxs("div",{className:Se.container,children:[l.jsx("h1",{className:Se.title,children:"ПУБЛИЧНЫЙ ДОГОВОР ОФЕРТЫ"}),l.jsx("h2",{className:Se.subtitle,children:"ООО БИТФОРС"}),l.jsxs("section",{className:Se.section,children:[l.jsx("h3",{className:Se.sectionTitle,children:"Агентский договор"}),l.jsx("p",{children:"Настоящая оферта на заключение агентского договора (далее – Оферта, Договор) является публичным предложением Общества с ограниченной ответственностью «БИТФОРС», заключить договор на условиях и в порядке, определенных настоящей Офертой."}),l.jsx("p",{children:"Акцепт оферты производится в соответствии с пунктом 2 статьи 437 Гражданского кодекса Российской Федерации и равносилен заключению агентского договора в письменной форме."})]}),l.jsxs("section",{className:Se.section,children:[l.jsx("h3",{className:Se.sectionTitle,children:"Основные понятия и определения действующего договора"}),l.jsxs("div",{className:Se.definitions,children:[l.jsxs("div",{className:Se.definition,children:[l.jsx("strong",{children:"Агент"})," – юридическое лицо или индивидуальный предприниматель, зарегистрированный на территории Российской Федерации, в установленном действующим законодательством порядке."]}),l.jsxs("div",{className:Se.definition,children:[l.jsx("strong",{children:"Принципал"})," – сторона агентского договора, по поручению которой агент осуществляет юридические и иные действия от своего имени, но за счет принципала либо от имени и за счет принципала."]}),l.jsxs("div",{className:Se.definition,children:[l.jsx("strong",{children:"Агентский договор"})," – соглашение, по которому агент обязуется за вознаграждение совершать по поручению принципала юридические и иные действия от своего имени, но за счет принципала либо от имени и за счет принципала в соответствии с п. 1 ст. 1005 Гражданского Кодекса Российской Федерации."]}),l.jsxs("div",{className:Se.definition,children:[l.jsx("strong",{children:"Личный кабинета Агента"})," – ресурс, размещенный на сайте Принципала, предназначенный для взаимодействия Агента и Принципала."]}),l.jsxs("div",{className:Se.definition,children:[l.jsx("strong",{children:"Отчетный период"})," – период для взаиморасчетов с Агентом, равный одному календарному кварталу с даты активации любой из услуг, предоставляемой Принципалу."]}),l.jsxs("div",{className:Se.definition,children:[l.jsx("strong",{children:"Отчет о сумме начислений (Отчет)"})," – отчет, формируемый в Личном кабинете Агента на основании данных систем учета Принципала."]}),l.jsxs("div",{className:Se.definition,children:[l.jsx("strong",{children:"Оферта (Договор)"})," – настоящий документ, который отражает предложение и намерение ООО «БИТФОРС» считать заключенным договор с лицом, которым будет принято предложение на условиях, изложенных ниже."]})]})]}),l.jsxs("section",{className:Se.section,children:[l.jsx("h3",{className:Se.sectionTitle,children:"1. Акцепт оферты и заключение агентского договора"}),l.jsx("p",{children:"Акцепт настоящей Оферты и заключение Агентского договора осуществляется Принципалом в процессе регистрации в Личном кабинете Принципала (на сайте Агента), при прочтении текста настоящей Оферты, путем проставления специальной отметки (галочки) напротив фразы «Я ознакомился с Офертой и принимаю ее условия» и нажатия кнопки «Подписать»."}),l.jsx("p",{children:"Особый порядок принятия условий Оферты путем проставления специальной отметки (галочки) определяется интерфейсом Личного кабинета Принципала. Принципал не может зарегистрироваться в Личном кабинете и получить к нему доступ без подтверждения принятия условий Оферты."}),l.jsx("p",{children:"Принимая Оферту, Принципал подтверждает, что прочел и полностью согласен с документами, размещенными на сайте в разделе, предназначенном для Принципала, которые являются неотъемлемой частью настоящей Оферты (Договора) и обязательны для исполнения Сторонами."})]}),l.jsxs("section",{className:Se.section,children:[l.jsx("h3",{className:Se.sectionTitle,children:"2. Общие положения"}),l.jsx("p",{children:"Публикуемые на сайте Агента документы (формы, требования, правила и т.п.), устанавливающие порядок и условия выполнения действий, предусмотренных настоящим Договором, являются неотъемлемой частью настоящего Договора и обязательны для исполнения Сторонами. Принципал обязан использовать формы документов, утвержденных Агентом, и не вправе вносить в них какие-либо изменения или дополнения."}),l.jsx("p",{children:"Агент обязуется уведомлять Принципала обо всех изменениях в документах, связанных с исполнением настоящего Договора, путем направления электронных сообщений (через Личный кабинет или на электронную почту Принципала) или размещением уведомлений об изменениях на сайте Агентов в разделе, предназначенном для размещения объявлений."})]}),l.jsxs("section",{className:Se.section,children:[l.jsx("h3",{className:Se.sectionTitle,children:"3. Предмет договора"}),l.jsx("p",{children:"По настоящему Договору Принципал поручает, а Агент принимает на себя обязательство совершать от имени и за счет Принципала указанные действия, а Принципал обязуется выплатить Агенту вознаграждение за совершенные действия."}),l.jsx("p",{children:"По настоящему Договору Агент совершает следующие действия:"}),l.jsxs("ul",{children:[l.jsx("li",{children:"Консультирование Принципала об услугах Агента, включая, помимо прочего, порядок активации и оказания услуг, работу в Личном кабинете Принципала и иные дополнительные услуги, оказываемые Агентом;"}),l.jsx("li",{children:"Совершение сделок и иных юридических действий Агентом от своего имени, но за счёт Принципала."})]}),l.jsx("p",{children:"Настоящий Договор действует на территории Российской Федерации и иного иностранного государства."}),l.jsx("p",{children:"Права и обязанности по сделкам, совершенным Агентом во исполнение настоящего Договора, возникают непосредственно у Принципала."})]}),l.jsxs("section",{className:Se.section,children:[l.jsx("h3",{className:Se.sectionTitle,children:"4. Права и обязанности сторон"}),l.jsx("p",{children:"Агент обязуется совершать действия, составляющие предмет настоящего Договора, в соответствии с законными интересами Принципала, сообщать Принципалу по его требованию все сведения о ходе исполнения настоящего Договора, передавать Принципалу в течение 7 рабочих дней имущество, полученное по сделкам."}),l.jsx("p",{children:"Агент несет ответственность за сохранность документов и персональных данных, переданных ему Принципалом для исполнения настоящего Договора."}),l.jsx("p",{children:"Принципал обязан без промедления принять отчет Агента, все предоставленные им документы, обеспечить Агента документами и материалами, необходимыми для выполнения настоящего Договора, возместить Агенту понесенные расходы и выплатить обусловленное Договором агентское вознаграждение."})]}),l.jsxs("section",{className:Se.section,children:[l.jsx("h3",{className:Se.sectionTitle,children:"5. Агентское вознаграждение и порядок оплаты"}),l.jsx("p",{children:"Сумма вознаграждения Агента по настоящему Договору составляет:"}),l.jsxs("ul",{children:[l.jsx("li",{children:"8% от 5 000 до 30 000 рублей"}),l.jsx("li",{children:"6% от 30 000 до 100 000 рублей"}),l.jsx("li",{children:"4% от 100 000 до 600 000 рублей"})]}),l.jsx("p",{children:"Вознаграждение выплачивается Агенту с момента подписания настоящего Договора об исполнении поручения Агентом от своего имени, но за счет Принципала."}),l.jsx("p",{children:"Принципал возмещает следующие расходы Агента в сумме не более 30 000 рублей на оплату банковских услуг и иных комиссий."})]}),l.jsxs("section",{className:Se.section,children:[l.jsx("h3",{className:Se.sectionTitle,children:"6. Ответственность сторон"}),l.jsx("p",{children:"В случае нарушения Агентом сроков, установленных Договором для передачи Принципалу полученного имущества, Принципал вправе предъявить требование об уплате неустойки в размере 0,1% от непереданной суммы за каждый день просрочки."}),l.jsx("p",{children:"В случае нарушения Принципалом сроков уплаты вознаграждения или возмещения расходов, Агент вправе предъявить требование об уплате неустойки в размере 0,1% от не уплаченной в срок суммы за каждый день просрочки."})]}),l.jsxs("section",{className:Se.section,children:[l.jsx("h3",{className:Se.sectionTitle,children:"7. Форс-мажор"}),l.jsx("p",{children:"Стороны освобождаются от ответственности за частичное или полное неисполнение обязательств по настоящему Договору, если это неисполнение явилось следствием возникших после заключения настоящего Договора обстоятельств непреодолимой силы."}),l.jsx("p",{children:"При наступлении форс-мажорных обстоятельств каждая Сторона должна без промедления известить о них в письменном виде другую Сторону с указанием характера обстоятельств и их влияния на исполнение обязательств."})]}),l.jsxs("section",{className:Se.section,children:[l.jsx("h3",{className:Se.sectionTitle,children:"8. Конфиденциальность"}),l.jsx("p",{children:"Стороны принимают все необходимые меры для того, чтобы их сотрудники, агенты, правопреемники без предварительного согласия другой Стороны не информировали третьих лиц о конфиденциальной информации и персональных данных Сторон настоящего Договора."})]}),l.jsxs("section",{className:Se.section,children:[l.jsx("h3",{className:Se.sectionTitle,children:"9. Изменение и прекращение договора"}),l.jsx("p",{children:"Настоящий договор вступает в силу с момента его подписания и действует до момента исполнения сторонами своих обязательств по настоящему договору."}),l.jsx("p",{children:"Настоящий Договор может быть изменен или прекращен по письменному соглашению Сторон, а также в других случаях, предусмотренных законодательством Российской Федерации."}),l.jsx("p",{children:"Принципал вправе в любое время отказаться от исполнения настоящего Договора путем направления письменного уведомления Агенту за 3 рабочих дня."})]}),l.jsxs("section",{className:Se.section,children:[l.jsx("h3",{className:Se.sectionTitle,children:"10. Заключительные положения"}),l.jsx("p",{children:"Ни одна из сторон не вправе передавать свои права и обязанности по настоящему договору третьим лицам без согласия другой стороны."}),l.jsx("p",{children:"Сообщения Стороны могут направлять по факсу, электронной почте или другим способом связи при условии, что он позволяет достоверно установить, от кого исходило сообщение и кому оно адресовано."}),l.jsx("p",{children:"Споры, вытекающие из настоящего Договора, разрешаются в досудебном порядке. При неурегулировании возникших разногласий спор разрешается в Арбитражном суде г. Санкт–Петербурга и Ленинградской области с обязательным соблюдением претензионного порядка."})]}),l.jsxs("section",{className:Se.section,children:[l.jsx("h3",{className:Se.sectionTitle,children:"Реквизиты сторон"}),l.jsxs("div",{className:Se.requisites,children:[l.jsx("p",{children:"Общество с ограниченной ответственностью «БИТФОРС»"}),l.jsx("p",{children:"196246, г. Санкт-Петербург, Московский р-н, Московское шоссе, д.25к1 литера в, помещ. 3-Н"}),l.jsx("p",{children:"ИНН / КПП: 9810001062 / 781001001"}),l.jsx("p",{children:"ОГРН: 1257800060990"}),l.jsx("p",{children:"ОКПО / ОКАТО / ОКТМО: 68342261 / 40284000000 / 40377000000"}),l.jsx("p",{children:"Руководитель: Кленин Михаил Васильевич"}),l.jsx("p",{children:"Электронная почта: company@bitforcefoundation.ru"}),l.jsx("p",{children:'Наименование банка: ФИЛИАЛ "САНКТ-ПЕТЕРБУРГСКИЙ" АО "АЛЬФА-БАНК"'}),l.jsx("p",{children:"Корреспондентский счет: 30101810600000000786"}),l.jsx("p",{children:"БИК: 044030786"}),l.jsx("p",{children:"Расчетный счет: 40702810632250004861"})]})]})]})}),l.jsx(Jn,{})]})}const UC="_main_14e6d_1",kC="_container_14e6d_7",HC="_title_14e6d_13",qC="_subtitle_14e6d_21",$C="_section_14e6d_29",GC="_sectionTitle_14e6d_33",VC="_subSectionTitle_14e6d_42",FC="_definitions_14e6d_50",QC="_definition_14e6d_50",YC="_list_14e6d_64",XC="_goalsList_14e6d_75",ZC="_goal_14e6d_75",KC="_contacts_14e6d_105",Y={main:UC,container:kC,title:HC,subtitle:qC,section:$C,sectionTitle:GC,subSectionTitle:VC,definitions:FC,definition:QC,list:YC,goalsList:XC,goal:ZC,contacts:KC};function IC(){return l.jsxs(l.Fragment,{children:[l.jsx(ii,{}),l.jsx("main",{className:Y.main,children:l.jsxs("div",{className:Y.container,children:[l.jsx("h1",{className:Y.title,children:"ПОЛИТИКА ОБРАБОТКИ ПЕРСОНАЛЬНЫХ ДАННЫХ"}),l.jsx("h2",{className:Y.subtitle,children:"ООО «БИТФОРС»"}),l.jsxs("section",{className:Y.section,children:[l.jsx("h3",{className:Y.sectionTitle,children:"1. Общие положения"}),l.jsx("p",{children:"Настоящая Политика обработки персональных данных разработана в соответствии с Федеральным законом от 27.07.2006 № 152-ФЗ «О персональных данных» и определяет порядок обработки персональных данных и меры по обеспечению безопасности персональных данных, предпринимаемые ООО «БИТФОРС»."}),l.jsx("p",{children:"Оператор ставит своей важнейшей целью и условием осуществления своей деятельности соблюдение прав и свобод человека и гражданина при обработке его персональных данных, в том числе защиты права на неприкосновенность частной жизни, личную и семейную тайну."}),l.jsx("p",{children:"Настоящая Политика действует в отношении всех персональных данных, которые обрабатываются Оператором с использованием средств автоматизации и без использования таких средств."}),l.jsx("h4",{className:Y.subSectionTitle,children:"1.4. Основные понятия"}),l.jsxs("div",{className:Y.definitions,children:[l.jsxs("div",{className:Y.definition,children:[l.jsx("strong",{children:"Автоматизированная обработка персональных данных"})," — обработка персональных данных с помощью средств вычислительной техники."]}),l.jsxs("div",{className:Y.definition,children:[l.jsx("strong",{children:"Обработка персональных данных"})," — любое действие или совокупность действий, совершаемых с использованием средств автоматизации или без использования таких средств с персональными данными, включая сбор, запись, систематизацию, накопление, хранение, уточнение, извлечение, использование, передачу, обезличивание, блокирование, удаление, уничтожение."]}),l.jsxs("div",{className:Y.definition,children:[l.jsx("strong",{children:"Оператор"})," — юридическое или физическое лицо, организующие и осуществляющие обработку персональных данных."]}),l.jsxs("div",{className:Y.definition,children:[l.jsx("strong",{children:"Персональные данные"})," — любая информация, относящаяся к прямо или косвенно определенному или определяемому физическому лицу."]}),l.jsxs("div",{className:Y.definition,children:[l.jsx("strong",{children:"Пользователь"})," — любой посетитель веб-сайта https://bitforce-foundation.ru."]})]})]}),l.jsxs("section",{className:Y.section,children:[l.jsx("h3",{className:Y.sectionTitle,children:"2. Сведения об операторе"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Полное наименование: Общество с ограниченной ответственностью «БИТФОРС»"}),l.jsx("li",{children:"Сокращенное наименование: ООО «БИТФОРС»"}),l.jsx("li",{children:"ИНН: 9810001062"}),l.jsx("li",{children:"ОГРН: 1257800060990"}),l.jsx("li",{children:"Юридический адрес: 196246, город Санкт-Петербург, Московское шоссе, дом 25, корпус 1, литера В, помещение 3-н"}),l.jsx("li",{children:"Электронная почта: company@bitforcefoundation.ru"}),l.jsx("li",{children:"Веб-сайт: https://bitforce-foundation.ru"})]})]}),l.jsxs("section",{className:Y.section,children:[l.jsx("h3",{className:Y.sectionTitle,children:"3. Общие цели обработки персональных данных"}),l.jsx("h4",{className:Y.subSectionTitle,children:"3.1.1. Основная деятельность:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Предоставление услуг по конвертации иного имущества"}),l.jsx("li",{children:"Осуществление операций на криптовалютных рынках"}),l.jsx("li",{children:"Предоставление услуг в области блокчейн технологий"}),l.jsx("li",{children:"Обеспечение функционирования интернет-платформы и мобильных приложений"})]}),l.jsx("h4",{className:Y.subSectionTitle,children:"3.1.2. Обеспечение безопасности:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Предотвращение мошенничества и отмывания денежных средств"}),l.jsx("li",{children:"Обеспечение безопасности платежных операций"}),l.jsx("li",{children:"Выполнение требований по противодействию легализации доходов"}),l.jsx("li",{children:"Идентификация и верификация клиентов"})]}),l.jsx("h4",{className:Y.subSectionTitle,children:"3.1.3. Соблюдение законодательства:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Исполнение требований российского и международного законодательства"}),l.jsx("li",{children:"Взаимодействие с контролирующими и правоохранительными органами"}),l.jsx("li",{children:"Ведение обязательной отчетности и документооборота"}),l.jsx("li",{children:"Соблюдение налогового законодательства"})]})]}),l.jsxs("section",{className:Y.section,children:[l.jsx("h3",{className:Y.sectionTitle,children:"4. Цели сбора персональных данных"}),l.jsxs("div",{className:Y.goalsList,children:[l.jsxs("div",{className:Y.goal,children:[l.jsx("strong",{children:"Регистрация и идентификация пользователей:"}),l.jsxs("ul",{children:[l.jsx("li",{children:"Создание учетной записи на веб-сайте"}),l.jsx("li",{children:"Верификация личности в соответствии с требованиями законодательства"}),l.jsx("li",{children:"Подтверждение права на осуществление операций"})]})]}),l.jsxs("div",{className:Y.goal,children:[l.jsx("strong",{children:"Обработка платежей и финансовых операций:"}),l.jsxs("ul",{children:[l.jsx("li",{children:"Осуществление операций по конвертации криптовалют"}),l.jsx("li",{children:"Проведение расчетов и переводов денежных средств"}),l.jsx("li",{children:"Ведение учета и истории транзакций"})]})]}),l.jsxs("div",{className:Y.goal,children:[l.jsx("strong",{children:"Коммуникация с клиентами:"}),l.jsxs("ul",{children:[l.jsx("li",{children:"Предоставление технической поддержки"}),l.jsx("li",{children:"Уведомления о состоянии операций и счетов"}),l.jsx("li",{children:"Информирование об изменениях в условиях предоставления услуг"})]})]})]})]}),l.jsxs("section",{className:Y.section,children:[l.jsx("h3",{className:Y.sectionTitle,children:"5. Правовые основания обработки персональных данных"}),l.jsx("h4",{className:Y.subSectionTitle,children:"5.1.1. Согласие субъекта персональных данных:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Обработка персональных данных в маркетинговых целях"}),l.jsx("li",{children:"Использование файлов cookie и метрик"}),l.jsx("li",{children:"Персонализация сервисов и предложений"})]}),l.jsx("h4",{className:Y.subSectionTitle,children:"5.1.2. Необходимость исполнения договора:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Регистрация и ведение учетных записей пользователей"}),l.jsx("li",{children:"Осуществление финансовых операций и переводов"}),l.jsx("li",{children:"Предоставление доступа к платформе и сервисам"}),l.jsx("li",{children:"Техническая поддержка и обслуживание клиентов"})]}),l.jsx("h4",{className:Y.subSectionTitle,children:"5.1.3. Соблюдение правовой обязанности:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Выполнение требований валютного законодательства"}),l.jsx("li",{children:"Противодействие легализации доходов, полученных преступным путем"}),l.jsx("li",{children:"Соблюдение требований по налоговому учету и отчетности"})]})]}),l.jsxs("section",{className:Y.section,children:[l.jsx("h3",{className:Y.sectionTitle,children:"6. Объем и категории обрабатываемых персональных данных"}),l.jsx("h4",{className:Y.subSectionTitle,children:"6.1.1. Пользователи веб-сайта и мобильного приложения:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Зарегистрированные пользователи"}),l.jsx("li",{children:"Посетители сайта без регистрации"}),l.jsx("li",{children:"Потенциальные клиенты"}),l.jsx("li",{children:"Бывшие клиенты"})]}),l.jsx("h4",{className:Y.subSectionTitle,children:"6.2.1. Идентификационные данные:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Фамилия, имя, отчество"}),l.jsx("li",{children:"Дата рождения"}),l.jsx("li",{children:"Гражданство"})]}),l.jsx("h4",{className:Y.subSectionTitle,children:"6.2.3. Контактная информация:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Номера телефонов (мобильный, домашний, рабочий)"}),l.jsx("li",{children:"Адреса электронной почты"})]}),l.jsx("h4",{className:Y.subSectionTitle,children:"6.2.4. Финансовая информация:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Номера банковских счетов и карт"}),l.jsx("li",{children:"Реквизиты кошельков криптовалют"}),l.jsx("li",{children:"История операций и транзакций"}),l.jsx("li",{children:"Данные о доходах и источниках средств"})]}),l.jsx("h4",{className:Y.subSectionTitle,children:"6.2.5. Техническая информация:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"IP-адреса устройств"}),l.jsx("li",{children:"Данные о браузере и операционной системе"}),l.jsx("li",{children:"Файлы cookie и локальное хранилище"}),l.jsx("li",{children:"Логи действий на сайте"})]})]}),l.jsxs("section",{className:Y.section,children:[l.jsx("h3",{className:Y.sectionTitle,children:"7. Порядок и условия обработки персональных данных"}),l.jsx("h4",{className:Y.subSectionTitle,children:"7.1. Принципы обработки персональных данных:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Обработка осуществляется на законной и справедливой основе"}),l.jsx("li",{children:"Обработка ограничивается достижением конкретных, заранее определенных целей"}),l.jsx("li",{children:"Содержание и объем данных соответствуют заявленным целям"}),l.jsx("li",{children:"Обрабатываемые персональные данные являются точными и актуальными"})]}),l.jsx("h4",{className:Y.subSectionTitle,children:"7.4. Сроки обработки персональных данных:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Персональные данные обрабатываются в течение времени, необходимого для достижения целей"}),l.jsx("li",{children:"После достижения целей персональные данные подлежат уничтожению или обезличиванию"}),l.jsx("li",{children:"Сроки хранения определяются требованиями законодательства"})]}),l.jsx("h4",{className:Y.subSectionTitle,children:"7.5. Места обработки персональных данных:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Основные серверы и хранилища данных расположены на территории Российской Федерации"}),l.jsx("li",{children:"Резервные копии могут храниться в дата-центрах на территории РФ"})]})]}),l.jsxs("section",{className:Y.section,children:[l.jsx("h3",{className:Y.sectionTitle,children:"8. Актуализация, исправление, удаление и уничтожение персональных данных"}),l.jsx("h4",{className:Y.subSectionTitle,children:"8.2.2. Процедура исправления:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Рассмотрение запроса в течение 30 дней"}),l.jsx("li",{children:"Проверка обоснованности требования об исправлении"}),l.jsx("li",{children:"Внесение изменений во все информационные системы"}),l.jsx("li",{children:"Уведомление субъекта о проведенных исправлениях"})]}),l.jsx("h4",{className:Y.subSectionTitle,children:"8.3.2. Процедура удаления:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Проверка наличия законных оснований для продолжения обработки"}),l.jsx("li",{children:"Удаление из всех информационных систем и баз данных"}),l.jsx("li",{children:"Удаление резервных копий (кроме архивных)"}),l.jsx("li",{children:"Уведомление субъекта о выполненном удалении"})]})]}),l.jsxs("section",{className:Y.section,children:[l.jsx("h3",{className:Y.sectionTitle,children:"9. Ответы на запросы субъектов персональных данных"}),l.jsx("h4",{className:Y.subSectionTitle,children:"9.1.1. Право на информацию:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Подтверждение факта обработки персональных данных"}),l.jsx("li",{children:"Правовые основания и цели обработки"}),l.jsx("li",{children:"Применяемые способы обработки"}),l.jsx("li",{children:"Наименование и местонахождение оператора"}),l.jsx("li",{children:"Лица, имеющие доступ к персональным данным"})]}),l.jsx("h4",{className:Y.subSectionTitle,children:"9.2.2. Сроки рассмотрения:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Срок рассмотрения запроса составляет 30 дней с момента получения"}),l.jsx("li",{children:"Срок может быть продлен на 30 дней при большом объеме информации"}),l.jsx("li",{children:"О продлении срока субъект уведомляется в течение 30 дней"})]}),l.jsx("h4",{className:Y.subSectionTitle,children:"9.4. Плата за предоставление информации:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Первый запрос в течение года обрабатывается бесплатно"}),l.jsx("li",{children:"За повторные запросы может взиматься плата в размере расходов"}),l.jsx("li",{children:"Субъект уведомляется о размере платы до предоставления информации"})]})]}),l.jsxs("section",{className:Y.section,children:[l.jsx("h3",{className:Y.sectionTitle,children:"10. Обеспечение безопасности персональных данных"}),l.jsx("h4",{className:Y.subSectionTitle,children:"10.1. Правовые меры:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Назначение ответственного за организацию обработки персональных данных"}),l.jsx("li",{children:"Принятие локальных актов по вопросам обработки персональных данных"}),l.jsx("li",{children:"Ознакомление работников с требованиями законодательства"}),l.jsx("li",{children:"Применение мер ответственности за нарушение требований"})]}),l.jsx("h4",{className:Y.subSectionTitle,children:"10.3. Технические меры:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Предотвращение несанкционированного доступа к персональным данным"}),l.jsx("li",{children:"Своевременное обнаружение фактов несанкционированного доступа"}),l.jsx("li",{children:"Возможность незамедлительного восстановления персональных данных"}),l.jsx("li",{children:"Постоянный контроль за обеспечением уровня защищенности"})]}),l.jsx("h4",{className:Y.subSectionTitle,children:"10.4. Конкретные технические решения:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Использование сертифицированных средств защиты информации"}),l.jsx("li",{children:"Шифрование персональных данных при передаче и хранении"}),l.jsx("li",{children:"Применение межсетевых экранов и систем обнаружения вторжений"}),l.jsx("li",{children:"Резервное копирование и обеспечение отказоустойчивости"}),l.jsx("li",{children:"Антивирусная защита и обновление программного обеспечения"})]})]}),l.jsxs("section",{className:Y.section,children:[l.jsx("h3",{className:Y.sectionTitle,children:"12. Заключительные положения"}),l.jsx("h4",{className:Y.subSectionTitle,children:"12.2. Жалобы и обращения:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Субъекты персональных данных могут обратиться к Оператору по вопросам обработки"}),l.jsx("li",{children:"Жалобы рассматриваются в установленном законом порядке"}),l.jsx("li",{children:"При неурегулировании разногласий возможно обращение в Роскомнадзор или суд"})]}),l.jsx("h4",{className:Y.subSectionTitle,children:"12.4. Контактная информация для обращений:"}),l.jsxs("p",{className:Y.contacts,children:["Почтовый адрес: 196246, г. Санкт-Петербург, Московское ш., д. 25, к. 1, лит. В, пом. 3-н",l.jsx("br",{}),"Электронная почта: company@bitforcefoundation.ru"]})]})]})}),l.jsx(Jn,{})]})}const PC="_main_iq2qw_1",WC="_container_iq2qw_7",JC="_title_iq2qw_13",eT="_section_iq2qw_21",tT="_sectionTitle_iq2qw_25",nT="_subSectionTitle_iq2qw_34",lT="_list_iq2qw_42",aT="_info_iq2qw_57",sT="_example_iq2qw_71",iT="_warning_iq2qw_81",W={main:PC,container:WC,title:JC,section:eT,sectionTitle:tT,subSectionTitle:nT,list:lT,info:aT,example:sT,warning:iT};function cT(){return l.jsxs(l.Fragment,{children:[l.jsx(ii,{}),l.jsx("main",{className:W.main,children:l.jsxs("div",{className:W.container,children:[l.jsx("h1",{className:W.title,children:"ПОЛИТИКА ИСПОЛЬЗОВАНИЯ ФАЙЛОВ COOKIE"}),l.jsxs("section",{className:W.section,children:[l.jsx("h3",{className:W.sectionTitle,children:"Общие положения и терминология"}),l.jsx("p",{children:"Настоящая Политика использования файлов cookie устанавливает порядок обработки файлов cookie и содержащихся в них персональных данных ООО «БИТФОРС» при использовании пользователями интернет-ресурса https://bitforce-foundation.ru."}),l.jsx("p",{children:"Файлы cookie — это текстовые файлы небольшого размера, которые устанавливаются на пользовательское устройство при посещении интернет-ресурса или совершении на нем определенных действий. Файлы cookie остаются сохраненными на устройстве даже после покидания ресурса, что позволяет «узнавать» пользователя при последующих посещениях."}),l.jsx("p",{children:"К персональным данным относится не сам файл cookie, а его содержимое — уникальные идентификаторы, IP-адреса, информация о предпочтениях пользователя и другие данные, позволяющие прямо или косвенно идентифицировать физическое лицо."})]}),l.jsxs("section",{className:W.section,children:[l.jsx("h3",{className:W.sectionTitle,children:"Оператор персональных данных"}),l.jsx("p",{children:"Оператором персональных данных, содержащихся в файлах cookie, является:"}),l.jsxs("div",{className:W.info,children:[l.jsx("p",{children:"ООО «БИТФОРС»"}),l.jsx("p",{children:"ИНН: 9810001062"}),l.jsx("p",{children:"ОГРН: 1257800060990"}),l.jsx("p",{children:"Юридический адрес: 196246, город Санкт-Петербург, Московское ш, д. 25 к. 1 литера В, помещ. 3-н"})]}),l.jsx("p",{children:"Оператор определяет цели обработки персональных данных, их состав, а также действия с персональными данными, включая случаи использования сторонних файлов cookie."})]}),l.jsxs("section",{className:W.section,children:[l.jsx("h3",{className:W.sectionTitle,children:"Категории файлов cookie и их назначение"}),l.jsx("h4",{className:W.subSectionTitle,children:"1. Строго необходимые (технические) файлы cookie"}),l.jsx("p",{children:"Данные файлы обеспечивают работу интернет-ресурса и предоставление необходимого уровня сервиса: авторизацию, навигацию, отображение контента в соответствии с параметрами устройства, обеспечение безопасности."}),l.jsx("p",{children:"Обработка таких файлов cookie осуществляется на основании п. 5 ч. 1 ст. 6 ФЗ № 152 (заключение и исполнение договора). Согласие на использование строго необходимых файлов cookie не требуется."}),l.jsx("p",{className:W.example,children:"Примеры: файлы сессий (PHPSESSID), настройки безопасности, файлы аутентификации."}),l.jsx("h4",{className:W.subSectionTitle,children:"2. Функциональные файлы cookie"}),l.jsx("p",{children:"Используются для запоминания пользовательских предпочтений и персонализации взаимодействия с сайтом: сохранение выбранного языка, региона, настроек отображения, размера шрифта."}),l.jsx("p",{children:"Обработка осуществляется на основании согласия субъекта персональных данных, поскольку данная обработка не является строго необходимой для функционирования сайта."}),l.jsx("p",{className:W.example,children:"Примеры: настройки языка интерфейса, предпочтения отображения, настройки доступности."}),l.jsx("h4",{className:W.subSectionTitle,children:"3. Аналитические файлы cookie"}),l.jsx("p",{children:"Собирают информацию о взаимодействии пользователей с интернет-ресурсом для анализа его использования, выявления популярных разделов, обнаружения ошибок и улучшения пользовательского опыта. Могут содержать персональные данные, включая IP-адреса пользователей."}),l.jsx("p",{children:"Обработка осуществляется на основании согласия субъекта персональных данных."}),l.jsx("h4",{className:W.subSectionTitle,children:"4. Маркетинговые файлы cookie"}),l.jsx("p",{children:"Используются для отслеживания пользователей в целях персонализированной рекламы, анализа эффективности рекламных кампаний, ретаргетинга."}),l.jsx("p",{children:"Обработка осуществляется исключительно на основании согласия субъекта персональных данных."}),l.jsx("p",{className:W.example,children:"Примеры: пиксели социальных сетей, рекламные идентификаторы, файлы ретаргетинга."})]}),l.jsxs("section",{className:W.section,children:[l.jsx("h3",{className:W.sectionTitle,children:"Правовые основания обработки персональных данных"}),l.jsx("p",{children:"Обработка персональных данных, содержащихся в файлах cookie, осуществляется на следующих правовых основаниях:"}),l.jsxs("ul",{className:W.list,children:[l.jsxs("li",{children:[l.jsx("strong",{children:"Согласие субъекта персональных данных"})," — для функциональных, аналитических и маркетинговых файлов cookie"]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Заключение и исполнение договора"})," — для строго необходимых файлов cookie, обеспечивающих работу интернет-ресурса"]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Законные интересы оператора"})," — в исключительных случаях, когда отсутствуют иные основания"]})]})]}),l.jsxs("section",{className:W.section,children:[l.jsx("h3",{className:W.sectionTitle,children:"Порядок получения согласия"}),l.jsx("h4",{className:W.subSectionTitle,children:"Принципы получения согласия:"}),l.jsxs("ul",{className:W.list,children:[l.jsx("li",{children:"Согласие должно быть получено до начала обработки персональных данных"}),l.jsx("li",{children:"Информация об использовании файлов cookie размещается на первом уровне интернет-ресурса"}),l.jsx("li",{children:"Предоставляется возможность выбора категорий файлов cookie"}),l.jsx("li",{children:"Используются активные формулировки вместо пассивных"})]}),l.jsx("h4",{className:W.subSectionTitle,children:"Критерии действительного согласия:"}),l.jsxs("ul",{className:W.list,children:[l.jsxs("li",{children:[l.jsx("strong",{children:"Добровольность"})," — согласие дается по свободной воле субъекта"]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Конкретность"})," — четко определены цели обработки"]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Информированность"})," — предоставлена полная информация об обработке"]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Однозначность"})," — согласие выражено в недвусмысленной форме"]})]})]}),l.jsxs("section",{className:W.section,children:[l.jsx("h3",{className:W.sectionTitle,children:"Сторонние файлы cookie"}),l.jsx("h4",{className:W.subSectionTitle,children:"Использование сторонних сервисов:"}),l.jsx("p",{children:"Наш интернет-ресурс использует файлы cookie сторонних сервисов, включая:"}),l.jsxs("ul",{className:W.list,children:[l.jsx("li",{children:"Яндекс.Метрика (ООО «ЯНДЕКС», Россия)"}),l.jsx("li",{children:"Социальные сети и сервисы интеграции"})]}),l.jsx("h4",{className:W.subSectionTitle,children:"Обеспечение защиты:"}),l.jsxs("ul",{className:W.list,children:[l.jsx("li",{children:"Получено согласие на передачу"}),l.jsx("li",{children:"Применяются дополнительные меры защиты данных"}),l.jsx("li",{children:"Контролируется соблюдение принципов обработки персональных данных получателями"})]})]}),l.jsxs("section",{className:W.section,children:[l.jsx("h3",{className:W.sectionTitle,children:"Сроки обработки и хранения"}),l.jsx("h4",{className:W.subSectionTitle,children:"Категории по срокам хранения:"}),l.jsxs("ul",{className:W.list,children:[l.jsx("li",{children:"Сеансовые cookie — удаляются автоматически при закрытии браузера"}),l.jsx("li",{children:"Постоянные cookie — хранятся установленный период или до удаления пользователем"})]}),l.jsx("h4",{className:W.subSectionTitle,children:"Конкретные сроки:"}),l.jsxs("ul",{className:W.list,children:[l.jsx("li",{children:"Необходимые файлы cookie — до 12 месяцев"}),l.jsx("li",{children:"Функциональные файлы cookie — до 12 месяцев"}),l.jsx("li",{children:"Аналитические файлы cookie — до 24 месяцев"}),l.jsx("li",{children:"Маркетинговые файлы cookie — до 24 месяцев"})]}),l.jsx("p",{children:"По истечении установленных сроков файлы cookie удаляются автоматически. Пользователь может удалить файлы cookie досрочно через настройки браузера или отозвать согласие на их обработку."})]}),l.jsxs("section",{className:W.section,children:[l.jsx("h3",{className:W.sectionTitle,children:"Права субъектов персональных данных"}),l.jsx("h4",{className:W.subSectionTitle,children:"Право на информацию:"}),l.jsxs("ul",{className:W.list,children:[l.jsx("li",{children:"Получение информации о обработке персональных данных"}),l.jsx("li",{children:"Сведения о правовых основаниях и целях обработки"}),l.jsx("li",{children:"Информация о сроках обработки и составе данных"})]}),l.jsx("h4",{className:W.subSectionTitle,children:"Право на доступ:"}),l.jsxs("ul",{className:W.list,children:[l.jsx("li",{children:"Получение подтверждения факта обработки"}),l.jsx("li",{children:"Ознакомление с обрабатываемыми персональными данными"}),l.jsx("li",{children:"Получение информации об источниках персональных данных"})]}),l.jsx("h4",{className:W.subSectionTitle,children:"Право на уточнение, блокирование, удаление:"}),l.jsxs("ul",{className:W.list,children:[l.jsx("li",{children:"Требование уточнения неточных данных"}),l.jsx("li",{children:"Блокирование недостоверных данных"}),l.jsx("li",{children:"Удаление незаконно полученных данных"})]}),l.jsx("h4",{className:W.subSectionTitle,children:"Право на отзыв согласия:"}),l.jsxs("ul",{className:W.list,children:[l.jsx("li",{children:"Отзыв согласия в любое время"}),l.jsx("li",{children:"Прекращение обработки после отзыва согласия"}),l.jsx("li",{children:"Сохранение права на обжалование действий оператора"})]})]}),l.jsxs("section",{className:W.section,children:[l.jsx("h3",{className:W.sectionTitle,children:"Способы управления файлами cookie"}),l.jsx("h4",{className:W.subSectionTitle,children:"Управление через настройки сайта:"}),l.jsxs("ul",{className:W.list,children:[l.jsx("li",{children:"Использование баннера согласия на файлы cookie"}),l.jsx("li",{children:"Изменение настроек в любое время через интерфейс сайта"}),l.jsx("li",{children:"Отзыв согласия на использование отдельных категорий файлов cookie"})]}),l.jsx("h4",{className:W.subSectionTitle,children:"Управление через браузер:"}),l.jsx("p",{children:"Большинство браузеров позволяют контролировать файлы cookie:"}),l.jsxs("ul",{className:W.list,children:[l.jsx("li",{children:"Блокировка — запрет установки новых файлов cookie"}),l.jsx("li",{children:"Удаление — очистка существующих файлов cookie"}),l.jsx("li",{children:"Уведомления — получение предупреждений при установке файлов cookie"}),l.jsx("li",{children:"Селективная настройка — разрешение файлов cookie только для определенных сайтов"})]}),l.jsx("h4",{className:W.subSectionTitle,children:"Инструкции для популярных браузеров:"}),l.jsxs("ul",{className:W.list,children:[l.jsx("li",{children:"Google Chrome: Настройки → Конфиденциальность и безопасность → Файлы cookie"}),l.jsx("li",{children:"Mozilla Firefox: Настройки → Приватность и Защита → Файлы cookie"}),l.jsx("li",{children:"Safari: Настройки → Конфиденциальность → Файлы cookie"}),l.jsx("li",{children:"Microsoft Edge: Настройки → Файлы cookie и разрешения сайтов"})]}),l.jsx("p",{className:W.warning,children:"Блокировка необходимых файлов cookie может привести к ограничению функциональности интернет-ресурса."})]}),l.jsxs("section",{className:W.section,children:[l.jsx("h3",{className:W.sectionTitle,children:"Меры безопасности"}),l.jsx("p",{children:"Оператор применяет правовые, организационные и технические меры для защиты персональных данных:"}),l.jsx("h4",{className:W.subSectionTitle,children:"Правовые меры:"}),l.jsxs("ul",{className:W.list,children:[l.jsx("li",{children:"Назначение ответственного за организацию обработки персональных данных"}),l.jsx("li",{children:"Ознакомление сотрудников с требованиями законодательства"}),l.jsx("li",{children:"Заключение соглашений о неразглашении персональных данных"})]}),l.jsx("h4",{className:W.subSectionTitle,children:"Организационные меры:"}),l.jsxs("ul",{className:W.list,children:[l.jsx("li",{children:"Определение перечня лиц, допущенных к обработке персональных данных"}),l.jsx("li",{children:"Установление правил доступа к персональным данным"}),l.jsx("li",{children:"Контроль за соблюдением требований по защите персональных данных"})]}),l.jsx("h4",{className:W.subSectionTitle,children:"Технические меры:"}),l.jsxs("ul",{className:W.list,children:[l.jsx("li",{children:"Использование средств защиты информации"}),l.jsx("li",{children:"Применение криптографических средств защиты"}),l.jsx("li",{children:"Обеспечение целостности и доступности персональных данных"}),l.jsx("li",{children:"Регулярное обновление систем защиты информации"})]})]}),l.jsxs("section",{className:W.section,children:[l.jsx("h3",{className:W.sectionTitle,children:"Контактная информация и обращения"}),l.jsx("p",{children:"Для реализации прав субъекта персональных данных обращайтесь к нам:"}),l.jsxs("div",{className:W.info,children:[l.jsx("p",{children:"ООО «БИТФОРС»"}),l.jsx("p",{children:"ИНН: 9810001062"}),l.jsx("p",{children:"ОГРН: 1257800060990"}),l.jsx("p",{children:"Юридический адрес: 196246, город Санкт-Петербург, Московское ш, д. 25 к. 1 литера В, помещ. 3-н"}),l.jsx("p",{children:"Email компании: company@bitforcefoundation.ru"})]}),l.jsx("h4",{className:W.subSectionTitle,children:"Порядок рассмотрения обращений:"}),l.jsxs("ul",{className:W.list,children:[l.jsx("li",{children:"Срок рассмотрения обращений — до 30 дней с момента получения"}),l.jsx("li",{children:"Обращения рассматриваются в письменной форме"}),l.jsx("li",{children:"Ответ направляется способом, указанным в обращении"}),l.jsx("li",{children:"При отказе в удовлетворении требований указываются мотивированные основания"})]})]})]})}),l.jsx(Jn,{})]})}const rT="_main_9j8kd_1",oT="_container_9j8kd_7",uT="_title_9j8kd_13",dT="_subtitle_9j8kd_21",fT="_section_9j8kd_29",hT="_sectionTitle_9j8kd_33",mT="_subSectionTitle_9j8kd_42",pT="_list_9j8kd_50",vT="_info_9j8kd_65",_T="_contacts_9j8kd_79",gT="_confirmation_9j8kd_92",Z={main:rT,container:oT,title:uT,subtitle:dT,section:fT,sectionTitle:hT,subSectionTitle:mT,list:pT,info:vT,contacts:_T,confirmation:gT};function yT(){return l.jsxs(l.Fragment,{children:[l.jsx(ii,{}),l.jsx("main",{className:Z.main,children:l.jsxs("div",{className:Z.container,children:[l.jsx("h1",{className:Z.title,children:"СОГЛАСИЕ НА ОБРАБОТКУ ПЕРСОНАЛЬНЫХ ДАННЫХ"}),l.jsx("h2",{className:Z.subtitle,children:"ООО «БИТФОРС»"}),l.jsxs("section",{className:Z.section,children:[l.jsx("h3",{className:Z.sectionTitle,children:"Преамбула"}),l.jsx("p",{children:"Я, субъект персональных данных, действуя своей волей и в своем интересе, в соответствии с требованиями Федерального закона от 27.07.2006 № 152-ФЗ «О персональных данных», предоставляю ООО «БИТФОРС» согласие на обработку моих персональных данных на условиях и для целей, определенных настоящим Согласием."})]}),l.jsxs("section",{className:Z.section,children:[l.jsx("h3",{className:Z.sectionTitle,children:"1. Сведения об операторе"}),l.jsxs("div",{className:Z.info,children:[l.jsx("p",{children:"Полное наименование: Общество с ограниченной ответственностью «БИТФОРС»"}),l.jsx("p",{children:"ИНН: 9810001062"}),l.jsx("p",{children:"ОГРН: 1257800060990"}),l.jsx("p",{children:"Юридический адрес: 196246, город Санкт-Петербург, Московское шоссе, дом 25, корпус 1, литера В, помещение 3-н"}),l.jsx("p",{children:"Электронная почта: company@bitforcefoundation.ru"}),l.jsx("p",{children:"Веб-сайт: https://bitforce-foundation.ru"})]})]}),l.jsxs("section",{className:Z.section,children:[l.jsx("h3",{className:Z.sectionTitle,children:"2. Правовые основания обработки"}),l.jsx("p",{children:"Настоящее согласие предоставляется на основании пункта 1 части 1 статьи 6 Федерального закона «О персональных данных» и является правовым основанием для обработки персональных данных Оператором."}),l.jsx("p",{children:"Согласие дается добровольно, своей волей и в своих интересах."}),l.jsx("p",{children:"Субъект персональных данных понимает последствия предоставления согласия, включая возможные риски, связанные с обработкой персональных данных."})]}),l.jsxs("section",{className:Z.section,children:[l.jsx("h3",{className:Z.sectionTitle,children:"3. Цели обработки персональных данных"}),l.jsx("h4",{className:Z.subSectionTitle,children:"3.1. Основные цели:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Регистрация и ведение учетной записи на веб-сайте и в мобильном приложении"}),l.jsx("li",{children:"Идентификация и верификация личности в соответствии с требованиями законодательства"}),l.jsx("li",{children:"Предоставление услуг по обмену криптовалют и электронных денежных средств"}),l.jsx("li",{children:"Проведение финансовых операций, переводов и расчетов"}),l.jsx("li",{children:"Ведение учета и истории операций"})]}),l.jsx("h4",{className:Z.subSectionTitle,children:"3.2. Дополнительные цели:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Обеспечение безопасности операций и предотвращение мошенничества"}),l.jsx("li",{children:"Выполнение требований по противодействию легализации доходов"}),l.jsx("li",{children:"Соблюдение требований валютного, налогового и иного применимого законодательства"}),l.jsx("li",{children:"Предоставление технической поддержки и клиентского сервиса"}),l.jsx("li",{children:"Рассылка уведомлений о состоянии операций и изменениях в условиях"})]}),l.jsx("h4",{className:Z.subSectionTitle,children:"3.3. Маркетинговые цели (при дополнительном согласии):"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Направление информационных и рекламных материалов"}),l.jsx("li",{children:"Проведение маркетинговых исследований и опросов"}),l.jsx("li",{children:"Персонализация предложений и услуг"}),l.jsx("li",{children:"Анализ предпочтений и поведения для улучшения сервисов"})]}),l.jsx("h4",{className:Z.subSectionTitle,children:"3.4. Аналитические цели:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Анализ использования веб-сайта и мобильного приложения"}),l.jsx("li",{children:"Улучшение качества предоставляемых услуг"}),l.jsx("li",{children:"Разработка новых продуктов и сервисов"}),l.jsx("li",{children:"Создание статистических отчетов в обезличенном виде"})]})]}),l.jsxs("section",{className:Z.section,children:[l.jsx("h3",{className:Z.sectionTitle,children:"4. Перечень персональных данных"}),l.jsx("h4",{className:Z.subSectionTitle,children:"4.1. Идентификационные данные:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Фамилия, имя, отчество"}),l.jsx("li",{children:"Дата рождения"}),l.jsx("li",{children:"Гражданство"})]}),l.jsx("h4",{className:Z.subSectionTitle,children:"4.2. Документы, удостоверяющие личность:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Серия и номер паспорта гражданина Российской Федерации"}),l.jsx("li",{children:"Дата выдачи и код подразделения"}),l.jsx("li",{children:"Адрес регистрации по месту жительства"}),l.jsx("li",{children:"Цифровые копии (сканы) документов"})]}),l.jsx("h4",{className:Z.subSectionTitle,children:"4.3. Контактная информация:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Номера телефонов (мобильный, домашний, рабочий)"}),l.jsx("li",{children:"Адреса электронной почты"}),l.jsx("li",{children:"Почтовые адреса (фактического проживания, для корреспонденции)"})]}),l.jsx("h4",{className:Z.subSectionTitle,children:"4.4. Финансовая информация:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Номера банковских счетов и реквизиты банковских карт"}),l.jsx("li",{children:"Реквизиты криптовалютных кошельков и адресов"}),l.jsx("li",{children:"Информация о доходах и источниках происхождения денежных средств"}),l.jsx("li",{children:"История финансовых операций и транзакций"})]}),l.jsx("h4",{className:Z.subSectionTitle,children:"4.5. Техническая информация:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"IP-адреса устройств, с которых осуществляется доступ к сервисам"}),l.jsx("li",{children:"Информация о браузере, операционной системе и устройстве"}),l.jsx("li",{children:"Файлы cookie и данные локального хранилища"}),l.jsx("li",{children:"Логи действий и история использования сервисов"})]}),l.jsx("h4",{className:Z.subSectionTitle,children:"4.6. Дополнительная информация:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Фотографии для процедур верификации"}),l.jsx("li",{children:"Видеозаписи процедур видеоидентификации"}),l.jsx("li",{children:"Биометрические данные (при использовании соответствующих технологий)"}),l.jsx("li",{children:"Информация о семейном положении и профессиональной деятельности"})]})]}),l.jsxs("section",{className:Z.section,children:[l.jsx("h3",{className:Z.sectionTitle,children:"5. Перечень действий с персональными данными"}),l.jsx("p",{children:"Согласие распространяется на следующие действия (операции) с персональными данными:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Сбор, запись и первичная обработка персональных данных"}),l.jsx("li",{children:"Накопление и систематизация в базах данных"}),l.jsx("li",{children:"Создание резервных копий и архивирование"}),l.jsx("li",{children:"Извлечение, использование и анализ данных"}),l.jsx("li",{children:"Уточнение, обновление и актуализация информации"}),l.jsx("li",{children:"Передача данных третьим лицам"}),l.jsx("li",{children:"Обезличивание и удаление данных"}),l.jsx("li",{children:"Автоматизированная обработка и профилирование"})]})]}),l.jsxs("section",{className:Z.section,children:[l.jsx("h3",{className:Z.sectionTitle,children:"6. Лица, которым могут быть переданы персональные данные"}),l.jsx("h4",{className:Z.subSectionTitle,children:"6.1. Сотрудники Оператора:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Уполномоченные сотрудники, непосредственно участвующие в обработке"}),l.jsx("li",{children:"Сотрудники службы безопасности и комплаенса"}),l.jsx("li",{children:"Сотрудники технической поддержки"}),l.jsx("li",{children:"Руководящий состав в рамках их полномочий"})]}),l.jsx("h4",{className:Z.subSectionTitle,children:"6.2. Государственные и муниципальные органы:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Федеральная служба по финансовому мониторингу"}),l.jsx("li",{children:"Федеральная налоговая служба"}),l.jsx("li",{children:"Правоохранительные органы (при наличии законных требований)"}),l.jsx("li",{children:"Суды и органы исполнения судебных решений"})]}),l.jsx("h4",{className:Z.subSectionTitle,children:"6.3. Партнеры и контрагенты:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Банки и платежные системы"}),l.jsx("li",{children:"Операторы электронных денежных средств"}),l.jsx("li",{children:"Поставщики технологических решений"}),l.jsx("li",{children:"Аудиторские и консалтинговые организации"})]})]}),l.jsxs("section",{className:Z.section,children:[l.jsx("h3",{className:Z.sectionTitle,children:"7. Сроки обработки персональных данных"}),l.jsx("h4",{className:Z.subSectionTitle,children:"7.1. Общие принципы:"}),l.jsx("p",{children:"Персональные данные обрабатываются в течение времени, необходимого для достижения целей обработки. После достижения целей данные подлежат уничтожению или обезличиванию."}),l.jsx("h4",{className:Z.subSectionTitle,children:"7.2. Конкретные сроки обработки:"}),l.jsxs("ul",{className:Z.list,children:[l.jsxs("li",{children:[l.jsx("strong",{children:"Данные активных клиентов:"})," в течение всего периода отношений плюс 5 лет после прекращения"]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Данные для идентификации:"})," 5 лет с момента прекращения отношений"]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Финансовая информация:"})," 5 лет с даты совершения операции"]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Маркетинговые данные:"})," до отзыва согласия, но не более 3 лет"]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Техническая информация:"})," 1 год для безопасности, 6 месяцев для логов"]})]})]}),l.jsxs("section",{className:Z.section,children:[l.jsx("h3",{className:Z.sectionTitle,children:"8. Права субъекта персональных данных"}),l.jsx("h4",{className:Z.subSectionTitle,children:"8.1. Право на информацию:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Получение подтверждения факта обработки персональных данных"}),l.jsx("li",{children:"Получение информации о целях и способах обработки"}),l.jsx("li",{children:"Информация о сроках обработки и составе данных"}),l.jsx("li",{children:"Сведения о лицах, которым передаются данные"})]}),l.jsx("h4",{className:Z.subSectionTitle,children:"8.2. Право на доступ:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Получение копий обрабатываемых персональных данных"}),l.jsx("li",{children:"Ознакомление с историей обработки и изменений"}),l.jsx("li",{children:"Получение информации об источниках персональных данных"})]}),l.jsx("h4",{className:Z.subSectionTitle,children:"8.3. Право на исправление и удаление:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Требование исправления неточных или неполных данных"}),l.jsx("li",{children:"Требование удаления персональных данных при наличии оснований"}),l.jsx("li",{children:"Удаление данных после отзыва согласия"})]}),l.jsx("h4",{className:Z.subSectionTitle,children:"8.4. Право на отзыв согласия:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Согласие может быть отозвано в любое время"}),l.jsx("li",{children:"Отзыв оформляется в письменной форме"}),l.jsx("li",{children:"После отзыва обработка прекращается в разумные сроки"})]}),l.jsx("h4",{className:Z.subSectionTitle,children:"8.5. Право на обжалование:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Обращение к Оператору с жалобами на действия по обработке данных"}),l.jsx("li",{children:"Обращение в Роскомнадзор или его территориальные органы"}),l.jsx("li",{children:"Обращение в суд для защиты нарушенных прав"})]}),l.jsx("h4",{className:Z.subSectionTitle,children:"8.6. Порядок реализации прав:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Обращения направляются на адрес: company@bitforcefoundation.ru"}),l.jsx("li",{children:"Обращения рассматриваются в течение 30 дней"}),l.jsx("li",{children:"При необходимости срок может быть продлен на 30 дней"})]})]}),l.jsxs("section",{className:Z.section,children:[l.jsx("h3",{className:Z.sectionTitle,children:"9. Заключительные положения"}),l.jsx("h4",{className:Z.subSectionTitle,children:"9.1. Действие согласия:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Согласие действует с момента его предоставления"}),l.jsx("li",{children:"Согласие действует до его отзыва или до достижения целей обработки"}),l.jsx("li",{children:"При существенных изменениях целей требуется новое согласие"})]}),l.jsx("h4",{className:Z.subSectionTitle,children:"9.2. Форма предоставления согласия:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Согласие может быть предоставлено в письменной форме"}),l.jsx("li",{children:"Согласие может быть предоставлено в электронной форме"}),l.jsx("li",{children:"Согласие может выражаться путем совершения конклюдентных действий"})]}),l.jsx("h4",{className:Z.subSectionTitle,children:"9.3. Последствия непредоставления согласия:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Отказ в предоставлении согласия может повлечь невозможность регистрации"}),l.jsx("li",{children:"Отказ может ограничить доступ к отдельным услугам"}),l.jsx("li",{children:"Отказ в согласии на маркетинг не влияет на основные услуги"}),l.jsx("li",{children:"Субъект вправе предоставить частичное согласие"})]}),l.jsx("h4",{className:Z.subSectionTitle,children:"9.4. Контактная информация:"}),l.jsxs("div",{className:Z.contacts,children:[l.jsx("p",{children:"Почтовый адрес: 196246, г. Санкт-Петербург, Московское ш., д. 25, к. 1, лит. В, пом. 3-н"}),l.jsx("p",{children:"Электронная почта: company@bitforcefoundation.ru"}),l.jsx("p",{children:"Ответственное лицо: Кленин Михаил Васильевич"}),l.jsx("p",{children:"Официальный сайт: https://bitforce-foundation.ru"})]}),l.jsx("h4",{className:Z.subSectionTitle,children:"9.5. Подтверждение понимания:"}),l.jsx("p",{className:Z.confirmation,children:"Предоставляя настоящее согласие, я подтверждаю, что:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Ознакомлен с содержанием согласия и понимаю его значение"}),l.jsx("li",{children:"Понимаю цели и способы обработки моих персональных данных"}),l.jsx("li",{children:"Знаю о своих правах и способах их реализации"}),l.jsx("li",{children:"Согласие предоставляется добровольно и осознанно"}),l.jsx("li",{children:"Имею возможность отозвать согласие в любое время"})]})]})]})}),l.jsx(Jn,{})]})}const xT="_main_2hruc_1",bT="_container_2hruc_7",jT="_title_2hruc_13",ST="_subtitle_2hruc_21",NT="_section_2hruc_29",wT="_sectionTitle_2hruc_33",CT="_description_2hruc_42",TT="_info_2hruc_49",ET="_linkBlock_2hruc_56",RT="_button_2hruc_64",AT="_operatorInfo_2hruc_81",Bt={main:xT,container:bT,title:jT,subtitle:ST,section:NT,sectionTitle:wT,description:CT,info:TT,linkBlock:ET,button:RT,operatorInfo:AT};function OT(){return l.jsxs(l.Fragment,{children:[l.jsx(ii,{}),l.jsx("main",{className:Bt.main,children:l.jsxs("div",{className:Bt.container,children:[l.jsx("h1",{className:Bt.title,children:"Реестр операторов персональных данных"}),l.jsx("h2",{className:Bt.subtitle,children:"ООО «БИТФОРС»"}),l.jsxs("section",{className:Bt.section,children:[l.jsx("p",{className:Bt.description,children:"Информация об операторе персональных данных размещена в реестре операторов персональных данных Федеральной службы по надзору в сфере связи, информационных технологий и массовых коммуникаций (Роскомнадзор)."}),l.jsx("p",{className:Bt.info,children:"Вы можете просмотреть информацию об операторе в реестре Роскомнадзора, перейдя по ссылке ниже:"}),l.jsx("div",{className:Bt.linkBlock,children:l.jsx("a",{href:"https://pd.rkn.gov.ru/operators-registry/operators-list/?act=search&name_full=%D0%91%D0%B8%D1%82%D1%84%D0%BE%D1%80%D1%81&inn=9810001062®n=",target:"_blank",rel:"noopener noreferrer",className:Bt.button,children:"Открыть реестр Роскомнадзора"})}),l.jsx("p",{className:Bt.info,children:"Реестр содержит информацию об операторах персональных данных, включая сведения о целях и методах обработки персональных данных, а также меры по обеспечению безопасности персональных данных."})]}),l.jsxs("section",{className:Bt.section,children:[l.jsx("h3",{className:Bt.sectionTitle,children:"Информация об операторе"}),l.jsxs("div",{className:Bt.operatorInfo,children:[l.jsxs("p",{children:[l.jsx("strong",{children:"Наименование:"})," ООО «БИТФОРС»"]}),l.jsxs("p",{children:[l.jsx("strong",{children:"ИНН:"})," 9810001062"]}),l.jsxs("p",{children:[l.jsx("strong",{children:"ОГРН:"})," 1257800060990"]}),l.jsxs("p",{children:[l.jsx("strong",{children:"Юридический адрес:"})," 196246, город Санкт-Петербург, Московское шоссе, дом 25, корпус 1, литера В, помещение 3-н"]}),l.jsxs("p",{children:[l.jsx("strong",{children:"Контактная информация:"})," company@bitforcefoundation.ru"]})]})]}),l.jsxs("section",{className:Bt.section,children:[l.jsx("h3",{className:Bt.sectionTitle,children:"О Роскомнадзоре"}),l.jsx("p",{children:"Федеральная служба по надзору в сфере связи, информационных технологий и массовых коммуникаций (Роскомнадзор) — это федеральный орган исполнительной власти, осуществляющий функции по контролю и надзору в области персональных данных."}),l.jsx("p",{children:"Роскомнадзор ведет реестр операторов персональных данных в соответствии с требованиями Федерального закона «О персональных данных». Реестр является открытой информационной системой и доступен всем заинтересованным лицам."})]})]})}),l.jsx(Jn,{})]})}const MT="_page_v2udf_1",DT="_main_v2udf_8",zT="_glow_v2udf_17",LT="_title_v2udf_29",BT="_list_v2udf_38",UT="_empty_v2udf_46",kT="_status_v2udf_53",HT="_statusError_v2udf_60",qT="_loadMore_v2udf_68",$T="_loadMoreBtn_v2udf_76",GT="_statusBadge_v2udf_103",VT="_status_pending_v2udf_112",FT="_status_completed_v2udf_117",QT="_status_cancelled_v2udf_122",YT="_status_rejected_v2udf_127",XT="_status_error_v2udf_132",ZT="_status_money_accepted_v2udf_138",KT="_status_web3_processing_v2udf_143",IT="_status_web3_hash_error_v2udf_148",PT="_status_web3_balance_problem_v2udf_153",WT="_status_receipt_error_v2udf_158",JT="_status_usdt_delivered_v2udf_163",eE="_accordionItem_v2udf_169",tE="_summaryRow_v2udf_177",nE="_summaryLeft_v2udf_194",lE="_summaryDate_v2udf_203",aE="_summaryRight_v2udf_210",sE="_amount_v2udf_217",iE="_totalAmount_v2udf_225",cE="_chevron_v2udf_233",rE="_chevronOpen_v2udf_239",oE="_bodyOuter_v2udf_244",uE="_bodyOuterOpen_v2udf_250",dE="_bodyInner_v2udf_254",fE="_body_v2udf_244",hE="_col_v2udf_267",mE="_colTitle_v2udf_272",pE="_infoRow_v2udf_281",vE="_infoRowTotal_v2udf_294",_E="_infoLabel_v2udf_299",gE="_infoValue_v2udf_300",yE="_infoValueRow_v2udf_319",xE="_infoLink_v2udf_325",bE="_copyBtn_v2udf_337",te={page:MT,main:DT,glow:zT,title:LT,list:BT,empty:UT,status:kT,statusError:HT,loadMore:qT,loadMoreBtn:$T,statusBadge:GT,status_pending:VT,status_completed:FT,status_cancelled:QT,status_rejected:YT,status_error:XT,status_money_accepted:ZT,status_web3_processing:KT,status_web3_hash_error:IT,status_web3_balance_problem:PT,status_receipt_error:WT,status_usdt_delivered:JT,accordionItem:eE,summaryRow:tE,summaryLeft:nE,summaryDate:lE,summaryRight:aE,amount:sE,totalAmount:iE,chevron:cE,chevronOpen:rE,bodyOuter:oE,bodyOuterOpen:uE,bodyInner:dE,body:fE,col:hE,colTitle:mE,infoRow:pE,infoRowTotal:vE,infoLabel:_E,infoValue:gE,infoValueRow:yE,infoLink:xE,copyBtn:bE},jE={pending:"Ожидание",rejected:"Отклонён",completed:"Выполнен",cancelled:"Отменён",error:"Ошибка"},Im={pending:"Ожидание",money_accepted:"Деньги получены",web3_processing:"Обработка в сети",web3_hash_error:"Ошибка хэша",web3_balance_problem:"Проблема с балансом",receipt_error:"Ошибка чека",completed:"Завершён",usdt_delivered:"USDT отправлен"};function Pm(s){return s?new Date(s).toLocaleString("ru-RU",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit"}):"—"}function SE(s){return s?s.length<=16?s:`${s.slice(0,8)}…${s.slice(-6)}`:"—"}function K0({status:s,labels:c}){return l.jsx("span",{className:`${te.statusBadge} ${te[`status_${s}`]??""}`,children:c[s]??s})}function NE({value:s}){const[c,i]=b.useState(!1);function o(){navigator.clipboard.writeText(s).then(()=>{i(!0),setTimeout(()=>i(!1),1500)})}return l.jsx("button",{className:te.copyBtn,onClick:o,type:"button",title:"Скопировать",children:c?l.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:l.jsx("polyline",{points:"20 6 9 17 4 12"})}):l.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[l.jsx("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2"}),l.jsx("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})]})})}function wE({item:s}){const[c,i]=b.useState(!1),{order:o,payment:d}=s;return l.jsxs("div",{className:te.accordionItem,children:[l.jsxs("button",{className:te.summaryRow,onClick:()=>i(h=>!h),type:"button","aria-expanded":c,children:[l.jsxs("div",{className:te.summaryLeft,children:[l.jsx("span",{className:te.summaryDate,children:Pm(o.created_at)}),l.jsx(K0,{status:o.status,labels:jE}),d&&l.jsx(K0,{status:d.status,labels:Im})]}),l.jsxs("div",{className:te.summaryRight,children:[l.jsxs("span",{className:te.amount,children:[o.usdt_amount," USDT"]}),l.jsxs("span",{className:te.totalAmount,children:[Number(o.total_price).toLocaleString("ru-RU")," ₽"]}),l.jsx("svg",{className:`${te.chevron} ${c?te.chevronOpen:""}`,width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:l.jsx("polyline",{points:"6 9 12 15 18 9"})})]})]}),l.jsx("div",{className:`${te.bodyOuter} ${c?te.bodyOuterOpen:""}`,children:l.jsx("div",{className:te.bodyInner,children:l.jsxs("div",{className:te.body,children:[l.jsxs("div",{className:te.col,children:[l.jsx("p",{className:te.colTitle,children:"Заказ"}),l.jsxs("div",{className:te.infoRow,children:[l.jsx("span",{className:te.infoLabel,children:"Сумма USDT"}),l.jsxs("span",{className:te.infoValue,children:[o.usdt_amount," USDT"]})]}),l.jsxs("div",{className:te.infoRow,children:[l.jsx("span",{className:te.infoLabel,children:"Курс обмена"}),l.jsxs("span",{className:te.infoValue,children:["1 USDT = ",o.usdt_exchange_rate," ₽"]})]}),l.jsxs("div",{className:te.infoRow,children:[l.jsx("span",{className:te.infoLabel,children:"Сервисный сбор"}),l.jsxs("span",{className:te.infoValue,children:[o.service_fee," USDT"]})]}),l.jsxs("div",{className:te.infoRow,children:[l.jsx("span",{className:te.infoLabel,children:"Комиссия за газ"}),l.jsxs("span",{className:te.infoValue,children:[o.gas_fee," USDT"]})]}),l.jsxs("div",{className:`${te.infoRow} ${te.infoRowTotal}`,children:[l.jsx("span",{className:te.infoLabel,children:"Итого к оплате"}),l.jsxs("span",{className:te.infoValue,children:[Number(o.total_price).toLocaleString("ru-RU")," ₽"]})]})]}),l.jsxs("div",{className:te.col,children:[l.jsx("p",{className:te.colTitle,children:"Платёж"}),d?l.jsxs(l.Fragment,{children:[l.jsxs("div",{className:te.infoRow,children:[l.jsx("span",{className:te.infoLabel,children:"Статус"}),l.jsx(K0,{status:d.status,labels:Im})]}),l.jsxs("div",{className:te.infoRow,children:[l.jsx("span",{className:te.infoLabel,children:"Оплачено"}),l.jsx("span",{className:te.infoValue,children:d.itpay_paid_amount||"—"})]}),l.jsxs("div",{className:te.infoRow,children:[l.jsx("span",{className:te.infoLabel,children:"Истекает"}),l.jsx("span",{className:te.infoValue,children:Pm(d.expired_date)})]}),l.jsxs("div",{className:te.infoRow,children:[l.jsx("span",{className:te.infoLabel,children:"Хэш транзакции"}),l.jsxs("span",{className:te.infoValueRow,children:[l.jsx("span",{className:te.infoValue,title:d.web3_transaction_hash||void 0,children:SE(d.web3_transaction_hash)}),d.web3_transaction_hash&&l.jsx(NE,{value:d.web3_transaction_hash})]})]}),l.jsxs("div",{className:te.infoRow,children:[l.jsx("span",{className:te.infoLabel,children:"Чек"}),d.receipt_cloudekassir_link?l.jsx("a",{href:d.receipt_cloudekassir_link,target:"_blank",rel:"noopener noreferrer",className:te.infoLink,children:"Открыть →"}):l.jsx("span",{className:te.infoValue,children:"—"})]})]}):l.jsx("div",{className:te.infoRow,children:l.jsx("span",{className:te.infoValue,children:"—"})})]})]})})})]})}function CE(){const{data:s,isLoading:c,isError:i,fetchNextPage:o,hasNextPage:d,isFetchingNextPage:h}=jx(),m=(s==null?void 0:s.pages.flatMap(p=>p.orders))??[];return l.jsxs("div",{className:te.page,children:[l.jsx(Ia,{}),l.jsxs("main",{className:te.main,children:[l.jsx("div",{className:te.glow}),l.jsx("h1",{className:te.title,children:"Транзакции"}),c&&l.jsx("p",{className:te.status,children:"Загрузка..."}),i&&l.jsx("p",{className:te.statusError,children:"Не удалось загрузить транзакции. Попробуйте обновить страницу."}),!c&&!i&&m.length===0&&l.jsx("p",{className:te.empty,children:"У вас пока нет транзакций."}),m.length>0&&l.jsx("div",{className:te.list,children:m.map(p=>l.jsx(wE,{item:p},p.order.id))}),d&&l.jsx("div",{className:te.loadMore,children:l.jsx("button",{className:te.loadMoreBtn,onClick:()=>o(),disabled:h,type:"button",children:h?"Загрузка...":"Загрузить ещё"})})]}),l.jsx(Jn,{})]})}function TE(){const{pathname:s}=pn();return b.useEffect(()=>{window.scrollTo(0,0)},[s]),null}function EE(){const{isAuthenticated:s,isLoading:c}=Wp(),i=pn();return c?null:s?l.jsx(Np,{}):l.jsx(pc,{to:fe.LOGIN,state:{from:i},replace:!0})}function RE(){var d,h;const{isAuthenticated:s,isLoading:c}=Wp(),o=((h=(d=pn().state)==null?void 0:d.from)==null?void 0:h.pathname)??fe.WALLET;return c?null:s?l.jsx(pc,{to:o,replace:!0}):l.jsx(Np,{})}function AE(){return l.jsxs(bg,{children:[l.jsx(TE,{}),l.jsxs(P4,{children:[l.jsx(rt,{path:fe.HOME,element:l.jsx(Z5,{})}),l.jsx(rt,{path:fe.PUBLICHNAYA_OFERTA,element:l.jsx(BC,{})}),l.jsx(rt,{path:fe.POLITIKA_PERSONALNYH_DANNYH,element:l.jsx(IC,{})}),l.jsx(rt,{path:fe.POLITIKA_COOKIE,element:l.jsx(cT,{})}),l.jsx(rt,{path:fe.SOGLASIE_PERSONALNYH_DANNYH,element:l.jsx(yT,{})}),l.jsx(rt,{path:fe.REESTR_PD_RKN,element:l.jsx(OT,{})}),l.jsxs(rt,{element:l.jsx(RE,{}),children:[l.jsx(rt,{path:fe.LOGIN,element:l.jsx(yN,{})}),l.jsx(rt,{path:fe.REGISTER,element:l.jsx(zN,{})}),l.jsx(rt,{path:fe.RESTORE_PASSWORD,element:l.jsx(CC,{})})]}),l.jsxs(rt,{element:l.jsx(EE,{}),children:[l.jsx(rt,{path:fe.CONVERTER,element:l.jsx(Sw,{})}),l.jsx(rt,{path:fe.WALLET,element:l.jsx(Cm,{})}),l.jsx(rt,{path:fe.WALLET_CHAIN,element:l.jsx(Cm,{})}),l.jsx(rt,{path:fe.SWAP,element:l.jsx(U9,{})}),l.jsx(rt,{path:fe.BRIDGE,element:l.jsx(P9,{})}),l.jsx(rt,{path:fe.PROFILE,element:l.jsx(nN,{})}),l.jsx(rt,{path:fe.SEED_PHRASE,element:l.jsx(Yw,{})}),l.jsx(rt,{path:fe.KYC,element:l.jsx(hC,{})}),l.jsx(rt,{path:fe.TRANSACTIONS,element:l.jsx(CE,{})})]})]})]})}const OE=new Py({defaultOptions:{queries:{retry:!1}}});function ME({children:s}){return l.jsx(Wy,{client:OE,children:s})}function DE(){return l.jsx(ME,{children:l.jsx(AE,{})})}P_.createRoot(document.getElementById("root")).render(l.jsx(b.StrictMode,{children:l.jsx(DE,{})}));
|