154 lines
543 KiB
JavaScript
154 lines
543 KiB
JavaScript
var $1=s=>{throw TypeError(s)};var R0=(s,c,i)=>c.has(s)||$1("Cannot "+i);var S=(s,c,i)=>(R0(s,c,"read from private field"),i?i.call(s):c.get(s)),ie=(s,c,i)=>c.has(s)?$1("Cannot add the same private member more than once"):c instanceof WeakSet?c.add(s):c.set(s,i),I=(s,c,i,o)=>(R0(s,c,"write to private field"),o?o.call(s,i):c.set(s,i),i),je=(s,c,i)=>(R0(s,c,"access private method"),i);var Qr=(s,c,i,o)=>({set _(d){I(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 Gg(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var A0={exports:{}},ac={};/**
|
||
* @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 G1;function Vg(){if(G1)return ac;G1=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 ac.Fragment=c,ac.jsx=i,ac.jsxs=i,ac}var V1;function Fg(){return V1||(V1=1,A0.exports=Vg()),A0.exports}var l=Fg(),M0={exports:{}},ge={};/**
|
||
* @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 F1;function Qg(){if(F1)return ge;F1=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"),g=Symbol.for("react.suspense"),v=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),y=Symbol.for("react.activity"),N=Symbol.iterator;function E(T){return T===null||typeof T!="object"?null:(T=N&&T[N]||T["@@iterator"],typeof T=="function"?T:null)}var A={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},M=Object.assign,w={};function O(T,q,K){this.props=T,this.context=q,this.refs=w,this.updater=K||A}O.prototype.isReactComponent={},O.prototype.setState=function(T,q){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,q,"setState")},O.prototype.forceUpdate=function(T){this.updater.enqueueForceUpdate(this,T,"forceUpdate")};function F(){}F.prototype=O.prototype;function H(T,q,K){this.props=T,this.context=q,this.refs=w,this.updater=K||A}var V=H.prototype=new F;V.constructor=H,M(V,O.prototype),V.isPureReactComponent=!0;var Z=Array.isArray;function ne(){}var P={H:null,A:null,T:null,S:null},J=Object.prototype.hasOwnProperty;function se(T,q,K){var ee=K.ref;return{$$typeof:s,type:T,key:q,ref:ee!==void 0?ee:null,props:K}}function me(T,q){return se(T.type,q,T.props)}function ve(T){return typeof T=="object"&&T!==null&&T.$$typeof===s}function ze(T){var q={"=":"=0",":":"=2"};return"$"+T.replace(/[=:]/g,function(K){return q[K]})}var ue=/\/+/g;function Ce(T,q){return typeof T=="object"&&T!==null&&T.key!=null?ze(""+T.key):q.toString(36)}function Le(T){switch(T.status){case"fulfilled":return T.value;case"rejected":throw T.reason;default:switch(typeof T.status=="string"?T.then(ne,ne):(T.status="pending",T.then(function(q){T.status==="pending"&&(T.status="fulfilled",T.value=q)},function(q){T.status==="pending"&&(T.status="rejected",T.reason=q)})),T.status){case"fulfilled":return T.value;case"rejected":throw T.reason}}throw T}function U(T,q,K,ee,he){var _e=typeof T;(_e==="undefined"||_e==="boolean")&&(T=null);var Me=!1;if(T===null)Me=!0;else switch(_e){case"bigint":case"string":case"number":Me=!0;break;case"object":switch(T.$$typeof){case s:case c:Me=!0;break;case x:return Me=T._init,U(Me(T._payload),q,K,ee,he)}}if(Me)return he=he(T),Me=ee===""?"."+Ce(T,0):ee,Z(he)?(K="",Me!=null&&(K=Me.replace(ue,"$&/")+"/"),U(he,q,K,"",function($t){return $t})):he!=null&&(ve(he)&&(he=me(he,K+(he.key==null||T&&T.key===he.key?"":(""+he.key).replace(ue,"$&/")+"/")+Me)),q.push(he)),1;Me=0;var ot=ee===""?".":ee+":";if(Z(T))for(var ye=0;ye<T.length;ye++)ee=T[ye],_e=ot+Ce(ee,ye),Me+=U(ee,q,K,_e,he);else if(ye=E(T),typeof ye=="function")for(T=ye.call(T),ye=0;!(ee=T.next()).done;)ee=ee.value,_e=ot+Ce(ee,ye++),Me+=U(ee,q,K,_e,he);else if(_e==="object"){if(typeof T.then=="function")return U(Le(T),q,K,ee,he);throw q=String(T),Error("Objects are not valid as a React child (found: "+(q==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":q)+"). If you meant to render a collection of children, use an array instead.")}return Me}function Q(T,q,K){if(T==null)return T;var ee=[],he=0;return U(T,ee,"","",function(_e){return q.call(K,_e,he++)}),ee}function oe(T){if(T._status===-1){var q=T._result;q=q(),q.then(function(K){(T._status===0||T._status===-1)&&(T._status=1,T._result=K)},function(K){(T._status===0||T._status===-1)&&(T._status=2,T._result=K)}),T._status===-1&&(T._status=0,T._result=q)}if(T._status===1)return T._result.default;throw T._result}var Be=typeof reportError=="function"?reportError:function(T){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var q=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(q))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",T);return}console.error(T)},He={map:Q,forEach:function(T,q,K){Q(T,function(){q.apply(this,arguments)},K)},count:function(T){var q=0;return Q(T,function(){q++}),q},toArray:function(T){return Q(T,function(q){return q})||[]},only:function(T){if(!ve(T))throw Error("React.Children.only expected to receive a single React element child.");return T}};return ge.Activity=y,ge.Children=He,ge.Component=O,ge.Fragment=i,ge.Profiler=d,ge.PureComponent=H,ge.StrictMode=o,ge.Suspense=g,ge.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=P,ge.__COMPILER_RUNTIME={__proto__:null,c:function(T){return P.H.useMemoCache(T)}},ge.cache=function(T){return function(){return T.apply(null,arguments)}},ge.cacheSignal=function(){return null},ge.cloneElement=function(T,q,K){if(T==null)throw Error("The argument must be a React element, but you passed "+T+".");var ee=M({},T.props),he=T.key;if(q!=null)for(_e in q.key!==void 0&&(he=""+q.key),q)!J.call(q,_e)||_e==="key"||_e==="__self"||_e==="__source"||_e==="ref"&&q.ref===void 0||(ee[_e]=q[_e]);var _e=arguments.length-2;if(_e===1)ee.children=K;else if(1<_e){for(var Me=Array(_e),ot=0;ot<_e;ot++)Me[ot]=arguments[ot+2];ee.children=Me}return se(T.type,he,ee)},ge.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},ge.createElement=function(T,q,K){var ee,he={},_e=null;if(q!=null)for(ee in q.key!==void 0&&(_e=""+q.key),q)J.call(q,ee)&&ee!=="key"&&ee!=="__self"&&ee!=="__source"&&(he[ee]=q[ee]);var Me=arguments.length-2;if(Me===1)he.children=K;else if(1<Me){for(var ot=Array(Me),ye=0;ye<Me;ye++)ot[ye]=arguments[ye+2];he.children=ot}if(T&&T.defaultProps)for(ee in Me=T.defaultProps,Me)he[ee]===void 0&&(he[ee]=Me[ee]);return se(T,_e,he)},ge.createRef=function(){return{current:null}},ge.forwardRef=function(T){return{$$typeof:p,render:T}},ge.isValidElement=ve,ge.lazy=function(T){return{$$typeof:x,_payload:{_status:-1,_result:T},_init:oe}},ge.memo=function(T,q){return{$$typeof:v,type:T,compare:q===void 0?null:q}},ge.startTransition=function(T){var q=P.T,K={};P.T=K;try{var ee=T(),he=P.S;he!==null&&he(K,ee),typeof ee=="object"&&ee!==null&&typeof ee.then=="function"&&ee.then(ne,Be)}catch(_e){Be(_e)}finally{q!==null&&K.types!==null&&(q.types=K.types),P.T=q}},ge.unstable_useCacheRefresh=function(){return P.H.useCacheRefresh()},ge.use=function(T){return P.H.use(T)},ge.useActionState=function(T,q,K){return P.H.useActionState(T,q,K)},ge.useCallback=function(T,q){return P.H.useCallback(T,q)},ge.useContext=function(T){return P.H.useContext(T)},ge.useDebugValue=function(){},ge.useDeferredValue=function(T,q){return P.H.useDeferredValue(T,q)},ge.useEffect=function(T,q){return P.H.useEffect(T,q)},ge.useEffectEvent=function(T){return P.H.useEffectEvent(T)},ge.useId=function(){return P.H.useId()},ge.useImperativeHandle=function(T,q,K){return P.H.useImperativeHandle(T,q,K)},ge.useInsertionEffect=function(T,q){return P.H.useInsertionEffect(T,q)},ge.useLayoutEffect=function(T,q){return P.H.useLayoutEffect(T,q)},ge.useMemo=function(T,q){return P.H.useMemo(T,q)},ge.useOptimistic=function(T,q){return P.H.useOptimistic(T,q)},ge.useReducer=function(T,q,K){return P.H.useReducer(T,q,K)},ge.useRef=function(T){return P.H.useRef(T)},ge.useState=function(T){return P.H.useState(T)},ge.useSyncExternalStore=function(T,q,K){return P.H.useSyncExternalStore(T,q,K)},ge.useTransition=function(){return P.H.useTransition()},ge.version="19.2.5",ge}var Q1;function j2(){return Q1||(Q1=1,M0.exports=Qg()),M0.exports}var b=j2(),O0={exports:{}},sc={},D0={exports:{}},z0={};/**
|
||
* @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 Y1;function Yg(){return Y1||(Y1=1,(function(s){function c(U,Q){var oe=U.length;U.push(Q);e:for(;0<oe;){var Be=oe-1>>>1,He=U[Be];if(0<d(He,Q))U[Be]=Q,U[oe]=He,oe=Be;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 Be=0,He=U.length,T=He>>>1;Be<T;){var q=2*(Be+1)-1,K=U[q],ee=q+1,he=U[ee];if(0>d(K,oe))ee<He&&0>d(he,K)?(U[Be]=he,U[ee]=oe,Be=ee):(U[Be]=K,U[q]=oe,Be=q);else if(ee<He&&0>d(he,oe))U[Be]=he,U[ee]=oe,Be=ee;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 g=[],v=[],x=1,y=null,N=3,E=!1,A=!1,M=!1,w=!1,O=typeof setTimeout=="function"?setTimeout:null,F=typeof clearTimeout=="function"?clearTimeout:null,H=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(g,Q);else break;Q=i(v)}}function Z(U){if(M=!1,V(U),!A)if(i(g)!==null)A=!0,ne||(ne=!0,ze());else{var Q=i(v);Q!==null&&Le(Z,Q.startTime-U)}}var ne=!1,P=-1,J=5,se=-1;function me(){return w?!0:!(s.unstable_now()-se<J)}function ve(){if(w=!1,ne){var U=s.unstable_now();se=U;var Q=!0;try{e:{A=!1,M&&(M=!1,F(P),P=-1),E=!0;var oe=N;try{t:{for(V(U),y=i(g);y!==null&&!(y.expirationTime>U&&me());){var Be=y.callback;if(typeof Be=="function"){y.callback=null,N=y.priorityLevel;var He=Be(y.expirationTime<=U);if(U=s.unstable_now(),typeof He=="function"){y.callback=He,V(U),Q=!0;break t}y===i(g)&&o(g),V(U)}else o(g);y=i(g)}if(y!==null)Q=!0;else{var T=i(v);T!==null&&Le(Z,T.startTime-U),Q=!1}}break e}finally{y=null,N=oe,E=!1}Q=void 0}}finally{Q?ze():ne=!1}}}var ze;if(typeof H=="function")ze=function(){H(ve)};else if(typeof MessageChannel<"u"){var ue=new MessageChannel,Ce=ue.port2;ue.port1.onmessage=ve,ze=function(){Ce.postMessage(null)}}else ze=function(){O(ve,0)};function Le(U,Q){P=O(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"):J=0<U?Math.floor(1e3/U):5},s.unstable_getCurrentPriorityLevel=function(){return N},s.unstable_next=function(U){switch(N){case 1:case 2:case 3:var Q=3;break;default:Q=N}var oe=N;N=Q;try{return U()}finally{N=oe}},s.unstable_requestPaint=function(){w=!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=N;N=U;try{return Q()}finally{N=oe}},s.unstable_scheduleCallback=function(U,Q,oe){var Be=s.unstable_now();switch(typeof oe=="object"&&oe!==null?(oe=oe.delay,oe=typeof oe=="number"&&0<oe?Be+oe:Be):oe=Be,U){case 1:var He=-1;break;case 2:He=250;break;case 5:He=1073741823;break;case 4:He=1e4;break;default:He=5e3}return He=oe+He,U={id:x++,callback:Q,priorityLevel:U,startTime:oe,expirationTime:He,sortIndex:-1},oe>Be?(U.sortIndex=oe,c(v,U),i(g)===null&&U===i(v)&&(M?(F(P),P=-1):M=!0,Le(Z,oe-Be))):(U.sortIndex=He,c(g,U),A||E||(A=!0,ne||(ne=!0,ze()))),U},s.unstable_shouldYield=me,s.unstable_wrapCallback=function(U){var Q=N;return function(){var oe=N;N=Q;try{return U.apply(this,arguments)}finally{N=oe}}}})(z0)),z0}var X1;function Xg(){return X1||(X1=1,D0.exports=Yg()),D0.exports}var L0={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 Z1;function Zg(){if(Z1)return Et;Z1=1;var s=j2();function c(g){var v="https://react.dev/errors/"+g;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 #"+g+"; 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(g,v,x){var y=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:d,key:y==null?null:""+y,children:g,containerInfo:v,implementation:x}}var m=s.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function p(g,v){if(g==="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(g,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(g,v,null,x)},Et.flushSync=function(g){var v=m.T,x=o.p;try{if(m.T=null,o.p=2,g)return g()}finally{m.T=v,o.p=x,o.d.f()}},Et.preconnect=function(g,v){typeof g=="string"&&(v?(v=v.crossOrigin,v=typeof v=="string"?v==="use-credentials"?v:"":void 0):v=null,o.d.C(g,v))},Et.prefetchDNS=function(g){typeof g=="string"&&o.d.D(g)},Et.preinit=function(g,v){if(typeof g=="string"&&v&&typeof v.as=="string"){var x=v.as,y=p(x,v.crossOrigin),N=typeof v.integrity=="string"?v.integrity:void 0,E=typeof v.fetchPriority=="string"?v.fetchPriority:void 0;x==="style"?o.d.S(g,typeof v.precedence=="string"?v.precedence:void 0,{crossOrigin:y,integrity:N,fetchPriority:E}):x==="script"&&o.d.X(g,{crossOrigin:y,integrity:N,fetchPriority:E,nonce:typeof v.nonce=="string"?v.nonce:void 0})}},Et.preinitModule=function(g,v){if(typeof g=="string")if(typeof v=="object"&&v!==null){if(v.as==null||v.as==="script"){var x=p(v.as,v.crossOrigin);o.d.M(g,{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(g)},Et.preload=function(g,v){if(typeof g=="string"&&typeof v=="object"&&v!==null&&typeof v.as=="string"){var x=v.as,y=p(x,v.crossOrigin);o.d.L(g,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(g,v){if(typeof g=="string")if(v){var x=p(v.as,v.crossOrigin);o.d.m(g,{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(g)},Et.requestFormReset=function(g){o.d.r(g)},Et.unstable_batchedUpdates=function(g,v){return g(v)},Et.useFormState=function(g,v,x){return m.H.useFormState(g,v,x)},Et.useFormStatus=function(){return m.H.useHostTransitionStatus()},Et.version="19.2.5",Et}var K1;function Kg(){if(K1)return L0.exports;K1=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(),L0.exports=Zg(),L0.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 I1;function Ig(){if(I1)return sc;I1=1;var s=Xg(),c=j2(),i=Kg();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 g(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 g(r),e;if(u===a)return g(r),t;u=u.sibling}throw Error(o(188))}if(n.return!==a.return)n=r,a=u;else{for(var f=!1,_=r.child;_;){if(_===n){f=!0,n=r,a=u;break}if(_===a){f=!0,a=r,n=u;break}_=_.sibling}if(!f){for(_=u.child;_;){if(_===n){f=!0,n=u,a=r;break}if(_===a){f=!0,a=u,n=r;break}_=_.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,N=Symbol.for("react.element"),E=Symbol.for("react.transitional.element"),A=Symbol.for("react.portal"),M=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),O=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),H=Symbol.for("react.context"),V=Symbol.for("react.forward_ref"),Z=Symbol.for("react.suspense"),ne=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),J=Symbol.for("react.lazy"),se=Symbol.for("react.activity"),me=Symbol.for("react.memo_cache_sentinel"),ve=Symbol.iterator;function ze(e){return e===null||typeof e!="object"?null:(e=ve&&e[ve]||e["@@iterator"],typeof e=="function"?e:null)}var ue=Symbol.for("react.client.reference");function Ce(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===ue?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case M:return"Fragment";case O:return"Profiler";case w:return"StrictMode";case Z:return"Suspense";case ne:return"SuspenseList";case se:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case A:return"Portal";case H: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 P:return t=e.displayName||null,t!==null?t:Ce(e.type)||"Memo";case J:t=e._payload,e=e._init;try{return Ce(e(t))}catch{}}return null}var Le=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},Be=[],He=-1;function T(e){return{current:e}}function q(e){0>He||(e.current=Be[He],Be[He]=null,He--)}function K(e,t){He++,Be[He]=e.current,e.current=t}var ee=T(null),he=T(null),_e=T(null),Me=T(null);function ot(e,t){switch(K(_e,t),K(he,e),K(ee,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?u1(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=u1(t),e=d1(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}q(ee),K(ee,e)}function ye(){q(ee),q(he),q(_e)}function $t(e){e.memoizedState!==null&&K(Me,e);var t=ee.current,n=d1(t,e.type);t!==n&&(K(he,e),K(ee,n))}function Hn(e){he.current===e&&(q(ee),q(he)),Me.current===e&&(q(Me),ec._currentValue=oe)}var Pa,ui;function qn(e){if(Pa===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Pa=t&&t[1]||"",ui=-1<n.stack.indexOf(`
|
||
at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
|
||
`+Pa+e+ui}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],_=u[1];if(f&&_){var j=f.split(`
|
||
`),z=_.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 di(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 mo=Object.prototype.hasOwnProperty,po=s.unstable_scheduleCallback,vo=s.unstable_cancelCallback,x3=s.unstable_shouldYield,b3=s.unstable_requestPaint,Wt=s.unstable_now,j3=s.unstable_getCurrentPriorityLevel,$2=s.unstable_ImmediatePriority,G2=s.unstable_UserBlockingPriority,Ec=s.unstable_NormalPriority,S3=s.unstable_LowPriority,V2=s.unstable_IdlePriority,N3=s.log,w3=s.unstable_setDisableYieldValue,fi=null,Jt=null;function Rl(e){if(typeof N3=="function"&&w3(e),Jt&&typeof Jt.setStrictMode=="function")try{Jt.setStrictMode(fi,e)}catch{}}var en=Math.clz32?Math.clz32:E3,C3=Math.log,T3=Math.LN2;function E3(e){return e>>>=0,e===0?32:31-(C3(e)/T3|0)|0}var Rc=256,Ac=262144,Mc=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 _=a&134217727;return _!==0?(a=_&~u,a!==0?r=ma(a):(f&=_,f!==0?r=ma(f):n||(n=_&~e,n!==0&&(r=ma(n))))):(_=a&~u,_!==0?r=ma(_):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 hi(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function R3(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 F2(){var e=Mc;return Mc<<=1,(Mc&62914560)===0&&(Mc=4194304),e}function go(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function mi(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function A3(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 _=e.entanglements,j=e.expirationTimes,z=e.hiddenUpdates;for(n=f&~n;0<n;){var k=31-en(n),G=1<<k;_[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&&Q2(e,a,0),u!==0&&r===0&&e.tag!==0&&(e.suspendedLanes|=u&~(f&~t))}function Q2(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 Y2(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 X2(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 yo(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Z2(){var e=Q.p;return e!==0?e:(e=window.event,e===void 0?32:z1(e.type))}function K2(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,xo="__reactEvents$"+Al,M3="__reactListeners$"+Al,O3="__reactHandles$"+Al,I2="__reactResources$"+Al,pi="__reactMarker$"+Al;function bo(e){delete e[St],delete e[Gt],delete e[xo],delete e[M3],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 vi(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[I2];return t||(t=e[I2]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function gt(e){e[pi]=!0}var P2=new Set,W2={};function pa(e,t){ls(e,t),ls(e+"Capture",t)}function ls(e,t){for(W2[e]=t,e=0;e<t.length;e++)P2.add(t[e])}var D3=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]*$"),J2={},ed={};function z3(e){return mo.call(ed,e)?!0:mo.call(J2,e)?!1:D3.test(e)?ed[e]=!0:(J2[e]=!0,!1)}function Dc(e,t,n){if(z3(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 zc(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 gn(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function td(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function L3(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 jo(e){if(!e._valueTracker){var t=td(e)?"checked":"value";e._valueTracker=L3(e,t,""+e[t])}}function nd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),a="";return e&&(a=td(e)?e.checked?"true":"false":e.value),e=a,e!==n?(t.setValue(e),!0):!1}function Lc(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 B3=/[\n"\\]/g;function _n(e){return e.replace(B3,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function So(e,t,n,a,r,u,f,_){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=""+gn(t)):e.value!==""+gn(t)&&(e.value=""+gn(t)):f!=="submit"&&f!=="reset"||e.removeAttribute("value"),t!=null?No(e,f,gn(t)):n!=null?No(e,f,gn(n)):a!=null&&e.removeAttribute("value"),r==null&&u!=null&&(e.defaultChecked=!!u),r!=null&&(e.checked=r&&typeof r!="function"&&typeof r!="symbol"),_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"?e.name=""+gn(_):e.removeAttribute("name")}function ld(e,t,n,a,r,u,f,_){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)){jo(e);return}n=n!=null?""+gn(n):"",t=t!=null?""+gn(t):n,_||t===e.value||(e.value=t),e.defaultValue=t}a=a??r,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=_?e.checked:!!a,e.defaultChecked=!!a,f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(e.name=f),jo(e)}function No(e,t,n){t==="number"&&Lc(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=""+gn(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 ad(e,t,n){if(t!=null&&(t=""+gn(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+gn(n):""}function sd(e,t,n,a){if(t==null){if(a!=null){if(n!=null)throw Error(o(92));if(Le(a)){if(1<a.length)throw Error(o(93));a=a[0]}n=a}n==null&&(n=""),t=n}n=gn(t),e.defaultValue=n,a=e.textContent,a===n&&a!==""&&a!==null&&(e.value=a),jo(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 U3=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 id(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||U3.has(t)?t==="float"?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function cd(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&&id(e,r,a)}else for(var u in t)t.hasOwnProperty(u)&&id(e,u,t[u])}function wo(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 k3=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"]]),H3=/^[\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 Bc(e){return H3.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function nl(){}var Co=null;function To(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 rd(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(So(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="'+_n(""+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));So(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&&nd(a)}break e;case"textarea":ad(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&as(e,!!n.multiple,t,!1)}}}var Eo=!1;function od(e,t,n){if(Eo)return e(t,n);Eo=!0;try{var a=e(t);return a}finally{if(Eo=!1,(is!==null||cs!==null)&&(Sr(),is&&(t=is,e=cs,cs=is=null,rd(t),e)))for(t=0;t<e.length;t++)rd(e[t])}}function gi(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"),Ro=!1;if(ll)try{var _i={};Object.defineProperty(_i,"passive",{get:function(){Ro=!0}}),window.addEventListener("test",_i,_i),window.removeEventListener("test",_i,_i)}catch{Ro=!1}var Ml=null,Ao=null,Uc=null;function ud(){if(Uc)return Uc;var e,t=Ao,n=t.length,a,r="value"in Ml?Ml.value:Ml.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 Uc=r.slice(e,1<a?1-a:void 0)}function kc(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 Hc(){return!0}function dd(){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 _ in e)e.hasOwnProperty(_)&&(n=e[_],this[_]=n?n(u):u[_]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?Hc:dd,this.isPropagationStopped=dd,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=Hc)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Hc)},persist:function(){},isPersistent:Hc}),t}var va={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},qc=Vt(va),yi=y({},va,{view:0,detail:0}),q3=Vt(yi),Mo,Oo,xi,$c=y({},yi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:zo,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!==xi&&(xi&&e.type==="mousemove"?(Mo=e.screenX-xi.screenX,Oo=e.screenY-xi.screenY):Oo=Mo=0,xi=e),Mo)},movementY:function(e){return"movementY"in e?e.movementY:Oo}}),fd=Vt($c),$3=y({},$c,{dataTransfer:0}),G3=Vt($3),V3=y({},yi,{relatedTarget:0}),Do=Vt(V3),F3=y({},va,{animationName:0,elapsedTime:0,pseudoElement:0}),Q3=Vt(F3),Y3=y({},va,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),X3=Vt(Y3),Z3=y({},va,{data:0}),hd=Vt(Z3),K3={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},I3={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"},P3={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function W3(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=P3[e])?!!t[e]:!1}function zo(){return W3}var J3=y({},yi,{key:function(e){if(e.key){var t=K3[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=kc(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?I3[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:zo,charCode:function(e){return e.type==="keypress"?kc(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?kc(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),ev=Vt(J3),tv=y({},$c,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),md=Vt(tv),nv=y({},yi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:zo}),lv=Vt(nv),av=y({},va,{propertyName:0,elapsedTime:0,pseudoElement:0}),sv=Vt(av),iv=y({},$c,{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}),cv=Vt(iv),rv=y({},va,{newState:0,oldState:0}),ov=Vt(rv),uv=[9,13,27,32],Lo=ll&&"CompositionEvent"in window,bi=null;ll&&"documentMode"in document&&(bi=document.documentMode);var dv=ll&&"TextEvent"in window&&!bi,pd=ll&&(!Lo||bi&&8<bi&&11>=bi),vd=" ",gd=!1;function _d(e,t){switch(e){case"keyup":return uv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function yd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var rs=!1;function fv(e,t){switch(e){case"compositionend":return yd(t);case"keypress":return t.which!==32?null:(gd=!0,vd);case"textInput":return e=t.data,e===vd&&gd?null:e;default:return null}}function hv(e,t){if(rs)return e==="compositionend"||!Lo&&_d(e,t)?(e=ud(),Uc=Ao=Ml=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 pd&&t.locale!=="ko"?null:t.data;default:return null}}var mv={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 xd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!mv[e.type]:t==="textarea"}function bd(e,t,n,a){is?cs?cs.push(a):cs=[a]:is=a,t=Ar(t,"onChange"),0<t.length&&(n=new qc("onChange","change",null,n,a),e.push({event:n,listeners:t}))}var ji=null,Si=null;function pv(e){a1(e,0)}function Gc(e){var t=vi(e);if(nd(t))return e}function jd(e,t){if(e==="change")return t}var Sd=!1;if(ll){var Bo;if(ll){var Uo="oninput"in document;if(!Uo){var Nd=document.createElement("div");Nd.setAttribute("oninput","return;"),Uo=typeof Nd.oninput=="function"}Bo=Uo}else Bo=!1;Sd=Bo&&(!document.documentMode||9<document.documentMode)}function wd(){ji&&(ji.detachEvent("onpropertychange",Cd),Si=ji=null)}function Cd(e){if(e.propertyName==="value"&&Gc(Si)){var t=[];bd(t,Si,e,To(e)),od(pv,t)}}function vv(e,t,n){e==="focusin"?(wd(),ji=t,Si=n,ji.attachEvent("onpropertychange",Cd)):e==="focusout"&&wd()}function gv(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Gc(Si)}function _v(e,t){if(e==="click")return Gc(t)}function yv(e,t){if(e==="input"||e==="change")return Gc(t)}function xv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var tn=typeof Object.is=="function"?Object.is:xv;function Ni(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(!mo.call(t,r)||!tn(e[r],t[r]))return!1}return!0}function Td(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ed(e,t){var n=Td(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=Td(n)}}function Rd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Rd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ad(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Lc(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=Lc(e.document)}return t}function ko(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 bv=ll&&"documentMode"in document&&11>=document.documentMode,os=null,Ho=null,wi=null,qo=!1;function Md(e,t,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;qo||os==null||os!==Lc(a)||(a=os,"selectionStart"in a&&ko(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}),wi&&Ni(wi,a)||(wi=a,a=Ar(Ho,"onSelect"),0<a.length&&(t=new qc("onSelect","select",null,t,n),e.push({event:t,listeners:a}),t.target=os)))}function ga(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var us={animationend:ga("Animation","AnimationEnd"),animationiteration:ga("Animation","AnimationIteration"),animationstart:ga("Animation","AnimationStart"),transitionrun:ga("Transition","TransitionRun"),transitionstart:ga("Transition","TransitionStart"),transitioncancel:ga("Transition","TransitionCancel"),transitionend:ga("Transition","TransitionEnd")},$o={},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 _a(e){if($o[e])return $o[e];if(!us[e])return e;var t=us[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Od)return $o[e]=t[n];return e}var Dd=_a("animationend"),zd=_a("animationiteration"),Ld=_a("animationstart"),jv=_a("transitionrun"),Sv=_a("transitionstart"),Nv=_a("transitioncancel"),Bd=_a("transitionend"),Ud=new Map,Go="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(" ");Go.push("scrollEnd");function Dn(e,t){Ud.set(e,t),pa(t,[e])}var Vc=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,Vo=0;function Fc(){for(var e=ds,t=Vo=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&&kd(n,r,u)}}function Qc(e,t,n,a){yn[ds++]=e,yn[ds++]=t,yn[ds++]=n,yn[ds++]=a,Vo|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function Fo(e,t,n,a){return Qc(e,t,n,a),Yc(e)}function ya(e,t){return Qc(e,null,null,t),Yc(e)}function kd(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 Yc(e){if(50<Xi)throw Xi=0,Ju=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 wv(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 wv(e,t,n,a)}function Qo(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 Hd(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 Xc(e,t,n,a,r,u){var f=0;if(a=e,typeof e=="function")Qo(e)&&(f=1);else if(typeof e=="string")f=Ag(e,n,ee.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case se:return e=nn(31,n,t,r),e.elementType=se,e.lanes=u,e;case M:return xa(n.children,r,u,t);case w:f=8,r|=24;break;case O:return e=nn(12,n,t,r|2),e.elementType=O,e.lanes=u,e;case Z:return e=nn(13,n,t,r),e.elementType=Z,e.lanes=u,e;case ne:return e=nn(19,n,t,r),e.elementType=ne,e.lanes=u,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case H:f=10;break e;case F:f=9;break e;case V:f=11;break e;case P:f=14;break e;case J: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 Yo(e,t,n){return e=nn(6,e,null,t),e.lanes=n,e}function qd(e){var t=nn(18,null,null,0);return t.stateNode=e,t}function Xo(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 $d=new WeakMap;function xn(e,t){if(typeof e=="object"&&e!==null){var n=$d.get(e);return n!==void 0?n:(t={value:e,source:t,stack:di(t)},$d.set(e,t),t)}return{value:e,source:t,stack:di(t)}}var hs=[],ms=0,Zc=null,Ci=0,bn=[],jn=0,Ol=null,$n=1,Gn="";function sl(e,t){hs[ms++]=Ci,hs[ms++]=Zc,Zc=e,Ci=t}function Gd(e,t,n){bn[jn++]=$n,bn[jn++]=Gn,bn[jn++]=Ol,Ol=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 Zo(e){e.return!==null&&(sl(e,1),Gd(e,1,0))}function Ko(e){for(;e===Zc;)Zc=hs[--ms],hs[ms]=null,Ci=hs[--ms],hs[ms]=null;for(;e===Ol;)Ol=bn[--jn],bn[jn]=null,Gn=bn[--jn],bn[jn]=null,$n=bn[--jn],bn[jn]=null}function Vd(e,t){bn[jn++]=$n,bn[jn++]=Gn,bn[jn++]=Ol,$n=t.id,Gn=t.overflow,Ol=e}var Nt=null,Ie=null,Oe=!1,Dl=null,Sn=!1,Io=Error(o(519));function zl(e){var t=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ti(xn(t,e)),Io}function Fd(e){var t=e.stateNode,n=e.type,a=e.memoizedProps;switch(t[St]=e,t[Gt]=a,n){case"dialog":Ee("cancel",t),Ee("close",t);break;case"iframe":case"object":case"embed":Ee("load",t);break;case"video":case"audio":for(n=0;n<Ki.length;n++)Ee(Ki[n],t);break;case"source":Ee("error",t);break;case"img":case"image":case"link":Ee("error",t),Ee("load",t);break;case"details":Ee("toggle",t);break;case"input":Ee("invalid",t),ld(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":Ee("invalid",t);break;case"textarea":Ee("invalid",t),sd(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||r1(t.textContent,n)?(a.popover!=null&&(Ee("beforetoggle",t),Ee("toggle",t)),a.onScroll!=null&&Ee("scroll",t),a.onScrollEnd!=null&&Ee("scrollend",t),a.onClick!=null&&(t.onclick=nl),t=!0):t=!1,t||zl(e,!0)}function Qd(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 Qd(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")||m0(e.type,e.memoizedProps)),n=!n),n&&Ie&&zl(e),Qd(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));Ie=g1(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));Ie=g1(e)}else t===27?(t=Ie,Zl(e.type)?(e=y0,y0=null,Ie=e):Ie=t):Ie=Nt?wn(e.stateNode.nextSibling):null;return!0}function ba(){Ie=Nt=null,Oe=!1}function Po(){var e=Dl;return e!==null&&(Xt===null?Xt=e:Xt.push.apply(Xt,e),Dl=null),e}function Ti(e){Dl===null?Dl=[e]:Dl.push(e)}var Wo=T(null),ja=null,il=null;function Ll(e,t,n){K(Wo,t._currentValue),t._currentValue=n}function cl(e){e._currentValue=Wo.current,q(Wo)}function Jo(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 eu(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 _=u;u=r;for(var j=0;j<t.length;j++)if(_.context===t[j]){u.lanes|=n,_=u.alternate,_!==null&&(_.lanes|=n),Jo(u.return,n,e),a||(f=null);break e}u=_.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),Jo(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 _=r.type;tn(r.pendingProps.value,f.value)||(e!==null?e.push(_):e=[_])}}else if(r===Me.current){if(f=r.alternate,f===null)throw Error(o(387));f.memoizedState.memoizedState!==r.memoizedState.memoizedState&&(e!==null?e.push(ec):e=[ec])}r=r.return}e!==null&&eu(t,e,n,a),t.flags|=262144}function Kc(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 Yd(ja,e)}function Ic(e,t){return ja===null&&Sa(e),Yd(e,t)}function Yd(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 Cv=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()})}},Tv=s.unstable_scheduleCallback,Ev=s.unstable_NormalPriority,ut={$$typeof:H,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function tu(){return{controller:new Cv,data:new Map,refCount:0}}function Ei(e){e.refCount--,e.refCount===0&&Tv(Ev,function(){e.controller.abort()})}var Ri=null,nu=0,gs=0,_s=null;function Rv(e,t){if(Ri===null){var n=Ri=[];nu=0,gs=s0(),_s={status:"pending",value:void 0,then:function(a){n.push(a)}}}return nu++,t.then(Xd,Xd),t}function Xd(){if(--nu===0&&Ri!==null){_s!==null&&(_s.status="fulfilled");var e=Ri;Ri=null,gs=0,_s=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Av(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 Zd=U.S;U.S=function(e,t){Oh=Wt(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&Rv(e,t),Zd!==null&&Zd(e,t)};var Na=T(null);function lu(){var e=Na.current;return e!==null?e:Ze.pooledCache}function Pc(e,t){t===null?K(Na,Na.current):K(Na,t.pool)}function Kd(){var e=lu();return e===null?null:{parent:ut._currentValue,pool:e}}var ys=Error(o(460)),au=Error(o(474)),Wc=Error(o(542)),Jc={then:function(){}};function Id(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Pd(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,Jd(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,Jd(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 Wd(){if(Ca===null)throw Error(o(459));var e=Ca;return Ca=null,e}function Jd(e){if(e===ys||e===Wc)throw Error(o(483))}var xs=null,Ai=0;function er(e){var t=Ai;return Ai+=1,xs===null&&(xs=[]),Pd(xs,e,t)}function Mi(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function tr(e,t){throw t.$$typeof===N?Error(o(525)):(e=Object.prototype.toString.call(t),Error(o(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function ef(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 _(R,C,D,$){return C===null||C.tag!==6?(C=Yo(D,R.mode,$),C.return=R,C):(C=r(C,D),C.return=R,C)}function j(R,C,D,$){var ce=D.type;return ce===M?k(R,C,D.props.children,$,D.key):C!==null&&(C.elementType===ce||typeof ce=="object"&&ce!==null&&ce.$$typeof===J&&wa(ce)===C.type)?(C=r(C,D.props),Mi(C,D),C.return=R,C):(C=Xc(D.type,D.key,D.props,null,R.mode,$),Mi(C,D),C.return=R,C)}function z(R,C,D,$){return C===null||C.tag!==4||C.stateNode.containerInfo!==D.containerInfo||C.stateNode.implementation!==D.implementation?(C=Xo(D,R.mode,$),C.return=R,C):(C=r(C,D.children||[]),C.return=R,C)}function k(R,C,D,$,ce){return C===null||C.tag!==7?(C=xa(D,R.mode,$,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=Yo(""+C,R.mode,D),C.return=R,C;if(typeof C=="object"&&C!==null){switch(C.$$typeof){case E:return D=Xc(C.type,C.key,C.props,null,R.mode,D),Mi(D,C),D.return=R,D;case A:return C=Xo(C,R.mode,D),C.return=R,C;case J:return C=wa(C),G(R,C,D)}if(Le(C)||ze(C))return C=xa(C,R.mode,D,null),C.return=R,C;if(typeof C.then=="function")return G(R,er(C),D);if(C.$$typeof===H)return G(R,Ic(R,C),D);tr(R,C)}return null}function L(R,C,D,$){var ce=C!==null?C.key:null;if(typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint")return ce!==null?null:_(R,C,""+D,$);if(typeof D=="object"&&D!==null){switch(D.$$typeof){case E:return D.key===ce?j(R,C,D,$):null;case A:return D.key===ce?z(R,C,D,$):null;case J:return D=wa(D),L(R,C,D,$)}if(Le(D)||ze(D))return ce!==null?null:k(R,C,D,$,null);if(typeof D.then=="function")return L(R,C,er(D),$);if(D.$$typeof===H)return L(R,C,Ic(R,D),$);tr(R,D)}return null}function B(R,C,D,$,ce){if(typeof $=="string"&&$!==""||typeof $=="number"||typeof $=="bigint")return R=R.get(D)||null,_(C,R,""+$,ce);if(typeof $=="object"&&$!==null){switch($.$$typeof){case E:return R=R.get($.key===null?D:$.key)||null,j(C,R,$,ce);case A:return R=R.get($.key===null?D:$.key)||null,z(C,R,$,ce);case J:return $=wa($),B(R,C,D,$,ce)}if(Le($)||ze($))return R=R.get(D)||null,k(C,R,$,ce,null);if(typeof $.then=="function")return B(R,C,D,er($),ce);if($.$$typeof===H)return B(R,C,D,Ic(C,$),ce);tr(C,$)}return null}function te(R,C,D,$){for(var ce=null,Ue=null,ae=C,be=C=0,Ae=null;ae!==null&&be<D.length;be++){ae.index>be?(Ae=ae,ae=null):Ae=ae.sibling;var ke=L(R,ae,D[be],$);if(ke===null){ae===null&&(ae=Ae);break}e&&ae&&ke.alternate===null&&t(R,ae),C=u(ke,C,be),Ue===null?ce=ke:Ue.sibling=ke,Ue=ke,ae=Ae}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],$),ae!==null&&(C=u(ae,C,be),Ue===null?ce=ae:Ue.sibling=ae,Ue=ae);return Oe&&sl(R,be),ce}for(ae=a(ae);be<D.length;be++)Ae=B(ae,R,be,D[be],$),Ae!==null&&(e&&Ae.alternate!==null&&ae.delete(Ae.key===null?be:Ae.key),C=u(Ae,C,be),Ue===null?ce=Ae:Ue.sibling=Ae,Ue=Ae);return e&&ae.forEach(function(Jl){return t(R,Jl)}),Oe&&sl(R,be),ce}function de(R,C,D,$){if(D==null)throw Error(o(151));for(var ce=null,Ue=null,ae=C,be=C=0,Ae=null,ke=D.next();ae!==null&&!ke.done;be++,ke=D.next()){ae.index>be?(Ae=ae,ae=null):Ae=ae.sibling;var Jl=L(R,ae,ke.value,$);if(Jl===null){ae===null&&(ae=Ae);break}e&&ae&&Jl.alternate===null&&t(R,ae),C=u(Jl,C,be),Ue===null?ce=Jl:Ue.sibling=Jl,Ue=Jl,ae=Ae}if(ke.done)return n(R,ae),Oe&&sl(R,be),ce;if(ae===null){for(;!ke.done;be++,ke=D.next())ke=G(R,ke.value,$),ke!==null&&(C=u(ke,C,be),Ue===null?ce=ke:Ue.sibling=ke,Ue=ke);return Oe&&sl(R,be),ce}for(ae=a(ae);!ke.done;be++,ke=D.next())ke=B(ae,R,be,ke.value,$),ke!==null&&(e&&ke.alternate!==null&&ae.delete(ke.key===null?be:ke.key),C=u(ke,C,be),Ue===null?ce=ke:Ue.sibling=ke,Ue=ke);return e&&ae.forEach(function($g){return t(R,$g)}),Oe&&sl(R,be),ce}function Xe(R,C,D,$){if(typeof D=="object"&&D!==null&&D.type===M&&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===M){if(C.tag===7){n(R,C.sibling),$=r(C,D.props.children),$.return=R,R=$;break e}}else if(C.elementType===ce||typeof ce=="object"&&ce!==null&&ce.$$typeof===J&&wa(ce)===C.type){n(R,C.sibling),$=r(C,D.props),Mi($,D),$.return=R,R=$;break e}n(R,C);break}else t(R,C);C=C.sibling}D.type===M?($=xa(D.props.children,R.mode,$,D.key),$.return=R,R=$):($=Xc(D.type,D.key,D.props,null,R.mode,$),Mi($,D),$.return=R,R=$)}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),$=r(C,D.children||[]),$.return=R,R=$;break e}else{n(R,C);break}else t(R,C);C=C.sibling}$=Xo(D,R.mode,$),$.return=R,R=$}return f(R);case J:return D=wa(D),Xe(R,C,D,$)}if(Le(D))return te(R,C,D,$);if(ze(D)){if(ce=ze(D),typeof ce!="function")throw Error(o(150));return D=ce.call(D),de(R,C,D,$)}if(typeof D.then=="function")return Xe(R,C,er(D),$);if(D.$$typeof===H)return Xe(R,C,Ic(R,D),$);tr(R,D)}return typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint"?(D=""+D,C!==null&&C.tag===6?(n(R,C.sibling),$=r(C,D),$.return=R,R=$):(n(R,C),$=Yo(D,R.mode,$),$.return=R,R=$),f(R)):n(R,C)}return function(R,C,D,$){try{Ai=0;var ce=Xe(R,C,D,$);return xs=null,ce}catch(ae){if(ae===ys||ae===Wc)throw ae;var Ue=nn(29,ae,null,R.mode);return Ue.lanes=$,Ue.return=R,Ue}finally{}}}var Ta=ef(!0),tf=ef(!1),Bl=!1;function su(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function iu(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,(qe&2)!==0){var r=a.pending;return r===null?t.next=t:(t.next=r.next,r.next=t),a.pending=t,t=Yc(e),kd(e,null,n),t}return Qc(e,a,t,n),Yc(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,Y2(e,n)}}function cu(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 ru=!1;function Di(){if(ru){var e=_s;if(e!==null)throw e}}function zi(e,t,n,a){ru=!1;var r=e.updateQueue;Bl=!1;var u=r.firstBaseUpdate,f=r.lastBaseUpdate,_=r.shared.pending;if(_!==null){r.shared.pending=null;var j=_,z=j.next;j.next=null,f===null?u=z:f.next=z,f=j;var k=e.alternate;k!==null&&(k=k.updateQueue,_=k.lastBaseUpdate,_!==f&&(_===null?k.firstBaseUpdate=z:_.next=z,k.lastBaseUpdate=j))}if(u!==null){var G=r.baseState;f=0,k=z=j=null,_=u;do{var L=_.lane&-536870913,B=L!==_.lane;if(B?(Re&L)===L:(a&L)===L){L!==0&&L===gs&&(ru=!0),k!==null&&(k=k.next={lane:0,tag:_.tag,payload:_.payload,callback:null,next:null});e:{var te=e,de=_;L=t;var Xe=n;switch(de.tag){case 1:if(te=de.payload,typeof te=="function"){G=te.call(Xe,G,L);break e}G=te;break e;case 3:te.flags=te.flags&-65537|128;case 0:if(te=de.payload,L=typeof te=="function"?te.call(Xe,G,L):te,L==null)break e;G=y({},G,L);break e;case 2:Bl=!0}}L=_.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:_.tag,payload:_.payload,callback:_.callback,next:null},k===null?(z=k=B,j=G):k=k.next=B,f|=L;if(_=_.next,_===null){if(_=r.shared.pending,_===null)break;B=_,_=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 nf(e,t){if(typeof e!="function")throw Error(o(191,e));e.call(t)}function lf(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)nf(n[e],t)}var bs=T(null),nr=T(0);function af(e,t){e=vl,K(nr,e),K(bs,t),vl=e|t.baseLanes}function ou(){K(nr,vl),K(bs,bs.current)}function uu(){vl=nr.current,q(bs),q(nr)}var ln=T(null),Nn=null;function Hl(e){var t=e.alternate;K(st,st.current&1),K(ln,e),Nn===null&&(t===null||bs.current!==null||t.memoizedState!==null)&&(Nn=e)}function du(e){K(st,st.current),K(ln,e),Nn===null&&(Nn=e)}function sf(e){e.tag===22?(K(st,st.current),K(ln,e),Nn===null&&(Nn=e)):ql()}function ql(){K(st,st.current),K(ln,ln.current)}function an(e){q(ln),Nn===e&&(Nn=null),q(st)}var st=T(0);function lr(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||g0(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,ar=!1,js=!1,Ea=!1,sr=0,Li=0,Ss=null,Mv=0;function nt(){throw Error(o(321))}function fu(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 hu(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?Vf:Eu,Ea=!1,u=n(a,r),Ea=!1,js&&(u=rf(t,n,a,r)),cf(e),u}function cf(e){U.H=ki;var t=Qe!==null&&Qe.next!==null;if(rl=0,dt=Qe=xe=null,ar=!1,Li=0,Ss=null,t)throw Error(o(300));e===null||ft||(e=e.dependencies,e!==null&&Kc(e)&&(ft=!0))}function rf(e,t,n,a){xe=e;var r=0;do{if(js&&(Ss=null),Li=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=Ff,u=t(n,a)}while(js);return u}function Ov(){var e=U.H,t=e.useState()[0];return t=typeof t.then=="function"?Bi(t):t,e=e.useState()[0],(Qe!==null?Qe.memoizedState:null)!==e&&(xe.flags|=1024),t}function mu(){var e=sr!==0;return sr=0,e}function pu(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function vu(e){if(ar){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}ar=!1}rl=0,dt=Qe=xe=null,js=!1,Li=sr=0,Ss=null}function Ot(){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 ir(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Bi(e){var t=Li;return Li+=1,Ss===null&&(Ss=[]),e=Pd(Ss,e,t),t=xe,(dt===null?t.memoizedState:dt.next)===null&&(t=t.alternate,U.H=t===null||t.memoizedState===null?Vf:Eu),e}function cr(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Bi(e);if(e.$$typeof===H)return wt(e)}throw Error(o(438,String(e)))}function gu(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=ir(),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]=me;return t.index++,n}function ol(e,t){return typeof t=="function"?t(e):t}function rr(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 _=f=null,j=null,z=t,k=!1;do{var G=z.lane&-536870913;if(G!==z.lane?(Re&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===gs&&(k=!0);else if((rl&L)===L){z=z.next,L===gs&&(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?(_=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?(_=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=_,!tn(u,e.memoizedState)&&(ft=!0,k&&(n=_s,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 yu(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 of(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,ju(ff.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},df.bind(null,a,r,n,t),null),Ze===null)throw Error(o(349));u||(rl&127)!==0||uf(a,t,n)}return n}function uf(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=xe.updateQueue,t===null?(t=ir(),xe.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function df(e,t,n,a){t.value=n,t.getSnapshot=a,hf(t)&&mf(e)}function ff(e,t,n){return n(function(){hf(t)&&mf(e)})}function hf(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!tn(e,n)}catch{return!0}}function mf(e){var t=ya(e,2);t!==null&&Zt(t,e,2)}function xu(e){var t=Ot();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 pf(e,t,n,a){return e.baseState=n,_u(e,Qe,typeof a=="function"?a:ol)}function Dv(e,t,n,a,r){if(dr(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,vf(t,u)):(u.next=n.next,t.pending=n.next=u)}}function vf(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 _=n(r,a),j=U.S;j!==null&&j(f,_),gf(e,t,_)}catch(z){bu(e,t,z)}finally{u!==null&&f.types!==null&&(u.types=f.types),U.T=u}}else try{u=n(r,a),gf(e,t,u)}catch(z){bu(e,t,z)}}function gf(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(a){_f(e,t,a)},function(a){return bu(e,t,a)}):_f(e,t,n)}function _f(e,t,n){t.status="fulfilled",t.value=n,yf(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,vf(e,n)))}function bu(e,t,n){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=n,yf(t),t=t.next;while(t!==a)}e.action=null}function yf(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function xf(e,t){return t}function bf(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=Ot(),n.memoizedState=n.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:xf,lastRenderedState:t},n.queue=a,n=qf.bind(null,xe,a),a.dispatch=n,a=xu(!1),u=Tu.bind(null,xe,!1,a.queue),a=Ot(),r={state:t,dispatch:null,action:e,pending:null},a.queue=r,n=Dv.bind(null,xe,r,u,n),r.dispatch=n,a.memoizedState=e,[t,n,!1]}function jf(e){var t=it();return Sf(t,Qe,e)}function Sf(e,t,n){if(t=_u(e,t,xf)[0],e=rr(ol)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=Bi(t)}catch(f){throw f===ys?Wc: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},zv.bind(null,r,n),null)),[a,u,e]}function zv(e,t){e.action=t}function Nf(e){var t=it(),n=Qe;if(n!==null)return Sf(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=ir(),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 wf(){return it().memoizedState}function or(e,t,n,a){var r=Ot();xe.flags|=e,r.memoizedState=Ns(1|t,{destroy:void 0},n,a===void 0?null:a)}function ur(e,t,n,a){var r=it();a=a===void 0?null:a;var u=r.memoizedState.inst;Qe!==null&&a!==null&&fu(a,Qe.memoizedState.deps)?r.memoizedState=Ns(t,u,n,a):(xe.flags|=e,r.memoizedState=Ns(1|t,u,n,a))}function Cf(e,t){or(8390656,8,e,t)}function ju(e,t){ur(2048,8,e,t)}function Lv(e){xe.flags|=4;var t=xe.updateQueue;if(t===null)t=ir(),xe.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function Tf(e){var t=it().memoizedState;return Lv({ref:t,nextImpl:e}),function(){if((qe&2)!==0)throw Error(o(440));return t.impl.apply(void 0,arguments)}}function Ef(e,t){return ur(4,2,e,t)}function Rf(e,t){return ur(4,4,e,t)}function Af(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 Mf(e,t,n){n=n!=null?n.concat([e]):null,ur(4,4,Af.bind(null,t,e),n)}function Su(){}function Of(e,t){var n=it();t=t===void 0?null:t;var a=n.memoizedState;return t!==null&&fu(t,a[1])?a[0]:(n.memoizedState=[e,t],e)}function Df(e,t){var n=it();t=t===void 0?null:t;var a=n.memoizedState;if(t!==null&&fu(t,a[1]))return a[0];if(a=e(),Ea){Rl(!0);try{e()}finally{Rl(!1)}}return n.memoizedState=[a,t],a}function Nu(e,t,n){return n===void 0||(rl&1073741824)!==0&&(Re&261930)===0?e.memoizedState=t:(e.memoizedState=n,e=zh(),xe.lanes|=e,Vl|=e,n)}function zf(e,t,n,a){return tn(n,t)?n:bs.current!==null?(e=Nu(e,n,a),tn(e,t)||(ft=!0),e):(rl&42)===0||(rl&1073741824)!==0&&(Re&261930)===0?(ft=!0,e.memoizedState=n):(e=zh(),xe.lanes|=e,Vl|=e,t)}function Lf(e,t,n,a,r){var u=Q.p;Q.p=u!==0&&8>u?u:8;var f=U.T,_={};U.T=_,Tu(e,!1,t,n);try{var j=r(),z=U.S;if(z!==null&&z(_,j),j!==null&&typeof j=="object"&&typeof j.then=="function"){var k=Av(j,a);Ui(e,t,k,rn(e))}else Ui(e,t,a,rn(e))}catch(G){Ui(e,t,{then:function(){},status:"rejected",reason:G},rn())}finally{Q.p=u,f!==null&&_.types!==null&&(f.types=_.types),U.T=f}}function Bv(){}function wu(e,t,n,a){if(e.tag!==5)throw Error(o(476));var r=Bf(e).queue;Lf(e,r,t,oe,n===null?Bv:function(){return Uf(e),n(a)})}function Bf(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 Uf(e){var t=Bf(e);t.next===null&&(t=e.alternate.memoizedState),Ui(e,t.next.queue,{},rn())}function Cu(){return wt(ec)}function kf(){return it().memoizedState}function Hf(){return it().memoizedState}function Uv(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:tu()},e.payload=t;return}t=t.return}}function kv(e,t,n){var a=rn();n={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},dr(e)?$f(t,n):(n=Fo(e,t,n,a),n!==null&&(Zt(n,e,a),Gf(n,t,a)))}function qf(e,t,n){var a=rn();Ui(e,t,n,a)}function Ui(e,t,n,a){var r={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(dr(e))$f(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,_=u(f,n);if(r.hasEagerState=!0,r.eagerState=_,tn(_,f))return Qc(e,t,r,0),Ze===null&&Fc(),!1}catch{}finally{}if(n=Fo(e,t,r,a),n!==null)return Zt(n,e,a),Gf(n,t,a),!0}return!1}function Tu(e,t,n,a){if(a={lane:2,revertLane:s0(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},dr(e)){if(t)throw Error(o(479))}else t=Fo(e,n,a,2),t!==null&&Zt(t,e,2)}function dr(e){var t=e.alternate;return e===xe||t!==null&&t===xe}function $f(e,t){js=ar=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Gf(e,t,n){if((n&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,Y2(e,n)}}var ki={readContext:wt,use:cr,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};ki.useEffectEvent=nt;var Vf={readContext:wt,use:cr,useCallback:function(e,t){return Ot().memoizedState=[e,t===void 0?null:t],e},useContext:wt,useEffect:Cf,useImperativeHandle:function(e,t,n){n=n!=null?n.concat([e]):null,or(4194308,4,Af.bind(null,t,e),n)},useLayoutEffect:function(e,t){return or(4194308,4,e,t)},useInsertionEffect:function(e,t){or(4,2,e,t)},useMemo:function(e,t){var n=Ot();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=Ot();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=kv.bind(null,xe,e),[a.memoizedState,e]},useRef:function(e){var t=Ot();return e={current:e},t.memoizedState=e},useState:function(e){e=xu(e);var t=e.queue,n=qf.bind(null,xe,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Su,useDeferredValue:function(e,t){var n=Ot();return Nu(n,e,t)},useTransition:function(){var e=xu(!1);return e=Lf.bind(null,xe,e.queue,!0,!1),Ot().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var a=xe,r=Ot();if(Oe){if(n===void 0)throw Error(o(407));n=n()}else{if(n=t(),Ze===null)throw Error(o(349));(Re&127)!==0||uf(a,t,n)}r.memoizedState=n;var u={value:n,getSnapshot:t};return r.queue=u,Cf(ff.bind(null,a,u,e),[e]),a.flags|=2048,Ns(9,{destroy:void 0},df.bind(null,a,u,n,t),null),n},useId:function(){var e=Ot(),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=sr++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=Mv++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Cu,useFormState:bf,useActionState:bf,useOptimistic:function(e){var t=Ot();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Tu.bind(null,xe,!0,n),n.dispatch=t,[e,t]},useMemoCache:gu,useCacheRefresh:function(){return Ot().memoizedState=Uv.bind(null,xe)},useEffectEvent:function(e){var t=Ot(),n={impl:e};return t.memoizedState=n,function(){if((qe&2)!==0)throw Error(o(440));return n.impl.apply(void 0,arguments)}}},Eu={readContext:wt,use:cr,useCallback:Of,useContext:wt,useEffect:ju,useImperativeHandle:Mf,useInsertionEffect:Ef,useLayoutEffect:Rf,useMemo:Df,useReducer:rr,useRef:wf,useState:function(){return rr(ol)},useDebugValue:Su,useDeferredValue:function(e,t){var n=it();return zf(n,Qe.memoizedState,e,t)},useTransition:function(){var e=rr(ol)[0],t=it().memoizedState;return[typeof e=="boolean"?e:Bi(e),t]},useSyncExternalStore:of,useId:kf,useHostTransitionStatus:Cu,useFormState:jf,useActionState:jf,useOptimistic:function(e,t){var n=it();return pf(n,Qe,e,t)},useMemoCache:gu,useCacheRefresh:Hf};Eu.useEffectEvent=Tf;var Ff={readContext:wt,use:cr,useCallback:Of,useContext:wt,useEffect:ju,useImperativeHandle:Mf,useInsertionEffect:Ef,useLayoutEffect:Rf,useMemo:Df,useReducer:yu,useRef:wf,useState:function(){return yu(ol)},useDebugValue:Su,useDeferredValue:function(e,t){var n=it();return Qe===null?Nu(n,e,t):zf(n,Qe.memoizedState,e,t)},useTransition:function(){var e=yu(ol)[0],t=it().memoizedState;return[typeof e=="boolean"?e:Bi(e),t]},useSyncExternalStore:of,useId:kf,useHostTransitionStatus:Cu,useFormState:Nf,useActionState:Nf,useOptimistic:function(e,t){var n=it();return Qe!==null?pf(n,Qe,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:gu,useCacheRefresh:Hf};Ff.useEffectEvent=Tf;function Ru(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 Au={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 Qf(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?!Ni(n,a)||!Ni(r,u):!0}function Yf(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&&Au.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 Xf(e){Vc(e)}function Zf(e){console.error(e)}function Kf(e){Vc(e)}function fr(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function If(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 Mu(e,t,n){return n=Ul(n),n.tag=3,n.payload={element:null},n.callback=function(){fr(e,t)},n}function Pf(e){return e=Ul(e),e.tag=3,e}function Wf(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(){If(t,n,a)}}var f=n.stateNode;f!==null&&typeof f.componentDidCatch=="function"&&(e.callback=function(){If(t,n,a),typeof r!="function"&&(Fl===null?Fl=new Set([this]):Fl.add(this));var _=a.stack;this.componentDidCatch(a.value,{componentStack:_!==null?_:""})})}function Hv(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?Nr():n.alternate===null&<===0&&(lt=3),n.flags&=-257,n.flags|=65536,n.lanes=r,a===Jc?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([a]):t.add(a),n0(e,a,r)),!1;case 22:return n.flags|=65536,a===Jc?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)),n0(e,a,r)),!1}throw Error(o(435,n.tag))}return n0(e,a,r),Nr(),!1}if(Oe)return t=ln.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=r,a!==Io&&(e=Error(o(422),{cause:a}),Ti(xn(e,n)))):(a!==Io&&(t=Error(o(423),{cause:a}),Ti(xn(t,n))),e=e.current.alternate,e.flags|=65536,r&=-r,e.lanes|=r,a=xn(a,n),r=Mu(e.stateNode,a,r),cu(e,r),lt!==4&&(lt=2)),!1;var u=Error(o(520),{cause:a});if(u=xn(u,n),Yi===null?Yi=[u]:Yi.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=Mu(n.stateNode,a,e),cu(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=Pf(r),Wf(r,e,n,a),cu(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?tf(t,null,n,a):Ta(t,e.child,n,a)}function Jf(e,t,n,a,r){n=n.render;var u=t.ref;if("ref"in a){var f={};for(var _ in a)_!=="ref"&&(f[_]=a[_])}else f=a;return Sa(t),a=hu(e,t,n,f,u,r),_=mu(),e!==null&&!ft?(pu(e,t,r),ul(e,t,r)):(Oe&&_&&Zo(t),t.flags|=1,Ct(e,t,a,r),t.child)}function eh(e,t,n,a,r){if(e===null){var u=n.type;return typeof u=="function"&&!Qo(u)&&u.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=u,th(e,t,u,a,r)):(e=Xc(n.type,null,a,t,t.mode,r),e.ref=t.ref,e.return=t,t.child=e)}if(u=e.child,!qu(e,r)){var f=u.memoizedProps;if(n=n.compare,n=n!==null?n:Ni,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 th(e,t,n,a,r){if(e!==null){var u=e.memoizedProps;if(Ni(u,a)&&e.ref===t.ref)if(ft=!1,t.pendingProps=a=u,qu(e,r))(e.flags&131072)!==0&&(ft=!0);else return t.lanes=e.lanes,ul(e,t,r)}return Du(e,t,n,a,r)}function nh(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 lh(e,t,u,n,a)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Pc(t,u!==null?u.cachePool:null),u!==null?af(t,u):ou(),sf(t);else return a=t.lanes=536870912,lh(e,t,u!==null?u.baseLanes|n:n,n,a)}else u!==null?(Pc(t,u.cachePool),af(t,u),ql(),t.memoizedState=null):(e!==null&&Pc(t,null),ou(),ql());return Ct(e,t,r,n),t.child}function Hi(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function lh(e,t,n,a,r){var u=lu();return u=u===null?null:{parent:ut._currentValue,pool:u},t.memoizedState={baseLanes:n,cachePool:u},e!==null&&Pc(t,null),ou(),sf(t),e!==null&&vs(e,t,a,!0),t.childLanes=r,null}function hr(e,t){return t=pr({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function ah(e,t,n){return Ta(t,e.child,null,n),e=hr(t,t.pendingProps),e.flags|=2,an(t),t.memoizedState=null,e}function qv(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=hr(t,a),t.lanes=536870912,Hi(null,e);if(du(t),(e=Ie)?(e=v1(e,Sn),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ol!==null?{id:$n,overflow:Gn}:null,retryLane:536870912,hydrationErrors:null},n=qd(e),n.return=t,t.child=n,Nt=t,Ie=null)):e=null,e===null)throw zl(t);return t.lanes=536870912,null}return hr(t,a)}var u=e.memoizedState;if(u!==null){var f=u.dehydrated;if(du(t),r)if(t.flags&256)t.flags&=-257,t=ah(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=X2(a,n),f!==0&&f!==u.retryLane))throw u.retryLane=f,ya(e,f),Zt(a,e,f),Ou;Nr(),t=ah(e,t,n)}else e=u.treeContext,Ie=wn(f.nextSibling),Nt=t,Oe=!0,Dl=null,Sn=!1,e!==null&&Vd(t,e),t=hr(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 mr(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 Du(e,t,n,a,r){return Sa(t),n=hu(e,t,n,a,void 0,r),a=mu(),e!==null&&!ft?(pu(e,t,r),ul(e,t,r)):(Oe&&a&&Zo(t),t.flags|=1,Ct(e,t,n,r),t.child)}function sh(e,t,n,a,r,u){return Sa(t),t.updateQueue=null,n=rf(t,a,n,r),cf(e),a=mu(),e!==null&&!ft?(pu(e,t,u),ul(e,t,u)):(Oe&&a&&Zo(t),t.flags|=1,Ct(e,t,n,u),t.child)}function ih(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=Au,t.stateNode=u,u._reactInternals=t,u=t.stateNode,u.props=a,u.state=t.memoizedState,u.refs={},su(t),f=n.contextType,u.context=typeof f=="object"&&f!==null?wt(f):fs,u.state=t.memoizedState,f=n.getDerivedStateFromProps,typeof f=="function"&&(Ru(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&&Au.enqueueReplaceState(u,u.state,null),zi(t,a,u,r),Di(),u.state=t.memoizedState),typeof u.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(e===null){u=t.stateNode;var _=t.memoizedProps,j=Ra(n,_);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",_=t.pendingProps!==_,k||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(_||z!==f)&&Yf(t,u,a,f),Bl=!1;var L=t.memoizedState;u.state=L,zi(t,a,u,r),Di(),z=t.memoizedState,_||L!==z||Bl?(typeof G=="function"&&(Ru(t,n,G,a),z=t.memoizedState),(j=Bl||Qf(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,iu(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)),_=n.getDerivedStateFromProps,(z=typeof _=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(f!==G||L!==j)&&Yf(t,u,a,j),Bl=!1,L=t.memoizedState,u.state=L,zi(t,a,u,r),Di();var B=t.memoizedState;f!==G||L!==B||Bl||e!==null&&e.dependencies!==null&&Kc(e.dependencies)?(typeof _=="function"&&(Ru(t,n,_,a),B=t.memoizedState),(k=Bl||Qf(t,n,k,a,L,B,j)||e!==null&&e.dependencies!==null&&Kc(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,mr(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 ch(e,t,n,a){return ba(),t.flags|=256,Ct(e,t,n,a),t.child}var zu={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Lu(e){return{baseLanes:e,cachePool:Kd()}}function Bu(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=cn),e}function rh(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=v1(e,Sn),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ol!==null?{id:$n,overflow:Gn}:null,retryLane:536870912,hydrationErrors:null},n=qd(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 _=a.children;return a=a.fallback,r?(ql(),r=t.mode,_=pr({mode:"hidden",children:_},r),a=xa(a,r,n,null),_.return=t,a.return=t,_.sibling=a,t.child=_,a=t.child,a.memoizedState=Lu(n),a.childLanes=Bu(e,f,n),t.memoizedState=zu,Hi(null,a)):(Hl(t),Uu(t,_))}var j=e.memoizedState;if(j!==null&&(_=j.dehydrated,_!==null)){if(u)t.flags&256?(Hl(t),t.flags&=-257,t=ku(e,t,n)):t.memoizedState!==null?(ql(),t.child=e.child,t.flags|=128,t=null):(ql(),_=a.fallback,r=t.mode,a=pr({mode:"visible",children:a.children},r),_=xa(_,r,n,null),_.flags|=2,a.return=t,_.return=t,a.sibling=_,t.child=a,Ta(t,e.child,null,n),a=t.child,a.memoizedState=Lu(n),a.childLanes=Bu(e,f,n),t.memoizedState=zu,t=Hi(null,a));else if(Hl(t),_0(_)){if(f=_.nextSibling&&_.nextSibling.dataset,f)var z=f.dgst;f=z,a=Error(o(419)),a.stack="",a.digest=f,Ti({value:a,source:null,stack:null}),t=ku(e,t,n)}else if(ft||vs(e,t,n,!1),f=(n&e.childLanes)!==0,ft||f){if(f=Ze,f!==null&&(a=X2(f,n),a!==0&&a!==j.retryLane))throw j.retryLane=a,ya(e,a),Zt(f,e,a),Ou;g0(_)||Nr(),t=ku(e,t,n)}else g0(_)?(t.flags|=192,t.child=e.child,t=null):(e=j.treeContext,Ie=wn(_.nextSibling),Nt=t,Oe=!0,Dl=null,Sn=!1,e!==null&&Vd(t,e),t=Uu(t,a.children),t.flags|=4096);return t}return r?(ql(),_=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?_=al(z,_):(_=xa(_,r,n,null),_.flags|=2),_.return=t,a.return=t,a.sibling=_,t.child=a,Hi(null,a),a=t.child,_=e.child.memoizedState,_===null?_=Lu(n):(r=_.cachePool,r!==null?(j=ut._currentValue,r=r.parent!==j?{parent:j,pool:j}:r):r=Kd(),_={baseLanes:_.baseLanes|n,cachePool:r}),a.memoizedState=_,a.childLanes=Bu(e,f,n),t.memoizedState=zu,Hi(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 Uu(e,t){return t=pr({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function pr(e,t){return e=nn(22,e,null,t),e.lanes=0,e}function ku(e,t,n){return Ta(t,e.child,null,n),e=Uu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function oh(e,t,n){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),Jo(e.return,t,n)}function Hu(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 uh(e,t,n){var a=t.pendingProps,r=a.revealOrder,u=a.tail;a=a.children;var f=st.current,_=(f&2)!==0;if(_?(f=f&1|2,t.flags|=128):f&=1,K(st,f),Ct(e,t,a,n),a=Oe?Ci:0,!_&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&oh(e,n,t);else if(e.tag===19)oh(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&&lr(e)===null&&(r=n),n=n.sibling;n=r,n===null?(r=t.child,t.child=null):(r=n.sibling,n.sibling=null),Hu(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&&lr(e)===null){t.child=r;break}e=r.sibling,r.sibling=n,n=r,r=e}Hu(t,!0,n,null,u,a);break;case"together":Hu(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 qu(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Kc(e)))}function $v(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,du(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?rh(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 uh(e,t,n);t.flags|=128}if(r=t.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),K(st,st.current),a)break;return null;case 22:return t.lanes=0,nh(e,t,n,t.pendingProps);case 24:Ll(t,ut,e.memoizedState.cache)}return ul(e,t,n)}function dh(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)ft=!0;else{if(!qu(e,n)&&(t.flags&128)===0)return ft=!1,$v(e,t,n);ft=(e.flags&131072)!==0}else ft=!1,Oe&&(t.flags&1048576)!==0&&Gd(t,Ci,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")Qo(e)?(a=Ra(e,a),t.tag=1,t=ih(null,t,e,a,n)):(t.tag=0,t=Du(null,t,e,a,n));else{if(e!=null){var r=e.$$typeof;if(r===V){t.tag=11,t=Jf(null,t,e,a,n);break e}else if(r===P){t.tag=14,t=eh(null,t,e,a,n);break e}}throw t=Ce(e)||e,Error(o(306,t,""))}}return t;case 0:return Du(e,t,t.type,t.pendingProps,n);case 1:return a=t.type,r=Ra(a,t.pendingProps),ih(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,iu(e,t),zi(t,a,null,n);var f=t.memoizedState;if(a=f.cache,Ll(t,ut,a),a!==u.cache&&eu(t,[ut],n,!0),Di(),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=ch(e,t,a,n);break e}else if(a!==r){r=xn(Error(o(424)),t),Ti(r),t=ch(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=tf(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 mr(e,t),e===null?(n=j1(t.type,null,t.pendingProps,null))?t.memoizedState=n:Oe||(n=t.type,e=t.pendingProps,a=Mr(_e.current).createElement(n),a[St]=t,a[Gt]=e,Tt(a,n,e),gt(a),t.stateNode=a):t.memoizedState=j1(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return $t(t),e===null&&Oe&&(a=t.stateNode=y1(t.type,t.pendingProps,_e.current),Nt=t,Sn=!0,r=Ie,Zl(t.type)?(y0=r,Ie=wn(a.firstChild)):Ie=r),Ct(e,t,t.pendingProps.children,n),mr(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Oe&&((r=a=Ie)&&(a=gg(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,m0(r,u)?a=null:f!==null&&m0(r,f)&&(t.flags|=32),t.memoizedState!==null&&(r=hu(e,t,Ov,null,null,n),ec._currentValue=r),mr(e,t),Ct(e,t,a,n),t.child;case 6:return e===null&&Oe&&((e=n=Ie)&&(n=_g(n,t.pendingProps,Sn),n!==null?(t.stateNode=n,Nt=t,Ie=null,e=!0):e=!1),e||zl(t)),null;case 13:return rh(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 Jf(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 eh(e,t,t.type,t.pendingProps,n);case 15:return th(e,t,t.type,t.pendingProps,n);case 19:return uh(e,t,n);case 31:return qv(e,t,n);case 22:return nh(e,t,n,t.pendingProps);case 24:return Sa(t),a=wt(ut),e===null?(r=lu(),r===null&&(r=Ze,u=tu(),r.pooledCache=u,u.refCount++,u!==null&&(r.pooledCacheLanes|=n),r=u),t.memoizedState={parent:a,cache:r},su(t),Ll(t,ut,r)):((e.lanes&n)!==0&&(iu(e,t),zi(t,null,null,n),Di()),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&&eu(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 $u(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(kh())e.flags|=8192;else throw Ca=Jc,au}else e.flags&=-16777217}function fh(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!T1(t))if(kh())e.flags|=8192;else throw Ca=Jc,au}function vr(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?F2():536870912,e.lanes|=t,Es|=t)}function qi(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 Gv(e,t,n){var a=t.pendingProps;switch(Ko(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,Po())),Pe(t),null;case 26:var r=t.type,u=t.memoizedState;return e===null?(dl(t),u!==null?(Pe(t),fh(t,u)):(Pe(t),$u(t,r,null,a,n))):u?u!==e.memoizedState?(dl(t),Pe(t),fh(t,u)):(Pe(t),t.flags&=-16777217):(e=e.memoizedProps,e!==a&&dl(t),Pe(t),$u(t,r,e,a,n)),null;case 27:if(Hn(t),n=_e.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=ee.current,ps(t)?Fd(t):(e=y1(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=ee.current,ps(t))Fd(t);else{var f=Mr(_e.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),$u(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=_e.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||r1(e.nodeValue,n)),e||zl(t,!0)}else e=Mr(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=Po(),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=Po(),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),vr(t,t.updateQueue),Pe(t),null);case 4:return ye(),e===null&&o0(t.stateNode.containerInfo),Pe(t),null;case 10:return cl(t.type),Pe(t),null;case 19:if(q(st),a=t.memoizedState,a===null)return Pe(t),null;if(r=(t.flags&128)!==0,u=a.rendering,u===null)if(r)qi(a,!1);else{if(lt!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(u=lr(e),u!==null){for(t.flags|=128,qi(a,!1),e=u.updateQueue,t.updateQueue=e,vr(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Hd(n,e),n=n.sibling;return K(st,st.current&1|2),Oe&&sl(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&Wt()>br&&(t.flags|=128,r=!0,qi(a,!1),t.lanes=4194304)}else{if(!r)if(e=lr(u),e!==null){if(t.flags|=128,r=!0,e=e.updateQueue,t.updateQueue=e,vr(t,e),qi(a,!0),a.tail===null&&a.tailMode==="hidden"&&!u.alternate&&!Oe)return Pe(t),null}else 2*Wt()-a.renderingStartTime>br&&n!==536870912&&(t.flags|=128,r=!0,qi(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,K(st,r?n&1|2:n&1),Oe&&sl(t,a.treeForkCount),e):(Pe(t),null);case 22:case 23:return an(t),uu(),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&&vr(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&&q(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 Vv(e,t){switch(Ko(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 q(st),null;case 4:return ye(),null;case 10:return cl(t.type),null;case 22:case 23:return an(t),uu(),e!==null&&q(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 hh(e,t){switch(Ko(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:q(st);break;case 10:cl(t.type);break;case 22:case 23:an(t),uu(),e!==null&&q(Na);break;case 24:cl(ut)}}function $i(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(_){Ve(t,t.return,_)}}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,_=f.destroy;if(_!==void 0){f.destroy=void 0,r=t;var j=n,z=_;try{z()}catch(k){Ve(r,j,k)}}}a=a.next}while(a!==u)}}catch(k){Ve(t,t.return,k)}}function mh(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{lf(t,n)}catch(a){Ve(e,e.return,a)}}}function ph(e,t,n){n.props=Ra(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(a){Ve(e,t,a)}}function Gi(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 vh(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 Gu(e,t,n){try{var a=e.stateNode;dg(a,e.type,n,t),a[Gt]=t}catch(r){Ve(e,e.return,r)}}function gh(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Zl(e.type)||e.tag===4}function Vu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||gh(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 Fu(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(Fu(e,t,n),e=e.sibling;e!==null;)Fu(e,t,n),e=e.sibling}function gr(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(gr(e,t,n),e=e.sibling;e!==null;)gr(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,Qu=!1,yh=typeof WeakSet=="function"?WeakSet:Set,_t=null;function Fv(e,t){if(e=e.containerInfo,f0=kr,e=Ad(e),ko(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,_=-1,j=-1,z=0,k=0,G=e,L=null;t:for(;;){for(var B;G!==n||r!==0&&G.nodeType!==3||(_=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&&(_=f),L===u&&++k===a&&(j=f),(B=G.nextSibling)!==null)break;G=L,L=G.parentNode}G=B}n=_===-1||j===-1?null:{start:_,end:j}}else n=null}n=n||{start:0,end:0}}else n=null;for(h0={focusedElem:e,selectionRange:n},kr=!1,_t=t;_t!==null;)if(t=_t,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,_t=e;else for(;_t!==null;){switch(t=_t,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 te=Ra(n.type,r);e=a.getSnapshotBeforeUpdate(te,u),a.__reactInternalSnapshotBeforeUpdate=e}catch(de){Ve(n,n.return,de)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)v0(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":v0(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,_t=e;break}_t=t.return}}function xh(e,t,n){var a=n.flags;switch(n.tag){case 0:case 11:case 15:ml(e,n),a&4&&$i(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&&mh(n),a&512&&Gi(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{lf(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&&vh(n),a&512&&Gi(n,n.return);break;case 12:ml(e,n);break;case 31:ml(e,n),a&4&&Sh(e,n);break;case 13:ml(e,n),a&4&&Nh(e,n),a&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=Jv.bind(null,n),yg(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 bh(e){var t=e.alternate;t!==null&&(e.alternate=null,bh(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&bo(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;)jh(e,t,n),n=n.sibling}function jh(e,t,n){if(Jt&&typeof Jt.onCommitFiberUnmount=="function")try{Jt.onCommitFiberUnmount(fi,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),Pi(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,m1(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),Bs(e)):m1(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"&&ph(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 Sh(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 Nh(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 Qv(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new yh),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new yh),t;default:throw Error(o(435,e.tag))}}function _r(e,t){var n=Qv(e);t.forEach(function(a){if(!n.has(a)){n.add(a);var r=eg.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,_=f;e:for(;_!==null;){switch(_.tag){case 27:if(Zl(_.type)){Je=_.stateNode,Ft=!1;break e}break;case 5:Je=_.stateNode,Ft=!1;break e;case 3:case 4:Je=_.stateNode.containerInfo,Ft=!0;break e}_=_.return}if(Je===null)throw Error(o(160));jh(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;)wh(t,e),t=t.sibling}var zn=null;function wh(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),$i(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[pi]||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,gt(u),a=u;break e;case"link":var f=w1("link","href",r).get(a+(n.href||""));if(f){for(var _=0;_<f.length;_++)if(u=f[_],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(_,1);break t}}u=r.createElement(a),Tt(u,a,n),r.head.appendChild(u);break;case"meta":if(f=w1("meta","content",r).get(a+(n.content||""))){for(_=0;_<f.length;_++)if(u=f[_],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(_,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,gt(u),a=u}e.stateNode=a}else C1(r,e.type,e.stateNode);else e.stateNode=N1(r,a,e.memoizedProps);else u!==a?(u===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):u.count--,a===null?C1(r,e.type,e.stateNode):N1(r,a,e.memoizedProps)):a===null&&e.stateNode!==null&&Gu(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&&Gu(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(te){Ve(e,e.return,te)}}a&4&&e.stateNode!=null&&(r=e.memoizedProps,Gu(e,r,n!==null?n.memoizedProps:r)),a&1024&&(Qu=!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(te){Ve(e,e.return,te)}}break;case 3:if(zr=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(te){Ve(e,e.return,te)}Qu&&(Qu=!1,Ch(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)&&(xr=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{_=j.stateNode;var G=j.memoizedProps.style,L=G!=null&&G.hasOwnProperty("display")?G.display:null;_.style.display=L==null||typeof L=="boolean"?"":(""+L).trim()}}catch(te){Ve(j,j.return,te)}}}else if(t.tag===6){if(n===null){j=t;try{j.stateNode.nodeValue=r?"":j.memoizedProps}catch(te){Ve(j,j.return,te)}}}else if(t.tag===18){if(n===null){j=t;try{var B=j.stateNode;r?p1(B,!0):p1(j.stateNode,!1)}catch(te){Ve(j,j.return,te)}}}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(gh(a)){n=a;break}a=a.return}if(n==null)throw Error(o(160));switch(n.tag){case 27:var r=n.stateNode,u=Vu(e);gr(e,u,r);break;case 5:var f=n.stateNode;n.flags&32&&(ss(f,""),n.flags&=-33);var _=Vu(e);gr(e,_,f);break;case 3:case 4:var j=n.stateNode.containerInfo,z=Vu(e);Fu(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 Ch(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Ch(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;)xh(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"&&ph(t,t.return,n),Aa(t);break;case 27:Pi(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),$i(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 _=a.stateNode;try{var j=r.shared.hiddenCallbacks;if(j!==null)for(r.shared.hiddenCallbacks=null,r=0;r<j.length;r++)nf(j[r],_)}catch(z){Ve(a,a.return,z)}}n&&f&64&&mh(u),Gi(u,u.return);break;case 27:_h(u);case 26:case 5:pl(r,u,n),n&&a===null&&f&4&&vh(u),Gi(u,u.return);break;case 12:pl(r,u,n);break;case 31:pl(r,u,n),n&&f&4&&Sh(r,u);break;case 13:pl(r,u,n),n&&f&4&&Nh(r,u);break;case 22:u.memoizedState===null&&pl(r,u,n),Gi(u,u.return);break;case 30:break;default:pl(r,u,n)}t=t.sibling}}function Yu(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&&Ei(n))}function Xu(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Ei(e))}function Ln(e,t,n,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Th(e,t,n,a),t=t.sibling}function Th(e,t,n,a){var r=t.flags;switch(t.tag){case 0:case 11:case 15:Ln(e,t,n,a),r&2048&&$i(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&&Ei(e)));break;case 12:if(r&2048){Ln(e,t,n,a),e=t.stateNode;try{var u=t.memoizedProps,f=u.id,_=u.onPostCommit;typeof _=="function"&&_(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):Vi(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&&Yu(f,t);break;case 24:Ln(e,t,n,a),r&2048&&Xu(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,_=n,j=a,z=f.flags;switch(f.tag){case 0:case 11:case 15:ws(u,f,_,j,r),$i(8,f);break;case 23:break;case 22:var k=f.stateNode;f.memoizedState!==null?k._visibility&2?ws(u,f,_,j,r):Vi(u,f):(k._visibility|=2,ws(u,f,_,j,r)),r&&z&2048&&Yu(f.alternate,f);break;case 24:ws(u,f,_,j,r),r&&z&2048&&Xu(f.alternate,f);break;default:ws(u,f,_,j,r)}t=t.sibling}}function Vi(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:Vi(n,a),r&2048&&Yu(a.alternate,a);break;case 24:Vi(n,a),r&2048&&Xu(a.alternate,a);break;default:Vi(n,a)}t=t.sibling}}var Fi=8192;function Cs(e,t,n){if(e.subtreeFlags&Fi)for(e=e.child;e!==null;)Eh(e,t,n),e=e.sibling}function Eh(e,t,n){switch(e.tag){case 26:Cs(e,t,n),e.flags&Fi&&e.memoizedState!==null&&Mg(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=Fi,Fi=16777216,Cs(e,t,n),Fi=a):Cs(e,t,n));break;default:Cs(e,t,n)}}function Rh(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 Qi(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];_t=a,Mh(a,e)}Rh(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Ah(e),e=e.sibling}function Ah(e){switch(e.tag){case 0:case 11:case 15:Qi(e),e.flags&2048&&$l(9,e,e.return);break;case 3:Qi(e);break;case 12:Qi(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,yr(e)):Qi(e);break;default:Qi(e)}}function yr(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];_t=a,Mh(a,e)}Rh(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:$l(8,t,t.return),yr(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,yr(t));break;default:yr(t)}e=e.sibling}}function Mh(e,t){for(;_t!==null;){var n=_t;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:Ei(n.memoizedState.cache)}if(a=n.child,a!==null)a.return=n,_t=a;else e:for(n=e;_t!==null;){a=_t;var r=a.sibling,u=a.return;if(bh(a),a===n){_t=null;break e}if(r!==null){r.return=u,_t=r;break e}_t=u}}}var Yv={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}},Xv=typeof WeakMap=="function"?WeakMap:Map,qe=0,Ze=null,Te=null,Re=0,Ge=0,sn=null,Gl=!1,Ts=!1,Zu=!1,vl=0,lt=0,Vl=0,Ma=0,Ku=0,cn=0,Es=0,Yi=null,Xt=null,Iu=!1,xr=0,Oh=0,br=1/0,jr=null,Fl=null,mt=0,Ql=null,Rs=null,gl=0,Pu=0,Wu=null,Dh=null,Xi=0,Ju=null;function rn(){return(qe&2)!==0&&Re!==0?Re&-Re:U.T!==null?s0():Z2()}function zh(){if(cn===0)if((Re&536870912)===0||Oe){var e=Ac;Ac<<=1,(Ac&3932160)===0&&(Ac=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,Re,cn,!1)),mi(e,n),((qe&2)===0||e!==Ze)&&(e===Ze&&((qe&2)===0&&(Ma|=n),lt===4&&Yl(e,Re,cn,!1)),Fn(e))}function Lh(e,t,n){if((qe&6)!==0)throw Error(o(327));var a=!n&&(t&127)===0&&(t&e.expiredLanes)===0||hi(e,t),r=a?Iv(e,t):t0(e,t,!0),u=a;do{if(r===0){Ts&&!a&&Yl(e,t,0,!1);break}else{if(n=e.current.alternate,u&&!Zv(n)){r=t0(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 _=e;r=Yi;var j=_.current.memoizedState.isDehydrated;if(j&&(As(_,f).flags|=256),f=t0(_,f,!1),f!==2){if(Zu&&!j){_.errorRecoveryDisabledLanes|=u,Ma|=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=xr+300-Wt(),10<r)){if(Yl(a,t,cn,!Gl),Oc(a,0,!0)!==0)break e;gl=t,a.timeoutHandle=f1(Bh.bind(null,a,n,Xt,jr,Iu,t,cn,Ma,Es,Gl,u,"Throttled",-0,0),r);break e}Bh(a,n,Xt,jr,Iu,t,cn,Ma,Es,Gl,u,null,-0,0)}}break}while(!0);Fn(e)}function Bh(e,t,n,a,r,u,f,_,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},Eh(t,u,G);var te=(u&62914560)===u?xr-Wt():(u&4194048)===u?Oh-Wt():0;if(te=Og(G,te),te!==null){gl=u,e.cancelPendingCommit=te(Fh.bind(null,e,t,u,n,a,r,f,_,j,k,G,null,L,B)),Yl(e,u,f,!z);return}}Fh(e,t,u,n,a,r,f,_,j)}function Zv(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&=~Ku,t&=~Ma,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&&Q2(e,n,t)}function Sr(){return(qe&6)===0?(Zi(0),!1):!0}function e0(){if(Te!==null){if(Ge===0)var e=Te.return;else e=Te,il=ja=null,vu(e),xs=null,Ai=0,e=Te;for(;e!==null;)hh(e.alternate,e),e=e.return;Te=null}}function As(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,mg(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),gl=0,e0(),Ze=e,Te=n=al(e.current,null),Re=t,Ge=0,sn=null,Gl=!1,Ts=hi(e,t),Zu=!1,Es=cn=Ku=Ma=Vl=lt=0,Xt=Yi=null,Iu=!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,Fc(),n}function Uh(e,t){xe=null,U.H=ki,t===ys||t===Wc?(t=Wd(),Ge=3):t===au?(t=Wd(),Ge=4):Ge=t===Ou?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,sn=t,Te===null&&(lt=1,fr(e,xn(t,e.current)))}function kh(){var e=ln.current;return e===null?!0:(Re&4194048)===Re?Nn===null:(Re&62914560)===Re||(Re&536870912)!==0?e===Nn:!1}function Hh(){var e=U.H;return U.H=ki,e===null?ki:e}function qh(){var e=U.A;return U.A=Yv,e}function Nr(){lt=4,Gl||(Re&4194048)!==Re&&ln.current!==null||(Ts=!0),(Vl&134217727)===0&&(Ma&134217727)===0||Ze===null||Yl(Ze,Re,cn,!1)}function t0(e,t,n){var a=qe;qe|=2;var r=Hh(),u=qh();(Ze!==e||Re!==t)&&(jr=null,As(e,t)),t=!1;var f=lt;e:do try{if(Ge!==0&&Te!==null){var _=Te,j=sn;switch(Ge){case 8:e0(),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,Ms(e,_,j,z),n&&Ts){f=0;break e}break;default:z=Ge,Ge=0,sn=null,Ms(e,_,j,z)}}Kv(),f=lt;break}catch(k){Uh(e,k)}while(!0);return t&&e.shellSuspendCounter++,il=ja=null,qe=a,U.H=r,U.A=u,Te===null&&(Ze=null,Re=0,Fc()),f}function Kv(){for(;Te!==null;)$h(Te)}function Iv(e,t){var n=qe;qe|=2;var a=Hh(),r=qh();Ze!==e||Re!==t?(jr=null,br=Wt()+500,As(e,t)):Ts=hi(e,t);e:do try{if(Ge!==0&&Te!==null){t=Te;var u=sn;t:switch(Ge){case 1:Ge=0,sn=null,Ms(e,t,u,1);break;case 2:case 9:if(Id(u)){Ge=0,sn=null,Gh(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:Id(u)?(Ge=0,sn=null,Gh(t)):(Ge=0,sn=null,Ms(e,t,u,7));break;case 5:var f=null;switch(Te.tag){case 26:f=Te.memoizedState;case 5:case 27:var _=Te;if(f?T1(f):_.stateNode.complete){Ge=0,sn=null;var j=_.sibling;if(j!==null)Te=j;else{var z=_.return;z!==null?(Te=z,wr(z)):Te=null}break t}}Ge=0,sn=null,Ms(e,t,u,5);break;case 6:Ge=0,sn=null,Ms(e,t,u,6);break;case 8:e0(),lt=6;break e;default:throw Error(o(462))}}Pv();break}catch(k){Uh(e,k)}while(!0);return il=ja=null,U.H=a,U.A=r,qe=n,Te!==null?0:(Ze=null,Re=0,Fc(),lt)}function Pv(){for(;Te!==null&&!x3();)$h(Te)}function $h(e){var t=dh(e.alternate,e,vl);e.memoizedProps=e.pendingProps,t===null?wr(e):Te=t}function Gh(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=sh(n,t,t.pendingProps,t.type,void 0,Re);break;case 11:t=sh(n,t,t.pendingProps,t.type.render,t.ref,Re);break;case 5:vu(t);default:hh(n,t),t=Te=Hd(t,vl),t=dh(n,t,vl)}e.memoizedProps=e.pendingProps,t===null?wr(e):Te=t}function Ms(e,t,n,a){il=ja=null,vu(t),xs=null,Ai=0;var r=t.return;try{if(Hv(e,r,t,n,Re)){lt=1,fr(e,xn(n,e.current)),Te=null;return}}catch(u){if(r!==null)throw Te=r,u;lt=1,fr(e,xn(n,e.current)),Te=null;return}t.flags&32768?(Oe||a===1?e=!0:Ts||(Re&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))),Vh(t,e)):wr(t)}function wr(e){var t=e;do{if((t.flags&32768)!==0){Vh(t,Gl);return}e=t.return;var n=Gv(t.alternate,t,vl);if(n!==null){Te=n;return}if(t=t.sibling,t!==null){Te=t;return}Te=t=e}while(t!==null);lt===0&&(lt=5)}function Vh(e,t){do{var n=Vv(e.alternate,e);if(n!==null){n.flags&=32767,Te=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){Te=e;return}Te=e=n}while(e!==null);lt=6,Te=null}function Fh(e,t,n,a,r,u,f,_,j){e.cancelPendingCommit=null;do Cr();while(mt!==0);if((qe&6)!==0)throw Error(o(327));if(t!==null){if(t===e.current)throw Error(o(177));if(u=t.lanes|t.childLanes,u|=Vo,A3(e,n,u,f,_,j),e===Ze&&(Te=Ze=null,Re=0),Rs=t,Ql=e,gl=n,Pu=u,Wu=r,Dh=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,tg(Ec,function(){return Kh(),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=qe,qe|=4;try{Fv(e,t,n)}finally{qe=f,Q.p=r,U.T=a}}mt=1,Qh(),Yh(),Xh()}}function Qh(){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=qe;qe|=4;try{wh(t,e);var u=h0,f=Ad(e.containerInfo),_=u.focusedElem,j=u.selectionRange;if(f!==_&&_&&_.ownerDocument&&Rd(_.ownerDocument.documentElement,_)){if(j!==null&&ko(_)){var z=j.start,k=j.end;if(k===void 0&&(k=z),"selectionStart"in _)_.selectionStart=z,_.selectionEnd=Math.min(k,_.value.length);else{var G=_.ownerDocument||document,L=G&&G.defaultView||window;if(L.getSelection){var B=L.getSelection(),te=_.textContent.length,de=Math.min(j.start,te),Xe=j.end===void 0?de:Math.min(j.end,te);!B.extend&&de>Xe&&(f=Xe,Xe=de,de=f);var R=Ed(_,de),C=Ed(_,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(),de>Xe?(B.addRange(D),B.extend(C.node,C.offset)):(D.setEnd(C.node,C.offset),B.addRange(D))}}}}for(G=[],B=_;B=B.parentNode;)B.nodeType===1&&G.push({element:B,left:B.scrollLeft,top:B.scrollTop});for(typeof _.focus=="function"&&_.focus(),_=0;_<G.length;_++){var $=G[_];$.element.scrollLeft=$.left,$.element.scrollTop=$.top}}kr=!!f0,h0=f0=null}finally{qe=r,Q.p=a,U.T=n}}e.current=t,mt=2}}function Yh(){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=qe;qe|=4;try{xh(e,t.alternate,t)}finally{qe=r,Q.p=a,U.T=n}}mt=3}}function Xh(){if(mt===4||mt===3){mt=0,b3();var e=Ql,t=Rs,n=gl,a=Dh;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?mt=5:(mt=0,Rs=Ql=null,Zh(e,e.pendingLanes));var r=e.pendingLanes;if(r===0&&(Fl=null),yo(n),t=t.stateNode,Jt&&typeof Jt.onCommitFiberRoot=="function")try{Jt.onCommitFiberRoot(fi,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 _=a[f];u(_.value,{componentStack:_.stack})}}finally{U.T=t,Q.p=r}}(gl&3)!==0&&Cr(),Fn(e),r=e.pendingLanes,(n&261930)!==0&&(r&42)!==0?e===Ju?Xi++:(Xi=0,Ju=e):Xi=0,Zi(0)}}function Zh(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Ei(t)))}function Cr(){return Qh(),Yh(),Xh(),Kh()}function Kh(){if(mt!==5)return!1;var e=Ql,t=Pu;Pu=0;var n=yo(gl),a=U.T,r=Q.p;try{Q.p=32>n?32:n,U.T=null,n=Wu,Wu=null;var u=Ql,f=gl;if(mt=0,Rs=Ql=null,gl=0,(qe&6)!==0)throw Error(o(331));var _=qe;if(qe|=4,Ah(u.current),Th(u,u.current,f,n),qe=_,Zi(0,!1),Jt&&typeof Jt.onPostCommitFiberRoot=="function")try{Jt.onPostCommitFiberRoot(fi,u)}catch{}return!0}finally{Q.p=r,U.T=a,Zh(e,t)}}function Ih(e,t,n){t=xn(n,t),t=Mu(e.stateNode,t,2),e=kl(e,t,2),e!==null&&(mi(e,2),Fn(e))}function Ve(e,t,n){if(e.tag===3)Ih(e,e,n);else for(;t!==null;){if(t.tag===3){Ih(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=Pf(2),a=kl(t,n,2),a!==null&&(Wf(n,a,t,e),mi(a,2),Fn(a));break}}t=t.return}}function n0(e,t,n){var a=e.pingCache;if(a===null){a=e.pingCache=new Xv;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)||(Zu=!0,r.add(n),e=Wv.bind(null,e,t,n),t.then(e,e))}function Wv(e,t,n){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Ze===e&&(Re&n)===n&&(lt===4||lt===3&&(Re&62914560)===Re&&300>Wt()-xr?(qe&2)===0&&As(e,0):Ku|=n,Es===Re&&(Es=0)),Fn(e)}function Ph(e,t){t===0&&(t=F2()),e=ya(e,t),e!==null&&(mi(e,t),Fn(e))}function Jv(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ph(e,n)}function eg(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),Ph(e,n)}function tg(e,t){return po(e,t)}var Tr=null,Os=null,l0=!1,Er=!1,a0=!1,Xl=0;function Fn(e){e!==Os&&e.next===null&&(Os===null?Tr=Os=e:Os=Os.next=e),Er=!0,l0||(l0=!0,lg())}function Zi(e,t){if(!a0&&Er){a0=!0;do for(var n=!1,a=Tr;a!==null;){if(e!==0){var r=a.pendingLanes;if(r===0)var u=0;else{var f=a.suspendedLanes,_=a.pingedLanes;u=(1<<31-en(42|e)+1)-1,u&=r&~(f&~_),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(n=!0,t1(a,u))}else u=Re,u=Oc(a,a===Ze?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(u&3)===0||hi(a,u)||(n=!0,t1(a,u));a=a.next}while(n);a0=!1}}function ng(){Wh()}function Wh(){Er=l0=!1;var e=0;Xl!==0&&hg()&&(e=Xl);for(var t=Wt(),n=null,a=Tr;a!==null;){var r=a.next,u=Jh(a,t);u===0?(a.next=null,n===null?Tr=r:n.next=r,r===null&&(Os=n)):(n=a,(e!==0||(u&3)!==0)&&(Er=!0)),a=r}mt!==0&&mt!==5||Zi(e),Xl!==0&&(Xl=0)}function Jh(e,t){for(var n=e.suspendedLanes,a=e.pingedLanes,r=e.expirationTimes,u=e.pendingLanes&-62914561;0<u;){var f=31-en(u),_=1<<f,j=r[f];j===-1?((_&n)===0||(_&a)!==0)&&(r[f]=R3(_,t)):j<=t&&(e.expiredLanes|=_),u&=~_}if(t=Ze,n=Re,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&&vo(a),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||hi(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(a!==null&&vo(a),yo(n)){case 2:case 8:n=G2;break;case 32:n=Ec;break;case 268435456:n=V2;break;default:n=Ec}return a=e1.bind(null,e),n=po(n,a),e.callbackPriority=t,e.callbackNode=n,t}return a!==null&&a!==null&&vo(a),e.callbackPriority=2,e.callbackNode=null,2}function e1(e,t){if(mt!==0&&mt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Cr()&&e.callbackNode!==n)return null;var a=Re;return a=Oc(e,e===Ze?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a===0?null:(Lh(e,a,t),Jh(e,Wt()),e.callbackNode!=null&&e.callbackNode===n?e1.bind(null,e):null)}function t1(e,t){if(Cr())return null;Lh(e,t,!0)}function lg(){pg(function(){(qe&6)!==0?po($2,ng):Wh()})}function s0(){if(Xl===0){var e=gs;e===0&&(e=Rc,Rc<<=1,(Rc&261888)===0&&(Rc=256)),Xl=e}return Xl}function n1(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Bc(""+e)}function l1(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 ag(e,t,n,a,r){if(t==="submit"&&n&&n.stateNode===r){var u=n1((r[Gt]||null).action),f=a.submitter;f&&(t=(t=f[Gt]||null)?n1(t.formAction):f.getAttribute("formAction"),t!==null&&(u=t,f=null));var _=new qc("action","action",null,a,r);e.push({event:_,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Xl!==0){var j=f?l1(r,f):new FormData(r);wu(n,{pending:!0,data:j,method:r.method,action:u},null,j)}}else typeof u=="function"&&(_.preventDefault(),j=f?l1(r,f):new FormData(r),wu(n,{pending:!0,data:j,method:r.method,action:u},u,j))},currentTarget:r}]})}}for(var i0=0;i0<Go.length;i0++){var c0=Go[i0],sg=c0.toLowerCase(),ig=c0[0].toUpperCase()+c0.slice(1);Dn(sg,"on"+ig)}Dn(Dd,"onAnimationEnd"),Dn(zd,"onAnimationIteration"),Dn(Ld,"onAnimationStart"),Dn("dblclick","onDoubleClick"),Dn("focusin","onFocus"),Dn("focusout","onBlur"),Dn(jv,"onTransitionRun"),Dn(Sv,"onTransitionStart"),Dn(Nv,"onTransitionCancel"),Dn(Bd,"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 Ki="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),cg=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ki));function a1(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 _=a[f],j=_.instance,z=_.currentTarget;if(_=_.listener,j!==u&&r.isPropagationStopped())break e;u=_,r.currentTarget=z;try{u(r)}catch(k){Vc(k)}r.currentTarget=null,u=j}else for(f=0;f<a.length;f++){if(_=a[f],j=_.instance,z=_.currentTarget,_=_.listener,j!==u&&r.isPropagationStopped())break e;u=_,r.currentTarget=z;try{u(r)}catch(k){Vc(k)}r.currentTarget=null,u=j}}}}function Ee(e,t){var n=t[xo];n===void 0&&(n=t[xo]=new Set);var a=e+"__bubble";n.has(a)||(s1(t,e,2,!1),n.add(a))}function r0(e,t,n){var a=0;t&&(a|=4),s1(n,e,a,t)}var Rr="_reactListening"+Math.random().toString(36).slice(2);function o0(e){if(!e[Rr]){e[Rr]=!0,P2.forEach(function(n){n!=="selectionchange"&&(cg.has(n)||r0(n,!1,e),r0(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Rr]||(t[Rr]=!0,r0("selectionchange",!1,t))}}function s1(e,t,n,a){switch(z1(t)){case 2:var r=Lg;break;case 8:r=Bg;break;default:r=N0}n=r.bind(null,t,n,e),r=void 0,!Ro||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 u0(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 _=a.stateNode.containerInfo;if(_===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(;_!==null;){if(f=es(_),f===null)return;if(j=f.tag,j===5||j===6||j===26||j===27){a=u=f;continue e}_=_.parentNode}}a=a.return}od(function(){var z=u,k=To(n),G=[];e:{var L=Ud.get(e);if(L!==void 0){var B=qc,te=e;switch(e){case"keypress":if(kc(n)===0)break e;case"keydown":case"keyup":B=ev;break;case"focusin":te="focus",B=Do;break;case"focusout":te="blur",B=Do;break;case"beforeblur":case"afterblur":B=Do;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=fd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":B=G3;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":B=lv;break;case Dd:case zd:case Ld:B=Q3;break;case Bd:B=sv;break;case"scroll":case"scrollend":B=q3;break;case"wheel":B=cv;break;case"copy":case"cut":case"paste":B=X3;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":B=md;break;case"toggle":case"beforetoggle":B=ov}var de=(t&4)!==0,Xe=!de&&(e==="scroll"||e==="scrollend"),R=de?L!==null?L+"Capture":null:L;de=[];for(var C=z,D;C!==null;){var $=C;if(D=$.stateNode,$=$.tag,$!==5&&$!==26&&$!==27||D===null||R===null||($=gi(C,R),$!=null&&de.push(Ii(C,$,D))),Xe)break;C=C.return}0<de.length&&(L=new B(L,te,null,n,k),G.push({event:L,listeners:de}))}}if((t&7)===0){e:{if(L=e==="mouseover"||e==="pointerover",B=e==="mouseout"||e==="pointerout",L&&n!==Co&&(te=n.relatedTarget||n.fromElement)&&(es(te)||te[Ja]))break e;if((B||L)&&(L=k.window===k?k:(L=k.ownerDocument)?L.defaultView||L.parentWindow:window,B?(te=n.relatedTarget||n.toElement,B=z,te=te?es(te):null,te!==null&&(Xe=h(te),de=te.tag,te!==Xe||de!==5&&de!==27&&de!==6)&&(te=null)):(B=null,te=z),B!==te)){if(de=fd,$="onMouseLeave",R="onMouseEnter",C="mouse",(e==="pointerout"||e==="pointerover")&&(de=md,$="onPointerLeave",R="onPointerEnter",C="pointer"),Xe=B==null?L:vi(B),D=te==null?L:vi(te),L=new de($,C+"leave",B,n,k),L.target=Xe,L.relatedTarget=D,$=null,es(k)===z&&(de=new de(R,C+"enter",te,n,k),de.target=D,de.relatedTarget=Xe,$=de),Xe=$,B&&te)t:{for(de=rg,R=B,C=te,D=0,$=R;$;$=de($))D++;$=0;for(var ce=C;ce;ce=de(ce))$++;for(;0<D-$;)R=de(R),D--;for(;0<$-D;)C=de(C),$--;for(;D--;){if(R===C||C!==null&&R===C.alternate){de=R;break t}R=de(R),C=de(C)}de=null}else de=null;B!==null&&i1(G,L,B,de,!1),te!==null&&Xe!==null&&i1(G,Xe,te,de,!0)}}e:{if(L=z?vi(z):window,B=L.nodeName&&L.nodeName.toLowerCase(),B==="select"||B==="input"&&L.type==="file")var Ue=jd;else if(xd(L))if(Sd)Ue=yv;else{Ue=gv;var ae=vv}else B=L.nodeName,!B||B.toLowerCase()!=="input"||L.type!=="checkbox"&&L.type!=="radio"?z&&wo(z.elementType)&&(Ue=jd):Ue=_v;if(Ue&&(Ue=Ue(e,z))){bd(G,Ue,n,k);break e}ae&&ae(e,L,z),e==="focusout"&&z&&L.type==="number"&&z.memoizedProps.value!=null&&No(L,"number",L.value)}switch(ae=z?vi(z):window,e){case"focusin":(xd(ae)||ae.contentEditable==="true")&&(os=ae,Ho=z,wi=null);break;case"focusout":wi=Ho=os=null;break;case"mousedown":qo=!0;break;case"contextmenu":case"mouseup":case"dragend":qo=!1,Md(G,n,k);break;case"selectionchange":if(bv)break;case"keydown":case"keyup":Md(G,n,k)}var be;if(Lo)e:{switch(e){case"compositionstart":var Ae="onCompositionStart";break e;case"compositionend":Ae="onCompositionEnd";break e;case"compositionupdate":Ae="onCompositionUpdate";break e}Ae=void 0}else rs?_d(e,n)&&(Ae="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(Ae="onCompositionStart");Ae&&(pd&&n.locale!=="ko"&&(rs||Ae!=="onCompositionStart"?Ae==="onCompositionEnd"&&rs&&(be=ud()):(Ml=k,Ao="value"in Ml?Ml.value:Ml.textContent,rs=!0)),ae=Ar(z,Ae),0<ae.length&&(Ae=new hd(Ae,e,null,n,k),G.push({event:Ae,listeners:ae}),be?Ae.data=be:(be=yd(n),be!==null&&(Ae.data=be)))),(be=dv?fv(e,n):hv(e,n))&&(Ae=Ar(z,"onBeforeInput"),0<Ae.length&&(ae=new hd("onBeforeInput","beforeinput",null,n,k),G.push({event:ae,listeners:Ae}),ae.data=be)),ag(G,e,z,n,k)}a1(G,t)})}function Ii(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ar(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=gi(e,n),r!=null&&a.unshift(Ii(e,r,u)),r=gi(e,t),r!=null&&a.push(Ii(e,r,u))),e.tag===3)return a;e=e.return}return[]}function rg(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function i1(e,t,n,a,r){for(var u=t._reactName,f=[];n!==null&&n!==a;){var _=n,j=_.alternate,z=_.stateNode;if(_=_.tag,j!==null&&j===a)break;_!==5&&_!==26&&_!==27||z===null||(j=z,r?(z=gi(n,u),z!=null&&f.unshift(Ii(n,z,j))):r||(z=gi(n,u),z!=null&&f.push(Ii(n,z,j)))),n=n.return}f.length!==0&&e.push({event:t,listeners:f})}var og=/\r\n?/g,ug=/\u0000|\uFFFD/g;function c1(e){return(typeof e=="string"?e:""+e).replace(og,`
|
||
`).replace(ug,"")}function r1(e,t){return t=c1(t),c1(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":zc(e,"class",a);break;case"tabIndex":zc(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":zc(e,n,a);break;case"style":cd(e,a,u);break;case"data":if(t!=="object"){zc(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=Bc(""+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=Bc(""+a),e.setAttribute(n,a);break;case"onClick":a!=null&&(e.onclick=nl);break;case"onScroll":a!=null&&Ee("scroll",e);break;case"onScrollEnd":a!=null&&Ee("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=Bc(""+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":Ee("beforetoggle",e),Ee("toggle",e),Dc(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":Dc(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=k3.get(n)||n,Dc(e,n,a))}}function d0(e,t,n,a,r,u){switch(n){case"style":cd(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&&Ee("scroll",e);break;case"onScrollEnd":a!=null&&Ee("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(!W2.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,""):Dc(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":Ee("error",e),Ee("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":Ee("invalid",e);var _=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":_=k;break;case"children":case"dangerouslySetInnerHTML":if(k!=null)throw Error(o(137,t));break;default:Ye(e,t,a,k,n,null)}}ld(e,u,_,j,z,f,r,!1);return;case"select":Ee("invalid",e),a=f=u=null;for(r in n)if(n.hasOwnProperty(r)&&(_=n[r],_!=null))switch(r){case"value":u=_;break;case"defaultValue":f=_;break;case"multiple":a=_;default:Ye(e,t,r,_,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":Ee("invalid",e),u=r=a=null;for(f in n)if(n.hasOwnProperty(f)&&(_=n[f],_!=null))switch(f){case"value":a=_;break;case"defaultValue":r=_;break;case"children":u=_;break;case"dangerouslySetInnerHTML":if(_!=null)throw Error(o(91));break;default:Ye(e,t,f,_,n,null)}sd(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":Ee("beforetoggle",e),Ee("toggle",e),Ee("cancel",e),Ee("close",e);break;case"iframe":case"object":Ee("load",e);break;case"video":case"audio":for(a=0;a<Ki.length;a++)Ee(Ki[a],e);break;case"image":Ee("error",e),Ee("load",e);break;case"details":Ee("toggle",e);break;case"embed":case"source":case"link":Ee("error",e),Ee("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(wo(t)){for(k in n)n.hasOwnProperty(k)&&(a=n[k],a!==void 0&&d0(e,t,k,a,n,void 0));return}}for(_ in n)n.hasOwnProperty(_)&&(a=n[_],a!=null&&Ye(e,t,_,a,n,null))}function dg(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,_=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":_=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)}}So(e,f,_,j,z,k,u,r);return;case"select":B=f=_=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":_=u;break;case"multiple":f=u;default:u!==j&&Ye(e,t,r,u,a,j)}t=_,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(_ in n)if(r=n[_],n.hasOwnProperty(_)&&r!=null&&!a.hasOwnProperty(_))switch(_){case"value":break;case"children":break;default:Ye(e,t,_,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)}ad(e,L,B);return;case"option":for(var te in n)if(L=n[te],n.hasOwnProperty(te)&&L!=null&&!a.hasOwnProperty(te))switch(te){case"selected":e.selected=!1;break;default:Ye(e,t,te,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 de in n)L=n[de],n.hasOwnProperty(de)&&L!=null&&!a.hasOwnProperty(de)&&Ye(e,t,de,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(wo(t)){for(var Xe in n)L=n[Xe],n.hasOwnProperty(Xe)&&L!==void 0&&!a.hasOwnProperty(Xe)&&d0(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||d0(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 o1(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function fg(){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,_=r.duration;if(u&&_&&o1(f)){for(f=0,_=r.responseEnd,a+=1;a<n.length;a++){var j=n[a],z=j.startTime;if(z>_)break;var k=j.transferSize,G=j.initiatorType;k&&o1(G)&&(j=j.responseEnd,f+=k*(j<_?1:(_-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 f0=null,h0=null;function Mr(e){return e.nodeType===9?e:e.ownerDocument}function u1(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 d1(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 m0(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 p0=null;function hg(){var e=window.event;return e&&e.type==="popstate"?e===p0?!1:(p0=e,!0):(p0=null,!1)}var f1=typeof setTimeout=="function"?setTimeout:void 0,mg=typeof clearTimeout=="function"?clearTimeout:void 0,h1=typeof Promise=="function"?Promise:void 0,pg=typeof queueMicrotask=="function"?queueMicrotask:typeof h1<"u"?function(e){return h1.resolve(null).then(e).catch(vg)}:f1;function vg(e){setTimeout(function(){throw e})}function Zl(e){return e==="head"}function m1(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")Pi(e.ownerDocument.documentElement);else if(n==="head"){n=e.ownerDocument.head,Pi(n);for(var u=n.firstChild;u;){var f=u.nextSibling,_=u.nodeName;u[pi]||_==="SCRIPT"||_==="STYLE"||_==="LINK"&&u.rel.toLowerCase()==="stylesheet"||n.removeChild(u),u=f}}else n==="body"&&Pi(e.ownerDocument.body);n=r}while(n);Bs(t)}function p1(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 v0(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":v0(n),bo(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function gg(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[pi])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 _g(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 v1(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 g0(e){return e.data==="$?"||e.data==="$~"}function _0(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function yg(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 y0=null;function g1(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 y1(e,t,n){switch(t=Mr(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 Pi(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);bo(e)}var Cn=new Map,x1=new Set;function Or(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var _l=Q.d;Q.d={f:xg,r:bg,D:jg,C:Sg,L:Ng,m:wg,X:Tg,S:Cg,M:Eg};function xg(){var e=_l.f(),t=Sr();return e||t}function bg(e){var t=ts(e);t!==null&&t.tag===5&&t.type==="form"?Uf(t):_l.r(e)}var Ds=typeof document>"u"?null:document;function b1(e,t,n){var a=Ds;if(a&&typeof t=="string"&&t){var r=_n(t);r='link[rel="'+e+'"][href="'+r+'"]',typeof n=="string"&&(r+='[crossorigin="'+n+'"]'),x1.has(r)||(x1.add(r),e={rel:e,crossOrigin:n,href:t},a.querySelector(r)===null&&(t=a.createElement("link"),Tt(t,"link",e),gt(t),a.head.appendChild(t)))}}function jg(e){_l.D(e),b1("dns-prefetch",e,null)}function Sg(e,t){_l.C(e,t),b1("preconnect",e,t)}function Ng(e,t,n){_l.L(e,t,n);var a=Ds;if(a&&e&&t){var r='link[rel="preload"][as="'+_n(t)+'"]';t==="image"&&n&&n.imageSrcSet?(r+='[imagesrcset="'+_n(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(r+='[imagesizes="'+_n(n.imageSizes)+'"]')):r+='[href="'+_n(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(Wi(u))||t==="script"&&a.querySelector(Ji(u))||(t=a.createElement("link"),Tt(t,"link",e),gt(t),a.head.appendChild(t)))}}function wg(e,t){_l.m(e,t);var n=Ds;if(n&&e){var a=t&&typeof t.as=="string"?t.as:"script",r='link[rel="modulepreload"][as="'+_n(a)+'"][href="'+_n(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(Ji(u)))return}a=n.createElement("link"),Tt(a,"link",e),gt(a),n.head.appendChild(a)}}}function Cg(e,t,n){_l.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 _={loading:0,preload:null};if(f=a.querySelector(Wi(u)))_.loading=5;else{e=y({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Cn.get(u))&&x0(e,n);var j=f=a.createElement("link");gt(j),Tt(j,"link",e),j._p=new Promise(function(z,k){j.onload=z,j.onerror=k}),j.addEventListener("load",function(){_.loading|=1}),j.addEventListener("error",function(){_.loading|=2}),_.loading|=4,Dr(f,t,a)}f={type:"stylesheet",instance:f,count:1,state:_},r.set(u,f)}}}function Tg(e,t){_l.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(Ji(r)),u||(e=y({src:e,async:!0},t),(t=Cn.get(r))&&b0(e,t),u=n.createElement("script"),gt(u),Tt(u,"link",e),n.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(r,u))}}function Eg(e,t){_l.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(Ji(r)),u||(e=y({src:e,async:!0,type:"module"},t),(t=Cn.get(r))&&b0(e,t),u=n.createElement("script"),gt(u),Tt(u,"link",e),n.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(r,u))}}function j1(e,t,n,a){var r=(r=_e.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(Wi(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||Rg(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="'+_n(e)+'"'}function Wi(e){return'link[rel="stylesheet"]['+e+"]"}function S1(e){return y({},e,{"data-precedence":e.precedence,precedence:null})}function Rg(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),gt(t),e.head.appendChild(t))}function Ls(e){return'[src="'+_n(e)+'"]'}function Ji(e){return"script[async]"+e}function N1(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+_n(n.href)+'"]');if(a)return t.instance=a,gt(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"),gt(a),Tt(a,"style",r),Dr(a,n.precedence,e),t.instance=a;case"stylesheet":r=zs(n.href);var u=e.querySelector(Wi(r));if(u)return t.state.loading|=4,t.instance=u,gt(u),u;a=S1(n),(r=Cn.get(r))&&x0(a,r),u=(e.ownerDocument||e).createElement("link"),gt(u);var f=u;return f._p=new Promise(function(_,j){f.onload=_,f.onerror=j}),Tt(u,"link",a),t.state.loading|=4,Dr(u,n.precedence,e),t.instance=u;case"script":return u=Ls(n.src),(r=e.querySelector(Ji(u)))?(t.instance=r,gt(r),r):(a=n,(r=Cn.get(u))&&(a=y({},n),b0(a,r)),e=e.ownerDocument||e,r=e.createElement("script"),gt(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,Dr(a,n.precedence,e));return t.instance}function Dr(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 _=a[f];if(_.dataset.precedence===t)u=_;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 x0(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function b0(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var zr=null;function w1(e,t,n){if(zr===null){var a=new Map,r=zr=new Map;r.set(n,a)}else r=zr,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[pi]||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 _=a.get(f);_?_.push(u):a.set(f,[u])}}return a}function C1(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function Ag(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 T1(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function Mg(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(Wi(r));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Lr.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=u,gt(u);return}u=t.ownerDocument||t,a=S1(a),(r=Cn.get(r))&&x0(a,r),u=u.createElement("link"),gt(u);var f=u;f._p=new Promise(function(_,j){f.onload=_,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=Lr.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}var j0=0;function Og(e,t){return e.stylesheets&&e.count===0&&Ur(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var a=setTimeout(function(){if(e.stylesheets&&Ur(e,e.stylesheets),e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}},6e4+t);0<e.imgBytes&&j0===0&&(j0=62500*fg());var r=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Ur(e,e.stylesheets),e.unsuspend)){var u=e.unsuspend;e.unsuspend=null,u()}},(e.imgBytes>j0?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(r)}}:null}function Lr(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Ur(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Br=null;function Ur(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Br=new Map,t.forEach(Dg,e),Br=null,Lr.call(e))}function Dg(e,t){if(!(t.state.loading&4)){var n=Br.get(e);if(n)var a=n.get(null);else{n=new Map,Br.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=Lr.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 ec={$$typeof:H,Provider:null,Consumer:null,_currentValue:oe,_currentValue2:oe,_threadCount:0};function zg(e,t,n,a,r,u,f,_,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=go(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=go(0),this.hiddenUpdates=go(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 E1(e,t,n,a,r,u,f,_,j,z,k,G){return e=new zg(e,t,n,f,j,z,k,G,_),t=1,u===!0&&(t|=24),u=nn(3,null,null,t),e.current=u,u.stateNode=e,t=tu(),t.refCount++,e.pooledCache=t,t.refCount++,u.memoizedState={element:a,isDehydrated:n,cache:t},su(u),e}function R1(e){return e?(e=fs,e):fs}function A1(e,t,n,a,r,u){r=R1(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 M1(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function S0(e,t){M1(e,t),(e=e.alternate)&&M1(e,t)}function O1(e){if(e.tag===13||e.tag===31){var t=ya(e,67108864);t!==null&&Zt(t,e,67108864),S0(e,67108864)}}function D1(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),S0(e,t)}}var kr=!0;function Lg(e,t,n,a){var r=U.T;U.T=null;var u=Q.p;try{Q.p=2,N0(e,t,n,a)}finally{Q.p=u,U.T=r}}function Bg(e,t,n,a){var r=U.T;U.T=null;var u=Q.p;try{Q.p=8,N0(e,t,n,a)}finally{Q.p=u,U.T=r}}function N0(e,t,n,a){if(kr){var r=w0(a);if(r===null)u0(e,t,a,Hr,n),L1(e,a);else if(kg(r,e,t,n,a))a.stopPropagation();else if(L1(e,a),t&4&&-1<Ug.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 _=u;for(_.pendingLanes|=2,_.entangledLanes|=2;f;){var j=1<<31-en(f);_.entanglements[1]|=j,f&=~j}Fn(u),(qe&6)===0&&(br=Wt()+500,Zi(0))}}break;case 31:case 13:_=ya(u,2),_!==null&&Zt(_,u,2),Sr(),S0(u,2)}if(u=w0(a),u===null&&u0(e,t,a,Hr,n),u===r)break;r=u}r!==null&&a.stopPropagation()}else u0(e,t,a,null,n)}}function w0(e){return e=To(e),C0(e)}var Hr=null;function C0(e){if(Hr=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 Hr=e,null}function z1(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(j3()){case $2:return 2;case G2:return 8;case Ec:case S3:return 32;case V2:return 268435456;default:return 32}default:return 32}}var T0=!1,Kl=null,Il=null,Pl=null,tc=new Map,nc=new Map,Wl=[],Ug="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 L1(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":tc.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":nc.delete(t.pointerId)}}function lc(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 kg(e,t,n,a,r){switch(t){case"focusin":return Kl=lc(Kl,e,t,n,a,r),!0;case"dragenter":return Il=lc(Il,e,t,n,a,r),!0;case"mouseover":return Pl=lc(Pl,e,t,n,a,r),!0;case"pointerover":var u=r.pointerId;return tc.set(u,lc(tc.get(u)||null,e,t,n,a,r)),!0;case"gotpointercapture":return u=r.pointerId,nc.set(u,lc(nc.get(u)||null,e,t,n,a,r)),!0}return!1}function B1(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,K2(e.priority,function(){D1(n)});return}}else if(t===31){if(t=p(n),t!==null){e.blockedOn=t,K2(e.priority,function(){D1(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 qr(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=w0(e.nativeEvent);if(n===null){n=e.nativeEvent;var a=new n.constructor(n.type,n);Co=a,n.target.dispatchEvent(a),Co=null}else return t=ts(n),t!==null&&O1(t),e.blockedOn=n,!1;t.shift()}return!0}function U1(e,t,n){qr(e)&&n.delete(t)}function Hg(){T0=!1,Kl!==null&&qr(Kl)&&(Kl=null),Il!==null&&qr(Il)&&(Il=null),Pl!==null&&qr(Pl)&&(Pl=null),tc.forEach(U1),nc.forEach(U1)}function $r(e,t){e.blockedOn===t&&(e.blockedOn=null,T0||(T0=!0,s.unstable_scheduleCallback(s.unstable_NormalPriority,Hg)))}var Gr=null;function k1(e){Gr!==e&&(Gr=e,s.unstable_scheduleCallback(s.unstable_NormalPriority,function(){Gr===e&&(Gr=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(C0(a||n)===null)continue;break}var u=ts(n);u!==null&&(e.splice(t,3),t-=3,wu(u,{pending:!0,data:r,method:n.method,action:a},a,r))}}))}function Bs(e){function t(j){return $r(j,e)}Kl!==null&&$r(Kl,e),Il!==null&&$r(Il,e),Pl!==null&&$r(Pl,e),tc.forEach(t),nc.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);)B1(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||k1(n);else if(f){var _=null;if(u&&u.hasAttribute("formAction")){if(r=u,f=u[Gt]||null)_=f.formAction;else if(C0(r)!==null)continue}else _=f.action;typeof _=="function"?n[a+1]=_:(n.splice(a,3),a-=3),k1(n)}}}function H1(){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 E0(e){this._internalRoot=e}Vr.prototype.render=E0.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(o(409));var n=t.current,a=rn();A1(n,a,e,t,null,null)},Vr.prototype.unmount=E0.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;A1(e.current,2,null,e,null,null),Sr(),t[Ja]=null}};function Vr(e){this._internalRoot=e}Vr.prototype.unstable_scheduleHydration=function(e){if(e){var t=Z2();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&&B1(e)}};var q1=c.version;if(q1!=="19.2.5")throw Error(o(527,q1,"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 qg={bundleType:0,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:U,reconcilerVersion:"19.2.5"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Fr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Fr.isDisabled&&Fr.supportsFiber)try{fi=Fr.inject(qg),Jt=Fr}catch{}}return sc.createRoot=function(e,t){if(!d(e))throw Error(o(299));var n=!1,a="",r=Xf,u=Zf,f=Kf;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=E1(e,1,!1,null,null,n,a,null,r,u,f,H1),e[Ja]=t.current,o0(e),new E0(t)},sc.hydrateRoot=function(e,t,n){if(!d(e))throw Error(o(299));var a=!1,r="",u=Xf,f=Zf,_=Kf,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&&(_=n.onRecoverableError),n.formState!==void 0&&(j=n.formState)),t=E1(e,1,!0,t,n??null,a,r,j,u,f,_,H1),t.context=R1(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,mi(t,n),Fn(t),e[Ja]=t.current,o0(e),new Vr(t)},sc.version="19.2.5",sc}var P1;function Pg(){if(P1)return O0.exports;P1=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=Ig(),O0.exports}var Wg=Pg();/**
|
||
* 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 W1="popstate";function J1(s){return typeof s=="object"&&s!=null&&"pathname"in s&&"search"in s&&"hash"in s&&"state"in s&&"key"in s}function Jg(s={}){function c(o,d){var v;let h=(v=d.state)==null?void 0:v.masked,{pathname:m,search:p,hash:g}=h||o.location;return P0("",{pathname:m,search:p,hash:g},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:pc(d)}return t_(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 e_(){return Math.random().toString(36).substring(2,10)}function em(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 P0(s,c,i=null,o,d){return{pathname:typeof s=="string"?s:s.pathname,search:"",hash:"",...typeof c=="string"?ti(c):c,state:i,key:c&&c.key||o||e_(),unstable_mask:d}}function pc({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 ti(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 t_(s,c,i,o={}){let{window:d=document.defaultView,v5Compat:h=!1}=o,m=d.history,p="POP",g=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 w=x(),O=w==null?null:w-v;v=w,g&&g({action:p,location:M.location,delta:O})}function N(w,O){p="PUSH";let F=J1(w)?w:P0(M.location,w,O);v=x()+1;let H=em(F,v),V=M.createHref(F.unstable_mask||F);try{m.pushState(H,"",V)}catch(Z){if(Z instanceof DOMException&&Z.name==="DataCloneError")throw Z;d.location.assign(V)}h&&g&&g({action:p,location:M.location,delta:1})}function E(w,O){p="REPLACE";let F=J1(w)?w:P0(M.location,w,O);v=x();let H=em(F,v),V=M.createHref(F.unstable_mask||F);m.replaceState(H,"",V),h&&g&&g({action:p,location:M.location,delta:0})}function A(w){return n_(w)}let M={get action(){return p},get location(){return s(d,m)},listen(w){if(g)throw new Error("A history only accepts one active listener");return d.addEventListener(W1,y),g=w,()=>{d.removeEventListener(W1,y),g=null}},createHref(w){return c(d,w)},createURL:A,encodeLocation(w){let O=A(w);return{pathname:O.pathname,search:O.search,hash:O.hash}},push:N,replace:E,go(w){return m.go(w)}};return M}function n_(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:pc(s);return o=o.replace(/ $/,"%20"),!c&&o.startsWith("//")&&(o=i+o),new URL(o,i)}function up(s,c,i="/"){return l_(s,c,i,!1)}function l_(s,c,i,o){let d=typeof c=="string"?ti(c):c,h=Tl(d.pathname||"/",i);if(h==null)return null;let m=dp(s);a_(m);let p=null;for(let g=0;p==null&&g<m.length;++g){let v=p_(h);p=h_(m[g],v,o)}return p}function dp(s,c=[],i=[],o="",d=!1){let h=(m,p,g=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)&&g)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]),N=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}".`),dp(m.children,c,N,y,g)),!(m.path==null&&!m.index)&&c.push({path:y,score:d_(y,m.index),routesMeta:N})};return s.forEach((m,p)=>{var g;if(m.path===""||!((g=m.path)!=null&&g.includes("?")))h(m,p);else for(let v of fp(m.path))h(m,p,!0,v)}),c}function fp(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=fp(o.join("/")),p=[];return p.push(...m.map(g=>g===""?h:[h,g].join("/"))),d&&p.push(...m),p.map(g=>s.startsWith("/")&&g===""?"/":g)}function a_(s){s.sort((c,i)=>c.score!==i.score?i.score-c.score:f_(c.routesMeta.map(o=>o.childrenIndex),i.routesMeta.map(o=>o.childrenIndex)))}var s_=/^:[\w-]+$/,i_=3,c_=2,r_=1,o_=10,u_=-2,tm=s=>s==="*";function d_(s,c){let i=s.split("/"),o=i.length;return i.some(tm)&&(o+=u_),c&&(o+=c_),i.filter(d=>!tm(d)).reduce((d,h)=>d+(s_.test(h)?i_:h===""?r_:o_),o)}function f_(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 h_(s,c,i=!1){let{routesMeta:o}=s,d={},h="/",m=[];for(let p=0;p<o.length;++p){let g=o[p],v=p===o.length-1,x=h==="/"?c:c.slice(h.length)||"/",y=eo({path:g.relativePath,caseSensitive:g.caseSensitive,end:v},x),N=g.route;if(!y&&v&&i&&!o[o.length-1].route.index&&(y=eo({path:g.relativePath,caseSensitive:g.caseSensitive,end:!1},x)),!y)return null;Object.assign(d,y.params),m.push({params:d,pathname:Un([h,y.pathname]),pathnameBase:y_(Un([h,y.pathnameBase])),route:N}),y.pathnameBase!=="/"&&(h=Un([h,y.pathnameBase]))}return m}function eo(s,c){typeof s=="string"&&(s={path:s,caseSensitive:!1,end:!0});let[i,o]=m_(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},N)=>{if(x==="*"){let A=p[N]||"";m=h.slice(0,h.length-A.length).replace(/(.)\/+$/,"$1")}const E=p[N];return y&&!E?v[x]=void 0:v[x]=(E||"").replace(/%2F/g,"/"),v},{}),pathname:h,pathnameBase:m,pattern:s}}function m_(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,g,v,x)=>{if(o.push({paramName:p,isOptional:g!=null}),g){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 p_(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 v_=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function g_(s,c="/"){let{pathname:i,search:o="",hash:d=""}=typeof s=="string"?ti(s):s,h;return i?(i=hp(i),i.startsWith("/")?h=nm(i.substring(1),"/"):h=nm(i,c)):h=c,{pathname:h,search:x_(o),hash:b_(d)}}function nm(s,c){let i=to(c).split("/");return s.split("/").forEach(d=>{d===".."?i.length>1&&i.pop():d!=="."&&i.push(d)}),i.length>1?i.join("/"):"/"}function B0(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 __(s){return s.filter((c,i)=>i===0||c.route.path&&c.route.path.length>0)}function S2(s){let c=__(s);return c.map((i,o)=>o===c.length-1?i.pathname:i.pathnameBase)}function co(s,c,i,o=!1){let d;typeof s=="string"?d=ti(s):(d={...s},et(!d.pathname||!d.pathname.includes("?"),B0("?","pathname","search",d)),et(!d.pathname||!d.pathname.includes("#"),B0("#","pathname","hash",d)),et(!d.search||!d.search.includes("#"),B0("#","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 N=m.split("/");for(;N[0]==="..";)N.shift(),y-=1;d.pathname=N.join("/")}p=y>=0?c[y]:"/"}let g=g_(d,p),v=m&&m!=="/"&&m.endsWith("/"),x=(h||m===".")&&i.endsWith("/");return!g.pathname.endsWith("/")&&(v||x)&&(g.pathname+="/"),g}var hp=s=>s.replace(/\/\/+/g,"/"),Un=s=>hp(s.join("/")),to=s=>s.replace(/\/+$/,""),y_=s=>to(s).replace(/^\/*/,"/"),x_=s=>!s||s==="?"?"":s.startsWith("?")?s:"?"+s,b_=s=>!s||s==="#"?"":s.startsWith("#")?s:"#"+s,j_=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 S_(s){return s!=null&&typeof s.status=="number"&&typeof s.statusText=="string"&&typeof s.internal=="boolean"&&"data"in s}function N_(s){let c=s.map(i=>i.route.path).filter(Boolean);return Un(c)||"/"}var mp=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function pp(s,c){let i=s;if(typeof i!="string"||!v_.test(i))return{absoluteURL:void 0,isExternal:!1,to:i};let o=i,d=!1;if(mp)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 vp=["POST","PUT","PATCH","DELETE"];new Set(vp);var w_=["GET",...vp];new Set(w_);var ni=b.createContext(null);ni.displayName="DataRouter";var ro=b.createContext(null);ro.displayName="DataRouterState";var gp=b.createContext(!1);function C_(){return b.useContext(gp)}var _p=b.createContext({isTransitioning:!1});_p.displayName="ViewTransition";var T_=b.createContext(new Map);T_.displayName="Fetchers";var E_=b.createContext(null);E_.displayName="Await";var mn=b.createContext(null);mn.displayName="Navigation";var Nc=b.createContext(null);Nc.displayName="Location";var Mn=b.createContext({outlet:null,matches:[],isDataRoute:!1});Mn.displayName="Route";var N2=b.createContext(null);N2.displayName="RouteError";var yp="REACT_ROUTER_ERROR",R_="REDIRECT",A_="ROUTE_ERROR_RESPONSE";function M_(s){if(s.startsWith(`${yp}:${R_}:{`))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 O_(s){if(s.startsWith(`${yp}:${A_}:{`))try{let c=JSON.parse(s.slice(40));if(typeof c=="object"&&c&&typeof c.status=="number"&&typeof c.statusText=="string")return new j_(c.status,c.statusText,c.data)}catch{}}function D_(s,{relative:c}={}){et(li(),"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}=wc(s,{relative:c}),p=h;return i!=="/"&&(p=h==="/"?i:Un([i,h])),o.createHref({pathname:p,search:m,hash:d})}function li(){return b.useContext(Nc)!=null}function pn(){return et(li(),"useLocation() may be used only in the context of a <Router> component."),b.useContext(Nc).location}var xp="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function bp(s){b.useContext(mn).static||b.useLayoutEffect(s)}function On(){let{isDataRoute:s}=b.useContext(Mn);return s?K_():z_()}function z_(){et(li(),"useNavigate() may be used only in the context of a <Router> component.");let s=b.useContext(ni),{basename:c,navigator:i}=b.useContext(mn),{matches:o}=b.useContext(Mn),{pathname:d}=pn(),h=JSON.stringify(S2(o)),m=b.useRef(!1);return bp(()=>{m.current=!0}),b.useCallback((g,v={})=>{if(kn(m.current,xp),!m.current)return;if(typeof g=="number"){i.go(g);return}let x=co(g,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 L_=b.createContext(null);function B_(s){let c=b.useContext(Mn).outlet;return b.useMemo(()=>c&&b.createElement(L_.Provider,{value:s},c),[c,s])}function U_(){let{matches:s}=b.useContext(Mn),c=s[s.length-1];return(c==null?void 0:c.params)??{}}function wc(s,{relative:c}={}){let{matches:i}=b.useContext(Mn),{pathname:o}=pn(),d=JSON.stringify(S2(i));return b.useMemo(()=>co(s,JSON.parse(d),o,c==="path"),[s,d,o,c])}function k_(s,c){return jp(s,c)}function jp(s,c,i){var w;et(li(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:o}=b.useContext(mn),{matches:d}=b.useContext(Mn),h=d[d.length-1],m=h?h.params:{},p=h?h.pathname:"/",g=h?h.pathnameBase:"/",v=h&&h.route;{let O=v&&v.path||"";Np(p,!v||O.endsWith("*")||O.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${p}" (under <Route path="${O}">) 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="${O}"> to <Route path="${O==="/"?"*":`${O}/*`}">.`)}let x=pn(),y;if(c){let O=typeof c=="string"?ti(c):c;et(g==="/"||((w=O.pathname)==null?void 0:w.startsWith(g)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${g}" but pathname "${O.pathname}" was given in the \`location\` prop.`),y=O}else y=x;let N=y.pathname||"/",E=N;if(g!=="/"){let O=g.replace(/^\//,"").split("/");E="/"+N.replace(/^\//,"").split("/").slice(O.length).join("/")}let A=up(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 M=V_(A&&A.map(O=>Object.assign({},O,{params:Object.assign({},m,O.params),pathname:Un([g,o.encodeLocation?o.encodeLocation(O.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:O.pathname]),pathnameBase:O.pathnameBase==="/"?g:Un([g,o.encodeLocation?o.encodeLocation(O.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:O.pathnameBase])})),d,i);return c&&M?b.createElement(Nc.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...y},navigationType:"POP"}},M):M}function H_(){let s=Z_(),c=S_(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 q_=b.createElement(H_,null),Sp=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=O_(s.digest);i&&(s=i)}let c=s!==void 0?b.createElement(Mn.Provider,{value:this.props.routeContext},b.createElement(N2.Provider,{value:s,children:this.props.component})):this.props.children;return this.context?b.createElement($_,{error:s},c):c}};Sp.contextType=gp;var U0=new WeakMap;function $_({children:s,error:c}){let{basename:i}=b.useContext(mn);if(typeof c=="object"&&c&&"digest"in c&&typeof c.digest=="string"){let o=M_(c.digest);if(o){let d=U0.get(c);if(d)throw d;let h=pp(o.location,i);if(mp&&!U0.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 U0.set(c,m),m}return b.createElement("meta",{httpEquiv:"refresh",content:`0;url=${h.absoluteURL||h.to}`})}}return s}function G_({routeContext:s,match:c,children:i}){let o=b.useContext(ni);return o&&o.static&&o.staticContext&&(c.route.errorElement||c.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=c.route.id),b.createElement(Mn.Provider,{value:s},i)}function V_(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:N,errors:E}=o,A=y.route.loader&&!N.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 g=i==null?void 0:i.onError,v=o&&g?(x,y)=>{var N,E;g(x,{location:o.location,params:((E=(N=o.matches)==null?void 0:N[0])==null?void 0:E.params)??{},unstable_pattern:N_(o.matches),errorInfo:y})}:void 0;return d.reduceRight((x,y,N)=>{let E,A=!1,M=null,w=null;o&&(E=h&&y.route.id?h[y.route.id]:void 0,M=y.route.errorElement||q_,m&&(p<0&&N===0?(Np("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),A=!0,w=null):p===N&&(A=!0,w=y.route.hydrateFallbackElement||null)));let O=c.concat(d.slice(0,N+1)),F=()=>{let H;return E?H=M:A?H=w:y.route.Component?H=b.createElement(y.route.Component,null):y.route.element?H=y.route.element:H=x,b.createElement(G_,{match:y,routeContext:{outlet:x,matches:O,isDataRoute:o!=null},children:H})};return o&&(y.route.ErrorBoundary||y.route.errorElement||N===0)?b.createElement(Sp,{location:o.location,revalidation:o.revalidation,component:M,error:E,children:F(),routeContext:{outlet:null,matches:O,isDataRoute:!0},onError:v}):F()},null)}function w2(s){return`${s} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function F_(s){let c=b.useContext(ni);return et(c,w2(s)),c}function Q_(s){let c=b.useContext(ro);return et(c,w2(s)),c}function Y_(s){let c=b.useContext(Mn);return et(c,w2(s)),c}function C2(s){let c=Y_(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 X_(){return C2("useRouteId")}function Z_(){var o;let s=b.useContext(N2),c=Q_("useRouteError"),i=C2("useRouteError");return s!==void 0?s:(o=c.errors)==null?void 0:o[i]}function K_(){let{router:s}=F_("useNavigate"),c=C2("useNavigate"),i=b.useRef(!1);return bp(()=>{i.current=!0}),b.useCallback(async(d,h={})=>{kn(i.current,xp),i.current&&(typeof d=="number"?await s.navigate(d):await s.navigate(d,{fromRouteId:c,...h}))},[s,c])}var lm={};function Np(s,c,i){!c&&!lm[s]&&(lm[s]=!0,kn(!1,i))}b.memo(I_);function I_({routes:s,future:c,state:i,isStatic:o,onError:d}){return jp(s,void 0,{state:i,isStatic:o,onError:d})}function vc({to:s,replace:c,state:i,relative:o}){et(li(),"<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(Mn),{pathname:m}=pn(),p=On(),g=co(s,S2(h),m,o==="path"),v=JSON.stringify(g);return b.useEffect(()=>{p(JSON.parse(v),{replace:c,state:i,relative:o})},[p,v,o,c,i]),null}function wp(s){return B_(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 P_({basename:s="/",children:c=null,location:i,navigationType:o="POP",navigator:d,static:h=!1,unstable_useTransitions:m}){et(!li(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let p=s.replace(/^\/*/,"/"),g=b.useMemo(()=>({basename:p,navigator:d,static:h,unstable_useTransitions:m,future:{}}),[p,d,h,m]);typeof i=="string"&&(i=ti(i));let{pathname:v="/",search:x="",hash:y="",state:N=null,key:E="default",unstable_mask:A}=i,M=b.useMemo(()=>{let w=Tl(v,p);return w==null?null:{location:{pathname:w,search:x,hash:y,state:N,key:E,unstable_mask:A},navigationType:o}},[p,v,x,y,N,E,o,A]);return kn(M!=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.`),M==null?null:b.createElement(mn.Provider,{value:g},b.createElement(Nc.Provider,{children:c,value:M}))}function W_({children:s,location:c}){return k_(W0(s),c)}function W0(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,W0(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=W0(o.props.children,h)),i.push(m)}),i}var Pr="get",Wr="application/x-www-form-urlencoded";function oo(s){return typeof HTMLElement<"u"&&s instanceof HTMLElement}function J_(s){return oo(s)&&s.tagName.toLowerCase()==="button"}function e4(s){return oo(s)&&s.tagName.toLowerCase()==="form"}function t4(s){return oo(s)&&s.tagName.toLowerCase()==="input"}function n4(s){return!!(s.metaKey||s.altKey||s.ctrlKey||s.shiftKey)}function l4(s,c){return s.button===0&&(!c||c==="_self")&&!n4(s)}var Yr=null;function a4(){if(Yr===null)try{new FormData(document.createElement("form"),0),Yr=!1}catch{Yr=!0}return Yr}var s4=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function k0(s){return s!=null&&!s4.has(s)?(kn(!1,`"${s}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Wr}"`),null):s}function i4(s,c){let i,o,d,h,m;if(e4(s)){let p=s.getAttribute("action");o=p?Tl(p,c):null,i=s.getAttribute("method")||Pr,d=k0(s.getAttribute("enctype"))||Wr,h=new FormData(s)}else if(J_(s)||t4(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 g=s.getAttribute("formaction")||p.getAttribute("action");if(o=g?Tl(g,c):null,i=s.getAttribute("formmethod")||p.getAttribute("method")||Pr,d=k0(s.getAttribute("formenctype"))||k0(p.getAttribute("enctype"))||Wr,h=new FormData(p,s),!a4()){let{name:v,type:x,value:y}=s;if(x==="image"){let N=v?`${v}.`:"";h.append(`${N}x`,"0"),h.append(`${N}y`,"0")}else v&&h.append(v,y)}}else{if(oo(s))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');i=Pr,o=null,d=Wr,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 T2(s,c){if(s===!1||s===null||typeof s>"u")throw new Error(c)}function Cp(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=`${to(c)}/_root.${o}`:d.pathname=`${to(d.pathname)}.${o}`,d}async function c4(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 r4(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 o4(s,c,i){let o=await Promise.all(s.map(async d=>{let h=c.routes[d.route.id];if(h){let m=await c4(h,i);return m.links?m.links():[]}return[]}));return h4(o.flat(1).filter(r4).filter(d=>d.rel==="stylesheet"||d.rel==="preload").map(d=>d.rel==="stylesheet"?{...d,rel:"prefetch",as:"style"}:{...d,rel:"prefetch"}))}function am(s,c,i,o,d,h){let m=(g,v)=>i[v]?g.route.id!==i[v].route.id:!0,p=(g,v)=>{var x;return i[v].pathname!==g.pathname||((x=i[v].route.path)==null?void 0:x.endsWith("*"))&&i[v].params["*"]!==g.params["*"]};return h==="assets"?c.filter((g,v)=>m(g,v)||p(g,v)):h==="data"?c.filter((g,v)=>{var y;let x=o.routes[g.route.id];if(!x||!x.hasLoader)return!1;if(m(g,v)||p(g,v))return!0;if(g.route.shouldRevalidate){let N=g.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:g.params,defaultShouldRevalidate:!0});if(typeof N=="boolean")return N}return!0}):[]}function u4(s,c,{includeHydrateFallback:i}={}){return d4(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 d4(s){return[...new Set(s)]}function f4(s){let c={},i=Object.keys(s).sort();for(let o of i)c[o]=s[o];return c}function h4(s,c){let i=new Set;return new Set(c),s.reduce((o,d)=>{let h=JSON.stringify(f4(d));return i.has(h)||(i.add(h),o.push({key:h,link:d})),o},[])}function E2(){let s=b.useContext(ni);return T2(s,"You must render this element inside a <DataRouterContext.Provider> element"),s}function m4(){let s=b.useContext(ro);return T2(s,"You must render this element inside a <DataRouterStateContext.Provider> element"),s}var R2=b.createContext(void 0);R2.displayName="FrameworkContext";function A2(){let s=b.useContext(R2);return T2(s,"You must render this element inside a <HydratedRouter> element"),s}function p4(s,c){let i=b.useContext(R2),[o,d]=b.useState(!1),[h,m]=b.useState(!1),{onFocus:p,onBlur:g,onMouseEnter:v,onMouseLeave:x,onTouchStart:y}=c,N=b.useRef(null);b.useEffect(()=>{if(s==="render"&&m(!0),s==="viewport"){let M=O=>{O.forEach(F=>{m(F.isIntersecting)})},w=new IntersectionObserver(M,{threshold:.5});return N.current&&w.observe(N.current),()=>{w.disconnect()}}},[s]),b.useEffect(()=>{if(o){let M=setTimeout(()=>{m(!0)},100);return()=>{clearTimeout(M)}}},[o]);let E=()=>{d(!0)},A=()=>{d(!1),m(!1)};return i?s!=="intent"?[h,N,{}]:[h,N,{onFocus:ic(p,E),onBlur:ic(g,A),onMouseEnter:ic(v,E),onMouseLeave:ic(x,A),onTouchStart:ic(y,E)}]:[!1,N,{}]}function ic(s,c){return i=>{s&&s(i),i.defaultPrevented||c(i)}}function v4({page:s,...c}){let i=C_(),{router:o}=E2(),d=b.useMemo(()=>up(o.routes,s,o.basename),[o.routes,s,o.basename]);return d?i?b.createElement(_4,{page:s,matches:d,...c}):b.createElement(y4,{page:s,matches:d,...c}):null}function g4(s){let{manifest:c,routeModules:i}=A2(),[o,d]=b.useState([]);return b.useEffect(()=>{let h=!1;return o4(s,c,i).then(m=>{h||d(m)}),()=>{h=!0}},[s,c,i]),o}function _4({page:s,matches:c,...i}){let o=pn(),{future:d}=A2(),{basename:h}=E2(),m=b.useMemo(()=>{if(s===o.pathname+o.search+o.hash)return[];let p=Cp(s,h,d.unstable_trailingSlashAwareDataRequests,"rsc"),g=!1,v=[];for(let x of c)typeof x.route.shouldRevalidate=="function"?g=!0:v.push(x.route.id);return g&&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 y4({page:s,matches:c,...i}){let o=pn(),{future:d,manifest:h,routeModules:m}=A2(),{basename:p}=E2(),{loaderData:g,matches:v}=m4(),x=b.useMemo(()=>am(s,c,v,h,o,"data"),[s,c,v,h,o]),y=b.useMemo(()=>am(s,c,v,h,o,"assets"),[s,c,v,h,o]),N=b.useMemo(()=>{if(s===o.pathname+o.search+o.hash)return[];let M=new Set,w=!1;if(c.forEach(F=>{var V;let H=h.routes[F.route.id];!H||!H.hasLoader||(!x.some(Z=>Z.route.id===F.route.id)&&F.route.id in g&&((V=m[F.route.id])!=null&&V.shouldRevalidate)||H.hasClientLoader?w=!0:M.add(F.route.id))}),M.size===0)return[];let O=Cp(s,p,d.unstable_trailingSlashAwareDataRequests,"data");return w&&M.size>0&&O.searchParams.set("_routes",c.filter(F=>M.has(F.route.id)).map(F=>F.route.id).join(",")),[O.pathname+O.search]},[p,d.unstable_trailingSlashAwareDataRequests,g,o,h,x,c,s,m]),E=b.useMemo(()=>u4(y,h),[y,h]),A=g4(y);return b.createElement(b.Fragment,null,N.map(M=>b.createElement("link",{key:M,rel:"prefetch",as:"fetch",href:M,...i})),E.map(M=>b.createElement("link",{key:M,rel:"modulepreload",href:M,...i})),A.map(({key:M,link:w})=>b.createElement("link",{key:M,nonce:i.nonce,...w,crossOrigin:w.crossOrigin??i.crossOrigin})))}function x4(...s){return c=>{s.forEach(i=>{typeof i=="function"?i(c):i!=null&&(i.current=c)})}}var b4=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{b4&&(window.__reactRouterVersion="7.14.2")}catch{}function j4({basename:s,children:c,unstable_useTransitions:i,window:o}){let d=b.useRef();d.current==null&&(d.current=Jg({window:o,v5Compat:!0}));let h=d.current,[m,p]=b.useState({action:h.action,location:h.location}),g=b.useCallback(v=>{i===!1?p(v):b.startTransition(()=>p(v))},[i]);return b.useLayoutEffect(()=>h.listen(g),[h,g]),b.createElement(P_,{basename:s,children:c,location:m.location,navigationType:m.action,navigator:h,unstable_useTransitions:i})}var Tp=/^(?:[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:g,target:v,to:x,preventScrollReset:y,viewTransition:N,unstable_defaultShouldRevalidate:E,...A},M){let{basename:w,navigator:O,unstable_useTransitions:F}=b.useContext(mn),H=typeof x=="string"&&Tp.test(x),V=pp(x,w);x=V.to;let Z=D_(x,{relative:d}),ne=pn(),P=null;if(p){let Le=co(p,[],ne.unstable_mask?ne.unstable_mask.pathname:"/",!0);w!=="/"&&(Le.pathname=Le.pathname==="/"?w:Un([w,Le.pathname])),P=O.createHref(Le)}let[J,se,me]=p4(o,A),ve=w4(x,{replace:m,unstable_mask:p,state:g,target:v,preventScrollReset:y,relative:d,viewTransition:N,unstable_defaultShouldRevalidate:E,unstable_useTransitions:F});function ze(Le){c&&c(Le),Le.defaultPrevented||ve(Le)}let ue=!(V.isExternal||h),Ce=b.createElement("a",{...A,...me,href:(ue?P:void 0)||V.absoluteURL||Z,onClick:ue?ze:c,ref:x4(M,se),target:v,"data-discover":!H&&i==="render"?"true":void 0});return J&&!H?b.createElement(b.Fragment,null,Ce,b.createElement(v4,{page:Z})):Ce});Ht.displayName="Link";var Ep=b.forwardRef(function({"aria-current":c="page",caseSensitive:i=!1,className:o="",end:d=!1,style:h,to:m,viewTransition:p,children:g,...v},x){let y=wc(m,{relative:v.relative}),N=pn(),E=b.useContext(ro),{navigator:A,basename:M}=b.useContext(mn),w=E!=null&&A4(y)&&p===!0,O=A.encodeLocation?A.encodeLocation(y).pathname:y.pathname,F=N.pathname,H=E&&E.navigation&&E.navigation.location?E.navigation.location.pathname:null;i||(F=F.toLowerCase(),H=H?H.toLowerCase():null,O=O.toLowerCase()),H&&M&&(H=Tl(H,M)||H);const V=O!=="/"&&O.endsWith("/")?O.length-1:O.length;let Z=F===O||!d&&F.startsWith(O)&&F.charAt(V)==="/",ne=H!=null&&(H===O||!d&&H.startsWith(O)&&H.charAt(O.length)==="/"),P={isActive:Z,isPending:ne,isTransitioning:w},J=Z?c:void 0,se;typeof o=="function"?se=o(P):se=[o,Z?"active":null,ne?"pending":null,w?"transitioning":null].filter(Boolean).join(" ");let me=typeof h=="function"?h(P):h;return b.createElement(Ht,{...v,"aria-current":J,className:se,ref:x,style:me,to:m,viewTransition:p},typeof g=="function"?g(P):g)});Ep.displayName="NavLink";var S4=b.forwardRef(({discover:s="render",fetcherKey:c,navigate:i,reloadDocument:o,replace:d,state:h,method:m=Pr,action:p,onSubmit:g,relative:v,preventScrollReset:x,viewTransition:y,unstable_defaultShouldRevalidate:N,...E},A)=>{let{unstable_useTransitions:M}=b.useContext(mn),w=E4(),O=R4(p,{relative:v}),F=m.toLowerCase()==="get"?"get":"post",H=typeof p=="string"&&Tp.test(p),V=Z=>{if(g&&g(Z),Z.defaultPrevented)return;Z.preventDefault();let ne=Z.nativeEvent.submitter,P=(ne==null?void 0:ne.getAttribute("formmethod"))||m,J=()=>w(ne||Z.currentTarget,{fetcherKey:c,method:P,navigate:i,replace:d,state:h,relative:v,preventScrollReset:x,viewTransition:y,unstable_defaultShouldRevalidate:N});M&&i!==!1?b.startTransition(()=>J()):J()};return b.createElement("form",{ref:A,method:F,action:O,onSubmit:o?g:V,...E,"data-discover":!H&&s==="render"?"true":void 0})});S4.displayName="Form";function N4(s){return`${s} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Rp(s){let c=b.useContext(ni);return et(c,N4(s)),c}function w4(s,{target:c,replace:i,unstable_mask:o,state:d,preventScrollReset:h,relative:m,viewTransition:p,unstable_defaultShouldRevalidate:g,unstable_useTransitions:v}={}){let x=On(),y=pn(),N=wc(s,{relative:m});return b.useCallback(E=>{if(l4(E,c)){E.preventDefault();let A=i!==void 0?i:pc(y)===pc(N),M=()=>x(s,{replace:A,unstable_mask:o,state:d,preventScrollReset:h,relative:m,viewTransition:p,unstable_defaultShouldRevalidate:g});v?b.startTransition(()=>M()):M()}},[y,x,N,i,o,d,c,s,h,m,p,g,v])}var C4=0,T4=()=>`__${String(++C4)}__`;function E4(){let{router:s}=Rp("useSubmit"),{basename:c}=b.useContext(mn),i=X_(),o=s.fetch,d=s.navigate;return b.useCallback(async(h,m={})=>{let{action:p,method:g,encType:v,formData:x,body:y}=i4(h,c);if(m.navigate===!1){let N=m.fetcherKey||T4();await o(N,i,m.action||p,{unstable_defaultShouldRevalidate:m.unstable_defaultShouldRevalidate,preventScrollReset:m.preventScrollReset,formData:x,body:y,formMethod:m.method||g,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||g,formEncType:m.encType||v,replace:m.replace,state:m.state,fromRouteId:i,flushSync:m.flushSync,viewTransition:m.viewTransition})},[o,d,c,i])}function R4(s,{relative:c}={}){let{basename:i}=b.useContext(mn),o=b.useContext(Mn);et(o,"useFormAction must be used inside a RouteContext");let[d]=o.matches.slice(-1),h={...wc(s||".",{relative:c})},m=pn();if(s==null){h.search=m.search;let p=new URLSearchParams(h.search),g=p.getAll("index");if(g.some(x=>x==="")){p.delete("index"),g.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])),pc(h)}function A4(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}=Rp("useViewTransitionState"),d=wc(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 eo(d.pathname,m)!=null||eo(d.pathname,h)!=null}const M4="_btn_8fkbu_1",O4="_primary_8fkbu_17",D4="_danger_8fkbu_27",z4="_ghost_8fkbu_37",L4="_outline_8fkbu_47",sm={btn:M4,primary:O4,danger:D4,ghost:z4,outline:L4};function Rn({variant:s,children:c,onClick:i,type:o="button",disabled:d}){return l.jsx("button",{type:o,className:`${sm.btn} ${sm[s]}`,onClick:i,disabled:d,children:c})}const B4="_field_zffpb_1",U4="_label_zffpb_7",k4="_wrap_zffpb_14",H4="_input_zffpb_18",q4="_readonly_zffpb_37",$4="_copied_zffpb_44",G4="_iconCheck_zffpb_59",V4="_iconLock_zffpb_68",F4="_withToggle_zffpb_76",Q4="_togglePw_zffpb_80",Qn={field:B4,label:U4,wrap:k4,input:H4,readonly:q4,copied:$4,iconCheck:G4,iconLock:V4,withToggle:F4,togglePw:Q4};function jt({label:s,value:c,placeholder:i,type:o="text",onChange:d,onBlur:h,readOnly:m,required:p,icon:g}){const[v,x]=b.useState(!1),[y,N]=b.useState(!1),E=o==="password",A=E?y?"text":"password":o,M=()=>{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:M,children:[l.jsx("input",{className:`${Qn.input} ${E?Qn.withToggle:""} ${m?Qn.readonly:""} ${v?Qn.copied:""}`,type:A,...d?{value:c,onChange:w=>d(w.target.value)}:{defaultValue:c},placeholder:i,readOnly:m,required:p,onBlur:h}),E&&l.jsx("button",{type:"button",className:Qn.togglePw,onClick:w=>{w.stopPropagation(),N(O=>!O)},"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"})]})}),g==="check"&&l.jsx("span",{className:Qn.iconCheck,children:"✓"}),g==="lock"&&l.jsx("span",{className:Qn.iconLock,children:"🔒"})]})]})}const Y4="_notification_m7zar_1",X4="_slideIn_m7zar_1",Z4="_notificationWrapper_m7zar_19",K4="_closing_m7zar_24",I4="_slideOut_m7zar_1",P4="_icon_m7zar_52",W4="_success_m7zar_65",J4="_error_m7zar_70",ey="_info_m7zar_75",ty="_warning_m7zar_80",ny="_message_m7zar_85",ly="_close_m7zar_93",Oa={notification:Y4,slideIn:X4,notificationWrapper:Z4,closing:K4,slideOut:I4,icon:P4,success:W4,error:J4,info:ey,warning:ty,message:ny,close:ly},ay={success:"✓",error:"✕",info:"i",warning:"!"};function M2({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:`${Oa.notification} ${Oa[c]} ${o?Oa.closing:""}`,onAnimationEnd:m,children:[l.jsxs("div",{className:Oa.notificationWrapper,children:[l.jsx("span",{className:Oa.icon,children:ay[c]}),l.jsx("p",{className:Oa.message,children:s})]}),l.jsx("button",{className:Oa.close,onClick:h,children:"✕"})]})}const sy="_pill_3oadq_1",iy={pill:sy};function cy({children:s}){return l.jsx("span",{className:iy.pill,children:s})}const ry="_btn_ytb12_1",oy={btn:ry};function Za({label:s="Подтвердить своп",onClick:c,type:i="submit",disabled:o}){return l.jsx("button",{type:i,className:oy.btn,onClick:c,disabled:o,children:s})}const uy="_icon_73irc_1",dy={icon:uy};function im({letter:s,color:c,logo:i,size:o=40}){return l.jsx("div",{className:dy.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 fy="_section_11f1k_1",hy="_wrap_11f1k_7",my="_descBlock_11f1k_16",py="_descText_11f1k_22",vy="_right_11f1k_33",gy="_glow_11f1k_37",_y="_row_11f1k_49",yy="_check_11f1k_87",xy="_text_11f1k_101",Yn={section:fy,wrap:hy,descBlock:my,descText:py,right:vy,glow:gy,row:_y,check:yy,text:xy},by="_title_1tyfs_1",jy={title:by};function Ap({children:s}){return l.jsx("h2",{className:jy.title,children:s})}const cm=["Вся деятельность компании соответствует законодательству Российской Федерации и требованиям регуляторов","Вся документация компании открыта и доступна для ознакомления","Операции защищены шифрованием уровня ERC-20 и проходят верификацию в блокчейне"];function Sy(){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(cy,{children:"О КОМПАНИИ"}),l.jsx(Ap,{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}),cm.map((i,o)=>l.jsxs("div",{className:Yn.row,"data-hovered":s===o||void 0,"data-last":o===cm.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 Ny=new Date("2026-05-21T00:00:00").getTime(),Mp=80,Op=21,Hs=5e3,wl=[{min:5e3,max:3e4,pct:8},{min:30001,max:1e5,pct:6},{min:100001,max:6e5,pct:4}],H0=wl[0].min,J0=wl[wl.length-1].max;function wy(s){const c=wl.find(i=>s>=i.min&&s<=i.max);return c||(s>J0?{pct:wl[wl.length-1].pct}:{pct:wl[0].pct})}function O2(s){return s<=H0?0:s>=J0?100:(s-H0)/(J0-H0)*100}function Dp({usdtRate:s}){const[c,i]=b.useState("buy"),[o,d]=b.useState("1000"),[h,m]=b.useState(!1),p=Number.parseFloat(o)||0,g=b.useMemo(()=>{const y=wy(p),N=p*y.pct/100,A=s*(1+(c==="buy"?1:-1)*y.pct/100),M=p>0?(p/A).toFixed(2):"0.00";return{tierPct:y.pct,commission:N,effectiveRate:A,usdtVal:M,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,...g}}var ai=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,qs,Jm,Cy=(Jm=class extends ai{constructor(){super();ie(this,Ha);ie(this,na);ie(this,qs);I(this,qs,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,qs))}onUnsubscribe(){var c;this.hasListeners()||((c=S(this,na))==null||c.call(this),I(this,na,void 0))}setEventListener(c){var i;I(this,qs,c),(i=S(this,na))==null||i.call(this),I(this,na,c(o=>{typeof o=="boolean"?this.setFocused(o):this.onFocus()}))}setFocused(c){S(this,Ha)!==c&&(I(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,qs=new WeakMap,Jm),D2=new Cy,Ty={setTimeout:(s,c)=>setTimeout(s,c),clearTimeout:s=>clearTimeout(s),setInterval:(s,c)=>setInterval(s,c),clearInterval:s=>clearInterval(s)},la,b2,ep,Ey=(ep=class{constructor(){ie(this,la,Ty);ie(this,b2,!1)}setTimeoutProvider(s){I(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,b2=new WeakMap,ep),ka=new Ey;function Ry(s){setTimeout(s,0)}var Ay=typeof window>"u"||"Deno"in globalThis;function kt(){}function My(s,c){return typeof s=="function"?s(c):s}function e2(s){return typeof s=="number"&&s>=0&&s!==1/0}function zp(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 rm(s,c){const{type:i="all",exact:o,fetchStatus:d,predicate:h,queryKey:m,stale:p}=s;if(m){if(o){if(c.queryHash!==z2(m,c.options))return!1}else if(!gc(c.queryKey,m))return!1}if(i!=="all"){const g=c.isActive();if(i==="active"&&!g||i==="inactive"&&g)return!1}return!(typeof p=="boolean"&&c.isStale()!==p||d&&d!==c.state.fetchStatus||h&&!h(c))}function om(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(!gc(c.options.mutationKey,h))return!1}return!(o&&c.state.status!==o||d&&!d(c))}function z2(s,c){return((c==null?void 0:c.queryKeyHashFn)||Ka)(s)}function Ka(s){return JSON.stringify(s,(c,i)=>t2(i)?Object.keys(i).sort().reduce((o,d)=>(o[d]=i[d],o),{}):i)}function gc(s,c){return s===c?!0:typeof s!=typeof c?!1:s&&c&&typeof s=="object"&&typeof c=="object"?Object.keys(c).every(i=>gc(s[i],c[i])):!1}var Oy=Object.prototype.hasOwnProperty;function Lp(s,c,i=0){if(s===c)return s;if(i>500)return c;const o=um(s)&&um(c);if(!o&&!(t2(s)&&t2(c)))return c;const h=(o?s:Object.keys(s)).length,m=o?c:Object.keys(c),p=m.length,g=o?new Array(p):{};let v=0;for(let x=0;x<p;x++){const y=o?x:m[x],N=s[y],E=c[y];if(N===E){g[y]=N,(o?x<h:Oy.call(s,y))&&v++;continue}if(N===null||E===null||typeof N!="object"||typeof E!="object"){g[y]=E;continue}const A=Lp(N,E,i+1);g[y]=A,A===N&&v++}return h===p&&v===h?s:g}function no(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 um(s){return Array.isArray(s)&&s.length===Object.keys(s).length}function t2(s){if(!dm(s))return!1;const c=s.constructor;if(c===void 0)return!0;const i=c.prototype;return!(!dm(i)||!i.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(s)!==Object.prototype)}function dm(s){return Object.prototype.toString.call(s)==="[object Object]"}function Dy(s){return new Promise(c=>{ka.setTimeout(c,s)})}function n2(s,c,i){return typeof i.structuralSharing=="function"?i.structuralSharing(s,c):i.structuralSharing!==!1?Lp(s,c):c}function zy(s,c,i=0){const o=[...s,c];return i&&o.length>i?o.slice(1):o}function Ly(s,c,i=0){const o=[c,...s];return i&&o.length>i?o.slice(0,-1):o}var L2=Symbol();function Bp(s,c){return!s.queryFn&&(c!=null&&c.initialPromise)?()=>c.initialPromise:!s.queryFn||s.queryFn===L2?()=>Promise.reject(new Error(`Missing queryFn: '${s.queryHash}'`)):s.queryFn}function B2(s,c){return typeof s=="function"?s(...c):!!s}function By(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=()=>Ay;return{isServer(){return s()},setIsServer(c){s=c}}})();function l2(){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 Uy=Ry;function ky(){let s=[],c=0,i=p=>{p()},o=p=>{p()},d=Uy;const h=p=>{c?s.push(p):d(()=>{i(p)})},m=()=>{const p=s;s=[],p.length&&d(()=>{o(()=>{p.forEach(g=>{i(g)})})})};return{batch:p=>{let g;c++;try{g=p()}finally{c--,c||m()}return g},batchCalls:p=>(...g)=>{h(()=>{p(...g)})},schedule:h,setNotifyFunction:p=>{i=p},setBatchNotifyFunction:p=>{o=p},setScheduler:p=>{d=p}}}var vt=ky(),$s,aa,Gs,tp,Hy=(tp=class extends ai{constructor(){super();ie(this,$s,!0);ie(this,aa);ie(this,Gs);I(this,Gs,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,Gs))}onUnsubscribe(){var c;this.hasListeners()||((c=S(this,aa))==null||c.call(this),I(this,aa,void 0))}setEventListener(c){var i;I(this,Gs,c),(i=S(this,aa))==null||i.call(this),I(this,aa,c(this.setOnline.bind(this)))}setOnline(c){S(this,$s)!==c&&(I(this,$s,c),this.listeners.forEach(o=>{o(c)}))}isOnline(){return S(this,$s)}},$s=new WeakMap,aa=new WeakMap,Gs=new WeakMap,tp),lo=new Hy;function qy(s){return Math.min(1e3*2**s,3e4)}function Up(s){return(s??"online")==="online"?lo.isOnline():!0}var a2=class extends Error{constructor(s){super("CancelledError"),this.revert=s==null?void 0:s.revert,this.silent=s==null?void 0:s.silent}};function kp(s){let c=!1,i=0,o;const d=l2(),h=()=>d.status!=="pending",m=M=>{var w;if(!h()){const O=new a2(M);N(O),(w=s.onCancel)==null||w.call(s,O)}},p=()=>{c=!0},g=()=>{c=!1},v=()=>D2.isFocused()&&(s.networkMode==="always"||lo.isOnline())&&s.canRun(),x=()=>Up(s.networkMode)&&s.canRun(),y=M=>{h()||(o==null||o(),d.resolve(M))},N=M=>{h()||(o==null||o(),d.reject(M))},E=()=>new Promise(M=>{var w;o=O=>{(h()||v())&&M(O)},(w=s.onPause)==null||w.call(s)}).then(()=>{var M;o=void 0,h()||(M=s.onContinue)==null||M.call(s)}),A=()=>{if(h())return;let M;const w=i===0?s.initialPromise:void 0;try{M=w??s.fn()}catch(O){M=Promise.reject(O)}Promise.resolve(M).then(y).catch(O=>{var ne;if(h())return;const F=s.retry??(_c.isServer()?0:3),H=s.retryDelay??qy,V=typeof H=="function"?H(i,O):H,Z=F===!0||typeof F=="number"&&i<F||typeof F=="function"&&F(i,O);if(c||!Z){N(O);return}i++,(ne=s.onFail)==null||ne.call(s,i,O),Dy(V).then(()=>v()?void 0:E()).then(()=>{c?N(O):A()})})};return{promise:d,status:()=>d.status,cancel:m,continue:()=>(o==null||o(),d),cancelRetry:p,continueRetry:g,canStart:x,start:()=>(x()?A():E().then(A),d)}}var qa,np,Hp=(np=class{constructor(){ie(this,qa)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),e2(this.gcTime)&&I(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)),I(this,qa,void 0))}},qa=new WeakMap,np);function $y(s){return{onFetch:(c,i)=>{var x,y,N,E,A;const o=c.options,d=(N=(y=(x=c.fetchOptions)==null?void 0:x.meta)==null?void 0:y.fetchMore)==null?void 0:N.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:[]},g=0;const v=async()=>{let M=!1;const w=H=>{By(H,()=>c.signal,()=>M=!0)},O=Bp(c.options,c.fetchOptions),F=async(H,V,Z)=>{if(M)return Promise.reject(c.signal.reason);if(V==null&&H.pages.length)return Promise.resolve(H);const P=(()=>{const ve={client:c.client,queryKey:c.queryKey,pageParam:V,direction:Z?"backward":"forward",meta:c.options.meta};return w(ve),ve})(),J=await O(P),{maxPages:se}=c.options,me=Z?Ly:zy;return{pages:me(H.pages,J,se),pageParams:me(H.pageParams,V,se)}};if(d&&h.length){const H=d==="backward",V=H?qp:s2,Z={pages:h,pageParams:m},ne=V(o,Z);p=await F(Z,ne,H)}else{const H=s??h.length;do{const V=g===0?m[0]??o.initialPageParam:s2(o,p);if(g>0&&V==null)break;p=await F(p,V),g++}while(g<H)}return p};c.options.persister?c.fetchFn=()=>{var M,w;return(w=(M=c.options).persister)==null?void 0:w.call(M,v,{client:c.client,queryKey:c.queryKey,meta:c.options.meta,signal:c.signal},i)}:c.fetchFn=v}}}function s2(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 qp(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 Gy(s,c){return c?s2(s,c)!=null:!1}function Vy(s,c){return!c||!s.getPreviousPageParam?!1:qp(s,c)!=null}var Vs,$a,Fs,En,Ga,xt,yc,Va,fn,$p,xl,lp,Fy=(lp=class extends Hp{constructor(c){super();ie(this,fn);ie(this,Vs);ie(this,$a);ie(this,Fs);ie(this,En);ie(this,Ga);ie(this,xt);ie(this,yc);ie(this,Va);I(this,Va,!1),I(this,yc,c.defaultOptions),this.setOptions(c.options),this.observers=[],I(this,Ga,c.client),I(this,En,S(this,Ga).getQueryCache()),this.queryKey=c.queryKey,this.queryHash=c.queryHash,I(this,$a,hm(this.options)),this.state=c.state??S(this,$a),this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return S(this,Vs)}get promise(){var c;return(c=S(this,xt))==null?void 0:c.promise}setOptions(c){if(this.options={...S(this,yc),...c},c!=null&&c._type&&I(this,Vs,c._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const i=hm(this.options);i.data!==void 0&&(this.setState(fm(i.data,i.dataUpdatedAt)),I(this,$a,i))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&S(this,En).remove(this)}setData(c,i){const o=n2(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===L2||!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:!zp(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,$p).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,N,E,A,M,w,O,F,H;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(Z=>Z.options.queryFn);V&&this.setOptions(V.options)}const o=new AbortController,d=V=>{Object.defineProperty(V,"signal",{enumerable:!0,get:()=>(I(this,Va,!0),o.signal)})},h=()=>{const V=Bp(this.options,i),ne=(()=>{const P={client:S(this,Ga),queryKey:this.queryKey,meta:this.meta};return d(P),P})();return I(this,Va,!1),this.options.persister?this.options.persister(V,ne,this):V(ne)},p=(()=>{const V={fetchOptions:i,options:this.options,queryKey:this.queryKey,client:S(this,Ga),state:this.state,fetchFn:h};return d(V),V})(),g=S(this,Vs)==="infinite"?$y(this.options.pages):this.options.behavior;g==null||g.onFetch(p,this),I(this,Fs,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}),I(this,xt,kp({initialPromise:i==null?void 0:i.initialPromise,fn:p.fetchFn,onCancel:V=>{V instanceof a2&&V.revert&&this.setState({...S(this,Fs),fetchStatus:"idle"}),o.abort()},onFail:(V,Z)=>{je(this,fn,xl).call(this,{type:"failed",failureCount:V,error:Z})},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=(N=S(this,En).config).onSuccess)==null||E.call(N,V,this),(M=(A=S(this,En).config).onSettled)==null||M.call(A,V,this.state.error,this),V}catch(V){if(V instanceof a2){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}),(O=(w=S(this,En).config).onError)==null||O.call(w,V,this),(H=(F=S(this,En).config).onSettled)==null||H.call(F,this.state.data,V,this),V}finally{this.scheduleGc()}}},Vs=new WeakMap,$a=new WeakMap,Fs=new WeakMap,En=new WeakMap,Ga=new WeakMap,xt=new WeakMap,yc=new WeakMap,Va=new WeakMap,fn=new WeakSet,$p=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,...Gp(o.data,this.options),fetchMeta:c.meta??null};case"success":const d={...o,...fm(c.data,c.dataUpdatedAt),dataUpdateCount:o.dataUpdateCount+1,...!c.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return I(this,Fs,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})})},lp);function Gp(s,c){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Up(c.networkMode)?"fetching":"paused",...s===void 0&&{error:null,status:"pending"}}}function fm(s,c){return{data:s,dataUpdatedAt:c??Date.now(),error:null,isInvalidated:!1,status:"success"}}function hm(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,De,xc,Ut,Fa,Qs,bl,sa,bc,Ys,Xs,Qa,Ya,ia,Zs,$e,hc,i2,c2,r2,o2,u2,d2,f2,Fp,ap,Vp=(ap=class extends ai{constructor(c,i){super();ie(this,$e);ie(this,It);ie(this,De);ie(this,xc);ie(this,Ut);ie(this,Fa);ie(this,Qs);ie(this,bl);ie(this,sa);ie(this,bc);ie(this,Ys);ie(this,Xs);ie(this,Qa);ie(this,Ya);ie(this,ia);ie(this,Zs,new Set);this.options=i,I(this,It,c),I(this,sa,null),I(this,bl,l2()),this.bindMethods(),this.setOptions(i)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(S(this,De).addObserver(this),mm(S(this,De),this.options)?je(this,$e,hc).call(this):this.updateResult(),je(this,$e,o2).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return h2(S(this,De),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return h2(S(this,De),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,je(this,$e,u2).call(this),je(this,$e,d2).call(this),S(this,De).removeObserver(this)}setOptions(c){const i=this.options,o=S(this,De);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,De))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");je(this,$e,f2).call(this),S(this,De).setOptions(this.options),i._defaulted&&!no(this.options,i)&&S(this,It).getQueryCache().notify({type:"observerOptionsUpdated",query:S(this,De),observer:this});const d=this.hasListeners();d&&pm(S(this,De),o,this.options,i)&&je(this,$e,hc).call(this),this.updateResult(),d&&(S(this,De)!==o||hn(this.options.enabled,S(this,De))!==hn(i.enabled,S(this,De))||da(this.options.staleTime,S(this,De))!==da(i.staleTime,S(this,De)))&&je(this,$e,i2).call(this);const h=je(this,$e,c2).call(this);d&&(S(this,De)!==o||hn(this.options.enabled,S(this,De))!==hn(i.enabled,S(this,De))||h!==S(this,ia))&&je(this,$e,r2).call(this,h)}getOptimisticResult(c){const i=S(this,It).getQueryCache().build(S(this,It),c),o=this.createResult(i,c);return Yy(this,o)&&(I(this,Ut,o),I(this,Qs,this.options),I(this,Fa,S(this,De).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,Zs).add(c)}getCurrentQuery(){return S(this,De)}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,$e,hc).call(this,{...c,cancelRefetch:c.cancelRefetch??!0}).then(()=>(this.updateResult(),S(this,Ut)))}createResult(c,i){var se;const o=S(this,De),d=this.options,h=S(this,Ut),m=S(this,Fa),p=S(this,Qs),v=c!==o?c.state:S(this,xc),{state:x}=c;let y={...x},N=!1,E;if(i._optimisticResults){const me=this.hasListeners(),ve=!me&&mm(c,i),ze=me&&pm(c,o,i,d);(ve||ze)&&(y={...y,...Gp(x.data,c.options)}),i._optimisticResults==="isRestoring"&&(y.fetchStatus="idle")}let{error:A,errorUpdatedAt:M,status:w}=y;E=y.data;let O=!1;if(i.placeholderData!==void 0&&E===void 0&&w==="pending"){let me;h!=null&&h.isPlaceholderData&&i.placeholderData===(p==null?void 0:p.placeholderData)?(me=h.data,O=!0):me=typeof i.placeholderData=="function"?i.placeholderData((se=S(this,Xs))==null?void 0:se.state.data,S(this,Xs)):i.placeholderData,me!==void 0&&(w="success",E=n2(h==null?void 0:h.data,me,i),N=!0)}if(i.select&&E!==void 0&&!O)if(h&&E===(m==null?void 0:m.data)&&i.select===S(this,bc))E=S(this,Ys);else try{I(this,bc,i.select),E=i.select(E),E=n2(h==null?void 0:h.data,E,i),I(this,Ys,E),I(this,sa,null)}catch(me){I(this,sa,me)}S(this,sa)&&(A=S(this,sa),E=S(this,Ys),M=Date.now(),w="error");const F=y.fetchStatus==="fetching",H=w==="pending",V=w==="error",Z=H&&F,ne=E!==void 0,J={status:w,fetchStatus:y.fetchStatus,isPending:H,isSuccess:w==="success",isError:V,isInitialLoading:Z,isLoading:Z,data:E,dataUpdatedAt:y.dataUpdatedAt,error:A,errorUpdatedAt:M,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&&!H,isLoadingError:V&&!ne,isPaused:y.fetchStatus==="paused",isPlaceholderData:N,isRefetchError:V&&ne,isStale:U2(c,i),refetch:this.refetch,promise:S(this,bl),isEnabled:hn(i.enabled,c)!==!1};if(this.options.experimental_prefetchInRender){const me=J.data!==void 0,ve=J.status==="error"&&!me,ze=Le=>{ve?Le.reject(J.error):me&&Le.resolve(J.data)},ue=()=>{const Le=I(this,bl,J.promise=l2());ze(Le)},Ce=S(this,bl);switch(Ce.status){case"pending":c.queryHash===o.queryHash&&ze(Ce);break;case"fulfilled":(ve||J.data!==Ce.value)&&ue();break;case"rejected":(!ve||J.error!==Ce.reason)&&ue();break}}return J}updateResult(){const c=S(this,Ut),i=this.createResult(S(this,De),this.options);if(I(this,Fa,S(this,De).state),I(this,Qs,this.options),S(this,Fa).data!==void 0&&I(this,Xs,S(this,De)),no(i,c))return;I(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,Zs).size)return!0;const m=new Set(h??S(this,Zs));return this.options.throwOnError&&m.add("error"),Object.keys(S(this,Ut)).some(p=>{const g=p;return S(this,Ut)[g]!==c[g]&&m.has(g)})};je(this,$e,Fp).call(this,{listeners:o()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&je(this,$e,o2).call(this)}},It=new WeakMap,De=new WeakMap,xc=new WeakMap,Ut=new WeakMap,Fa=new WeakMap,Qs=new WeakMap,bl=new WeakMap,sa=new WeakMap,bc=new WeakMap,Ys=new WeakMap,Xs=new WeakMap,Qa=new WeakMap,Ya=new WeakMap,ia=new WeakMap,Zs=new WeakMap,$e=new WeakSet,hc=function(c){je(this,$e,f2).call(this);let i=S(this,De).fetch(this.options,c);return c!=null&&c.throwOnError||(i=i.catch(kt)),i},i2=function(){je(this,$e,u2).call(this);const c=da(this.options.staleTime,S(this,De));if(_c.isServer()||S(this,Ut).isStale||!e2(c))return;const o=zp(S(this,Ut).dataUpdatedAt,c)+1;I(this,Qa,ka.setTimeout(()=>{S(this,Ut).isStale||this.updateResult()},o))},c2=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(S(this,De)):this.options.refetchInterval)??!1},r2=function(c){je(this,$e,d2).call(this),I(this,ia,c),!(_c.isServer()||hn(this.options.enabled,S(this,De))===!1||!e2(S(this,ia))||S(this,ia)===0)&&I(this,Ya,ka.setInterval(()=>{(this.options.refetchIntervalInBackground||D2.isFocused())&&je(this,$e,hc).call(this)},S(this,ia)))},o2=function(){je(this,$e,i2).call(this),je(this,$e,r2).call(this,je(this,$e,c2).call(this))},u2=function(){S(this,Qa)!==void 0&&(ka.clearTimeout(S(this,Qa)),I(this,Qa,void 0))},d2=function(){S(this,Ya)!==void 0&&(ka.clearInterval(S(this,Ya)),I(this,Ya,void 0))},f2=function(){const c=S(this,It).getQueryCache().build(S(this,It),this.options);if(c===S(this,De))return;const i=S(this,De);I(this,De,c),I(this,xc,c.state),this.hasListeners()&&(i==null||i.removeObserver(this),c.addObserver(this))},Fp=function(c){vt.batch(()=>{c.listeners&&this.listeners.forEach(i=>{i(S(this,Ut))}),S(this,It).getQueryCache().notify({query:S(this,De),type:"observerResultsUpdated"})})},ap);function Qy(s,c){return hn(c.enabled,s)!==!1&&s.state.data===void 0&&!(s.state.status==="error"&&hn(c.retryOnMount,s)===!1)}function mm(s,c){return Qy(s,c)||s.state.data!==void 0&&h2(s,c,c.refetchOnMount)}function h2(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&&U2(s,c)}return!1}function pm(s,c,i,o){return(s!==c||hn(o.enabled,s)===!1)&&(!i.suspense||s.state.status!=="error")&&U2(s,i)}function U2(s,c){return hn(c.enabled,s)!==!1&&s.isStaleByTime(da(c.staleTime,s))}function Yy(s,c){return!no(s.getCurrentResult(),c)}var Xy=class extends Vp{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,M;const{state:i}=s,o=super.createResult(s,c),{isFetching:d,isRefetching:h,isError:m,isRefetchError:p}=o,g=(M=(A=i.fetchMeta)==null?void 0:A.fetchMore)==null?void 0:M.direction,v=m&&g==="forward",x=d&&g==="forward",y=m&&g==="backward",N=d&&g==="backward";return{...o,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:Gy(c,i.data),hasPreviousPage:Vy(c,i.data),isFetchNextPageError:v,isFetchingNextPage:x,isFetchPreviousPageError:y,isFetchingPreviousPage:N,isRefetchError:p&&!v&&!y,isRefetching:h&&!x&&!N}}},jc,Kn,At,Xa,In,ta,sp,Zy=(sp=class extends Hp{constructor(c){super();ie(this,In);ie(this,jc);ie(this,Kn);ie(this,At);ie(this,Xa);I(this,jc,c.client),this.mutationId=c.mutationId,I(this,At,c.mutationCache),I(this,Kn,[]),this.state=c.state||Qp(),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){I(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,g,v,x,y,N,E,A,M,w,O,F,H,V,Z,ne,P;const i=()=>{je(this,In,ta).call(this,{type:"continue"})},o={client:S(this,jc),meta:this.options.meta,mutationKey:this.options.mutationKey};I(this,Xa,kp({fn:()=>this.options.mutationFn?this.options.mutationFn(c,o):Promise.reject(new Error("No mutationFn found")),onFail:(J,se)=>{je(this,In,ta).call(this,{type:"failed",failureCount:J,error:se})},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 se=await((p=(m=this.options).onMutate)==null?void 0:p.call(m,c,o));se!==this.state.context&&je(this,In,ta).call(this,{type:"pending",context:se,variables:c,isPaused:h})}const J=await S(this,Xa).start();return await((v=(g=S(this,At).config).onSuccess)==null?void 0:v.call(g,J,c,this.state.context,this,o)),await((y=(x=this.options).onSuccess)==null?void 0:y.call(x,J,c,this.state.context,o)),await((E=(N=S(this,At).config).onSettled)==null?void 0:E.call(N,J,null,this.state.variables,this.state.context,this,o)),await((M=(A=this.options).onSettled)==null?void 0:M.call(A,J,null,c,this.state.context,o)),je(this,In,ta).call(this,{type:"success",data:J}),J}catch(J){try{await((O=(w=S(this,At).config).onError)==null?void 0:O.call(w,J,c,this.state.context,this,o))}catch(se){Promise.reject(se)}try{await((H=(F=this.options).onError)==null?void 0:H.call(F,J,c,this.state.context,o))}catch(se){Promise.reject(se)}try{await((Z=(V=S(this,At).config).onSettled)==null?void 0:Z.call(V,void 0,J,this.state.variables,this.state.context,this,o))}catch(se){Promise.reject(se)}try{await((P=(ne=this.options).onSettled)==null?void 0:P.call(ne,void 0,J,c,this.state.context,o))}catch(se){Promise.reject(se)}throw je(this,In,ta).call(this,{type:"error",error:J}),J}finally{S(this,At).runNext(this)}}},jc=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})})},sp);function Qp(){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,Sc,ip,Ky=(ip=class extends ai{constructor(c={}){super();ie(this,jl);ie(this,Bn);ie(this,Sc);this.config=c,I(this,jl,new Set),I(this,Bn,new Map),I(this,Sc,0)}build(c,i,o){const d=new Zy({client:c,mutationCache:this,mutationId:++Qr(this,Sc)._,options:c.defaultMutationOptions(i),state:o});return this.add(d),d}add(c){S(this,jl).add(c);const i=Xr(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=Xr(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=Xr(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=Xr(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=>om(i,o))}findAll(c={}){return this.getAll().filter(i=>om(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,Sc=new WeakMap,ip);function Xr(s){var c;return(c=s.options.scope)==null?void 0:c.id}var Sl,ca,Pt,Nl,Cl,Jr,m2,cp,Iy=(cp=class extends ai{constructor(i,o){super();ie(this,Cl);ie(this,Sl);ie(this,ca);ie(this,Pt);ie(this,Nl);I(this,Sl,i),this.setOptions(o),this.bindMethods(),je(this,Cl,Jr).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),no(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,Jr).call(this),je(this,Cl,m2).call(this,i)}getCurrentResult(){return S(this,ca)}reset(){var i;(i=S(this,Pt))==null||i.removeObserver(this),I(this,Pt,void 0),je(this,Cl,Jr).call(this),je(this,Cl,m2).call(this)}mutate(i,o){var d;return I(this,Nl,o),(d=S(this,Pt))==null||d.removeObserver(this),I(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,Jr=function(){var o;const i=((o=S(this,Pt))==null?void 0:o.state)??Qp();I(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})},m2=function(i){vt.batch(()=>{var o,d,h,m,p,g,v,x;if(S(this,Nl)&&this.hasListeners()){const y=S(this,ca).variables,N=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,N,E)}catch(A){Promise.reject(A)}try{(m=(h=S(this,Nl)).onSettled)==null||m.call(h,i.data,null,y,N,E)}catch(A){Promise.reject(A)}}else if((i==null?void 0:i.type)==="error"){try{(g=(p=S(this,Nl)).onError)==null||g.call(p,i.error,y,N,E)}catch(A){Promise.reject(A)}try{(x=(v=S(this,Nl)).onSettled)==null||x.call(v,void 0,i.error,y,N,E)}catch(A){Promise.reject(A)}}}this.listeners.forEach(y=>{y(S(this,ca))})})},cp),Pn,rp,Py=(rp=class extends ai{constructor(c={}){super();ie(this,Pn);this.config=c,I(this,Pn,new Map)}build(c,i,o){const d=i.queryKey,h=i.queryHash??z2(d,i);let m=this.get(h);return m||(m=new Fy({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=>rm(i,o))}findAll(c={}){const i=this.getAll();return Object.keys(c).length>0?i.filter(o=>rm(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,rp),at,ra,oa,Ks,Is,ua,Ps,Ws,op,Wy=(op=class{constructor(s={}){ie(this,at);ie(this,ra);ie(this,oa);ie(this,Ks);ie(this,Is);ie(this,ua);ie(this,Ps);ie(this,Ws);I(this,at,s.queryCache||new Py),I(this,ra,s.mutationCache||new Ky),I(this,oa,s.defaultOptions||{}),I(this,Ks,new Map),I(this,Is,new Map),I(this,ua,0)}mount(){Qr(this,ua)._++,S(this,ua)===1&&(I(this,Ps,D2.subscribe(async s=>{s&&(await this.resumePausedMutations(),S(this,at).onFocus())})),I(this,Ws,lo.subscribe(async s=>{s&&(await this.resumePausedMutations(),S(this,at).onOnline())})))}unmount(){var s,c;Qr(this,ua)._--,S(this,ua)===0&&((s=S(this,Ps))==null||s.call(this),I(this,Ps,void 0),(c=S(this,Ws))==null||c.call(this),I(this,Ws,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=My(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 lo.isOnline()?S(this,ra).resumePausedMutations():Promise.resolve()}getQueryCache(){return S(this,at)}getMutationCache(){return S(this,ra)}getDefaultOptions(){return S(this,oa)}setDefaultOptions(s){I(this,oa,s)}setQueryDefaults(s,c){S(this,Ks).set(Ka(s),{queryKey:s,defaultOptions:c})}getQueryDefaults(s){const c=[...S(this,Ks).values()],i={};return c.forEach(o=>{gc(s,o.queryKey)&&Object.assign(i,o.defaultOptions)}),i}setMutationDefaults(s,c){S(this,Is).set(Ka(s),{mutationKey:s,defaultOptions:c})}getMutationDefaults(s){const c=[...S(this,Is).values()],i={};return c.forEach(o=>{gc(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=z2(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===L2&&(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,Ks=new WeakMap,Is=new WeakMap,ua=new WeakMap,Ps=new WeakMap,Ws=new WeakMap,op),Yp=b.createContext(void 0),fa=s=>{const c=b.useContext(Yp);if(!c)throw new Error("No QueryClient set, use QueryClientProvider to set one");return c},Jy=({client:s,children:c})=>(b.useEffect(()=>(s.mount(),()=>{s.unmount()}),[s]),l.jsx(Yp.Provider,{value:s,children:c})),Xp=b.createContext(!1),ex=()=>b.useContext(Xp);Xp.Provider;function tx(){let s=!1;return{clearReset:()=>{s=!1},reset:()=>{s=!0},isReset:()=>s}}var nx=b.createContext(tx()),lx=()=>b.useContext(nx),ax=(s,c,i)=>{const o=i!=null&&i.state.error&&typeof s.throwOnError=="function"?B2(s.throwOnError,[i.state.error,i]):s.throwOnError;(s.suspense||s.experimental_prefetchInRender||o)&&(c.isReset()||(s.retryOnMount=!1))},sx=s=>{b.useEffect(()=>{s.clearReset()},[s])},ix=({result:s,errorResetBoundary:c,throwOnError:i,query:o,suspense:d})=>s.isError&&!c.isReset()&&!s.isFetching&&o&&(d&&s.data===void 0||B2(i,[s.error,o])),cx=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))}},rx=(s,c)=>s.isLoading&&s.isFetching&&!c,ox=(s,c)=>(s==null?void 0:s.suspense)&&c.isPending,vm=(s,c,i)=>c.fetchOptimistic(s).catch(()=>{i.clearReset()});function Zp(s,c,i){var N,E,A,M;const o=ex(),d=lx(),h=fa(),m=h.defaultQueryOptions(s);(E=(N=h.getDefaultOptions().queries)==null?void 0:N._experimental_beforeQuery)==null||E.call(N,m);const p=h.getQueryCache().get(m.queryHash);m._optimisticResults=o?"isRestoring":"optimistic",cx(m),ax(m,d,p),sx(d);const g=!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(w=>{const O=y?v.subscribe(vt.batchCalls(w)):kt;return v.updateResult(),O},[v,y]),()=>v.getCurrentResult(),()=>v.getCurrentResult()),b.useEffect(()=>{v.setOptions(m)},[m,v]),ox(m,x))throw vm(m,v,d);if(ix({result:x,errorResetBoundary:d,throwOnError:m.throwOnError,query:p,suspense:m.suspense}))throw x.error;if((M=(A=h.getDefaultOptions().queries)==null?void 0:A._experimental_afterQuery)==null||M.call(A,m,x),m.experimental_prefetchInRender&&!_c.isServer()&&rx(x,o)){const w=g?vm(m,v,d):p==null?void 0:p.promise;w==null||w.catch(kt).finally(()=>{v.updateResult()})}return m.notifyOnChangeProps?x:v.trackResult(x)}function vn(s,c){return Zp(s,Vp)}function qt(s,c){const i=fa(),[o]=b.useState(()=>new Iy(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&&B2(o.options.throwOnError,[d.error]))throw d.error;return{...d,mutate:h,mutateAsync:d.mutate}}function ux(s,c){return Zp(s,Xy)}const Kp="https://app.auth.elcsa.ru/v1";let mc=null,Ua=null;function k2(){mc=null,Ua=null}function Wn(){return mc?Promise.resolve(mc):Ua||(Ua=fetch(`${Kp}/csrf/token`,{credentials:"include"}).then(s=>s.json()).then(s=>(mc=s.token,Ua=null,mc)).catch(s=>{throw Ua=null,s}),Ua)}const dx=Object.freeze(Object.defineProperty({__proto__:null,clearCsrfCache:k2,getCsrfToken:Wn},Symbol.toStringTag,{value:"Module"})),fx="modulepreload",hx=function(s){return"/"+s},gm={},mx=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]"),g=(p==null?void 0:p.nonce)||(p==null?void 0:p.getAttribute("nonce"));d=m(i.map(v=>{if(v=hx(v),v in gm)return;gm[v]=!0;const x=v.endsWith(".css"),y=x?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${v}"]${y}`))return;const N=document.createElement("link");if(N.rel=x?"stylesheet":fx,x||(N.as="script"),N.crossOrigin="",N.href=v,g&&N.setAttribute("nonce",g),document.head.appendChild(N),x)return new Promise((E,A)=>{N.addEventListener("load",E),N.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 q0=null;const An={get:()=>q0,set:s=>{q0=s},clear:()=>{q0=null}},px="https://app.auth.elcsa.ru/v1/jwt/refresh";async function si(){const{getCsrfToken:s}=await mx(async()=>{const{getCsrfToken:d}=await Promise.resolve().then(()=>dx);return{getCsrfToken:d}},[]),c=await s(),i=await fetch(px,{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 vx="https://app.payment.elcsa.ru";async function ii(s,c,i){const o=await Wn(),d=await fetch(`${vx}${s}`,{...c,credentials:"include",headers:{"X-CSRF-Token":o,...c.headers}});if(d.status===401&&i)try{return await si(),ii(s,c,!1)}catch{throw new Error("Unauthorized")}const h=await d.json();if(!d.ok)throw h;return h}function gx(){return ii("/payment/config",{},!0)}function _x(s){return ii(`/payment/quote?usdt_amount=${s}`,{},!0)}function yx(s){return ii(`/payment/quote/rub?total_rub=${s}`,{},!0)}function xx(s){return ii("/order/create",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)},!0)}const p2=20;function bx(s,c=p2){return ii(`/payment/orders?offset=${s}&limit=${c}`,{},!0)}function Ip(){return vn({queryKey:["payment","config"],queryFn:gx,staleTime:6e4})}function Pp(s){return vn({queryKey:["payment","quote",s],queryFn:()=>_x(s),enabled:s>0,staleTime:3e4,retry:!1})}function Wp(s){return vn({queryKey:["payment","quote","rub",s],queryFn:()=>yx(s),enabled:s>0,staleTime:3e4,retry:!1})}function jx(){return qt({mutationFn:xx,onSuccess:s=>{const c=s.order.itpay_payment_qr_url_desktop;c&&(window.location.href=c)}})}function Sx(){return ux({queryKey:["payment","orders"],queryFn:({pageParam:s})=>bx(s),initialPageParam:0,getNextPageParam:(s,c)=>{if(!(s.orders.length<p2))return c.length*p2},staleTime:3e4})}function Js(s,c){const[i,o]=b.useState(s);return b.useEffect(()=>{const d=setTimeout(()=>o(s),c);return()=>clearTimeout(d)},[s,c]),i}const Nx="_title_ujt2o_1",wx="_table_ujt2o_8",Cx="_row_ujt2o_15",Tx="_range_ujt2o_31",Ex="_pct_ujt2o_36",Rx="_progressBar_ujt2o_43",Ax="_progressFill_ujt2o_51",Mx="_summary_ujt2o_58",Ox="_summaryLabel_ujt2o_73",Dx="_summaryValue_ujt2o_78",dn={title:Nx,table:wx,row:Cx,range:Tx,pct:Ex,progressBar:Rx,progressFill:Ax,summary:Mx,summaryLabel:Ox,summaryValue:Dx},_m=s=>s.toLocaleString("ru-RU"),zx=({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 Lx({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(zx,{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 Bx="_section_11xwy_1",Ux="_wrap_11xwy_6",kx="_header_11xwy_17",Hx="_subtitle_11xwy_31",qx="_pills_11xwy_38",$x="_pill_11xwy_38",Gx="_pillValue_11xwy_52",Vx="_body_11xwy_62",Fx="_tabs_11xwy_68",Qx="_tab_11xwy_68",Yx="_field_11xwy_100",Xx="_fieldError_11xwy_104",Zx="_fieldInput_11xwy_118",Kx="_currency_11xwy_144",Ix="_currencyIcon_11xwy_153",Px="_currencyRub_11xwy_165",Wx="_currencyUsdt_11xwy_169",Jx="_swapWrap_11xwy_173",e6="_swapBtn_11xwy_179",t6="_payBtn_11xwy_206",Se={section:Bx,wrap:Ux,header:kx,subtitle:Hx,pills:qx,pill:$x,pillValue:Gx,body:Vx,tabs:Fx,tab:Qx,field:Yx,fieldError:Xx,fieldInput:Zx,currency:Kx,currencyIcon:Ix,currencyRub:Px,currencyUsdt:Wx,swapWrap:Jx,swapBtn:e6,payBtn:t6},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 n6(){const{data:s}=Ip(),[c,i]=b.useState("usdt_to_rub"),[o,d]=b.useState(String(Hs)),h=Number(s==null?void 0:s.usdt_exchange_rate)||Mp,m=Number(s==null?void 0:s.gas_fee)||Op,p=Dp({usdtRate:h}),g=c==="usdt_to_rub",v=Js(p.numRub,400),{data:x}=Pp(g?v:0),y=Number.parseFloat(o)||0,N=Js(y,400),{data:E,isError:A}=Wp(g?0:N),M=!g&&y>0&&y<Hs;function w(se){d(se.replace(/[^0-9.]/g,""))}function O(){i(se=>se==="usdt_to_rub"?"rub_to_usdt":"usdt_to_rub")}const F=(x==null?void 0:x.total_price)??"",H=Number(F)||0,V=(E==null?void 0:E.usdt_amount)??"",Z=Number(V)||0,ne=g?Number(x==null?void 0:x.service_fee)||0:Number(E==null?void 0:E.service_fee)||0,P=g?H:y,J=g?p.numRub>0?H/p.numRub:0:Z>0?y/Z:0;return l.jsx("section",{className:Se.section,id:"converter",children:l.jsxs("div",{className:Se.wrap,children:[l.jsxs("div",{className:Se.header,children:[l.jsxs("div",{children:[l.jsx(Ap,{children:"Конвертация"}),l.jsx("div",{className:Se.subtitle,children:"Данные обновляются в реальном времени"})]}),l.jsxs("div",{className:Se.pills,children:[l.jsxs("div",{className:Se.pill,children:["Цена газа в RUB ",l.jsxs("span",{className:Se.pillValue,children:[m.toFixed(2)," RUB"]})]}),l.jsxs("div",{className:Se.pill,children:["USDT/RUB ",l.jsxs("span",{className:Se.pillValue,children:[h.toFixed(2)," ₽"]})]})]})]}),l.jsxs("div",{className:Se.body,children:[l.jsxs("div",{children:[l.jsx("div",{className:Se.tabs,children:l.jsx("div",{className:Se.tab,"data-active":!0,children:"КУПИТЬ"})}),g?l.jsxs(l.Fragment,{children:[l.jsx("div",{className:Se.field,children:l.jsxs("div",{className:Se.fieldInput,children:[l.jsx("input",{type:"text",value:p.rubVal,onChange:se=>p.updateRub(se.target.value),placeholder:"0",inputMode:"decimal"}),l.jsxs("div",{className:Se.currency,children:[l.jsx("span",{className:`${Se.currencyIcon} ${Se.currencyUsdt}`,children:"₮"})," USDT"]})]})}),l.jsx("div",{className:Se.swapWrap,children:l.jsx("button",{type:"button",className:Se.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:Se.field,children:l.jsxs("div",{className:Se.fieldInput,children:[l.jsx("input",{type:"text",value:F,readOnly:!0,placeholder:"0"}),l.jsxs("div",{className:Se.currency,children:[l.jsx("span",{className:`${Se.currencyIcon} ${Se.currencyRub}`,children:"₽"})," RUB"]})]})})]}):l.jsxs(l.Fragment,{children:[l.jsxs("div",{className:Se.field,children:[l.jsxs("div",{className:Se.fieldInput,children:[l.jsx("input",{type:"text",value:o,onChange:se=>w(se.target.value),placeholder:"0",inputMode:"decimal"}),l.jsxs("div",{className:Se.currency,children:[l.jsx("span",{className:`${Se.currencyIcon} ${Se.currencyRub}`,children:"₽"})," RUB"]})]}),M&&l.jsxs("div",{className:Se.fieldError,children:["Минимальная сумма: ",Hs.toLocaleString("ru-RU")," ₽"]}),A&&!M&&l.jsx("div",{className:Se.fieldError,children:"Сумма слишком большая и превышает 600 000 ₽"})]}),l.jsx("div",{className:Se.swapWrap,children:l.jsx("button",{type:"button",className:Se.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:Se.field,children:l.jsxs("div",{className:Se.fieldInput,children:[l.jsx("input",{type:"text",value:V,readOnly:!0,placeholder:"0"}),l.jsxs("div",{className:Se.currency,children:[l.jsx("span",{className:`${Se.currencyIcon} ${Se.currencyUsdt}`,children:"₮"})," USDT"]})]})})]})]}),l.jsx(Lx,{amount:P,progress:O2(P),commission:ne,effectiveRate:J})]}),l.jsx(Ht,{to:fe.CONVERTER,className:Se.payBtn,children:"Перейти к оплате"})]})})}const 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='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",a6="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",s6="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",i6="_footer_1qm30_1",c6="_top_1qm30_11",r6="_col_1qm30_18",o6="_heading_1qm30_35",u6="_companyName_1qm30_44",d6="_phone_1qm30_51",f6="_email_1qm30_58",h6="_socialIcons_1qm30_62",m6="_socialLink_1qm30_67",p6="_divider_1qm30_94",v6="_bottom_1qm30_99",Rt={footer:i6,top:c6,col:r6,heading:o6,companyName:u6,phone:d6,email:f6,socialIcons:h6,socialLink:m6,divider:p6,bottom:v6},g6=[{href:"#",icon:a6,label:"Telegram"},{href:"#",icon:s6,label:"WhatsApp"},{href:"#",icon:l6,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:g6.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",_6="_nav_5011x_1",y6="_logo_5011x_16",x6="_right_5011x_22",b6="_link_5011x_28",j6="_btn_5011x_47",cc={nav:_6,logo:y6,right:x6,link:b6,btn:j6};function ci(){return l.jsxs("nav",{className:cc.nav,children:[l.jsx("a",{className:cc.logo,href:"/",children:l.jsx("img",{src:ha,alt:"ЭКСА"})}),l.jsxs("div",{className:cc.right,children:[l.jsx("a",{className:cc.link,href:"#about",children:"О нас"}),l.jsx(Ht,{className:cc.btn,to:fe.WALLET,children:"Личный кабинет"})]})]})}const S6="_flow_1oxsf_1",N6="_card_1oxsf_7",w6="_cardRub_1oxsf_17",C6="_cardEksa_1oxsf_27",T6="_cardUsdt_1oxsf_37",E6="_eksaLogo_1oxsf_47",R6="_ghost_1oxsf_54",A6="_ghostBtc_1oxsf_69",M6="_ghostEth_1oxsf_74",O6="_logoCircle_1oxsf_79",D6="_logoRub_1oxsf_90",z6="_logoUsdt_1oxsf_95",L6="_badge_1oxsf_100",B6="_badgeRub_1oxsf_113",U6="_badgeUsdt_1oxsf_117",k6="_status_1oxsf_121",H6="_statusDot_1oxsf_132",q6="_path_1oxsf_139",tt={flow:S6,card:N6,cardRub:w6,cardEksa:C6,cardUsdt:T6,eksaLogo:E6,ghost:R6,ghostBtc:A6,ghostEth:M6,logoCircle:O6,logoRub:D6,logoUsdt:z6,badge:L6,badgeRub:B6,badgeUsdt:U6,status:k6,statusDot:H6,path:q6};function $6(){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 G6(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 V6="_label_ikzdd_1",F6="_row_ikzdd_8",Q6="_unit_ikzdd_14",Y6="_num_ikzdd_21",X6="_lbl_ikzdd_29",rc={label:V6,row:F6,unit:Q6,num:Y6,lbl:X6},Z6=[["d","ДНЕЙ"],["h","ЧАСОВ"],["m","МИНУТ"],["s","СЕКУНД"]];function K6({target:s}){const c=G6(s);return l.jsxs("div",{children:[l.jsx("div",{className:rc.label,children:"ДО ЗАПУСКА ОСТАЛОСЬ"}),l.jsx("div",{className:rc.row,children:Z6.map(([i,o])=>l.jsxs("div",{className:rc.unit,children:[l.jsx("div",{className:rc.num,children:c[i]}),l.jsx("div",{className:rc.lbl,children:o})]},i))})]})}const I6="_card_17ihg_51",P6="_statusPill_17ihg_84",W6="_statusDot_17ihg_99",J6="_flowRow_17ihg_107",e5="_curBlock_17ihg_114",t5="_curIcon_17ihg_122",n5="_rub_17ihg_133",l5="_usdt_17ihg_141",a5="_flowLine_17ihg_150",s5="_curAmount_17ihg_154",i5="_curLabel_17ihg_163",c5="_curCheck_17ihg_171",r5="_bridge_17ihg_182",o5="_bridgeLine_17ihg_191",u5="_bridgeLabel_17ihg_198",d5="_divider_17ihg_206",f5="_details_17ihg_212",h5="_detailRow_17ihg_220",m5="_detailLabel_17ihg_229",p5="_detailValue_17ihg_235",v5="_green_17ihg_242",Fe={card:I6,statusPill:P6,statusDot:W6,flowRow:J6,curBlock:e5,curIcon:t5,rub:n5,usdt:l5,flowLine:a5,curAmount:s5,curLabel:i5,curCheck:c5,bridge:r5,bridgeLine:o5,bridgeLabel:u5,divider:d5,details:f5,detailRow:h5,detailLabel:m5,detailValue:p5,green:v5};function g5(){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:[Mp.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 _5="_hero_mnobr_1",y5="_content_mnobr_33",x5="_left_mnobr_45",b5="_desktop_mnobr_52",j5="_mobile_mnobr_56",S5="_right_mnobr_60",N5="_title_mnobr_67",w5="_line2_mnobr_74",C5="_reflection_mnobr_85",T5="_cta_mnobr_96",Xn={hero:_5,content:y5,left:x5,desktop:b5,mobile:j5,right:S5,title:N5,line2:w5,reflection:C5,cta:T5};function E5(){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($6,{})}),l.jsx("div",{className:Xn.mobile,children:l.jsx(g5,{})})]}),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(K6,{target:Ny}),l.jsx("a",{href:"#converter",className:Xn.cta,children:"Попробовать калькулятор"})]})]})]})})}const R5=[{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 сек"}],A5="_section_10lhb_1",M5="_wrap_10lhb_6",O5="_title_10lhb_11",D5="_tableWrap_10lhb_18",z5="_table_10lhb_18",L5="_name_10lhb_52",B5="_icon_10lhb_58",U5="_icon_btc_10lhb_71",k5="_icon_eth_10lhb_75",H5="_icon_trx_10lhb_79",q5="_icon_sol_10lhb_83",$5="_icon_bnb_10lhb_87",G5="_label_10lhb_91",V5="_ticker_10lhb_96",F5="_speedBar_10lhb_102",Q5="_speedFill_10lhb_110",Y5="_fee_10lhb_115",X5="_confirm_10lhb_121",Z5="_footnote_10lhb_126",Dt={section:A5,wrap:M5,title:O5,tableWrap:D5,table:z5,name:L5,icon:B5,icon_btc:U5,icon_eth:k5,icon_trx:H5,icon_sol:q5,icon_bnb:$5,label:G5,ticker:V5,speedBar:F5,speedFill:Q5,fee:Y5,confirm:X5,footnote:Z5};function K5(){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:R5.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 I5(){return l.jsxs(l.Fragment,{children:[l.jsx(ci,{}),l.jsxs("main",{children:[l.jsx(E5,{}),l.jsx(Sy,{}),l.jsx(n6,{}),l.jsx(K5,{})]}),l.jsx(Jn,{})]})}async function v2(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(`${Kp}${s}`,{...c,credentials:"include",headers:h});if(m.status===401&&i)try{return await si(),v2(s,c,!1)}catch{throw An.clear(),new Error("Unauthorized")}const p=await m.json();if(!m.ok)throw p;return p}const Cc={get:s=>v2(s,{},!0),post:(s,c)=>v2(s,{method:"POST",body:JSON.stringify(c)},!0)};function P5(s){return Cc.post("/auth/registration/start",s)}function W5(s){return Cc.post("/auth/registration/complete",s)}function J5(s){return Cc.post("/auth/login/start",s)}function eb(s){return Cc.post("/auth/login/complete",s)}async function tb(){const s=await Wn();return Cc.post("/auth/logout",{_csrf:s})}const Tc="https://app.users.elcsa.ru";async function H2(){const s=await Wn(),c=An.get();return{"X-CSRF-Token":s,...c?{Authorization:`Bearer ${c}`}:{}}}async function nb(){const s=await H2(),c=await fetch(`${Tc}/me/`,{credentials:"include",headers:s}),i=await c.json();if(!c.ok)throw i;return i}async function lb(s){const c=await H2(),i=await fetch(`${Tc}/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 ab(s){const c=await Wn(),i=await fetch(`${Tc}/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 sb(s){const c=await H2(),i=await fetch(`${Tc}/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 ib(s){const c=await Wn(),i=await fetch(`${Tc}/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 ri(s){return vn({queryKey:["me"],queryFn:nb,staleTime:1/0,gcTime:1/0,retry:!1,...s})}function cb(){const s=fa();return qt({mutationFn:lb,onSuccess:c=>{s.setQueryData(["me"],c)}})}function rb(){const s=fa();return qt({mutationFn:sb,onSuccess:()=>{s.invalidateQueries({queryKey:["me"]})}})}const uo=["auth"];function ob(){return vn({queryKey:uo,queryFn:si,retry:!1,staleTime:1/0,gcTime:1/0,refetchOnWindowFocus:!1})}function Jp(){const{data:s,isLoading:c,isError:i}=ob();return{isAuthenticated:!!s&&!i,isLoading:c}}const e3="https://app.cryptowallet.elcsa.ru",ub=["ETH","BSC","BTC","TRX","SOL"];async function oi(s,c=!0){const i=await Wn(),o=An.get(),d=await fetch(`${e3}${s}`,{credentials:"include",headers:{"X-CSRF-Token":i,...o?{Authorization:`Bearer ${o}`}:{}}});if(d.status===401&&c)try{return await si(),oi(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(`${e3}${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 si(),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 db(){return(await oi("/api/wallets")).data}async function fb(s){return(await oi(`/api/wallets/${s}/balance`)).data}async function hb(s){return(await oi(`/api/prices?symbols=${s.join(",")}`)).data}async function mb(s,c){return el(`/api/wallets/${s}/send`,c)}async function pb(){return(await oi("/api/wallets/portfolio")).data}async function vb(){return(await oi("/api/tokens")).data}async function gb(s){return el("/api/relay/quote",s)}async function _b(s){return el("/api/relay/execute/swap",s)}async function yb(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 xb(s){return el("/api/wallets/SOL/sign-and-broadcast-tx",s)}async function t3(s){return(await el("/api/wallets/TRX/swap/quote",s)).data}async function bb(s){return el("/api/wallets/TRX/swap",{quoteId:s},!0,{"Idempotency-Key":`trx-${Date.now()}`})}async function jb(){await el("/api/wallets/create",{})}async function Sb(){return(await el("/api/wallets/mnemonic/reveal",{confirm:"I_UNDERSTAND_SEED_IS_SECRET"})).data.mnemonic}function ao(s){return vn({queryKey:["wallet","balance",s],queryFn:()=>fb(s),staleTime:3e4})}function Nb(s){return vn({queryKey:["wallet","prices",s.join(",")],queryFn:()=>hb(s),staleTime:300*1e3})}function wb(){return qt({mutationFn:({chain:s,...c})=>mb(s,c)})}function fo(){return vn({queryKey:["wallet","addresses"],queryFn:db,staleTime:600*1e3})}function q2(){return vn({queryKey:["wallet","portfolio"],queryFn:pb,staleTime:3e4})}function n3(){return vn({queryKey:["wallet","tokens"],queryFn:vb,staleTime:600*1e3})}function Cb(){return qt({mutationFn:jb})}function Tb(){return vn({queryKey:["wallet","mnemonic"],queryFn:Sb,staleTime:1/0,retry:!1})}function l3(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:()=>gb(s),enabled:!!s,staleTime:1e4})}function a3(){return qt({mutationFn:s=>_b(s)})}function s3(){return qt({mutationFn:({chain:s,txData:c})=>s==="SOL"?xb(c):yb(s,c)})}function i3(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:()=>t3(s),enabled:!!s,staleTime:1e4})}function c3(){return qt({mutationFn:t3})}function r3(){return qt({mutationFn:s=>bb(s)})}const Eb="_card_1kfaj_1",Rb="_label_1kfaj_18",Ab="_amount_1kfaj_27",Mb="_actions_1kfaj_41",Ob="_btn_1kfaj_46",Da={card:Eb,label:Rb,amount:Ab,actions:Mb,btn:Ob},Db="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",zb="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 Lb(){const{data:s,isLoading:c}=q2(),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:zb,alt:"swap"}),"Пополнить кошелёк"]}),l.jsxs(Ht,{to:fe.SWAP,className:Da.btn,type:"button",children:[l.jsx("img",{src:Db,alt:"topup"}),"Своп / Бридж"]})]})]})}const 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%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",Ub="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pg0KDQo8IURPQ1RZUEUgc3ZnICBQVUJMSUMgJy0vL1czQy8vRFREIFNWRyAxLjEvL0VOJyAgJ2h0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCc+DQoNCjwhLS0gVXBsb2FkZWQgdG86IFNWRyBSZXBvLCB3d3cuc3ZncmVwby5jb20sIEdlbmVyYXRvcjogU1ZHIFJlcG8gTWl4ZXIgVG9vbHMgLS0+DQo8c3ZnIHdpZHRoPSI4MDBweCIgaGVpZ2h0PSI4MDBweCIgdmlld0JveD0iMCAwIDMyIDMyIiBpZD0iX3gzQ19MYXllcl94M0VfIiB2ZXJzaW9uPSIxLjEiIHhtbDpzcGFjZT0icHJlc2VydmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPg0KDQo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPg0KPCFbQ0RBVEFbDQoJLnN0MHtmaWxsOm5vbmU7c3Ryb2tlOiNmZmY7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjEwO30NCgkuc3Qxe2ZpbGw6bm9uZTtzdHJva2U6I2ZmZjtzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6MTA7fQ0KXV0+DQo8L3N0eWxlPg0KDQo8ZyBpZD0iRXRoZXJldW1feDJDX19jcnlwdG9feDJDX19jcnlwdG9jdXJyZW5jeV8xXyI+DQoNCjxnIGlkPSJYTUxJRF8xNV8iPg0KDQo8cG9seWdvbiBjbGFzcz0ic3QxIiBpZD0iWE1MSURfOF8iIHBvaW50cz0iMTYuMDEsMS41IDcuNjIsMTYuMjMgMTYuMDEsMjEuNSAyNC4zOCwxNi4xOCAgICIvPg0KDQo8bGluZSBjbGFzcz0ic3QxIiBpZD0iWE1MSURfMzFfIiB4MT0iMTYuMDEiIHgyPSIxNi4wMSIgeTE9IjMwLjUiIHkyPSIyNC4xIi8+DQoNCjxwb2x5Z29uIGNsYXNzPSJzdDEiIGlkPSJYTUxJRF8xMl8iIHBvaW50cz0iMTYuMDEsMzAuNSA3LjYyLDE4LjgzIDE2LjAxLDI0LjEgMjQuMzgsMTguNzggICAiLz4NCg0KPHBvbHlnb24gY2xhc3M9InN0MSIgaWQ9IlhNTElEXzMwXyIgcG9pbnRzPSIxNi4wMSwxMi4zIDcuNjIsMTYuMjMgMTYuMDEsMjEuNSAyNC4zOCwxNi4xOCAgICIvPg0KDQo8bGluZSBjbGFzcz0ic3QxIiBpZD0iWE1MSURfMzJfIiB4MT0iMTYuMDEiIHgyPSIxNi4wMSIgeTE9IjEuNSIgeTI9IjIxLjUiLz4NCg0KPHBvbHlnb24gY2xhc3M9InN0MSIgaWQ9IlhNTElEXzE5Ml8iIHBvaW50cz0iMTYuMDEsMS41IDcuNjIsMTYuMjMgMTYuMDEsMjEuNSAyNC4zOCwxNi4xOCAgICIvPg0KDQo8L2c+DQoNCjwvZz4NCg0KPC9zdmc+",kb="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",Hb="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",qb="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",$b="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",Gb="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",Vb="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",Fb="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",Qb="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",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='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",Xb="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",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:%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",Kb="/assets/popcat-DOGy5LFs.svg",Ib="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",Pb="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",Wb="/assets/uni-C5oaqT41.svg",Jb="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",ej="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",tj="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",nj="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",Mt={BTC:Bb,ETH:Ub,SOL:kb,TRX:Hb,BNB:qb,ARB:$b,BONK:Gb,BUSD:Vb,DAI:Fb,DOGE:Qb,JUP:Yb,LINK:Xb,ORCA:Zb,POPCAT:Kb,PYTH:Ib,RAY:Pb,UNI:Wb,USDC:Jb,USDT:ej,W:tj,WIF:nj};function ym(s){return Mt[s.toUpperCase()]}function so(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 lj=[{ticker:"BTC",name:"Bitcoin",logo:Mt.BTC,color:"#F7931A",price:"$66,916.00",change:.12,bal:"0.003295",usd:"$220.57",fav:!0},{ticker:"ETH",name:"Ethereum",logo:Mt.ETH,color:"#627EEA",price:"$2,053.97",change:-.12,bal:"0.07636",usd:"$156.51",fav:!1},{ticker:"SOL",name:"Solana",logo:Mt.SOL,color:"#9945FF",price:"$163.84",change:-1.57,bal:"0.07636",usd:"$156.51",fav:!1},{ticker:"TRX",name:"Tron",logo:Mt.TRX,color:"#FF060A",price:"$0.1197",change:1.33,bal:"0.07636",usd:"$156.51",fav:!1},{ticker:"BNB",name:"BNB",logo:Mt.BNB,color:"#F3BA2F",price:"$0.00",change:0,bal:"0.00000",usd:"$0.00",fav:!1}],aj={BTC:"BTC",ETH:"ETH",SOL:"SOL",TRX:"TRX",BSC:"BNB"},sj={BTC:"Bitcoin",ETH:"Ethereum",SOL:"Solana",TRX:"Tron",BSC:"BNB"},xm="#2A2D3A";function bm(s){return s==null?"$—":`$${s.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})}`}function jm(s){return s==null?"$—":s>=1?`$${s.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})}`:`$${s.toLocaleString("en-US",{minimumFractionDigits:4,maximumFractionDigits:6})}`}function Sm(s){return lj.find(c=>c.ticker===s)}function ij(s){const{data:c,isLoading:i}=ao(s);if(!c)return{rows:[],isLoading:i};const o=aj[s],d=Sm(o),h={ticker:o,name:sj[s],logo:ym(o)??(d==null?void 0:d.logo),color:(d==null?void 0:d.color)??xm,price:jm(c.native.usdPrice),change:0,bal:so(c.native.formatted),usd:bm(c.native.usdValue),fav:!1},m=Object.entries(c.tokens??{}).map(([p,g])=>{const v=Sm(p);return{ticker:p,name:(v==null?void 0:v.name)??p,logo:ym(p)??(v==null?void 0:v.logo),color:(v==null?void 0:v.color)??xm,price:jm(g.usdPrice),change:0,bal:so(g.formatted),usd:bm(g.usdValue),fav:!1}});return{rows:[h,...m],isLoading:i}}const cj={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"]},rj={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}},Nm={BTC:"BTC",ETH:"ETH",SOL:"SOL",TRX:"TRX",BSC:"BSC"},oj="_overlay_1hejd_1",uj="_dialog_1hejd_14",dj="_dialogIn_1hejd_1",fj="_header_1hejd_37",hj="_title_1hejd_44",mj="_close_1hejd_50",pj="_selectsRow_1hejd_72",vj="_selectGroup_1hejd_79",gj="_selectLabel_1hejd_83",_j="_selectTrigger_1hejd_93",yj="_selectTriggerOpen_1hejd_112",xj="_selectValue_1hejd_117",bj="_chevron_1hejd_125",jj="_chevronOpen_1hejd_131",Sj="_tokenDot_1hejd_137",Nj="_speedDot_1hejd_158",wj="_speedDot_slow_1hejd_165",Cj="_speedDot_normal_1hejd_170",Tj="_speedDot_fast_1hejd_175",Ej="_dropdown_1hejd_182",Rj="_dropdownItem_1hejd_195",Aj="_dropdownItemActive_1hejd_215",Mj="_dropdownTicker_1hejd_220",Oj="_dropdownName_1hejd_225",Dj="_field_1hejd_233",zj="_fieldLabel_1hejd_237",Lj="_input_1hejd_247",Bj="_amountWrap_1hejd_283",Uj="_amountInput_1hejd_287",kj="_amountTicker_1hejd_291",Hj="_maxHint_1hejd_304",qj="_maxBtn_1hejd_314",$j="_errorMsg_1hejd_333",Gj="_submitBtn_1hejd_346",re={overlay:oj,dialog:uj,dialogIn:dj,header:fj,title:hj,close:mj,selectsRow:pj,selectGroup:vj,selectLabel:gj,selectTrigger:_j,selectTriggerOpen:yj,selectValue:xj,chevron:bj,chevronOpen:jj,tokenDot:Sj,speedDot:Nj,speedDot_slow:wj,speedDot_normal:Cj,speedDot_fast:Tj,dropdown:Ej,dropdownItem:Rj,dropdownItemActive:Aj,dropdownTicker:Mj,dropdownName:Oj,field:Dj,fieldLabel:zj,input:Lj,amountWrap:Bj,amountInput:Uj,amountTicker:kj,maxHint:Hj,maxBtn:qj,errorMsg:$j,submitBtn:Gj},wm=[{value:"slow",label:"Медленно"},{value:"normal",label:"Нормально"},{value:"fast",label:"Быстро"}];function Vj(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 Fj({open:s,onClose:c,network:i,tokens:o=[],initialToken:d=""}){var ze;const h=rj[i],m=cj[i],[p,g]=b.useState(d),[v,x]=b.useState("normal"),[y,N]=b.useState(""),[E,A]=b.useState(""),[M,w]=b.useState(null),O=wb(),F=((ze=wm.find(ue=>ue.value===v))==null?void 0:ze.label)??"Нормально",H=p===""?h.nativeSymbol:p,V=o.find(ue=>ue.ticker===(p===""?h.nativeSymbol:p));if(b.useEffect(()=>{g(d)},[d]),b.useEffect(()=>{g("")},[i]),b.useEffect(()=>{O.isSuccess&&c()},[O.isSuccess,c]),b.useEffect(()=>{if(!s){N(""),A(""),w(null),O.reset();return}const ue=Ce=>{Ce.key==="Escape"&&c()};return document.addEventListener("keydown",ue),()=>document.removeEventListener("keydown",ue)},[s,c]),!s)return null;const Z=h.hasToken,ne=h.hasFeeTier,P=Z||ne,J=Z&&ne?2:1;function se(){M?w(null):c()}function me(ue,Ce){const[Le,U=""]=ue.split("."),Q=U.slice(0,Ce).padEnd(Ce,"0");return(BigInt(Le||"0")*10n**BigInt(Ce)+BigInt(Q||"0")).toString()}function ve(){const Ce=p===""?me(E,h.nativeDecimals):E;O.mutate({chain:i,to:y,amount:Ce,...p?{token:p}:{},...h.hasFeeTier?{feeTier:v}:{}})}return l.jsx("div",{className:re.overlay,onClick:se,children:l.jsxs("div",{className:re.dialog,onClick:ue=>ue.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"})})})]}),P&&l.jsxs("div",{className:re.selectsRow,style:{gridTemplateColumns:`repeat(${J}, 1fr)`},children:[Z&&l.jsxs("div",{className:re.selectGroup,children:[l.jsx("label",{className:re.selectLabel,children:"Токен"}),l.jsxs("button",{type:"button",className:`${re.selectTrigger} ${M==="token"?re.selectTriggerOpen:""}`,onClick:()=>w(ue=>ue==="token"?null:"token"),children:[l.jsx("span",{className:re.tokenDot,style:{background:h.color},children:H[0]}),l.jsx("span",{className:re.selectValue,children:H}),l.jsx("svg",{className:`${re.chevron} ${M==="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"})})]}),M==="token"&&l.jsxs("div",{className:re.dropdown,children:[l.jsxs("button",{type:"button",className:`${re.dropdownItem} ${p===""?re.dropdownItemActive:""}`,onClick:()=>{g(""),w(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(ue=>l.jsxs("button",{type:"button",className:`${re.dropdownItem} ${p===ue?re.dropdownItemActive:""}`,onClick:()=>{g(ue),w(null)},children:[l.jsx("span",{className:re.tokenDot,style:{background:"rgba(255,255,255,0.12)"},children:ue[0]}),l.jsx("span",{className:re.dropdownTicker,children:ue})]},ue))]})]}),ne&&l.jsxs("div",{className:re.selectGroup,children:[l.jsx("label",{className:re.selectLabel,children:"Скорость"}),l.jsxs("button",{type:"button",className:`${re.selectTrigger} ${M==="speed"?re.selectTriggerOpen:""}`,onClick:()=>w(ue=>ue==="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} ${M==="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"})})]}),M==="speed"&&l.jsx("div",{className:re.dropdown,children:wm.map(ue=>l.jsxs("button",{type:"button",className:`${re.dropdownItem} ${ue.value===v?re.dropdownItemActive:""}`,onClick:()=>{x(ue.value),w(null)},children:[l.jsx("span",{className:`${re.speedDot} ${re[`speedDot_${ue.value}`]}`}),l.jsx("span",{children:ue.label})]},ue.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:ue=>N(ue.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:ue=>A(ue.target.value),min:"0",step:"any"}),l.jsx("span",{className:re.amountTicker,children:H})]}),V&&l.jsxs("div",{className:re.maxHint,children:["Макс:"," ",l.jsxs("button",{type:"button",className:re.maxBtn,onClick:()=>A(V.bal),children:[V.bal," ",H]})]})]}),O.isError&&l.jsx("div",{className:re.errorMsg,children:Vj(O.error)}),l.jsx("button",{className:re.submitBtn,type:"button",disabled:O.isPending,onClick:ve,children:O.isPending?"Отправка…":"Отправить"})]})})}const Qj="_overlay_qs9u3_6",Yj="_dialog_qs9u3_18",Xj="_header_qs9u3_27",Zj="_title_qs9u3_34",Kj="_closeBtn_qs9u3_40",Ij="_body_qs9u3_55",Pj="_label_qs9u3_62",Wj="_fieldRow_qs9u3_68",Jj="_addressInput_qs9u3_73",e8="_copyBtn_qs9u3_92",t8="_copyBtnDone_qs9u3_118",n8="_skeleton_qs9u3_123",l8="_error_qs9u3_136",on={overlay:Qj,dialog:Yj,header:Xj,title:Zj,closeBtn:Kj,body:Ij,label:Pj,fieldRow:Wj,addressInput:Jj,copyBtn:e8,copyBtnDone:t8,skeleton:n8,error:l8},a8={ETH:"Ethereum",BSC:"BSC Smart Chain",BTC:"Bitcoin",TRX:"Tron",SOL:"Solana"};function s8({open:s,onClose:c,chain:i}){const{data:o,isLoading:d,isError:h}=fo(),[m,p]=b.useState(!1);if(b.useEffect(()=>{if(!s)return;function N(E){E.key==="Escape"&&c()}return window.addEventListener("keydown",N),()=>window.removeEventListener("keydown",N)},[s,c]),b.useEffect(()=>{s||p(!1)},[s]),!s)return null;const g=o==null?void 0:o.find(N=>N.chain===i),v=(g==null?void 0:g.address)??"";function x(){v&&navigator.clipboard.writeText(v).then(()=>{p(!0),setTimeout(()=>p(!1),2e3)})}function y(N){N.target===N.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:["Получить ",a8[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:N=>N.target.select()}),l.jsx("button",{className:`${on.copyBtn} ${m?on.copyBtnDone:""}`,type:"button",onClick:x,disabled:!v,children:m?"Скопировано!":"Копировать"})]})]})]})]})})}const i8="_wrap_2q74k_1",c8="_loading_2q74k_9",r8="_table_2q74k_14",o8="_thStar_2q74k_44",u8="_right_2q74k_48",d8="_center_2q74k_52",f8="_btnGroup_2q74k_57",h8="_star_2q74k_63",m8="_starOn_2q74k_78",p8="_tokId_2q74k_82",v8="_tokLogo_2q74k_88",g8="_price_2q74k_123",_8="_balCol_2q74k_150",y8="_sendBtn_2q74k_163",x8="_receiveBtn_2q74k_186",b8="_noFont_2q74k_209",j8="_mobileList_2q74k_214",S8="_card_2q74k_218",N8="_cardInfo_2q74k_230",w8="_cardTop_2q74k_235",C8="_cardTicker_2q74k_242",T8="_cardName_2q74k_248",E8="_cardBalCrypto_2q74k_254",R8="_cardBot_2q74k_261",A8="_cardPrice_2q74k_267",M8="_cardBalUsd_2q74k_279",O8="_mobileActions_2q74k_300",we={wrap:i8,loading:c8,table:r8,thStar:o8,right:u8,center:d8,btnGroup:f8,star:h8,starOn:m8,tokId:p8,tokLogo:v8,price:g8,balCol:_8,sendBtn:y8,receiveBtn:x8,noFont:b8,mobileList:j8,card:S8,cardInfo:N8,cardTop:w8,cardTicker:C8,cardName:T8,cardBalCrypto:E8,cardBot:R8,cardPrice:A8,cardBalUsd:M8,mobileActions:O8};function D8({chain:s}){const{rows:c,isLoading:i}=ij(s),[o,d]=b.useState({}),[h,m]=b.useState({open:!1,network:"ETH"}),[p,g]=b.useState({open:!1,chain:"ETH"});function v(w){const O=Nm[w]??s;m({open:!0,network:O})}function x(){m(w=>({...w,open:!1}))}function y(w){const O=Nm[w]??s;g({open:!0,chain:O})}function N(){g(w=>({...w,open:!1}))}function E(w){d(O=>({...O,[w]:!O[w]}))}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"})}),M=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(w=>l.jsxs("tr",{children:[l.jsx("td",{children:l.jsx("button",{className:`${we.star} ${o[w.ticker]?we.starOn:""}`,onClick:()=>E(w.ticker),type:"button","aria-label":o[w.ticker]?"Убрать из избранного":"В избранное",children:"★"})}),l.jsx("td",{children:l.jsxs("div",{className:we.tokId,children:[l.jsx("div",{className:we.tokLogo,style:{background:w.color},children:w.logo?l.jsx("img",{src:w.logo,alt:w.ticker,className:""}):w.ticker[0]}),l.jsxs("div",{className:we.balCol,children:[l.jsx("b",{className:we.cardTicker,children:w.ticker}),l.jsx("span",{className:we.noFont,children:w.name})]})]})}),l.jsx("td",{className:we.right,children:l.jsx("span",{className:we.price,children:w.price})}),l.jsx("td",{className:we.right,children:l.jsxs("div",{className:we.balCol,children:[l.jsx("b",{children:w.bal}),l.jsx("span",{children:w.usd})]})}),l.jsx("td",{className:we.center,children:l.jsxs("div",{className:we.btnGroup,children:[l.jsxs("button",{className:we.receiveBtn,type:"button",onClick:O=>{O.stopPropagation(),y(w.ticker)},children:[M,"Получить"]}),l.jsxs("button",{className:we.sendBtn,type:"button",onClick:O=>{O.stopPropagation(),v(w.ticker)},children:[A,"Отправить"]})]})})]},w.ticker))})]}),l.jsx("div",{className:we.mobileList,children:c.map(w=>l.jsxs("div",{className:we.card,children:[l.jsx("button",{className:`${we.star} ${o[w.ticker]?we.starOn:""}`,onClick:()=>E(w.ticker),type:"button","aria-label":o[w.ticker]?"Убрать из избранного":"В избранное",children:"★"}),l.jsx("div",{className:we.tokLogo,style:{background:w.color},children:w.logo?l.jsx("img",{src:w.logo,alt:w.ticker,className:""}):w.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:w.ticker}),l.jsx("span",{className:we.cardName,children:w.name})]}),l.jsx("span",{className:we.cardBalCrypto,children:w.bal})]}),l.jsxs("div",{className:we.cardBot,children:[l.jsx("span",{className:we.cardPrice,children:w.price}),l.jsx("span",{className:we.cardBalUsd,children:w.usd})]})]})]},w.ticker))})]}),l.jsxs("div",{className:we.mobileActions,children:[l.jsxs("button",{className:we.receiveBtn,type:"button",onClick:()=>{var w;return y(((w=c[0])==null?void 0:w.ticker)??"")},children:[M,"Получить"]}),l.jsxs("button",{className:we.sendBtn,type:"button",onClick:()=>{var w;return v(((w=c[0])==null?void 0:w.ticker)??"")},children:[A,"Отправить"]})]}),l.jsx(Fj,{open:h.open,onClose:x,network:h.network,tokens:c}),l.jsx(s8,{open:p.open,onClose:N,chain:p.chain})]})}const z8="_nav_ip34n_1",L8="_logo_ip34n_11",B8="_ticker_ip34n_16",U8="_tick_ip34n_16",k8="_accountWrapper_ip34n_42",H8="_account_ip34n_42",q8="_dropdown_ip34n_56",$8="_dropdownItem_ip34n_70",G8="_danger_ip34n_89",V8="_avatar_ip34n_93",Kt={nav:z8,logo:L8,ticker:B8,tick:U8,accountWrapper:k8,account:H8,dropdown:q8,dropdownItem:$8,danger:G8,avatar:V8},Cm=["BTC","ETH","SOL"],F8=s=>s?s[0].toUpperCase()+s.slice(1).toLowerCase():"";function Q8(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=On(),m=fa(),{data:p}=ri(),{data:g}=Nb(Cm),v=p?[p.first_name,p.middle_name].filter(Boolean).map(F8).join(" "):"",{mutate:x}=qt({mutationFn:tb,onSuccess:()=>{An.clear(),m.setQueryData(uo,null),h(fe.HOME)},onError:()=>o(!0)});b.useEffect(()=>{function N(E){d.current&&!d.current.contains(E.target)&&c(!1)}return document.addEventListener("mousedown",N),()=>document.removeEventListener("mousedown",N)},[]);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:Cm.map(N=>{var E;return l.jsxs("div",{className:Kt.tick,children:[l.jsx("b",{children:N}),l.jsx("span",{children:Q8((E=g==null?void 0:g[N])==null?void 0:E.usd)})]},N)})}),l.jsxs("div",{className:Kt.accountWrapper,ref:d,children:[l.jsxs("button",{className:Kt.account,onClick:()=>c(N=>!N),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(M2,{status:"error",message:"Произошла ошибка сервера",onClose:()=>o(!1)})]})}const Y8="_tabs_1ne0a_1",X8="_tab_1ne0a_1",Z8="_active_1ne0a_31",K8="_icon_1ne0a_37",Zr={tabs:Y8,tab:X8,active:Z8,icon:K8},I8=[{chain:"BTC",label:"BTC",icon:Mt.BTC},{chain:"ETH",label:"ETH",icon:Mt.ETH},{chain:"SOL",label:"SOL",icon:Mt.SOL},{chain:"TRX",label:"TRX",icon:Mt.TRX},{chain:"BSC",label:"BSC",icon:Mt.BNB}];function P8(){return l.jsx("div",{className:Zr.tabs,children:I8.map(s=>l.jsxs(Ep,{to:`/wallet/${s.chain.toLowerCase()}`,className:({isActive:c})=>`${Zr.tab} ${c?Zr.active:""}`,children:[l.jsx("img",{src:s.icon,alt:s.label,className:Zr.icon}),l.jsx("span",{children:s.label})]},s.chain))})}const W8="_page_10fz2_1",J8="_main_10fz2_8",e7="_glow_10fz2_17",t7="_error_10fz2_29",n7="_noWallet_10fz2_38",oc={page:W8,main:J8,glow:e7,error:t7,noWallet:n7};function Tm(){var y;const{data:s,isLoading:c,isError:i}=ri(),{error:o}=q2(),{mutate:d,isPending:h}=Cb(),m=On(),{chain:p}=U_(),g=(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:oc.error,children:"Произошла ошибка. Попробуйте обновить страницу."});if(s&&!s.kyc_verified)return l.jsx(vc,{to:fe.KYC,replace:!0});const v=p==null?void 0:p.toUpperCase(),x=v&&ub.includes(v)?v:void 0;return!g&&!x?l.jsx(vc,{to:"/wallet/btc",replace:!0}):l.jsxs("div",{className:oc.page,children:[l.jsx(Ia,{}),l.jsxs("main",{className:oc.main,children:[l.jsx("div",{className:oc.glow}),g?l.jsxs("div",{className:oc.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(Lb,{}),l.jsx(P8,{}),l.jsx(D8,{chain:x})]})]})]})}const o3=Mt.BTC,u3=Mt.ETH,d3=Mt.SOL,f3=Mt.TRX,h3=Mt.ARB,g2={BTC:{symbol:"BTC",letter:"₿",logo:o3,color:"#F7931A",network:"BITCOIN",balance:0,usdRate:67412,decimals:8},ETH:{symbol:"ETH",letter:"E",logo:u3,color:"#627EEA",network:"ETHEREUM",balance:0,usdRate:3521,decimals:18},SOL:{symbol:"SOL",letter:"S",logo:d3,color:"#9945FF",network:"SOLANA",balance:.994,usdRate:163.84,decimals:9},TRX:{symbol:"TRX",letter:"T",logo:f3,color:"#FF060A",network:"TRON",balance:0,usdRate:.12,decimals:6},ARB:{symbol:"ARB",letter:"A",logo:h3,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(g2),Em={BTC:{letter:"₿",logo:o3,color:"#F7931A"},ETH:{letter:"E",logo:u3,color:"#627EEA"},BSC:{letter:"B",color:"#F3BA2F"},SOL:{letter:"S",logo:d3,color:"#9945FF"},TRX:{letter:"T",logo:f3,color:"#FF060A"},ARB:{letter:"A",logo:h3,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"}},l7={ETH:"ETH",BSC:"BSC",BTC:"BTC",TRX:"TRX",SOL:"SOL"};function y2(s){const c=[],i=l7[s.chain]??s.chain,o=Em[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=Em[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 Rm=82.2578;function m3(){const[s,c]=b.useState("0"),[i,o]=b.useState(g2.SOL),[d,h]=b.useState(g2.USDC),[m,p]=b.useState(!1),g=parseFloat(s)||0,v=(g*Rm).toFixed(4),x=(g*i.usdRate).toFixed(2),y=(g*Rm*d.usdRate).toFixed(2);function N(w){c(w)}function E(w){c((i.balance*w/100).toFixed(4))}function A(){o(d),h(i)}function M(){p(!0),setTimeout(()=>p(!1),400)}return{fromAmount:s,toAmount:v,fromUsd:x,toUsd:y,fromToken:i,toToken:d,isRefreshing:m,setFromAmount:N,setPercent:E,swapTokens:A,refreshRate:M,setFromToken:o,setToToken:h}}const a7="_wrap_18yiu_1",s7="_trigger_18yiu_6",i7="_name_18yiu_22",c7="_chevron_18yiu_29",r7="_chevronOpen_18yiu_37",o7="_dropdown_18yiu_41",u7="_dropdownWrapper_18yiu_47",d7="_option_18yiu_60",f7="_optionActive_18yiu_78",h7="_optionInfo_18yiu_82",m7="_optionSymbol_18yiu_90",p7="_optionNetwork_18yiu_96",v7="_check_18yiu_103",g7="_triggerCompact_18yiu_110",_7="_nameCompact_18yiu_116",zt={wrap:a7,trigger:s7,name:i7,chevron:c7,chevronOpen:r7,dropdown:o7,dropdownWrapper:u7,option:d7,optionActive:f7,optionInfo:h7,optionSymbol:m7,optionNetwork:p7,check:v7,triggerCompact:g7,nameCompact:_7};function Am({value:s,options:c,onChange:i,compact:o=!1}){const[d,h]=b.useState(!1),m=b.useRef(null);b.useEffect(()=>{function g(v){m.current&&!m.current.contains(v.target)&&h(!1)}return document.addEventListener("mousedown",g),()=>document.removeEventListener("mousedown",g)},[]);function p(g){i(g),h(!1)}return l.jsxs("div",{className:zt.wrap,ref:m,children:[l.jsxs("button",{className:`${zt.trigger} ${o?zt.triggerCompact:""}`,onClick:()=>h(g=>!g),children:[l.jsx(im,{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(g=>l.jsxs("button",{className:`${zt.option} ${g.symbol===s.symbol?zt.optionActive:""}`,onClick:()=>p(g),children:[l.jsx(im,{letter:g.letter,color:g.color,logo:g.logo,size:32}),l.jsxs("div",{className:zt.optionInfo,children:[l.jsx("span",{className:zt.optionSymbol,children:g.symbol}),l.jsx("span",{className:zt.optionNetwork,children:g.network})]}),g.symbol===s.symbol&&l.jsx("span",{className:zt.check,children:"✓"})]},g.symbol))})})]})}const y7="_wrapper_19brp_1",x7="_pillsOuter_19brp_8",b7="_card_19brp_13",j7="_top_19brp_20",S7="_label_19brp_33",N7="_networkPills_19brp_54",w7="_networkBtn_19brp_60",C7="_networkBtnActive_19brp_79",T7="_pillsInner_19brp_85",E7="_pill_19brp_8",R7="_selectTop_19brp_109",A7="_selectMid_19brp_113",M7="_mid_19brp_118",O7="_input_19brp_126",D7="_display_19brp_142",z7="_int_19brp_151",L7="_dec_19brp_156",B7="_bottom_19brp_161",U7="_usd_19brp_167",k7="_balance_19brp_176",H7="_max_19brp_184",ct={wrapper:y7,pillsOuter:x7,card:b7,top:j7,label:S7,networkPills:N7,networkBtn:w7,networkBtnActive:C7,pillsInner:T7,pill:E7,selectTop:R7,selectMid:A7,mid:M7,input:O7,display:D7,int:z7,dec:L7,bottom:B7,usd:U7,balance:k7,max:H7},q7=["ETH","BSC","TRX","SOL"],$7=[25,50,100];function io({mode:s,token:c,tokenOptions:i,amount:o,usd:d,onTokenChange:h,onAmountChange:m,onSetPercent:p,selectedNetwork:g,onNetworkChange:v,hideNetworkSelect:x}){const[y,N]=so(o,8).split("."),E=p&&l.jsx(l.Fragment,{children:$7.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:q7.map(A=>l.jsx("button",{className:`${ct.networkBtn} ${A===g?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(Am,{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 M=A.target.value;(/^(\d+\.?\d*|\.?\d*)$/.test(M)||M==="")&&(m==null||m(M))},placeholder:"0"}):l.jsxs("div",{className:ct.display,children:[l.jsx("span",{className:ct.int,children:y}),N&&l.jsxs("span",{className:ct.dec,children:[".",N]})]}),l.jsx("div",{className:ct.selectMid,children:l.jsx(Am,{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"})]}),so(c.balance,8),s==="from"&&p&&l.jsx("button",{className:ct.max,onClick:()=>p(100),children:"МАКС"})]})]})]})]})}const G7="_wrap_wqzoz_1",V7="_line_wqzoz_11",F7="_circle_wqzoz_19",$0={wrap:G7,line:V7,circle:F7};function p3({onClick:s}){const[c,i]=b.useState(!1);function o(){i(!0),setTimeout(()=>i(!1),300),s()}return l.jsxs("div",{className:$0.wrap,children:[l.jsx("div",{className:$0.line}),l.jsx("button",{className:$0.circle,style:{transform:c?"rotate(180deg)":"rotate(0deg)"},onClick:o,"aria-label":"Поменять токены",children:"⇅"})]})}const Q7="_panel_16d4z_1",Y7="_row_16d4z_10",X7="_label_16d4z_22",Z7="_value_16d4z_30",K7="_link_16d4z_36",uc={panel:Q7,row:Y7,label:X7,value:Z7,link:K7};function v3({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:uc.panel,children:c.map(({label:i,value:o,link:d})=>l.jsxs("div",{className:uc.row,children:[l.jsx("span",{className:uc.label,children:i}),l.jsx("span",{className:`${uc.value} ${d?uc.link:""}`,children:o})]},i))})}const I7="_overlay_1gegs_1",P7="_card_1gegs_12",W7="_header_1gegs_24",J7="_title_1gegs_30",e9="_closeBtn_1gegs_36",t9="_flow_1gegs_51",n9="_token_1gegs_57",l9="_tokenLabel_1gegs_67",a9="_tokenAmount_1gegs_75",s9="_tokenUsd_1gegs_81",i9="_arrow_1gegs_86",c9="_details_1gegs_93",r9="_row_1gegs_99",o9="_rowLabel_1gegs_105",u9="_rowValue_1gegs_110",d9="_impact_1gegs_116",f9="_confirmBtn_1gegs_120",Ke={overlay:I7,card:P7,header:W7,title:J7,closeBtn:e9,flow:t9,token:n9,tokenLabel:l9,tokenAmount:a9,tokenUsd:s9,arrow:i9,details:c9,row:r9,rowLabel:o9,rowValue:u9,impact:d9,confirmBtn:f9};function g3({data:s,onConfirm:c,onClose:i}){const{details:o,fees:d}=s,{currencyIn:h,currencyOut:m,totalImpact:p,rate:g}=o,v=parseFloat(p.percent),x=parseFloat(g).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 h9="_overlay_cse4p_1",m9="_card_cse4p_12",p9="_header_cse4p_24",v9="_title_cse4p_30",g9="_closeBtn_cse4p_36",_9="_flow_cse4p_51",y9="_token_cse4p_57",x9="_tokenLabel_cse4p_67",b9="_tokenAmount_cse4p_75",j9="_minOut_cse4p_81",S9="_arrow_cse4p_86",N9="_details_cse4p_93",w9="_row_cse4p_99",C9="_rowLabel_cse4p_105",T9="_rowValue_cse4p_110",E9="_confirmBtn_cse4p_116",pt={overlay:h9,card:m9,header:p9,title:v9,closeBtn:g9,flow:_9,token:y9,tokenLabel:x9,tokenAmount:b9,minOut:j9,arrow:S9,details:N9,row:w9,rowLabel:C9,rowValue:T9,confirmBtn:E9};function _3({quote:s,fromSymbol:c,toSymbol:i,amountHuman:o,onConfirm:d,onClose:h}){const{expectedOutFormatted:m,minOutFormatted:p,fees:g}=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:[g.network.amountFormatted," ",g.network.asset," (≈$",g.network.amountUsd,")"]})]})}),l.jsx("button",{className:pt.confirmBtn,onClick:d,children:"Подтвердить"})]})})}const R9="_form_1fk2f_1",A9={form:R9},M9={ETH:1,BSC:56,SOL:792703809},Mm={SOL:"11111111111111111111111111111111",DEFAULT:"0x0000000000000000000000000000000000000000"};function Om(s){return Mm[s]??Mm.DEFAULT}function O9(){var he,_e,Me,ot;const{fromAmount:s,fromUsd:c,fromToken:i,toToken:o,setFromAmount:d,setPercent:h,swapTokens:m,setFromToken:p,setToToken:g}=m3(),[v,x]=b.useState("ETH"),[y,N]=b.useState(null),[E,A]=b.useState(null),M=v==="TRX",{data:w}=ao(v),O=w?y2(w):_2;b.useEffect(()=>{O.length!==0&&(p(ye=>O.find($t=>$t.symbol===ye.symbol)??O[0]),g(ye=>O.find($t=>$t.symbol===ye.symbol)??O[1]??O[0]))},[w,v]);const F=Js(s,500),{data:H}=fo(),{data:V}=n3(),Z=parseFloat(F),ne=M9[v],P=(he=H==null?void 0:H.find(ye=>ye.chain===v))==null?void 0:he.address,J=((_e=V==null?void 0:V.find(ye=>ye.chain===v&&ye.symbol===i.symbol))==null?void 0:_e.contract)??Om(v),se=((Me=V==null?void 0:V.find(ye=>ye.chain===v&&ye.symbol===o.symbol))==null?void 0:Me.contract)??Om(v),me=!M&&ne&&P&&Z>0?{user:P,recipient:P,originChainId:ne,destinationChainId:ne,originCurrency:J,destinationCurrency:se,amount:Math.round(Z*Math.pow(10,i.decimals)).toString(),tradeType:"EXACT_INPUT"}:null,{data:ve}=l3(me),{mutate:ze,isPending:ue}=a3(),{mutate:Ce}=s3(),Le=M&&Z>0?{from:i.symbol,to:o.symbol,amountHuman:F}:null,{data:U}=i3(Le),{mutate:Q,isPending:oe}=c3(),{mutate:Be}=r3(),He=M?(U==null?void 0:U.expectedOutFormatted)??"0":(ve==null?void 0:ve.details.currencyOut.amountFormatted)??"0",T=M||ve==null?void 0:ve.details.currencyOut.amountUsd,q=M?(ot=U==null?void 0:U.fees.network.amountUsd)==null?void 0:ot.toString():ve==null?void 0:ve.fees.gas.amountUsd,K=M?Z<=0||oe:!me||ue;function ee(){if(M){if(!Le)return;Q(Le,{onSuccess:ye=>A(ye)})}else{if(!me)return;ze(me,{onSuccess:ye=>N(ye)})}}return l.jsxs("div",{className:A9.form,children:[l.jsx(io,{mode:"from",token:i,tokenOptions:O,amount:s,usd:c,onAmountChange:d,onSetPercent:h,onTokenChange:p,selectedNetwork:v,onNetworkChange:x}),l.jsx(p3,{onClick:m}),l.jsx(io,{mode:"to",token:o,tokenOptions:O,amount:He,usd:T,onTokenChange:g}),l.jsx(v3,{gasFee:q}),l.jsx(Za,{onClick:ee,disabled:K}),y&&l.jsx(g3,{data:y,onClose:()=>N(null),onConfirm:()=>{var $t,Hn;const ye=(Hn=($t=y.steps[0])==null?void 0:$t.items[0])==null?void 0:Hn.data;ye&&Ce({chain:v,txData:ye}),N(null)}}),E&&l.jsx(_3,{quote:E,fromSymbol:i.symbol,toSymbol:o.symbol,amountHuman:s,onClose:()=>A(null),onConfirm:()=>{Be(E.quoteId),A(null)}})]})}const D9="_page_vqv0y_1",z9="_tabs_vqv0y_8",L9="_tab_vqv0y_8",B9="_active_vqv0y_26",U9="_inactive_vqv0y_31",k9="_main_vqv0y_40",za={page:D9,tabs:z9,tab:L9,active:B9,inactive:U9,main:k9};function H9(){const s=On();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(O9,{})}),l.jsx(Jn,{})]})}const q9="_wrap_njjv3_1",$9="_label_njjv3_9",G9="_select_njjv3_18",G0={wrap:q9,label:$9,select:G9},V9=["ETH","BSC","TRX","SOL"];function Dm({label:s,value:c,onChange:i}){return l.jsxs("div",{className:G0.wrap,children:[l.jsx("span",{className:G0.label,children:s}),l.jsx("select",{className:G0.select,value:c,onChange:o=>i(o.target.value),children:V9.map(o=>l.jsx("option",{value:o,children:o},o))})]})}const F9="_form_htwuf_1",Q9={form:F9},zm={ETH:1,BSC:56,SOL:792703809},Lm={SOL:"11111111111111111111111111111111",DEFAULT:"0x0000000000000000000000000000000000000000"};function Bm(s){return Lm[s]??Lm.DEFAULT}function Y9(){var Hn,Pa,ui,qn,Wa;const{fromAmount:s,fromUsd:c,fromToken:i,toToken:o,setFromAmount:d,setPercent:h,swapTokens:m,setFromToken:p,setToToken:g}=m3(),[v,x]=b.useState("ETH"),[y,N]=b.useState("BSC"),[E,A]=b.useState(null),[M,w]=b.useState(null),O=v==="TRX",{data:F}=ao(v),{data:H}=ao(y),V=F?y2(F):_2,Z=H?y2(H):_2;b.useEffect(()=>{V.length!==0&&p(We=>V.find(El=>El.symbol===We.symbol)??V[0])},[F,v]),b.useEffect(()=>{Z.length!==0&&g(We=>Z.find(El=>El.symbol===We.symbol)??Z[0])},[H,y]);const ne=Js(s,500),{data:P}=fo(),{data:J}=n3(),se=parseFloat(ne),me=zm[v],ve=zm[y],ze=(Hn=P==null?void 0:P.find(We=>We.chain===v))==null?void 0:Hn.address,ue=(Pa=P==null?void 0:P.find(We=>We.chain===y))==null?void 0:Pa.address,Ce=((ui=J==null?void 0:J.find(We=>We.chain===v&&We.symbol===i.symbol))==null?void 0:ui.contract)??Bm(v),Le=((qn=J==null?void 0:J.find(We=>We.chain===y&&We.symbol===o.symbol))==null?void 0:qn.contract)??Bm(y),U=!O&&me&&ve&&ze&&se>0?{user:ze,recipient:ue??ze,originChainId:me,destinationChainId:ve,originCurrency:Ce,destinationCurrency:Le,amount:Math.round(se*Math.pow(10,i.decimals)).toString(),tradeType:"EXACT_INPUT"}:null,{data:Q}=l3(U),{mutate:oe,isPending:Be}=a3(),{mutate:He}=s3(),T=O&&se>0?{from:i.symbol,to:o.symbol,amountHuman:ne}:null,{data:q}=i3(T),{mutate:K,isPending:ee}=c3(),{mutate:he}=r3(),_e=O?(q==null?void 0:q.expectedOutFormatted)??"0":(Q==null?void 0:Q.details.currencyOut.amountFormatted)??"0",Me=O||Q==null?void 0:Q.details.currencyOut.amountUsd,ot=O?(Wa=q==null?void 0:q.fees.network.amountUsd)==null?void 0:Wa.toString():Q==null?void 0:Q.fees.gas.amountUsd,ye=O?se<=0||ee:!U||Be;function $t(){if(O){if(!T)return;K(T,{onSuccess:We=>w(We)})}else{if(!U)return;oe(U,{onSuccess:We=>A(We)})}}return l.jsxs("div",{className:Q9.form,children:[l.jsx(Dm,{label:"ИЗ",value:v,onChange:x}),l.jsx(io,{mode:"from",token:i,tokenOptions:V,amount:s,usd:c,onAmountChange:d,onSetPercent:h,onTokenChange:p,hideNetworkSelect:!0}),l.jsx(p3,{onClick:m}),l.jsx(Dm,{label:"В",value:y,onChange:N}),l.jsx(io,{mode:"to",token:o,tokenOptions:Z,amount:_e,usd:Me,onTokenChange:g,hideNetworkSelect:!0}),l.jsx(v3,{gasFee:ot}),l.jsx(Za,{label:"Подтвердить бридж",onClick:$t,disabled:ye}),E&&l.jsx(g3,{data:E,onClose:()=>A(null),onConfirm:()=>{var El,di;const We=(di=(El=E.steps[0])==null?void 0:El.items[0])==null?void 0:di.data;We&&He({chain:v,txData:We}),A(null)}}),M&&l.jsx(_3,{quote:M,fromSymbol:i.symbol,toSymbol:o.symbol,amountHuman:s,onClose:()=>w(null),onConfirm:()=>{he(M.quoteId),w(null)}})]})}const X9="_page_1ieiw_1",Z9="_tabs_1ieiw_8",K9="_tab_1ieiw_8",I9="_active_1ieiw_26",P9="_inactive_1ieiw_31",W9="_main_1ieiw_40",La={page:X9,tabs:Z9,tab:K9,active:I9,inactive:P9,main:W9};function J9(){const s=On();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(Y9,{})}),l.jsx(Jn,{})]})}var x2=function(s,c){return x2=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])},x2(s,c)};function eS(s,c){if(typeof c!="function"&&c!==null)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");x2(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 V0,Um;function tS(){if(Um)return V0;Um=1;var s=!1,c,i,o,d,h,m,p,g,v,x,y,N,E,A,M;function w(){if(!s){s=!0;var F=navigator.userAgent,H=/(?: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(N=/\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),M=/Mobile/i.exec(F),y=!!/Win64/.exec(F),H){c=H[1]?parseFloat(H[1]):H[5]?parseFloat(H[5]):NaN,c&&document&&document.documentMode&&(c=document.documentMode);var Z=/(?:Trident\/(\d+.\d+))/.exec(F);m=Z?parseFloat(Z[1])+4:c,i=H[2]?parseFloat(H[2]):NaN,o=H[3]?parseFloat(H[3]):NaN,d=H[4]?parseFloat(H[4]):NaN,d?(H=/(?:Chrome\/(\d+\.\d+))/.exec(F),h=H&&H[1]?parseFloat(H[1]):NaN):h=NaN}else c=i=o=h=d=NaN;if(V){if(V[1]){var ne=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(F);p=ne?parseFloat(ne[1].replace("_",".")):!0}else p=!1;g=!!V[2],v=!!V[3]}else p=g=v=!1}}var O={ie:function(){return w()||c},ieCompatibilityMode:function(){return w()||m>c},ie64:function(){return O.ie()&&y},firefox:function(){return w()||i},opera:function(){return w()||o},webkit:function(){return w()||d},safari:function(){return O.webkit()},chrome:function(){return w()||h},windows:function(){return w()||g},osx:function(){return w()||p},linux:function(){return w()||v},iphone:function(){return w()||N},mobile:function(){return w()||N||E||x||M},nativeApp:function(){return w()||A},android:function(){return w()||x},ipad:function(){return w()||E}};return V0=O,V0}var F0,km;function nS(){if(km)return F0;km=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 F0=c,F0}var Q0,Hm;function lS(){if(Hm)return Q0;Hm=1;var s=nS(),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 Q0=i,Q0}var Y0,qm;function aS(){if(qm)return Y0;qm=1;var s=tS(),c=lS(),i=10,o=40,d=800;function h(m){var p=0,g=0,v=0,x=0;return"detail"in m&&(g=m.detail),"wheelDelta"in m&&(g=-m.wheelDelta/120),"wheelDeltaY"in m&&(g=-m.wheelDeltaY/120),"wheelDeltaX"in m&&(p=-m.wheelDeltaX/120),"axis"in m&&m.axis===m.HORIZONTAL_AXIS&&(p=g,g=0),v=p*i,x=g*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&&!g&&(g=x<1?-1:1),{spinX:p,spinY:g,pixelX:v,pixelY:x}}return h.getEventType=function(){return s.firefox()?"DOMMouseScroll":c("wheel")?"wheel":"mousewheel"},Y0=h,Y0}var X0,$m;function sS(){return $m||($m=1,X0=aS()),X0}var iS=sS();const cS=Gg(iS);function rS(s,c,i,o,d,h){h===void 0&&(h=0);var m=ei(s,c,h),p=m.width,g=m.height,v=Math.min(p,i),x=Math.min(g,o);return v>x*d?{width:x*d,height:x}:{width:v,height:v/d}}function oS(s){return s.width>s.height?s.width/s.naturalWidth:s.height/s.naturalHeight}function dc(s,c,i,o,d){d===void 0&&(d=0);var h=ei(c.width,c.height,d),m=h.width,p=h.height;return{x:Gm(s.x,m,i.width,o),y:Gm(s.y,p,i.height,o)}}function Gm(s,c,i,o){var d=Math.abs(c*o/2-i/2);return ho(s,-d,d)}function Vm(s,c){return Math.sqrt(Math.pow(s.y-c.y,2)+Math.pow(s.x-c.x,2))}function Fm(s,c){return Math.atan2(c.y-s.y,c.x-s.x)*180/Math.PI}function uS(s,c,i,o,d,h,m){h===void 0&&(h=0),m===void 0&&(m=!0);var p=m?dS:fS,g=ei(c.width,c.height,h),v=ei(c.naturalWidth,c.naturalHeight,h),x={x:p(100,((g.width-i.width/d)/2-s.x/d)/g.width*100),y:p(100,((g.height-i.height/d)/2-s.y/d)/g.height*100),width:p(100,i.width/g.width*100/d),height:p(100,i.height/g.height*100/d)},y=Math.round(p(v.width,x.width*v.width/100)),N=Math.round(p(v.height,x.height*v.height/100)),E=v.width>=v.height*o,A=E?{width:Math.round(N*o),height:N}:{width:y,height:Math.round(y/o)},M=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:M}}function dS(s,c){return Math.min(s,Math.max(0,c))}function fS(s,c){return c}function hS(s,c,i,o,d,h){var m=ei(c.width,c.height,i),p=ho(o.width/m.width*(100/s.width),d,h),g={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:g,zoom:p}}function mS(s,c,i){var o=oS(c);return i.height>i.width?i.height/(s.height*o):i.width/(s.width*o)}function pS(s,c,i,o,d,h){i===void 0&&(i=0);var m=ei(c.naturalWidth,c.naturalHeight,i),p=ho(mS(s,c,o),d,h),g=o.height>o.width?o.height/s.height:o.width/s.width,v={x:((m.width-s.width)/2-s.x)*g,y:((m.height-s.height)/2-s.y)*g};return{crop:v,zoom:p}}function Qm(s,c){return{x:(c.x+s.x)/2,y:(c.y+s.y)/2}}function vS(s){return s*Math.PI/180}function ei(s,c,i){var o=vS(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 ho(s,c,i){return Math.min(Math.max(s,c),i)}function Kr(){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 gS=`.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;
|
||
}
|
||
`,_S=1,yS=3,xS=1,bS=(function(s){eS(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=hS(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=pS(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,g,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,N=((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<N,A=y/N,M=void 0;if(E)switch(i.state.mediaObjectFit){default:case"contain":M=x>A?{width:i.containerRect.height*A,height:i.containerRect.height}:{width:i.containerRect.width,height:i.containerRect.width/A};break;case"horizontal-cover":M={width:i.containerRect.width,height:i.containerRect.width/A};break;case"vertical-cover":M={width:i.containerRect.height*A,height:i.containerRect.height};break}else M={width:v.offsetWidth,height:v.offsetHeight};i.mediaSize=bt(bt({},M),{naturalWidth:y,naturalHeight:N}),i.props.setMediaSize&&i.props.setMediaSize(i.mediaSize);var w=i.props.cropSize?i.props.cropSize:rS(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)!==w.height||((g=i.state.cropSize)===null||g===void 0?void 0:g.width)!==w.width)&&i.props.onCropSizeChange&&i.props.onCropSizeChange(w),i.setState({cropSize:w},i.recomputeCropPosition),i.props.setCropSize&&i.props.setCropSize(w),w}},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,g={x:i.dragStartCrop.x+m,y:i.dragStartCrop.y+p},v=i.props.restrictPosition?dc(g,i.mediaSize,i.state.cropSize,i.props.zoom,i.props.rotation):g;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=cS(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,g;return(g=(p=i.props).onInteractionStart)===null||g===void 0?void 0:g.call(p)}),i.wheelTimer&&clearTimeout(i.wheelTimer),i.wheelTimer=i.currentWindow.setTimeout(function(){return i.setState({hasWheelJustStarted:!1},function(){var p,g;return(g=(p=i.props).onInteractionEnd)===null||g===void 0?void 0:g.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,g=m.zoom;return{x:(d+p.x)/g,y:(h+p.y)/g}},i.setNewZoom=function(o,d,h){var m=h===void 0?{}:h,p=m.shouldUpdatePosition,g=p===void 0?!0:p;if(!(!i.state.cropSize||!i.props.onZoomChange)){var v=ho(o,i.props.minZoom,i.props.maxZoom);if(g){var x=i.getPointOnContainer(d,i.containerPosition),y=i.getPointOnMedia(x),N={x:y.x*v-x.x,y:y.y*v-x.y},E=i.props.restrictPosition?dc(N,i.mediaSize,i.state.cropSize,v,i.props.rotation):N;i.props.onCropChange(E)}i.props.onZoomChange(v)}},i.getCropData=function(){if(!i.state.cropSize)return null;var o=i.props.restrictPosition?dc(i.props.crop,i.mediaSize,i.state.cropSize,i.props.zoom,i.props.rotation):i.props.crop;return uS(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,g=i.state.cropSize.height/i.previousCropSize.height;h={x:i.props.crop.x*p,y:i.props.crop.y*g}}}var v=i.props.restrictPosition?dc(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,g=m.onCropChange,v=m.keyboardStep,x=m.zoom,y=m.rotation,N=v;if(i.state.cropSize){o.shiftKey&&(N*=.2);var E=bt({},p);switch(o.key){case"ArrowUp":E.y-=N,o.preventDefault();break;case"ArrowDown":E.y+=N,o.preventDefault();break;case"ArrowLeft":E.x-=N,o.preventDefault();break;case"ArrowRight":E.x+=N,o.preventDefault();break;default:return}i.props.restrictPosition&&(E=dc(E,i.mediaSize,i.state.cropSize,x,y)),o.repeat||(h=(d=i.props).onInteractionStart)===null||h===void 0||h.call(d),g(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=gS,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,g,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)!==((g=this.props.crop)===null||g===void 0?void 0:g.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 N=this.getObjectFit();N!==this.state.mediaObjectFit&&this.setState({mediaObjectFit:N},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,g=((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=g/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=Vm(o,d),this.lastPinchRotation=Fm(o,d),this.onDragStart(Qm(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=Qm(d,h);this.onDrag(m),this.rafPinchTimeout&&this.currentWindow.cancelAnimationFrame(this.rafPinchTimeout),this.rafPinchTimeout=this.currentWindow.requestAnimationFrame(function(){var p=Vm(d,h),g=o.props.zoom*(p/o.lastPinchDistance);o.setNewZoom(g,m,{shouldUpdatePosition:!1}),o.lastPinchDistance=p;var v=Fm(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,g=d.cropperProps,v=d.transform,x=d.crop,y=x.x,N=x.y,E=d.rotation,A=d.zoom,M=d.cropShape,w=d.showGrid,O=d.roundCropAreaPixels,F=d.style,H=F.containerStyle,V=F.cropAreaStyle,Z=F.mediaStyle,ne=d.classes,P=ne.containerClassName,J=ne.cropAreaClassName,se=ne.mediaClassName,me=(o=this.state.mediaObjectFit)!==null&&o!==void 0?o:this.getObjectFit();return b.createElement("div",{onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,ref:function(ze){return i.containerRef=ze},"data-testid":"container",style:H,className:Kr("reactEasyCrop_Container",P)},h?b.createElement("img",bt({alt:"",className:Kr("reactEasyCrop_Image",me==="contain"&&"reactEasyCrop_Contain",me==="horizontal-cover"&&"reactEasyCrop_Cover_Horizontal",me==="vertical-cover"&&"reactEasyCrop_Cover_Vertical",se)},p,{src:h,ref:this.imageRef,style:bt(bt({},Z),{transform:v||"translate(".concat(y,"px, ").concat(N,"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:Kr("reactEasyCrop_Video",me==="contain"&&"reactEasyCrop_Contain",me==="horizontal-cover"&&"reactEasyCrop_Cover_Horizontal",me==="vertical-cover"&&"reactEasyCrop_Cover_Vertical",se)},p,{ref:this.videoRef,onLoadedMetadata:this.onMediaLoad,style:bt(bt({},Z),{transform:v||"translate(".concat(y,"px, ").concat(N,"px) rotate(").concat(E,"deg) scale(").concat(A,")")}),controls:!1}),(Array.isArray(m)?m:[{src:m}]).map(function(ve){return b.createElement("source",bt({key:ve.src},ve))})),this.state.cropSize&&b.createElement("div",bt({ref:this.cropperRef,style:bt(bt({},V),{width:O?Math.round(this.state.cropSize.width):this.state.cropSize.width,height:O?Math.round(this.state.cropSize.height):this.state.cropSize.height}),tabIndex:0,onKeyDown:this.onKeyDown,onKeyUp:this.onKeyUp,"data-testid":"cropper",className:Kr("reactEasyCrop_CropArea",M==="round"&&"reactEasyCrop_CropAreaRound",w&&"reactEasyCrop_CropAreaGrid",J)},g)))},c.defaultProps={zoom:1,rotation:0,aspect:4/3,maxZoom:yS,minZoom:_S,cropShape:"rect",objectFit:"contain",showGrid:!0,style:{},classes:{},mediaProps:{},cropperProps:{},zoomSpeed:1,restrictPosition:!0,zoomWithScroll:!0,keyboardStep:xS},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 jS(s){return new Promise((c,i)=>{const o=new Image;o.onload=()=>c(o),o.onerror=()=>i(new Error("Не удалось загрузить изображение")),o.src=s})}async function SS(s,c,i=512){const o=await jS(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(g=>{g?m(g):p(new Error("Пустой Blob после обрезки"))},"image/jpeg",.9)})}const NS="_backdrop_1cfz6_1",wS="_card_1cfz6_12",CS="_title_1cfz6_25",TS="_cropArea_1cfz6_31",ES="_controls_1cfz6_40",RS="_zoom_1cfz6_52",AS="_actions_1cfz6_57",MS="_error_1cfz6_63",ea={backdrop:NS,card:wS,title:CS,cropArea:TS,controls:ES,zoom:RS,actions:AS,error:MS};function OS({imageSrc:s,isSaving:c,onCancel:i,onConfirm:o}){const[d,h]=b.useState({x:0,y:0}),[m,p]=b.useState(1),[g,v]=b.useState(null),[x,y]=b.useState(null),N=b.useCallback((A,M)=>{v(M)},[]);b.useEffect(()=>{const A=M=>{M.key==="Escape"&&!c&&i()};return window.addEventListener("keydown",A),()=>window.removeEventListener("keydown",A)},[i,c]);const E=async()=>{if(g){y(null);try{const A=await SS(s,g);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(bS,{image:s,crop:d,zoom:m,aspect:1,cropShape:"round",showGrid:!1,onCropChange:h,onZoomChange:p,onCropComplete:N})}),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||!g,children:c?"Загрузка...":"Сохранить"})]})]})})}const DS="_col_1gh35_1",zS="_avatar_1gh35_10",LS="_avatarImg_1gh35_30",BS="_error_1gh35_37",US="_overlay_1gh35_43",kS="_addPhoto_1gh35_68",Us={col:DS,avatar:zS,avatarImg:LS,error:BS,overlay:US,addPhoto:kS};function HS(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 qS(){const{data:s}=ri(),{mutateAsync:c,isPending:i}=cb(),o=b.useRef(null),[d,h]=b.useState(null),[m,p]=b.useState(!1),[g,v]=b.useState(null),x=(s==null?void 0:s.avatar_link)??null,y=x&&!m;b.useEffect(()=>{p(!1)},[x]),b.useEffect(()=>()=>{g&&URL.revokeObjectURL(g)},[g]);const N=()=>{var w;i||(w=o.current)==null||w.click()},E=w=>{var F;const O=(F=w.target.files)==null?void 0:F[0];w.target.value="",O&&(h(null),v(URL.createObjectURL(O)))},A=()=>{g&&URL.revokeObjectURL(g),v(null)},M=async w=>{try{const O=await HS(w);await c({photo_base64:O,decoded_bytes:String(w.size)}),A()}catch{h("Не удалось загрузить фото"),A()}};return l.jsxs("div",{className:Us.col,children:[l.jsxs("div",{className:Us.avatar,onClick:N,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:N,disabled:i,children:i?"ЗАГРУЗКА...":"ДОБАВИТЬ ФОТО"})}),d&&l.jsx("span",{className:Us.error,children:d}),g&&l.jsx(OS,{imageSrc:g,isSaving:i,onCancel:A,onConfirm:M})]})}const $S="_card_17od5_1",GS="_title_17od5_8",VS="_actions_17od5_17",Z0={card:$S,title:GS,actions:VS};function Ir({title:s,children:c,actions:i}){return l.jsxs("div",{className:Z0.card,children:[l.jsx("div",{className:Z0.title,children:s}),c,i&&l.jsx("div",{className:Z0.actions,children:i})]})}const FS="_page_h0psp_1",QS="_kycBanner_h0psp_8",YS="_main_h0psp_19",XS="_profileTop_h0psp_29",ZS="_userInfo_h0psp_33",KS="_sections_h0psp_37",IS="_grid2_h0psp_44",PS="_grid1_h0psp_50",WS="_mnemonicRow_h0psp_56",JS="_mnemonicInfo_h0psp_63",eN="_mnemonicIcon_h0psp_69",tN="_mnemonicText_h0psp_73",nN="_userName_h0psp_105",lN="_userBalance_h0psp_112",Lt={page:FS,kycBanner:QS,main:YS,profileTop:XS,userInfo:ZS,sections:KS,grid2:IS,grid1:PS,mnemonicRow:WS,mnemonicInfo:JS,mnemonicIcon:eN,mnemonicText:tN,userName:nN,userBalance:lN};function aN(){const{data:s}=ri(),{data:c,isLoading:i}=q2(),{data:o}=fo(),d=rb(),h=On(),[m,p]=b.useState(""),[g,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 N(O){p(O.replace(/[^\d+\s()-]/g,""))}function E(){const O=m.trim();O===g||d.isPending||d.mutate(O,{onSuccess:()=>{v(O),y({status:"success",message:"Номер телефона обновлён"})},onError:()=>{y({status:"error",message:"Не удалось обновить номер телефона"})}})}const A=O=>O?O[0].toUpperCase()+O.slice(1).toLowerCase():"",M=s?[s.last_name,s.first_name,s.middle_name].filter(Boolean).map(A).join(" "):"",w=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(qS,{}),l.jsxs("div",{className:Lt.userInfo,children:[l.jsx("span",{className:Lt.userName,children:M}),l.jsx("span",{className:Lt.userBalance,children:w})]})]}),l.jsxs("div",{className:Lt.sections,children:[l.jsx(Ir,{title:"Личные данные",children:l.jsxs("div",{className:Lt.grid2,children:[l.jsx(jt,{label:"Полное ФИО",value:M,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:N,onBlur:E,type:"tel",placeholder:"+7 (999) 000-00-00"})]})}),l.jsx(Ir,{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(Ir,{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:O,address:F})=>l.jsx(jt,{label:`Адрес ${O}`,readOnly:!0,icon:"lock",value:F,placeholder:"—"},O))})}),l.jsx(Ir,{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(M2,{status:x.status,message:x.message,onClose:()=>y(null)})]})}const sN="_card_1erii_1",iN="_logo_1erii_10",cN="_title_1erii_20",rN="_twoCol_1erii_29",oN="_leftCol_1erii_36",uN="_rightCol_1erii_42",dN="_codeHint_1erii_48",fN="_error_1erii_55",hN="_submitWrapper_1erii_62",mN="_footer_1erii_66",pN="_forgot_1erii_73",vN="_divider_1erii_88",Tn={card:sN,logo:iN,title:cN,twoCol:rN,leftCol:oN,rightCol:uN,codeHint:dN,error:fN,submitWrapper:hN,footer:mN,forgot:pN,divider: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 gN(){const[s,c]=b.useState(""),[i,o]=b.useState(""),[d,h]=b.useState(""),[m,p]=b.useState(!1),g=fa(),v=On(),x=qt({mutationFn:J5,onSuccess:()=>p(!0)}),y=qt({mutationFn:eb,onSuccess:async({access_token:M})=>{k2(),M&&An.set(M),await g.invalidateQueries({queryKey:uo}),v(fe.PROFILE)}}),N=()=>{s&&x.mutate({email:s})},E=M=>{M.preventDefault(),y.mutate({email:s,password:i,code:d})},A=(x.isError?Ym(x.error):null)??(y.isError?Ym(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:N,handleSubmit:E}}function _N(){const{email:s,setEmail:c,password:i,setPassword:o,verificationCode:d,setVerificationCode:h,codeSent:m,isLoadingCode:p,isLoadingSubmit:g,error:v,handleRequestCode:x,handleSubmit:y}=gN(),N=On();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:g?"Вход...":"Войти",disabled:g})}),l.jsxs("div",{className:Tn.footer,children:[l.jsx("a",{className:Tn.forgot,onClick:()=>N(fe.RESTORE_PASSWORD),children:"Забыли пароль?"}),l.jsx("div",{className:Tn.divider,children:l.jsx("span",{children:"или"})}),l.jsx(Rn,{variant:"outline",type:"button",onClick:()=>N(fe.REGISTER),children:"Создать новый кошелёк"})]})]})}const yN="_page_a6ygb_1",xN={page:yN};function bN(){return l.jsx("div",{className:xN.page,children:l.jsx(_N,{})})}function Xm(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 jN(){const s=On(),c=fa(),[i,o]=b.useState(""),[d,h]=b.useState(""),[m,p]=b.useState(""),[g,v]=b.useState(""),[x,y]=b.useState(!1),[N,E]=b.useState(null),A=qt({mutationFn:P5,onSuccess:()=>y(!0)}),M=qt({mutationFn:W5,onSuccess:async({access_token:H})=>{k2(),H&&An.set(H),await c.invalidateQueries({queryKey:uo}),s(fe.WALLET)}}),w=()=>{i&&A.mutate({email:i})},O=H=>{if(H.preventDefault(),d!==m){E("Пароли не совпадают");return}E(null),M.mutate({email:i,password:d,confirm_password:m,code:g})},F=N??(A.isError?Xm(A.error):null)??(M.isError?Xm(M.error):null);return{email:i,setEmail:o,password:d,setPassword:h,confirmPassword:m,setConfirmPassword:p,verificationCode:g,setVerificationCode:v,codeSent:x,isLoadingCode:A.isPending,isLoadingSubmit:M.isPending,error:F,handleRequestCode:w,handleSubmit:O}}const SN="_card_wnog4_1",NN="_logo_wnog4_10",wN="_title_wnog4_20",CN="_twoCol_wnog4_29",TN="_leftCol_wnog4_36",EN="_rightCol_wnog4_42",RN="_codeHint_wnog4_53",AN="_error_wnog4_60",MN="_submitWrapper_wnog4_67",ON="_legal_wnog4_71",Zn={card:SN,logo:NN,title:wN,twoCol:CN,leftCol:TN,rightCol:EN,codeHint:RN,error:AN,submitWrapper:MN,legal:ON};function DN(){const{email:s,setEmail:c,password:i,setPassword:o,confirmPassword:d,setConfirmPassword:h,verificationCode:m,setVerificationCode:p,codeSent:g,isLoadingCode:v,isLoadingSubmit:x,error:y,handleRequestCode:N,handleSubmit:E}=jN();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:N,disabled:g||v,children:v?"Отправка...":g?"Код отправлен":"Получить проверочный код"}),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 zN="_page_a6ygb_1",LN={page:zN};function BN(){return l.jsx("div",{className:LN.page,children:l.jsx(DN,{})})}const UN="_title_ujt2o_1",kN="_table_ujt2o_8",HN="_row_ujt2o_15",qN="_range_ujt2o_31",$N="_pct_ujt2o_36",GN="_progressBar_ujt2o_43",VN="_progressFill_ujt2o_51",FN="_summary_ujt2o_58",QN="_summaryLabel_ujt2o_73",YN="_summaryValue_ujt2o_78",un={title:UN,table:kN,row:HN,range:qN,pct:$N,progressBar:GN,progressFill:VN,summary:FN,summaryLabel:QN,summaryValue:YN},Zm=s=>s.toLocaleString("ru-RU");function XN({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:[Zm(d.min)," – ",Zm(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 ZN="_wrap_6xfms_1",KN="_box_6xfms_12",IN="_text_6xfms_39",PN="_link_6xfms_46",WN="_required_6xfms_51",fc={wrap:ZN,box:KN,text:IN,link:PN,required:WN};function JN({checked:s,onToggle:c}){return l.jsxs("button",{type:"button",className:fc.wrap,onClick:c,"aria-pressed":s,children:[l.jsx("span",{className:fc.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:fc.text,children:["Я ознакомлен и согласен с"," ",l.jsx("a",{href:"/publichnaya-oferta",className:fc.link,target:"_blank",rel:"noopener noreferrer",onClick:i=>i.stopPropagation(),children:"публичной офертой"}),". Вся деятельность компании соответствует законодательству Российской Федерации.",l.jsx("br",{}),l.jsx("span",{className:fc.required,children:"ОБЯЗАТЕЛЬНОЕ ПОЛЕ"})]})]})}const ew="_wrap_uglxq_1",tw="_header_uglxq_8",nw="_title_uglxq_17",lw="_subtitle_uglxq_22",aw="_pills_uglxq_29",sw="_pill_uglxq_29",iw="_pillValue_uglxq_43",cw="_body_uglxq_53",rw="_tabs_uglxq_59",ow="_tab_uglxq_59",uw="_field_uglxq_91",dw="_fieldError_uglxq_95",fw="_fieldLabel_uglxq_101",hw="_fieldInput_uglxq_109",mw="_currency_uglxq_135",pw="_currencyIcon_uglxq_144",vw="_currencyRub_uglxq_156",gw="_currencyUsdt_uglxq_160",_w="_swapWrap_uglxq_164",yw="_swapBtn_uglxq_169",xw="_bottom_uglxq_182",bw="_payBtn_uglxq_190",pe={wrap:ew,header:tw,title:nw,subtitle:lw,pills:aw,pill:sw,pillValue:iw,body:cw,tabs:rw,tab:ow,field:uw,fieldError:dw,fieldLabel:fw,fieldInput:hw,currency:mw,currencyIcon:pw,currencyRub:vw,currencyUsdt:gw,swapWrap:_w,swapBtn:yw,bottom:xw,payBtn:bw};function jw(){const s=Dp({usdtRate:0}),[c,i]=b.useState("usdt_to_rub"),[o,d]=b.useState(String(Hs)),{data:h}=Ip(),m=Number(h==null?void 0:h.usdt_exchange_rate)||0,p=Number(h==null?void 0:h.gas_fee)||Op,g=c==="usdt_to_rub",v=Js(s.numRub,400),{data:x,isError:y}=Pp(g?v:0),N=Number.parseFloat(o)||0,E=Js(N,400),{data:A,isError:M}=Wp(g?0:E),w=!g&&N>0&&N<Hs;function O(Ce){d(Ce.replace(/[^0-9.]/g,""))}function F(){i(Ce=>Ce==="usdt_to_rub"?"rub_to_usdt":"usdt_to_rub")}const H=(x==null?void 0:x.total_price)??"",V=Number(H)||0,Z=(A==null?void 0:A.usdt_amount)??"",ne=Number(Z)||0,P=g?Number(x==null?void 0:x.service_fee)||0:Number(A==null?void 0:A.service_fee)||0,J=g?V:N,se=g?s.numRub>0?V/s.numRub:0:ne>0?N/ne:0,{mutate:me,isPending:ve}=jx();function ze(){me(g?{usdt_amount:s.numRub,usdt_exchange_rate:1,gas_fee:1,total_price:Number(H)||0}:{usdt_amount:ne,usdt_exchange_rate:1,gas_fee:1,total_price:N})}const ue=g?!H||ve||!s.agreed:!Z||ve||!s.agreed||w;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.jsx("div",{className:pe.tabs,children:l.jsx("div",{className:pe.tab,"data-active":!0,children:"КУПИТЬ"})}),g?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:Ce=>s.updateRub(Ce.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:F,"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:H,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:Ce=>O(Ce.target.value),placeholder:"0",inputMode:"decimal"}),l.jsxs("div",{className:pe.currency,children:[l.jsx("span",{className:`${pe.currencyIcon} ${pe.currencyRub}`,children:"₽"}),"RUB"]})]}),w&&l.jsxs("div",{className:pe.fieldError,children:["Минимальная сумма: ",Hs.toLocaleString("ru-RU")," ₽"]}),M&&!w&&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:F,"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:Z,readOnly:!0,placeholder:"0"}),l.jsxs("div",{className:pe.currency,children:[l.jsx("span",{className:`${pe.currencyIcon} ${pe.currencyUsdt}`,children:"₮"}),"USDT"]})]})]})]})]}),l.jsx(XN,{amount:J,progress:O2(J),commission:P,effectiveRate:se})]}),l.jsx("div",{className:pe.bottom,children:l.jsx(JN,{checked:s.agreed,onToggle:()=>s.setAgreed(!s.agreed)})}),l.jsx("button",{type:"button",className:pe.payBtn,onClick:ze,disabled:ue,children:ve?"Обработка...":"Оплатить"})]})}const Sw="_page_gbj3c_1",Nw="_main_gbj3c_8",Km={page:Sw,main:Nw};function ww(){return l.jsxs("div",{className:Km.page,children:[l.jsx(Ia,{}),l.jsx("main",{className:Km.main,children:l.jsx(jw,{})}),l.jsx(Jn,{})]})}const Im=52;function Cw(s){const[c,i]=b.useState(!1),[o,d]=b.useState(Im),[h,m]=b.useState(!1),p=b.useRef(null),g=b.useCallback(()=>{p.current&&clearInterval(p.current),d(Im),p.current=setInterval(()=>{d(y=>y<=1?(clearInterval(p.current),i(!0),0):y-1)},1e3)},[]);b.useEffect(()=>(g(),()=>{p.current&&clearInterval(p.current)}),[g]);const v=b.useCallback(()=>{i(y=>y?(g(),!1):(p.current&&clearInterval(p.current),!0))},[g]),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 Tw="_content_o6p8v_1",Ew="_titleRow_o6p8v_6",Rw="_title_o6p8v_6",Aw="_titleButtons_o6p8v_19",Mw="_btnFixed_o6p8v_26",Ow="_subtitle_o6p8v_34",Dw="_countdown_o6p8v_42",zw="_seedGrid_o6p8v_47",Lw="_seedCard_o6p8v_54",Bw="_seedNum_o6p8v_73",Uw="_seedWord_o6p8v_80",kw="_seedWordHidden_o6p8v_88",Hw="_warning_o6p8v_93",qw="_warningIcon_o6p8v_101",$w="_warningText_o6p8v_107",Gw="_profileLinkRow_o6p8v_115",Vw="_profileLink_o6p8v_115",yt={content:Tw,titleRow:Ew,title:Rw,titleButtons:Aw,btnFixed:Mw,subtitle:Ow,countdown:Dw,seedGrid:zw,seedCard:Lw,seedNum:Bw,seedWord:Uw,seedWordHidden:kw,warning:Hw,warningIcon:qw,warningText:$w,profileLinkRow:Gw,profileLink:Vw};function Fw({words:s}){const{hidden:c,countdown:i,copied:o,handleHide:d,handleCopy:h}=Cw(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 Qw="_page_1mk6w_1",Yw="_main_1mk6w_8",Xw="_glow_1mk6w_17",K0={page:Qw,main:Yw,glow:Xw};function Zw(){const{data:s,isLoading:c}=Tb(),i=s?s.split(" "):[];return l.jsxs("div",{className:K0.page,children:[l.jsx(Ia,{}),l.jsxs("main",{className:K0.main,children:[l.jsx("div",{className:K0.glow}),!c&&l.jsx(Fw,{words:i})]})]})}const Kw="https://app.kyc.elcsa.ru";function Iw(){return y3(!0)}async function y3(s){const c=await Wn(),i=await fetch(`${Kw}/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 si(),y3(!1)}catch{throw An.clear(),new Error("Unauthorized")}const o=await i.json();if(!i.ok)throw o;return o}function Pw(){const s=qt({mutationFn:Iw});return{trigger:s.mutate,data:s.data,isLoading:s.isPending,isError:s.isError}}const Ww="_backdrop_1do7s_1",Jw="_modal_1do7s_12",eC="_closeBtn_1do7s_22",tC="_body_1do7s_40",nC="_qrBlock_1do7s_47",lC="_qrImage_1do7s_55",aC="_linkBtn_1do7s_63",Ba={backdrop:Ww,modal:Jw,closeBtn:eC,body:tC,qrBlock:nC,qrImage:lC,linkBtn:aC};function sC({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 iC="_card_omb8e_1",cC="_logo_omb8e_13",rC="_iconWrapper_omb8e_21",oC="_description_omb8e_34",uC="_buttonWrapper_omb8e_42",dC="_error_omb8e_47",ks={card:iC,logo:cC,iconWrapper:rC,description:oC,buttonWrapper:uC,error:dC};function fC(){const{trigger:s,data:c,isLoading:i,isError:o}=Pw(),d=On(),h=fa(),{data:m}=ri({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(sC,{data:c,onClose:p})]})}const hC="_page_6lnfw_1",mC={page:hC};function pC(){const{data:s,isLoading:c}=ri();return c?null:s!=null&&s.kyc_verified?l.jsx(vc,{to:fe.PROFILE,replace:!0}):l.jsx("div",{className:mC.page,children:l.jsx(fC,{})})}const vC="_card_mzeuq_1",gC="_logo_mzeuq_10",_C="_title_mzeuq_20",yC="_fields_mzeuq_29",xC="_emailRow_mzeuq_35",bC="_error_mzeuq_41",jC="_submitWrapper_mzeuq_48",SC="_footer_mzeuq_52",NC="_back_mzeuq_58",yl={card:vC,logo:gC,title:_C,fields:yC,emailRow:xC,error:bC,submitWrapper:jC,footer:SC,back:NC};function wC(){const[s,c]=b.useState(""),[i,o]=b.useState(!1),[d,h]=b.useState(!1),[m,p]=b.useState(""),[g,v]=b.useState(""),[x,y]=b.useState(""),[N,E]=b.useState(""),[A,M]=b.useState(!1),[w,O]=b.useState(null),F=On();async function H(){E(""),h(!0);try{await ab({email:s}),o(!0),O({status:"success",message:`Код отправлен на ${s}`})}catch{O({status:"error",message:"Не удалось отправить письмо. Проверьте email и попробуйте снова."})}finally{h(!1)}}async function V(Z){if(Z.preventDefault(),E(""),g!==x){E("Пароли не совпадают");return}M(!0);try{await ib({email:s,code:m,new_password:g,confirm_password:x}),F(fe.LOGIN)}catch{E("Не удалось изменить пароль. Проверьте код и попробуйте снова.")}finally{M(!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:H})]}),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:g,onChange:v,placeholder:"••••••••",required:!0}),l.jsx(jt,{label:"Повторить пароль",type:"password",value:x,onChange:y,placeholder:"••••••••",required:!0})]})]}),N&&l.jsx("p",{className:yl.error,children:N}),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:"Вернуться ко входу"})})]}),w&&l.jsx(M2,{status:w.status,message:w.message,onClose:()=>O(null)})]})}const CC="_page_6lnfw_1",TC={page:CC};function EC(){return l.jsx("div",{className:TC.page,children:l.jsx(wC,{})})}const RC="_main_1fqml_1",AC="_container_1fqml_7",MC="_title_1fqml_13",OC="_subtitle_1fqml_21",DC="_section_1fqml_29",zC="_sectionTitle_1fqml_33",LC="_definitions_1fqml_42",BC="_definition_1fqml_42",UC="_requisites_1fqml_56",Ne={main:RC,container:AC,title:MC,subtitle:OC,section:DC,sectionTitle:zC,definitions:LC,definition:BC,requisites:UC};function kC(){return l.jsxs(l.Fragment,{children:[l.jsx(ci,{}),l.jsx("main",{className:Ne.main,children:l.jsxs("div",{className:Ne.container,children:[l.jsx("h1",{className:Ne.title,children:"ПУБЛИЧНЫЙ ДОГОВОР ОФЕРТЫ"}),l.jsx("h2",{className:Ne.subtitle,children:"ООО БИТФОРС"}),l.jsxs("section",{className:Ne.section,children:[l.jsx("h3",{className:Ne.sectionTitle,children:"Агентский договор"}),l.jsx("p",{children:"Настоящая оферта на заключение агентского договора (далее – Оферта, Договор) является публичным предложением Общества с ограниченной ответственностью «БИТФОРС», заключить договор на условиях и в порядке, определенных настоящей Офертой."}),l.jsx("p",{children:"Акцепт оферты производится в соответствии с пунктом 2 статьи 437 Гражданского кодекса Российской Федерации и равносилен заключению агентского договора в письменной форме."})]}),l.jsxs("section",{className:Ne.section,children:[l.jsx("h3",{className:Ne.sectionTitle,children:"Основные понятия и определения действующего договора"}),l.jsxs("div",{className:Ne.definitions,children:[l.jsxs("div",{className:Ne.definition,children:[l.jsx("strong",{children:"Агент"})," – юридическое лицо или индивидуальный предприниматель, зарегистрированный на территории Российской Федерации, в установленном действующим законодательством порядке."]}),l.jsxs("div",{className:Ne.definition,children:[l.jsx("strong",{children:"Принципал"})," – сторона агентского договора, по поручению которой агент осуществляет юридические и иные действия от своего имени, но за счет принципала либо от имени и за счет принципала."]}),l.jsxs("div",{className:Ne.definition,children:[l.jsx("strong",{children:"Агентский договор"})," – соглашение, по которому агент обязуется за вознаграждение совершать по поручению принципала юридические и иные действия от своего имени, но за счет принципала либо от имени и за счет принципала в соответствии с п. 1 ст. 1005 Гражданского Кодекса Российской Федерации."]}),l.jsxs("div",{className:Ne.definition,children:[l.jsx("strong",{children:"Личный кабинета Агента"})," – ресурс, размещенный на сайте Принципала, предназначенный для взаимодействия Агента и Принципала."]}),l.jsxs("div",{className:Ne.definition,children:[l.jsx("strong",{children:"Отчетный период"})," – период для взаиморасчетов с Агентом, равный одному календарному кварталу с даты активации любой из услуг, предоставляемой Принципалу."]}),l.jsxs("div",{className:Ne.definition,children:[l.jsx("strong",{children:"Отчет о сумме начислений (Отчет)"})," – отчет, формируемый в Личном кабинете Агента на основании данных систем учета Принципала."]}),l.jsxs("div",{className:Ne.definition,children:[l.jsx("strong",{children:"Оферта (Договор)"})," – настоящий документ, который отражает предложение и намерение ООО «БИТФОРС» считать заключенным договор с лицом, которым будет принято предложение на условиях, изложенных ниже."]})]})]}),l.jsxs("section",{className:Ne.section,children:[l.jsx("h3",{className:Ne.sectionTitle,children:"1. Акцепт оферты и заключение агентского договора"}),l.jsx("p",{children:"Акцепт настоящей Оферты и заключение Агентского договора осуществляется Принципалом в процессе регистрации в Личном кабинете Принципала (на сайте Агента), при прочтении текста настоящей Оферты, путем проставления специальной отметки (галочки) напротив фразы «Я ознакомился с Офертой и принимаю ее условия» и нажатия кнопки «Подписать»."}),l.jsx("p",{children:"Особый порядок принятия условий Оферты путем проставления специальной отметки (галочки) определяется интерфейсом Личного кабинета Принципала. Принципал не может зарегистрироваться в Личном кабинете и получить к нему доступ без подтверждения принятия условий Оферты."}),l.jsx("p",{children:"Принимая Оферту, Принципал подтверждает, что прочел и полностью согласен с документами, размещенными на сайте в разделе, предназначенном для Принципала, которые являются неотъемлемой частью настоящей Оферты (Договора) и обязательны для исполнения Сторонами."})]}),l.jsxs("section",{className:Ne.section,children:[l.jsx("h3",{className:Ne.sectionTitle,children:"2. Общие положения"}),l.jsx("p",{children:"Публикуемые на сайте Агента документы (формы, требования, правила и т.п.), устанавливающие порядок и условия выполнения действий, предусмотренных настоящим Договором, являются неотъемлемой частью настоящего Договора и обязательны для исполнения Сторонами. Принципал обязан использовать формы документов, утвержденных Агентом, и не вправе вносить в них какие-либо изменения или дополнения."}),l.jsx("p",{children:"Агент обязуется уведомлять Принципала обо всех изменениях в документах, связанных с исполнением настоящего Договора, путем направления электронных сообщений (через Личный кабинет или на электронную почту Принципала) или размещением уведомлений об изменениях на сайте Агентов в разделе, предназначенном для размещения объявлений."})]}),l.jsxs("section",{className:Ne.section,children:[l.jsx("h3",{className:Ne.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:Ne.section,children:[l.jsx("h3",{className:Ne.sectionTitle,children:"4. Права и обязанности сторон"}),l.jsx("p",{children:"Агент обязуется совершать действия, составляющие предмет настоящего Договора, в соответствии с законными интересами Принципала, сообщать Принципалу по его требованию все сведения о ходе исполнения настоящего Договора, передавать Принципалу в течение 7 рабочих дней имущество, полученное по сделкам."}),l.jsx("p",{children:"Агент несет ответственность за сохранность документов и персональных данных, переданных ему Принципалом для исполнения настоящего Договора."}),l.jsx("p",{children:"Принципал обязан без промедления принять отчет Агента, все предоставленные им документы, обеспечить Агента документами и материалами, необходимыми для выполнения настоящего Договора, возместить Агенту понесенные расходы и выплатить обусловленное Договором агентское вознаграждение."})]}),l.jsxs("section",{className:Ne.section,children:[l.jsx("h3",{className:Ne.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:Ne.section,children:[l.jsx("h3",{className:Ne.sectionTitle,children:"6. Ответственность сторон"}),l.jsx("p",{children:"В случае нарушения Агентом сроков, установленных Договором для передачи Принципалу полученного имущества, Принципал вправе предъявить требование об уплате неустойки в размере 0,1% от непереданной суммы за каждый день просрочки."}),l.jsx("p",{children:"В случае нарушения Принципалом сроков уплаты вознаграждения или возмещения расходов, Агент вправе предъявить требование об уплате неустойки в размере 0,1% от не уплаченной в срок суммы за каждый день просрочки."})]}),l.jsxs("section",{className:Ne.section,children:[l.jsx("h3",{className:Ne.sectionTitle,children:"7. Форс-мажор"}),l.jsx("p",{children:"Стороны освобождаются от ответственности за частичное или полное неисполнение обязательств по настоящему Договору, если это неисполнение явилось следствием возникших после заключения настоящего Договора обстоятельств непреодолимой силы."}),l.jsx("p",{children:"При наступлении форс-мажорных обстоятельств каждая Сторона должна без промедления известить о них в письменном виде другую Сторону с указанием характера обстоятельств и их влияния на исполнение обязательств."})]}),l.jsxs("section",{className:Ne.section,children:[l.jsx("h3",{className:Ne.sectionTitle,children:"8. Конфиденциальность"}),l.jsx("p",{children:"Стороны принимают все необходимые меры для того, чтобы их сотрудники, агенты, правопреемники без предварительного согласия другой Стороны не информировали третьих лиц о конфиденциальной информации и персональных данных Сторон настоящего Договора."})]}),l.jsxs("section",{className:Ne.section,children:[l.jsx("h3",{className:Ne.sectionTitle,children:"9. Изменение и прекращение договора"}),l.jsx("p",{children:"Настоящий договор вступает в силу с момента его подписания и действует до момента исполнения сторонами своих обязательств по настоящему договору."}),l.jsx("p",{children:"Настоящий Договор может быть изменен или прекращен по письменному соглашению Сторон, а также в других случаях, предусмотренных законодательством Российской Федерации."}),l.jsx("p",{children:"Принципал вправе в любое время отказаться от исполнения настоящего Договора путем направления письменного уведомления Агенту за 3 рабочих дня."})]}),l.jsxs("section",{className:Ne.section,children:[l.jsx("h3",{className:Ne.sectionTitle,children:"10. Заключительные положения"}),l.jsx("p",{children:"Ни одна из сторон не вправе передавать свои права и обязанности по настоящему договору третьим лицам без согласия другой стороны."}),l.jsx("p",{children:"Сообщения Стороны могут направлять по факсу, электронной почте или другим способом связи при условии, что он позволяет достоверно установить, от кого исходило сообщение и кому оно адресовано."}),l.jsx("p",{children:"Споры, вытекающие из настоящего Договора, разрешаются в досудебном порядке. При неурегулировании возникших разногласий спор разрешается в Арбитражном суде г. Санкт–Петербурга и Ленинградской области с обязательным соблюдением претензионного порядка."})]}),l.jsxs("section",{className:Ne.section,children:[l.jsx("h3",{className:Ne.sectionTitle,children:"Реквизиты сторон"}),l.jsxs("div",{className:Ne.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 HC="_main_14e6d_1",qC="_container_14e6d_7",$C="_title_14e6d_13",GC="_subtitle_14e6d_21",VC="_section_14e6d_29",FC="_sectionTitle_14e6d_33",QC="_subSectionTitle_14e6d_42",YC="_definitions_14e6d_50",XC="_definition_14e6d_50",ZC="_list_14e6d_64",KC="_goalsList_14e6d_75",IC="_goal_14e6d_75",PC="_contacts_14e6d_105",Y={main:HC,container:qC,title:$C,subtitle:GC,section:VC,sectionTitle:FC,subSectionTitle:QC,definitions:YC,definition:XC,list:ZC,goalsList:KC,goal:IC,contacts:PC};function WC(){return l.jsxs(l.Fragment,{children:[l.jsx(ci,{}),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 JC="_main_iq2qw_1",eT="_container_iq2qw_7",tT="_title_iq2qw_13",nT="_section_iq2qw_21",lT="_sectionTitle_iq2qw_25",aT="_subSectionTitle_iq2qw_34",sT="_list_iq2qw_42",iT="_info_iq2qw_57",cT="_example_iq2qw_71",rT="_warning_iq2qw_81",W={main:JC,container:eT,title:tT,section:nT,sectionTitle:lT,subSectionTitle:aT,list:sT,info:iT,example:cT,warning:rT};function oT(){return l.jsxs(l.Fragment,{children:[l.jsx(ci,{}),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 uT="_main_9j8kd_1",dT="_container_9j8kd_7",fT="_title_9j8kd_13",hT="_subtitle_9j8kd_21",mT="_section_9j8kd_29",pT="_sectionTitle_9j8kd_33",vT="_subSectionTitle_9j8kd_42",gT="_list_9j8kd_50",_T="_info_9j8kd_65",yT="_contacts_9j8kd_79",xT="_confirmation_9j8kd_92",X={main:uT,container:dT,title:fT,subtitle:hT,section:mT,sectionTitle:pT,subSectionTitle:vT,list:gT,info:_T,contacts:yT,confirmation:xT};function bT(){return l.jsxs(l.Fragment,{children:[l.jsx(ci,{}),l.jsx("main",{className:X.main,children:l.jsxs("div",{className:X.container,children:[l.jsx("h1",{className:X.title,children:"СОГЛАСИЕ НА ОБРАБОТКУ ПЕРСОНАЛЬНЫХ ДАННЫХ"}),l.jsx("h2",{className:X.subtitle,children:"ООО «БИТФОРС»"}),l.jsxs("section",{className:X.section,children:[l.jsx("h3",{className:X.sectionTitle,children:"Преамбула"}),l.jsx("p",{children:"Я, субъект персональных данных, действуя своей волей и в своем интересе, в соответствии с требованиями Федерального закона от 27.07.2006 № 152-ФЗ «О персональных данных», предоставляю ООО «БИТФОРС» согласие на обработку моих персональных данных на условиях и для целей, определенных настоящим Согласием."})]}),l.jsxs("section",{className:X.section,children:[l.jsx("h3",{className:X.sectionTitle,children:"1. Сведения об операторе"}),l.jsxs("div",{className:X.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:X.section,children:[l.jsx("h3",{className:X.sectionTitle,children:"2. Правовые основания обработки"}),l.jsx("p",{children:"Настоящее согласие предоставляется на основании пункта 1 части 1 статьи 6 Федерального закона «О персональных данных» и является правовым основанием для обработки персональных данных Оператором."}),l.jsx("p",{children:"Согласие дается добровольно, своей волей и в своих интересах."}),l.jsx("p",{children:"Субъект персональных данных понимает последствия предоставления согласия, включая возможные риски, связанные с обработкой персональных данных."})]}),l.jsxs("section",{className:X.section,children:[l.jsx("h3",{className:X.sectionTitle,children:"3. Цели обработки персональных данных"}),l.jsx("h4",{className:X.subSectionTitle,children:"3.1. Основные цели:"}),l.jsxs("ul",{className:X.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:X.subSectionTitle,children:"3.2. Дополнительные цели:"}),l.jsxs("ul",{className:X.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:X.subSectionTitle,children:"3.3. Маркетинговые цели (при дополнительном согласии):"}),l.jsxs("ul",{className:X.list,children:[l.jsx("li",{children:"Направление информационных и рекламных материалов"}),l.jsx("li",{children:"Проведение маркетинговых исследований и опросов"}),l.jsx("li",{children:"Персонализация предложений и услуг"}),l.jsx("li",{children:"Анализ предпочтений и поведения для улучшения сервисов"})]}),l.jsx("h4",{className:X.subSectionTitle,children:"3.4. Аналитические цели:"}),l.jsxs("ul",{className:X.list,children:[l.jsx("li",{children:"Анализ использования веб-сайта и мобильного приложения"}),l.jsx("li",{children:"Улучшение качества предоставляемых услуг"}),l.jsx("li",{children:"Разработка новых продуктов и сервисов"}),l.jsx("li",{children:"Создание статистических отчетов в обезличенном виде"})]})]}),l.jsxs("section",{className:X.section,children:[l.jsx("h3",{className:X.sectionTitle,children:"4. Перечень персональных данных"}),l.jsx("h4",{className:X.subSectionTitle,children:"4.1. Идентификационные данные:"}),l.jsxs("ul",{className:X.list,children:[l.jsx("li",{children:"Фамилия, имя, отчество"}),l.jsx("li",{children:"Дата рождения"}),l.jsx("li",{children:"Гражданство"})]}),l.jsx("h4",{className:X.subSectionTitle,children:"4.2. Документы, удостоверяющие личность:"}),l.jsxs("ul",{className:X.list,children:[l.jsx("li",{children:"Серия и номер паспорта гражданина Российской Федерации"}),l.jsx("li",{children:"Дата выдачи и код подразделения"}),l.jsx("li",{children:"Адрес регистрации по месту жительства"}),l.jsx("li",{children:"Цифровые копии (сканы) документов"})]}),l.jsx("h4",{className:X.subSectionTitle,children:"4.3. Контактная информация:"}),l.jsxs("ul",{className:X.list,children:[l.jsx("li",{children:"Номера телефонов (мобильный, домашний, рабочий)"}),l.jsx("li",{children:"Адреса электронной почты"}),l.jsx("li",{children:"Почтовые адреса (фактического проживания, для корреспонденции)"})]}),l.jsx("h4",{className:X.subSectionTitle,children:"4.4. Финансовая информация:"}),l.jsxs("ul",{className:X.list,children:[l.jsx("li",{children:"Номера банковских счетов и реквизиты банковских карт"}),l.jsx("li",{children:"Реквизиты криптовалютных кошельков и адресов"}),l.jsx("li",{children:"Информация о доходах и источниках происхождения денежных средств"}),l.jsx("li",{children:"История финансовых операций и транзакций"})]}),l.jsx("h4",{className:X.subSectionTitle,children:"4.5. Техническая информация:"}),l.jsxs("ul",{className:X.list,children:[l.jsx("li",{children:"IP-адреса устройств, с которых осуществляется доступ к сервисам"}),l.jsx("li",{children:"Информация о браузере, операционной системе и устройстве"}),l.jsx("li",{children:"Файлы cookie и данные локального хранилища"}),l.jsx("li",{children:"Логи действий и история использования сервисов"})]}),l.jsx("h4",{className:X.subSectionTitle,children:"4.6. Дополнительная информация:"}),l.jsxs("ul",{className:X.list,children:[l.jsx("li",{children:"Фотографии для процедур верификации"}),l.jsx("li",{children:"Видеозаписи процедур видеоидентификации"}),l.jsx("li",{children:"Биометрические данные (при использовании соответствующих технологий)"}),l.jsx("li",{children:"Информация о семейном положении и профессиональной деятельности"})]})]}),l.jsxs("section",{className:X.section,children:[l.jsx("h3",{className:X.sectionTitle,children:"5. Перечень действий с персональными данными"}),l.jsx("p",{children:"Согласие распространяется на следующие действия (операции) с персональными данными:"}),l.jsxs("ul",{className:X.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:X.section,children:[l.jsx("h3",{className:X.sectionTitle,children:"6. Лица, которым могут быть переданы персональные данные"}),l.jsx("h4",{className:X.subSectionTitle,children:"6.1. Сотрудники Оператора:"}),l.jsxs("ul",{className:X.list,children:[l.jsx("li",{children:"Уполномоченные сотрудники, непосредственно участвующие в обработке"}),l.jsx("li",{children:"Сотрудники службы безопасности и комплаенса"}),l.jsx("li",{children:"Сотрудники технической поддержки"}),l.jsx("li",{children:"Руководящий состав в рамках их полномочий"})]}),l.jsx("h4",{className:X.subSectionTitle,children:"6.2. Государственные и муниципальные органы:"}),l.jsxs("ul",{className:X.list,children:[l.jsx("li",{children:"Федеральная служба по финансовому мониторингу"}),l.jsx("li",{children:"Федеральная налоговая служба"}),l.jsx("li",{children:"Правоохранительные органы (при наличии законных требований)"}),l.jsx("li",{children:"Суды и органы исполнения судебных решений"})]}),l.jsx("h4",{className:X.subSectionTitle,children:"6.3. Партнеры и контрагенты:"}),l.jsxs("ul",{className:X.list,children:[l.jsx("li",{children:"Банки и платежные системы"}),l.jsx("li",{children:"Операторы электронных денежных средств"}),l.jsx("li",{children:"Поставщики технологических решений"}),l.jsx("li",{children:"Аудиторские и консалтинговые организации"})]})]}),l.jsxs("section",{className:X.section,children:[l.jsx("h3",{className:X.sectionTitle,children:"7. Сроки обработки персональных данных"}),l.jsx("h4",{className:X.subSectionTitle,children:"7.1. Общие принципы:"}),l.jsx("p",{children:"Персональные данные обрабатываются в течение времени, необходимого для достижения целей обработки. После достижения целей данные подлежат уничтожению или обезличиванию."}),l.jsx("h4",{className:X.subSectionTitle,children:"7.2. Конкретные сроки обработки:"}),l.jsxs("ul",{className:X.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:X.section,children:[l.jsx("h3",{className:X.sectionTitle,children:"8. Права субъекта персональных данных"}),l.jsx("h4",{className:X.subSectionTitle,children:"8.1. Право на информацию:"}),l.jsxs("ul",{className:X.list,children:[l.jsx("li",{children:"Получение подтверждения факта обработки персональных данных"}),l.jsx("li",{children:"Получение информации о целях и способах обработки"}),l.jsx("li",{children:"Информация о сроках обработки и составе данных"}),l.jsx("li",{children:"Сведения о лицах, которым передаются данные"})]}),l.jsx("h4",{className:X.subSectionTitle,children:"8.2. Право на доступ:"}),l.jsxs("ul",{className:X.list,children:[l.jsx("li",{children:"Получение копий обрабатываемых персональных данных"}),l.jsx("li",{children:"Ознакомление с историей обработки и изменений"}),l.jsx("li",{children:"Получение информации об источниках персональных данных"})]}),l.jsx("h4",{className:X.subSectionTitle,children:"8.3. Право на исправление и удаление:"}),l.jsxs("ul",{className:X.list,children:[l.jsx("li",{children:"Требование исправления неточных или неполных данных"}),l.jsx("li",{children:"Требование удаления персональных данных при наличии оснований"}),l.jsx("li",{children:"Удаление данных после отзыва согласия"})]}),l.jsx("h4",{className:X.subSectionTitle,children:"8.4. Право на отзыв согласия:"}),l.jsxs("ul",{className:X.list,children:[l.jsx("li",{children:"Согласие может быть отозвано в любое время"}),l.jsx("li",{children:"Отзыв оформляется в письменной форме"}),l.jsx("li",{children:"После отзыва обработка прекращается в разумные сроки"})]}),l.jsx("h4",{className:X.subSectionTitle,children:"8.5. Право на обжалование:"}),l.jsxs("ul",{className:X.list,children:[l.jsx("li",{children:"Обращение к Оператору с жалобами на действия по обработке данных"}),l.jsx("li",{children:"Обращение в Роскомнадзор или его территориальные органы"}),l.jsx("li",{children:"Обращение в суд для защиты нарушенных прав"})]}),l.jsx("h4",{className:X.subSectionTitle,children:"8.6. Порядок реализации прав:"}),l.jsxs("ul",{className:X.list,children:[l.jsx("li",{children:"Обращения направляются на адрес: company@bitforcefoundation.ru"}),l.jsx("li",{children:"Обращения рассматриваются в течение 30 дней"}),l.jsx("li",{children:"При необходимости срок может быть продлен на 30 дней"})]})]}),l.jsxs("section",{className:X.section,children:[l.jsx("h3",{className:X.sectionTitle,children:"9. Заключительные положения"}),l.jsx("h4",{className:X.subSectionTitle,children:"9.1. Действие согласия:"}),l.jsxs("ul",{className:X.list,children:[l.jsx("li",{children:"Согласие действует с момента его предоставления"}),l.jsx("li",{children:"Согласие действует до его отзыва или до достижения целей обработки"}),l.jsx("li",{children:"При существенных изменениях целей требуется новое согласие"})]}),l.jsx("h4",{className:X.subSectionTitle,children:"9.2. Форма предоставления согласия:"}),l.jsxs("ul",{className:X.list,children:[l.jsx("li",{children:"Согласие может быть предоставлено в письменной форме"}),l.jsx("li",{children:"Согласие может быть предоставлено в электронной форме"}),l.jsx("li",{children:"Согласие может выражаться путем совершения конклюдентных действий"})]}),l.jsx("h4",{className:X.subSectionTitle,children:"9.3. Последствия непредоставления согласия:"}),l.jsxs("ul",{className:X.list,children:[l.jsx("li",{children:"Отказ в предоставлении согласия может повлечь невозможность регистрации"}),l.jsx("li",{children:"Отказ может ограничить доступ к отдельным услугам"}),l.jsx("li",{children:"Отказ в согласии на маркетинг не влияет на основные услуги"}),l.jsx("li",{children:"Субъект вправе предоставить частичное согласие"})]}),l.jsx("h4",{className:X.subSectionTitle,children:"9.4. Контактная информация:"}),l.jsxs("div",{className:X.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:X.subSectionTitle,children:"9.5. Подтверждение понимания:"}),l.jsx("p",{className:X.confirmation,children:"Предоставляя настоящее согласие, я подтверждаю, что:"}),l.jsxs("ul",{className:X.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 jT="_main_2hruc_1",ST="_container_2hruc_7",NT="_title_2hruc_13",wT="_subtitle_2hruc_21",CT="_section_2hruc_29",TT="_sectionTitle_2hruc_33",ET="_description_2hruc_42",RT="_info_2hruc_49",AT="_linkBlock_2hruc_56",MT="_button_2hruc_64",OT="_operatorInfo_2hruc_81",Bt={main:jT,container:ST,title:NT,subtitle:wT,section:CT,sectionTitle:TT,description:ET,info:RT,linkBlock:AT,button:MT,operatorInfo:OT};function DT(){return l.jsxs(l.Fragment,{children:[l.jsx(ci,{}),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 zT="_page_v2udf_1",LT="_main_v2udf_8",BT="_glow_v2udf_17",UT="_title_v2udf_29",kT="_list_v2udf_38",HT="_empty_v2udf_46",qT="_status_v2udf_53",$T="_statusError_v2udf_60",GT="_loadMore_v2udf_68",VT="_loadMoreBtn_v2udf_76",FT="_statusBadge_v2udf_103",QT="_status_pending_v2udf_112",YT="_status_completed_v2udf_117",XT="_status_cancelled_v2udf_122",ZT="_status_rejected_v2udf_127",KT="_status_error_v2udf_132",IT="_status_money_accepted_v2udf_138",PT="_status_web3_processing_v2udf_143",WT="_status_web3_hash_error_v2udf_148",JT="_status_web3_balance_problem_v2udf_153",eE="_status_receipt_error_v2udf_158",tE="_status_usdt_delivered_v2udf_163",nE="_accordionItem_v2udf_169",lE="_summaryRow_v2udf_177",aE="_summaryLeft_v2udf_194",sE="_summaryDate_v2udf_203",iE="_summaryRight_v2udf_210",cE="_amount_v2udf_217",rE="_totalAmount_v2udf_225",oE="_chevron_v2udf_233",uE="_chevronOpen_v2udf_239",dE="_bodyOuter_v2udf_244",fE="_bodyOuterOpen_v2udf_250",hE="_bodyInner_v2udf_254",mE="_body_v2udf_244",pE="_col_v2udf_267",vE="_colTitle_v2udf_272",gE="_infoRow_v2udf_281",_E="_infoRowTotal_v2udf_294",yE="_infoLabel_v2udf_299",xE="_infoValue_v2udf_300",bE="_infoValueRow_v2udf_319",jE="_infoLink_v2udf_325",SE="_copyBtn_v2udf_337",le={page:zT,main:LT,glow:BT,title:UT,list:kT,empty:HT,status:qT,statusError:$T,loadMore:GT,loadMoreBtn:VT,statusBadge:FT,status_pending:QT,status_completed:YT,status_cancelled:XT,status_rejected:ZT,status_error:KT,status_money_accepted:IT,status_web3_processing:PT,status_web3_hash_error:WT,status_web3_balance_problem:JT,status_receipt_error:eE,status_usdt_delivered:tE,accordionItem:nE,summaryRow:lE,summaryLeft:aE,summaryDate:sE,summaryRight:iE,amount:cE,totalAmount:rE,chevron:oE,chevronOpen:uE,bodyOuter:dE,bodyOuterOpen:fE,bodyInner:hE,body:mE,col:pE,colTitle:vE,infoRow:gE,infoRowTotal:_E,infoLabel:yE,infoValue:xE,infoValueRow:bE,infoLink:jE,copyBtn:SE},NE={pending:"Ожидание",rejected:"Отклонён",completed:"Выполнен",cancelled:"Отменён",error:"Ошибка"},Pm={pending:"Ожидание",money_accepted:"Деньги получены",web3_processing:"Обработка в сети",web3_hash_error:"Ошибка хэша",web3_balance_problem:"Проблема с балансом",receipt_error:"Ошибка чека",completed:"Завершён",usdt_delivered:"USDT отправлен"};function Wm(s){return s?new Date(s).toLocaleString("ru-RU",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit"}):"—"}function wE(s){return s?s.length<=16?s:`${s.slice(0,8)}…${s.slice(-6)}`:"—"}function I0({status:s,labels:c}){return l.jsx("span",{className:`${le.statusBadge} ${le[`status_${s}`]??""}`,children:c[s]??s})}function CE({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:le.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 TE({item:s}){const[c,i]=b.useState(!1),{order:o,payment:d}=s;return l.jsxs("div",{className:le.accordionItem,children:[l.jsxs("button",{className:le.summaryRow,onClick:()=>i(h=>!h),type:"button","aria-expanded":c,children:[l.jsxs("div",{className:le.summaryLeft,children:[l.jsx("span",{className:le.summaryDate,children:Wm(o.created_at)}),l.jsx(I0,{status:o.status,labels:NE}),d&&l.jsx(I0,{status:d.status,labels:Pm})]}),l.jsxs("div",{className:le.summaryRight,children:[l.jsxs("span",{className:le.amount,children:[o.usdt_amount," USDT"]}),l.jsxs("span",{className:le.totalAmount,children:[Number(o.total_price).toLocaleString("ru-RU")," ₽"]}),l.jsx("svg",{className:`${le.chevron} ${c?le.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:`${le.bodyOuter} ${c?le.bodyOuterOpen:""}`,children:l.jsx("div",{className:le.bodyInner,children:l.jsxs("div",{className:le.body,children:[l.jsxs("div",{className:le.col,children:[l.jsx("p",{className:le.colTitle,children:"Заказ"}),l.jsxs("div",{className:le.infoRow,children:[l.jsx("span",{className:le.infoLabel,children:"Сумма USDT"}),l.jsxs("span",{className:le.infoValue,children:[o.usdt_amount," USDT"]})]}),l.jsxs("div",{className:le.infoRow,children:[l.jsx("span",{className:le.infoLabel,children:"Курс обмена"}),l.jsxs("span",{className:le.infoValue,children:["1 USDT = ",o.usdt_exchange_rate," ₽"]})]}),l.jsxs("div",{className:le.infoRow,children:[l.jsx("span",{className:le.infoLabel,children:"Сервисный сбор"}),l.jsxs("span",{className:le.infoValue,children:[o.service_fee," USDT"]})]}),l.jsxs("div",{className:le.infoRow,children:[l.jsx("span",{className:le.infoLabel,children:"Комиссия за газ"}),l.jsxs("span",{className:le.infoValue,children:[o.gas_fee," USDT"]})]}),l.jsxs("div",{className:`${le.infoRow} ${le.infoRowTotal}`,children:[l.jsx("span",{className:le.infoLabel,children:"Итого к оплате"}),l.jsxs("span",{className:le.infoValue,children:[Number(o.total_price).toLocaleString("ru-RU")," ₽"]})]})]}),l.jsxs("div",{className:le.col,children:[l.jsx("p",{className:le.colTitle,children:"Платёж"}),d?l.jsxs(l.Fragment,{children:[l.jsxs("div",{className:le.infoRow,children:[l.jsx("span",{className:le.infoLabel,children:"Статус"}),l.jsx(I0,{status:d.status,labels:Pm})]}),l.jsxs("div",{className:le.infoRow,children:[l.jsx("span",{className:le.infoLabel,children:"Оплачено"}),l.jsx("span",{className:le.infoValue,children:d.itpay_paid_amount||"—"})]}),l.jsxs("div",{className:le.infoRow,children:[l.jsx("span",{className:le.infoLabel,children:"Истекает"}),l.jsx("span",{className:le.infoValue,children:Wm(d.expired_date)})]}),l.jsxs("div",{className:le.infoRow,children:[l.jsx("span",{className:le.infoLabel,children:"Хэш транзакции"}),l.jsxs("span",{className:le.infoValueRow,children:[l.jsx("span",{className:le.infoValue,title:d.web3_transaction_hash||void 0,children:wE(d.web3_transaction_hash)}),d.web3_transaction_hash&&l.jsx(CE,{value:d.web3_transaction_hash})]})]}),l.jsxs("div",{className:le.infoRow,children:[l.jsx("span",{className:le.infoLabel,children:"Чек"}),d.receipt_cloudekassir_link?l.jsx("a",{href:d.receipt_cloudekassir_link,target:"_blank",rel:"noopener noreferrer",className:le.infoLink,children:"Открыть →"}):l.jsx("span",{className:le.infoValue,children:"—"})]})]}):l.jsx("div",{className:le.infoRow,children:l.jsx("span",{className:le.infoValue,children:"—"})})]})]})})})]})}function EE(){const{data:s,isLoading:c,isError:i,fetchNextPage:o,hasNextPage:d,isFetchingNextPage:h}=Sx(),m=(s==null?void 0:s.pages.flatMap(p=>p.orders))??[];return l.jsxs("div",{className:le.page,children:[l.jsx(Ia,{}),l.jsxs("main",{className:le.main,children:[l.jsx("div",{className:le.glow}),l.jsx("h1",{className:le.title,children:"Транзакции"}),c&&l.jsx("p",{className:le.status,children:"Загрузка..."}),i&&l.jsx("p",{className:le.statusError,children:"Не удалось загрузить транзакции. Попробуйте обновить страницу."}),!c&&!i&&m.length===0&&l.jsx("p",{className:le.empty,children:"У вас пока нет транзакций."}),m.length>0&&l.jsx("div",{className:le.list,children:m.map(p=>l.jsx(TE,{item:p},p.order.id))}),d&&l.jsx("div",{className:le.loadMore,children:l.jsx("button",{className:le.loadMoreBtn,onClick:()=>o(),disabled:h,type:"button",children:h?"Загрузка...":"Загрузить ещё"})})]}),l.jsx(Jn,{})]})}function RE(){const{pathname:s}=pn();return b.useEffect(()=>{window.scrollTo(0,0)},[s]),null}function AE(){const{isAuthenticated:s,isLoading:c}=Jp(),i=pn();return c?null:s?l.jsx(wp,{}):l.jsx(vc,{to:fe.LOGIN,state:{from:i},replace:!0})}function ME(){var d,h;const{isAuthenticated:s,isLoading:c}=Jp(),o=((h=(d=pn().state)==null?void 0:d.from)==null?void 0:h.pathname)??fe.WALLET;return c?null:s?l.jsx(vc,{to:o,replace:!0}):l.jsx(wp,{})}function OE(){return l.jsxs(j4,{children:[l.jsx(RE,{}),l.jsxs(W_,{children:[l.jsx(rt,{path:fe.HOME,element:l.jsx(I5,{})}),l.jsx(rt,{path:fe.PUBLICHNAYA_OFERTA,element:l.jsx(kC,{})}),l.jsx(rt,{path:fe.POLITIKA_PERSONALNYH_DANNYH,element:l.jsx(WC,{})}),l.jsx(rt,{path:fe.POLITIKA_COOKIE,element:l.jsx(oT,{})}),l.jsx(rt,{path:fe.SOGLASIE_PERSONALNYH_DANNYH,element:l.jsx(bT,{})}),l.jsx(rt,{path:fe.REESTR_PD_RKN,element:l.jsx(DT,{})}),l.jsxs(rt,{element:l.jsx(ME,{}),children:[l.jsx(rt,{path:fe.LOGIN,element:l.jsx(bN,{})}),l.jsx(rt,{path:fe.REGISTER,element:l.jsx(BN,{})}),l.jsx(rt,{path:fe.RESTORE_PASSWORD,element:l.jsx(EC,{})})]}),l.jsxs(rt,{element:l.jsx(AE,{}),children:[l.jsx(rt,{path:fe.CONVERTER,element:l.jsx(ww,{})}),l.jsx(rt,{path:fe.WALLET,element:l.jsx(Tm,{})}),l.jsx(rt,{path:fe.WALLET_CHAIN,element:l.jsx(Tm,{})}),l.jsx(rt,{path:fe.SWAP,element:l.jsx(H9,{})}),l.jsx(rt,{path:fe.BRIDGE,element:l.jsx(J9,{})}),l.jsx(rt,{path:fe.PROFILE,element:l.jsx(aN,{})}),l.jsx(rt,{path:fe.SEED_PHRASE,element:l.jsx(Zw,{})}),l.jsx(rt,{path:fe.KYC,element:l.jsx(pC,{})}),l.jsx(rt,{path:fe.TRANSACTIONS,element:l.jsx(EE,{})})]})]})]})}const DE=new Wy({defaultOptions:{queries:{retry:!1}}});function zE({children:s}){return l.jsx(Jy,{client:DE,children:s})}function LE(){return l.jsx(zE,{children:l.jsx(OE,{})})}Wg.createRoot(document.getElementById("root")).render(l.jsx(b.StrictMode,{children:l.jsx(LE,{})}));
|