PageSourceSearch

https://andex.vercel.app/_next/static/chunks/pages/_app-c47839ff7690a247.js

js andex.vercel.app collected 2026-10-03 05:47:06 UTC 1,965,847 bytes, 3,114 lines download raw bytes

vendor: 4,706 bytes, line 1
1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{65675:function(_,C,L){"use strict";function n(_){for(var C=arguments.length,L=Array(C>1?C-1:0),Z=1;Z<C;Z++)L[Z-1]=arguments[Z];throw Error("[Immer] minified error nr: "+_+(L.length?" "+L.map(function(_){return"'"+_+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function r(_){return!!_&&!!_[ep]}function t(_){var C;return!!_&&(function(_){if(!_||"object"!=typeof _)return!1;var C=Object.getPrototypeOf(_);if(null===C)return!0;var L=Object.hasOwnProperty.call(C,"constructor")&&C.constructor;return L===Object||"function"==typeof L&&Function.toString.call(L)===ef}(_)||Array.isArray(_)||!!_[eh]||!!(null===(C=_.constructor)||void 0===C?void 0:C[eh])||s(_)||v(_))}function i(_,C,L){void 0===L&&(L=!1),0===o(_)?(L?Object.keys:em)(_).forEach(function(Z){L&&"symbol"==typeof Z||C(Z,_[Z],_)}):_.forEach(function(L,Z){return C(Z,L,_)})}function o(_){var C=_[ep];return C?C.i>3?C.i-4:C.i:Array.isArray(_)?1:s(_)?2:v(_)?3:0}function u(_,C){return 2===o(_)?_.has(C):Object.prototype.hasOwnProperty.call(_,C)}function f(_,C,L){var Z=o(_);2===Z?_.set(C,L):3===Z?_.add(L):_[C]=L}function c(_,C){return _===C?0!==_||1/_==1/C:_!=_&&C!=C}function s(_){return el&&_ instanceof Map}function v(_){return eu&&_ instanceof Set}function p(_){return _.o||_.t}function l(_){if(Array.isArray(_))return Array.prototype.slice.call(_);var C=eb(_);delete C[ep];for(var L=em(C),Z=0;Z<L.length;Z++){var ea=L[Z],es=C[ea];!1===es.writable&&(es.writable=!0,es.configurable=!0),(es.get||es.set)&&(C[ea]={configurable:!0,writable:!0,enumerable:es.enumerable,value:_[ea]})}return Object.create(Object.getPrototypeOf(_),C)}function d(_,C){return void 0===C&&(C=!1),y(_)||r(_)||!t(_)||(o(_)>1&&(_.set=_.add=_.clear=_.delete=h),Object.freeze(_),C&&i(_,function(_,C){return d(C,!0)},!0)),_}function h(){n(2)}function y(_){return null==_||"object"!=typeof _||Object.isFrozen(_)}function b(_){var C=ey[_];return C||n(18,_),C}function j(_,C){C&&(b("Patches"),_.u=[],_.s=[],_.v=C)}function g(_){O(_),_.p.forEach(S),_.p=null}function O(_){_===es&&(es=_.l)}function w(_){return es={p:[],l:es,h:_,m:!0,_:0}}function S(_){var C=_[ep];0===C.i||1===C.i?C.j():C.g=!0}function P(_,C){C._=C.p.length;var L=C.p[0],Z=void 0!==_&&_!==L;return C.h.O||b("ES5").S(C,_,Z),Z?(L[ep].P&&(g(C),n(4)),t(_)&&(_=M(C,_),C.l||x(C,_)),C.u&&b("Patches").M(L[ep].t,_,C.u,C.s)):_=M(C,L,[]),g(C),C.u&&C.v(C.u,C.s),_!==ed?_:void 0}function M(_,C,L){if(y(C))return C;var Z=C[ep];if(!Z)return i(C,function(ea,es){return A(_,Z,C,ea,es,L)},!0),C;if(Z.A!==_)return C;if(!Z.P)return x(_,Z.t,!0),Z.t;if(!Z.I){Z.I=!0,Z.A._--;var ea=4===Z.i||5===Z.i?Z.o=l(Z.k):Z.o,es=ea,eo=!1;3===Z.i&&(es=new Set(ea),ea.clear(),eo=!0),i(es,function(C,es){return A(_,Z,ea,C,es,L,eo)}),x(_,ea,!1),L&&_.u&&b("Patches").N(Z,L,_.u,_.s)}return Z.o}function A(_,C,L,Z,ea,es,eo){if(r(ea)){var el=M(_,ea,es&&C&&3!==C.i&&!u(C.R,Z)?es.concat(Z):void 0);if(f(L,Z,el),!r(el))return;_.m=!1}else eo&&L.add(ea);if(t(ea)&&!y(ea)){if(!_.h.D&&_._<1)return;M(_,ea),C&&C.A.l||x(_,ea)}}function x(_,C,L){void 0===L&&(L=!1),!_.l&&_.h.D&&_.m&&d(C,L)}function z(_,C){var L=_[ep];return(L?p(L):_)[C]}function I(_,C){if(C in _)for(var L=Object.getPrototypeOf(_);L;){var Z=Object.getOwnPropertyDescriptor(L,C);if(Z)return Z;L=Object.getPrototypeOf(L)}}function k(_){_.P||(_.P=!0,_.l&&k(_.l))}function E(_){_.o||(_.o=l(_.t))}function N(_,C,L){var Z,ea,eo,el,eu,ec,ed,eh=s(C)?b("MapSet").F(C,L):v(C)?b("MapSet").T(C,L):_.O?(eo=ea={i:(Z=Array.isArray(C))?1:0,A:L?L.A:es,P:!1,I:!1,R:{},l:L,t:C,k:null,o:null,j:null,C:!1},el=eg,Z&&(eo=[ea],el=ev),ec=(eu=Proxy.revocable(eo,el)).revoke,ed=eu.proxy,ea.k=ed,ea.j=ec,ed):b("ES5").J(C,L);return(L?L.A:es).p.push(eh),eh}function D(_,C){switch(C){case 2:return new Map(_);case 3:return Array.from(_)}return l(_)}L.d(C,{xC:function(){return configureStore},PH:function(){return createAction},hg:function(){return eP},Lq:function(){return createReducer},oM:function(){return createSlice},x0:function(){return nanoid}});var Z,ea,es,eo="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),el="undefined"!=typeof Map,eu="undefined"!=typeof Set,ec="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,ed=eo?Symbol.for("immer-nothing"):((ea={})["immer-nothing"]=!0,ea),eh=eo?Symbol.for("immer-draftable"):"__$immer_draftable",ep=eo?Symbol.for("immer-state"):"__$immer_state",ef=""+Object.prototype.constructor,em="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(_){return Object.getOwnPropertyNames(_).concat(Object.getOwnPropertySymbols(_))}:Object.getOwnPropertyNames,eb=Object.getOwnPropertyDescriptors||function(_){var 
1C={};return em(_).forEach(function(L){C[L]=Object.getOwnPropertyDescriptor(_,L)}),C},ey={},eg={get:function(_,C){if(C===ep)return _;var L,Z,ea=p(_);if(!u(ea,C))return(Z=I(ea,C))?"value"in Z?Z.value:null===(L=Z.get)||void 0===L?void 0:L.call(_.k):void 0;var es=ea[C];return _.I||!t(es)?es:es===z(_.t,C)?(E(_),_.o[C]=N(_.A.h,es,_)):es},has:function(_,C){return C in p(_)},ownKeys:function(_){return Reflect.ownKeys(p(_))},set:function(_,C,L){var Z=I(p(_),C);if(null==Z?void 0:Z.set)return Z.set.call(_.k,L),!0;if(!_.P){var ea=z(p(_),C),es=null==ea?void 0:ea[ep];if(es&&es.t===L)return _.o[C]=L,_.R[C]=!1,!0;if(c(L,ea)&&(void 0!==L||u(_.t,C)))return!0;E(_),k(_)}return _.o[C]===L&&(void 0!==L||C in _.o)||Number.isNaN(L)&&Number.isNaN(_.o[C])||(_.o[C]=L,_.R[C]=!0),!0},deleteProperty:function(_,C){return void 0!==z(_.t,C)||C in _.t?(_.R[C]=!1,E(_),k(_)):delete _.R[C],_.o&&delete _.o[C],!0},getOwnPropertyDescriptor:function(_,C){var L=p(_),Z=Reflect.getOwnPropertyDescriptor(L,C);return Z?{writable:!0,configurable:1!==_.i||"length"!==C,enumerable:Z.enumerable,value:L[C]}:Z},defineProperty:function(){n(11)},getPrototypeOf:function(_){return Object.getPrototypeOf(_.t)},setPrototypeOf:function(){n(12)}},ev={};i(eg,function(_,C){ev[_]=function(){return arguments[0]=arguments[0][0],C.apply(this,arguments)}}),ev.deleteProperty=function(_,C){return ev.set.call(this,_,C,void 0)},ev.set=function(_,C,L){return eg.set.call(this,_[0],C,L,_[0])};var ex=new(function(){function e(_){var C=this;this.O=ec,this.D=!0,this.produce=function(_,L,Z){if("function"==typeof _&&"function"!=typeof L){var ea,es=L;return L=_,function(_){var Z=this;void 0===_&&(_=es);for(var ea=arguments.length,eo=Array(ea>1?ea-1:0),el=1;el<ea;el++)eo[el-1]=arguments[el];return C.produce(_,function(_){var C;return(C=L).call.apply(C,[Z,_].concat(eo))})}}if("function"!=typeof L&&n(6),void 0!==Z&&"function"!=typeof Z&&n(7),t(_)){var eo=w(C),el=N(C,_,void 0),eu=!0;try{ea=L(el),eu=!1}finally{eu?g(eo):O(eo)}return"undefined"!=typeof Promise&&ea instanceof Promise?ea.then(function(_){return j(eo,Z),P(_,eo)},function(_){throw g(eo),_}):(j(eo,Z),P(ea,eo))}if(!_||"object"!=typeof _){if(void 0===(ea=L(_))&&(ea=_),ea===ed&&(ea=void 0),C.D&&d(ea,!0),Z){var ec=[],eh=[];b("Patches").M(_,ea,ec,eh),Z(ec,eh)}return ea}n(21,_)},this.produceWithPatches=function(_,L){if("function"==typeof _)return function(L){for(var Z=arguments.length,ea=Array(Z>1?Z-1:0),es=1;es<Z;es++)ea[es-1]=arguments[es];return C.produceWithPatches(L,function(C){return _.apply(void 0,[C].concat(ea))})};var Z,ea,es=C.produce(_,L,function(_,C){Z=_,ea=C});return"undefined"!=typeof Promise&&es instanceof Promise?es.then(function(_){return[_,Z,ea]}):[es,Z,ea]},"boolean"==typeof(null==_?void 0:_.useProxies)&&this.setUseProxies(_.useProxies),"boolean"==typeof(null==_?void 0:_.autoFreeze)&&this.setAutoFreeze(_.autoFreeze)}var _=e.prototype;return _.createDraft=function(_){t(_)||n(8),r(_)&&(r(C=_)||n(22,C),_=function n(_){if(!t(_))return _;var C,L=_[ep],Z=o(_);if(L){if(!L.P&&(L.i<4||!b("ES5").K(L)))return L.t;L.I=!0,C=D(_,Z),L.I=!1}else C=D(_,Z);return i(C,function(_,Z){var ea;L&&(2===o(ea=L.t)?ea.get(_):ea[_])===Z||f(C,_,n(Z))}),3===Z?new Set(C):C}(C));var C,L=w(this),Z=N(this,_,void 0);return Z[ep].C=!0,O(L),Z},_.finishDraft=function(_,C){var L=(_&&_[ep]).A;return j(L,C),P(void 0,L)},_.setAutoFreeze=function(_){this.D=_},_.setUseProxies=function(_){_&&!ec&&n(20),this.O=_},_.applyPatches=function(_,C){for(L=C.length-1;L>=0;L--){var L,Z=C[L];if(0===Z.path.length&&"replace"===Z.op){_=Z.value;break}}L>-1&&(C=C.slice(L+1));var ea=b("Patches").$;return r(_)?ea(_,C):this.produce(_,function(_){return ea(_,C)})},e}()),e_=ex.produce;ex.produceWithPatches.bind(ex),ex.setAutoFreeze.bind(ex),ex.setUseProxies.bind(ex),ex.applyPatches.bind(ex),ex.createDraft.bind(ex),ex.finishDraft.bind(ex);var ew=L(7755);function createThunkMiddleware(_){return function(C){var L=C.dispatch,Z=C.getState;return function(C){return function(ea){return"function"==typeof ea?ea(L,Z,_):C(ea)}}}}var eC=createThunkMiddleware();eC.withExtraArgument=createThunkMiddleware,L(73656);
1var eT=(Z=function(_,C){return(Z=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(_,C){_.__proto__=C}||function(_,C){for(var L in C)Object.prototype.hasOwnProperty.call(C,L)&&(_[L]=C[L])})(_,C)},function(_,C){if("function"!=typeof C&&null!==C)throw TypeError("Class extends value "+String(C)+" is not a constructor or null");function __(){this.constructor=_}Z(_,C),_.prototype=null===C?Object.create(C):(__.prototype=C.prototype,new __)}),__generator=function(_,C){var L,Z,ea,es,eo={label:0,sent:function(){if(1&ea[0])throw ea[1];return ea[1]},trys:[],ops:[]};return es={next:verb(0),throw:verb(1),return:verb(2)},"function"==typeof Symbol&&(es[Symbol.iterator]=function(){return this}),es;function verb(es){return function(el){return function(es){if(L)throw TypeError("Generator is already executing.");for(;eo;)try{if(L=1,Z&&(ea=2&es[0]?Z.return:es[0]?Z.throw||((ea=Z.return)&&ea.call(Z),0):Z.next)&&!(ea=ea.call(Z,es[1])).done)return ea;switch(Z=0,ea&&(es=[2&es[0],ea.value]),es[0]){case 0:case 1:ea=es;break;case 4:return eo.label++,{value:es[1],done:!1};case 5:eo.label++,Z=es[1],es=[0];continue;case 7:es=eo.ops.pop(),eo.trys.pop();continue;default:if(!(ea=(ea=eo.trys).length>0&&ea[ea.length-1])&&(6===es[0]||2===es[0])){eo=0;continue}if(3===es[0]&&(!ea||es[1]>ea[0]&&es[1]<ea[3])){eo.label=es[1];break}if(6===es[0]&&eo.label<ea[1]){eo.label=ea[1],ea=es;break}if(ea&&eo.label<ea[2]){eo.label=ea[2],eo.ops.push(es);break}ea[2]&&eo.ops.pop(),eo.trys.pop();continue}es=C.call(_,eo)}catch(_){es=[6,_],Z=0}finally{L=ea=0}if(5&es[0])throw es[1];return{value:es[0]?es[1]:void 0,done:!0}}([es,el])}}},__spreadArray=function(_,C){for(var L=0,Z=C.length,ea=_.length;L<Z;L++,ea++)_[ea]=C[L];return _},eq=Object.defineProperty,ek=Object.defineProperties,eS=Object.getOwnPropertyDescriptors,eE=Object.getOwnPropertySymbols,eM=Object.prototype.hasOwnProperty,ej=Object.prototype.propertyIsEnumerable,__defNormalProp=function(_,C,L){return C in _?eq(_,C,{enumerable:!0,configurable:!0,writable:!0,value:L}):_[C]=L},__spreadValues=function(_,C){for(var L in C||(C={}))eM.call(C,L)&&__defNormalProp(_,L,C[L]);if(eE)for(var Z=0,ea=eE(C);Z<ea.length;Z++){var L=ea[Z];ej.call(C,L)&&__defNormalProp(_,L,C[L])}return _},__spreadProps=function(_,C){return ek(_,eS(C))},eA="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!=arguments.length)return"object"==typeof arguments[0]?ew.qC:ew.qC.apply(null,arguments)};function createAction(_,C){function actionCreator(){for(var L=[],Z=0;Z<arguments.length;Z++)L[Z]=arguments[Z];if(C){var ea=C.apply(void 0,L);if(!ea)throw Error("prepareAction did not return an object");return __spreadValues(__spreadValues({type:_,payload:ea.payload},"meta"in ea&&{meta:ea.meta}),"error"in ea&&{error:ea.error})}return{type:_,payload:L[0]}}return actionCreator.toString=function(){return""+_},actionCreator.type=_,actionCreator.match=function(C){return C.type===_},actionCreator}"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;var eD=function(_){function MiddlewareArray(){for(var C=[],L=0;L<arguments.length;L++)C[L]=arguments[L];var Z=_.apply(this,C)||this;return Object.setPrototypeOf(Z,MiddlewareArray.prototype),Z}return eT(MiddlewareArray,_),Object.defineProperty(MiddlewareArray,Symbol.species,{get:function(){return MiddlewareArray},enumerable:!1,configurable:!0}),MiddlewareArray.prototype.concat=function(){for(var C=[],L=0;L<arguments.length;L++)C[L]=arguments[L];return _.prototype.concat.apply(this,C)},MiddlewareArray.prototype.prepend=function(){for(var _=[],C=0;C<arguments.length;C++)_[C]=arguments[C];return 1===_.length&&Array.isArray(_[0])?new(MiddlewareArray.bind.apply(MiddlewareArray,__spreadArray([void 0],_[0].concat(this)))):new(MiddlewareArray.bind.apply(MiddlewareArray,__spreadArray([void 0],_.concat(this))))},MiddlewareArray}(Array),eI=function(_){function EnhancerArray(){for(var C=[],L=0;L<arguments.length;L++)C[L]=arguments[L];var Z=_.apply(this,C)||this;return Object.setPrototypeOf(Z,EnhancerArray.prototype),Z}return eT(EnhancerArray,_),Object.defineProperty(EnhancerArray,Symbol.species,{get:function(){return EnhancerArray}
1,enumerable:!1,configurable:!0}),EnhancerArray.prototype.concat=function(){for(var C=[],L=0;L<arguments.length;L++)C[L]=arguments[L];return _.prototype.concat.apply(this,C)},EnhancerArray.prototype.prepend=function(){for(var _=[],C=0;C<arguments.length;C++)_[C]=arguments[C];return 1===_.length&&Array.isArray(_[0])?new(EnhancerArray.bind.apply(EnhancerArray,__spreadArray([void 0],_[0].concat(this)))):new(EnhancerArray.bind.apply(EnhancerArray,__spreadArray([void 0],_.concat(this))))},EnhancerArray}(Array);function freezeDraftable(_){return t(_)?e_(_,function(){}):_}function configureStore(_){var C,curriedGetDefaultMiddleware=function(_){var C,L,Z,ea;return void 0===(C=_)&&(C={}),Z=void 0===(L=C.thunk)||L,C.immutableCheck,C.serializableCheck,C.actionCreatorCheck,ea=new eD,Z&&("boolean"==typeof Z?ea.push(eC):ea.push(eC.withExtraArgument(Z.extraArgument))),ea},L=_||{},Z=L.reducer,ea=void 0===Z?void 0:Z,es=L.middleware,eo=void 0===es?curriedGetDefaultMiddleware():es,el=L.devTools,eu=void 0===el||el,ec=L.preloadedState,ed=void 0===ec?void 0:ec,eh=L.enhancers,ep=void 0===eh?void 0:eh;if("function"==typeof ea)C=ea;else if(function(_){if("object"!=typeof _||null===_)return!1;var C=Object.getPrototypeOf(_);if(null===C)return!0;for(var L=C;null!==Object.getPrototypeOf(L);)L=Object.getPrototypeOf(L);return C===L}(ea))C=(0,ew.UY)(ea);else throw Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var ef=eo;"function"==typeof ef&&(ef=ef(curriedGetDefaultMiddleware));var em=ew.md.apply(void 0,ef),eb=ew.qC;eu&&(eb=eA(__spreadValues({trace:!1},"object"==typeof eu&&eu)));var ey=new eI(em),eg=ey;Array.isArray(ep)?eg=__spreadArray([em],ep):"function"==typeof ep&&(eg=ep(ey));var ev=eb.apply(void 0,eg);return(0,ew.MT)(C,ed,ev)}function executeReducerBuilderCallback(_){var C,L={},Z=[],ea={addCase:function(_,C){var Z="string"==typeof _?_:_.type;if(!Z)throw Error("`builder.addCase` cannot be called with an empty action type");if(Z in L)throw Error("`builder.addCase` cannot be called with two reducers for the same action type");return L[Z]=C,ea},addMatcher:function(_,C){return Z.push({matcher:_,reducer:C}),ea},addDefaultCase:function(_){return C=_,ea}};return _(ea),[L,Z,C]}function createReducer(_,C,L,Z){void 0===L&&(L=[]);var ea,es="function"==typeof C?executeReducerBuilderCallback(C):[C,L,Z],eo=es[0],el=es[1],eu=es[2];if("function"==typeof _)ea=function(){return freezeDraftable(_())};else{var ec=freezeDraftable(_);ea=function(){return ec}}function reducer(_,C){void 0===_&&(_=ea());var L=__spreadArray([eo[C.type]],el.filter(function(_){return(0,_.matcher)(C)}).map(function(_){return _.reducer}));return 0===L.filter(function(_){return!!_}).length&&(L=[eu]),L.reduce(function(_,L){if(L){if(r(_)){var Z=L(_,C);return void 0===Z?_:Z}if(t(_))return e_(_,function(_){return L(_,C)});var Z=L(_,C);if(void 0===Z){if(null===_)return _;throw Error("A case reducer on a non-draftable value must not return undefined")}return Z}return _},_)}return reducer.getInitialState=ea,reducer}function createSlice(_){var C,L=_.name;if(!L)throw Error("`name` is a required option for createSlice");var Z="function"==typeof _.initialState?_.initialState:freezeDraftable(_.initialState),ea=_.reducers||{},es=Object.keys(ea),eo={},el={},eu={};function buildReducer(){var C="function"==typeof _.extraReducers?executeReducerBuilderCallback(_.extraReducers):[_.extraReducers],L=C[0],ea=C[1],es=void 0===ea?[]:ea,eo=C[2],eu=void 0===eo?void 0:eo,ec=__spreadValues(__spreadValues({},void 0===L?{}:L),el);return createReducer(Z,function(_){for(var C in ec)_.addCase(C,ec[C]);for(var L=0;L<es.length;L++){var Z=es[L];_.addMatcher(Z.matcher,Z.reducer)}eu&&_.addDefaultCase(eu)})}return es.forEach(function(_){var C,Z,es=ea[_],ec=L+"/"+_;
1"reducer"in es?(C=es.reducer,Z=es.prepare):C=es,eo[_]=C,el[ec]=C,eu[_]=Z?createAction(ec,Z):createAction(ec)}),{name:L,reducer:function(_,L){return C||(C=buildReducer()),C(_,L)},actions:eu,caseReducers:eo,getInitialState:function(){return C||(C=buildReducer()),C.getInitialState()}}}var nanoid=function(_){void 0===_&&(_=21);for(var C="",L=_;L--;)C+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return C},eO=["name","message","stack","code"],RejectWithValue=function(_,C){this.payload=_,this.meta=C},FulfillWithMeta=function(_,C){this.payload=_,this.meta=C},miniSerializeError=function(_){if("object"==typeof _&&null!==_){for(var C={},L=0;L<eO.length;L++){var Z=eO[L];"string"==typeof _[Z]&&(C[Z]=_[Z])}return C}return{message:String(_)}},eP=function(){function createAsyncThunk2(_,C,L){var Z=createAction(_+"/fulfilled",function(_,C,L,Z){return{payload:_,meta:__spreadProps(__spreadValues({},Z||{}),{arg:L,requestId:C,requestStatus:"fulfilled"})}}),ea=createAction(_+"/pending",function(_,C,L){return{payload:void 0,meta:__spreadProps(__spreadValues({},L||{}),{arg:C,requestId:_,requestStatus:"pending"})}}),es=createAction(_+"/rejected",function(_,C,Z,ea,es){return{payload:ea,error:(L&&L.serializeError||miniSerializeError)(_||"Rejected"),meta:__spreadProps(__spreadValues({},es||{}),{arg:Z,requestId:C,rejectedWithValue:!!ea,requestStatus:"rejected",aborted:(null==_?void 0:_.name)==="AbortError",condition:(null==_?void 0:_.name)==="ConditionError"})}}),eo="undefined"!=typeof AbortController?AbortController:function(){function class_1(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return class_1.prototype.abort=function(){},class_1}();return Object.assign(function(_){return function(el,eu,ec){var ed,eh=(null==L?void 0:L.idGenerator)?L.idGenerator(_):nanoid(),ep=new eo;function abort(_){ed=_,ep.abort()}var ef=function(){var eo,ef;return eo=this,ef=function(){var eo,ef,em,eb,ey,eg;return __generator(this,function(ev){switch(ev.label){case 0:var ex;if(ev.trys.push([0,4,,5]),!(null!==(ex=eb=null==(eo=null==L?void 0:L.condition)?void 0:eo.call(L,_,{getState:eu,extra:ec}))&&"object"==typeof ex&&"function"==typeof ex.then))return[3,2];return[4,eb];case 1:eb=ev.sent(),ev.label=2;case 2:if(!1===eb||ep.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return ey=new Promise(function(_,C){return ep.signal.addEventListener("abort",function(){return C({name:"AbortError",message:ed||"Aborted"})})}),el(ea(eh,_,null==(ef=null==L?void 0:L.getPendingMeta)?void 0:ef.call(L,{requestId:eh,arg:_},{getState:eu,extra:ec}))),[4,Promise.race([ey,Promise.resolve(C(_,{dispatch:el,getState:eu,extra:ec,requestId:eh,signal:ep.signal,abort:abort,rejectWithValue:function(_,C){return new RejectWithValue(_,C)},fulfillWithValue:function(_,C){return new FulfillWithMeta(_,C)}})).then(function(C){if(C instanceof RejectWithValue)throw C;return C instanceof FulfillWithMeta?Z(C.payload,eh,_,C.meta):Z(C,eh,_)})])];case 3:return em=ev.sent(),[3,5];case 4:return em=(eg=ev.sent())instanceof RejectWithValue?es(null,eh,_,eg.payload,eg.meta):es(eg,eh,_),[3,5];case 5:return L&&!L.dispatchConditionRejection&&es.match(em)&&em.meta.condition||el(em),[2,em]}})},new Promise(function(_,C){var fulfilled=function(_){try{step(ef.next(_))}catch(_){C(_)}},rejected=function(_){try{step(ef.throw(_))}catch(_){C(_)}},step=function(C){return C.done?_(C.value):Promise.resolve(C.value).then(fulfilled,rejected)};step((ef=ef.apply(eo,null)).next())})}();return Object.assign(ef,{abort:abort,requestId:eh,arg:_,unwrap:function(){return ef.then(unwrapResult)}})}},{pending:ea,rejected:es,fulfilled:Z,typePrefix:_})}return createAsyncThunk2.withTypes=function(){return createAsyncThunk2},createAsyncThunk2}();function unwrapResult(_){if(_.meta&&_.meta.rejectedWithValue)throw _.payload;if(_.error)throw _.error;return _.payload}var eN="listenerMiddleware";createAction(eN+"/add"),createAction(eN+"/removeAll"),createAction(eN+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:void 0!==L.g?L.g:globalThis),"undefined"!=typeof window&&window.requestAnimationFrame&&window.requestAnimationFrame,function(){function t(C,L){var Z=_[C];return Z?Z.enumerable=L:_[C]=Z={configurable:!0,enumerable:L,get:function(){var _=this[ep];return eg.get(_,C)},set:function(_){var L=this[ep];eg.set(L,C,_)}},Z}function e(_){for(var C=_.length-1;C>=0;C--){var L=_[C][ep];if(!L.P)switch(L.i){case 5:a(L)&&k(L);break;case 4:o(L)&&k(L)}}}function o(_){for(var C=_.t,L=_.k,Z=em(L),ea=Z.length-1;ea>=0;ea--){var es=Z[ea];if(es!==ep){var eo=C[es];if(void 0===eo&&!u(C,es))return!0;var el=L[es],eu=el&&el[ep];if(eu?eu.t!==eo:!c(el,eo))return!0}}var ec=!!C[ep];return Z.length!==em(C).length+(ec?0:1)}
1function a(_){var C=_.k;if(C.length!==_.t.length)return!0;var L=Object.getOwnPropertyDescriptor(C,C.length-1);if(L&&!L.get)return!0;for(var Z=0;Z<C.length;Z++)if(!C.hasOwnProperty(Z))return!0;return!1}var _={};ey.ES5||(ey.ES5={J:function(_,C){var L=Array.isArray(_),Z=function(_,C){if(_){for(var L=Array(C.length),Z=0;Z<C.length;Z++)Object.defineProperty(L,""+Z,t(Z,!0));return L}var ea=eb(C);delete ea[ep];for(var es=em(ea),eo=0;eo<es.length;eo++){var el=es[eo];ea[el]=t(el,_||!!ea[el].enumerable)}return Object.create(Object.getPrototypeOf(C),ea)}(L,_),ea={i:L?5:4,A:C?C.A:es,P:!1,I:!1,R:{},l:C,t:_,k:Z,o:null,g:!1,C:!1};return Object.defineProperty(Z,ep,{value:ea,writable:!0}),Z},S:function(_,C,L){L?r(C)&&C[ep].A===_&&e(_.p):(_.u&&function n(_){if(_&&"object"==typeof _){var C=_[ep];if(C){var L=C.t,Z=C.k,ea=C.R,es=C.i;if(4===es)i(Z,function(_){_!==ep&&(void 0!==L[_]||u(L,_)?ea[_]||n(Z[_]):(ea[_]=!0,k(C)))}),i(L,function(_){void 0!==Z[_]||u(Z,_)||(ea[_]=!1,k(C))});else if(5===es){if(a(C)&&(k(C),ea.length=!0),Z.length<L.length)for(var eo=Z.length;eo<L.length;eo++)ea[eo]=!1;else for(var el=L.length;el<Z.length;el++)ea[el]=!0;for(var eu=Math.min(Z.length,L.length),ec=0;ec<eu;ec++)Z.hasOwnProperty(ec)||(ea[ec]=!0),void 0===ea[ec]&&n(Z[ec])}}}}(_.p[0]),e(_.p))},K:function(_){return 4===_.i?o(_):a(_)}})}()},136:function(_,C,L){"use strict";L.d(C,{GJ:function(){return exceptionFromError},ME:function(){return eventFromUnknownInput},aB:function(){return eventFromMessage},dr:function(){return eventFromException}});var Z=L(36539),ea=L(29899),es=L(62836),eo=L(98494),el=L(38756),eu=L(41857);function exceptionFromError(_,C){let L=parseStackFrames(_,C),Z={type:C&&C.name,value:function(_){let C=_&&_.message;return C?C.error&&"string"==typeof C.error.message?C.error.message:C:"No error message"}(C)};return L.length&&(Z.stacktrace={frames:L}),void 0===Z.type&&""===Z.value&&(Z.value="Unrecoverable error caught"),Z}function eventFromError(_,C){return{exception:{values:[exceptionFromError(_,C)]}}}function parseStackFrames(_,C){let L=C.stacktrace||C.stack||"",Z=function(_){if(_){if("number"==typeof _.framesToPop)return _.framesToPop;if(ec.test(_.message))return 1}return 0}(C);try{return _(L,Z)}catch(_){}return[]}let ec=/Minified React error #\d+;/i;function eventFromException(_,C,L,Z){let ea=L&&L.syntheticException||void 0,es=eventFromUnknownInput(_,C,ea,Z);return(0,eo.EG)(es),es.level="error",L&&L.event_id&&(es.event_id=L.event_id),(0,el.WD)(es)}function eventFromMessage(_,C,L="info",Z,ea){let es=Z&&Z.syntheticException||void 0,eo=eventFromString(_,C,es,ea);return eo.level=L,Z&&Z.event_id&&(eo.event_id=Z.event_id),(0,el.WD)(eo)}function eventFromUnknownInput(_,C,L,el,ec){let ed;if((0,ea.VW)(C)&&C.error)return eventFromError(_,C.error);if((0,ea.TX)(C)||(0,ea.fm)(C)){if("stack"in C)ed=eventFromError(_,C);else{let Z=C.name||((0,ea.TX)(C)?"DOMError":"DOMException"),es=C.message?`${Z}: ${C.message}`:Z;ed=eventFromString(_,es,L,el),(0,eo.Db)(ed,es)}return"code"in C&&(ed.tags={...ed.tags,"DOMException.code":`${C.code}`}),ed}return(0,ea.VZ)(C)?eventFromError(_,C):((0,ea.PO)(C)||(0,ea.cO)(C)?ed=function(_,C,L,eo){let el=(0,Z.Gd)(),ec=el.getClient(),ed=ec&&ec.getOptions().normalizeDepth,eh={exception:{values:[{type:(0,ea.cO)(C)?C.constructor.name:eo?"UnhandledRejection":"Error",value:function(_,{isUnhandledRejection:C}){let L=(0,eu.zf)(_),Z=C?"promise rejection":"exception";if((0,ea.VW)(_))return`Event \`ErrorEvent\` captured as ${Z} with message \`${_.message}\``;if((0,ea.cO)(_)){let C=function(_){try{let C=Object.getPrototypeOf(_);return C?C.constructor.name:void 0}catch(_){}}(_);return`Event \`${C}\` (type=${_.type}) captured as ${Z}`}return`Object captured as ${Z} with keys: ${L}`}(C,{isUnhandledRejection:eo})}]},extra:{__serialized__:(0,es.Qy)(C,ed)}};if(L){let C=parseStackFrames(_,L);C.length&&(eh.exception.values[0].stacktrace={frames:C})}return eh}(_,C,L,ec):(ed=eventFromString(_,C,L,el),(0,eo.Db)(ed,`${C}`,void 0)),(0,eo.EG)(ed,{synthetic:!0}),ed)}function eventFromString(_,C,L,Z){let ea={message:C};if(Z&&L){let Z=parseStackFrames(_,L);Z.length&&(ea.exception={values:[{value:C,stacktrace:{frames:Z}}]})}return ea}},72497:function(_,C,L){"use strict";L.d(C,{Wz:function(){return shouldIgnoreOnError},m9:function(){return el},re:function(){return function wrap(_,C={}
1,L){if("function"!=typeof _)return _;try{let C=_.__sentry_wrapped__;if(C)return C;if((0,es.HK)(_))return _}catch(C){return _}let sentryWrapped=function(){let ea=Array.prototype.slice.call(arguments);try{L&&"function"==typeof L&&L.apply(this,arguments);let Z=ea.map(_=>wrap(_,C));return _.apply(this,Z)}catch(_){throw eu++,setTimeout(()=>{eu--}),(0,Z.$e)(L=>{L.addEventProcessor(_=>(C.mechanism&&((0,eo.Db)(_,void 0,void 0),(0,eo.EG)(_,C.mechanism)),_.extra={..._.extra,arguments:ea},_)),(0,Z.Tb)(_)}),_}};try{for(let C in _)Object.prototype.hasOwnProperty.call(_,C)&&(sentryWrapped[C]=_[C])}catch(_){}(0,es.$Q)(sentryWrapped,_),(0,es.xp)(_,"__sentry_wrapped__",sentryWrapped);try{let C=Object.getOwnPropertyDescriptor(sentryWrapped,"name");C.configurable&&Object.defineProperty(sentryWrapped,"name",{get:()=>_.name})}catch(_){}return sentryWrapped}}});var Z=L(76752),ea=L(7338),es=L(41857),eo=L(98494);let el=ea.n2,eu=0;function shouldIgnoreOnError(){return eu>0}},54250:function(_,C,L){"use strict";let Z,ea,es;L.d(C,{O:function(){return Breadcrumbs}});var eo=L(76752),el=L(36539),eu=L(94874),ec=L(41857),ed=L(7338),eh=L(9284);function instrumentConsole(){"console"in ed.n2&&eu.RU.forEach(function(_){_ in ed.n2.console&&(0,ec.hl)(ed.n2.console,_,function(C){return eu.LD[_]=C,function(...C){(0,eh.rK)("console",{args:C,level:_});let L=eu.LD[_];L&&L.apply(ed.n2.console,C)}})})}var ep=L(98494);let ef=ed.n2;function instrumentDOM(){if(!ef.document)return;let _=eh.rK.bind(null,"dom"),C=makeDOMEventHandler(_,!0);ef.document.addEventListener("click",C,!1),ef.document.addEventListener("keypress",C,!1),["EventTarget","Node"].forEach(C=>{let L=ef[C]&&ef[C].prototype;L&&L.hasOwnProperty&&L.hasOwnProperty("addEventListener")&&((0,ec.hl)(L,"addEventListener",function(C){return function(L,Z,ea){if("click"===L||"keypress"==L)try{let Z=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},es=Z[L]=Z[L]||{refCount:0};if(!es.handler){let Z=makeDOMEventHandler(_);es.handler=Z,C.call(this,L,Z,ea)}es.refCount++}catch(_){}return C.call(this,L,Z,ea)}}),(0,ec.hl)(L,"removeEventListener",function(_){return function(C,L,Z){if("click"===C||"keypress"==C)try{let L=this.__sentry_instrumentation_handlers__||{},ea=L[C];ea&&(ea.refCount--,ea.refCount<=0&&(_.call(this,C,ea.handler,Z),ea.handler=void 0,delete L[C]),0===Object.keys(L).length&&delete this.__sentry_instrumentation_handlers__)}catch(_){}return _.call(this,C,L,Z)}}))})}function makeDOMEventHandler(_,C=!1){return L=>{if(!L||L._sentryCaptured)return;let eo=function(_){try{return _.target}catch(_){return null}}(L);if("keypress"===L.type&&(!eo||!eo.tagName||"INPUT"!==eo.tagName&&"TEXTAREA"!==eo.tagName&&!eo.isContentEditable))return;(0,ec.xp)(L,"_sentryCaptured",!0),eo&&!eo._sentryId&&(0,ec.xp)(eo,"_sentryId",(0,ep.DM)());let el="keypress"===L.type?"input":L.type;!function(_){if(_.type!==ea)return!1;try{if(!_.target||_.target._sentryId!==es)return!1}catch(_){}return!0}(L)&&(_({event:L,name:el,global:C}),ea=L.type,es=eo?eo._sentryId:void 0),clearTimeout(Z),Z=ef.setTimeout(()=>{es=void 0,ea=void 0},1e3)}}var em=L(29899);let eb=ed.n2,ey="__sentry_xhr_v3__";function instrumentXHR(){if(!eb.XMLHttpRequest)return;let _=XMLHttpRequest.prototype;(0,ec.hl)(_,"open",function(_){return function(...C){let L=Date.now(),Z=(0,em.HD)(C[0])?C[0].toUpperCase():void 0,ea=function(_){if((0,em.HD)(_))return _;try{return _.toString()}catch(_){}}(C[1]);if(!Z||!ea)return _.apply(this,C);this[ey]={method:Z,url:ea,request_headers:{}},"POST"===Z&&ea.match(/sentry_key/)&&(this.__sentry_own_request__=!0);let onreadystatechangeHandler=()=>{let _=this[ey];if(_&&4===this.readyState){try{_.status_code=this.status}catch(_){}let C={args:[Z,ea],endTimestamp:Date.now(),startTimestamp:L,xhr:this};(0,eh.rK)("xhr",C)}};return"onreadystatechange"in this&&"function"==typeof this.onreadystatechange?(0,ec.hl)(this,"onreadystatechange",function(_){return function(...C){return onreadystatechangeHandler(),_.apply(this,C)}}):this.addEventListener("readystatechange",onreadystatechangeHandler),(0,ec.hl)(this,"setRequestHeader",function(_){return function(...C){let[L,Z]=C,ea=this[ey];return ea&&(0,em.HD)(L)&&(0,em.HD)(Z)&&(ea.request_headers[L.toLowerCase()]=Z),_.apply(this,C)}}),_.apply(this,C)}}),(0,ec.hl)(_,"send",function(_){return function(...C){let L=this[ey];if(!L)return _.apply(this,C);void 0!==C[0]&&(L.body=C[0]);let Z={args:[L.method,L.url],startTimestamp:Date.now(),xhr:this};return(0,eh.rK)("xhr",Z),_.apply(this,C)}})}var eg=L(82844);function instrumentFetch(){(0,eg.t$)()&&(0,ec.hl)(ed.n2,"fetch",function(_){return function(...C){let{method:L,url:Z}=function(_){if(0===_.length)return{method:"GET",url:""};if(2===_.length){let[C,L]=_;return{url:getUrlFromResource(C),method:hasProp(L,"method")?String(L.method).toUpperCase():"GET"}}let C=_[0];return{url:getUrlFromResource(C),method:hasProp(C,"method")?String(C.method).toUpperCase():"GET"}}(C),ea={args:C,fetchData:{method:L,url:Z},startTimestamp:Date.now()};return(0,eh.rK)("fetch",{...ea}),_.apply(ed.n2,C).then(_=>{let C={...ea,endTimestamp:Date.now(),response:_};return(0,eh.rK)("fetch",C),_},_=>{let C={...ea,endTimestamp:Date.now(),error:_};throw(0,eh.rK)("fetch",C),_})}})}function hasProp(_,C){return!!_&&"object"==typeof _&&!!_[C]}function getUrlFromResource(_){return"string"==typeof _?_:_?hasProp(_,"url")?_.url:_.toString?_.toString():"":""}var ev=L(94714),ex=L(55999);let e_=["fatal","error","warning","log","info","debug"];var ew=L(78106);function url_parseUrl(_){if(!_)return{};let C=_.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!C)return{};let L=C[6]||"",Z=C[8]||"";return{host:C[4],path:C[5],protocol:C[2],search:L,hash:Z,relative:C[5]+L+Z}}var eC=L(88770),eT=L(72497);let Breadcrumbs=class Breadcrumbs{static __initStatic(){this.id="Breadcrumbs"}constructor(_){this.name=Breadcrumbs.id,this.options={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,..._}}setupOnce(){if(this.options.console&&function(_){let C="console";(0,eh.Hj)(C,_),(0,eh.D2)(C,instrumentConsole)}(_consoleBreadcrumb),this.options.dom){var _;_=this.options.dom,(0,eh.Hj)("dom",function(C){let L;let Z="object"==typeof _?_.serializeAttribute:void 0,ea="object"==typeof _&&"number"==typeof _.maxStringLength?_.maxStringLength:void 0;ea&&ea>1024&&(eC.X&&eu.kg.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${ea} was configured. Sentry will use 1024 instead.`),ea=1024),"string"==typeof Z&&(Z=[Z]);try{let _=C.event;L=_&&_.target?(0,ex.Rt)(_.target,{keyAttrs:Z,maxStringLength:ea}):(0,ex.Rt)(_,{keyAttrs:Z,maxStringLength:ea})}catch(_){L="<unknown>"}0!==L.length&&(0,el.Gd)().addBreadcrumb({category:`ui.${C.name}`,message:L},{event:C.event,name:C.name,global:C.global})}),(0,eh.D2)("dom",instrumentDOM)}if(this.options.xhr&&((0,eh.Hj)("xhr",_xhrBreadcrumb),(0,eh.D2)("xhr",instrumentXHR)),this.options.fetch&&function(_){let C="fetch";(0,eh.Hj)(C,_),(0,eh.D2)(C,instrumentFetch)}(_fetchBreadcrumb),this.options.history&&(0,ev.a)(_historyBreadcrumb),this.options.sentry){let _=(0,eo.s3)();_&&_.on&&_.on("beforeSendEvent",addSentryBreadcrumb)}}};function addSentryBreadcrumb(_){(0,el.Gd)().addBreadcrumb({category:`sentry.${"transaction"===_.type?"transaction":"event"}`,event_id:_.event_id,level:_.level,message:(0,ep.jH)(_)},{event:_})}function _consoleBreadcrumb(_){var C;let L={category:"console",data:{arguments:_.args,logger:"console"},level:"warn"===(C=_.level)?"warning":e_.includes(C)?C:"log",message:(0,ew.nK)(_.args," ")};if("assert"===_.level){if(!1!==_.args[0])return;L.message=`Assertion failed: ${(0,ew.nK)(_.args.slice(1)," ")||"console.assert"}`,L.data.arguments=_.args.slice(1)}(0,el.Gd)().addBreadcrumb(L,{input:_.args,level:_.level})}function _xhrBreadcrumb(_){let{startTimestamp:C,endTimestamp:L}=_,Z=_.xhr[ey];if(!C||!L||!Z)return;let{method:ea,url:es,status_code:eo,body:eu}=Z,ec={xhr:_.xhr,input:eu,startTimestamp:C,endTimestamp:L};(0,el.Gd)().addBreadcrumb({category:"xhr",data:{method:ea,url:es,status_code:eo},type:"http"},ec)}function _fetchBreadcrumb(_){let{startTimestamp:C,endTimestamp:L}=_;
1if(!(!L||_.fetchData.url.match(/sentry_key/)&&"POST"===_.fetchData.method)){if(_.error){let Z=_.fetchData,ea={data:_.error,input:_.args,startTimestamp:C,endTimestamp:L};(0,el.Gd)().addBreadcrumb({category:"fetch",data:Z,level:"error",type:"http"},ea)}else{let Z=_.response,ea={..._.fetchData,status_code:Z&&Z.status},es={input:_.args,response:Z,startTimestamp:C,endTimestamp:L};(0,el.Gd)().addBreadcrumb({category:"fetch",data:ea,type:"http"},es)}}}function _historyBreadcrumb(_){let C=_.from,L=_.to,Z=url_parseUrl(eT.m9.location.href),ea=C?url_parseUrl(C):void 0,es=url_parseUrl(L);ea&&ea.path||(ea=Z),Z.protocol===es.protocol&&Z.host===es.host&&(L=es.relative),Z.protocol===ea.protocol&&Z.host===ea.host&&(C=ea.relative),(0,el.Gd)().addBreadcrumb({category:"navigation",data:{from:C,to:L}})}Breadcrumbs.__initStatic()},789:function(_,C,L){"use strict";L.d(C,{I:function(){return Dedupe}});var Z=L(94874),ea=L(88770);let Dedupe=class Dedupe{static __initStatic(){this.id="Dedupe"}constructor(){this.name=Dedupe.id}setupOnce(_,C){}processEvent(_){if(_.type)return _;try{var C;if((C=this._previousEvent)&&(function(_,C){let L=_.message,Z=C.message;return!!((L||Z)&&(!L||Z)&&(L||!Z)&&L===Z&&_isSameFingerprint(_,C)&&_isSameStacktrace(_,C))}(_,C)||function(_,C){let L=_getExceptionFromEvent(C),Z=_getExceptionFromEvent(_);return!!(L&&Z&&L.type===Z.type&&L.value===Z.value&&_isSameFingerprint(_,C)&&_isSameStacktrace(_,C))}(_,C)))return ea.X&&Z.kg.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(_){}return this._previousEvent=_}};function _isSameStacktrace(_,C){let L=_getFramesFromEvent(_),Z=_getFramesFromEvent(C);if(!L&&!Z)return!0;if(L&&!Z||!L&&Z||Z.length!==L.length)return!1;for(let _=0;_<Z.length;_++){let C=Z[_],ea=L[_];if(C.filename!==ea.filename||C.lineno!==ea.lineno||C.colno!==ea.colno||C.function!==ea.function)return!1}return!0}function _isSameFingerprint(_,C){let L=_.fingerprint,Z=C.fingerprint;if(!L&&!Z)return!0;if(L&&!Z||!L&&Z)return!1;try{return!(L.join("")!==Z.join(""))}catch(_){return!1}}function _getExceptionFromEvent(_){return _.exception&&_.exception.values&&_.exception.values[0]}function _getFramesFromEvent(_){let C=_.exception;if(C)try{return C.values[0].stacktrace.frames}catch(_){}}Dedupe.__initStatic()},80595:function(_,C,L){"use strict";L.d(C,{d:function(){return GlobalHandlers}});var Z=L(36539),ea=L(7338),es=L(9284);let eo=null;function instrumentError(){eo=ea.n2.onerror,ea.n2.onerror=function(_,C,L,Z,ea){return(0,es.rK)("error",{column:Z,error:ea,line:L,msg:_,url:C}),!!eo&&!eo.__SENTRY_LOADER__&&eo.apply(this,arguments)},ea.n2.onerror.__SENTRY_INSTRUMENTED__=!0}var el=L(29899);let eu=null;function instrumentUnhandledRejection(){eu=ea.n2.onunhandledrejection,ea.n2.onunhandledrejection=function(_){return(0,es.rK)("unhandledrejection",_),!eu||!!eu.__SENTRY_LOADER__||eu.apply(this,arguments)},ea.n2.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}var ec=L(55999),ed=L(94874),eh=L(88770),ep=L(136),ef=L(72497);let GlobalHandlers=class GlobalHandlers{static __initStatic(){this.id="GlobalHandlers"}constructor(_){this.name=GlobalHandlers.id,this._options={onerror:!0,onunhandledrejection:!0,..._},this._installFunc={onerror:_installGlobalOnErrorHandler,onunhandledrejection:_installGlobalOnUnhandledRejectionHandler}}setupOnce(){Error.stackTraceLimit=50;let _=this._options;for(let C in _){let L=this._installFunc[C];L&&_[C]&&(eh.X&&ed.kg.log(`Global Handler attached: ${C}`),L(),this._installFunc[C]=void 0)}}};function _installGlobalOnErrorHandler(){!function(_){let C="error";(0,es.Hj)(C,_),(0,es.D2)(C,instrumentError)}(_=>{let[C,L,Z]=getHubAndOptions();if(!C.getIntegration(GlobalHandlers))return;let{msg:ea,url:es,line:eo,column:eu,error:ec}=_;if((0,ef.Wz)())return;let ed=void 0===ec&&(0,el.HD)(ea)?function(_,C,L,Z){let ea=(0,el.VW)(_)?_.message:_,es="Error",eo=ea.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);eo&&(es=eo[1],ea=eo[2]);let eu={exception:{values:[{type:es,value:ea}]}};return _enhanceEventWithInitialFrame(eu,C,L,Z)}(ea,es,eo,eu):_enhanceEventWithInitialFrame((0,ep.ME)(L,ec||ea,void 0,Z,!1),es,eo,eu);ed.level="error",C.captureEvent(ed,{originalException:ec,mechanism:{handled:!1,type:"onerror"}})})}function _installGlobalOnUnhandledRejectionHandler(){!function(_){let C="unhandledrejection";(0,es.Hj)(C,_),(0,es.D2)(C,instrumentUnhandledRejection)}(_=>{let[C,L,Z]=getHubAndOptions();if(!C.getIntegration(GlobalHandlers))return;if((0,ef.Wz)())return!0;let ea=function(_){if((0,el.pt)(_))return _;try{if("reason"in _)return _.reason;if("detail"in _&&"reason"in _.detail)return _.detail.reason}catch(_){}return _}(_),es=(0,el.pt)(ea)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(ea)}`}]}}:(0,ep.ME)(L,ea,void 0,Z,!0);es.level="error",C.captureEvent(es,{originalException:ea,mechanism:{handled:!1,type:"onunhandledrejection"}})})}function _enhanceEventWithInitialFrame(_,C,L,Z){let ea=_.exception=_.exception||{},es=ea.values=ea.values||[],eo=es[0]=es[0]||{},eu=eo.stacktrace=eo.stacktrace||{},ed=eu.frames=eu.frames||[],eh=isNaN(parseInt(Z,10))?void 0:Z,ep=isNaN(parseInt(L,10))?void 0:L,ef=(0,el.HD)(C)&&C.length>0?C:(0,ec.l4)();return 0===ed.length&&ed.push({colno:eh,filename:ef,function:"?",in_app:!0,lineno:ep}),_}function getHubAndOptions(){let _=(0,Z.Gd)(),C=_.getClient(),L=C&&C.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[_,L.stackParser,L.attachStacktrace]}GlobalHandlers.__initStatic()},98574:function(_,C,L){"use strict";let Z,ea;L.d(C,{S1:function(){return init},jp:function(){return showReportDialog}});var es=L(94874),eo=L(98494),el=L(78106),eu=L(95163);let ec=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],ed=[/^.*\/healthcheck$/,/^.*\/healthy$/,/^.*\/live$/,/^.*\/ready$/,/^.*\/heartbeat$/,/^.*\/health$/,/^.*\/healthz$/];let InboundFilters=class InboundFilters{static __initStatic(){this.id="InboundFilters"}constructor(_={}
1){this.name=InboundFilters.id,this._options=_}setupOnce(_,C){}processEvent(_,C,L){var Z;let ea=L.getOptions(),eh=function(_={},C={}){return{allowUrls:[..._.allowUrls||[],...C.allowUrls||[]],denyUrls:[..._.denyUrls||[],...C.denyUrls||[]],ignoreErrors:[..._.ignoreErrors||[],...C.ignoreErrors||[],..._.disableErrorDefaults?[]:ec],ignoreTransactions:[..._.ignoreTransactions||[],...C.ignoreTransactions||[],..._.disableTransactionDefaults?[]:ed],ignoreInternal:void 0===_.ignoreInternal||_.ignoreInternal}}(this._options,ea);return(eh.ignoreInternal&&function(_){try{return"SentryError"===_.exception.values[0].type}catch(_){}return!1}(_)?(eu.X&&es.kg.warn(`Event dropped due to being internal Sentry Error.
2Event: ${(0,eo.jH)(_)}`),0):(Z=eh.ignoreErrors,!_.type&&Z&&Z.length&&(function(_){let C;let L=[];_.message&&L.push(_.message);try{C=_.exception.values[_.exception.values.length-1]}catch(_){}return C&&C.value&&(L.push(C.value),C.type&&L.push(`${C.type}: ${C.value}`)),eu.X&&0===L.length&&es.kg.error(`Could not extract message for event ${(0,eo.jH)(_)}`),L})(_).some(_=>(0,el.U0)(_,Z)))?(eu.X&&es.kg.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
3Event: ${(0,eo.jH)(_)}`),0):!function(_,C){if("transaction"!==_.type||!C||!C.length)return!1;let L=_.transaction;return!!L&&(0,el.U0)(L,C)}(_,eh.ignoreTransactions)?!function(_,C){if(!C||!C.length)return!1;let L=_getEventFilterUrl(_);return!!L&&(0,el.U0)(L,C)}(_,eh.denyUrls)?function(_,C){if(!C||!C.length)return!0;let L=_getEventFilterUrl(_);return!L||(0,el.U0)(L,C)}(_,eh.allowUrls)||(eu.X&&es.kg.warn(`Event dropped due to not being matched by \`allowUrls\` option.
4Event: ${(0,eo.jH)(_)}.
5Url: ${_getEventFilterUrl(_)}`),0):(eu.X&&es.kg.warn(`Event dropped due to being matched by \`denyUrls\` option.
6Event: ${(0,eo.jH)(_)}.
7Url: ${_getEventFilterUrl(_)}`),0):(eu.X&&es.kg.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
8Event: ${(0,eo.jH)(_)}`),0))?_:null}};function _getEventFilterUrl(_){try{let C;try{C=_.exception.values[0].stacktrace.frames}catch(_){}return C?function(_=[]){for(let C=_.length-1;C>=0;C--){let L=_[C];if(L&&"<anonymous>"!==L.filename&&"[native code]"!==L.filename)return L.filename||null}return null}(C):null}catch(C){return eu.X&&es.kg.error(`Cannot extract url for event ${(0,eo.jH)(_)}`),null}}InboundFilters.__initStatic();var eh=L(41857);let FunctionToString=class FunctionToString{static __initStatic(){this.id="FunctionToString"}constructor(){this.name=FunctionToString.id}setupOnce(){Z=Function.prototype.toString;try{Function.prototype.toString=function(..._){let C=(0,eh.HK)(this)||this;return Z.apply(C,_)}}catch(_){}}};FunctionToString.__initStatic();var ep=L(52106),ef=L(36539);let em=[];function setupIntegration(_,C,L){if(L[C.name]=C,-1===em.indexOf(C.name)&&(C.setupOnce(ep.cc,ef.Gd),em.push(C.name)),C.setup&&"function"==typeof C.setup&&C.setup(_),_.on&&"function"==typeof C.preprocessEvent){let L=C.preprocessEvent.bind(C);_.on("preprocessEvent",(C,Z)=>L(C,Z,_))}if(_.addEventProcessor&&"function"==typeof C.processEvent){let L=C.processEvent.bind(C),Z=Object.assign((C,Z)=>L(C,Z,_),{id:C.name});_.addEventProcessor(Z)}eu.X&&es.kg.log(`Integration installed: ${C.name}`)}var eb=L(23873);let ey=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function dsnToString(_,C=!1){let{host:L,path:Z,pass:ea,port:es,projectId:eo,protocol:el,publicKey:eu}=_;return`${el}://${eu}${C&&ea?`:${ea}`:""}@${L}${es?`:${es}`:""}/${Z?`${Z}/`:Z}${eo}`}function dsnFromComponents(_){return{protocol:_.protocol,publicKey:_.publicKey||"",pass:_.pass||"",host:_.host,port:_.port||"",path:_.path||"",projectId:_.projectId}}function makeDsn(_){let C="string"==typeof _?function(_){let C=ey.exec(_);if(!C){(0,es.Cf)(()=>{console.error(`Invalid Sentry Dsn: ${_}`)});return}let[L,Z,ea="",eo,el="",eu]=C.slice(1),ec="",ed=eu,eh=ed.split("/");if(eh.length>1&&(ec=eh.slice(0,-1).join("/"),ed=eh.pop()),ed){let _=ed.match(/^\d+/);_&&(ed=_[0])}return dsnFromComponents({host:eo,pass:ea,path:ec,projectId:ed,port:el,protocol:L,publicKey:Z})}(_):dsnFromComponents(_);if(C&&function(_){if(!eb.X)return!0;let{port:C,projectId:L,protocol:Z}=_,ea=["protocol","publicKey","host","projectId"].find(C=>!_[C]&&(es.kg.error(`Invalid Sentry Dsn: ${C} missing`),!0));return!ea&&(L.match(/^\d+$/)?"http"===Z||"https"===Z?!(C&&isNaN(parseInt(C,10)))||(es.kg.error(`Invalid Sentry Dsn: Invalid port ${C}`),!1):(es.kg.error(`Invalid Sentry Dsn: Invalid protocol ${Z}`),!1):(es.kg.error(`Invalid Sentry Dsn: Invalid projectId ${L}`),!1))}(C))return C}function getBaseApiEndpoint(_){let C=_.protocol?`${_.protocol}:`:"",L=_.port?`:${_.port}`:"";return`${C}//${_.host}${L}${_.path?`/${_.path}`:""}/api/`}var eg=L(78091),ev=L(82844),ex=L(94714),e_=L(29899),ew=L(38756),eC=L(62836);function createEnvelope(_,C=[]){return[_,C]}function forEachEnvelopeItem(_,C){let L=_[1];for(let _ of L){let L=_[0].type,Z=C(_,L);if(Z)return!0}return!1}function encodeUTF8(_,C){let L=C||new TextEncoder;return L.encode(_)}let eT={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",statsd:"unknown"};function getSdkMetadataForEnvelopeHeader(_){if(!_||!_.sdk)return;let{name:C,version:L}=_.sdk;return{name:C,version:L}}
8let SentryError=class SentryError extends Error{constructor(_,C="warn"){super(_),this.message=_,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=C}};var eq=L(75922),ek=L(41360),eS=L(60844);let eE="Not capturing exception because it's already been captured.";let BaseClient=class BaseClient{constructor(_){if(this._options=_,this._integrations={},this._integrationsInitialized=!1,this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],_.dsn?this._dsn=makeDsn(_.dsn):eu.X&&es.kg.warn("No DSN provided, client will not send events."),this._dsn){let C=function(_,C={}){let L="string"==typeof C?C:C.tunnel,Z="string"!=typeof C&&C._metadata?C._metadata.sdk:void 0;return L||`${getBaseApiEndpoint(_)}${_.projectId}/envelope/?${(0,eh._j)({sentry_key:_.publicKey,sentry_version:"7",...Z&&{sentry_client:`${Z.name}/${Z.version}`}})}`}(this._dsn,_);this._transport=_.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),..._.transportOptions,url:C})}}captureException(_,C,L){if((0,eo.YO)(_)){eu.X&&es.kg.log(eE);return}let Z=C&&C.event_id;return this._process(this.eventFromException(_,C).then(_=>this._captureEvent(_,C,L)).then(_=>{Z=_})),Z}captureMessage(_,C,L,Z){let ea=L&&L.event_id,es=(0,e_.pt)(_)?this.eventFromMessage(String(_),C,L):this.eventFromException(_,L);return this._process(es.then(_=>this._captureEvent(_,L,Z)).then(_=>{ea=_})),ea}captureEvent(_,C,L){if(C&&C.originalException&&(0,eo.YO)(C.originalException)){eu.X&&es.kg.log(eE);return}let Z=C&&C.event_id;return this._process(this._captureEvent(_,C,L).then(_=>{Z=_})),Z}captureSession(_){"string"!=typeof _.release?eu.X&&es.kg.warn("Discarded session because of missing or non-string release"):(this.sendSession(_),(0,eq.CT)(_,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(_){let C=this._transport;return C?this._isClientDoneProcessing(_).then(L=>C.flush(_).then(_=>L&&_)):(0,ew.WD)(!0)}close(_){return this.flush(_).then(_=>(this.getOptions().enabled=!1,_))}getEventProcessors(){return this._eventProcessors}addEventProcessor(_){this._eventProcessors.push(_)}setupIntegrations(_){(_&&!this._integrationsInitialized||this._isEnabled()&&!this._integrationsInitialized)&&(this._integrations=function(_,C){let L={};
8return C.forEach(C=>{C&&setupIntegration(_,C,L)}),L}(this,this._options.integrations),this._integrationsInitialized=!0)}getIntegrationById(_){return this._integrations[_]}getIntegration(_){try{return this._integrations[_.id]||null}catch(C){return eu.X&&es.kg.warn(`Cannot retrieve integration ${_.id} from the current Client`),null}}addIntegration(_){setupIntegration(this,_,this._integrations)}sendEvent(_,C={}){this.emit("beforeSendEvent",_,C);let L=function(_,C,L,Z){var ea;let es=getSdkMetadataForEnvelopeHeader(L),eo=_.type&&"replay_event"!==_.type?_.type:"event";(ea=L&&L.sdk)&&(_.sdk=_.sdk||{},_.sdk.name=_.sdk.name||ea.name,_.sdk.version=_.sdk.version||ea.version,_.sdk.integrations=[..._.sdk.integrations||[],...ea.integrations||[]],_.sdk.packages=[..._.sdk.packages||[],...ea.packages||[]]);let el=function(_,C,L,Z){let ea=_.sdkProcessingMetadata&&_.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:_.event_id,sent_at:new Date().toISOString(),...C&&{sdk:C},...!!L&&Z&&{dsn:dsnToString(Z)},...ea&&{trace:(0,eh.Jr)({...ea})}}}(_,es,Z,C);delete _.sdkProcessingMetadata;let eu=[{type:eo},_];return createEnvelope(el,[eu])}(_,this._dsn,this._options._metadata,this._options.tunnel);for(let _ of C.attachments||[])L=function(_,C){let[L,Z]=_;return[L,[...Z,C]]}(L,function(_,C){let L="string"==typeof _.data?encodeUTF8(_.data,C):_.data;return[(0,eh.Jr)({type:"attachment",length:L.length,filename:_.filename,content_type:_.contentType,attachment_type:_.attachmentType}),L]}(_,this._options.transportOptions&&this._options.transportOptions.textEncoder));let Z=this._sendEnvelope(L);Z&&Z.then(C=>this.emit("afterSendEvent",_,C),null)}sendSession(_){let C=function(_,C,L,Z){let ea=getSdkMetadataForEnvelopeHeader(L),es={sent_at:new Date().toISOString(),...ea&&{sdk:ea},...!!Z&&C&&{dsn:dsnToString(C)}},eo="aggregates"in _?[{type:"sessions"},_]:[{type:"session"},_.toJSON()];return createEnvelope(es,[eo])}(_,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(C)}recordDroppedEvent(_,C,L){if(this._options.sendClientReports){let L=`${_}:${C}`;eu.X&&es.kg.log(`Adding outcome: "${L}"`),this._outcomes[L]=this._outcomes[L]+1||1}}on(_,C){this._hooks[_]||(this._hooks[_]=[]),this._hooks[_].push(C)}emit(_,...C){this._hooks[_]&&this._hooks[_].forEach(_=>_(...C))}_updateSessionFromEvent(_,C){let L=!1,Z=!1,ea=C.exception&&C.exception.values;if(ea)for(let _ of(Z=!0,ea)){let C=_.mechanism;if(C&&!1===C.handled){L=!0;break}}let es="ok"===_.status,eo=es&&0===_.errors||es&&L;eo&&((0,eq.CT)(_,{...L&&{status:"crashed"},errors:_.errors||Number(Z||L)}),this.captureSession(_))}_isClientDoneProcessing(_){return new ew.cW(C=>{let L=0,Z=setInterval(()=>{0==this._numProcessing?(clearInterval(Z),C(!0)):(L+=1,_&&L>=_&&(clearInterval(Z),C(!1)))},1)})}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(_,C,L){let Z=this.getOptions(),ea=Object.keys(this._integrations);return!C.integrations&&ea.length>0&&(C.integrations=ea),this.emit("preprocessEvent",_,C),(0,eS.R)(Z,_,C,L,this).then(_=>{if(null===_)return _;let{propagationContext:C}=_.sdkProcessingMetadata||{},Z=_.contexts&&_.contexts.trace;if(!Z&&C){let{traceId:Z,spanId:ea,parentSpanId:es,dsc:eo}=C;_.contexts={trace:{trace_id:Z,span_id:ea,parent_span_id:es},..._.contexts};let el=eo||function(_,C,L){let Z=C.getOptions(),{publicKey:ea}=C.getDsn()||{},{segment:es}=L&&L.getUser()||{},eo=(0,eh.Jr)({environment:Z.environment||ek.J,release:Z.release,user_segment:es,public_key:ea,trace_id:_});return C.emit&&C.emit("createDsc",eo),eo}(Z,this,L);_.sdkProcessingMetadata={dynamicSamplingContext:el,..._.sdkProcessingMetadata}}return _})}_captureEvent(_,C={},L){return this._processEvent(_,C,L).then(_=>_.event_id,_=>{eu.X&&("log"===_.logLevel?es.kg.log(_.message):es.kg.warn(_))})}_processEvent(_,C,L){let Z=this.getOptions(),{sampleRate:ea}=Z,es=isTransactionEvent(_),eo=isErrorEvent(_),el=_.type||"error",eu=`before send for type \`${el}\``;if(eo&&"number"==typeof ea&&Math.random()>ea)return this.recordDroppedEvent("sample_rate","error",_),(0,ew.$2)(new SentryError(`Discarding event because it's not included in the random sample (sampling rate = ${ea})`,"log"));let ec="replay_event"===el?"replay":el;return this._prepareEvent(_,C,L).then(L=>{if(null===L)throw this.recordDroppedEvent("event_processor",ec,_),new SentryError("An event processor returned `null`, will not send event.","log");let ea=C.data&&!0===C.data.__sentry__;if(ea)return L;let es=function(_,C,L){let{beforeSend:Z,beforeSendTransaction:ea}=_;return isErrorEvent(C)&&Z?Z(C,L):isTransactionEvent(C)&&ea?ea(C,L):C}(Z,L,C);return function(_,C){let L=`${C} must return \`null\` or a valid event.`;if((0,e_.J8)(_))return _.then(_=>{if(!(0,e_.PO)(_)&&null!==_)throw new SentryError(L);return _},_=>{throw new SentryError(`${C} rejected with ${_}`)});if(!(0,e_.PO)(_)&&null!==_)throw new SentryError(L);return _}(es,eu)}
8).then(Z=>{if(null===Z)throw this.recordDroppedEvent("before_send",ec,_),new SentryError(`${eu} returned \`null\`, will not send event.`,"log");let ea=L&&L.getSession();!es&&ea&&this._updateSessionFromEvent(ea,Z);let eo=Z.transaction_info;return es&&eo&&Z.transaction!==_.transaction&&(Z.transaction_info={...eo,source:"custom"}),this.sendEvent(Z,C),Z}).then(null,_=>{if(_ instanceof SentryError)throw _;throw this.captureException(_,{data:{__sentry__:!0},originalException:_}),new SentryError(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
9Reason: ${_}`)})}_process(_){this._numProcessing++,_.then(_=>(this._numProcessing--,_),_=>(this._numProcessing--,_))}_sendEnvelope(_){if(this.emit("beforeEnvelope",_),this._isEnabled()&&this._transport)return this._transport.send(_).then(null,_=>{eu.X&&es.kg.error("Error while sending event:",_)});eu.X&&es.kg.error("Transport disabled")}_clearOutcomes(){let _=this._outcomes;return this._outcomes={},Object.keys(_).map(C=>{let[L,Z]=C.split(":");return{reason:L,category:Z,quantity:_[C]}})}};function isErrorEvent(_){return void 0===_.type}function isTransactionEvent(_){return"transaction"===_.type}var eM=L(37408),ej=L(19862),eA=L(20495),eD=L(88770),eI=L(136),eO=L(72497);let BrowserClient=class BrowserClient extends BaseClient{constructor(_){let C=eO.m9.SENTRY_SDK_SOURCE||(0,ej.S)();_._metadata=_._metadata||{},_._metadata.sdk=_._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:`${C}:@sentry/browser`,version:eM.J}],version:eM.J},super(_),_.sendClientReports&&eO.m9.document&&eO.m9.document.addEventListener("visibilitychange",()=>{"hidden"===eO.m9.document.visibilityState&&this._flushOutcomes()})}eventFromException(_,C){return(0,eI.dr)(this._options.stackParser,_,C,this._options.attachStacktrace)}eventFromMessage(_,C="info",L){return(0,eI.aB)(this._options.stackParser,_,C,L,this._options.attachStacktrace)}captureUserFeedback(_){if(!this._isEnabled()){eD.X&&es.kg.warn("SDK not enabled, will not capture user feedback.");return}let C=function(_,{metadata:C,tunnel:L,dsn:Z}){let ea={event_id:_.event_id,sent_at:new Date().toISOString(),...C&&C.sdk&&{sdk:{name:C.sdk.name,version:C.sdk.version}},...!!L&&!!Z&&{dsn:dsnToString(Z)}},es=[{type:"user_report"},_];return createEnvelope(ea,[es])}(_,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this._sendEnvelope(C)}_prepareEvent(_,C,L){return _.platform=_.platform||"javascript",super._prepareEvent(_,C,L)}_flushOutcomes(){let _=this._clearOutcomes();if(0===_.length){eD.X&&es.kg.log("No outcomes to send");return}if(!this._dsn){eD.X&&es.kg.log("No dsn provided, will not send outcomes");return}eD.X&&es.kg.log("Sending outcomes:",_);let C=function(_,C,L){let Z=[{type:"client_report"},{timestamp:(0,eA.yW)(),discarded_events:_}];return createEnvelope(C?{dsn:C}:{},[Z])}(_,this._options.tunnel&&dsnToString(this._dsn));this._sendEnvelope(C)}};var eP=L(80595);let eN=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];let TryCatch=class TryCatch{static __initStatic(){this.id="TryCatch"}constructor(_){this.name=TryCatch.id,this._options={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,..._}}setupOnce(){this._options.setTimeout&&(0,eh.hl)(eO.m9,"setTimeout",_wrapTimeFunction),this._options.setInterval&&(0,eh.hl)(eO.m9,"setInterval",_wrapTimeFunction),this._options.requestAnimationFrame&&(0,eh.hl)(eO.m9,"requestAnimationFrame",_wrapRAF),this._options.XMLHttpRequest&&"XMLHttpRequest"in eO.m9&&(0,eh.hl)(XMLHttpRequest.prototype,"send",_wrapXHR);let _=this._options.eventTarget;if(_){let C=Array.isArray(_)?_:eN;
9C.forEach(_wrapEventTarget)}}};function _wrapTimeFunction(_){return function(...C){let L=C[0];return C[0]=(0,eO.re)(L,{mechanism:{data:{function:(0,eg.$P)(_)},handled:!1,type:"instrument"}}),_.apply(this,C)}}function _wrapRAF(_){return function(C){return _.apply(this,[(0,eO.re)(C,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,eg.$P)(_)},handled:!1,type:"instrument"}})])}}function _wrapXHR(_){return function(...C){let L=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(_=>{_ in L&&"function"==typeof L[_]&&(0,eh.hl)(L,_,function(C){let L={mechanism:{data:{function:_,handler:(0,eg.$P)(C)},handled:!1,type:"instrument"}},Z=(0,eh.HK)(C);return Z&&(L.mechanism.data.handler=(0,eg.$P)(Z)),(0,eO.re)(C,L)})}),_.apply(this,C)}}function _wrapEventTarget(_){let C=eO.m9,L=C[_]&&C[_].prototype;L&&L.hasOwnProperty&&L.hasOwnProperty("addEventListener")&&((0,eh.hl)(L,"addEventListener",function(C){return function(L,Z,ea){try{"function"==typeof Z.handleEvent&&(Z.handleEvent=(0,eO.re)(Z.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,eg.$P)(Z),target:_},handled:!1,type:"instrument"}}))}catch(_){}return C.apply(this,[L,(0,eO.re)(Z,{mechanism:{data:{function:"addEventListener",handler:(0,eg.$P)(Z),target:_},handled:!1,type:"instrument"}}),ea])}}),(0,eh.hl)(L,"removeEventListener",function(_){return function(C,L,Z){try{let ea=L&&L.__sentry_wrapped__;ea&&_.call(this,C,ea,Z)}catch(_){}return _.call(this,C,L,Z)}}))}TryCatch.__initStatic();var eL=L(54250);function applyExceptionGroupFieldsForParentException(_,C){_.mechanism=_.mechanism||{type:"generic",handled:!0},_.mechanism={..._.mechanism,is_exception_group:!0,exception_id:C}}function applyExceptionGroupFieldsForChildException(_,C,L,Z){_.mechanism=_.mechanism||{type:"generic",handled:!0},_.mechanism={..._.mechanism,type:"chained",source:C,exception_id:L,parent_id:Z}}let LinkedErrors=class LinkedErrors{static __initStatic(){this.id="LinkedErrors"}constructor(_={}){this.name=LinkedErrors.id,this._key=_.key||"cause",this._limit=_.limit||5}setupOnce(){}preprocessEvent(_,C,L){let Z=L.getOptions();!function(_,C,L=250,Z,ea,es,eo){if(!es.exception||!es.exception.values||!eo||!(0,e_.V9)(eo.originalException,Error))return;let eu=es.exception.values.length>0?es.exception.values[es.exception.values.length-1]:void 0;eu&&(es.exception.values=(function aggregateExceptionsFromError(_,C,L,Z,ea,es,eo,el){if(es.length>=L+1)return es;let eu=[...es];if((0,e_.V9)(Z[ea],Error)){applyExceptionGroupFieldsForParentException(eo,el);let es=_(C,Z[ea]),ec=eu.length;applyExceptionGroupFieldsForChildException(es,ea,ec,el),eu=aggregateExceptionsFromError(_,C,L,Z[ea],ea,[es,...eu],es,ec)}return Array.isArray(Z.errors)&&Z.errors.forEach((Z,es)=>{if((0,e_.V9)(Z,Error)){applyExceptionGroupFieldsForParentException(eo,el);let ec=_(C,Z),ed=eu.length;applyExceptionGroupFieldsForChildException(ec,`errors[${es}]`,ed,el),eu=aggregateExceptionsFromError(_,C,L,Z,ea,[ec,...eu],ec,ed)}}),eu})(_,C,ea,eo.originalException,Z,es.exception.values,eu,0).map(_=>(_.value&&(_.value=(0,el.$G)(_.value,L)),_)))}(eI.GJ,Z.stackParser,Z.maxValueLength,this._key,this._limit,_,C)}};LinkedErrors.__initStatic();let HttpContext=class HttpContext{static __initStatic(){this.id="HttpContext"}constructor(){this.name=HttpContext.id}setupOnce(){}preprocessEvent(_){if(!eO.m9.navigator&&!eO.m9.location&&!eO.m9.document)return;let C=_.request&&_.request.url||eO.m9.location&&eO.m9.location.href,{referrer:L}=eO.m9.document||{},{userAgent:Z}=eO.m9.navigator||{},ea={..._.request&&_.request.headers,...L&&{Referer:L},...Z&&{"User-Agent":Z}},es={..._.request,...C&&{url:C},headers:ea};_.request=es}};HttpContext.__initStatic();var eR=L(789);function createFrame(_,C,L,Z){let ea={filename:_,function:C,in_app:!0};return void 0!==L&&(ea.lineno=L),void 0!==Z&&(ea.colno=Z),ea}let eB=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,eF=/\((\S*)(?::(\d+))(?::(\d+))\)/,eZ=[30,_=>{let C=eB.exec(_);if(C){let _=C[2]&&0===C[2].indexOf("eval");if(_){let _=eF.exec(C[2]);_&&(C[2]=_[1],C[3]=_[2],C[4]=_[3])}
9let[L,Z]=extractSafariExtensionDetails(C[1]||"?",C[2]);return createFrame(Z,L,C[3]?+C[3]:void 0,C[4]?+C[4]:void 0)}}],ez=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,eU=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,e$=[50,_=>{let C=ez.exec(_);if(C){let _=C[3]&&C[3].indexOf(" > eval")>-1;if(_){let _=eU.exec(C[3]);_&&(C[1]=C[1]||"eval",C[3]=_[1],C[4]=_[2],C[5]="")}let L=C[3],Z=C[1]||"?";return[Z,L]=extractSafariExtensionDetails(Z,L),createFrame(L,Z,C[4]?+C[4]:void 0,C[5]?+C[5]:void 0)}}],eV=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,eW=[40,_=>{let C=eV.exec(_);return C?createFrame(C[2],C[1]||"?",+C[3],C[4]?+C[4]:void 0):void 0}],eH=(0,eg.pE)(...[eZ,e$,eW]),extractSafariExtensionDetails=(_,C)=>{let L=-1!==_.indexOf("safari-extension"),Z=-1!==_.indexOf("safari-web-extension");return L||Z?[-1!==_.indexOf("@")?_.split("@")[0]:"?",L?`safari-extension:${C}`:`safari-web-extension:${C}`]:[_,C]};function createTransport(_,C,L=function(_){let C=[];function remove(_){return C.splice(C.indexOf(_),1)[0]}return{$:C,add:function(L){if(!(void 0===_||C.length<_))return(0,ew.$2)(new SentryError("Not adding Promise because buffer limit was reached."));let Z=L();return -1===C.indexOf(Z)&&C.push(Z),Z.then(()=>remove(Z)).then(null,()=>remove(Z).then(null,()=>{})),Z},drain:function(_){return new ew.cW((L,Z)=>{let ea=C.length;if(!ea)return L(!0);let es=setTimeout(()=>{_&&_>0&&L(!1)},_);C.forEach(_=>{(0,ew.WD)(_).then(()=>{--ea||(clearTimeout(es),L(!0))},Z)})})}}}(_.bufferSize||30)){let Z={};function send(ea){let eo=[];if(forEachEnvelopeItem(ea,(C,L)=>{let ea=eT[L];if(function(_,C,L=Date.now()){return(_[C]||_.all||0)>L}(Z,ea)){let Z=getEventForEnvelopeItem(C,L);_.recordDroppedEvent("ratelimit_backoff",ea,Z)}else eo.push(C)}),0===eo.length)return(0,ew.WD)();let el=createEnvelope(ea[0],eo),recordEnvelopeLoss=C=>{forEachEnvelopeItem(el,(L,Z)=>{let ea=getEventForEnvelopeItem(L,Z);_.recordDroppedEvent(C,eT[Z],ea)})};return L.add(()=>C({body:function(_,C){let[L,Z]=_,ea=JSON.stringify(L);function append(_){"string"==typeof ea?ea="string"==typeof _?ea+_:[encodeUTF8(ea,C),_]:ea.push("string"==typeof _?encodeUTF8(_,C):_)}for(let _ of Z){let[C,L]=_;if(append(`
10${JSON.stringify(C)}
11`),"string"==typeof L||L instanceof Uint8Array)append(L);else{let _;try{_=JSON.stringify(L)}catch(C){_=JSON.stringify((0,eC.Fv)(L))}append(_)}}return"string"==typeof ea?ea:function(_){let C=_.reduce((_,C)=>_+C.length,0),L=new Uint8Array(C),Z=0;for(let C of _)L.set(C,Z),Z+=C.length;return L}(ea)}(el,_.textEncoder)}).then(_=>(void 0!==_.statusCode&&(_.statusCode<200||_.statusCode>=300)&&eu.X&&es.kg.warn(`Sentry responded with status code ${_.statusCode} to sent event.`),Z=function(_,{statusCode:C,headers:L},Z=Date.now()){let ea={..._},es=L&&L["x-sentry-rate-limits"],eo=L&&L["retry-after"];if(es)for(let _ of es.trim().split(",")){let[C,L]=_.split(":",2),es=parseInt(C,10),eo=(isNaN(es)?60:es)*1e3;if(L)for(let _ of L.split(";"))ea[_]=Z+eo;else ea.all=Z+eo}else eo?ea.all=Z+function(_,C=Date.now()){let L=parseInt(`${_}`,10);if(!isNaN(L))return 1e3*L;let Z=Date.parse(`${_}`);return isNaN(Z)?6e4:Z-C}(eo,Z):429===C&&(ea.all=Z+6e4);return ea}(Z,_),_),_=>{throw recordEnvelopeLoss("network_error"),_})).then(_=>_,_=>
11{if(_ instanceof SentryError)return eu.X&&es.kg.error("Skipped sending event because buffer is full."),recordEnvelopeLoss("queue_overflow"),(0,ew.WD)();throw _})}return send.__sentry__baseTransport__=!0,{send,flush:_=>L.drain(_)}}function getEventForEnvelopeItem(_,C){if("event"===C||"transaction"===C)return Array.isArray(_)?_[1]:void 0}function makeFetchTransport(_,C=function(){if(ea)return ea;if((0,ev.Du)(eO.m9.fetch))return ea=eO.m9.fetch.bind(eO.m9);let _=eO.m9.document,C=eO.m9.fetch;if(_&&"function"==typeof _.createElement)try{let L=_.createElement("iframe");L.hidden=!0,_.head.appendChild(L);let Z=L.contentWindow;Z&&Z.fetch&&(C=Z.fetch),_.head.removeChild(L)}catch(_){eD.X&&es.kg.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",_)}return ea=C.bind(eO.m9)}()){let L=0,Z=0;return createTransport(_,function(es){let eo=es.body.length;L+=eo,Z++;let el={body:es.body,method:"POST",referrerPolicy:"origin",headers:_.headers,keepalive:L<=6e4&&Z<15,..._.fetchOptions};try{return C(_.url,el).then(_=>(L-=eo,Z--,{statusCode:_.status,headers:{"x-sentry-rate-limits":_.headers.get("X-Sentry-Rate-Limits"),"retry-after":_.headers.get("Retry-After")}}))}catch(_){return ea=void 0,L-=eo,Z--,(0,ew.$2)(_)}})}function makeXHRTransport(_){return createTransport(_,function(C){return new ew.cW((L,Z)=>{let ea=new XMLHttpRequest;for(let C in ea.onerror=Z,ea.onreadystatechange=()=>{4===ea.readyState&&L({statusCode:ea.status,headers:{"x-sentry-rate-limits":ea.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":ea.getResponseHeader("Retry-After")}})},ea.open("POST",_.url),_.headers)Object.prototype.hasOwnProperty.call(_.headers,C)&&ea.setRequestHeader(C,_.headers[C]);ea.send(C.body)})})}let eG=[new InboundFilters,new FunctionToString,new TryCatch,new eL.O,new eP.d,new LinkedErrors,new eR.I,new HttpContext];function init(_={}){void 0===_.defaultIntegrations&&(_.defaultIntegrations=eG),void 0===_.release&&("string"==typeof __SENTRY_RELEASE__&&(_.release=__SENTRY_RELEASE__),eO.m9.SENTRY_RELEASE&&eO.m9.SENTRY_RELEASE.id&&(_.release=eO.m9.SENTRY_RELEASE.id)),void 0===_.autoSessionTracking&&(_.autoSessionTracking=!0),void 0===_.sendClientReports&&(_.sendClientReports=!0);let C={..._,stackParser:(0,eg.Sq)(_.stackParser||eH),integrations:function(_){let C;let L=_.defaultIntegrations||[],Z=_.integrations;L.forEach(_=>{_.isDefaultInstance=!0}),C=Array.isArray(Z)?[...L,...Z]:"function"==typeof Z?(0,eo.lE)(Z(L)):L;let ea=function(_){let C={};return _.forEach(_=>{let{name:L}=_,Z=C[L];Z&&!Z.isDefaultInstance&&_.isDefaultInstance||(C[L]=_)}),Object.keys(C).map(_=>C[_])}(C),es=function(_,C){for(let L=0;L<_.length;L++)if(!0===C(_[L]))return L;return -1}(ea,_=>"Debug"===_.name);if(-1!==es){let[_]=ea.splice(es,1);ea.push(_)}return ea}(_),transport:_.transport||((0,ev.Ak)()?makeFetchTransport:makeXHRTransport)};!function(_,C){!0===C.debug&&(eu.X?es.kg.enable():(0,es.Cf)(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")}));let L=(0,ef.Gd)(),Z=L.getScope();Z.update(C.initialScope);let ea=new _(C);L.bindClient(ea)}(BrowserClient,C),_.autoSessionTracking&&function(){if(void 0===eO.m9.document){eD.X&&es.kg.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}let _=(0,ef.Gd)();_.captureSession&&(startSessionOnHub(_),(0,ex.a)(({from:_,to:C})=>{void 0!==_&&_!==C&&startSessionOnHub((0,ef.Gd)())}))}()}function showReportDialog(_={},C=(0,ef.Gd)()){if(!eO.m9.document){eD.X&&es.kg.error("Global document not defined in showReportDialog call");return}let{client:L,scope:Z}=C.getStackTop(),ea=_.dsn||L&&L.getDsn();if(!ea){eD.X&&es.kg.error("DSN not configured for showReportDialog call");return}Z&&(_.user={...Z.getUser(),..._.user}),_.eventId||(_.eventId=C.lastEventId());let eo=eO.m9.document.createElement("script");eo.async=!0,eo.crossOrigin="anonymous",eo.src=function(_,C){let L=makeDsn(_);if(!L)return"";let Z=`${getBaseApiEndpoint(L)}embed/error-page/`,ea=`dsn=${dsnToString(L)}`;for(let _ in C)if("dsn"!==_&&"onClose"!==_){if("user"===_){let _=C.user;if(!_)continue;_.name&&(ea+=`&name=${encodeURIComponent(_.name)}
11`),_.email&&(ea+=`&email=${encodeURIComponent(_.email)}`)}else ea+=`&${encodeURIComponent(_)}=${encodeURIComponent(C[_])}`}return`${Z}?${ea}`}(ea,_),_.onLoad&&(eo.onload=_.onLoad);let{onClose:el}=_;if(el){let reportDialogClosedMessageHandler=_=>{if("__sentry_reportdialog_closed__"===_.data)try{el()}finally{eO.m9.removeEventListener("message",reportDialogClosedMessageHandler)}};eO.m9.addEventListener("message",reportDialogClosedMessageHandler)}let eu=eO.m9.document.head||eO.m9.document.body;eu?eu.appendChild(eo):eD.X&&es.kg.error("Not injecting report dialog. No injection point found in HTML")}function startSessionOnHub(_){_.startSession({ignoreDuration:!0}),_.captureSession()}},41360:function(_,C,L){"use strict";L.d(C,{J:function(){return Z}});let Z="production"},52106:function(_,C,L){"use strict";L.d(C,{RP:function(){return function notifyEventProcessors(_,C,L,Z=0){return new ea.cW((ea,eu)=>{let ec=_[Z];if(null===C||"function"!=typeof ec)ea(C);else{let ed=ec({...C},L);el.X&&ec.id&&null===ed&&es.kg.log(`Event processor "${ec.id}" dropped event`),(0,eo.J8)(ed)?ed.then(C=>notifyEventProcessors(_,C,L,Z+1).then(ea)).then(null,eu):notifyEventProcessors(_,ed,L,Z+1).then(ea).then(null,eu)}})}},cc:function(){return addGlobalEventProcessor},fH:function(){return getGlobalEventProcessors}});var Z=L(7338),ea=L(38756),es=L(94874),eo=L(29899),el=L(95163);function getGlobalEventProcessors(){return(0,Z.YO)("globalEventProcessors",()=>[])}function addGlobalEventProcessor(_){getGlobalEventProcessors().push(_)}},76752:function(_,C,L){"use strict";L.d(C,{$e:function(){return withScope},Tb:function(){return captureException},av:function(){return setUser},e:function(){return configureScope},s3:function(){return getClient},uT:function(){return captureMessage}});var Z=L(36539),ea=L(60844);function captureException(_,C){return(0,Z.Gd)().captureException(_,(0,ea.U0)(C))}function captureMessage(_,C){let L="string"==typeof C?C:void 0,ea="string"!=typeof C?{captureContext:C}:void 0;return(0,Z.Gd)().captureMessage(_,L,ea)}function configureScope(_){(0,Z.Gd)().configureScope(_)}function setUser(_){(0,Z.Gd)().setUser(_)}function withScope(_){(0,Z.Gd)().withScope(_)}function getClient(){return(0,Z.Gd)().getClient()}},36539:function(_,C,L){"use strict";L.d(C,{Gd:function(){return getCurrentHub}});var Z=L(98494),ea=L(20495),es=L(94874),eo=L(7338),el=L(41360),eu=L(95163),ec=L(51350),ed=L(75922),eh=L(37408);let ep=parseFloat(eh.J);let Hub=class Hub{constructor(_,C=new ec.s,L=ep){this._version=L,this._stack=[{scope:C}],_&&this.bindClient(_)}isOlderThan(_){return this._version<_}bindClient(_){let C=this.getStackTop();C.client=_,_&&_.setupIntegrations&&_.setupIntegrations()}pushScope(){let _=ec.s.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:_}),_}popScope(){return!(this.getStack().length<=1)&&!!this.getStack().pop()}withScope(_){let C=this.pushScope();try{_(C)}finally{this.popScope()}}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(_,C){let L=this._lastEventId=C&&C.event_id?C.event_id:(0,Z.DM)(),ea=Error("Sentry syntheticException");return this._withClient((Z,es)=>{Z.captureException(_,{originalException:_,syntheticException:ea,...C,event_id:L},es)}),L}captureMessage(_,C,L){let ea=this._lastEventId=L&&L.event_id?L.event_id:(0,Z.DM)(),es=Error(_);return this._withClient((Z,eo)=>{Z.captureMessage(_,C,{originalException:_,syntheticException:es,...L,event_id:ea},eo)}),ea}captureEvent(_,C){let L=C&&C.event_id?C.event_id:(0,Z.DM)();return _.type||(this._lastEventId=L),this._withClient((Z,ea)=>{Z.captureEvent(_,{...C,event_id:L},ea)}),L}lastEventId(){return this._lastEventId}addBreadcrumb(_,C){let{scope:L,client:Z}=this.getStackTop();if(!Z)return;let{beforeBreadcrumb:eo=null,maxBreadcrumbs:el=100}=Z.getOptions&&Z.getOptions()||{};if(el<=0)return;let eu=(0,ea.yW)(),ec={timestamp:eu,..._},ed=eo?(0,es.Cf)(()=>eo(ec,C)):ec;null!==ed&&(Z.emit&&Z.emit("beforeAddBreadcrumb",ed,C),L.addBreadcrumb(ed,el))}
11setUser(_){this.getScope().setUser(_)}setTags(_){this.getScope().setTags(_)}setExtras(_){this.getScope().setExtras(_)}setTag(_,C){this.getScope().setTag(_,C)}setExtra(_,C){this.getScope().setExtra(_,C)}setContext(_,C){this.getScope().setContext(_,C)}configureScope(_){let{scope:C,client:L}=this.getStackTop();L&&_(C)}run(_){let C=makeMain(this);try{_(this)}finally{makeMain(C)}}getIntegration(_){let C=this.getClient();if(!C)return null;try{return C.getIntegration(_)}catch(C){return eu.X&&es.kg.warn(`Cannot retrieve integration ${_.id} from the current Hub`),null}}startTransaction(_,C){let L=this._callExtensionMethod("startTransaction",_,C);if(eu.X&&!L){let _=this.getClient();_?es.kg.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':
12Sentry.addTracingExtensions();
13Sentry.init({...});
14`):es.kg.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")}return L}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(_=!1){if(_)return this.endSession();this._sendSessionUpdate()}endSession(){let _=this.getStackTop(),C=_.scope,L=C.getSession();L&&(0,ed.RJ)(L),this._sendSessionUpdate(),C.setSession()}startSession(_){let{scope:C,client:L}=this.getStackTop(),{release:Z,environment:ea=el.J}=L&&L.getOptions()||{},{userAgent:es}=eo.n2.navigator||{},eu=(0,ed.Hv)({release:Z,environment:ea,user:C.getUser(),...es&&{userAgent:es},..._}),ec=C.getSession&&C.getSession();return ec&&"ok"===ec.status&&(0,ed.CT)(ec,{status:"exited"}),this.endSession(),C.setSession(eu),eu}shouldSendDefaultPii(){let _=this.getClient(),C=_&&_.getOptions();return!!(C&&C.sendDefaultPii)}_sendSessionUpdate(){let{scope:_,client:C}=this.getStackTop(),L=_.getSession();L&&C&&C.captureSession&&C.captureSession(L)}_withClient(_){let{scope:C,client:L}=this.getStackTop();L&&_(L,C)}_callExtensionMethod(_,...C){let L=getMainCarrier(),Z=L.__SENTRY__;if(Z&&Z.extensions&&"function"==typeof Z.extensions[_])return Z.extensions[_].apply(this,C);eu.X&&es.kg.warn(`Extension method ${_} couldn't be found, doing nothing.`)}};function getMainCarrier(){return eo.n2.__SENTRY__=eo.n2.__SENTRY__||{extensions:{},hub:void 0},eo.n2}function makeMain(_){let C=getMainCarrier(),L=getHubFromCarrier(C);return setHubOnCarrier(C,_),L}function getCurrentHub(){let _=getMainCarrier();if(_.__SENTRY__&&_.__SENTRY__.acs){let C=_.__SENTRY__.acs.getCurrentHub();if(C)return C}return function(_=getMainCarrier()){return(!(_&&_.__SENTRY__&&_.__SENTRY__.hub)||getHubFromCarrier(_).isOlderThan(ep))&&setHubOnCarrier(_,new Hub),getHubFromCarrier(_)}(_)}function getHubFromCarrier(_){return(0,eo.YO)("hub",()=>new Hub,_)}function setHubOnCarrier(_,C){if(!_)return!1;let L=_.__SENTRY__=_.__SENTRY__||{};return L.hub=C,!0}},51350:function(_,C,L){"use strict";L.d(C,{s:function(){return Scope}});var Z=L(29899),ea=L(20495),es=L(98494),eo=L(52106),el=L(75922);let Scope=class Scope{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=generatePropagationContext()}static clone(_){let C=new Scope;return _&&(C._breadcrumbs=[..._._breadcrumbs],C._tags={..._._tags},C._extra={..._._extra},C._contexts={..._._contexts},C._user=_._user,C._level=_._level,C._span=_._span,C._session=_._session,C._transactionName=_._transactionName,C._fingerprint=_._fingerprint,C._eventProcessors=[..._._eventProcessors],C._requestSession=_._requestSession,C._attachments=[..._._attachments],C._sdkProcessingMetadata={..._._sdkProcessingMetadata},C._propagationContext={..._._propagationContext}),C}addScopeListener(_){this._scopeListeners.push(_)}addEventProcessor(_){return this._eventProcessors.push(_),this}setUser(_){return this._user=_||{},this._session&&(0,el.CT)(this._session,{user:_}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(_){return this._requestSession=_,this}setTags(_){return this._tags={...this._tags,..._},this._notifyScopeListeners(),this}setTag(_,C){return this._tags={...this._tags,[_]:C},this._notifyScopeListeners(),this}setExtras(_){return this._extra={...this._extra,..._},this._notifyScopeListeners(),this}setExtra(_,C){return this._extra={...this._extra,[_]:C},this._notifyScopeListeners(),this}setFingerprint(_){return this._fingerprint=_,this._notifyScopeListeners(),this}setLevel(_){return this._level=_,this._notifyScopeListeners(),this}setTransactionName(_){return this._transactionName=_,this._notifyScopeListeners(),this}setContext(_,C){return null===C?delete this._contexts[_]:this._contexts[_]=C,this._notifyScopeListeners(),this}setSpan(_){return this._span=_,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){let _=this.getSpan();return _&&_.transaction}setSession(_){return _?this._session=_:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(_){if(!_)return this;if("function"==typeof _){let C=_(this);return C instanceof Scope?C:this}return _ instanceof Scope?(this._tags={...this._tags,..._._tags},this._extra={...this._extra,..._._extra},this._contexts={...this._contexts,..._._contexts},_._user&&Object.keys(_._user).length&&(this._user=_._user),_._level&&(this._level=_._level),_._fingerprint&&(this._fingerprint=_._fingerprint),_._requestSession&&(this._requestSession=_._requestSession),_._propagationContext&&(this._propagationContext=_._propagationContext)):(0,Z.PO)(_)&&(this._tags={...this._tags,..._.tags},this._extra={...this._extra,..._.extra},this._contexts={...this._contexts,..._.contexts},_.user&&(this._user=_.user),_.level&&(this._level=_.level),_.fingerprint&&(this._fingerprint=_.fingerprint),_.requestSession&&(this._requestSession=_.requestSession),_.propagationContext&&(this._propagationContext=_.propagationContext)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=generatePropagationContext(),this}addBreadcrumb(_,C){let L="number"==typeof C?C:100;if(L<=0)return this;let Z={timestamp:(0,ea.yW)(),..._},es=this._breadcrumbs;return es.push(Z),this._breadcrumbs=es.length>L?es.slice(-L):es,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(_){return this._attachments.push(_),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(_,C={}
14,L){if(this._extra&&Object.keys(this._extra).length&&(_.extra={...this._extra,..._.extra}),this._tags&&Object.keys(this._tags).length&&(_.tags={...this._tags,..._.tags}),this._user&&Object.keys(this._user).length&&(_.user={...this._user,..._.user}),this._contexts&&Object.keys(this._contexts).length&&(_.contexts={...this._contexts,..._.contexts}),this._level&&(_.level=this._level),this._transactionName&&(_.transaction=this._transactionName),this._span){_.contexts={trace:this._span.getTraceContext(),..._.contexts};let C=this._span.transaction;if(C){_.sdkProcessingMetadata={dynamicSamplingContext:C.getDynamicSamplingContext(),..._.sdkProcessingMetadata};let L=C.name;L&&(_.tags={transaction:L,..._.tags})}}this._applyFingerprint(_);let Z=this._getBreadcrumbs(),ea=[..._.breadcrumbs||[],...Z];return _.breadcrumbs=ea.length>0?ea:void 0,_.sdkProcessingMetadata={..._.sdkProcessingMetadata,...this._sdkProcessingMetadata,propagationContext:this._propagationContext},(0,eo.RP)([...L||[],...(0,eo.fH)(),...this._eventProcessors],_,C)}setSDKProcessingMetadata(_){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,..._},this}setPropagationContext(_){return this._propagationContext=_,this}getPropagationContext(){return this._propagationContext}_getBreadcrumbs(){return this._breadcrumbs}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(_=>{_(this)}),this._notifyingListeners=!1)}_applyFingerprint(_){_.fingerprint=_.fingerprint?(0,es.lE)(_.fingerprint):[],this._fingerprint&&(_.fingerprint=_.fingerprint.concat(this._fingerprint)),_.fingerprint&&!_.fingerprint.length&&delete _.fingerprint}};function generatePropagationContext(){return{traceId:(0,es.DM)(),spanId:(0,es.DM)().substring(16)}}},75922:function(_,C,L){"use strict";L.d(C,{CT:function(){return updateSession},Hv:function(){return makeSession},RJ:function(){return closeSession}});var Z=L(20495),ea=L(98494),es=L(41857);function makeSession(_){let C=(0,Z.ph)(),L={sid:(0,ea.DM)(),init:!0,timestamp:C,started:C,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>(0,es.Jr)({sid:`${L.sid}`,init:L.init,started:new Date(1e3*L.started).toISOString(),timestamp:new Date(1e3*L.timestamp).toISOString(),status:L.status,errors:L.errors,did:"number"==typeof L.did||"string"==typeof L.did?`${L.did}`:void 0,duration:L.duration,abnormal_mechanism:L.abnormal_mechanism,attrs:{release:L.release,environment:L.environment,ip_address:L.ipAddress,user_agent:L.userAgent}})};return _&&updateSession(L,_),L}function updateSession(_,C={}){if(!C.user||(!_.ipAddress&&C.user.ip_address&&(_.ipAddress=C.user.ip_address),_.did||C.did||(_.did=C.user.id||C.user.email||C.user.username)),_.timestamp=C.timestamp||(0,Z.ph)(),C.abnormal_mechanism&&(_.abnormal_mechanism=C.abnormal_mechanism),C.ignoreDuration&&(_.ignoreDuration=C.ignoreDuration),C.sid&&(_.sid=32===C.sid.length?C.sid:(0,ea.DM)()),void 0!==C.init&&(_.init=C.init),!_.did&&C.did&&(_.did=`${C.did}`),"number"==typeof C.started&&(_.started=C.started),_.ignoreDuration)_.duration=void 0;else if("number"==typeof C.duration)_.duration=C.duration;else{let C=_.timestamp-_.started;_.duration=C>=0?C:0}C.release&&(_.release=C.release),C.environment&&(_.environment=C.environment),!_.ipAddress&&C.ipAddress&&(_.ipAddress=C.ipAddress),!_.userAgent&&C.userAgent&&(_.userAgent=C.userAgent),"number"==typeof C.errors&&(_.errors=C.errors),C.status&&(_.status=C.status)}function closeSession(_,C){let L={};C?L={status:C}:"ok"===_.status&&(L={status:"exited"}),updateSession(_,L)}},60844:function(_,C,L){"use strict";L.d(C,{R:function(){return prepareEvent},U0:function(){return parseEventHintOrCaptureContext}});var Z=L(98494),ea=L(20495),es=L(38756),eo=L(78106),el=L(7338),eu=L(62836),ec=L(41360),ed=L(52106),eh=L(51350);function prepareEvent(_,C,L,ef,em){let{normalizeDepth:eb=3,normalizeMaxBreadth:ey=1e3}=_,eg={...C,event_id:C.event_id||L.event_id||(0,Z.DM)(),timestamp:C.timestamp||(0,ea.yW)()},ev=L.integrations||_.integrations.map(_=>_.name);(function(_,C){let{environment:L,release:Z,dist:ea,maxValueLength:es=250}=C;"environment"in _||(_.environment="environment"in C?L:ec.J),void 0===_.release&&void 0!==Z&&(_.release=Z),void 0===_.dist&&void 0!==ea&&(_.dist=ea),_.message&&(_.message=(0,eo.$G)(_.message,es));let el=_.exception&&_.exception.values&&_.exception.values[0];el&&el.value&&(el.value=(0,eo.$G)(el.value,es));let eu=_.request;eu&&eu.url&&(eu.url=(0,eo.$G)(eu.url,es))})(eg,_),ev.length>0&&(eg.sdk=eg.sdk||{},eg.sdk.integrations=[...eg.sdk.integrations||[],...ev]),void 0===C.type&&function(_,C){let L;let Z=el.n2._sentryDebugIds;if(!Z)return;let ea=ep.get(C);ea?L=ea:(L=new Map,ep.set(C,L));let es=Object.keys(Z).reduce((_,ea)=>{let es;let eo=L.get(ea);eo?es=eo:(es=C(ea),L.set(ea,es));for(let C=es.length-1;C>=0;C--){let L=es[C];if(L.filename){_[L.filename]=Z[ea];break}}return _},{});
14try{_.exception.values.forEach(_=>{_.stacktrace.frames.forEach(_=>{_.filename&&(_.debug_id=es[_.filename])})})}catch(_){}}(eg,_.stackParser);let ex=ef;L.captureContext&&(ex=eh.s.clone(ex).update(L.captureContext)),L.mechanism&&(0,Z.EG)(eg,L.mechanism);let e_=(0,es.WD)(eg),ew=em&&em.getEventProcessors?em.getEventProcessors():[];if(ex){if(ex.getAttachments){let _=[...L.attachments||[],...ex.getAttachments()];_.length&&(L.attachments=_)}e_=ex.applyToEvent(eg,L,ew)}else e_=(0,ed.RP)([...ew,...(0,ed.fH)()],eg,L);return e_.then(_=>(_&&function(_){let C={};try{_.exception.values.forEach(_=>{_.stacktrace.frames.forEach(_=>{_.debug_id&&(_.abs_path?C[_.abs_path]=_.debug_id:_.filename&&(C[_.filename]=_.debug_id),delete _.debug_id)})})}catch(_){}if(0===Object.keys(C).length)return;_.debug_meta=_.debug_meta||{},_.debug_meta.images=_.debug_meta.images||[];let L=_.debug_meta.images;Object.keys(C).forEach(_=>{L.push({type:"sourcemap",code_file:_,debug_id:C[_]})})}(_),"number"==typeof eb&&eb>0)?function(_,C,L){if(!_)return null;let Z={..._,..._.breadcrumbs&&{breadcrumbs:_.breadcrumbs.map(_=>({..._,..._.data&&{data:(0,eu.Fv)(_.data,C,L)}}))},..._.user&&{user:(0,eu.Fv)(_.user,C,L)},..._.contexts&&{contexts:(0,eu.Fv)(_.contexts,C,L)},..._.extra&&{extra:(0,eu.Fv)(_.extra,C,L)}};return _.contexts&&_.contexts.trace&&Z.contexts&&(Z.contexts.trace=_.contexts.trace,_.contexts.trace.data&&(Z.contexts.trace.data=(0,eu.Fv)(_.contexts.trace.data,C,L))),_.spans&&(Z.spans=_.spans.map(_=>(_.data&&(_.data=(0,eu.Fv)(_.data,C,L)),_))),Z}(_,eb,ey):_)}let ep=new WeakMap;function parseEventHintOrCaptureContext(_){return _?_ instanceof eh.s||"function"==typeof _||Object.keys(_).some(_=>ef.includes(_))?{captureContext:_}:_:void 0}let ef=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"]},37408:function(_,C,L){"use strict";L.d(C,{J:function(){return Z}});let Z="7.86.0"},55999:function(_,C,L){"use strict";L.d(C,{Rt:function(){return htmlTreeAsString},l4:function(){return getLocationHref}});var Z=L(29899),ea=L(7338);let es=(0,ea.Rf)();function htmlTreeAsString(_,C={}){if(!_)return"<unknown>";try{let L,ea=_,es=[],eo=0,el=0,eu=Array.isArray(C)?C:C.keyAttrs,ec=!Array.isArray(C)&&C.maxStringLength||80;for(;ea&&eo++<5&&(L=function(_,C){let L,ea,es,eo,el;let eu=[];if(!_||!_.tagName)return"";eu.push(_.tagName.toLowerCase());let ec=C&&C.length?C.filter(C=>_.getAttribute(C)).map(C=>[C,_.getAttribute(C)]):null;if(ec&&ec.length)ec.forEach(_=>{eu.push(`[${_[0]}="${_[1]}"]`)});else if(_.id&&eu.push(`#${_.id}`),(L=_.className)&&(0,Z.HD)(L))for(el=0,ea=L.split(/\s+/);el<ea.length;el++)eu.push(`.${ea[el]}`);let ed=["aria-label","type","name","title","alt"];for(el=0;el<ed.length;el++)es=ed[el],(eo=_.getAttribute(es))&&eu.push(`[${es}="${eo}"]`);return eu.join("")}(ea,eu),"html"!==L&&(!(eo>1)||!(el+3*es.length+L.length>=ec)));)es.push(L),el+=L.length,ea=ea.parentNode;return es.reverse().join(" > ")}catch(_){return"<unknown>"}}function getLocationHref(){try{return es.document.location.href}catch(_){return""}}},19862:function(_,C,L){"use strict";function isBrowserBundle(){return"undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}function getSDKSource(){return"npm"}L.d(C,{S:function(){return getSDKSource},n:function(){return isBrowserBundle}})},9284:function(_,C,L){"use strict";L.d(C,{D2:function(){return maybeInstrument},Hj:function(){return addHandler},rK:function(){return triggerHandlers}});var Z=L(23873),ea=L(94874),es=L(78091);let eo={},el={};function addHandler(_,C){eo[_]=eo[_]||[],eo[_].push(C)}function maybeInstrument(_,C){el[_]||(C(),el[_]=!0)}function triggerHandlers(_,C){let L=_&&eo[_];if(L)for(let eo of L)try{eo(C)}catch(C){Z.X&&ea.kg.error(`Error while triggering instrumentation handler.
15Type: ${_}
16Name: ${(0,es.$P)(eo)}
17Error:`,C)}}},94714:function(_,C,L){"use strict";let Z;L.d(C,{a:function(){return addHistoryInstrumentationHandler}});var ea=L(41857),es=L(7338);let eo=(0,es.Rf)();var el=L(9284);let eu=es.n2;function addHistoryInstrumentationHandler(_){let C="history";(0,el.Hj)(C,_),(0,el.D2)(C,instrumentHistory)}function instrumentHistory(){if(!function(){let _=eo.chrome,C=_&&_.app&&_.app.runtime,L="history"in eo&&!!eo.history.pushState&&!!eo.history.replaceState;return!C&&L}())return;let _=eu.onpopstate;function historyReplacementFunction(_){return function(...C){let L=C.length>2?C[2]:void 0;if(L){let _=Z,C=String(L);Z=C,(0,el.rK)("history",{from:_,to:C})}return _.apply(this,C)}}eu.onpopstate=function(...C){let L=eu.location.href,ea=Z;if(Z=L,(0,el.rK)("history",{from:ea,to:L}),_)try{return _.apply(this,C)}catch(_){}},(0,ea.hl)(eu.history,"pushState",historyReplacementFunction),(0,ea.hl)(eu.history,"replaceState",historyReplacementFunction)}},29899:function(_,C,L){"use strict";L.d(C,{Cy:function(){return isSyntheticEvent},HD:function(){return isString},J8:function(){return isThenable},Kj:function(){return isRegExp},PO:function(){return isPlainObject},TX:function(){return isDOMError},V9:function(){return isInstanceOf},VW:function(){return isErrorEvent},VZ:function(){return isError},cO:function(){return isEvent},fm:function(){return isDOMException},i2:function(){return isNaN},kK:function(){return isElement},pt:function(){return isPrimitive},y1:function(){return isVueViewModel}});let Z=Object.prototype.toString;
17function isError(_){switch(Z.call(_)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return isInstanceOf(_,Error)}}function isBuiltin(_,C){return Z.call(_)===`[object ${C}]`}function isErrorEvent(_){return isBuiltin(_,"ErrorEvent")}function isDOMError(_){return isBuiltin(_,"DOMError")}function isDOMException(_){return isBuiltin(_,"DOMException")}function isString(_){return isBuiltin(_,"String")}function isPrimitive(_){return null===_||"object"!=typeof _&&"function"!=typeof _}function isPlainObject(_){return isBuiltin(_,"Object")}function isEvent(_){return"undefined"!=typeof Event&&isInstanceOf(_,Event)}function isElement(_){return"undefined"!=typeof Element&&isInstanceOf(_,Element)}function isRegExp(_){return isBuiltin(_,"RegExp")}function isThenable(_){return!!(_&&_.then&&"function"==typeof _.then)}function isSyntheticEvent(_){return isPlainObject(_)&&"nativeEvent"in _&&"preventDefault"in _&&"stopPropagation"in _}function isNaN(_){return"number"==typeof _&&_!=_}function isInstanceOf(_,C){try{return _ instanceof C}catch(_){return!1}}function isVueViewModel(_){return!!("object"==typeof _&&null!==_&&(_.__isVue||_._isVue))}},94874:function(_,C,L){"use strict";L.d(C,{Cf:function(){return consoleSandbox},LD:function(){return eo},RU:function(){return es},kg:function(){return el}});var Z=L(23873),ea=L(7338);let es=["debug","info","warn","error","log","assert","trace"],eo={};function consoleSandbox(_){if(!("console"in ea.n2))return _();let C=ea.n2.console,L={},Z=Object.keys(eo);Z.forEach(_=>{let Z=eo[_];L[_]=C[_],C[_]=Z});try{return _()}finally{Z.forEach(_=>{C[_]=L[_]})}}let el=function(){let _=!1,C={enable:()=>{_=!0},disable:()=>{_=!1},isEnabled:()=>_};return Z.X?es.forEach(L=>{C[L]=(...C)=>{_&&consoleSandbox(()=>{ea.n2.console[L](`Sentry Logger [${L}]:`,...C)})}}):es.forEach(_=>{C[_]=()=>void 0}),C}()},98494:function(_,C,L){"use strict";L.d(C,{DM:function(){return uuid4},Db:function(){return addExceptionTypeValue},EG:function(){return addExceptionMechanism},YO:function(){return checkOrSetAlreadyCaught},jH:function(){return getEventDescription},lE:function(){return arrayify}});var Z=L(41857),ea=L(7338);function uuid4(){let _=ea.n2,C=_.crypto||_.msCrypto,getRandomByte=()=>16*Math.random();try{if(C&&C.randomUUID)return C.randomUUID().replace(/-/g,"");C&&C.getRandomValues&&(getRandomByte=()=>C.getRandomValues(new Uint8Array(1))[0])}catch(_){}return"10000000100040008000100000000000".replace(/[018]/g,_=>(_^(15&getRandomByte())>>_/4).toString(16))}function getFirstException(_){return _.exception&&_.exception.values?_.exception.values[0]:void 0}function getEventDescription(_){let{message:C,event_id:L}=_;if(C)return C;let Z=getFirstException(_);return Z?Z.type&&Z.value?`${Z.type}: ${Z.value}`:Z.type||Z.value||L||"<unknown>":L||"<unknown>"}function addExceptionTypeValue(_,C,L){let Z=_.exception=_.exception||{},ea=Z.values=Z.values||[],es=ea[0]=ea[0]||{};es.value||(es.value=C||""),es.type||(es.type=L||"Error")}function addExceptionMechanism(_,C){let L=getFirstException(_);if(!L)return;let Z=L.mechanism;if(L.mechanism={type:"generic",handled:!0,...Z,...C},C&&"data"in C){let _={...Z&&Z.data,...C.data};L.mechanism.data=_}}function checkOrSetAlreadyCaught(_){if(_&&_.__sentry_captured__)return!0;try{(0,Z.xp)(_,"__sentry_captured__",!0)}catch(_){}return!1}function arrayify(_){return Array.isArray(_)?_:[_]}},45936:function(_,C,L){"use strict";L.d(C,{KV:function(){return isNodeEnv},l$:function(){return dynamicRequire}});var Z=L(19862);_=L.hmd(_);var ea=L(73656);function isNodeEnv(){return!(0,Z.n)()&&"[object process]"===Object.prototype.toString.call(void 0!==ea?ea:0)}function dynamicRequire(_,C){return _.require(C)}},62836:function(_,C,L){"use strict";L.d(C,{Fv:function(){return normalize},Qy:function(){return function normalizeToSize(_,C=3,L=102400){let Z=normalize(_,C);return~-encodeURI(JSON.stringify(Z)).split(/%..|./).length>L?normalizeToSize(_,C-1,L):Z}}});var Z=L(29899),ea=L(41857),es=L(78091);function normalize(_,C=100,eo=Infinity){try{return function visit(_,C,eo=Infinity,el=Infinity,eu=function(){let _="function"==typeof WeakSet,C=_?new WeakSet:[];return[function(L){if(_)return!!C.has(L)||(C.add(L),!1);for(let _=0;_<C.length;_++){let Z=C[_];if(Z===L)return!0}return C.push(L),!1},function(L){if(_)C.delete(L);else for(let _=0;_<C.length;_++)if(C[_]===L){C.splice(_,1);break}}]}()){let[ec,ed]=eu;if(null==C||["number","boolean","string"].includes(typeof C)&&!(0,Z.i2)(C))return C;let eh=function(_,C){try{if("domain"===_&&C&&"object"==typeof C&&C._events)return"[Domain]";if("domainEmitter"===_)return"[DomainEmitter]";if(void 0!==L.g&&C===L.g)return"[Global]";if("undefined"!=typeof window&&C===window)return"[Window]";if("undefined"!=typeof document&&C===document)return"[Document]";if((0,Z.y1)(C))return"[VueViewModel]";if((0,Z.Cy)(C))return"[SyntheticEvent]";if("number"==typeof C&&C!=C)return"[NaN]";if("function"==typeof C)return`[Function: ${(0,es.$P)(C)}]`;if("symbol"==typeof C)return`[${String(C)}]`;if("bigint"==typeof C)return`[BigInt: ${String(C)}]`;let ea=function(_){let C=Object.getPrototypeOf(_);return C?C.constructor.name:"null prototype"}(C);if(/^HTML(\w*)Element$/.test(ea))return`[HTMLElement: ${ea}]`;return`[object ${ea}]`}catch(_){return`**non-serializable** (${_})`}}(_,C);if(!eh.startsWith("[object "))return eh;if(C.__sentry_skip_normalization__)return C;let ep="number"==typeof C.__sentry_override_normalization_depth__?C.__sentry_override_normalization_depth__:eo;if(0===ep)return eh.replace("object ","");if(ec(C))return"[Circular ~]";if(C&&"function"==typeof C.toJSON)try{let _=C.toJSON();return visit("",_,ep-1,el,eu)}catch(_){}let ef=Array.isArray(C)?[]:{},em=0,eb=(0,ea.Sh)(C);for(let _ in eb){if(!Object.prototype.hasOwnProperty.call(eb,_))continue;if(em>=el){ef[_]="[MaxProperties ~]";break}let C=eb[_];ef[_]=visit(_,C,ep-1,el,eu),em++}return ed(C),ef}("",_,C,eo)}catch(_){return{ERROR:`**non-serializable** (${_})`}}}},41857:function(_,C,L){"use strict";L.d(C,{$Q:function(){return markFunctionWrapped},HK:function(){return getOriginalFunction},Jr:function(){return dropUndefinedKeys},Sh:function(){return convertToPlainObject},_j:function(){return urlEncode},hl:function(){return fill},xp:function(){return addNonEnumerableProperty},zf:function(){return extractExceptionKeysForMessage}});var Z=L(55999),ea=L(23873),es=L(29899),eo=L(94874),el=L(78106);function fill(_,C,L){if(!(C in _))return;let Z=_[C],ea=L(Z);"function"==typeof ea&&markFunctionWrapped(ea,Z),_[C]=ea}function addNonEnumerableProperty(_,C,L){try{Object.defineProperty(_,C,{value:L,writable:!0,configurable:!0})}catch(L){ea.X&&eo.kg.log(`Failed to add non-enumerable property "${C}" to object`,_)}}function markFunctionWrapped(_,C){try{let L=C.prototype||{};_.prototype=C.prototype=L,addNonEnumerableProperty(_,"__sentry_original__",C)}catch(_){}}function getOriginalFunction(_){return _.__sentry_original__}function urlEncode(_){return Object.keys(_).map(C=>`${encodeURIComponent(C)}=${encodeURIComponent(_[C])}`).join("&")}function convertToPlainObject(_){if((0,es.VZ)(_))return{message:_.message,name:_.n
17ame,stack:_.stack,...getOwnProperties(_)};if(!(0,es.cO)(_))return _;{let C={type:_.type,target:serializeEventTarget(_.target),currentTarget:serializeEventTarget(_.currentTarget),...getOwnProperties(_)};return"undefined"!=typeof CustomEvent&&(0,es.V9)(_,CustomEvent)&&(C.detail=_.detail),C}}function serializeEventTarget(_){try{return(0,es.kK)(_)?(0,Z.Rt)(_):Object.prototype.toString.call(_)}catch(_){return"<unknown>"}}function getOwnProperties(_){if("object"!=typeof _||null===_)return{};{let C={};for(let L in _)Object.prototype.hasOwnProperty.call(_,L)&&(C[L]=_[L]);return C}}function extractExceptionKeysForMessage(_,C=40){let L=Object.keys(convertToPlainObject(_));if(L.sort(),!L.length)return"[object has no keys]";if(L[0].length>=C)return(0,el.$G)(L[0],C);for(let _=L.length;_>0;_--){let Z=L.slice(0,_).join(", ");if(!(Z.length>C)){if(_===L.length)return Z;return(0,el.$G)(Z,C)}}return""}function dropUndefinedKeys(_){let C=new Map;return function _dropUndefinedKeys(_,C){if((0,es.PO)(_)){let L=C.get(_);if(void 0!==L)return L;let Z={};for(let L of(C.set(_,Z),Object.keys(_)))void 0!==_[L]&&(Z[L]=_dropUndefinedKeys(_[L],C));return Z}if(Array.isArray(_)){let L=C.get(_);if(void 0!==L)return L;let Z=[];return C.set(_,Z),_.forEach(_=>{Z.push(_dropUndefinedKeys(_,C))}),Z}return _}(_,C)}},78091:function(_,C,L){"use strict";L.d(C,{$P:function(){return getFunctionName},Sq:function(){return stackParserFromStackParserOptions},pE:function(){return createStackParser}});let Z=/\(error: (.*)\)/,ea=/captureMessage|captureException/;function createStackParser(..._){let C=_.sort((_,C)=>_[0]-C[0]).map(_=>_[1]);return(_,L=0)=>{let es=[],eo=_.split("\n");for(let _=L;_<eo.length;_++){let L=eo[_];if(L.length>1024)continue;let ea=Z.test(L)?L.replace(Z,"$1"):L;if(!ea.match(/\S*Error: /)){for(let _ of C){let C=_(ea);if(C){es.push(C);break}}if(es.length>=50)break}}return function(_){if(!_.length)return[];let C=Array.from(_);return/sentryWrapped/.test(C[C.length-1].function||"")&&C.pop(),C.reverse(),ea.test(C[C.length-1].function||"")&&(C.pop(),ea.test(C[C.length-1].function||"")&&C.pop()),C.slice(0,50).map(_=>({..._,filename:_.filename||C[C.length-1].filename,function:_.function||"?"}))}(es)}}function stackParserFromStackParserOptions(_){return Array.isArray(_)?createStackParser(..._):_}let es="<anonymous>";function getFunctionName(_){try{if(!_||"function"!=typeof _)return es;return _.name||es}catch(_){return es}}},78106:function(_,C,L){"use strict";L.d(C,{$G:function(){return truncate},U0:function(){return stringMatchesSomePattern},nK:function(){return safeJoin}});var Z=L(29899);function truncate(_,C=0){return"string"!=typeof _||0===C?_:_.length<=C?_:`${_.slice(0,C)}...`}function safeJoin(_,C){if(!Array.isArray(_))return"";let L=[];for(let C=0;C<_.length;C++){let ea=_[C];try{(0,Z.y1)(ea)?L.push("[VueViewModel]"):L.push(String(ea))}catch(_){L.push("[value cannot be serialized]")}}return L.join(C)}function stringMatchesSomePattern(_,C=[],L=!1){return C.some(C=>(function(_,C,L=!1){return!!(0,Z.HD)(_)&&((0,Z.Kj)(C)?C.test(_):!!(0,Z.HD)(C)&&(L?_===C:_.includes(C)))})(_,C,L))}},82844:function(_,C,L){"use strict";L.d(C,{Ak:function(){return supportsFetch},Du:function(){return isNativeFetch},t$:function(){return supportsNativeFetch}});var Z=L(23873),ea=L(94874),es=L(7338);let eo=(0,es.Rf)();function supportsFetch(){if(!("fetch"in eo))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(_){return!1}}function isNativeFetch(_){return _&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(_.toString())}function supportsNativeFetch(){if("string"==typeof EdgeRuntime)return!0;if(!supportsFetch())return!1;if(isNativeFetch(eo.fetch))return!0;let _=!1,C=eo.document;if(C&&"function"==typeof C.createElement)try{let L=C.createElement("iframe");L.hidden=!0,C.head.appendChild(L),L.contentWindow&&L.contentWindow.fetch&&(_=isNativeFetch(L.contentWindow.fetch)),C.head.removeChild(L)}catch(_){Z.X&&ea.kg.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",_)}return _}},38756:function(_,C,L){"use strict";L.d(C,{$2:function(){return rejectedSyncPromise},WD:function(){return resolvedSyncPromise},cW:function(){return SyncPromise}});var Z,ea,es=L(29899);function resolvedSyncPromise(_){return new SyncPromise(C=>{C(_)})}function rejectedSyncPromise(_){return new SyncPromise((C,L)=>{L(_)})}(Z=ea||(ea={}
17))[Z.PENDING=0]="PENDING",Z[Z.RESOLVED=1]="RESOLVED",Z[Z.REJECTED=2]="REJECTED";let SyncPromise=class SyncPromise{constructor(_){SyncPromise.prototype.__init.call(this),SyncPromise.prototype.__init2.call(this),SyncPromise.prototype.__init3.call(this),SyncPromise.prototype.__init4.call(this),this._state=ea.PENDING,this._handlers=[];try{_(this._resolve,this._reject)}catch(_){this._reject(_)}}then(_,C){return new SyncPromise((L,Z)=>{this._handlers.push([!1,C=>{if(_)try{L(_(C))}catch(_){Z(_)}else L(C)},_=>{if(C)try{L(C(_))}catch(_){Z(_)}else Z(_)}]),this._executeHandlers()})}catch(_){return this.then(_=>_,_)}finally(_){return new SyncPromise((C,L)=>{let Z,ea;return this.then(C=>{ea=!1,Z=C,_&&_()},C=>{ea=!0,Z=C,_&&_()}).then(()=>{if(ea){L(Z);return}C(Z)})})}__init(){this._resolve=_=>{this._setResult(ea.RESOLVED,_)}}__init2(){this._reject=_=>{this._setResult(ea.REJECTED,_)}}__init3(){this._setResult=(_,C)=>{if(this._state===ea.PENDING){if((0,es.J8)(C)){C.then(this._resolve,this._reject);return}this._state=_,this._value=C,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===ea.PENDING)return;let _=this._handlers.slice();this._handlers=[],_.forEach(_=>{_[0]||(this._state===ea.RESOLVED&&_[1](this._value),this._state===ea.REJECTED&&_[2](this._value),_[0]=!0)})}}}},20495:function(_,C,L){"use strict";L.d(C,{ph:function(){return ed},yW:function(){return ec}});var Z=L(45936),ea=L(7338);_=L.hmd(_);let es=(0,ea.Rf)(),eo={nowSeconds:()=>Date.now()/1e3},el=(0,Z.KV)()?function(){try{let C=(0,Z.l$)(_,"perf_hooks");return C.performance}catch(_){return}}():function(){let{performance:_}=es;if(!_||!_.now)return;let C=Date.now()-_.now();return{now:()=>_.now(),timeOrigin:C}}(),eu=void 0===el?eo:{nowSeconds:()=>(el.timeOrigin+el.now())/1e3},ec=eo.nowSeconds.bind(eo),ed=eu.nowSeconds.bind(eu);(()=>{let{performance:_}=es;if(!_||!_.now)return;let C=_.now(),L=Date.now(),Z=_.timeOrigin?Math.abs(_.timeOrigin+C-L):36e5,ea=_.timing&&_.timing.navigationStart,eo="number"==typeof ea?Math.abs(ea+C-L):36e5;if(Z<36e5||eo<36e5)return Z<=eo?_.timeOrigin:void 0})()},7338:function(_,C,L){"use strict";function isGlobalObj(_){return _&&_.Math==Math?_:void 0}L.d(C,{Rf:function(){return getGlobalObject},YO:function(){return getGlobalSingleton},n2:function(){return Z}});let Z="object"==typeof globalThis&&isGlobalObj(globalThis)||"object"==typeof window&&isGlobalObj(window)||"object"==typeof self&&isGlobalObj(self)||"object"==typeof L.g&&isGlobalObj(L.g)||function(){return this}()||{};function getGlobalObject(){return Z}function getGlobalSingleton(_,C,L){let ea=L||Z,es=ea.__SENTRY__=ea.__SENTRY__||{},eo=es[_]||(es[_]=C());return eo}},87689:function(_,C,L){"use strict";Object.defineProperty(C,"__esModule",{value:!0});var Z=L(79159);function writeUint16BE(_,C,L){return void 0===C&&(C=new Uint8Array(2)),void 0===L&&(L=0),C[L+0]=_>>>8,C[L+1]=_>>>0,C}function writeUint16LE(_,C,L){return void 0===C&&(C=new Uint8Array(2)),void 0===L&&(L=0),C[L+0]=_>>>0,C[L+1]=_>>>8,C}function readInt32BE(_,C){return void 0===C&&(C=0),_[C]<<24|_[C+1]<<16|_[C+2]<<8|_[C+3]}function readUint32BE(_,C){return void 0===C&&(C=0),(_[C]<<24|_[C+1]<<16|_[C+2]<<8|_[C+3])>>>0}function readInt32LE(_,C){return void 0===C&&(C=0),_[C+3]<<24|_[C+2]<<16|_[C+1]<<8|_[C]}function readUint32LE(_,C){return void 0===C&&(C=0),(_[C+3]<<24|_[C+2]<<16|_[C+1]<<8|_[C])>>>0}function writeUint32BE(_,C,L){return void 0===C&&(C=new Uint8Array(4)),void 0===L&&(L=0),C[L+0]=_>>>24,C[L+1]=_>>>16,C[L+2]=_>>>8,C[L+3]=_>>>0,C}function writeUint32LE(_,C,L){return void 0===C&&(C=new Uint8Array(4)),void 0===L&&(L=0),C[L+0]=_>>>0,C[L+1]=_>>>8,C[L+2]=_>>>16,C[L+3]=_>>>24,C}function writeUint64BE(_,C,L){return void 0===C&&(C=new Uint8Array(8)),void 0===L&&(L=0),writeUint32BE(_/4294967296>>>0,C,L),writeUint32BE(_>>>0,C,L+4),C}function writeUint64LE(_,C,L){return void 0===C&&(C=new Uint8Array(8)),void 0===L&&(L=0),writeUint32LE(_>>>0,C,L),writeUint32LE(_/4294967296>>>0,C,L+4),C}C.readInt16BE=function(_,C){return void 0===C&&(C=0),(_[C+0]<<8|_[C+1])<<16>>16},C.readUint16BE=function(_,C){return void 0===C&&(C=0),(_[C+0]<<8|_[C+1])>>>0},C.readInt16LE=function(_,C){return void 0===C&&(C=0),(_[C+1]<<8|_[C])<<16>>16},C.readUint16LE=function(_,C){return void 0===C&&(C=0),(_[C+1]<<8|_[C])>>>0},C.writeUint16BE=writeUint16BE,C.writeInt16BE=writeUint16BE,C.writeUint16LE=writeUint16LE,C.writeInt16LE=writeUint16LE,C.readInt32BE=readInt32BE,C.readUint32BE=readUint32BE,C.readInt32LE=readInt32LE,C.readUint32LE=readUint32LE,C.writeUint32BE=writeUint32BE,C.writeInt32BE=writeUint32BE,C.writeUint32LE=writeUint32LE,C.writeInt32LE=writeUint32LE,C.readInt64BE=function(_,C){void 0===C&&(C=0);var L=readInt32BE(_,C),Z=readInt32BE(_,C+4);return 4294967296*L+Z-(Z>>31)*4294967296},C.readUint64BE=function(_,C){return void 0===C&&(C=0),4294967296*readUint32BE(_,C)+readUint32BE(_,C+4)},C.readInt64LE=function(_,C){void 0===C&&(C=0);var L=readInt32LE(_,C);return 4294967296*readInt32LE(_,C+4)+L-(L>>31)*4294967296},C.readUint64LE=function(_,C){void 0===C&&(C=0);var L=readUint32LE(_,C);return 4294967296*readUint32LE(_,C+4)+L},C.writeUint64BE=writeUint64BE,C.writeInt64BE=writeUint64BE,C.writeUint64LE=writeUint64LE,C.writeInt64LE=writeUint64LE,C.readUintBE=function(_,C,L){if(void 0===L&&(L=0),_%8!=0)throw Error("readUintBE supp
17orts only bitLengths divisible by 8");if(_/8>C.length-L)throw Error("readUintBE: array is too short for the given bitLength");for(var Z=0,ea=1,es=_/8+L-1;es>=L;es--)Z+=C[es]*ea,ea*=256;return Z},C.readUintLE=function(_,C,L){if(void 0===L&&(L=0),_%8!=0)throw Error("readUintLE supports only bitLengths divisible by 8");if(_/8>C.length-L)throw Error("readUintLE: array is too short for the given bitLength");for(var Z=0,ea=1,es=L;es<L+_/8;es++)Z+=C[es]*ea,ea*=256;return Z},C.writeUintBE=function(_,C,L,ea){if(void 0===L&&(L=new Uint8Array(_/8)),void 0===ea&&(ea=0),_%8!=0)throw Error("writeUintBE supports only bitLengths divisible by 8");if(!Z.isSafeInteger(C))throw Error("writeUintBE value must be an integer");for(var es=1,eo=_/8+ea-1;eo>=ea;eo--)L[eo]=C/es&255,es*=256;return L},C.writeUintLE=function(_,C,L,ea){if(void 0===L&&(L=new Uint8Array(_/8)),void 0===ea&&(ea=0),_%8!=0)throw Error("writeUintLE supports only bitLengths divisible by 8");if(!Z.isSafeInteger(C))throw Error("writeUintLE value must be an integer");for(var es=1,eo=ea;eo<ea+_/8;eo++)L[eo]=C/es&255,es*=256;return L},C.readFloat32BE=function(_,C){return void 0===C&&(C=0),new DataView(_.buffer,_.byteOffset,_.byteLength).getFloat32(C)},C.readFloat32LE=function(_,C){return void 0===C&&(C=0),new DataView(_.buffer,_.byteOffset,_.byteLength).getFloat32(C,!0)},C.readFloat64BE=function(_,C){return void 0===C&&(C=0),new DataView(_.buffer,_.byteOffset,_.byteLength).getFloat64(C)},C.readFloat64LE=function(_,C){return void 0===C&&(C=0),new DataView(_.buffer,_.byteOffset,_.byteLength).getFloat64(C,!0)},C.writeFloat32BE=function(_,C,L){return void 0===C&&(C=new Uint8Array(4)),void 0===L&&(L=0),new DataView(C.buffer,C.byteOffset,C.byteLength).setFloat32(L,_),C},C.writeFloat32LE=function(_,C,L){return void 0===C&&(C=new Uint8Array(4)),void 0===L&&(L=0),new DataView(C.buffer,C.byteOffset,C.byteLength).setFloat32(L,_,!0),C},C.writeFloat64BE=function(_,C,L){return void 0===C&&(C=new Uint8Array(8)),void 0===L&&(L=0),new DataView(C.buffer,C.byteOffset,C.byteLength).setFloat64(L,_),C},C.writeFloat64LE=function(_,C,L){return void 0===C&&(C=new Uint8Array(8)),void 0===L&&(L=0),new DataView(C.buffer,C.byteOffset,C.byteLength).setFloat64(L,_,!0),C}},77279:function(_,C,L){"use strict";var Z=L(2787),ea=L(50329),es=L(19044),eo=L(87689),el=L(23653);C.Cv=32,C.WH=12,C.pg=16;var eu=new Uint8Array(16),ec=function(){function ChaCha20Poly1305(_){if(this.nonceLength=C.WH,this.tagLength=C.pg,_.length!==C.Cv)throw Error("ChaCha20Poly1305 needs 32-byte key");this._key=new Uint8Array(_)}return ChaCha20Poly1305.prototype.seal=function(_,C,L,ea){if(_.length>16)throw Error("ChaCha20Poly1305: incorrect nonce length");var eo,el=new Uint8Array(16);el.set(_,el.length-_.length);var eu=new Uint8Array(32);Z.stream(this._key,el,eu,4);var ec=C.length+this.tagLength;if(ea){if(ea.length!==ec)throw Error("ChaCha20Poly1305: incorrect destination length");eo=ea}else eo=new Uint8Array(ec);return Z.streamXOR(this._key,el,C,eo,4),this._authenticate(eo.subarray(eo.length-this.tagLength,eo.length),eu,eo.subarray(0,eo.length-this.tagLength),L),es.wipe(el),eo},ChaCha20Poly1305.prototype.open=function(_,C,L,ea){if(_.length>16)throw Error("ChaCha20Poly1305: incorrect nonce length");if(C.length<this.tagLength)return null;var eo,eu=new Uint8Array(16);eu.set(_,eu.length-_.length);var ec=new Uint8Array(32);Z.stream(this._key,eu,ec,4);var ed=new Uint8Array(this.tagLength);if(this._authenticate(ed,ec,C.subarray(0,C.length-this.tagLength),L),!el.equal(ed,C.subarray(C.length-this.tagLength,C.length)))return null;var eh=C.length-this.tagLength;if(ea){if(ea.length!==eh)throw Error("ChaCha20Poly1305: incorrect destination length");eo=ea}else eo=new Uint8Array(eh);return Z.streamXOR(this._key,eu,C.subarray(0,C.length-this.tagLength),eo,4),es.wipe(eu),eo},ChaCha20Poly1305.prototype.clean=function(){return es.wipe(this._key),this},ChaCha20Poly1305.prototype._authenticate=function(_,C,L,Z){var el=new ea.Poly1305(C);Z&&(el.update(Z),Z.length%16>0&&el.update(eu.subarray(Z.length%16))),el.update(L),L.length%16>0&&el.update(eu.subarray(L.length%16));var ec=new Uint8Array(8);Z&&eo.writeUint64LE(Z.length,ec),el.update(ec),eo.writeUint64LE(L.length,ec),el.update(ec);for(var ed=el.digest(),eh=0;eh<ed.length;eh++)_[eh]=ed[eh];el.clean(),es.wipe(ed),es.wipe(ec)},ChaCha20Poly1305}();C.OK=ec},2787:function(_,C,L){"use strict";Object.defineProperty(C,"__esModule",{value:!0});var Z=L(87689),ea=L(19044);function streamXOR(_,C,L,es,eo){if(void 0===eo&&(eo=0),32!==_.length)throw Error("ChaCha: key size must be 32 bytes");if(es.length<L.length)throw Error("ChaCha: destination is shorter than source");if(0===eo){if(8!==C.length&&12!==C.length)throw Error("ChaCha nonce must be 8 or 12 bytes");eu=(el=new Uint8Array(16)).length-C.length,el.set(C,eu)}else{if(16!==C.length)throw Error("ChaCha nonce with counter must be 16 bytes");el=C,eu=eo}for(var el,eu,ec=new Uint8Array(64),ed=0;ed<L.length;ed+=64){!function(_,C,L){for(var ea=L[3]<<24|L[2]<<16|L[1]<<8|L[0],es=L[7]<<24|L[6]<<16|L[5]<<8|L[4],eo=L[11]<<24|L[10]<<16|L[9]<<8|L[8],el=L[15]<<24|L[14]<<16|L[13]<<8|L[12],eu=L[19]<<24|L[18]<<16|L[17]<<8|L[16],ec=L[23]<<24|L[22]<<16|L[21]<<8|L[20],ed=L[27]<<24|L[26]<<16|L[25]<<8|L[24],eh=L[31]<<24|L[30]<<16|L[29]<<8|L[28],ep=C[3]<<24|C[2]<<16|C[1]<<8|C[0],ef=C[7]<<24|C[6]<<16|C[5]<<8|C[4],em=C[11]<<24|C[10]<<16|C[9]<<8|C[8],eb=C[15]<<24|C[14]<<16|C[13]<<8|C[
1712],ey=1634760805,eg=857760878,ev=2036477234,ex=1797285236,e_=ea,ew=es,eC=eo,eT=el,eq=eu,ek=ec,eS=ed,eE=eh,eM=ep,ej=ef,eA=em,eD=eb,eI=0;eI<20;eI+=2)eM^=ey=ey+e_|0,e_^=eq=eq+(eM=eM>>>16|eM<<16)|0,e_=e_>>>20|e_<<12,ej^=eg=eg+ew|0,ew^=ek=ek+(ej=ej>>>16|ej<<16)|0,ew=ew>>>20|ew<<12,eA^=ev=ev+eC|0,eC^=eS=eS+(eA=eA>>>16|eA<<16)|0,eC=eC>>>20|eC<<12,eD^=ex=ex+eT|0,eT^=eE=eE+(eD=eD>>>16|eD<<16)|0,eT=eT>>>20|eT<<12,eA^=ev=ev+eC|0,eC^=eS=eS+(eA=eA>>>24|eA<<8)|0,eC=eC>>>25|eC<<7,eD^=ex=ex+eT|0,eT^=eE=eE+(eD=eD>>>24|eD<<8)|0,eT=eT>>>25|eT<<7,ej^=eg=eg+ew|0,ew^=ek=ek+(ej=ej>>>24|ej<<8)|0,ew=ew>>>25|ew<<7,eM^=ey=ey+e_|0,e_^=eq=eq+(eM=eM>>>24|eM<<8)|0,e_=e_>>>25|e_<<7,eD^=ey=ey+ew|0,ew^=eS=eS+(eD=eD>>>16|eD<<16)|0,ew=ew>>>20|ew<<12,eM^=eg=eg+eC|0,eC^=eE=eE+(eM=eM>>>16|eM<<16)|0,eC=eC>>>20|eC<<12,ej^=ev=ev+eT|0,eT^=eq=eq+(ej=ej>>>16|ej<<16)|0,eT=eT>>>20|eT<<12,eA^=ex=ex+e_|0,e_^=ek=ek+(eA=eA>>>16|eA<<16)|0,e_=e_>>>20|e_<<12,ej^=ev=ev+eT|0,eT^=eq=eq+(ej=ej>>>24|ej<<8)|0,eT=eT>>>25|eT<<7,eA^=ex=ex+e_|0,e_^=ek=ek+(eA=eA>>>24|eA<<8)|0,e_=e_>>>25|e_<<7,eM^=eg=eg+eC|0,eC^=eE=eE+(eM=eM>>>24|eM<<8)|0,eC=eC>>>25|eC<<7,eD^=ey=ey+ew|0,ew^=eS=eS+(eD=eD>>>24|eD<<8)|0,ew=ew>>>25|ew<<7;Z.writeUint32LE(ey+1634760805|0,_,0),Z.writeUint32LE(eg+857760878|0,_,4),Z.writeUint32LE(ev+2036477234|0,_,8),Z.writeUint32LE(ex+1797285236|0,_,12),Z.writeUint32LE(e_+ea|0,_,16),Z.writeUint32LE(ew+es|0,_,20),Z.writeUint32LE(eC+eo|0,_,24),Z.writeUint32LE(eT+el|0,_,28),Z.writeUint32LE(eq+eu|0,_,32),Z.writeUint32LE(ek+ec|0,_,36),Z.writeUint32LE(eS+ed|0,_,40),Z.writeUint32LE(e
17E+eh|0,_,44),Z.writeUint32LE(eM+ep|0,_,48),Z.writeUint32LE(ej+ef|0,_,52),Z.writeUint32LE(eA+em|0,_,56),Z.writeUint32LE(eD+eb|0,_,60)}(ec,el,_);for(var eh=ed;eh<ed+64&&eh<L.length;eh++)es[eh]=L[eh]^ec[eh-ed];!function(_,C,L){for(var Z=1;L--;)Z=Z+(255&_[C])|0,_[C]=255&Z,Z>>>=8,C++;if(Z>0)throw Error("ChaCha: counter overflow")}(el,0,eu)}return ea.wipe(ec),0===eo&&ea.wipe(el),es}C.streamXOR=streamXOR,C.stream=function(_,C,L,Z){return void 0===Z&&(Z=0),ea.wipe(L),streamXOR(_,C,L,L,Z)}},23653:function(_,C){"use strict";function compare(_,C){if(_.length!==C.length)return 0;for(var L=0,Z=0;Z<_.length;Z++)L|=_[Z]^C[Z];return 1&L-1>>>8}Object.defineProperty(C,"__esModule",{value:!0}),C.select=function(_,C,L){return~(_-1)&C|_-1&L},C.lessOrEqual=function(_,C){return(0|_)-(0|C)-1>>>31&1},C.compare=compare,C.equal=function(_,C){return 0!==_.length&&0!==C.length&&0!==compare(_,C)}},87353:function(_,C){"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.isSerializableHash=function(_){return void 0!==_.saveState&&void 0!==_.restoreState&&void 0!==_.cleanSavedState}},4759:function(_,C,L){"use strict";var Z=L(62679),ea=L(19044),es=function(){function HKDF(_,C,L,ea){void 0===L&&(L=new Uint8Array(0)),this._counter=new Uint8Array(1),this._hash=_,this._info=ea;var es=Z.hmac(this._hash,L,C);this._hmac=new Z.HMAC(_,es),this._buffer=new Uint8Array(this._hmac.digestLength),this._bufpos=this._buffer.length}return HKDF.prototype._fillBuffer=function(){this._counter[0]++;var _=this._counter[0];if(0===_)throw Error("hkdf: cannot expand more");this._hmac.reset(),_>1&&this._hmac.update(this._buffer),this._info&&this._hmac.update(this._info),this._hmac.update(this._counter),this._hmac.finish(this._buffer),this._bufpos=0},HKDF.prototype.expand=function(_){for(var C=new Uint8Array(_),L=0;L<C.length;L++)this._bufpos===this._buffer.length&&this._fillBuffer(),C[L]=this._buffer[this._bufpos++];return C},HKDF.prototype.clean=function(){this._hmac.clean(),ea.wipe(this._buffer),ea.wipe(this._counter),this._bufpos=0},HKDF}();C.t=es},62679:function(_,C,L){"use strict";Object.defineProperty(C,"__esModule",{value:!0});var Z=L(87353),ea=L(23653),es=L(19044),eo=function(){function HMAC(_,C){this._finished=!1,this._inner=new _,this._outer=new _,this.blockSize=this._outer.blockSize,this.digestLength=this._outer.digestLength;var L=new Uint8Array(this.blockSize);C.length>this.blockSize?this._inner.update(C).finish(L).clean():L.set(C);for(var ea=0;ea<L.length;ea++)L[ea]^=54;this._inner.update(L);for(var ea=0;ea<L.length;ea++)L[ea]^=106;this._outer.update(L),Z.isSerializableHash(this._inner)&&Z.isSerializableHash(this._outer)&&(this._innerKeyedState=this._inner.saveState(),this._outerKeyedState=this._outer.saveState()),es.wipe(L)}return HMAC.prototype.reset=function(){if(!Z.isSerializableHash(this._inner)||!Z.isSerializableHash(this._outer))throw Error("hmac: can't reset() because hash doesn't implement restoreState()");return this._inner.restoreState(this._innerKeyedState),this._outer.restoreState(this._outerKeyedState),this._finished=!1,this},HMAC.prototype.clean=function(){Z.isSerializableHash(this._inner)&&this._inner.cleanSavedState(this._innerKeyedState),Z.isSerializableHash(this._outer)&&this._outer.cleanSavedState(this._outerKeyedState),this._inner.clean(),this._outer.clean()},HMAC.prototype.update=function(_){return this._inner.update(_),this},HMAC.prototype.finish=function(_){return this._finished?this._outer.finish(_):(this._inner.finish(_),this._outer.update(_.subarray(0,this.digestLength)).finish(_),this._finished=!0),this},HMAC.prototype.digest=function(){var _=new Uint8Array(this.digestLength);return this.finish(_),_},HMAC.prototype.saveState=function(){if(!Z.isSerializableHash(this._inner))throw Error("hmac: can't saveState() because hash doesn't implement it");return this._inner.saveState()},HMAC.prototype.restoreState=function(_){if(!Z.isSerializableHash(this._inner)||!Z.isSerializableHash(this._outer))throw Error("hmac: can't restoreState() because hash doesn't implement it");return this._inner.restoreState(_),this._outer.restoreState(this._outerKeyedState),this._finished=!1,this},HMAC.prototype.cleanSavedState=function(_){if(!Z.isSerializableHash(this._inner))throw Error("hmac: can't 
17cleanSavedState() because hash doesn't implement it");this._inner.cleanSavedState(_)},HMAC}();C.HMAC=eo,C.hmac=function(_,C,L){var Z=new eo(_,C);Z.update(L);var ea=Z.digest();return Z.clean(),ea},C.equal=ea.equal},79159:function(_,C){"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.mul=Math.imul||function(_,C){var L=65535&_,Z=65535&C;return L*Z+((_>>>16&65535)*Z+L*(C>>>16&65535)<<16>>>0)|0},C.add=function(_,C){return _+C|0},C.sub=function(_,C){return _-C|0},C.rotl=function(_,C){return _<<C|_>>>32-C},C.rotr=function(_,C){return _<<32-C|_>>>C},C.isInteger=Number.isInteger||function(_){return"number"==typeof _&&isFinite(_)&&Math.floor(_)===_},C.MAX_SAFE_INTEGER=9007199254740991,C.isSafeInteger=function(_){return C.isInteger(_)&&_>=-C.MAX_SAFE_INTEGER&&_<=C.MAX_SAFE_INTEGER}},50329:function(_,C,L){"use strict";Object.defineProperty(C,"__esModule",{value:!0});var Z=L(23653),ea=L(19044);C.DIGEST_LENGTH=16;var es=function(){function Poly1305(_){this.digestLength=C.DIGEST_LENGTH,this._buffer=new Uint8Array(16),this._r=new Uint16Array(10),this._h=new Uint16Array(10),this._pad=new Uint16Array(8),this._leftover=0,this._fin=0,this._finished=!1;var L=_[0]|_[1]<<8;this._r[0]=8191&L;var Z=_[2]|_[3]<<8;this._r[1]=(L>>>13|Z<<3)&8191;var ea=_[4]|_[5]<<8;this._r[2]=(Z>>>10|ea<<6)&7939;var es=_[6]|_[7]<<8;this._r[3]=(ea>>>7|es<<9)&8191;var eo=_[8]|_[9]<<8;this._r[4]=(es>>>4|eo<<12)&255,this._r[5]=eo>>>1&8190;var el=_[10]|_[11]<<8;this._r[6]=(eo>>>14|el<<2)&8191;var eu=_[12]|_[13]<<8;this._r[7]=(el>>>11|eu<<5)&8065;var ec=_[14]|_[15]<<8;this._r[8]=(eu>>>8|ec<<8)&8191,this._r[9]=ec>>>5&127,this._pad[0]=_[16]|_[17]<<8,this._pad[1]=_[18]|_[19]<<8,this._pad[2]=_[20]|_[21]<<8,this._pad[3]=_[22]|_[23]<<8,this._pad[4]=_[24]|_[25]<<8,this._pad[5]=_[26]|_[27]<<8,this._pad[6]=_[28]|_[29]<<8,this._pad[7]=_[30]|_[31]<<8}return Poly1305.prototype._blocks=function(_,C,L){for(var Z=this._fin?0:2048,ea=this._h[0],es=this._h[1],eo=this._h[2],el=this._h[3],eu=this._h[4],ec=this._h[5],ed=this._h[6],eh=this._h[7],ep=this._h[8],ef=this._h[9],em=this._r[0],eb=this._r[1],ey=this._r[2],eg=this._r[3],ev=this._r[4],ex=this._r[5],e_=this._r[6],ew=this._r[7],eC=this._r[8],eT=this._r[9];L>=16;){var eq,ek=_[C+0]|_[C+1]<<8;ea+=8191&ek;var eS=_[C+2]|_[C+3]<<8;es+=(ek>>>13|eS<<3)&8191;var eE=_[C+4]|_[C+5]<<8;eo+=(eS>>>10|eE<<6)&8191;var eM=_[C+6]|_[C+7]<<8;el+=(eE>>>7|eM<<9)&8191;var ej=_[C+8]|_[C+9]<<8;eu+=(eM>>>4|ej<<12)&8191,ec+=ej>>>1&8191;var eA=_[C+10]|_[C+11]<<8;ed+=(ej>>>14|eA<<2)&8191;var eD=_[C+12]|_[C+13]<<8;eh+=(eA>>>11|eD<<5)&8191;var eI=_[C+14]|_[C+15]<<8;ep+=(eD>>>8|eI<<8)&8191,ef+=eI>>>5|Z;var eO=0;eO=(eq=0+ea*em+es*(5*eT)+eo*(5*eC)+el*(5*ew)+eu*(5*e_))>>>13,eq&=8191,eq+=ec*(5*ex)+ed*(5*ev)+eh*(5*eg)+ep*(5*ey)+ef*(5*eb),eO+=eq>>>13,eq&=8191;var eP=eO;eP+=ea*eb+es*em+eo*(5*eT)+el*(5*eC)+eu*(5*ew),eO=eP>>>13,eP&=8191,eP+=ec*(5*e_)+ed*(5*ex)+eh*(5*ev)+ep*(5*eg)+ef*(5*ey),eO+=eP>>>13,eP&=8191;var eN=eO;eN+=ea*ey+es*eb+eo*em+el*(5*eT)+eu*(5*eC),eO=eN>>>13,eN&=8191,eN+=ec*(5*ew)+ed*(5*e_)+eh*(5*ex)+ep*(5*ev)+ef*(5*eg),eO+=eN>>>13,eN&=8191;var eL=eO;eL+=ea*eg+es*ey+eo*eb+el*em+eu*(5*eT),eO=eL>>>13,eL&=8191,eL+=ec*(5*eC)+ed*(5*ew)+eh*(5*e_)+ep*(5*ex)+ef*(5*ev),eO+=eL>>>13,eL&=8191;var eR=eO;eR+=ea*ev+es*eg+eo*ey+el*eb+eu*em,eO=eR>>>13,eR&=8191,eR+=ec*(5*eT)+ed*(5*eC)+eh*(5*ew)+ep*(5*e_)+ef*(5*ex),eO+=eR>>>13,eR&=8191;var eB=eO;eB+=ea*ex+es*ev+eo*eg+el*ey+eu*eb,eO=eB>>>13,eB&=8191,eB+=ec*em+ed*(5*eT)+eh*(5*eC)+ep*(5*ew)+ef*(5*e_),eO+=eB>>>13,eB&=8191;var eF=eO;eF+=ea*e_+es*ex+eo*ev+el*eg+eu*ey,eO=eF>>>13,eF&=8191,eF+=ec*eb+ed*em+eh*(5*eT)+ep*(5*eC)+ef*(5*ew),eO+=eF>>>13,eF&=8191;var eZ=eO;eZ+=ea*ew+es*e_+eo*ex+el*ev+eu*eg,eO=eZ>>>13,eZ&=8191,eZ+=ec*ey+ed*eb+eh*em+ep*(5*eT)+ef*(5*eC),eO+=eZ>>>13,eZ&=8191;var ez=eO;ez+=ea*eC+es*ew+eo*e_+el*ex+eu*ev,eO=ez>>>13,ez&=8191,ez+=ec*eg+ed*ey+eh*eb+ep*em+ef*(5*eT),eO+=ez>>>13,ez&=8191;var eU=eO;eU+=ea*eT+es*eC+eo*ew+el*e_+eu*ex,eO=eU>>>13,eU&=8191,eU+=ec*ev+ed*eg+eh*ey+ep*eb+ef*em,eO+=eU>>>13,eU&=8191,eq=8191&(eO=(eO=(eO<<2)+eO|0)+eq|0),eO>>>=13,eP+=eO,ea=eq,es=eP,eo=eN,el=eL,eu=eR,ec=eB,ed=eF,eh=eZ,ep=ez,ef=eU,C+=16,L-=16}this._h[0]=ea,this._h[1]=es,this._h[2]=eo,this._h[3]=el,this._h[4]=eu,this._h[5]=ec,this._h[6]=ed,this._h[7]=eh,this._h[8]=ep,this._h[9]=ef},Poly1305.prototype.finish=function(_,C){void 0===C&&(C=0);var L,Z,ea,es,eo=new Uint16Array(10);if(this._leftover){for(es=this._leftover,this._buffer[es++]=1;es<16;es++)this._buffer[es]=0;this._fin=1,this._blocks(this._buffer,0,16)}for(L=this._h[1]>>>13,this._h[1]&=8191,es=2;es<10;es++)this._h[es]+=L,L=this._h[es]>>>13,this._h[es]&=8191;for(this._h[0]+=5*L,L=this._h[0]>>>13,this._h[0]&=8191,this._h[1]+=L,L=this._h[1]>>>13,this._h[1]&=8191,this._h[2]+=L,eo[0]=this._h[0]+5,L=eo[0]>>>13,eo[0]&=8191,es=1;es<10;es++)eo[es]=this._h[es]+L,L=eo[es]>>>13,eo[es]&=8191;for(eo[9]-=8192,Z=(1^L)-1,es=0;es<10;es++)eo[es]&=Z;for(es=0,Z=~Z;es<10;es++)this._h[es]=this._h[es]&Z|eo[es];for(es=1,this._h[0]=(this._h[0]|this._h[1]<<13)&65535,this._h[1]=(this._h[1]>>>3|this._h[2]<<10)&65535,this._h[2]=(this._h[2]>>>6|this._h[3]<<7)&65535,this._h[3]=(this._h[3]>>>9|this._h[4]<<4)&65535,this._h[4]=(this._h[4]>>>12|this._h[5]<<1|this._h[6]<<14)&65535,this._h[5]=(this._h[6]>>>2|this._h[7]<<11)&65535,this._h[6]=(this._h[7]>>>5|this._h[8]<<8)&65535,this._h[7]=(this._h[8]>>>8|this._h[9]<<5)&65535,ea=this._h[0]+this._pad[0],this._h[0]=65535&ea;es<8;es++)ea=(this._h[es]+this._pad[es]|0)+(ea>>>16)|0,this._h[es]=65535&ea;return _[C+0]=this._h[0]>>>0,_[C+1]=this._h[0]>>>8,_[C+2]=this._h[1]>>>0,_[C+3]=this._h[1]>>>8,_[C+4]=this._h[2]>>>0,_[C+5]=this._h[2]>>>8,_[C+6]=this._h[3]>>>0,_[C+7]=this._h[3]>>>8,_[C+8]=this._h[4]>>>0,_[C+9]=this._h[4]>>>8,_[C+10]=this._h[5]>>>0,_[C+11]=this._h[5]>>>8,_[C+12]=this._h[6]>>>0,_[C+13]=this._h[6]>>>8,_[C+14]=this._h[7]>>>0,_[C+15]=this._h[7]>>>8,this._finished=!0,this}
17,Poly1305.prototype.update=function(_){var C,L=0,Z=_.length;if(this._leftover){(C=16-this._leftover)>Z&&(C=Z);for(var ea=0;ea<C;ea++)this._buffer[this._leftover+ea]=_[L+ea];if(Z-=C,L+=C,this._leftover+=C,this._leftover<16)return this;this._blocks(this._buffer,0,16),this._leftover=0}if(Z>=16&&(C=Z-Z%16,this._blocks(_,L,C),L+=C,Z-=C),Z){for(var ea=0;ea<Z;ea++)this._buffer[this._leftover+ea]=_[L+ea];this._leftover+=Z}return this},Poly1305.prototype.digest=function(){if(this._finished)throw Error("Poly1305 was finished");var _=new Uint8Array(16);return this.finish(_),_},Poly1305.prototype.clean=function(){return ea.wipe(this._buffer),ea.wipe(this._r),ea.wipe(this._h),ea.wipe(this._pad),this._leftover=0,this._fin=0,this._finished=!0,this},Poly1305}();C.Poly1305=es,C.oneTimeAuth=function(_,C){var L=new es(_);L.update(C);var Z=L.digest();return L.clean(),Z},C.equal=function(_,L){return _.length===C.DIGEST_LENGTH&&L.length===C.DIGEST_LENGTH&&Z.equal(_,L)}},80900:function(_,C,L){"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.randomStringForEntropy=C.randomString=C.randomUint32=C.randomBytes=C.defaultRandomSource=void 0;let Z=L(12716),ea=L(87689),es=L(19044);function randomBytes(_,L=C.defaultRandomSource){return L.randomBytes(_)}C.defaultRandomSource=new Z.SystemRandomSource,C.randomBytes=randomBytes,C.randomUint32=function(_=C.defaultRandomSource){let L=randomBytes(4,_),Z=(0,ea.readUint32LE)(L);return(0,es.wipe)(L),Z};let eo="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";function randomString(_,L=eo,Z=C.defaultRandomSource){if(L.length<2)throw Error("randomString charset is too short");if(L.length>256)throw Error("randomString charset is too long");let ea="",el=L.length,eu=256-256%el;for(;_>0;){let C=randomBytes(Math.ceil(256*_/eu),Z);for(let Z=0;Z<C.length&&_>0;Z++){let es=C[Z];es<eu&&(ea+=L.charAt(es%el),_--)}(0,es.wipe)(C)}return ea}C.randomString=randomString,C.randomStringForEntropy=function(_,L=eo,Z=C.defaultRandomSource){let ea=Math.ceil(_/(Math.log(L.length)/Math.LN2));return randomString(ea,L,Z)}},55244:function(_,C){"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.BrowserRandomSource=void 0,C.BrowserRandomSource=class{constructor(){this.isAvailable=!1,this.isInstantiated=!1;let _="undefined"!=typeof self?self.crypto||self.msCrypto:null;_&&void 0!==_.getRandomValues&&(this._crypto=_,this.isAvailable=!0,this.isInstantiated=!0)}randomBytes(_){if(!this.isAvailable||!this._crypto)throw Error("Browser random byte generator is not available.");let C=new Uint8Array(_);for(let _=0;_<C.length;_+=65536)this._crypto.getRandomValues(C.subarray(_,_+Math.min(C.length-_,65536)));return C}}},30922:function(_,C,L){"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.NodeRandomSource=void 0;let Z=L(19044);C.NodeRandomSource=class{constructor(){this.isAvailable=!1,this.isInstantiated=!1;{let _=L(73804);_&&_.randomBytes&&(this._crypto=_,this.isAvailable=!0,this.isInstantiated=!0)}}randomBytes(_){if(!this.isAvailable||!this._crypto)throw Error("Node.js random byte generator is not available.");let C=this._crypto.randomBytes(_);if(C.length!==_)throw Error("NodeRandomSource: got fewer bytes than requested");let L=new Uint8Array(_);for(let _=0;_<L.length;_++)L[_]=C[_];return(0,Z.wipe)(C),L}}},12716:function(_,C,L){"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.SystemRandomSource=void 0;let Z=L(55244),ea=L(30922);C.SystemRandomSource=class{constructor(){if(this.isAvailable=!1,this.name="",this._source=new Z.BrowserRandomSource,this._source.isAvailable){this.isAvailable=!0,this.name="Browser";return}if(this._source=new ea.NodeRandomSource,this._source.isAvailable){this.isAvailable=!0,this.name="Node";return}}randomBytes(_){if(!this.isAvailable)throw Error("System random byte generator is not available.");return this._source.randomBytes(_)}}},58161:function(_,C,L){"use strict";var Z=L(87689),ea=L(19044);C.k=32,C.cn=64;var es=function(){function SHA256(){this.digestLength=C.k,this.blockSize=C.cn,this._state=new Int32Array(8),this._temp=new Int32Array(64),this._buffer=new Uint8Array(128),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this.reset()}return SHA256.prototype._initState=function(){this._state[0]=1779033703,this._state[1]=3144134277,this._state[2]=1013904242,this._state[3]=2773480762,this._state[4]=1359893119,this._state[5]=2600822924,this._state[6]=528734635,this._state[7]=1541459225},SHA256.prototype.reset=function(){return this._initState(),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this},SHA256.prototype.clean=function(){ea.wipe(this._buffer),ea.wipe(this._temp),this.reset()},SHA256.prototype.update=function(_,C){if(void 0===C&&(C=_.length),this._finished)throw Error("SHA256: can't update because hash was finished.");var L=0;if(this._bytesHashed+=C,this._bufferLength>0){for(;this._bufferLength<this.blockSize&&C>0;)this._buffer[this._bufferLength++]=_[L++],C--;this._bufferLength===this.blockSize&&(hashBlocks(this._temp,this._state,this._buffer,0,this.blockSize),this._bufferLength=0)}for(C>=this.blockSize&&(L=hashBlocks(this._temp,this._state,_,L,C),C%=this.blockSize);C>0;)this._buffer[this._bufferLength++]=_[L++],C--;return this},SHA256.prototype.finish=function(_){if(!this._finished){var C=this._bytesHashed,L=this._bufferLength,ea=C%64<56?64:128;this._buffer[L]=128;for(var es=L+1;es<ea-8;es++)this._buffer[es]=0;Z.writeUint32BE(C/536870912|0,this._buffer,ea-8),Z.writeUint32BE(C<<3,this._buffer,ea-4),hashBlocks(this._temp,this._state,this._buffer,0,ea),this._finished=!0}for(var es=0;es<this.digestLength/4;es++)Z.writeUint32BE(this._state[es],_,4*es);return this},SHA256.prototype.digest=function(){var _=new Uint8Array(this.digestLength);return this.finish(_),_},SHA256.prototype.saveState=function(){if(this._finished)throw Error("SHA256: cannot save finished state");return{state:new Int32Array(this._state),buffer:this._bufferLength>0?new Uint8Array(this._buffer):void 0,bufferLength:this._bufferLength,bytesHashed:this._bytesHashed}},SHA256.prototype.restoreState=function(_){return this._state.set(_.state),this._bufferLength=_.bufferLength,_.buffer&&this._buffer.set(_.buffer),this._bytesHashed=_.bytesHashed,this._finished=!1,this},SHA256.prototype.cleanSavedState=function(_){ea.wipe(_.state),_.buffer&&ea.wipe(_.buffer),_.bufferLength=0,_.bytesHashed=0},SHA256}();C.mE=es;var eo=new Int32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756
17734187,3204031479,3329325298]);function hashBlocks(_,C,L,ea,es){for(;es>=64;){for(var el=C[0],eu=C[1],ec=C[2],ed=C[3],eh=C[4],ep=C[5],ef=C[6],em=C[7],eb=0;eb<16;eb++){var ey=ea+4*eb;_[eb]=Z.readUint32BE(L,ey)}for(var eb=16;eb<64;eb++){var eg=_[eb-2],ev=(eg>>>17|eg<<15)^(eg>>>19|eg<<13)^eg>>>10,ex=((eg=_[eb-15])>>>7|eg<<25)^(eg>>>18|eg<<14)^eg>>>3;_[eb]=(ev+_[eb-7]|0)+(ex+_[eb-16]|0)}for(var eb=0;eb<64;eb++){var ev=(((eh>>>6|eh<<26)^(eh>>>11|eh<<21)^(eh>>>25|eh<<7))+(eh&ep^~eh&ef)|0)+(em+(eo[eb]+_[eb]|0)|0)|0,ex=((el>>>2|el<<30)^(el>>>13|el<<19)^(el>>>22|el<<10))+(el&eu^el&ec^eu&ec)|0;em=ef,ef=ep,ep=eh,eh=ed+ev|0,ed=ec,ec=eu,eu=el,el=ev+ex|0}C[0]+=el,C[1]+=eu,C[2]+=ec,C[3]+=ed,C[4]+=eh,C[5]+=ep,C[6]+=ef,C[7]+=em,ea+=64,es-=64}return ea}C.vp=function(_){var C=new es;C.update(_);var L=C.digest();return C.clean(),L}},19044:function(_,C){"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.wipe=function(_){for(var C=0;C<_.length;C++)_[C]=0;return _}},5796:function(_,C,L){"use strict";C.gi=C.Au=C.KS=C.kz=void 0;let Z=L(80900),ea=L(19044);function gf(_){let C=new Float64Array(16);if(_)for(let L=0;L<_.length;L++)C[L]=_[L];return C}C.kz=32,C.KS=32;let es=new Uint8Array(32);es[0]=9;let eo=gf([56129,1]);function car25519(_){let C=1;for(let L=0;L<16;L++){let Z=_[L]+C+65535;C=Math.floor(Z/65536),_[L]=Z-65536*C}_[0]+=C-1+37*(C-1)}function sel25519(_,C,L){let Z=~(L-1);for(let L=0;L<16;L++){let ea=Z&(_[L]^C[L]);_[L]^=ea,C[L]^=ea}}function add(_,C,L){for(let Z=0;Z<16;Z++)_[Z]=C[Z]+L[Z]}function sub(_,C,L){for(let Z=0;Z<16;Z++)_[Z]=C[Z]-L[Z]}function mul(_,C,L){let Z,ea,es=0,eo=0,el=0,eu=0,ec=0,ed=0,eh=0,ep=0,ef=0,em=0,eb=0,ey=0,eg=0,ev=0,ex=0,e_=0,ew=0,eC=0,eT=0,eq=0,ek=0,eS=0,eE=0,eM=0,ej=0,eA=0,eD=0,eI=0,eO=0,eP=0,eN=0,eL=L[0],eR=L[1],eB=L[2],eF=L[3],eZ=L[4],ez=L[5],eU=L[6],e$=L[7],eV=L[8],eW=L[9],eH=L[10],eG=L[11],eK=L[12],eX=L[13],eY=L[14],eQ=L[15];es+=(Z=C[0])*eL,eo+=Z*eR,el+=Z*eB,eu+=Z*eF,ec+=Z*eZ,ed+=Z*ez,eh+=Z*eU,ep+=Z*e$,ef+=Z*eV,em+=Z*eW,eb+=Z*eH,ey+=Z*eG,eg+=Z*eK,ev+=Z*eX,ex+=Z*eY,e_+=Z*eQ,eo+=(Z=C[1])*eL,el+=Z*eR,eu+=Z*eB,ec+=Z*eF,ed+=Z*eZ,eh+=Z*ez,ep+=Z*eU,ef+=Z*e$,em+=Z*eV,eb+=Z*eW,ey+=Z*eH,eg+=Z*eG,ev+=Z*eK,ex+=Z*eX,e_+=Z*eY,ew+=Z*eQ,el+=(Z=C[2])*eL,eu+=Z*eR,ec+=Z*eB,ed+=Z*eF,eh+=Z*eZ,ep+=Z*ez,ef+=Z*eU,em+=Z*e$,eb+=Z*eV,ey+=Z*eW,eg+=Z*eH,ev+=Z*eG,ex+=Z*eK,e_+=Z*eX,ew+=Z*eY,eC+=Z*eQ,eu+=(Z=C[3])*eL,ec+=Z*eR,ed+=Z*eB,eh+=Z*eF,ep+=Z*eZ,ef+=Z*ez,em+=Z*eU,eb+=Z*e$,ey+=Z*eV,eg+=Z*eW,ev+=Z*eH,ex+=Z*eG,e_+=Z*eK,ew+=Z*eX,eC+=Z*eY,eT+=Z*eQ,ec+=(Z=C[4])*eL,ed+=Z*eR,eh+=Z*eB,ep+=Z*eF,ef+=Z*eZ,em+=Z*ez,eb+=Z*eU,ey+=Z*e$,eg+=Z*eV,ev+=Z*eW,ex+=Z*eH,e_+=Z*eG,ew+=Z*eK,eC+=Z*eX,eT+=Z*eY,eq+=Z*eQ,ed+=(Z=C[5])*eL,eh+=Z*eR,ep+=Z*eB,ef+=Z*eF,em+=Z*eZ,eb+=Z*ez,ey+=Z*eU,eg+=Z*e$,ev+=Z*eV,ex+=Z*eW,e_+=Z*eH,ew+=Z*eG,eC+=Z*eK,eT+=Z*eX,eq+=Z*eY,ek+=Z*eQ,eh+=(Z=C[6])*eL,ep+=Z*eR,ef+=Z*eB,em+=Z*eF,eb+=Z*eZ,ey+=Z*ez,eg+=Z*eU,ev+=Z*e$,ex+=Z*eV,e_+=Z*eW,ew+=Z*eH,eC+=Z*eG,eT+=Z*eK,eq+=Z*eX,ek+=Z*eY,eS+=Z*eQ,ep+=(Z=C[7])*eL,ef+=Z*eR,em+=Z*eB,eb+=Z*eF,ey+=
17Z*eZ,eg+=Z*ez,ev+=Z*eU,ex+=Z*e$,e_+=Z*eV,ew+=Z*eW,eC+=Z*eH,eT+=Z*eG,eq+=Z*eK,ek+=Z*eX,eS+=Z*eY,eE+=Z*eQ,ef+=(Z=C[8])*eL,em+=Z*eR,eb+=Z*eB,ey+=Z*eF,eg+=Z*eZ,ev+=Z*ez,ex+=Z*eU,e_+=Z*e$,ew+=Z*eV,eC+=Z*eW,eT+=Z*eH,eq+=Z*eG,ek+=Z*eK,eS+=Z*eX,eE+=Z*eY,eM+=Z*eQ,em+=(Z=C[9])*eL,eb+=Z*eR,ey+=Z*eB,eg+=Z*eF,ev+=Z*eZ,ex+=Z*ez,e_+=Z*eU,ew+=Z*e$,eC+=Z*eV,eT+=Z*eW,eq+=Z*eH,ek+=Z*eG,eS+=Z*eK,eE+=Z*eX,eM+=Z*eY,ej+=Z*eQ,eb+=(Z=C[10])*eL,ey+=Z*eR,eg+=Z*eB,ev+=Z*eF,ex+=Z*eZ,e_+=Z*ez,ew+=Z*eU,eC+=Z*e$,eT+=Z*eV,eq+=Z*eW,ek+=Z*eH,eS+=Z*eG,eE+=Z*eK,eM+=Z*eX,ej+=Z*eY,eA+=Z*eQ,ey+=(Z=C[11])*eL,eg+=Z*eR,ev+=Z*eB,ex+=Z*eF,e_+=Z*eZ,ew+=Z*ez,eC+=Z*eU,eT+=Z*e$,eq+=Z*eV,ek+=Z*eW,eS+=Z*eH,eE+=Z*eG,eM+=Z*eK,ej+=Z*eX,eA+=Z*eY,eD+=Z*eQ,eg+=(Z=C[12])*eL,ev+=Z*eR,ex+=Z*eB,e_+=Z*eF,ew+=Z*eZ,eC+=Z*ez,eT+=Z*eU,eq+=Z*e$,ek+=Z*eV,eS+=Z*eW,eE+=Z*eH,eM+=Z*eG,ej+=Z*eK,eA+=Z*eX,eD+=Z*eY,eI+=Z*eQ,ev+=(Z=C[13])*eL,ex+=Z*eR,e_+=Z*eB,ew+=Z*eF,eC+=Z*eZ,eT+=Z*ez,eq+=Z*eU,ek+=Z*e$,eS+=Z*eV,eE+=Z*eW,eM+=Z*eH,ej+=Z*eG,eA+=Z*eK,eD+=Z*eX,eI+=Z*eY,eO+=Z*eQ,ex+=(Z=C[14])*eL,e_+=Z*eR,ew+=Z*eB,eC+=Z*eF,eT+=Z*eZ,eq+=Z*ez,ek+=Z*eU,eS+=Z*e$,eE+=Z*eV,eM+=Z*eW,ej+=Z*eH,eA+=Z*eG,eD+=Z*eK,eI+=Z*eX,eO+=Z*eY,eP+=Z*eQ,e_+=(Z=C[15])*eL,ew+=Z*eR,eC+=Z*eB,eT+=Z*eF,eq+=Z*eZ,ek+=Z*ez,eS+=Z*eU,eE+=Z*e$,eM+=Z*eV,ej+=Z*eW,eA+=Z*eH,eD+=Z*eG,eI+=Z*eK,eO+=Z*eX,eP+=Z*eY,eN+=Z*eQ,es+=38*ew,eo+=38*eC,el+=38*eT,eu+=38*eq,ec+=38*ek,ed+=38*eS,eh+=38*eE,ep+=38*eM,ef+=38*ej,em+=38*eA,eb+=38*eD,ey+=38*eI,eg+=38*eO,ev+=38*eP,ex+=38*eN,ea=Math.floor((Z=es+(ea=1)+65535)/65536),es=Z-65536*ea,ea=Math.floor((Z=eo+ea+65535)/65536),eo=Z-65536*ea,ea=Math.floor((Z=el+ea+65535)/65536),el=Z-65536*ea,ea=Math.floor((Z=eu+ea+65535)/65536),eu=Z-65536*ea,ea=Math.floor((Z=ec+ea+65535)/65536),ec=Z-65536*ea,ea=Math.floor((Z=ed+ea+65535)/65536),ed=Z-65536*ea,ea=Math.floor((Z=eh+ea+65535)/65536),eh=Z-65536*ea,ea=Math.floor((Z=ep+ea+65535)/65536),ep=Z-65536*ea,ea=Math.floor((Z=ef+ea+65535)/65536),ef=Z-65536*ea,ea=Math.floor((Z=em+ea+65535)/65536),em=Z-65536*ea,ea=Math.floor((Z=eb+ea+65535)/65536),eb=Z-65536*ea,ea=Math.floor((Z=ey+ea+65535)/65536),ey=Z-65536*ea,ea=Math.floor((Z=eg+ea+65535)/65536),eg=Z-65536*ea,ea=Math.floor((Z=ev+ea+65535)/65536),ev=Z-65536*ea,ea=Math.floor((Z=ex+ea+65535)/65536),ex=Z-65536*ea,ea=Math.floor((Z=e_+ea+65535)/65536),e_=Z-65536*ea,es+=ea-1+37*(ea-1),ea=Math.floor((Z=es+(ea=1)+65535)/65536),es=Z-65536*ea,ea=Math.floor((Z=eo+ea+65535)/65536),eo=Z-65536*ea,ea=Math.floor((Z=el+ea+65535)/65536),el=Z-65536*ea,ea=Math.floor((Z=eu+ea+65535)/65536),eu=Z-65536*ea,ea=Math.floor((Z=ec+ea+65535)/65536),ec=Z-65536*ea,ea=Math.floor((Z=ed+ea+65535)/65536),ed=Z-65536*ea,ea=Math.floor((Z=eh+ea+65535)/65536),eh=Z-65536*ea,ea=Math.floor((Z=ep+ea+65535)/65536),ep=Z-65536*ea,ea=Math.floor((Z=ef+ea+65535)/65536),ef=Z-65536*ea,ea=Math.floor((Z=em+ea+65535)/65536),em=Z-65536*ea,ea=Math.floor((Z=eb+ea+65535)/65536),eb=Z-65536*ea,ea=Math.floor((Z=ey+ea+65535)/65536),ey=Z-65536*ea,ea=Math.floor((Z=eg+ea+65535)/65536),eg=Z-65536*ea,ea=Math.floor((Z=ev+ea+65535)/65536),ev=Z-65536*ea,ea=Math.floor((Z=ex+ea+65535)/65536),ex=Z-65536*ea,ea=Math.floor((Z=e_+ea+65535)/65536),e_=Z-65536*ea,es+=ea-1+37*(ea-1),_[0]=es,_[1]=eo,_[2]=el,_[3]=eu,_[4]=ec,_[5]=ed,_[6]=eh,_[7]=ep,_[8]=ef,_[9]=em,_[10]=eb,_[11]=ey,_[12]=eg,_[13]=ev,_[14]=ex,_[15]=e_}function scalarMult(_,C){let L=new Uint8Array(32),Z=new Float64Array(80),ea=gf(),es=gf(),el=gf(),eu=gf(),ec=gf(),ed=gf();for(let C=0;C<31;C++)L[C]=_[C];L[31]=127&_[31]|64,L[0]&=248,function(_,C){for(let L=0;L<16;L++)_[L]=C[2*L]+(C[2*L+1]<<8);_[15]&=32767}(Z,C);for(let _=0;_<16;_++)es[_]=Z[_];ea[0]=eu[0]=1;for(let _=254;_>=0;--_){let C=L[_>>>3]>>>(7&_)&1;sel25519(ea,es,C),sel25519(el,eu,C),add(ec,ea,el),sub(ea,ea,el),add(el,es,eu),sub(es,es,eu),mul(eu,ec,ec),mul(ed,ea,ea),mul(ea,el,ea),mul(el,es,ec),add(ec,ea,el),sub(ea,ea,el),mul(es,ea,ea),sub(el,eu,ed),mul(ea,el,eo),add(ea,ea,eu),mul(el,el,ea),mul(ea,eu,ed),mul(eu,es,Z),mul(es,ec,ec),sel25519(ea,es,C),sel25519(el,eu,C)}for(let _=0;_<16;_++)Z[_+16]=ea[_],Z[_+32]=el[_],Z[_+48]=es[_],Z[_+64]=eu[_];let eh=Z.subarray(32),ep=Z.subarray(16);!function(_,C){let L=gf();for(let _=0;_<16;_++)L[_]=C[_];for(let _=253;_>=0;_--)mul(L,L,L),2!==_&&4!==_&&mul(L,L,C);for(let C=0;C<16;C++)_[C]=L[C]}(eh,eh),mul(ep,ep,eh);let ef=new Uint8Array(32);return!function(_,C){let L=gf(),Z=gf();for(let _=0;_<16;_++)Z[_]=C[_];car25519(Z),car25519(Z),car25519(Z);for(let _=0;_<2;_++){L[0]=Z[0]-65517;for(let _=1;_<15;_++)L[_]=Z[_]-65535-(L[_-1]>>16&1),L[_-1]&=65535;L[15]=Z[15]-32767-(L[14]>>16&1);let _=L[15]>>16&1;L[14]&=65535,sel25519(Z,L,1-_)}for(let C=0;C<16;C++)_[2*C]=255&Z[C],_[2*C+1]=Z[C]>>8}(ef,ep),ef}C.Au=function(_){let L=(0,Z.randomBytes)(32,_),eo=function(_){if(_.length!==C.KS)throw Error(`x25519: seed must be ${C.KS} bytes`);let L=new Uint8Array(_),Z=scalarMult(L,es);return{publicKey:Z,secretKey:L}}(L);return(0,ea.wipe)(L),eo},C.gi=function(_,L,Z=!1){if(_.length!==C.kz)throw Error("X25519: incorrect secret key length");if(L.length!==C.kz)throw Error("X25519: incorrect public key length");let ea=scalarMult(_,L);if(Z){let _=0;for(let C=0;C<ea.length;C++)_|=ea[C];if(0===_)throw Error("X25519: invalid shared key")}return ea}},21058:function(_,C,L){"use strict";L.d(C,{ZP:function(){return ec}});var Z,ea,es,eo=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInl
17ine|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,el=(ea={},function(_){return void 0===ea[_]&&(ea[_]=eo.test(_)||111===_.charCodeAt(0)&&110===_.charCodeAt(1)&&91>_.charCodeAt(2)),ea[_]}),eu=L(13729),ec=(es=RegExp("^("+(0,eu.qC)(eu.Dh,eu.cp,eu.$_,eu.bK,eu.GQ,eu.Cg,eu.Oq,eu.FK,eu.eC,eu.AF,eu.jn,eu.YK,eu.ui).propNames.join("|")+")$"),Z=Object.create(null),function(_){var C;return void 0===Z[_]&&(Z[_]=el(C=_)&&!es.test(C)),Z[_]})},38178:function(_,C,L){"use strict";function ownKeys(_,C){var L=Object.keys(_);if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(_);C&&(Z=Z.filter(function(C){return Object.getOwnPropertyDescriptor(_,C).enumerable})),L.push.apply(L,Z)}return L}function _objectSpread2(_){for(var C=1;C<arguments.length;C++){var L=null!=arguments[C]?arguments[C]:{};C%2?ownKeys(Object(L),!0).forEach(function(C){!function(_,C,L){var Z;(C="symbol"==typeof(Z=function(_,C){if("object"!=typeof _||null===_)return _;var L=_[Symbol.toPrimitive];if(void 0!==L){var Z=L.call(_,C||"default");if("object"!=typeof Z)return Z;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===C?String:Number)(_)}(C,"string"))?Z:String(Z))in _?Object.defineProperty(_,C,{value:L,enumerable:!0,configurable:!0,writable:!0}):_[C]=L}(_,C,L[C])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(L)):ownKeys(Object(L)).forEac
17h(function(C){Object.defineProperty(_,C,Object.getOwnPropertyDescriptor(L,C))})}return _}function mapValues(_,C){var L={};for(var Z in _)L[Z]=C(_[Z],Z);return L}L.d(C,{c:function(){return createRuntimeFn}});var shouldApplyCompound=(_,C,L)=>{for(var Z of Object.keys(_)){var ea;if(_[Z]!==(null!==(ea=C[Z])&&void 0!==ea?ea:L[Z]))return!1}return!0},createRuntimeFn=_=>{var runtimeFn=C=>{var L=_.defaultClassName,Z=_objectSpread2(_objectSpread2({},_.defaultVariants),C);for(var ea in Z){var es,eo=null!==(es=Z[ea])&&void 0!==es?es:_.defaultVariants[ea];if(null!=eo){var el=eo;"boolean"==typeof el&&(el=!0===el?"true":"false");var eu=_.variantClassNames[ea][el];eu&&(L+=" "+eu)}}for(var[ec,ed]of _.compoundVariants)shouldApplyCompound(ec,Z,_.defaultVariants)&&(L+=" "+ed);return L};return runtimeFn.variants=()=>Object.keys(_.variantClassNames),runtimeFn.classNames={get base(){return _.defaultClassName.split(" ")[0]},get variants(){return mapValues(_.variantClassNames,_=>mapValues(_,_=>_.split(" ")[0]))}},runtimeFn}},81327:function(_,C,L){"use strict";function ownKeys(_,C){var L=Object.keys(_);if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(_);C&&(Z=Z.filter(function(C){return Object.getOwnPropertyDescriptor(_,C).enumerable})),L.push.apply(L,Z)}return L}function _objectSpread2(_){for(var C=1;C<arguments.length;C++){var L=null!=arguments[C]?arguments[C]:{};C%2?ownKeys(Object(L),!0).forEach(function(C){!function(_,C,L){var Z;(C="symbol"==typeof(Z=function(_,C){if("object"!=typeof _||null===_)return _;var L=_[Symbol.toPrimitive];if(void 0!==L){var Z=L.call(_,C||"default");if("object"!=typeof Z)return Z;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===C?String:Number)(_)}(C,"string"))?Z:String(Z))in _?Object.defineProperty(_,C,{value:L,enumerable:!0,configurable:!0,writable:!0}):_[C]=L}(_,C,L[C])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(L)):ownKeys(Object(L)).forEach(function(C){Object.defineProperty(_,C,Object.getOwnPropertyDescriptor(L,C))})}return _}L.d(C,{K:function(){return ea}}),L(75027),L(88953);var Z,createSprinkles_c8550e00_esm_createSprinkles=_=>function(){for(var C=arguments.length,L=Array(C),Z=0;Z<C;Z++)L[Z]=arguments[Z];var ea=Object.assign({},...L.map(_=>_.styles)),es=Object.keys(ea),eo=es.filter(_=>"mappings"in ea[_]);return Object.assign(C=>{var L=[],Z={},es=_objectSpread2({},C),el=!1;for(var eu of eo){var ec=C[eu];if(null!=ec)for(var ed of(el=!0,ea[eu].mappings))Z[ed]=ec,null==es[ed]&&delete es[ed]}var eh=el?_objectSpread2(_objectSpread2({},Z),es):C;for(var ep in eh)if("continue"===function(){var _=eh[ep],C=ea[ep];try{if(C.mappings)return"continue";if("string"==typeof _||"number"==typeof _)L.push(C.values[_].defaultClass);else if(Array.isArray(_))for(var Z=0;Z<_.length;Z++){var es=_[Z];if(null!=es){var eo=C.responsiveArray[Z];L.push(C.values[es].conditions[eo])}}else for(var el in _){var eu=_[el];null!=eu&&L.push(C.values[eu].conditions[el])}}catch(_){throw _}}())continue;return _(L.join(" "))},{properties:new Set(es)})},composeStyles=_=>_,ea=function(){return createSprinkles_c8550e00_esm_createSprinkles(composeStyles)(...arguments)}(((Z={conditions:{defaultCondition:"xs",conditionNames:["xs","sm","md","lg","xl","xxl"],responsiveArray:["xs","sm","md","lg","xl","xxl"]},styles:{borderLeftRadius:{mappings:["borderBottomLeftRadius","borderTopLeftRadius"]},borderRightRadius:{mappings:["borderBottomRightRadius","borderTopRightRadius"]},borderTopRadius:{mappings:["borderTopLeftRadius","borderTopRightRadius"]},borderBottomRadius:{mappings:["borderBottomLeftRadius","borderBottomRightRadius"]},mt:{mappings:["marginTop"]},mb:{mappings:["marginBottom"]},m:{mappings:["margin"]},ml:{mappings:["marginLeft"]},mr:{mappings:["marginRight"]},marginX:{mappings:["marginLeft","marginRight"]},mx:{mappings:["marginLeft","marginRight"]},marginY:{mappings:["marginTop","marginBottom"]},my:{mappings:["marginTop","marginBottom"]},pl:{mappings:["paddingLeft"]},pr:{mappings:["paddingRight"]},pt:{mappings:["paddingTop"]},pb:{mappings:["paddingBottom"]},p:{mappings:["padding"]},paddingX:{mappings:["paddingLeft","paddingRight"]},px:{mappings:["paddingLeft","paddingRight"]},paddingY:{mappings:["paddingTop","paddingBottom"]},py:{mappings:["paddingTop","paddingBottom"]},size:{mappings:["width","height"]},display:{values:{block:{conditions:{xs:"_1qhetbf0",sm:"_1qhetbf1",md:"_1qhetbf2",lg:"_1qhetbf3",xl:"_1qhetbf4",xxl:"_1qhetbf5"},defaultClass:"_1qhetbf0"},flex:{conditions:{xs:"_1qhetbf6",sm:"_1qhetbf7",md:"_1qhetbf8",lg:"_1qhetbf9",xl:"_1qhetbfa",xxl:"_1qhetbfb"},defaultClass:"_1qhetbf6"},grid:{conditions:{xs:"_1qhetbfc",sm:"_1qhetbfd",md:"_1qhetbfe",lg:"_1qhetbff",xl:"_1qhetbfg",xxl:"_1qhetbfh"},defaultClass:"_1qhetbfc"},inline:{conditions:{xs:"_1qhetbfi",sm:"_1qhetbfj",md:"_1qhetbfk",lg:"_1qhetbfl",xl:"_1qhetbfm",xxl:"_1qhetbfn"},defaultClass:"_1qhetbfi"},"inline-flex":{conditions:{xs:"_1qhetbfo",sm:"_1qhetbfp",md:"_1qhetbfq",lg:"_1qhetbfr",xl:"_1qhetbfs",xxl:"_1qhetbft"},defaultClass:"_1qhetbfo"},"inline-block":{conditions:{xs:"_1qhetbfu",sm:"_1qhetbfv",md:"_1qhetbfw",lg:"_1qhetbfx",xl:"_1qhetbfy",xxl:"_1qhetbfz"},defaultClass:"_1qhetbfu"},none:{conditions:{xs:"_1qhetbf10",sm:"_1qhetbf11",md:"_1qhetbf12",lg:"_1qhetbf13",xl:"_1qhetbf14",xxl:"_1qhetbf15"},defaultClass:"_1qhetbf10"}},responsiveArray:void 0},flexDirection:{values:{column:{conditions:{xs:"_1qhetbf16",sm:"_1qhetbf17",md:"_1qhetbf18",lg:"_1qhetbf19",xl:"_1qhetbf1a",xxl:"_1qhetbf1b"},defaultClass:"_1qhetbf16"},row:{conditions:{xs:"_1qhetbf1c",sm:"_1qhetbf1d",md:"_1qhetbf1e",lg:"_1qhetbf1f",xl:"_1qhetbf1g",xxl:"_1qhetbf1h"},defaultClass:"_1qhetbf1c"},"column-reverse":{conditions:{xs:"_1qhetbf1i",sm:"_1qhetbf1j",md:"_1qhetbf1k",lg:"_1qhetbf1l",xl:"_1qhetbf1m",xxl:"_1qhetbf1n"},defaultClass:"_1qhetbf1i"}},responsiveArray:void 0},alignItems:{values:{center:{conditions:{xs:"_1qhetbf2i",sm:"_1qhetbf2j",md:"_1qhetbf2k",lg:"_1qhetbf2l",xl:"_1qhetbf2m",xxl:"_1qhetbf2n"},defaultClass:"_1qhetbf2i"},end:{conditions:{xs:"_1qhetbf1u",sm:"_1qhetbf1v",md:"_1qhetbf1w",lg:"_1qhetbf1x",xl:"_1qhetbf1y",xxl:"_1qhetbf1z"},defaultClass:"_1qhetbf1u"},baseLine:{conditions:{xs:"_1qhetbf20",sm:"_1qhetbf21",md:"_1qhetbf22",lg:"_1qhetbf23",xl:"_1qhetbf24",xxl:"_1qhetbf25"},defaultClass:"_1qhetbf20"},inherit:{conditions:{xs:"_1qhetbf26",sm:"_1qhetbf27",md:"_1qhetbf28",lg:"_1qhetbf29",xl:"_1qhetbf2a",xxl:"_1qhetbf2b"},defaultClass:"_1qhetbf26"},"flex-start":{conditions:{xs:"_1qhetbf2c",sm:"_1qhetbf2d",md:"_1qhetbf2e",lg:"_1qhetbf2f",xl:"_1qhetbf2g",xxl:"_1qhetbf2h"},defaultClass:"_1qhetbf2c"},start:{conditions:{xs:"_1qhetbf2o",sm:"_1qhetbf2p",md:"_1qhetbf2q",lg:"_1qhetbf2r",xl
17:"_1qhetbf2s",xxl:"_1qhetbf2t"},defaultClass:"_1qhetbf2o"},"flex-end":{conditions:{xs:"_1qhetbf2u",sm:"_1qhetbf2v",md:"_1qhetbf2w",lg:"_1qhetbf2x",xl:"_1qhetbf2y",xxl:"_1qhetbf2z"},defaultClass:"_1qhetbf2u"},stretch:{conditions:{xs:"_1qhetbf30",sm:"_1qhetbf31",md:"_1qhetbf32",lg:"_1qhetbf33",xl:"_1qhetbf34",xxl:"_1qhetbf35"},defaultClass:"_1qhetbf30"}},responsiveArray:void 0},alignSelf:{values:{"flex-start":{conditions:{xs:"_1qhetbf36",sm:"_1qhetbf37",md:"_1qhetbf38",lg:"_1qhetbf39",xl:"_1qhetbf3a",xxl:"_1qhetbf3b"},defaultClass:"_1qhetbf36"},center:{conditions:{xs:"_1qhetbf3c",sm:"_1qhetbf3d",md:"_1qhetbf3e",lg:"_1qhetbf3f",xl:"_1qhetbf3g",xxl:"_1qhetbf3h"},defaultClass:"_1qhetbf3c"},start:{conditions:{xs:"_1qhetbf3i",sm:"_1qhetbf3j",md:"_1qhetbf3k",lg:"_1qhetbf3l",xl:"_1qhetbf3m",xxl:"_1qhetbf3n"},defaultClass:"_1qhetbf3i"},"flex-end":{conditions:{xs:"_1qhetbf3o",sm:"_1qhetbf3p",md:"_1qhetbf3q",lg:"_1qhetbf3r",xl:"_1qhetbf3s",xxl:"_1qhetbf3t"},defaultClass:"_1qhetbf3o"},stretch:{conditions:{xs:"_1qhetbf3u",sm:"_1qhetbf3v",md:"_1qhetbf3w",lg:"_1qhetbf3x",xl:"_1qhetbf3y",xxl:"_1qhetbf3z"},defaultClass:"_1qhetbf3u"}},responsiveArray:void 0},flexWrap:{values:{wrap:{conditions:{xs:"_1qhetbf40",sm:"_1qhetbf41",md:"_1qhetbf42",lg:"_1qhetbf43",xl:"_1qhetbf44",xxl:"_1qhetbf45"},defaultClass:"_1qhetbf40"},nowrap:{conditions:{xs:"_1qhetbf46",sm:"_1qhetbf47",md:"_1qhetbf48",lg:"_1qhetbf49",xl:"_1qhetbf4a",xxl:"_1qhetbf4b"},defaultClass:"_1qhetbf46"}},responsiveArray:void 0},flexGrow:{values:{1:{conditions:{xs:"_1qhetbf4c",sm:"_1qhetbf4d",md:"_1qhetbf4e",lg:"_1qhetbf4f",xl:"_1qhetbf4g",xxl:"_1qhetbf4h"},defaultClass:"_1qhetbf4c"}},responsiveArray:void 0},overflow:{values:{auto:{conditions:{xs:"_1qhetbf4i",sm:"_1qhetbf4j",md:"_1qhetbf4k",lg:"_1qhetbf4l",xl:"_1qhetbf4m",xxl:"_1qhetbf4n"},defaultClass:"_1qhetbf4i"},hidden:{conditions:{xs:"_1qhetbf4o",sm:"_1qhetbf4p",md:"_1qhetbf4q",lg:"_1qhetbf4r",xl:"_1qhetbf4s",xxl:"_1qhetbf4t"},defaultClass:"_1qhetbf4o"},scroll:{conditions:{xs:"_1qhetbf4u",sm:"_1qhetbf4v",md:"_1qhetbf4w",lg:"_1qhetbf4x",xl:"_1qhetbf4y",xxl:"_1qhetbf4z"},defaultClass:"_1qhetbf4u"},unset:{conditions:{xs:"_1qhetbf50",sm:"_1qhetbf51",md:"_1qhetbf52",lg:"_1qhetbf53",xl:"_1qhetbf54",xxl:"_1qhetbf55"},defaultClass:"_1qhetbf50"}},responsiveArray:void 0},overflowY:{values:{auto:{conditions:{xs:"_1qhetbf56",sm:"_1qhetbf57",md:"_1qhetbf58",lg:"_1qhetbf59",xl:"_1qhetbf5a",xxl:"_1qhetbf5b"},defaultClass:"_1qhetbf56"},hidden:{conditions:{xs:"_1qhetbf5c",sm:"_1qhetbf5d",md:"_1qhetbf5e",lg:"_1qhetbf5f",xl:"_1qhetbf5g",xxl:"_1qhetbf5h"},defaultClass:"_1qhetbf5c"},scroll:{conditions:{xs:"_1qhetbf5i",sm:"_1qhetbf5j",md:"_1qhetbf5k",lg:"_1qhetbf5l",xl:"_1qhetbf5m",xxl:"_1qhetbf5n"},defaultClass:"_1qhetbf5i"}},responsiveArray:void 0},overflowX:{values:{auto:{conditions:{xs:"_1qhetbf5o",sm:"_1qhetbf5p",md:"_1qhetbf5q",lg:"_1qhetbf5r",xl:"_1qhetbf5s",xxl:"_1qhetbf5t"},defaultClass:"_1qhetbf5o"},hidden:{conditions:{xs:"_1qhetbf5u",sm:"_1qhetbf5v",md:"_1qhetbf5w",lg:"_1qhetbf5x",xl:"_1qhetbf5y",xxl:"_1qhetbf5z"},defaultClass:"_1qhetbf5u"},scroll:{conditions:{xs:"_1qhetbf60",sm:"_1qhetbf61",md:"_1qhetbf62",lg:"_1qhetbf63",xl:"_1qhetbf64",xxl:"_1qhetbf65"},defaultClass:"_1qhetbf60"}},responsiveArray:void 0},position:{values:{absolute:{conditions:{xs:"_1qhetbf66",sm:"_1qhetbf67",md:"_1qhetbf68",lg:"_1qhetbf69",xl:"_1qhetbf6a",xxl:"_1qhetbf6b"},defaultClass:"_1qhetbf66"},fixed:{conditions:{xs:"_1qhetbf6c",sm:"_1qhetbf6d",md:"_1qhetbf6e",lg:"_1qhetbf6f",xl:"_1qhetbf6g",xxl:"_1qhetbf6h"},defaultClass:"_1qhetbf6c"},relative:{conditions:{xs:"_1qhetbf6i",sm:"_1qhetbf6j",md:"_1qhetbf6k",lg:"_1qhetbf6l",xl:"_1qhetbf6m",xxl:"_1qhetbf6n"},defaultClass:"_1qhetbf6i"},sticky:{conditions:{xs:"_1qhetbf6o",sm:"_1qhetbf6p",md:"_1qhetbf6q",lg:"_1qhetbf6r",xl:"_1qhetbf6s",xxl:"_1qhetbf6t"},defaultClass:"_1qhetbf6o"}},responsiveArray:void 0},textAlign:{values:{center:{conditions:{xs:"_1qhetbf6u",sm:"_1qhetbf6v",md:"_1qhetbf6w",lg:"_1qhetbf6x",xl:"_1qhetbf6y",xxl:"_1qhetbf6z"},defaultClass:"_1qhetbf6u"},left:{conditions:{xs:"_1qhetbf70",sm:"_1qhetbf71",md:"_1qhetbf72",lg:"_1qhetbf73",xl:"_1qhetbf74",xxl:"_1qhetbf75"},defaultClass:"_1qhetbf70"}
17,right:{conditions:{xs:"_1qhetbf76",sm:"_1qhetbf77",md:"_1qhetbf78",lg:"_1qhetbf79",xl:"_1qhetbf7a",xxl:"_1qhetbf7b"},defaultClass:"_1qhetbf76"}},responsiveArray:void 0},justifyContent:{values:{"flex-start":{conditions:{xs:"_1qhetbf7c",sm:"_1qhetbf7d",md:"_1qhetbf7e",lg:"_1qhetbf7f",xl:"_1qhetbf7g",xxl:"_1qhetbf7h"},defaultClass:"_1qhetbf7c"},center:{conditions:{xs:"_1qhetbf7i",sm:"_1qhetbf7j",md:"_1qhetbf7k",lg:"_1qhetbf7l",xl:"_1qhetbf7m",xxl:"_1qhetbf7n"},defaultClass:"_1qhetbf7i"},start:{conditions:{xs:"_1qhetbf7o",sm:"_1qhetbf7p",md:"_1qhetbf7q",lg:"_1qhetbf7r",xl:"_1qhetbf7s",xxl:"_1qhetbf7t"},defaultClass:"_1qhetbf7o"},"flex-end":{conditions:{xs:"_1qhetbf7u",sm:"_1qhetbf7v",md:"_1qhetbf7w",lg:"_1qhetbf7x",xl:"_1qhetbf7y",xxl:"_1qhetbf7z"},defaultClass:"_1qhetbf7u"},stretch:{conditions:{xs:"_1qhetbf80",sm:"_1qhetbf81",md:"_1qhetbf82",lg:"_1qhetbf83",xl:"_1qhetbf84",xxl:"_1qhetbf85"},defaultClass:"_1qhetbf80"},"space-around":{conditions:{xs:"_1qhetbf86",sm:"_1qhetbf87",md:"_1qhetbf88",lg:"_1qhetbf89",xl:"_1qhetbf8a",xxl:"_1qhetbf8b"},defaultClass:"_1qhetbf86"},"space-between":{conditions:{xs:"_1qhetbf8c",sm:"_1qhetbf8d",md:"_1qhetbf8e",lg:"_1qhetbf8f",xl:"_1qhetbf8g",xxl:"_1qhetbf8h"},defaultClass:"_1qhetbf8c"}},responsiveArray:void 0},justifyItems:{values:{"flex-start":{conditions:{xs:"_1qhetbf8i",sm:"_1qhetbf8j",md:"_1qhetbf8k",lg:"_1qhetbf8l",xl:"_1qhetbf8m",xxl:"_1qhetbf8n"},defaultClass:"_1qhetbf8i"},center:{conditions:{xs:"_1qhetbf8o",sm:"_1qhetbf8p",md:"_1qhetbf8q",lg:"_1qhetbf8r",xl:"_1qhetbf8s",xxl:"_1qhetbf8t"},defaultClass:"_1qhetbf8o"},start:{conditions:{xs:"_1qhetbf8u",sm:"_1qhetbf8v",md:"_1qhetbf8w",lg:"_1qhetbf8x",xl:"_1qhetbf8y",xxl:"_1qhetbf8z"},defaultClass:"_1qhetbf8u"},"flex-end":{conditions:{xs:"_1qhetbf90",sm:"_1qhetbf91",md:"_1qhetbf92",lg:"_1qhetbf93",xl:"_1qhetbf94",xxl:"_1qhetbf95"},defaultClass:"_1qhetbf90"},stretch:{conditions:{xs:"_1qhetbf96",sm:"_1qhetbf97",md:"_1qhetbf98",lg:"_1qhetbf99",xl:"_1qhetbf9a",xxl:"_1qhetbf9b"},defaultClass:"_1qhetbf96"},"space-around":{conditions:{xs:"_1qhetbf9c",sm:"_1qhetbf9d",md:"_1qhetbf9e",lg:"_1qhetbf9f",xl:"_1qhetbf9g",xxl:"_1qhetbf9h"},defaultClass:"_1qhetbf9c"},"space-between":{conditions:{xs:"_1qhetbf9i",sm:"_1qhetbf9j",md:"_1qhetbf9k",lg:"_1qhetbf9l",xl:"_1qhetbf9m",xxl:"_1qhetbf9n"},defaultClass:"_1qhetbf9i"}},responsiveArray:void 0},justifySelf:{values:{"flex-start":{conditions:{xs:"_1qhetbf9o",sm:"_1qhetbf9p",md:"_1qhetbf9q",lg:"_1qhetbf9r",xl:"_1qhetbf9s",xxl:"_1qhetbf9t"},defaultClass:"_1qhetbf9o"},center:{conditions:{xs:"_1qhetbf9u",sm:"_1qhetbf9v",md:"_1qhetbf9w",lg:"_1qhetbf9x",xl:"_1qhetbf9y",xxl:"_1qhetbf9z"},defaultClass:"_1qhetbf9u"},start:{conditions:{xs:"_1qhetbfa0",sm:"_1qhetbfa1",md:"_1qhetbfa2",lg:"_1qhetbfa3",xl:"_1qhetbfa4",xxl:"_1qhetbfa5"},defaultClass:"_1qhetbfa0"},"flex-end":{conditions:{xs:"_1qhetbfa6",sm:"_1qhetbfa7",md:"_1qhetbfa8",lg:"_1qhetbfa9",xl:"_1qhetbfaa",xxl:"_1qhetbfab"},defaultClass:"_1qhetbfa6"},stretch:{conditions:{xs:"_1qhetbfac",sm:"_1qhetbfad",md:"_1qhetbfae",lg:"_1qhetbfaf",xl:"_1qhetbfag",xxl:"_1qhetbfah"},defaultClass:"_1qhetbfac"}},responsiveArray:void 0},inset:{values:{"0px":{conditions:{xs:"_1qhetbfai",sm:"_1qhetbfaj",md:"_1qhetbfak",lg:"_1qhetbfal",xl:"_1qhetbfam",xxl:"_1qhetbfan"},defaultClass:"_1qhetbfai"}},responsiveArray:void 0},height:{values:{"0px":{conditions:{xs:"_1qhetbfao",sm:"_1qhetbfap",md:"_1qhetbfaq",lg:"_1qhetbfar",xl:"_1qhetbfas",xxl:"_1qhetbfat"},defaultClass:"_1qhetbfao"},"1rem":{conditions:{xs:"_1qhetbfau",sm:"_1qhetbfav",md:"_1qhetbfaw",lg:"_1qhetbfax",xl:"_1qhetbfay",xxl:"_1qhetbfaz"},defaultClass:"_1qhetbfau"},"1px":{conditions:{xs:"_1qhetbfb0",sm:"_1qhetbfb1",md:"_1qhetbfb2",lg:"_1qhetbfb3",xl:"_1qhetbfb4",xxl:"_1qhetbfb5"},defaultClass:"_1qhetbfb0"},"2px":{conditions:{xs:"_1qhetbfb6",sm:"_1qhetbfb7",md:"_1qhetbfb8",lg:"_1qhetbfb9",xl:"_1qhetbfba",xxl:"_1qhetbfbb"},defaultClass:"_1qhetbfb6"},"6px":{conditions:{xs:"_1qhetbfbc",sm:"_1qhetbfbd",md:"_1qhetbfbe",lg:"_1qhetbfbf",xl:"_1qhetbfbg",xxl:"_1qhetbfbh"},defaultClass:"_1qhetbfbc"},"4px":{conditions:{xs:"_1qhetbfbi",sm:"_1qhetbfbj",md:"_1qhetbfbk",lg:"_1qhetbfbl",xl:"_1qhetbfbm",xxl:"_1qhetbfbn"},defaultClass:"_1qhetbfbi"},"8px":{conditions:{xs:"_1qhetbfbo",sm:"_1qhetbfbp",md:"_1qhetbfbq",lg:"_1qhetbfbr",xl:"_1qhetbfbs",xxl:"_1qhetbfbt"},defaultClass:"_1qhetbfbo"},"12px":{conditions:{xs:"_1qhetbfbu",sm:"_1qhetbfbv",md:"_1qhetbfbw",lg:"_1qhetbfbx",xl:"_1qhetbfby",xxl:"_1qhetbfbz"},defaultClass:"_1qhetbfbu"},"14px":{conditions:{xs:"_1qhetbfc0",sm:"_1qhetbfc1",md:"_1qhetbfc2",lg:"_1qhetbfc3",xl:"_1qhetbfc4",xxl:"_1qhetbfc5"},defaultClass:"_1qhetbfc0"},"16px":{conditions:{xs:"_1qhetbfc6",sm:"_1qhetbfc7",md:"_1qhetbfc8",lg:"_1qhetbfc9",xl:"_1qhetbfca",xxl:"_1qhetbfcb"},defaultClass:"_1qhetbfc6"},"20px":{conditions:{xs:"_1qhetbfcc",sm:"_1qhetbfcd",md:"_1qhetbfce",lg:"_1qhetbfcf",xl:"_1qhetbfcg",xxl:"_1qhetbfch"},defaultClass:"_1qhetbfcc"},"24px":{conditions:{xs:"_1qhetbfci",sm:"_1qhetbfcj",md:"_1qhetbfck",lg:"_1qhetbfcl",xl:"_1qhetbfcm",xxl:"_1qhetbfcn"},defaultClass:"_1qhetbfci"},"32px":{conditions:{xs:"_1qhetbfco",sm:"_1qhetbfcp",md:"_1qhetbfcq",lg:"_1qhetbfcr",xl:"_1qhetbfcs",xxl:"_1qhetbfct"},defaultClass:"_1qhetbfco"},"48px":{conditions:{xs:"_1qhetbfcu",sm:"_1qhetbfcv",md:"_1qhetbfcw",lg:"_1qhetbfcx",xl:"_1qhetbfcy",xxl:"_1qhetbfcz"},defaultClass:"_1qhetbfcu"},"56px":{conditions:{xs:"_1qhetbfd0",sm:"_1qhetbfd1",md:"_1qhetbfd2",lg:"_1qhetbfd3",xl:"_1qhetbfd4",xxl:"_1qhetbfd5"},defaultClass:"_1qhetbfd0"},"64px":{conditions:{xs:"_1qhetbfd6",sm:"_1qhetbfd7",md:"_1qhetbfd8",lg:"_1qhetbfd9",xl
17:"_1qhetbfda",xxl:"_1qhetbfdb"},defaultClass:"_1qhetbfd6"},"100%":{conditions:{xs:"_1qhetbfdc",sm:"_1qhetbfdd",md:"_1qhetbfde",lg:"_1qhetbfdf",xl:"_1qhetbfdg",xxl:"_1qhetbfdh"},defaultClass:"_1qhetbfdc"},auto:{conditions:{xs:"_1qhetbfdi",sm:"_1qhetbfdj",md:"_1qhetbfdk",lg:"_1qhetbfdl",xl:"_1qhetbfdm",xxl:"_1qhetbfdn"},defaultClass:"_1qhetbfdi"},"fit-content":{conditions:{xs:"_1qhetbfdo",sm:"_1qhetbfdp",md:"_1qhetbfdq",lg:"_1qhetbfdr",xl:"_1qhetbfds",xxl:"_1qhetbfdt"},defaultClass:"_1qhetbfdo"},"420px":{conditions:{xs:"_1qhetbfdu",sm:"_1qhetbfdv",md:"_1qhetbfdw",lg:"_1qhetbfdx",xl:"_1qhetbfdy",xxl:"_1qhetbfdz"},defaultClass:"_1qhetbfdu"},screenSm:{conditions:{xs:"_1qhetbfe0",sm:"_1qhetbfe1",md:"_1qhetbfe2",lg:"_1qhetbfe3",xl:"_1qhetbfe4",xxl:"_1qhetbfe5"},defaultClass:"_1qhetbfe0"},screenMd:{conditions:{xs:"_1qhetbfe6",sm:"_1qhetbfe7",md:"_1qhetbfe8",lg:"_1qhetbfe9",xl:"_1qhetbfea",xxl:"_1qhetbfeb"},defaultClass:"_1qhetbfe6"},screenLg:{conditions:{xs:"_1qhetbfec",sm:"_1qhetbfed",md:"_1qhetbfee",lg:"_1qhetbfef",xl:"_1qhetbfeg",xxl:"_1qhetbfeh"},defaultClass:"_1qhetbfec"},screenXl:{conditions:{xs:"_1qhetbfei",sm:"_1qhetbfej",md:"_1qhetbfek",lg:"_1qhetbfel",xl:"_1qhetbfem",xxl:"_1qhetbfen"},defaultClass:"_1qhetbfei"},"100vh":{conditions:{xs:"_1qhetbfeo",sm:"_1qhetbfep",md:"_1qhetbfeq",lg:"_1qhetbfer",xl:"_1qhetbfes",xxl:"_1qhetbfet"},defaultClass:"_1qhetbfeo"}},responsiveArray:void 0},marginBottom:{values:{"0px":{conditions:{xs:"_1qhetbfeu",sm:"_1qhetbfev",md:"_1qhetbfew",lg:"_1qhetbfex",xl:"_1qhetbfey",xxl:"_1qhetbfez"},defaultClass:"_1qhetbfeu"},"1rem":{conditions:{xs:"_1qhetbff0",sm:"_1qhetbff1",md:"_1qhetbff2",lg:"_1qhetbff3",xl:"_1qhetbff4",xxl:"_1qhetbff5"},defaultClass:"_1qhetbff0"},"1px":{conditions:{xs:"_1qhetbff6",sm:"_1qhetbff7",md:"_1qhetbff8",lg:"_1qhetbff9",xl:"_1qhetbffa",xxl:"_1qhetbffb"},defaultClass:"_1qhetbff6"},"2px":{conditions:{xs:"_1qhetbffc",sm:"_1qhetbffd",md:"_1qhetbffe",lg:"_1qhetbfff",xl:"_1qhetbffg",xxl:"_1qhetbffh"},defaultClass:"_1qhetbffc"},"6px":{conditions:{xs:"_1qhetbffi",sm:"_1qhetbffj",md:"_1qhetbffk",lg:"_1qhetbffl",xl:"_1qhetbffm",xxl:"_1qhetbffn"},defaultClass:"_1qhetbffi"},"4px":{conditions:{xs:"_1qhetbffo",sm:"_1qhetbffp",md:"_1qhetbffq",lg:"_1qhetbffr",xl:"_1qhetbffs",xxl:"_1qhetbfft"},defaultClass:"_1qhetbffo"},"8px":{conditions:{xs:"_1qhetbffu",sm:"_1qhetbffv",md:"_1qhetbffw",lg:"_1qhetbffx",xl:"_1qhetbffy",xxl:"_1qhetbffz"},defaultClass:"_1qhetbffu"},"12px":{conditions:{xs:"_1qhetbfg0",sm:"_1qhetbfg1",md:"_1qhetbfg2",lg:"_1qhetbfg3",xl:"_1qhetbfg4",xxl:"_1qhetbfg5"},defaultClass:"_1qhetbfg0"},"14px":{conditions:{xs:"_1qhetbfg6",sm:"_1qhetbfg7",md:"_1qhetbfg8",lg:"_1qhetbfg9",xl:"_1qhetbfga",xxl:"_1qhetbfgb"},defaultClass:"_1qhetbfg6"},"16px":{conditions:{xs:"_1qhetbfgc",sm:"_1qhetbfgd",md:"_1qhetbfge",lg:"_1qhetbfgf",xl:"_1qhetbfgg",xxl:"_1qhetbfgh"},defaultClass:"_1qhetbfgc"},"20px":{conditions:{xs:"_1qhetbfgi",sm:"_1qhetbfgj",md:"_1qhetbfgk",lg:"_1qhetbfgl",xl:"_1qhetbfgm",xxl:"_1qhetbfgn"},defaultClass:"_1qhetbfgi"},"24px":{conditions:{xs:"_1qhetbfgo",sm:"_1qhetbfgp",md:"_1qhetbfgq",lg:"_1qhetbfgr",xl:"_1qhetbfgs",xxl:"_1qhetbfgt"},defaultClass:"_1qhetbfgo"},"32px":{conditions:{xs:"_1qhetbfgu",sm:"_1qhetbfgv",md:"_1qhetbfgw",lg:"_1qhetbfgx",xl:"_1qhetbfgy",xxl:"_1qhetbfgz"},defaultClass:"_1qhetbfgu"},"48px":{conditions:{xs:"_1qhetbfh0",sm:"_1qhetbfh1",md:"_1qhetbfh2",lg:"_1qhetbfh3",xl:"_1qhetbfh4",xxl:"_1qhetbfh5"},defaultClass:"_1qhetbfh0"},"56px":{conditions:{xs:"_1qhetbfh6",sm:"_1qhetbfh7",md:"_1qhetbfh8",lg:"_1qhetbfh9",xl:"_1qhetbfha",xxl:"_1qhetbfhb"},defaultClass:"_1qhetbfh6"},"64px":{conditions:{xs:"_1qhetbfhc",sm:"_1qhetbfhd",md:"_1qhetbfhe",lg:"_1qhetbfhf",xl:"_1qhetbfhg",xxl:"_1qhetbfhh"},defaultClass:"_1qhetbfhc"},auto:{conditions:{xs:"_1qhetbfhi",sm:"_1qhetbfhj",md:"_1qhetbfhk",lg:"_1qhetbfhl",xl:"_1qhetbfhm",xxl:"_1qhetbfhn"},defaultClass:"_1qhetbfhi"}},responsiveArray:void 0},marginLeft:{values:{"0px":{conditions:{xs:"_1qhetbfho",sm:"_1qhetbfhp",md:"_1qhetbfhq",lg:"_1qhetbfhr",xl:"_1qhetbfhs",xxl:"_1qhetbfht"},defaultClass:"_1qhetbfho"},"1rem":{conditions:{xs:"_1qhetbfhu",sm:"_1qhetbfhv",md:"_1qhetbfhw",lg:"_1qhetbfhx",xl:"_1qhetbfhy",xxl:"_1qhetbfhz"},defaultClass:"_1qhetbfhu"},"1px":{conditions:{xs:"_1qhetbfi0",sm:"_1qhetbfi1",md:"_1qhetbfi2",lg:"_1qhetbfi3",xl
17:"_1qhetbfi4",xxl:"_1qhetbfi5"},defaultClass:"_1qhetbfi0"},"2px":{conditions:{xs:"_1qhetbfi6",sm:"_1qhetbfi7",md:"_1qhetbfi8",lg:"_1qhetbfi9",xl:"_1qhetbfia",xxl:"_1qhetbfib"},defaultClass:"_1qhetbfi6"},"6px":{conditions:{xs:"_1qhetbfic",sm:"_1qhetbfid",md:"_1qhetbfie",lg:"_1qhetbfif",xl:"_1qhetbfig",xxl:"_1qhetbfih"},defaultClass:"_1qhetbfic"},"4px":{conditions:{xs:"_1qhetbfii",sm:"_1qhetbfij",md:"_1qhetbfik",lg:"_1qhetbfil",xl:"_1qhetbfim",xxl:"_1qhetbfin"},defaultClass:"_1qhetbfii"},"8px":{conditions:{xs:"_1qhetbfio",sm:"_1qhetbfip",md:"_1qhetbfiq",lg:"_1qhetbfir",xl:"_1qhetbfis",xxl:"_1qhetbfit"},defaultClass:"_1qhetbfio"},"12px":{conditions:{xs:"_1qhetbfiu",sm:"_1qhetbfiv",md:"_1qhetbfiw",lg:"_1qhetbfix",xl:"_1qhetbfiy",xxl:"_1qhetbfiz"},defaultClass:"_1qhetbfiu"},"14px":{conditions:{xs:"_1qhetbfj0",sm:"_1qhetbfj1",md:"_1qhetbfj2",lg:"_1qhetbfj3",xl:"_1qhetbfj4",xxl:"_1qhetbfj5"},defaultClass:"_1qhetbfj0"},"16px":{conditions:{xs:"_1qhetbfj6",sm:"_1qhetbfj7",md:"_1qhetbfj8",lg:"_1qhetbfj9",xl:"_1qhetbfja",xxl:"_1qhetbfjb"},defaultClass:"_1qhetbfj6"},"20px":{conditions:{xs:"_1qhetbfjc",sm:"_1qhetbfjd",md:"_1qhetbfje",lg:"_1qhetbfjf",xl:"_1qhetbfjg",xxl:"_1qhetbfjh"},defaultClass:"_1qhetbfjc"},"24px":{conditions:{xs:"_1qhetbfji",sm:"_1qhetbfjj",md:"_1qhetbfjk",lg:"_1qhetbfjl",xl:"_1qhetbfjm",xxl:"_1qhetbfjn"},defaultClass:"_1qhetbfji"},"32px":{conditions:{xs:"_1qhetbfjo",sm:"_1qhetbfjp",md:"_1qhetbfjq",lg:"_1qhetbfjr",xl:"_1qhetbfjs",xxl:"_1qhetbfjt"},defaultClass:"_1qhetbfjo"},"48px":{conditions:{xs:"_1qhetbfju",sm:"_1qhetbfjv",md:"_1qhetbfjw",lg:"_1qhetbfjx",xl:"_1qhetbfjy",xxl:"_1qhetbfjz"},defaultClass:"_1qhetbfju"},"56px":{conditions:{xs:"_1qhetbfk0",sm:"_1qhetbfk1",md:"_1qhetbfk2",lg:"_1qhetbfk3",xl:"_1qhetbfk4",xxl:"_1qhetbfk5"},defaultClass:"_1qhetbfk0"},"64px":{conditions:{xs:"_1qhetbfk6",sm:"_1qhetbfk7",md:"_1qhetbfk8",lg:"_1qhetbfk9",xl:"_1qhetbfka",xxl:"_1qhetbfkb"},defaultClass:"_1qhetbfk6"},auto:{conditions:{xs:"_1qhetbfkc",sm:"_1qhetbfkd",md:"_1qhetbfke",lg:"_1qhetbfkf",xl:"_1qhetbfkg",xxl:"_1qhetbfkh"},defaultClass:"_1qhetbfkc"}},responsiveArray:void 0},marginRight:{values:{"0px":{conditions:{xs:"_1qhetbfki",sm:"_1qhetbfkj",md:"_1qhetbfkk",lg:"_1qhetbfkl",xl:"_1qhetbfkm",xxl:"_1qhetbfkn"},defaultClass:"_1qhetbfki"},"1rem":{conditions:{xs:"_1qhetbfko",sm:"_1qhetbfkp",md:"_1qhetbfkq",lg:"_1qhetbfkr",xl:"_1qhetbfks",xxl:"_1qhetbfkt"},defaultClass:"_1qhetbfko"},"1px":{conditions:{xs:"_1qhetbfku",sm:"_1qhetbfkv",md:"_1qhetbfkw",lg:"_1qhetbfkx",xl:"_1qhetbfky",xxl:"_1qhetbfkz"},defaultClass:"_1qhetbfku"},"2px":{conditions:{xs:"_1qhetbfl0",sm:"_1qhetbfl1",md:"_1qhetbfl2",lg:"_1qhetbfl3",xl:"_1qhetbfl4",xxl:"_1qhetbfl5"},defaultClass:"_1qhetbfl0"},"6px":{conditions:{xs:"_1qhetbfl6",sm:"_1qhetbfl7",md:"_1qhetbfl8",lg:"_1qhetbfl9",xl:"_1qhetbfla",xxl:"_1qhetbflb"},defaultClass:"_1qhetbfl6"},"4px":{conditions:{xs:"_1qhetbflc",sm:"_1qhetbfld",md:"_1qhetbfle",lg:"_1qhetbflf",xl:"_1qhetbflg",xxl:"_1qhetbflh"},defaultClass:"_1qhetbflc"},"8px":{conditions:{xs:"_1qhetbfli",sm:"_1qhetbflj",md:"_1qhetbflk",lg:"_1qhetbfll",xl:"_1qhetbflm",xxl:"_1qhetbfln"},defaultClass:"_1qhetbfli"},"12px":{conditions:{xs:"_1qhetbflo",sm:"_1qhetbflp",md:"_1qhetbflq",lg:"_1qhetbflr",xl:"_1qhetbfls",xxl:"_1qhetbflt"},defaultClass:"_1qhetbflo"},"14px":{conditions:{xs:"_1qhetbflu",sm:"_1qhetbflv",md:"_1qhetbflw",lg:"_1qhetbflx",xl:"_1qhetbfly",xxl:"_1qhetbflz"},defaultClass:"_1qhetbflu"},"16px":{conditions:{xs:"_1qhetbfm0",sm:"_1qhetbfm1",md:"_1qhetbfm2",lg:"_1qhetbfm3",xl:"_1qhetbfm4",xxl:"_1qhetbfm5"},defaultClass:"_1qhetbfm0"},"20px":{conditions:{xs:"_1qhetbfm6",sm:"_1qhetbfm7",md:"_1qhetbfm8",lg:"_1qhetbfm9",xl:"_1qhetbfma",xxl:"_1qhetbfmb"},defaultClass:"_1qhetbfm6"},"24px":{conditions:{xs:"_1qhetbfmc",sm:"_1qhetbfmd",md:"_1qhetbfme",lg:"_1qhetbfmf",xl:"_1qhetbfmg",xxl:"_1qhetbfmh"},defaultClass:"_1qhetbfmc"},"32px":{conditions:{xs:"_1qhetbfmi",sm:"_1qhetbfmj",md:"_1qhetbfmk",lg:"_1qhetbfml",xl:"_1qhetbfmm",xxl:"_1qhetbfmn"},defaultClass:"_1qhetbfmi"},"48px":{conditions:{xs:"_1qhetbfmo",sm:"_1qhetbfmp",md:"_1qhetbfmq",lg:"_1qhetbfmr",xl:"_1qhetbfms",xxl:"_1qhetbfmt"},defaultClass:"_1qhetbfmo"},"56px":{conditions:{xs:"_1qhetbfmu",sm:"_1qhetbfmv",md:"_1qhetbfmw",lg:"_1qhetbfmx",xl:"_1qhetbfmy",xxl:"_1qhetbfmz"},defaultClass:"_1qhetbfmu"},"64px":{conditions:{xs:"_1qhetbfn0",sm:"_1qhetbfn1",md:"_1qhetbfn2",lg:"_1qhetbfn3",xl
17:"_1qhetbfn4",xxl:"_1qhetbfn5"},defaultClass:"_1qhetbfn0"},auto:{conditions:{xs:"_1qhetbfn6",sm:"_1qhetbfn7",md:"_1qhetbfn8",lg:"_1qhetbfn9",xl:"_1qhetbfna",xxl:"_1qhetbfnb"},defaultClass:"_1qhetbfn6"}},responsiveArray:void 0},marginTop:{values:{"0px":{conditions:{xs:"_1qhetbfnc",sm:"_1qhetbfnd",md:"_1qhetbfne",lg:"_1qhetbfnf",xl:"_1qhetbfng",xxl:"_1qhetbfnh"},defaultClass:"_1qhetbfnc"},"1rem":{conditions:{xs:"_1qhetbfni",sm:"_1qhetbfnj",md:"_1qhetbfnk",lg:"_1qhetbfnl",xl:"_1qhetbfnm",xxl:"_1qhetbfnn"},defaultClass:"_1qhetbfni"},"1px":{conditions:{xs:"_1qhetbfno",sm:"_1qhetbfnp",md:"_1qhetbfnq",lg:"_1qhetbfnr",xl:"_1qhetbfns",xxl:"_1qhetbfnt"},defaultClass:"_1qhetbfno"},"2px":{conditions:{xs:"_1qhetbfnu",sm:"_1qhetbfnv",md:"_1qhetbfnw",lg:"_1qhetbfnx",xl:"_1qhetbfny",xxl:"_1qhetbfnz"},defaultClass:"_1qhetbfnu"},"6px":{conditions:{xs:"_1qhetbfo0",sm:"_1qhetbfo1",md:"_1qhetbfo2",lg:"_1qhetbfo3",xl:"_1qhetbfo4",xxl:"_1qhetbfo5"},defaultClass:"_1qhetbfo0"},"4px":{conditions:{xs:"_1qhetbfo6",sm:"_1qhetbfo7",md:"_1qhetbfo8",lg:"_1qhetbfo9",xl:"_1qhetbfoa",xxl:"_1qhetbfob"},defaultClass:"_1qhetbfo6"},"8px":{conditions:{xs:"_1qhetbfoc",sm:"_1qhetbfod",md:"_1qhetbfoe",lg:"_1qhetbfof",xl:"_1qhetbfog",xxl:"_1qhetbfoh"},defaultClass:"_1qhetbfoc"},"12px":{conditions:{xs:"_1qhetbfoi",sm:"_1qhetbfoj",md:"_1qhetbfok",lg:"_1qhetbfol",xl:"_1qhetbfom",xxl:"_1qhetbfon"},defaultClass:"_1qhetbfoi"},"14px":{conditions:{xs:"_1qhetbfoo",sm:"_1qhetbfop",md:"_1qhetbfoq",lg:"_1qhetbfor",xl:"_1qhetbfos",xxl:"_1qhetbfot"},defaultClass:"_1qhetbfoo"},"16px":{conditions:{xs:"_1qhetbfou",sm:"_1qhetbfov",md:"_1qhetbfow",lg:"_1qhetbfox",xl:"_1qhetbfoy",xxl:"_1qhetbfoz"},defaultClass:"_1qhetbfou"},"20px":{conditions:{xs:"_1qhetbfp0",sm:"_1qhetbfp1",md:"_1qhetbfp2",lg:"_1qhetbfp3",xl:"_1qhetbfp4",xxl:"_1qhetbfp5"},defaultClass:"_1qhetbfp0"},"24px":{conditions:{xs:"_1qhetbfp6",sm:"_1qhetbfp7",md:"_1qhetbfp8",lg:"_1qhetbfp9",xl:"_1qhetbfpa",xxl:"_1qhetbfpb"},defaultClass:"_1qhetbfp6"},"32px":{conditions:{xs:"_1qhetbfpc",sm:"_1qhetbfpd",md:"_1qhetbfpe",lg:"_1qhetbfpf",xl:"_1qhetbfpg",xxl:"_1qhetbfph"},defaultClass:"_1qhetbfpc"},"48px":{conditions:{xs:"_1qhetbfpi",sm:"_1qhetbfpj",md:"_1qhetbfpk",lg:"_1qhetbfpl",xl:"_1qhetbfpm",xxl:"_1qhetbfpn"},defaultClass:"_1qhetbfpi"},"56px":{conditions:{xs:"_1qhetbfpo",sm:"_1qhetbfpp",md:"_1qhetbfpq",lg:"_1qhetbfpr",xl:"_1qhetbfps",xxl:"_1qhetbfpt"},defaultClass:"_1qhetbfpo"},"64px":{conditions:{xs:"_1qhetbfpu",sm:"_1qhetbfpv",md:"_1qhetbfpw",lg:"_1qhetbfpx",xl:"_1qhetbfpy",xxl:"_1qhetbfpz"},defaultClass:"_1qhetbfpu"},auto:{conditions:{xs:"_1qhetbfq0",sm:"_1qhetbfq1",md:"_1qhetbfq2",lg:"_1qhetbfq3",xl:"_1qhetbfq4",xxl:"_1qhetbfq5"},defaultClass:"_1qhetbfq0"}},responsiveArray:void 0},margin:{values:{"0px":{conditions:{xs:"_1qhetbfq6",sm:"_1qhetbfq7",md:"_1qhetbfq8",lg:"_1qhetbfq9",xl:"_1qhetbfqa",xxl:"_1qhetbfqb"},defaultClass:"_1qhetbfq6"},"1rem":{conditions:{xs:"_1qhetbfqc",sm:"_1qhetbfqd",md:"_1qhetbfqe",lg:"_1qhetbfqf",xl:"_1qhetbfqg",xxl:"_1qhetbfqh"},defaultClass:"_1qhetbfqc"},"1px":{conditions:{xs:"_1qhetbfqi",sm:"_1qhetbfqj",md:"_1qhetbfqk",lg:"_1qhetbfql",xl:"_1qhetbfqm",xxl:"_1qhetbfqn"},defaultClass:"_1qhetbfqi"},"2px":{conditions:{xs:"_1qhetbfqo",sm:"_1qhetbfqp",md:"_1qhetbfqq",lg:"_1qhetbfqr",xl:"_1qhetbfqs",xxl:"_1qhetbfqt"},defaultClass:"_1qhetbfqo"},"6px":{conditions:{xs:"_1qhetbfqu",sm:"_1qhetbfqv",md:"_1qhetbfqw",lg:"_1qhetbfqx",xl:"_1qhetbfqy",xxl:"_1qhetbfqz"},defaultClass:"_1qhetbfqu"},"4px":{conditions:{xs:"_1qhetbfr0",sm:"_1qhetbfr1",md:"_1qhetbfr2",lg:"_1qhetbfr3",xl:"_1qhetbfr4",xxl:"_1qhetbfr5"},defaultClass:"_1qhetbfr0"},"8px":{conditions:{xs:"_1qhetbfr6",sm:"_1qhetbfr7",md:"_1qhetbfr8",lg:"_1qhetbfr9",xl:"_1qhetbfra",xxl:"_1qhetbfrb"},defaultClass:"_1qhetbfr6"},"12px":{conditions:{xs:"_1qhetbfrc",sm:"_1qhetbfrd",md:"_1qhetbfre",lg:"_1qhetbfrf",xl:"_1qhetbfrg",xxl:"_1qhetbfrh"},defaultClass:"_1qhetbfrc"},"14px":{conditions:{xs:"_1qhetbfri",sm:"_1qhetbfrj",md:"_1qhetbfrk",lg:"_1qhetbfrl",xl:"_1qhetbfrm",xxl:"_1qhetbfrn"},defaultClass:"_1qhetbfri"},"16px":{conditions:{xs:"_1qhetbfro",sm:"_1qhetbfrp",md:"_1qhetbfrq",lg:"_1qhetbfrr",xl:"_1qhetbfrs",xxl:"_1qhetbfrt"},defaultClass:"_1qhetbfro"},"20px":{conditions:{xs:"_1qhetbfru",sm:"_1qhetbfrv",md:"_1qhetbfrw",lg:"_1qhetbfrx",xl:"_1qhetbfry",xxl:"_1qhetbfrz"},defaultClass:"_1qhetbfru"},"24px":{conditions:{xs:"_1qhetbfs0",sm:"_1qhetbfs1",md:"_1qhetbfs2",lg:"_1qhetbfs3",xl
17:"_1qhetbfs4",xxl:"_1qhetbfs5"},defaultClass:"_1qhetbfs0"},"32px":{conditions:{xs:"_1qhetbfs6",sm:"_1qhetbfs7",md:"_1qhetbfs8",lg:"_1qhetbfs9",xl:"_1qhetbfsa",xxl:"_1qhetbfsb"},defaultClass:"_1qhetbfs6"},"48px":{conditions:{xs:"_1qhetbfsc",sm:"_1qhetbfsd",md:"_1qhetbfse",lg:"_1qhetbfsf",xl:"_1qhetbfsg",xxl:"_1qhetbfsh"},defaultClass:"_1qhetbfsc"},"56px":{conditions:{xs:"_1qhetbfsi",sm:"_1qhetbfsj",md:"_1qhetbfsk",lg:"_1qhetbfsl",xl:"_1qhetbfsm",xxl:"_1qhetbfsn"},defaultClass:"_1qhetbfsi"},"64px":{conditions:{xs:"_1qhetbfso",sm:"_1qhetbfsp",md:"_1qhetbfsq",lg:"_1qhetbfsr",xl:"_1qhetbfss",xxl:"_1qhetbfst"},defaultClass:"_1qhetbfso"},auto:{conditions:{xs:"_1qhetbfsu",sm:"_1qhetbfsv",md:"_1qhetbfsw",lg:"_1qhetbfsx",xl:"_1qhetbfsy",xxl:"_1qhetbfsz"},defaultClass:"_1qhetbfsu"}},responsiveArray:void 0},padding:{values:{"0px":{conditions:{xs:"_1qhetbft0",sm:"_1qhetbft1",md:"_1qhetbft2",lg:"_1qhetbft3",xl:"_1qhetbft4",xxl:"_1qhetbft5"},defaultClass:"_1qhetbft0"},"1rem":{conditions:{xs:"_1qhetbft6",sm:"_1qhetbft7",md:"_1qhetbft8",lg:"_1qhetbft9",xl:"_1qhetbfta",xxl:"_1qhetbftb"},defaultClass:"_1qhetbft6"},"1px":{conditions:{xs:"_1qhetbftc",sm:"_1qhetbftd",md:"_1qhetbfte",lg:"_1qhetbftf",xl:"_1qhetbftg",xxl:"_1qhetbfth"},defaultClass:"_1qhetbftc"},"2px":{conditions:{xs:"_1qhetbfti",sm:"_1qhetbftj",md:"_1qhetbftk",lg:"_1qhetbftl",xl:"_1qhetbftm",xxl:"_1qhetbftn"},defaultClass:"_1qhetbfti"},"6px":{conditions:{xs:"_1qhetbfto",sm:"_1qhetbftp",md:"_1qhetbftq",lg:"_1qhetbftr",xl:"_1qhetbfts",xxl:"_1qhetbftt"},defaultClass:"_1qhetbfto"},"4px":{conditions:{xs:"_1qhetbftu",sm:"_1qhetbftv",md:"_1qhetbftw",lg:"_1qhetbftx",xl:"_1qhetbfty",xxl:"_1qhetbftz"},defaultClass:"_1qhetbftu"},"8px":{conditions:{xs:"_1qhetbfu0",sm:"_1qhetbfu1",md:"_1qhetbfu2",lg:"_1qhetbfu3",xl:"_1qhetbfu4",xxl:"_1qhetbfu5"},defaultClass:"_1qhetbfu0"},"12px":{conditions:{xs:"_1qhetbfu6",sm:"_1qhetbfu7",md:"_1qhetbfu8",lg:"_1qhetbfu9",xl:"_1qhetbfua",xxl:"_1qhetbfub"},defaultClass:"_1qhetbfu6"},"14px":{conditions:{xs:"_1qhetbfuc",sm:"_1qhetbfud",md:"_1qhetbfue",lg:"_1qhetbfuf",xl:"_1qhetbfug",xxl:"_1qhetbfuh"},defaultClass:"_1qhetbfuc"},"16px":{conditions:{xs:"_1qhetbfui",sm:"_1qhetbfuj",md:"_1qhetbfuk",lg:"_1qhetbful",xl:"_1qhetbfum",xxl:"_1qhetbfun"},defaultClass:"_1qhetbfui"},"20px":{conditions:{xs:"_1qhetbfuo",sm:"_1qhetbfup",md:"_1qhetbfuq",lg:"_1qhetbfur",xl:"_1qhetbfus",xxl:"_1qhetbfut"},defaultClass:"_1qhetbfuo"},"24px":{conditions:{xs:"_1qhetbfuu",sm:"_1qhetbfuv",md:"_1qhetbfuw",lg:"_1qhetbfux",xl:"_1qhetbfuy",xxl:"_1qhetbfuz"},defaultClass:"_1qhetbfuu"},"32px":{conditions:{xs:"_1qhetbfv0",sm:"_1qhetbfv1",md:"_1qhetbfv2",lg:"_1qhetbfv3",xl:"_1qhetbfv4",xxl:"_1qhetbfv5"},defaultClass:"_1qhetbfv0"},"48px":{conditions:{xs:"_1qhetbfv6",sm:"_1qhetbfv7",md:"_1qhetbfv8",lg:"_1qhetbfv9",xl:"_1qhetbfva",xxl:"_1qhetbfvb"},defaultClass:"_1qhetbfv6"},"56px":{conditions:{xs:"_1qhetbfvc",sm:"_1qhetbfvd",md:"_1qhetbfve",lg:"_1qhetbfvf",xl:"_1qhetbfvg",xxl:"_1qhetbfvh"},defaultClass:"_1qhetbfvc"},"64px":{conditions:{xs:"_1qhetbfvi",sm:"_1qhetbfvj",md:"_1qhetbfvk",lg:"_1qhetbfvl",xl:"_1qhetbfvm",xxl:"_1qhetbfvn"},defaultClass:"_1qhetbfvi"}},responsiveArray:void 0},maxHeight:{values:{"0px":{conditions:{xs:"_1qhetbfvo",sm:"_1qhetbfvp",md:"_1qhetbfvq",lg:"_1qhetbfvr",xl:"_1qhetbfvs",xxl:"_1qhetbfvt"},defaultClass:"_1qhetbfvo"},"1rem":{conditions:{xs:"_1qhetbfvu",sm:"_1qhetbfvv",md:"_1qhetbfvw",lg:"_1qhetbfvx",xl:"_1qhetbfvy",xxl:"_1qhetbfvz"},defaultClass:"_1qhetbfvu"},"1px":{conditions:{xs:"_1qhetbfw0",sm:"_1qhetbfw1",md:"_1qhetbfw2",lg:"_1qhetbfw3",xl:"_1qhetbfw4",xxl:"_1qhetbfw5"},defaultClass:"_1qhetbfw0"},"2px":{conditions:{xs:"_1qhetbfw6",sm:"_1qhetbfw7",md:"_1qhetbfw8",lg:"_1qhetbfw9",xl:"_1qhetbfwa",xxl:"_1qhetbfwb"},defaultClass:"_1qhetbfw6"},"6px":{conditions:{xs:"_1qhetbfwc",sm:"_1qhetbfwd",md:"_1qhetbfwe",lg:"_1qhetbfwf",xl:"_1qhetbfwg",xxl:"_1qhetbfwh"},defaultClass:"_1qhetbfwc"},"4px":{conditions:{xs:"_1qhetbfwi",sm:"_1qhetbfwj",md:"_1qhetbfwk",lg:"_1qhetbfwl",xl:"_1qhetbfwm",xxl:"_1qhetbfwn"},defaultClass:"_1qhetbfwi"},"8px":{conditions:{xs:"_1qhetbfwo",sm:"_1qhetbfwp",md:"_1qhetbfwq",lg:"_1qhetbfwr",xl:"_1qhetbfws",xxl:"_1qhetbfwt"},defaultClass:"_1qhetbfwo"},"12px":{conditions:{xs:"_1qhetbfwu",sm:"_1qhetbfwv",md:"_1qhetbfww",lg:"_1qhetbfwx",xl:"_1qhetbfwy",xxl:"_1qhetbfwz"},defaultClass:"_1qhetbfwu"},"14px":{conditions:{xs:"_1qhetbfx0",sm:"_1qhetbfx1",md:"_1qhetbfx2",lg:"_1qhetbfx3",xl:"_1qhetbfx4",xxl:"_1qhetbfx5"},defaultClass:"_1qhetbfx0"},"16px":{conditions:{xs:"_1qhetbfx6",sm:"_1qhetbfx7",md:"_1qhetbfx8",lg:"_1qhetbfx9",xl:"_1qhetbfxa",xxl:"_1qhetbfxb"},defaultClass:"_1qhetbfx6"},"20px":{conditions:{xs:"_1qhetbfxc",sm:"_1qhetbfxd",md:"_1qhetbfxe",lg:"_1qhetbfxf",xl:"_1qhetbfxg",xxl:"_1qhetbfxh"},defaultClass:"_1qhetbfxc"},"24px":{conditions:{xs:"_1qhetbfxi",sm:"_1qhetbfxj",md:"_1qhetbfxk",lg:"_1qhetbfxl",xl:"_1qhetbfxm",xxl:"_1qhetbfxn"},defaultClass:"_1qhetbfxi"},"32px":{conditions:{xs:"_1qhetbfxo",sm:"_1qhetbfxp",md:"_1qhetbfxq",lg:"_1qhetbfxr",xl:"_1qhetbfxs",xxl:"_1qhetbfxt"},defaultClass:"_1qhetbfxo"},"48px":{conditions:{xs:"_1qhetbfxu",sm:"_1qhetbfxv",md:"_1qhetbfxw",lg:"_1qhetbfxx",xl:"_1qhetbfxy",xxl:"_1qhetbfxz"},defaultClass:"_1qhetbfxu"},"56px":{conditions:{xs:"_1qhetbfy0",sm:"_1qhetbfy1",md:"_1qhetbfy2",lg:"_1qhetbfy3",xl:"_1qhetbfy4",xxl:"_1qhetbfy5"},defaultClass:"_1qhetbfy0"},"64px":{conditions:{xs:"_1qhetbfy6",sm:"_1qhetbfy7",md:"_1qhetbfy8",lg:"_1qhetbfy9",xl:"_1qhetbfya",xxl:"_1qhetbfyb"},defaultClass:"_1qhetbfy6"}},responsiveArray:void 0},maxWidth:{values:{"0px":{conditions:{xs:"_1qhetbfyc",sm:"_1qhetbfyd",md:"_1qhetbfye",lg:"_1qhetbfyf",xl:"_1qhetbfyg",xxl:"_1qhetbfyh"},defaultClass:"_1qhetbfyc"}
17,"1rem":{conditions:{xs:"_1qhetbfyi",sm:"_1qhetbfyj",md:"_1qhetbfyk",lg:"_1qhetbfyl",xl:"_1qhetbfym",xxl:"_1qhetbfyn"},defaultClass:"_1qhetbfyi"},"1px":{conditions:{xs:"_1qhetbfyo",sm:"_1qhetbfyp",md:"_1qhetbfyq",lg:"_1qhetbfyr",xl:"_1qhetbfys",xxl:"_1qhetbfyt"},defaultClass:"_1qhetbfyo"},"2px":{conditions:{xs:"_1qhetbfyu",sm:"_1qhetbfyv",md:"_1qhetbfyw",lg:"_1qhetbfyx",xl:"_1qhetbfyy",xxl:"_1qhetbfyz"},defaultClass:"_1qhetbfyu"},"6px":{conditions:{xs:"_1qhetbfz0",sm:"_1qhetbfz1",md:"_1qhetbfz2",lg:"_1qhetbfz3",xl:"_1qhetbfz4",xxl:"_1qhetbfz5"},defaultClass:"_1qhetbfz0"},"4px":{conditions:{xs:"_1qhetbfz6",sm:"_1qhetbfz7",md:"_1qhetbfz8",lg:"_1qhetbfz9",xl:"_1qhetbfza",xxl:"_1qhetbfzb"},defaultClass:"_1qhetbfz6"},"8px":{conditions:{xs:"_1qhetbfzc",sm:"_1qhetbfzd",md:"_1qhetbfze",lg:"_1qhetbfzf",xl:"_1qhetbfzg",xxl:"_1qhetbfzh"},defaultClass:"_1qhetbfzc"},"12px":{conditions:{xs:"_1qhetbfzi",sm:"_1qhetbfzj",md:"_1qhetbfzk",lg:"_1qhetbfzl",xl:"_1qhetbfzm",xxl:"_1qhetbfzn"},defaultClass:"_1qhetbfzi"},"14px":{conditions:{xs:"_1qhetbfzo",sm:"_1qhetbfzp",md:"_1qhetbfzq",lg:"_1qhetbfzr",xl:"_1qhetbfzs",xxl:"_1qhetbfzt"},defaultClass:"_1qhetbfzo"},"16px":{conditions:{xs:"_1qhetbfzu",sm:"_1qhetbfzv",md:"_1qhetbfzw",lg:"_1qhetbfzx",xl:"_1qhetbfzy",xxl:"_1qhetbfzz"},defaultClass:"_1qhetbfzu"},"20px":{conditions:{xs:"_1qhetbf100",sm:"_1qhetbf101",md:"_1qhetbf102",lg:"_1qhetbf103",xl:"_1qhetbf104",xxl:"_1qhetbf105"},defaultClass:"_1qhetbf100"},"24px":{conditions:{xs:"_1qhetbf106",sm:"_1qhetbf107",md:"_1qhetbf108",lg:"_1qhetbf109",xl:"_1qhetbf10a",xxl:"_1qhetbf10b"},defaultClass:"_1qhetbf106"},"32px":{conditions:{xs:"_1qhetbf10c",sm:"_1qhetbf10d",md:"_1qhetbf10e",lg:"_1qhetbf10f",xl:"_1qhetbf10g",xxl:"_1qhetbf10h"},defaultClass:"_1qhetbf10c"},"48px":{conditions:{xs:"_1qhetbf10i",sm:"_1qhetbf10j",md:"_1qhetbf10k",lg:"_1qhetbf10l",xl:"_1qhetbf10m",xxl:"_1qhetbf10n"},defaultClass:"_1qhetbf10i"},"56px":{conditions:{xs:"_1qhetbf10o",sm:"_1qhetbf10p",md:"_1qhetbf10q",lg:"_1qhetbf10r",xl:"_1qhetbf10s",xxl:"_1qhetbf10t"},defaultClass:"_1qhetbf10o"},"64px":{conditions:{xs:"_1qhetbf10u",sm:"_1qhetbf10v",md:"_1qhetbf10w",lg:"_1qhetbf10x",xl:"_1qhetbf10y",xxl:"_1qhetbf10z"},defaultClass:"_1qhetbf10u"},"100%":{conditions:{xs:"_1qhetbf110",sm:"_1qhetbf111",md:"_1qhetbf112",lg:"_1qhetbf113",xl:"_1qhetbf114",xxl:"_1qhetbf115"},defaultClass:"_1qhetbf110"},auto:{conditions:{xs:"_1qhetbf116",sm:"_1qhetbf117",md:"_1qhetbf118",lg:"_1qhetbf119",xl:"_1qhetbf11a",xxl:"_1qhetbf11b"},defaultClass:"_1qhetbf116"},"fit-content":{conditions:{xs:"_1qhetbf11c",sm:"_1qhetbf11d",md:"_1qhetbf11e",lg:"_1qhetbf11f",xl:"_1qhetbf11g",xxl:"_1qhetbf11h"},defaultClass:"_1qhetbf11c"},"420px":{conditions:{xs:"_1qhetbf11i",sm:"_1qhetbf11j",md:"_1qhetbf11k",lg:"_1qhetbf11l",xl:"_1qhetbf11m",xxl:"_1qhetbf11n"},defaultClass:"_1qhetbf11i"},screenSm:{conditions:{xs:"_1qhetbf11o",sm:"_1qhetbf11p",md:"_1qhetbf11q",lg:"_1qhetbf11r",xl:"_1qhetbf11s",xxl:"_1qhetbf11t"},defaultClass:"_1qhetbf11o"},screenMd:{conditions:{xs:"_1qhetbf11u",sm:"_1qhetbf11v",md:"_1qhetbf11w",lg:"_1qhetbf11x",xl:"_1qhetbf11y",xxl:"_1qhetbf11z"},defaultClass:"_1qhetbf11u"},screenLg:{conditions:{xs:"_1qhetbf120",sm:"_1qhetbf121",md:"_1qhetbf122",lg:"_1qhetbf123",xl:"_1qhetbf124",xxl:"_1qhetbf125"},defaultClass:"_1qhetbf120"},screenXl:{conditions:{xs:"_1qhetbf126",sm:"_1qhetbf127",md:"_1qhetbf128",lg:"_1qhetbf129",xl:"_1qhetbf12a",xxl:"_1qhetbf12b"},defaultClass:"_1qhetbf126"},none:{conditions:{xs:"_1qhetbf12c",sm:"_1qhetbf12d",md:"_1qhetbf12e",lg:"_1qhetbf12f",xl:"_1qhetbf12g",xxl:"_1qhetbf12h"},defaultClass:"_1qhetbf12c"}},responsiveArray:void 0},minHeight:{values:{"0px":{conditions:{xs:"_1qhetbf12i",sm:"_1qhetbf12j",md:"_1qhetbf12k",lg:"_1qhetbf12l",xl:"_1qhetbf12m",xxl:"_1qhetbf12n"},defaultClass:"_1qhetbf12i"},"1rem":{conditions:{xs:"_1qhetbf12o",sm:"_1qhetbf12p",md:"_1qhetbf12q",lg:"_1qhetbf12r",xl:"_1qhetbf12s",xxl:"_1qhetbf12t"},defaultClass:"_1qhetbf12o"},"1px":{conditions:{xs:"_1qhetbf12u",sm:"_1qhetbf12v",md:"_1qhetbf12w",lg:"_1qhetbf12x",xl:"_1qhetbf12y",xxl:"_1qhetbf12z"},defaultClass:"_1qhetbf12u"},"2px":{conditions:{xs:"_1qhetbf130",sm:"_1qhetbf131",md:"_1qhetbf132",lg:"_1qhetbf133",xl:"_1qhetbf134",xxl:"_1qhetbf135"},defaultClass:"_1qhetbf130"},"6px":{conditions:{xs:"_1qhetbf136",sm:"_1qhetbf137",md:"_1qhetbf138",lg:"_1qhetbf139",xl:"_1qhetbf13a",xxl:"_1qhetbf13b"},defaultClass:"_1qhetbf136"},"4px":{conditions:{xs:"_1qhetbf13c",sm:"_1qhetbf13d",md:"_1qhetbf13e",lg:"_1qhetbf13f",xl:"_1qhetbf13g",xxl:"_1qhetbf13h"},defaultClass:"_1qhetbf13c"},"8px":{conditions:{xs:"_1qhetbf13i",sm:"_1qhetbf13j",md:"_1qhetbf13k",lg:"_1qhetbf13l",xl:"_1qhetbf13m",xxl:"_1qhetbf13n"},defaultClass:"_1qhetbf13i"},"12px":{conditions:{xs:"_1qhetbf13o",sm:"_1qhetbf13p",md:"_1qhetbf13q",lg:"_1qhetbf13r",xl:"_1qhetbf13s",xxl:"_1qhetbf13t"},defaultClass:"_1qhetbf13o"},"14px":{conditions:{xs:"_1qhetbf13u",sm:"_1qhetbf13v",md:"_1qhetbf13w",lg:"_1qhetbf13x",xl:"_1qhetbf13y",xxl:"_1qhetbf13z"},defaultClass:"_1qhetbf13u"},"16px":{conditions:{xs:"_1qhetbf140",sm:"_1qhetbf141",md:"_1qhetbf142",lg:"_1qhetbf143",xl:"_1qhetbf144",xxl:"_1qhetbf145"},defaultClass:"_1qhetbf140"},"20px":{conditions:{xs:"_1qhetbf146",sm:"_1qhetbf147",md:"_1qhetbf148",lg:"_1qhetbf149",xl:"_1qhetbf14a",xxl:"_1qhetbf14b"},defaultClass:"_1qhetbf146"},"24px":{conditions:{xs:"_1qhetbf14c",sm:"_1qhetbf14d",md:"_1qhetbf14e",lg:"_1qhetbf14f",xl:"_1qhetbf14g",xxl:"_1qhetbf14h"},defaultClass:"_1qhetbf14c"},"32px":{conditions:{xs:"_1qhetbf14i",sm:"_1qhetbf14j",md:"_1qhetbf14k",lg:"_1qhetbf14l",xl:"_1qhetbf14m",xxl:"_1qhetbf14n"},defaultClass:"_1qhetbf14i"},"48px":{conditions:{xs:"_1qhetbf14o",sm:"_1qhetbf14p",md:"_1qhetbf14q",lg:"_1qhetbf14r",xl:"_1qhetbf14s",xxl:"_1qhetbf14t"},defaultClass:"_1qhetbf14o"},"56px":{conditions:{xs:"_1qhetbf14u",sm:"_1qhetbf14v",md:"_1qhetbf14w",lg:"_1qhetbf14x",xl:"_1qhetbf14y",xxl:"_1qhetbf14z"},defaultClass:"_1qhetbf14u"},"64px":{conditions:{xs:"_1qhetbf150",sm:"_1qhetbf151",md:"_1qhetbf152",lg:"_1qhetbf153",xl:"_1qhetbf154",xxl:"_1qhetbf155"},defaultClass:"_1qhetbf150"},"100%":{conditions:{xs:"_1qhetbf156",sm:"_1qhetbf157",md:"_1qhetbf158",lg:"_1qhetbf159",xl:"_1qhetbf15a",xxl:"_1qhetbf15b"},defaultClass:"_1qhetbf156"},auto:{conditions:{xs:"_1qhetbf15c",sm:"_1qhetbf15d",md:"_1qhetbf15e",lg:"_1qhetbf15f",xl:"_1qhetbf15g",xxl:"_1qhetbf15h"},defaultClass:"_1qhetbf15c"},"fit-content":{conditions:{xs:"_1qhetbf15i",sm:"_1qhetbf15j",md:"_1qhetbf15k",lg:"_1qhetbf15l",xl:"_1qhetbf15m",xxl:"_1qhetbf15n"},defaultClass:"_1qhetbf15i"},"420px":{conditions:{xs:"_1qhetbf15o",sm:"_1qhetbf15p",md:"_1qhetbf15q",lg:"_1qhetbf15r",xl:"_1qhetbf15s",xxl:"_1qhetbf15t"},defaultClass:"_1qhetbf15o"},screenSm:{conditions:{xs:"_1qhetbf15u",sm:"_1qhetbf15v",md:"_1qhetbf15w",lg:"_1qhetbf15x",xl:"_1qhetbf15y",xxl:"_1qhetbf15z"},defaultClass:"_1qhetbf15u"},screenMd:{conditions:{xs:"_1qhetbf160",sm:"_1qhetbf161",md:"_1qhetbf162",lg:"_1qhetbf163",xl:"_1qhetbf164",xxl:"_1qhetbf165"},defaultClass:"_1qhetbf160"},screenLg:{conditions:{xs:"_1qhetbf166",sm:"_1qhetbf167",md:"_1qhetbf168",lg:"_1qhetbf169",xl:"_1qhetbf16a",xxl:"_1qhetbf16b"},defaultClass:"_1qhetbf166"},screenXl:{conditions:{xs:"_1qhetbf16c",sm:"_1qhetbf16d",md:"_1qhetbf16e",lg:"_1qhetbf16f",xl:"_1qhetbf16g",xxl:"_1qhetbf16h"},defaultClass:"_1qhetbf16c"},"100vh":{conditions:{xs:"_1qhetbf16i",sm:"_1qhetbf16j",md:"_1qhetbf16k",lg:"_1qhetbf16l",xl:"_1qhetbf16m",xxl:"_1qhetbf16n"},defaultClass:"_1qhetbf16i"}},responsiveArray:void 0},minWidth:{values:{"0px":{conditions:{xs:"_1qhetbf16o",sm:"_1qhetbf16p",md:"_1qhetbf16q",lg:"_1qhetbf16r",xl:"_1qhetbf16s",xxl:"_1qhetbf16t"},defaultClass:"_1qhetbf16o"},"1rem":{conditions:{xs:"_1qhetbf16u",sm:"_1qhetbf16v",md:"_1qhetbf16w",lg:"_1qhetbf16x",xl:"_1qhetbf16y",xxl:"_1qhetbf16z"},defaultClass:"_1qhetbf16u"},"1px":{conditions:{xs:"_1qhetbf170",sm:"_1qhetbf171",md:"_1qhetbf172",lg:"_1qhetbf173",xl:"_1qhetbf174",xxl:"_1qhetbf175"},defaultClass:"_1qhetbf170"},"2px":{conditions:{xs:"_1qhetbf176",sm:"_1qhetbf177",md:"_1qhetbf178",lg:"_1qhetbf179",xl:"_1qhetbf17a",xxl:"_1qhetbf17b"},defaultClass:"_1qhetbf176"},"6px":{conditions:{xs:"_1qhetbf17c",sm:"_1qhetbf17d",md:"_1qhetbf17e",lg:"_1qhetbf17f",xl:"_1qhetbf17g",xxl:"_1qhetbf17h"},defaultClass:"_1qhetbf17c"},"4px":{conditions:{xs:"_1qhetbf17i",sm:"_1qhetbf17j",md:"_1qhetbf17k",lg:"_1qhetbf17l",xl:"_1qhetbf17m",xxl:"_1qhetbf17n"},defaultClass:"_1qhetbf17i"},"8px":{conditions:{xs:"_1qhetbf17o",sm:"_1qhetbf17p",md:"_1qhetbf17q",lg:"_1qhetbf17r",xl:"_1qhetbf17s",xxl:"_1qhetbf17t"},defaultClass:"_1qhetbf17o"},"12px":{conditions:{xs:"_1qhetbf17u",sm:"_1qhetbf17v",md:"_1qhetbf17w",lg:"_1qhetbf17x",xl:"_1qhetbf17y",xxl:"_1qhetbf17z"},defaultClass:"_1qhetbf17u"},"14px":{conditions:{xs:"_1qhetbf180",sm:"_1qhetbf181",md:"_1qhetbf182",lg:"_1qhetbf183",xl:"_1qhetbf184",xxl:"_1qhetbf185"},defaultClass:"_1qhetbf180"},"16px":{conditions:{xs:"_1qhetbf186",sm:"_1qhetbf187",md:"_1qhetbf188",lg:"_1qhetbf189",xl:"_1qhetbf18a",xxl:"_1qhetbf18b"},defaultClass:"_1qhetbf186"},"20px":{conditions:{xs:"_1qhetbf18c",sm:"_1qhetbf18d",md:"_1qhetbf18e",lg:"_1qhetbf18f",xl:"_1qhetbf18g",xxl:"_1qhetbf18h"},defaultClass:"_1qhetbf18c"},"24px":{conditions:{xs:"_1qhetbf18i",sm:"_1qhetbf18j",md:"_1qhetbf18k",lg:"_1qhetbf18l",xl:"_1qhetbf18m",xxl:"_1qhetbf18n"},defaultClass:"_1qhetbf18i"},"32px":{conditions:{xs:"_1qhetbf18o",sm:"_1qhetbf18p",md:"_1qhetbf18q",lg:"_1qhetbf18r",xl:"_1qhetbf18s",xxl:"_1qhetbf18t"},defaultClass:"_1qhetbf18o"},"48px":{conditions:{xs:"_1qhetbf18u",sm:"_1qhetbf18v",md:"_1qhetbf18w",lg:"_1qhetbf18x",xl:"_1qhetbf18y",xxl:"_1qhetbf18z"},defaultClass:"_1qhetbf18u"},"56px":{conditions:{xs:"_1qhetbf190",sm:"_1qhetbf191",md:"_1qhetbf192",lg:"_1qhetbf193",xl:"_1qhetbf194",xxl:"_1qhetbf195"},defaultClass:"_1qhetbf190"},"64px":{conditions:{xs:"_1qhetbf196",sm:"_1qhetbf197",md:"_1qhetbf198",lg:"_1qhetbf199",xl:"_1qhetbf19a",xxl:"_1qhetbf19b"},defaultClass:"_1qhetbf196"}},responsiveArray:void 0},paddingBottom:{values:{"0px":{conditions:{xs:"_1qhetbf19c",sm:"_1qhetbf19d",md:"_1qhetbf19e",lg:"_1qhetbf19f",xl:"_1qhetbf19g",xxl:"_1qhetbf19h"},defaultClass:"_1qhetbf19c"},"1rem":{conditions:{xs:"_1qhetbf19i",sm:"_1qhetbf19j",md:"_1qhetbf19k",lg:"_1qhetbf19l",xl:"_1qhetbf19m",xxl:"_1qhetbf19n"},defaultClass:"_1qhetbf19i"},"1px":{conditions:{xs:"_1qhetbf19o",sm:"_1qhetbf19p",md:"_1qhetbf19q",lg:"_1qhetbf19r",xl:"_1qhetbf19s",xxl:"_1qhetbf19t"},defaultClass:"_1qhetbf19o"},"2px":{conditions:{xs:"_1qhetbf19u",sm:"_1qhetbf19v",md:"_1qhetbf19w",lg:"_1qhetbf19x",xl:"_1qhetbf19y",xxl:"_1qhetbf19z"},defaultClass:"_1qhetbf19u"},"6px":{conditions:{xs:"_1qhetbf1a0",sm:"_1qhetbf1a1",md:"_1qhetbf1a2",lg:"_1qhetbf1a3",xl:"_1qhetbf1a4",xxl:"_1qhetbf1a5"},defaultClass:"_1qhetbf1a0"},"4px":{conditions:{xs:"_1qhetbf1a6",sm:"_1qhetbf1a7",md:"_1qhetbf1a8",lg:"_1qhetbf1a9",xl:"_1qhetbf1aa",xxl:"_1qhetbf1ab"},defaultClass:"_1qhetbf1a6"},"8px":{conditions:{xs:"_1qhetbf1ac",sm:"_1qhetbf1ad",md:"_1qhetbf1ae",lg:"_1qhetbf1af",xl:"_1qhetbf1ag",xxl:"_1qhetbf1ah"},defaultClass:"_1qhetbf1ac"}
17,"12px":{conditions:{xs:"_1qhetbf1ai",sm:"_1qhetbf1aj",md:"_1qhetbf1ak",lg:"_1qhetbf1al",xl:"_1qhetbf1am",xxl:"_1qhetbf1an"},defaultClass:"_1qhetbf1ai"},"14px":{conditions:{xs:"_1qhetbf1ao",sm:"_1qhetbf1ap",md:"_1qhetbf1aq",lg:"_1qhetbf1ar",xl:"_1qhetbf1as",xxl:"_1qhetbf1at"},defaultClass:"_1qhetbf1ao"},"16px":{conditions:{xs:"_1qhetbf1au",sm:"_1qhetbf1av",md:"_1qhetbf1aw",lg:"_1qhetbf1ax",xl:"_1qhetbf1ay",xxl:"_1qhetbf1az"},defaultClass:"_1qhetbf1au"},"20px":{conditions:{xs:"_1qhetbf1b0",sm:"_1qhetbf1b1",md:"_1qhetbf1b2",lg:"_1qhetbf1b3",xl:"_1qhetbf1b4",xxl:"_1qhetbf1b5"},defaultClass:"_1qhetbf1b0"},"24px":{conditions:{xs:"_1qhetbf1b6",sm:"_1qhetbf1b7",md:"_1qhetbf1b8",lg:"_1qhetbf1b9",xl:"_1qhetbf1ba",xxl:"_1qhetbf1bb"},defaultClass:"_1qhetbf1b6"},"32px":{conditions:{xs:"_1qhetbf1bc",sm:"_1qhetbf1bd",md:"_1qhetbf1be",lg:"_1qhetbf1bf",xl:"_1qhetbf1bg",xxl:"_1qhetbf1bh"},defaultClass:"_1qhetbf1bc"},"48px":{conditions:{xs:"_1qhetbf1bi",sm:"_1qhetbf1bj",md:"_1qhetbf1bk",lg:"_1qhetbf1bl",xl:"_1qhetbf1bm",xxl:"_1qhetbf1bn"},defaultClass:"_1qhetbf1bi"},"56px":{conditions:{xs:"_1qhetbf1bo",sm:"_1qhetbf1bp",md:"_1qhetbf1bq",lg:"_1qhetbf1br",xl:"_1qhetbf1bs",xxl:"_1qhetbf1bt"},defaultClass:"_1qhetbf1bo"},"64px":{conditions:{xs:"_1qhetbf1bu",sm:"_1qhetbf1bv",md:"_1qhetbf1bw",lg:"_1qhetbf1bx",xl:"_1qhetbf1by",xxl:"_1qhetbf1bz"},defaultClass:"_1qhetbf1bu"}},responsiveArray:void 0},paddingLeft:{values:{"0px":{conditions:{xs:"_1qhetbf1c0",sm:"_1qhetbf1c1",md:"_1qhetbf1c2",lg:"_1qhetbf1c3",xl:"_1qhetbf1c4",xxl:"_1qhetbf1c5"},defaultClass:"_1qhetbf1c0"},"1rem":{conditions:{xs:"_1qhetbf1c6",sm:"_1qhetbf1c7",md:"_1qhetbf1c8",lg:"_1qhetbf1c9",xl:"_1qhetbf1ca",xxl:"_1qhetbf1cb"},defaultClass:"_1qhetbf1c6"},"1px":{conditions:{xs:"_1qhetbf1cc",sm:"_1qhetbf1cd",md:"_1qhetbf1ce",lg:"_1qhetbf1cf",xl:"_1qhetbf1cg",xxl:"_1qhetbf1ch"},defaultClass:"_1qhetbf1cc"},"2px":{conditions:{xs:"_1qhetbf1ci",sm:"_1qhetbf1cj",md:"_1qhetbf1ck",lg:"_1qhetbf1cl",xl:"_1qhetbf1cm",xxl:"_1qhetbf1cn"},defaultClass:"_1qhetbf1ci"},"6px":{conditions:{xs:"_1qhetbf1co",sm:"_1qhetbf1cp",md:"_1qhetbf1cq",lg:"_1qhetbf1cr",xl:"_1qhetbf1cs",xxl:"_1qhetbf1ct"},defaultClass:"_1qhetbf1co"},"4px":{conditions:{xs:"_1qhetbf1cu",sm:"_1qhetbf1cv",md:"_1qhetbf1cw",lg:"_1qhetbf1cx",xl:"_1qhetbf1cy",xxl:"_1qhetbf1cz"},defaultClass:"_1qhetbf1cu"},"8px":{conditions:{xs:"_1qhetbf1d0",sm:"_1qhetbf1d1",md:"_1qhetbf1d2",lg:"_1qhetbf1d3",xl:"_1qhetbf1d4",xxl:"_1qhetbf1d5"},defaultClass:"_1qhetbf1d0"},"12px":{conditions:{xs:"_1qhetbf1d6",sm:"_1qhetbf1d7",md:"_1qhetbf1d8",lg:"_1qhetbf1d9",xl:"_1qhetbf1da",xxl:"_1qhetbf1db"},defaultClass:"_1qhetbf1d6"},"14px":{conditions:{xs:"_1qhetbf1dc",sm:"_1qhetbf1dd",md:"_1qhetbf1de",lg:"_1qhetbf1df",xl:"_1qhetbf1dg",xxl:"_1qhetbf1dh"},defaultClass:"_1qhetbf1dc"},"16px":{conditions:{xs:"_1qhetbf1di",sm:"_1qhetbf1dj",md:"_1qhetbf1dk",lg:"_1qhetbf1dl",xl:"_1qhetbf1dm",xxl:"_1qhetbf1dn"},defaultClass:"_1qhetbf1di"},"20px":{conditions:{xs:"_1qhetbf1do",sm:"_1qhetbf1dp",md:"_1qhetbf1dq",lg:"_1qhetbf1dr",xl:"_1qhetbf1ds",xxl:"_1qhetbf1dt"},defaultClass:"_1qhetbf1do"},"24px":{conditions:{xs:"_1qhetbf1du",sm:"_1qhetbf1dv",md:"_1qhetbf1dw",lg:"_1qhetbf1dx",xl:"_1qhetbf1dy",xxl:"_1qhetbf1dz"},defaultClass:"_1qhetbf1du"},"32px":{conditions:{xs:"_1qhetbf1e0",sm:"_1qhetbf1e1",md:"_1qhetbf1e2",lg:"_1qhetbf1e3",xl:"_1qhetbf1e4",xxl:"_1qhetbf1e5"},defaultClass:"_1qhetbf1e0"},"48px":{conditions:{xs:"_1qhetbf1e6",sm:"_1qhetbf1e7",md:"_1qhetbf1e8",lg:"_1qhetbf1e9",xl:"_1qhetbf1ea",xxl:"_1qhetbf1eb"},defaultClass:"_1qhetbf1e6"},"56px":{conditions:{xs:"_1qhetbf1ec",sm:"_1qhetbf1ed",md:"_1qhetbf1ee",lg:"_1qhetbf1ef",xl:"_1qhetbf1eg",xxl:"_1qhetbf1eh"},defaultClass:"_1qhetbf1ec"},"64px":{conditions:{xs:"_1qhetbf1ei",sm:"_1qhetbf1ej",md:"_1qhetbf1ek",lg:"_1qhetbf1el",xl:"_1qhetbf1em",xxl:"_1qhetbf1en"},defaultClass:"_1qhetbf1ei"}},responsiveArray:void 0},paddingRight:{values:{"0px":{conditions:{xs:"_1qhetbf1eo",sm:"_1qhetbf1ep",md:"_1qhetbf1eq",lg:"_1qhetbf1er",xl:"_1qhetbf1es",xxl:"_1qhetbf1et"},defaultClass:"_1qhetbf1eo"},"1rem":{conditions:{xs:"_1qhetbf1eu",sm:"_1qhetbf1ev",md:"_1qhetbf1ew",lg:"_1qhetbf1ex",xl:"_1qhetbf1ey",xxl:"_1qhetbf1ez"},defaultClass:"_1qhetbf1eu"},"1px":{conditions:{xs:"_1qhetbf1f0",sm:"_1qhetbf1f1",md:"_1qhetbf1f2",lg:"_1qhetbf1f3",xl:"_1qhetbf1f4",xxl:"_1qhetbf1f5"},defaultClass:"_1qhetbf1f0"},"2px":{conditions:{xs:"_1qhetbf1f6",sm:"_1qhetbf1f7",md:"_1qhetbf1f8",lg:"_1qhetbf1f9",xl:"_1qhetbf1fa",xxl:"_1qhetbf1fb"},defaultClass:"_1qhetbf1f6"},"6px":{conditions:{xs:"_1qhetbf1fc",sm:"_1qhetbf1fd",md:"_1qhetbf1fe",lg:"_1qhetbf1ff",xl:"_1qhetbf1fg",xxl:"_1qhetbf1fh"},defaultClass:"_1qhetbf1fc"},"4px":{conditions:{xs:"_1qhetbf1fi",sm:"_1qhetbf1fj",md:"_1qhetbf1fk",lg:"_1qhetbf1fl",xl:"_1qhetbf1fm",xxl:"_1qhetbf1fn"},defaultClass:"_1qhetbf1fi"},"8px":{conditions:{xs:"_1qhetbf1fo",sm:"_1qhetbf1fp",md:"_1qhetbf1fq",lg:"_1qhetbf1fr",xl:"_1qhetbf1fs",xxl:"_1qhetbf1ft"},defaultClass:"_1qhetbf1fo"},"12px":{conditions:{xs:"_1qhetbf1fu",sm:"_1qhetbf1fv",md:"_1qhetbf1fw",lg:"_1qhetbf1fx",xl:"_1qhetbf1fy",xxl:"_1qhetbf1fz"},defaultClass:"_1qhetbf1fu"},"14px":{conditions:{xs:"_1qhetbf1g0",sm:"_1qhetbf1g1",md:"_1qhetbf1g2",lg:"_1qhetbf1g3",xl:"_1qhetbf1g4",xxl:"_1qhetbf1g5"},defaultClass:"_1qhetbf1g0"},"16px":{conditions:{xs:"_1qhetbf1g6",sm:"_1qhetbf1g7",md:"_1qhetbf1g8",lg:"_1qhetbf1g9",xl:"_1qhetbf1ga",xxl:"_1qhetbf1gb"},defaultClass:"_1qhetbf1g6"},"20px":{conditions:{xs:"_1qhetbf1gc",sm:"_1qhetbf1gd",md:"_1qhetbf1ge",lg:"_1qhetbf1gf",xl:"_1qhetbf1gg",xxl:"_1qhetbf1gh"},defaultClass:"_1qhetbf1gc"},"24px":{conditions:{xs:"_1qhetbf1gi",sm:"_1qhetbf1gj",md:"_1qhetbf1gk",lg:"_1qhetbf1gl",xl:"_1qhetbf1gm",xxl:"_1qhetbf1gn"},defaultClass:"_1qhetbf1gi"},"32px":{conditions:{xs:"_1qhetbf1go",sm:"_1qhetbf1gp",md:"_1qhetbf1gq",lg:"_1qhetbf1gr",xl:"_1qhetbf1gs",xxl:"_1qhetbf1gt"},defaultClass:"_1qhetbf1go"},"48px":{conditions:{xs:"_1qhetbf1gu",sm:"_1qhetbf1gv",md:"_1qhetbf1gw",lg:"_1qhetbf1gx",xl:"_1qhetbf1gy",xxl:"_1qhetbf1gz"},defaultClass:"_1qhetbf1gu"},"56px":{conditions:{xs:"_1qhetbf1h0",sm:"_1qhetbf1h1",md:"_1qhetbf1h2",lg:"_1qhetbf1h3",xl:"_1qhetbf1h4",xxl:"_1qhetbf1h5"},defaultClass:"_1qhetbf1h0"},"64px":{conditions:{xs:"_1qhetbf1h6",sm:"_1qhetbf1h7",md:"_1qhetbf1h8",lg:"_1qhetbf1h9",xl:"_1qhetbf1ha",xxl:"_1qhetbf1hb"},defaultClass:"_1qhetbf1h6"}},responsiveArray:void 0},paddingTop:{values:{"0px":{conditions:{xs:"_1qhetbf1hc",sm:"_1qhetbf1hd",md:"_1qhetbf1he",lg:"_1qhetbf1hf",xl:"_1qhetbf1hg",xxl:"_1qhetbf1hh"},defaultClass:"_1qhetbf1hc"},"1rem":{conditions:{xs:"_1qhetbf1hi",sm:"_1qhetbf1hj",md:"_1qhetbf1hk",lg:"_1qhetbf1hl",xl:"_1qhetbf1hm",xxl:"_1qhetbf1hn"},defaultClass:"_1qhetbf1hi"},"1px":{conditions:{xs:"_1qhetbf1ho",sm:"_1qhetbf1hp",md:"_1qhetbf1hq",lg:"_1qhetbf1hr",xl:"_1qhetbf1hs",xxl:"_1qhetbf1ht"},defaultClass:"_1qhetbf1ho"},"2px":{conditions:{xs:"_1qhetbf1hu",sm:"_1qhetbf1hv",md:"_1qhetbf1hw",lg:"_1qhetbf1hx",xl:"_1qhetbf1hy",xxl:"_1qhetbf1hz"},defaultClass:"_1qhetbf1hu"}
17,"6px":{conditions:{xs:"_1qhetbf1i0",sm:"_1qhetbf1i1",md:"_1qhetbf1i2",lg:"_1qhetbf1i3",xl:"_1qhetbf1i4",xxl:"_1qhetbf1i5"},defaultClass:"_1qhetbf1i0"},"4px":{conditions:{xs:"_1qhetbf1i6",sm:"_1qhetbf1i7",md:"_1qhetbf1i8",lg:"_1qhetbf1i9",xl:"_1qhetbf1ia",xxl:"_1qhetbf1ib"},defaultClass:"_1qhetbf1i6"},"8px":{conditions:{xs:"_1qhetbf1ic",sm:"_1qhetbf1id",md:"_1qhetbf1ie",lg:"_1qhetbf1if",xl:"_1qhetbf1ig",xxl:"_1qhetbf1ih"},defaultClass:"_1qhetbf1ic"},"12px":{conditions:{xs:"_1qhetbf1ii",sm:"_1qhetbf1ij",md:"_1qhetbf1ik",lg:"_1qhetbf1il",xl:"_1qhetbf1im",xxl:"_1qhetbf1in"},defaultClass:"_1qhetbf1ii"},"14px":{conditions:{xs:"_1qhetbf1io",sm:"_1qhetbf1ip",md:"_1qhetbf1iq",lg:"_1qhetbf1ir",xl:"_1qhetbf1is",xxl:"_1qhetbf1it"},defaultClass:"_1qhetbf1io"},"16px":{conditions:{xs:"_1qhetbf1iu",sm:"_1qhetbf1iv",md:"_1qhetbf1iw",lg:"_1qhetbf1ix",xl:"_1qhetbf1iy",xxl:"_1qhetbf1iz"},defaultClass:"_1qhetbf1iu"},"20px":{conditions:{xs:"_1qhetbf1j0",sm:"_1qhetbf1j1",md:"_1qhetbf1j2",lg:"_1qhetbf1j3",xl:"_1qhetbf1j4",xxl:"_1qhetbf1j5"},defaultClass:"_1qhetbf1j0"},"24px":{conditions:{xs:"_1qhetbf1j6",sm:"_1qhetbf1j7",md:"_1qhetbf1j8",lg:"_1qhetbf1j9",xl:"_1qhetbf1ja",xxl:"_1qhetbf1jb"},defaultClass:"_1qhetbf1j6"},"32px":{conditions:{xs:"_1qhetbf1jc",sm:"_1qhetbf1jd",md:"_1qhetbf1je",lg:"_1qhetbf1jf",xl:"_1qhetbf1jg",xxl:"_1qhetbf1jh"},defaultClass:"_1qhetbf1jc"},"48px":{conditions:{xs:"_1qhetbf1ji",sm:"_1qhetbf1jj",md:"_1qhetbf1jk",lg:"_1qhetbf1jl",xl:"_1qhetbf1jm",xxl:"_1qhetbf1jn"},defaultClass:"_1qhetbf1ji"},"56px":{conditions:{xs:"_1qhetbf1jo",sm:"_1qhetbf1jp",md:"_1qhetbf1jq",lg:"_1qhetbf1jr",xl:"_1qhetbf1js",xxl:"_1qhetbf1jt"},defaultClass:"_1qhetbf1jo"},"64px":{conditions:{xs:"_1qhetbf1ju",sm:"_1qhetbf1jv",md:"_1qhetbf1jw",lg:"_1qhetbf1jx",xl:"_1qhetbf1jy",xxl:"_1qhetbf1jz"},defaultClass:"_1qhetbf1ju"}},responsiveArray:void 0},fontSize:{values:{"10px":{conditions:{xs:"_1qhetbf1k0",sm:"_1qhetbf1k1",md:"_1qhetbf1k2",lg:"_1qhetbf1k3",xl:"_1qhetbf1k4",xxl:"_1qhetbf1k5"},defaultClass:"_1qhetbf1k0"},"12px":{conditions:{xs:"_1qhetbf1k6",sm:"_1qhetbf1k7",md:"_1qhetbf1k8",lg:"_1qhetbf1k9",xl:"_1qhetbf1ka",xxl:"_1qhetbf1kb"},defaultClass:"_1qhetbf1k6"},"16px":{conditions:{xs:"_1qhetbf1kc",sm:"_1qhetbf1kd",md:"_1qhetbf1ke",lg:"_1qhetbf1kf",xl:"_1qhetbf1kg",xxl:"_1qhetbf1kh"},defaultClass:"_1qhetbf1kc"},"14px":{conditions:{xs:"_1qhetbf1ki",sm:"_1qhetbf1kj",md:"_1qhetbf1kk",lg:"_1qhetbf1kl",xl:"_1qhetbf1km",xxl:"_1qhetbf1kn"},defaultClass:"_1qhetbf1ki"},"20px":{conditions:{xs:"_1qhetbf1ko",sm:"_1qhetbf1kp",md:"_1qhetbf1kq",lg:"_1qhetbf1kr",xl:"_1qhetbf1ks",xxl:"_1qhetbf1kt"},defaultClass:"_1qhetbf1ko"},"40px":{conditions:{xs:"_1qhetbf1ku",sm:"_1qhetbf1kv",md:"_1qhetbf1kw",lg:"_1qhetbf1kx",xl:"_1qhetbf1ky",xxl:"_1qhetbf1kz"},defaultClass:"_1qhetbf1ku"},inherit:{conditions:{xs:"_1qhetbf1l0",sm:"_1qhetbf1l1",md:"_1qhetbf1l2",lg:"_1qhetbf1l3",xl:"_1qhetbf1l4",xxl:"_1qhetbf1l5"},defaultClass:"_1qhetbf1l0"}},responsiveArray:void 0},flex:{values:{1:{conditions:{xs:"_1qhetbf1l6",sm:"_1qhetbf1l7",md:"_1qhetbf1l8",lg:"_1qhetbf1l9",xl:"_1qhetbf1la",xxl:"_1qhetbf1lb"},defaultClass:"_1qhetbf1l6"},auto:{conditions:{xs:"_1qhetbf1lc",sm:"_1qhetbf1ld",md:"_1qhetbf1le",lg:"_1qhetbf1lf",xl:"_1qhetbf1lg",xxl:"_1qhetbf1lh"},defaultClass:"_1qhetbf1lc"},initial:{conditions:{xs:"_1qhetbf1li",sm:"_1qhetbf1lj",md:"_1qhetbf1lk",lg:"_1qhetbf1ll",xl:"_1qhetbf1lm",xxl:"_1qhetbf1ln"},defaultClass:"_1qhetbf1li"},none:{conditions:{xs:"_1qhetbf1lo",sm:"_1qhetbf1lp",md:"_1qhetbf1lq",lg:"_1qhetbf1lr",xl:"_1qhetbf1ls",xxl:"_1qhetbf1lt"},defaultClass:"_1qhetbf1lo"}},responsiveArray:void 0},boxShadow:{values:{level1:{conditions:{xs:"_1qhetbf1lu",sm:"_1qhetbf1lv",md:"_1qhetbf1lw",lg:"_1qhetbf1lx",xl:"_1qhetbf1ly",xxl:"_1qhetbf1lz"},defaultClass:"_1qhetbf1lu"},active:{conditions:{xs:"_1qhetbf1m0",sm:"_1qhetbf1m1",md:"_1qhetbf1m2",lg:"_1qhetbf1m3",xl:"_1qhetbf1m4",xxl:"_1qhetbf1m5"},defaultClass:"_1qhetbf1m0"},success:{conditions:{xs:"_1qhetbf1m6",sm:"_1qhetbf1m7",md:"_1qhetbf1m8",lg:"_1qhetbf1m9",xl:"_1qhetbf1ma",xxl:"_1qhetbf1mb"},defaultClass:"_1qhetbf1m6"},warning:{conditions:{xs:"_1qhetbf1mc",sm:"_1qhetbf1md",md:"_1qhetbf1me",lg:"_1qhetbf1mf",xl:"_1qhetbf1mg",xxl:"_1qhetbf1mh"},defaultClass:"_1qhetbf1mc"},danger:{conditions:{xs:"_1qhetbf1mi",sm:"_1qhetbf1mj",md:"_1qhetbf1mk",lg:"_1qhetbf1ml",xl:"_1qhetbf1mm",xxl:"_1qhetbf1mn"},defaultClass:"_1qhetbf1mi"},focus:{conditions:{xs:"_1qhetbf1mo",sm:"_1qhetbf1mp",md:"_1qhetbf1mq",lg:"_1qhetbf1mr",xl:"_1qhetbf1ms",xxl:"_1qhetbf1mt"},defaultClass:"_1qhetbf1mo"},inset:{conditions:{xs:"_1qhetbf1mu",sm:"_1qhetbf1mv",md:"_1qhetbf1mw",lg:"_1qhetbf1mx",xl:"_1qhetbf1my",xxl:"_1qhetbf1mz"},defaultClass:"_1qhetbf1mu"},tooltip:{conditions:{xs:"_1qhetbf1n0",sm:"_1qhetbf1n1",md:"_1qhetbf1n2",lg:"_1qhetbf1n3",xl:"_1qhetbf1n4",xxl:"_1qhetbf1n5"},defaultClass:"_1qhetbf1n0"}},responsiveArray:void 0},width:{values:{"0px":{conditions:{xs:"_1qhetbf1n6",sm:"_1qhetbf1n7",md:"_1qhetbf1n8",lg:"_1qhetbf1n9",xl:"_1qhetbf1na",xxl:"_1qhetbf1nb"},defaultClass:"_1qhetbf1n6"},"1rem":{conditions:{xs:"_1qhetbf1nc",sm:"_1qhetbf1nd",md:"_1qhetbf1ne",lg:"_1qhetbf1nf",xl:"_1qhetbf1ng",xxl:"_1qhetbf1nh"},defaultClass:"_1qhetbf1nc"},"1px":{conditions:{xs:"_1qhetbf1ni",sm:"_1qhetbf1nj",md:"_1qhetbf1nk",lg:"_1qhetbf1nl",xl:"_1qhetbf1nm",xxl:"_1qhetbf1nn"},defaultClass:"_1qhetbf1ni"},"2px":{conditions:{xs:"_1qhetbf1no",sm:"_1qhetbf1np",md:"_1qhetbf1nq",lg:"_1qhetbf1nr",xl:"_1qhetbf1ns",xxl:"_1qhetbf1nt"},defaultClass:"_1qhetbf1no"},"6px":{conditions:{xs:"_1qhetbf1nu",sm:"_1qhetbf1nv",md:"_1qhetbf1nw",lg:"_1qhetbf1nx",xl:"_1qhetbf1ny",xxl:"_1qhetbf1nz"},defaultClass:"_1qhetbf1nu"},"4px":{conditions:{xs:"_1qhetbf1o0",sm:"_1qhetbf1o1",md:"_1qhetbf1o2",lg:"_1qhetbf1o3",xl:"_1qhetbf1o4",xxl:"_1qhetbf1o5"},defaultClass:"_1qhetbf1o0"},"8px":{conditions:{xs:"_1qhetbf1o6",sm:"_1qhetbf1o7",md:"_1qhetbf1o8",lg:"_1qhetbf1o9",xl:"_1qhetbf1oa",xxl:"_1qhetbf1ob"},defaultClass:"_1qhetbf1o6"},"12px":{conditions:{xs:"_1qhetbf1oc",sm:"_1qhetbf1od",md:"_1qhetbf1oe",lg:"_1qhetbf1of",xl:"_1qhetbf1og",xxl:"_1qhetbf1oh"},defaultClass:"_1qhetbf1oc"},"14px":{conditions:{xs:"_1qhetbf1oi",sm:"_1qhetbf1oj",md:"_1qhetbf1ok",lg:"_1qhetbf1ol",xl:"_1qhetbf1om",xxl:"_1qhetbf1on"},defaultClass:"_1qhetbf1oi"},"16px":{conditions:{xs:"_1qhetbf1oo",sm:"_1qhetbf1op",md:"_1qhetbf1oq",lg:"_1qhetbf1or",xl:"_1qhetbf1os",xxl:"_1qhetbf1ot"},defaultClass:"_1qhetbf1oo"},"20px":{conditions:{xs:"_1qhetbf1ou",sm:"_1qhetbf1ov",md:"_1qhetbf1ow",lg:"_1qhetbf1ox",xl:"_1qhetbf1oy",xxl:"_1qhetbf1oz"},defaultClass:"_1qhetbf1ou"},"24px":{conditions:{xs:"_1qhetbf1p0",sm:"_1qhetbf1p1",md:"_1qhetbf1p2",lg:"_1qhetbf1p3",xl:"_1qhetbf1p4",xxl:"_1qhetbf1p5"},defaultClass:"_1qhetbf1p0"},"32px":{conditions:{xs:"_1qhetbf1p6",sm:"_1qhetbf1p7",md:"_1qhetbf1p8",lg:"_1qhetbf1p9",xl:"_1qhetbf1pa",xxl:"_1qhetbf1pb"},defaultClass:"_1qhetbf1p6"},"48px":{conditions:{xs:"_1qhetbf1pc",sm:"_1qhetbf1pd",md:"_1qhetbf1pe",lg:"_1qhetbf1pf",xl:"_1qhetbf1pg",xxl:"_1qhetbf1ph"},defaultClass:"_1qhetbf1pc"},"56px":{conditions:{xs:"_1qhetbf1pi",sm:"_1qhetbf1pj",md:"_1qhetbf1pk",lg:"_1qhetbf1pl",xl:"_1qhetbf1pm",xxl:"_1qhetbf1pn"},defaultClass:"_1qhetbf1pi"},"64px":{conditions:{xs:"_1qhetbf1po",sm:"_1qhetbf1pp",md:"_1qhetbf1pq",lg:"_1qhetbf1pr",xl:"_1qhetbf1ps",xxl:"_1qhetbf1pt"},defaultClass:"_1qhetbf1po"},"100%":{conditions:{xs:"_1qhetbf1pu",sm:"_1qhetbf1pv",md:"_1qhetbf1pw",lg:"_1qhetbf1px",xl:"_1qhetbf1py",xxl:"_1qhetbf1pz"},defaultClass:"_1qhetbf1pu"},auto:{conditions:{xs:"_1qhetbf1q0",sm:"_1qhetbf1q1",md:"_1qhetbf1q2",lg:"_1qhetbf1q3",xl:"_1qhetbf1q4",xxl:"_1qhetbf1q5"},defaultClass:"_1qhetbf1q0"},"fit-content":{conditions:{xs:"_1qhetbf1q6",sm:"_1qhetbf1q7",md:"_1qhetbf1q8",lg:"_1qhetbf1q9",xl:"_1qhetbf1qa",xxl:"_1qhetbf1qb"},defaultClass:"_1qhetbf1q6"},"420px":{conditions:{xs:"_1qhetbf1qc",sm:"_1qhetbf1qd",md:"_1qhetbf1qe",lg:"_1qhetbf1qf",xl:"_1qhetbf1qg",xxl:"_1qhetbf1qh"},defaultClass:"_1qhetbf1qc"},screenSm:{conditions:{xs:"_1qhetbf1qi",sm:"_1qhetbf1qj",md:"_1qhetbf1qk",lg:"_1qhetbf1ql",xl:"_1qhetbf1qm",xxl:"_1qhetbf1qn"},defaultClass:"_1qhetbf1qi"},screenMd:{conditions:{xs:"_1qhetbf1qo",sm:"_1qhetbf1qp",md:"_1qhetbf1qq",lg:"_1qhetbf1qr",xl
17:"_1qhetbf1qs",xxl:"_1qhetbf1qt"},defaultClass:"_1qhetbf1qo"},screenLg:{conditions:{xs:"_1qhetbf1qu",sm:"_1qhetbf1qv",md:"_1qhetbf1qw",lg:"_1qhetbf1qx",xl:"_1qhetbf1qy",xxl:"_1qhetbf1qz"},defaultClass:"_1qhetbf1qu"},screenXl:{conditions:{xs:"_1qhetbf1r0",sm:"_1qhetbf1r1",md:"_1qhetbf1r2",lg:"_1qhetbf1r3",xl:"_1qhetbf1r4",xxl:"_1qhetbf1r5"},defaultClass:"_1qhetbf1r0"}},responsiveArray:void 0},zIndex:{values:{0:{conditions:{xs:"_1qhetbf1r6",sm:"_1qhetbf1r7",md:"_1qhetbf1r8",lg:"_1qhetbf1r9",xl:"_1qhetbf1ra",xxl:"_1qhetbf1rb"},defaultClass:"_1qhetbf1r6"},1:{conditions:{xs:"_1qhetbf1rc",sm:"_1qhetbf1rd",md:"_1qhetbf1re",lg:"_1qhetbf1rf",xl:"_1qhetbf1rg",xxl:"_1qhetbf1rh"},defaultClass:"_1qhetbf1rc"},10:{conditions:{xs:"_1qhetbf1ri",sm:"_1qhetbf1rj",md:"_1qhetbf1rk",lg:"_1qhetbf1rl",xl:"_1qhetbf1rm",xxl:"_1qhetbf1rn"},defaultClass:"_1qhetbf1ri"},20:{conditions:{xs:"_1qhetbf1ro",sm:"_1qhetbf1rp",md:"_1qhetbf1rq",lg:"_1qhetbf1rr",xl:"_1qhetbf1rs",xxl:"_1qhetbf1rt"},defaultClass:"_1qhetbf1ro"},30:{conditions:{xs:"_1qhetbf1ru",sm:"_1qhetbf1rv",md:"_1qhetbf1rw",lg:"_1qhetbf1rx",xl:"_1qhetbf1ry",xxl:"_1qhetbf1rz"},defaultClass:"_1qhetbf1ru"},40:{conditions:{xs:"_1qhetbf1s0",sm:"_1qhetbf1s1",md:"_1qhetbf1s2",lg:"_1qhetbf1s3",xl:"_1qhetbf1s4",xxl:"_1qhetbf1s5"},defaultClass:"_1qhetbf1s0"},50:{conditions:{xs:"_1qhetbf1s6",sm:"_1qhetbf1s7",md:"_1qhetbf1s8",lg:"_1qhetbf1s9",xl:"_1qhetbf1sa",xxl:"_1qhetbf1sb"},defaultClass:"_1qhetbf1s6"},75:{conditions:{xs:"_1qhetbf1sc",sm:"_1qhetbf1sd",md:"_1qhetbf1se",lg:"_1qhetbf1sf",xl:"_1qhetbf1sg",xxl:"_1qhetbf1sh"},defaultClass:"_1qhetbf1sc"},99:{conditions:{xs:"_1qhetbf1si",sm:"_1qhetbf1sj",md:"_1qhetbf1sk",lg:"_1qhetbf1sl",xl:"_1qhetbf1sm",xxl:"_1qhetbf1sn"},defaultClass:"_1qhetbf1si"},100:{conditions:{xs:"_1qhetbf1so",sm:"_1qhetbf1sp",md:"_1qhetbf1sq",lg:"_1qhetbf1sr",xl:"_1qhetbf1ss",xxl:"_1qhetbf1st"},defaultClass:"_1qhetbf1so"},ribbon:{conditions:{xs:"_1qhetbf1su",sm:"_1qhetbf1sv",md:"_1qhetbf1sw",lg:"_1qhetbf1sx",xl:"_1qhetbf1sy",xxl:"_1qhetbf1sz"},defaultClass:"_1qhetbf1su"},dropdown:{conditions:{xs:"_1qhetbf1t0",sm:"_1qhetbf1t1",md:"_1qhetbf1t2",lg:"_1qhetbf1t3",xl:"_1qhetbf1t4",xxl:"_1qhetbf1t5"},defaultClass:"_1qhetbf1t0"},modal:{conditions:{xs:"_1qhetbf1t6",sm:"_1qhetbf1t7",md:"_1qhetbf1t8",lg:"_1qhetbf1t9",xl:"_1qhetbf1ta",xxl:"_1qhetbf1tb"},defaultClass:"_1qhetbf1t6"},auto:{conditions:{xs:"_1qhetbf1tc",sm:"_1qhetbf1td",md:"_1qhetbf1te",lg:"_1qhetbf1tf",xl:"_1qhetbf1tg",xxl:"_1qhetbf1th"},defaultClass:"_1qhetbf1tc"}},responsiveArray:void 0},borderTop:{values:{1:{conditions:{xs:"_1qhetbf1ti",sm:"_1qhetbf1tj",md:"_1qhetbf1tk",lg:"_1qhetbf1tl",xl:"_1qhetbf1tm",xxl:"_1qhetbf1tn"},defaultClass:"_1qhetbf1ti"}},responsiveArray:void 0},borderRadius:{values:{0:{conditions:{xs:"_1qhetbf1to",sm:"_1qhetbf1tp",md:"_1qhetbf1tq",lg:"_1qhetbf1tr",xl:"_1qhetbf1ts",xxl:"_1qhetbf1tt"},defaultClass:"_1qhetbf1to"},"8px":{conditions:{xs:"_1qhetbf1tu",sm:"_1qhetbf1tv",md:"_1qhetbf1tw",lg:"_1qhetbf1tx",xl:"_1qhetbf1ty",xxl:"_1qhetbf1tz"},defaultClass:"_1qhetbf1tu"},"12px":{conditions:{xs:"_1qhetbf1u0",sm:"_1qhetbf1u1",md:"_1qhetbf1u2",lg:"_1qhetbf1u3",xl:"_1qhetbf1u4",xxl:"_1qhetbf1u5"},defaultClass:"_1qhetbf1u0"},"20px":{conditions:{xs:"_1qhetbf1u6",sm:"_1qhetbf1u7",md:"_1qhetbf1u8",lg:"_1qhetbf1u9",xl:"_1qhetbf1ua",xxl:"_1qhetbf1ub"},defaultClass:"_1qhetbf1u6"},"32px":{conditions:{xs:"_1qhetbf1uc",sm:"_1qhetbf1ud",md:"_1qhetbf1ue",lg:"_1qhetbf1uf",xl:"_1qhetbf1ug",xxl:"_1qhetbf1uh"},defaultClass:"_1qhetbf1uc"},small:{conditions:{xs:"_1qhetbf1ui",sm:"_1qhetbf1uj",md:"_1qhetbf1uk",lg:"_1qhetbf1ul",xl:"_1qhetbf1um",xxl:"_1qhetbf1un"},defaultClass:"_1qhetbf1ui"},default:{conditions:{xs:"_1qhetbf1uo",sm:"_1qhetbf1up",md:"_1qhetbf1uq",lg:"_1qhetbf1ur",xl:"_1qhetbf1us",xxl:"_1qhetbf1ut"},defaultClass:"_1qhetbf1uo"},card:{conditions:{xs:"_1qhetbf1uu",sm:"_1qhetbf1uv",md:"_1qhetbf1uw",lg:"_1qhetbf1ux",xl:"_1qhetbf1uy",xxl:"_1qhetbf1uz"},defaultClass:"_1qhetbf1uu"},circle:{conditions:{xs:"_1qhetbf1v0",sm:"_1qhetbf1v1",md:"_1qhetbf1v2",lg:"_1qhetbf1v3",xl:"_1qhetbf1v4",xxl:"_1qhetbf1v5"},defaultClass:"_1qhetbf1v0"}},responsiveArray:void 0},borderTopLeftRadius:{values:{0:{conditions:{xs:"_1qhetbf1v6",sm:"_1qhetbf1v7",md:"_1qhetbf1v8",lg:"_1qhetbf1v9",xl:"_1qhetbf1va",xxl:"_1qhetbf1vb"},defaultClass:"_1qhetbf1v6"},"8px":{conditions:{xs:"_1qhetbf1vc",sm:"_1qhetbf1vd",md:"_1qhetbf1ve",lg:"_1qhetbf1vf",xl:"_1qhetbf1vg",xxl:"_1qhetbf1vh"},defaultClass:"_1qhetbf1vc"},"12px":{conditions:{xs:"_1qhetbf1vi",sm:"_1qhetbf1vj",md:"_1qhetbf1vk",lg:"_1qhetbf1vl",xl:"_1qhetbf1vm",xxl:"_1qhetbf1vn"},defaultClass:"_1qhetbf1vi"},"20px":{conditions:{xs:"_1qhetbf1vo",sm:"_1qhetbf1vp",md:"_1qhetbf1vq",lg:"_1qhetbf1vr",xl:"_1qhetbf1vs",xxl:"_1qhetbf1vt"},defaultClass:"_1qhetbf1vo"},"32px":{conditions:{xs:"_1qhetbf1vu",sm:"_1qhetbf1vv",md:"_1qhetbf1vw",lg:"_1qhetbf1vx",xl:"_1qhetbf1vy",xxl:"_1qhetbf1vz"},defaultClass:"_1qhetbf1vu"}
17,small:{conditions:{xs:"_1qhetbf1w0",sm:"_1qhetbf1w1",md:"_1qhetbf1w2",lg:"_1qhetbf1w3",xl:"_1qhetbf1w4",xxl:"_1qhetbf1w5"},defaultClass:"_1qhetbf1w0"},default:{conditions:{xs:"_1qhetbf1w6",sm:"_1qhetbf1w7",md:"_1qhetbf1w8",lg:"_1qhetbf1w9",xl:"_1qhetbf1wa",xxl:"_1qhetbf1wb"},defaultClass:"_1qhetbf1w6"},card:{conditions:{xs:"_1qhetbf1wc",sm:"_1qhetbf1wd",md:"_1qhetbf1we",lg:"_1qhetbf1wf",xl:"_1qhetbf1wg",xxl:"_1qhetbf1wh"},defaultClass:"_1qhetbf1wc"},circle:{conditions:{xs:"_1qhetbf1wi",sm:"_1qhetbf1wj",md:"_1qhetbf1wk",lg:"_1qhetbf1wl",xl:"_1qhetbf1wm",xxl:"_1qhetbf1wn"},defaultClass:"_1qhetbf1wi"}},responsiveArray:void 0},borderBottomRightRadius:{values:{0:{conditions:{xs:"_1qhetbf1wo",sm:"_1qhetbf1wp",md:"_1qhetbf1wq",lg:"_1qhetbf1wr",xl:"_1qhetbf1ws",xxl:"_1qhetbf1wt"},defaultClass:"_1qhetbf1wo"},"8px":{conditions:{xs:"_1qhetbf1wu",sm:"_1qhetbf1wv",md:"_1qhetbf1ww",lg:"_1qhetbf1wx",xl:"_1qhetbf1wy",xxl:"_1qhetbf1wz"},defaultClass:"_1qhetbf1wu"},"12px":{conditions:{xs:"_1qhetbf1x0",sm:"_1qhetbf1x1",md:"_1qhetbf1x2",lg:"_1qhetbf1x3",xl:"_1qhetbf1x4",xxl:"_1qhetbf1x5"},defaultClass:"_1qhetbf1x0"},"20px":{conditions:{xs:"_1qhetbf1x6",sm:"_1qhetbf1x7",md:"_1qhetbf1x8",lg:"_1qhetbf1x9",xl:"_1qhetbf1xa",xxl:"_1qhetbf1xb"},defaultClass:"_1qhetbf1x6"},"32px":{conditions:{xs:"_1qhetbf1xc",sm:"_1qhetbf1xd",md:"_1qhetbf1xe",lg:"_1qhetbf1xf",xl:"_1qhetbf1xg",xxl:"_1qhetbf1xh"},defaultClass:"_1qhetbf1xc"},small:{conditions:{xs:"_1qhetbf1xi",sm:"_1qhetbf1xj",md:"_1qhetbf1xk",lg:"_1qhetbf1xl",xl:"_1qhetbf1xm",xxl:"_1qhetbf1xn"},defaultClass:"_1qhetbf1xi"},default:{conditions:{xs:"_1qhetbf1xo",sm:"_1qhetbf1xp",md:"_1qhetbf1xq",lg:"_1qhetbf1xr",xl:"_1qhetbf1xs",xxl:"_1qhetbf1xt"},defaultClass:"_1qhetbf1xo"},card:{conditions:{xs:"_1qhetbf1xu",sm:"_1qhetbf1xv",md:"_1qhetbf1xw",lg:"_1qhetbf1xx",xl:"_1qhetbf1xy",xxl:"_1qhetbf1xz"},defaultClass:"_1qhetbf1xu"},circle:{conditions:{xs:"_1qhetbf1y0",sm:"_1qhetbf1y1",md:"_1qhetbf1y2",lg:"_1qhetbf1y3",xl:"_1qhetbf1y4",xxl:"_1qhetbf1y5"},defaultClass:"_1qhetbf1y0"}},responsiveArray:void 0},borderTopRightRadius:{values:{0:{conditions:{xs:"_1qhetbf1y6",sm:"_1qhetbf1y7",md:"_1qhetbf1y8",lg:"_1qhetbf1y9",xl:"_1qhetbf1ya",xxl:"_1qhetbf1yb"},defaultClass:"_1qhetbf1y6"},"8px":{conditions:{xs:"_1qhetbf1yc",sm:"_1qhetbf1yd",md:"_1qhetbf1ye",lg:"_1qhetbf1yf",xl:"_1qhetbf1yg",xxl:"_1qhetbf1yh"},defaultClass:"_1qhetbf1yc"},"12px":{conditions:{xs:"_1qhetbf1yi",sm:"_1qhetbf1yj",md:"_1qhetbf1yk",lg:"_1qhetbf1yl",xl:"_1qhetbf1ym",xxl:"_1qhetbf1yn"},defaultClass:"_1qhetbf1yi"},"20px":{conditions:{xs:"_1qhetbf1yo",sm:"_1qhetbf1yp",md:"_1qhetbf1yq",lg:"_1qhetbf1yr",xl:"_1qhetbf1ys",xxl:"_1qhetbf1yt"},defaultClass:"_1qhetbf1yo"},"32px":{conditions:{xs:"_1qhetbf1yu",sm:"_1qhetbf1yv",md:"_1qhetbf1yw",lg:"_1qhetbf1yx",xl:"_1qhetbf1yy",xxl:"_1qhetbf1yz"},defaultClass:"_1qhetbf1yu"},small:{conditions:{xs:"_1qhetbf1z0",sm:"_1qhetbf1z1",md:"_1qhetbf1z2",lg:"_1qhetbf1z3",xl:"_1qhetbf1z4",xxl:"_1qhetbf1z5"},defaultClass:"_1qhetbf1z0"},default:{conditions:{xs:"_1qhetbf1z6",sm:"_1qhetbf1z7",md:"_1qhetbf1z8",lg:"_1qhetbf1z9",xl:"_1qhetbf1za",xxl:"_1qhetbf1zb"},defaultClass:"_1qhetbf1z6"},card:{conditions:{xs:"_1qhetbf1zc",sm:"_1qhetbf1zd",md:"_1qhetbf1ze",lg:"_1qhetbf1zf",xl:"_1qhetbf1zg",xxl:"_1qhetbf1zh"},defaultClass:"_1qhetbf1zc"},circle:{conditions:{xs:"_1qhetbf1zi",sm:"_1qhetbf1zj",md:"_1qhetbf1zk",lg:"_1qhetbf1zl",xl:"_1qhetbf1zm",xxl:"_1qhetbf1zn"},defaultClass:"_1qhetbf1zi"}},responsiveArray:void 0},borderBottomLeftRadius:{values:{0:{conditions:{xs:"_1qhetbf1zo",sm:"_1qhetbf1zp",md:"_1qhetbf1zq",lg:"_1qhetbf1zr",xl:"_1qhetbf1zs",xxl:"_1qhetbf1zt"},defaultClass:"_1qhetbf1zo"},"8px":{conditions:{xs:"_1qhetbf1zu",sm:"_1qhetbf1zv",md:"_1qhetbf1zw",lg:"_1qhetbf1zx",xl:"_1qhetbf1zy",xxl:"_1qhetbf1zz"},defaultClass:"_1qhetbf1zu"},"12px":{conditions:{xs:"_1qhetbf200",sm:"_1qhetbf201",md:"_1qhetbf202",lg:"_1qhetbf203",xl:"_1qhetbf204",xxl:"_1qhetbf205"},defaultClass:"_1qhetbf200"},"20px":{conditions:{xs:"_1qhetbf206",sm:"_1qhetbf207",md:"_1qhetbf208",lg:"_1qhetbf209",xl:"_1qhetbf20a",xxl:"_1qhetbf20b"},defaultClass:"_1qhetbf206"},"32px":{conditions:{xs:"_1qhetbf20c",sm:"_1qhetbf20d",md:"_1qhetbf20e",lg:"_1qhetbf20f",xl:"_1qhetbf20g",xxl:"_1qhetbf20h"},defaultClass:"_1qhetbf20c"},small:{conditions:{xs:"_1qhetbf20i",sm:"_1qhetbf20j",md:"_1qhetbf20k",lg:"_1qhetbf20l",xl:"_1qhetbf20m",xxl:"_1qhetbf20n"},defaultClass:"_1qhetbf20i"},default:{conditions:{xs:"_1qhetbf20o",sm:"_1qhetbf20p",md:"_1qhetbf20q",lg:"_1qhetbf20r",xl:"_1qhetbf20s",xxl:"_1qhetbf20t"},defaultClass:"_1qhetbf20o"},card:{conditions:{xs:"_1qhetbf20u",sm:"_1qhetbf20v",md:"_1qhetbf20w",lg:"_1qhetbf20x",xl:"_1qhetbf20y",xxl:"_1qhetbf20z"},defaultClass:"_1qhetbf20u"},circle:{conditions:{xs:"_1qhetbf210",sm:"_1qhetbf211",md:"_1qhetbf212",lg:"_1qhetbf213",xl:"_1qhetbf214",xxl:"_1qhetbf215"},defaultClass:"_1qhetbf210"}},responsiveArray:void 0},gap:{values:{"0px":{conditions:{xs:"_1qhetbf216",sm:"_1qhetbf217",md:"_1qhetbf218",lg:"_1qhetbf219",xl:"_1qhetbf21a",xxl:"_1qhetbf21b"},defaultClass:"_1qhetbf216"},"1rem":{conditions:{xs:"_1qhetbf21c",sm:"_1qhetbf21d",md:"_1qhetbf21e",lg:"_1qhetbf21f",xl:"_1qhetbf21g",xxl:"_1qhetbf21h"},defaultClass:"_1qhetbf21c"},"1px":{conditions:{xs:"_1qhetbf21i",sm:"_1qhetbf21j",md:"_1qhetbf21k",lg:"_1qhetbf21l",xl:"_1qhetbf21m",xxl:"_1qhetbf21n"},defaultClass:"_1qhetbf21i"},"2px":{conditions:{xs:"_1qhetbf21o",sm:"_1qhetbf21p",md:"_1qhetbf21q",lg:"_1qhetbf21r",xl:"_1qhetbf21s",xxl:"_1qhetbf21t"},defaultClass:"_1qhetbf21o"},"6px":{conditions:{xs:"_1qhetbf21u",sm:"_1qhetbf21v",md:"_1qhetbf21w",lg:"_1qhetbf21x",xl:"_1qhetbf21y",xxl:"_1qhetbf21z"},defaultClass:"_1qhetbf21u"},"4px":{conditions:{xs:"_1qhetbf220",sm:"_1qhetbf221",md:"_1qhetbf222",lg:"_1qhetbf223",xl:"_1qhetbf224",xxl:"_1qhetbf225"},defaultClass:"_1qhetbf220"},"8px":{conditions:{xs:"_1qhetbf226",sm:"_1qhetbf227",md:"_1qhetbf228",lg:"_1qhetbf229",xl:"_1qhetbf22a",xxl:"_1qhetbf22b"},defaultClass:"_1qhetbf226"},"12px":{conditions:{xs:"_1qhetbf22c",sm:"_1qhetbf22d",md:"_1qhetbf22e",lg:"_1qhetbf22f",xl:"_1qhetbf22g",xxl:"_1qhetbf22h"},defaultClass:"_1qhetbf22c"},"14px":{conditions:{xs:"_1qhetbf22i",sm:"_1qhetbf22j",md:"_1qhetbf22k",lg:"_1qhetbf22l",xl:"_1qhetbf22m",xxl:"_1qhetbf22n"},defaultClass:"_1qhetbf22i"},"16px":{conditions:{xs:"_1qhetbf22o",sm:"_1qhetbf22p",md:"_1qhetbf22q",lg:"_1qhetbf22r",xl
17:"_1qhetbf22s",xxl:"_1qhetbf22t"},defaultClass:"_1qhetbf22o"},"20px":{conditions:{xs:"_1qhetbf22u",sm:"_1qhetbf22v",md:"_1qhetbf22w",lg:"_1qhetbf22x",xl:"_1qhetbf22y",xxl:"_1qhetbf22z"},defaultClass:"_1qhetbf22u"},"24px":{conditions:{xs:"_1qhetbf230",sm:"_1qhetbf231",md:"_1qhetbf232",lg:"_1qhetbf233",xl:"_1qhetbf234",xxl:"_1qhetbf235"},defaultClass:"_1qhetbf230"},"32px":{conditions:{xs:"_1qhetbf236",sm:"_1qhetbf237",md:"_1qhetbf238",lg:"_1qhetbf239",xl:"_1qhetbf23a",xxl:"_1qhetbf23b"},defaultClass:"_1qhetbf236"},"48px":{conditions:{xs:"_1qhetbf23c",sm:"_1qhetbf23d",md:"_1qhetbf23e",lg:"_1qhetbf23f",xl:"_1qhetbf23g",xxl:"_1qhetbf23h"},defaultClass:"_1qhetbf23c"},"56px":{conditions:{xs:"_1qhetbf23i",sm:"_1qhetbf23j",md:"_1qhetbf23k",lg:"_1qhetbf23l",xl:"_1qhetbf23m",xxl:"_1qhetbf23n"},defaultClass:"_1qhetbf23i"},"64px":{conditions:{xs:"_1qhetbf23o",sm:"_1qhetbf23p",md:"_1qhetbf23q",lg:"_1qhetbf23r",xl:"_1qhetbf23s",xxl:"_1qhetbf23t"},defaultClass:"_1qhetbf23o"},sm:{conditions:{xs:"_1qhetbf23u",sm:"_1qhetbf23v",md:"_1qhetbf23w",lg:"_1qhetbf23x",xl:"_1qhetbf23y",xxl:"_1qhetbf23z"},defaultClass:"_1qhetbf23u"},md:{conditions:{xs:"_1qhetbf240",sm:"_1qhetbf241",md:"_1qhetbf242",lg:"_1qhetbf243",xl:"_1qhetbf244",xxl:"_1qhetbf245"},defaultClass:"_1qhetbf240"},lg:{conditions:{xs:"_1qhetbf246",sm:"_1qhetbf247",md:"_1qhetbf248",lg:"_1qhetbf249",xl:"_1qhetbf24a",xxl:"_1qhetbf24b"},defaultClass:"_1qhetbf246"}},responsiveArray:void 0},rowGap:{values:{"0px":{conditions:{xs:"_1qhetbf24c",sm:"_1qhetbf24d",md:"_1qhetbf24e",lg:"_1qhetbf24f",xl:"_1qhetbf24g",xxl:"_1qhetbf24h"},defaultClass:"_1qhetbf24c"},"1rem":{conditions:{xs:"_1qhetbf24i",sm:"_1qhetbf24j",md:"_1qhetbf24k",lg:"_1qhetbf24l",xl:"_1qhetbf24m",xxl:"_1qhetbf24n"},defaultClass:"_1qhetbf24i"},"1px":{conditions:{xs:"_1qhetbf24o",sm:"_1qhetbf24p",md:"_1qhetbf24q",lg:"_1qhetbf24r",xl:"_1qhetbf24s",xxl:"_1qhetbf24t"},defaultClass:"_1qhetbf24o"},"2px":{conditions:{xs:"_1qhetbf24u",sm:"_1qhetbf24v",md:"_1qhetbf24w",lg:"_1qhetbf24x",xl:"_1qhetbf24y",xxl:"_1qhetbf24z"},defaultClass:"_1qhetbf24u"},"6px":{conditions:{xs:"_1qhetbf250",sm:"_1qhetbf251",md:"_1qhetbf252",lg:"_1qhetbf253",xl:"_1qhetbf254",xxl:"_1qhetbf255"},defaultClass:"_1qhetbf250"},"4px":{conditions:{xs:"_1qhetbf256",sm:"_1qhetbf257",md:"_1qhetbf258",lg:"_1qhetbf259",xl:"_1qhetbf25a",xxl:"_1qhetbf25b"},defaultClass:"_1qhetbf256"},"8px":{conditions:{xs:"_1qhetbf25c",sm:"_1qhetbf25d",md:"_1qhetbf25e",lg:"_1qhetbf25f",xl:"_1qhetbf25g",xxl:"_1qhetbf25h"},defaultClass:"_1qhetbf25c"},"12px":{conditions:{xs:"_1qhetbf25i",sm:"_1qhetbf25j",md:"_1qhetbf25k",lg:"_1qhetbf25l",xl:"_1qhetbf25m",xxl:"_1qhetbf25n"},defaultClass:"_1qhetbf25i"},"14px":{conditions:{xs:"_1qhetbf25o",sm:"_1qhetbf25p",md:"_1qhetbf25q",lg:"_1qhetbf25r",xl:"_1qhetbf25s",xxl:"_1qhetbf25t"},defaultClass:"_1qhetbf25o"},"16px":{conditions:{xs:"_1qhetbf25u",sm:"_1qhetbf25v",md:"_1qhetbf25w",lg:"_1qhetbf25x",xl:"_1qhetbf25y",xxl:"_1qhetbf25z"},defaultClass:"_1qhetbf25u"},"20px":{conditions:{xs:"_1qhetbf260",sm:"_1qhetbf261",md:"_1qhetbf262",lg:"_1qhetbf263",xl:"_1qhetbf264",xxl:"_1qhetbf265"},defaultClass:"_1qhetbf260"},"24px":{conditions:{xs:"_1qhetbf266",sm:"_1qhetbf267",md:"_1qhetbf268",lg:"_1qhetbf269",xl:"_1qhetbf26a",xxl:"_1qhetbf26b"},defaultClass:"_1qhetbf266"},"32px":{conditions:{xs:"_1qhetbf26c",sm:"_1qhetbf26d",md:"_1qhetbf26e",lg:"_1qhetbf26f",xl:"_1qhetbf26g",xxl:"_1qhetbf26h"},defaultClass:"_1qhetbf26c"},"48px":{conditions:{xs:"_1qhetbf26i",sm:"_1qhetbf26j",md:"_1qhetbf26k",lg:"_1qhetbf26l",xl:"_1qhetbf26m",xxl:"_1qhetbf26n"},defaultClass:"_1qhetbf26i"},"56px":{conditions:{xs:"_1qhetbf26o",sm:"_1qhetbf26p",md:"_1qhetbf26q",lg:"_1qhetbf26r",xl:"_1qhetbf26s",xxl:"_1qhetbf26t"},defaultClass:"_1qhetbf26o"},"64px":{conditions:{xs:"_1qhetbf26u",sm:"_1qhetbf26v",md:"_1qhetbf26w",lg:"_1qhetbf26x",xl:"_1qhetbf26y",xxl:"_1qhetbf26z"},defaultClass:"_1qhetbf26u"},sm:{conditions:{xs:"_1qhetbf270",sm:"_1qhetbf271",md:"_1qhetbf272",lg:"_1qhetbf273",xl:"_1qhetbf274",xxl:"_1qhetbf275"},defaultClass:"_1qhetbf270"},md:{conditions:{xs:"_1qhetbf276",sm:"_1qhetbf277",md:"_1qhetbf278",lg:"_1qhetbf279",xl:"_1qhetbf27a",xxl:"_1qhetbf27b"},defaultClass:"_1qhetbf276"},lg:{conditions:{xs:"_1qhetbf27c",sm:"_1qhetbf27d",md:"_1qhetbf27e",lg:"_1qhetbf27f",xl:"_1qhetbf27g",xxl:"_1qhetbf27h"},defaultClass:"_1qhetbf27c"}},responsiveArray:void 0},columnGap:{values:{"0px":{conditions:{xs:"_1qhetbf27i",sm:"_1qhetbf27j",md:"_1qhetbf27k",lg:"_1qhetbf27l",xl:"_1qhetbf27m",xxl:"_1qhetbf27n"},defaultClass:"_1qhetbf27i"},"1rem":{conditions:{xs:"_1qhetbf27o",sm:"_1qhetbf27p",md:"_1qhetbf27q",lg:"_1qhetbf27r",xl:"_1qhetbf27s",xxl:"_1qhetbf27t"},defaultClass:"_1qhetbf27o"},"1px":{conditions:{xs:"_1qhetbf27u",sm:"_1qhetbf27v",md:"_1qhetbf27w",lg:"_1qhetbf27x",xl:"_1qhetbf27y",xxl:"_1qhetbf27z"},defaultClass:"_1qhetbf27u"},"2px":{conditions:{xs:"_1qhetbf280",sm:"_1qhetbf281",md:"_1qhetbf282",lg:"_1qhetbf283",xl:"_1qhetbf284",xxl:"_1qhetbf285"},defaultClass:"_1qhetbf280"},"6px":{conditions:{xs:"_1qhetbf286",sm:"_1qhetbf287",md:"_1qhetbf288",lg:"_1qhetbf289",xl:"_1qhetbf28a",xxl:"_1qhetbf28b"},defaultClass:"_1qhetbf286"}
17,"4px":{conditions:{xs:"_1qhetbf28c",sm:"_1qhetbf28d",md:"_1qhetbf28e",lg:"_1qhetbf28f",xl:"_1qhetbf28g",xxl:"_1qhetbf28h"},defaultClass:"_1qhetbf28c"},"8px":{conditions:{xs:"_1qhetbf28i",sm:"_1qhetbf28j",md:"_1qhetbf28k",lg:"_1qhetbf28l",xl:"_1qhetbf28m",xxl:"_1qhetbf28n"},defaultClass:"_1qhetbf28i"},"12px":{conditions:{xs:"_1qhetbf28o",sm:"_1qhetbf28p",md:"_1qhetbf28q",lg:"_1qhetbf28r",xl:"_1qhetbf28s",xxl:"_1qhetbf28t"},defaultClass:"_1qhetbf28o"},"14px":{conditions:{xs:"_1qhetbf28u",sm:"_1qhetbf28v",md:"_1qhetbf28w",lg:"_1qhetbf28x",xl:"_1qhetbf28y",xxl:"_1qhetbf28z"},defaultClass:"_1qhetbf28u"},"16px":{conditions:{xs:"_1qhetbf290",sm:"_1qhetbf291",md:"_1qhetbf292",lg:"_1qhetbf293",xl:"_1qhetbf294",xxl:"_1qhetbf295"},defaultClass:"_1qhetbf290"},"20px":{conditions:{xs:"_1qhetbf296",sm:"_1qhetbf297",md:"_1qhetbf298",lg:"_1qhetbf299",xl:"_1qhetbf29a",xxl:"_1qhetbf29b"},defaultClass:"_1qhetbf296"},"24px":{conditions:{xs:"_1qhetbf29c",sm:"_1qhetbf29d",md:"_1qhetbf29e",lg:"_1qhetbf29f",xl:"_1qhetbf29g",xxl:"_1qhetbf29h"},defaultClass:"_1qhetbf29c"},"32px":{conditions:{xs:"_1qhetbf29i",sm:"_1qhetbf29j",md:"_1qhetbf29k",lg:"_1qhetbf29l",xl:"_1qhetbf29m",xxl:"_1qhetbf29n"},defaultClass:"_1qhetbf29i"},"48px":{conditions:{xs:"_1qhetbf29o",sm:"_1qhetbf29p",md:"_1qhetbf29q",lg:"_1qhetbf29r",xl:"_1qhetbf29s",xxl:"_1qhetbf29t"},defaultClass:"_1qhetbf29o"},"56px":{conditions:{xs:"_1qhetbf29u",sm:"_1qhetbf29v",md:"_1qhetbf29w",lg:"_1qhetbf29x",xl:"_1qhetbf29y",xxl:"_1qhetbf29z"},defaultClass:"_1qhetbf29u"},"64px":{conditions:{xs:"_1qhetbf2a0",sm:"_1qhetbf2a1",md:"_1qhetbf2a2",lg:"_1qhetbf2a3",xl:"_1qhetbf2a4",xxl:"_1qhetbf2a5"},defaultClass:"_1qhetbf2a0"},sm:{conditions:{xs:"_1qhetbf2a6",sm:"_1qhetbf2a7",md:"_1qhetbf2a8",lg:"_1qhetbf2a9",xl:"_1qhetbf2aa",xxl:"_1qhetbf2ab"},defaultClass:"_1qhetbf2a6"},md:{conditions:{xs:"_1qhetbf2ac",sm:"_1qhetbf2ad",md:"_1qhetbf2ae",lg:"_1qhetbf2af",xl:"_1qhetbf2ag",xxl:"_1qhetbf2ah"},defaultClass:"_1qhetbf2ac"},lg:{conditions:{xs:"_1qhetbf2ai",sm:"_1qhetbf2aj",md:"_1qhetbf2ak",lg:"_1qhetbf2al",xl:"_1qhetbf2am",xxl:"_1qhetbf2an"},defaultClass:"_1qhetbf2ai"}},responsiveArray:void 0},gridAutoRows:{values:{auto:{conditions:{xs:"_1qhetbf2ao",sm:"_1qhetbf2ap",md:"_1qhetbf2aq",lg:"_1qhetbf2ar",xl:"_1qhetbf2as",xxl:"_1qhetbf2at"},defaultClass:"_1qhetbf2ao"}},responsiveArray:void 0},opacity:{values:{"0.5":{conditions:{xs:"_1qhetbf2au",sm:"_1qhetbf2av",md:"_1qhetbf2aw",lg:"_1qhetbf2ax",xl:"_1qhetbf2ay",xxl:"_1qhetbf2az"},defaultClass:"_1qhetbf2au"},"0.6":{conditions:{xs:"_1qhetbf2b0",sm:"_1qhetbf2b1",md:"_1qhetbf2b2",lg:"_1qhetbf2b3",xl:"_1qhetbf2b4",xxl:"_1qhetbf2b5"},defaultClass:"_1qhetbf2b0"}},responsiveArray:void 0},lineHeight:{values:{"16px":{conditions:{xs:"_1qhetbf2b6",sm:"_1qhetbf2b7",md:"_1qhetbf2b8",lg:"_1qhetbf2b9",xl:"_1qhetbf2ba",xxl:"_1qhetbf2bb"},defaultClass:"_1qhetbf2b6"}},responsiveArray:void 0},borderBottomColor:{values:{light:{conditions:{xs:"_1qhetbf2bc",sm:"_1qhetbf2bd",md:"_1qhetbf2be",lg:"_1qhetbf2bf",xl:"_1qhetbf2bg",xxl:"_1qhetbf2bh"},defaultClass:"_1qhetbf2bc"},dark:{conditions:{xs:"_1qhetbf2bi",sm:"_1qhetbf2bj",md:"_1qhetbf2bk",lg:"_1qhetbf2bl",xl:"_1qhetbf2bm",xxl:"_1qhetbf2bn"},defaultClass:"_1qhetbf2bi"},white:{conditions:{xs:"_1qhetbf2bo",sm:"_1qhetbf2bp",md:"_1qhetbf2bq",lg:"_1qhetbf2br",xl:"_1qhetbf2bs",xxl:"_1qhetbf2bt"},defaultClass:"_1qhetbf2bo"},failure:{conditions:{xs:"_1qhetbf2bu",sm:"_1qhetbf2bv",md:"_1qhetbf2bw",lg:"_1qhetbf2bx",xl:"_1qhetbf2by",xxl:"_1qhetbf2bz"},defaultClass:"_1qhetbf2bu"},failure33:{conditions:{xs:"_1qhetbf2c0",sm:"_1qhetbf2c1",md:"_1qhetbf2c2",lg:"_1qhetbf2c3",xl:"_1qhetbf2c4",xxl:"_1qhetbf2c5"},defaultClass:"_1qhetbf2c0"},primary:{conditions:{xs:"_1qhetbf2c6",sm:"_1qhetbf2c7",md:"_1qhetbf2c8",lg:"_1qhetbf2c9",xl:"_1qhetbf2ca",xxl:"_1qhetbf2cb"},defaultClass:"_1qhetbf2c6"},primary0f:{conditions:{xs:"_1qhetbf2cc",sm:"_1qhetbf2cd",md:"_1qhetbf2ce",lg:"_1qhetbf2cf",xl:"_1qhetbf2cg",xxl:"_1qhetbf2ch"},defaultClass:"_1qhetbf2cc"},primary3D:{conditions:{xs:"_1qhetbf2ci",sm:"_1qhetbf2cj",md:"_1qhetbf2ck",lg:"_1qhetbf2cl",xl:"_1qhetbf2cm",xxl:"_1qhetbf2cn"},defaultClass:"_1qhetbf2ci"},primaryBright:{conditions:{xs:"_1qhetbf2co",sm:"_1qhetbf2cp",md:"_1qhetbf2cq",lg:"_1qhetbf2cr",xl:"_1qhetbf2cs",xxl:"_1qhetbf2ct"},defaultClass:"_1qhetbf2co"},primaryDark:{conditions:{xs:"_1qhetbf2cu",sm:"_1qhetbf2cv",md:"_1qhetbf2cw",lg:"_1qhetbf2cx",xl:"_1qhetbf2cy",xxl:"_1qhetbf2cz"},defaultClass:"_1qhetbf2cu"},success:{conditions:{xs:"_1qhetbf2d0",sm:"_1qhetbf2d1",md:"_1qhetbf2d2",lg:"_1qhetbf2d3",xl:"_1qhetbf2d4",xxl:"_1qhetbf2d5"},defaultClass:"_1qhetbf2d0"},success19:{conditions:{xs:"_1qhetbf2d6",sm:"_1qhetbf2d7",md:"_1qhetbf2d8",lg:"_1qhetbf2d9",xl
17:"_1qhetbf2da",xxl:"_1qhetbf2db"},defaultClass:"_1qhetbf2d6"},warning:{conditions:{xs:"_1qhetbf2dc",sm:"_1qhetbf2dd",md:"_1qhetbf2de",lg:"_1qhetbf2df",xl:"_1qhetbf2dg",xxl:"_1qhetbf2dh"},defaultClass:"_1qhetbf2dc"},warning2D:{conditions:{xs:"_1qhetbf2di",sm:"_1qhetbf2dj",md:"_1qhetbf2dk",lg:"_1qhetbf2dl",xl:"_1qhetbf2dm",xxl:"_1qhetbf2dn"},defaultClass:"_1qhetbf2di"},warning33:{conditions:{xs:"_1qhetbf2do",sm:"_1qhetbf2dp",md:"_1qhetbf2dq",lg:"_1qhetbf2dr",xl:"_1qhetbf2ds",xxl:"_1qhetbf2dt"},defaultClass:"_1qhetbf2do"},binance:{conditions:{xs:"_1qhetbf2du",sm:"_1qhetbf2dv",md:"_1qhetbf2dw",lg:"_1qhetbf2dx",xl:"_1qhetbf2dy",xxl:"_1qhetbf2dz"},defaultClass:"_1qhetbf2du"},overlay:{conditions:{xs:"_1qhetbf2e0",sm:"_1qhetbf2e1",md:"_1qhetbf2e2",lg:"_1qhetbf2e3",xl:"_1qhetbf2e4",xxl:"_1qhetbf2e5"},defaultClass:"_1qhetbf2e0"},gold:{conditions:{xs:"_1qhetbf2e6",sm:"_1qhetbf2e7",md:"_1qhetbf2e8",lg:"_1qhetbf2e9",xl:"_1qhetbf2ea",xxl:"_1qhetbf2eb"},defaultClass:"_1qhetbf2e6"},silver:{conditions:{xs:"_1qhetbf2ec",sm:"_1qhetbf2ed",md:"_1qhetbf2ee",lg:"_1qhetbf2ef",xl:"_1qhetbf2eg",xxl:"_1qhetbf2eh"},defaultClass:"_1qhetbf2ec"},bronze:{conditions:{xs:"_1qhetbf2ei",sm:"_1qhetbf2ej",md:"_1qhetbf2ek",lg:"_1qhetbf2el",xl:"_1qhetbf2em",xxl:"_1qhetbf2en"},defaultClass:"_1qhetbf2ei"},yellow:{conditions:{xs:"_1qhetbf2eo",sm:"_1qhetbf2ep",md:"_1qhetbf2eq",lg:"_1qhetbf2er",xl:"_1qhetbf2es",xxl:"_1qhetbf2et"},defaultClass:"_1qhetbf2eo"},secondary:{conditions:{xs:"_1qhetbf2eu",sm:"_1qhetbf2ev",md:"_1qhetbf2ew",lg:"_1qhetbf2ex",xl:"_1qhetbf2ey",xxl:"_1qhetbf2ez"},defaultClass:"_1qhetbf2eu"},secondary80:{conditions:{xs:"_1qhetbf2f0",sm:"_1qhetbf2f1",md:"_1qhetbf2f2",lg:"_1qhetbf2f3",xl:"_1qhetbf2f4",xxl:"_1qhetbf2f5"},defaultClass:"_1qhetbf2f0"},background:{conditions:{xs:"_1qhetbf2f6",sm:"_1qhetbf2f7",md:"_1qhetbf2f8",lg:"_1qhetbf2f9",xl:"_1qhetbf2fa",xxl:"_1qhetbf2fb"},defaultClass:"_1qhetbf2f6"},backgroundDisabled:{conditions:{xs:"_1qhetbf2fc",sm:"_1qhetbf2fd",md:"_1qhetbf2fe",lg:"_1qhetbf2ff",xl:"_1qhetbf2fg",xxl:"_1qhetbf2fh"},defaultClass:"_1qhetbf2fc"},backgroundAlt:{conditions:{xs:"_1qhetbf2fi",sm:"_1qhetbf2fj",md:"_1qhetbf2fk",lg:"_1qhetbf2fl",xl:"_1qhetbf2fm",xxl:"_1qhetbf2fn"},defaultClass:"_1qhetbf2fi"},backgroundAlt2:{conditions:{xs:"_1qhetbf2fo",sm:"_1qhetbf2fp",md:"_1qhetbf2fq",lg:"_1qhetbf2fr",xl:"_1qhetbf2fs",xxl:"_1qhetbf2ft"},defaultClass:"_1qhetbf2fo"},cardBorder:{conditions:{xs:"_1qhetbf2fu",sm:"_1qhetbf2fv",md:"_1qhetbf2fw",lg:"_1qhetbf2fx",xl:"_1qhetbf2fy",xxl:"_1qhetbf2fz"},defaultClass:"_1qhetbf2fu"},contrast:{conditions:{xs:"_1qhetbf2g0",sm:"_1qhetbf2g1",md:"_1qhetbf2g2",lg:"_1qhetbf2g3",xl:"_1qhetbf2g4",xxl:"_1qhetbf2g5"},defaultClass:"_1qhetbf2g0"},dropdown:{conditions:{xs:"_1qhetbf2g6",sm:"_1qhetbf2g7",md:"_1qhetbf2g8",lg:"_1qhetbf2g9",xl:"_1qhetbf2ga",xxl:"_1qhetbf2gb"},defaultClass:"_1qhetbf2g6"},dropdownDeep:{conditions:{xs:"_1qhetbf2gc",sm:"_1qhetbf2gd",md:"_1qhetbf2ge",lg:"_1qhetbf2gf",xl:"_1qhetbf2gg",xxl:"_1qhetbf2gh"},defaultClass:"_1qhetbf2gc"},invertedContrast:{conditions:{xs:"_1qhetbf2gi",sm:"_1qhetbf2gj",md:"_1qhetbf2gk",lg:"_1qhetbf2gl",xl:"_1qhetbf2gm",xxl:"_1qhetbf2gn"},defaultClass:"_1qhetbf2gi"},input:{conditions:{xs:"_1qhetbf2go",sm:"_1qhetbf2gp",md:"_1qhetbf2gq",lg:"_1qhetbf2gr",xl:"_1qhetbf2gs",xxl:"_1qhetbf2gt"},defaultClass:"_1qhetbf2go"},inputSecondary:{conditions:{xs:"_1qhetbf2gu",sm:"_1qhetbf2gv",md:"_1qhetbf2gw",lg:"_1qhetbf2gx",xl:"_1qhetbf2gy",xxl:"_1qhetbf2gz"},defaultClass:"_1qhetbf2gu"},tertiary:{conditions:{xs:"_1qhetbf2h0",sm:"_1qhetbf2h1",md:"_1qhetbf2h2",lg:"_1qhetbf2h3",xl:"_1qhetbf2h4",xxl:"_1qhetbf2h5"},defaultClass:"_1qhetbf2h0"},text:{conditions:{xs:"_1qhetbf2h6",sm:"_1qhetbf2h7",md:"_1qhetbf2h8",lg:"_1qhetbf2h9",xl:"_1qhetbf2ha",xxl:"_1qhetbf2hb"},defaultClass:"_1qhetbf2h6"},text99:{conditions:{xs:"_1qhetbf2hc",sm:"_1qhetbf2hd",md:"_1qhetbf2he",lg:"_1qhetbf2hf",xl:"_1qhetbf2hg",xxl:"_1qhetbf2hh"},defaultClass:"_1qhetbf2hc"},textDisabled:{conditions:{xs:"_1qhetbf2hi",sm:"_1qhetbf2hj",md:"_1qhetbf2hk",lg:"_1qhetbf2hl",xl:"_1qhetbf2hm",xxl:"_1qhetbf2hn"},defaultClass:"_1qhetbf2hi"},textSubtle:{conditions:{xs:"_1qhetbf2ho",sm:"_1qhetbf2hp",md:"_1qhetbf2hq",lg:"_1qhetbf2hr",xl:"_1qhetbf2hs",xxl:"_1qhetbf2ht"},defaultClass:"_1qhetbf2ho"},disabled:{conditions:{xs:"_1qhetbf2hu",sm:"_1qhetbf2hv",md:"_1qhetbf2hw",lg:"_1qhetbf2hx",xl:"_1qhetbf2hy",xxl:"_1qhetbf2hz"},defaultClass:"_1qhetbf2hu"},gradientBubblegum:{conditions:{xs:"_1qhetbf2i0",sm:"_1qhetbf2i1",md:"_1qhetbf2i2",lg:"_1qhetbf2i3",xl
17:"_1qhetbf2i4",xxl:"_1qhetbf2i5"},defaultClass:"_1qhetbf2i0"},gradientInverseBubblegum:{conditions:{xs:"_1qhetbf2i6",sm:"_1qhetbf2i7",md:"_1qhetbf2i8",lg:"_1qhetbf2i9",xl:"_1qhetbf2ia",xxl:"_1qhetbf2ib"},defaultClass:"_1qhetbf2i6"},gradientCardHeader:{conditions:{xs:"_1qhetbf2ic",sm:"_1qhetbf2id",md:"_1qhetbf2ie",lg:"_1qhetbf2if",xl:"_1qhetbf2ig",xxl:"_1qhetbf2ih"},defaultClass:"_1qhetbf2ic"},gradientBlue:{conditions:{xs:"_1qhetbf2ii",sm:"_1qhetbf2ij",md:"_1qhetbf2ik",lg:"_1qhetbf2il",xl:"_1qhetbf2im",xxl:"_1qhetbf2in"},defaultClass:"_1qhetbf2ii"},gradientViolet:{conditions:{xs:"_1qhetbf2io",sm:"_1qhetbf2ip",md:"_1qhetbf2iq",lg:"_1qhetbf2ir",xl:"_1qhetbf2is",xxl:"_1qhetbf2it"},defaultClass:"_1qhetbf2io"},gradientVioletAlt:{conditions:{xs:"_1qhetbf2iu",sm:"_1qhetbf2iv",md:"_1qhetbf2iw",lg:"_1qhetbf2ix",xl:"_1qhetbf2iy",xxl:"_1qhetbf2iz"},defaultClass:"_1qhetbf2iu"},gradientGold:{conditions:{xs:"_1qhetbf2j0",sm:"_1qhetbf2j1",md:"_1qhetbf2j2",lg:"_1qhetbf2j3",xl:"_1qhetbf2j4",xxl:"_1qhetbf2j5"},defaultClass:"_1qhetbf2j0"},gradientBold:{conditions:{xs:"_1qhetbf2j6",sm:"_1qhetbf2j7",md:"_1qhetbf2j8",lg:"_1qhetbf2j9",xl:"_1qhetbf2ja",xxl:"_1qhetbf2jb"},defaultClass:"_1qhetbf2j6"}},responsiveArray:void 0},border:{values:{1:{conditions:{xs:"_1qhetbf2jc",sm:"_1qhetbf2jd",md:"_1qhetbf2je",lg:"_1qhetbf2jf",xl:"_1qhetbf2jg",xxl:"_1qhetbf2jh"},defaultClass:"_1qhetbf2jc"}},responsiveArray:void 0},borderBottom:{values:{1:{conditions:{xs:"_1qhetbf2ji",sm:"_1qhetbf2jj",md:"_1qhetbf2jk",lg:"_1qhetbf2jl",xl:"_1qhetbf2jm",xxl:"_1qhetbf2jn"},defaultClass:"_1qhetbf2ji"}},responsiveArray:void 0}}}).styles.display.responsiveArray=Z.conditions.responsiveArray,Z.styles.flexDirection.responsiveArray=Z.conditions.responsiveArray,Z.styles.alignItems.responsiveArray=Z.conditions.responsiveArray,Z.styles.alignSelf.responsiveArray=Z.conditions.responsiveArray,Z.styles.flexWrap.responsiveArray=Z.conditions.responsiveArray,Z.styles.flexGrow.responsiveArray=Z.conditions.responsiveArray,Z.styles.overflow.responsiveArray=Z.conditions.responsiveArray,Z.styles.overflowY.responsiveArray=Z.conditions.responsiveArray,Z.styles.overflowX.responsiveArray=Z.conditions.responsiveArray,Z.styles.position.responsiveArray=Z.conditions.responsiveArray,Z.styles.textAlign.responsiveArray=Z.conditions.responsiveArray,Z.styles.justifyContent.responsiveArray=Z.conditions.responsiveArray,Z.styles.justifyItems.responsiveArray=Z.conditions.responsiveArray,Z.styles.justifySelf.responsiveArray=Z.conditions.responsiveArray,Z.styles.inset.responsiveArray=Z.conditions.responsiveArray,Z.styles.height.responsiveArray=Z.conditions.responsiveArray,Z.styles.marginBottom.responsiveArray=Z.conditions.responsiveArray,Z.styles.marginLeft.responsiveArray=Z.conditions.responsiveArray,Z.styles.marginRight.responsiveArray=Z.conditions.responsiveArray,Z.styles.marginTop.responsiveArray=Z.conditions.responsiveArray,Z.styles.margin.responsiveArray=Z.conditions.responsiveArray,Z.styles.padding.responsiveArray=Z.conditions.responsiveArray,Z.styles.maxHeight.responsiveArray=Z.conditions.responsiveArray,Z.styles.maxWidth.responsiveArray=Z.conditions.responsiveArray,Z.styles.minHeight.responsiveArray=Z.conditions.responsiveArray,Z.styles.minWidth.responsiveArray=Z.conditions.responsiveArray,Z.styles.paddingBottom.responsiveArray=Z.conditions.responsiveArray,Z.styles.paddingLeft.responsiveArray=Z.conditions.responsiveArray,Z.styles.paddingRight.responsiveArray=Z.conditions.responsiveArray,Z.styles.paddingTop.responsiveArray=Z.conditions.responsiveArray,Z.styles.fontSize.responsiveArray=Z.conditions.responsiveArray,Z.styles.flex.responsiveArray=Z.conditions.responsiveArray,Z.styles.boxShadow.responsiveArray=Z.conditions.responsiveArray,Z.styles.width.responsiveArray=Z.conditions.responsiveArray,Z.styles.zIndex.responsiveArray=Z.conditions.responsiveArray,Z.styles.borderTop.responsiveArray=Z.conditions.responsiveArray,Z.styles.borderRadius.responsiveArray=Z.conditions.responsiveArray,Z.styles.borderTopLeftRadius.responsiveArray=Z.conditions.responsiveArray,Z.styles.borderBottomRightRadius.responsiveArray=Z.conditions.responsiveArray,Z.styles.borderTopRightRadius.responsiveArray=Z.conditions.responsiveArray,Z.styles.borderBottomLeftRadius.responsiveArray=Z.conditions.responsiveArray,Z.styles.gap.responsiveArray=Z.conditions.responsiveArray,Z.styles.rowGap.responsiveArray=Z.conditions.responsiveArray,Z.styles.columnGap.responsiveArray=Z.conditions.responsiveArray,Z.styles.gridAutoRows.responsiveArray=Z.conditions.responsiveArray,Z.styles.opacity.responsiveArray=Z.conditions.responsiveArray,Z.styles.lineHeight.responsiveArray=Z.conditions.responsiveArray,Z.styles.borderBottomColor.responsiveArray=Z.conditions.responsiveArray,Z.styles.border.responsiveArray=Z.conditions.responsiveArray,Z.styles.borderBottom.responsiveArray=Z.conditions.responsiveArray,Z),{conditions:void 0,styles:{isolation:{values:{isolate:{defaultClass:"_1qhetbf2jo"}}},objectFit:{values:{contain:{defaultClass:"_1qhetbf2jp"},cover:{defaultClass:"_1qhetbf2jq"},none:{defaultClass:"_1qhetbf2jr"}}},pointerEvents:{values:{none:{defaultClass:"_1qhetbf2js"}}},textTransform:{values:{capitalize:{defaultClass:"_1qhetbf2jt"},lowercase:{defaultClass:"_1qhetbf2ju"},uppercase:{defaultClass:"_1qhetbf2jv"}}},cursor:{values:{default:{defaultClass:"_1qhetbf2jw"},pointer:{defaultClass:"_1qhetbf2jx"},"not-allowed":{defaultClass:"_1qhetbf2jy"}}},visibility:{values:{hidden:{defaultClass:"_1qhetbf2jz"},visible:{defaultClass:"_1qhetbf2k0"}}},whiteSpace:{values:{normal:{defaultClass:"_1qhetbf2k1"},nowrap:{defaultClass:"_1qhetbf2k2"},pre:{defaultClass:"_1qhetbf2k3"},"pre-line":{defaultClass:"_1qhetbf2k4"},"pre-wrap":{defaultClass:"_1qhetbf2k5"}}},wordBreak:{values:{"break-word":{defaultClass:"_1qhetbf2k6"}}},wordWrap:{values:{normal:{defaultClass:"_1qhetbf2k7"},"break-word":{defaultClass:"_1qhetbf2k8"}}}}},{conditions:{defaultCondition:"base",conditionNames:["base","hover","focus","active"],responsiveArray:void 0},styles:{bgc:{mappings:["backgroundColor"]},bg:{mappings:["background"]},background:{values:{light:{conditions:{base:"_1qhetbf2k9",hover:"_1qhetbf2ka",focus:"_1qhetbf2kb",active:"_1qhetbf2kc"},defaultClass:"_1qhetbf2k9"},dark:{conditions:{base:"_1qhetbf2kd",hover:"_1qhetbf2ke",focus:"_1qhetbf2kf",active:"_1qhetbf2kg"},defaultClass:"_1qhetbf2kd"},white:{conditions:{base:"_1qhetbf2kh",hover:"_1qhetbf2ki",focus:"_1qhetbf2kj",active:"_1qhetbf2kk"},defaultClass:"_1qhetbf2kh"},failure:{conditions:{base:"_1qhetbf2kl",hover:"_1qhetbf2km",focus:"_1qhetbf2kn",active:"_1qhetbf2ko"},defaultClass:"_1qhetbf2kl"},failure33:{conditions:{base:"_1qhetbf2kp",hover:"_1qhetbf2kq",focu
17s:"_1qhetbf2kr",active:"_1qhetbf2ks"},defaultClass:"_1qhetbf2kp"},primary:{conditions:{base:"_1qhetbf2kt",hover:"_1qhetbf2ku",focus:"_1qhetbf2kv",active:"_1qhetbf2kw"},defaultClass:"_1qhetbf2kt"},primary0f:{conditions:{base:"_1qhetbf2kx",hover:"_1qhetbf2ky",focus:"_1qhetbf2kz",active:"_1qhetbf2l0"},defaultClass:"_1qhetbf2kx"},primary3D:{conditions:{base:"_1qhetbf2l1",hover:"_1qhetbf2l2",focus:"_1qhetbf2l3",active:"_1qhetbf2l4"},defaultClass:"_1qhetbf2l1"},primaryBright:{conditions:{base:"_1qhetbf2l5",hover:"_1qhetbf2l6",focus:"_1qhetbf2l7",active:"_1qhetbf2l8"},defaultClass:"_1qhetbf2l5"},primaryDark:{conditions:{base:"_1qhetbf2l9",hover:"_1qhetbf2la",focus:"_1qhetbf2lb",active:"_1qhetbf2lc"},defaultClass:"_1qhetbf2l9"},success:{conditions:{base:"_1qhetbf2ld",hover:"_1qhetbf2le",focus:"_1qhetbf2lf",active:"_1qhetbf2lg"},defaultClass:"_1qhetbf2ld"},success19:{conditions:{base:"_1qhetbf2lh",hover:"_1qhetbf2li",focus:"_1qhetbf2lj",active:"_1qhetbf2lk"},defaultClass:"_1qhetbf2lh"},warning:{conditions:{base:"_1qhetbf2ll",hover:"_1qhetbf2lm",focus:"_1qhetbf2ln",active:"_1qhetbf2lo"},defaultClass:"_1qhetbf2ll"},warning2D:{conditions:{base:"_1qhetbf2lp",hover:"_1qhetbf2lq",focus:"_1qhetbf2lr",active:"_1qhetbf2ls"},defaultClass:"_1qhetbf2lp"},warning33:{conditions:{base:"_1qhetbf2lt",hover:"_1qhetbf2lu",focus:"_1qhetbf2lv",active:"_1qhetbf2lw"},defaultClass:"_1qhetbf2lt"},binance:{conditions:{base:"_1qhetbf2lx",hover:"_1qhetbf2ly",focus:"_1qhetbf2lz",active:"_1qhetbf2m0"},defaultClass:"_1qhetbf2lx"},overlay:{conditions:{base:"_1qhetbf2m1",hover:"_1qhetbf2m2",focus:"_1qhetbf2m3",active:"_1qhetbf2m4"},defaultClass:"_1qhetbf2m1"},gold:{conditions:{base:"_1qhetbf2m5",hover:"_1qhetbf2m6",focus:"_1qhetbf2m7",active:"_1qhetbf2m8"},defaultClass:"_1qhetbf2m5"},silver:{conditions:{base:"_1qhetbf2m9",hover:"_1qhetbf2ma",focus:"_1qhetbf2mb",active:"_1qhetbf2mc"},defaultClass:"_1qhetbf2m9"},bronze:{conditions:{base:"_1qhetbf2md",hover:"_1qhetbf2me",focus:"_1qhetbf2mf",active:"_1qhetbf2mg"},defaultClass:"_1qhetbf2md"},yellow:{conditions:{base:"_1qhetbf2mh",hover:"_1qhetbf2mi",focus:"_1qhetbf2mj",active:"_1qhetbf2mk"},defaultClass:"_1qhetbf2mh"},secondary:{conditions:{base:"_1qhetbf2ml",hover:"_1qhetbf2mm",focus:"_1qhetbf2mn",active:"_1qhetbf2mo"},defaultClass:"_1qhetbf2ml"},secondary80:{conditions:{base:"_1qhetbf2mp",hover:"_1qhetbf2mq",focus:"_1qhetbf2mr",active:"_1qhetbf2ms"},defaultClass:"_1qhetbf2mp"},background:{conditions:{base:"_1qhetbf2mt",hover:"_1qhetbf2mu",focus:"_1qhetbf2mv",active:"_1qhetbf2mw"},defaultClass:"_1qhetbf2mt"},backgroundDisabled:{conditions:{base:"_1qhetbf2mx",hover:"_1qhetbf2my",focus:"_1qhetbf2mz",active:"_1qhetbf2n0"},defaultClass:"_1qhetbf2mx"},backgroundAlt:{conditions:{base:"_1qhetbf2n1",hover:"_1qhetbf2n2",focus:"_1qhetbf2n3",active:"_1qhetbf2n4"},defaultClass:"_1qhetbf2n1"},backgroundAlt2:{conditions:{base:"_1qhetbf2n5",hover:"_1qhetbf2n6",focus:"_1qhetbf2n7",active:"_1qhetbf2n8"},defaultClass:"_1qhetbf2n5"},cardBorder:{conditions:{base:"_1qhetbf2n9",hover:"_1qhetbf2na",focus:"_1qhetbf2nb",active:"_1qhetbf2nc"},defaultClass:"_1qhetbf2n9"},contrast:{conditions:{base:"_1qhetbf2nd",hover:"_1qhetbf2ne",focus:"_1qhetbf2nf",active:"_1qhetbf2ng"},defaultClass:"_1qhetbf2nd"},dropdown:{conditions:{base:"_1qhetbf2nh",hover:"_1qhetbf2ni",focus:"_1qhetbf2nj",active:"_1qhetbf2nk"},defaultClass:"_1qhetbf2nh"},dropdownDeep:{conditions:{base:"_1qhetbf2nl",hover:"_1qhetbf2nm",focus:"_1qhetbf2nn",active:"_1qhetbf2no"},defaultClass:"_1qhetbf2nl"},invertedContrast:{conditions:{base:"_1qhetbf2np",hover:"_1qhetbf2nq",focus:"_1qhetbf2nr",active:"_1qhetbf2ns"},defaultClass:"_1qhetbf2np"},input:{conditions:{base:"_1qhetbf2nt",hover:"_1qhetbf2nu",focus:"_1qhetbf2nv",active:"_1qhetbf2nw"},defaultClass:"_1qhetbf2nt"},inputSecondary:{conditions:{base:"_1qhetbf2nx",hover:"_1qhetbf2ny",focus:"_1qhetbf2nz",active:"_1qhetbf2o0"},defaultClass:"_1qhetbf2nx"},tertiary:{conditions:{base:"_1qhetbf2o1",hover:"_1qhetbf2o2",focus:"_1qhetbf2o3",active:"_1qhetbf2o4"},defaultClass:"_1qhetbf2o1"},text:{conditions:{base:"_1qhetbf2o5",hover:"_1qhetbf2o6",focus:"_1qhetbf2o7",active:"_1qhetbf2o8"},defaultClass:"_1qhetbf2o5"},text99:{conditions:{base:"_1qhetbf2o9",hover:"_1qhetbf2oa",focus:"_1qhetbf2ob",active:"_1qhetbf2oc"},defaultClass:"_1qhetbf2o9"},textDisabled:{conditions:{base:"_1qhetbf2od",hover:"_1qhetbf2oe",focu
17s:"_1qhetbf2of",active:"_1qhetbf2og"},defaultClass:"_1qhetbf2od"},textSubtle:{conditions:{base:"_1qhetbf2oh",hover:"_1qhetbf2oi",focus:"_1qhetbf2oj",active:"_1qhetbf2ok"},defaultClass:"_1qhetbf2oh"},disabled:{conditions:{base:"_1qhetbf2ol",hover:"_1qhetbf2om",focus:"_1qhetbf2on",active:"_1qhetbf2oo"},defaultClass:"_1qhetbf2ol"},gradientBubblegum:{conditions:{base:"_1qhetbf2op",hover:"_1qhetbf2oq",focus:"_1qhetbf2or",active:"_1qhetbf2os"},defaultClass:"_1qhetbf2op"},gradientInverseBubblegum:{conditions:{base:"_1qhetbf2ot",hover:"_1qhetbf2ou",focus:"_1qhetbf2ov",active:"_1qhetbf2ow"},defaultClass:"_1qhetbf2ot"},gradientCardHeader:{conditions:{base:"_1qhetbf2ox",hover:"_1qhetbf2oy",focus:"_1qhetbf2oz",active:"_1qhetbf2p0"},defaultClass:"_1qhetbf2ox"},gradientBlue:{conditions:{base:"_1qhetbf2p1",hover:"_1qhetbf2p2",focus:"_1qhetbf2p3",active:"_1qhetbf2p4"},defaultClass:"_1qhetbf2p1"},gradientViolet:{conditions:{base:"_1qhetbf2p5",hover:"_1qhetbf2p6",focus:"_1qhetbf2p7",active:"_1qhetbf2p8"},defaultClass:"_1qhetbf2p5"},gradientVioletAlt:{conditions:{base:"_1qhetbf2p9",hover:"_1qhetbf2pa",focus:"_1qhetbf2pb",active:"_1qhetbf2pc"},defaultClass:"_1qhetbf2p9"},gradientGold:{conditions:{base:"_1qhetbf2pd",hover:"_1qhetbf2pe",focu
17s:"_1qhetbf2pf",active:"_1qhetbf2pg"},defaultClass:"_1qhetbf2pd"},gradientBold:{conditions:{base:"_1qhetbf2ph",hover:"_1qhetbf2pi",focus:"_1qhetbf2pj",active:"_1qhetbf2pk"},defaultClass:"_1qhetbf2ph"}}},backgroundColor:{values:{light:{conditions:{base:"_1qhetbf2pl",hover:"_1qhetbf2pm",focus:"_1qhetbf2pn",active:"_1qhetbf2po"},defaultClass:"_1qhetbf2pl"},dark:{conditions:{base:"_1qhetbf2pp",hover:"_1qhetbf2pq",focus:"_1qhetbf2pr",active:"_1qhetbf2ps"},defaultClass:"_1qhetbf2pp"},white:{conditions:{base:"_1qhetbf2pt",hover:"_1qhetbf2pu",focus:"_1qhetbf2pv",active:"_1qhetbf2pw"},defaultClass:"_1qhetbf2pt"},failure:{conditions:{base:"_1qhetbf2px",hover:"_1qhetbf2py",focus:"_1qhetbf2pz",active:"_1qhetbf2q0"},defaultClass:"_1qhetbf2px"},failure33:{conditions:{base:"_1qhetbf2q1",hover:"_1qhetbf2q2",focus:"_1qhetbf2q3",active:"_1qhetbf2q4"},defaultClass:"_1qhetbf2q1"},primary:{conditions:{base:"_1qhetbf2q5",hover:"_1qhetbf2q6",focus:"_1qhetbf2q7",active:"_1qhetbf2q8"},defaultClass:"_1qhetbf2q5"},primary0f:{conditions:{base:"_1qhetbf2q9",hover:"_1qhetbf2qa",focus:"_1qhetbf2qb",active:"_1qhetbf2qc"},defaultClass:"_1qhetbf2q9"},primary3D:{conditions:{base:"_1qhetbf2qd",hover:"_1qhetbf2qe",focus:"_1qhetbf2qf",active:"_1qhetbf2qg"},defaultClass:"_1qhetbf2qd"},primaryBright:{conditions:{base:"_1qhetbf2qh",hover:"_1qhetbf2qi",focus:"_1qhetbf2qj",active:"_1qhetbf2qk"},defaultClass:"_1qhetbf2qh"},primaryDark:{conditions:{base:"_1qhetbf2ql",hover:"_1qhetbf2qm",focus:"_1qhetbf2qn",active:"_1qhetbf2qo"},defaultClass:"_1qhetbf2ql"},success:{conditions:{base:"_1qhetbf2qp",hover:"_1qhetbf2qq",focus:"_1qhetbf2qr",active:"_1qhetbf2qs"},defaultClass:"_1qhetbf2qp"},success19:{conditions:{base:"_1qhetbf2qt",hover:"_1qhetbf2qu",focus:"_1qhetbf2qv",active:"_1qhetbf2qw"},defaultClass:"_1qhetbf2qt"},warning:{conditions:{base:"_1qhetbf2qx",hover:"_1qhetbf2qy",focus:"_1qhetbf2qz",active:"_1qhetbf2r0"},defaultClass:"_1qhetbf2qx"},warning2D:{conditions:{base:"_1qhetbf2r1",hover:"_1qhetbf2r2",focus:"_1qhetbf2r3",active:"_1qhetbf2r4"},defaultClass:"_1qhetbf2r1"},warning33:{conditions:{base:"_1qhetbf2r5",hover:"_1qhetbf2r6",focus:"_1qhetbf2r7",active:"_1qhetbf2r8"},defaultClass:"_1qhetbf2r5"},binance:{conditions:{base:"_1qhetbf2r9",hover:"_1qhetbf2ra",focus:"_1qhetbf2rb",active:"_1qhetbf2rc"},defaultClass:"_1qhetbf2r9"},overlay:{conditions:{base:"_1qhetbf2rd",hover:"_1qhetbf2re",focus:"_1qhetbf2rf",active:"_1qhetbf2rg"},defaultClass:"_1qhetbf2rd"},gold:{conditions:{base:"_1qhetbf2rh",hover:"_1qhetbf2ri",focus:"_1qhetbf2rj",active:"_1qhetbf2rk"},defaultClass:"_1qhetbf2rh"},silver:{conditions:{base:"_1qhetbf2rl",hover:"_1qhetbf2rm",focus:"_1qhetbf2rn",active:"_1qhetbf2ro"},defaultClass:"_1qhetbf2rl"},bronze:{conditions:{base:"_1qhetbf2rp",hover:"_1qhetbf2rq",focus:"_1qhetbf2rr",active:"_1qhetbf2rs"},defaultClass:"_1qhetbf2rp"},yellow:{conditions:{base:"_1qhetbf2rt",hover:"_1qhetbf2ru",focus:"_1qhetbf2rv",active:"_1qhetbf2rw"},defaultClass:"_1qhetbf2rt"},secondary:{conditions:{base:"_1qhetbf2rx",hover:"_1qhetbf2ry",focus:"_1qhetbf2rz",active:"_1qhetbf2s0"},defaultClass:"_1qhetbf2rx"},secondary80:{conditions:{base:"_1qhetbf2s1",hover:"_1qhetbf2s2",focus:"_1qhetbf2s3",active:"_1qhetbf2s4"},defaultClass:"_1qhetbf2s1"},background:{conditions:{base:"_1qhetbf2s5",hover:"_1qhetbf2s6",focus:"_1qhetbf2s7",active:"_1qhetbf2s8"},defaultClass:"_1qhetbf2s5"},backgroundDisabled:{conditions:{base:"_1qhetbf2s9",hover:"_1qhetbf2sa",focus:"_1qhetbf2sb",active:"_1qhetbf2sc"},defaultClass:"_1qhetbf2s9"},backgroundAlt:{conditions:{base:"_1qhetbf2sd",hover:"_1qhetbf2se",focus:"_1qhetbf2sf",active:"_1qhetbf2sg"},defaultClass:"_1qhetbf2sd"},backgroundAlt2:{conditions:{base:"_1qhetbf2sh",hover:"_1qhetbf2si",focus:"_1qhetbf2sj",active:"_1qhetbf2sk"},defaultClass:"_1qhetbf2sh"},cardBorder:{conditions:{base:"_1qhetbf2sl",hover:"_1qhetbf2sm",focus:"_1qhetbf2sn",active:"_1qhetbf2so"},defaultClass:"_1qhetbf2sl"},contrast:{conditions:{base:"_1qhetbf2sp",hover:"_1qhetbf2sq",focus:"_1qhetbf2sr",active:"_1qhetbf2ss"},defaultClass:"_1qhetbf2sp"},dropdown:{conditions:{base:"_1qhetbf2st",hover:"_1qhetbf2su",focus:"_1qhetbf2sv",active:"_1qhetbf2sw"},defaultClass:"_1qhetbf2st"},dropdownDeep:{conditions:{base:"_1qhetbf2sx",hover:"_1qhetbf2sy",focus:"_1qhetbf2sz",active:"_1qhetbf2t0"},defaultClass:"_1qhetbf2sx"},invertedContrast:{conditions:{base:"_1qhetbf2t1",hover:"_1qhetbf2t2",focu
17s:"_1qhetbf2t3",active:"_1qhetbf2t4"},defaultClass:"_1qhetbf2t1"},input:{conditions:{base:"_1qhetbf2t5",hover:"_1qhetbf2t6",focus:"_1qhetbf2t7",active:"_1qhetbf2t8"},defaultClass:"_1qhetbf2t5"},inputSecondary:{conditions:{base:"_1qhetbf2t9",hover:"_1qhetbf2ta",focus:"_1qhetbf2tb",active:"_1qhetbf2tc"},defaultClass:"_1qhetbf2t9"},tertiary:{conditions:{base:"_1qhetbf2td",hover:"_1qhetbf2te",focus:"_1qhetbf2tf",active:"_1qhetbf2tg"},defaultClass:"_1qhetbf2td"},text:{conditions:{base:"_1qhetbf2th",hover:"_1qhetbf2ti",focus:"_1qhetbf2tj",active:"_1qhetbf2tk"},defaultClass:"_1qhetbf2th"},text99:{conditions:{base:"_1qhetbf2tl",hover:"_1qhetbf2tm",focus:"_1qhetbf2tn",active:"_1qhetbf2to"},defaultClass:"_1qhetbf2tl"},textDisabled:{conditions:{base:"_1qhetbf2tp",hover:"_1qhetbf2tq",focus:"_1qhetbf2tr",active:"_1qhetbf2ts"},defaultClass:"_1qhetbf2tp"},textSubtle:{conditions:{base:"_1qhetbf2tt",hover:"_1qhetbf2tu",focus:"_1qhetbf2tv",active:"_1qhetbf2tw"},defaultClass:"_1qhetbf2tt"},disabled:{conditions:{base:"_1qhetbf2tx",hover:"_1qhetbf2ty",focus:"_1qhetbf2tz",active:"_1qhetbf2u0"},defaultClass:"_1qhetbf2tx"},gradientBubblegum:{conditions:{base:"_1qhetbf2u1",hover:"_1qhetbf2u2",focus:"_1qhetbf2u3",active:"_1qhetbf2u4"},defaultClass:"_1qhetbf2u1"},gradientInverseBubblegum:{conditions:{base:"_1qhetbf2u5",hover:"_1qhetbf2u6",focus:"_1qhetbf2u7",active:"_1qhetbf2u8"},defaultClass:"_1qhetbf2u5"},gradientCardHeader:{conditions:{base:"_1qhetbf2u9",hover:"_1qhetbf2ua",focus:"_1qhetbf2ub",active:"_1qhetbf2uc"},defaultClass:"_1qhetbf2u9"},gradientBlue:{conditions:{base:"_1qhetbf2ud",hover:"_1qhetbf2ue",focus:"_1qhetbf2uf",active:"_1qhetbf2ug"},defaultClass:"_1qhetbf2ud"},gradientViolet:{conditions:{base:"_1qhetbf2uh",hover:"_1qhetbf2ui",focus:"_1qhetbf2uj",active:"_1qhetbf2uk"},defaultClass:"_1qhetbf2uh"},gradientVioletAlt:{conditions:{base:"_1qhetbf2ul",hover:"_1qhetbf2um",focus:"_1qhetbf2un",active:"_1qhetbf2uo"},defaultClass:"_1qhetbf2ul"},gradientGold:{conditions:{base:"_1qhetbf2up",hover:"_1qhetbf2uq",focus:"_1qhetbf2ur",active:"_1qhetbf2us"},defaultClass:"_1qhetbf2up"},gradientBold:{conditions:{base:"_1qhetbf2ut",hover:"_1qhetbf2uu",focus:"_1qhetbf2uv",active:"_1qhetbf2uw"},defaultClass:"_1qhetbf2ut"}}},borderColor:{values:{light:{conditions:{base:"_1qhetbf2ux",hover:"_1qhetbf2uy",focus:"_1qhetbf2uz",active:"_1qhetbf2v0"},defaultClass:"_1qhetbf2ux"},dark:{conditions:{base:"_1qhetbf2v1",hover:"_1qhetbf2v2",focus:"_1qhetbf2v3",active:"_1qhetbf2v4"},defaultClass:"_1qhetbf2v1"},white:{conditions:{base:"_1qhetbf2v5",hover:"_1qhetbf2v6",focus:"_1qhetbf2v7",active:"_1qhetbf2v8"},defaultClass:"_1qhetbf2v5"},failure:{conditions:{base:"_1qhetbf2v9",hover:"_1qhetbf2va",focus:"_1qhetbf2vb",active:"_1qhetbf2vc"},defaultClass:"_1qhetbf2v9"},failure33:{conditions:{base:"_1qhetbf2vd",hover:"_1qhetbf2ve",focus:"_1qhetbf2vf",active:"_1qhetbf2vg"},defaultClass:"_1qhetbf2vd"},primary:{conditions:{base:"_1qhetbf2vh",hover:"_1qhetbf2vi",focus:"_1qhetbf2vj",active:"_1qhetbf2vk"},defaultClass:"_1qhetbf2vh"},primary0f:{conditions:{base:"_1qhetbf2vl",hover:"_1qhetbf2vm",focus:"_1qhetbf2vn",active:"_1qhetbf2vo"},defaultClass:"_1qhetbf2vl"},primary3D:{conditions:{base:"_1qhetbf2vp",hover:"_1qhetbf2vq",focus:"_1qhetbf2vr",active:"_1qhetbf2vs"},defaultClass:"_1qhetbf2vp"},primaryBright:{conditions:{base:"_1qhetbf2vt",hover:"_1qhetbf2vu",focus:"_1qhetbf2vv",active:"_1qhetbf2vw"},defaultClass:"_1qhetbf2vt"},primaryDark:{conditions:{base:"_1qhetbf2vx",hover:"_1qhetbf2vy",focus:"_1qhetbf2vz",active:"_1qhetbf2w0"},defaultClass:"_1qhetbf2vx"},success:{conditions:{base:"_1qhetbf2w1",hover:"_1qhetbf2w2",focus:"_1qhetbf2w3",active:"_1qhetbf2w4"},defaultClass:"_1qhetbf2w1"},success19:{conditions:{base:"_1qhetbf2w5",hover:"_1qhetbf2w6",focus:"_1qhetbf2w7",active:"_1qhetbf2w8"},defaultClass:"_1qhetbf2w5"},warning:{conditions:{base:"_1qhetbf2w9",hover:"_1qhetbf2wa",focus:"_1qhetbf2wb",active:"_1qhetbf2wc"},defaultClass:"_1qhetbf2w9"},warning2D:{conditions:{base:"_1qhetbf2wd",hover:"_1qhetbf2we",focus:"_1qhetbf2wf",active:"_1qhetbf2wg"},defaultClass:"_1qhetbf2wd"},warning33:{conditions:{base:"_1qhetbf2wh",hover:"_1qhetbf2wi",focus:"_1qhetbf2wj",active:"_1qhetbf2wk"},defaultClass:"_1qhetbf2wh"},binance:{conditions:{base:"_1qhetbf2wl",hover:"_1qhetbf2wm",focus:"_1qhetbf2wn",active:"_1qhetbf2wo"},defaultClass:"_1qhetbf2wl"},overlay:{conditions:{base:"_1qhetbf2wp",hover:"_1qhetbf2wq",focu
17s:"_1qhetbf2wr",active:"_1qhetbf2ws"},defaultClass:"_1qhetbf2wp"},gold:{conditions:{base:"_1qhetbf2wt",hover:"_1qhetbf2wu",focus:"_1qhetbf2wv",active:"_1qhetbf2ww"},defaultClass:"_1qhetbf2wt"},silver:{conditions:{base:"_1qhetbf2wx",hover:"_1qhetbf2wy",focus:"_1qhetbf2wz",active:"_1qhetbf2x0"},defaultClass:"_1qhetbf2wx"},bronze:{conditions:{base:"_1qhetbf2x1",hover:"_1qhetbf2x2",focus:"_1qhetbf2x3",active:"_1qhetbf2x4"},defaultClass:"_1qhetbf2x1"},yellow:{conditions:{base:"_1qhetbf2x5",hover:"_1qhetbf2x6",focus:"_1qhetbf2x7",active:"_1qhetbf2x8"},defaultClass:"_1qhetbf2x5"},secondary:{conditions:{base:"_1qhetbf2x9",hover:"_1qhetbf2xa",focus:"_1qhetbf2xb",active:"_1qhetbf2xc"},defaultClass:"_1qhetbf2x9"},secondary80:{conditions:{base:"_1qhetbf2xd",hover:"_1qhetbf2xe",focus:"_1qhetbf2xf",active:"_1qhetbf2xg"},defaultClass:"_1qhetbf2xd"},background:{conditions:{base:"_1qhetbf2xh",hover:"_1qhetbf2xi",focus:"_1qhetbf2xj",active:"_1qhetbf2xk"},defaultClass:"_1qhetbf2xh"},backgroundDisabled:{conditions:{base:"_1qhetbf2xl",hover:"_1qhetbf2xm",focus:"_1qhetbf2xn",active:"_1qhetbf2xo"},defaultClass:"_1qhetbf2xl"},backgroundAlt:{conditions:{base:"_1qhetbf2xp",hover:"_1qhetbf2xq",focus:"_1qhetbf2xr",active:"_1qhetbf2xs"},defaultClass:"_1qhetbf2xp"},backgroundAlt2:{conditions:{base:"_1qhetbf2xt",hover:"_1qhetbf2xu",focus:"_1qhetbf2xv",active:"_1qhetbf2xw"},defaultClass:"_1qhetbf2xt"},cardBorder:{conditions:{base:"_1qhetbf2xx",hover:"_1qhetbf2xy",focus:"_1qhetbf2xz",active:"_1qhetbf2y0"},defaultClass:"_1qhetbf2xx"},contrast:{conditions:{base:"_1qhetbf2y1",hover:"_1qhetbf2y2",focus:"_1qhetbf2y3",active:"_1qhetbf2y4"},defaultClass:"_1qhetbf2y1"},dropdown:{conditions:{base:"_1qhetbf2y5",hover:"_1qhetbf2y6",focus:"_1qhetbf2y7",active:"_1qhetbf2y8"},defaultClass:"_1qhetbf2y5"},dropdownDeep:{conditions:{base:"_1qhetbf2y9",hover:"_1qhetbf2ya",focus:"_1qhetbf2yb",active:"_1qhetbf2yc"},defaultClass:"_1qhetbf2y9"},invertedContrast:{conditions:{base:"_1qhetbf2yd",hover:"_1qhetbf2ye",focus:"_1qhetbf2yf",active:"_1qhetbf2yg"},defaultClass:"_1qhetbf2yd"},input:{conditions:{base:"_1qhetbf2yh",hover:"_1qhetbf2yi",focus:"_1qhetbf2yj",active:"_1qhetbf2yk"},defaultClass:"_1qhetbf2yh"},inputSecondary:{conditions:{base:"_1qhetbf2yl",hover:"_1qhetbf2ym",focus:"_1qhetbf2yn",active:"_1qhetbf2yo"},defaultClass:"_1qhetbf2yl"},tertiary:{conditions:{base:"_1qhetbf2yp",hover:"_1qhetbf2yq",focus:"_1qhetbf2yr",active:"_1qhetbf2ys"},defaultClass:"_1qhetbf2yp"},text:{conditions:{base:"_1qhetbf2yt",hover:"_1qhetbf2yu",focus:"_1qhetbf2yv",active:"_1qhetbf2yw"},defaultClass:"_1qhetbf2yt"},text99:{conditions:{base:"_1qhetbf2yx",hover:"_1qhetbf2yy",focus:"_1qhetbf2yz",active:"_1qhetbf2z0"},defaultClass:"_1qhetbf2yx"},textDisabled:{conditions:{base:"_1qhetbf2z1",hover:"_1qhetbf2z2",focus:"_1qhetbf2z3",active:"_1qhetbf2z4"},defaultClass:"_1qhetbf2z1"},textSubtle:{conditions:{base:"_1qhetbf2z5",hover:"_1qhetbf2z6",focus:"_1qhetbf2z7",active:"_1qhetbf2z8"},defaultClass:"_1qhetbf2z5"},disabled:{conditions:{base:"_1qhetbf2z9",hover:"_1qhetbf2za",focus:"_1qhetbf2zb",active:"_1qhetbf2zc"},defaultClass:"_1qhetbf2z9"},gradientBubblegum:{conditions:{base:"_1qhetbf2zd",hover:"_1qhetbf2ze",focus:"_1qhetbf2zf",active:"_1qhetbf2zg"},defaultClass:"_1qhetbf2zd"},gradientInverseBubblegum:{conditions:{base:"_1qhetbf2zh",hover:"_1qhetbf2zi",focus:"_1qhetbf2zj",active:"_1qhetbf2zk"},defaultClass:"_1qhetbf2zh"},gradientCardHeader:{conditions:{base:"_1qhetbf2zl",hover:"_1qhetbf2zm",focus:"_1qhetbf2zn",active:"_1qhetbf2zo"},defaultClass:"_1qhetbf2zl"},gradientBlue:{conditions:{base:"_1qhetbf2zp",hover:"_1qhetbf2zq",focus:"_1qhetbf2zr",active:"_1qhetbf2zs"},defaultClass:"_1qhetbf2zp"},gradientViolet:{conditions:{base:"_1qhetbf2zt",hover:"_1qhetbf2zu",focus:"_1qhetbf2zv",active:"_1qhetbf2zw"},defaultClass:"_1qhetbf2zt"},gradientVioletAlt:{conditions:{base:"_1qhetbf2zx",hover:"_1qhetbf2zy",focus:"_1qhetbf2zz",active:"_1qhetbf300"},defaultClass:"_1qhetbf2zx"},gradientGold:{conditions:{base:"_1qhetbf301",hover:"_1qhetbf302",focus:"_1qhetbf303",active:"_1qhetbf304"},defaultClass:"_1qhetbf301"},gradientBold:{conditions:{base:"_1qhetbf305",hover:"_1qhetbf306",focus:"_1qhetbf307",active:"_1qhetbf308"},defaultClass:"_1qhetbf305"}}},color:{values:{light:{conditions:{base:"_1qhetbf309",hover:"_1qhetbf30a",focus:"_1qhetbf30b",active:"_1qhetbf30c"},defaultClass:"_1qhetbf309"},dark:{conditions:{base:"_1qhetbf30d",hover:"_1qhetbf30e",focus:"_1qhetbf30f",active:"_1qhetbf30g"},defaultClass:"_1qhetbf30d"},white:{conditions:{base:"_1qhetbf30h",hover:"_1qhetbf30i",focus:"_1qhetbf30j",active:"_1qhetbf30k"},defaultClass:"_1qhetbf30h"},failure:{conditions:{base:"_1qhetbf30l",hover:"_1qhetbf30m",focus:"_1qhetbf30n",active:"_1qhetbf30o"},defaultClass:"_1qhetbf30l"},failure33:{conditions:{base:"_1qhetbf30p",hover:"_1qhetbf30q",focu
17s:"_1qhetbf30r",active:"_1qhetbf30s"},defaultClass:"_1qhetbf30p"},primary:{conditions:{base:"_1qhetbf30t",hover:"_1qhetbf30u",focus:"_1qhetbf30v",active:"_1qhetbf30w"},defaultClass:"_1qhetbf30t"},primary0f:{conditions:{base:"_1qhetbf30x",hover:"_1qhetbf30y",focus:"_1qhetbf30z",active:"_1qhetbf310"},defaultClass:"_1qhetbf30x"},primary3D:{conditions:{base:"_1qhetbf311",hover:"_1qhetbf312",focus:"_1qhetbf313",active:"_1qhetbf314"},defaultClass:"_1qhetbf311"},primaryBright:{conditions:{base:"_1qhetbf315",hover:"_1qhetbf316",focus:"_1qhetbf317",active:"_1qhetbf318"},defaultClass:"_1qhetbf315"},primaryDark:{conditions:{base:"_1qhetbf319",hover:"_1qhetbf31a",focus:"_1qhetbf31b",active:"_1qhetbf31c"},defaultClass:"_1qhetbf319"},success:{conditions:{base:"_1qhetbf31d",hover:"_1qhetbf31e",focus:"_1qhetbf31f",active:"_1qhetbf31g"},defaultClass:"_1qhetbf31d"},success19:{conditions:{base:"_1qhetbf31h",hover:"_1qhetbf31i",focus:"_1qhetbf31j",active:"_1qhetbf31k"},defaultClass:"_1qhetbf31h"},warning:{conditions:{base:"_1qhetbf31l",hover:"_1qhetbf31m",focus:"_1qhetbf31n",active:"_1qhetbf31o"},defaultClass:"_1qhetbf31l"},warning2D:{conditions:{base:"_1qhetbf31p",hover:"_1qhetbf31q",focus:"_1qhetbf31r",active:"_1qhetbf31s"},defaultClass:"_1qhetbf31p"},warning33:{conditions:{base:"_1qhetbf31t",hover:"_1qhetbf31u",focus:"_1qhetbf31v",active:"_1qhetbf31w"},defaultClass:"_1qhetbf31t"},binance:{conditions:{base:"_1qhetbf31x",hover:"_1qhetbf31y",focus:"_1qhetbf31z",active:"_1qhetbf320"},defaultClass:"_1qhetbf31x"},overlay:{conditions:{base:"_1qhetbf321",hover:"_1qhetbf322",focus:"_1qhetbf323",active:"_1qhetbf324"},defaultClass:"_1qhetbf321"},gold:{conditions:{base:"_1qhetbf325",hover:"_1qhetbf326",focus:"_1qhetbf327",active:"_1qhetbf328"},defaultClass:"_1qhetbf325"},silver:{conditions:{base:"_1qhetbf329",hover:"_1qhetbf32a",focus:"_1qhetbf32b",active:"_1qhetbf32c"},defaultClass:"_1qhetbf329"},bronze:{conditions:{base:"_1qhetbf32d",hover:"_1qhetbf32e",focus:"_1qhetbf32f",active:"_1qhetbf32g"},defaultClass:"_1qhetbf32d"},yellow:{conditions:{base:"_1qhetbf32h",hover:"_1qhetbf32i",focus:"_1qhetbf32j",active:"_1qhetbf32k"},defaultClass:"_1qhetbf32h"},secondary:{conditions:{base:"_1qhetbf32l",hover:"_1qhetbf32m",focus:"_1qhetbf32n",active:"_1qhetbf32o"},defaultClass:"_1qhetbf32l"},secondary80:{conditions:{base:"_1qhetbf32p",hover:"_1qhetbf32q",focus:"_1qhetbf32r",active:"_1qhetbf32s"},defaultClass:"_1qhetbf32p"},background:{conditions:{base:"_1qhetbf32t",hover:"_1qhetbf32u",focus:"_1qhetbf32v",active:"_1qhetbf32w"},defaultClass:"_1qhetbf32t"},backgroundDisabled:{conditions:{base:"_1qhetbf32x",hover:"_1qhetbf32y",focus:"_1qhetbf32z",active:"_1qhetbf330"},defaultClass:"_1qhetbf32x"},backgroundAlt:{conditions:{base:"_1qhetbf331",hover:"_1qhetbf332",focus:"_1qhetbf333",active:"_1qhetbf334"},defaultClass:"_1qhetbf331"},backgroundAlt2:{conditions:{base:"_1qhetbf335",hover:"_1qhetbf336",focus:"_1qhetbf337",active:"_1qhetbf338"},defaultClass:"_1qhetbf335"},cardBorder:{conditions:{base:"_1qhetbf339",hover:"_1qhetbf33a",focus:"_1qhetbf33b",active:"_1qhetbf33c"},defaultClass:"_1qhetbf339"},contrast:{conditions:{base:"_1qhetbf33d",hover:"_1qhetbf33e",focus:"_1qhetbf33f",active:"_1qhetbf33g"},defaultClass:"_1qhetbf33d"},dropdown:{conditions:{base:"_1qhetbf33h",hover:"_1qhetbf33i",focus:"_1qhetbf33j",active:"_1qhetbf33k"},defaultClass:"_1qhetbf33h"},dropdownDeep:{conditions:{base:"_1qhetbf33l",hover:"_1qhetbf33m",focus:"_1qhetbf33n",active:"_1qhetbf33o"},defaultClass:"_1qhetbf33l"},invertedContrast:{conditions:{base:"_1qhetbf33p",hover:"_1qhetbf33q",focus:"_1qhetbf33r",active:"_1qhetbf33s"},defaultClass:"_1qhetbf33p"},input:{conditions:{base:"_1qhetbf33t",hover:"_1qhetbf33u",focus:"_1qhetbf33v",active:"_1qhetbf33w"},defaultClass:"_1qhetbf33t"},inputSecondary:{conditions:{base:"_1qhetbf33x",hover:"_1qhetbf33y",focus:"_1qhetbf33z",active:"_1qhetbf340"},defaultClass:"_1qhetbf33x"},tertiary:{conditions:{base:"_1qhetbf341",hover:"_1qhetbf342",focus:"_1qhetbf343",active:"_1qhetbf344"},defaultClass:"_1qhetbf341"},text:{conditions:{base:"_1qhetbf345",hover:"_1qhetbf346",focus:"_1qhetbf347",active:"_1qhetbf348"},defaultClass:"_1qhetbf345"},text99:{conditions:{base:"_1qhetbf349",hover:"_1qhetbf34a",focus:"_1qhetbf34b",active:"_1qhetbf34c"},defaultClass:"_1qhetbf349"},textDisabled:{conditions:{base:"_1qhetbf34d",hover:"_1qhetbf34e",focus:"_1qhetbf34f",active:"_1qhetbf34g"},defaultClass:"_1qhetbf34d"},textSubtle:{conditions:{base:"_1qhetbf34h",hover:"_1qhetbf34i",focus:"_1qhetbf34j",active:"_1qhetbf34k"},defaultClass:"_1qhetbf34h"},disabled:{conditions:{base:"_1qhetbf34l",hover:"_1qhetbf34m",focus:"_1qhetbf34n",active:"_1qhetbf34o"},defaultClass:"_1qhetbf34l"},gradientBubblegum:{conditions:{base:"_1qhetbf34p",hover:"_1qhetbf34q",focus:"_1qhetbf34r",active:"_1qhetbf34s"},defaultClass:"_1qhetbf34p"},gradientInverseBubblegum:{conditions:{base:"_1qhetbf34t",hover:"_1qhetbf34u",focus:"_1qhetbf34v",active:"_1qhetbf34w"},defaultClass:"_1qhetbf34t"},gradientCardHeader:{conditions:{base:"_1qhetbf34x",hover:"_1qhetbf34y",focus:"_1qhetbf34z",active:"_1qhetbf350"},defaultClass:"_1qhetbf34x"},gradientBlue:{conditions:{base:"_1qhetbf351",hover:"_1qhetbf352",focus:"_1qhetbf353",active:"_1qhetbf354"},defaultClass:"_1qhetbf351"},gradientViolet:{conditions:{base:"_1qhetbf355",hover:"_1qhetbf356",focus:"_1qhetbf357",active:"_1qhetbf358"},defaultClass:"_1qhetbf355"},gradientVioletAlt:{conditions:{base:"_1qhetbf359",hover:"_1qhetbf35a",focus:"_1qhetbf35b",active:"_1qhetbf35c"},defaultClass:"_1qhetbf359"},gradientGold:{conditions:{base:"_1qhetbf35d",hover:"_1qhetbf35e",focu
17s:"_1qhetbf35f",active:"_1qhetbf35g"},defaultClass:"_1qhetbf35d"},gradientBold:{conditions:{base:"_1qhetbf35h",hover:"_1qhetbf35i",focus:"_1qhetbf35j",active:"_1qhetbf35k"},defaultClass:"_1qhetbf35h"}}},outlineColor:{values:{light:{conditions:{base:"_1qhetbf35l",hover:"_1qhetbf35m",focus:"_1qhetbf35n",active:"_1qhetbf35o"},defaultClass:"_1qhetbf35l"},dark:{conditions:{base:"_1qhetbf35p",hover:"_1qhetbf35q",focus:"_1qhetbf35r",active:"_1qhetbf35s"},defaultClass:"_1qhetbf35p"},white:{conditions:{base:"_1qhetbf35t",hover:"_1qhetbf35u",focus:"_1qhetbf35v",active:"_1qhetbf35w"},defaultClass:"_1qhetbf35t"},failure:{conditions:{base:"_1qhetbf35x",hover:"_1qhetbf35y",focus:"_1qhetbf35z",active:"_1qhetbf360"},defaultClass:"_1qhetbf35x"},failure33:{conditions:{base:"_1qhetbf361",hover:"_1qhetbf362",focus:"_1qhetbf363",active:"_1qhetbf364"},defaultClass:"_1qhetbf361"},primary:{conditions:{base:"_1qhetbf365",hover:"_1qhetbf366",focus:"_1qhetbf367",active:"_1qhetbf368"},defaultClass:"_1qhetbf365"},primary0f:{conditions:{base:"_1qhetbf369",hover:"_1qhetbf36a",focus:"_1qhetbf36b",active:"_1qhetbf36c"},defaultClass:"_1qhetbf369"},primary3D:{conditions:{base:"_1qhetbf36d",hover:"_1qhetbf36e",focus:"_1qhetbf36f",active:"_1qhetbf36g"},defaultClass:"_1qhetbf36d"},primaryBright:{conditions:{base:"_1qhetbf36h",hover:"_1qhetbf36i",focus:"_1qhetbf36j",active:"_1qhetbf36k"},defaultClass:"_1qhetbf36h"},primaryDark:{conditions:{base:"_1qhetbf36l",hover:"_1qhetbf36m",focus:"_1qhetbf36n",active:"_1qhetbf36o"},defaultClass:"_1qhetbf36l"},success:{conditions:{base:"_1qhetbf36p",hover:"_1qhetbf36q",focus:"_1qhetbf36r",active:"_1qhetbf36s"},defaultClass:"_1qhetbf36p"},success19:{conditions:{base:"_1qhetbf36t",hover:"_1qhetbf36u",focus:"_1qhetbf36v",active:"_1qhetbf36w"},defaultClass:"_1qhetbf36t"},warning:{conditions:{base:"_1qhetbf36x",hover:"_1qhetbf36y",focus:"_1qhetbf36z",active:"_1qhetbf370"},defaultClass:"_1qhetbf36x"},warning2D:{conditions:{base:"_1qhetbf371",hover:"_1qhetbf372",focus:"_1qhetbf373",active:"_1qhetbf374"},defaultClass:"_1qhetbf371"},warning33:{conditions:{base:"_1qhetbf375",hover:"_1qhetbf376",focus:"_1qhetbf377",active:"_1qhetbf378"},defaultClass:"_1qhetbf375"},binance:{conditions:{base:"_1qhetbf379",hover:"_1qhetbf37a",focus:"_1qhetbf37b",active:"_1qhetbf37c"},defaultClass:"_1qhetbf379"},overlay:{conditions:{base:"_1qhetbf37d",hover:"_1qhetbf37e",focus:"_1qhetbf37f",active:"_1qhetbf37g"},defaultClass:"_1qhetbf37d"},gold:{conditions:{base:"_1qhetbf37h",hover:"_1qhetbf37i",focus:"_1qhetbf37j",active:"_1qhetbf37k"},defaultClass:"_1qhetbf37h"},silver:{conditions:{base:"_1qhetbf37l",hover:"_1qhetbf37m",focus:"_1qhetbf37n",active:"_1qhetbf37o"},defaultClass:"_1qhetbf37l"},bronze:{conditions:{base:"_1qhetbf37p",hover:"_1qhetbf37q",focus:"_1qhetbf37r",active:"_1qhetbf37s"},defaultClass:"_1qhetbf37p"},yellow:{conditions:{base:"_1qhetbf37t",hover:"_1qhetbf37u",focus:"_1qhetbf37v",active:"_1qhetbf37w"},defaultClass:"_1qhetbf37t"},secondary:{conditions:{base:"_1qhetbf37x",hover:"_1qhetbf37y",focus:"_1qhetbf37z",active:"_1qhetbf380"},defaultClass:"_1qhetbf37x"},secondary80:{conditions:{base:"_1qhetbf381",hover:"_1qhetbf382",focus:"_1qhetbf383",active:"_1qhetbf384"},defaultClass:"_1qhetbf381"},background:{conditions:{base:"_1qhetbf385",hover:"_1qhetbf386",focus:"_1qhetbf387",active:"_1qhetbf388"},defaultClass:"_1qhetbf385"},backgroundDisabled:{conditions:{base:"_1qhetbf389",hover:"_1qhetbf38a",focus:"_1qhetbf38b",active:"_1qhetbf38c"},defaultClass:"_1qhetbf389"},backgroundAlt:{conditions:{base:"_1qhetbf38d",hover:"_1qhetbf38e",focus:"_1qhetbf38f",active:"_1qhetbf38g"},defaultClass:"_1qhetbf38d"},backgroundAlt2:{conditions:{base:"_1qhetbf38h",hover:"_1qhetbf38i",focus:"_1qhetbf38j",active:"_1qhetbf38k"},defaultClass:"_1qhetbf38h"},cardBorder:{conditions:{base:"_1qhetbf38l",hover:"_1qhetbf38m",focus:"_1qhetbf38n",active:"_1qhetbf38o"},defaultClass:"_1qhetbf38l"},contrast:{conditions:{base:"_1qhetbf38p",hover:"_1qhetbf38q",focus:"_1qhetbf38r",active:"_1qhetbf38s"},defaultClass:"_1qhetbf38p"},dropdown:{conditions:{base:"_1qhetbf38t",hover:"_1qhetbf38u",focus:"_1qhetbf38v",active:"_1qhetbf38w"},defaultClass:"_1qhetbf38t"},dropdownDeep:{conditions:{base:"_1qhetbf38x",hover:"_1qhetbf38y",focus:"_1qhetbf38z",active:"_1qhetbf390"},defaultClass:"_1qhetbf38x"},invertedContrast:{conditions:{base:"_1qhetbf391",hover:"_1qhetbf392",focus:"_1qhetbf393",active:"_1qhetbf394"},defaultClass:"_1qhetbf391"},input:{conditions:{base:"_1qhetbf395",hover:"_1qhetbf396",focus:"_1qhetbf397",active:"_1qhetbf398"},defaultClass:"_1qhetbf395"},inputSecondary:{conditions:{base:"_1qhetbf399",hover:"_1qhetbf39a",focus:"_1qhetbf39b",active:"_1qhetbf39c"},defaultClass:"_1qhetbf399"},tertiary:{conditions:{base:"_1qhetbf39d",hover:"_1qhetbf39e",focus:"_1qhetbf39f",active:"_1qhetbf39g"},defaultClass:"_1qhetbf39d"},text:{conditions:{base:"_1qhetbf39h",hover:"_1qhetbf39i",focus:"_1qhetbf39j",active:"_1qhetbf39k"},defaultClass:"_1qhetbf39h"},text99:{conditions:{base:"_1qhetbf39l",hover:"_1qhetbf39m",focus:"_1qhetbf39n",active:"_1qhetbf39o"},defaultClass:"_1qhetbf39l"},textDisabled:{conditions:{base:"_1qhetbf39p",hover:"_1qhetbf39q",focus:"_1qhetbf39r",active:"_1qhetbf39s"},defaultClass:"_1qhetbf39p"},textSubtle:{conditions:{base:"_1qhetbf39t",hover:"_1qhetbf39u",focus:"_1qhetbf39v",active:"_1qhetbf39w"},defaultClass:"_1qhetbf39t"},disabled:{conditions:{base:"_1qhetbf39x",hover:"_1qhetbf39y",focus:"_1qhetbf39z",active:"_1qhetbf3a0"},defaultClass:"_1qhetbf39x"},gradientBubblegum:{conditions:{base:"_1qhetbf3a1",hover:"_1qhetbf3a2",focus:"_1qhetbf3a3",active:"_1qhetbf3a4"},defaultClass:"_1qhetbf3a1"},gradientInverseBubblegum:{conditions:{base:"_1qhetbf3a5",hover:"_1qhetbf3a6",focus:"_1qhetbf3a7",active:"_1qhetbf3a8"},defaultClass:"_1qhetbf3a5"},gradientCardHeader:{conditions:{base:"_1qhetbf3a9",hover:"_1qhetbf3aa",focus:"_1qhetbf3ab",active:"_1qhetbf3ac"},defaultClass:"_1qhetbf3a9"},gradientBlue:{conditions:{base:"_1qhetbf3ad",hover:"_1qhetbf3ae",focu
17s:"_1qhetbf3af",active:"_1qhetbf3ag"},defaultClass:"_1qhetbf3ad"},gradientViolet:{conditions:{base:"_1qhetbf3ah",hover:"_1qhetbf3ai",focus:"_1qhetbf3aj",active:"_1qhetbf3ak"},defaultClass:"_1qhetbf3ah"},gradientVioletAlt:{conditions:{base:"_1qhetbf3al",hover:"_1qhetbf3am",focus:"_1qhetbf3an",active:"_1qhetbf3ao"},defaultClass:"_1qhetbf3al"},gradientGold:{conditions:{base:"_1qhetbf3ap",hover:"_1qhetbf3aq",focus:"_1qhetbf3ar",active:"_1qhetbf3as"},defaultClass:"_1qhetbf3ap"},gradientBold:{conditions:{base:"_1qhetbf3at",hover:"_1qhetbf3au",focus:"_1qhetbf3av",active:"_1qhetbf3aw"},defaultClass:"_1qhetbf3at"}}}}})},70983:function(_,C,L){"use strict";L.r(C),L.d(C,{iconButtonClass:function(){return ea},inputContainerVariants:function(){return es},inputVariants:function(){return eo},pageVariants:function(){return el}}),L(10412),L(75027),L(88953),L(19496);var Z=L(38178),ea="_1qhetbf1v0 _1qhetbf2jx _1qhetbf345 _1qhetbf6 _1qhetbf7i _1qhetbf2i z84kgln",es=(0,Z.c)({defaultClassName:"z84kglc _1qhetbf1uo _1qhetbf2t5 z84kgl7",variantClassNames:{error:{true:"z84kgl9",false:"_1qhetbf1mu"},showBridgeWarning:{true:"_1qhetbf1mc"}},defaultVariants:{},compoundVariants:[]}),eo=(0,Z.c)({defaultClassName:"z84kgl0",variantClassNames:{error:{true:"z84kgl1"},loading:{true:"z84kgl2"},align:{left:"z84kgl3",center:"z84kgl4",right:"z84kgl5"}},defaultVariants:{align:"right",error:!1},compoundVariants:[]}),el=(0,Z.c)({defaultClassName:"z84kglj z84kgli _1qhetbf6 _1qhetbf16 _1qhetbf2i _1qhetbf1pu _1qhetbfdc _1qhetbfui _1qhetbf19c z84kglh",variantClassNames:{removePadding:{true:"z84kglk"},noMinHeight:{true:"z84kgll"}},defaultVariants:{},compoundVariants:[]})},40450:function(_,C,L){"use strict";L.d(C,{J:function(){return Z},g:function(){return ea}}),L(75027);var Z={colors:{white:"var(--colors-white)",failure:"var(--colors-failure)",failure33:"var(--colors-failure33)",primary:"var(--colors-primary)",primary0f:"var(--colors-primary0f)",primary3D:"var(--colors-primary3D)",primaryBright:"var(--colors-primaryBright)",primaryDark:"var(--colors-primaryDark)",success:"var(--colors-success)",success19:"var(--colors-success19)",warning:"var(--colors-warning)",warning2D:"var(--colors-warning2D)",warning33:"var(--colors-warning33)",binance:"var(--colors-binance)",overlay:"var(--colors-overlay)",gold:"var(--colors-gold)",silver:"var(--colors-silver)",bronze:"var(--colors-bronze)",yellow:"var(--colors-yellow)",secondary:"var(--colors-secondary)",secondary80:"var(--colors-secondary80)",background:"var(--colors-background)",backgroundDisabled:"var(--colors-backgroundDisabled)",backgroundAlt:"var(--colors-backgroundAlt)",backgroundAlt2:"var(--colors-backgroundAlt2)",cardBorder:"var(--colors-cardBorder)",contrast:"var(--colors-contrast)",dropdown:"var(--colors-dropdown)",dropdownDeep:"var(--colors-dropdownDeep)",invertedContrast:"var(--colors-invertedContrast)",input:"var(--colors-input)",inputSecondary:"var(--colors-inputSecondary)",tertiary:"var(--colors-tertiary)",text:"var(--colors-text)",text99:"var(--colors-text99)",textDisabled:"var(--colors-textDisabled)",textSubtle:"var(--colors-textSubtle)",disabled:"var(--colors-disabled)",gradientBubblegum:"var(--colors-gradientBubblegum)",gradientInverseBubblegum:"var(--colors-gradientInverseBubblegum)",gradientCardHeader:"var(--colors-gradientCardHeader)",gradientBlue:"var(--colors-gradientBlue)",gradientViolet:"var(--colors-gradientViolet)",gradientVioletAlt:"var(--colors-gradientVioletAlt)",gradientGold:"var(--colors-gradientGold)",gradientBold:"var(--colors-gradientBold)"}},ea={colors:{light:{white:"var(--colors-light-white)",failure:"var(--colors-light-failure)",failure33:"var(--colors-light-failure33)",primary:"var(--colors-light-primary)",primary0f:"var(--colors-light-primary0f)",primary3D:"var(--colors-light-primary3D)",primaryBright:"var(--colors-light-primaryBright)",primaryDark:"var(--colors-light-primaryDark)",success:"var(--colors-light-success)",success19:"var(--colors-light-success19)",warning:"var(--colors-light-warning)",warning2D:"var(--colors-light-warning2D)",warning33:"var(--colors-light-warning33)",binance:"var(--colors-light-binance)",overlay:"var(--colors-light-overlay)",gold:"var(--colors-light-gold)",silver:"var(--colors-light-silver)",bronze:"var(--colors-light-bronze)",yellow:"var(--colors-light-yellow)",secondary:"var(--colors-light-secondary)",secondary80:"var(--colors-light-secondary80)",background:"var(--colors-light-background)",backgroundDisabled:"var(--colors-light-backgroundDisabled)",backgroundAlt:"var(--colors-light-backgroundAlt)",backgroundAlt2:"var(--colors-light-backgroundAlt2)",cardBorder:"var(--colors-light-cardBorder)",contrast:"var(--colors-light-contrast)",dropdown:"var(--colors-light-dropdown)",dropdownDeep:"var(--colors-light-dropdownDeep)",invertedContrast:"var(--colors-light-invertedContrast)",input:"var(--colors-light-input)",inputSecondary:"var(--colors-light-inputSecondary)",tertiary:"var(--colors-light-tertiary)",text:"var(--colors-light-text)",text99:"var(--colors-light-text99)",textDisabled:"var(--colors-light-textDisabled)",textSubtle:"var(--colors-light-textSubtle)",disabled:"var(--colors-light-disabled)",gradientBubblegum:"var(--colors-light-gradientBubblegum)",gradientInverseBubblegum:"var(--colors-light-gradientInverseBubblegum)",gradientCardHeader:"var(--colors-light-gradientCardHeader)",gradientBlue:"var(--colors-light-gradientBlue)",gradientViolet:"var(--colors-light-gradientViolet)",gradientVioletAlt:"var(--colors-light-gradientVioletAlt)",gradientGold:"var(--colors-light-gradientGold)",gradientBold:"var(--colors-light-gradientBold)"},dark:{white:"var(--colors-dark-white)",failure:"var(--colors-dark-failure)",failure33:"var(--colors-dark-failure33)",primary:"var(--colors-dark-primary)",primary0f:"var(--colors-dark-primary0f)",primary3D:"var(--colors-dark-primary3D)",primaryBright:"var(--colors-dark-primaryBright)",primaryDark:"var(--colors-dark-primaryDark)",success:"var(--colors-dark-success)",success19:"var(--colors-dark-success19)",warning:"var(--colors-dark-warning)",warning2D:"var(--colors-dark-warning2D)",warning33:"var(--colors-dark-warning33)",binance:"var(--colors-dark-binance)",overlay:"var(--colors-dark-overlay)",gold:"var(--colors-dark-gold)",silver:"var(--colors-dark-silver)",bronze:"var(--colors-dark-bronze)",yellow:"var(--colors-dark-yellow)",secondary:"var(--colors-dark-secondary)",secondary80:"var(--colors-dark-secondary80)",background:"var(--colors-dark-background)",backgroundDisabled:"var(--colors-dark-backgroundDisabled)",backgroundAlt:"var(--colors-dark-backgroundAlt)",backgroundAlt2:"var(--colors-dark-backgroundAlt2)",cardBorder:"var(--colors-dark-cardBorder)",contrast:"var(--colors-dark-contrast)",dropdown:"var(--colors-dark-dropdown)",dropdownDeep:"var(--colors-dark-dropdownDeep)",invertedContrast:"var(--colors-dark-invertedContrast)",input:"var(--colors-dark-input)",inputSecondary:"var(--colors-dark-inputSecondary)",tertiary:"var(--colors-dark-tertiary)",text:"var(--colors-dark-text)",text99:"var(--colors-dark-text99)",textDisabled:"var(--colors-dark-textDisabled)",textSubtle:"var(--colors-dark-textSubtle)",disabled:"var(--colors-dark-disabled)",gradientBubblegum:"var(--colors-dark-gradientBubblegum)",gradientInverseBubblegum:"var(--colors-dark-gradientInverseBubblegum)",gradientCardHeader:"var(--colors-dark-gradientCardHeader)",gradientBlue:"var(--colors-dark-gradientBlue)",gradientViolet:"var(--colors-dark-gradientViolet)",gradientVioletAlt:"var(--colors-dark-gradientVioletAlt)",gradientGold:"var(--colors-dark-gradientGold)",gradientBold:"var(--colors-dark-gradientBold)"},white:"var(--colors-white)",failure:"var(--colors-failure)",failure33:"var(--colors-failure33)",primary:"var(--colors-primary)",primary0f:"var(--colors-primary0f)",primary3D:"var(--colors-primary3D)",primaryBright:"var(--colors-primaryBright)",primaryDark:"var(--colors-primaryDark)",success:"var(--colors-success)",success19:"var(--colors-success19)",warning:"var(--colors-warning)",warning2D:"var(--colors-warning2D)",warning33:"var(--colors-warning33)",binance:"var(--colors-binance)",overlay:"var(--colors-overlay)",gold:"var(--colors-gold)",silver:"var(--colors-silver)",bronze:"var(--colors-bronze)",yellow:"var(--colors-yellow)",secondary:"var(--colors-secondary)",secondary80:"var(--colors-secondary80)",background:"var(--colors-background)",backgroundDisabled:"var(--colors-backgroundDisabled)",backgroundAlt:"var(--colors-backgroundAlt)",backgroundAlt2:"var(--colors-backgroundAlt2)",cardBorder:"var(--colors-cardBorder)",contrast:"var(--colors-contrast)",dropdown:"var(--colors-dropdown)",dropdownDeep:"var(--colors-dropdownDeep)",invertedContrast:"var(--colors-invertedContrast)",input:"var(--colors-input)",inputSecondary:"var(--colors-inputSecondary)",tertiary:"var(--colors-tertiary)",text:"var(--colors-text)",text99:"var(--colors-text99)",textDisabled:"var(--colors-textDisabled)",textSubtle:"var(--colors-textSubtle)",disabled:"var(--colors-disabled)",gradientBubblegum:"var(--colors-gradientBubblegum)",gradientInverseBubblegum:"var(--colors-gradientInverseBubblegum)",gradientCardHeader:"var(--colors-gradientCardHeader)",gradientBlue:"var(--colors-gradientBlue)",gradientViolet:"var(--colors-gradientViolet)",gradientVioletAlt:"var(--colors-gradientVioletAlt)",gradientGold:"var(--colors-gradientGold)",gradientBold:"var(--colors-gradientBold)"},fonts:{normal:"var(--fonts-normal)",mono:"var(--fonts-mono)"},space:{"0px":"var(--space-0px)","1rem":"var(--space-1rem)","1px":"var(--space-1px)","2px":"var(--space-2px)","6px":"var(--space-6px)","4px":"var(--space-4px)","8px":"var(--space-8px)","12px":"var(--space-12px)","14px":"var(--space-14px)","16px":"var(--space-16px)","20px":"var(--space-20px)","24px":"var(--space-24px)","32px":"var(--space-32px)","48px":"var(--space-48px)","56px":"var(--space-56px)","64px":"var(--space-64px)"},borderWidths:{0:"var(--borderWidths-0)",1:"var(--borderWidths-1)",2:"var(--borderWidths-2)"},radii:{0:"var(--radii-0)","8px":"var(--radii-8px)","12px":"var(--radii-12px)","20px":"var(--radii-20px)","32px":"var(--radii-32px)",small:"var(--radii-small)",default:"var(--radii-default)",card:"var(--radii-card)",circle:"var(--radii-circle)"},fontSizes:{"10px":"var(--fontSizes-10px)","12px":"var(--fontSizes-12px)","16px":"var(--fontSizes-16px)","14px":"var(--fontSizes-14px)","20px":"var(--fontSizes-20px)","40px":"var(--fontSizes-40px)"},shadows:{level1:"var(--shadows-level1)",active:"var(--shadows-active)",
17success:"var(--shadows-success)",warning:"var(--shadows-warning)",danger:"var(--shadows-danger)",focus:"var(--shadows-focus)",inset:"var(--shadows-inset)",tooltip:"var(--shadows-tooltip)"}}},35064:function(){},8041:function(_,C,L){"use strict";Object.defineProperty(C,"__esModule",{value:!0});let Z=L(33569);Z.__exportStar(L(14889),C),Z.__exportStar(L(40392),C)},14889:function(_,C){"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.ONE_THOUSAND=C.ONE_HUNDRED=void 0,C.ONE_HUNDRED=100,C.ONE_THOUSAND=1e3},40392:function(_,C){"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.ONE_YEAR=C.FOUR_WEEKS=C.THREE_WEEKS=C.TWO_WEEKS=C.ONE_WEEK=C.THIRTY_DAYS=C.SEVEN_DAYS=C.FIVE_DAYS=C.THREE_DAYS=C.ONE_DAY=C.TWENTY_FOUR_HOURS=C.TWELVE_HOURS=C.SIX_HOURS=C.THREE_HOURS=C.ONE_HOUR=C.SIXTY_MINUTES=C.THIRTY_MINUTES=C.TEN_MINUTES=C.FIVE_MINUTES=C.ONE_MINUTE=C.SIXTY_SECONDS=C.THIRTY_SECONDS=C.TEN_SECONDS=C.FIVE_SECONDS=C.ONE_SECOND=void 0,C.ONE_SECOND=1,C.FIVE_SECONDS=5,C.TEN_SECONDS=10,C.THIRTY_SECONDS=30,C.SIXTY_SECONDS=60,C.ONE_MINUTE=C.SIXTY_SECONDS,C.FIVE_MINUTES=5*C.ONE_MINUTE,C.TEN_MINUTES=10*C.ONE_MINUTE,C.THIRTY_MINUTES=30*C.ONE_MINUTE,C.SIXTY_MINUTES=60*C.ONE_MINUTE,C.ONE_HOUR=C.SIXTY_MINUTES,C.THREE_HOURS=3*C.ONE_HOUR,C.SIX_HOURS=6*C.ONE_HOUR,C.TWELVE_HOURS=12*C.ONE_HOUR,C.TWENTY_FOUR_HOURS=24*C.ONE_HOUR,C.ONE_DAY=C.TWENTY_FOUR_HOURS,C.THREE_DAYS=3*C.ONE_DAY,C.FIVE_DAYS=5*C.ONE_DAY,C.SEVEN_DAYS=7*C.ONE_DAY,C.THIRTY_DAYS=30*C.ONE_DAY,C.ONE_WEEK=C.SEVEN_DAYS,C.TWO_WEEKS=2*C.ONE_WEEK,C.THREE_WEEKS=3*C.ONE_WEEK,C.FOUR_WEEKS=4*C.ONE_WEEK,C.ONE_YEAR=365*C.ONE_DAY},89727:function(_,C,L){"use strict";Object.defineProperty(C,"__esModule",{value:!0});let Z=L(33569);Z.__exportStar(L(27592),C),Z.__exportStar(L(85759),C),Z.__exportStar(L(95026),C),Z.__exportStar(L(8041),C)},95026:function(_,C,L){"use strict";Object.defineProperty(C,"__esModule",{value:!0});let Z=L(33569);Z.__exportStar(L(46713),C)},46713:function(_,C){"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.IWatch=void 0,C.IWatch=class{}},38358:function(_,C,L){"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.fromMiliseconds=C.toMiliseconds=void 0;let Z=L(8041);C.toMiliseconds=function(_){return _*Z.ONE_THOUSAND},C.fromMiliseconds=function(_){return Math.floor(_/Z.ONE_THOUSAND)}},32042:function(_,C){"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.delay=void 0,C.delay=function(_){return new Promise(C=>{setTimeout(()=>{C(!0)},_)})}},27592:function(_,C,L){"use strict";Object.defineProperty(C,"__esModule",{value:!0});let Z=L(33569);Z.__exportStar(L(32042),C),Z.__exportStar(L(38358),C)},85759:function(_,C){"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.Watch=void 0;let Watch=class Watch{constructor(){this.timestamps=new Map}start(_){if(this.timestamps.has(_))throw Error(`Watch already started for label: ${_}`);this.timestamps.set(_,{started:Date.now()})}stop(_){let C=this.get(_);if(void 0!==C.elapsed)throw Error(`Watch already stopped for label: ${_}`);let L=Date.now()-C.started;this.timestamps.set(_,{started:C.started,elapsed:L})}get(_){let C=this.timestamps.get(_);if(void 0===C)throw Error(`No timestamp found for label: ${_}`);return C}elapsed(_){let C=this.get(_),L=C.elapsed||Date.now()-C.started;return L}};C.Watch=Watch,C.default=Watch},14312:function(_,C,L){"use strict";L.d(C,{AW:function(){return e_},O6:function(){return er},rV:function(){return eT},gn:function(){return lt},H1:function(){return st},hF:function(){return it},WG:function(){return $},pe:function(){return Ln},m$:function(){return kn},vB:function(){return ee},HI:function(){return Kn},E0:function(){return ft},Gq:function(){return at},$0:function(){return Jn},Z4:function(){return ct},Bv:function(){return Nt},Au:function(){return jn},jd:function(){return Dn},gu:function(){return Rn},D:function(){return zn},Z7:function(){return N},cO:function(){return yt},_H:function(){return mt},fc:function(){return At},D6:function(){return U},Hh:function(){return pt},Ym:function(){return Vn},rj:function(){return Mn},jU:function(){return q},gp:function(){return oe},rF:function(){return un},Bw:function(){return dt},UG:function(){return te},Gg:function(){return Zt},xW:function(){return Dt},b$:function(){return j},Ih:function(){return $t},h1:function(){return kt},Q8:function(){return Fn},o8:function(){return w},qt:function(){return D},Dd:function(){return Vt},$t:function(){return Ft},nf:function(){return Bt},Q0:function(){return Lt},in:function(){return cn},p8:function(){return Gt},sI:function(){return zt},al:function(){return Wt},L5:function(){return B},EJ:function(){return xt},Z2:function(){return an},PM:function(){return Kt},hH:function(){return Ht},ON:function(){return Qt},n:function(){return Mt},JT:function(){return qt},M_:function(){return h},jv:function(){return jt},KC:function(){return et},eG:function(){return S},fK:function(){return se},IP:function(){return nt},DQ:function(){return ve},iP:function(){return ut},M:function(){return Xe},he:function(){return bt},uw:function(){return Xt},Ll:function(){return xn},EN:function(){return Re}});var Z=L(77279),ea=L(4759),es=L(80900),eo=L(58161),el=L(5796),eu=L(42772),ec=L(73656),__spreadArray=function(_,C,L){if(L||2==arguments.length)for(var Z,ea=0,es=C.length;ea<es;ea++)!Z&&ea in C||(Z||(Z=Array.prototype.slice.call(C,0,ea)),Z[ea]=C[ea]);return _.concat(Z||Array.prototype.slice.call(C))},BrowserInfo=function(_,C,L){this.name=_,this.version=C,this.os=L,this.type="browser"},NodeInfo=function(_){this.version=_,this.type="node",this.name="node",this.os=ec.platform},SearchBotDeviceInfo=function(_,C,L,Z){this.name=_,this.version=C,this.os=L,this.bot=Z,this.type="bot-device"},BotInfo=function(){this.type="bot",this.bot=!0,this.name="bot",this.version=null,this.os=null},ReactNativeInfo=function(){this.type="react-native",this.name="react-native",this.version=null,this.os=null},ed=/(nuhk|curl|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\ Jeeves\/Teoma|ia_archiver)/,eh=[["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["edge-ios",/EdgiOS\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["silk",/\bSilk\/([0-9._-]+)\b/],["miui",/MiuiBrowser\/([0-9\.]+)$/],["beaker",/BeakerBrowser\/([0-9\.]+)/],["edge-chromium",/EdgA?\/([0-9\.]+)/],["chromium-webview",/(?!Chrom.*OPR)wv\).*Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera-mini",/Opera Mini.*Version\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)/],["pie",/^Microsoft Pocket Internet Explorer\/(\d+\.\d+)$/],["pie",/^Mozilla\/\d\.\d+\s\(compatible;\s(?:MSP?IE|MSInternet Explorer) (\d+\.\d+);.*Windows CE.*\)$/],["netfront",/^Mozilla\/\d\.\d+.*NetFront\/(\d.\d)/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;
17\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FB[AS]V\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Gecko\)$/],["curl",/^curl\/([0-9\.]+)$/],["searchbot",/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/]],ep=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Windows CE",/Windows CE|WinCE|Microsoft Pocket Internet Explorer/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];function parseUserAgent(_){var C=""!==_&&eh.reduce(function(C,L){var Z=L[0],ea=L[1];if(C)return C;var es=ea.exec(_);return!!es&&[Z,es]},!1);if(!C)return null;var L=C[0],Z=C[1];if("searchbot"===L)return new BotInfo;var ea=Z[1]&&Z[1].split(".").join("_").split("_").slice(0,3);ea?ea.length<3&&(ea=__spreadArray(__spreadArray([],ea,!0),function(_){for(var C=[],L=0;L<_;L++)C.push("0");return C}(3-ea.length),!0)):ea=[];var es=ea.join("."),eo=function(_){for(var C=0,L=ep.length;C<L;C++){var Z=ep[C],ea=Z[0];if(Z[1].exec(_))return ea}return null}(_),el=ed.exec(_);return el&&el[1]?new SearchBotDeviceInfo(L,es,eo,el[1]):new BrowserInfo(L,es,eo)}var ef=L(89727),em=L(21846),eb=L(64390),ey=L(68496);L(35064);let eg={waku:{publish:"waku_publish",batchPublish:"waku_batchPublish",subscribe:"waku_subscribe",batchSubscribe:"waku_batchSubscribe",subscription:"waku_subscription",unsubscribe:"waku_unsubscribe",batchUnsubscribe:"waku_batchUnsubscribe"},irn:{publish:"irn_publish",batchPublish:"irn_batchPublish",subscribe:"irn_subscribe",batchSubscribe:"irn_batchSubscribe",subscription:"irn_subscription",unsubscribe:"irn_unsubscribe",batchUnsubscribe:"irn_batchUnsubscribe"},iridium:{publish:"iridium_publish",batchPublish:"iridium_batchPublish",subscribe:"iridium_subscribe",batchSubscribe:"iridium_batchSubscribe",subscription:"iridium_subscription",unsubscribe:"iridium_unsubscribe",batchUnsubscribe:"iridium_batchUnsubscribe"}};var ev=L(73656);function ve(_){let[C,L]=_.split(":");return{namespace:C,reference:L}}function Rn(_,C=[]){let L=[];return Object.keys(_).forEach(Z=>{if(C.length&&!C.includes(Z))return;let ea=_[Z];L.push(...ea.accounts)}),L}function K(_,C){return _.includes(":")?[_]:C.chains||[]}let ex="base10",e_="base16",ew="base64pad",eC="utf8",eT=1;function jn(){let _=el.Au();return{privateKey:(0,eu.BB)(_.secretKey,e_),publicKey:(0,eu.BB)(_.publicKey,e_)}}function Dn(){let _=(0,es.randomBytes)(32);return(0,eu.BB)(_,e_)}function kn(_,C){let L=el.gi((0,eu.mL)(_,e_),(0,eu.mL)(C,e_),!0),Z=new ea.t(eo.mE,L).expand(32);return(0,eu.BB)(Z,e_)}function Vn(_){let C=(0,eo.vp)((0,eu.mL)(_,e_));return(0,eu.BB)(C,e_)}function Mn(_){let C=(0,eo.vp)((0,eu.mL)(_,eC));return(0,eu.BB)(C,e_)}function $(_){return Number((0,eu.BB)(_,ex))}function Kn(_){var C;let L=(C="u">typeof _.type?_.type:0,(0,eu.mL)(`${C}`,ex));if($(L)===eT&&typeof _.senderPublicKey>"u")throw Error("Missing sender public key for type 1 envelope");let ea="u">typeof _.senderPublicKey?(0,eu.mL)(_.senderPublicKey,e_):void 0,eo="u">typeof _.iv?(0,eu.mL)(_.iv,e_):(0,es.randomBytes)(12),el=new Z.OK((0,eu.mL)(_.symKey,e_)).seal(eo,(0,eu.mL)(_.message,eC));return function(_){if($(_.type)===eT){if(typeof _.senderPublicKey>"u")throw Error("Missing sender public key for type 1 envelope");return(0,eu.BB)((0,eu.zo)([_.type,_.senderPublicKey,_.iv,_.sealed]),ew)}return(0,eu.BB)((0,eu.zo)([_.type,_.iv,_.sealed]),ew)}({type:L,sealed:el,iv:eo,senderPublicKey:ea})}function Ln(_){let C=new Z.OK((0,eu.mL)(_.symKey,e_)),{sealed:L,iv:ea}=ee(_.encoded),es=C.open(ea,L);if(null===es)throw Error("Failed to decrypt");return(0,eu.BB)(es,eC)}function ee(_){let C=(0,eu.mL)(_,ew),L=C.slice(0,1);if($(L)===eT){let _=C.slice(1,33),Z=C.slice(33,45),ea=C.slice(45);return{type:L,sealed:ea,iv:Z,senderPublicKey:_}}let Z=C.slice(1,13),ea=C.slice(13);return{type:L,sealed:ea,iv:Z}}function xn(_,C){let L=ee(_);return Re({type:$(L.type),senderPublicKey:"u">typeof L.senderPublicKey?(0,eu.BB)(L.senderPublicKey,e_):void 0,receiverPublicKey:C?.receiverPublicKey})}function Re(_){let C=_?.type||0;if(C===eT){if(typeof _?.senderPublicKey>"u")throw Error("missing sender public key");if(typeof _?.receiverPublicKey>"u")throw Error("missing receiver public key")}return{type:C,senderPublicKey:_?.senderPublicKey,receiverPublicKey:_?.receiverPublicKey}}function Fn(_){return _.type===eT&&"string"==typeof _.senderPublicKey&&"string"==typeof _.receiverPublicKey}var eq=Object.defineProperty,ek=Object.getOwnPropertySymbols,eS=Object.prototype.hasOwnProperty,eE=Object.prototype.propertyIsEnumerable,Ue=(_,C,L)=>C in _?eq(_,C,{enumerable:!0,configurable:!0,writable:!0,value:L}):_[C]=L,_e=(_,C)=>{for(var L in C||(C={}))eS.call(C,L)&&Ue(_,L,C[L]);if(ek)for(var L of ek(C))eE.call(C,L)&&Ue(_,L,C[L]);return _};let eM={reactNative:"react-native",node:"node",browser:"browser",unknown:"unknown"};function te(){return"u">typeof ev&&"u">
17typeof ev.versions&&"u">typeof ev.versions.node}function j(){return!(0,em.getDocument)()&&!!(0,em.getNavigator)()&&"ReactNative"===navigator.product}function q(){return!te()&&!!(0,em.getNavigator)()}function R(){return j()?eM.reactNative:te()?eM.node:q()?eM.browser:eM.unknown}function zn(){return(0,eb.D)()||{name:"",description:"",url:"",icons:[""]}}function Jn({protocol:_,version:C,relayUrl:Z,sdkVersion:ea,auth:es,projectId:eo,useOnCloseEvent:el}){var eu;let ed;let eh=Z.split("?"),ep=function(_,C,Z){let ea=function(){var _;if(R()===eM.reactNative&&"u">typeof L.g&&"u">typeof(null==L.g?void 0:L.g.Platform)){let{OS:_,Version:C}=L.g.Platform;return[_,C].join("-")}let C=_?parseUserAgent(_):"undefined"==typeof document&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product?new ReactNativeInfo:"undefined"!=typeof navigator?parseUserAgent(navigator.userAgent):void 0!==ec&&ec.version?new NodeInfo(ec.version.slice(1)):null;if(null===C)return"unknown";let Z=C.os?C.os.replace(" ","").toLowerCase():"unknown";return"browser"===C.type?[Z,C.name,C.version].join("-"):[Z,C.version].join("-")}(),es=function(){var _;let C=R();return C===eM.browser?[C,(null==(_=(0,em.getLocation)())?void 0:_.host)||"unknown"].join(":"):C}();return[[_,C].join("-"),["js",Z].join("-"),ea,es].join("/")}(_,C,ea),ef=(eu=eh[1]||"",ed=_e(_e({},ed=ey.parse(eu)),{auth:es,ua:ep,projectId:eo,useOnCloseEvent:el||void 0}),eu=ey.stringify(ed));return eh[0]+"?"+ef}function O(_,C){return _.filter(_=>C.includes(_)).length===_.length}function et(_){return Object.fromEntries(_.entries())}function nt(_){return new Map(Object.entries(_))}function st(_=ef.FIVE_MINUTES,C){let L,Z,ea;let es=(0,ef.toMiliseconds)(_||ef.FIVE_MINUTES);return{resolve:_=>{ea&&L&&(clearTimeout(ea),L(_))},reject:_=>{ea&&Z&&(clearTimeout(ea),Z(_))},done:()=>new Promise((_,eo)=>{ea=setTimeout(()=>{eo(Error(C))},es),L=_,Z=eo})}}function it(_,C,L){return new Promise(async(Z,ea)=>{let es=setTimeout(()=>ea(Error(L)),C);try{let C=await _;Z(C)}catch(_){ea(_)}clearTimeout(es)})}function re(_,C){if("string"==typeof C&&C.startsWith(`${_}:`))return C;if("topic"===_.toLowerCase()){if("string"!=typeof C)throw Error('Value must be "string" for expirer target type: topic');return`topic:${C}`}if("id"===_.toLowerCase()){if("number"!=typeof C)throw Error('Value must be "number" for expirer target type: id');return`id:${C}`}throw Error(`Unknown expirer target type: ${_}`)}function ct(_){return re("topic",_)}function at(_){return re("id",_)}function ut(_){let[C,L]=_.split(":"),Z={id:void 0,topic:void 0};if("topic"===C&&"string"==typeof L)Z.topic=L;else if("id"===C&&Number.isInteger(Number(L)))Z.id=Number(L);else throw Error(`Invalid target, expected id:number or topic:string, got ${C}:${L}`);return Z}function lt(_,C){return(0,ef.fromMiliseconds)((C||Date.now())+(0,ef.toMiliseconds)(_))}function dt(_){return Date.now()>=(0,ef.toMiliseconds)(_)}function ft(_,C){return`${_}${C?`:${C}`:""}`}function S(_=[],C=[]){return[...new Set([..._,...C])]}async function pt({id:_,topic:C,wcDeepLink:Z}){try{if(!Z)return;let ea="string"==typeof Z?JSON.parse(Z):Z,es=ea?.href;if("string"!=typeof es)return;es.endsWith("/")&&(es=es.slice(0,-1));let eo=`${es}/wc?requestId=${_}&sessionTopic=${C}`,el=R();el===eM.browser?eo.startsWith("https://")?window.open(eo,"_blank","noreferrer noopener"):window.open(eo,"_self","noreferrer noopener"):el===eM.reactNative&&"u">typeof(null==L.g?void 0:L.g.Linking)&&await L.g.Linking.openURL(eo)}catch(_){console.error(_)}}function mt(_){return _?.relay||{protocol:"irn"}}function yt(_){let C=eg[_];if(typeof C>"u")throw Error(`Relay Protocol not supported: ${_}`);return C}var ej=Object.defineProperty,eA=Object.getOwnPropertySymbols,eD=Object.prototype.hasOwnProperty,eI=Object.prototype.propertyIsEnumerable,qe=(_,C,L)=>C in _?ej(_,C,{enumerable:!0,configurable:!0,writable:!0,value:L}):_[C]=L,Et=(_,C)=>{for(var L in C||(C={}))eD.call(C,L)&&qe(_,L,C[L]);if(eA)for(var L of eA(C))eI.call(C,L)&&qe(_,L,C[L]);return _};function bt(_){var C;let L=_.indexOf(":"),Z=-1!==_.indexOf("?")?_.indexOf("?"):void 0,ea=_.substring(0,L),es=_.substring(L+1,Z).split("@"),eo="u">typeof Z?_.substring(Z):"",el=ey.parse(eo);return{protocol:ea,topic:(C=es[0]).startsWith("//")?C.substring(2):C,version:parseInt(es[1],10),symKey:el.
17symKey,relay:function(_,C="-"){let L={},Z="relay"+C;return Object.keys(_).forEach(C=>{if(C.startsWith(Z)){let ea=C.replace(Z,""),es=_[C];L[ea]=es}}),L}(el)}}function Nt(_){return`${_.protocol}:${_.topic}@${_.version}?`+ey.stringify(Et({symKey:_.symKey},function(_,C="-"){let L={};return Object.keys(_).forEach(Z=>{_[Z]&&(L["relay"+C+Z]=_[Z])}),L}(_.relay)))}var eO=Object.defineProperty,eP=Object.defineProperties,eN=Object.getOwnPropertyDescriptors,eL=Object.getOwnPropertySymbols,eR=Object.prototype.hasOwnProperty,eB=Object.prototype.propertyIsEnumerable,Ye=(_,C,L)=>C in _?eO(_,C,{enumerable:!0,configurable:!0,writable:!0,value:L}):_[C]=L,Tt=(_,C)=>{for(var L in C||(C={}))eR.call(C,L)&&Ye(_,L,C[L]);if(eL)for(var L of eL(C))eB.call(C,L)&&Ye(_,L,C[L]);return _},Rt=(_,C)=>eP(_,eN(C));function A(_){let C=[];return _.forEach(_=>{let[L,Z]=_.split(":");C.push(`${L}:${Z}`)}),C}function At(_,C){let L=cn(_,C);if(L)throw Error(L.message);let Z={};for(let[C,L]of Object.entries(_))Z[C]={methods:L.methods,events:L.events,chains:L.accounts.map(_=>`${_.split(":")[0]}:${_.split(":")[1]}`)};return Z}function oe(_){return _.includes(":")}function Xe(_){return oe(_)?_.split(":")[0]:_}function se(_){var C,L,Z;let ea={};if(!B(_))return ea;for(let[es,eo]of Object.entries(_)){let _=oe(es)?[es]:eo.chains,el=eo.methods||[],eu=eo.events||[],ec=Xe(es);ea[ec]=Rt(Tt({},ea[ec]),{chains:S(_,null==(C=ea[ec])?void 0:C.chains),methods:S(el,null==(L=ea[ec])?void 0:L.methods),events:S(eu,null==(Z=ea[ec])?void 0:Z.events)})}return ea}let eF={INVALID_METHOD:{message:"Invalid method.",code:1001},INVALID_EVENT:{message:"Invalid event.",code:1002},INVALID_UPDATE_REQUEST:{message:"Invalid update request.",code:1003},INVALID_EXTEND_REQUEST:{message:"Invalid extend request.",code:1004},INVALID_SESSION_SETTLE_REQUEST:{message:"Invalid session settle request.",code:1005},UNAUTHORIZED_METHOD:{message:"Unauthorized method.",code:3001},UNAUTHORIZED_EVENT:{message:"Unauthorized event.",code:3002},UNAUTHORIZED_UPDATE_REQUEST:{message:"Unauthorized update request.",code:3003},UNAUTHORIZED_EXTEND_REQUEST:{message:"Unauthorized extend request.",code:3004},USER_REJECTED:{message:"User rejected.",code:5e3},USER_REJECTED_CHAINS:{message:"User rejected chains.",code:5001},USER_REJECTED_METHODS:{message:"User rejected methods.",code:5002},USER_REJECTED_EVENTS:{message:"User rejected events.",code:5003},UNSUPPORTED_CHAINS:{message:"Unsupported chains.",code:5100},UNSUPPORTED_METHODS:{message:"Unsupported methods.",code:5101},UNSUPPORTED_EVENTS:{message:"Unsupported events.",code:5102},UNSUPPORTED_ACCOUNTS:{message:"Unsupported accounts.",code:5103},UNSUPPORTED_NAMESPACE_KEY:{message:"Unsupported namespace key.",code:5104},USER_DISCONNECTED:{message:"User disconnected.",code:6e3},SESSION_SETTLEMENT_FAILED:{message:"Session settlement failed.",code:7e3},WC_METHOD_UNSUPPORTED:{message:"Unsupported wc_ method.",code:10001}},eZ={NOT_INITIALIZED:{message:"Not initialized.",code:1},NO_MATCHING_KEY:{message:"No matching key.",code:2},RESTORE_WILL_OVERRIDE:{message:"Restore will override.",code:3},RESUBSCRIBED:{message:"Resubscribed.",code:4},MISSING_OR_INVALID:{message:"Missing or invalid.",code:5},EXPIRED:{message:"Expired.",code:6},UNKNOWN_TYPE:{message:"Unknown type.",code:7},MISMATCHED_TOPIC:{message:"Mismatched topic.",code:8},NON_CONFORMING_NAMESPACES:{message:"Non conforming namespaces.",code:9}};function N(_,C){let{message:L,code:Z}=eZ[_];return{message:C?`${L} ${C}`:L,code:Z}}function U(_,C){let{message:L,code:Z}=eF[_];return{message:C?`${L} ${C}`:L,code:Z}}function D(_,C){return!!Array.isArray(_)&&(!("u">typeof C)||!_.length||_.every(C))}function B(_){return Object.getPrototypeOf(_)===Object.prototype&&Object.keys(_).length}function w(_){return typeof _>"u"}function h(_,C){return!!(C&&w(_))||"string"==typeof _&&!!_.trim().length}function G(_,C){return!!(C&&w(_))||"number"==typeof _&&!isNaN(_)}function $t(_,C){let{requiredNamespaces:L}=C,Z=Object.keys(_.namespaces),ea=Object.keys(L),es=!0;return!!O(ea,Z)&&(Z.forEach(C=>{let{accounts:Z,methods:ea,events:eo}=_.namespaces[C],el=A(Z),eu=L[C];O(K(C,eu),el)&&O(eu.methods,ea)&&O(eu.events,eo)||(es=!1)}),es)}function k(_){return!!(h(_,!1)&&_.includes(":"))&&2===_.split(":").length}function jt(_){if(h(_,!1))try{return"u">typeof new URL(_)}catch{}return!1}function Dt(_){var C;return null==(C=_?.proposer)?void 0:C.publicKey}
17function kt(_){return _?.topic}function Vt(_,C){let L=null;return h(_?.publicKey,!1)||(L=N("MISSING_OR_INVALID",`${C} controller public key should be a string`)),L}function ie(_){let C=!0;return D(_)?_.length&&(C=_.every(_=>h(_,!1))):C=!1,C}function ce(_,C){let L=null;return Object.values(_).forEach(_=>{var Z;let ea;if(L)return;let es=(Z=`${C}, namespace`,ea=null,ie(_?.methods)?ie(_?.events)||(ea=U("UNSUPPORTED_EVENTS",`${Z}, events should be an array of strings or empty array for no events`)):ea=U("UNSUPPORTED_METHODS",`${Z}, methods should be an array of strings or empty array for no methods`),ea);es&&(L=es)}),L}function Mt(_,C,L){let Z=null;if(_&&B(_)){let ea;let es=ce(_,C);es&&(Z=es);let eo=(ea=null,Object.entries(_).forEach(([_,Z])=>{var es,eo;let el;if(ea)return;let eu=(es=K(_,Z),eo=`${C} ${L}`,el=null,D(es)&&es.length?es.forEach(_=>{el||k(_)||(el=U("UNSUPPORTED_CHAINS",`${eo}, chain ${_} should be a string and conform to "namespace:chainId" format`))}):k(_)||(el=U("UNSUPPORTED_CHAINS",`${eo}, chains must be defined as "namespace:chainId" e.g. "eip155:1": {...} in the namespace key OR as an array of CAIP-2 chainIds e.g. eip155: { chains: ["eip155:1", "eip155:5"] }`)),el);eu&&(ea=eu)}),ea);eo&&(Z=eo)}else Z=N("MISSING_OR_INVALID",`${C}, ${L} should be an object with data`);return Z}function cn(_,C){let L=null;if(_&&B(_)){let Z;let ea=ce(_,C);ea&&(L=ea);let es=(Z=null,Object.values(_).forEach(_=>{var L,ea;let es;if(Z)return;let eo=(L=_?.accounts,ea=`${C} namespace`,es=null,D(L)?L.forEach(_=>{es||function(_){if(h(_,!1)&&_.includes(":")){let C=_.split(":");if(3===C.length){let _=C[0]+":"+C[1];return!!C[2]&&k(_)}}return!1}(_)||(es=U("UNSUPPORTED_ACCOUNTS",`${ea}, account ${_} should be a string and conform to "namespace:chainId:address" format`))}):es=U("UNSUPPORTED_ACCOUNTS",`${ea}, accounts should be an array of strings conforming to "namespace:chainId:address" format`),es);eo&&(Z=eo)}),Z);es&&(L=es)}else L=N("MISSING_OR_INVALID",`${C}, namespaces should be an object with data`);return L}function an(_){return h(_.protocol,!0)}function Kt(_,C){let L=!1;return C&&!_?L=!0:_&&D(_)&&_.length&&_.forEach(_=>{L=an(_)}),L}function Lt(_){return"number"==typeof _}function xt(_){return"u">typeof _}function Ft(_){return!(!_||"object"!=typeof _||!_.code||!G(_.code,!1)||!_.message||!h(_.message,!1))}function Ht(_){return!(w(_)||!h(_.method,!1))}function qt(_){return!(w(_)||w(_.result)&&w(_.error)||!G(_.id,!1)||!h(_.jsonrpc,!1))}function Bt(_){return!(w(_)||!h(_.name,!1))}function Gt(_,C){return!(!k(C)||!(function(_){let C=[];return Object.values(_).forEach(_=>{C.push(...A(_.accounts))}),C})(_).includes(C))}function Wt(_,C,L){return!!h(L,!1)&&(function(_,C){let L=[];return Object.values(_).forEach(_=>{A(_.accounts).includes(C)&&L.push(..._.methods)}),L})(_,C).includes(L)}function zt(_,C,L){return!!h(L,!1)&&(function(_,C){let L=[];return Object.values(_).forEach(_=>{A(_.accounts).includes(C)&&L.push(..._.events)}),L})(_,C).includes(L)}function un(_,C,L){let Z=null,ea=function(_){let C={};return Object.keys(_).forEach(L=>{var Z;L.includes(":")?C[L]=_[L]:null==(Z=_[L].chains)||Z.forEach(Z=>{C[Z]={methods:_[L].methods,events:_[L].events}})}),C}(_),es=function(_){let C={};return Object.keys(_).forEach(L=>{if(L.includes(":"))C[L]=_[L];else{let Z=A(_[L].accounts);Z?.forEach(Z=>{C[Z]={accounts:_[L].accounts.filter(_=>_.includes(`${Z}:`)),methods:_[L].methods,events:_[L].events}})}}),C}(C),eo=Object.keys(ea),el=Object.keys(es),eu=ln(Object.keys(_)),ec=ln(Object.keys(C)),ed=eu.filter(_=>!ec.includes(_));return ed.length&&(Z=N("NON_CONFORMING_NAMESPACES",`${L} namespaces keys don't satisfy requiredNamespaces.
18      Required: ${ed.toString()}
19      Received: ${Object.keys(C).toString()}`)),O(eo,el)||(Z=N("NON_CONFORMING_NAMESPACES",`${L} namespaces chains don't satisfy required namespaces.
20      Required: ${eo.toString()}
21      Approved: ${el.toString()}`)),Object.keys(C).forEach(_=>{if(!_.includes(":")||Z)return;let ea=A(C[_].accounts);ea.includes(_)||(Z=N("NON_CONFORMING_NAMESPACES",`${L} namespaces accounts don't satisfy namespace accounts for ${_}
22        Required: ${_}
23        Approved: ${ea.toString()}`))}),eo.forEach(_=>{Z||(O(ea[_].methods,es[_].methods)?O(ea[_].events,es[_].events)||(Z=N("NON_CONFORMING_NAMESPACES",`${L} namespaces events don't satisfy namespace events for ${_}`)):Z=N("NON_CONFORMING_NAMESPACES",`${L} namespaces methods don't satisfy namespace methods for ${_}`))}),Z}function ln(_){return[...new Set(_.map(_=>_.includes(":")?_.split(":")[0]:_))]}function Qt(_,C){return G(_,!1)&&_<=C.max&&_>=C.min}function Zt(){let _=R();return new Promise(C=>{switch(_){case eM.browser:C(q()&&navigator?.onLine);break;case eM.reactNative:C(fn());break;case eM.node:default:C(!0)}})}async function fn(){if(j()&&"u">typeof L.g&&null!=L.g&&L.g.NetInfo){let _=await (null==L.g?void 0:L.g.NetInfo.fetch());return _?.isConnected}return!0}
23function Xt(_){switch(R()){case eM.browser:!j()&&q()&&(window.addEventListener("online",()=>_(!0)),window.addEventListener("offline",()=>_(!1)));break;case eM.reactNative:j()&&"u">typeof L.g&&null!=L.g&&L.g.NetInfo&&L.g?.NetInfo.addEventListener(C=>_(C?.isConnected));case eM.node:}}let ez={};let er=class er{static get(_){return ez[_]}static set(_,C){ez[_]=C}static delete(_){delete ez[_]}}},21846:function(_,C){"use strict";function getFromWindow(_){let C;return"undefined"!=typeof window&&void 0!==window[_]&&(C=window[_]),C}function getFromWindowOrThrow(_){let C=getFromWindow(_);if(!C)throw Error(`${_} is not defined in Window`);return C}Object.defineProperty(C,"__esModule",{value:!0}),C.getLocalStorage=C.getLocalStorageOrThrow=C.getCrypto=C.getCryptoOrThrow=C.getLocation=C.getLocationOrThrow=C.getNavigator=C.getNavigatorOrThrow=C.getDocument=C.getDocumentOrThrow=C.getFromWindowOrThrow=C.getFromWindow=void 0,C.getFromWindow=getFromWindow,C.getFromWindowOrThrow=getFromWindowOrThrow,C.getDocumentOrThrow=function(){return getFromWindowOrThrow("document")},C.getDocument=function(){return getFromWindow("document")},C.getNavigatorOrThrow=function(){return getFromWindowOrThrow("navigator")},C.getNavigator=function(){return getFromWindow("navigator")},C.getLocationOrThrow=function(){return getFromWindowOrThrow("location")},C.getLocation=function(){return getFromWindow("location")},C.getCryptoOrThrow=function(){return getFromWindowOrThrow("crypto")},C.getCrypto=function(){return getFromWindow("crypto")},C.getLocalStorageOrThrow=function(){return getFromWindowOrThrow("localStorage")},C.getLocalStorage=function(){return getFromWindow("localStorage")}},64390:function(_,C,L){"use strict";C.D=void 0;let Z=L(21846);C.D=function(){let _,C,L;try{_=Z.getDocumentOrThrow(),C=Z.getLocationOrThrow()}catch(_){return null}function getWindowMetadataOfAny(...C){let L=_.getElementsByTagName("meta");for(let _=0;_<L.length;_++){let Z=L[_],ea=["itemprop","property","name"].map(_=>Z.getAttribute(_)).filter(_=>!!_&&C.includes(_));if(ea.length&&ea){let _=Z.getAttribute("content");if(_)return _}}return""}let ea=((L=getWindowMetadataOfAny("name","og:site_name","og:title","twitter:title"))||(L=_.title),L),es=function(){let _=getWindowMetadataOfAny("description","og:description","twitter:description","keywords");return _}(),eo=C.origin,el=function(){let L=_.getElementsByTagName("link"),Z=[];for(let _=0;_<L.length;_++){let ea=L[_],es=ea.getAttribute("rel");if(es&&es.toLowerCase().indexOf("icon")>-1){let _=ea.getAttribute("href");if(_){if(-1===_.toLowerCase().indexOf("https:")&&-1===_.toLowerCase().indexOf("http:")&&0!==_.indexOf("//")){let L=C.protocol+"//"+C.host;if(0===_.indexOf("/"))L+=_;else{let Z=C.pathname.split("/");Z.pop();let ea=Z.join("/");L+=ea+"/"+_}Z.push(L)}else if(0===_.indexOf("//")){let L=C.protocol+_;Z.push(L)}else Z.push(_)}}}return Z}();return{description:es,url:eo,icons:el,name:ea}}},37352:function(_,C,L){var Z;!function(ea){"use strict";var es,eo="[big.js] ",el=eo+"Invalid ",eu=el+"decimal places",ec=el+"rounding mode",ed=eo+"Division by zero",eh={},ep=void 0,ef=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function round(_,C,L,Z){var ea=_.c,es=_.e+C+1;if(es<ea.length){if(1===L)Z=ea[es]>=5;else if(2===L)Z=ea[es]>5||5==ea[es]&&(Z||es<0||ea[es+1]!==ep||1&ea[es-1]);else if(3===L)Z=Z||!!ea[0];else if(Z=!1,0!==L)throw Error(ec);if(es<1)ea.length=1,Z?(_.e=-C,ea[0]=1):ea[0]=_.e=0;else{if(ea.length=es--,Z)for(;++ea[es]>9;)ea[es]=0,es--||(++_.e,ea.unshift(1));for(es=ea.length;!ea[--es];)ea.pop()}}else if(L<0||L>3||L!==~~L)throw Error(ec);return _}function stringify(_,C,L,Z){var ea,es,eo=_.constructor,ec=!_.c[0];if(L!==ep){if(L!==~~L||L<(3==C)||L>1e6)throw Error(3==C?el+"precision":eu);for(L=Z-(_=new eo(_)).e,_.c.length>++Z&&round(_,L,eo.RM),2==C&&(Z=_.e+L+1);_.c.length<Z;)_.c.push(0)}if(ea=_.e,L=(es=_.c.join("")).length,2!=C&&(1==C||3==C&&Z<=ea||ea<=eo.NE||ea>=eo.PE))es=es.charAt(0)+(L>1?"."+es.slice(1):"")+(ea<0?"e":"e+")+ea;else if(ea<0){for(;++ea;)es="0"+es;es="0."+es}else if(ea>0){if(++ea>L)for(ea-=L;ea--;)es+="0";else ea<L&&(es=es.slice(0,ea)+"."+es.slice(ea))}else L>1&&(es=es.charAt(0)+"."+es.slice(1));return _.s<0&&(!ec||4==C)?"-"+es:es}eh.abs=function(){var _=new this.constructor(this);return _.s=1,_}
23,eh.cmp=function(_){var C,L=this.c,Z=(_=new this.constructor(_)).c,ea=this.s,es=_.s,eo=this.e,el=_.e;if(!L[0]||!Z[0])return L[0]?ea:Z[0]?-es:0;if(ea!=es)return ea;if(C=ea<0,eo!=el)return eo>el^C?1:-1;for(ea=-1,es=(eo=L.length)<(el=Z.length)?eo:el;++ea<es;)if(L[ea]!=Z[ea])return L[ea]>Z[ea]^C?1:-1;return eo==el?0:eo>el^C?1:-1},eh.div=function(_){var C=this.constructor,L=this.c,Z=(_=new C(_)).c,ea=this.s==_.s?1:-1,es=C.DP;if(es!==~~es||es<0||es>1e6)throw Error(eu);if(!Z[0])throw Error(ed);if(!L[0])return new C(0*ea);var eo,el,ec,eh,ef,em=Z.slice(),eb=eo=Z.length,ey=L.length,eg=L.slice(0,eo),ev=eg.length,ex=_,e_=ex.c=[],ew=0,eC=es+(ex.e=this.e-_.e)+1;for(ex.s=ea,ea=eC<0?0:eC,em.unshift(0);ev++<eo;)eg.push(0);do{for(ec=0;ec<10;ec++){if(eo!=(ev=eg.length))eh=eo>ev?1:-1;else for(ef=-1,eh=0;++ef<eo;)if(Z[ef]!=eg[ef]){eh=Z[ef]>eg[ef]?1:-1;break}if(eh<0){for(el=ev==eo?Z:em;ev;){if(eg[--ev]<el[ev]){for(ef=ev;ef&&!eg[--ef];)eg[ef]=9;--eg[ef],eg[ev]+=10}eg[ev]-=el[ev]}for(;!eg[0];)eg.shift()}else break}e_[ew++]=eh?ec:++ec,eg[0]&&eh?eg[ev]=L[eb]||0:eg=[L[eb]]}while((eb++<ey||eg[0]!==ep)&&ea--);return!e_[0]&&1!=ew&&(e_.shift(),ex.e--),ew>eC&&round(ex,es,C.RM,eg[0]!==ep),ex},eh.eq=function(_){return!this.cmp(_)},eh.gt=function(_){return this.cmp(_)>0},eh.gte=function(_){return this.cmp(_)>-1},eh.lt=function(_){return 0>this.cmp(_)},eh.lte=function(_){return 1>this.cmp(_)},eh.minus=eh.sub=function(_){var C,L,Z,ea,es=this.constructor,eo=this.s,el=(_=new es(_)).s;if(eo!=el)return _.s=-el,this.plus(_);var eu=this.c.slice(),ec=this.e,ed=_.c,eh=_.e;if(!eu[0]||!ed[0])return ed[0]?(_.s=-el,_):new es(eu[0]?this:0);if(eo=ec-eh){for((ea=eo<0)?(eo=-eo,Z=eu):(eh=ec,Z=ed),Z.reverse(),el=eo;el--;)Z.push(0);Z.reverse()}else for(L=((ea=eu.length<ed.length)?eu:ed).length,eo=el=0;el<L;el++)if(eu[el]!=ed[el]){ea=eu[el]<ed[el];break}if(ea&&(Z=eu,eu=ed,ed=Z,_.s=-_.s),(el=(L=ed.length)-(C=eu.length))>0)for(;el--;)eu[C++]=0;for(el=C;L>eo;){if(eu[--L]<ed[L]){for(C=L;C&&!eu[--C];)eu[C]=9;--eu[C],eu[L]+=10}eu[L]-=ed[L]}for(;0===eu[--el];)eu.pop();for(;0===eu[0];)eu.shift(),--eh;return eu[0]||(_.s=1,eu=[eh=0]),_.c=eu,_.e=eh,_},eh.mod=function(_){var C,L=this,Z=L.constructor,ea=L.s,es=(_=new Z(_)).s;if(!_.c[0])throw Error(ed);return(L.s=_.s=1,C=1==_.cmp(L),L.s=ea,_.s=es,C)?new Z(L):(ea=Z.DP,es=Z.RM,Z.DP=Z.RM=0,L=L.div(_),Z.DP=ea,Z.RM=es,this.minus(L.times(_)))},eh.plus=eh.add=function(_){var C,L=this.constructor,Z=this.s,ea=(_=new L(_)).s;if(Z!=ea)return _.s=-ea,this.minus(_);var es=this.e,eo=this.c,el=_.e,eu=_.c;if(!eo[0]||!eu[0])return eu[0]?_:new L(eo[0]?this:0*Z);if(eo=eo.slice(),Z=es-el){for(Z>0?(el=es,C=eu):(Z=-Z,C=eo),C.reverse();Z--;)C.push(0);C.reverse()}for(eo.length-eu.length<0&&(C=eu,eu=eo,eo=C),Z=eu.length,ea=0;Z;eo[Z]%=10)ea=(eo[--Z]=eo[Z]+eu[Z]+ea)/10|0;for(ea&&(eo.unshift(ea),++el),Z=eo.length;0===eo[--Z];)eo.pop();return _.c=eo,_.e=el,_},eh.pow=function(_){var C=this,L=new C.constructor(1),Z=L,ea=_<0;if(_!==~~_||_<-1e6||_>1e6)throw Error(el+"exponent");for(ea&&(_=-_);1&_&&(Z=Z.times(C)),_>>=1;)C=C.times(C);return ea?L.div(Z):Z},eh.round=function(_,C){var L=this.constructor;if(_===ep)_=0;else if(_!==~~_||_<-1e6||_>1e6)throw Error(eu);return round(new L(this),_,C===ep?L.RM:C)},eh.sqrt=function(){var _,C,L,Z=this.constructor,ea=this.s,es=this.e,el=new Z(.5);if(!this.c[0])return new Z(this);if(ea<0)throw Error(eo+"No square root");0===(ea=Math.sqrt(this+""))||ea===1/0?((C=this.c.join("")).length+es&1||(C+="0"),ea=Math.sqrt(C),es=((es+1)/2|0)-(es<0||1&es),_=new Z((ea==1/0?"1e":(ea=ea.toExponential()).slice(0,ea.indexOf("e")+1))+es)):_=new Z(ea),es=_.e+(Z.DP+=4);do L=_,_=el.times(L.plus(this.div(L)));while(L.c.slice(0,es).join("")!==_.c.slice(0,es).join(""));return round(_,Z.DP-=4,Z.RM)},eh.times=eh.mul=function(_){var C,L=this.constructor,Z=this.c,ea=(_=new L(_)).c,es=Z.length,eo=ea.length,el=this.e,eu=_.e;if(_.s=this.s==_.s?1:-1,!Z[0]||!ea[0])return new L(0*_.s);for(_.e=el+eu,es<eo&&(C=Z,Z=ea,ea=C,eu=es,es=eo,eo=eu),C=Array(eu=es+eo);eu--;)C[eu]=0;for(el=eo;el--;){for(eo=0,eu=es+el;eu>el;)eo=C[eu]+ea[el]*Z[eu-el-1]+eo,C[eu--]=eo%10,eo=eo/10|0;C[eu]=(C[eu]+eo)%10}for(eo?++_.e:C.shift(),el=C.length;!C[--el];)C.pop();return _.c=C,_},eh.toExponential=function(_){return stringify(this,1,_,_)},eh.toFixed=function(_){return stringify(this,2,_,this.e+_)},eh.toPrecision=function(_){return stringify(this,3,_,_-1)},eh.toString=function(){return stringify(this)},eh.valueOf=eh.toJSON=function(){return stringify(this,4)},(es=function _Big_(){function Big(_){if(!(this instanceof Big))return _===ep?_Big_():new Big(_);_ instanceof Big?(this.s=_.s,this.e=_.e,this.c=_.c.slice()):function(_,C){var L,Z,ea;if(0===C&&1/C<0)C="-0";else if(!ef.test(C+=""))throw Error(el+"number");for(_.s="-"==C.charAt(0)?(C=C.slice(1),-1):1,(L=C.indexOf("."))>-1&&(C=C.replace(".","")),(Z=C.search(/e/i))>0?(L<0&&(L=Z),L+=+C.slice(Z+1),C=C.substring(0,Z)):L<0&&(L=C.length),ea=C.length,Z=0;Z<ea&&"0"==C.charAt(Z);)++Z;if(Z==ea)_.c=[_.e=0];else{for(;ea>0&&"0"==C.charAt(--ea););for(_.e=L-Z-1,_.c=[],L=0;Z<=ea;)_.c[L++]=+C.charAt(Z++)}return _}(this,_),this.constructor=Big}
23return Big.prototype=eh,Big.DP=20,Big.RM=1,Big.NE=-7,Big.PE=21,Big.version="5.2.2",Big}()).default=es.Big=es,void 0!==(Z=(function(){return es}).call(C,L,C,_))&&(_.exports=Z)}(0)},14517:function(_,C,L){"use strict";function clsx(){for(var _,C,L=0,Z="";L<arguments.length;)(_=arguments[L++])&&(C=function r(_){var C,L,Z="";if("string"==typeof _||"number"==typeof _)Z+=_;else if("object"==typeof _){if(Array.isArray(_))for(C=0;C<_.length;C++)_[C]&&(L=r(_[C]))&&(Z&&(Z+=" "),Z+=L);else for(C in _)_[C]&&(Z&&(Z+=" "),Z+=C)}return Z}(_))&&(Z&&(Z+=" "),Z+=C);return Z}L.r(C),L.d(C,{clsx:function(){return clsx}}),C.default=clsx},6922:function(_,C){"use strict";/*!
24 * cookie
25 * Copyright(c) 2012-2014 Roman Shtylman
26 * Copyright(c) 2015 Douglas Christopher Wilson
27 * MIT Licensed
28 */C.parse=function(_,C){if("string"!=typeof _)throw TypeError("argument str must be a string");for(var Z={},ea=_.split(";"),es=(C||{}).decode||L,eo=0;eo<ea.length;eo++){var el=ea[eo],eu=el.indexOf("=");if(!(eu<0)){var ec=el.substring(0,eu).trim();if(void 0==Z[ec]){var ed=el.substring(eu+1,el.length).trim();'"'===ed[0]&&(ed=ed.slice(1,-1)),Z[ec]=function(_,C){try{return C(_)}catch(C){return _}}(ed,es)}}}return Z},C.serialize=function(_,C,L){var es=L||{},eo=es.encode||Z;if("function"!=typeof eo)throw TypeError("option encode is invalid");if(!ea.test(_))throw TypeError("argument name is invalid");var el=eo(C);if(el&&!ea.test(el))throw TypeError("argument val is invalid");var eu=_+"="+el;if(null!=es.maxAge){var ec=es.maxAge-0;if(isNaN(ec)||!isFinite(ec))throw TypeError("option maxAge is invalid");eu+="; Max-Age="+Math.floor(ec)}if(es.domain){if(!ea.test(es.domain))throw TypeError("option domain is invalid");eu+="; Domain="+es.domain}if(es.path){if(!ea.test(es.path))throw TypeError("option path is invalid");eu+="; Path="+es.path}if(es.expires){if("function"!=typeof es.expires.toUTCString)throw TypeError("option expires is invali
28d");eu+="; Expires="+es.expires.toUTCString()}if(es.httpOnly&&(eu+="; HttpOnly"),es.secure&&(eu+="; Secure"),es.sameSite)switch("string"==typeof es.sameSite?es.sameSite.toLowerCase():es.sameSite){case!0:case"strict":eu+="; SameSite=Strict";break;case"lax":eu+="; SameSite=Lax";break;case"none":eu+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return eu};var L=decodeURIComponent,Z=encodeURIComponent,ea=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/},94:function(_,C,L){"use strict";var Z=this&&this.__assign||function(){return(Z=Object.assign||function(_){for(var C,L=1,Z=arguments.length;L<Z;L++)for(var ea in C=arguments[L])Object.prototype.hasOwnProperty.call(C,ea)&&(_[ea]=C[ea]);return _}).apply(this,arguments)},ea=this&&this.__rest||function(_,C){var L={};for(var Z in _)Object.prototype.hasOwnProperty.call(_,Z)&&0>C.indexOf(Z)&&(L[Z]=_[Z]);if(null!=_&&"function"==typeof Object.getOwnPropertySymbols)for(var ea=0,Z=Object.getOwnPropertySymbols(_);ea<Z.length;ea++)0>C.indexOf(Z[ea])&&Object.prototype.propertyIsEnumerable.call(_,Z[ea])&&(L[Z[ea]]=_[Z[ea]]);return L};Object.defineProperty(C,"__esModule",{value:!0}),C.checkCookies=C.hasCookie=C.removeCookies=C.deleteCookie=C.setCookies=C.setCookie=C.getCookie=C.getCookies=void 0;var es=L(6922),isClientSide=function(){return"undefined"!=typeof window},stringify=function(_){void 0===_&&(_="");try{var C=JSON.stringify(_);return/^[\{\[]/.test(C)?C:_}catch(C){return _}};C.getCookies=function(_){if(_&&(C=_.req),!isClientSide())return C&&C.cookies?C.cookies:C&&C.headers&&C.headers.cookie?(0,es.parse)(C.headers.cookie):{};for(var C,L={},Z=document.cookie?document.cookie.split("; "):[],ea=0,eo=Z.length;ea<eo;ea++){var el=Z[ea].split("="),eu=el.slice(1).join("=");L[el[0]]=eu}return L},C.getCookie=function(_,L){var Z,ea=(0,C.getCookies)(L)[_];if(void 0!==ea)return"true"===(Z=ea?ea.replace(/(%[0-9A-Z]{2}
28)+/g,decodeURIComponent):ea)||"false"!==Z&&("undefined"!==Z?"null"===Z?null:Z:void 0)},C.setCookie=function(_,C,L){if(L){var eo,el,eu,ec=L.req,ed=L.res,eh=ea(L,["req","res"]);el=ec,eu=ed,eo=eh}var ep=(0,es.serialize)(_,stringify(C),Z({path:"/"},eo));if(isClientSide())document.cookie=ep;else if(eu&&el){var ef=eu.getHeader("Set-Cookie");if(Array.isArray(ef)||(ef=ef?[String(ef)]:[]),eu.setHeader("Set-Cookie",ef.concat(ep)),el&&el.cookies){var em=el.cookies;""===C?delete em[_]:em[_]=stringify(C)}if(el&&el.headers&&el.headers.cookie){var em=(0,es.parse)(el.headers.cookie);""===C?delete em[_]:em[_]=stringify(C),el.headers.cookie=Object.entries(em).reduce(function(_,C){return _.concat("".concat(C[0],"=").concat(C[1],";"))},"")}}},C.setCookies=function(_,L,Z){return console.warn("[WARN]: setCookies was deprecated. It will be deleted in the new version. Use setCookie instead."),(0,C.setCookie)(_,L,Z)},C.deleteCookie=function(_,L){return(0,C.setCookie)(_,"",Z(Z({},L),{maxAge:-1}))},C.removeCookies=function(_,L){return console.warn("[WARN]: removeCookies was deprecated. It will be deleted in the new version. Use deleteCookie instead."),(0,C.deleteCookie)(_,L)},C.hasCookie=function(_,L){return!!_&&(0,C.getCookies)(L).hasOwnProperty(_)},C.checkCookies=function(_,L){return console.warn("[WARN]: checkCookies was deprecated. It will be deleted in the new version. Use hasCookie instead."),(0,C.hasCookie)(_,L)}},14908:function(_,C,L){"use strict";L.r(C),L.d(C,{CountUp:function(){return Z}});var t=function(){return(t=Object.assign||function(_){for(var C,L=1,Z=arguments.length;L<Z;L++)for(var ea in C=arguments[L])Object.prototype.hasOwnProperty.call(C,ea)&&(_[ea]=C[ea]);return _}).apply(this,arguments)},Z=function(){function i(_,C,L){var Z=this;this.endVal=C,this.options=L,this.version="2.8.0",this.defaults={startVal:0,decimalPlaces:0,duration:2,useEasing:!0,useGrouping:!0,useIndianSeparators:!1,smartEasingThreshold:999,smartEasingAmount:333,separator:",",decimal:".",prefix:"",suffix:"",enableScrollSpy:!1,scrollSpyDelay:200,scrollSpyOnce:!1},this.finalEndVal=null,this.useEasing=!0,this.countDown=!1,this.error="",this.startVal=0,this.paused=!0,this.once=!1,this.count=function(_){Z.startTime||(Z.startTime=_);var C=_-Z.startTime;Z.remaining=Z.duration-C,Z.useEasing?Z.countDown?Z.frameVal=Z.startVal-Z.easingFn(C,0,Z.startVal-Z.endVal,Z.duration):Z.frameVal=Z.easingFn(C,Z.startVal,Z.endVal-Z.startVal,Z.duration):Z.frameVal=Z.startVal+(Z.endVal-Z.startVal)*(C/Z.duration);var L=Z.countDown?Z.frameVal<Z.endVal:Z.frameVal>Z.endVal;Z.frameVal=L?Z.endVal:Z.frameVal,Z.frameVal=Number(Z.frameVal.toFixed(Z.options.decimalPlaces)),Z.printValue(Z.frameVal),C<Z.duration?Z.rAF=requestAnimationFrame(Z.count):null!==Z.finalEndVal?Z.update(Z.finalEndVal):Z.options.onCompleteCallback&&Z.options.onCompleteCallback()},this.formatNumber=function(_){var C,L,ea,es=(Math.abs(_).toFixed(Z.options.decimalPlaces)+"").split(".");if(C=es[0],L=es.length>1?Z.options.decimal+es[1]:"",Z.options.useGrouping){ea="";for(var eo=3,el=0,eu=0,ec=C.length;eu<ec;++eu)Z.options.useIndianSeparators&&4===eu&&(eo=2,el=1),0!==eu&&el%eo==0&&(ea=Z.options.separator+ea),el++,ea=C[ec-eu-1]+ea;C=ea}return Z.options.numerals&&Z.options.numerals.length&&(C=C.replace(/[0-9]/g,function(_){return Z.options.numerals[+_]}),L=L.replace(/[0-9]/g,function(_){return Z.options.numerals[+_]})),(_<0?"-":"")+Z.options.prefix+C+L+Z.options.suffix},this.easeOutExpo=function(_,C,L,Z){return L*(1-Math.pow(2,-10*_/Z))*1024/1023+C},this.options=t(t({},this.defaults),L),this.formattingFn=this.options.formattingFn?this.options.formattingFn:this.formatNumber,this.easingFn=this.options.easingFn?this.options.easingFn:this.easeOutExpo,this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.endVal=this.validateValue(C),this.options.decimalPlaces=Math.max(this.options.decimalPlaces),this.resetDuration(),this.options.separator=String(this.options.separator),this.useEasing=this.options.useEasing,""===this.options.separator&&(this.options.useGrouping=!1),this.el="string"==typeof _?document.getElementById(_):_,this.el?this.printValue(this.startVal):this.error="[CountUp] target is null or undefined","undefined"!=typeof window&&this.options.enableScrollSpy&&(this.error?console.error(this.error,_):(window.onScrollFns=window.onScrollFns||[],window.onScrollFns.push(function(){return Z.handleScroll(Z)}),window.onscroll=function(){window.onScrollFns.forEach(function(_){return _()})},this.handleScroll(this)))}return i.prototype.handleScroll=function(_){if(_&&window&&!_.once){var 
28C=window.innerHeight+window.scrollY,L=_.el.getBoundingClientRect(),Z=L.top+window.pageYOffset,ea=L.top+L.height+window.pageYOffset;ea<C&&ea>window.scrollY&&_.paused?(_.paused=!1,setTimeout(function(){return _.start()},_.options.scrollSpyDelay),_.options.scrollSpyOnce&&(_.once=!0)):(window.scrollY>ea||Z>C)&&!_.paused&&_.reset()}},i.prototype.determineDirectionAndSmartEasing=function(){var _=this.finalEndVal?this.finalEndVal:this.endVal;if(this.countDown=this.startVal>_,Math.abs(_-this.startVal)>this.options.smartEasingThreshold&&this.options.useEasing){this.finalEndVal=_;var C=this.countDown?1:-1;this.endVal=_+C*this.options.smartEasingAmount,this.duration=this.duration/2}else this.endVal=_,this.finalEndVal=null;null!==this.finalEndVal?this.useEasing=!1:this.useEasing=this.options.useEasing},i.prototype.start=function(_){this.error||(this.options.onStartCallback&&this.options.onStartCallback(),_&&(this.options.onCompleteCallback=_),this.duration>0?(this.determineDirectionAndSmartEasing(),this.paused=!1,this.rAF=requestAnimationFrame(this.count)):this.printValue(this.endVal))},i.prototype.pauseResume=function(){this.paused?(this.startTime=null,this.duration=this.remaining,this.startVal=this.frameVal,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count)):cancelAnimationFrame(this.rAF),this.paused=!this.paused},i.prototype.reset=function(){cancelAnimationFrame(this.rAF),this.paused=!0,this.resetDuration(),this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.printValue(this.startVal)},i.prototype.update=function(_){cancelAnimationFrame(this.rAF),this.startTime=null,this.endVal=this.validateValue(_),this.endVal!==this.frameVal&&(this.startVal=this.frameVal,null==this.finalEndVal&&this.resetDuration(),this.finalEndVal=null,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count))},i.prototype.printValue=function(_){var C;if(this.el){var L=this.formattingFn(_);(null===(C=this.options.plugin)||void 0===C?void 0:C.render)?this.options.plugin.render(this.el,L):"INPUT"===this.el.tagName?this.el.value=L:"text"===this.el.tagName||"tspan"===this.el.tagName?this.el.textContent=L:this.el.innerHTML=L}},i.prototype.ensureNumber=function(_){return"number"==typeof _&&!isNaN(_)},i.prototype.validateValue=function(_){var C=Number(_);return this.ensureNumber(C)?C:(this.error="[CountUp] invalid start or end value: ".concat(_),null)},i.prototype.resetDuration=function(){this.startTime=null,this.duration=1e3*Number(this.options.duration),this.remaining=this.duration},i}()},3066:function(_,C){var L="undefined"!=typeof self?self:this,Z=function(){function F(){this.fetch=!1,this.DOMException=L.DOMException}return F.prototype=L,new F}();(function(_){var C={searchParams:"URLSearchParams"in Z,iterable:"Symbol"in Z&&"iterator"in Symbol,blob:"FileReader"in Z&&"Blob"in Z&&function(){try{return new Blob,!0}catch(_){return!1}}(),formData:"FormData"in Z,arrayBuffer:"ArrayBuffer"in Z};if(C.arrayBuffer)var L=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],ea=ArrayBuffer.isView||function(_){return _&&L.indexOf(Object.prototype.toString.call(_))>-1};function normalizeName(_){if("string"!=typeof _&&(_=String(_)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(_))throw TypeError("Invalid character in header field name");return _.toLowerCase()}function normalizeValue(_){return"string"!=typeof _&&(_=String(_)),_}function iteratorFor(_){var L={next:function(){var C=_.shift();return{done:void 0===C,value:C}}};return C.iterable&&(L[Symbol.iterator]=function(){return L}),L}function Headers(_){this.map={},_ instanceof Headers?_.forEach(function(_,C){this.append(C,_)},this):Array.isArray(_)?_.forEach(function(_){this.append(_[0],_[1])},this):_&&Object.getOwnPropertyNames(_).forEach(function(C){this.append(C,_[C])},this)}function consumed(_){if(_.bodyUsed)return Promise.reject(TypeError("Already read"));_.bodyUsed=!0}function fileReaderReady(_){return new Promise(function(C,L){_.onload=function(){C(_.result)},_.onerror=function(){L(_.error)}})}function readBlobAsArrayBuffer(_){var C=new FileReader,L=fileReaderReady(C);return C.readAsArrayBuffer(_),L}function bufferClone(_){if(_.slice)return _.slice(0);
28var C=new Uint8Array(_.byteLength);return C.set(new Uint8Array(_)),C.buffer}function Body(){return this.bodyUsed=!1,this._initBody=function(_){if(this._bodyInit=_,_){if("string"==typeof _)this._bodyText=_;else if(C.blob&&Blob.prototype.isPrototypeOf(_))this._bodyBlob=_;else if(C.formData&&FormData.prototype.isPrototypeOf(_))this._bodyFormData=_;else if(C.searchParams&&URLSearchParams.prototype.isPrototypeOf(_))this._bodyText=_.toString();else{var L;C.arrayBuffer&&C.blob&&(L=_)&&DataView.prototype.isPrototypeOf(L)?(this._bodyArrayBuffer=bufferClone(_.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):C.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(_)||ea(_))?this._bodyArrayBuffer=bufferClone(_):this._bodyText=_=Object.prototype.toString.call(_)}}else this._bodyText="";!this.headers.get("content-type")&&("string"==typeof _?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):C.searchParams&&URLSearchParams.prototype.isPrototypeOf(_)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},C.blob&&(this.blob=function(){var _=consumed(this);if(_)return _;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(!this._bodyFormData)return Promise.resolve(new Blob([this._bodyText]));throw Error("could not read FormData body as blob")},this.arrayBuffer=function(){return this._bodyArrayBuffer?consumed(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(readBlobAsArrayBuffer)}),this.text=function(){var _,C,L,Z=consumed(this);if(Z)return Z;if(this._bodyBlob)return _=this._bodyBlob,L=fileReaderReady(C=new FileReader),C.readAsText(_),L;if(this._bodyArrayBuffer)return Promise.resolve(function(_){for(var C=new Uint8Array(_),L=Array(C.length),Z=0;Z<C.length;Z++)L[Z]=String.fromCharCode(C[Z]);return L.join("")}(this._bodyArrayBuffer));if(!this._bodyFormData)return Promise.resolve(this._bodyText);throw Error("could not read FormData body as text")},C.formData&&(this.formData=function(){return this.text().then(decode)}),this.json=function(){return this.text().then(JSON.parse)},this}Headers.prototype.append=function(_,C){_=normalizeName(_),C=normalizeValue(C);var L=this.map[_];this.map[_]=L?L+", "+C:C},Headers.prototype.delete=function(_){delete this.map[normalizeName(_)]},Headers.prototype.get=function(_){return _=normalizeName(_),this.has(_)?this.map[_]:null},Headers.prototype.has=function(_){return this.map.hasOwnProperty(normalizeName(_))},Headers.prototype.set=function(_,C){this.map[normalizeName(_)]=normalizeValue(C)},Headers.prototype.forEach=function(_,C){for(var L in this.map)this.map.hasOwnProperty(L)&&_.call(C,this.map[L],L,this)},Headers.prototype.keys=function(){var _=[];return this.forEach(function(C,L){_.push(L)}),iteratorFor(_)},Headers.prototype.values=function(){var _=[];return this.forEach(function(C){_.push(C)}),iteratorFor(_)},Headers.prototype.entries=function(){var _=[];return this.forEach(function(C,L){_.push([L,C])}),iteratorFor(_)},C.iterable&&(Headers.prototype[Symbol.iterator]=Headers.prototype.entries);var es=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];
28function Request(_,C){var L,Z,ea=(C=C||{}).body;if(_ instanceof Request){if(_.bodyUsed)throw TypeError("Already read");this.url=_.url,this.credentials=_.credentials,C.headers||(this.headers=new Headers(_.headers)),this.method=_.method,this.mode=_.mode,this.signal=_.signal,ea||null==_._bodyInit||(ea=_._bodyInit,_.bodyUsed=!0)}else this.url=String(_);if(this.credentials=C.credentials||this.credentials||"same-origin",(C.headers||!this.headers)&&(this.headers=new Headers(C.headers)),this.method=(Z=(L=C.method||this.method||"GET").toUpperCase(),es.indexOf(Z)>-1?Z:L),this.mode=C.mode||this.mode||null,this.signal=C.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&ea)throw TypeError("Body not allowed for GET or HEAD requests");this._initBody(ea)}function decode(_){var C=new FormData;return _.trim().split("&").forEach(function(_){if(_){var L=_.split("="),Z=L.shift().replace(/\+/g," "),ea=L.join("=").replace(/\+/g," ");C.append(decodeURIComponent(Z),decodeURIComponent(ea))}}),C}function Response(_,C){C||(C={}),this.type="default",this.status=void 0===C.status?200:C.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in C?C.statusText:"OK",this.headers=new Headers(C.headers),this.url=C.url||"",this._initBody(_)}Request.prototype.clone=function(){return new Request(this,{body:this._bodyInit})},Body.call(Request.prototype),Body.call(Response.prototype),Response.prototype.clone=function(){return new Response(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Headers(this.headers),url:this.url})},Response.error=function(){var _=new Response(null,{status:0,statusText:""});return _.type="error",_};var eo=[301,302,303,307,308];Response.redirect=function(_,C){if(-1===eo.indexOf(C))throw RangeError("Invalid status code");return new Response(null,{status:C,headers:{location:_}})},_.DOMException=Z.DOMException;try{new _.DOMException}catch(C){_.DOMException=function(_,C){this.message=_,this.name=C;var L=Error(_);this.stack=L.stack},_.DOMException.prototype=Object.create(Error.prototype),_.DOMException.prototype.constructor=_.DOMException}function fetch(L,Z){return new Promise(function(ea,es){var eo=new Request(L,Z);if(eo.signal&&eo.signal.aborted)return es(new _.DOMException("Aborted","AbortError"));var el=new XMLHttpRequest;function abortXhr(){el.abort()}el.onload=function(){var _,C,L={status:el.status,statusText:el.statusText,headers:(_=el.getAllResponseHeaders()||"",C=new Headers,_.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(_){var L=_.split(":"),Z=L.shift().trim();if(Z){var ea=L.join(":").trim();C.append(Z,ea)}}),C)};L.url="responseURL"in el?el.responseURL:L.headers.get("X-Request-URL");var Z="response"in el?el.response:el.responseText;ea(new Response(Z,L))},el.onerror=function(){es(TypeError("Network request failed"))},el.ontimeout=function(){es(TypeError("Network request failed"))},el.onabort=function(){es(new _.DOMException("Aborted","AbortError"))},el.open(eo.method,eo.url,!0),"include"===eo.credentials?el.withCredentials=!0:"omit"===eo.credentials&&(el.withCredentials=!1),"responseType"in el&&C.blob&&(el.responseType="blob"),eo.headers.forEach(function(_,C){el.setRequestHeader(C,_)}),eo.signal&&(eo.signal.addEventListener("abort",abortXhr),el.onreadystatechange=function(){4===el.readyState&&eo.signal.removeEventListener("abort",abortXhr)}),el.send(void 0===eo._bodyInit?null:eo._bodyInit)})}fetch.polyfill=!0,Z.fetch||(Z.fetch=fetch,Z.Headers=Headers,Z.Request=Request,Z.Response=Response),_.Headers=Headers,_.Request=Request,_.Response=Response,_.fetch=fetch,Object.defineProperty(_,"__esModule",{value:!0})})({}),Z.fetch.ponyfill=!0,delete Z.fetch.polyfill,(C=Z.fetch).default=Z.fetch,C.fetch=Z.fetch,C.Headers=Z.Headers,C.Request=Z.Request,C.Response=Z.Response,_.exports=C},27860:function(_){var C,L,Z,ea,es,eo,el,eu,ec,ed,eh,ep,ef,em,eb,ey,eg,ev,ex,e_,ew,eC;_.exports=(C="millisecond",L="second",Z="minute",ea="hour",es="week",eo="month",el="quarter",eu="year",ec="date",ed="Invalid Date",eh=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,ep=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}
28|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,ef=function(_,C,L){var Z=String(_);return!Z||Z.length>=C?_:""+Array(C+1-Z.length).join(L)+_},(eb={})[em="en"]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(_){var C=["th","st","nd","rd"],L=_%100;return"["+_+(C[(L-20)%10]||C[L]||"th")+"]"}},ey="$isDayjsObject",eg=function(_){return _ instanceof ew||!(!_||!_[ey])},ev=function t(_,C,L){var Z;if(!_)return em;if("string"==typeof _){var ea=_.toLowerCase();eb[ea]&&(Z=ea),C&&(eb[ea]=C,Z=ea);var es=_.split("-");if(!Z&&es.length>1)return t(es[0])}else{var eo=_.name;eb[eo]=_,Z=eo}return!L&&Z&&(em=Z),Z||!L&&em},ex=function(_,C){if(eg(_))return _.clone();var L="object"==typeof C?C:{};return L.date=_,L.args=arguments,new ew(L)},(e_={s:ef,z:function(_){var C=-_.utcOffset(),L=Math.abs(C);return(C<=0?"+":"-")+ef(Math.floor(L/60),2,"0")+":"+ef(L%60,2,"0")},m:function t(_,C){if(_.date()<C.date())return-t(C,_);var L=12*(C.year()-_.year())+(C.month()-_.month()),Z=_.clone().add(L,eo),ea=C-Z<0,es=_.clone().add(L+(ea?-1:1),eo);return+(-(L+(C-Z)/(ea?Z-es:es-Z))||0)},a:function(_){return _<0?Math.ceil(_)||0:Math.floor(_)},p:function(_){return({M:eo,y:eu,w:es,d:"day",D:ec,h:ea,m:Z,s:L,ms:C,Q:el})[_]||String(_||"").toLowerCase().replace(/s$/,"")},u:function(_){return void 0===_}}).l=ev,e_.i=eg,e_.w=function(_,C){return ex(_,{locale:C.$L,utc:C.$u,x:C.$x,$offset:C.$offset})},eC=(ew=function(){function M(_){this.$L=ev(_.locale,null,!0),this.parse(_),this.$x=this.$x||_.x||{},this[ey]=!0}var _=M.prototype;return _.parse=function(_){this.$d=function(_){var C=_.date,L=_.utc;if(null===C)return new Date(NaN);if(e_.u(C))return new Date;if(C instanceof Date)return new Date(C);if("string"==typeof C&&!/Z$/i.test(C)){var Z=C.match(eh);if(Z){var ea=Z[2]-1||0,es=(Z[7]||"0").substring(0,3);return L?new Date(Date.UTC(Z[1],ea,Z[3]||1,Z[4]||0,Z[5]||0,Z[6]||0,es)):new Date(Z[1],ea,Z[3]||1,Z[4]||0,Z[5]||0,Z[6]||0,es)}}return new Date(C)}(_),this.init()},_.init=function(){var _=this.$d;this.$y=_.getFullYear(),this.$M=_.getMonth(),this.$D=_.getDate(),this.$W=_.getDay(),this.$H=_.getHours(),this.$m=_.getMinutes(),this.$s=_.getSeconds(),this.$ms=_.getMilliseconds()},_.$utils=function(){return e_},_.isValid=function(){return this.$d.toString()!==ed},_.isSame=function(_,C){var L=ex(_);return this.startOf(C)<=L&&L<=this.endOf(C)},_.isAfter=function(_,C){return ex(_)<this.startOf(C)},_.isBefore=function(_,C){return this.endOf(C)<ex(_)},_.$g=function(_,C,L){return e_.u(_)?this[C]:this.set(L,_)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(_,C){var el=this,ed=!!e_.u(C)||C,eh=e_.p(_),l=function(_,C){var L=e_.w(el.$u?Date.UTC(el.$y,C,_):new Date(el.$y,C,_),el);return ed?L:L.endOf("day")},$=function(_,C){return e_.w(el.toDate()[_].apply(el.toDate("s"),(ed?[0,0,0,0]:[23,59,59,999]).slice(C)),el)},ep=this.$W,ef=this.$M,em=this.$D,eb="set"+(this.$u?"UTC":"");switch(eh){case eu:return ed?l(1,0):l(31,11);case eo:return ed?l(1,ef):l(0,ef+1);case es:var ey=this.$locale().weekStart||0,eg=(ep<ey?ep+7:ep)-ey;return l(ed?em-eg:em+(6-eg),ef);case"day":case ec:return $(eb+"Hours",0);case ea:return $(eb+"Minutes",1);case Z:return $(eb+"Seconds",2);case L:return $(eb+"Milliseconds",3);default:return this.clone()}},_.endOf=function(_){return this.startOf(_,!1)},_.$set=function(_,es){var el,ed=e_.p(_),eh="set"+(this.$u?"UTC":""),ep=((el={}).day=eh+"Date",el[ec]=eh+"Date",el[eo]=eh+"Month",el[eu]=eh+"FullYear",el[ea]=eh+"Hours",el[Z]=eh+"Minutes",el[L]=eh+"Seconds",el[C]=eh+"Milliseconds",el)[ed],ef="day"===ed?this.$D+(es-this.$W):es;if(ed===eo||ed===eu){var em=this.clone().set(ec,1);em.$d[ep](ef),em.init(),this.$d=em.set(ec,Math.min(this.$D,em.daysInMonth())).$d}else ep&&this.$d[ep](ef);return this.init(),this},_.set=function(_,C){return this.clone().$set(_,C)},_.get=function(_){return this[e_.p(_)]()},_.add=function(_,C){var el,ec=this;_=Number(_);var ed=e_.p(C),y=function(C){var L=ex(ec);return e_.w(L.date(L.date()+Math.round(C*_)),ec)};if(ed===eo)return this.set(eo,this.$M+_);if(ed===eu)return this.set(eu,this.$y+_);if("day"===ed)return y(1);if(ed===es)return y(7);var eh=((el={})[Z]=6e4,el[ea]=36e5,el[L]=1e3,el)[ed]||1,ep=this.$d.getTime()+_*eh;return e_.w(ep,this)},_.subtract=function(_,C){return this.add(-1*_,C)}
28,_.format=function(_){var C=this,L=this.$locale();if(!this.isValid())return L.invalidDate||ed;var Z=_||"YYYY-MM-DDTHH:mm:ssZ",ea=e_.z(this),es=this.$H,eo=this.$m,el=this.$M,eu=L.weekdays,ec=L.months,eh=L.meridiem,h=function(_,L,ea,es){return _&&(_[L]||_(C,Z))||ea[L].slice(0,es)},d=function(_){return e_.s(es%12||12,_,"0")},ef=eh||function(_,C,L){var Z=_<12?"AM":"PM";return L?Z.toLowerCase():Z};return Z.replace(ep,function(_,Z){return Z||function(_){switch(_){case"YY":return String(C.$y).slice(-2);case"YYYY":return e_.s(C.$y,4,"0");case"M":return el+1;case"MM":return e_.s(el+1,2,"0");case"MMM":return h(L.monthsShort,el,ec,3);case"MMMM":return h(ec,el);case"D":return C.$D;case"DD":return e_.s(C.$D,2,"0");case"d":return String(C.$W);case"dd":return h(L.weekdaysMin,C.$W,eu,2);case"ddd":return h(L.weekdaysShort,C.$W,eu,3);case"dddd":return eu[C.$W];case"H":return String(es);case"HH":return e_.s(es,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return ef(es,eo,!0);case"A":return ef(es,eo,!1);case"m":return String(eo);case"mm":return e_.s(eo,2,"0");case"s":return String(C.$s);case"ss":return e_.s(C.$s,2,"0");case"SSS":return e_.s(C.$ms,3,"0");case"Z":return ea}return null}(_)||ea.replace(":","")})},_.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},_.diff=function(_,C,ec){var ed,eh=this,ep=e_.p(C),ef=ex(_),em=(ef.utcOffset()-this.utcOffset())*6e4,eb=this-ef,D=function(){return e_.m(eh,ef)};switch(ep){case eu:ed=D()/12;break;case eo:ed=D();break;case el:ed=D()/3;break;case es:ed=(eb-em)/6048e5;break;case"day":ed=(eb-em)/864e5;break;case ea:ed=eb/36e5;break;case Z:ed=eb/6e4;break;case L:ed=eb/1e3;break;default:ed=eb}return ec?ed:e_.a(ed)},_.daysInMonth=function(){return this.endOf(eo).$D},_.$locale=function(){return eb[this.$L]},_.locale=function(_,C){if(!_)return this.$L;var L=this.clone(),Z=ev(_,C,!0);return Z&&(L.$L=Z),L},_.clone=function(){return e_.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},M}()).prototype,ex.prototype=eC,[["$ms",C],["$s",L],["$m",Z],["$H",ea],["$W","day"],["$M",eo],["$y",eu],["$D",ec]].forEach(function(_){eC[_[1]]=function(C){return this.$g(C,_[0],_[1])}}),ex.extend=function(_,C){return _.$i||(_(C,ew,ex),_.$i=!0),ex},ex.locale=ev,ex.isDayjs=eg,ex.unix=function(_){return ex(1e3*_)},ex.en=eb[em],ex.Ls=eb,ex.p={},ex)},33528:function(_){_.exports=function(_,C,L){_=_||{};var Z=C.prototype,ea={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function i(_,C,L,ea){return Z.fromToBase(_,C,L,ea)}L.en.relativeTime=ea,Z.fromToBase=function(C,Z,es,eo,el){for(var eu,ec,ed,eh=es.$locale().relativeTime||ea,ep=_.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],ef=ep.length,em=0;em<ef;em+=1){var eb=ep[em];eb.d&&(eu=eo?L(C).diff(es,eb.d,!0):es.diff(C,eb.d,!0));var ey=(_.rounding||Math.round)(Math.abs(eu));if(ed=eu>0,ey<=eb.r||!eb.r){ey<=1&&em>0&&(eb=ep[em-1]);var eg=eh[eb.l];el&&(ey=el(""+ey)),ec="string"==typeof eg?eg.replace("%d",ey):eg(ey,Z,eb.l,ed);break}}if(Z)return ec;var ev=ed?eh.future:eh.past;return"function"==typeof ev?ev(ec):ev.replace("%s",ec)},Z.to=function(_,C){return i(_,C,this,!0)},Z.from=function(_,C){return i(_,C,this)};var d=function(_){return _.$u?L.utc():L()};Z.toNow=function(_){return this.to(d(this),_)},Z.fromNow=function(_){return this.from(d(this),_)}}},58084:function(_,C,L){var Z;/*! decimal.js-light v2.5.1 https://github.com/MikeMcl/decimal.js-light/LICENCE */!function(ea){"use strict";var es,eo={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},el=!0,eu="[DecimalError] ",ec=eu+"Invalid argument: ",ed=eu+"Exponent out of range: ",eh=Math.floor,ep=Math.pow,ef=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,em=eh(1286742750677284.5),eb={};function add(_,C){var L,Z,ea,es,eo,eu,ec,ed,eh=_.constructor,ep=eh.precision;if(!_.s||!C.s)return C.s||(C=new eh(_)),el?round(C,ep):C;if(ec=_.d,ed=C.d,eo=_.e,ea=C.e,ec=ec.slice(),es=eo-ea){for(es<0?(Z=ec,es=-es,eu=ed.length):(Z=ed,ea=eo,eu=ec.length),es>(eu=(eo=Math.ceil(ep/7))>eu?eo+1:eu+1)&&(es=eu,Z.length=1),Z.reverse();es--;)Z.push(0);Z.reverse()}for((eu=ec.length)-(es=ed.length)<0&&(es=eu,Z=ed,ed=ec,ec=Z),L=0;es;)L=(ec[--es]=ec[es]+ed[es]+L)/1e7|0,ec[es]%=1e7;for(L&&(ec.unshift(L),++ea),eu=ec.length;0==ec[--eu];)ec.pop();return C.d=ec,C.e=ea,el?round(C,ep):C}function checkInt32(_,C,L){if(_!==~~_||_<C||_>L)throw Error(ec+_)}function digitsToString(_){var C,L,Z,ea=_.length-1,es="",eo=_[0];if(ea>0){for(es+=eo,C=1;C<ea;C++)(L=7-(Z=_[C]+"").length)&&(es+=getZeroString(L)),es+=Z;(L=7-(Z=(eo=_[C])+"").length)&&(es+=getZeroString(L))}else if(0===eo)return"0";for(;eo%10==0;)eo/=10;return es+eo}eb.absoluteValue=eb.abs=function(){var _=new this.constructor(this);return _.s&&(_.s=1),_}
28,eb.comparedTo=eb.cmp=function(_){var C,L,Z,ea;if(_=new this.constructor(_),this.s!==_.s)return this.s||-_.s;if(this.e!==_.e)return this.e>_.e^this.s<0?1:-1;for(C=0,L=(Z=this.d.length)<(ea=_.d.length)?Z:ea;C<L;++C)if(this.d[C]!==_.d[C])return this.d[C]>_.d[C]^this.s<0?1:-1;return Z===ea?0:Z>ea^this.s<0?1:-1},eb.decimalPlaces=eb.dp=function(){var _=this.d.length-1,C=(_-this.e)*7;if(_=this.d[_])for(;_%10==0;_/=10)C--;return C<0?0:C},eb.dividedBy=eb.div=function(_){return ey(this,new this.constructor(_))},eb.dividedToIntegerBy=eb.idiv=function(_){var C=this.constructor;return round(ey(this,new C(_),0,1),C.precision)},eb.equals=eb.eq=function(_){return!this.cmp(_)},eb.exponent=function(){return getBase10Exponent(this)},eb.greaterThan=eb.gt=function(_){return this.cmp(_)>0},eb.greaterThanOrEqualTo=eb.gte=function(_){return this.cmp(_)>=0},eb.isInteger=eb.isint=function(){return this.e>this.d.length-2},eb.isNegative=eb.isneg=function(){return this.s<0},eb.isPositive=eb.ispos=function(){return this.s>0},eb.isZero=function(){return 0===this.s},eb.lessThan=eb.lt=function(_){return 0>this.cmp(_)},eb.lessThanOrEqualTo=eb.lte=function(_){return 1>this.cmp(_)},eb.logarithm=eb.log=function(_){var C,L=this.constructor,Z=L.precision,ea=Z+5;if(void 0===_)_=new L(10);else if((_=new L(_)).s<1||_.eq(es))throw Error(eu+"NaN");if(this.s<1)throw Error(eu+(this.s?"NaN":"-Infinity"));return this.eq(es)?new L(0):(el=!1,C=ey(ln(this,ea),ln(_,ea),ea),el=!0,round(C,Z))},eb.minus=eb.sub=function(_){return _=new this.constructor(_),this.s==_.s?subtract(this,_):add(this,(_.s=-_.s,_))},eb.modulo=eb.mod=function(_){var C,L=this.constructor,Z=L.precision;if(!(_=new L(_)).s)throw Error(eu+"NaN");return this.s?(el=!1,C=ey(this,_,0,1).times(_),el=!0,this.minus(C)):round(new L(this),Z)},eb.naturalExponential=eb.exp=function(){return exp(this)},eb.naturalLogarithm=eb.ln=function(){return ln(this)},eb.negated=eb.neg=function(){var _=new this.constructor(this);return _.s=-_.s||0,_},eb.plus=eb.add=function(_){return _=new this.constructor(_),this.s==_.s?add(this,_):subtract(this,(_.s=-_.s,_))},eb.precision=eb.sd=function(_){var C,L,Z;if(void 0!==_&&!!_!==_&&1!==_&&0!==_)throw Error(ec+_);if(C=getBase10Exponent(this)+1,L=7*(Z=this.d.length-1)+1,Z=this.d[Z]){for(;Z%10==0;Z/=10)L--;for(Z=this.d[0];Z>=10;Z/=10)L++}return _&&C>L?C:L},eb.squareRoot=eb.sqrt=function(){var _,C,L,Z,ea,es,eo,ec=this.constructor;if(this.s<1){if(!this.s)return new ec(0);throw Error(eu+"NaN")}for(_=getBase10Exponent(this),el=!1,0==(ea=Math.sqrt(+this))||ea==1/0?(((C=digitsToString(this.d)).length+_)%2==0&&(C+="0"),ea=Math.sqrt(C),_=eh((_+1)/2)-(_<0||_%2),C=ea==1/0?"5e"+_:(C=ea.toExponential()).slice(0,C.indexOf("e")+1)+_,Z=new ec(C)):Z=new ec(ea.toString()),ea=eo=(L=ec.precision)+3;;)if(Z=(es=Z).plus(ey(this,es,eo+2)).times(.5),digitsToString(es.d).slice(0,eo)===(C=digitsToString(Z.d)).slice(0,eo)){if(C=C.slice(eo-3,eo+1),ea==eo&&"4999"==C){if(round(es,L+1,0),es.times(es).eq(this)){Z=es;break}}else if("9999"!=C)break;eo+=4}return el=!0,round(Z,L)},eb.times=eb.mul=function(_){var C,L,Z,ea,es,eo,eu,ec,ed,eh=this.constructor,ep=this.d,ef=(_=new eh(_)).d;if(!this.s||!_.s)return new eh(0);for(_.s*=this.s,L=this.e+_.e,(ec=ep.length)<(ed=ef.length)&&(es=ep,ep=ef,ef=es,eo=ec,ec=ed,ed=eo),es=[],Z=eo=ec+ed;Z--;)es.push(0);for(Z=ed;--Z>=0;){for(C=0,ea=ec+Z;ea>Z;)eu=es[ea]+ef[Z]*ep[ea-Z-1]+C,es[ea--]=eu%1e7|0,C=eu/1e7|0;es[ea]=(es[ea]+C)%1e7|0}for(;!es[--eo];)es.pop();return C?++L:es.shift(),_.d=es,_.e=L,el?round(_,eh.precision):_},eb.toDecimalPlaces=eb.todp=function(_,C){var L=this,Z=L.constructor;return(L=new Z(L),void 0===_)?L:(checkInt32(_,0,1e9),void 0===C?C=Z.rounding:checkInt32(C,0,8),round(L,_+getBase10Exponent(L)+1,C))},eb.toExponential=function(_,C){var L,Z=this,ea=Z.constructor;return void 0===_?L=toString(Z,!0):(checkInt32(_,0,1e9),void 0===C?C=ea.rounding:checkInt32(C,0,8),L=toString(Z=round(new ea(Z),_+1,C),!0,_+1)),L},eb.toFixed=function(_,C){var L,Z,ea=this.constructor;return void 0===_?toString(this):(checkInt32(_,0,1e9),void 0===C?C=ea.rounding:checkInt32(C,0,8),L=toString((Z=round(new ea(this),_+getBase10Exponent(this)+1,C)).abs(),!1,_+getBase10Exponent(Z)+1),this.isneg()&&!this.isZero()?"-"+L:L)},eb.toInteger=eb.toint=function(){var _=this.constructor;return round(new _(this),getBase10Exponent(this)+1,_.rounding)},eb.toNumber=function(){return+this}
28,eb.toPower=eb.pow=function(_){var C,L,Z,ea,eo,ec,ed=this,ep=ed.constructor,ef=+(_=new ep(_));if(!_.s)return new ep(es);if(!(ed=new ep(ed)).s){if(_.s<1)throw Error(eu+"Infinity");return ed}if(ed.eq(es))return ed;if(Z=ep.precision,_.eq(es))return round(ed,Z);if(ec=(C=_.e)>=(L=_.d.length-1),eo=ed.s,ec){if((L=ef<0?-ef:ef)<=9007199254740991){for(ea=new ep(es),C=Math.ceil(Z/7+4),el=!1;L%2&&truncate((ea=ea.times(ed)).d,C),0!==(L=eh(L/2));)truncate((ed=ed.times(ed)).d,C);return el=!0,_.s<0?new ep(es).div(ea):round(ea,Z)}}else if(eo<0)throw Error(eu+"NaN");return eo=eo<0&&1&_.d[Math.max(C,L)]?-1:1,ed.s=1,el=!1,ea=_.times(ln(ed,Z+12)),el=!0,(ea=exp(ea)).s=eo,ea},eb.toPrecision=function(_,C){var L,Z,ea=this,es=ea.constructor;return void 0===_?(L=getBase10Exponent(ea),Z=toString(ea,L<=es.toExpNeg||L>=es.toExpPos)):(checkInt32(_,1,1e9),void 0===C?C=es.rounding:checkInt32(C,0,8),L=getBase10Exponent(ea=round(new es(ea),_,C)),Z=toString(ea,_<=L||L<=es.toExpNeg,_)),Z},eb.toSignificantDigits=eb.tosd=function(_,C){var L=this.constructor;return void 0===_?(_=L.precision,C=L.rounding):(checkInt32(_,1,1e9),void 0===C?C=L.rounding:checkInt32(C,0,8)),round(new L(this),_,C)},eb.toString=eb.valueOf=eb.val=eb.toJSON=function(){var _=getBase10Exponent(this),C=this.constructor;return toString(this,_<=C.toExpNeg||_>=C.toExpPos)};var ey=function(){function multiplyInteger(_,C){var L,Z=0,ea=_.length;for(_=_.slice();ea--;)L=_[ea]*C+Z,_[ea]=L%1e7|0,Z=L/1e7|0;return Z&&_.unshift(Z),_}function compare(_,C,L,Z){var ea,es;if(L!=Z)es=L>Z?1:-1;else for(ea=es=0;ea<L;ea++)if(_[ea]!=C[ea]){es=_[ea]>C[ea]?1:-1;break}return es}function subtract(_,C,L){for(var Z=0;L--;)_[L]-=Z,Z=_[L]<C[L]?1:0,_[L]=1e7*Z+_[L]-C[L];for(;!_[0]&&_.length>1;)_.shift()}return function(_,C,L,Z){var ea,es,eo,el,ec,ed,eh,ep,ef,em,eb,ey,eg,ev,ex,e_,ew,eC,eT=_.constructor,eq=_.s==C.s?1:-1,ek=_.d,eS=C.d;if(!_.s)return new eT(_);if(!C.s)throw Error(eu+"Division by zero");for(eo=0,es=_.e-C.e,ew=eS.length,ex=ek.length,ep=(eh=new eT(eq)).d=[];eS[eo]==(ek[eo]||0);)++eo;if(eS[eo]>(ek[eo]||0)&&--es,(ey=null==L?L=eT.precision:Z?L+(getBase10Exponent(_)-getBase10Exponent(C))+1:L)<0)return new eT(0);if(ey=ey/7+2|0,eo=0,1==ew)for(el=0,eS=eS[0],ey++;(eo<ex||el)&&ey--;eo++)eg=1e7*el+(ek[eo]||0),ep[eo]=eg/eS|0,el=eg%eS|0;else{for((el=1e7/(eS[0]+1)|0)>1&&(eS=multiplyInteger(eS,el),ek=multiplyInteger(ek,el),ew=eS.length,ex=ek.length),ev=ew,em=(ef=ek.slice(0,ew)).length;em<ew;)ef[em++]=0;(eC=eS.slice()).unshift(0),e_=eS[0],eS[1]>=1e7/2&&++e_;do el=0,(ea=compare(eS,ef,ew,em))<0?(eb=ef[0],ew!=em&&(eb=1e7*eb+(ef[1]||0)),(el=eb/e_|0)>1?(el>=1e7&&(el=1e7-1),ed=(ec=multiplyInteger(eS,el)).length,em=ef.length,1==(ea=compare(ec,ef,ed,em))&&(el--,subtract(ec,ew<ed?eC:eS,ed))):(0==el&&(ea=el=1),ec=eS.slice()),(ed=ec.length)<em&&ec.unshift(0),subtract(ef,ec,em),-1==ea&&(em=ef.length,(ea=compare(eS,ef,ew,em))<1&&(el++,subtract(ef,ew<em?eC:eS,em))),em=ef.length):0===ea&&(el++,ef=[0]),ep[eo++]=el,ea&&ef[0]?ef[em++]=ek[ev]||0:(ef=[ek[ev]],em=1);while((ev++<ex||void 0!==ef[0])&&ey--)}
28return ep[0]||ep.shift(),eh.e=es,round(eh,Z?L+getBase10Exponent(eh)+1:L)}}();function exp(_,C){var L,Z,ea,eo,eu,ec=0,eh=0,ef=_.constructor,em=ef.precision;if(getBase10Exponent(_)>16)throw Error(ed+getBase10Exponent(_));if(!_.s)return new ef(es);for(null==C?(el=!1,eu=em):eu=C,eo=new ef(.03125);_.abs().gte(.1);)_=_.times(eo),eh+=5;for(eu+=Math.log(ep(2,eh))/Math.LN10*2+5|0,L=Z=ea=new ef(es),ef.precision=eu;;){if(Z=round(Z.times(_),eu),L=L.times(++ec),digitsToString((eo=ea.plus(ey(Z,L,eu))).d).slice(0,eu)===digitsToString(ea.d).slice(0,eu)){for(;eh--;)ea=round(ea.times(ea),eu);return ef.precision=em,null==C?(el=!0,round(ea,em)):ea}ea=eo}}function getBase10Exponent(_){for(var C=7*_.e,L=_.d[0];L>=10;L/=10)C++;return C}function getLn10(_,C,L){if(C>_.LN10.sd())throw el=!0,L&&(_.precision=L),Error(eu+"LN10 precision limit exceeded");return round(new _(_.LN10),C)}function getZeroString(_){for(var C="";_--;)C+="0";return C}function ln(_,C){var L,Z,ea,eo,ec,ed,eh,ep,ef,em=1,eb=_,eg=eb.d,ev=eb.constructor,ex=ev.precision;if(eb.s<1)throw Error(eu+(eb.s?"NaN":"-Infinity"));if(eb.eq(es))return new ev(0);if(null==C?(el=!1,ep=ex):ep=C,eb.eq(10))return null==C&&(el=!0),getLn10(ev,ep);if(ep+=10,ev.precision=ep,Z=(L=digitsToString(eg)).charAt(0),!(15e14>Math.abs(eo=getBase10Exponent(eb))))return eh=getLn10(ev,ep+2,ex).times(eo+""),eb=ln(new ev(Z+"."+L.slice(1)),ep-10).plus(eh),ev.precision=ex,null==C?(el=!0,round(eb,ex)):eb;for(;Z<7&&1!=Z||1==Z&&L.charAt(1)>3;)Z=(L=digitsToString((eb=eb.times(_)).d)).charAt(0),em++;for(eo=getBase10Exponent(eb),Z>1?(eb=new ev("0."+L),eo++):eb=new ev(Z+"."+L.slice(1)),ed=ec=eb=ey(eb.minus(es),eb.plus(es),ep),ef=round(eb.times(eb),ep),ea=3;;){if(ec=round(ec.times(ef),ep),digitsToString((eh=ed.plus(ey(ec,new ev(ea),ep))).d).slice(0,ep)===digitsToString(ed.d).slice(0,ep))return ed=ed.times(2),0!==eo&&(ed=ed.plus(getLn10(ev,ep+2,ex).times(eo+""))),ed=ey(ed,new ev(em),ep),ev.precision=ex,null==C?(el=!0,round(ed,ex)):ed;ed=eh,ea+=2}}function parseDecimal(_,C){var L,Z,ea;for((L=C.indexOf("."))>-1&&(C=C.replace(".","")),(Z=C.search(/e/i))>0?(L<0&&(L=Z),L+=+C.slice(Z+1),C=C.substring(0,Z)):L<0&&(L=C.length),Z=0;48===C.charCodeAt(Z);)++Z;for(ea=C.length;48===C.charCodeAt(ea-1);)--ea;if(C=C.slice(Z,ea)){if(ea-=Z,L=L-Z-1,_.e=eh(L/7),_.d=[],Z=(L+1)%7,L<0&&(Z+=7),Z<ea){for(Z&&_.d.push(+C.slice(0,Z)),ea-=7;Z<ea;)_.d.push(+C.slice(Z,Z+=7));Z=7-(C=C.slice(Z)).length}else Z-=ea;for(;Z--;)C+="0";if(_.d.push(+C),el&&(_.e>em||_.e<-em))throw Error(ed+L)}else _.s=0,_.e=0,_.d=[0];return _}function round(_,C,L){var Z,ea,es,eo,eu,ec,ef,eb,ey=_.d;for(eo=1,es=ey[0];es>=10;es/=10)eo++;if((Z=C-eo)<0)Z+=7,ea=C,ef=ey[eb=0];else{if((eb=Math.ceil((Z+1)/7))>=(es=ey.length))return _;for(eo=1,ef=es=ey[eb];es>=10;es/=10)eo++;Z%=7,ea=Z-7+eo}if(void 0!==L&&(eu=ef/(es=ep(10,eo-ea-1))%10|0,ec=C<0||void 0!==ey[eb+1]||ef%es,ec=L<4?(eu||ec)&&(0==L||L==(_.s<0?3:2)):eu>5||5==eu&&(4==L||ec||6==L&&(Z>0?ea>0?ef/ep(10,eo-ea):0:ey[eb-1])%10&1||L==(_.s<0?8:7))),C<1||!ey[0])return ec?(es=getBase10Exponent(_),ey.length=1,C=C-es-1,ey[0]=ep(10,(7-C%7)%7),_.e=eh(-C/7)||0):(ey.length=1,ey[0]=_.e=_.s=0),_;if(0==Z?(ey.length=eb,es=1,eb--):(ey.length=eb+1,es=ep(10,7-Z),ey[eb]=ea>0?(ef/ep(10,eo-ea)%ep(10,ea)|0)*es:0),ec)for(;;){if(0==eb){1e7==(ey[0]+=es)&&(ey[0]=1,++_.e);break}if(ey[eb]+=es,1e7!=ey[eb])break;ey[eb--]=0,es=1}for(Z=ey.length;0===ey[--Z];)ey.pop();if(el&&(_.e>em||_.e<-em))throw Error(ed+getBase10Exponent(_));return _}function subtract(_,C){var L,Z,ea,es,eo,eu,ec,ed,eh,ep,ef=_.constructor,em=ef.precision;if(!_.s||!C.s)return C.s?C.s=-C.s:C=new ef(_),el?round(C,em):C;if(ec=_.d,ep=C.d,Z=C.e,ed=_.e,ec=ec.slice(),eo=ed-Z){for((eh=eo<0)?(L=ec,eo=-eo,eu=ep.length):(L=ep,Z=ed,eu=ec.length),eo>(ea=Math.max(Math.ceil(em/7),eu)+2)&&(eo=ea,L.length=1),L.reverse(),ea=eo;ea--;)L.push(0);L.reverse()}else{for((eh=(ea=ec.length)<(eu=ep.length))&&(eu=ea),ea=0;ea<eu;ea++)if(ec[ea]!=ep[ea]){eh=ec[ea]<ep[ea];break}eo=0}for(eh&&(L=ec,ec=ep,ep=L,C.s=-C.s),eu=ec.length,ea=ep.length-eu;ea>0;--ea)ec[eu++]=0;for(ea=ep.length;ea>eo;){if(ec[--ea]<ep[ea]){for(es=ea;es&&0===ec[--es];)ec[es]=1e7-1;--ec[es],ec[ea]+=1e7}ec[ea]-=ep[ea]}for(;0===ec[--eu];)ec.pop();for(;0===ec[0];ec.shift())--Z;return ec[0]?(C.d=ec,C.e=Z,el?round(C,em):C):new ef(0)}function toString(_,C,L){var Z,ea=getBase10Exponent(_),es=digitsToString(_.d),eo=es.length;return C?(L&&(Z=L-eo)>0?es=es.charAt(0)+"."+es.slice(1)+getZeroString(Z):eo>1&&(es=es.charAt(0)+"."+es.slice(1)),es=es+(ea<0?"e":"e+")+ea):ea<0?(es="0."+getZeroString(-ea-1)+es,L&&(Z=L-eo)>0&&(es+=getZeroString(Z))):ea>=eo?(es+=getZeroString(ea+1-eo),L&&(Z=L-ea-1)>0&&(es=es+"."+getZeroString(Z))):((Z=ea+1)<eo&&(es=es.slice(0,Z)+"."+es.slice(Z)),L&&(Z=L-eo)>0&&(ea+1===eo&&(es+="."),es+=getZeroString(Z))),_.s<0?"-"+es:es}function truncate(_,C){if(_.length>C)return _.length=C,!0}function config(_){if(!_||"object"!=typeof _)throw Error(eu+"Object expected");var C,L,Z,ea=["precision",1,1e9,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(C=0;C<ea.length;C+=3)if(void 0!==(Z=_[L=ea[C]])){if(eh(Z)===Z&&Z>=ea[C+1]&&Z<=ea[C+2])this[L]=Z;else throw Error(ec+L+": "+Z)}if(void 0!==(Z=_[L="LN10"])){if(Z==Math.LN10)this[L]=new this(Z);else throw Error(ec+L+": "+Z)}return this}(eo=function clone(_){var C,L,Z;function Decimal(_){if(!(this instanceof Decimal))return new Decimal(_);if(this.constructor=Decimal,_ instanceof Decimal){this.s=_.s,this.e=_.e,this.d=(_=_.d)?_.slice():_;return}if("number"==typeof _){if(0*_!=0)throw Error(ec+_);if(_>0)this.s=1;else if(_<0)_=-_,this.s=-1;else{this.s=0,this.e=0,this.d=[0];return}if(_===~~_&&_<1e7){this.e=0,this.d=[_];return}return parseDecimal(this,_.toString())}if("string"!=typeof _)throw Error(ec+_);if(45===_.charCodeAt(0)?(_=_.slice(1),this.s=-1):this.s=1,ef.test(_))parseDecimal(this,_);else throw Error(ec+_)}if(Decimal.prototype=eb,Decimal.ROUND_UP=0,Decimal.ROUND_DOWN=1,Decimal.ROUND_CEIL=2,Decimal.ROUND_FLOOR=3,Decimal.ROUND_HALF_UP=4,Decimal.ROUND_HALF_DOWN=5,Decimal.ROUND_HALF_EVEN=6,Decimal.ROUND_HALF_CEIL=7,Decimal.ROUND_HALF_FLOOR=8,Decimal.clone=clone,Decimal.config=Decimal.set=config,void 0===_&&(_={}),_)for(C=0,Z=["precision","rounding","toExpNeg","toExpPos","LN10"];C<Z.length;)_.hasOwnProperty(L=Z[C++])||(_[L]=this[L]);return Decimal.config(_),Decimal}(eo)).default=eo.Decimal=eo,es=new eo(1),void 0!==(Z=(function(){return eo}).call(C,L,C,_))&&(_.exports=Z)}(0)},65140:function(_){"use strict";var C="%[a-f0-9]{2}",L=RegExp("("+C+")|([^%]+?)","gi"),Z=RegExp("("+C+")+","gi");_.exports=function(_){if("string"!=typeof _)throw TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof _+"`");try{return _=_.replace(/\+/g," "),decodeURIComponent(_)}catch(C){return function(_){for(var C={"%FE%FF":"��","%FF%FE":"��"},ea=Z.exec(_);ea;){try{C[ea[0]]=decodeURIComponent(ea[0])}catch(_){var es=function(_){try{return decodeURIComponent(_)}catch(ea){for(var C=_.match(L)||[],Z=1;Z<C.length;Z++)C=(_=(function decodeComponents(_,C){try{return[decodeURIComponent(_.join(""))]}catch(_){}if(1===_.length)return _;C=C||1;var L=_.slice(0,C),Z=_.slice(C);return Array.prototype.concat.call([],decodeComponents(L),decodeComponents(Z))})(C,Z).join("")).match(L)||[];return _}}(ea[0]);es!==ea[0]&&(C[ea[0]]=es)}ea=Z.exec(_)}C["%C2"]="�";for(var eo=Object.keys(C),el=0;el<eo.length;el++){var eu=eo[el];_=_.replace(RegExp(eu,"g"),C[eu])}return _}(_)}}},21883:function(_){"use strict";var C=Object.prototype.hasOwnProperty,L="~";function Events(){}function EE(_,C,L){this.fn=_,this.context=C,this.once=L||!1}function addListener(_,C,Z,ea,es){if("function"!=typeof Z)throw TypeError("The listener must be a function");var eo=new EE(Z,ea||_,es),el=L?L+C:C;return _._events[el]?_._events[el].fn?_._events[el]=[_._events[el],eo]:_._events[el].push(eo):(_._events[el]=eo,_._eventsCount++),_}function clearEvent(_,C){0==--_._eventsCount?_._events=new Events:delete _._events[C]}function EventEmitter(){this._events=new Events,this._eventsCount=0}Object.create&&(Events.prototype=Object.create(null),new Events().__proto__||(L=!1)),EventEmitter.prototype.eventNames=function(){var _,Z,ea=[];if(0===this._eventsCount)return ea;for(Z in _=this._events)C.call(_,Z)&&ea.push(L?Z.slice(1):Z);return Object.getOwnPropertySymbols?ea.concat(Object.getOwnPropertySymbols(_)):ea}
28,EventEmitter.prototype.listeners=function(_){var C=L?L+_:_,Z=this._events[C];if(!Z)return[];if(Z.fn)return[Z.fn];for(var ea=0,es=Z.length,eo=Array(es);ea<es;ea++)eo[ea]=Z[ea].fn;return eo},EventEmitter.prototype.listenerCount=function(_){var C=L?L+_:_,Z=this._events[C];return Z?Z.fn?1:Z.length:0},EventEmitter.prototype.emit=function(_,C,Z,ea,es,eo){var el=L?L+_:_;if(!this._events[el])return!1;var eu,ec,ed=this._events[el],eh=arguments.length;if(ed.fn){switch(ed.once&&this.removeListener(_,ed.fn,void 0,!0),eh){case 1:return ed.fn.call(ed.context),!0;case 2:return ed.fn.call(ed.context,C),!0;case 3:return ed.fn.call(ed.context,C,Z),!0;case 4:return ed.fn.call(ed.context,C,Z,ea),!0;case 5:return ed.fn.call(ed.context,C,Z,ea,es),!0;case 6:return ed.fn.call(ed.context,C,Z,ea,es,eo),!0}for(ec=1,eu=Array(eh-1);ec<eh;ec++)eu[ec-1]=arguments[ec];ed.fn.apply(ed.context,eu)}else{var ep,ef=ed.length;for(ec=0;ec<ef;ec++)switch(ed[ec].once&&this.removeListener(_,ed[ec].fn,void 0,!0),eh){case 1:ed[ec].fn.call(ed[ec].context);break;case 2:ed[ec].fn.call(ed[ec].context,C);break;case 3:ed[ec].fn.call(ed[ec].context,C,Z);break;case 4:ed[ec].fn.call(ed[ec].context,C,Z,ea);break;default:if(!eu)for(ep=1,eu=Array(eh-1);ep<eh;ep++)eu[ep-1]=arguments[ep];ed[ec].fn.apply(ed[ec].context,eu)}}return!0},EventEmitter.prototype.on=function(_,C,L){return addListener(this,_,C,L,!1)},EventEmitter.prototype.once=function(_,C,L){return addListener(this,_,C,L,!0)},EventEmitter.prototype.removeListener=function(_,C,Z,ea){var es=L?L+_:_;if(!this._events[es])return this;if(!C)return clearEvent(this,es),this;var eo=this._events[es];if(eo.fn)eo.fn!==C||ea&&!eo.once||Z&&eo.context!==Z||clearEvent(this,es);else{for(var el=0,eu=[],ec=eo.length;el<ec;el++)(eo[el].fn!==C||ea&&!eo[el].once||Z&&eo[el].context!==Z)&&eu.push(eo[el]);eu.length?this._events[es]=1===eu.length?eu[0]:eu:clearEvent(this,es)}return this},EventEmitter.prototype.removeAllListeners=function(_){var C;return _?(C=L?L+_:_,this._events[C]&&clearEvent(this,C)):(this._events=new Events,this._eventsCount=0),this},EventEmitter.prototype.off=EventEmitter.prototype.removeListener,EventEmitter.prototype.addListener=EventEmitter.prototype.on,EventEmitter.prefixed=L,EventEmitter.EventEmitter=EventEmitter,_.exports=EventEmitter},65416:function(_){"use strict";_.exports=function(_){var C=_.uri,L=_.name,Z=_.type;this.uri=C,this.name=L,this.type=Z}},32322:function(_,C,L){"use strict";var Z=L(17692);_.exports=function extractFiles(_,C,L){void 0===C&&(C=""),void 0===L&&(L=Z);var ea,es=new Map;function addFile(_,C){var L=es.get(C);L?L.push.apply(L,_):es.set(C,_)}if(L(_))ea=null,addFile([C],_);else{var eo=C?C+".":"";if("undefined"!=typeof FileList&&_ instanceof FileList)ea=Array.prototype.map.call(_,function(_,C){return addFile([""+eo+C],_),null});else if(Array.isArray(_))ea=_.map(function(_,C){var Z=extractFiles(_,""+eo+C,L);return Z.files.forEach(addFile),Z.clone});else if(_&&_.constructor===Object)for(var el in ea={},_){var eu=extractFiles(_[el],""+eo+el,L);eu.files.forEach(addFile),ea[el]=eu.clone}else ea=_}return{clone:ea,files:es}}},89473:function(_,C,L){"use strict";C.ReactNativeFile=L(65416),C.extractFiles=L(32322),C.isExtractableFile=L(17692)},17692:function(_,C,L){"use strict";var Z=L(65416);_.exports=function(_){return"undefined"!=typeof File&&_ instanceof File||"undefined"!=typeof Blob&&_ instanceof Blob||_ instanceof Z}},22475:function(_){"use strict";_.exports=function(_,C){for(var L={},Z=Object.keys(_),ea=Array.isArray(C),es=0;es<Z.length;es++){var eo=Z[es],el=_[eo];(ea?-1!==C.indexOf(eo):C(eo,el,_))&&(L[eo]=el)}return L}},47141:function(_){_.exports="object"==typeof self?self.FormData:window.FormData},10063:function(_,C,L){"use strict";var Z=L(99415),ea={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},es={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},eo={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},el={};function getStatics(_){return Z.isMemo(_)?eo:el[_.$$typeof]||ea}el[Z.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},el[Z.Memo]=eo;var eu=Object.defineProperty,ec=Object.getOwnPropertyNames,ed=Object.getOwnPropertySymbols,eh=Object.getOwnPropertyDescriptor,ep=Object.getPrototypeOf,ef=Object.prototype;_.exports=function hoistNonReactStatics(_,C,L){if("string"!=typeof C){if(ef){var Z=ep(C);Z&&Z!==ef&&hoistNonReactStatics(_,Z,L)}var ea=ec(C);ed&&(ea=ea.concat(ed(C)));for(var eo=getStatics(_),el=getStatics(C),em=0;em<ea.length;++em){var eb=ea[em];if(!es[eb]&&!(L&&L[eb])&&!(el&&el[eb])&&!(eo&&eo[eb])){var ey=eh(C,eb);try{eu(_,eb,ey)}catch(_){}}}}return _}},60880:function(_,C,L){"use strict";var Z=L(74477),ea=L(23888),es=L(65310),eo="localStorage"in L.g&&L.g.localStorage?L.g.localStorage:Z;function accessor(_,C){return 1==arguments.length?get(_):set(_,C)}function get(_){let C=eo.getItem(_),L=ea(C);return L}function set(_,C){try{return eo.setItem(_,JSON.stringify(C)),!0}catch(_){return!1}}accessor.set=set,accessor.get=get,accessor.remove=function(_){return eo.removeItem(_)},accessor.clear=function(){return eo.clear()},accessor.backend=function(_){return _&&(eo=_),eo},accessor.on=es.on,accessor.off=es.off,_.exports=accessor},23888:function(_){"use strict";_.exports=function(_){let C=function(_){try{return JSON.parse(_)}catch(C){return _}}(_);return void 0===C?null:C}},74477:function(_){"use strict";var C={};_.exports={getItem:function(_){return _ in C?C[_]:null},setItem:function(_,L){return C[_]=L,!0},removeItem:function(_){return _ in C&&delete C[_]},clear:function(){return C={},!0}}},65310:function(_,C,L){"use strict";var Z=L(23888),ea={};function change(_){_||(_=L.g.event);var C=ea[_.key];
28C&&C.forEach(function(C){C(Z(_.newValue),Z(_.oldValue),_.url||_.uri)})}_.exports={on:function(_,C){ea[_]?ea[_].push(C):ea[_]=[C],L.g.addEventListener?L.g.addEventListener("storage",change,!1):L.g.attachEvent?L.g.attachEvent("onstorage",change):L.g.onstorage=change},off:function(_,C){var L=ea[_];L.length>1?L.splice(L.indexOf(C),1):ea[_]=[]}}},83680:function(_,C,L){/*!
29    localForage -- Offline Storage, Improved
30    Version 1.10.0
31    https://localforage.github.io/localForage
32    (c) 2013-2017 Mozilla, Apache License 2.0
33*/_.exports=(function e(_,C,L){function s(ea,es){if(!C[ea]){if(!_[ea]){if(Z)return Z(ea,!0);var eo=Error("Cannot find module '"+ea+"'");throw eo.code="MODULE_NOT_FOUND",eo}var el=C[ea]={exports:{}};_[ea][0].call(el.exports,function(C){return s(_[ea][1][C]||C)},el,el.exports,e,_,C,L)}return C[ea].exports}for(var Z=void 0,ea=0;ea<L.length;ea++)s(L[ea]);return s})({1:[function(_,C,Z){(function(_){"use strict";var L,Z,ea=_.MutationObserver||_.WebKitMutationObserver;if(ea){var es=0,eo=new ea(nextTick),el=_.document.createTextNode("");eo.observe(el,{characterData:!0}),L=function(){el.data=es=++es%2}}else if(_.setImmediate||void 0===_.MessageChannel)L="document"in _&&"onreadystatechange"in _.document.createElement("script")?function(){var C=_.document.createElement("script");C.onreadystatechange=function(){nextTick(),C.onreadystatechange=null,C.parentNode.removeChild(C),C=null},_.document.documentElement.appendChild(C)}:function(){setTimeout(nextTick,0)};else{var eu=new _.MessageChannel;eu.port1.onmessage=nextTick,L=function(){eu.port2.postMessage(0)}}var ec=[];function nextTick(){Z=!0;for(var _,C,L=ec.length;L;){for(C=ec,ec=[],_=-1;++_<L;)C[_]();L=ec.length}Z=!1}C.exports=function(_){1!==ec.push(_)||Z||L()}}).call(this,void 0!==L.g?L.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(_,C,L){"use strict";var Z=_(1);function INTERNAL(){}var ea={},es=["REJECTED"],eo=["FULFILLED"],el=["PENDING"];function Promise(_){if("function"!=typeof _)throw TypeError("resolver must be a function");this.state=el,this.queue=[],this.outcome=void 0,_!==INTERNAL&&safelyResolveThenable(this,_)}function QueueItem(_,C,L){this.promise=_,"function"==typeof C&&(this.onFulfilled=C,this.callFulfilled=this.otherCallFulfilled),"function"==typeof L&&(this.onRejected=L,this.callRejected=this.otherCallRejected)}function unwrap(_,C,L){Z(function(){var Z;try{Z=C(L)}catch(C){return ea.reject(_,C)}Z===_?ea.reject(_,TypeError("Cannot resolve promise with itself")):ea.resolve(_,Z)})}function getThen(_){var C=_&&_.then;if(_&&("object"==typeof _||"function"==typeof _)&&"function"==typeof C)return function(){C.apply(_,arguments)}}function safelyResolveThenable(_,C){var L=!1;function onError(C){L||(L=!0,ea.reject(_,C))}function onSuccess(C){L||(L=!0,ea.resolve(_,C))}var Z=tryCatch(function(){C(onSuccess,onError)});"error"===Z.status&&onError(Z.value)}function tryCatch(_,C){var L={};try{L.value=_(C),L.status="success"}catch(_){L.status="error",L.value=_}return L}C.exports=Promise,Promise.prototype.catch=function(_){return this.then(null,_)},Promise.prototype.then=function(_,C){if("function"!=typeof _&&this.state===eo||"function"!=typeof C&&this.state===es)return this;var L=new this.constructor(INTERNAL);return this.state!==el?unwrap(L,this.state===eo?_:C,this.outcome):this.queue.push(new QueueItem(L,_,C)),L},QueueItem.prototype.callFulfilled=function(_){ea.resolve(this.promise,_)},QueueItem.prototype.otherCallFulfilled=function(_){unwrap(this.promise,this.onFulfilled,_)},QueueItem.prototype.callRejected=function(_){ea.reject(this.promise,_)},QueueItem.prototype.otherCallRejected=function(_){unwrap(this.promise,this.onRejected,_)},ea.resolve=function(_,C){var L=tryCatch(getThen,C);if("error"===L.status)return ea.reject(_,L.value);var Z=L.value;if(Z)safelyResolveThenable(_,Z);else{_.state=eo,_.outcome=C;for(var es=-1,el=_.queue.length;++es<el;)_.queue[es].callFulfilled(C)}return _},ea.reject=function(_,C){_.state=es,_.outcome=C;for(var L=-1,Z=_.queue.length;++L<Z;)_.queue[L].callRejected(C);return _},Promise.resolve=function(_){return _ instanceof this?_:ea.resolve(new this(INTERNAL),_)}
33,Promise.reject=function(_){var C=new this(INTERNAL);return ea.reject(C,_)},Promise.all=function(_){var C=this;if("[object Array]"!==Object.prototype.toString.call(_))return this.reject(TypeError("must be an array"));var L=_.length,Z=!1;if(!L)return this.resolve([]);for(var es=Array(L),eo=0,el=-1,eu=new this(INTERNAL);++el<L;)(function(_,el){C.resolve(_).then(function(_){es[el]=_,++eo!==L||Z||(Z=!0,ea.resolve(eu,es))},function(_){Z||(Z=!0,ea.reject(eu,_))})})(_[el],el);return eu},Promise.race=function(_){var C=this;if("[object Array]"!==Object.prototype.toString.call(_))return this.reject(TypeError("must be an array"));var L=_.length,Z=!1;if(!L)return this.resolve([]);for(var es=-1,eo=new this(INTERNAL);++es<L;)(function(_){C.resolve(_).then(function(_){Z||(Z=!0,ea.resolve(eo,_))},function(_){Z||(Z=!0,ea.reject(eo,_))})})(_[es]);return eo}},{1:1}],3:[function(_,C,Z){(function(C){"use strict";"function"!=typeof C.Promise&&(C.Promise=_(2))}).call(this,void 0!==L.g?L.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{2:2}],4:[function(_,C,L){"use strict";var Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(_){return typeof _}:function(_){return _&&"function"==typeof Symbol&&_.constructor===Symbol&&_!==Symbol.prototype?"symbol":typeof _},ea=function(){try{if("undefined"!=typeof indexedDB)return indexedDB;if("undefined"!=typeof webkitIndexedDB)return webkitIndexedDB;if("undefined"!=typeof mozIndexedDB)return mozIndexedDB;if("undefined"!=typeof OIndexedDB)return OIndexedDB;if("undefined"!=typeof msIndexedDB)return msIndexedDB}catch(_){return}}();function createBlob(_,C){_=_||[],C=C||{};try{return new Blob(_,C)}catch(ea){if("TypeError"!==ea.name)throw ea;for(var L=new("undefined"!=typeof BlobBuilder?BlobBuilder:"undefined"!=typeof MSBlobBuilder?MSBlobBuilder:"undefined"!=typeof MozBlobBuilder?MozBlobBuilder:WebKitBlobBuilder),Z=0;Z<_.length;Z+=1)L.append(_[Z]);return L.getBlob(C.type)}}"undefined"==typeof Promise&&_(3);var es=Promise;function executeCallback(_,C){C&&_.then(function(_){C(null,_)},function(_){C(_)})}function executeTwoCallbacks(_,C,L){"function"==typeof C&&_.then(C),"function"==typeof L&&_.catch(L)}function normalizeKey(_){return"string"!=typeof _&&(console.warn(_+" used as a key, but it is not a string."),_=String(_)),_}function getCallback(){if(arguments.length&&"function"==typeof arguments[arguments.length-1])return arguments[arguments.length-1]}var eo="local-forage-detect-blob-support",el=void 0,eu={},ec=Object.prototype.toString,ed="readonly",eh="readwrite";function _deferReadiness(_){var C=eu[_.name],L={};L.promise=new es(function(_,C){L.resolve=_,L.reject=C}),C.deferredOperations.push(L),C.dbReady?C.dbReady=C.dbReady.then(function(){return L.promise}):C.dbReady=L.promise}function _advanceReadiness(_){var C=eu[_.name].deferredOperations.pop();if(C)return C.resolve(),C.promise}function _rejectReadiness(_,C){var L=eu[_.name].deferredOperations.pop();if(L)return L.reject(C),L.promise}function _getConnection(_,C){return new es(function(L,Z){if(eu[_.name]=eu[_.name]||createDbContext(),_.db){if(!C)return L(_.db);_deferReadiness(_),_.db.close()}var es=[_.name];C&&es.push(_.version);var el=ea.open.apply(ea,es);C&&(el.onupgradeneeded=function(C){var L=el.result;try{L.createObjectStore(_.storeName),C.oldVersion<=1&&L.createObjectStore(eo)}catch(L){if("ConstraintError"===L.name)console.warn('The database "'+_.name+'" has been upgraded from version '+C.oldVersion+" to version "+C.newVersion+', but the storage "'+_.storeName+'" already exists.');else throw L}}),el.onerror=function(_){_.preventDefault(),Z(el.error)},el.onsuccess=function(){var C=el.result;C.onversionchange=function(_){_.target.close()},L(C),_advanceReadiness(_)}})}function _isUpgradeNeeded(_,C){if(!_.db)return!0;var L=!_.db.objectStoreNames.contains(_.storeName),Z=_.version<_.db.version,ea=_.version>_.db.version;if(Z&&(_.version!==C&&console.warn('The database "'+_.name+"\" can't be downgraded from version "+_.db.version+" to version "+_.version+"."),_.version=_.db.version),ea||L){if(L){var es=_.db.version+1;es>_.version&&(_.version=es)}return!0}return!1}function _decodeBlob(_){return createBlob([function(_){for(var C=_.length,L=new ArrayBuffer(C),Z=new Uint8Array(L),ea=0;ea<C;ea++)Z[ea]=_.charCodeAt(ea);return L}(atob(_.data))],{type:_.type})}function _isEncodedBlob(_){return _&&_.__local_forage_encoded_blob}
33function _fullyReady(_){var C=this,L=C._initReady().then(function(){var _=eu[C._dbInfo.name];if(_&&_.dbReady)return _.dbReady});return executeTwoCallbacks(L,_,_),L}function createTransaction(_,C,L,Z){void 0===Z&&(Z=1);try{var ea=_.db.transaction(_.storeName,C);L(null,ea)}catch(ea){if(Z>0&&(!_.db||"InvalidStateError"===ea.name||"NotFoundError"===ea.name))return es.resolve().then(function(){if(!_.db||"NotFoundError"===ea.name&&!_.db.objectStoreNames.contains(_.storeName)&&_.version<=_.db.version)return _.db&&(_.version=_.db.version+1),_getConnection(_,!0)}).then(function(){return(function(_){_deferReadiness(_);for(var C=eu[_.name],L=C.forages,Z=0;Z<L.length;Z++){var ea=L[Z];ea._dbInfo.db&&(ea._dbInfo.db.close(),ea._dbInfo.db=null)}return _.db=null,_getConnection(_,!1).then(function(C){return(_.db=C,_isUpgradeNeeded(_))?_getConnection(_,!0):C}).then(function(Z){_.db=C.db=Z;for(var ea=0;ea<L.length;ea++)L[ea]._dbInfo.db=Z}).catch(function(C){throw _rejectReadiness(_,C),C})})(_).then(function(){createTransaction(_,C,L,Z-1)})}).catch(L);L(ea)}}function createDbContext(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}var ep={_driver:"asyncStorage",_initStorage:function(_){var C=this,L={db:null};if(_)for(var Z in _)L[Z]=_[Z];var ea=eu[L.name];ea||(ea=createDbContext(),eu[L.name]=ea),ea.forages.push(C),C._initReady||(C._initReady=C.ready,C.ready=_fullyReady);var eo=[];function ignoreErrors(){return es.resolve()}for(var el=0;el<ea.forages.length;el++){var ec=ea.forages[el];ec!==C&&eo.push(ec._initReady().catch(ignoreErrors))}var ed=ea.forages.slice(0);return es.all(eo).then(function(){return L.db=ea.db,_getConnection(L,!1)}).then(function(_){return(L.db=_,_isUpgradeNeeded(L,C._defaultConfig.version))?_getConnection(L,!0):_}).then(function(_){L.db=ea.db=_,C._dbInfo=L;for(var Z=0;Z<ed.length;Z++){var es=ed[Z];es!==C&&(es._dbInfo.db=L.db,es._dbInfo.version=L.version)}})},_support:function(){try{if(!ea||!ea.open)return!1;var _="undefined"!=typeof openDatabase&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),C="function"==typeof fetch&&-1!==fetch.toString().indexOf("[native code");return(!_||C)&&"undefined"!=typeof indexedDB&&"undefined"!=typeof IDBKeyRange}catch(_){return!1}}(),iterate:function(_,C){var L=this,Z=new es(function(C,Z){L.ready().then(function(){createTransaction(L._dbInfo,ed,function(ea,es){if(ea)return Z(ea);try{var eo=es.objectStore(L._dbInfo.storeName).openCursor(),el=1;eo.onsuccess=function(){var L=eo.result;if(L){var Z=L.value;_isEncodedBlob(Z)&&(Z=_decodeBlob(Z));var ea=_(Z,L.key,el++);void 0!==ea?C(ea):L.continue()}else C()},eo.onerror=function(){Z(eo.error)}}catch(_){Z(_)}})}).catch(Z)});return executeCallback(Z,C),Z},getItem:function(_,C){var L=this;_=normalizeKey(_);var Z=new es(function(C,Z){L.ready().then(function(){createTransaction(L._dbInfo,ed,function(ea,es){if(ea)return Z(ea);try{var eo=es.objectStore(L._dbInfo.storeName).get(_);eo.onsuccess=function(){var _=eo.result;void 0===_&&(_=null),_isEncodedBlob(_)&&(_=_decodeBlob(_)),C(_)},eo.onerror=function(){Z(eo.error)}}catch(_){Z(_)}})}).catch(Z)});return executeCallback(Z,C),Z},setItem:function(_,C,L){var Z=this;_=normalizeKey(_);var ea=new es(function(L,ea){var eu;Z.ready().then(function(){var _;return(eu=Z._dbInfo,"[object Blob]"===ec.call(C))?(_=eu.db,"boolean"==typeof el?es.resolve(el):new es(function(C){var L=_.transaction(eo,eh),Z=createBlob([""]);L.objectStore(eo).put(Z,"key"),L.onabort=function(_){_.preventDefault(),_.stopPropagation(),C(!1)},L.oncomplete=function(){var _=navigator.userAgent.match(/Chrome\/(\d+)/);C(navigator.userAgent.match(/Edge\//)||!_||parseInt(_[1],10)>=43)}}).catch(function(){return!1}).then(function(_){return el=_})).then(function(_){return _?C:new es(function(_,L){var Z=new FileReader;Z.onerror=L,Z.onloadend=function(L){_({__local_forage_encoded_blob:!0,data:btoa(L.target.result||""),type:C.type})},Z.readAsBinaryString(C)})}):C}).then(function(C){createTransaction(Z._dbInfo,eh,function(es,eo){if(es)return ea(es);try{var el=eo.objectStore(Z._dbInfo.storeName);null===C&&(C=void 0);var eu=el.put(C,_);eo.oncomplete=function(){void 0===C&&(C=null),L(C)},eo.onabort=eo.onerror=function(){var _=eu.error?eu.error:eu.transaction.error;ea(_)}}catch(_){ea(_)}})}).catch(ea)});return executeCallback(ea,L),ea},removeItem:function(_,C){var L=this;_=normalizeKey(_);var Z=new es(function(C,Z){L.ready().then(function(){createTransaction(L._dbInfo,eh,function(ea,es){if(ea)return Z(ea);try{var eo=es.objectStore(L._dbInfo.storeName).delete(_);es.oncomplete=function(){C()},es.onerror=function(){Z(eo.error)},es.onabort=function(){var _=eo.error?eo.error:eo.transaction.error;Z(_)}}catch(_){Z(_)}})}).catch(Z)});return executeCallback(Z,C),Z}
33,clear:function(_){var C=this,L=new es(function(_,L){C.ready().then(function(){createTransaction(C._dbInfo,eh,function(Z,ea){if(Z)return L(Z);try{var es=ea.objectStore(C._dbInfo.storeName).clear();ea.oncomplete=function(){_()},ea.onabort=ea.onerror=function(){var _=es.error?es.error:es.transaction.error;L(_)}}catch(_){L(_)}})}).catch(L)});return executeCallback(L,_),L},length:function(_){var C=this,L=new es(function(_,L){C.ready().then(function(){createTransaction(C._dbInfo,ed,function(Z,ea){if(Z)return L(Z);try{var es=ea.objectStore(C._dbInfo.storeName).count();es.onsuccess=function(){_(es.result)},es.onerror=function(){L(es.error)}}catch(_){L(_)}})}).catch(L)});return executeCallback(L,_),L},key:function(_,C){var L=this,Z=new es(function(C,Z){if(_<0){C(null);return}L.ready().then(function(){createTransaction(L._dbInfo,ed,function(ea,es){if(ea)return Z(ea);try{var eo=es.objectStore(L._dbInfo.storeName),el=!1,eu=eo.openKeyCursor();eu.onsuccess=function(){var L=eu.result;if(!L){C(null);return}0===_?C(L.key):el?C(L.key):(el=!0,L.advance(_))},eu.onerror=function(){Z(eu.error)}}catch(_){Z(_)}})}).catch(Z)});return executeCallback(Z,C),Z},keys:function(_){var C=this,L=new es(function(_,L){C.ready().then(function(){createTransaction(C._dbInfo,ed,function(Z,ea){if(Z)return L(Z);try{var es=ea.objectStore(C._dbInfo.storeName).openKeyCursor(),eo=[];es.onsuccess=function(){var C=es.result;if(!C){_(eo);return}eo.push(C.key),C.continue()},es.onerror=function(){L(es.error)}}catch(_){L(_)}})}).catch(L)});return executeCallback(L,_),L},dropInstance:function(_,C){C=getCallback.apply(this,arguments);var L,Z=this.config();if((_="function"!=typeof _&&_||{}).name||(_.name=_.name||Z.name,_.storeName=_.storeName||Z.storeName),_.name){var eo=_.name===Z.name&&this._dbInfo.db?es.resolve(this._dbInfo.db):_getConnection(_,!1).then(function(C){var L=eu[_.name],Z=L.forages;L.db=C;for(var ea=0;ea<Z.length;ea++)Z[ea]._dbInfo.db=C;return C});L=_.storeName?eo.then(function(C){if(C.objectStoreNames.contains(_.storeName)){var L=C.version+1;_deferReadiness(_);var Z=eu[_.name],eo=Z.forages;C.close();for(var el=0;el<eo.length;el++){var ec=eo[el];ec._dbInfo.db=null,ec._dbInfo.version=L}return new es(function(C,Z){var es=ea.open(_.name,L);es.onerror=function(_){es.result.close(),Z(_)},es.onupgradeneeded=function(){es.result.deleteObjectStore(_.storeName)},es.onsuccess=function(){var _=es.result;_.close(),C(_)}}).then(function(_){Z.db=_;for(var C=0;C<eo.length;C++){var L=eo[C];L._dbInfo.db=_,_advanceReadiness(L._dbInfo)}}).catch(function(C){throw(_rejectReadiness(_,C)||es.resolve()).catch(function(){}),C})}}):eo.then(function(C){_deferReadiness(_);var L=eu[_.name],Z=L.forages;C.close();for(var eo=0;eo<Z.length;eo++)Z[eo]._dbInfo.db=null;return new es(function(C,L){var Z=ea.deleteDatabase(_.name);Z.onerror=function(){var _=Z.result;_&&_.close(),L(Z.error)},Z.onblocked=function(){console.warn('dropInstance blocked for database "'+_.name+'" until all open connections are closed')},Z.onsuccess=function(){var _=Z.result;_&&_.close(),C(_)}}).then(function(_){L.db=_;for(var C=0;C<Z.length;C++)_advanceReadiness(Z[C]._dbInfo)}).catch(function(C){throw(_rejectReadiness(_,C)||es.resolve()).catch(function(){}),C})})}else L=es.reject("Invalid arguments");return executeCallback(L,C),L}},ef="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",em=/^~~local_forage_type~([^~]+)~/,eb="__lfsc__:",ey=eb.length,eg="arbf",ev="blob",ex="si08",e_="ui08",ew="uic8",eC="si16",eT="si32",eq="ur16",ek="ui32",eS="fl32",eE="fl64",eM=ey+eg.length,ej=Object.prototype.toString;function stringToBuffer(_){var C,L,Z,ea,es,eo=.75*_.length,el=_.length,eu=0;"="===_[_.length-1]&&(eo--,"="===_[_.length-2]&&eo--);var ec=new ArrayBuffer(eo),ed=new Uint8Array(ec);for(C=0;C<el;C+=4)L=ef.indexOf(_[C]),Z=ef.indexOf(_[C+1]),ea=ef.indexOf(_[C+2]),es=ef.indexOf(_[C+3]),ed[eu++]=L<<2|Z>>4,ed[eu++]=(15&Z)<<4|ea>>2,ed[eu++]=(3&ea)<<6|63&es;return ec}function bufferToString(_){var C,L=new Uint8Array(_),Z="";for(C=0;C<L.length;C+=3)Z+=ef[L[C]>>2]+ef[(3&L[C])<<4|L[C+1]>>4]+ef[(15&L[C+1])<<2|L[C+2]>>6]+ef[63&L[C+2]];return L.length%3==2?Z=Z.substring(0,Z.length-1)+"=":L.length%3==1&&(Z=Z.substring(0,Z.length-2)+"=="),Z}var eA={serialize:function(_,C){var L="";if(_&&(L=ej.call(_)),_&&("[object ArrayBuffer]"===L||_.buffer&&"[object ArrayBuffer]"===ej.call(_.buffer))){var Z,ea=eb;_ instanceof ArrayBuffer?(Z=_,ea+=eg):(Z=_.buffer,"[object Int8Array]"===L?ea+=ex:"[object Uint8Array]"===L?ea+=e_:"[object Uint8ClampedArray]"===L?ea+=ew:"[object Int16Array]"===L?ea+=eC:"[object Uint16Array]"===L?ea+=eq:"[object Int32Array]"===L?ea+=eT:"[object Uint32Array]"===L?ea+=ek:"[object Float32Array]"===L?ea+=eS:"[object Float64Array
33]"===L?ea+=eE:C(Error("Failed to get type for BinaryArray"))),C(ea+bufferToString(Z))}else if("[object Blob]"===L){var es=new FileReader;es.onload=function(){C(eb+ev+("~~local_forage_type~"+_.type)+"~"+bufferToString(this.result))},es.readAsArrayBuffer(_)}else try{C(JSON.stringify(_))}catch(L){console.error("Couldn't convert value into a JSON string: ",_),C(null,L)}},deserialize:function(_){if(_.substring(0,ey)!==eb)return JSON.parse(_);var C,L=_.substring(eM),Z=_.substring(ey,eM);if(Z===ev&&em.test(L)){var ea=L.match(em);C=ea[1],L=L.substring(ea[0].length)}var es=stringToBuffer(L);switch(Z){case eg:return es;case ev:return createBlob([es],{type:C});case ex:return new Int8Array(es);case e_:return new Uint8Array(es);case ew:return new Uint8ClampedArray(es);case eC:return new Int16Array(es);case eq:return new Uint16Array(es);case eT:return new Int32Array(es);case ek:return new Uint32Array(es);case eS:return new Float32Array(es);case eE:return new Float64Array(es);default:throw Error("Unkown type: "+Z)}},stringToBuffer:stringToBuffer,bufferToString:bufferToString};function createDbTable(_,C,L,Z){_.executeSql("CREATE TABLE IF NOT EXISTS "+C.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],L,Z)}function tryExecuteSql(_,C,L,Z,ea,es){_.executeSql(L,Z,ea,function(_,eo){eo.code===eo.SYNTAX_ERR?_.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[C.storeName],function(_,el){el.rows.length?es(_,eo):createDbTable(_,C,function(){_.executeSql(L,Z,ea,es)},es)},es):es(_,eo)},es)}function _setItem(_,C,L,Z){var ea=this;_=normalizeKey(_);var eo=new es(function(es,eo){ea.ready().then(function(){void 0===C&&(C=null);var el=C,eu=ea._dbInfo;eu.serializer.serialize(C,function(C,ec){ec?eo(ec):eu.db.transaction(function(L){tryExecuteSql(L,eu,"INSERT OR REPLACE INTO "+eu.storeName+" (key, value) VALUES (?, ?)",[_,C],function(){es(el)},function(_,C){eo(C)})},function(C){if(C.code===C.QUOTA_ERR){if(Z>0){es(_setItem.apply(ea,[_,el,L,Z-1]));return}eo(C)}})})}).catch(eo)});return executeCallback(eo,L),eo}var eD={_driver:"webSQLStorage",_initStorage:function(_){var C=this,L={db:null};if(_)for(var Z in _)L[Z]="string"!=typeof _[Z]?_[Z].toString():_[Z];var ea=new es(function(_,Z){try{L.db=openDatabase(L.name,String(L.version),L.description,L.size)}catch(_){return Z(_)}L.db.transaction(function(ea){createDbTable(ea,L,function(){C._dbInfo=L,_()},function(_,C){Z(C)})},Z)});return L.serializer=eA,ea},_support:"function"==typeof openDatabase,iterate:function(_,C){var L=this,Z=new es(function(C,Z){L.ready().then(function(){var ea=L._dbInfo;ea.db.transaction(function(L){tryExecuteSql(L,ea,"SELECT * FROM "+ea.storeName,[],function(L,Z){for(var es=Z.rows,eo=es.length,el=0;el<eo;el++){var eu=es.item(el),ec=eu.value;if(ec&&(ec=ea.serializer.deserialize(ec)),void 0!==(ec=_(ec,eu.key,el+1))){C(ec);return}}C()},function(_,C){Z(C)})})}).catch(Z)});return executeCallback(Z,C),Z},getItem:function(_,C){var L=this;_=normalizeKey(_);var Z=new es(function(C,Z){L.ready().then(function(){var ea=L._dbInfo;ea.db.transaction(function(L){tryExecuteSql(L,ea,"SELECT * FROM "+ea.storeName+" WHERE key = ? LIMIT 1",[_],function(_,L){var Z=L.rows.length?L.rows.item(0).value:null;Z&&(Z=ea.serializer.deserialize(Z)),C(Z)},function(_,C){Z(C)})})}).catch(Z)});return executeCallback(Z,C),Z},setItem:function(_,C,L){return _setItem.apply(this,[_,C,L,1])},removeItem:function(_,C){var L=this;_=normalizeKey(_);var Z=new es(function(C,Z){L.ready().then(function(){var ea=L._dbInfo;ea.db.transaction(function(L){tryExecuteSql(L,ea,"DELETE FROM "+ea.storeName+" WHERE key = ?",[_],function(){C()},function(_,C){Z(C)})})}).catch(Z)});return executeCallback(Z,C),Z},clear:function(_){var C=this,L=new es(function(_,L){C.ready().then(function(){var Z=C._dbInfo;Z.db.transaction(function(C){tryExecuteSql(C,Z,"DELETE FROM "+Z.storeName,[],function(){_()},function(_,C){L(C)})})}).catch(L)});return executeCallback(L,_),L},length:function(_){var C=this,L=new es(function(_,L){C.ready().then(function(){var Z=C._dbInfo;Z.db.transaction(function(C){tryExecuteSql(C,Z,"SELECT COUNT(key) as c FROM "+Z.storeName,[],function(C,L){_(L.rows.item(0).c)},function(_,C){L(C)})})}).catch(L)});return executeCallback(L,_),L},key:function(_,C){var L=this,Z=new es(function(C,Z){L.ready().then(function(){var ea=L._dbInfo;ea.db.transaction(function(L){tryExecuteSql(L,ea,"SELECT key FROM "+ea.storeName+" WHERE id = ? L
33IMIT 1",[_+1],function(_,L){C(L.rows.length?L.rows.item(0).key:null)},function(_,C){Z(C)})})}).catch(Z)});return executeCallback(Z,C),Z},keys:function(_){var C=this,L=new es(function(_,L){C.ready().then(function(){var Z=C._dbInfo;Z.db.transaction(function(C){tryExecuteSql(C,Z,"SELECT key FROM "+Z.storeName,[],function(C,L){for(var Z=[],ea=0;ea<L.rows.length;ea++)Z.push(L.rows.item(ea).key);_(Z)},function(_,C){L(C)})})}).catch(L)});return executeCallback(L,_),L},dropInstance:function(_,C){C=getCallback.apply(this,arguments);var L,Z=this.config();(_="function"!=typeof _&&_||{}).name||(_.name=_.name||Z.name,_.storeName=_.storeName||Z.storeName);var ea=this;return executeCallback(L=_.name?new es(function(C){var L;C((L=_.name===Z.name?ea._dbInfo.db:openDatabase(_.name,"","",0),_.storeName)?{db:L,storeNames:[_.storeName]}:new es(function(_,C){L.transaction(function(Z){Z.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'",[],function(C,Z){for(var ea=[],es=0;es<Z.rows.length;es++)ea.push(Z.rows.item(es).name);_({db:L,storeNames:ea})},function(_,L){C(L)})},function(_){C(_)})}))}).then(function(_){return new es(function(C,L){_.db.transaction(function(Z){for(var ea=[],eo=0,el=_.storeNames.length;eo<el;eo++)ea.push(function(_){return new es(function(C,L){Z.executeSql("DROP TABLE IF EXISTS "+_,[],function(){C()},function(_,C){L(C)})})}(_.storeNames[eo]));es.all(ea).then(function(){C()}).catch(function(_){L(_)})},function(_){L(_)})})}):es.reject("Invalid arguments"),C),L}};function _getKeyPrefix(_,C){var L=_.name+"/";return _.storeName!==C.storeName&&(L+=_.storeName+"/"),L}var eI={_driver:"localStorageWrapper",_initStorage:function(_){var C={};if(_)for(var L in _)C[L]=_[L];return(C.keyPrefix=_getKeyPrefix(_,this._defaultConfig),!function(){var _="_localforage_support_test";try{return localStorage.setItem(_,!0),localStorage.removeItem(_),!1}catch(_){return!0}}()||localStorage.length>0)?(this._dbInfo=C,C.serializer=eA,es.resolve()):es.reject()},_support:function(){try{return"undefined"!=typeof localStorage&&"setItem"in localStorage&&!!localStorage.setItem}catch(_){return!1}}(),iterate:function(_,C){var L=this,Z=L.ready().then(function(){for(var C=L._dbInfo,Z=C.keyPrefix,ea=Z.length,es=localStorage.length,eo=1,el=0;el<es;el++){var eu=localStorage.key(el);if(0===eu.indexOf(Z)){var ec=localStorage.getItem(eu);if(ec&&(ec=C.serializer.deserialize(ec)),void 0!==(ec=_(ec,eu.substring(ea),eo++)))return ec}}});return executeCallback(Z,C),Z},getItem:function(_,C){var L=this;_=normalizeKey(_);var Z=L.ready().then(function(){var C=L._dbInfo,Z=localStorage.getItem(C.keyPrefix+_);return Z&&(Z=C.serializer.deserialize(Z)),Z});return executeCallback(Z,C),Z},setItem:function(_,C,L){var Z=this;_=normalizeKey(_);var ea=Z.ready().then(function(){void 0===C&&(C=null);var L=C;return new es(function(ea,es){var eo=Z._dbInfo;eo.serializer.serialize(C,function(C,Z){if(Z)es(Z);else try{localStorage.setItem(eo.keyPrefix+_,C),ea(L)}catch(_){("QuotaExceededError"===_.name||"NS_ERROR_DOM_QUOTA_REACHED"===_.name)&&es(_),es(_)}})})});return executeCallback(ea,L),ea},removeItem:function(_,C){var L=this;_=normalizeKey(_);var Z=L.ready().then(function(){var C=L._dbInfo;localStorage.removeItem(C.keyPrefix+_)});return executeCallback(Z,C),Z},clear:function(_){var C=this,L=C.ready().then(function(){for(var _=C._dbInfo.keyPrefix,L=localStorage.length-1;L>=0;L--){var Z=localStorage.key(L);0===Z.indexOf(_)&&localStorage.removeItem(Z)}});return executeCallback(L,_),L},length:function(_){var C=this.keys().then(function(_){return _.length});return executeCallback(C,_),C},key:function(_,C){var L=this,Z=L.ready().then(function(){var C,Z=L._dbInfo;try{C=localStorage.key(_)}catch(_){C=null}return C&&(C=C.substring(Z.keyPrefix.length)),C});return executeCallback(Z,C),Z},keys:function(_){var C=this,L=C.ready().then(function(){for(var _=C._dbInfo,L=localStorage.length,Z=[],ea=0;ea<L;ea++){var es=localStorage.key(ea);0===es.indexOf(_.keyPrefix)&&Z.push(es.substring(_.keyPrefix.length))}return Z});return executeCallback(L,_),L},dropInstance:function(_,C){if(C=getCallback.apply(this,arguments),!(_="function"!=typeof _&&_||{}).name){var L,Z=this.config();
33_.name=_.name||Z.name,_.storeName=_.storeName||Z.storeName}var ea=this;return executeCallback(L=_.name?new es(function(C){C(_.storeName?_getKeyPrefix(_,ea._defaultConfig):_.name+"/")}).then(function(_){for(var C=localStorage.length-1;C>=0;C--){var L=localStorage.key(C);0===L.indexOf(_)&&localStorage.removeItem(L)}}):es.reject("Invalid arguments"),C),L}},includes=function(_,C){for(var L,Z=_.length,ea=0;ea<Z;){if((L=_[ea])===C||"number"==typeof L&&"number"==typeof C&&isNaN(L)&&isNaN(C))return!0;ea++}return!1},eO=Array.isArray||function(_){return"[object Array]"===Object.prototype.toString.call(_)},eP={},eN={},eL={INDEXEDDB:ep,WEBSQL:eD,LOCALSTORAGE:eI},eR=[eL.INDEXEDDB._driver,eL.WEBSQL._driver,eL.LOCALSTORAGE._driver],eB=["dropInstance"],eF=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(eB),eZ={description:"",driver:eR.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1};function extend(){for(var _=1;_<arguments.length;_++){var C=arguments[_];if(C)for(var L in C)C.hasOwnProperty(L)&&(eO(C[L])?arguments[0][L]=C[L].slice():arguments[0][L]=C[L])}return arguments[0]}var ez=new(function(){function LocalForage(_){for(var C in function(_,C){if(!(_ instanceof C))throw TypeError("Cannot call a class as a function")}(this,LocalForage),eL)if(eL.hasOwnProperty(C)){var L=eL[C],Z=L._driver;this[C]=Z,eP[Z]||this.defineDriver(L)}this._defaultConfig=extend({},eZ),this._config=extend({},this._defaultConfig,_),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver).catch(function(){})}return LocalForage.prototype.config=function(_){if((void 0===_?"undefined":Z(_))==="object"){if(this._ready)return Error("Can't call config() after localforage has been used.");for(var C in _){if("storeName"===C&&(_[C]=_[C].replace(/\W/g,"_")),"version"===C&&"number"!=typeof _[C])return Error("Database version must be a number.");this._config[C]=_[C]}return!("driver"in _)||!_.driver||this.setDriver(this._config.driver)}return"string"==typeof _?this._config[_]:this._config},LocalForage.prototype.defineDriver=function(_,C,L){var Z=new es(function(C,L){try{var Z=_._driver,ea=Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!_._driver){L(ea);return}for(var eo=eF.concat("_initStorage"),el=0,eu=eo.length;el<eu;el++){var ec=eo[el];if((!includes(eB,ec)||_[ec])&&"function"!=typeof _[ec]){L(ea);return}}!function(){for(var methodNotImplementedFactory=function(_){return function(){var C=Error("Method "+_+" is not implemented by the current driver"),L=es.reject(C);return executeCallback(L,arguments[arguments.length-1]),L}},C=0,L=eB.length;C<L;C++){var Z=eB[C];_[Z]||(_[Z]=methodNotImplementedFactory(Z))}}();var setDriverSupport=function(L){eP[Z]&&console.info("Redefining LocalForage driver: "+Z),eP[Z]=_,eN[Z]=L,C()};"_support"in _?_._support&&"function"==typeof _._support?_._support().then(setDriverSupport,L):setDriverSupport(!!_._support):setDriverSupport(!0)}catch(_){L(_)}});return executeTwoCallbacks(Z,C,L),Z},LocalForage.prototype.driver=function(){return this._driver||null},LocalForage.prototype.getDriver=function(_,C,L){var Z=eP[_]?es.resolve(eP[_]):es.reject(Error("Driver not found."));return executeTwoCallbacks(Z,C,L),Z},LocalForage.prototype.getSerializer=function(_){var C=es.resolve(eA);return executeTwoCallbacks(C,_),C},LocalForage.prototype.ready=function(_){var C=this,L=C._driverSet.then(function(){return null===C._ready&&(C._ready=C._initDriver()),C._ready});return executeTwoCallbacks(L,_,_),L},LocalForage.prototype.setDriver=function(_,C,L){var Z=this;eO(_)||(_=[_]);var ea=this._getSupportedDrivers(_);function setDriverToConfig(){Z._config.driver=Z.driver()}function extendSelfWithDriver(_){return Z._extend(_),setDriverToConfig(),Z._ready=Z._initStorage(Z._config),Z._ready}var eo=null!==this._driverSet?this._driverSet.catch(function(){return es.resolve()}):es.resolve();return this._driverSet=eo.then(function(){var _=ea[0];return Z._dbInfo=null,Z._ready=null,Z.getDriver(_).then(function(_){Z._driver=_._driver,setDriverToConfig(),Z._wrapLibraryMethodsWithReady(),Z._initDriver=function(){var _=0;return function driverPromiseLoop(){for(;_<ea.length;
33){var C=ea[_];return _++,Z._dbInfo=null,Z._ready=null,Z.getDriver(C).then(extendSelfWithDriver).catch(driverPromiseLoop)}setDriverToConfig();var L=Error("No available storage method found.");return Z._driverSet=es.reject(L),Z._driverSet}()}})}).catch(function(){setDriverToConfig();var _=Error("No available storage method found.");return Z._driverSet=es.reject(_),Z._driverSet}),executeTwoCallbacks(this._driverSet,C,L),this._driverSet},LocalForage.prototype.supports=function(_){return!!eN[_]},LocalForage.prototype._extend=function(_){extend(this,_)},LocalForage.prototype._getSupportedDrivers=function(_){for(var C=[],L=0,Z=_.length;L<Z;L++){var ea=_[L];this.supports(ea)&&C.push(ea)}return C},LocalForage.prototype._wrapLibraryMethodsWithReady=function(){for(var _=0,C=eF.length;_<C;_++)!function(_,C){_[C]=function(){var L=arguments;return _.ready().then(function(){return _[C].apply(_,L)})}}(this,eF[_])},LocalForage.prototype.createInstance=function(_){return new LocalForage(_)},LocalForage}());C.exports=ez},{3:3}]},{},[4])(4)},51231:function(_,C,L){"use strict";L.d(C,{PB:function(){return NextSeo},lX:function(){return DefaultSeo}});var Z=L(52983),ea=L(98215),es=L.n(ea);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(_){for(var C=1;C<arguments.length;C++){var L=arguments[C];for(var Z in L)Object.prototype.hasOwnProperty.call(L,Z)&&(_[Z]=L[Z])}return _}).apply(this,arguments)}var eo=["keyOverride"],el={templateTitle:"",noindex:!1,nofollow:!1,defaultOpenGraphImageWidth:0,defaultOpenGraphImageHeight:0,defaultOpenGraphVideoWidth:0,defaultOpenGraphVideoHeight:0},buildOpenGraphMediaTags=function(_,C,L){void 0===C&&(C=[]);var ea=void 0===L?{}:L,es=ea.defaultWidth,eo=ea.defaultHeight;return C.reduce(function(C,L,ea){return C.push(Z.createElement("meta",{key:"og:"+_+":0"+ea,property:"og:"+_,content:L.url})),L.alt&&C.push(Z.createElement("meta",{key:"og:"+_+":alt0"+ea,property:"og:"+_+":alt",content:L.alt})),L.secureUrl&&C.push(Z.createElement("meta",{key:"og:"+_+":secure_url0"+ea,property:"og:"+_+":secure_url",content:L.secureUrl.toString()})),L.type&&C.push(Z.createElement("meta",{key:"og:"+_+":type0"+ea,property:"og:"+_+":type",content:L.type.toString()})),L.width?C.push(Z.createElement("meta",{key:"og:"+_+":width0"+ea,property:"og:"+_+":width",content:L.width.toString()})):es&&C.push(Z.createElement("meta",{key:"og:"+_+":width0"+ea,property:"og:"+_+":width",content:es.toString()})),L.height?C.push(Z.createElement("meta",{key:"og:"+_+":height"+ea,property:"og:"+_+":height",content:L.height.toString()})):eo&&C.push(Z.createElement("meta",{key:"og:"+_+":height"+ea,property:"og:"+_+":height",content:eo.toString()})),C},[])},buildTags=function(_){var C,L,ea,es,eu,ec=[];_.titleTemplate&&(el.templateTitle=_.titleTemplate);var ed="";_.title?(ed=_.title,el.templateTitle&&(ed=el.templateTitle.replace(/%s/g,function(){return ed}))):_.defaultTitle&&(ed=_.defaultTitle),ed&&ec.push(Z.createElement("title",{key:"title"},ed));var eh=_.noindex||el.noindex||_.dangerouslySetAllPagesToNoIndex,ep=_.nofollow||el.nofollow||_.dangerouslySetAllPagesToNoFollow,ef="";if(_.robotsProps){var em=_.robotsProps,eb=em.nosnippet,ey=em.maxSnippet,eg=em.maxImagePreview,ev=em.maxVideoPreview,ex=em.noarchive,e_=em.noimageindex,ew=em.notranslate,eC=em.unavailableAfter;ef=(eb?",nosnippet":"")+(ey?",max-snippet:"+ey:"")+(eg?",max-image-preview:"+eg:"")+(ex?",noarchive":"")+(eC?",unavailable_after:"+eC:"")+(e_?",noimageindex":"")+(ev?",max-video-preview:"+ev:"")+(ew?",notranslate":"")}if(eh||ep?(_.dangerouslySetAllPagesToNoIndex&&(el.noindex=!0),_.dangerouslySetAllPagesToNoFollow&&(el.nofollow=!0),ec.push(Z.createElement("meta",{key:"robots",name:"robots",content:(eh?"noindex":"index")+","+(ep?"nofollow":"follow")+ef}))):ec.push(Z.createElement("meta",{key:"robots",name:"robots",content:"index,follow"+ef})),_.description&&ec.push(Z.createElement("meta",{key:"description",name:"description",content:_.description})),_.themeColor&&ec.push(Z.createElement("meta",{key:"theme-color",name:"theme-color",content:_.themeColor})),_.mobileAlternate&&ec.push(Z.createElement("link",{rel:"alternate",key:"mobileAlternate",media:_.mobileAlternate.media,href:_.mobileAlternate.href})),_.languageAlternates&&_.languageAlternates.length>
330&&_.languageAlternates.forEach(function(_){ec.push(Z.createElement("link",{rel:"alternate",key:"languageAlternate-"+_.hrefLang,hrefLang:_.hrefLang,href:_.href}))}),_.twitter&&(_.twitter.cardType&&ec.push(Z.createElement("meta",{key:"twitter:card",name:"twitter:card",content:_.twitter.cardType})),_.twitter.site&&ec.push(Z.createElement("meta",{key:"twitter:site",name:"twitter:site",content:_.twitter.site})),_.twitter.handle&&ec.push(Z.createElement("meta",{key:"twitter:creator",name:"twitter:creator",content:_.twitter.handle}))),_.facebook&&_.facebook.appId&&ec.push(Z.createElement("meta",{key:"fb:app_id",property:"fb:app_id",content:_.facebook.appId})),(null!=(C=_.openGraph)&&C.title||ed)&&ec.push(Z.createElement("meta",{key:"og:title",property:"og:title",content:(null==(es=_.openGraph)?void 0:es.title)||ed})),(null!=(L=_.openGraph)&&L.description||_.description)&&ec.push(Z.createElement("meta",{key:"og:description",property:"og:description",content:(null==(eu=_.openGraph)?void 0:eu.description)||_.description})),_.openGraph){if((_.openGraph.url||_.canonical)&&ec.push(Z.createElement("meta",{key:"og:url",property:"og:url",content:_.openGraph.url||_.canonical})),_.openGraph.type){var eT=_.openGraph.type.toLowerCase();ec.push(Z.createElement("meta",{key:"og:type",property:"og:type",content:eT})),"profile"===eT&&_.openGraph.profile?(_.openGraph.profile.firstName&&ec.push(Z.createElement("meta",{key:"profile:first_name",property:"profile:first_name",content:_.openGraph.profile.firstName})),_.openGraph.profile.lastName&&ec.push(Z.createElement("meta",{key:"profile:last_name",property:"profile:last_name",content:_.openGraph.profile.lastName})),_.openGraph.profile.username&&ec.push(Z.createElement("meta",{key:"profile:username",property:"profile:username",content:_.openGraph.profile.username})),_.openGraph.profile.gender&&ec.push(Z.createElement("meta",{key:"profile:gender",property:"profile:gender",content:_.openGraph.profile.gender}))):"book"===eT&&_.openGraph.book?(_.openGraph.book.authors&&_.openGraph.book.authors.length&&_.openGraph.book.authors.forEach(function(_,C){ec.push(Z.createElement("meta",{key:"book:author:0"+C,property:"book:author",content:_}))}),_.openGraph.book.isbn&&ec.push(Z.createElement("meta",{key:"book:isbn",property:"book:isbn",content:_.openGraph.book.isbn})),_.openGraph.book.releaseDate&&ec.push(Z.createElement("meta",{key:"book:release_date",property:"book:release_date",content:_.openGraph.book.releaseDate})),_.openGraph.book.tags&&_.openGraph.book.tags.length&&_.openGraph.book.tags.forEac
33h(function(_,C){ec.push(Z.createElement("meta",{key:"book:tag:0"+C,property:"book:tag",content:_}))})):"article"===eT&&_.openGraph.article?(_.openGraph.article.publishedTime&&ec.push(Z.createElement("meta",{key:"article:published_time",property:"article:published_time",content:_.openGraph.article.publishedTime})),_.openGraph.article.modifiedTime&&ec.push(Z.createElement("meta",{key:"article:modified_time",property:"article:modified_time",content:_.openGraph.article.modifiedTime})),_.openGraph.article.expirationTime&&ec.push(Z.createElement("meta",{key:"article:expiration_time",property:"article:expiration_time",content:_.openGraph.article.expirationTime})),_.openGraph.article.authors&&_.openGraph.article.authors.length&&_.openGraph.article.authors.forEach(function(_,C){ec.push(Z.createElement("meta",{key:"article:author:0"+C,property:"article:author",content:_}))}),_.openGraph.article.section&&ec.push(Z.createElement("meta",{key:"article:section",property:"article:section",content:_.openGraph.article.section})),_.openGraph.article.tags&&_.openGraph.article.tags.length&&_.openGraph.article.tags.forEach(function(_,C){ec.push(Z.createElement("meta",{key:"article:tag:0"+C,property:"article:tag",content:_}))})):("video.movie"===eT||"video.episode"===eT||"video.tv_show"===eT||"video.other"===eT)&&_.openGraph.video&&(_.openGraph.video.actors&&_.openGraph.video.actors.length&&_.openGraph.video.actors.forEach(function(_,C){_.profile&&ec.push(Z.createElement("meta",{key:"video:actor:0"+C,property:"video:actor",content:_.profile})),_.role&&ec.push(Z.createElement("meta",{key:"video:actor:role:0"+C,property:"video:actor:role",content:_.role}))}),_.openGraph.video.directors&&_.openGraph.video.directors.length&&_.openGraph.video.directors.forEach(function(_,C){ec.push(Z.createElement("meta",{key:"video:director:0"+C,property:"video:director",content:_}))}),_.openGraph.video.writers&&_.openGraph.video.writers.length&&_.openGraph.video.writers.forEach(function(_,C){ec.push(Z.createElement("meta",{key:"video:writer:0"+C,property:"video:writer",content:_}))}),_.openGraph.video.duration&&ec.push(Z.createElement("meta",{key:"video:duration",property:"video:duration",content:_.openGraph.video.duration.toString()})),_.openGraph.video.releaseDate&&ec.push(Z.createElement("meta",{key:"video:release_date",property:"video:release_date",content:_.openGraph.video.releaseDate})),_.openGraph.video.tags&&_.openGraph.video.tags.length&&_.openGraph.video.tags.forEac
33h(function(_,C){ec.push(Z.createElement("meta",{key:"video:tag:0"+C,property:"video:tag",content:_}))}),_.openGraph.video.series&&ec.push(Z.createElement("meta",{key:"video:series",property:"video:series",content:_.openGraph.video.series})))}_.defaultOpenGraphImageWidth&&(el.defaultOpenGraphImageWidth=_.defaultOpenGraphImageWidth),_.defaultOpenGraphImageHeight&&(el.defaultOpenGraphImageHeight=_.defaultOpenGraphImageHeight),_.openGraph.images&&_.openGraph.images.length&&ec.push.apply(ec,buildOpenGraphMediaTags("image",_.openGraph.images,{defaultWidth:el.defaultOpenGraphImageWidth,defaultHeight:el.defaultOpenGraphImageHeight})),_.defaultOpenGraphVideoWidth&&(el.defaultOpenGraphVideoWidth=_.defaultOpenGraphVideoWidth),_.defaultOpenGraphVideoHeight&&(el.defaultOpenGraphVideoHeight=_.defaultOpenGraphVideoHeight),_.openGraph.videos&&_.openGraph.videos.length&&ec.push.apply(ec,buildOpenGraphMediaTags("video",_.openGraph.videos,{defaultWidth:el.defaultOpenGraphVideoWidth,defaultHeight:el.defaultOpenGraphVideoHeight})),_.openGraph.audio&&ec.push.apply(ec,buildOpenGraphMediaTags("audio",_.openGraph.audio)),_.openGraph.locale&&ec.push(Z.createElement("meta",{key:"og:locale",property:"og:locale",content:_.openGraph.locale})),(_.openGraph.siteName||_.openGraph.site_name)&&ec.push(Z.createElement("meta",{key:"og:site_name",property:"og:site_name",content:_.openGraph.siteName||_.openGraph.site_name}))}return _.canonical&&ec.push(Z.createElement("link",{rel:"canonical",href:_.canonical,key:"canonical"})),_.additionalMetaTags&&_.additionalMetaTags.length>0&&_.additionalMetaTags.forEach(function(_){var C,L,ea=_.keyOverride,es=function(_,C){if(null==_)return{};var L,Z,ea={},es=Object.keys(_);for(Z=0;Z<es.length;Z++)L=es[Z],C.indexOf(L)>=0||(ea[L]=_[L]);return ea}(_,eo);ec.push(Z.createElement("meta",_extends({key:"meta:"+(null!=(C=null!=(L=null!=ea?ea:es.name)?L:es.property)?C:es.httpEquiv)},es)))}),null!=(ea=_.additionalLinkTags)&&ea.length&&_.additionalLinkTags.forEach(function(_){var C;ec.push(Z.createElement("link",_extends({key:"link"+(null!=(C=_.keyOverride)?C:_.href)+_.rel},_)))}),ec},WithHead=function(_){return Z.createElement(es(),null,buildTags(_))},DefaultSeo=function(_){var C=_.title,L=_.titleTemplate,ea=_.defaultTitle,es=_.themeColor,eo=_.dangerouslySetAllPagesToNoIndex,el=_.dangerouslySetAllPagesToNoFollow,eu=_.description,ec=_.canonical,ed=_.facebook,eh=_.openGraph,ep=_.additionalMetaTags,ef=_.twitter,em=_.defaultOpenGraphImageWidth,eb=_.defaultOpenGraphImageHeight,ey=_.defaultOpenGraphVideoWidth,eg=_.defaultOpenGraphVideoHeight,ev=_.mobileAlternate,ex=_.languageAlternates,e_=_.additionalLinkTags,ew=_.robotsProps;return Z.createElement(WithHead,{title:C,titleTemplate:L,defaultTitle:ea,themeColor:es,dangerouslySetAllPagesToNoIndex:void 0!==eo&&eo,dangerouslySetAllPagesToNoFollow:void 0!==el&&el,description:eu,canonical:ec,facebook:ed,openGraph:eh,additionalMetaTags:ep,twitter:ef,defaultOpenGraphImageWidth:em,defaultOpenGraphImageHeight:eb,defaultOpenGraphVideoWidth:ey,defaultOpenGraphVideoHeight:eg,mobileAlternate:ev,languageAlternates:ex,additionalLinkTags:e_,robotsProps:ew})},NextSeo=function(_){var C=_.title,L=_.themeColor,ea=_.noindex,es=void 0!==ea&&ea,eo=_.nofollow,el=_.robotsProps,eu=_.description,ec=_.canonical,ed=_.openGraph,eh=_.facebook,ep=_.twitter,ef=_.additionalMetaTags,em=_.titleTemplate,eb=_.defaultTitle,ey=_.mobileAlternate,eg=_.languageAlternates,ev=_.additionalLinkTags,ex=_.useAppDir,e_=void 0!==ex&&ex;return Z.createElement(Z.Fragment,null,e_?buildTags({title:C,themeColor:L,noindex:es,nofollow:eo,robotsProps:el,description:eu,canonical:ec,facebook:eh,openGraph:ed,additionalMetaTags:ef,twitter:ep,titleTemplate:em,defaultTitle:eb,mobileAlternate:ey,languageAlternates:eg,additionalLinkTags:ev}):Z.createElement(WithHead,{title:C,themeColor:L,noindex:es,nofollow:eo,robotsProps:el,description:eu,canonical:ec,facebook:eh,openGraph:ed,additionalMetaTags:ef,twitter:ep,titleTemplate:em,defaultTitle:eb,mobileAlternate:ey,languageAlternates:eg,additionalLinkTags:ev}))};RegExp("["+Object.keys(Object.freeze({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;"})).join("")+"]","g")},96678:function(_,C,L){"use strict";L.d(C,{F:function(){return y},f:function(){return $}});var Z=L(52983);let ea=["light","dark"],es="(prefers-color-scheme: dark)",eo="undefined"==typeof window,el=(0,Z.createContext)(void 0),eu={setTheme:_=>{},themes:[]},y=()=>{var _;return null!==(_=(0,Z.useContext)(el))&&void 0!==_?_:eu},$=_=>(0,Z.useContext)(el)?Z.createElement(Z.Fragment,null,_.children):Z.createElement(f,_),ec=["light","dark"],f=({forcedTheme:_,disableTransitionOnChange:C=!1,enableSystem:L=!0,enableColorScheme:eo=!0,storageKey:eu="theme",themes:eh=ec,defaultTheme:ep=L?"system":"light",attribute:ef="data-theme",value:em,children:eb,nonce:ey})=>{let[eg,ev]=(0,Z.useState)(()=>S(eu,ep)),[ex,e_]=(0,Z.useState)(()=>S(eu)),ew=em?Object.values(em):eh,eC=(0,Z.useCallback)(_=>{let Z=_;if(!Z)return;"system"===_&&L&&(Z=p());let es=em?em[Z]:Z,el=C?b():null,eu=document.documentElement;if("class"===ef?(eu.classList.remove(...ew),es&&eu.classList.add(es)):es?eu.setAttribute(ef,es):eu.removeAttribute(ef),eo){let _=ea.includes(ep)?ep:null,C=ea.includes(Z)?Z:_;eu.style.colorScheme=C}null==el||el()},[]),eT=(0,Z.useCallback)(_=>{ev(_);try{localStorage.setItem(eu,_)}catch(_){}},[_]),eq=(0,Z.useCallback)(C=>{let Z=p(C);e_(Z),"system"===eg&&L&&!_&&eC("system")},[eg,_]);(0,Z.useEffect)(()=>{let _=window.matchMedia(es);return _.addListener(eq),eq(_),()=>_.removeListener(eq)},[eq]),(0,Z.useEffect)(()=>{let e=_=>{_.key===eu&&eT(_.newValue||ep)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[eT]),(0,Z.useEffect)(()=>{eC(null!=_?_:eg)},[_,eg]);let ek=(0,Z.useMemo)(()=>({theme:eg,setTheme:eT,forcedTheme:_,resolvedTheme:"system"===eg?ex:eg,themes:L?[...eh,"system"]:eh,systemTheme:L?ex:void 0}),[eg,eT,_,ex,L,eh]);return Z.createElement(el.Provider,{value:ek},Z.createElement(ed,{forcedTheme:_,disableTransitionOnChange:C,enableSystem:L,enableColorScheme:eo,storageKey:eu,themes:eh,defaultTheme:ep,attribute:ef,value:em,children:eb,attrs:ew,nonce:ey}),eb)},ed=(0,Z.memo)(({forcedTheme:_,storageKey:C,attribute:L,enableSystem:eo,enableColorScheme:el,defaultTheme:eu,value:ec,attrs:ed,nonce:eh})=>{let ep="system"===eu,ef="class"===L?`var d=document.documentElement,c=d.classList;c.remove(${ed.map(_=>`'${_}'`).join(",")});`:`var d=document.documentElement,n='${L}',s='setAttribute';`,em=el?ea.includes(eu)&&eu?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${eu}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",$=(_,C=!1,Z=!0)=>{let es=ec?ec[_]:_,eo=C?_+"|| ''":`'${es}'`,eu="";return el&&Z&&!C&&ea.includes(_)&&(eu+=`d.style.colorScheme = '${_}';`),"class"===L?eu+=C||es?`c.add(${eo})`:"null":es&&(eu+=`d[s](n,${eo})`),eu},eb=_?`!function(){${ef}${$(_)}}()`:eo?`!function(){try{${ef}var e=localStorage.getItem('${C}');if('system'===e||(!e&&${ep})){var t='${es}',m=window.matchMedia(t);if(m.media!==t||m.matches){${$("dark")}}else{${$("light")}}}else if(e){${ec?`var x=${JSON.stringify(ec)};`:""}${$(ec?"x[e]":"e",!0)}}${ep?"":"else{"+$(eu,!1,!1)+"}"}${em}}catch(e){}}()`:`!function(){try{${ef}var e=localStorage.getItem('${C}');if(e){${ec?`var x=${JSON.stringify(ec)};`:""}${$(ec?"x[e]":"e",!0)}}else{${$(eu,!1,!1)};}${em}}catch(t){}}();`;return Z.createElement("script",{nonce:eh,dangerouslySetInnerHTML:{__html:eb}})},()=>!0),S=(_,C)=>{let L;if(!eo){try{L=localStorage.getItem(_)||void 0}catch(_){}return L||C}},b=()=>{let _=document.createElement("style");return _.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(_),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(_)},1)}},p=_=>
33(_||(_=window.matchMedia(es)),_.matches?"dark":"light")},50969:function(_){"use strict";var C=Object.assign.bind(Object);_.exports=C,_.exports.default=_.exports},14001:function(_,C,L){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return L(68264)}])},59504:function(_,C,L){"use strict";var Z=L(97458),ea=L(82577),es=L(23690),eo=L(61723),el=L(16169),eu=L(58274);C.Z=_=>{let{riskLevel:C,hasResult:L,riskLevelDescription:ec,tokenAddress:ed}=_,{t:eh}=(0,ea.Z)();return C!==eu.LL.UNKNOWN&&L?L&&C&&C>=eu.LL.VERY_LOW&&ed?(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(es.Z,{my:"8px",children:ec}),(0,Z.jsx)(es.Z,{as:"span",children:eh("Risk scan results are provided by a third party,")}),(0,Z.jsx)(eo.Z,{style:{display:"inline"},ml:"4px",external:!0,href:"https://www.hashdit.io",children:"HashDit"}),(0,Z.jsxs)(el.Z,{mt:"4px",children:[(0,Z.jsx)(es.Z,{children:eh("Get more details from")}),(0,Z.jsx)(eo.Z,{ml:"4px",external:!0,href:`https://dappbay.bnbchain.org/risk-scanner/${ed}`,children:eh("RedAlarm")})]})]}):(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(es.Z,{my:"8px",children:eh("Automatic risk scanning for the selected token. This scanning result is for reference only, and should NOT be taken as investment advice.")}),(0,Z.jsx)(es.Z,{as:"span",children:eh("Provided by")}),(0,Z.jsx)(eo.Z,{style:{display:"inline"},ml:"4px",external:!0,href:"https://www.hashdit.io",children:"HashDit"}),(0,Z.jsx)(eo.Z,{mt:"4px",external:!0,href:"https://hashdit.github.io/hashdit/docs/risk-level-description",children:eh("Learn More")})]}):(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(es.Z,{my:"8px",children:eh("Risk scanning is still in progress. It may take up to 5 minutes to fully scan a token which is new to the database.")}),(0,Z.jsx)(es.Z,{as:"span",children:eh("Provided by")}),(0,Z.jsx)(eo.Z,{style:{display:"inline"},ml:"4px",external:!0,href:"https://www.hashdit.io",children:"HashDit"}),(0,Z.jsxs)(el.Z,{mt:"4px",children:[(0,Z.jsx)(es.Z,{children:eh("Learn more about risk rating")}),(0,Z.jsx)(eo.Z,{ml:"4px",external:!0,href:"https://hashdit.github.io/hashdit/docs/risk-level-description",children:eh("here.")})]})]})}},58274:function(_,C,L){"use strict";L.d(C,{LL:function(){return eE}});var Z=L(97458),ea=L(3705),es=L(82577),eo=L(11189),el=L(87653),eu=L(42933),ec=L(59193),ed=L(51036),eh=L(17778),ep=L(1891),ef=L(16169),em=L(63135),eb=L(23690),ey=L(77842),eg=L(41335),ev=L(94988),ex=L(52983),e_=L(10295),ew=L(47117),eC=L(62656),eT=L(52316),eq=L(50171),ek=L(59504);let eS=(0,eC.zo)(eu.Z)`
34  animation: ${ec.DS} 1.5s ease infinite;
35  background-size: 1000% 1000%;
36`,eE={UNKNOWN:-1,VERY_LOW:0,SOME_RISK:1,LOW:2,MEDIUM:3,HIGH:4,SIGNIFICANT:5},eM={[eE.VERY_LOW]:(0,Z.jsx)(ea.c,{children:"Very Low Risk"}),[eE.SOME_RISK]:(0,Z.jsx)(ea.c,{children:"Some Risk"}),[eE.LOW]:(0,Z.jsx)(ea.c,{children:"Low Risk"}),[eE.MEDIUM]:(0,Z.jsx)(ea.c,{children:"Medium Risk"}),[eE.HIGH]:(0,Z.jsx)(ea.c,{children:"High Risk"}),[eE.SIGNIFICANT]:(0,Z.jsx)(ea.c,{children:"Significant Risk"}),[eE.UNKNOWN]:(0,Z.jsx)(ea.c,{children:"Unknown Risk"})};function RetryRisk(_){let{onClick:C}=_,[L,ea]=(0,ex.useState)(!1),{t:eo}=(0,es.Z)(),[el,eu]=(0,ex.useState)(!1),displayTooltip=()=>{eu(!0),setTimeout(()=>{eu(!1)},1e3)},ec=(0,ed.Z)((0,Z.jsxs)(Z.Fragment,{children:[eo("Risk scanning failed.")," ",!L&&eo("Press the button to retry.")]}),{placement:"auto",manualVisible:!0,trigger:"hover"});return(0,Z.jsxs)("div",{ref:ec.targetRef,children:[(0,Z.jsx)(eh.Z,{ml:"4px",onClick:()=>{ea(!0),displayTooltip(),C()},disabled:L,variant:"text",size:"sm",style:{width:"20px"},height:"20px",children:(0,Z.jsx)(ep.Z,{color:"primary",width:"16px",height:"16px"})}),el&&ec.tooltip]})}let AccessRiskComponent=_=>{let{token:C}=_,{t:L}=(0,es.Z)(),{data:ea,mutate:eu}=(0,eT.Z)(C&&C.address&&C.chainId===eo.a_.MODE_MAINNET&&["risk",C.chainId,C.address],()=>C&&(0,eq.L)(C.address,C.chainId));(0,ex.useEffect)(()=>{if(null==ea?void 0:ea.pollingInterval){let _=setTimeout(()=>eu(),null==ea?void 0:ea.pollingInterval);return()=>clearTimeout(_)}},[null==ea?void 0:ea.pollingInterval,eu]);let ec=(0,ew.R0)(),eh=(0,ex.useMemo)(()=>{if(!(null==C?void 0:C.address))return!1;let _=Object.values(ec).map(_=>{var C;return null==_?void 0:null===(C=_.current)||void 0===C?void 0:C.tokens}
36).filter(Boolean);return _.length?_.some(_=>null==_?void 0:_.some(_=>_.address===C.address)):null},[ec,null==C?void 0:C.address]),{targetRef:ep,tooltip:e_,tooltipVisible:eC}=(0,ed.Z)((0,Z.jsx)(ek.Z,{riskLevel:null==ea?void 0:ea.riskLevel,hasResult:null==ea?void 0:ea.hasResult,tokenAddress:null==ea?void 0:ea.address,riskLevelDescription:null==ea?void 0:ea.riskLevelDescription}),{placement:"bottom"}),ej=(0,ex.useMemo)(()=>!ea||(null==ea?void 0:ea.riskLevel)===eE.UNKNOWN&&!(null==ea?void 0:ea.hasResult),[ea]),eA=(0,ex.useMemo)(()=>{if(!(0,el.Z)(null==ea?void 0:ea.riskLevel))return eh||(null==ea?void 0:ea.riskLevel)?null==ea?void 0:ea.riskLevel:eE.UNKNOWN},[ea,eh]),eD=(0,ex.useMemo)(()=>(null==ea?void 0:ea.riskLevel)?ea.riskLevel>eE.MEDIUM?"failure":ea.riskLevel>=eE.LOW&&ea.riskLevel<=eE.MEDIUM?"warning":ea.riskLevel>=eE.VERY_LOW&&ea.riskLevel<=eE.SOME_RISK?"primary":"textDisabled":"textDisabled",[null==ea?void 0:ea.riskLevel]);if(!ej){let _=eA&&eM[eA];return _?(0,Z.jsx)(ef.Z,{justifyContent:"flex-end",children:(0,Z.jsx)("div",{ref:ep,style:{userSelect:"none"},children:(0,Z.jsxs)(em.Z,{variant:eD,children:[(0,Z.jsx)(eb.Z,{bold:!0,small:!0,color:"invertedContrast",children:_}),eC&&e_,(0,Z.jsx)(ef.Z,{children:(null==ea?void 0:ea.hasResult)?(0,Z.jsx)(ey.Z,{ml:"4px",width:"16px",height:"16px",color:"invertedContrast"}):(0,Z.jsx)(eg.Z,{spin:!0,ml:"4px",width:"20px",height:"20px",color:"invertedContrast"})})]})})}):null}return(null==ea?void 0:ea.isError)?(0,Z.jsxs)(ef.Z,{justifyContent:"flex-end",alignItems:"center",children:[(0,Z.jsx)("div",{ref:ep,style:{userSelect:"none"},children:(0,Z.jsxs)(em.Z,{variant:"textDisabled",children:[(0,Z.jsx)(eb.Z,{bold:!0,small:!0,color:"invertedContrast",children:L("Unknown")}),eC&&e_,(0,Z.jsx)(ef.Z,{children:(0,Z.jsx)(ey.Z,{ml:"4px",width:"16px",height:"16px",color:"invertedContrast"})})]})}),(0,Z.jsx)(RetryRisk,{onClick:()=>eu()},C.chainId+C.address)]}):(0,Z.jsx)(Z.Fragment,{children:(0,Z.jsxs)(ef.Z,{justifyContent:"flex-end",minWidth:168,children:[(0,Z.jsx)(eS,{variant:"bubblegum",scale:"sm",style:{height:"28px"},children:(0,Z.jsx)(ev.b,{style:{fontSize:"14px"},children:L("Scanning Risk")})}),eC&&e_,(0,Z.jsx)(ef.Z,{ref:ep,children:(null==ea?void 0:ea.riskLevel)===eE.UNKNOWN?(0,Z.jsx)(eg.Z,{spin:!0,ml:"4px",width:"20px",height:"20px",color:"textSubtle"}):(0,Z.jsx)(ey.Z,{ml:"4px",width:"20px",height:"20px",color:"textSubtle"})})]})})};C.ZP=_=>{let{token:C}=_,[L]=(0,e_.q)();return L&&(0,Z.jsx)(AccessRiskComponent,{token:C})}},50171:function(_,C,L){"use strict";L.d(C,{L:function(){return fetchRiskToken}});
36var Z=L(82880);let fetchRiskApi=async(_,C)=>{var L,ea;let es=await fetch(`${Z.iR}`,{headers:{Accept:"application/json","Content-Type":"application/json"},method:"POST",body:JSON.stringify({chain_id:C,address:_})}),eo=await es.json();return{...eo,data:{address:_,chainId:C,isError:200!==es.status,hasResult:eo.data.has_result,riskLevel:eo.data.risk_level,requestId:eo.data.request_id,riskLevelDescription:eo.data.risk_level_description,pollingInterval:null!==(ea=null===(L=eo.data)||void 0===L?void 0:L.polling_interval)&&void 0!==ea?ea:0}}},fetchRiskToken=async(_,C)=>{var L;let Z=await fetchRiskApi(_,C);return null==Z||!Z.data||(null==Z?void 0:null===(L=Z.data)||void 0===L?void 0:L.isError)?{address:_,chainId:C,isError:!0,hasResult:!1,riskLevel:-1,requestId:"",riskLevelDescription:"",pollingInterval:0}:Z.data}},86602:function(_,C,L){"use strict";L.d(C,{MT:function(){return eh},Sd:function(){return ed},h2:function(){return ec},hl:function(){return eo},m5:function(){return el},tA:function(){return eu}});var Z=L(62656),ea=L(47287);let es=(0,Z.zo)(ea.ZP)`
37  width: ${_=>{let{width:C}=_;return null!=C?C:"100%"}};
38  padding: ${_=>{let{padding:C}=_;return null!=C?C:"1.25rem"}};
39  border: ${_=>{let{border:C}=_;return C}};
40  border-radius: ${_=>{let{borderRadius:C}=_;return null!=C?C:"16px"}};
41  background-color: ${_=>{let{theme:C}=_;return C.colors.background}};
42`;C.ZP=es;let eo=(0,Z.zo)(es)`
43  border: 1px solid ${_=>{let{theme:C}=_;return C.colors.cardBorder}};
44  background-color: ${_=>{let{theme:C}=_;return C.colors.backgroundAlt}};
45`,el=(0,Z.zo)(es)`
46  border: 1px solid ${_=>{let{theme:C}=_;return C.colors.cardBorder}};
47  background-color: ${_=>{let{theme:C}=_;return C.colors.background}};
48`,eu=(0,Z.zo)(es)`
49  border: 1px solid ${_=>{let{theme:C}=_;return C.colors.cardBorder}};
50  background-color: ${_=>{let{theme:C,isClicked:L}=_;return L?C.colors.input:C.colors.background}};
51  transition: max-height 0.4s ease-in-out, background-color 0.1s ease-in-out;
52  overflow: hidden;
53  &:hover {
54    cursor: ${_=>{let{isDisabled:C}=_;return C?"not-allowed":"pointer"}};
55  }
56`,ec=(0,Z.zo)(es)`
57  background-color: ${_=>{let{theme:C}=_;return C.colors.dropdown}};
58`,ed=(0,Z.zo)(es)`
59  border: 1px solid ${_=>{let{theme:C,active:L}=_;return L?"none":C.colors.cardBorder}};
60  background-color: ${_=>{let{theme:C}=_;return C.colors.tertiary}};
61`,eh=(0,Z.zo)(es)`
62  border: 1px solid ${_=>{let{theme:C}=_;return C.colors.cardBorder}};
63  background-color: ${_=>{let{theme:C}=_;return C.colors.disabled}};
64`},47594:function(_,C,L){"use strict";var Z=L(97458),ea=L(96800),es=L.n(ea),eo=L(82577),el=L(85168),eu=L(42933),ec=L(86476),ed=L(5573),eh=L(14348),ep=L(95326),ef=L(52983),em=L(29517),eb=L(51433),ey=L(39549);C.Z=_=>{let{children:C,...L}=_,ea=(0,ep.v0)(),{login:eg}=(0,eh.Z)(),{t:ev,currentLanguage:{code:ex}}=(0,eo.Z)(),{connectAsync:e_}=(0,em.$4)(),{chainId:ew}=(0,ed.g)(),[eC,eT]=(0,ef.useState)(!1),eq=(0,ef.useMemo)(()=>(0,ec.N2)(ex),[ex]),ek=(0,ef.useMemo)(()=>(0,ec.Ut)(ew,e_),[ew,e_]);return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(eu.Z,{onClick:()=>{"undefined"==typeof __NEZHA_BRIDGE__||window.ethereum?eT(!0):ea()},...L,children:C||(0,Z.jsx)(ey.Z,{children:"Connect Wallet"})}),(0,Z.jsx)(es(),{id:"70b428f10b7b65df",children:"w3m-modal{position:relative;z-index:99}"}),(0,Z.jsx)(el.b2,{docText:ev("Learn How to Connect"),docLink:eq,isOpen:eC,wallets:ek,login:eg,onDismiss:()=>eT(!1),onWalletConnectCallBack:eb.ZD})]})}},55540:function(_,C,L){"use strict";L.d(C,{V:function(){return PageMeta},Z:function(){return Layout_Page}});var Z=L(97458),ea=L(62656),es=L(51231),eo=L(82577),el=L(97656),eu=L(67997),ec=L.n(eu),ed=L(82880);let eh={title:"Andex",description:"The most popular AMM on MODE by user count! Earn ANDX through yield farming or win it in the Lottery, then stake it in Syrup Pools to earn more tokens! Initial Farm Offerings (new token launch model pioneered by Andex), and more, on a platform you can trust."},getPathList=_=>({paths:{"/":{title:_("Home")},"/swap":{basePath:!0,title:_("Exchange")},"/limit-orders":{basePath:!0,title:_("Limit Orders")},"/add":{basePath:!0,title:_("Add Liquidity")},"/remove":{basePath:!0,title:_("Remove Liquidity")},"/liquidity":{title:_("Liquidity")},"/find":{title:_("Import Pool")},"/competition":{title:_("Trading Battle")},"/prediction":{title:_("Prediction")},"/prediction/leaderboard":{title:_("Leaderboard")},"/farms":{title:_("Farms")},"/farms/auction":{title:_("Farm Auctions")},"/pools":{title:_("Pools")},"/lottery":{title:_("Lottery")},"/ifo":{title:_("Initial Farm Offering")},"/teams":{basePath:!0,title:_("Leaderboard")},"/voting":{basePath:!0,title:_("Voting")}
64,"/voting/proposal":{title:_("Proposals"),image:`${ed.EW}/web/og/voting.jpg`},"/voting/proposal/create":{title:_("Make a Proposal")},"/info":{title:`${_("Overview")} - ${_("Info")}`,description:"View statistics for Pancakeswap exchanges."},"/info/pairs":{title:`${_("Pairs")} - ${_("Info")}`,description:"View statistics for Pancakeswap exchanges."},"/info/tokens":{title:`${_("Tokens")} - ${_("Info")}`,description:"View statistics for Pancakeswap exchanges."},"/nfts":{title:_("NFT Marketplace")},"/nfts/collections":{basePath:!0,title:_("Collections")},"/nfts/activity":{title:_("Activity")},"/profile":{basePath:!0,title:_("Profile")},"/pancake-squad":{basePath:!0,title:_("Pancake Squad")},"/pottery":{basePath:!0,title:_("Pottery")}},defaultTitleSuffix:_("Andex")}),ep=ec()((_,C,L)=>{var Z,ea;let es=getPathList(C),eo=null!==(ea=es.paths[_])&&void 0!==ea?ea:es.paths[null===(Z=Object.entries(es.paths).find(C=>{let[L,Z]=C;return Z.basePath&&_.startsWith(L)}))||void 0===Z?void 0:Z[0]];return eo?{title:`${eo.title}`,...eo.description&&{description:eo.description},image:eo.image}:null},(_,C,L)=>`${_}#${L}`);var ef=L(47287);let em=(0,ea.zo)(_=>{let{children:C,...L}=_;return(0,Z.jsx)(ef.ZP,{px:["16px","24px"],mx:"auto",maxWidth:"1200px",...L,children:C})})`
65  width: 100%;
66  min-height: calc(100vh - 64px);
67  padding-top: 16px;
68  padding-bottom: 16px;
69
70  ${_=>{let{theme:C}=_;return C.mediaQueries.sm}} {
71    padding-top: 24px;
72    padding-bottom: 24px;
73  }
74
75  ${_=>{let{theme:C}=_;return C.mediaQueries.lg}} {
76    padding-top: 32px;
77    padding-bottom: 32px;
78  }
79`,PageMeta=()=>{let{t:_,currentLanguage:{locale:C}}=(0,eo.Z)(),{pathname:L}=(0,el.useRouter)(),ea=ep(L,_,C);if(!ea)return null;let{description:eu,image:ec}={...eh,...ea};return(0,Z.jsx)(es.PB,{title:ea.title,description:eu,openGraph:ec?{images:[{url:ec,alt:null==ea?void 0:ea.title,type:"image/jpeg"}]}:void 0})};var Layout_Page=_=>{let{children:C,...L}=_;return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(PageMeta,{}),(0,Z.jsx)(em,{...L,children:C})]})}},5885:function(_,C,L){"use strict";var Z=L(97458),ea=L(12513),es=L.n(ea),eo=L(62656);let el=(0,eo.zo)("a")`
80  text-decoration: none;
81  cursor: pointer;
82  color: ${_=>{let{theme:C}=_;return C.colors.primary}};
83  font-weight: 500;
84
85  &:hover {
86    text-decoration: underline;
87  }
88
89  &:focus {
90    outline: none;
91    text-decoration: underline;
92  }
93
94  &:active {
95    text-decoration: none;
96  }
97`;C.Z=_=>{let{children:C,...L}=_;return(0,Z.jsx)(es(),{...L,children:(0,Z.jsx)(el,{children:C})})}},14538:function(_,C,L){"use strict";var Z=L(62656);let ea=Z.zo.span`
98  &::after {
99    display: inline-block;
100    animation: ellipsis 1.25s infinite;
101    content: '.';
102    width: 1em;
103    text-align: left;
104  }
105  @keyframes ellipsis {
106    0% {
107      content: '.';
108    }
109    33% {
110      content: '..';
111    }
112    66% {
113      content: '...';
114    }
115  }
116`;C.Z=ea},10456:function(_,C,L){"use strict";L.d(C,{E:function(){return ec}});var Z=L(97458),ea=L(95623),es=L.n(ea),eo=L(77842),el=L(30012),eu=L(52983);let ec=(0,eu.memo)(_=>{let{chainId:C,width:L=24,height:ea=24}=_;return(0,el.MR)(C)?(0,Z.jsx)(es(),{alt:`chain-${C}`,style:{maxHeight:`${ea}px`},src:`/images/chains/${C}.png`,width:L,height:ea,unoptimized:!0}):(0,Z.jsx)(eo.Z,{width:L,height:ea})})},45085:function(_,C,L){"use strict";L.d(C,{D:function(){return RoutingSettingsButton},ZP:function(){return GlobalSettings_SettingsModal},h7:function(){return withCustomOnDismiss}});var Z,ea,es,eo=L(97458),el=L(82577),eu=L(11189),ec=L(16169),ed=L(48723),eh=L(14442),ep=L(23690),ef=L(35360),em=L(65726),eb=L(50956),ey=L(36460),eg=L(5719),ev=L(85636),ex=L(42933),e_=L(2054),ew=L(49520),eC=L(84277),eT=L(64619),eq=L(19043),ek=L(10504),eS=L(5573),eE=L(45505),eM=L(52983),ej=L(37430),eA=L(65098),eD=L(8047),eI=L(10295),eO=L(46259),eP=L(91527),eN=L(62656),eL=L(58274),eR=L(59504),eB=L(38966),GlobalSettings_GasSettings=()=>{let{t:_}=(0,el.Z)(),[C,L]=(0,eD.nF)();return(0,eo.jsxs)(ec.Z,{flexDirection:"column",children:[(0,eo.jsxs)(ec.Z,{mb:"12px",alignItems:"center",children:[(0,eo.jsx)(ep.Z,{children:_("Default Transaction Speed (GWEI)")}),(0,eo.jsx)(em.s,{text:(0,eo.jsxs)(ec.Z,{flexDirection:"column",children:[(0,eo.jsx)(ep.Z,{children:_("Adjusts the gas price (transaction fee) for your transaction. Higher GWEI = higher speed = higher fees.")}),(0,eo.jsx)(ep.Z,{mt:"8px",children:_("Choose “Default” to use the settings from your current blockchain RP
116C node.")})]}),placement:"top",ml:"4px"})]}),(0,eo.jsxs)(ec.Z,{flexWrap:"wrap",children:[(0,eo.jsx)(ex.Z,{mt:"4px",mr:"4px",scale:"sm",onClick:()=>{L(eB.j4.rpcDefault)},variant:C===eB.j4.rpcDefault?"primary":"tertiary",children:_("Default")}),(0,eo.jsx)(ex.Z,{mt:"4px",mr:"4px",scale:"sm",onClick:()=>{L(eB.j4.default)},variant:C===eB.j4.default?"primary":"tertiary",children:_("Standard (%gasPrice%)",{gasPrice:eB.DB.default})}),(0,eo.jsx)(ex.Z,{mt:"4px",mr:"4px",scale:"sm",onClick:()=>{L(eB.j4.fast)},variant:C===eB.j4.fast?"primary":"tertiary",children:_("Fast (%gasPrice%)",{gasPrice:eB.DB.fast})}),(0,eo.jsx)(ex.Z,{mr:"4px",mt:"4px",scale:"sm",onClick:()=>{L(eB.j4.instant)},variant:C===eB.j4.instant?"primary":"tertiary",children:_("Instant (%gasPrice%)",{gasPrice:eB.DB.instant})})]})]})},eF=L(82730),eZ=L(47287),ez=L(88640);(Z=ea||(ea={})).InvalidInput="InvalidInput",Z.RiskyLow="RiskyLow",Z.RiskyHigh="RiskyHigh",(es||(es={})).InvalidInput="InvalidInput";let eU=RegExp("^\\d*(?:\\\\[.])?\\d*$");var TransactionSettings=()=>{let _,C;let[L,Z]=(0,eA.eq)(),[ea,es]=(0,eD.A6)(),[eu,ed]=(0,eM.useState)(""),[eh,ef]=(0,eM.useState)(""),{t:eb}=(0,el.Z)(),ey=""===eu||(L/100).toFixed(2)===Number.parseFloat(eu).toFixed(2),eg=""===eh||(ea/60).toString()===eh;_=""===eu||ey?ey&&L<50?"RiskyLow":ey&&L>500?"RiskyHigh":void 0:"InvalidInput",C=""===eh||eg?void 0:"InvalidInput";let parseCustomSlippage=_=>{if(""===_||eU.test((0,eF.hr)(_))){ed(_);try{let C=Number.parseInt((100*Number.parseFloat(_)).toString());!Number.isNaN(C)&&C<5e3&&Z(C)}catch(_){console.error(_)}}},parseCustomDeadline=_=>{ef(_);try{let L=60*Number.parseInt(_);!Number.isNaN(L)&&L>60&&L<259200?es(L):C="InvalidInput"}catch(_){console.error(_)}};return(0,eo.jsxs)(ec.Z,{flexDirection:"column",children:[(0,eo.jsxs)(ec.Z,{flexDirection:"column",mb:"24px",children:[(0,eo.jsxs)(ec.Z,{mb:"12px",children:[(0,eo.jsx)(ep.Z,{children:eb("Slippage Tolerance")}),(0,eo.jsx)(em.s,{text:eb("Setting a high slippage tolerance can help transactions succeed, but you may not get such a good price. Use with caution."),placement:"top",ml:"4px"})]}),(0,eo.jsxs)(ec.Z,{flexWrap:"wrap",children:[(0,eo.jsx)(ex.Z,{mt:"4px",mr:"4px",scale:"sm",onClick:()=>{ed(""),Z(10)},variant:10===L?"primary":"tertiary",children:"0.1%"}),(0,eo.jsx)(ex.Z,{mt:"4px",mr:"4px",scale:"sm",onClick:()=>{ed(""),Z(50)},variant:50===L?"primary":"tertiary",children:"0.5%"}),(0,eo.jsx)(ex.Z,{mr:"4px",mt:"4px",scale:"sm",onClick:()=>{ed(""),Z(100)},variant:100===L?"primary":"tertiary",children:"1.0%"}),(0,eo.jsxs)(ec.Z,{alignItems:"center",children:[(0,eo.jsx)(eZ.ZP,{width:"76px",mt:"4px",children:(0,eo.jsx)(ez.Z,{scale:"sm",inputMode:"decimal",pattern:"^[0-9]*[.,]?[0-9]{0,2}$",placeholder:(L/100).toFixed(2),value:eu,onBlur:()=>{parseCustomSlippage((L/100).toFixed(2))},onChange:_=>{_.currentTarget.validity.valid&&parseCustomSlippage(_.target.value.replace(/,/g,"."))},isWarning:!ey,isSuccess:![10,50,100].includes(L)})}),(0,eo.jsx)(ep.Z,{color:"primary",bold:!0,ml:"2px",children:"%"})]})]}),!!_&&(0,eo.jsx)(ep.Z,{fontSize:"14px",color:"InvalidInput"===_?"red":"#F3841E",mt:"8px",children:eb("InvalidInput"===_?"Enter a valid slippage percentage":"RiskyLow"===_?"Your transaction may fail":"Your transaction may be frontrun")})]}),(0,eo.jsxs)(ec.Z,{justifyContent:"space-between",alignItems:"center",mb:"24px",children:[(0,eo.jsxs)(ec.Z,{alignItems:"center",children:[(0,eo.jsx)(ep.Z,{children:eb("Tx deadline (mins)")}),(0,eo.jsx)(em.s,{text:eb("Your transaction will revert if it is left confirming for longer than this time."),placement:"top",ml:"4px"})]}),(0,eo.jsx)(ec.Z,{children:(0,eo.jsx)(eZ.ZP,{width:"52px",mt:"4px",children:(0,eo.jsx)(ez.Z,{scale:"sm",inputMode:"numeric",pattern:"^[0-9]+$",isWarning:!!C,onBlur:()=>{parseCustomDeadline((ea/60).toString())},placeholder:(ea/60).toString(),value:eh,onChange:_=>{_.currentTarget.validity.valid&&parseCustomDeadline(_.target.value)}})})})]})]})},e$=L(35365);let eV=(0,eN.zo)(ec.Z)`
117  flex-direction: column;
118  height: auto;
119  ${_=>{let{theme:C}=_;return C.mediaQueries.xs}} {
120    max-height: 90vh;
121  }
122  ${_=>{let{theme:C}=_;return C.mediaQueries.md}} {
123    max-height: none;
124  }
125`,withCustomOnDismiss=_=>C=>{let{onDismiss:L,customOnDismiss:Z,mode:ea,...es}=C,el=(0,eM.useCallback)(()=>{null==L||L(),Z&&Z()},[Z,L]);return(0,eo.jsx)(_,{...es,mode:ea,onDismiss:el})};var GlobalSettings_SettingsModal=_=>{let{onDismiss:C,mode:L}=_,[Z,ea]=(0,eM.useState)(!1),[es,eg]=(0,eA.Xi)(),[ev,ex]=(0,eA.zu)(),[e_,ew]=(0,eA.pp)(),[eC,eT]=(0,eD.YF)(),[eq,eO]=(0,eD.Pn)(),{onChangeRecipient:eP}=(0,ej._)(),{chainId:eN}=(0,eS.g)(),[eB,eF]=(0,eI.q)(),{t:eZ}=(0,el.Z)(),{isDark:ez,setTheme:eU}=(0,eE.ZP)();return Z?(0,eo.jsx)(ek.VD,{setShowConfirmExpertModal:ea,onDismiss:C,toggleExpertMode:()=>ex(_=>!_),setShowExpertModeAcknowledgement:eg}
125):(0,eo.jsx)(ed.ZP,{title:eZ("Settings"),headerBackground:"gradientCardHeader",onDismiss:C,children:(0,eo.jsxs)(eV,{children:[L===e$.a.GLOBAL&&(0,eo.jsx)(eo.Fragment,{children:(0,eo.jsxs)(ec.Z,{pb:"24px",flexDirection:"column",children:[(0,eo.jsx)(eh.Z,{mb:"24px",children:eZ("Global")}),(0,eo.jsxs)(ec.Z,{justifyContent:"space-between",mb:"24px",children:[(0,eo.jsx)(ep.Z,{children:eZ("Dark mode")}),(0,eo.jsx)(ef.Z,{isDark:ez,toggleTheme:()=>eU(ez?"light":"dark")})]}),(0,eo.jsxs)(ec.Z,{justifyContent:"space-between",alignItems:"center",mb:"24px",children:[(0,eo.jsxs)(ec.Z,{alignItems:"center",children:[(0,eo.jsx)(ep.Z,{children:eZ("Subgraph Health Indicator")}),(0,eo.jsx)(em.s,{text:eZ("Turn on subgraph health indicator all the time. Default is to show the indicator only when the network is delayed"),placement:"top",ml:"4px"})]}),(0,eo.jsx)(eb.Z,{id:"toggle-subgraph-health-button",checked:eC,scale:"md",onChange:()=>{eT(!eC)}})]}),(0,eo.jsxs)(ec.Z,{justifyContent:"space-between",alignItems:"center",mb:"24px",children:[(0,eo.jsxs)(ec.Z,{alignItems:"center",children:[(0,eo.jsx)(ep.Z,{children:eZ("Show username")}),(0,eo.jsx)(em.s,{text:eZ("Shows username of wallet instead of bunnies"),placement:"top",ml:"4px"})]}),(0,eo.jsx)(eb.Z,{id:"toggle-username-visibility",checked:eq,scale:"md",onChange:()=>{eO(!eq)}})]}),eN===eu.a_.MODE_MAINNET&&(0,eo.jsxs)(eo.Fragment,{children:[(0,eo.jsxs)(ec.Z,{justifyContent:"space-between",alignItems:"center",mb:"24px",children:[(0,eo.jsxs)(ec.Z,{alignItems:"center",children:[(0,eo.jsx)(ep.Z,{children:eZ("Token Risk Scanning")}),(0,eo.jsx)(em.s,{text:(0,eo.jsx)(eR.Z,{hasResult:!0,riskLevel:eL.LL.SOME_RISK,riskLevelDescription:eZ("Automatic risk scanning for the selected token. This scanning result is for reference only, and should NOT be taken as investment advice.")}),placement:"top",ml:"4px"})]}),(0,eo.jsx)(eb.Z,{id:"toggle-username-visibility",checked:eB,scale:"md",onChange:()=>{eF(!eB)}})]}),(0,eo.jsx)(GlobalSettings_GasSettings,{})]})]})}),L===e$.a.SWAP_LIQUIDITY&&(0,eo.jsxs)(eo.Fragment,{children:[(0,eo.jsxs)(ec.Z,{pt:"3px",flexDirection:"column",children:[(0,eo.jsx)(eh.Z,{children:eZ("Swaps & Liquidity")}),(0,eo.jsx)(ec.Z,{justifyContent:"space-between",alignItems:"center",mb:"24px",children:eN===eu.a_.MODE_MAINNET&&(0,eo.jsx)(GlobalSettings_GasSettings,{})}),(0,eo.jsx)(TransactionSettings,{})]}),(0,eo.jsxs)(ec.Z,{justifyContent:"space-between",alignItems:"center",mb:"24px",children:[(0,eo.jsxs)(ec.Z,{alignItems:"center",children:[(0,eo.jsx)(ep.Z,{children:eZ("Expert Mode")}),(0,eo.jsx)(em.s,{text:eZ("Bypasses confirmation modals and allows high slippage trades. Use at your own risk."),placement:"top",ml:"4px"})]}),(0,eo.jsx)(eb.Z,{id:"toggle-expert-mode-button",scale:"md",checked:ev,onChange:()=>{ev||!es?(eP(null),ex(_=>!_)):ea(!0)}})]}),(0,eo.jsxs)(ec.Z,{justifyContent:"space-between",alignItems:"center",mb:"24px",children:[(0,eo.jsxs)(ec.Z,{alignItems:"center",children:[(0,eo.jsx)(ep.Z,{children:eZ("Flippy sounds")}),(0,eo.jsx)(em.s,{text:eZ("Fun sounds to make a truly immersive pancake-flipping trading experience"),placement:"top",ml:"4px"})]}),(0,eo.jsx)(ey.Z,{checked:e_,onChange:()=>ew(_=>!_),scale:"md"})]}),(0,eo.jsx)(RoutingSettingsButton,{})]})]})})};function RoutingSettingsButton(_){let{children:C,showRedDot:L=!0,buttonProps:Z}=_,[ea,es]=(0,eM.useState)(!1),{t:eu}=(0,el.Z)(),[ec]=(0,eO.pW)();return(0,eo.jsxs)(eo.Fragment,{children:[(0,eo.jsx)(eg.p,{textAlign:"center",children:(0,eo.jsx)(ev.Z,{show:ec&&L,children:(0,eo.jsx)(ex.Z,{variant:"text",onClick:()=>es(!0),scale:"sm",...Z,children:C||eu("Customize Routing")})})}),(0,eo.jsx)(e_.kw,{isOpen:ea,onDismiss:()=>es(!1),closeOnOverlayClick:!0,children:(0,eo.jsx)(RoutingSettings,{})})]})}function RoutingSettings(){let{t:_}=(0,el.Z)(),[C,L]=(0,eO.s4)(),[Z,ea]=(0,eO.IV)(),[es,eu]=(0,eO.U3)(),[ef,ev]=(0,eO.fq)(),[e_,ek]=(0,eP.k)(),[eS,eE]=(0,eA.RO)(),eM=(0,eO.Zg)(),[ej,eD]=(0,eO.pW)();return(0,eo.jsx)(ed.ZP,{title:_("Customize Routing"),headerRightSlot:ej&&(0,eo.jsx)(ex.Z,{variant:"text",scale:"sm",onClick:eD,children:_("Reset")}),children:(0,eo.jsxs)(ew.Tz,{width:{xs:"100%",md:"screenSm"},gap:"16px",children:[(0,eo.jsxs)(eg.p,{children:[(0,eo.jsx)(eh.Z,{mb:"24px",children:_("Liquidity source")}),(0,eo.jsxs)(ec.Z,{justifyContent:"space-between",alignItems:"center",mb:"24px",children:[(0,eo.jsxs)(ec.Z,{alignItems:"center",children:[(0,eo.jsx)(ep.Z,{children:"Andex V3"}),(0,eo.jsx)(em.s,{text:(0,eo.jsx)(ec.Z,{children:(0,eo.jsx)(ep.Z,{mr:"5px",children:_("V3 offers concentrated liquidity to provide deeper liquidity for traders with the same amount of capital, offering lower slippage and more flexible trading fee tiers.")})}),placement:"top",ml:"4px"})]}),(0,eo.jsx)(eb.Z,{disabled:es&&eM,scale:"md",checked:es,onChange:()=>eu(_=>!_)})]}),(0,eo.jsxs)(ec.Z,{justifyContent:"space-between",alignItems:"center",mb:"24px",children:[(0,eo.jsxs)(ec.Z,{alignItems:"center",children:[(0,eo.jsx)(ep.Z,{children:"Andex V2"}),(0,eo.jsx)(em.s,{text:(0,eo.jsxs)(ec.Z,{flexDirection:"column",children:[(0,eo.jsx)(ep.Z,{mr:"5px",children:_("The previous V2 exch
125ange is where a number of iconic, popular assets are traded.")}),(0,eo.jsx)(ep.Z,{mr:"5px",mt:"1em",children:_("Recommend leaving this on to ensure backward compatibility.")})]}),placement:"top",ml:"4px"})]}),(0,eo.jsx)(eb.Z,{disabled:Z&&eM,scale:"md",checked:Z,onChange:()=>ea(_=>!_)})]}),(0,eo.jsxs)(ec.Z,{justifyContent:"space-between",alignItems:"center",mb:"24px",children:[(0,eo.jsxs)(ec.Z,{alignItems:"center",children:[(0,eo.jsxs)(ep.Z,{children:["Andex ",_("StableSwap")]}),(0,eo.jsx)(em.s,{text:(0,eo.jsx)(ec.Z,{flexDirection:"column",children:(0,eo.jsx)(ep.Z,{mr:"5px",children:_("StableSwap provides higher efficiency for stable or pegged assets and lower fees for trades.")})}),placement:"top",ml:"4px"})]}),(0,eo.jsx)(ey.Z,{disabled:C&&eM,id:"stable-swap-toggle",scale:"md",checked:C,onChange:()=>{L(_=>!_)}})]}),(0,eo.jsxs)(ec.Z,{justifyContent:"space-between",alignItems:"center",mb:"24px",children:[(0,eo.jsxs)(ec.Z,{alignItems:"center",children:[(0,eo.jsx)(ep.Z,{children:`Andex ${_("MM Linked Pool")}`}),(0,eo.jsx)(em.s,{text:(0,eo.jsxs)(ec.Z,{flexDirection:"column",children:[(0,eo.jsx)(ep.Z,{mr:"5px",children:_("Trade through the market makers if they provide better deal")}),(0,eo.jsx)(ep.Z,{mr:"5px",mt:"1em",children:_("If a trade is going through market makers, it will no longer route through any traditional AMM DEX pools.")})]}),placement:"top",ml:"4px"})]}),(0,eo.jsx)(eb.Z,{id:"toggle-disable-mm-button",checked:e_,onChange:_=>ek(_.target.checked),scale:"md"})]}),eM&&(0,eo.jsx)(eC.Z,{variant:"warning",children:(0,eo.jsx)(eC.Y,{children:_("At least one AMM liquidity source has to be enabled to support normal trading.")})})]}),(0,eo.jsxs)(eg.p,{children:[(0,eo.jsx)(eh.Z,{mb:"24px",children:_("Routing preference")}),(0,eo.jsxs)(eT.BA,{alignItems:"center",mb:"24px",children:[(0,eo.jsxs)(eT.DA,{as:"label",gap:"16px",children:[(0,eo.jsx)(eq.Z,{id:"toggle-disable-multihop-button",checked:!eS,scale:"sm",onChange:()=>{eE(_=>!_)}}),(0,eo.jsx)(ep.Z,{children:_("Allow Multihops")})]}),(0,eo.jsx)(em.s,{text:(0,eo.jsxs)(ec.Z,{flexDirection:"column",children:[(0,eo.jsx)(ep.Z,{mr:"5px",children:_("Multihops enables token swaps through multiple hops between several pools to achieve the best deal.")}),(0,eo.jsx)(ep.Z,{mr:"5px",mt:"1em",children:_("Turning this off will only allow direct swap, which may cause higher slippage or even fund loss.")})]}),placement:"top",ml:"4px"})]}),(0,eo.jsxs)(eT.BA,{alignItems:"center",mb:"24px",children:[(0,eo.jsxs)(eT.DA,{alignItems:"center",as:"label",gap:"16px",children:[(0,eo.jsx)(eq.Z,{id:"toggle-disable-multihop-button",checked:ef,scale:"sm",onChange:()=>{ev(_=>!_)}}),(0,eo.jsx)(ep.Z,{children:_("Allow Split Routing")})]}),(0,eo.jsx)(em.s,{text:(0,eo.jsxs)(ec.Z,{flexDirection:"column",children:[(0,eo.jsx)(ep.Z,{mr:"5px",children:_("Split routing enables token swaps to be broken into multiple routes to achieve the best deal.")}),(0,eo.jsx)(ep.Z,{mr:"5px",mt:"1em",children:_("Turning this off will only allow a single route, which may result in low efficiency or higher slippage.")})]}),placement:"top",ml:"4px"})]})]})]})})}},2861:function(_,C,L){"use strict";var Z=L(97458),ea=L(89681),es=L(16169),eo=L(17778),el=L(3187),eu=L(45085);C.Z=_=>{let{color:C,mr:L="8px",mode:ec}=_,[ed]=(0,ea.Z)((0,Z.jsx)(eu.ZP,{mode:ec}));return(0,Z.jsx)(es.Z,{children:(0,Z.jsx)(eo.Z,{onClick:ed,variant:"text",scale:"sm",mr:L,id:`open-settings-dialog-button-${ec}`,children:(0,Z.jsx)(el.Z,{height:24,width:24,color:C||"textSubtle"})})})}},35365:function(_,C,L){"use strict";var Z,ea;L.d(C,{a:function(){return Z}}),(ea=Z||(Z={})).GLOBAL="GLOBAL",ea.SWAP_LIQUIDITY="SWAP_LIQUIDITY"},28239:function(_,C,L){"use strict";L.d(C,{J:function(){return useMenuItems}});var Z=L(33688),ea=L(44610),es=L(82577),eo=L(5573),el=L(49546),eu=L(52983),ec=L(50043),ed=L(63046),eh=L(3152),ep=L(18292);let addMenuItemSupported=(_,C)=>{var L;return!C||!_.supportChainIds||(null===(L=_.supportChainIds)||void 0===L?void 0:L.includes(C))?_:{..._,disabled:!0}};var config_config=(_,C,L,Z)=>[{label:_("Trade"),icon:ed.Z,fillIcon:eh.Z,href:"/swap",showItemsOnMobile:!1,items:[{label:_("Swap"),href:"/swap"},{label:_("Liquidity"),href:"/liquidity"},{label:_("Buy Crypto"),href:"/buy-crypto",supportChainIds:ep.FZ}].map(_=>
125addMenuItemSupported(_,Z))}].map(_=>addMenuItemSupported(_,Z)),ef=L(47200),em=L(38966),eb=L(52316);let ey="REGISTRATION",eg="LIVE",ev={REGISTRATION:{state:ey,ends:1652774399e3,step:{index:0,text:"Entry"}},LIVE:{state:eg,ends:1653379199e3,step:{index:1,text:"Live"}},FINISHED:{state:"FINISHED",ends:null,step:{index:2,text:"End"}},CLAIM:{state:"CLAIM",ends:null,step:{index:2,text:"End"}},OVER:{state:"OVER",ends:null,step:{index:2,text:"End"}}};ev.REGISTRATION.step,ev.LIVE.step,ev.FINISHED.step;let ex={0:ev.REGISTRATION,1:ev.LIVE,2:ev.FINISHED,3:ev.CLAIM,4:ev.OVER};var e_=L(49727);let useCompetitionStatus=()=>{let _=(0,e_.o$)(),{data:C}=(0,eb.Z)("competitionStatus",async()=>{let C=await _.read.currentStatus();return ex[C].state});return(0,eu.useMemo)(()=>C===ey?"soon":C===eg?"live":null,[C])};var ew=L(54854),eC=L(62370);let usePotteryStatus=()=>{let{data:_}=(0,eb.Z)("potteryLastStatus",async()=>{let _=await (0,ew.lS)(),C=(0,eC.s4)(_);return C.read.getStatus()});return _};var eT=L(13138),eq=L.n(eT),ek=L(82880),eS=L(89378);let getCoreProposal=async _=>{let C=await eq()(ek.TY,eT.gql`
126      query getProposals($first: Int!, $skip: Int!, $state: String!, $admins: [String]!) {
127        proposals(first: $first, skip: $skip, where: { author_in: $admins, space_in: "${eS.O1}", state: $state }) {
128          id
129        }
130      }
131    `,{first:1,skip:0,state:_,admins:eS.F_});return C.proposals},useVotingStatus=()=>{let{data:_=null}=(0,eb.Z)("anyActiveSoonCoreProposals",async()=>{let _=await getCoreProposal(em.r7.ACTIVE);if(_.length)return"vote_now";let C=await getCoreProposal(em.r7.PENDING);return C.length?"soon":null});return _},eE=[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"tokenAddress",type:"address"},{indexed:!1,internalType:"uint256",name:"amountTokens",type:"uint256"}],name:"AdminTokenRecovery",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"amountLP",type:"uint256"},{indexed:!1,internalType:"uint256",name:"amountOfferingToken",type:"uint256"}],name:"AdminWithdraw",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"user",type:"address"},{indexed:!1,internalType:"uint256",name:"offeringAmount",type:"uint256"},{indexed:!1,internalType:"uint256",name:"excessAmount",type:"uint256"},{indexed:!0,internalType:"uint8",name:"pid",type:"uint8"}],name:"CreateVestingSchedule",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"user",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"},{indexed:!0,internalType:"uint8",name:"pid",type:"uint8"}],name:"Deposit",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"user",type:"address"},{indexed:!1,internalType:"uint256",name:"offeringAmount",type:"uint256"},{indexed:!1,internalType:"uint256",name:"excessAmount",type:"uint256"},{indexed:!0,internalType:"uint8",name:"pid",type:"uint8"}],name:"Harvest",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"startTimestamp",type:"uint256"},{indexed:!1,internalType:"uint256",name:"endTimestamp",type:"uint256"}],name:"NewStartAndEndTimestamps",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"campaignId",type:"uint256"},{indexed:!1,internalType:"uint256",name:"numberPoints",type:"uint256"},{indexed:!1,internalType:"uint256",name:"thresholdPoints",type:"uint256"}],name:"PointParametersSet",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"offeringAmountPool",type:"uint256"},{indexed:!1,internalType:"uint256",name:"raisingAmountPool",type:"uint256"},{indexed:!1,internalType:"uint8",name:"pid",type:"uint8"}],name:"PoolParametersSet",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"beneficiary",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"}],name:"Released",type:"event"},{anonymous:!1,inputs:[],name:"Revoked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_user",type:"address"}],name:"WhitelistedAddressAdded",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_user",type:"address"}],name:"WhitelistedAddressRemoved",type:"event"},{inputs:[],name:"IFO_FACTORY",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"MAX_BUFFER_SECONDS",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"MAX_POOL_ID",outputs:[{internalType:"uint8",name:"",type:"uint8"}],stateMutability:"view",type:"function"},{inputs:[],name:"NUMBER_POOLS",outputs:[{internalType:"uint8",name:"",type:"uint8"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"}],name:"addAddressToWhitelist",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address[]",name:"_users",type:"address[]"}],name:"addAddressesToWhitelist",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"admissionProfile",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"campaignId",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_holder",type:"address"}],name:"computeNextVestingScheduleIdForHolder",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_vestingScheduleId",type:"bytes32"}],name:"computeReleasableAmount",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_holder",type:"address"},{internalType:"uint256",name:"_index",type:"uint256"}],name:"computeVestingScheduleIdForAddressAndIndex",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"pure",type:"function"},{inputs:[{internalType:"address",name:"_holder",type:"address"},{internalType:"uint256",name:"_pid",type:"uint256"}],name:"computeVestingScheduleIdForAddressAndPid",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint8",name:"_pid",type:"uint8"}],name:"depositPool",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"endTimestamp",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_lpAmount",type:"uint256"},{internalType:"uint256",name:"_offerAmount",type:"uint256"}],name:"finalWithdraw",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_vestingScheduleId",type:"bytes32"}],name:"getVestingSchedule",outputs:[{components:[{internalType:"bool",name:"isVestingInitialized",type:"bool"},{internalType:"address",name:"beneficiary",type:"address"},{internalType:"uint8",name:"pid",type:"uint8"},{internalType:"uint256",name:"amountTotal",type:"uint256"},{internalType:"uint256",name:"released",type:"uint256"}],internalType:"struct IFOInitializableV7.VestingSchedule",name:"",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_holder",type:"address"},{internalType:"uint256",name:"_index",type:"uint256"}],name:"getVestingScheduleByAddressAndIndex",outputs:[{components:[{internalType:"bool",name:"isVestingInitialized",type:"bool"},{internalType:"address",name:"beneficiary",type:"address"},{internalType:"uint8",name:"pid",type:"uint8"},{internalType:"uint256",name:"amountTotal",type:"uint256"},{internalType:"uint256",name:"released",type:"uint256"}],internalType:"struct IFOInitializableV7.VestingSchedule",name:"",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[],name:"getVestingSchedulesCount",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getVestingSchedulesTotalAmount",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getWithdrawableOfferingTokenAmount",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint8",name:"_pid",type:"uint8"}],name:"harvestPool",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"iCakeAddress",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_lpToken",type:"address"},{internalType:"address",name:"_offeringToken",type:"address"},{internalType:"address",name:"_pancakeProfileAddress",type:"address"},{internalType:"uint256",name:"_startTimestamp",type:"uint256"},{internalType:"uint256",name:"_endTimestamp",type:"uint256"},{internalType:"uint256",name:"_maxBufferSeconds",type:"uint256"},{internalType:"uint8",name:"_maxPoolId",type:"uint8"},{internalType:"address",name:"_adminAddress",type:"address"},{internalType:"address",name:"_iCakeAddress",type:"address"},{internalType:"uint256",name:"_pointThreshold",type:"uint256"},{internalType:"address",name:"_admissionProfile",type:"address"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"isInitialized",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"}],name:"isQualifiedNFT",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"}],name:"isQualifiedPoints",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"}],name:"isQualifiedWhitelist",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"}],name:"isWhitelisted",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"lpToken",outputs:[{internalType:"contract IERC20",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"numberPoints",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"offeringToken",outputs:[{internalType:"contract IERC20",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"pancakeProfileAddress",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"pointThreshold",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_tokenAddress",type:"address"},{internalType:"uint256",name:"_tokenAmount",type:"uint256"}],name:"recoverWrongTokens",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_vestingScheduleId",type:"bytes32"}],name:"release",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"}],name:"removeAddressFromWhitelist",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address[]",name:"_users",type:"address[]"}],name:"removeAddressesFromWhitelist",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"revoke",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_offeringAmountPool",type:"uint256"}
131,{internalType:"uint256",name:"_raisingAmountPool",type:"uint256"},{internalType:"uint256",name:"_limitPerUserInLP",type:"uint256"},{internalType:"bool",name:"_hasTax",type:"bool"},{internalType:"uint256",name:"_flatTaxRate",type:"uint256"},{internalType:"uint8",name:"_pid",type:"uint8"},{internalType:"uint8",name:"_isSpecialSale",type:"uint8"},{internalType:"uint256",name:"_vestingPercentage",type:"uint256"},{internalType:"uint256",name:"_vestingCliff",type:"uint256"},{internalType:"uint256",name:"_vestingDuration",type:"uint256"},{internalType:"uint256",name:"_vestingSlicePeriodSeconds",type:"uint256"}],name:"setPool",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"startTimestamp",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"thresholdPoints",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"",type:"uint256"}],name:"tokenIdUsed",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalTokensOffered",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_campaignId",type:"uint256"},{internalType:"uint256",name:"_numberPoints",type:"uint256"},{internalType:"uint256",name:"_thresholdPoints",type:"uint256"}],name:"updatePointParameters",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_startTimestamp",type:"uint256"},{internalType:"uint256",name:"_endTimestamp",type:"uint256"}],name:"updateStartAndEndTimestamps",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"userCreditUsed",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"userNftTokenId",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"vestingRevoked",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"vestingStartTime",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_pid",type:"uint256"}],name:"viewPoolInformation",outputs:[{internalType:"uint256",name:"",type:"uint256"},{internalType:"uint256",name:"",type:"uint256"},{internalType:"uint256",name:"",type:"uint256"},{internalType:"bool",name:"",type:"bool"},{internalType:"uint256",name:"",type:"uint256"},{internalType:"uint256",name:"",type:"uint256"},{internalType:"uint8",name:"",type:"uint8"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_pid",type:"uint256"}],name:"viewPoolTaxRateOverflow",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_pid",type:"uint256"}],name:"viewPoolVestingInformation",outputs:[{internalType:"uint256",name:"",type:"uint256"},{internalType:"uint256",name:"",type:"uint256"},{internalType:"uint256",name:"",type:"uint256"},{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"},{internalType:"uint8[]",name:"_pids",type:"uint8[]"}],name:"viewUserAllocationPools",outputs:[{internalType:"uint256[]",name:"",type:"uint256[]"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"},{internalType:"uint8[]",name:"_pids",type:"uint8[]"}],name:"viewUserInfo",outputs:[{internalType:"uint256[]",name:"",type:"uint256[]"},{internalType:"bool[]",name:"",type:"bool[]"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"}
131,{internalType:"uint8[]",name:"_pids",type:"uint8[]"}],name:"viewUserOfferingAndRefundingAmountsForPools",outputs:[{internalType:"uint256[3][]",name:"",type:"uint256[3][]"}],stateMutability:"view",type:"function"}];var eM=L(30012),ej=L(14319),eA=L(11189),eD=L(53343),eI=L(99093);async function getIfoConfig_getIfoConfig(_){if(!_)return[];try{let{ifos:C}=await L(24615)(`./${(0,eA.qz)(_)}`);return C.map(C=>({...C,chainId:_}))}catch(_){return console.error(_),[]}}async function getActiveIfo(_){if(!_||!(0,eD.er)(_))return null;let findActiveIfo=_=>{var C;return null!==(C=_.find(_=>{let{isActive:C}=_;return C}))&&void 0!==C?C:null},C=await getIfoConfig_getIfoConfig(_),L=findActiveIfo(C);if(L)return L;if((0,eD.mJ)(_))return null;let Z=await Promise.all(((function(_){if((0,eD.aG)(_))return eI.Wn[_]})(_)||[]).map(_=>getIfoConfig_getIfoConfig(_)));for(let _ of Z){let C=findActiveIfo(_);if(C)return C}return null}let useIfoStatus=()=>{let{activeIfo:_}=function(){let{chainId:_}=(0,eo.g)(),{data:C,isLoading:L}=(0,ej.a)([_,"active-ifo"],()=>getActiveIfo(_));return{activeIfo:C,isLoading:L}}(),{data:C={startTime:0,endTime:0}}=(0,eb.Z)(_?["ifo","currentIfo_timestamps",_.chainId]:null,async()=>{let C=(0,eM.z2)({chainId:null==_?void 0:_.chainId});if(!C||!(null==_?void 0:_.chainId))return{startTime:0,endTime:0};let[L,Z]=await C.multicall({contracts:[{address:_.address,abi:eE,functionName:"startTimestamp"},{address:_.address,abi:eE,functionName:"endTimestamp"}]});return{startTime:"success"===L.status?Number(L.result):0,endTime:"success"===Z.status?Number(Z.result):0}});return(0,eu.useMemo)(()=>{let{startTime:_,endTime:L}=C,Z=Math.floor(Date.now()/1e3);return Z<_?"soon":Z>=_&&Z<=L?"live":null},[C])},useMenuItemsStatus=()=>{let _=useIfoStatus(),C=useCompetitionStatus(),L=usePotteryStatus(),Z=useVotingStatus(),ea=(0,ef.g)();return(0,eu.useMemo)(()=>({"/competition":C||"","/ifo":_||"",...L===em.lS.BEFORE_LOCK&&{"/pottery":"pot_open"},...Z&&{"/voting":Z},...ea&&{"/pools":"lock_end"}}),[C,_,L,Z,ea])},useMenuItems=_=>{let{t:C,currentLanguage:{code:L}}=(0,es.Z)(),{chainId:ed}=(0,eo.g)(),{isDark:eh}=(0,Z.Fg)(),ep=useMenuItemsStatus(),{isMobile:ef}=(0,ea.Z)(),em=(0,eu.useMemo)(()=>{let _=[...config_config(C,eh,L,ed)];return _.push(_.splice(3,1)[0]),ef?_:config_config(C,eh,L,ed)},[C,eh,L,ed,ef]),[eb]=(0,el.M)(el.X.PERPETUALS);return(0,eu.useMemo)(()=>ep&&Object.keys(ep).length?em.map(L=>{var Z;let ea=null==L?void 0:null===(Z=L.items)||void 0===Z?void 0:Z.map(L=>{let Z=ep[L.href],ea=L.confirmModalId,es="/info/v3"===L.href;if(Z){let _=null;return _="soon"===Z?{text:C("Soon"),color:"warning"}:"vote_now"===Z?{text:C("Vote Now"),color:"success"}:"pot_open"===Z?{text:C("Pot Open"),color:"success"}:"lock_end"===Z?{text:C("Lock End"),color:"failure"}:{text:C("New"),color:"success"},{...L,status:_}}if(ea){let C=null;return"usCitizenConfirmModal"===ea&&(C=C=>{!eb&&_&&(C.stopPropagation(),C.preventDefault(),_())}),{...L,onClick:C}}if(es){var eo;let _=`${L.href}${null!==(eo=ec.Dw[ed])&&void 0!==eo?eo:""}`;return{...L,href:_}}return L});return{...L,items:ea}}):em,[C,em,ep,eb,_,ed])}},3622:function(_,C,L){"use strict";L.d(C,{t:function(){return getActiveMenuItem},u:function(){return getActiveSubMenuItem}});var Z=L(40916),ea=L.n(Z);let getActiveMenuItem=_=>{let{pathname:C,menuConfig:L}=_;return L.find(_=>C.startsWith(_.href)||getActiveSubMenuItem({menuItem:_,pathname:C}))},getActiveSubMenuItem=_=>{var C,L;let{pathname:Z,menuItem:es}=_,eo=null!==(L=null==es?void 0:null===(C=es.items)||void 0===C?void 0:C.filter(_=>(null==_?void 0:_.href)&&Z.startsWith(null==_?void 0:_.href)))&&void 0!==L?L:[];if(!eo||0===eo.length)return;if(1===eo.length)return eo[0];let el=ea()(eo,_=>{var C;return null==_?void 0:null===(C=_.href)||void 0===C?void 0:C.length},"desc")[0];return el}},12975:function(_,C,L){"use strict";L.d(C,{B:function(){return NetworkModal},v:function(){return eb}});var Z=L(97458),ea=L(2054),es=L(54406),eo=L(30012),el=L(11189),eu=L(52983),ec=L(29517),ed=L(80440),eh=L(42843),ep=L(18292),ef=L(35342),em=L.n(ef);let eb=(0,ed.cn)(!1),ey=em()(()=>L.e(8816).then(L.bind(L,28816)).then(_=>_.PageNetworkSupportModal),{loadableGenerated:{webpack:()=>[28816]},ssr:!1}),eg=em()(()=>L.e(9222).then(L.bind(L,49222)).then(_=>_.WrongNetworkModal),{loadableGenerated:{webpack:()=>[49222]},ssr:!1}),ev=em()(()=>L.e(4573).then(L.bind(L,14573)).then(_=>_.UnsupportedNetworkModal),{loadableGenerated:{webpack:()=>[14573]},ssr:!1}),NetworkModal=_=>{var C;let{pageSupportedChains:L=ep.Dm}=_,{chainId:ed,chain:ef,isWrongNetwork:em}=(0,es.Z)(),{chains:ex}=(0,ec.LN)(),[e_,ew]=(0,eh.KO)(eb),eC=(0,eu.useMemo)(()=>(null==L?void 0:L.length)===1&&L[0]===el.a_.MODE_MAINNET,[L]),eT=(0,eu.useMemo)(()=>!!L.length&&!L.includes(ed),[ed,L]);if((null==L?void 0:L.length)===0)return null;if(eT&&eC)return(0,Z.jsx)(ea.kw,{isOpen:!0,closeOnOverlayClick:!1,children:(0,Z.jsx)(ey,{})});if(em&&!e_&&!eT){let _=ex.find(_=>_.id===ed);return _?(0,Z.jsx)(ea.kw,{isOpen:em,closeOnOverlayClick:!0,onDismiss:()=>ew(!0),children:(0,Z.jsx)(eg,{currentChain:_,onDismiss:()=>ew(!0)})}):null}return null!==(C=null==ef?void 0:ef.unsupported)&&void 0!==C&&C||eT?(0,Z.jsx)(ea.kw,{isOpen:!0,closeOnOverlayClick:!1,children:(0,Z.jsx)(ev,{pageSupportedChains:(null==L?void 0:L.length)?L:eo.vo})}):null}},1909:function(_,C,L){"use strict";L.d(C,{Y:function(){return Toast_DescriptionWithTx}});var Z=L(97458),ea=L(23690),es=L(61723),eo=L(79428),el=L(11189),eu=L(82730),ec=L(82577),ed=L(2981),eh=L(5573),Toast_DescriptionWithTx=_=>{let{txHash:C,txChainId:L,children:ep}=_,{chainId:ef}=(0,eh.g)(),{t:em}=(0,ec.Z)();return(0,Z.jsxs)(Z.Fragment,{children:["string"==typeof ep?(0,Z.jsx)(ea.Z,{as:"p",children:ep}):ep,C&&(0,Z.jsxs)(es.Z,{external:!0,href:(0,eu.C)(C,"transaction",L||ef),children:[em("View on %site%",{site:(0,eu.X0)(L||ef)}),": ",(0,ed.Z)(C,8,0),(L||ef)===el.a_.MODE_MAINNET&&(0,Z.jsx)(eo.Z,{color:"primary",ml:"4px"})]})]})}},39549:function(_,C,L){"use strict";var Z=L(3705);C.Z=Z.c},40988:function(_,C,L){"use strict";L.d(C,{a:function(){return Z}});let Z=[{inputs:[{components:[{internalType:"address",name:"target",type:"address"},{internalType:"bytes",name:"callData",type:"bytes"}],internalType:"struct Multicall2.Call[]",name:"calls",type:"tuple[]"}],name:"aggregate",outputs:[{internalType:"uint256",name:"blockNumber",type:"uint256"},{internalType:"bytes[]",name:"returnData",type:"bytes[]"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"address",name:"target",type:"address"},{internalType:"bytes",name:"callData",type:"bytes"}],internalType:"struct Multicall2.Call[]",name:"calls",type:"tuple[]"}],name:"blockAndAggregate",outputs:[{internalType:"uint256",name:"blockNumber",type:"uint256"},{internalType:"bytes32",name:"blockHash",type:"bytes32"},{components:[{internalType:"bool",name:"success",type:"bool"},{internalType:"bytes",name:"returnData",type:"bytes"}],internalType:"struct Multicall2.Result[]",name:"returnData",type:"tuple[]"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"blockNumber",type:"uint256"}],name:"getBlockHash",outputs:[{internalType:"bytes32",name:"blockHash",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"getBlockNumber",outputs:[{internalType:"uint256",name:"blockNumber",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getCurrentBlockCoinbase",outputs:[{internalType:"address",name:"coinbase",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"getCurrentBlockDifficulty",outputs:[{internalType:"uint256",name:"difficulty",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getCurrentBlockGasLimit",outputs:[{internalType:"uint256",name:"gaslimit",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getCurrentBlockTimestamp",outputs:[{internalType:"uint256",name:"timestamp",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"addr",type:"address"}],name:"getEthBalance",outputs:[{internalType:"uint256",name:"balance",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getLastBlockHash",outputs:[{internalType:"bytes32",name:"blockHash",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bool",name:"requireSuccess",type:"bool"},{components:[{internalType:"address",name:"target",type:"address"},{internalType:"bytes",name:"callData",type:"bytes"}],internalType:"struct Multicall2.Call[]",name:"calls",type:"tuple[]"}],name:"tryAggregate",outputs:[{components:[{internalType:"bool",name:"success",type:"bool"},{internalType:"bytes",name:"returnData",type:"bytes"}],internalType:"struct Multicall2.Result[]",name:"returnData",type:"tuple[]"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bool",name:"requireSuccess",type:"bool"},{components:[{internalType:"address",name:"target",type:"address"},{internalType:"bytes",name:"callData",type:"bytes"}],internalType:"struct Multicall2.Call[]",name:"calls",type:"tuple[]"}],name:"tryBlockAndAggregate",outputs:[{internalType:"uint256",name:"blockNumber",type:"uint256"},{internalType:"bytes32",name:"blockHash",type:"bytes32"},{components:[{internalType:"bool",name:"success",type:"bool"},{internalType:"bytes",name:"returnData",type:"bytes"}],internalType:"struct Multicall2.Result[]",name:"returnData",type:"tuple[]"}],stateMutability:"view",type:"function"}]},41796:function(_,C,L){},68178:function(_,C,L){"use strict";L.d(C,{y:function(){return Z}});let Z=[{inputs:[],name:"FEE_DENOMINATOR",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"N_COINS",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"PRECISION",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_swap",type:"address"}],name:"PRECISION_MUL",outputs:[{internalType:"uint256[2]",name:"swapPRECISION_MUL",type:"uint256[2]"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_swap",type:"address"}],name:"RATES",outputs:[{internalType:"uint256[2]",name:"swapRATES",type:"uint256[2]"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_swap",type:"address"},{internalType:"uint256[2]",name:"_balances",type:"uint256[2]"}],name:"_xp_mem",outputs:[{internalType:"uint256[2]",name:"result",type:"uint256[2]"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_swap",type:"address"}],name:"balances",outputs:[{internalType:"uint256[2]",name:"swapBalances",type:"uint256[2]"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_swap",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"}],name:"calc_coins_amount",outputs:[{internalType:"uint256[2]",name:"",type:"uint256[2]"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_swap",type:"address"},{internalType:"uint256[2]",name:"_balances",type:"uint256[2]"},{internalType:"uint256",name:"amp",type:"uint256"}],name:"get_D_mem",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_swap",type:"address"},{internalType:"uint256[2]",name:"amounts",type:"uint256[2]"}],name:"get_add_liquidity_fee",outputs:[{internalType:"uint256[2]",name:"liquidityFee",type:"uint256[2]"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_swap",type:"address"},{internalType:"uint256[2]",name:"amounts",type:"uint256[2]"}],name:"get_add_liquidity_mint_amount",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_swap",type:"address"},{internalType:"uint256",name:"i",type:"uint256"},{internalType:"uint256",name:"j",type:"uint256"},{internalType:"uint256",name:"dx",type:"uint256"}],name:"get_exchange_fee",outputs:[{internalType:"uint256",name:"exFee",type:"uint256"},{internalType:"uint256",name:"exAdminFee",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_swap",type:"address"},{internalType:"uint256[2]",name:"amounts",type:"uint256[2]"}],name:"get_remove_liquidity_imbalance_fee",outputs:[{internalType:"uint256[2]",name:"liquidityFee",type:"uint256[2]"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_swap",type:"address"},{internalType:"uint256",name:"_token_amount",type:"uint256"},{internalType:"uint256",name:"i",type:"uint256"}],name:"get_remove_liquidity_one_coin_fee",outputs:[{internalType:"uint256",name:"adminFee",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_swap",type:"address"}],name:"token",outputs:[{internalType:"contract IERC20",name:"",type:"address"}],stateMutability:"view",type:"function"}]},22204:function(_,C,L){"use strict";L.d(C,{f:function(){return Z}});let Z=[{inputs:[{internalType:"address",name:"_cakeTokenAddress",type:"address"},{internalType:"address",name:"_randomGeneratorAddress",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"token",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"}],name:"AdminTokenRecovery",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"lotteryId",type:"uint256"},{indexed:!1,internalType:"uint256",name:"firstTicketIdNextLottery",type:"uint256"}],name:"LotteryClose",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"lotteryId",type:"uint256"},{indexed:!1,internalType:"uint256",name:"injectedAmount",type:"uint256"}],name:"LotteryInjection",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"lotteryId",type:"uint256"},{indexed:!1,internalType:"uint256",name:"finalNumber",type:"uint256"},{indexed:!1,internalType:"uint256",name:"countWinningTickets",type:"uint256"}],name:"LotteryNumberDrawn",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"lotteryId",type:"uint256"},{indexed:!1,internalType:"uint256",name:"startTime",type:"uint256"},{indexed:!1,internalType:"uint256",name:"endTime",type:"uint256"},{indexed:!1,internalType:"uint256",name:"priceTicketInCake",type:"uint256"},{indexed:!1,internalType:"uint256",name:"firstTicketId",type:"uint256"},{indexed:!1,internalType:"uint256",name:"injectedAmount",type:"uint256"}
131],name:"LotteryOpen",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"operator",type:"address"},{indexed:!1,internalType:"address",name:"treasury",type:"address"},{indexed:!1,internalType:"address",name:"injector",type:"address"}],name:"NewOperatorAndTreasuryAndInjectorAddresses",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"randomGenerator",type:"address"}],name:"NewRandomGenerator",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"claimer",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"},{indexed:!0,internalType:"uint256",name:"lotteryId",type:"uint256"},{indexed:!1,internalType:"uint256",name:"numberTickets",type:"uint256"}],name:"TicketsClaim",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"buyer",type:"address"},{indexed:!0,internalType:"uint256",name:"lotteryId",type:"uint256"},{indexed:!1,internalType:"uint256",name:"numberTickets",type:"uint256"}],name:"TicketsPurchase",type:"event"},{inputs:[],name:"MAX_LENGTH_LOTTERY",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"MAX_TREASURY_FEE",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"MIN_DISCOUNT_DIVISOR",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"MIN_LENGTH_LOTTERY",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_lotteryId",type:"uint256"},{internalType:"uint32[]",name:"_ticketNumbers",type:"uint32[]"}],name:"buyTickets",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"cakeToken",outputs:[{internalType:"contract IERC20",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_discountDivisor",type:"uint256"},{internalType:"uint256",name:"_priceTicket",type:"uint256"},{internalType:"uint256",name:"_numberTickets",type:"uint256"}],name:"calculateTotalPriceForBulkTickets",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"pure",type:"function"},{inputs:[{internalType:"address",name:"_randomGeneratorAddress",type:"address"}],name:"changeRandomGenerator",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_lotteryId",type:"uint256"},{internalType:"uint256[]",name:"_ticketIds",type:"uint256[]"},{internalType:"uint32[]",name:"_brackets",type:"uint32[]"}],name:"claimTickets",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_lotteryId",type:"uint256"}],name:"closeLottery",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"currentLotteryId",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"currentTicketId",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_lotteryId",type:"uint256"},{internalType:"bool",name:"_autoInjection",type:"bool"}],name:"drawFinalNumberAndMakeLotteryClaimable",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_lotteryId",type:"uint256"},{internalType:"uint256",name:"_amount",type:"uint256"}],name:"injectFunds",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"injectorAddress",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"maxNumberTicketsPerBuyOrClaim",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"maxPriceTicketInCake",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"minPriceTicketInCake",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"operatorAddress",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"pendingInjectionNextLottery",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"randomGenerator",outputs:[{internalType:"contract IRandomNumberGenerator",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_tokenAddress",type:"address"},{internalType:"uint256",name:"_tokenAmount",type:"uint256"}],name:"recoverWrongTokens",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_maxNumberTicketsPerBuy",type:"uint256"}],name:"setMaxNumberTicketsPerBuy",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_minPriceTicketInCake",type:"uint256"},{internalType:"uint256",name:"_maxPriceTicketInCake",type:"uint256"}],name:"setMinAndMaxTicketPriceInCake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_operatorAddress",type:"address"},{internalType:"address",name:"_treasuryAddress",type:"address"},{internalType:"address",name:"_injectorAddress",type:"address"}],name:"setOperatorAndTreasuryAndInjectorAddresses",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_endTime",type:"uint256"},{internalType:"uint256",name:"_priceTicketInCake",type:"uint256"},{internalType:"uint256",name:"_discountDivisor",type:"uint256"},{internalType:"uint256[6]",name:"_rewardsBreakdown",type:"uint256[6]"},{internalType:"uint256",name:"_treasuryFee",type:"uint256"}],name:"startLottery",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"treasuryAddress",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"viewCurrentLotteryId",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_lotteryId",type:"uint256"}],name:"viewLottery",outputs:[{components:[{internalType:"enum PancakeSwapLottery.Status",name:"status",type:"uint8"},{internalType:"uint256",name:"startTime",type:"uint256"},{internalType:"uint256",name:"endTime",type:"uint256"},{internalType:"uint256",name:"priceTicketInCake",type:"uint256"},{internalType:"uint256",name:"discountDivisor",type:"uint256"},{internalType:"uint256[6]",name:"rewardsBreakdown",type:"uint256[6]"},{internalType:"uint256",name:"treasuryFee",type:"uint256"},{internalType:"uint256[6]",name:"cakePerBracket",type:"uint256[6]"},{internalType:"uint256[6]",name:"countWinnersPerBracket",type:"uint256[6]"},{internalType:"uint256",name:"firstTicketId",type:"uint256"},{internalType:"uint256",name:"firstTicketIdNextLottery",type:"uint256"},{internalType:"uint256",name:"amountCollectedInCake",type:"uint256"},{internalType:"uint32",name:"finalNumber",type:"uint32"}],internalType:"struct PancakeSwapLottery.Lottery",name:"",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256[]",name:"_ticketIds",type:"uint256[]"}],name:"viewNumbersAndStatusesForTicketIds",outputs:[{internalType:"uint32[]",name:"",type:"uint32[]"},{internalType:"bool[]",name:"",type:"bool[]"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_lotteryId",type:"uint256"},{internalType:"uint256",name:"_ticketId",type:"uint256"},{internalType:"uint32",name:"_bracket",type:"uint32"}],name:"viewRewardsForTicketId",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"},{internalType:"uint256",name:"_lotteryId",type:"uint256"},{internalType:"uint256",name:"_cursor",type:"uint256"},{internalType:"uint256",name:"_size",type:"uint256"}],name:"viewUserInfoForLotteryId",outputs:[{internalType:"uint256[]",name:"",type:"uint256[]"},{internalType:"uint32[]",name:"",type:"uint32[]"},{internalType:"bool[]",name:"",type:"bool[]"},{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"}]},48797:function(_,C,L){"use strict";L.d(C,{i:function(){return Z}});let Z=[{inputs:[],payable:!1,stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"spender",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Approval",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"uint256",name:"amount0",type:"uint256"},{indexed:!1,internalType:"uint256",name:"amount1",type:"uint256"},{indexed:!0,internalType:"address",name:"to",type:"address"}],name:"Burn",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"uint256",name:"amount0",type:"uint256"},{indexed:!1,internalType:"uint256",name:"amount1",type:"uint256"}],name:"Mint",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"uint256",name:"amount0In",type:"uint256"},{indexed:!1,internalType:"uint256",name:"amount1In",type:"uint256"},{indexed:!1,internalType:"uint256",name:"amount0Out",type:"uint256"},{indexed:!1,internalType:"uint256",name:"amount1Out",type:"uint256"},{indexed:!0,internalType:"address",name:"to",type:"address"}],name:"Swap",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint112",name:"reserve0",type:"uint112"},{indexed:!1,internalType:"uint112",name:"reserve1",type:"uint112"}],name:"Sync",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"from",type:"address"},{indexed:!0,internalType:"address",name:"to",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Transfer",type:"event"},{constant:!0,inputs:[],name:"DOMAIN_SEPARATOR",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"MINIMUM_LIQUIDITY",outputs:[{internalType:"uint256",name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"PERMIT_TYPEHASH",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{internalType:"address",name:"",type:"address"},{internalType:"address",name:"",type:"address"}],name:"allowance",outputs:[{internalType:"uint256",name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"value",type:"uint256"}],name:"approve",outputs:[{internalType:"bool",name:"",type:"bool"}],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{internalType:"address",name:"",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{internalType:"address",name:"to",type:"address"}],name:"burn",outputs:[{internalType:"uint256",name:"amount0",type:"uint256"},{internalType:"uint256",name:"amount1",type:"uint256"}],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[],name:"decimals",outputs:[{internalType:"uint8",name:"",type:"uint8"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"factory",outputs:[{internalType:"address",name:"",type:"address"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"getReserves",outputs:[{internalType:"uint112",name:"_reserve0",type:"uint112"},{internalType:"uint112",name:"_reserve1",type:"uint112"},{internalType:"uint32",name:"_blockTimestampLast",type:"uint32"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{internalType:"address",name:"_token0",type:"address"},{internalType:"address",name:"_token1",type:"address"}],name:"initialize",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[],name:"kLast",outputs:[{internalType:"uint256",name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{internalType:"address",name:"to",type:"address"}],name:"mint",outputs:[{internalType:"uint256",name:"liquidity",type:"uint256"}],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[],name:"name",outputs:[{internalType:"string",name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{internalType:"address",name:"",type:"address"}],name:"nonces",outputs:[{internalType:"uint256",name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"value",type:"uint256"},{internalType:"uint256",name:"deadline",type:"uint256"},{internalType:"uint8",name:"v",type:"uint8"},{internalType:"bytes32",name:"r",type:"bytes32"},{internalType:"bytes32",name:"s",type:"bytes32"}],name:"permit",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[],name:"price0CumulativeLast",outputs:[{internalType:"uint256",name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"price1CumulativeLast",outputs:[{internalType:"uint256",name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{internalType:"address",name:"to",type:"address"}],name:"skim",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{internalType:"uint256",name:"amount0Out",type:"uint256"},{internalType:"uint256",name:"amount1Out",type:"uint256"},{internalType:"address",name:"to",type:"address"},{internalType:"bytes",name:"data",type:"bytes"}],name:"swap",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[],name:"symbol",outputs:[{internalType:"string",name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[],name:"sync",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[],name:"token0",outputs:[{internalType:"address",name:"",type:"address"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"token1",outputs:[{internalType:"address",name:"",type:"address"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"totalSupply",outputs:[{internalType:"uint256",name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"value",type:"uint256"}],name:"transfer",outputs:[{internalType:"bool",name:"",type:"bool"}],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{internalType:"address",name:"from",type:"address"},{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"value",type:"uint256"}],name:"transferFrom",outputs:[{internalType:"bool",name:"",type:"bool"}],payable:!1,stateMutability:"nonpayable",type:"function"}]},1383:function(_,C,L){"use strict";L.d(C,{H:function(){return Z}});let Z=[{inputs:[{internalType:"contract IMasterChef",name:"_MASTER_CHEF",type:"address"},{internalType:"contract IBEP20",name:"_CAKE",type:"address"},{internalType:"uint256",name:"_MASTER_PID",type:"uint256"},{internalType:"address",name:"_burnAdmin",type:
131"address"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"pid",type:"uint256"},{indexed:!1,internalType:"uint256",name:"allocPoint",type:"uint256"},{indexed:!0,internalType:"contract IBEP20",name:"lpToken",type:"address"},{indexed:!1,internalType:"bool",name:"isRegular",type:"bool"}],name:"AddPool",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"user",type:"address"},{indexed:!0,internalType:"uint256",name:"pid",type:"uint256"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"}],name:"Deposit",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"user",type:"address"},{indexed:!0,internalType:"uint256",name:"pid",type:"uint256"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"}],name:"EmergencyWithdraw",type:"event"},{anonymous:!1,inputs:[],name:"Init",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"pid",type:"uint256"},{indexed:!1,internalType:"uint256",name:"allocPoint",type:"uint256"}],name:"SetPool",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"boostContract",type:"address"}],name:"UpdateBoostContract",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"user",type:"address"},{indexed:!1,internalType:"uint256",name:"pid",type:"uint256"},{indexed:!1,internalType:"uint256",name:"oldMultiplier",type:"uint256"},{indexed:!1,internalType:"uint256",name:"newMultiplier",type:"uint256"}],name:"UpdateBoostMultiplier",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"oldAdmin",type:"address"},{indexed:!0,internalType:"address",name:"newAdmin",type:"address"}],name:"UpdateBurnAdmin",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"burnRate",type:"uint256"},{indexed:!1,internalType:"uint256",name:"regularFarmRate",type:"uint256"},{indexed:!1,internalType:"uint256",name:"specialFarmRate",type:"uint256"}],name:"UpdateCakeRate",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"pid",type:"uint256"},{indexed:!1,internalType:"uint256",name:"lastRewardBlock",type:"uint256"},{indexed:!1,internalType:"uint256",name:"lpSupply",type:"uint256"},{indexed:!1,internalType:"uint256",name:"accCakePerShare",type:"uint256"}],name:"UpdatePool",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"user",type:"address"},{indexed:!1,internalType:"bool",name:"isValid",type:"bool"}],name:"UpdateWhiteList",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"user",type:"address"},{indexed:!0,internalType:"uint256",name:"pid",type:"uint256"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"}],name:"Withdraw",type:"event"},{inputs:[],name:"ACC_CAKE_PRECISION",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"BOOST_PRECISION",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"CAKE",outputs:[{internalType:"contract IBEP20",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"CAKE_RATE_TOTAL_PRECISION",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"MASTERCHEF_CAKE_PER_BLOCK",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"MASTER_CHEF",outputs:[{internalType:"contract IMasterChef",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"MASTER_PID",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"MAX_BOOST_PRECISION",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_allocPoint",type:"uint256"},{internalType:"contract IBEP20",name:"_lpToken",type:"address"},{internalType:"bool",name:"_isRegular",type:"bool"},{internalType:"bool",name:"_withUpdate",type:"bool"}],name:"add",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"boostContract",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"burnAdmin",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bool",name:"_withUpdate",type:"bool"}],name:"burnCake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bool",name:"_isRegular",type:"bool"}],name:"cakePerBlock",outputs:[{internalType:"uint256",name:"amount",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"cakePerBlockToBurn",outputs:[{internalType:"uint256",name:"amount",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"cakeRateToBurn",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"cakeRateToRegularFarm",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"cakeRateToSpecialFarm",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_pid",type:"uint256"},{internalType:"uint256",name:"_amount",type:"uint256"}],name:"deposit",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_pid",type:"uint256"}],name:"emergencyWithdraw",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"},{internalType:"uint256",name:"_pid",type:"uint256"}],name:"getBoostMultiplier",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"harvestFromMasterChef",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"contract IBEP20",name:"dummyToken",type:"address"}],name:"init",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"lastBurnedBlock",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"",type:"uint256"}],name:"lpToken",outputs:[{internalType:"contract IBEP20",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"massUpdatePools",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_pid",type:"uint256"},{internalType:"address",name:"_user",type:"address"}],name:"pendingCake",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"",type:"uint256"}],name:"poolInfo",outputs:[{internalType:"uint256",name:"accCakePerShare",type:"uint256"},{internalType:"uint256",name:"lastRewardBlock",type:"uint256"},{internalType:"uint256",name:"allocPoint",type:"uint256"},{internalType:"uint256",name:"totalBoostedShare",type:"uint256"},{internalType:"bool",name:"isRegular",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"poolLength",outputs:[{internalType:"uint256",name:"pools",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_pid",type:"uint256"},{internalType:"uint256",name:"_allocPoint",type:"uint256"},{internalType:"bool",name:"_withUpdate",type:"bool"}],name:"set",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"totalRegularAllocPoint",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalSpecialAllocPoint",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_newBoostContract",type:"address"}],name:"updateBoostContract",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"},{internalType:"uint256",name:"_pid",type:"uint256"},{internalType:"uint256",name:"_newMultiplier",type:"uint256"}],name:"updateBoostMultiplier",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_newAdmin",type:"address"}],name:"updateBurnAdmin",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_burnRate",type:"uint256"},{internalType:"uint256",name:"_regularFarmRate",type:"uint256"},{internalType:"uint256",name:"_specialFarmRate",type:"uint256"},{internalType:"bool",name:"_withUpdate",type:"bool"}],name:"updateCakeRate",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_pid",type:"uint256"}],name:"updatePool",outputs:[{components:[{internalType:"uint256",name:"accCakePerShare",type:"uint256"},{internalType:"uint256",name:"lastRewardBlock",type:"uint256"},{internalType:"uint256",name:"allocPoint",type:"uint256"},{internalType:"uint256",name:"totalBoostedShare",type:"uint256"},{internalType:"bool",name:"isRegular",type:"bool"}],internalType:"struct MasterChefV2.PoolInfo",name:"pool",type:"tuple"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"},{internalType:"bool",name:"_isValid",type:"bool"}],name:"updateWhiteList",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"",type:"uint256"},{internalType:"address",name:"",type:"address"}],name:"userInfo",outputs:[{internalType:"uint256",name:"amount",type:"uint256"},{internalType:"uint256",name:"rewardDebt",type:"uint256"},{internalType:"uint256",name:"boostMultiplier",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"whiteList",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_pid",type:"uint256"},{internalType:"uint256",name:"_amount",type:"uint256"}],name:"withdraw",outputs:[],stateMutability:"nonpayable",type:"function"}]},36280:function(_,C,L){},92670:function(_,C,L){"use strict";L.d(C,{a:function(){return Z}});let Z=[{inputs:[{internalType:"contract IBEP20",name:"_cakeToken",type:"address"},{internalType:"uint256",name:"_numberCakeToReactivate",type:"uint256"},{internalType:"uint256",name:"_numberCakeToRegister",type:"uint256"},{internalType:"uint256",name:"_numberCakeToUpdate",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"role",type:"bytes32"},{indexed:!0,internalType:"bytes32",name:"previousAdminRole",type:"bytes32"},{indexed:!0,internalType:"bytes32",name:"newAdminRole",type:"bytes32"}],name:"RoleAdminChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"role",type:"bytes32"},{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!0,internalType:"address",name:"sender",type:"address"}],name:"RoleGranted",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"role",type:"bytes32"},{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!0,internalType:"address",name:"sender",type:"address"}],name:"RoleRevoked",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"teamId",type:"uint256"},{indexed:!1,internalType:"string",name:"teamName",type:"string"}],name:"TeamAdd",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"teamId",type:"uint256"},{indexed:!1,internalType:"uint256",name:"numberPoints",type:"uint256"},{indexed:!0,internalType:"uint256",name:"campaignId",type:"uint256"}],name:"TeamPointIncrease",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"userAddress",type:"address"},{indexed:!1,internalType:"uint256",name:"oldTeamId",type:"uint256"},{indexed:!1,internalType:"uint256",name:"newTeamId",type:"uint256"}],name:"UserChangeTeam",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"userAddress",type:"address"},{indexed:!1,internalType:"uint256",name:"teamId",type:"uint256"},{indexed:!1,internalType:"address",name:"nftAddress",type:"address"},{indexed:!1,internalType:"uint256",name:"tokenId",type:"uint256"}],name:"UserNew",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"userAddress",type:"address"},{indexed:!1,internalType:"uint256",name:"teamId",type:"uint256"}],name:"UserPause",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"userAddress",type:"address"},{indexed:!1,internalType:"uint256",name:"numberPoints",type:"uint256"},{indexed:!0,internalType:"uint256",name:"campaignId",type:"uint256"}],name:"UserPointIncrease",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address[]",name:"userAddresses",type:"address[]"},{indexed:!1,internalType:"uint256",name:"numberPoints",type:"uint256"},{indexed:!0,internalType:"uint256",name:"campaignId",type:"uint256"}],name:"UserPointIncreaseMultiple",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"userAddress",type:"address"},{indexed:!1,internalType:"uint256",name:"teamId",type:"uint256"},{indexed:!1,internalType:"address",name:"nftAddress",type:"address"},{indexed:!1,internalType:"uint256",name:"tokenId",type:"uint256"}],name:"UserReactivate",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"userAddress",type:"address"},{indexed:!1,internalType:"address",name:"nftAddress",type:"address"},{indexed:!1,internalType:"uint256",name:"tokenId",type:"uint256"}],name:"UserUpdate",type:"event"},{inputs:[],name:"DEFAULT_ADMIN_ROLE",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"NFT_ROLE",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"POINT_ROLE",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"SPECIAL_ROLE",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_nftAddress",type:"address"}],name:"addNftAddress",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_teamName",type:"string"},{internalType:"string",name:"_teamDescription",type:"string"}],name:"addTeam",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"cakeToken",outputs:[{internalType:"contract IBEP20",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_userAddress",type:"address"},{internalType:"uint256",name:"_newTeamId",type:"uint256"}],name:"changeTeam",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_amount",type:"uint256"}],name:"claimFee",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_teamId",type:"uint256"},{internalType:"address",name:"_nftAddress",type:"address"},{internalType:"uint256",name:"_tokenId",type:"uint256"}],name:"createProfile",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"}],name:"getRoleAdmin",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"},{internalType:"uint256",name:"index",type:"uint256"}],name:"getRoleMember",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"}],name:"getRoleM
131emberCount",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_teamId",type:"uint256"}],name:"getTeamProfile",outputs:[{internalType:"string",name:"",type:"string"},{internalType:"string",name:"",type:"string"},{internalType:"uint256",name:"",type:"uint256"},{internalType:"uint256",name:"",type:"uint256"},{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_userAddress",type:"address"}],name:"getUserProfile",outputs:[{internalType:"uint256",name:"",type:"uint256"},{internalType:"uint256",name:"",type:"uint256"},{internalType:"uint256",name:"",type:"uint256"},{internalType:"address",name:"",type:"address"},{internalType:"uint256",name:"",type:"uint256"},{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"},{internalType:"address",name:"account",type:"address"}],name:"grantRole",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"hasRegistered",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"},{internalType:"address",name:"account",type:"address"}],name:"hasRole",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_teamId",type:"uint256"},{internalType:"uint256",name:"_numberPoints",type:"uint256"},{internalType:"uint256",name:"_campaignId",type:"uint256"}],name:"increaseTeamPoints",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_userAddress",type:"address"},{internalType:"uint256",name:"_numberPoints",type:"uint256"},{internalType:"uint256",name:"_campaignId",type:"uint256"}],name:"increaseUserPoints",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address[]",name:"_userAddresses",type:"address[]"},{internalType:"uint256",name:"_numberPoints",type:"uint256"},{internalType:"uint256",name:"_campaignId",type:"uint256"}],name:"increaseUserPointsMultiple",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_teamId",type:"uint256"}],name:"makeTeamJoinable",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_teamId",type:"uint256"}],name:"makeTeamNotJoinable",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"numberActiveProfiles",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"numberCakeToReactivate",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"numberCakeToRegister",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"numberCakeToUpdate",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"numberTeams",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"},{internalType:"address",name:"",type:"address"},{internalType:"uint256",name:"",type:"uint256"},{internalType:"bytes",name:"",type:"bytes"}],name:"onERC721Received",outputs:[{internalType:"bytes4",name:"",type:"bytes4"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"pauseProfile",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_nftAddress",type:"address"},{internalType:"uint256",name:"_tokenId",type:"uint256"}],name:"reactivateProfile",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_teamId",type:"uint256"},{internalType:"uint256",name:"_numberPoints",type:"uint256"}],name:"removeTeamPoints",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_userAddress",type:"address"},{internalType:"uint256",name:"_numberPoints",type:"uint256"}],name:"removeUserPoints",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address[]",name:"_userAddresses",type:"address[]"},{internalType:"uint256",name:"_numberPoints",type:"uint256"}],name:"removeUserPointsMultiple",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_teamId",type:"uint256"},{internalType:"string",name:"_teamName",type:"string"},{internalType:"string",name:"_teamDescription",type:"string"}],name:"renameTeam",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"},{internalType:"address",name:"account",type:"address"}],name:"renounceRole",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"},{internalType:"address",name:"account",type:"address"}],name:"revokeRole",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_newNumberCakeToReactivate",type:"uint256"},{internalType:"uint256",name:"_newNumberCakeToRegister",type:"uint256"},{internalType:"uint256",name:"_newNumberCakeToUpdate",type:"uint256"}],name:"updateNumberCake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_nftAddress",type:"address"},{internalType:"uint256",name:"_tokenId",type:"uint256"}],name:"updateProfile",outputs:[],stateMutability:"nonpayable",type:"function"}]},86930:function(_,C,L){},67922:function(_,C,L){"use strict";L.d(C,{c:function(){return Z}});let Z=[{inputs:[{internalType:"contract IERC20",name:"_cake",type:"address"},{internalType:"contract ICakePool",name:"_cakePool",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"vault",type:"address"},{indexed:!1,internalType:"uint256",name:"totalPrize",type:"uint256"},{indexed:!1,internalType:"address",name:"admin",type:"address"}],name:"CancelPottery",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"winner",type:"address"},{indexed:!1,internalType:"uint256",name:"prize",type:"uint256"},{indexed:!1,internalType:"uint256",name:"fee",type:"uint256"},{indexed:!1,internalType:"uint256",name:"winCount",type:"uint256"}],name:"ClaimReward",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"drawId",type:"uint256"},{indexed:!0,internalType:"address",name:"vault",type:"address"},{indexed:!0,internalType:"uint256",name:"requestId",type:"uint256"},{indexed:!1,internalType:"address[]",name:"winners",type:"address[]"},{indexed:!1,internalType:"uint256",name:"timestamp",type:"uint256"},{indexed:!1,internalType:"address",name:"admin",type:"address"}],name:"CloseDraw",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"vault",type:"address"},{indexed:!1,internalType:"uint256",name:"totalPrize",type:"uint256"},{indexed:!1,internalType:"uint256",name:"lockTime",type:"uint256"},{indexed:!1,internalType:"uint256",name:"drawTime",type:"uint256"},{indexed:!1,internalType:"uint256",name:"maxTotalDeposit",type:"uint256"},{indexed:!1,internalType:"address",name:"admin",type:"address"}],name:"CreatePottery",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"admin",type:"address"}],name:"Init",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"vault",type:"address"},{indexed:!1,internalType:"uint256",name:"actualPrize",type:"uint256"},{indexed:!1,internalType:"uint256",name:"redeemPrize",type:"uint256"}],name:"RedeemPrize",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"admin",type:"address"},{indexed:!1,internalType:"uint16",name:"fee",type:"uint16"}],name:"SetClaimFee",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"admin",type:"address"},{indexed:!1,internalType:"address",name:"keeper",type:"address"}],name:"SetKeeper",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"admin",type:"address"},{indexed:!1,internalType:"address",name:"treasury",type:"address"}],name:"SetTreasury",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"admin",type:"address"},{indexed:!1,internalType:"address",name:"vaultFactory",type:"address"}],name:"SetVaultFactory",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"drawId",type:"uint256"},{indexed:!0,internalType:"address",name:"vault",type:"address"},{indexed:!0,internalType:"uint256",name:"requestId",type:"uint256"},{indexed:!1,internalType:"uint256",name:"totalPrize",type:"uint256"},{indexed:!1,internalType:"uint256",name:"timestamp",type:"uint256"},{indexed:!1,internalType:"address",name:"admin",type:"address"}],name:"StartDraw",type:"event"},{inputs:[{internalType:"address",name:"_vault",type:"address"}],name:"cancelPottery",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"claimFee",outputs:[{internalType:"uint16",name:"",type:"uint16"}],stateMutability:"view",type:"function"},{inputs:[],name:"claimReward",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_drawId",type:"uint256"}],name:"closeDraw",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_vault",type:"address"}],name:"forceRequestDraw",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_totalPrize",type:"uint256"},{internalType:"uint256",name:"_lockTime",type:"uint256"},{internalType:"uint256",name:"_drawTime",type:"uint256"},{internalType:"uint256",name:"_maxTotalDeposit",type:"uint256"}],name:"generatePottery",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_drawId",type:"uint256"}],name:"getDraw",outputs:[{components:[{internalType:"uint256",name:"requestId",type:"uint256"},{internalType:"contract IPancakeSwapPotteryVault",name:"vault",type:"address"},{internalType:"uint256",name:"startDrawTime",type:"uint256"},{internalType:"uint256",name:"closeDrawTime",type:"uint256"},{internalType:"address[]",name:"winners",type:"address[]"},{internalType:"uint256",name:"prize",type:"uint256"}],internalType:"struct Pottery.Draw",name:"",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNumOfDraw",outputs:[{internalType:"uint8",name:"",type:"uint8"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNumOfWinner",outputs:[{internalType:"uint8",name:"",type:"uint8"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_vault",type:"address"}],name:"getPot",outputs:[{components:[{internalType:"uint256",name:"numOfDraw",type:"uint256"},{internalType:"uint256",name:"totalPrize",type:"uint256"},{internalType:"uint256",name:"drawTime",type:"uint256"},{internalType:"uint256",name:"lastDrawId",type:"uint256"},{internalType:"bool",name:"startDraw",type:"bool"}],internalType:"struct Pottery.Pot",name:"",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[],name:"getPotteryPeriod",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTreasury",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_drawId",type:"uint256"}],name:"getWinners",outputs:[{internalType:"address[]",name:"",type:"address[]"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_rng",type:"address"},{internalType:"address",name:"_vaultFactory",type:"address"},{internalType:"address",name:"_keeper",type:"address"},{internalType:"address",name:"_treasury",type:"address"}],name:"init",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"redeemPrizeByRatio",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_drawId",type:"uint256"}],name:"rngFulfillRandomWords",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint16",name:"_fee",type:"uint16"}],name:"setClaimFee",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_keeper",type:"address"}],name:"setKeeper",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_treasury",type:"address"}],name:"setTreasury",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_factory",type:"address"}],name:"setVaultFactory",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_vault",type:"address"}],name:"startDraw",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_vault",type:"address"}],name:"timeToDraw",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"userInfos",outputs:[{internalType:"uint256",name:"reward",type:"uint256"},{internalType:"uint256",name:"winCount",type:"uint256"}],stateMutability:"view",type:"function"}]},42338:function(_,C,L){"use strict";L.d(C,{j:function(){return Z}});let Z=[{inputs:[{internalType:"contract IERC20",name:"_cake",type:"address"},{internalType:"contract ICakePool",name:"_cakePool",type:"address"},{internalType:"contract IPancakeSwapPotteryDraw",name:"_potteryDraw",type:"address"},{internalType:"address",name:"_admin",type:"address"},{internalType:"address",name:"_keeper",type:"address"},{internalType:"uint256",name:"_lockTime",type:"uint256"},{internalType:"uint256",name:"_maxTotalDeposit",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"spender",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Approval",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"caller",type:"address"},{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!1,internalType:"uint256",name:"assets",type:"uint256"},{indexed:!1,internalType:"uint256",name:"shares",type:"uint256"}],name:"Deposit",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"admin",type:"address"},{indexed:!0,internalType:"uint256",name:"startTime",type:"uint256"},{indexed:!1,internalType:"uint256",name:"lockAmount",type:"uint256"}],name:"Lock",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"admin",type:"address"},{indexed:!1,internalType:"uint16",name:"burnPercentage",type:"uint16"}],name:"SetBurnPercentage",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"admin",type:"address"},{indexed:!1,internalType:"address",name:"keeper",type:"address"}],name:"SetKeeper",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"from",type:"address"},{indexed:!0,internalType:"address",name:"to",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Transfer",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"admin",type:"address"},{indexed:!0,internalType:"uint256",name:"endTime",type:"uint256"},{i
131ndexed:!1,internalType:"uint256",name:"earnAmount",type:"uint256"},{indexed:!1,internalType:"uint256",name:"burnAmount",type:"uint256"},{indexed:!1,internalType:"uint256",name:"apyAmount",type:"uint256"}],name:"Unlock",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"caller",type:"address"},{indexed:!0,internalType:"address",name:"receiver",type:"address"},{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!1,internalType:"uint256",name:"assets",type:"uint256"},{indexed:!1,internalType:"uint256",name:"shares",type:"uint256"}],name:"Withdraw",type:"event"},{inputs:[],name:"LOCK_PERIOD",outputs:[{internalType:"uint32",name:"",type:"uint32"}],stateMutability:"view",type:"function"},{inputs:[],name:"MIN_LOCK_AMOUNT",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"spender",type:"address"}],name:"allowance",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"approve",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"asset",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"burnPercentage",outputs:[{internalType:"uint16",name:"",type:"uint16"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_shares",type:"uint256"}],name:"convertToAssets",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_assets",type:"uint256"}],name:"convertToShares",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"decimals",outputs:[{internalType:"uint8",name:"",type:"uint8"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"subtractedValue",type:"uint256"}],name:"decreaseAllowance",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_assets",type:"uint256"},{internalType:"address",name:"_receiver",type:"address"}],name:"deposit",outputs:[{internalType:"uint256",name:"shares",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256[]",name:"_nums",type:"uint256[]"}],name:"draw",outputs:[{internalType:"address[]",name:"users",type:"address[]"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"}],name:"generateUserId",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"pure",type:"function"},{inputs:[],name:"getLockTime",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getMaxTotalDeposit",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"}],name:"getNumberOfTickets",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getStatus",outputs:[{internalType:"enum Vault.Status",name:"",type:"uint8"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"addedValue",type:"uint256"}],name:"increaseAllowance",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"lockCake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"lockEndTime",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"lockStartTime",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"maxDeposit",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"maxMint",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"pure",type:"function"},{inputs:[{internalType:"address",name:"_owner",type:"address"}],name:"maxRedeem",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_owner",type:"address"}],name:"maxWithdraw",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_shares",type:"uint256"},{internalType:"address",name:"_receiver",type:"address"}],name:"mint",outputs:[{internalType:"uint256",name:"assets",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"name",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"passLockTime",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_assets",type:"uint256"}],name:"previewDeposit",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_shares",type:"uint256"}],name:"previewMint",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_shares",type:"uint256"}],name:"previewRedeem",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_assets",type:"uint256"}],name:"previewWithdraw",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_shares",type:"uint256"},{internalType:"address",name:"_receiver",type:"address"},{internalType:"address",name:"_owner",type:"address"}],name:"redeem",outputs:[{internalType:"uint256",name:"assets",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint16",name:"_burnPercentage",type:"uint16"}],name:"setBurnPercentage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_keeper",type:"address"}],name:"setKeeper",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"symbol",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalAssets",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalLockCake",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalSupply",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"recipient",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"transfer",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"sender",type:"address"},{internalType:"address",name:"recipient",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"transferFrom",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"unlockCake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_assets",type:"uint256"},{internalType:"address",name:"_receiver",type:"address"},{internalType:"address",name:"_owner",type:"address"}],name:"withdraw",outputs:[{internalType:"uint256",name:"shares",type:"uint256"}],stateMutability:"nonpayable",type:"function"}]},23357:function(_,C,L){"use strict";L.d(C,{n:function(){return Z}});let Z=[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_timestamp",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_tokens",type:"uint256"}],name:"LogCheckpointToken",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_recipient",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_claimEpoch",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_maxEpoch",type:"uint256"}],name:"LogClaimed",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"}],name:"LogFeed",type:"event"},{anonymous:!1,inputs:[],name:"LogKilled",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"bool",name:"_toggleFlag",type:"bool"}],name:"LogSetCanCheckpointToken",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_caller",type:"address"},{indexed:!0,internalType:"address",name:"_address",type:"address"},{indexed:!1,internalType:"bool",name:"_ok",type:"bool"}],name:"LogSetWhitelistedCheckpointCallers",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{inputs:[],name:"TOKEN_CHECKPOINT_DEADLINE",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"VCake",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"WEEK",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"},{internalType:"uint256",name:"_timestamp",type:"uint256"}],name:"balanceOfAt",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"canCheckpointToken",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"checkpointToken",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"checkpointTotalSupply",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"}],name:"claim",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address[]",name:"_users",type:"address[]"}],name:"claimMany",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"emergencyReturn",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_amount",type:"uint256"}],name:"feed",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_timestamp",type:"uint256"},{internalType:"uint256",name:"_amount",type:"uint256"}],name:"injectReward",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"isKilled",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"kill",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"lastTokenBalance",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"lastTokenTimestamp",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"rewardToken",outputs:[{internalType:"contract IERC20",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bool",name:"_newCanCheckpointToken",type:"bool"}],name:"setCanCheckpointToken",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address[]",name:"_callers",type:"address[]"},{internalType:"bool",name:"_ok",type:"bool"}],name:"setWhitelistedCheckpointCallers",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"startWeekCursor",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"",type:"uint256"}],name:"tokensPerWeek",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"",type:"uint256"}],name:"totalSupplyAt",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"userEpochOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"weekCursor",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"weekCursorOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"whitelistedCheckpointCallers",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"}]},7048:function(_,C,L){"use strict";L.d(C,{LQ:function(){return eu},MS:function(){return eo},Ny:function(){return ec},zG:function(){return ed}});var Z=L(11189),ea=L(67997),es=L.n(ea);let eo=Z.AZ,el=Object.entries(eo).reduce((_,C)=>{let[L,Z]=C;return{[Z.toLowerCase()]:L,..._}},{}),eu=es()(_=>{if(_)return el[_.toLowerCase()]?+el[_.toLowerCase()]:void 0}),ec=[Z.a_.MODE_MAINNET,Z.a_.MODE_TESTNET],ed=[{id:34443,name:"Mode Mainnet",network:"mode",nativeCurrency:{name:"Ether",symbol
131:"ETH",decimals:18},rpcUrls:{default:{http:["https://mainnet.mode.network"]},public:{http:["https://mainnet.mode.network"]}},blockExplorers:{etherscan:{name:"Mode Explorer",url:"https://explorer.mode.network"},default:{name:"Mode Explorer",url:"https://explorer.mode.network"}},contracts:{multicall3:{address:"0x17cd82fc4E76Cb09C66B8098dA182Eaa78BCB3de",blockCreated:7654707}}},{id:919,name:"Mode Testnet",network:"mode",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://sepolia.mode.network"]},public:{http:["https://sepolia.mode.network/"]}},blockExplorers:{etherscan:{name:"Mode Explorer",url:"https://sepolia.explorer.mode.network/"},default:{name:"Mode Explorer",url:"https://sepolia.explorer.mode.network/"}},contracts:{multicall3:{address:"0x17cd82fc4E76Cb09C66B8098dA182Eaa78BCB3de",blockCreated:7654707}}}]},71531:function(_,C,L){"use strict";var Z=L(11189),ea=L(74314),es=L(14146),eo=L(35441),el=L(53337),eu=L(32088),ec=L(17577);C.Z={masterChef:{[Z.a_.MODE_TESTNET]:"0xB4A466911556e39210a6bB2FaECBB59E4eB7E43d",[Z.a_.MODE_MAINNET]:"0xa5f8C5Dbd5F286960b9d90548680aE5ebFf07652"},masterChefV3:ea.wc,masterChefV1:{[Z.a_.MODE_TESTNET]:"0x1d32c2945C8FDCBc7156c553B7cEa4325a17f4f9",[Z.a_.MODE_MAINNET]:"0x73feaa1eE314F8c655E354234017bE2193C9E24E"},sousChef:{[Z.a_.MODE_TESTNET]:"0xD3af5Fe61DBaF8f73149bfcFa9FB653ff096029A",[Z.a_.MODE_MAINNET]:"0x6Ab8463a4185b80905E05A9ff80A2d6b714B9e95"},lotteryV2:{[Z.a_.MODE_TESTNET]:"0x5790c3534F30437641541a0FA04C992799602998",[Z.a_.MODE_MAINNET]:"0x5aF6D33DE2ccEC94efb1bDF8f92Bd58085432d2c"},multiCall:{[Z.a_.MODE_MAINNET]:"0xcA11bde05977b3631167028862bE2a173976CA11",[Z.a_.MODE_TESTNET]:"0x17cd82fc4E76Cb09C66B8098dA182Eaa78BCB3de"},pancakeProfile:{[Z.a_.MODE_MAINNET]:"0xDf4dBf6536201370F95e06A0F8a7a70fE40E388a",[Z.a_.MODE_TESTNET]:"0x4B683C7E13B6d5D7fd1FeA9530F451954c1A7c8A"},pancakeBunnies:{[Z.a_.MODE_MAINNET]:"0xDf7952B35f24aCF7fC0487D01c8d5690a60DBa07",[Z.a_.MODE_TESTNET]:"0x60935F36e4631F73f0f407e68642144e07aC7f5E"},bunnyFactory:{[Z.a_.MODE_MAINNET]:"0xfa249Caa1D16f75fa159F7DFBAc0cC5EaB48CeFf",[Z.a_.MODE_TESTNET]:"0x707CBF373175fdB601D34eeBF2Cf665d08f01148"},claimRefund:{[Z.a_.MODE_MAINNET]:"0xE7e53A7e9E3Cf6b840f167eF69519175c497e149",[Z.a_.MODE_TESTNET]:"0x"},pointCenterIfo:{[Z.a_.MODE_MAINNET]:"0x3C6919b132462C1FEc572c6300E83191f4F0012a",[Z.a_.MODE_TESTNET]:"0xd2Ac1B1728Bb1C11ae02AB6e75B76Ae41A2997e3"},bunnySpecial:{[Z.a_.MODE_MAINNET]:"0xFee8A195570a18461146F401d6033f5ab3380849",[Z.a_.MODE_TESTNET]:"0x7b7b1583De1DeB32Ce6605F6deEbF24A0671c17C"},tradingCompetitionEaster:{[Z.a_.MODE_MAINNET]:"0xd718baa0B1F4f70dcC8458154042120FFE0DEFFA",[Z.a_.MODE_TESTNET]:"0xC787F45B833721ED3aC46E99b703B3E1E01abb97"},tradingCompetitionFanToken:{[Z.a_.MODE_MAINNET]:"0xA8FECf847e28aa1Df39E995a45b7FCfb91b676d4",[Z.a_.MODE_TESTNET]:"0x"},tradingCompetitionMobox:{[Z.a_.MODE_MAINNET]:"0x1C5161CdB145dE35a8961F82b065fd1F75C3BaDf",[Z.a_.MODE_TESTNET]:"0x"},tradingCompetitionMoD:{[Z.a_.MODE_MAINNET]:"0xbDd9a61c67ee16c10f5E37b1D0c907a9EC959f33",[Z.a_.MODE_TESTNET]:"0x"},easterNft:{[Z.a_.MODE_MAINNET]:"0x23c41D28A239dDCAABd1bb1deF8d057189510066",[Z.a_.MODE_TESTNET]:"0x24ec6962dbe874F6B67B5C50857565667fA0854F"},cakeVault:el.sd,cakeFlexibleSideVault:{[Z.a_.MODE_MAINNET]:"0x615e896A8C2CA8470A2e9dc2E9552998f8658Ea0",[Z.a_.MODE_TESTNET]:"0x1088Fb24053F03802F673b84d16AE1A7023E400b"},predictionsBNB:{[Z.a_.MODE_MAINNET]:"0x18B2A687610328590Bc8F2e5fEdDe3b582A49cdA",[Z.a_.MODE_TESTNET]:"0x"},predictionsANDX:{[Z.a_.MODE_MAINNET]:"0x0E3A8078EDD2021dadcdE733C6b4a86E51EE8f07",[Z.a_.MODE_TESTNET]:"0x"},chainlinkOracleBNB:{[Z.a_.MODE_MAINNET]:"0x0567F2323251f0Aab15c8dFb1967E4e8A7D42aeE",[Z.a_.MODE_TESTNET]:"0x"},chainlinkOracleANDX:{[Z.a_.MODE_MAINNET]:"0x",[Z.a_.MODE_TESTNET]:"0x"},predictionsV1:{[Z.a_.MODE_MAINNET]:"0x516ffd7D1e0Ca40b1879935B2De87cb20Fc1124b",[Z.a_.MODE_TESTNET]:"0x"},bunnySpecialCakeVault:{[Z.a_.MODE_MAINNET]:"0x5B4a770Abe7Eafb2601CA4dF9d73EA99363E60a4",[Z.a_.MODE_TESTNET]:"0x"},bunnySpecialPrediction:{[Z.a_.MODE_MAINNET]:"0x342c99e9aC24157657095eC69CB04b73257e7A9C",[Z.a_.MODE_TESTNET]:"0x"},bunnySpecialLottery:{[Z.a_.MODE_MAINNET]:"0x24ED31d31C5868e5a96aA77fdcB890f3511fa0b2",[Z.a_.MODE_TESTNET]:"0x382cB497110F398F0f152cae82821476AE51c9cF"},bunnySpecialXmas:{[Z.a_.MODE_MAINNET]:"0x59EdDF3c21509dA3b0aCCd7c5ccc596d930f4783",[Z.a_.MODE_TESTNET]:"0x"},farmAuction:{[Z.a_.MODE_MAINNET]:"0xb92Ab7c1edcb273AbA24b0656cEb3681654805D2",[Z.a_.MODE_TESTNET]:"0x3F9602593b4f7C67ab045DB51BbDEa94E40fA9Fe"},nftMarket:{[Z.a_.MODE_MAINNET]:"0x17539cCa21C7933Df5c980172d22659B8C345C
1315A",[Z.a_.MODE_TESTNET]:"0x7F9F37Ddcaa33893F9bEB3D8748c8D6BfbDE6AB2"},nftSale:{[Z.a_.MODE_MAINNET]:"0x29fE7148636b7Ae0b1E53777b28dfbaA9327af8E",[Z.a_.MODE_TESTNET]:"0xe486De509c5381cbdBF3e71F57D7F1f7570f5c46"},pancakeSquad:{[Z.a_.MODE_MAINNET]:"0x0a8901b0E25DEb55A87524f0cC164E9644020EBA",[Z.a_.MODE_TESTNET]:"0xfC0c3F11fDA72Cb9A56F28Ec8D44C0ae4B3ABF86"},potteryDraw:{[Z.a_.MODE_MAINNET]:"0x01871991587d5671f3A2d4E2BcDC22F4E026396e",[Z.a_.MODE_TESTNET]:"0xDB9D365b50E62fce747A90515D2bd1254A16EbB9"},zap:{[Z.a_.MODE_MAINNET]:"0xD4c4a7C55c9f7B3c48bafb6E8643Ba79F42418dF",[Z.a_.MODE_TESTNET]:"0xD85835207054F25620109bdc745EC1D1f84F04e1"},stableSwapNativeHelper:{[Z.a_.MODE_MAINNET]:"0x52E5D1e24A4308ef1A221C949cb2F7cbbAFEE090",[Z.a_.MODE_TESTNET]:"0x6e4B1D7C65E86f1723720a5fE8993f0908108b64"},iCake:eo.x,bCakeFarmBooster:{[Z.a_.MODE_MAINNET]:"0xE4FAa3Ef5A9708C894435B0F39c2B440936A3A52",[Z.a_.MODE_TESTNET]:"0x"},bCakeFarmBoosterProxyFactory:{[Z.a_.MODE_MAINNET]:"0x2C36221bF724c60E9FEE3dd44e2da8017a8EF3BA",[Z.a_.MODE_TESTNET]:"0x"},bCakeFarmBoosterV3:{[Z.a_.MODE_MAINNET]:"0x695170faE243147b3bEB4C43AA8DE5DcD9202752",[Z.a_.MODE_TESTNET]:"0x56666300A1E25624489b661f3C6c456c159a109a"},nonBscVault:{},crossFarmingSender:{},crossFarmingReceiver:{[Z.a_.MODE_MAINNET]:"0x0726a8C8206b9eC0AfB788df5adb36a8AEDB13c2",[Z.a_.MODE_TESTNET]:"0xBab5d3B6bA24E185f216419f3ba07f03984bF983"},mmLinkedPool:{[Z.a_.MODE_MAINNET]:"0xfEACb05b373f1A08E68235bA7FC92636b92ced01"},tradingReward:{[Z.a_.MODE_MAINNET]:"0x",[Z.a_.MODE_TESTNET]:"0x"},nftPositionManager:{[Z.a_.MODE_MAINNET]:"0x46A15B0b27311cedF172AB29E4f4766fbE7F4364",[Z.a_.MODE_TESTNET]:"0x52E97d5dbf70EC7D472808353d24a7Bd5993e1d0"},v3PoolDeployer:ec.zF,v3Migrator:{[Z.a_.MODE_MAINNET]:"0xbC203d7f83677c7ed3F7acEc959963E7F4ECC5C2",[Z.a_.MODE_TESTNET]:"0x35f6d006F175170E4D0e4586AC260C405B3929A4"},quoter:eu.qU,v3Airdrop:{[Z.a_.MODE_MAINNET]:"0xe934d2C5bE5db0295A4de3177762A9E8c74Ae4f4",[Z.a_.MODE_TESTNET]:"0x"},affiliateProgram:{[Z.a_.MODE_MAINNET]:"0x92C73D90F709DFf7e5E7307e8F2EE20e39396b12",[Z.a_.MODE_TESTNET]:"0x1B8a475B5E5De05fB3Ac2D9ec3C2809fBF24e51c"},tradingRewardTopTrades:{[Z.a_.MODE_MAINNET]:"0x41920b6A17CB73D1B60f4F41D82c35eD0a46fD71",[Z.a_.MODE_TESTNET]:"0x"},vCake:{[Z.a_.MODE_MAINNET]:"0xa3b8321173Cf3DdF37Ce3e7548203Fc25d86402F",[Z.a_.MODE_TESTNET]:"0x5DD37E97716A8b358BCbc731516F36FFff978454"},revenueSharingPool:{[Z.a_.MODE_MAINNET]:"0xCD5d1935e9bfa4905f9f007C97aB1f1763dC1607",[Z.a_.MODE_TESTNET]:"0xd2d1DD41700d9132d3286e0FcD8D6E1D8E5052F5"},anniversaryAchievement:{[Z.a_.MODE_MAINNET]:"0x0a073aa17275ef839ee77BC6c589D9E661270480",[Z.a_.MODE_TESTNET]:"0x"},fixedStaking:{[Z.a_.MODE_MAINNET]:"0xC0E92c9B437734a0c0e0466F76cDf71c5478b0AB",[Z.a_.MODE_TESTNET]:"0x"},veCake:{[Z.a_.MODE_MAINNET]:"0x5692DB8177a81A6c6afc8084C2976C9933EC1bAB",[Z.a_.MODE_TESTNET]:"0x279957513FC505F8Cb16f4b6783D170C9BEcE322"},gaugesVoting:es.WZ,gaugesVotingCalc:es.Gh,revenueSharingVeCake:{[Z.a_.MODE_MAINNET]:"0x9cac9745731d1Cf2B483f257745A512f0938DD01",[Z.a_.MODE_TESTNET]:"0x482a401D57C9892D6d6BD6A4A976CfDDeD83BF11"},revenueSharingCakePool:{[Z.a_.MODE_MAINNET]:"0xCaF4e48a4Cb930060D0c3409F40Ae7b34d2AbE2D",[Z.a_.MODE_TESTNET]:"0x58fde4bf684B631363640808F452952D8c14084b"},revenueSharingPoolGateway:{[Z.a_.MODE_MAINNET]:"0x011f2a82846a4E9c62C2FC4Fd6fDbad19147D94A",[Z.a_.MODE_TESTNET]:"0x946273012ED616410F698536F1BF2513417BF8Ec"}}},82880:function(_,C,L){"use strict";L.d(C,{$d:function(){return eT},AM:function(){return ex},C1:function(){return eu},EC:function(){return eb},EW:function(){return eq},GZ:function(){return es},H$:function(){return ek},Hs:function(){return eg},I0:function(){return ey},JY:function(){return ef},TI:function(){return eM},TY:function(){return ec},Xr:function(){return eo},d$:function(){return e_},dm:function(){return el},fK:function(){return ed},g:function(){return eE},gr:function(){return ev},iR:function(){return ew},ju:function(){return ep},qu:function(){return eA},t7:function(){return eS},uL:function(){return ej},uT:function(){return em},uw:function(){return eC},xM:function(){return eh}});var Z=L(11189),ea=L(73656);let es="https://api.thegraph.com/subgraphs/name/pancakeswap/prediction-v2",eo="https://api.thegraph.com/subgraphs/name/pancakeswap/lottery",el="https://profile.pancakeswap.com",eu="https://nft.pancakeswap.com/api/v1",ec="https://hub.snapshot.org/graphql",ed="https://api.thegraph.com/subgraphs/name/pancakeswap/pottery",eh="https://pcs-on-ramp-api.com",ep="https://api.moonpay.com",ef="https://proxy-worker-api.pancakeswap.com/bsc-exchange",em=`https://open-platform.nodereal.io/${ea.env.
131NEXT_PUBLIC_NODE_REAL_API_INFO||ea.env.NEXT_PUBLIC_NODE_REAL_API_ETH}/pancakeswap-v3/graphql`,eb="https://api.thegraph.com/subgraphs/name/pancakeswap/exhange-eth",ey="https://api.thegraph.com/subgraphs/name/pancakeswap/blocks",eg="https://api.thegraph.com/subgraphs/name/blocklytics/ethereum-blocks",ev="https://api.thegraph.com/subgraphs/name/pancakeswap/exchange-stableswap",ex="https://api.thegraph.com/index-node/graphql",e_="https://graphql.bitquery.io",ew="https://red.alert.pancakeswap.com/red-api",eC="https://api.celerscan.com/scan",eT=Z.j4;Z.a_.MODE_MAINNET;let eq="https://assets.pancakeswap.finance",ek=Z.G7,eS=`${ea.env.NEXT_PUBLIC_QUOTING_API}/v0/quote`,eE=ea.env.NEXT_PUBLIC_MERCURYO_WIDGET_ID||"64d1f9f9-85ee-4558-8168-1dc0e7057ce6",eM=ea.env.NEXT_PUBLIC_MOONPAY_LIVE_KEY||"pk_test_1Ibe44lMglFVL8COOYO7SEKnIBrzrp54",ej=ea.env.NEXT_PUBLIC_TRANSAK_LIVE_KEY||"bf960e79-6d98-4fd0-823d-8409d290c346",eA="https://widget.mercuryo.io/embed.2.0.js"},28276:function(_,C,L){"use strict";L.d(C,{Bz:function(){return em},EV:function(){return eg},IP:function(){return eo.IP},IS:function(){return ef},PM:function(){return ep},Q8:function(){return ed},Ru:function(){return e_},Uf:function(){return ey},Uz:function(){return ex},VN:function(){return eq},Zw:function(){return eT},_$:function(){return eo._$},ck:function(){return eo.ck},iV:function(){return eh},kx:function(){return eu},lM:function(){return eo.lM},lN:function(){return ev},p9:function(){return eb},qI:function(){return el},rU:function(){return ek},xu:function(){return ec},yC:function(){return ew}});var Z=L(47739),ea=L(11189),es=L(42166),eo=L(32088);let el={[ea.a_.MODE_MAINNET]:12e3,[ea.a_.MODE_TESTNET]:12e3},eu={[ea.a_.MODE_MAINNET]:[es.gn[ea.a_.MODE_MAINNET],es.AA[ea.a_.MODE_MAINNET],Z.FX[ea.a_.MODE_MAINNET],es.Zn],[ea.a_.MODE_TESTNET]:[es.gn[ea.a_.MODE_TESTNET],Z.FX[ea.a_.MODE_TESTNET],es.lz[ea.a_.MODE_TESTNET]]},ec={[ea.a_.MODE_MAINNET]:[es.gn[ea.a_.MODE_MAINNET],Z.FX[ea.a_.MODE_MAINNET],es.AA[ea.a_.MODE_MAINNET],es.Zn],[ea.a_.MODE_TESTNET]:[es.gn[ea.a_.MODE_TESTNET],Z.FX[ea.a_.MODE_TESTNET],es.lz[ea.a_.MODE_TESTNET]]},ed={[ea.a_.MODE_MAINNET]:[[Z.FX[ea.a_.MODE_MAINNET],es.gn[ea.a_.MODE_MAINNET]],[es.Zn,Z.FX[ea.a_.MODE_MAINNET]],[Z.FX[ea.a_.MODE_MAINNET],es.AA[ea.a_.MODE_MAINNET]]]},eh=0n,ep=10000n,ef=new Z.gG(1n,ep),em=new Z.gG(100n,ep),eb=new Z.gG(300n,ep),ey=new Z.gG(500n,ep),eg=new Z.gG(1000n,ep),ev=new Z.gG(1500n,ep),ex=10n**15n,e_=new Z.gG(50n,ep);new Z.gG("0");let ew=new Z.gG("1"),eC=new Z.gG(25n,ep),eT=ew.subtract(eC),eq="BNB",ek=["/swap","/limit-orders","liquidity","/add","/find","/remove"]},60011:function(_,C,L){"use strict";L.d(C,{B4:function(){return eh},Es:function(){return eo},KI:function(){return eu},PY:function(){return es},ag:function(){return ed},bF:function(){return ec},gv:function(){return ea},mj:function(){return Z},sR:function(){return el}});let Z=["0x7F367cC41522cE07553e823bf3be79A889DEbe1B","0xd882cFc20F52f2599D84b8e8D58C7FB62cfE344b","0x901bb9583b24D97e995513C6778dc6888AB6870e","0xA7e5d5A720f06526557c513402f2e6B5fA20b008","0x8576aCC5C05D6Ce88f4e49bf65BdF0C62F91353C"],ea=50,es=1200,eo=300,el=1e4,eu=6e4,ec="prediction-switcher-dismiss-tooltip",ed="0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",eh="https://docs.pancakeswap.finance/help"},30668:function(_,C,L){"use strict";L.d(C,{BY:function(){return eo},Bq:function(){return eh},DY:function(){return ed},MV:function(){return ea},OZ:function(){return Z},Rr:function(){return ec},Tb:function(){return ep},hT:function(){return el},om:function(){return es},si:function(){return ef},tE:function(){return em},xy:function(){return eu}});let Z=2,ea=52.1429,es=.0025,eo=.0017,el=225e-6,eu=575e-6,ec=1619136e3,ed=1664130827,eh=86400,ep=3600,ef=10,em=["0x495c7f3A713870F68F8B418B355c085dFDC412C3","0xc3761EB917CD790B30dAD99f6Cc5b4Ff93C4F9eA","0xe31DEbd7AbFF90B06bCA21010dD860d8701fd901","0xFc989fBB6B3024DE5Ca0144dc23C18A063942Ac1","0xe40fc6FF5f2895B44268fD2E1a421e07F567e007","0xFd158609228B43aA380140B46FfF3cdF9Ad315de","0xc00AF6212fcF0e6fD3143E692Ccd4191Dc308Bea","0x205969b3ad459F7eBA0DEe07231A6357183D3fb6","0x0bD67D358636Fd7B0597724Aa4F20BEEDBf3073A","0xedf5D2A561E8a3Cb5a846FBce24d2cCD88f50075","0x702B0789a3D4daDe1688a0C8b7d944E5BA80fc30","0x041929a760d7049edAeF0dB246FA76EC975E90Cc","0xbA098DF8C6409669f5e6eC971ac02cD5982AC108","0x1BbED115AFe9e8d6e9255F18ef10d43cE6608d94","0xE99512305BF42745fae78003428dCAF662Afb35d","0xbE609EAcbFca10F6E5504D39E3B113F808389056","0x847dAf9dfDC22d5c61C4A857EC8733EF5950e82e","0xDbF8913dfe14536c0dae5dd06805AFb2731f7e7B","0xF1D50dB2C40b63D2c598e2A808d1871a40b1E653","0x4269e4090FF9dFc99D8846eB0D42E67F01C3AC8b"]},71609:function(_,C,L){"use strict";L.d(C,{FX:function(){return ea},Lx:function(){return ex},T4:function(){return ep},US:function(){return eg},VX:function(){return ev},c8:function(){return e_},mg:function(){return ey},uW:function(){return ef},vv:function(){return ew}});var Z=L(11189);let ea="https://tokens.pancakeswap.finance/pancakeswap-extended.json",es="https://tokens.pancakeswap.finance/pancakeswap-eth-default.json",eo="https://tokens.pancakeswap.finance/pancakeswap-zksync-default.json",el="https://tokens.pancakeswap.finance/pancakeswap-polygon-zkevm-default.json",eu="https://tokens.pancakeswap.finance/pancakeswap-arbitrum-default.json",ec="https://tokens.pancakeswap.finance/pancakeswap-linea-default.json",ed="https://tokens.pancakeswap.finance/pancakeswap-base-default.json",eh="https://tokens.pancakeswap.finance/pancakeswap-opbnb-default.json",ep="https://tokens.pancakeswap.finance/pancakeswap-eth-mm.json",ef="https://tokens.pancakeswap.finance/pancakeswap-bnb-mm.json",em=[ea,"https://tokens.pancakeswap.finance/coingecko.json",ef],eb="https://raw.githubusercontent.com/ethereum-optimism/ethereum-optimism.github.io/master/optimism.tokenlist.json",ey=[ea,es],eg=[],ev=[],ex=[...em,es,ep,"https://tokens.coingecko.com/uniswap/all.json",eo,"https://tokens.coingecko.com/zksync/all.json",ec,"https://tokens.coingecko.com/linea/all.json",el,"https://tokens.coingecko.com/polygon-zkevm/all.json",ed,eb,"https://tokens.coingecko.com/base/all.json",eu,"https://tokens.coingecko.com/arbitrum-one/all.json",eb,...eg,...ev,eh],e_=[ea,es,ep,ef,es,el,eo,eu,ec,ed,eh,eb],ew={[Z.a_.MODE_MAINNET]:em}},93786:function(_,C,L){"use strict";L.d(C,{Y:function(){return Z}});let Z={}},18292:function(_,C,L){"use strict";L.d(C,{Dm:function(){return ea},FZ:function(){return es},Hn:function(){return eo},fe:function(){return el}});var Z=L(11189);let ea=[Z.a_.MODE_MAINNET],es=[Z.a_.MODE_MAINNET];Z.a_.MODE_MAINNET,Z.a_.MODE_MAINNET;let eo=[Z.a_.MODE_MAINNET,Z.a_.MODE_TESTNET],el=[Z.a_.MODE_MAINNET,Z.a_.MODE_TESTNET]},47480:function(_,C,L){"use strict";var Z,ea,es,eo,el,eu,ec,ed;L.d(C,{Mb:function(){return eo},hL:function(){return isStableSwap},iF:function(){return eh},jh:function(){return Z},p3:function(){return ea}}),(el=Z||(Z={})).COMMUNITY="Community",el.CORE="Core",el.BINANCE="Binance",el.AUTO="Auto",(eu=ea||(ea={})).PENDING="pending",eu.OPEN="open",eu.CLOSE="close",eu.CLAIMABLE="claimable",(ec=es||(es={}))[ec.ToBeAnnounced=0]="ToBeAnnounced",ec[ec.Pending=1]="Pending",ec[ec.Open=2]="Open",ec[ec.Finished=3]="Finished",ec[ec.Closed=4]="Closed";let eh={Idle:"idle",Fetching:"loading",Fetched:"success",Failed:"error"},isStableSwap=_=>!!(null==_?void 0:_.maximumAmountIn)&&!(null==_?void 0:_.route);(ed=eo||(eo={})).LOWER="LOWER",ed.UPPER="UPPER"},79960:function(_,C,L){"use strict";L.d(C,{Bi:function(){return es},Gs:function(){return eu},Vu:function(){return eo},hJ:function(){return ea},o3:function(){return el}});var Z=L(81106);let ea=3,es=365*(60/ea*1440),eo=40*es,el=(0,Z.t)(18),eu="https://ipfs.io/ipfs"},38573:function(_,C,L){"use strict";L.d(C,{W:function(){return ea}});var Z=L(11189);Z.a_.MODE_MAINNET,Z.a_.MODE_TESTNET;let ea={[Z.a_.MODE_MAINNET]:["https://mainnet.mode.network"],[Z.a_.MODE_TESTNET]:["https://sepolia.mode.network/"]}},86476:function(_,C,L){"use strict";L.d(C,{Mt:function(){return ea},N2:function(){return getDocLink},Ut:function(){return createWallets}});var Z,ea,es=L(91049),eo=L(42199),el=L(30813),eu=L(30012),ec=L(82880
131);(Z=ea||(ea={})).MetaMask="metaMask",Z.Injected="injected",Z.WalletConnect="walletConnect",Z.WalletConnectV1="walletConnectLegacy",Z.BSC="bsc",Z.Blocto="blocto",Z.WalletLink="coinbaseWallet",Z.Ledger="ledger",Z.TrustWallet="trustWallet";let createQrCode=(_,C)=>async()=>{C({connector:eu.kF,chainId:_});let L=await eu.kF.getProvider();return new Promise(_=>{L.on("display_uri",C=>{_(C)})})},isMetamaskInstalled=()=>{var _,C,L;return!!((null===(_=window.ethereum)||void 0===_?void 0:_.isMetaMask)||(null===(L=window.ethereum)||void 0===L?void 0:null===(C=L.providers)||void 0===C?void 0:C.some(_=>_.isMetaMask)))},walletsConfig=_=>{let{chainId:C,connect:L}=_,Z=createQrCode(C,L);return[{id:"metamask",title:"Metamask",icon:`${ec.EW}/web/wallets/metamask.png`,get installed(){return isMetamaskInstalled()},connectorId:"metaMask",deepLink:"https://metamask.app.link/dapp/pancakeswap.finance/",qrCode:Z,downloadLink:"https://metamask.app.link/dapp/pancakeswap.finance/"},{id:"binance",title:"Binance Wallet",icon:`${ec.EW}/web/wallets/binance.png`,get installed(){return!!window.BinanceChain},connectorId:"bsc",guide:{desktop:"https://www.bnbchain.org/en/binance-wallet"},downloadLink:{desktop:eo.vU?"https://addons.mozilla.org/en-US/firefox/addon/binance-chain/?src=search":"https://chrome.google.com/webstore/detail/binance-wallet/fhbohimaelbohpjbbldcngcnapndodjp"}},{id:"coinbase",title:"Coinbase Wallet",icon:`${ec.EW}/web/wallets/coinbase.png`,connectorId:"coinbaseWallet"},{id:"trust",title:"Trust Wallet",icon:`${ec.EW}/web/wallets/trust.png`,connectorId:"trustWallet",get installed(){return!!(0,el.Q)()},deepLink:"https://link.trustwallet.com/open_url?coin_id=20000714&url=https://andex.vercel.app/",downloadLink:"https://chrome.google.com/webstore/detail/trust-wallet/egjidjbpglichdcondbcbdnbeeppgdph",guide:{desktop:"https://trustwallet.com/browser-extension",mobile:"https://trustwallet.com/"},qrCode:Z},{id:"walletconnect",title:"WalletConnect",icon:`${ec.EW}/web/wallets/walletconnect.png`,connectorId:"walletConnect"},{id:"opera",title:"Opera Wallet",icon:`${ec.EW}/web/wallets/opera.png`,connectorId:"injected",get installed(){var ea;return!!(null===(ea=window.ethereum)||void 0===ea?void 0:ea.isOpera)},downloadLink:"https://www.opera.com/crypto/next"},{id:"brave",title:"Brave Wallet",icon:`${ec.EW}/web/wallets/brave.png`,connectorId:"injected",get installed(){var es;return!!(null===(es=window.ethereum)||void 0===es?void 0:es.isBraveWallet)},downloadLink:"https://brave.com/wallet/"},{id:"math",title:"MathWallet",icon:`${ec.EW}/web/wallets/mathwallet.png`,connectorId:"injected",get installed(){var eu;return!!(null===(eu=window.ethereum)||void 0===eu?void 0:eu.isMathWallet)},qrCode:Z},{id:"tokenpocket",title:"TokenPocket",icon:`${ec.EW}/web/wallets/tokenpocket.png`,connectorId:"injected",get installed(){var ed;return!!(null===(ed=window.ethereum)||void 0===ed?void 0:ed.isTokenPocket)},qrCode:Z},{id:"safepal",title:"SafePal",icon:`${ec.EW}/web/wallets/safepal.png`,connectorId:"injected",get installed(){var eh;return!!(null===(eh=window.ethereum)||void 0===eh?void 0:eh.isSafePal)},downloadLink:"https://chrome.google.com/webstore/detail/safepal-extension-wallet/lgmpcpglpngdoalbgeoldeajfclnhafa",qrCode:Z},{id:"coin98",title:"Coin98",icon:`${ec.EW}/web/wallets/coin98.png`,connectorId:"injected",get installed(){var ep;return!!(null===(ep=window.ethereum)||void 0===ep?void 0:ep.isCoin98)||!!window.coin98},qrCode:Z},{id:"blocto",title:"Blocto",icon:`${ec.EW}/web/wallets/blocto.png`,connectorId:"blocto",get installed(){var ef;return null!==(ef=window.ethereum)&&void 0!==ef&&!!ef.isBlocto||void 0}},{id:"ledger",title:"Ledger",icon:`${ec.EW}/web/wallets/ledger.png`,connectorId:"ledger"}]},createWallets=(_,C)=>{let L=!window.ethereum,Z=walletsConfig({chainId:_,connect:C});return L&&Z.some(_=>_.installed&&"injected"===_.connectorId)?Z:[...Z,{id:"injected",title:"Injected",icon:es.Z,connectorId:"injected",installed:!!window.ethereum}]},ed={it:"italian",ja:"japanese",fr:"french",tr:"turkish",vi:"vietnamese",id:"indonesian","zh-cn":"chinese","pt-br":"portuguese-brazilian"},getDocLink=_=>ed[_]?`https://docs.pancakeswap.finance/v/${ed[_]}/get-started/wallet-guide`:"https://docs.pancakeswap.finance/get-started/wallet-guide"},96366:function(_,C,L){"use strict";L.d(C,{E:function(){return HistoryManagerProvider},k:function(){return useHistory}});var Z=L(97458),ea=L(97656),es=L(52983);let eo=(0,es.createContext)(null);function HistoryManagerProvider(_){let{children:C}=_,L=function(){let _=(0,ea.useRouter)(),[C,L]=(0,es.useState)(()=>[null==_?void 0:_.asPath]);return(0,es.useEffect)(()=>{let handleRouteChange=(_,C)=>{let{shallow:Z}=C;Z||L(C=>[...C,_])};return _.beforePopState(()=>(L(_=>_.slice(0,-2)),!0)),_.events.on("routeChangeStart",handleRouteChange),()=>{_.events.off("routeChangeStart",handleRouteChange)}},[]),(0,es.useMemo)(()=>({history:C,canGoBack:()=>C.length>1}),[C])}();return(0,Z.jsx)(eo.Provider,{value:L,children:C})}let useHistory=()=>(0,es.useContext)(eo)},43709:function(_,C,L){"use strict";L.d(C,{EH:function(){return useIsUserAddedToken},K6:function(){return useAllOnRampTokens}
131,U8:function(){return useCurrency},Uo:function(){return useOnRampCurrency},ZN:function(){return useIsTokenActive},dQ:function(){return useToken},e_:function(){return useAllTokens},l6:function(){return useUnsupportedTokens},uq:function(){return useOfficialsAndUserAddedTokens},zd:function(){return useWarningTokens}});var Z=L(47739),ea=L(60011),es=L(42843),eo=L(52983),el=L(29517),eu=L(47117),ec=L(82730),ed=L(96561),eh=L(5573),ep=L(52772);let mapWithoutUrls=(_,C)=>_&&C?Object.keys(_[C]||{}).reduce((L,Z)=>{let ea=(0,ec.xP)(Z);return ea&&!L[ea]&&(L[ea]=_[C][Z].token),L},{}):{},mapWithoutUrlsBySymbol=(_,C)=>_&&C?Object.keys(_[C]||{}).reduce((L,Z)=>(L[Z]=_[C][Z].token,L),{}):{};function useAllTokens(){let{chainId:_}=(0,eh.g)(),C=(0,es.Dv)(eu.i),L=(0,ed.Z)();return(0,eo.useMemo)(()=>L.reduce((_,C)=>{let L=(0,ec.xP)(C.address);return L&&(_[L]=C),_},mapWithoutUrls(C,_)),[L,C,_])}function useAllOnRampTokens(){let{chainId:_}=(0,eh.g)(),C=(0,es.Dv)(eu.xj);return(0,eo.useMemo)(()=>mapWithoutUrlsBySymbol(C,_),[C,_])}function useOfficialsAndUserAddedTokens(){let{chainId:_}=(0,eh.g)(),C=(0,es.Dv)(eu.HW),L=(0,ed.Z)();return(0,eo.useMemo)(()=>L.reduce((_,C)=>{let L=(0,ec.xP)(C.address);return L&&(_[L]=C),_},mapWithoutUrls(C,_)),[L,C,_])}function useUnsupportedTokens(){let{chainId:_}=(0,eh.g)(),C=(0,eu.Rx)();return(0,eo.useMemo)(()=>mapWithoutUrls(C,_),[C,_])}function useWarningTokens(){let _=(0,eu.c6)(),{chainId:C}=(0,eh.g)();return(0,eo.useMemo)(()=>mapWithoutUrls(_,C),[_,C])}function useIsTokenActive(_){let C=useAllTokens();if(!C||!_)return!1;let L=(0,ec.xP)(_.address);return L&&!!C[L]}function useIsUserAddedToken(_){let C=(0,ed.Z)();return null!=_&&!!_.equals&&!!C.find(C=>null==_?void 0:_.equals(C))}function useToken(_){let{chainId:C}=(0,eh.g)(),L=useAllTokens(),ea=(0,ec.xP)(_),es=ea?L[ea]:void 0,{data:eu,isLoading:ed}=(0,el.dQ)({address:ea||void 0,chainId:C,enabled:!!(ea&&!es)});return(0,eo.useMemo)(()=>{if(es)return es;if(C&&ea){if(ed)return null;if(eu){var _,L;return new Z.Z$(C,eu.address,eu.decimals,null!==(_=eu.symbol)&&void 0!==_?_:"UNKNOWN",null!==(L=eu.name)&&void 0!==L?L:"Unknown Token")}}},[es,C,ea,ed,eu])}function useCurrency(_){var C;let L=(0,ep.Z)(),Z=(null==_?void 0:_.toUpperCase())===(null===(C=L.symbol)||void 0===C?void 0:C.toUpperCase())||(null==_?void 0:_.toLowerCase())===ea.ag,es=useToken(Z?void 0:_);return Z?L:es}function useOnRampCurrency(_){var C;let L=(0,ep.Z)(),Z=(null==_?void 0:_.toUpperCase())===(null===(C=L.symbol)||void 0===C?void 0:C.toUpperCase())||(null==_?void 0:_.toLowerCase())===ea.ag,es=function(_){let{chainId:C}=(0,eh.g)(),L=useAllOnRampTokens(),Z=(0,ec.xP)(_),ea=L[_];return(0,eo.useMemo)(()=>{if(ea)return ea},[ea,C,Z])}(_);return Z?L:es}},28999:function(_,C,L){"use strict";var Z=L(29517),ea=L(52983),es=L(5573);C.Z=()=>{let{address:_}=(0,Z.mA)(),{chainId:C}=(0,es.g)();return(0,ea.useMemo)(()=>({account:_,chainId:C}),[_,C])}},5573:function(_,C,L){"use strict";L.d(C,{Z:function(){return useLocalNetworkChain},g:function(){return useActiveChainId}});var Z=L(11189),ea=L(80440),es=L(42843),eo=L(97656),el=L(52983),eu=L(30012),ec=L(29517),ed=L(7048),eh=L(34977);let ep=(0,ea.cn)(-1);function useLocalNetworkChain(){let[_]=(0,eh.o)(),C=(0,es.Dv)(ep),{query:L}=(0,eo.useRouter)(),Z=+(_||(0,ed.LQ)(L.chain)||C);if((0,eu.MR)(Z))return Z}ep.onMount=_=>{let C;let L=new URL(window.location.href).searchParams,Z=L.get("chain");C=Z?(0,ed.LQ)(Z):L.get("chainId"),_((0,eu.MR)(+C)?+C:0)};let useActiveChainId=()=>{var _,C;let L=useLocalNetworkChain(),ea=(0,es.Dv)(ep),{chain:eo}=(0,ec.LN)(),eu=null!==(_=null!=L?L:null==eo?void 0:eo.id)&&void 0!==_?_:ea>=0?Z.a_.MODE_MAINNET:void 0,ed=(0,el.useDeferredValue)(eo&&L&&eo.id!==L);return{chainId:eu,isWrongNetwork:null!==(C=null==eo?void 0:eo.unsupported)&&void 0!==C&&C||ed,isNotMatched:ed}}},54406:function(_,C,L){"use strict";L.d(C,{Z:function(){return hooks_useActiveWeb3React},V:function(){return useNetworkConnectorUpdater}});var Z=L(65969),ea=L(97656),es=L(52983),eo=L(28276),el=L(30012),eu=L(11189),ec=L(7048);let getHashFromRouter=_=>_.asPath.match(/#([a-z0-9]+)/gi);var ed=L(5573),eh=L(67504);function useNetworkConnectorUpdater(){let{chainId:_}=(0,ed.g)(),C=(0,es.useRef)(_),[L]=(0,eh.c)(),Z=(0,ea.useRouter)();(0,es.useEffect)(()=>{let setPrevChainId=()=>{C.current=_};if(L||!Z.isReady)return setPrevChainId();let ea=(0,ec.LQ)(Z.query.chain);if(!ea&&_===eu.a_.MODE_MAINNET)return setPrevChainId();if(ea!==_&&(0,el.MR)(_)){var es;let L=C.current!==_&&eo.rU.some(_=>Z.pathname.startsWith(_)),ea=null===(es=getHashFromRouter(Z))||void 0===es?void 0:es[0],{chainId:el,...eu}=Z.query;Z.replace({query:{...!L&&eu,chain:ec.MS[_]},...ea&&{hash:ea}},void 0,{shallow:!0,scroll:!1})}return setPrevChainId()},[_,L,Z])}var hooks_useActiveWeb3React=()=>{let _=(0,Z.G)(),{chainId:C,isWrongNetwork:L}=(0,ed.g)();return{..._,chainId:C,isWrongNetwork:L}}},14348:function(_,C,L){"use strict";var Z=L(82577),ea=L(7048),es=L(85168),eo=L(88647),el=L(52983),eu=L(78711),ec=L(29517),ed=L(91038),eh=L(59624),ep=L(60946),ef=L(5573),em=L(34977);C.Z=()=>{let _=(0,eu.TL)(),{connectAsync:C,connectors:L}=(0,ec.$4)(),{chain:eb}=(0,ec.LN)(),{disconnectAsync:ey}=(0,ec.qL)(),{chainId:eg}=(0,ef.g)(),[,ev]=(0,em.o)(),{t:ex}=(0,Z.Z)(),e_=(0,el.useCallback)(async _=>{let Z=L.find(C=>C.id===_);try{let _=await C({connector:Z,chainId:eg});return _.chain.unsupported||_.chain.id===eg||((0,eo.Z)("chain",ea.MS[_.chain.id]),ev(_.chain.id)),_}catch(_){if(_ instanceof ed.N)throw new es.nx;if(_ instanceof eh.OJ)throw new es.sB(ex("Unable to switch network. Please try it on your wallet"))}},[L,C,eg,ev,ex]),ew=(0,el.useCallback)(async()=>{try{await ey()}catch(_){console.error(_)}finally{(0,ep.J)(_,{chainId:null==eb?void 0:eb.id})}},[ey,_,null==eb?void 0:eb.id]);return{login:e_,logout:ew}}},31180:function(_,C,L){"use strict";L.d(C,{C:function(){return getCakePriceFromOracle},a:function(){return useCakePrice}});var Z=L(86530),ea=L(97269),es=L(60011),eo=L(14319);let useCakePrice=function(){let{enabled:_=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{data:C}=(0,eo.a)({queryKey:["cakePrice"],queryFn:async()=>new ea.Z(await getCakePriceFromOracle()),staleTime:es.sR,refetchInterval:es.sR,enabled:_});return null!=C?C:Z.HW},getCakePriceFromOracle=async()=>1},98573:function(_,C,L){"use strict";L.d(C,{Z:function(){return useCatchTxError},n:function(){return parseError}});var Z=L(97458),ea=L(82577),es=L(66244),eo=L(1909),el=L(52983),eu=L(30378),ec=L(57374),ed=L(95438),eh=L(10518);function parseError(_){return _ instanceof ec.G?_:"string"==typeof _?new ed.ir(Error(_)):_ instanceof Error?new ed.ir(_):null}function useCatchTxError(_){let{throwUserRejectError:C=!1,throwCustomeError:L,waitForTransactionTimeout:ec}=_||{},{t:ed}=(0,ea.Z)(),{toastError:ep,toastSuccess:ef}=(0,es.p)(),[em,eb]=(0,el.useState)(!1),{waitForTransaction:ey}=(0,eh.n)(),[eg,ev]=(0,el.useState)(!1),ex=(0,el.useCallback)(_=>{(0,eu.H)(_);
131let C=parseError(_);C?ep(ed("Error"),ed("Transaction failed with error: %reason%",{reason:_.shortMessage||_.message})):ep(ed("Error"),ed("Please try again. Confirm the transaction and make sure you are paying enough gas!"))},[ed,ep]),e_=(0,el.useCallback)((_,C)=>{(0,eu.H)(_);let L=parseError(_);ep(ed("Failed"),(0,Z.jsx)(eo.Y,{txHash:C,children:L?ed("Transaction failed with error: %reason%",{reason:L.shortMessage||L.message}):ed("Transaction failed. For detailed error message:")}))},[ed,ep]),ew=(0,el.useCallback)(async _=>{let ea=null;try{eb(!0),ea=await _();let C="string"==typeof ea?ea:ea.hash;ef(`${ed("Transaction Submitted")}!`,(0,Z.jsx)(eo.Y,{txHash:C}));let L=await ey({hash:C,timeout:ec});return L}catch(_){if((0,eu.Z)(_)||(ea?L?L():e_(_,"string"==typeof ea?ea:ea.hash):ex(_)),C)throw _}finally{eb(!1)}return null},[ef,ed,ey,ec,C,L,ex,e_]),eC=(0,el.useCallback)(async _=>{let C=null;try{ev(!0),C=await _();let L="string"==typeof C?C:C.hash;return ef(`${ed("Transaction Submitted")}!`,(0,Z.jsx)(eo.Y,{txHash:L})),{hash:L}}catch(_){(0,eu.Z)(_)||(C?e_(_,"string"==typeof C?C:C.hash):ex(_))}finally{ev(!1)}return null},[ef,ed,ex,e_]);return{fetchWithCatchTxError:ew,fetchTxResponse:eC,loading:em,txResponseLoading:eg}}},49727:function(_,C,L){"use strict";L.d(C,{kL:function(){return useCake},Us:function(){return useCakeVaultContract},cq:function(){return useContract},X_:function(){return useERC20},Wn:function(){return useGaugesVotingContract},n8:function(){return useIfoCreditAddressContract},cA:function(){return useInfoStableSwapContract},y8:function(){return useMasterchef},gp:function(){return useMasterchefV3},gq:function(){return useMulticallContract},t0:function(){return usePairContract},Ui:function(){return usePositionManagerAdepterContract},Li:function(){return usePositionManagerWrapperContract},Jy:function(){return useRevenueSharingCakePoolContract},Ek:function(){return useRevenueSharingPoolContract},Yj:function(){return useRevenueSharingVeCakeContract},M:function(){return useSIDContract},AP:function(){return useSousChef},rz:function(){return useStableSwapNativeHelperContract},Ib:function(){return useTokenContract},o$:function(){return useTradingCompetitionContractMoD},Q$:function(){return useUNSContract},QH:function(){return useV3AirdropContract},TT:function(){return useV3MigratorContract},GL:function(){return useV3NFTPositionManagerContract},rF:function(){return useVCakeContract},Ak:function(){return useVaultPoolContract},hu:function(){return useVeCakeContract},vR:function(){return useWNativeContract}});var Z=L(53337),ea=L(59624),es=L(29517),eo=L(5573),el=L(71531),eu=L(52983),ec=L(32611),ed=L(62370),eh=L(11189),ep=L(47739),ef=L(42166),em=L(17577),eb=L(40988);eh.a_.MODE_MAINNET,eh.a_.MODE_TESTNET,eh.a_.MODE_MAINNET;var ey=L(38966);L(41796);var eg=L(68178);let ev=[{constant:!0,inputs:[],name:"name",outputs:[{name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"guy",type:"address"},{name:"wad",type:"uint256"}],name:"approve",outputs:[{name:"",type:"bool"}],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[],name:"totalSupply",outputs:[{name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"src",type:"address"},{name:"dst",type:"address"},{name:"wad",type:"uint256"}],name:"transferFrom",outputs:[{name:"",type:"bool"}],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{name:"wad",type:"uint256"}],name:"withdraw",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[],name:"decimals",outputs:[{name:"",type:"uint8"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{name:"",type:"address"}],name:"balanceOf",outputs:[{name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"symbol",outputs:[{name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"dst",type:"address"},{name:"wad",type:"uint256"}],name:"transfer",outputs:[{name:"",type:"bool"}],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[],name:"deposit",outputs:[],payable:!0,stateMutability:"payable",type:"function"},{constant:!0,inputs:[{name:"",type:"address"},{name:"",type:"address"}],name:"allowance",outputs:[{name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{payable:!0,stateMutability:"payable",type:"fallback"},{anonymous:!1,inputs:[{indexed:!0,name:"src",type:"address"},{indexed:!0,name:"guy",type:"address"},{indexed:!1,name:"wad",type:"uint256"}],name:"Approval",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"src",type:"address"},{indexed:!0,name:"dst",type:"address"},{indexed:!1,name:"wad",type:"uint256"}],name:"Transfer",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"dst",type:"address"},{indexed:!1,name:"wad",type:"uint256"}],name:"Deposit",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"src",type:"address"},{indexed:!1,name:"wad",type:"uint256"}],name:"Withdrawal",type:"event"}],useERC20=(_,C)=>useContract(_,ea.em,C),useCake=()=>{var _,C;let{chainId:L}=(0,eo.g)();return useContract(null!==(C=L&&(null===(_=ef.Ad[L])||void 0===_?void 0:_.address))&&void 0!==C?C:ef.Ad[eh.a_.MODE_MAINNET].address,ea.em)},useMasterchef=()=>{let{chainId:_}=(0,eo.g)(),{data:C}=(0,es.py)();return(0,eu.useMemo)(()=>(0,ed.kM)(null!=C?C:void 0,_),[C,_])},useSousChef=_=>{let{data:C}=(0,es.py)(),{chainId:L}=(0,eo.g)(),ea=(0,es.t_)({chainId:L});return(0,eu.useMemo)(()=>(0,Z.WA)({sousId:_,signer:C,chainId:L,publicClient:ea}),[_,C,L,ea])},useTradingCompetitionContractMoD=()=>{let{data:_}=(0,es.py)();return(0,eu.useMemo)(()=>(0,ed.gf)(null!=_?_:void 0),[_])},useVaultPoolContract=_=>{let{chainId:C}=(0,eo.g)(),{data:L}=(0,es.py)();return(0,eu.useMemo)(()=>_===ey.om.CakeVault?(0,ed.OJ)(null!=L?L:void 0,C):_===ey.om.CakeFlexibleSideVault?(0,ed.J7)(null!=L?L:void 0,C):null,[L,_,C])},useCakeVaultContract=()=>{let{data:_}=(0,es.py)(),{chainId:C}=(0,eo.g)();return(0,eu.useMemo)(()=>(0,ed.OJ)(null!=_?_:void 0,C),[_,C])},useIfoCreditAddressContract=()=>(0,eu.useMemo)(()=>(0,ed.Gc)(),[]);function useContract(_,C,L){let{chainId:Z}=(0,eo.g)(),ea=(null==L?void 0:L.chainId)||Z,{data:el}=(0,es.py)();return(0,eu.useMemo)(()=>{let L;if(!_||!C||!ea||!(L="string"==typeof _?_:_[ea]))return null;try{return(0,ed.uN)({abi:C,address:L,chainId:ea,signer:null!=el?el:void 0})}catch(_){return console.error("Failed to get contract",_),null}},[_,C,ea,el])}function useTokenContract(_){return useContract(_,ea.em)}function useWNativeContract(){var _;let{chainId:C}=(0,eo.g)();return useContract(C?null===(_=ep.FX[C])||void 0===_?void 0:_.address:void 0,ev)}function usePairContract(_,C){return useContract(_,ep.x9,C)}function useMulticallContract(){let{chainId:_}=(0,eo.g)();return useContract((0,ec.I8)(_),eb.a)}function usePositionManagerWrapperContract(_){let{chainId:C}=(0,eo.g)(),{data:L}=(0,es.py)();return(0,eu.useMemo)(()=>(0,ed.kq)(_,null!=L?L:void 0,C),[L,C,_])}function usePositionManagerAdepterContract(_){let{chainId:C}=(0,eo.g)(),{data:L}=(0,es.py)();return(0,eu.useMemo)(()=>(0,ed.U_)(_,null!=L?L:void 0,C),[L,C,_])}let useSIDContract=(_,C)=>(0,eu.useMemo)(()=>(0,ed.t$)(_,C),[_,C]),useUNSContract=(_,C,L)=>(0,eu.useMemo)(()=>(0,ed.NL)(_,C,L),[C,_,L]),useStableSwapNativeHelperContract=()=>{let{chainId:_}=(0,eo.g)(),{data:C}=(0,es.py)();return(0,eu.useMemo)(()=>(0,ed.eK)(null!=C?C:void 0,_),[C,_])};function useV3NFTPositionManagerContract(){return useContract(el.Z.nftPositionManager,em._R)}function useMasterchefV3(){let{chainId:_}=(0,eo.g)(),{data:C}=(0,es.py)();return(0,eu.useMemo)(()=>(0,ed._c)(null!=C?C:void 0,_),[C,_])}function useV3MigratorContract(){let{chainId:_}=(0,eo.g)(),{data:C}=(0,es.py)();return(0,eu.useMemo)(()=>(0,ed.Pv)(null!=C?C:void 0,_),[_,C])}let useV3AirdropContract=()=>{let{data:_}=(0,es.py)();return(0,eu.useMemo)(()=>(0,ed.OL)(null!=_?_:void 0),[_])},useInfoStableSwapContract=_=>useContract(_,eg.y),useVCakeContract=function(){let{chainId:_}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{chainId:C}=(0,eo.g)(),{data:L}=(0,es.py)();return(0,eu.useMemo)(()=>(0,ed.oU)(null!=L?L:void 0,null!=_?_:C),[L,_,C])},useRevenueSharingPoolContract=function(){let{chainId:_}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{chainId:C}=(0,eo.g)(),{data:L}=(0,es.py)();return(0,eu.useMemo)(()=>(0,ed.cj)(null!=L?L:void 0,null!=_?_:C),[L,_,C])},useVeCakeContract=()=>{let{chainId:_}=(0,eo.g)(),{data:C}=(0,es.py)();return(0,eu.useMemo)(()=>(0,ed.tu)(null!=C?C:void 0,_),[_,C])}
131,useGaugesVotingContract=()=>{let{chainId:_}=(0,eo.g)(),{data:C}=(0,es.py)();return(0,eu.useMemo)(()=>(0,ed.jI)(null!=C?C:void 0,_),[_,C])},useRevenueSharingCakePoolContract=()=>{let{chainId:_}=(0,eo.g)(),{data:C}=(0,es.py)();return(0,eu.useMemo)(()=>(0,ed.hQ)(null!=C?C:void 0,_),[C,_])},useRevenueSharingVeCakeContract=()=>{let{chainId:_}=(0,eo.g)(),{data:C}=(0,es.py)();return(0,eu.useMemo)(()=>(0,ed.XY)(null!=C?C:void 0,_),[C,_])}},52399:function(_,C,L){"use strict";L.d(C,{t:function(){return useDomainNameForAddress}});var Z=L(11189),ea=L(52983),es=L(52316),eo=L(40997),el=L(62370),eu=L(5573),ec=L(47480),ed=L(49727);let useSidNameForAddress=function(_){let C=!(arguments.length>1)||void 0===arguments[1]||arguments[1],{chainId:L}=(0,eu.g)(),Z=(0,ed.M)([97].includes(L)?"0xfFB52185b56603e0fd71De9de4F6f902f05EEA23":[1,3,4,5].includes(L)?"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e":[56].includes(L)?"0x08CEd32a7f3eeC915Ba84415e9C07a7286977956":[421613].includes(L)?"0x1f70fc8de5669eaa8C9ce72257c94500DC5ff2E4":[42161].includes(L)?"0x4a067EE58e73ac5E4a43722E008DFdf65B2bF348":"",L),{data:eh,status:ep}=(0,es.Z)(C&&_?["sidName",L,_.toLowerCase()]:null,async()=>{let C=`${_.toLowerCase().slice(2)}.addr.reverse`,L=(0,eo.V)(C),ea=await Z.read.resolver([L]);if(0===parseInt(ea,16))return{name:null};let es=(0,el.Rb)(ea),eu=await es.read.name([L]);return{name:eu}});return(0,ea.useMemo)(()=>({sidName:null==eh?void 0:eh.name,isLoading:ep!==ec.iF.Fetched}),[eh,ep])};var eh=L(9400),ep=L(29528),ef=L(89945);let em=(0,eh.v)({transport:(0,ep.d)(),chain:ef.y,batch:{multicall:{batchSize:204800,wait:16}},pollingInterval:6e3});function getUnsAddress(_){return[1].includes(_)?"0x049aba7510f45BA5b64ea9E658E342F904DB358D":[137].includes(_)?"0xa9a6A3626993D487d2Dbda3173cf58cA1a9D9e9f":""}let useUnsNameForAddress=function(_){let C=!(arguments.length>1)||void 0===arguments[1]||arguments[1],L=(0,ed.Q$)(getUnsAddress(1),Z.a_.MODE_MAINNET,void 0),eo=(0,ed.Q$)(getUnsAddress(137),void 0,em),{data:el,status:eu}=(0,es.Z)(C&&_?["unsName",_.toLowerCase()]:null,async()=>{let C=await L.read.reverseNameOf([_]);if(!C){let C=await eo.read.reverseNameOf([_]);return C?{name:C}:{name:null}}return{name:C}});return(0,ea.useMemo)(()=>({unsName:null==el?void 0:el.name,isLoading:eu!==ec.iF.Fetched}),[el,eu])};var eb=L(29517);let useDomainNameForAddress=function(_){let C=!(arguments.length>1)||void 0===arguments[1]||arguments[1],{chainId:L}=(0,eu.g)(),{sidName:es,isLoading:eo}=useSidNameForAddress(_,C),{unsName:el,isLoading:ec}=useUnsNameForAddress(_,C&&!es&&!eo),{data:ed,isLoading:eh}=(0,eb.F6)({address:_,chainId:Z.a_.MODE_MAINNET,enabled:L!==Z.a_.MODE_MAINNET&&L!==Z.a_.MODE_TESTNET}),{data:ep,isLoading:ef}=(0,eb.c9)({name:ed,chainId:Z.a_.MODE_MAINNET,enabled:L!==Z.a_.MODE_MAINNET&&L!==Z.a_.MODE_TESTNET});return(0,ea.useMemo)(()=>({domainName:ed||es||el,avatar:null!=ep?ep:void 0,isLoading:eh||ef||!ed&&eo||!es&&ec}),[es,el,eo,ec,ed,eh,ep,ef])}},95326:function(_,C,L){"use strict";L.d(C,{ZP:function(){return useEagerConnect_bmp},D0:function(){return getAccount},v0:function(){return useActiveHandle}});var Z=L(52983),ea=L(66244),es=L(82577),eo=L(25756),el=L(95438),eu=L(86004),ec=L(91038),ed=L(74348),eh=class extends ed._{connect(){return(0,eo.Cr)(this,arguments,function*(){let{chainId:_}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{let C=yield this.getProvider();if(!C)throw new ec.N;C.on&&(C.on("accountsChanged",this.onAccountsChanged),C.on("chainChanged",this.onChainChanged),C.on("disconnect",this.onDisconnect)),this.emit("message",{type:"connecting"});let L=yield this.getAccount(),Z=yield this.getChainId(),ea=this.isChainUnsupported(Z);if(_&&Z!==_){let C=yield this.switchChain(_);Z=C.id,ea=this.isChainUnsupported(Z)}return{account:L,chain:{id:Z,unsupported:ea},provider:C}}catch(_){if(this.isUserRejectedRequestError(_))throw new el.ab(_);if(-32002===_.code)throw new el.pT(_);throw _}})}getAccount(){return(0,eo.Cr)(this,null,function*(){let _=yield this.getProvider();if(!_)throw new ec.N;let C=yield _.request({method:"eth_accounts"});return(0,eu.K)(C[0])})}getChainId(){return(0,eo.Cr)(this,null,function*(){return 56})}getProvider(){return(0,eo.Cr)(this,null,function*(){return this.provider=this.getWeb3Provider(),this.provider})}constructor({chains:_,getWeb3Provider:C}){super({chains:_,options:{name:"BnInjected",shimDisconnect:!1,shimChainChangedDisconnect:!1}}),this.id="miniprogram",this.ready=!!window.bn,this.getWeb3Provider=C}},ep=L(29517),ef=L(54330),em=L(30012);let eb=new eh({chains:em.p5,getWeb3Provider:ef.ZP}),getAccount=()=>eb.getAccount(),useActive=()=>{let{connectAsync:_}=(0,ep.$4)();return(0,Z.useCallback)(()=>_({connector:eb}).catch(_=>{console.log("\uD83D\uDE80 ~ file: useEagerConnect.ts ~ line 183 ~ activate ~ error",_)}),[_])},useActiveHandle=()=>{let _=useActive(),{toastSuccess:C}=(0,ea.p)(),{t:L}=(0,es.Z)(),main=async()=>{console.log("~ before getAccount");let C=await getAccount();return console.log("~ after getAccount",C),new Promise(C=>{_().then(C)})};return async function(){let _=!(arguments.length>0)||void 0===arguments[0]||arguments[0];await main();let Z=await getAccount();Z&&_&&C(L("Success"),"Wallet connected")}};var useEagerConnect_bmp=()=>{}},52772:function(_,C,L){"use strict";L.d(C,{Z:function(){return useNativeCurrency}});var Z=L(47739),ea=L(11189),es=L(52983),eo=L(5573);function useNativeCurrency(){let{chainId:_}=(0,eo.g)();return(0,es.useMemo)(()=>{try{return Z._r.onChain(_)}catch(_){return Z._r.onChain(ea.a_.MODE_MAINNET)}},[_])}},10518:function(_,C,L){"use strict";L.d(C,{n:function(){return usePublicNodeWaitForTransaction}});var Z=L(7048),ea=L(9400),es=L(29528),eo=L(52983),el=L(59624),eu=L(5573);let ec=Z.zG.reduce((_,C)=>({..._,[C.id]:(0,ea.v)({chain:C,transport:(0,es.d)(C.rpcUrls.public.http[0],{timeout:15e3}),batch:{multicall:{batchSize:204800,wait:16}},pollingInterval:6e3})}),{});function usePublicNodeWaitForTransaction(){let{chainId:_}=(0,eu.g)(),C=(0,eo.useCallback)(async C=>ec[_]?ec[_].waitForTransactionReceipt(C):(0,el.Mn)({...C,chainId:_}),[_]);return{waitForTransaction:C}}},13986:function(_,C,L){"use strict";L.d(C,{PI:function(){return localStorageMiddleware},qf:function(){return fetchStatusMiddleware}});var Z=L(47480),ea=L(52983),es=L(49069);let fetchStatusMiddleware=_=>(C,L,ea)=>{let es=_(C,L,ea);return Object.defineProperty(es,"status",{get(){let _=Z.iF.Idle,C=void 0===es.data;return es.isValidating||es.error||!C?es.isValidating&&!es.error&&C?_=Z.iF.Fetching:C?es.error&&C&&(_=Z.iF.Failed):_=Z.iF.Fetched:_=Z.iF.Idle,_}})},localStorageMiddleware=_=>(C,L,Z)=>{let eo=_(C,L,Z),{data:el}=eo,eu=(0,ea.useMemo)(()=>(0,es.wE)(C),[C]);if((0,ea.useEffect)(()=>
131{if(el)try{var _;let C=JSON.stringify(el);null===(_=localStorage)||void 0===_||_.setItem(eu,C)}catch(_){}},[el,eu]),!el){var ec,ed;let _=null===(ec=localStorage)||void 0===ec?void 0:ec.getItem(eu);if(_)try{return Object.defineProperty(eo,"data",{value:JSON.parse(_)})}catch(_){null===(ed=localStorage)||void 0===ed||ed.removeItem(eu)}}return Object.defineProperty(eo,"data",{value:el})}},34977:function(_,C,L){"use strict";L.d(C,{o:function(){return useSessionChainId}});var Z=L(80440),ea=L(42843);let es=(0,Z.cn)(0),useSessionChainId=()=>(0,ea.KO)(es)},72959:function(_,C,L){"use strict";L.d(C,{g:function(){return useSwitchNetwork},n:function(){return useSwitchNetworkLocal}});var Z=L(82577),ea=L(11189),es=L(66244),eo=L(52983),el=L(88647),eu=L(29517),ec=L(7048),ed=L(34977),eh=L(67504);function useSwitchNetworkLocal(){let[,_]=(0,ed.o)();return(0,eo.useCallback)(C=>{_(C),(0,el.Z)("chain",C===ea.a_.MODE_MAINNET?null:ec.MS[C])},[_])}function useSwitchNetwork(){let[_,C]=(0,eh.c)(),{switchNetworkAsync:L,isLoading:ea,switchNetwork:el,...ec}=(0,eu.g0)(),{t:ed}=(0,Z.Z)(),{toastError:ep}=(0,es.p)(),{isConnected:ef}=(0,eu.mA)(),em=useSwitchNetworkLocal(),eb=ea||_,ey=(0,eo.useCallback)(async _=>{if(ef&&"function"==typeof L){if(eb)return;return C(!0),L(_).then(C=>{var L;return(null===(L=window.ethereum)||void 0===L?void 0:L.isTokenPocket)===!0&&(em(_),window.location.reload()),C}).catch(()=>{ep(ed("Error connecting, please retry and confirm in wallet!"))}).finally(()=>C(!1))}return new Promise(()=>{em(_)})},[ef,L,eb,C,ep,ed,em]),eg=(0,eo.useCallback)(_=>ef&&"function"==typeof el?el(_):em(_),[el,ef,em]),ev=(0,eo.useMemo)(()=>{var _;return!ef||!!L&&!(null===(_=window.ethereum)||void 0===_?void 0:_.isMathWallet)},[L,ef]);return{...ec,switchNetwork:eg,switchNetworkAsync:ey,isLoading:eb,canSwitch:ev}}},67504:function(_,C,L){"use strict";L.d(C,{c:function(){return useSwitchNetworkLoading}});var Z=L(80440),ea=L(42843);let es=(0,Z.cn)(!1),useSwitchNetworkLoading=()=>(0,ea.KO)(es)},45505:function(_,C,L){"use strict";L.d(C,{jV:function(){return Z.jV},zE:function(){return Z.zE}});var Z=L(33688);C.ZP=Z.Fg},62305:function(_,C,L){"use strict";L.d(C,{Cz:function(){return useBSCCakeBalance}});var Z=L(11189),ea=L(42166),es=L(86530),eo=L(97269),el=L(52983);L(32611);var eu=L(29517),ec=L(59624),ed=L(5573);let useTokenBalance=(_,C)=>useTokenBalanceByChain(_,C?Z.a_.MODE_MAINNET:void 0),useTokenBalanceByChain=(_,C)=>{let{address:L}=(0,eu.mA)(),{chainId:Z}=(0,ed.g)(),{data:ea,status:eh,...ep}=(0,eu.do)({chainId:C||Z,abi:ec.em,address:_,functionName:"balanceOf",args:[L||"0x"],enabled:!!L,watch:!0});return{...ep,fetchStatus:eh,balance:(0,el.useMemo)(()=>void 0!==ea?new eo.Z(ea.toString()):es.HW,[ea])}},useBSCCakeBalance=()=>{var _;let{balance:C,fetchStatus:L}=useTokenBalance(null===(_=ea.Ad[Z.a_.MODE_MAINNET])||void 0===_?void 0:_.address,!0);return{balance:BigInt(C.toString()),fetchStatus:L}};C.ZP=useTokenBalance},47200:function(_,C,L){"use strict";L.d(C,{g:function(){return useUserCakeLockStatus}});var Z=L(29517),ea=L(11189),es=L(14319),eo=L(49727),el=L(5573);let useUserCakeLockStatus=()=>{let{address:_}=(0,Z.mA)(),{chainId:C}=(0,el.g)(),L=(0,eo.Us)(),{data:eu=null}=(0,es.a)(["userCakeLockStatus",_],async()=>{if(!_)return;let[,,,,,C,,Z]=await L.read.userInfo([_]),ea=C.toString();return Z&&("0"===ea||Date.now()>1e3*parseInt(ea))},{enabled:!!(_&&C===ea.a_.MODE_MAINNET),refetchOnMount:!1,refetchOnWindowFocus:!1,refetchOnReconnect:!1});return eu}},49546:function(_,C,L){"use strict";L.d(C,{M:function(){return useUserNotUsCitizenAcknowledgement},X:function(){return ea}});var Z,ea,es=L(42843),eo=L(54367);(Z=ea||(ea={})).IFO="ifo",Z.PERPETUALS="perpetuals",Z.AFFILIATE_PROGRAM="affiliate-program";let el=(0,eo.O4)("pcs:NotUsCitizenAcknowledgement-perpetuals",!1),eu=(0,eo.O4)("pcs:NotUsCitizenAcknowledgement-ifo",!1),ec=(0,eo.O4)("pcs:NotUsCitizenAcknowledgement-affiliate-program",!1);function useUserNotUsCitizenAcknowledgement(_){switch(_){case"ifo":return(0,es.KO)(eu);case"affiliate-program":return(0,es.KO)(ec);default:return(0,es.KO)(el)}}},68264:function(_,C,L){"use strict";L.r(C),L.d(C,{default:function(){return _app}});var Z,ea,es,eo,el=L(97458),eu=L(59832),ec=L(96154),ed=L(64422),eh=L(97269),ep=L(11189),ef=L(28999),em=L(52983),eb=L(66244),ey=L(2054),eg=L(48723),ev=L(16169),ex=L(47287),e_=L(42933),ew=L(41335),eC=L(23690),eT={};!function main(_,C,L,Z){var ea,es,eo,el,eu,ec,ed,eh,ep,ef,em,eb=!!(_.Worker&&_.Blob&&_.Promise&&_.OffscreenCanvas&&_.OffscreenCanvasRenderingContext2D&&_.HTMLCanvasElement&&_.HTMLCanvasElement.prototype.transferControlToOffscreen&&_.URL&&_.URL.createObjectURL),ey="function"==typeof Path2D&&"function"==typeof DOMMatrix;function noop(){}function promise(L){var Z=C.exports.Promise,ea=void 0!==Z?Z:_.Promise;return"function"==typeof ea?new ea(L):(L(noop,noop),null)}var eg=(ea=function(){if(!_.OffscreenCanvas)return!1;var C=new OffscreenCanvas(1,1),L=C.getContext("2d");L.fillRect(0,0,1,1);var Z=C.transferToImageBitmap();try{L.createPattern(Z,"no-repeat")}catch(_){return!1}return!0}(),es=new Map,{transform:function(_){if(ea)return _;if(es.has(_))return es.get(_);var C=new OffscreenCanvas(_.width,_.height);return C.getContext("2d").drawImage(_,0,0),es.set(_,C),C},clear:function(){es.clear()}}),ev=(eu=Math.floor(1e3/60),ec={},ed=0,"function"==typeof requestAnimationFrame&&"function"==typeof cancelAnimationFrame?(eo=function(_){var 
131C=Math.random();return ec[C]=requestAnimationFrame(function onFrame(L){ed===L||ed+eu-1<L?(ed=L,delete ec[C],_()):ec[C]=requestAnimationFrame(onFrame)}),C},el=function(_){ec[_]&&cancelAnimationFrame(ec[_])}):(eo=function(_){return setTimeout(_,eu)},el=function(_){return clearTimeout(_)}),{frame:eo,cancel:el}),ex=(ef={},function(){if(eh)return eh;if(!L&&eb){var _=["var CONFETTI, SIZE = {}, module = {};","("+main.toString()+")(this, module, true, SIZE);","onmessage = function(msg) {","  if (msg.data.options) {","    CONFETTI(msg.data.options).then(function () {","      if (msg.data.callback) {","        postMessage({ callback: msg.data.callback });","      }","    });","  } else if (msg.data.reset) {","    CONFETTI && CONFETTI.reset();","  } else if (msg.data.resize) {","    SIZE.width = msg.data.resize.width;","    SIZE.height = msg.data.resize.height;","  } else if (msg.data.canvas) {","    SIZE.width = msg.data.canvas.width;","    SIZE.height = msg.data.canvas.height;","    CONFETTI = module.exports.create(msg.data.canvas);","  }","}"].join("\n");try{eh=new Worker(URL.createObjectURL(new Blob([_])))}catch(_){return"function"==typeof console.warn&&console.warn("\uD83C\uDF8A Could not load worker",_),null}!function(_){function execute(C,L){_.postMessage({options:C||{},callback:L})}_.init=function(C){var L=C.transferControlToOffscreen();_.postMessage({canvas:L},[L])},_.fire=function(C,L,Z){if(ep)return execute(C,null),ep;var ea=Math.random().toString(36).slice(2);return ep=promise(function(L){function workerDone(C){C.data.callback===ea&&(delete ef[ea],_.removeEventListener("message",workerDone),ep=null,eg.clear(),Z(),L())}_.addEventListener("message",workerDone),execute(C,ea),ef[ea]=workerDone.bind(null,{data:{callback:ea}})})},_.reset=function(){for(var C in _.postMessage({reset:!0}),ef)ef[C](),delete ef[C]}}(eh)}return eh}),e_={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,x:.5,y:.5,shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],disableForReducedMotion:!1,scalar:1};function prop(_,C,L){var Z;return Z=_&&null!=_[C]?_[C]:e_[C],L?L(Z):Z}function onlyPositiveInt(_){return _<0?0:Math.floor(_)}function toDecimal(_){return parseInt(_,16)}function colorsToRgb(_){return _.map(hexToRgb)}function hexToRgb(_){var C=String(_).replace(/[^0-9a-f]/gi,"");return C.length<6&&(C=C[0]+C[0]+C[1]+C[1]+C[2]+C[2]),{r:toDecimal(C.substring(0,2)),g:toDecimal(C.substring(2,4)),b:toDecimal(C.substring(4,6))}}function setCanvasWindowSize(_){_.width=document.documentElement.clientWidth,_.height=document.documentElement.clientHeight}function setCanvasRectSize(_){var C=_.getBoundingClientRect();_.width=C.width,_.height=C.height}function confettiCannon(C,ea){var es,eo=!C,el=!!prop(ea||{},"resize"),eu=!1,ec=prop(ea,"disableForReducedMotion",Boolean),ed=eb&&prop(ea||{},"useWorker")?ex():null,eh=eo?setCanvasWindowSize:setCanvasRectSize,ep=!!C&&!!ed&&!!C.__confetti_initialized,ef="function"==typeof matchMedia&&matchMedia("(prefers-reduced-motion)").matches;function fire(ea){var em,eb=ec||prop(ea,"disableForReducedMotion",Boolean),ex=prop(ea,"zIndex",Number);if(eb&&ef)return promise(function(_){_()});eo&&es?C=es.canvas:eo&&!C&&((em=document.createElement("canvas")).style.position="fixed",em.style.top="0px",em.style.left="0px",em.style.pointerEvents="none",em.style.zIndex=ex,C=em,document.body.appendChild(C)),el&&!ep&&eh(C);var e_={width:C.width,height:C.height};function onResize(){if(ed){var _={getBoundingClientRect:function(){if(!eo)return C.getBoundingClientRect()}};eh(_),ed.postMessage({resize:{width:_.width,height:_.height}});return}e_.width=e_.height=null}function done(){es=null,el&&(eu=!1,_.removeEventListener("resize",onResize)),eo&&C&&(document.body.removeChild(C),C=null,ep=!1)}return(ed&&!ep&&ed.init(C),ep=!0,ed&&(C.__confetti_initialized=!0),el&&!eu&&(eu=!0,_.addEventListener("resize",onResize,!1)),ed)?ed.fire(ea,e_,done):function(_,ea,eo){for(var el,eu,ec,ed,ep,ef,em,eb=prop(_,"particleCount",onlyPositiveInt),ex=prop(_,"angle",Number),e_=prop(_,"spread",Number),ew=prop(_,"startVelocity",Number),eC=prop(_,"decay",Number),eT=prop(_,"gravity",Number),eq=prop(_,"drift",Number),ek=prop(_,"colors",colorsToRgb),eS=prop(_,"ticks",Number),eE=prop(_,"shapes"),eM=prop(_,"scalar"),ej=!!prop(_,"flat"),eA=((el=prop(_,"origin",Object)).x=prop(el,"x",Number),el.y=prop(el,"y",Number),el),eD=eb,eI=[],eO=C.width*eA.x,eP=C.height*eA.y;eD--;
131)eI.push(function(_){var C=_.angle*(Math.PI/180),L=_.spread*(Math.PI/180);return{x:_.x,y:_.y,wobble:10*Math.random(),wobbleSpeed:Math.min(.11,.1*Math.random()+.05),velocity:.5*_.startVelocity+Math.random()*_.startVelocity,angle2D:-C+(.5*L-Math.random()*L),tiltAngle:(.5*Math.random()+.25)*Math.PI,color:_.color,shape:_.shape,tick:0,totalTicks:_.ticks,decay:_.decay,drift:_.drift,random:Math.random()+2,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:3*_.gravity,ovalScalar:.6,scalar:_.scalar,flat:_.flat}}({x:eO,y:eP,angle:ex,spread:e_,startVelocity:ew,color:ek[eD%ek.length],shape:eE[Math.floor(Math.random()*(eE.length-0))+0],ticks:eS,decay:eC,gravity:eT,drift:eq,scalar:eM,flat:ej}));return es?es.addFettis(eI):(eu=C,ep=eI.slice(),ef=eu.getContext("2d"),em=promise(function(_){function onDone(){ec=ed=null,ef.clearRect(0,0,ea.width,ea.height),eg.clear(),eo(),_()}ec=ev.frame(function update(){L&&!(ea.width===Z.width&&ea.height===Z.height)&&(ea.width=eu.width=Z.width,ea.height=eu.height=Z.height),ea.width||ea.height||(eh(eu),ea.width=eu.width,ea.height=eu.height),ef.clearRect(0,0,ea.width,ea.height),(ep=ep.filter(function(_){return function(_,C){C.x+=Math.cos(C.angle2D)*C.velocity+C.drift,C.y+=Math.sin(C.angle2D)*C.velocity+C.gravity,C.velocity*=C.decay,C.flat?(C.wobble=0,C.wobbleX=C.x+10*C.scalar,C.wobbleY=C.y+10*C.scalar,C.tiltSin=0,C.tiltCos=0,C.random=1):(C.wobble+=C.wobbleSpeed,C.wobbleX=C.x+10*C.scalar*Math.cos(C.wobble),C.wobbleY=C.y+10*C.scalar*Math.sin(C.wobble),C.tiltAngle+=.1,C.tiltSin=Math.sin(C.tiltAngle),C.tiltCos=Math.cos(C.tiltAngle),C.random=Math.random()+2);var L,Z,ea,es,eo,el,eu,ec,ed,eh,ep,ef,em,eb,ev,ex=C.tick++/C.totalTicks,e_=C.x+C.random*C.tiltCos,ew=C.y+C.random*C.tiltSin,eC=C.wobbleX+C.random*C.tiltCos,eT=C.wobbleY+C.random*C.tiltSin;if(_.fillStyle="rgba("+C.color.r+", "+C.color.g+", "+C.color.b+", "+(1-ex)+")",_.beginPath(),ey&&"path"===C.shape.type&&"string"==typeof C.shape.path&&Array.isArray(C.shape.matrix))_.fill((L=C.shape.path,Z=C.shape.matrix,ea=C.x,es=C.y,eo=.1*Math.abs(eC-e_),el=.1*Math.abs(eT-ew),eu=Math.PI/10*C.wobble,ec=new Path2D(L),(ed=new Path2D).addPath(ec,new DOMMatrix(Z)),(eh=new Path2D).addPath(ed,new DOMMatrix([Math.cos(eu)*eo,Math.sin(eu)*eo,-Math.sin(eu)*el,Math.cos(eu)*el,ea,es])),eh));else if("bitmap"===C.shape.type){var eq=Math.PI/10*C.wobble,ek=.1*Math.abs(eC-e_),eS=.1*Math.abs(eT-ew),eE=C.shape.bitmap.width*C.scalar,eM=C.shape.bitmap.height*C.scalar,ej=new DOMMatrix([Math.cos(eq)*ek,Math.sin(eq)*ek,-Math.sin(eq)*eS,Math.cos(eq)*eS,C.x,C.y]);ej.multiplySelf(new DOMMatrix(C.shape.matrix));var eA=_.createPattern(eg.transform(C.shape.bitmap),"no-repeat");eA.setTransform(ej),_.globalAlpha=1-ex,_.fillStyle=eA,_.fillRect(C.x-eE/2,C.y-eM/2,eE,eM),_.globalAlpha=1}else if("circle"===C.shape)_.ellipse?_.ellipse(C.x,C.y,Math.abs(eC-e_)*C.ovalScalar,Math.abs(eT-ew)*C.ovalScalar,Math.PI/10*C.wobble,0,2*Math.PI):(ep=C.x,ef=C.y,em=Math.abs(eC-e_)*C.ovalScalar,eb=Math.abs(eT-ew)*C.ovalScalar,ev=Math.PI/10*C.wobble,_.save(),_.translate(ep,ef),_.rotate(ev),_.scale(em,eb),_.arc(0,0,1,0,2*Math.PI,void 0),_.restore());else if("star"===C.shape)for(var eD=Math.PI/2*3,eI=4*C.scalar,eO=8*C.scalar,eP=C.x,eN=C.y,eL=5,eR=Math.PI/5;eL--;)eP=C.x+Math.cos(eD)*eO,eN=C.y+Math.sin(eD)*eO,_.lineTo(eP,eN),eD+=eR,eP=C.x+Math.cos(eD)*eI,eN=C.y+Math.sin(eD)*eI,_.lineTo(eP,eN),eD+=eR;else _.moveTo(Math.floor(C.x),Math.floor(C.y)),_.lineTo(Math.floor(C.wobbleX),Math.floor(ew)),_.lineTo(Math.floor(eC),Math.floor(eT)),_.lineTo(Math.floor(e_),Math.floor(C.wobbleY));return _.closePath(),_.fill(),C.tick<C.totalTicks}(ef,_)})).length?ec=ev.frame(update):onDone()}),ed=onDone}),(es={addFettis:function(_){return ep=ep.concat(_),em},canvas:eu,promise:em,reset:function(){ec&&ev.cancel(ec),ed&&ed()}}).promise)}(ea,e_,done)}return fire.reset=function(){ed&&ed.reset(),es&&es.reset()},fire}function getDefaultFire(){return em||(em=confettiCannon(null,{useWorker:!0,resize:!0})),em}C.exports=function(){return getDefaultFire().apply(this,arguments)},C.exports.reset=function(){getDefaultFire().reset()},C.exports.create=confettiCannon,C.exports.shapeFromPath=function(_){if(!ey)throw Error("path confetti are not supported in this browser");"string"==typeof _?Z=_:(Z=_.path,ea=_.matrix);var C=new Path2D(Z),L=document.createElement("canvas").getContext("2d");if(!ea){for(var Z,ea,es,eo,el=1e3,eu=1e3,ec=0,ed=0,eh=0;eh<1e3;eh+=2)for(var ep=0;ep<1e3;ep+=2)L.isPointInPath(C,eh,ep,"nonzero")&&(el=Math.min(el,eh),eu=Math.min(eu,ep),ec=Math.max(ec,eh),ed=Math.max(ed,ep));var ef=Math.min(10/(es=ec-el),10/(eo=ed-eu));ea=[ef,0,0,ef,-Math.round(es/2+el)*ef,-Math.round(eo/2+eu)*ef]}return{type:"path",path:Z,matrix:ea}}
131,C.exports.shapeFromText=function(_){var C,L=1,Z="#000000",ea='"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "EmojiOne Color", "Android Emoji", "Twemoji Mozilla", "system emoji", sans-serif';"string"==typeof _?C=_:(C=_.text,L="scalar"in _?_.scalar:L,ea="fontFamily"in _?_.fontFamily:ea,Z="color"in _?_.color:Z);var es=10*L,eo=""+es+"px "+ea,el=new OffscreenCanvas(es,es),eu=el.getContext("2d");eu.font=eo;var ec=eu.measureText(C),ed=Math.ceil(ec.actualBoundingBoxRight+ec.actualBoundingBoxLeft),eh=Math.ceil(ec.actualBoundingBoxAscent+ec.actualBoundingBoxDescent),ep=ec.actualBoundingBoxLeft+2,ef=ec.actualBoundingBoxAscent+2;ed+=4,eh+=4,(eu=(el=new OffscreenCanvas(ed,eh)).getContext("2d")).font=eo,eu.fillStyle=Z,eu.fillText(C,ep,ef);var em=1/L;return{type:"bitmap",bitmap:el.transferToImageBitmap(),matrix:[em,0,0,em,-ed*em/2,-eh*em/2]}}}(function(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:this||{}}(),eT,!1);var eq=eT.exports;eT.exports.create;var ek=L(82577),eS=L(96385),eE=L.n(eS),eM=L(62656),ej=L(14538),eA=L(52316),eD=L(29517),eI=L(98573),eO=L(49727),eP=L(1909),eN=L(49069),eL=L(42843),eR=L(54367);let eB=(0,eR.O4)("pcs:v3-airdrop-modal",!1);var eF=L(47480),hooks_useAirdropModalStatus=()=>{let{address:_}=(0,eD.mA)(),C=(0,eO.QH)(),{data:L,status:Z}=(0,eN.ZP)(_&&[_,"/airdrop-claimed"],async()=>C.read.isClaimed([_]),{revalidateOnFocus:!1,revalidateIfStale:!1,revalidateOnReconnect:!1}),{data:ea}=(0,eA.Z)(!L&&Z===eF.iF.Fetched&&"/airdrop-whitelist-json",async()=>(await fetch("https://raw.githubusercontent.com/pancakeswap/airdrop-v3-users/master/forFE.json")).json()),es=(0,em.useMemo)(()=>Z===eF.iF.Fetched&&!L&&(null==ea?void 0:ea[null==_?void 0:_.toLowerCase()]),[_,Z,L,ea]);return{shouldShowModal:es,v3WhitelistAddress:ea}};let eZ=eM.zo.img`
132  display: block;
133  height: 128px;
134  width: 128px;
135  margin: auto auto 10px auto;
136  border-radius: 50%;
137`,showConfetti=()=>{eq({particleCount:200,startVelocity:30,gravity:.5,spread:350,origin:{x:.5,y:.3}})};(Z=es||(es={})).t1="Tier 1",Z.t2="Tier 2",Z.t3="Tier 3",Z.t4="Tier 4";let ez="https://raw.githubusercontent.com/pancakeswap/airdrop-v3-users/master";var components_GlobalCheckClaimStatus=_=>{let{account:C,chainId:L}=(0,ef.Z)();return null},eU=L(12975),e$=L(97656),eV=L(35342),eW=L.n(eV);let eH=eW()(()=>L.e(2874).then(L.bind(L,12874)),{loadableGenerated:{webpack:()=>[12874]},ssr:!1}),FixedSubgraphHealthIndicator=()=>{let{pathname:_}=(0,e$.useRouter)(),C=_.includes("nfts");return C?(0,el.jsx)(eH,{subgraphName:"pancakeswap/nft-market"}):null};var eG=L(78711),eK=L(27136),eX=L(47240);function useFarmHarvestTransaction(){let _=(0,eX.v9)(_=>_.global);return{showModal:_.showFarmTransactionModal,pickedTx:_.pickedFarmTransactionModalTx}}var eY=L(23620),eQ=L(86602),eJ=L(70143),e1=L(14408),e0=L(61723),e2=L(51036),e5=L(49995);let e6=eM.zo.div`
138  position: relative;
139  margin-bottom: 4px;
140  padding-left: 8px;
141  &:before {
142    content: "";
143    position: absolute;
144    top: 8px;
145    left: 0px;
146    width: 4px;
147    height: 4px;
148    background-color: white;
149    border-radius: 50%;
150  }
151  &:last-child {
152    margin-bottom: 0px;
153  }
154`,e3=(0,eM.zo)(e0.Z)`
155  display: inline-block;
156  margin: 0 4px;
157  color: ${_=>{let{theme:C}=_;return C.colors.text}};
158  text-decoration: underline;
159`,FarmPending=_=>{let{pickedData:C}=_,{t:L}=(0,ek.Z)(),{amount:Z,lpSymbol:ea,type:es}=C.nonBscFarm,eo=L(es===e1.Ly.STAKE?"Staking":"Unstaking");return(0,el.jsxs)(ex.ZP,{mb:"24px",children:[(0,el.jsxs)(ex.ZP,{children:[(0,el.jsx)(eC.Z,{as:"span",children:eo}),(0,el.jsx)(eC.Z,{bold:!0,as:"span",m:"0 4px",children:`${Z} ${ea}`}),(0,el.jsx)(eC.Z,{as:"span",children:L("in progress..")})]}),(0,el.jsx)(eC.Z,{as:"span",children:L("It might take around 30 minutes for the cross-chain tx to confirm.")})]})},FarmResult=_=>{let{pickedData:C}=_,{t:L}=(0,ek.Z)(),{amount:Z,lpSymbol:ea,type:es,steps:eo}=C.nonBscFarm,eu=eo.find(_=>1===_.step),ec=L(es===e1.Ly.STAKE?"token have been staked in the Farm!":"token have been unstaked!"),{targetRef:ed,tooltip:eh,tooltipVisible:ep}=(0,e2.Z)((0,el.jsxs)(ev.Z,{flexDirection:"column",children:[(0,el.jsx)(e6,{children:L("You have received 0.0005 BNB as a first-time BNB Smart Chain user")}),(0,el.jsxs)(e6,{children:[L("You can swap more BNB on"),(0,el.jsx)(e3,{href:"/swap",children:L("Swap.")})]}),(0,el.jsxs)(e6,{children:[L("Explore more features like"),(0,el.jsx)(e3,{href:"/pools?chain=bsc",children:L("Pools")}),L("and"),(0,el.jsx)(e3,{href:"/prediction?chain=bsc",children:L("Win")}),L("with your ANDX earned.")]})]}),{placement:"top"});return(0,el.jsxs)(ex.ZP,{mb:"24px",children:[(0,el.jsxs)(ex.ZP,{children:[(0,el.jsx)(eC.Z,{bold:!0,as:"span",children:`${Z} ${ea}`}),(0,el.jsx)(eC.Z,{ml:"4px",as:"span",children:ec})]}),eu.isFirstTime&&(0,el.jsxs)(ex.ZP,{mt:"24px",children:[(0,el.jsx)(ev.Z,{children:(0,el.jsxs)(ex.ZP,{display:"inline-flex",children:[(0,el.jsx)(eC.Z,{bold:!0,as:"span",children:"0.005 BNB"}),ep&&eh,(0,el.jsx)(ex.ZP,{m:"0 4px",ref:ed,children:(0,el.jsx)(e5.Z,{color:"primary"})}),(0,el.jsx)(eC.Z,{as:"span",children:L("have been")})]})}),(0,el.jsx)(eC.Z,{children:L("earned to your Wallet!")})]})]})},FarmError=_=>{let{pickedData:C}=_,{t:L}=(0,ek.Z)(),{amount:Z,lpSymbol:ea,type:es,steps:eo}=C.nonBscFarm,eu=L(es===e1.Ly.STAKE?"The attempt to stake":"The attempt to unstake"),ec=L(es===e1.Ly.STAKE?"Token fail to stake.":"Token fail to unstake."),ed=eo.find(_=>1===_.step&&_.status===e1.np.FAIL);return(0,el.jsx)(ex.ZP,{mb:"24px",children:ed?(0,el.jsxs)(ex.ZP,{children:[(0,el.jsx)(eC.Z,{bold:!0,as:"span",children:`${Z} ${ea}`}),(0,el.jsx)(eC.Z,{as:"span",ml:"4px",children:ec})]}):(0,el.jsxs)(ex.ZP,{children:[(0,el.jsx)(eC.Z,{as:"span",children:eu}),(0,el.jsx)(eC.Z,{bold:!0,as:"span",m:"0 4px",children:`${Z} ${ea}`}),(0,el.jsx)(eC.Z,{as:"span",children:L("did not succeed on the BNB Chain side. Please copy the")}),(0,el.jsx)(eC.Z,{bold:!0,as:"span",m:"0 4px",children:L("Transaction ID")}),(0,el.jsx)(eC.Z,{as:"span",children:L("below and look for assistance from our helpful Community Admins or Chefs.")})]})})};var FarmTransactionModal_FarmInfo=_=>{let{pickedData:C}=_,{status:L}=C.nonBscFarm;return L===e1.np.FAIL?(0,el.jsx)(FarmError,{pickedData:C}):L===e1.np.PENDING?(0,el.jsx)(FarmPending,{pickedData:C}):(0,el.jsx)(FarmResult,{pickedData:C})},e4=L(1891),e8=L(63100),e9=L(68042),e7=L(30012),tr=L(10456),ta=L(82730),to=L(50043),FarmTransactionModal_FarmDetail=_=>{let{step:C,status:L}=_,{t:Z}=(0,ek.Z)(),ea=C.status===e1.np.FAIL,es=C.status===e1.np.PENDING,eo=(0,em.useMemo)(()=>e7.p5.find(_=>_.id===C.chainId),[C]),eu=L===e1.np.FAIL&&es;return(0,el.jsxs)(ev.Z,{mb:"16px",justifyContent:"space-between",children:[(0,el.jsxs)(ev.Z,{children:[(0,el.jsx)(tr.E,{width:20,height:20,chainId:C.chainId}),(0,el.jsx)(eC.Z,{fontSize:"14px",ml:"8px",children:null==eo?void 0:eo.name})]}),!eu&&(0,el.jsx)(ex.ZP,{children:es?(0,el.jsxs)(ev.Z,{children:[(0,el.jsx)(eC.Z,{color:"textSubtle",bold:!0,fontSize:"14px",children:Z("Loading")}),(0,el.jsx)(e4.Z,{ml:"5px",color:"textSubtle",spin:!0})]}):(0,el.jsxs)(ev.Z,{children:[ea&&(0,el.jsx)(e8.Z,{mr:"4px",color:"failure"}),C.tx&&(0,el.jsx)(e9.Z,{useBscCoinFallback:to.SA.includes(C.chainId),href:(0,ta.C)(C.tx,"transaction",C.chainId),children:(0,ta.X0)(C.chainId)})]})})]})},TransactionDetailModal_FarmTransactionModal=_=>{var C;let{onDismiss:L}=_,{t:Z}=(0,ek.Z)(),ea=(0,eJ.kf)(),{pickedTx:es}=useFarmHarvestTransaction(),eo=(0,em.useMemo)(()=>{var _;return null==ea?void 0:null===(_=ea[es.chainId])||void 0===_?void 0:_[es.tx]},[ea,es]),eu=(0,em.useMemo)(()=>{let _="";if(null==eo?void 0:eo.nonBscFarm){let{type:C,status:L}=(null==eo?void 0:eo.nonBscFarm)||{},ea=L===e1.np.PENDING;C===e1.Ly.STAKE?_=ea?Z("Staking"):Z("Staked!"):C===e1.Ly.UNSTAKE&&(_=ea?Z("Unstaking"):Z("Unstaked!"))}return _},[eo,Z]);return(0,el.jsx)(eg.ZP,{title:eu,onDismiss:L,children:(0,el.jsx)(eY.fe,{width:["100%","100%","100%","352px"],children:(0,el.jsxs)(ev.Z,{flexDirection:"column",children:[(0,el.jsx)(FarmTransactionModal_FarmInfo,{pickedData:eo}),(0,el.jsx)(eQ.m5,{padding:"16px 16px 0 16px",children:null==eo?void 0:null===(C=eo.nonBscFarm)||void 0===C?void 0:C.steps.map(_=>{var C;return(0,el.jsx)(FarmTransactionModal_FarmDetail,{step:_,status:null==eo?void 0:null===(C=eo.nonBscFarm)||void 0===C?void 0:C.status},_.step)})})]})})})},TransactionDetailModal=()=>{let{showModal:_}=useFarmHarvestTransaction(),C=(0,eG.TL)(),closeModal=()=>{C((0,eK.Xw)({showModal:!1}))};return(0,el.jsx)(ey.kw,{isOpen:_,closeOnOverlayClick:!0,onDismiss:closeModal,children:(0,el.jsx)(TransactionDetailModal_FarmTransactionModal,{onDismiss:closeModal})})},tl=L(88647),tu=L(7048),tc=L(60946),td=L(34977),th=L(5573);let useAccountEventListener=()=>{let{chainId:_}=(0,th.g)(),{connector:C,address:L}=(0,eD.mA)(),[,Z]=(0,td.o)(),ea=(0,eG.TL)(),es=(0,em.useMemo)(()=>{var _;return!!(null===(_=window.ethereum)||void 0===_?void 0:_.isBlocto)},[]);(0,em.useEffect)(()=>
159{if(L&&C){let handleUpdateEvent=C=>{var L,eo,el,eu;(null==C?void 0:null===(L=C.chain)||void 0===L?void 0:L.id)&&!(null!==(el=null==C?void 0:null===(eo=C.chain)||void 0===eo?void 0:eo.unsupported)&&void 0!==el&&el)&&((0,tl.Z)("chain",tu.MS[C.chain.id]),Z(C.chain.id)),es||(0,tc.J)(ea,{chainId:_,newChainId:null==C?void 0:null===(eu=C.chain)||void 0===eu?void 0:eu.id})},handleDeactiveEvent=()=>{(0,tc.J)(ea,{chainId:_})};return C.addListener("disconnect",handleDeactiveEvent),C.addListener("change",handleUpdateEvent),()=>{C.removeListener("disconnect",handleDeactiveEvent),C.removeListener("change",handleUpdateEvent)}}},[_,ea,L,C,Z,es])};var hooks_useEagerConnect=()=>{let _=(0,eD.ZR)(),{connectAsync:C,connectors:Z}=(0,eD.$4)();(0,em.useEffect)(()=>{var Z;(null===(Z=window)||void 0===Z?void 0:Z.parent)===window||window.cy?_.autoConnect():Promise.all([L.e(6723),L.e(3017)]).then(L.bind(L,10638)).then(L=>{let{SafeConnector:Z}=L,ea=new Z({chains:tu.zG});C({connector:ea}).catch(()=>{_.autoConnect()})})},[_,C,Z])},tp=L(95326),tf=L(10504),tm=L(87653),tb=L(66609),ty=L(47200);let tg=(0,tb.Z)("lockedNotificationShow",!0,()=>sessionStorage),LockedEndDescription=()=>{let{t:_}=(0,ek.Z)();return(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)(eC.Z,{children:_("The locked staking duration has ended.")}),(0,el.jsx)(tf.aB,{to:"/pools",prefetch:!1,children:(0,el.jsx)(e0.F,{color:"primary",children:_("Go to Pools")})})]})};var hooks_useLockedEndNotification=()=>{let{t:_}=(0,ek.Z)(),{toastInfo:C}=(0,eb.p)(),{mutate:L}=(0,eN.kY)(),{address:Z}=(0,eD.mA)(),ea=(0,ty.g)(),[es,eo]=(0,eL.KO)(tg);(0,em.useEffect)(()=>{Z?(0,tm.Z)(ea)||(eo(!0),L(["userCakeLockStatus",Z])):eo(!0)},[eo,Z,L,ea]),(0,em.useEffect)(()=>{C&&ea&&es&&(C(_("Cake Syrup Pool"),(0,el.jsx)(LockedEndDescription,{})),eo(!1))},[ea,C,es,eo,_])},tv=L(76752),hooks_useSentryUser=function(){let{address:_}=(0,eD.mA)();(0,em.useEffect)(()=>{_&&(0,tv.av)({account:_})},[_])},tx=L(72118),t_=L(45505),hooks_useThemeCookie=()=>{let _=(0,em.useContext)(eM.Ni),C=_.isDark?"dark":"light";(0,em.useEffect)(()=>{let _=tx.Z.get(t_.jV);_||_===C||tx.Z.set(t_.jV,C,{domain:t_.zE})},[C])},hooks_useUserAgent=()=>{(0,em.useEffect)(()=>{document.documentElement.setAttribute("data-useragent",navigator.userAgent)},[])},tw=L(98215),tC=L.n(tw),tT=L(99509),tq=L.n(tT),tk=L(51231),tS=L(55540),tE=L(98574),tM=L(29899),tj=L(94874);L(10063);var tA=L(92900);let tD={componentStack:null,error:null,eventId:null};let ErrorBoundary=class ErrorBoundary extends em.Component{constructor(_){super(_),ErrorBoundary.prototype.__init.call(this),this.state=tD,this._openFallbackReportDialog=!0;let C=(0,tv.s3)();C&&C.on&&_.showDialog&&(this._openFallbackReportDialog=!1,C.on("afterSendEvent",C=>{C.type||C.event_id!==this._lastEventId||(0,tE.jp)({..._.dialogOptions,eventId:this._lastEventId})}))}componentDidCatch(_,{componentStack:C}){let{beforeCapture:L,onError:Z,showDialog:ea,dialogOptions:es}=this.props;(0,tv.$e)(eo=>{if(function(_){let C=_.match(/^([^.]+)/);return null!==C&&parseInt(C[0])>=17}(em.version)&&(0,tM.VZ)(_)){let L=Error(_.message);L.name=`React ErrorBoundary ${_.name}`,L.stack=C,function(_,C){let L=new WeakMap;!function recurse(_,C){if(!L.has(_)){if(_.cause)return L.set(_,!0),recurse(_.cause,C);_.cause=C}}(_,C)}(_,L)}L&&L(eo,_,C);let el=(0,tv.Tb)(_,{captureContext:{contexts:{react:{componentStack:C}}},mechanism:{handled:!1}});Z&&Z(_,C,el),ea&&(this._lastEventId=el,this._openFallbackReportDialog&&(0,tE.jp)({...es,eventId:el})),this.setState({error:_,componentStack:C,eventId:el})})}componentDidMount(){let{onMount:_}=this.props;_&&_()}componentWillUnmount(){let{error:_,componentStack:C,eventId:L}=this.state,{onUnmount:Z}=this.props;Z&&Z(_,C,L)}__init(){this.resetErrorBoundary=()=>{let{onReset:_}=this.props,{error:C,componentStack:L,eventId:Z}=this.state;_&&_(C,L,Z),this.setState(tD)}}render(){let{fallback:_,children:C}=this.props,L=this.state;if(L.error){let C;return(C="function"==typeof _?_({error:L.error,componentStack:L.componentStack,resetError:this.resetErrorBoundary,eventId:L.eventId}):_,em.isValidElement(C))?C:(_&&tA.X&&tj.kg.warn("fallback did not produce a valid ReactElement"),null)}return"function"==typeof C?C():C}};var tI=L(12411),tO=L(17778),tP=L(48838),tN=L(32305);function _typeof(_){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(_){return typeof _}:function(_){return _&&"function"==typeof Symbol&&_.constructor===Symbol&&_!==Symbol.prototype?"symbol":typeof _})(_)}function _defineProperties(_,C){for(var L=0;L<C.length;L++){var Z=C[L];Z.enumerable=Z.enumerable||!1,Z.configurable=!0,"value"in Z&&(Z.writable=!0),Object.defineProperty(_,Z.key,Z)}}function _getPrototypeOf(_){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(_){return _.__proto__||Object.getPrototypeOf(_)})(_)}function _assertThisInitialized(_){if(void 0===_)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function _setPrototypeOf(_,C){return(_setPrototypeOf=Object.setPrototypeOf||function(_,C){return _.__proto__=C,_})(_,C)}function _defineProperty(_,C,L){return C in _?Object.defineProperty(_,C,{value:L,enumerable:!0,configurable:!0,writable:!0}):_[C]=L,_}
159var tL=function(_){var C;function PersistGate(){!function(_,C){if(!(_ instanceof C))throw TypeError("Cannot call a class as a function")}(this,PersistGate);for(var _,C,L,Z=arguments.length,ea=Array(Z),es=0;es<Z;es++)ea[es]=arguments[es];return L=(_=(C=_getPrototypeOf(PersistGate)).call.apply(C,[this].concat(ea)))&&("object"===_typeof(_)||"function"==typeof _)?_:_assertThisInitialized(this),_defineProperty(_assertThisInitialized(L),"state",{bootstrapped:!1}),_defineProperty(_assertThisInitialized(L),"_unsubscribe",void 0),_defineProperty(_assertThisInitialized(L),"handlePersistorState",function(){L.props.persistor.getState().bootstrapped&&(L.props.onBeforeLift?Promise.resolve(L.props.onBeforeLift()).finally(function(){return L.setState({bootstrapped:!0})}):L.setState({bootstrapped:!0}),L._unsubscribe&&L._unsubscribe())}),L}return!function(_,C){if("function"!=typeof C&&null!==C)throw TypeError("Super expression must either be null or a function");_.prototype=Object.create(C&&C.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),C&&_setPrototypeOf(_,C)}(PersistGate,_),_defineProperties(PersistGate.prototype,[{key:"componentDidMount",value:function(){this._unsubscribe=this.props.persistor.subscribe(this.handlePersistorState),this.handlePersistorState()}},{key:"componentWillUnmount",value:function(){this._unsubscribe&&this._unsubscribe()}},{key:"render",value:function(){return"function"==typeof this.props.children?this.props.children(this.state.bootstrapped):this.state.bootstrapped?this.props.children:this.props.loading}}]),C&&_defineProperties(PersistGate,C),PersistGate}(em.PureComponent);_defineProperty(tL,"defaultProps",{children:null,loading:null});var tR=L(69081),tB=L(60011),tF=L(26265),tZ=L(83787),tz=L(28276),tU=L(71609),t$=L(47117),tV=L(14319),tW=L(17224);function Updater(){let{chainId:_}=(0,th.g)(),C=(0,eD.t_)({chainId:_}),[L,Z]=(0,tW.n_)(),ea=(0,e$.useRouter)(),es=(0,em.useMemo)(()=>tz.rU.some(_=>ea.pathname.startsWith(_)),[ea.pathname]),eo=(0,tW.GF)(),el=(0,t$.R0)(),eu=(0,t$.v0)();(0,em.useEffect)(()=>{eo&&Z((0,tZ.Lr)())},[Z,eo]);let ec=(0,tZ.jn)(Z);return(0,eA.Z)(eo&&["first-fetch-token-list",el],()=>{Object.keys(el).forEach(_=>{let C=el[_];C.current||C.loadingRequestId||C.error||ec(_).catch(_=>console.debug("list added fetching error",_))})}),(0,tV.a)(["token-list"],async()=>Promise.all(Object.keys(el).map(_=>ec(_).catch(_=>console.debug("interval list fetching error",_)))),{enabled:!!(es&&eo&&L!==tW.E3),refetchInterval:6e5,staleTime:6e5,refetchOnWindowFocus:!1,refetchOnReconnect:!1,refetchOnMount:!1}),(0,em.useEffect)(()=>{eo&&Object.keys(tU.US).forEach(_=>{let C=el[_];C&&(C.current||C.loadingRequestId||C.error)||ec(_).catch(_=>console.debug("list added fetching error",_))})},[ec,C,el,eo]),(0,em.useEffect)(()=>{eo&&Object.keys(el).forEach(_=>{let C=el[_];if(C.current&&C.pendingUpdate){let L=(0,tF.X0)(C.current.version,C.pendingUpdate.version);switch(L){case tF.Q0.NONE:throw Error("unexpected no version bump");case tF.Q0.PATCH:case tF.Q0.MINOR:case tF.Q0.MAJOR:Z((0,tZ.xJ)(_))}}})},[Z,el,eu,eo]),null}
159var tH=L(33688),tG=L(53804),tK=L(34830),tX=L(3960);let CancelledError=class CancelledError extends Error{constructor(){super("Cancelled")}};let RetryableError=class RetryableError extends Error{};function retry(_,C){let L,{n:Z,minWait:ea,maxWait:es}=C,eo=!1,el=new Promise(async(C,el)=>{for(L=el;;){let L;try{L=await _(),eo||(C(L),eo=!0);break}catch(_){if(eo)break;if(Z<=0||!(_ instanceof RetryableError)){console.error(_),el(_),eo=!0;break}Z--}await function(_,C){var L;return L=_+Math.round(Math.random()*Math.max(0,C-_)),new Promise(_=>setTimeout(_,L))}(ea,es)}});return{promise:el,cancel:()=>{eo||(eo=!0,L(new CancelledError))}}}function updater_Updater(){let[_,C]=(0,eL.KO)(tG.$),L=(0,tH.Nr)(_.callListeners,100),Z=(0,tR.je)(),{chainId:ea}=(0,th.g)(),es=(0,eO.gq)(),eo=(0,em.useRef)(),el=(0,em.useMemo)(()=>(function(_,C){if(!_||!C)return{};let L=_[C];return L?Object.keys(L).reduce((_,C)=>{let Z=L[C];return _[C]=Object.keys(Z).filter(_=>{let C=parseInt(_);return!(C<=0)&&Z[C]>0}).reduce((_,C)=>Math.min(_,parseInt(C)),1/0),_},{}):{}})(L,ea),[L,ea]),eu=(0,em.useMemo)(()=>(function(_,C,L,Z){if(!L||!Z)return[];let ea=_[L];return ea?Object.keys(C).filter(ea=>{let es=_[L][ea];if(!es)return!0;let eo=C[ea],el=Z-(eo-1);return(!es.fetchingBlockNumber||!(es.fetchingBlockNumber>=el))&&(!es.blockNumber||es.blockNumber<el)}):Object.keys(C)})(_.callResults,el,ea,Z),[ea,_.callResults,el,Z]),ec=(0,em.useMemo)(()=>JSON.stringify(eu.sort()),[eu]);return(0,em.useEffect)(()=>{var _,L,el;if(!Z||!ea||!es)return;let eu=JSON.parse(ec);if(0===eu.length)return;let ed=eu.map(_=>(0,tX.gl)(_)),eh=function(_,C){if(C<1)throw Error("maxChunkSize must be gte 1");if(_.length<=C)return[_];let L=Math.ceil(_.length/C),Z=Math.ceil(_.length/L);return[...Array(L).keys()].map(C=>_.slice(C*Z,C*Z+Z))}(ed,500);(null===(_=eo.current)||void 0===_?void 0:_.blockNumber)!==Z&&(null===(el=eo.current)||void 0===el||null===(L=el.cancellations)||void 0===L||L.forEach(_=>_())),C((0,tX.nu)({calls:ed,chainId:ea,fetchingBlockNumber:Z})),eo.current={blockNumber:Z,cancellations:eh.map((_,L)=>{let{cancel:es,promise:el}=retry(()=>tK.$.fetchChunk({chainId:ea,chunk:_,minBlockNumber:Z}),{n:1/0,minWait:2500,maxWait:3500});return el.then(_=>{let{results:es,blockNumber:el}=_;eo.current={cancellations:[],blockNumber:Z};let ec=eh.slice(0,L).reduce((_,C)=>_+C.length,0),ed=ec+es.length,{erroredCalls:ep,results:ef}=eu.slice(ec,ed).reduce((_,C,L)=>{if(es[L].success){var Z;_.results[C]=null!==(Z=es[L].returnData)&&void 0!==Z?Z:null}else _.erroredCalls.push((0,tX.gl)(C));return _},{erroredCalls:[],results:{}});Object.keys(ef).length>0&&C((0,tX.zT)({chainId:ea,results:ef,blockNumber:el})),ep.length>0&&C((0,tX.wC)({calls:ep,chainId:ea,fetchingBlockNumber:el}))}).catch(L=>{var es;if(L instanceof CancelledError||(null==L?void 0:null===(es=L.message)||void 0===es?void 0:es.indexOf("revert exception"))>=0){console.debug("Cancelled fetch for blockNumber",Z);return}console.error("Failed to fetch multicall chunk",_,ea,L,Z),C((0,tX.wC)({calls:_,chainId:ea,fetchingBlockNumber:Z}))}),es})}},[ea,es,C,ec,Z]),null}var tY=L(88469),tQ=L.n(tY),tJ=L(57383),t1=L.n(tJ),t0=L(77734),t2=L.n(t0),t5=L(46401),t6=L(2114),t3=L(82880);let fetchCelerApi=async _=>{try{let C=await fetch(`${t3.uw}/searchByTxHash?tx=${_}`,{method:"get",headers:{Accept:"application/json","Content-Type":"application/json"}}),L=await C.json();if(!L.txSearchInfo[0])return{destinationTxHash:"",messageStatus:e1.kh.MS_UNKNOWN};let{message:Z}=L.txSearchInfo[0];return{destinationTxHash:Z[0].execution_tx,messageStatus:Z[0].msg_status}}catch(_){return console.error("Fetch Risk Token error: ",_),{destinationTxHash:"",messageStatus:e1.kh.MS_UNKNOWN}}};var updater=_=>{let{chainId:C}=_,L=(0,eD.t_)({chainId:C}),{t:Z}=(0,ek.Z)(),ea=(0,eG.TL)(),es=(0,eJ.tm)(C),{toastError:eo,toastSuccess:eu}=(0,eb.p)(),ec=(0,em.useRef)({});(0,em.useEffect)(()=>{C&&L&&t2()(t1()(es,_=>{var C;return C=ec.current,!_.receipt&&!C[_.hash]}),_=>{let getTransaction=async()=>{try{let ed=await L.waitForTransactionReceipt({hash:_.hash,timeout:6e4});ea((0,e1.Aw)({chainId:C,hash:_.hash,receipt:{blockHash:ed.blockHash,blockNumber:Number(ed.blockNumber),contractAddress:ed.contractAddress,from:ed.from,status:"success"===ed.status?1:0,to:ed.to,transactionHash:ed.transactionHash,transactionIndex:ed.transactionIndex}}));let eh="success"===ed.status?eu:eo;eh(Z("Transaction receipt"),(0,el.jsx)(eP.Y,{txHash:ed.transactionHash,txChainId:C})),tQ()(ec.current,{[_.hash]:es[_.hash]})}catch(C){if(console.error(C),C instanceof t5.Bh)throw new RetryableError(`Transaction not found: ${_.hash}`);if(C instanceof t5.Yb)throw new RetryableError(`Transaction receipt not found: ${_.hash}`);if(C instanceof t6.f)throw new RetryableError(`Block not found for transaction: ${_.hash}`);if(C instanceof t5.mc)throw new RetryableError(`Timeout reached when fetching transaction receipt: ${_.hash}`)}tQ()(ec.current,{[_.hash]:es[_.hash]})};retry(getTransaction,{n:10,minWait:5e3,maxWait:1e4})})},[C,L,es,ea,eu,eo,Z]);let ed=(0,em.useMemo)(()=>Object.keys(es).filter(_=>{var C,L;return(null===(C=es[_].receipt)||void 0===C?void 0:C.status)===1&&"non-bsc-farm"===es[_].t
159ype&&(null===(L=es[_].nonBscFarm)||void 0===L?void 0:L.status)===e1.np.PENDING}),[es]);return(0,eA.Z)(C&&!!(null==ed?void 0:ed.length)&&["checkNonBscFarmTransaction",tB.sR,C],()=>{ed.forEach(_=>{var L,ec;let ed=(null===(ec=es[_])||void 0===ec?void 0:null===(L=ec.nonBscFarm)||void 0===L?void 0:L.steps)||[];if(ed.length){let L=ed.findIndex(_=>_.status===e1.np.PENDING),ec=L-1;if(ec>=0){let eh=ed[ec],ep=eh.tx||_;fetchCelerApi(ep).then(ec=>{var eh,ep,ef,em,eb,ey,eg;let ev=es[_],{destinationTxHash:e_,messageStatus:ew}=ec,eT=ew===e1.kh.MS_COMPLETED?e1.np.SUCCESS:ew===e1.kh.MS_FAIL?e1.np.FAIL:e1.np.PENDING,eq=eT===e1.np.SUCCESS&&ed.length===L+1,ek=null==ev?void 0:null===(ep=ev.nonBscFarm)||void 0===ep?void 0:null===(eh=ep.steps)||void 0===eh?void 0:eh.map((_,C)=>{let Z={};return C===L&&(Z={..._,status:eT,tx:e_}),{..._,...Z}});ea((0,e1.Aw)({chainId:C,hash:ev.hash,receipt:{...ev.receipt},nonBscFarm:{...ev.nonBscFarm,steps:ek,status:eq?e1.np.SUCCESS:null==ev?void 0:null===(ef=ev.nonBscFarm)||void 0===ef?void 0:ef.status}}));let eS=(null===(eb=es[_])||void 0===eb?void 0:null===(em=eb.nonBscFarm)||void 0===em?void 0:em.type)===e1.Ly.STAKE;if(eq){let _=eS?Z("Staked!"):Z("Unstaked!");eu(_,(0,el.jsx)(eP.Y,{txHash:e_,txChainId:ed[L].chainId,children:eS?Z("Your LP Token have been staked in the Farm!"):Z("Your LP Token have been unstaked in the Farm!")}))}else if(eT===e1.np.FAIL){let _=eS?Z("Stake Error"):Z("Unstake Error"),C=eS?Z("Token fail to stake."):Z("Token fail to unstake.");eo(_,(0,el.jsx)(eP.Y,{txHash:e_,txChainId:ed[L].chainId,children:(0,el.jsxs)(ex.ZP,{children:[(0,el.jsx)(eC.Z,{as:"span",bold:!0,children:`${null==ev?void 0:null===(ey=ev.nonBscFarm)||void 0===ey?void 0:ey.amount} ${null==ev?void 0:null===(eg=ev.nonBscFarm)||void 0===eg?void 0:eg.lpSymbol}`}),(0,el.jsx)(eC.Z,{as:"span",ml:"4px",children:C})]})}))}}).catch(C=>{console.error(`Failed to check harvest transaction hash: ${_}`,C)})}}})},{refreshInterval:tB.sR,errorRetryInterval:tB.sR,onError:_=>{console.error("[ERROR] updater checking non BSC farm transaction error: ",_)}}),null};function Updaters(){return(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)(Updater,{}),e7.p5.map(_=>(0,el.jsx)(updater,{chainId:_.id},`trxUpdater#${_.id}`)),(0,el.jsx)(updater_Updater,{})]})}function Blocklist(_){let{children:C}=_,{address:L}=(0,eD.mA)(),Z=(0,em.useMemo)(()=>!!(L&&-1!==tB.mj.indexOf(L)),[L]);return Z?(0,el.jsx)("div",{children:"Blocked address"}):(0,el.jsx)(el.Fragment,{children:C})}let t4={titleTemplate:"%s | Andex",defaultTitle:"Andex",description:"Cheaper and faster than Uniswap? Discover Andex, the leading DEX on MODE with the best farms in DeFi and a lottery for ANDX.",twitter:{cardType:"summary_large_image",handle:"@Andex",site:"@Andex"},openGraph:{title:" Andex - A next evolution DeFi exchange on MODE",description:"The most popular AMM on BSC by user count! Earn ANDX through yield farming or win it in the Lottery, then stake it in Syrup Pools to earn more tokens! Initial Farm Offerings (new token launch model pioneered by Andex), NFTs, and more, on a platform you can trust."}};var t8=L(46074),t9=L(89681),t7=L(22773),ni=L(38531),nr=L(50231),na=L(19043);let no=(0,eM.zo)(eY.xB)`
160  background: ${_=>{let{theme:C}=_;return C.colors.gradientBubblegum}};
161  padding-bottom: 24px;
162  padding-top: 24px;
163`;var components_DisclaimerModal=_=>{let{id:C,onSuccess:L,onDismiss:Z,checks:ea,header:es,subtitle:eo,hideConfirm:eu,modalHeader:ec,footer:ed,headerStyle:eh,footerStyle:ep}=_,[ef,eb]=(0,em.useState)(ea||[]),{t:ey}=(0,ek.Z)(),eg=(0,em.useCallback)(_=>{let C=ef.map(C=>_===C.key?{...C,value:!C.value}:C);eb(C)},[ef]),ew=(0,em.useCallback)(()=>{L(),null==Z||Z()},[L,Z]);return(0,el.jsxs)(eY.F0,{title:ec||ey("Welcome!"),style:{minWidth:"320px"},id:C,children:[(0,el.jsx)(no,{children:(0,el.jsx)(eY.r6,{children:(0,el.jsx)(nr.Z,{scale:"lg",children:ec||ey("Welcome!")})})}),(0,el.jsxs)(eY.fe,{p:"24px",maxWidth:["100%","100%","100%","400px"],children:[(0,el.jsxs)(ex.ZP,{maxHeight:"300px",overflowY:"auto",children:[(0,el.jsx)(nr.Z,{as:"h3",mb:"24px",style:eh,children:es}),eo&&(0,el.jsx)(eC.Z,{as:"p",color:"textSubtle",mb:"24px",children:eo}),ef.map(_=>(0,el.jsx)("label",{htmlFor:_.key,style:{display:"block",cursor:"pointer",marginBottom:"24px"},children:(0,el.jsxs)(ev.Z,{alignItems:"center",children:[(0,el.jsx)("div",{style:{flex:"none",alignSelf:"flex-start",paddingTop:"8px"},children:(0,el.jsx)(na.Z,{id:_.key,scale:"sm",checked:_.value,onChange:()=>eg(_.key)})}),(0,el.jsx)(eC.Z,{ml:"8px",children:_.content})]})},_.key))]}),ed&&(0,el.jsx)(nr.Z,{as:"h3",mb:"24px",style:ep,children:ed}),!eu&&(0,el.jsx)(e_.Z,{id:`${C}-continue`,width:"100%",onClick:ew,disabled:ef.some(_=>!_.value),children:ey("Continue")})]})]})},nl=L(49546);let nu={en:"en",ko:"ko",ja:"ja",de:"de",fr:"fr",id:"id",tr:"tr",hi:"hi",ru:"ru",vi:"vi",pl:"pl",uk:"uk-UA","es-ES":"es","zh-cn":"zh-CN","pt-br":"pt-BR"},perpLangMap=_=>_&&nu[_]?nu[_]:"en",perpTheme=_=>_?"dark":"light",mapPerpChain=_=>"eth",nc=[ep.a_.MODE_MAINNET],getPerpetualUrl=_=>{let{chainId:C,languageCode:L,isDark:Z}=_;if(!C||!L)return"https://perp.pancakeswap.finance/en/futures/v2/BTCUSD";let ea=mapPerpChain(C),es=nc.includes(C)?"v2/":"";return`https://perp.pancakeswap.finance/${perpLangMap(L)}/futures/${es}BTCUSD?theme=${perpTheme(Z)}&chain=${ea}`};var nd=(0,em.memo)(_=>{let{id:C,title:L,checks:Z,onDismiss:ea}=_,{t:es,currentLanguage:{code:eo}}=(0,ek.Z)(),[,eu]=(0,nl.M)(C),{chainId:ec}=(0,th.g)(),{isDark:ed}=(0,eM.Fg)(),eh=(0,em.useCallback)(()=>
163{if(eu(!0),C===nl.X.PERPETUALS){let _=getPerpetualUrl({chainId:ec,languageCode:eo,isDark:ed});window.open(_,"_blank","noopener noreferrer")}null==ea||ea()},[C,eu,ea,ec,eo,ed]);return(0,el.jsx)(components_DisclaimerModal,{modalHeader:L,id:C,header:es("To proceed to %title%, please check the checkbox below:",{title:L}),checks:null!=Z?Z:[{key:"checkbox",content:es("I confirm that I am not from a prohibited jurisdiction and I am eligible to trade derivatives on this platform.")}],footer:(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)(eC.Z,{as:"span",children:es("By proceeding, you agree to comply with our")}),(0,el.jsx)(e0.Z,{external:!0,m:"0 4px",display:"inline",href:"/terms-of-service",children:es("terms and conditions")}),(0,el.jsx)(eC.Z,{as:"span",children:es("and all relevant laws and regulations.")})]}),onSuccess:eh,onDismiss:ea,headerStyle:{fontWeight:400,fontSize:18},footerStyle:{fontWeight:600,fontSize:18}})}),nh=L(47739),np=L(17258),nf=L(87529),nm=L(38946),nb=L(67652),ny=L(44056),ng=L(54406),nv=L(72959);let NetworkSelect=_=>{let{switchNetwork:C,chainId:L}=_,{t:Z}=(0,ek.Z)();return(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)(ex.ZP,{px:"16px",py:"8px",children:(0,el.jsx)(eC.Z,{color:"textSubtle",children:Z("Select a Network")})}),(0,el.jsx)(np.v,{}),e7.p5.filter(_=>_.id===L||!("testnet"in _)||!_.testnet).map(_=>(0,el.jsxs)(np.l,{style:{justifyContent:"flex-start"},onClick:()=>_.id!==L&&C(_.id),children:[(0,el.jsx)(tr.E,{chainId:_.id}),(0,el.jsx)(eC.Z,{color:_.id===L?"secondary":"text",bold:_.id===L,pl:"12px",children:_.name})]},_.id))]})},WrongNetworkSelect=_=>{var C,L,Z,ea;let{switchNetwork:es,chainId:eo}=_,{t:eu}=(0,ek.Z)(),{targetRef:ec,tooltip:ed,tooltipVisible:eh}=(0,e2.Z)(eu("The URL you are accessing (Chain id: %chainId%) belongs to %network%; mismatching your wallet’s network. Please switch the network to continue.",{chainId:eo,network:null!==(Z=null===(C=e7.p5.find(_=>_.id===eo))||void 0===C?void 0:C.name)&&void 0!==Z?Z:"Unknown network"}),{placement:"auto-start",hideTimeout:0}),{chain:ef}=(0,eD.LN)(),eb=(0,th.Z)()||ep.a_.MODE_MAINNET,[,ey]=(0,td.o)(),eg=null!==(ea=null===(L=e7.p5.find(_=>_.id===eb))||void 0===L?void 0:L.name)&&void 0!==ea?ea:"MODE",[ew,eT]=function(){let[_,C]=(0,em.useState)(!1),[L,Z]=(0,em.useState)(null);return(0,em.useEffect)(()=>{if(L)return L.addEventListener("mouseover",()=>C(!0)),L.addEventListener("mouseout",()=>C(!1)),()=>{L.removeEventListener("mouseover",()=>C(!1)),L.removeEventListener("mouseout",()=>C(!0))}},[L]),[Z,_]}();return(0,el.jsxs)(el.Fragment,{children:[(0,el.jsxs)(ev.Z,{ref:ec,alignItems:"center",px:"16px",py:"8px",children:[(0,el.jsx)(nf.Z,{color:"textSubtle"}),(0,el.jsx)(eC.Z,{color:"textSubtle",pl:"6px",children:eu("Please switch network")})]}),eh&&ed,(0,el.jsx)(np.v,{}),ef&&(0,el.jsxs)(np.l,{ref:ew,onClick:()=>ey(ef.id),style:{justifyContent:"flex-start"},children:[(0,el.jsx)(tr.E,{chainId:ef.id}),(0,el.jsx)(eC.Z,{color:"secondary",bold:!0,pl:"12px",children:ef.name})]}),(0,el.jsx)(ex.ZP,{px:"16px",pt:"8px",children:eT?(0,el.jsx)(nm.Z,{color:"text"}):(0,el.jsx)(nb.Z,{color:"text"})}),(0,el.jsxs)(np.l,{onClick:()=>es(eb),style:{justifyContent:"flex-start"},children:[(0,el.jsx)(tr.E,{chainId:eb}),(0,el.jsx)(eC.Z,{pl:"12px",children:eg})]}),(0,el.jsx)(e_.Z,{mx:"16px",my:"8px",scale:"sm",onClick:()=>es(eb),children:eu("Switch network in wallet")})]})},nx={[ep.a_.MODE_MAINNET]:"MODE",[ep.a_.MODE_TESTNET]:"tMODE"},NetworkSwitcher=()=>{var _,C,L,Z;let{t:ea}=(0,ek.Z)(),{chainId:es,isWrongNetwork:eo,isNotMatched:eu}=(0,th.g)(),{pendingChainId:ec,isLoading:ed,canSwitch:eh,switchNetworkAsync:ep}=(0,nv.g)(),ef=(0,e$.useRouter)();(0,ng.V)();let eb=(0,em.useMemo)(()=>e7.p5.find(_=>_.id===(ed&&ec||es)),[ed,ec,es]),ey=null!==(Z=(null==eb?void 0:eb.id)?null!==(L=nx[eb.id])&&void 0!==L?L:null===(_=nh.B5[eb.id])||void 0===_?void 0:_.symbol:void 0)&&void 0!==Z?Z:null==eb?void 0:null===(C=eb.nativeCurrency)||void 0===C?void 0:C.symbol,{targetRef
163:eg,tooltip:ev,tooltipVisible:e_}=(0,e2.Z)(ea("Unable to switch network. Please try it on your wallet"),{placement:"bottom"}),ew=!eh;return!es||ef.pathname.includes("/info")?null:(0,el.jsxs)(ex.ZP,{ref:ew?eg:null,height:"100%",children:[ew&&e_&&ev,(0,el.jsx)(ny.ZP,{mr:"8px",placement:"bottom",variant:ed?"pending":eo?"danger":"default",avatarSrc:`/images/chains/${es}.png`,disabled:ew,text:ed?ea("Requesting"):eo?ea("Network"):eb?(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)(ex.ZP,{display:["none",null,null,null,null,"block"],children:eb.name}),(0,el.jsx)(ex.ZP,{display:["block",null,null,null,null,"none"],children:ey})]}):ea("Select a Network"),children:()=>eu?(0,el.jsx)(WrongNetworkSelect,{switchNetwork:ep,chainId:es}):(0,el.jsx)(NetworkSelect,{switchNetwork:ep,chainId:es})})]})};var n_=L(44610),nw=L(14063),nC=L(65098);let nT=(0,eM.zo)(ev.Z)`
164  overflow: hidden;
165  height: 100%;
166  padding: 12px;
167  align-items: center;
168  background: linear-gradient(
169      0deg,
170      rgba(39, 38, 44, 0.4),
171      rgba(39, 38, 44, 0.4)
172    ),
173    linear-gradient(180deg, #8051d6 0%, #492286 100%);
174  ${_=>{let{theme:C}=_;return C.mediaQueries.md}} {
175    padding: 0px;
176    background: linear-gradient(180deg, #8051d6 0%, #492286 100%);
177  }
178`,nq=(0,eM.zo)(ev.Z)`
179  width: 100%;
180  height: 100%;
181  justify-content: center;
182  align-items: center;
183`,nk=eM.zo.div`
184  background: rgba(39, 38, 44, 0.4);
185  border-radius: 16px;
186  padding: 8px;
187  width: 60%;
188  height: 80%;
189  display: flex;
190  align-items: center;
191  flex-wrap: wrap;
192
193  & ${eC.Z} {
194    flex-shrink: 0;
195    margin-right: 4px;
196  }
197`,nS="https://andex.vercel.app";var components_PhishingWarningBanner=()=>{let{t:_}=(0,ek.Z)(),[,C]=(0,nC.vc)(),{isMobile:L,isMd:Z}=(0,n_.Z)(),ea=(0,em.useMemo)(()=>{let C=_("please make sure you're visiting %domain% - check the URL carefully.",{domain:nS});return C.split(/(https:\/\/pancakeswap.finance)/g)},[_]),es=(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)(eC.Z,{as:"span",color:"warning",small:!0,bold:!0,textTransform:"uppercase",children:_("Phishing warning: ")}),ea.map((_,C)=>(0,el.jsx)(eC.Z,{small:!0,as:"span",bold:_===nS,color:_===nS?"#FFFFFF":"#BDC2C4",children:_},C))]});return(0,el.jsx)(nT,{className:"warning-banner",children:L||Z?(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)(ex.ZP,{children:es}),(0,el.jsx)(tO.Z,{onClick:C,variant:"text",children:(0,el.jsx)(nw.Z,{color:"#FFFFFF"})})]}):(0,el.jsxs)(el.Fragment,{children:[(0,el.jsxs)(nq,{children:[(0,el.jsx)("img",{src:"/images/decorations/phishing-warning-bunny.webp",alt:"phishing-warning",width:"92px",onError:_=>{let C="/images/decorations/phishing-warning-bunny.png";_.currentTarget.src.endsWith(C)||(_.currentTarget.src=C)}}),(0,el.jsx)(nk,{children:es})]}),(0,el.jsx)(tO.Z,{onClick:C,variant:"text",children:(0,el.jsx)(nw.Z,{color:"#FFFFFF"})})]})})},nE=L(31180),nM=L(86530),nj=L(2861),nA=L(35365),nD=L(28239),nI=L(41190),nO=L(47594),nP=L(39549),nN=L(14348),nL=L(12513),nR=L.n(nL),nB=L(47116),nF=L(52399),nZ=L(74609);let nz=eM.zo.div`
198  background-color: ${_=>{let{theme:C}=_;return C.colors.failure}};
199  border-radius: 50%;
200  height: 8px;
201  width: 8px;
202`;var UserMenu_ProfileUserMenuItem=_=>{let{isLoading:C,hasProfile:L,disabled:Z}=_,{address:ea}=(0,eD.mA)(),{t:es}=(0,ek.Z)();
202return C?(0,el.jsx)(np.l,{children:(0,el.jsx)(nZ.Z,{height:"24px",width:"35%"})}):L?(0,el.jsx)(nR(),{href:`/profile/${null==ea?void 0:ea.toLowerCase()}/achievements`,passHref:!0,children:(0,el.jsx)(np.l,{disabled:Z,children:es("Your Profile")})}):(0,el.jsx)(nR(),{href:"/create-profile",passHref:!0,children:(0,el.jsx)(np.l,{disabled:Z,children:(0,el.jsxs)(ev.Z,{alignItems:"center",justifyContent:"space-between",width:"100%",children:[es("Make a Profile"),(0,el.jsx)(nz,{})]})})})},nU=L(95923),n$=L(52832),nV=L(11556),nW=L(71363),nH=L(63420),nG=L(84277),nK=L(46875),nX=L(11320),nY=L(57512),nQ=L(52772),nJ=L(62305),n1=L(80642),n0=L(42199),n2=L(5885),n5=L(18292),n6=L(63135),n3=L(18680),n4=L(65801),n8=L(32611),n9=L(53337),n7=L(11286),ir=L.n(n7);let ia=[{inputs:[],name:"startBlock",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"bonusEndBlock",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"}],getActivePools=async(_,C)=>{let L=(0,n9.yc)(_),Z=L.filter(_=>0!==_.sousId).filter(_=>!1===_.isFinished||void 0===_.isFinished),ea=Z.map(_=>{let{contractAddress:C}=_;return{abi:ia,address:C,functionName:"startBlock"}}),es=Z.map(_=>{let{contractAddress:C}=_;return{abi:ia,address:C,functionName:"bonusEndBlock"}}),eo=[...ea,...es],el=await (0,e7.z2)({chainId:_}).multicall({contracts:eo,allowFailure:!1}),eu=C?BigInt(C):await (0,e7.z2)({chainId:_}).getBlockNumber(),ec=ir()(el,el.length/2),ed=ec[0],eh=ec[1];return Z.reduce((_,C,L)=>{let Z=ed[L]?ed[L]:null,ea=eh[L]?eh[L]:null;return!Z||!ea||Z>=eu||ea<=eu?_:[..._,C]},[])};var is=L(82126);async function getScores(_,C,L,Z){let ea=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"latest",es=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"https://score.snapshot.org/api/scores";try{let eo=await fetch(es,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({params:{space:_,network:L,snapshot:ea,strategies:C,addresses:Z}})}),el=await eo.json();return el.result.scores}catch(_){return Promise.reject(_)}}var io=L(89378);let il={v0:"0xc0FeBE244cE1ea66d27D23012B3D616432433F42",v1:"0x67Dfbb197602FDB9A9D305cC7A43b95fB63a0A56"},cakePoolBalanceStrategy=_=>({name:"contract-call",params:{address:il[_],decimals:18,methodABI:{inputs:[{internalType:"address",name:"_user",type:"address"}],name:"getCakePoolBalance",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"}}}),iu=(0,e7.z2)({chainId:ep.a_.MODE_MAINNET});var hooks_useCakeBenefits=()=>{let{address:_}=(0,eD.mA)(),{currentLanguage:{locale:C}}=(0,ek.Z)(),L=(0,eO.n8)(),Z=(0,n8.O9)(),ea=(0,tR.Mm)(ep.a_.MODE_MAINNET),{data:es,status:eo}=(0,eN.ZP)(_&&ea&&["cakeBenefits",_],async()=>{let[es,eo,el,eu]=await iu.multicall({contracts:[{address:Z,abi:n9.dO,functionName:"userInfo",args:[_]},{address:Z,abi:n9.dO,functionName:"calculatePerformanceFee",args:[_]},{address:Z,abi:n9.dO,functionName:"calculateOverdueFee",args:[_]},{address:Z,abi:n9.dO,functionName:"getPricePerFullShare"}],allowFailure:!1}),ec={shares:es[0],lastDepositedTime:es[1],cakeAtLastUserAction:es[2],lastUserActionTime:es[3],lockStartTime:es[4],lockEndTime:es[5],userBoostedShare:es[6],locked:es[7],lockedAmount:es[8]},ed=new eh.Z(eo.toString()),ef=new eh.Z(el.toString()),em=eu?new eh.Z(eu.toString()):nM.HW,eb=new eh.Z(ec.userBoostedShare.toString()),ey=new eh.Z(ec.shares.toString()),eg=(0,n4.cP)({userShares:ey,locked:ec.locked,lockEndTime:ec.lockEndTime.toString()}),ev=[n4.PS.None,n4.PS.Flexible].includes(eg)?"0.00":(0,is.ur)(ey,em,void 0,void 0,ef.plus(ed).plus(eb)).cakeAsNumberBalance.toLocaleString("en",{maximumFractionDigits:3}),ex="",e_={vaultScore:"0",totalScore:"0"};if(eg===n4.PS.Locked){let C=await L.read.getUserCredit([_]);ex=(0,n1.mW)(new eh.Z(C.toString())).toLocaleString("en",{maximumFractionDigits:3});let Z=await getActivePools(ep.a_.MODE_MAINNET,ea),es=Z.map(_=>{let{contractAddress:C}=_;return C}),[eo,el]=await getScores(io.O1,[cakePoolBalanceStrategy("v1"),{name:"contract-call",params:{address:il.v1,decimals:18,args:["%{address}
202",es],methodABI:{inputs:[{internalType:"address",name:"_user",type:"address"},{internalType:"address[]",name:"_pools",type:"address[]"}],name:"getVotingPower",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"}}}],ep.a_.MODE_MAINNET.toString(),[_],Number(ea));e_={vaultScore:eo[_]?eo[_].toLocaleString("en",{maximumFractionDigits:3}):"0",totalScore:el[_]?el[_].toLocaleString("en",{maximumFractionDigits:3}):"0"}}return{lockedCake:ev,lockPosition:eg,lockedEndTime:new Date(1e3*parseInt(ec.lockEndTime.toString())).toLocaleString(C,{month:"short",year:"numeric",day:"numeric"}),iCake:ex,vCake:e_}});return{data:es,status:eo}};let ic=(0,eM.zo)(ex.ZP)`
203  width: 100%;
204  margin-bottom: 24px;
205  padding: 1px 1px 3px 1px;
206  background: linear-gradient(180deg, #53dee9, #7645d9);
207  border-radius: ${_=>{let{theme:C}=_;return C.radii.default}};
208`,id=(0,eM.zo)(ex.ZP)`
209  position: relative;
210  z-index: 1;
211  padding: 8px 12px;
212  background: ${_=>{let{theme:C}=_;return C.colors.backgroundAlt}};
213  border-radius: ${_=>{let{theme:C}=_;return C.radii.default}};
214
215  &:before {
216    position: absolute;
217    content: "";
218    top: 0;
219    left: 0;
220    z-index: -1;
221    width: 100%;
222    height: 100%;
223    pointer-events: none;
224    border-radius: ${_=>{let{theme:C}=_;return C.radii.default}};
225    background: ${_=>{let{theme:C}=_;return C.colors.gradientBubblegum}};
226  }
227`;var UserMenu_CakeBenefitsCard=_=>{var C,L;let{onDismiss:Z}=_,{t:ea}=(0,ek.Z)(),{data:es,status:eo}=hooks_useCakeBenefits(),{isMobile:eu}=(0,n_.Z)(),{targetRef:ec,tooltip:ed,tooltipVisible:eh}=(0,e2.Z)((0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)(eC.Z,{children:ea("%lockedCake% ANDX (including rewards) are locked in the ANDX Pool until %lockedEndTime%",{lockedCake:null==es?void 0:es.lockedCake,lockedEndTime:null==es?void 0:es.lockedEndTime})}),(0,el.jsx)(tf.aB,{to:"/pools",onClick:Z,children:(0,el.jsx)(eC.Z,{bold:!0,color:"primary",children:ea("Learn More")})})]}),{placement:"bottom",...eu&&{hideTimeout:2e3}}),{targetRef:ep,tooltip:ef,tooltipVisible:em}=(0,e2.Z)((0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)(eC.Z,{children:ea("iANDX allows you to participate in the IFO public sales and commit up to %iCake% amount of ANDX.",{iCake:null==es?void 0:es.iCake})}),(0,el.jsx)(tf.aB,{to:"/ifo",onClick:Z,children:(0,el.jsx)(eC.Z,{bold:!0,color:"primary",children:ea("Learn More")})})]}),{placement:"bottom",...eu&&{hideTimeout:2e3}}),{targetRef:eb,tooltip:ey,tooltipVisible:eg}=(0,e2.Z)((0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)(eC.Z,{children:ea("bANDX allows you to boost your yield in Andex Farms by up to 2x.")}),(0,el.jsx)(tf.aB,{to:"/farms",onClick:Z,children:(0,el.jsx)(eC.Z,{bold:!0,color:"primary",children:ea("Learn More")})})]}),{placement:"bottom",...eu&&{hideTimeout:2e3}}),{targetRef:e_,tooltip:ew,tooltipVisible:eT}=(0,e2.Z)((0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)(eC.Z,{children:ea("vANDX boosts your voting power to %totalScore% in the Andex voting governance.",{totalScore:null==es?void 0:null===(C=es.vCake)||void 0===C?void 0:C.totalScore})}),(0,el.jsx)(tf.aB,{to:"/voting",onClick:Z,children:(0,el.jsx)(eC.Z,{bold:!0,color:"primary",children:ea("Learn More")})})]}),{placement:"bottom",...eu&&{hideTimeout:2e3}});return eo===eF.iF.Fetched?(0,el.jsx)(el.Fragment,{children:[n4.PS.None,n4.PS.Flexible].includes(null==es?void 0:es.lockPosition)?(0,el.jsxs)(el.Fragment,{children:[(0,el.jsxs)(ev.Z,{flexDirection:"row",alignItems:"center",children:[(0,el.jsx)(n6.Z,{variant:"secondary",mr:"auto",children:(0,el.jsxs)(ev.Z,{alignItems:"center",children:[(0,el.jsx)(ex.ZP,{as:n3.Z,mr:"4px"}),ea("No ANDX locked")]})}),(0,el.jsx)(eC.Z,{fontSize:"16px",children:null==es?void 0:es.lockedCake})]}),(0,el.jsx)(nG.Z,{mt:"8px",mb:"16px",variant:"warning",children:(0,el.jsxs)(nG.Y,{maxWidth:"200px",children:[ea("Lock ANDX to enjoy the benefits of farm yield boosting, participating in IFOs, voting power boosts, and so much more!")," ",(0,el.jsx)(tf.aB,{style:{textDecoration:"underline",fontWeight:"bold"},to:"/pools",onClick:Z,children:ea("Go to Pools")})]})})]}):[n4.PS.LockedEnd,n4.PS.AfterBurning].includes(null==es?void 0:es.lockPosition)?(0,el.jsxs)(el.Fragment,{children:[(0,el.jsxs)(ev.Z,{flexDirection:"row",justifyContent:"space-between",alignItems:"center",children:[(0,el.jsx)(n6.Z,{variant:"failure",mr:"auto",children:(0,el.jsxs)(ev.Z,{alignItems:"center",children:[(0,el.jsx)(ex.ZP,{as:n3.Z,mr:"4px"}),ea("ANDX staking expired")]})}),(0,el.jsx)(eC.Z,{fontSize:"16px",children:null==es?void 0:es.lockedCake})]}),(0,el.jsx)(nG.Z,{mt:"8px",mb:"16px",variant:"warning",children:(0,el.jsxs)(nG.Y,{maxWidth:"200px",children:[ea("Renew your staking position to continue enjoying the benefits of farm yield boosting, participating in IFOs, voting power boosts, and so much more!")," ",(0,el.jsx)(tf.aB,{style:{textDecoration:"underline",fontWeight:"bold"},to:"/pools",onClick:Z,children:ea("Go to Pools")})]})})]}):(0,el.jsx)(ic,{children:(0,el.jsxs)(id,{children:[(0,el.jsxs)(ev.Z,{flexDirection:"row",alignItems:"center",children:[(0,el.jsx)(n6.Z,{variant:"secondary",mr:"auto",children:(0,el.jsxs)(ev.Z,{alignItems:"center",children:[(0,el.jsx)(ex.ZP,{as:n3.Z,mr:"4px"}),ea("ANDX locked")]})}),(0,el.jsx)(nX.Z,{ref:ec,bold:!0,fontSize:"16px",children:null==es?void 0:es.lockedCake}),eh&&ed]}),(0,el.jsxs)(ev.Z,{mt:"10px",flexDirection:"row",alignItems:"center",children:[(0,el.jsx)(nX.Z,{ref:ep,color:"textSubtle",fontSize:"16px",mr:"auto",children:"iANDX"}),em&&ef,null==es?void 0:es.iCake]}),(0,el.jsxs)(ev.Z,{mt:"10px",flexDirection:"row",alignItems:"center",children:[(0,el.jsx)(nX.Z,{ref:eb,color:"textSubtle",fontSize:"16px",mr:"auto",children:"bANDX"}),eg&&ey,ea("Up to %boostMultiplier%x",{boostMultiplier:2})]}),(0,el.jsxs)(ev.Z,{mt:"10px",flexDirection:"row",alignItems:"center",children:[(0,el.jsx)(nX.Z,{ref:e_,color:"textSubtle",fontSize:"16px",mr:"auto",children:"vANDX"}),eT&&ew,null==es?void 0:null===(L=es.vCake)||void 0===L?void 0:L.vaultScore]})]})})}
227):(0,el.jsx)(nZ.Z,{width:"100%",height:146,borderRadius:"16px",marginBottom:24})};let ih={ETH:"#627EEA",BNB:"#14151A"};var UserMenu_WalletInfo=_=>{var C,L,Z,ea,es,eo;let{hasLowNativeBalance:eu,onDismiss:ec}=_,{t:ed}=(0,ek.Z)(),{account:eh,chainId:ef,chain:eb}=(0,ng.Z)(),{domainName:ey}=(0,nF.t)(eh),eg=(0,eD.KQ)({address:eh,chainId:ep.a_.MODE_MAINNET}),ew=(0,eD.KQ)({address:eh,enabled:!0}),eT=(0,nQ.Z)(),eq=nh.FX[ef],eS=nh.FX[ep.a_.MODE_MAINNET],{balance:eE,fetchStatus:eM}=(0,nJ.ZP)(null==eq?void 0:eq.address),{balance:ej,fetchStatus:eA}=(0,nJ.ZP)(null==eS?void 0:eS.address,!0),{balance:eI,fetchStatus:eO}=(0,nJ.Cz)(),[eP,eN]=(0,em.useState)(!1),{logout:eL}=(0,nN.Z)(),{tooltip:eR,tooltipVisible:eB,targetRef:eZ}=(0,e2.Z)((0,el.jsx)(el.Fragment,{children:(0,el.jsx)(ex.ZP,{maxWidth:"140px",children:(0,el.jsxs)(nW.Z,{gap:"8px",flexDirection:"column",justifyContent:"space-between",children:[(0,el.jsx)(eC.Z,{as:"p",children:ed("%currency% Balance Low. You need %currency% for transaction fees.",{currency:null==eT?void 0:eT.symbol})}),(0,el.jsx)(n2.Z,{href:"/buy-crypto",onClick:()=>null==ec?void 0:ec(),children:(0,el.jsx)(e_.Z,{height:"30px",children:ed("Buy %currency%",{currency:null==eT?void 0:eT.symbol})})})]})})}),{isInPortal:!1,placement:n0.tq?"top":"bottom",trigger:n0.tq?"focus":"hover",...n0.tq&&{manualVisible:eP}}),ez=0===Number(null==eg?void 0:null===(C=eg.data)||void 0===C?void 0:C.value)&&n5.FZ.includes(ef),eU=0===Number(null==ew?void 0:null===(L=ew.data)||void 0===L?void 0:L.value)&&n5.FZ.includes(ef);return(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)(eC.Z,{color:"secondary",fontSize:"12px",textTransform:"uppercase",fontWeight:"bold",mb:"8px",children:ed("Your Address")}),(0,el.jsxs)(nW.Z,{flexDirection:"column",mb:"24px",gap:"8px",children:[(0,el.jsx)(nH.g,{tooltipMessage:ed("Copied"),account:eh}),ey?(0,el.jsx)(eC.Z,{color:"textSubtle",children:ey}):null]}),eu&&n5.FZ.includes(ef)&&(0,el.jsx)(nG.Z,{variant:"warning",mb:"24px",children:(0,el.jsxs)(ex.ZP,{children:[(0,el.jsx)(eC.Z,{fontWeight:"bold",children:ed("%currency% Balance Low",{currency:eT.symbol})}),(0,el.jsx)(n2.Z,{href:"/buy-crypto",onClick:()=>null==ec?void 0:ec(),children:(0,el.jsx)(eC.Z,{color:"primary",children:ed("You need %currency% for transaction fees.",{currency:eT.symbol})})})]})}),eb&&(0,el.jsxs)(ex.ZP,{mb:"12px",children:[(0,el.jsxs)(ev.Z,{justifyContent:"space-between",alignItems:"center",mb:"8px",children:[(0,el.jsxs)(ev.Z,{bg:ih.ETH,borderRadius:"16px",pl:"4px",pr:"8px",py:"2px",children:[(0,el.jsx)(tr.E,{chainId:eb.id}),(0,el.jsx)(eC.Z,{color:"white",ml:"4px",children:eb.name})]}),(0,el.jsx)(nK.Z,{href:(0,ta.C)(eh,"address",ef),children:(0,ta.X0)(ef)})]}),(0,el.jsxs)(ev.Z,{alignItems:"center",justifyContent:"space-between",children:[(0,el.jsxs)(eC.Z,{color:"textSubtle",children:[eT.symbol," ",ed("Balance")]}),ew.isFetched?(0,el.jsxs)(ev.Z,{children:[(0,el.jsx)(eC.Z,{color:eU?"warning":"text",fontWeight:eU?"bold":"normal",children:(0,n1.Zr)(null!==(es=null==ew?void 0:null===(Z=ew.data)||void 0===Z?void 0:Z.value)&&void 0!==es?es:0n,6)}),eU?(0,el.jsx)(nX.Z,{ref:eZ,onClick:()=>eN(!1),display:"flex",style:{justifyContent:"center"},children:(0,el.jsx)(nY.Z,{pl:"2px",fill:"#000",color:"#D67E0A",width:"22px"})}):null,eB&&(!n0.tq||eP)&&eR]}
227):(0,el.jsx)(nZ.Z,{height:"22px",width:"60px"})]}),eE&&eE.gt(0)&&(0,el.jsxs)(ev.Z,{alignItems:"center",justifyContent:"space-between",children:[(0,el.jsxs)(eC.Z,{color:"textSubtle",children:[null==eq?void 0:eq.symbol," ",ed("Balance")]}),eM!==eF.iF.Fetched?(0,el.jsx)(nZ.Z,{height:"22px",width:"60px"}):(null==eq?void 0:eq.decimals)&&(0,el.jsx)(eC.Z,{children:(0,n1.NJ)(eE,null==eq?void 0:eq.decimals,6)})]})]}),(0,el.jsxs)(ex.ZP,{mb:"24px",children:[(0,el.jsxs)(ev.Z,{justifyContent:"space-between",alignItems:"center",mb:"8px",children:[(0,el.jsxs)(ev.Z,{bg:ih.BNB,borderRadius:"16px",pl:"4px",pr:"8px",py:"2px",children:[(0,el.jsx)(tr.E,{chainId:ep.a_.MODE_MAINNET}),(0,el.jsx)(eC.Z,{color:"white",ml:"4px",children:"MODE"})]}),(0,el.jsx)(e9.Z,{useBscCoinFallback:!0,href:(0,ta.C)(eh,"address",ep.a_.MODE_MAINNET),children:(0,ta.X0)(ep.a_.MODE_MAINNET)})]}),56===ef?(0,el.jsxs)(ev.Z,{alignItems:"center",justifyContent:"space-between",children:[(0,el.jsxs)(eC.Z,{color:"textSubtle",children:["BNB ",ed("Balance")]}),eg.isFetched?(0,el.jsxs)(ev.Z,{alignItems:"center",justifyContent:"center",children:[(0,el.jsx)(eC.Z,{fontWeight:ez?"bold":"normal",color:ez?"warning":"normal",children:(0,n1.Zr)(null!==(eo=null==eg?void 0:null===(ea=eg.data)||void 0===ea?void 0:ea.value)&&void 0!==eo?eo:0n,6)}),ez?(0,el.jsx)(nX.Z,{ref:eZ,onClick:()=>eN(!1),display:"flex",style:{justifyContent:"center"},children:(0,el.jsx)(nY.Z,{pl:"2px",fill:"#000",color:"#D67E0A",width:"22px"})}):null,eB&&(!n0.tq||eP)&&eR]}
227):(0,el.jsx)(nZ.Z,{height:"22px",width:"60px"})]}):null,ej.gt(0)&&(0,el.jsxs)(ev.Z,{alignItems:"center",justifyContent:"space-between",children:[(0,el.jsxs)(eC.Z,{color:"textSubtle",children:["WBNB ",ed("Balance")]}),eA!==eF.iF.Fetched?(0,el.jsx)(nZ.Z,{height:"22px",width:"60px"}):(0,el.jsx)(eC.Z,{children:(0,n1.NJ)(ej,eS.decimals,6)})]}),(0,el.jsxs)(ev.Z,{alignItems:"center",justifyContent:"space-between",children:[(0,el.jsx)(eC.Z,{color:"textSubtle",children:ed("ANDX Balance")}),eO!==eF.iF.Fetched?(0,el.jsx)(nZ.Z,{height:"22px",width:"60px"}):(0,el.jsx)(eC.Z,{children:(0,n1.Zr)(eI,3)})]})]}),(0,el.jsx)(UserMenu_CakeBenefitsCard,{onDismiss:ec}),(0,el.jsx)(e_.Z,{variant:"secondary",width:"100%",minHeight:48,onClick:()=>{null==ec||ec(),eL()},children:ed("Disconnect Wallet")})]})},ip=L(29787),im=L.n(ip),ib=L(31674),iy=L(13903),ig=L(79428);let iv=(0,eM.zo)(ev.Z)`
228  align-items: center;
229  flex: none;
230  width: 24px;
231`,ix=eM.zo.div`
232  flex: 1;
233  padding: 0 8px;
234`,i_=eM.zo.div`
235  cursor: pointer;
236  align-items: center;
237  color: ${_=>{let{theme:C}=_;return C.colors.text}};
238  display: flex;
239  margin-bottom: 16px;
240  width: 100%;
241
242  &:hover {
243    text-decoration: none;
244  }
245`,renderIcon=_=>{let{receipt:C,nonBscFarm:L}=_;if(!_.receipt||(null==L?void 0:L.status)===e1.np.PENDING)return(0,el.jsx)(e4.Z,{spin:!0,width:"24px"});let Z=!L||L.status===e1.np.SUCCESS;return(null==C?void 0:C.status)===1&&Z||void 0===(null==C?void 0:C.status)?(0,el.jsx)(ib.Z,{color:"success",width:"24px"}):(0,el.jsx)(iy.Z,{color:"failure",width:"24px"})};var UserMenu_TransactionRow=_=>{var C;let{txn:L,chainId:Z,type:ea,onDismiss:es}=_,{t:eo}=(0,ek.Z)(),eu=(0,eG.TL)();return L?(0,el.jsxs)(i_,{onClick:()=>{if("non-bsc-farm"===ea)es(),eu((0,eK.CF)({tx:L.hash,chainId:Z}));else{let _=(0,ta.C)(L.hash,"transaction",Z);window.open(_,"_blank","noopener noreferrer")}},children:[(0,el.jsx)(iv,{children:renderIcon(L)}),(0,el.jsx)(ix,{children:L.translatableSummary?eo(L.translatableSummary.text,L.translatableSummary.data):null!==(C=L.summary)&&void 0!==C?C:L.hash}),(0,el.jsx)(iv,{children:(0,el.jsx)(ig.Z,{width:"24px",color:"primary"})})]}):null};let iw=(0,eM.zo)(ex.ZP)`
246  max-height: 300px;
247  overflow-y: auto;
248`;var UserMenu_WalletTransactions=_=>{let{onDismiss:C}=_,L=(0,eG.TL)(),{t:Z}=(0,ek.Z)(),ea=(0,eJ.Fn)(),es=!im()(ea);return(0,el.jsxs)(ex.ZP,{minHeight:"120px",children:[(0,el.jsxs)(ev.Z,{alignItems:"center",justifyContent:"space-between",mb:"24px",children:[(0,el.jsx)(eC.Z,{color:"secondary",fontSize:"12px",textTransform:"uppercase",fontWeight:"bold",children:Z("Recent Transactions")}),es&&(0,el.jsx)(e_.Z,{scale:"sm",onClick:()=>{L((0,e1.fY)())},variant:"text",px:"0",children:Z("Clear all")})]}),es?(0,el.jsx)(iw,{children:Object.entries(ea).map(_=>{var L,Z;let[ea,es]=_,eo=Number(ea);return(0,el.jsxs)(ex.ZP,{children:[(0,el.jsx)(eC.Z,{fontSize:"12px",color:"textSubtle",mb:"4px",children:null!==(Z=null===(L=e7.p5.find(_=>_.id===eo))||void 0===L?void 0:L.name)&&void 0!==Z?Z:"Unknown network"}),Object.values(es).map(_=>(0,el.jsx)(UserMenu_TransactionRow,{txn:_,chainId:eo,type:_.type,onDismiss:C},_.hash))]},ea)})}):(0,el.jsx)(eC.Z,{textAlign:"center",children:Z("No recent transactions")})]})},iC=L(77842);let iT=(0,eM.zo)(e0.Z)`
249  width: 100%;
250  &:hover {
251    text-decoration: initial;
252  }
253`;var UserMenu_WalletWrongNetwork=_=>{let{onDismiss:C}=_,{t:L}=(0,ek.Z)(),{switchNetworkAsync:Z,canSwitch:ea}=(0,nv.g)(),handleSwitchNetwork=async()=>{await Z(ep.a_.MODE_MAINNET),null==C||C()};return(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)(eC.Z,{mb:"24px",children:L("You’re connected to the wrong network.")}),ea?(0,el.jsx)(e_.Z,{onClick:handleSwitchNetwork,mb:"24px",children:L("Switch Network")}):(0,el.jsx)(nG.Z,{variant:"danger",children:(0,el.jsx)(nG.Y,{children:L("Unable to switch network. Please try it on your wallet")})}),(0,el.jsx)(iT,{href:"https://docs.pancakeswap.finance/get-started/connection-guide",external:!0,children:(0,el.jsxs)(e_.Z,{width:"100%",variant:"secondary",children:[L("Learn How"),(0,el.jsx)(iC.Z,{color:"primary",ml:"6px"})]})})]})};(ea=eo||(eo={}))[ea.WALLET_INFO=0]="WALLET_INFO",ea[ea.TRANSACTIONS=1]="TRANSACTIONS",ea[ea.WRONG_NETWORK=2]="WRONG_NETWORK";let iq=(0,nU.f)("0.002","wei"),ik=(0,eM.zo)(eY.xB)`
254  background: ${_=>{let{theme:C}=_;return C.colors.gradientBubblegum}};
255`,iS=eM.zo.div`
256  background-color: ${_=>{let{theme:C}=_;return C.colors.dropdown}};
257  border-bottom: 1px solid ${_=>{let{theme:C}=_;return C.colors.cardBorder}};
258  padding: 16px 24px;
259`,TabsComponent=_=>{let{view:C,handleClick:L}=_,{t:Z}=(0,ek.Z)();return(0,el.jsx)(iS,{children:(0,el.jsxs)(n$.Z,{scale:"sm",variant:"subtle",onItemClick:L,activeIndex:C,fullWidth:!0,children:[(0,el.jsx)(nV.Z,{children:Z("Wallet")}),(0,el.jsx)(nV.Z,{children:Z("Transactions")})]})})};var UserMenu_WalletModal=_=>{let{initialView:C=0,onDismiss:L}=_,[Z,ea]=(0,em.useState)(C),{t:es}=(0,ek.Z)(),{address:eo}=(0,eD.mA)(),{data:eu,isFetched:ec}=(0,eD.KQ)({address:eo}),ed=ec&&eu&&eu.value<=iq,eh=(0,em.useCallback)(_=>{ea(_)},[]);return(0,el.jsxs)(eg.AB,{minWidth:"360px",children:[(0,el.jsxs)(ik,{children:[(0,el.jsx)(eY.r6,{children:(0,el.jsx)(nr.Z,{children:es("Your Wallet")})}),(0,el.jsx)(tO.Z,{variant:"text",onClick:L,children:(0,el.jsx)(nw.Z,{width:"24px",color:"text"})})]}),2!==Z&&(0,el.jsx)(TabsComponent,{view:Z,handleClick:eh}),(0,el.jsxs)(eY.fe,{p:"24px",width:"100%",children:[0===Z&&(0,el.jsx)(UserMenu_WalletInfo,{hasLowNativeBalance:ed,switchView:eh,onDismiss:L}),1===Z&&(0,el.jsx)(UserMenu_WalletTransactions,{onDismiss:L}),2===Z&&(0,el.jsx)(UserMenu_WalletWrongNetwork,{onDismiss:L})]})]})},UserMenu_WalletUserMenuItem=_=>{let{isWrongNetwork:C,onPresentWalletModal:L}=_,{t:Z}=(0,ek.Z)(),{address:ea}=(0,eD.mA)(),{data:es,isFetched:eo}=(0,eD.KQ)({address:ea}),eu=eo&&es&&es.value<=iq;return(0,el.jsx)(np.l,{as:"button",onClick:L,children:(0,el.jsxs)(ev.Z,{alignItems:"center",justifyContent:"space-between",width:"100%",children:[Z("Wallet"),eu&&!C&&(0,el.jsx)(e8.Z,{color:"warning",width:"24px"}),C&&(0,el.jsx)(e8.Z,{color:"failure",width:"24px"})]})})};let iE=eM.zo.div`
260  background-color: ${_=>{let{theme:C}=_;return C.colors.success}};
261  border-radius: 50%;
262  height: 8px;
263  width: 8px;
264`;var UserMenu_ClaimYourNFT=()=>{let{t:_}=(0,ek.Z)(),[C,L]=(0,eL.KO)(eB);return(0,el.jsx)(np.l,{as:"button",onClick:()=>L(!0),children:(0,el.jsxs)(ev.Z,{alignItems:"center",justifyContent:"space-between",width:"100%",children:[_("Claim Your NFT"),(0,el.jsx)(iE,{})]})})};let UserMenuItems=()=>{let{t:_}=(0,ek.Z)(),{chainId:C,isWrongNetwork:L}=(0,th.g)(),{logout:Z}=(0,nN.Z)(),{address:ea}=(0,eD.mA)(),{hasPendingTransactions:es}=(0,eJ.VQ)(),{isInitialized:eu,isLoading:ec,profile:ed}=(0,nB.Un)(),{shouldShowModal:eh}=hooks_useAirdropModalStatus(),[ef]=(0,t9.Z)((0,el.jsx)(UserMenu_WalletModal,{initialView:eo.WALLET_INFO})),[eb]=(0,t9.Z)((0,el.jsx)(UserMenu_WalletModal,{initialView:eo.TRANSACTIONS})),[ey]=(0,t9.Z)((0,el.jsx)(UserMenu_WalletModal,{initialView:eo.WRONG_NETWORK})),eg=(0,em.useCallback)(()=>{L?ey():ef()},[L,ef,ey]);return(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)(UserMenu_WalletUserMenuItem,{isWrongNetwork:L,onPresentWalletModal:eg}),(0,el.jsxs)(np.l,{as:"button",disabled:L,onClick:eb,children:[_("Recent Transactions"),es&&(0,el.jsx)(e4.Z,{spin:!0})]}),(0,el.jsx)(np.v,{}),(0,el.jsx)(nR(),{href:`/profile/${null==ea?void 0:ea.toLowerCase()}`,passHref:!0,children:(0,el.jsx)(np.l,{disabled:L||C!==ep.a_.MODE_MAINNET,children:_("Your NFTs")})}),eh&&(0,el.jsx)(UserMenu_ClaimYourNFT,{}),(0,el.jsx)(UserMenu_ProfileUserMenuItem,{isLoading:ec,hasProfile:eu&&!!ed,disabled:L||C!==ep.a_.MODE_MAINNET}),(0,el.jsx)(np.v,{}),(0,el.jsx)(np.l,{as:"button",onClick:Z,children:(0,el.jsxs)(ev.Z,{alignItems:"center",justifyContent:"space-between",width:"100%",children:[_("Disconnect"),(0,el.jsx)(nI.Z,{})]})})]})};var Menu_UserMenu=()=>{var _,C,L;let{t:Z}=(0,ek.Z)(),{address:ea}=(0,eD.mA)(),{domainName:es,avatar:eo}=(0,nF.t)(ea),{isWrongNetwork:eu}=(0,th.g)(),{hasPendingTransactions:ec,pendingNumber:ed}=(0,eJ.VQ)(),{profile:eh}=(0,nB.Un)(),ep=null!==(L=null==eh?void 0:null===(C=eh.nft)||void 0===C?void 0:null===(_=C.image)||void 0===_?void 0:_.thumbnail)&&void 0!==L?L:eo,[ef,eb]=(0,em.useState)(""),[ey,eg]=(0,em.useState)("default");return((0,em.useEffect)(()=>{ec?(eb(Z("%num% Pending",{num:ed})),eg("pending")):(eb(""),eg("default"))},[ec,ed,Z]),ea)?(0,el.jsx)(ny.ZP,{account:es||ea,ellipsis:!es,avatarSrc:ep,text:ef,variant:ey,children:_=>{let{isOpen:C}=_;return C?(0,el.jsx)(UserMenuItems,{}):null}}):eu?(0,el.jsx)(ny.ZP,{text:Z("Network"),variant:"danger",children:_=>{let{isOpen:C}=_;return C?(0,el.jsx)(UserMenuItems,{}):null}}):(0,el.jsxs)(nO.Z,{scale:"sm",children:[(0,el.jsx)(ex.ZP,{display:["none",,,"block"],children:(0,el.jsx)(nP.Z,{children:"Connect Wallet"})}),(0,el.jsx)(ex.ZP,{display:["block",,,"none"],children:(0,el.jsx)(nP.Z,{children:"Connect"})})]})},iM=L(3622);let LinkComponent=_=>(0,el.jsx)(tf.aB,{to:_.href,..._,prefetch:!1});var components_Menu=_=>{let{chainId:C}=(0,th.g)(),{isDark:L,setTheme:Z}=(0,t_.ZP)(),ea=(0,nE.a)(),{currentLanguage:es,setLanguage:eo,t:eu}=(0,ek.Z)(),{pathname:ec}=(0,e$.useRouter)(),[ed]=(0,t9.Z)((0,el.jsx)(nd,{title:eu("Andex Perpetuals"),id:nl.X.PERPETUALS}),!1,!1,"usCitizenConfirmModal"),[eh]=(0,nC.vc)(),ep=(0,nD.J)(ed),ef=(0,iM.t)({menuConfig:ep,pathname:ec}),eb=(0,iM.u)({menuItem:ef,pathname:ec}),ey=(0,em.useMemo)(()=>()=>Z(L?"light":"dark"),[Z,L]),eg=(0,em.useMemo)(()=>(0,t7.d)(eu),[eu]);return(0,el.jsx)(el.Fragment,{children:(0,el.jsx)(ni.Z,{linkComponent:LinkComponent,rightSide:(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)(nj.Z,{mode:nA.a.GLOBAL}),(0,el.jsx)(NetworkSwitcher,{}),(0,el.jsx)(Menu_UserMenu,{})]}),chainId:C,banner:eh&&(0,el.jsx)(components_PhishingWarningBanner,{}),isDark:L,toggleTheme:ey,currentLang:es.code,langs:t8.ZP,setLang:eo,cakePriceUsd:ea.eq(nM.HW)?void 0:ea,links:ep,subLinks:(null==ef?void 0:ef.hide
264SubNav)||(null==eb?void 0:eb.hideSubNav)?[]:null==ef?void 0:ef.items,footerLinks:eg,activeItem:null==ef?void 0:ef.href,activeSubItem:null==eb?void 0:eb.href,buyCakeLabel:eu("Buy ANDX"),buyCakeLink:"https://andex.vercel.app/swap?outputCurrency=0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82&chainId=56",..._})})},ij=L(43600),iA=L(99334),iD=L(97060),iI=L(77016),iO=L(71777),iP=L(88145),iN=L(55371);let Hydrate=({children:_,options:C,state:L})=>(!function(_,C={}){let L=(0,iP.NL)({context:C.context}),Z=em.useRef(C);Z.current=C,em.useMemo(()=>{_&&(0,iN.ZB)(L,_,Z.current)},[L,_])}(L,C),_);var iL=L(13986),iR=L(96678),iB=L(96366);let iF=new iO.S,StyledUIKitProvider=_=>{let{children:C,...L}=_,{resolvedTheme:Z}=(0,iR.F)();return(0,el.jsx)(ij.J,{theme:"dark"===Z?iA._:iA.R,...L,children:C})};var src_Providers=_=>{let{children:C,store:L,dehydratedState:Z}=_;return(0,el.jsx)(iP.aH,{client:iF,children:(0,el.jsx)(Hydrate,{state:Z,children:(0,el.jsx)(eD.eM,{config:e7.gb,children:(0,el.jsx)(eX.zt,{store:L,children:(0,el.jsx)(iR.f,{children:(0,el.jsx)(StyledUIKitProvider,{children:(0,el.jsx)(iI.i,{children:(0,el.jsx)(eN.J$,{value:{use:[iL.qf]},children:(0,el.jsx)(iB.E,{children:(0,el.jsx)(iD.ZP,{children:C})})})})})})})})})})};let iZ=eM.vJ`
265  * {
266    font-family: 'Kanit', sans-serif;
267  }
268
269  html {
270    scroll-behavior: smooth;
271  }
272
273  body {
274    background: ${_=>{let{theme:C}=_;return C.colors.background}};
275
276    img {
277      height: auto;
278      max-width: 100%;
279    }
280  }
281
282  #__next {
283    position: relative;
284    z-index: 1;
285  }
286
287  #portal-root {
288    position: relative;
289    z-index: 2;
290  }
291`;var iz=L(73656);let iU=eW()(()=>L.e(4298).then(L.bind(L,34298)),{loadableGenerated:{webpack:()=>[34298]},ssr:!1});function GlobalHooks(){return(0,tR.hd)(),hooks_useEagerConnect(),hooks_useUserAgent(),useAccountEventListener(),hooks_useSentryUser(),hooks_useThemeCookie(),hooks_useLockedEndNotification(),null}function MPGlobalHooks(){return(0,tR.hd)(),(0,tp.ZP)(),hooks_useUserAgent(),useAccountEventListener(),hooks_useSentryUser(),hooks_useLockedEndNotification(),null}eh.Z.config({EXPONENTIAL_AT:1e3,DECIMAL_PLACES:80});let ProductionErrorBoundary=function(_){let{children:C}=_,{t:L}=(0,ek.Z)(),Z=(0,em.useCallback)(()=>window.location.reload(),[]);return(0,el.jsx)(ErrorBoundary,{beforeCapture:_=>{_.setLevel("fatal")},fallback:_=>{let{eventId:C,componentStack:ea,error:es}=_;return(0,el.jsxs)(tS.Z,{children:[(0,el.jsxs)(ev.Z,{flexDirection:"column",justifyContent:"center",alignItems:"center",children:[(0,el.jsx)(tI.Z,{width:"64px",mb:"8px"}),(0,el.jsx)(eC.Z,{mb:"16px",children:L("Oops, something wrong.")}),C&&(0,el.jsxs)(ev.Z,{flexDirection:"column",style:{textAlign:"center"},mb:"8px",children:[(0,el.jsx)(eC.Z,{children:L("Error Tracking Id")}),(0,el.jsxs)(ev.Z,{alignItems:"center",children:[(0,el.jsx)(eC.Z,{children:C}),(0,el.jsx)(tO.Z,{variant:"text",onClick:()=>(0,tP.z)(C),children:(0,el.jsx)(tN.Z,{color:"primary",width:"24px"})})]})]}),(0,el.jsx)(e_.Z,{onClick:Z,children:L("Click here to reset!")})]}),!1]})},children:C})},App=_=>{let{Component:C,pageProps:L}=_;if(C.pure)return(0,el.jsx)(C,{...L});let Z=C.Layout||em.Fragment,ea=C.mp?em.Fragment:components_Menu,es=C.isShowScrollToTopButton||!0;return(0,el.jsxs)(ProductionErrorBoundary,{children:[(0,el.jsx)(ea,{children:(0,el.jsx)(Z,{children:(0,el.jsx)(C,{...L})})}),(0,el.jsx)(iU,{iterations:2}),(0,el.jsx)(ec.Z,{}),(0,el.jsx)(FixedSubgraphHealthIndicator,{}),(0,el.jsx)(eU.B,{pageSupportedChains:C.chains}),(0,el.jsx)(TransactionDetailModal,{}),es&&(0,el.jsx)(ed.Z,{})]})};var _app=function(_){let{pageProps:C,Component:L}=_,Z=(0,eG.oR)(C.initialReduxState);return(0,el.jsxs)(el.Fragment,{children:[(0,el.jsxs)(tC(),{children:[(0,el.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1, maximum-scale=5, minimum-scale=1, viewport-fit=cover"}),(0,el.jsx)("meta",{name:"description",content:"Cheaper and faster than Uniswap? Discover Andex, the leading DEX on MODE with the best farms in DeFi and a lottery for ANDX."}),(0,el.jsx)("meta",{name:"theme-color",content:"#1FC7D4"}),L.mp&&(0,el.jsx)("script",{src:"https://public.bnbstatic.com/static/js/mp-webview-sdk/webview-v1.0.0.min.js",id:"mp-webview"})]}),(0,el.jsx)(tk.lX,{...t4}),(0,el.jsxs)(src_Providers,{store:Z,dehydratedState:C.dehydratedState,children:[(0,el.jsx)(tS.V,{}),L.Meta&&(0,el.jsx)(L.Meta,{...C}),(0,el.jsxs)(Blocklist,{children:[L.mp?(0,el.jsx)(MPGlobalHooks,{}):(0,el.jsx)(GlobalHooks,{}),(0,el.jsx)(eu.Z,{}),(0,el.jsx)(iZ,{}),(0,el.jsx)(components_GlobalCheckClaimStatus,{excludeLocations:[]}),(0,el.jsxs)(tL,{loading:null,persistor:eG.Dj,children:[(0,el.jsx)(Updaters,{}),(0,el.jsx)(App,{..._})]})]})]}),(0,el.jsx)(tq(),{strategy:"afterInteractive",id:"google-tag",dangerouslySetInnerHTML:{__html:`
292            (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
293new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
294j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
295'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
296})(window,document,'script','dataLayer','${iz.env.NEXT_PUBLIC_NEW_GTAG}');
297          `}})]})}},69081:function(_,C,L){"use strict";L.d(C,{Mm:function(){return useChainCurrentBlock},hd:function(){return usePollBlockNumber},je:function(){return useCurrentBlock},o7:function(){return useInitialBlockTimestamp}});var Z=L(60011),ea=L(29517),es=L(5573),eo=L(57333),el=L(88145),eu=L(14319);let usePollBlockNumber=()=>{let _=(0,el.NL)(),{chainId:C}=(0,es.g)(),{data:L}=(0,ea.Ov)({chainId:C,onBlock:L=>{_.setQueryData(["blockNumber",C],Number(L))},onSuccess:L=>{var Z,ea,es,el;if((null===(ea=_.getQueryCache().find(["initialBlockNumber",C]))||void 0===ea?void 0:null===(Z=ea.state)||void 0===Z?void 0:Z.data)||_.setQueryData(["initialBlockNumber",C],Number(L)),!(null===(el=_.getQueryCache().find(["initialBlockTimestamp",C]))||void 0===el?void 0:null===(es=el.state)||void 0===es?void 0:es.data)){let fetchInitialBlockTimestamp=async()=>{let Z=eo.r[C];if(Z){let ea=await Z.getBlock({blockNumber:L});_.setQueryData(["initialBlockTimestamp",C],Number(ea.timestamp))}};fetchInitialBlockTimestamp()}}});(0,eu.a)(["blockNumberFetcher",C],async()=>(_.setQueryData(["blockNumber",C],Number(L)),null),{enabled:!1,refetchOnMount:!1,refetchOnWindowFocus:!1,refetchOnReconnect:!1}),(0,eu.a)([Z.sR,"blockNumber",C],async()=>Number(L),{enabled:!!C,refetchInterval:Z.sR}),(0,eu.a)([Z.KI,"blockNumber",C],async()=>Number(L),{enabled:!!C,refetchInterval:Z.KI})},useCurrentBlock=()=>{let{chainId:_}=(0,es.g)(),{data:C=0}=(0,eu.a)(["blockNumber",_],{enabled:!1,refetchOnReconnect:!1,refetchOnWindowFocus:!1,refetchOnMount:!1});return Number(C)},useChainCurrentBlock=_=>{let{chainId:C}=(0,es.g)(),L=(0,ea.t_)({chainId:_}),{data:Z=0}=(0,eu.a)(C===_?["blockNumber",_]:["chainBlockNumber",_],async()=>{let _=await L.getBlockNumber();return Number(_)},{enabled:C!==_,...C!==_&&{refetchInterval:6e3}});return Z},useInitialBlockTimestamp=()=>{let{chainId:_}=(0,es.g)(),{data:C=0}=(0,eu.a)(["initialBlockTimestamp",_],{enabled:!1,refetchOnReconnect:!1,refetchOnWindowFocus:!1,refetchOnMount:!1});return Number(C)}},27136:function(_,C,L){"use strict";L.d(C,{CF:function(){return el},SL:function(){return ea},Xw:function(){return eo},tZ:function(){return es}});var Z=L(65675);let ea=(0,Z.PH)("global/updateVersion"),es=(0,Z.PH)("global/resetUserState"),eo=(0,Z.PH)("transactions/toggleFarmTransactionModal"),el=(0,Z.PH)("transactions/pickFarmTransactionTx")},78711:function(_,C,L){"use strict";let Z;L.d(C,{Dj:function(){return tT},TL:function(){return useAppDispatch},oR:function(){return useStore}});var ea,es,eo,el,eu,ec,ed,eh,ep,ef,em,eb,ey,eg,ev,ex,e_=L(7755),ew=L(65675),eC=L(52983),eT=L(47240),eq="persist:",ek="persist/FLUSH",eS="persist/REHYDRATE",eE="persist/PAUSE",eM="persist/PERSIST",ej="persist/PURGE",eA="persist/REGISTER";function _typeof(_){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(_){return typeof _}:function(_){return _&&"function"==typeof Symbol&&_.constructor===Symbol&&_!==Symbol.prototype?"symbol":typeof _})(_)}function ownKeys(_,C){var L=Object.keys(_);if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(_);C&&(Z=Z.filter(function(C){return Object.getOwnPropertyDescriptor(_,C).enumerable})),L.push.apply(L,Z)}return L}function defaultSerialize(_){return JSON.stringify(_)}function defaultDeserialize(_){return JSON.parse(_)}function warnIfRemoveError(_){}function persistReducer_ownKeys(_,C){var L=Object.keys(_);if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(_);C&&(Z=Z.filter(function(C){return Object.getOwnPropertyDescriptor(_,C).enumerable})),L.push.apply(L,Z)}return L}function persistReducer_objectSpread(_){for(var C=1;C<arguments.length;C++){var L=null!=arguments[C]?arguments[C]:{};C%2?persistReducer_ownKeys(L,!0).forEach(function(C){var Z;Z=L[C],C in _?Object.defineProperty(_,C,{value:Z,enumerable:!0,configurable:!0,writable:!0}):_[C]=Z}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(L)):persistReducer_ownKeys(L).forEac
297h(function(C){Object.defineProperty(_,C,Object.getOwnPropertyDescriptor(L,C))})}return _}function _toConsumableArray(_){return function(_){if(Array.isArray(_)){for(var C=0,L=Array(_.length);C<_.length;C++)L[C]=_[C];return L}}(_)||function(_){if(Symbol.iterator in Object(_)||"[object Arguments]"===Object.prototype.toString.call(_))return Array.from(_)}(_)||function(){throw TypeError("Invalid attempt to spread non-iterable instance")}()}function persistStore_ownKeys(_,C){var L=Object.keys(_);if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(_);C&&(Z=Z.filter(function(C){return Object.getOwnPropertyDescriptor(_,C).enumerable})),L.push.apply(L,Z)}return L}function persistStore_objectSpread(_){for(var C=1;C<arguments.length;C++){var L=null!=arguments[C]?arguments[C]:{};C%2?persistStore_ownKeys(L,!0).forEach(function(C){var Z;Z=L[C],C in _?Object.defineProperty(_,C,{value:Z,enumerable:!0,configurable:!0,writable:!0}):_[C]=Z}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(L)):persistStore_ownKeys(L).forEach(function(C){Object.defineProperty(_,C,Object.getOwnPropertyDescriptor(L,C))})}return _}var eD={registry:[],bootstrapped:!1},eI=L(34734),eO=L(27136),eP=L(47480),eN=L(22204),eL=L(32611),eR=L(62370),eB=L(86530),eF=L(30012),eZ=L(11189);let ez=(0,eR.yd)(),processViewLotterySuccessResponse=(_,C)=>{let{status:L,startTime:Z,endTime:ea,priceTicketInCake:es,discountDivisor:eo,treasuryFee:el,firstTicketId:eu,amountCollectedInCake:ec,finalNumber:ed,cakePerBracket:eh,countWinnersPerBracket:ep,rewardsBreakdown:ef}=_,em=Object.keys(eP.p3)[L],eb=eh.map(_=>(0,eB.Tr)(_)),ey=ep.map(_=>(0,eB.Tr)(_)),eg=ef.map(_=>(0,eB.Tr)(_));return{isLoading:!1,lotteryId:C,status:eP.p3[em],startTime:null==Z?void 0:Z.toString(),endTime:null==ea?void 0:ea.toString(),priceTicketInCake:(0,eB.Tr)(es),discountDivisor:null==eo?void 0:eo.toString(),treasuryFee:null==el?void 0:el.toString(),firstTicketId:null==eu?void 0:eu.toString(),amountCollectedInCake:(0,eB.Tr)(ec),finalNumber:ed,cakePerBracket:eb,countWinnersPerBracket:ey,rewardsBreakdown:eg}},processViewLotteryErrorResponse=_=>({isLoading:!0,lotteryId:_,status:eP.p3.PENDING,startTime:"",endTime:"",priceTicketInCake:"",discountDivisor:"",treasuryFee:"",firstTicketId:"",amountCollectedInCake:"",finalNumber:null,cakePerBracket:[],countWinnersPerBracket:[],rewardsBreakdown:[]}),fetchLottery=async _=>{try{let C=await ez.read.viewLottery([BigInt(_)]);return processViewLotterySuccessResponse(C,_)}catch(C){return processViewLotteryErrorResponse(_)}},fetchMultipleLotteries=async _=>{let C=_.map(_=>({abi:eN.f,functionName:"viewLottery",address:(0,eL.kN)(),args:[BigInt(_)]}));try{let L=(0,eF.z2)({chainId:eZ.a_.MODE_MAINNET}),Z=await L.multicall({contracts:C}),ea=Z.map((C,L)=>processViewLotterySuccessResponse(C.result,_[L]));return ea}catch(L){return console.error(L),C.map((C,L)=>processViewLotteryErrorResponse(_[L]))}},fetchCurrentLotteryIdAndMaxBuy=async()=>{try{let _=["currentLotteryId","maxNumberTicketsPerBuyOrClaim"].map(_=>({abi:eN.f,address:(0,eL.kN)(),functionName:_})),C=(0,eF.z2)({chainId:eZ.a_.MODE_MAINNET}),[L,Z]=await C.multicall({contracts:_,allowFailure:!1});return{currentLotteryId:L?L.toString():null,maxNumberTicketsPerBuyOrClaim:Z?Z.toString():null}}catch(_){return{currentLotteryId:null,maxNumberTicketsPerBuyOrClaim:null}}},getRoundIdsArray=_=>{let C=parseInt(_,10),L=[];for(let _=0;_<3;_++)C-_>0&&L.push(C-_);return L.map(_=>null==_?void 0:_.toString())},hasRoundBeenClaimed=_=>{let C=_.filter(_=>_.status);return C.length>0};var eU=L(13138),e$=L(82880);let applyNodeDataToLotteriesGraphResponse=(_,C)=>{if(0===C.length)return _.map(_=>({endTime:_.endTime,finalNumber:_.finalNumber.toString(),startTime:_.startTime,status:_.status,id:_.lotteryId.toString(),ticketPrice:_.priceTicketInCake,totalTickets:"",totalUsers:"",winningTickets:""}));let L=_.map(_=>{let L=C.find(C=>C.id===_.lotteryId);return{endTime:_.endTime,finalNumber:_.finalNumber.toString(),startTime:_.startTime,status:_.status,id:_.lotteryId,ticketPrice:null==L?void 0:L.ticketPrice,totalTickets:null==L?void 0:L.totalTickets,totalUsers:null==L?void 0:L.totalUsers,winningTickets:null==L?void 0:L.winningTickets}}),[Z]=L.slice(-1),ea=C.map(_=>null==_?void 0:_.id).indexOf(null==Z?void 0:Z.id),es=C?C.splice(ea+1):[],eo=[...L,...es];return eo},getGraphLotteries=async function(){let _=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100,C=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,L=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};try{let Z=await (0,eU.request)(e$.Xr,eU.gql`
298        query getLotteries($first: Int!, $skip: Int!, $where: Lottery_filter) {
299          lotteries(first: $first, skip: $skip, where: $where, orderDirection: desc, orderBy: block) {
300            id
301            totalUsers
302            totalTickets
303            winningTickets
304            status
305            finalNumber
306            startTime
307            endTime
308            ticketPrice
309          }
310        }
311      `,{skip:C,first:_,where:L});return Z.lotteries}catch(_){return console.error(_),[]}},getLotteriesData=async _=>{let C=getRoundIdsArray(_),[L,Z]=await Promise.all([fetchMultipleLotteries(C),getGraphLotteries()]),ea=applyNodeDataToLotteriesGraphResponse(L,Z);return ea},eV=(0,eR.yd)(),processRawTicketsResponse=_=>{let[C,L,Z]=_;return(null==C?void 0:C.length)>0?C.map((_,C)=>({id:_.toString(),number:L[C].toString(),status:Z[C]})):[]},viewUserInfoForLotteryId=async(_,C,L,Z)=>{try{let ea=await eV.read.viewUserInfoForLotteryId([_,BigInt(C),BigInt(L),BigInt(Z)]);return processRawTicketsResponse(ea)}catch(_){return console.error("viewUserInfoForLotteryId",_),null}},fetchUserTicketsForOneRound=async(_,C)=>{let L=0,Z=2500,ea=[];for(;2500===Z;){let es=await viewUserInfoForLotteryId(_,C,L,2500);L+=2500,Z=es.length,ea.push(...es)}return ea},fetchUserTicketsForMultipleRounds=async(_,C)=>{let L=await Promise.all(_.map(_=>Promise.all([Promise.resolve(_),fetchUserTicketsForOneRound(C,_)])));return L.map(_=>{let[C,L]=_;return{roundId:C,userTickets:L}})},applyNodeDataToUserGraphResponse=(_,C,L)=>{if(0===C.length)return L.map(C=>{let L=_.find(_=>_.roundId===C.lotteryId);return{endTime:C.endTime,status:C.status,lotteryId:C.lotteryId.toString(),claimed:hasRoundBeenClaimed(L.userTickets),totalTickets:`${L.userTickets.length.toString()}`,tickets:L.userTickets}});let Z=_.map(_=>{let Z=C.find(C=>C.lotteryId===_.roundId),ea=L.find(C=>C.lotteryId===_.roundId);return{endTime:ea.endTime,status:ea.status,lotteryId:ea.lotteryId.toString(),claimed:hasRoundBeenClaimed(_.userTickets),totalTickets:(null==Z?void 0:Z.totalTickets)||_.userTickets.length.toString(),tickets:_.userTickets}}),[ea]=Z.slice(-1),es=C.map(_=>null==_?void 0:_.lotteryId).indexOf(null==ea?void 0:ea.lotteryId),eo=C?C.splice(es+1):[],el=[...Z,...eo];return el}
311,getGraphLotteryUser=async function(_){let C,L=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,Z=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,ea=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},es={account:_,totalCake:"",totalTickets:"",rounds:[]};try{let eo=await (0,eU.request)(e$.Xr,eU.gql`
312        query getUserLotteries($account: ID!, $first: Int!, $skip: Int!, $where: Round_filter) {
313          user(id: $account) {
314            id
315            totalTickets
316            totalCake
317            rounds(first: $first, skip: $skip, where: $where, orderDirection: desc, orderBy: block) {
318              id
319              lottery {
320                id
321                endTime
322                status
323              }
324              claimed
325              totalTickets
326            }
327          }
328        }
329      `,{account:_.toLowerCase(),first:L,skip:Z,where:ea}),el=eo.user;C=el?{account:el.id,totalCake:el.totalCake,totalTickets:el.totalTickets,rounds:el.rounds.map(_=>{var C,L,Z;return{lotteryId:null==_?void 0:null===(C=_.lottery)||void 0===C?void 0:C.id,endTime:null==_?void 0:null===(L=_.lottery)||void 0===L?void 0:L.endTime,claimed:null==_?void 0:_.claimed,totalTickets:null==_?void 0:_.totalTickets,status:null==_?void 0:null===(Z=_.lottery)||void 0===Z?void 0:Z.status.toLowerCase()}})}:es}catch(_){console.error(_),C=es}return C},getUserLotteryData=async(_,C)=>{let L=getRoundIdsArray(C),Z=await fetchUserTicketsForMultipleRounds(L,_),ea=Z.filter(_=>_.userTickets.length>0),es=ea.map(_=>_.roundId),[eo,el]=await Promise.all([fetchMultipleLotteries(es),getGraphLotteryUser(_)]),eu=applyNodeDataToUserGraphResponse(ea,el.rounds,eo),ec={...el,rounds:eu};return ec},eW={currentLotteryId:null,isTransitioning:!1,maxNumberTicketsPerBuyOrClaim:null,currentRound:{isLoading:!0,lotteryId:null,status:eP.p3.PENDING,startTime:"",endTime:"",priceTicketInCake:"",discountDivisor:"",treasuryFee:"",firstTicketId:"",amountCollectedInCake:"",finalNumber:null,cakePerBracket:[],countWinnersPerBracket:[],rewardsBreakdown:[],userTickets:{isLoading:!0,tickets:[]}},lotteriesData:null,userLotteryData:{account:"",totalCake:"",totalTickets:"",rounds:[]}},eH=(0,ew.hg)("lottery/fetchCurrentLottery",async _=>{let{currentLotteryId:C}=_,L=await fetchLottery(C);return L}),eG=(0,ew.hg)("lottery/fetchCurrentLotteryId",async()=>{let _=await fetchCurrentLotteryIdAndMaxBuy();return _}),eK=(0,ew.hg)("lottery/fetchUserTicketsAndLotteries",async _=>{var C;let{account:L,currentLotteryId:Z}=_,ea=await getUserLotteryData(L,Z),es=null===(C=ea.rounds)||void 0===C?void 0:C.find(_=>_.lotteryId===Z),eo=null==es?void 0:es.tickets;return eo&&0!==eo.length?{userTickets:eo,userLotteries:ea}:{userTickets:[],userLotteries:ea}}),eX=(0,ew.hg)("lottery/fetchPublicLotteries",async _=>{let{currentLotteryId:C}=_,L=await getLotteriesData(C);return L}),eY=(0,ew.hg)("lottery/fetchUserLotteries",async _=>{let{account:C,currentLotteryId:L}=_,Z=await getUserLotteryData(C,L);return Z}),eQ=(0,ew.hg)("lottery/fetchAdditionalUserLotteries",async _=>{let{account:C,skip:L}=_,Z=await getGraphLotteryUser(C,void 0,L);return Z}),eJ=(0,ew.hg)("lottery/setIsTransitioning",async _=>{let{isTransitioning:C}=_;return{isTransitioning:C}}),e1=(0,ew.oM)({name:"Lottery",initialState:eW,reducers:{},extraReducers:_=>{_.addCase(eO.tZ,_=>{_.userLotteryData={...eW.userLotteryData},_.currentRound={..._.currentRound,userTickets:{...eW.currentRound.userTickets}}}),_.addCase(eH.fulfilled,(_,C)=>{_.currentRound={..._.currentRound,...C.payload}}),_.addCase(eG.fulfilled,(_,C)=>{_.currentLotteryId=C.payload.currentLotteryId,_.maxNumberTicketsPerBuyOrClaim=C.payload.maxNumberTicketsPerBuyOrClaim}),_.addCase(eK.fulfilled,(_,C)=>{_.currentRound={..._.currentRound,userTickets:{isLoading:!1,tickets:C.payload.userTickets}},_.userLotteryData=C.payload.userLotteries}),_.addCase(eX.fulfilled,(_,C)=>{_.lotteriesData=C.payload}),_.addCase(eY.fulfilled,(_,C)=>{_.userLotteryData=C.payload}),_.addCase(eQ.fulfilled,(_,C)=>{let L=[..._.userLotteryData.rounds,...C.payload.rounds];_.userLotteryData={..._.userLotteryData,rounds:L}}),_.addCase(eJ.fulfilled,(_,C)=>{_.isTransitioning=C.payload.isTransitioning})}});var e0=e1.reducer,e2=L(58069),e5=L(14408);let now=()=>Date.now();var e6=(0,ew.Lq)({},_=>_.addCase(e5.dT,(_,C)=>{var L,Z;let{payload:{chainId:ea,from:es,hash:eo,approval:el,summary:eu,translatableSummary:ec,claim:ed,type:eh,order:ep,nonBscFarm:ef}}=C;if(null===(L=_[ea])||void 0===L?void 0:L[eo])throw Error("Attempted to add existing transaction.");let em=null!==(Z=_[ea])&&void 0!==Z?Z:{};em[eo]={hash:eo,approval:el,summary:eu,translatableSummary:ec,claim:ed,from:es,addedTime:now(),type:eh,order:ep,nonBscFarm:ef},_[ea]=em,ep&&(0,e2.TR)(ea,es,ep,!0)}).addCase(e5.fY,()=>({})).addCase(e5.HG,(_,C)=>{let{payload:{chainId:L}}=C;_[L]&&(_[L]={})}).addCase(e5.LN,(_,C)=>{var L;let{payload:{chainId:Z,hash:ea,blockNumber:es}}=C,eo=null===(L=_[Z])||void 0===L?void 0:L[ea];eo&&(eo.lastCheckedBlockNumber?eo.lastCheckedBlockNumber=Math.max(es,eo.lastCheckedBlockNumber):eo.lastCheckedBlockNumber=es)}).addCase(e5.Aw,(_,C)=>{var L;let{payload:{hash:Z,chainId:ea,receipt:es,nonBscFarm:eo}}=C,el=null===(L=_[ea])||void 0===L?void 0:L[Z];el&&(el.receipt=es,el.confirmedTime=now(),"limit-order-submission"===el.type?(0,e2.On)(ea,es.from,Z,0!==es.status):"limit-order-cancellation"===el.type?(0,e2.Vx)(ea,es.from,Z,0!==es.status):"non-bsc-farm"===el.type&&(el.nonBscFarm.steps[0].status===e5.np.PENDING?(es.status===e5.np.FAIL&&(el.nonBscFarm={...el.nonBscFarm,status:es.status}),el.nonBscFarm.steps[0]={...el.nonBscFarm.steps[0],status:es.status}):el.nonBscFarm=eo))}).addCase(eO.tZ,(_,C)=>{let{payload:{chainId:L,newChainId:Z}}=C;!Z&&_[L]&&(_[L]={})})),e3=L(92442),e4=L.n(e3),e8=L(60011),e9=L(46871),e7=L(38966);let currentTimestamp=()=>Date.now();function pairKey(_,C){return`${_};${C}`}let tr={userDeadline:e8.PY,tokens:{},pairs:{},isExchangeChartDisplayed:!0,isSubgraphHealthIndicatorDisplayed:!1,userFarmStakedOnly:e9.GR.ON_FINISHED,userPoolStakedOnly:!1,userPoolsViewMode:e9.wO.TABLE,userFarmsViewMode:e9.wO.TABLE,userPredictionAcceptedRisk:!1,userLimitOrderAcceptedWarning:!1,userPredictionChartDisclaimerShow:!0,userPredictionChainlinkChartDisclaimerShow:!0,userUsernameVisibility:!1,gasPrice:e7.j4.rpcDefault,watchlistTokens:[],watchlistPools:[],hideTimestampPhishingWarningBanner:null};var ta=(0,ew.Lq)(tr,_=>_.addCase(eO.SL,_=>{"number"!=typeof _.userDeadline&&(_.userDeadline=e8.PY),_.lastUpdateVersionTimestamp=currentTimestamp()}).addCase(e9.gw,(_,C)=>{_.userDeadline=C.payload.userDeadline}).addCase(e9.eg,(_,C)=>{let{payload:{serializedToken:L}}=C;_.tokens||(_.tokens={}),_.tokens[L.chainId]=_.tokens[L.chainId]||{},_.tokens[L.chainId][L.address]=L}).addCase(e9.zQ,(_,C)=>{let{payload:{address:L,chainId:Z}}=C;_.tokens||(_.tokens={}),_.tokens[Z]?_.tokens[Z]=e4()(_.tokens[Z],(_,C)=>C===L):_.tokens[Z]={}}).addCase(e9.f9,(_,C)=>{let{payload:{serializedPair:L}}=C;if(L.token0.chainId===L.token1.chainId&&L.token0.address!==L.token1.address){let{chainId:C}=L.token0;_.pairs[C]=_.pairs[C]||{},_.pairs[C][pairKey(L.token0.address,L.token1.address)]=L}}).addCase(e9.cd,(_,C)=>{let{payload:{chainId:L,tokenAAddress:Z,tokenBAddress:ea}}=C;
329if(_.pairs[L]){let C=pairKey(Z,ea),es=pairKey(ea,Z);_.pairs[L]=e4()(_.pairs[L],(_,L)=>L===C||L===es)}}).addCase(e9.Gs,(_,C)=>{let{payload:{userFarmStakedOnly:L}}=C;_.userFarmStakedOnly=L}).addCase(e9.mm,(_,C)=>{let{payload:{userPoolStakedOnly:L}}=C;_.userPoolStakedOnly=L}).addCase(e9.d4,(_,C)=>{let{payload:{userPoolsViewMode:L}}=C;_.userPoolsViewMode=L}).addCase(e9.gk,(_,C)=>{let{payload:{userFarmsViewMode:L}}=C;_.userFarmsViewMode=L}).addCase(e9.RC,(_,C)=>{let{payload:{userAcceptedRisk:L}}=C;_.userPredictionAcceptedRisk=L}).addCase(e9.X,(_,C)=>{let{payload:{userAcceptedRisk:L}}=C;_.userLimitOrderAcceptedWarning=L}).addCase(e9.c4,(_,C)=>{let{payload:{userShowDisclaimer:L}}=C;_.userPredictionChartDisclaimerShow=L}).addCase(e9.YA,(_,C)=>{let{payload:{userShowDisclaimer:L}}=C;_.userPredictionChainlinkChartDisclaimerShow=L}).addCase(e9.zk,(_,C)=>{let{payload:{userUsernameVisibility:L}}=C;_.userUsernameVisibility=L}).addCase(e9.dy,(_,C)=>{_.gasPrice=C.payload.gasPrice}).addCase(e9.zS,(_,C)=>{var L;let{payload:{address:Z}}=C,ea=null!==(L=_.watchlistTokens)&&void 0!==L?L:[];if(ea.includes(Z)){let C=_.watchlistTokens.filter(_=>_!==Z);_.watchlistTokens=C}else _.watchlistTokens=[...ea,Z]}).addCase(e9.Dn,(_,C)=>{var L;let{payload:{address:Z}}=C,ea=null!==(L=_.watchlistPools)&&void 0!==L?L:[];if(ea.includes(Z)){let C=_.watchlistPools.filter(_=>_!==Z);_.watchlistPools=C}else _.watchlistPools=[...ea,Z]}).addCase(e9.hN,(_,C)=>{let{payload:L}=C;_.isExchangeChartDisplayed=L}).addCase(e9.Hr,(_,C)=>{let{payload:L}=C;_.isSubgraphHealthIndicatorDisplayed=L}));let fetchPotteryFinishedRound=async _=>{try{let C=await (0,eU.request)(e$.fK,eU.gql`
330        query getPotteryVaultRounds($roundId: Int!) {
331          potteryVaultRounds(first: 1, where: { roundId: $roundId }) {
332            id
333            roundId
334            drawDate
335            prizePot
336            txid
337            winners
338            vault {
339              totalPlayers
340              lockDate
341            }
342          }
343        }
344      `,{roundId:_}),{roundId:L,drawDate:Z,prizePot:ea,vault:es,txid:eo,winners:el}=C.potteryVaultRounds[0];return{isFetched:!0,roundId:L,drawDate:Z,prizePot:ea,totalPlayers:es.totalPlayers,txid:eo,winners:el,lockDate:es.lockDate}}catch(_){return console.error("Failed to fetch pottery finished round data",_),{isFetched:!1,roundId:null,drawDate:"",prizePot:"",totalPlayers:"",txid:"",winners:[],lockDate:""}}};var to=L(54854),tl=L(97269),tu=L(42166),tc=L(42338);let td=(0,eR.ty)(),fetchPotterysAllowance=async(_,C)=>{try{let L=(0,eR.jS)(tu.On.cake.address),Z=await L.read.allowance([_,C]);return new tl.Z(Z.toString()).toJSON()}catch(_){return console.error("Failed to fetch pottery user allowance",_),eB.HW.toJSON()}},fetchVaultUserData=async(_,C)=>{try{let L=(0,eR.s4)(C),Z=await L.read.balanceOf([_]),ea=await L.read.previewRedeem([Z]);return{previewDepositBalance:new tl.Z(ea.toString()).toJSON(),stakingTokenBalance:new tl.Z(Z.toString()).toJSON()}}catch(_){return console.error("Failed to fetch pottery vault user data",_),{previewDepositBalance:eB.HW.toJSON(),stakingTokenBalance:eB.HW.toJSON()}}},fetchUserDrawData=async _=>{try{let[C,L]=await td.read.userInfos([_]);return{rewards:new tl.Z(C.toString()).toJSON(),winCount:new tl.Z(L.toString()).toJSON()}}catch(_){return console.error("Failed to fetch pottery user draw data",_),{rewards:eB.HW.toJSON(),winCount:eB.HW.toString()}}},fetchWithdrawAbleData=async _=>{try{let C=await (0,eU.request)(e$.fK,eU.gql`
345        query getUserPotteryWithdrawAbleData($account: ID!) {
346          withdrawals(first: 1000, where: { user: $account }) {
347            id
348            shares
349            depositDate
350            vault {
351              id
352              status
353              lockDate
354            }
355          }
356        }
357      `,{account:_.toLowerCase()}),L=(0,eF.z2)({chainId:eZ.a_.MODE_MAINNET}),Z=await Promise.all(C.withdrawals.map(async C=>{let{id:Z,shares:ea,depositDate:es,vault:eo}=C,[el,eu,ec,ed]=await L.multicall({allowFailure:!1,contracts:[{address:eo.id,abi:tc.j,functionName:"previewRedeem",args:[BigInt(ea)]},{address:eo.id,abi:tc.j,functionName:"totalSupply"},{address:eo.id,abi:tc.j,functionName:"totalLockCake"},{address:eo.id,abi:tc.j,functionName:"balanceOf",args:[_]}]});return{id:Z,shares:ea,depositDate:es,previewRedeem:new tl.Z(el.toString()).toJSON(),status:e7.lS[eo.status],potteryVaultAddress:eo.id,totalSupply:new tl.Z(eu.toString()).toJSON(),totalLockCake:new tl.Z(ec.toString()).toJSON(),lockedDate:eo.lockDate,balanceOf:new tl.Z(ed.toString()).toJSON()}})),ea=Z.filter(_=>_.status===e7.lS.UNLOCK&&"0"===_.balanceOf?null:_);return ea}catch(_){return console.error("Failed to fetch withdrawable data",_),[]}},th=Object.freeze({lastVaultAddress:null,publicData:{lastDrawId:"",totalPrize:null,getStatus:e7.lS.BEFORE_LOCK,totalLockCake:null,totalSupply:null,lockStartTime:"",lockTime:0,totalLockedValue:null,latestRoundId:"",maxTotalDeposit:null},userData:{isLoading:!0,allowance:null,previewDepositBalance:null,stakingTokenBalance:null,rewards:null,winCount:null,withdrawAbleData:[]},finishedRoundInfo:{isFetched:!1,roundId:null,drawDate:"",prizePot:"",totalPlayers:"",txid:"",winners:[],lockDate:""}}),tp=(0,ew.hg)("pottery/fetchLastVaultAddress",async()=>{let _=await (0,to.lS)();return _}),tf=(0,ew.hg)("pottery/fetchPublicPotteryData",async(_,C)=>{let{getState:L}
357=C,Z=L(),ea=Z.pottery.lastVaultAddress,[es,eo,el]=await Promise.all([(0,to.Bn)(ea),(0,to.eC)(ea),(0,to.GJ)()]);return{...es,...eo,...el}}),tm=(0,ew.hg)("pottery/fetchPotteryUserData",async(_,C)=>{let{rejectWithValue:L,getState:Z}=C;try{let C=Z(),L=C.pottery.lastVaultAddress,[ea,es,eo,el]=await Promise.all([fetchPotterysAllowance(_,L),fetchVaultUserData(_,L),fetchUserDrawData(_),fetchWithdrawAbleData(_)]),eu={allowance:ea,previewDepositBalance:es.previewDepositBalance,stakingTokenBalance:es.stakingTokenBalance,rewards:eo.rewards,winCount:eo.winCount,withdrawAbleData:el};return eu}catch(_){return L(_)}}),tb=(0,ew.hg)("pottery/fetchPotteryRound",async _=>{let C=await fetchPotteryFinishedRound(_);return C}),ty=(0,ew.oM)({name:"Pottery",initialState:th,reducers:{setFinishedRoundInfoFetched:(_,C)=>{let L=C.payload;_.finishedRoundInfo={..._.finishedRoundInfo,isFetched:L}}},extraReducers:_=>{_.addCase(eO.tZ,_=>{_.userData={...th.userData}}),_.addCase(tp.fulfilled,(_,C)=>{_.lastVaultAddress=C.payload}),_.addCase(tf.fulfilled,(_,C)=>{_.publicData={...C.payload}}),_.addCase(tm.fulfilled,(_,C)=>{let L=C.payload;_.userData={...L,isLoading:!1}}),_.addCase(tb.fulfilled,(_,C)=>{_.finishedRoundInfo={...C.payload}})}}),{setFinishedRoundInfoFetched:tg}=ty.actions;var tv=ty.reducer;let tx={showFarmTransactionModal:!1,pickedFarmTransactionModalTx:{tx:"",chainId:eZ.a_.MODE_MAINNET}};var t_=(0,ew.Lq)(tx,_=>_.addCase(eO.Xw,(_,C)=>{let{payload:{showModal:L}}=C;_.showFarmTransactionModal=L}).addCase(eO.CF,(_,C)=>{let{payload:{tx:L,chainId:Z}}=C;_.pickedFarmTransactionModalTx={tx:L,chainId:Z},_.showFarmTransactionModal=!0}));let tw={key:"primary",whitelist:["user","transactions"],blacklist:["profile"],storage:eI.Z,version:1},tC=(ea=(0,e_.UY)({global:t_,lottery:e0,pottery:tv,user:ta,transactions:e6}),es=void 0!==tw.version?tw.version:-1,tw.debug,eo=void 0===tw.stateReconciler?function(_,C,L,Z){Z.debug;var ea=function(_){for(var C=1;C<arguments.length;C++){var L=null!=arguments[C]?arguments[C]:{};C%2?ownKeys(L,!0).forEach(function(C){var Z;Z=L[C],C in _?Object.defineProperty(_,C,{value:Z,enumerable:!0,configurable:!0,writable:!0}):_[C]=Z}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(L)):ownKeys(L).forEach(function(C){Object.defineProperty(_,C,Object.getOwnPropertyDescriptor(L,C))})}return _}({},L);return _&&"object"===_typeof(_)&&Object.keys(_).forEach(function(Z){"_persist"!==Z&&C[Z]===L[Z]&&(ea[Z]=_[Z])}),ea}:tw.stateReconciler,el=tw.getStoredState||function(_){var C,L=_.transforms||[],Z="".concat(void 0!==_.keyPrefix?_.keyPrefix:eq).concat(_.key),ea=_.storage;return _.debug,C=!1===_.deserialize?function(_){return _}:"function"==typeof _.deserialize?_.deserialize:defaultDeserialize,ea.getItem(Z).then(function(_){if(_)try{var Z={},ea=C(_);return Object.keys(ea).forEach(function(_){Z[_]=L.reduceRight(function(C,L){return L.out(C,_,ea)},C(ea[_]))}),Z}catch(_){throw _}})},eu=void 0!==tw.timeout?tw.timeout:5e3,ec=null,ed=!1,eh=!0,ep=function(_){return _._persist.rehydrated&&ec&&!eh&&ec.update(_),_},function(_,C){var L,Z,ef=_||{},em=ef._persist,eb=function(_,C){if(null==_)return{};var L,Z,ea=function(_,C){if(null==_)return{};var L,Z,ea={},es=Object.keys(_);for(Z=0;Z<es.length;Z++)L=es[Z],C.indexOf(L)>=0||(ea[L]=_[L]);return ea}(_,C);if(Object.getOwnPropertySymbols){var es=Object.getOwnPropertySymbols(_);for(Z=0;Z<es.length;Z++)L=es[Z],!(C.indexOf(L)>=0)&&Object.prototype.propertyIsEnumerable.call(_,L)&&(ea[L]=_[L])}return ea}(ef,["_persist"]);if(C.type===eM){var ey=!1,_rehydrate=function(_,L){ey||(C.rehydrate(tw.key,_,L),ey=!0)};if(eu&&setTimeout(function(){ey||_rehydrate(void 0,Error('redux-persist: persist timed out for persist key "'.concat(tw.key,'"')))},eu),eh=!1,ec||(ec=function(_){var C,L=_.blacklist||null,Z=_.whitelist||null,ea=_.transforms||[],es=_.throttle||0,eo="".concat(void 0!==_.keyPrefix?_.keyPrefix:eq).concat(_.key),el=_.storage;C=!1===_.serialize?function(_){return _}:"function"==typeof _.serialize?_.serialize:defaultSerialize;var eu=_.writeFailHandler||null,ec={},ed={},eh=[],ep=null,ef=null;function processNextKey(){if(0===eh.length){ep&&clearInterval(ep),ep=null;return}var _=eh.shift(),L=ea.reduce(function(C,L){return L.in(C,_,ec)},ec[_]);if(void 0!==L)try{ed[_]=C(L)}catch(_){console.error("redux-persist/createPersistoid: error serializing state",_)}else delete ed[_];
3570===eh.length&&(Object.keys(ed).forEach(function(_){void 0===ec[_]&&delete ed[_]}),ef=el.setItem(eo,C(ed)).catch(onWriteFail))}function passWhitelistBlacklist(_){return(!Z||-1!==Z.indexOf(_)||"_persist"===_)&&(!L||-1===L.indexOf(_))}function onWriteFail(_){eu&&eu(_)}return{update:function(_){Object.keys(_).forEach(function(C){passWhitelistBlacklist(C)&&ec[C]!==_[C]&&-1===eh.indexOf(C)&&eh.push(C)}),Object.keys(ec).forEach(function(C){void 0===_[C]&&passWhitelistBlacklist(C)&&-1===eh.indexOf(C)&&void 0!==ec[C]&&eh.push(C)}),null===ep&&(ep=setInterval(processNextKey,es)),ec=_},flush:function(){for(;0!==eh.length;)processNextKey();return ef||Promise.resolve()}}}(tw)),em)return persistReducer_objectSpread({},ea(eb,C),{_persist:em});if("function"!=typeof C.rehydrate||"function"!=typeof C.register)throw Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");return C.register(tw.key),el(tw).then(function(_){(tw.migrate||function(_,C){return Promise.resolve(_)})(_,es).then(function(_){_rehydrate(_)},function(_){_rehydrate(void 0,_)})},function(_){_rehydrate(void 0,_)}),persistReducer_objectSpread({},ea(eb,C),{_persist:{version:es,rehydrated:!1}})}if(C.type===ej)return ed=!0,C.result((L=tw.storage,Z="".concat(void 0!==tw.keyPrefix?tw.keyPrefix:eq).concat(tw.key),L.removeItem(Z,warnIfRemoveError))),persistReducer_objectSpread({},ea(eb,C),{_persist:em});if(C.type===ek)return C.result(ec&&ec.flush()),persistReducer_objectSpread({},ea(eb,C),{_persist:em});if(C.type===eE)eh=!0;else if(C.type===eS){if(ed)return persistReducer_objectSpread({},eb,{_persist:persistReducer_objectSpread({},em,{rehydrated:!0})});if(C.key===tw.key){var eg=ea(eb,C),ev=C.payload;return ep(persistReducer_objectSpread({},!1!==eo&&void 0!==ev?eo(ev,_,eg,tw):eg,{_persist:persistReducer_objectSpread({},em,{rehydrated:!0})}))}}if(!em)return ea(_,C);var ex=ea(eb,C);return ex===eb?_:ep(persistReducer_objectSpread({},ex,{_persist:em}))});function makeStore(){let _=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return(0,ew.xC)({reducer:tC,middleware:_=>_({thunk:!0,serializableCheck:{ignoredActions:[ek,eS,eE,eM,ej,eA]}}),devTools:!1,preloadedState:_})}let initializeStore=function(){let _=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,C=null!=Z?Z:makeStore(_);return _&&Z&&(C=makeStore({...Z.getState(),..._}),Z=void 0),Z||(Z=C),C};Z=initializeStore();let useAppDispatch=()=>(0,eT.I0)(),tT=(ef=Z,em=void 0,eb=(()=>{Z.dispatch((0,eO.SL)())})||!1,ey=(0,e_.MT)(function(){var _=arguments.length>0&&void 0!==arguments[0]?arguments[0]:eD,C=arguments.length>1?arguments[1]:void 0;switch(C.type){case eA:return persistStore_objectSpread({},_,{registry:[].concat(_toConsumableArray(_.registry),[C.key])});case eS:var L=_.registry.indexOf(C.key),Z=_toConsumableArray(_.registry);return Z.splice(L,1),persistStore_objectSpread({},_,{registry:Z,bootstrapped:0===Z.length});default:return _}},eD,em&&em.enhancer?em.enhancer:void 0),eg=function(_){ey.dispatch({type:eA,key:_})},ev=function(_,C,L){var Z={type:eS,payload:C,err:L,key:_};ef.dispatch(Z),ey.dispatch(Z),eb&&ex.getState().bootstrapped&&(eb(),eb=!1)},ex=persistStore_objectSpread({},ey,{purge:function(){var _=[];return ef.dispatch({type:ej,result:function(C){_.push(C)}}),Promise.all(_)},flush:function(){var _=[];return ef.dispatch({type:ek,result:function(C){_.push(C)}}),Promise.all(_)},pause:function(){ef.dispatch({type:eE})},persist:function(){ef.dispatch({type:eM,register:eg,rehydrate:ev})}}),em&&em.manualPersist||ex.persist(),ex);function useStore(_){return(0,eC.useMemo)(()=>initializeStore(_),[_])}},50043:function(_,C,L){"use strict";L.d(C,{Dw:function(){return eg},Hc:function(){return ep},J5:function(){return checkIsStableSwap},OO:function(){return em},Pi:function(){return ey},SA:function(){return eq},VG:function(){return eT},VQ:function(){return eh},WK:function(){return eC},WR:function(){return ef},YM:function(){return eb},nA:function(){return ex},rf:function(){return getMultiChainQueryEndPointWithStableSwap},tO:function(){return ew},z2:function(){return e_}});
357var Z=L(82880),ea=L(21358),es=L(11189),eo=L(30668),el=L(23390),eu=L(20980),ec=L(61230),ed=L.n(ec);let eh={[es.a_.MODE_MAINNET]:"MODE",[es.a_.MODE_TESTNET]:"MODE TESTNET"},ep={},ef={MODE:"ETH","MODE TESTNET":"ETH"},em={MODE:Z.I0,"MODE TESTNET":Z.Hs},eb={BSC:eo.Rr,ETH:eo.DY,POLYGON_ZKEVM:1686236845,ZKSYNC:1690462800,ARB:1686732526,LINEA:1692878400,BASE:1693483200,OPBNB:1695945600},ey={MODE:es.a_.MODE_MAINNET,"MODE TESTNET":es.a_.MODE_TESTNET},eg={[es.a_.MODE_MAINNET]:"",[es.a_.MODE_TESTNET]:"/mode_testnet"},ev={MODE:ea.dQ,"MODE TESTNET":ea.GJ},ex={MODE:el.e.blockExplorers.etherscan.name,"MODE TESTNET":eu.R.blockExplorers.etherscan.name},e_=ed()({MODE:["0x"],"MODE TESTNET":["0x"]},_=>_.map(_=>_.toLowerCase())),ew=ed()({MODE:[],"MODE TESTNET":[]},_=>_.map(_=>_.toLowerCase())),getMultiChainQueryEndPointWithStableSwap=_=>{let C=checkIsStableSwap();return C?ea.MS:ev[_]},eC={"0x738d96Caf7096659DB4C1aFbf1E1BDFD281f388C":"Ankr Staked MATIC","0x14016E85a25aeb13065688cAFB43044C2ef86784":"True USD Old"},eT={"0x14016E85a25aeb13065688cAFB43044C2ef86784":"TUSDOLD"},checkIsStableSwap=()=>window.location.href.includes("stableSwap"),eq=[]},47117:function(_,C,L){"use strict";L.d(C,{xj:function(){return eD},i:function(){return eI},HW:function(){return eN},Ti:function(){return ej},v0:function(){return useActiveListUrls},R0:function(){return useAllLists},z0:function(){return useCombinedActiveList},qB:function(){return useCombinedInactiveList},eu:function(){return useInactiveListUrls},EF:function(){return useIsListActive},Rx:function(){return useUnsupportedTokenList},c6:function(){return useWarningTokenList}});var Z=L(11189),ea=L(26265),es=L(98653),eo=L(71609),el=L(80440),eu=L(42843),ec=L(61230),ed=L.n(ec),eh=L(39907),ep=L.n(eh),ef=L(64038),em=L.n(ef),eb=L(57383),ey=L.n(eb),eg=L(42166),ev=L(3010),ex=L.n(ev),e_=L(52983),ew=L(5573),eC=JSON.parse('{"name":"Andex Default List","timestamp":"2022-01-26T11:45:09Z","version":{"major":4,"minor":0,"patch":0},"tags":{},"logoURI":"https://andex.vercel.app/logo.png","keywords":["pancake","default"],"tokens":[{"name":"Wrapped BNB","symbol":"WBNB","address":"0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c","chainId":56,"decimals":18,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/bnb.png"},{"name":"BUSD Token","symbol":"BUSD","address":"0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56","chainId":56,"decimals":18,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/busd.png"},{"name":"Ethereum Token","symbol":"ETH","address":"0x2170Ed0880ac9A755fd29B2688956BD959F933F8","chainId":56,"decimals":18,"logoURI":"https://andex.vercel.app/images/tokens/0x2170Ed0880ac9A755fd29B2688956BD959F933F8.png"},{"name":"BTCB Token","symbol":"BTCB","address":"0x7130d2A12B9BCbFAe4f2634d864A1Ee1Ce3Ead9c","chainId":56,"decimals":18,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/wbtc.png"},{"name":"Tether USD","symbol":"USDT","address":"0x55d398326f99059fF775485246999027B3197955","chainId":56,"decimals":18,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/usdt.png"},{"name":"Andex Token","symbol":"ANDX","address":"0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82","chainId":56,"decimals":18,"logoURI":"https://andex.vercel.app/images/tokens/0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82.png"},{"name":"Andex Token","symbol":"ANDX","address":"0xFa60D973F7642B748046464e165A65B7323b0DEE","chainId":97,"decimals":18,"logoURI":"https://andex.vercel.app/images/tokens/0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82.png"},{"name":"Andex Token","symbol":"ANDX","address":"0x152649eA73beAb28c5b49B26eb48f7EAD6d4c898","chainId":1,"decimals":18,"logoURI":"https://andex.vercel.app/images/tokens/0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82.png"},{"name":"Andex Token","symbol":"ANDX","address":"0xc2C3eAbE0368a2Ea97f485b03D1098cdD7d0c081","chainId":5,"decimals":18,"logoURI":"https://andex.vercel.app/images/tokens/0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82.png"},{"name":"Andex Token","symbol":"ANDX","address":"0xFf2FA31273c1aedB67017B52C625633d2F021f67","chainId":280,"decimals":18,"logoURI":"https://andex.vercel.app/images/tokens/0x0E09FaBB73Bd3Ade0a1
3577ECC321fD13a19e81cE82.png"},{"name":"Andex Token","symbol":"ANDX","address":"0x0D1E753a25eBda689453309112904807625bEFBe","chainId":1101,"decimals":18,"logoURI":"https://andex.vercel.app/images/tokens/0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82.png"},{"name":"Andex Token","symbol":"ANDX","address":"0x3A287a06c66f9E95a56327185cA2BDF5f031cEcD","chainId":324,"decimals":18,"logoURI":"https://andex.vercel.app/images/tokens/0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82.png"},{"name":"Andex Token","symbol":"ANDX","address":"0x1b896893dfc86bb67Cf57767298b9073D2c1bA2c","chainId":42161,"decimals":18,"logoURI":"https://andex.vercel.app/images/tokens/0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82.png"},{"name":"Andex Token","symbol":"ANDX","address":"0x2B3C5df29F73dbF028BA82C33e0A5A6e5800F75e","chainId":1442,"decimals":18,"logoURI":"https://andex.vercel.app/images/tokens/0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82.png"},{"name":"Andex Token","symbol":"ANDX","address":"0x0D1E753a25eBda689453309112904807625bEFBe","chainId":59144,"decimals":18,"logoURI":"https://andex.vercel.app/images/tokens/0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82.png"},{"name":"Andex Token","symbol":"ANDX","address":"0x62FF25CFD64E55673168c3656f4902bD7Aa5F0f4","chainId":421613,"decimals":18,"logoURI":"https://andex.vercel.app/images/tokens/0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82.png"},{"name":"Andex Token","symbol":"ANDX","address":"0x3055913c90Fcc1A6CE9a358911721eEb942013A1","chainId":8453,"decimals":18,"logoURI":"https://andex.vercel.app/images/tokens/0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82.png"},{"name":"Andex Token","symbol":"ANDX2","address":"0x8d008B313C1d6C7fE2982F62d32Da7507cF43551","chainId":97,"decimals":18,"logoURI":"https://andex.vercel.app/images/tokens/0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82.png"},{"name":"Andex Token","symbol":"ANDX3","address":"0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56","chainId":97,"decimals":18,"logoURI":"https://andex.vercel.app/images/tokens/0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82.png"},{"name":"Test BUSD Token","symbol":"tBUSD","address":"0xaB1a4d4f1D656d2450692D237fdD6C7f9146e814","chainId":97,"decimals":18,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/busd.png"},{"name":"Wrapped Ether","address":"0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6","symbol":"WETH","decimals":18,"chainId":5,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/weth.png"},{"name":"Wrapped Ether","address":"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2","symbol":"WETH","decimals":18,"chainId":1,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/weth.png"},{"name":"Wrapped Ether","address":"0x82aF49447D8a07e3bd95BD0d56f35241523fBab1","symbol":"WETH","decimals":18,"chainId":42161,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/weth.png"},{"name":"Wrapped Ether","address":"0x02968DB286f24cB18bB5b24903eC8eBFAcf591C0","symbol":"WETH","decimals":18,"chainId":280,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/weth.png"},{"name":"Wrapped Ether","address":"0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91","symbol":"WETH","decimals":18,"chainId":324,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/weth.png"},{"name":"Wrapped Ether","address":"0xEe01c0CD76354C383B8c7B4e65EA88D00B06f36f","symbol":"WETH","decimals":18,"chainId":421613,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/weth.png"},{"name":"Wrapped Ether","address":"0x4F9A0e7FD2Bf6067db6994CF12E4495Df938E6e9","symbol":"WETH","decimals":18,"chainId":1101,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/weth.png"},{"name":"USD Coin","address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","symbol":"USDC","decimals":6,"chainId":1,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/usdc.png"},{"name":"USD Coin","address":"0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4","symbol":"USDC","decimals":6,"chainId":324,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/usdc.png"},{"name":"USD Coin","address":"0x0faF6df7054946141266420b43783387A78d82A9","symbol":"USDC","decimals":6,"chainId":280,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/usdc.png"}
357,{"name":"USD Coin","address":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","symbol":"USDC","decimals":6,"chainId":42161,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/usdc.png"},{"name":"USD Coin","address":"0xf56dc6695cF1f5c364eDEbC7Dc7077ac9B586068","symbol":"USDC","decimals":6,"chainId":59140,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/usdc.png"},{"name":"USD Coin","address":"0x179522635726710Dd7D2035a81d856de4Aa7836c","symbol":"USDC","decimals":6,"chainId":421613,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/usdc.png"},{"name":"USD Coin","address":"0x853154e2A5604E5C74a2546E2871Ad44932eB92C","symbol":"USDC","decimals":6,"chainId":84531,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/usdc.png"},{"name":"USD Base Coin","symbol":"USDbC","address":"0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA","chainId":8453,"decimals":6,"logoURI":"https://tokens.pancakeswap.finance/images/base/0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA.png"},{"name":"USD Coin","symbol":"USDC","address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","chainId":8453,"decimals":6,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/usdc.png"},{"name":"USD Coin","address":"0xA8CE8aee21bC2A48a5EF670afCc9274C7bbbC035","symbol":"USDC","decimals":6,"chainId":1101,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/usdc.png"},{"name":"USD Coin","address":"0x176211869cA2b568f2A7D4EE941E073a821EE1ff","symbol":"USDC","decimals":6,"chainId":59144,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/usdc.png"},{"name":"USD Coin","address":"0x02a3e7E0480B668bD46b42852C58363F93e3bA5C","symbol":"USDC","decimals":6,"chainId":534351,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/usdc.png"},{"name":"Tether USD","address":"0x1E4a5963aBFD975d8c9021ce480b42188849D41d","symbol":"USDT","decimals":6,"chainId":1101,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/usdt.png"},{"name":"Test USD Coin","address":"0x07865c6E87B9F70255377e024ace6630C1Eaa37F","symbol":"tUSDC","decimals":6,"chainId":5,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/usdc.png"},{"name":"Test USD Coin","address":"0x7379a261bC347BDD445484A91648Abf4A2BDEe5E","symbol":"tUSDC","decimals":6,"chainId":1442,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/usdc.png"},{"name":"Tether USD","address":"0xdAC17F958D2ee523a2206206994597C13D831ec7","symbol":"USDT","decimals":6,"chainId":1,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/usdt.png"},{"name":"Wrapped BNB","symbol":"WBNB","address":"0xae13d989daC2f0dEbFf460aC112a837C89BAa7cd","chainId":97,"decimals":18,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/bnb.png"},{"name":"Wrapped BTC","symbol":"WBTC","address":"0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599","chainId":1,"decimals":8,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/wbtc.png"},{"name":"BUSD Token","symbol":"BUSD","address":"0xeD24FC36d5Ee211Ea25A80239Fb8C4Cfd80f12Ee","chainId":97,"decimals":18,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/busd.png"},{"name":"USD Coin","symbol":"USDT","address":"0x64544969ed7EBf5f083679233325356EbE738930","chainId":97,"decimals":18,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/usdc.png"},{"name":"DAI Token","symbol":"DAI","address":"0xEC5dCb5Dbf4B114C9d0F65BcCAb49EC54F6A0867","chainId":97,"decimals":18,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/dai.png"},{"name":"Tether USD","symbol":"USDT","address":"0x337610d27c682E347C9cD60BD4b3b107C9d34dDd","chainId":97,"decimals":18,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/usdt.png"},{"name":"BTCB Token","symbol":"BTCB","address":"0x6ce8dA28E2f864420840cF74474eFf5fD80E65B8","chainId":97,"decimals":18,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/wbtc.png"},{"name":"Ethereum Token","symbol":"ETH","address":"0xd66c6B4F0be8CE5b39D52E0Fd1344c389929B378","chainId":97,"decimals":18,"logoURI":"https://andex.vercel.app/images/tokens/0x2170Ed0880ac9A755fd29B2688956BD959F933F8.png"}
357,{"name":"Wrapped BNB","symbol":"WBNB","address":"0x4200000000000000000000000000000000000006","chainId":5611,"decimals":18,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/bnb.png"},{"name":"Wrapped BNB","symbol":"WBNB","address":"0x4200000000000000000000000000000000000006","chainId":204,"decimals":18,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/bnb.png"},{"name":"Ethereum Token","symbol":"ETH","address":"0xe7798f023fc62146e8aa1b36da45fb70855a77ea","chainId":204,"decimals":18,"logoURI":"https://andex.vercel.app/images/tokens/0x2170Ed0880ac9A755fd29B2688956BD959F933F8.png"},{"name":"Tether USD","symbol":"USDT","address":"0x9e5aac1ba1a2e6aed6b32689dfcf62a509ca96f3","chainId":204,"decimals":18,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/usdt.png"},{"name":"Andex Token","symbol":"ANDX","address":"0xa11B290B038C35711eB309268a2460754f730921","chainId":5611,"decimals":18,"logoURI":"https://andex.vercel.app/images/tokens/0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82.png"},{"name":"Tether USD","symbol":"USDT","address":"0xCF712f20c85421d00EAa1B6F6545AaEEb4492B75","chainId":5611,"decimals":18,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/usdt.png"}]}'),eT=JSON.parse('{"name":"Pancake Unsupported List","timestamp":"2021-01-05T20:47:02.923Z","version":{"major":1,"minor":0,"patch":0},"tags":{},"logoURI":"ipfs://QmNa8mQkrNKp1WEEeGjFezDmDeodkWRevGFN8JCV7b4Xir","keywords":["pancake","unsupported"],"tokens":[]}'),eq=JSON.parse('{"name":"Pancake Unsupported List","timestamp":"2021-01-05T20:47:02.923Z","version":{"major":1,"minor":0,"patch":0},"tags":{},"logoURI":"ipfs://QmNa8mQkrNKp1WEEeGjFezDmDeodkWRevGFN8JCV7b4Xir","keywords":["pancake","unsupported"],"tokens":[{"name":"Pokemoney Coin","symbol":"PMY","address":"0x32ff5b4C3B1744F0344D96fA2f87799Ed2805749","chainId":56,"decimals":18}]}'),ek=JSON.parse('{"name":"Andex OnRamp List","timestamp":"2022-01-26T11:45:09Z","version":{"major":4,"minor":0,"patch":0},"tags":{},"logoURI":"https://andex.vercel.app/logo.png","keywords":["pancake","default"],"tokens":[{"name":"Binance Pegged USDT","symbol":"USDT","address":"0x55d398326f99059fF775485246999027B3197955","chainId":56,"decimals":18,"logoURI":"https://tokens.pancakeswap.finance/images/0x55d398326f99059fF775485246999027B3197955.png"},{"name":"Binance Pegged USD Coin","symbol":"USDC","address":"0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d","chainId":56,"decimals":18,"logoURI":"https://tokens.pancakeswap.finance/images/0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d.png"},{"name":"USD Coin","address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","symbol":"USDC","decimals":6,"chainId":1,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/usdc.png"},{"name":"Tether USD","address":"0xdAC17F958D2ee523a2206206994597C13D831ec7","symbol":"USDT","decimals":6,"chainId":1,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/usdt.png"},{"name":"DAI StableCoin","address":"0x6B175474E89094C44Da98b954EedeAC495271d0F","symbol":"DAI","decimals":18,"chainId":1,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/dai.png"},{"name":"Wrapped BTC","symbol":"WBTC","address":"0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599","chainId":1,"decimals":8,"logoURI":"https://tokens.pancakeswap.finance/images/eth/0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599.png"},{"name":"USD Coin","address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","symbol":"USDC","decimals":6,"chainId":42161,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/usdc.png"},{"name":"USD Coin Ethereum Bridged","symbol":"USDC.e","address":"0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8","chainId":42161,"decimals":6,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/usdc.png"},{"name":"USD Coin","symbol":"USDC","address":"0x176211869cA2b568f2A7D4EE941E073a821EE1ff","chainId":59144,"decimals":6,"logoURI":"https://tokens.pancakeswap.finance/images/symbol/usdc.png"},{"name":"USD Coin","symbol":"USDC","address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","chainId":8453,"decimals":6,"logoURI":"https://tokens.pancakeswap.finance/images/polygon-zkevm/0xA8CE8aee21bC2A48a5EF670afCc9274C7bbbC035.png"}]}'),eS=L(17224),eE=L(82730);function sortByListPriority(_,C){let L=eo.Lx.includes(_)?eo.Lx.indexOf(_):Number.MAX_SAFE_INTEGER,Z=eo.Lx.includes(C)?eo.Lx.indexOf(C):Number.MAX_SAFE_INTEGER;return L<Z?1:L>Z?-1:0}let eM=(0,el.cn)(_=>{var C,L;return null!==(L=null===(C=_(eS.lL))||void 0===C?void 0:C.activeListUrls)&&void 0!==L?L:[]}),ej=(0,el.cn)(_=>{var C,L;return null!==(L=null===(C=_(eS.lL))||void 0===C?void 0:C.byUrl)&&void 0!==L?L:{}}),eA=(0,el.cn)(_=>{let C=_(eM);return null==C?void 0:C.filter(_=>!eo.US.includes(_))}),combineTokenMapsWithDefault=(_,C)=>{let L=listToTokenMap(eC,"address");return C?combineMaps(combineTokenMaps(_,C),L):L},combineTokenMapsWithOnRamp=()=>{let _=listToTokenMap(ek,"symbol");return _},eD=(0,el.cn)(()=>combineTokenMapsWithOnRamp()),combineTokenMaps=(_,C)=>C?[...C].sort(sortByListPriority).reduce((C,L)=>{var Z;let ea=null===(Z=_[L])||void 0===Z?void 0:Z.current;if(!ea)return C;try{let _=Object.assign(listToTokenMap(ea,"address"));return combineMaps(C,_)}catch(_){return console.error("Could not show token list due to error",_),C}},eg.rP):eg.rP,eI=(0,el.cn)(_=>{let[C,L]=[_(ej),_(eM)];return combineTokenMapsWithDefault(C,L)}),eO=(0,el.cn)(_=>{let[C,L]=[_(ej),_(eM)];return Object.keys(C).filter(_=>!(null==L?void 0:L.includes(_))&&!eo.US.includes(_))}),eP=(0,el.cn)(_=>{let[C,L]=[_(ej),_(eO)];return combineTokenMaps(C,L)}),eN=(0,el.cn)(_=>{let C=_(ej);return combineTokenMapsWithDefault(C,eo.mg)});(0,el.cn)(_=>{let C=_(ej),L=eo.mg.reduce((_,L)=>{var Z,ea,es,eo;return(null==C?void 0:null===(ea=C[L])||void 0===ea?void 0:null===(Z=ea.current)||void 0===Z?void 0:Z.tokens)&&_.push(...(null==C?void 0:null===(eo=C[L])||void 0===eo?void 0:null===(es=eo.current)||void 0===es?void 0:es.tokens)||[]),_},[]),Z=L.length>0?[...eC.tokens,...L]:eC.tokens;return ed()(ep()(ex()(Z,_=>`${_.chainId}#${_.address}`),"chainId"),_=>em()(_,"address"))});let eL=(0,el.cn)(_=>{let C=_(ej),L=listToTokenMap(eT,"address"),Z=combineTokenMaps(C,eo.US);return combineMaps(L,Z)}),eR=(0,el.cn)(_=>{let C=_(ej),L=listToTokenMap(eq,"address"),Z=combineTokenMaps(C,eo.VX);return combineMaps(L,Z)}),eB="undefined"!=typeof WeakMap?new WeakMap:null;function listToTokenMap(_,C){let L=null==eB?void 0:eB.get(_);if(L)return L;let es=ex()(_.tokens,_=>`${_.chainId}#${_.address}`).map(_=>{let C=(0,eE.xP)(_.address);return C?new ea.DT({..._,address:C}):null}
357).filter(Boolean),eo=ep()(es,"chainId"),el=ed()(eo,L=>ed()(em()(L,C),C=>({token:C,list:_})));return Object.keys(Z.a_).filter(_=>Number.isNaN(+_)).forEach(_=>{Z.a_[_]in el||Object.defineProperty(el,Z.a_[_],{value:{}})}),null==eB||eB.set(_,el),el}function useAllLists(){let{chainId:_}=(0,ew.g)(),C=(0,eu.Dv)(ej);return(0,e_.useMemo)(()=>ey()(C,(C,L)=>{var Z;return null===(Z=eo.vv[_])||void 0===Z?void 0:Z.includes(L)}),[_,C])}function combineMaps(_,C){let L={};for(let ea of(0,es.H)(Z.a_))L[ea]={..._[ea],...C[ea]};return L}function useActiveListUrls(){let{chainId:_}=(0,ew.g)(),C=(0,eu.Dv)(eA);return(0,e_.useMemo)(()=>C.filter(C=>{var L;return null===(L=eo.vv[_])||void 0===L?void 0:L.includes(C)}),[C,_])}function useInactiveListUrls(){return(0,eu.Dv)(eO)}function useCombinedActiveList(){let _=(0,eu.Dv)(eI);return _}function useCombinedInactiveList(){return(0,eu.Dv)(eP)}function useUnsupportedTokenList(){return(0,eu.Dv)(eL)}function useWarningTokenList(){return(0,eu.Dv)(eR)}function useIsListActive(_){let C=useActiveListUrls();return(0,e_.useMemo)(()=>!!(null==C?void 0:C.includes(_)),[C,_])}},17224:function(_,C,L){"use strict";L.d(C,{E3:function(){return es},GF:function(){return ec},lL:function(){return el},n_:function(){return eu}});var Z=L(83787),ea=L(71609);let es={lastInitializedDefaultListOfLists:ea.Lx,byUrl:{...ea.Lx.concat(...ea.US).reduce((_,C)=>(_[C]=Z.Pu,_),{})},activeListUrls:ea.c8},eo=(0,Z.g6)(es,ea.Lx,ea.c8),{listsAtom:el,useListState:eu,useListStateReady:ec}=(0,Z.jy)("listv4",eo,es)},3960:function(_,C,L){"use strict";L.d(C,{$x:function(){return el},Dd:function(){return eo},gl:function(){return parseCallKey},kG:function(){return toCallKey},nu:function(){return eu},wC:function(){return ec},zT:function(){return ed}});var Z=L(65675);let ea=/^0x[a-fA-F0-9]{40}$/,es=/^0x[a-f0-9]*$/;function toCallKey(_){if(!ea.test(_.address))throw Error(`Invalid address: ${_.address}`);if(!es.test(_.callData))throw Error(`Invalid hex: ${_.callData}`);return`${_.address}-${_.callData}`}function parseCallKey(_){let C=_.split("-");if(2!==C.length)throw Error(`Invalid call key: ${_}`);return{address:C[0],callData:C[1]}}let eo=(0,Z.PH)("multicall/addMulticallListeners"),el=(0,Z.PH)("multicall/removeMulticallListeners"),eu=(0,Z.PH)("multicall/fetchingMulticallResults"),ec=(0,Z.PH)("multicall/errorFetchingMulticallResults"),ed=(0,Z.PH)("multicall/updateMulticallResults")},53804:function(_,C,L){"use strict";L.d(C,{$:function(){return eu}});var Z=L(65675),ea=L(54367),es=L(3960);let eo={callResults:{}},el=(0,Z.Lq)(eo,_=>_.addCase(es.Dd,(_,C)=>{var L;let{payload:{calls:Z,chainId:ea,options:{blocksPerFetch:eo=1}={}}}=C,el=_.callListeners?_.callListeners:_.callListeners={};el[ea]=null!==(L=el[ea])&&void 0!==L?L:{},Z.forEach(_=>{var C,L;let Z=(0,es.kG)(_);el[ea][Z]=null!==(C=el[ea][Z])&&void 0!==C?C:{},el[ea][Z][eo]=(null!==(L=el[ea][Z][eo])&&void 0!==L?L:0)+1})}).addCase(es.$x,(_,C)=>{let{payload:{chainId:L,calls:Z,options:{blocksPerFetch:ea=1}={}}}=C,eo=_.callListeners?_.callListeners:_.callListeners={};eo[L]&&Z.forEach(_=>{let C=(0,es.kG)(_);eo[L][C]&&eo[L][C][ea]&&(1===eo[L][C][ea]?delete eo[L][C][ea]:eo[L][C][ea]--)})}).addCase(es.nu,(_,C)=>{var L;let{payload:{chainId:Z,fetchingBlockNumber:ea,calls:eo}}=C;_.callResults[Z]=null!==(L=_.callResults[Z])&&void 0!==L?L:{},eo.forEach(C=>{let L=(0,es.kG)(C),eo=_.callResults[Z][L];if(eo){var el;if((null!==(el=eo.fetchingBlockNumber)&&void 0!==el?el:0)>=ea)return;_.callResults[Z][L].fetchingBlockNumber=ea}else _.callResults[Z][L]={fetchingBlockNumber:ea}})}).addCase(es.wC,(_,C)=>{var L;let{payload:{fetchingBlockNumber:Z,chainId:ea,calls:eo}}=C;_.callResults[ea]=null!==(L=_.callResults[ea])&&void 0!==L?L:{},eo.forEach(C=>{let L=(0,es.kG)(C),eo=_.callResults[ea][L];eo&&eo.fetchingBlockNumber===Z&&(delete eo.fetchingBlockNumber,eo.data=null,eo.blockNumber=Z)})}).addCase(es.zT,(_,C)=>{var L;let{payload:{chainId:Z,results:ea,blockNumber:es}}=C;_.callResults[Z]=null!==(L=_.callResults[Z])&&void 0!==L?L:{},Object.keys(ea).forEach(C=>{var L;let eo=_.callResults[Z][C];(null!==(L=null==eo?void 0:eo.blockNumber)&&void 0!==L?L:0)>es||(_.callResults[Z][C]={data:ea[C],blockNumber:es})})})),eu=(0,ea.w0)(eo,el)},54854:function(_,C,L){"use strict";L.d(C,{Bn:function(){return fetchPublicPotteryValue},GJ:function(){return fetchLatestRoundId},eC:function(){return fetchTotalLockedValue},lS:function(){return fetchLastVaultAddress}});var Z=L(97269),ea=L(42338),es=L(32611),eo=L(86530),el=L(38966),eu=L(42166),ec=L(62370),ed=L(13138),eh=L(82880
357),ep=L(67922),ef=L(30012),em=L(11189);let eb=(0,es.Du)(),fetchLastVaultAddress=async()=>{try{let _=await (0,ed.request)(eh.fK,ed.gql`
358        query getLastVaultAddress($contract: ID!) {
359          pottery(id: $contract) {
360            id
361            lastVaultAddress
362          }
363        }
364      `,{contract:eb}),{lastVaultAddress:C}=_.pottery;return C}catch(_){return console.error("Failed to fetch last vault address",_),""}},fetchPublicPotteryValue=async _=>{try{let[C,L,es,eo,el,eu,{lastDrawId:ec,totalPrize:ed}]=await (0,ef.z2)({chainId:em.a_.MODE_MAINNET}).multicall({contracts:[{abi:ea.j,address:_,functionName:"getStatus"},{abi:ea.j,address:_,functionName:"totalLockCake"},{abi:ea.j,address:_,functionName:"totalSupply"},{abi:ea.j,address:_,functionName:"lockStartTime"},{abi:ea.j,address:_,functionName:"getLockTime"},{abi:ea.j,address:_,functionName:"getMaxTotalDeposit"},{abi:ep.c,address:eb,functionName:"getPot",args:[_]}],allowFailure:!1});return{lastDrawId:new Z.Z(ec.toString()).toJSON(),totalPrize:new Z.Z(ed.toString()).toJSON(),getStatus:C,totalLockCake:new Z.Z(L.toString()).toJSON(),totalSupply:new Z.Z(es.toString()).toJSON(),lockStartTime:eo.toString(),lockTime:Number(el),maxTotalDeposit:new Z.Z(eu.toString()).toJSON()}}catch(_){return console.error("Failed to fetch public pottery value data",_),{lastDrawId:eo.HW.toJSON(),totalPrize:eo.HW.toJSON(),getStatus:el.lS.BEFORE_LOCK,totalLockCake:eo.HW.toJSON(),totalSupply:eo.HW.toJSON(),lockStartTime:eo.HW.toJSON(),lockTime:0,maxTotalDeposit:eo.HW.toJSON()}}},fetchTotalLockedValue=async _=>{try{let C=(0,ec.jS)(eu.On.cake.address),L=await C.read.balanceOf([_]);return{totalLockedValue:new Z.Z(L.toString()).toJSON()}}catch(_){return console.error("Failed to fetch total lock value",_),{totalLockedValue:eo.HW.toJSON()}}},fetchLatestRoundId=async()=>{try{var _,C;let L=await (0,ed.request)(eh.fK,ed.gql`
365        query getLatestRoundId {
366          potteryVaultRounds(first: 1, orderDirection: desc, orderBy: roundId) {
367            roundId
368            winners
369          }
370        }
371      `),Z=null===(_=L.potteryVaultRounds[0])||void 0===_?void 0:_.winners,ea=null===(C=L.potteryVaultRounds[0])||void 0===C?void 0:C.roundId;return{latestRoundId:(null==Z?void 0:Z.length)>0?ea||"":ea-1}}catch(_){return console.error("Failed to fetch last roundId ",_),{latestRoundId:""}}}},47116:function(_,C,L){"use strict";L.d(C,{Un:function(){return useProfile}});var Z,ea,es,eo,el,eu,ec=L(29517);L(13138);let ed=new Map;[{id:"511110000",type:"ifo",title:"Kalmar",badge:"ifo-kalm.svg"},{id:"511100000",type:"ifo",title:"Hotcross",badge:"ifo-hotcross.svg"},{id:"511090000",type:"ifo",title:"Horizon Protocol",badge:"ifo-hzn.svg"},{id:"511080000",type:"ifo",title:"Belt",badge:"ifo-belt.svg"},{id:"511070000",type:"ifo",title:"Yieldwatch",badge:"ifo-watch.svg"},{id:"511060000",type:"ifo",title:"Berry",badge:"ifo-bry.svg"},{id:"511050000",type:"ifo",title:"Soteria",badge:"ifo-wsote.svg"},{id:"511040000",type:"ifo",title:"Helmet",badge:"ifo-helmet.svg"},{id:"511030000",type:"ifo",title:"Tenet",badge:"ifo-ten.svg"},{id:"511020000",type:"ifo",title:"Ditto",badge:"ifo-ditto.svg"},{id:"511010000",type:"ifo",title:"Blink",badge:"ifo-blink.svg"},{id:"512010001",type:"teambattle",title:"Easter Champion: Gold",badge:"easter-champion-gold.svg"},{id:"512010002",type:"teambattle",title:"Easter Top 500: Gold",badge:"easter-top-500-gold.svg"},{id:"512010003",type:"teambattle",title:"Easter Top 500: Gold",badge:"easter-top-500-gold.svg"},{id:"512010004",type:"teambattle",title:"Easter Top 500: Gold",badge:"easter-top-500-gold.svg"},{id:"512010005",type:"teambattle",title:"Easter Participant: Gold",badge:"easter-participant-gold.svg"},{id:"512010006",type:"teambattle",title:"Easter Champion: Silver",badge:"easter-champion-silver.svg"},{id:"512010007",type:"teambattle",title:"Easter Top 500: Silver",badge:"easter-top-500-silver.svg"},{id:"512010008",type:"teambattle",title:"Easter Top 500: Silver",badge:"easter-top-500-silver.svg"},{id:"512010009",type:"teambattle",title:"Easter Top 500: Silver",badge:"easter-top-500-silver.svg"}
371,{id:"512010010",type:"teambattle",title:"Easter Participant: Silver",badge:"easter-participant-silver.svg"},{id:"512010011",type:"teambattle",title:"Easter Champion: Bronze",badge:"easter-champion-bronze.svg"},{id:"512010012",type:"teambattle",title:"Easter Top 500: Bronze",badge:"easter-top-500-bronze.svg"},{id:"512010013",type:"teambattle",title:"Easter Top 500: Bronze",badge:"easter-top-500-bronze.svg"},{id:"512010014",type:"teambattle",title:"Easter Top 500: Bronze",badge:"easter-top-500-bronze.svg"},{id:"512010015",type:"teambattle",title:"Easter Participant: Bronze",badge:"easter-participant-bronze.svg"},{id:"513010001",type:"participation",title:"Syrup Soaker",description:"Took a dip in the early days of the Auto ANDX Pool",badge:"syrup-soaker.svg"},{id:"514010001",type:"participation",title:"Clairvoyant",description:"Played a round of Prediction before round 12,120",badge:"clairvoyant.svg"},{id:"515010001",type:"participation",title:"Lottie",description:"Joined a round in the early days of Lottery V2",badge:"lottie.svg"},{id:"515020001",type:"participation",title:"Lucky",description:"Won a round in the early days of Lottery V2",badge:"lucky.svg"},{id:"515030001",type:"participation",title:"Baller",description:"Top 100 ticket buyer in the early days of Lottery V2",badge:"baller.svg"},{id:"516010001",type:"participation",title:"1 Year",description:"Joined Andex during the first year of our journey!",badge:"1-year.svg"},{id:"516020001",type:"participation",title:"2 Year",description:"Celebrate our 2nd birthday with us",badge:"2-year.svg"},{id:"516030001",type:"participation",title:"3 Years",description:"Celebrate our 3rd birthday with us",badge:"3-year.svg"},{id:"511120000",type:"ifo",title:"Duelist King",badge:"ifo-dkt.svg"},{id:"511130000",type:"ifo",title:"Mines of Dalarnia",badge:"ifo-dar.svg"},{id:"511140000",type:"ifo",title:"FC Porto Fan Token",badge:"ifo-porto.svg"},{id:"511150000",type:"ifo",title:"FC Santos Fan Token",badge:"ifo-santos.svg"},{id:"512020001",type:"teambattle",title:"Fan Token Champion: Gold",badge:"fan-token-champion-gold.svg"},{id:"512020002",type:"teambattle",title:"Fan Token Top 10: Gold",badge:"fan-token-top-10-gold.svg"},{id:"512020003",type:"teambattle",title:"Fan Token Top 100: Gold",badge:"fan-token-top-100-gold.svg"},{id:"512020004",type:"teambattle",title:"Fan Token Top 500: Gold",badge:"fan-token-top-500-gold.svg"},{id:"512020005",type:"teambattle",title:"Fan Token Participant: Gold",badge:"fan-token-participant-gold.svg"},{id:"512020006",type:"teambattle",title:"Fan Token Champion: Silver",badge:"fan-token-champion-silver.svg"},{id:"512020007",type:"teambattle",title:"Fan Token Top 10: Silver",badge:"fan-token-top-10-silver.svg"},{id:"512020008",type:"teambattle",title:"Fan Token Top 100: Silver",badge:"fan-token-top-100-silver.svg"},{id:"512020009",type:"teambattle",title:"Fan Token Top 500: Silver",badge:"fan-token-top-500-silver.svg"},{id:"512020010",type:"teambattle",title:"Fan Token Participant: Silver",badge:"fan-token-participant-silver.svg"},{id:"512020011",type:"teambattle",title:"Fan Token Champion: Bronze",badge:"fan-token-champion-bronze.svg"},{id:"512020012",type:"teambattle",title:"Fan Token Top 10: Bronze",badge:"fan-token-top-10-bronze.svg"},{id:"512020013",type:"teambattle",title:"Fan Token Top 100: Bronze",badge:"fan-token-top-100-bronze.svg"},{id:"512020014",type:"teambattle",title:"Fan Token Top 500: Bronze",badge:"fan-token-top-500-bronze.svg"},{id:"512020015",type:"teambattle",title:"Fan Token Participant: Bronze",badge:"fan-token-participant-bronze.svg"},{id:"511160000",type:"ifo",title:"Diviner Protocol",badge:"ifo-dpt.svg"},{id:"511170000",type:"ifo",title:"Froyo Games",badge:"ifo-froyo.svg"},{id:"511180000",type:"ifo",title:"Era7",badge:"ifo-era.svg"},{id:"511190000",type:"ifo",title:"Duet",badge:"ifo-duet.svg"},{id:"511200000",type:"ifo",title:"Trivia",badge:"ifo-trivia.svg"},{id:"511300000",type:"ifo",title:"Peel",badge:"ifo-peel.svg"},{id:"511400000",type:"ifo",title:"Wom",badge:"ifo-wom.svg"},{id:"511500000",type:"ifo",title:"Hoop",badge:"ifo-hoop.svg"},{id:"511600000",type:"ifo",title:"CO",badge:"ifo-co.svg"},{id:"511700000",type:"ifo",title:"KRS",badge:"ifo-krs.svg"},{id:"511800000",type:"ifo",title:"WMX",badge:"ifo-wmx.svg"},{id:"511900000",type:"ifo",title:"MGP",badge:"ifo-mgp.svg"},{id:"512000000",type:"ifo",title:"SQUAD",badge:"ifo-squad.svg"},{id:"512100000",type:"ifo",title:"ARENA",badge:"ifo-arena.svg"},{id:"512200000",type:"ifo",title:"SABLE",badge:"ifo-sable.svg"},{id:"512030001",type:"teambattle",title:"Mobox Champion: Gold",badge:"MBOX-champion-gold.svg"},{id:"512030002",type:"teambattle",title:"Mobox Top 10: Gold",badge:"MBOX-top-10-gold.svg"},{id:"512030003",type:"teambattle",title:"Mobox Top 100: Gold",badge:"MBOX-top-100-gold.svg"},{id:"512030004",type:"teambattle",title:"Mobox Top 500: Gold",badge:"MBOX-top-500-gold.svg"},{id:"512030005",type:"teambattle",title:"Mobox Participant: Gold",badge:"MBOX-participant-gold.svg"},{id:"512030006",type:"teambattle",title:"Mobox Champion: Silver",badge:"MBOX-champion-silver.svg"},{id:"512030007",type:"teambattle",title:"Mobox Top 10: Silver",badge:"MBOX-top-10-silver.svg"},{id:"512030008",type:"teambattle",title:"Mobox Top 100: Silver",badge:"MBOX-top-100-silver.svg"},{id:"512030009",type:"teambattle",title:"Mobox Top 500: Silver",badge:"MBOX-top-500-silver.svg"}
371,{id:"512030010",type:"teambattle",title:"Mobox Participant: Silver",badge:"MBOX-participant-silver.svg"},{id:"512030011",type:"teambattle",title:"Mobox Champion: Bronze",badge:"MBOX-champion-bronze.svg"},{id:"512030012",type:"teambattle",title:"Mobox Top 10: Bronze",badge:"MBOX-top-10-bronze.svg"},{id:"512030013",type:"teambattle",title:"Mobox Top 100: Bronze",badge:"MBOX-top-100-bronze.svg"},{id:"512030014",type:"teambattle",title:"Mobox Top 500: Bronze",badge:"MBOX-top-500-bronze.svg"},{id:"512030015",type:"teambattle",title:"Mobox Participant: Bronze",badge:"MBOX-participant-bronze.svg"},{id:"512040001",type:"teambattle",title:"MoD Champion: Gold",badge:"MoD-champion-gold.svg"},{id:"512040002",type:"teambattle",title:"MoD Top 10: Gold",badge:"MoD-top-10-gold.svg"},{id:"512040003",type:"teambattle",title:"MoD Top 100: Gold",badge:"MoD-top-100-gold.svg"},{id:"512040004",type:"teambattle",title:"MoD Top 500: Gold",badge:"MoD-top-500-gold.svg"},{id:"512040005",type:"teambattle",title:"MoD Participant: Gold",badge:"MoD-participant-gold.svg"},{id:"512040006",type:"teambattle",title:"MoD Champion: Silver",badge:"MoD-champion-silver.svg"},{id:"512040007",type:"teambattle",title:"MoD Top 10: Silver",badge:"MoD-top-10-silver.svg"},{id:"512040008",type:"teambattle",title:"MoD Top 100: Silver",badge:"MoD-top-100-silver.svg"},{id:"512040009",type:"teambattle",title:"MoD Top 500: Silver",badge:"MoD-top-500-silver.svg"},{id:"512040010",type:"teambattle",title:"MoD Participant: Silver",badge:"MoD-participant-silver.svg"},{id:"512040011",type:"teambattle",title:"MoD Champion: Bronze",badge:"MoD-champion-bronze.svg"},{id:"512040012",type:"teambattle",title:"MoD Top 10: Bronze",badge:"MoD-top-10-bronze.svg"},{id:"512040013",type:"teambattle",title:"MoD Top 100: Bronze",badge:"MoD-top-100-bronze.svg"},{id:"512040014",type:"teambattle",title:"MoD Top 500: Bronze",badge:"MoD-top-500-bronze.svg"},{id:"512040015",type:"teambattle",title:"MoD Participant: Bronze",badge:"MoD-participant-bronze.svg"}].forEach(_=>{ed.set(_.id,_)});var eh=L(82880),ep=L(11189),ef=L(32611);L(86930);var em=L(30012),eb=L(47480);L(49069);var ey=L(13986),eg=L(52316),ev=L(92670),ex=L(76458);L(80642),L(41796),L(21061),L(39907),L(57383),L(38569),L(91039),L(14764),L(82730),L(62370),L(36280),(0,ef.GI)(),(Z=eo||(eo={})).NEW="New",Z.MODIFY="Modify",Z.CANCEL="Cancel",(ea=el||(el={})).FORSALE="For Sale",ea.PROFILE="Profile Pic",ea.WALLET="In Wallet",(es=eu||(eu={})).NEW="NEW",es.CANCEL="CANCEL",es.MODIFY="MODIFY",es.BUY="BUY",es.SELL="SELL";let getNftApi=async(_,C)=>{let L=await fetch(`${eh.C1}/collections/${_}/tokens/${C}`);if(L.ok){let _=await L.json();return _.data}return console.error(`API: Can't fetch NFT token ${C} in ${_}`,L.status),null},transformProfileResponse=_=>{let{0:C,1:L,2:Z,3:ea,4:es,5:eo}=_;return{userId:Number(C),points:Number(L),teamId:Number(Z),tokenId:Number(es),collectionAddress:ea,isActive:eo}},getUsername=async _=>{try{let C=await fetch(`${eh.dm}/api/users/${_.toLowerCase()}`);if(!C.ok)return"";let{username:L=""}=await C.json();return L}catch(_){return""}},helpers_getProfile=async _=>{try{let Z;let ea=(0,em.z2)({chainId:ep.a_.MODE_MAINNET}),es=await ea.multicall({contracts:[{address:(0,ef.Re)(),abi:ev.a,functionName:"hasRegistered",args:[_]},{address:(0,ef.Re)(),abi:ev.a,functionName:"getUserProfile",args:[_]}]}),[{result:eo},{result:el}]=es;if(!eo)return{hasRegistered:eo,profile:null};let{userId:eu,points:ec,teamId:ed,tokenId:eh,collectionAddress:eb,isActive:ey}=transformProfileResponse(el),[eg,e_,ew]=await Promise.all([(0,ex.V)(ed),getUsername(_),ey?getNftApi(eb,eh.toString()):Promise.resolve(null)]);if(ew){var C,L;Z={tokenId:ew.tokenId,name:ew.name,collectionName:ew.collection.name,collectionAddress:eb,description:ew.description,attributes:ew.attributes,createdAt:ew.createdAt,updatedAt:ew.updatedAt,image:{original:null===(C=ew.image)||void 0===C?void 0:C.original,thumbnail:null===(L=ew.image)||void 0===L?void 0:L.thumbnail}}}let eC={userId:eu,points:ec,teamId:ed,tokenId:eh,username:e_,collectionAddress:eb,isActive:ey,nft:Z,team:eg};return{hasRegistered:eo,profile:eC}}catch(_){return console.error(_),null}},useProfile=()=>{let{address:_}=(0,ec.mA)(),{data:C,status:L,mutate:Z}=(0,eg.Z)(_?[_,"profile"]:null,()=>helpers_getProfile(_),{use:[ey.PI]}),{profile:ea,hasRegistered:es}=null!=C?C:{profile:null,hasRegistered:!1},eo=L===eb.iF.Fetching,el=L===eb.iF.Fetched||L===eb.iF.Failed,eu=el&&es,ed=eu&&(null==ea?void 0:ea.isActive);return{profile:ea,hasProfile:eu,hasActiveProfile:ed,isInitialized:el,isLoading:eo,refresh:Z}}},26081:function(_,C,L){"use strict";L.d(C,{He:function(){return ed},KS:function(){return el},LC:function(){return eu},Wk:function(){return eh},_U:function(){return ep},gN:function(){return ea},j:function(){return eo},mV:function(){return ec}});var Z,ea,es=L(65675);(Z=ea||(ea={})).INPUT="INPUT",Z.OUTPUT="OUTPUT";let eo=(0,es.PH)("swap/selectCurrency"),el=(0,es.PH)("swap/switchCurrencies"),eu=(0,es.PH)("swap/typeInput"),ec=(0,es.PH)("swap/replaceSwapState"),ed=(0,es.PH)("swap/setRecipient"),eh=(0,es.PH)("swap/updatePairData"),ep=(0,es.PH)("swap/updateDerivedPairData")},59203:function(_,C,L){"use strict";L.d(C,{I:function(){return eu}});
371var Z=L(65675),ea=L(54367),es=L(26081);let eo={independentField:es.gN.INPUT,typedValue:"",[es.gN.INPUT]:{currencyId:""},[es.gN.OUTPUT]:{currencyId:""},pairDataById:{},derivedPairDataById:{},recipient:null},el=(0,Z.Lq)(eo,_=>_.addCase(es.mV,(_,C)=>{let{payload:{typedValue:L,recipient:Z,field:ea,inputCurrencyId:eo,outputCurrencyId:el}}=C;return{[es.gN.INPUT]:{currencyId:eo},[es.gN.OUTPUT]:{currencyId:el},independentField:ea,typedValue:L,recipient:Z,pairDataById:_.pairDataById,derivedPairDataById:_.derivedPairDataById}}).addCase(es.j,(_,C)=>{let{payload:{currencyId:L,field:Z}}=C,ea=Z===es.gN.INPUT?es.gN.OUTPUT:es.gN.INPUT;return L===_[ea].currencyId?{..._,independentField:_.independentField===es.gN.INPUT?es.gN.OUTPUT:es.gN.INPUT,[Z]:{currencyId:L},[ea]:{currencyId:_[Z].currencyId}}:{..._,[Z]:{currencyId:L}}}).addCase(es.KS,_=>({..._,independentField:_.independentField===es.gN.INPUT?es.gN.OUTPUT:es.gN.INPUT,[es.gN.INPUT]:{currencyId:_[es.gN.OUTPUT].currencyId},[es.gN.OUTPUT]:{currencyId:_[es.gN.INPUT].currencyId}})).addCase(es.LC,(_,C)=>{let{payload:{field:L,typedValue:Z}}=C;return{..._,independentField:L,typedValue:Z}}).addCase(es.He,(_,C)=>{let{payload:{recipient:L}}=C;_.recipient=L}).addCase(es.Wk,(_,C)=>{var L;let{payload:{pairData:Z,pairId:ea,timeWindow:es}}=C;_.pairDataById||(_.pairDataById={}),(null===(L=_.pairDataById)||void 0===L?void 0:L[ea])||(_.pairDataById[ea]={}),_.pairDataById[ea][es]=Z}).addCase(es._U,(_,C)=>{let{payload:{pairData:L,pairId:Z,timeWindow:ea}}=C;_.derivedPairDataById||(_.derivedPairDataById={}),_.derivedPairDataById[Z]||(_.derivedPairDataById[Z]={}),_.derivedPairDataById[Z][ea]=L})),eu=(0,ea.w0)(eo,el)},37430:function(_,C,L){"use strict";L.d(C,{_:function(){return useSwapActionHandlers}});var Z=L(52983),ea=L(42843),es=L(59203),eo=L(26081);function useSwapActionHandlers(){let[,_]=(0,ea.KO)(es.I),C=(0,Z.useCallback)(()=>{_((0,eo.KS)())},[]),L=(0,Z.useCallback)((C,L)=>{_((0,eo.j)({field:C,currencyId:(null==L?void 0:L.isToken)?L.address:(null==L?void 0:L.isNative)?L.symbol:""}))},[]),el=(0,Z.useCallback)((C,L)=>{_((0,eo.LC)({field:C,typedValue:L}))},[]),eu=(0,Z.useCallback)(C=>{_((0,eo.He)({recipient:C}))},[]);return{onSwitchTokens:C,onCurrencySelection:L,onUserInput:el,onChangeRecipient:eu}}},76458:function(_,C,L){"use strict";L.d(C,{V:function(){return getTeam},L:function(){return getTeams}});var Z=L(88469),ea=L.n(Z),es=L(79960);let eo=[{id:1,name:"Syrup Storm",description:"The storm's a-comin! Watch out! These bulls are stampeding in a syrupy surge!",images:{lg:"syrup-storm-lg.png",md:"syrup-storm-md.png",sm:"syrup-storm-sm.png",alt:"syrup-storm-alt.png",ipfs:`${es.Gs}/QmXKzSojwzYjtDCVgR6mVx7w7DbyYpS7zip4ovJB9fQdMG/syrup-storm.png`},background:"syrup-storm-bg.svg",textColor:"#191326",users:0,points:0},{id:2,name:"Fearsome Flippers",description:"The flippening is coming. Don't get in these bunnies' way, or you'll get flipped, too!",images:{lg:"fearsome-flippers-lg.png",md:"fearsome-flippers-md.png",sm:"fearsome-flippers-sm.png",alt:"fearsome-flippers-alt.png",ipfs:`${es.Gs}/QmXKzSojwzYjtDCVgR6mVx7w7DbyYpS7zip4ovJB9fQdMG/fearsome-flippers.png`},background:"fearsome-flippers-bg.svg",textColor:"#FFFFFF",users:0,points:0},{id:3,name:"Chaotic Cakers",description:"Can you stand the heat? Stay out of the kitchen or you might get burned to a crisp!",images:{lg:"chaotic-cakers-lg.png",md:"chaotic-cakers-md.png",sm:"chaotic-cakers-sm.png",alt:"chaotic-cakers-alt.png",ipfs:`${es.Gs}/QmXKzSojwzYjtDCVgR6mVx7w7DbyYpS7zip4ovJB9fQdMG/chaotic-cakers.png`},background:"chaotic-cakers-bg.svg",textColor:"#191326",users:0,points:0}];var el=L(62370),eu=L(92670),ec=L(32611),ed=L(21061),eh=L.n(ed),ep=L(30012),ef=L(11189);let getTeam=async _=>{try{let C=(0,el.Y4)(),{0:L,2:Z,3:es,4:eu}=await C.read.getTeamProfile([BigInt(_)]),ec=eo.find(C=>C.id===_);return ea()({},ec,{isJoinable:eu,name:L,users:Number(Z),points:Number(es)})}catch(_){return null}},getTeams=async()=>{try{let _=(0,el.Y4)(),C=eh()(eo.map(_=>[_.id,_])),L=await _.read.numberTeams(),Z=Array.from({length:Number(L)}).map((_,C)=>({abi:eu.a,address:(0,ec.Re)(),functionName:"getTeamProfile",args:[BigInt(C+1)]})),es=(0,ep.z2)({chainId:ef.a_.MODE_MAINNET}),ed=await es.multicall({contracts:Z,allowFailure:!1}),em=eh()(ed.map((_,C)=>{let{0:L,2:Z,3:ea,4:es}=_;return[C+1,{name:L,users:Number(Z),points:Number(ea),isJoinable:es}]}));return ea()({},C,em)}catch(_){return null}}},14408:function(_,C,L){"use strict";L.d(C,{Aw:function(){return ef},HG:function(){return ep},LN:function(){return em},Ly:function(){return eu},dT:function(){return ed},fY:function(){return eh},kh:function(){return eo},np:function(){return el}});var Z,ea,es,eo,el,eu,ec=L(65675);(Z=eo||(eo={}))[Z.MS_UNKNOWN=0]="MS_UNKNOWN",Z[Z.MS_WAITING_FOR_SGN_CONFIRMATIONS=1]="MS_WAITING_FOR_SGN_CONFIRMATIONS",Z[Z.MS_WAITING_FOR_DESTINATION_EXECUTION=2]="MS_WAITING_FOR_DESTINATION_EXECUTION",Z[Z.MS_COMPLETED=3]="MS_COMPLETED",Z[Z.MS_FAIL=4]="MS_FAIL",Z[Z.MS_FALLBACK=5]="MS_FALLBACK",(ea=el||(el={}
371))[ea.PENDING=-1]="PENDING",ea[ea.FAIL=0]="FAIL",ea[ea.SUCCESS=1]="SUCCESS",(es=eu||(eu={})).STAKE="STAKE",es.UNSTAKE="UNSTAKE";let ed=(0,ec.PH)("transactions/addTransaction"),eh=(0,ec.PH)("transactions/clearAllTransactions"),ep=(0,ec.PH)("transactions/clearAllChainTransactions"),ef=(0,ec.PH)("transactions/finalizeTransaction"),em=(0,ec.PH)("transactions/checkedTransaction")},70143:function(_,C,L){"use strict";L.d(C,{Fn:function(){return useAllSortedRecentTransactions},VQ:function(){return usePendingTransactions},h7:function(){return useTransactionAdder},kf:function(){return useAllTransactions},tm:function(){return useAllChainTransactions},ub:function(){return useIsTransactionPending},wB:function(){return useHasPendingApproval}});var Z=L(52983),ea=L(47240),es=L(78711),eo=L(57383),el=L.n(eo),eu=L(61230),ec=L.n(eu),ed=L(64038),eh=L.n(ed),ep=L(40916),ef=L.n(ep),em=L(92442),eb=L.n(em),ey=L(29787),eg=L.n(ey),ev=L(29517),ex=L(5573),e_=L(28999),ew=L(14408);function useTransactionAdder(){let{account:_,chainId:C}=(0,e_.Z)(),L=(0,es.TL)();return(0,Z.useCallback)(function(Z){let ea,{summary:es,translatableSummary:eo,approval:el,claim:eu,type:ec,order:ed,nonBscFarm:eh}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(_&&C){if("hash"in Z?ea=Z.hash:"transactionHash"in Z&&(ea=Z.transactionHash),!ea)throw Error("No transaction hash found.");L((0,ew.dT)({hash:ea,from:_,chainId:C,approval:el,summary:es,translatableSummary:eo,claim:eu,type:ec,order:ed,nonBscFarm:eh}))}},[L,C,_])}function useAllTransactions(){let{address:_}=(0,ev.mA)(),C=(0,ea.v9)(_=>_.transactions);return(0,Z.useMemo)(()=>ec()(C,C=>el()(C,C=>C.from.toLowerCase()===(null==_?void 0:_.toLowerCase()))),[_,C])}function useAllSortedRecentTransactions(){let _=useAllTransactions();return(0,Z.useMemo)(()=>eb()(ec()(_,_=>eh()(ef()(el()(_,_=>isTransactionRecent(_)),["addedTime"],"desc"),"hash")),eg()),[_])}function useAllActiveChainTransactions(){let{chainId:_}=(0,ex.g)();return useAllChainTransactions(_)}function useAllChainTransactions(_){let{address:C}=(0,ev.mA)(),L=(0,ea.v9)(_=>_.transactions);return(0,Z.useMemo)(()=>_&&L[_]?el()(L[_],_=>_.from.toLowerCase()===(null==C?void 0:C.toLowerCase())):{},[C,_,L])}function useIsTransactionPending(_){let C=useAllActiveChainTransactions();return!!_&&!!C[_]&&!C[_].receipt}function isTransactionRecent(_){return Date.now()-_.addedTime<864e5}function useHasPendingApproval(_,C){let L=useAllActiveChainTransactions();return(0,Z.useMemo)(()=>"string"==typeof _&&"string"==typeof C&&Object.keys(L).some(Z=>{let ea=L[Z];if(!ea||ea.receipt)return!1;let{approval:es}=ea;return!!es&&es.spender===C&&es.tokenAddress===_&&isTransactionRecent(ea)}),[L,C,_])}function newTransactionsFirst(_,C){return C.addedTime-_.addedTime}function usePendingTransactions(){let _=useAllTransactions(),C=(0,Z.useMemo)(()=>{let C=Object.values(_).flatMap(_=>Object.values(_));return C.filter(isTransactionRecent).sort(newTransactionsFirst)},[_]),L=C.filter(_=>{var C;return!_.receipt||(null==_?void 0:null===(C=_.nonBscFarm)||void 0===C?void 0:C.status)===ew.np.PENDING}).map(_=>_.hash),ea=!!L.length,es=C.filter(_=>L.includes(_.hash)&&!!_.nonBscFarm).map(_=>{var C,L;return{txid:null==_?void 0:_.hash,lpAddress:null==_?void 0:null===(C=_.nonBscFarm)||void 0===C?void 0:C.lpAddress,type:null==_?void 0:null===(L=_.nonBscFarm)||void 0===L?void 0:L.type}});return{hasPendingTransactions:ea,nonBscFarmPendingList:es,pendingNumber:L.length}}},38966:function(_,C,L){"use strict";L.d(C,{DB:function(){return em},j4:function(){return eS},lS:function(){return eq},om:function(){return eb},r7:function(){return eT}});var Z,ea,es,eo,el,eu,ec,ed,eh,ep,ef,em,eb,ey,eg,ev,ex,e_,ew,eC,eT,eq,ek=L(95923);(Z=em||(em={})).default="3",Z.fast="4",Z.instant="5",Z.testnet="10";let eS={rpcDefault:"rpcDefault",default:(0,ek.f)("3","gwei").toString(),fast:(0,ek.f)("4","gwei").toString(),instant:(0,ek.f)("5","gwei").toString(),testnet:(0,ek.f)("10","gwei").toString()};(ea=eb||(eb={})).CakeVaultV1="cakeVaultV1",ea.CakeVault="cakeVault",ea.CakeFlexibleSideVault="cakeFlexibleSideVault",ea.IfoPool="ifoPool",(es=ey||(ey={})).BULL="Bull",es.BEAR="Bear",es.HOUSE="House",(eo=eg||(eg={})).INITIAL="initial",eo.LIVE="live",eo.PAUSED="paused",eo.ERROR="error",(el=ev||(ev={})).BNB="BNB",el.ANDX="ANDX",(eu=ex||(ex={})).TradingView="TradingView",eu.Chainlink="Chainlink Oracle",(ec=e_||(e_={})).ALL="all",ec.COLLECTED="collected",ec.UNCOLLECTED="uncollected",(ed=ew||(ew={})).PROPOSAL="proposal",ed.VOTE="vote",(eh=eC||(eC={})).ALL="all",eh.CORE="core",eh.COMMUNITY="community",(ep=eT||(eT={})).ACTIVE="active",ep.PENDING="pending",ep.CLOSED="closed",(ef=eq||(eq={}
371))[ef.BEFORE_LOCK=0]="BEFORE_LOCK",ef[ef.LOCK=1]="LOCK",ef[ef.UNLOCK=2]="UNLOCK"},46871:function(_,C,L){"use strict";L.d(C,{Dn:function(){return eq},GR:function(){return es},Gs:function(){return ef},Hr:function(){return eS},RC:function(){return eg},X:function(){return ev},YA:function(){return e_},c4:function(){return ex},cd:function(){return ep},d4:function(){return eb},dy:function(){return eC},eg:function(){return ec},f9:function(){return eh},gk:function(){return ey},gw:function(){return eu},hN:function(){return ek},mm:function(){return em},wO:function(){return eo},zQ:function(){return ed},zS:function(){return eT},zk:function(){return ew}});var Z,ea,es,eo,el=L(65675);(Z=es||(es={})).ON_FINISHED="onFinished",Z.TRUE="true",Z.FALSE="false",(ea=eo||(eo={})).TABLE="TABLE",ea.CARD="CARD";let eu=(0,el.PH)("user/updateUserDeadline"),ec=(0,el.PH)("user/addSerializedToken"),ed=(0,el.PH)("user/removeSerializedToken"),eh=(0,el.PH)("user/addSerializedPair"),ep=(0,el.PH)("user/removeSerializedPair"),ef=(0,el.PH)("user/updateUserFarmStakedOnly"),em=(0,el.PH)("user/updateUserPoolStakedOnly"),eb=(0,el.PH)("user/updateUserPoolsViewMode"),ey=(0,el.PH)("user/updateUserFarmsViewMode"),eg=(0,el.PH)("user/updateUserPredictionAcceptedRisk"),ev=(0,el.PH)("user/userLimitOrderAcceptedWarning"),ex=(0,el.PH)("user/updateUserPredictionChartDisclaimerShow"),e_=(0,el.PH)("user/updateUserPredictionChainlinkChartDisclaimerShow"),ew=(0,el.PH)("user/updateUserUsernameVisibility"),eC=(0,el.PH)("user/updateGasPrice"),eT=(0,el.PH)("user/addWatchlistToken"),eq=(0,el.PH)("user/addWatchlistPool"),ek=(0,el.PH)("user/toggleIsExchangeChartDisplayed"),eS=(0,el.PH)("user/setSubgraphHealthIndicatorDisplayed")},8047:function(_,C,L){"use strict";L.d(C,{A6:function(){return useUserTransactionTTL},B3:function(){return useTrackedTokenPairs},Ce:function(){return toV2LiquidityToken},Fh:function(){return useGasPrice},Hx:function(){return useWatchlistPools},Pn:function(){return useUserUsernameVisibility},QG:function(){return useRemoveUserAddedToken},VM:function(){return useFeeDataWithGasPrice},YF:function(){return useSubgraphHealthIndicatorManager},Yi:function(){return useUserPoolsViewMode},_E:function(){return useAddUserToken},nF:function(){return useGasPriceManager},tw:function(){return useUserPoolStakedOnly},uB:function(){return usePairAdder},vD:function(){return useExchangeChartManager},z6:function(){return useWatchlistTokens}});var Z=L(47739),ea=L(11189),es=L(26265),eo=L(79875),el=L.n(eo),eu=L(71218),ec=L(52983),ed=L(47240),eh=L(28276),ep=L(52316),ef=L(43709),em=L(49069),eb=L(5573),ey=L(82730),eg=L(29517),ev=L(87553),ex=L(78711),e_=L(46871),ew=L(38966);function useExchangeChartManager(_){let C=(0,ex.TL)(),L=(0,ed.v9)(_=>_.user.isExchangeChartDisplayed),Z=(0,ec.useCallback)(_=>{C((0,e_.hN)(_))},[C]);return[!_&&L,Z]}function useSubgraphHealthIndicatorManager(){let _=(0,ex.TL)(),C=(0,ed.v9)(_=>_.user.isSubgraphHealthIndicatorDisplayed),L=(0,ec.useCallback)(C=>{_((0,e_.Hr)(C))},[_]);return[C,L]}function useUserPoolStakedOnly(){let _=(0,ex.TL)(),C=(0,ed.v9)(_=>_.user.userPoolStakedOnly),L=(0,ec.useCallback)(C=>{_((0,e_.mm)({userPoolStakedOnly:C}))},[_]);return[C,L]}function useUserPoolsViewMode(){let _=(0,ex.TL)(),C=(0,ed.v9)(_=>_.user.userPoolsViewMode),L=(0,ec.useCallback)(C=>{_((0,e_.d4)({userPoolsViewMode:C}))},[_]);return[C,L]}function useUserUsernameVisibility(){let _=(0,ex.TL)(),C=(0,ed.v9)(_=>_.user.userUsernameVisibility),L=(0,ec.useCallback)(C=>{_((0,e_.zk)({userUsernameVisibility:C}))},[_]);return[C,L]}function useUserTransactionTTL(){let _=(0,ex.TL)(),C=(0,ed.v9)(_=>_.user.userDeadline),L=(0,ec.useCallback)(C=>{_((0,e_.gw)({userDeadline:C}))},[_]);return[C,L]}function useAddUserToken(){let _=(0,ex.TL)();return(0,ec.useCallback)(C=>{_((0,e_.eg)({serializedToken:C.serialize}))},[_])}function useRemoveUserAddedToken(){let _=(0,ex.TL)();return(0,ec.useCallback)((C,L)=>{_((0,e_.zQ)({chainId:C,address:L}))},[_])}function useFeeDataWithGasPrice(_){let{chainId:C}=(0,eb.g)(),L=null!=_?_:C,Z=useGasPrice(L),{data:es}=(0,eg.LK)({chainId:L,enabled:L!==ea.a_.MODE_MAINNET&&L!==ea.a_.MODE_TESTNET,watch:!0});return Z?{gasPrice:Z}:{gasPrice:null==es?void 0:es.gasPrice,maxFeePerGas:null==es?void 0:es.maxFeePerGas,maxPriorityFeePerGas:null==es?void 0:es.maxPriorityFeePerGas}}let eC=BigInt(ew.j4.default),eT=BigInt(ew.j4.testnet);function useGasPrice(_){let{chainId:C}=(0,eb.g)(),L=null!=_?_:C,{data:Z}=(0,eg.py)({chainId:L}),es=(0,ed.v9)(_=>_.user.gasPrice),{data:eo=eC}=(0,em.ZP)(Z&&L===ea.a_.MODE_MAINNET&&es===ew.j4.rpcDefault&&["bscProviderGasPrice",Z],async()=>{let _=await (null==Z?void 0:Z.request({method:"eth_gasPrice"}));return(0,ev.y_)(_)},{revalidateOnFocus:!1,revalidateOnReconnect:!1});return L===ea.a_.MODE_MAINNET?es===ew.j4.rpcDefault?eo:BigInt(null!=es?es:ew.j4.default):L===ea.a_.MODE_TESTNET?eT:void 0}function useGasPriceManager(){let _=(0,ex.TL)(),C=(0,ed.v9)(_=>_.user.gasPrice),L=(0,ec.useCallback)(C=>{_((0,e_.dy)({gasPrice:C}))},[_]);return[C,L]}function usePairAdder(){let _=(0,ex.TL)();return(0,ec.useCallback)(C=>{_((0,e_.f9)({serializedPair:{token0:C.token0.serialize,token1:C.token1.serialize}}))},[_])}function toV2LiquidityToken(_){let[C,L]=_;return new Z.Z$(C.chainId,Z.sO.getAddress(C,L),18,"Cake-LP","Pancake LPs")}function useTrackedTokenPairs(){let{chainId:_}=(0,eb.g)(),C=(0,ef.uq)(),L=(0,ec.useMemo)(()=>{var C;return _&&null!==(C=eh.Q8[_])&&void 0!==C?C:[]},[_]),{data:Z=[]}=(0,ep.Z)(_&&["track-farms-pairs",_],async()=>{var C;let L=await (0,eu.getFarmConfig)(_),Z=null==L?void 0:null===(C=L.filter(_=>0!==_.pid))||void 0===C?void 0:C.map(_=>[(0,es.iG)(_.token),(0,es.iG)(_.quoteToken)]);return Z}),ea=(0,ec.useMemo)(()=>_?el()(Object.keys(C),L=>{var Z;let ea=C[L];return(null!==(Z=eh.xu[_])&&void 0!==Z?Z:[]).map(_=>{let C=(0,ey.xP)(_.address);return C&&C===L?null:[_,ea]}).filter(_=>null!==_)}):[],[C,_]),eo=(0,ed.v9)(_=>{let{user:{pairs:C}}=_;return C}),em=(0,ec.useMemo)(()=>
371{if(!_||!eo)return[];let C=eo[_];return C?Object.keys(C).map(_=>[(0,es.iG)(C[_].token0),(0,es.iG)(C[_].token1)]):[]},[eo,_]),eg=(0,ec.useMemo)(()=>em.concat(ea).concat(L).concat(Z),[ea,L,em,Z]);return(0,ec.useMemo)(()=>{let _=eg.reduce((_,C)=>{let[L,Z]=C,ea=L.sortsBefore(Z),es=ea?`${(0,ey.xP)(L.address)}:${(0,ey.xP)(Z.address)}`:`${(0,ey.xP)(Z.address)}:${(0,ey.xP)(L.address)}`;return _[es]||(_[es]=ea?[L,Z]:[Z,L]),_},{});return Object.keys(_).map(C=>_[C])},[eg])}let useWatchlistTokens=()=>{let _=(0,ex.TL)(),C=(0,ed.v9)(_=>_.user.watchlistTokens),L=(0,ec.useCallback)(C=>{_((0,e_.zS)({address:C}))},[_]),Z=(0,ec.useMemo)(()=>null!=C?C:[],[C]);return[Z,L]},useWatchlistPools=()=>{let _=(0,ex.TL)(),C=(0,ed.v9)(_=>_.user.watchlistPools),L=(0,ec.useCallback)(C=>{_((0,e_.Dn)({address:C}))},[_]),Z=(0,ec.useMemo)(()=>null!=C?C:[],[C]);return[Z,L]}},96561:function(_,C,L){"use strict";L.d(C,{Z:function(){return useUserAddedTokens}});var Z=L(52983),ea="NOT_FOUND",defaultEqualityCheck=function(_,C){return _===C},es=function(_){for(var C=arguments.length,L=Array(C>1?C-1:0),Z=1;Z<C;Z++)L[Z-1]=arguments[Z];return function(){for(var C,Z=arguments.length,ea=Array(Z),es=0;es<Z;es++)ea[es]=arguments[es];var eo=0,el={memoizeOptions:void 0},eu=ea.pop();if("object"==typeof eu&&(el=eu,eu=ea.pop()),"function"!=typeof eu)throw Error("createSelector expects an output function after the inputs, but received: ["+typeof eu+"]");var ec=el.memoizeOptions,ed=void 0===ec?L:ec,eh=Array.isArray(ed)?ed:[ed],ep=function(_){var C=Array.isArray(_[0])?_[0]:_;if(!C.every(function(_){return"function"==typeof _}))throw Error("createSelector expects all input-selectors to be functions, but received the following types: ["+C.map(function(_){return"function"==typeof _?"function "+(_.name||"unnamed")+"()":typeof _}).join(", ")+"]");return C}(ea),ef=_.apply(void 0,[function(){return eo++,eu.apply(null,arguments)}].concat(eh)),em=_(function(){for(var _=[],L=ep.length,Z=0;Z<L;
371Z++)_.push(ep[Z].apply(null,arguments));return C=ef.apply(null,_)});return Object.assign(em,{resultFunc:eu,memoizedResultFunc:ef,dependencies:ep,lastResult:function(){return C},recomputations:function(){return eo},resetRecomputations:function(){return eo=0}}),em}}(function(_,C){var L,Z,es="object"==typeof C?C:{equalityCheck:C},eo=es.equalityCheck,el=es.maxSize,eu=void 0===el?1:el,ec=es.resultEqualityCheck,ed=(L=void 0===eo?defaultEqualityCheck:eo,function(_,C){if(null===_||null===C||_.length!==C.length)return!1;for(var Z=_.length,ea=0;ea<Z;ea++)if(!L(_[ea],C[ea]))return!1;return!0}),eh=1===eu?{get:function(_){return Z&&ed(Z.key,_)?Z.value:ea},put:function(_,C){Z={key:_,value:C}},getEntries:function(){return Z?[Z]:[]},clear:function(){Z=void 0}}:function(_,C){var L=[];function get(_){var Z=L.findIndex(function(L){return C(_,L.key)});if(Z>-1){var es=L[Z];return Z>0&&(L.splice(Z,1),L.unshift(es)),es.value}return ea}return{get:get,put:function(C,Z){get(C)===ea&&(L.unshift({key:C,value:Z}),L.length>_&&L.pop())},getEntries:function(){return L},clear:function(){L=[]}}}(eu,ed);function memoized(){var C=eh.get(arguments);if(C===ea){if(C=_.apply(null,arguments),ec){var L=eh.getEntries().find(function(_){return ec(_.value,C)});L&&(C=L.value)}eh.put(arguments,C)}return C}return memoized.clearCache=function(){return eh.clear()},memoized}),eo=L(26265),el=L(47240),eu=L(5573);let selectUserTokens=_=>{let{user:{tokens:C}}=_;return C},userAddedTokenSelector=_=>es(selectUserTokens,C=>{var L;return Object.values(null!==(L=null==C?void 0:C[_])&&void 0!==L?L:{}).map(eo.iG)});function useUserAddedTokens(){let{chainId:_}=(0,eu.g)();return(0,el.v9)((0,Z.useMemo)(()=>userAddedTokenSelector(_),[_]))}},10295:function(_,C,L){"use strict";L.d(C,{q:function(){return useUserTokenRisk}});var Z=L(42843),ea=L(66609);let es=(0,ea.Z)("pcs:user-token-risk",!0);function useUserTokenRisk(){return(0,Z.KO)(es)}},91527:function(_,C,L){"use strict";L.d(C,{k:function(){return useMMLinkedPoolByDefault}});var Z=L(42843),ea=L(66609);let es=(0,ea.Z)("pcs:useMMlinkedPool",!0);function useMMLinkedPoolByDefault(){return(0,Z.KO)(es)}},46259:function(_,C,L){"use strict";L.d(C,{IV:function(){return useUserV2SwapEnable},U3:function(){return useUserV3SwapEnable},Zg:function(){return useOnlyOneAMMSourceEnabled},fq:function(){return useUserSplitRouteEnable},pW:function(){return useRoutingSettingChanged},s4:function(){return useUserStableSwapEnable}});var Z=L(42843),ea=L(80440),es=L(65098),eo=L(66609);let el=(0,eo.Z)("pcs:useStableSwap",!0),eu=(0,eo.Z)("pcs:useV2Swap",!0),ec=(0,eo.Z)("pcs:useV3Swap",!0),ed=(0,eo.Z)("pcs:useSplitRouting",!0);function useUserStableSwapEnable(){return(0,Z.KO)(el)}function useUserV2SwapEnable(){return(0,Z.KO)(eu)}function useUserV3SwapEnable(){return(0,Z.KO)(ec)}function useUserSplitRouteEnable(){return(0,Z.KO)(ed)}let eh=(0,ea.cn)(_=>1===[_(el),_(eu),_(ec)].filter(Boolean).length);function useOnlyOneAMMSourceEnabled(){return(0,Z.Dv)(eh)}let ep=(0,ea.cn)(_=>[_(el),_(eu),_(ec),_(ed),!_(es.JW)].some(_=>!1===_),(_,C)=>{C(el,!0),C(eu,!0),C(ec,!0),C(ed,!0),C(es.JW,!1)});function useRoutingSettingChanged(){return(0,Z.KO)(ep)}},32611:function(_,C,L){"use strict";L.d(C,{D5:function(){return getRevenueSharingPoolAddress},Du:function(){return getPotteryDrawAddress},GI:function(){return getPancakeBunniesAddress},I8:function(){return getMulticallAddress},IN:function(){return getRevenueSharingVeCakeAddress},J0:function(){return getTradingCompetitionAddressMoD},O9:function(){return getCakeVaultAddress},Qn:function(){return getRevenueSharingCakePoolAddress},Re:function(){return getPancakeProfileAddress},YJ:function(){return getStableSwapNativeHelperAddress},ZX:function(){return getVaultPoolAddress},Zn:function(){return getVCakeAddress},b0:function(){return getVeCakeAddress},ci:function(){return getV3AirdropAddress},eL:function(){return getGaugesVotingAddress},kN:function(){return getLotteryV2Address},m1:function(){return getMasterChefV3Address},ot:function(){return getMasterChefV2Address},pO:function(){return getCakeFlexibleSideVaultAddress},uf:function(){return getV3MigratorAddress}});var Z=L(11189),ea=L(71531);let getAddressFromMap=(_,C)=>C&&_[C]?_[C]:_[Z.a_.MODE_MAINNET],getAddressFromMapNoFallback=(_,C)=>C?_[C]:null,getMasterChefV2Address=_=>getAddressFromMap(ea.Z.masterChef,_),getMulticallAddress=_=>getAddressFromMap(ea.Z.multiCall,_),getLotteryV2Address=()=>getAddressFromMap(ea.Z.lotteryV2),getPancakeProfileAddress=()=>getAddressFromMap(ea.Z.pancakeProfile),getPancakeBunniesAddress=()=>getAddressFromMap(ea.Z.pancakeBunnies),getTradingCompetitionAddressMoD=()=>getAddressFromMap(ea.Z.tradingCompetitionMoD),getVaultPoolAddress=_=>_?getAddressFromMap(ea.Z[_]):null,getCakeVaultAddress=_=>getAddressFromMap(ea.Z.cakeVault,_),getCakeFlexibleSideVaultAddress=_=>getAddressFromMap(ea.Z.cakeFlexibleSideVault,_),getPotteryDrawAddress=()=>getAddressFromMap(ea.Z.potteryDraw),getStableSwapNativeHelperAddress=_=>getAddressFromMap(ea.Z.stableSwapNativeHelper,_),getMasterChefV3Address=_=>getAddressFromMapNoFallback(ea.Z.masterChefV3,_),getV3MigratorAddress=_=>getAddressFromMap(ea.Z.v3Migrator,_),getV3AirdropAddress=_=>getAddressFromMap(ea.Z.v3Airdrop,_),getVCakeAddress=_=>getAddressFromMap(ea.Z.vCake,_),getRevenueSharingPoolAddress=_=>getAddressFromMap(ea.Z.revenueSharingPool,_),getVeCakeAddress=_=>getAddressFromMap(ea.Z.veCake,_),getGaugesVotingAddress=_=>getAddressFromMap(ea.Z.gaugesVoting,_),getRevenueSharingCakePoolAddress=_=>getAddressFromMap(ea.Z.revenueSharingCakePool,_),getRevenueSharingVeCakeAddress=_=>getAddressFromMap(ea.Z.revenueSharingVeCake,_)},66609:function(_,C,L){"use strict";L.d(C,{Z:function(){return atomWithStorageWithErrorCatch}});var Z=L(54367),ea=L(30378);function atomWithStorageWithErrorCatch(_,C,L){let es=(0,Z.FL)(()=>{let _=L||(()=>window.localStorage),C=null==_?void 0:_();return C?{removeItem:_=>{C.removeItem(_)},getItem:_=>C.getItem(_),setItem:(_,L)=>{try{C.setItem(_,L)}catch(C){console.error(`localStorage error with key ${_}`),(0,ea.H)(C)}}}:C});return(0,Z.O4)(_,C,es)}},65801:function(_,C,L){"use strict";L.d(C,{IM:function(){return isStaked},PS:function(){return ea},cP:function(){return getVaultPosition},p1:function(){return isLocked}});var Z,ea,es=L(53337);let isStaked=_=>{let{userShares:C}=_;return!!(C&&C.gt(0))},isLocked=_=>{let{userShares:C,locked:L}=_;return isStaked({userShares:C})&&!!L},isLockedEnd=_=>{let{userShares:C,locked:L,lockEndTime:Z}=_;return!!Z&&"0"!==Z&&isLocked({userShares:C,locked:L})&&Date.now()>=1e3*parseInt(Z)&&Date.now()<=new Date(1e3*parseInt(Z)).getTime()+1e3*es.by},isAfterBurning=_=>{let{userShares:C,locked:L,lockEndTime:Z}=_;return!!Z&&"0"!==Z&&isLocked({userShares:C,locked:L})&&Date.now()>new Date(1e3*parseInt(Z)).getTime()+1e3*es.by};(Z=ea||(ea={}))[Z.None=0]="None",Z[Z.Flexible=1]="Flexible",Z[Z.Locked=2]="Locked",Z[Z.LockedEnd=3]="LockedEnd",Z[Z.AfterBurning=4]="AfterBurning";let getVaultPosition=_=>_?isAfterBurning(_)?4:isLockedEnd(_)?3:isLocked(_)?2:isStaked(_)?1:0:0},60946:function(_,C,L){"use strict";L.d(C,{J:function(){return clearUserStates}});var Z=L(76752),ea=L(27136),es=L(60011),eo=L(94);
371L(73656);var el=L(58069),utils_getLocalStorageItemKeys=_=>{let C=[];for(let L=0;L<localStorage.length;L++)localStorage.key(L).startsWith(_)&&C.push(localStorage.key(L));return C};let clearUserStates=(_,C)=>{var L,eu;let{chainId:ec,newChainId:ed}=C;_((0,ea.tZ)({chainId:ec,newChainId:ed})),_((0,ea.Xw)({showModal:!1})),(0,Z.e)(_=>_.setUser(null));let eh=utils_getLocalStorageItemKeys(el.EM);eh.forEach(_=>{var C,L;return null===(L=window)||void 0===L?void 0:null===(C=L.localStorage)||void 0===C?void 0:C.removeItem(_)}),null===(eu=window)||void 0===eu||null===(L=eu.localStorage)||void 0===L||L.removeItem(es.bF),(0,eo.deleteCookie)("AFFILIATE_SID",{sameSite:!0})}},62370:function(_,C,L){"use strict";L.d(C,{jS:function(){return getBep20Contract},XT:function(){return getCakeContract},J7:function(){return getCakeFlexibleSideVaultV2Contract},OJ:function(){return getCakeVaultV2Contract},uN:function(){return contractHelpers_getContract},jI:function(){return getGaugesVotingContract},Gc:function(){return contractHelpers_getIfoCreditAddressContract},yd:function(){return getLotteryV2Contract},kM:function(){return getMasterChefContract},_c:function(){return getMasterChefV3Contract},U_:function(){return getPositionManagerAdapterContract},kq:function(){return getPositionManagerWrapperContract},ty:function(){return getPotteryDrawContract},s4:function(){return getPotteryVaultContract},Y4:function(){return getProfileContract},hQ:function(){return getRevenueSharingCakePoolContract},cj:function(){return getRevenueSharingPoolContract},XY:function(){return getRevenueSharingVeCakeContract},t$:function(){return getSidContract},Rb:function(){return getSidResolverContract},eK:function(){return getStableSwapNativeHelperContract},gf:function(){return getTradingCompetitionContractMoD},NL:function(){return getUnsContract},OL:function(){return getV3AirdropContract},Pv:function(){return getV3MigratorContract},oU:function(){return getVCakeContract},tu:function(){return getVeCakeContract}});var Z=L(42166),ea=L(32611);L(86930);let es=[{inputs:[],name:"N_COINS",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"WBNB",outputs:[{internalType:"contract IWBNB",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"contract IPancakeStableSwap",name:"swap",type:"address"},{internalType:"uint256[2]",name:"amounts",type:"uint256[2]"},{internalType:"uint256",name:"min_mint_amount",type:"uint256"}],name:"add_liquidity",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"isWhitelist",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"contract IPancakeStableSwap",name:"swap",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint256[2]",name:"min_amounts",type:"uint256[2]"}],name:"remove_liquidity",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_swap",type:"address"},{internalType:"bool",name:"_status",type:"bool"}],name:"setWhiteList",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{stateMutability:"payable",type:"receive"}];var eo=L(11189),el=L(14146);L(86530),L(97269);var eu=L(72986);let ec=[{inputs:[],name:"MIN_CEILING_DURATION",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"admin",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"cakePool",outputs:[{internalType:"contract ICaKePool",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"ceiling",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"}],name:"getUserCredit",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_newCeiling",type:"uint256"}],name:"updateCeiling",outputs:[],stateMutability:"nonpayable",type:"function"}];var ed=L(35441),eh=L(53343);let getIfoCreditAddressContract=(_,C,L)=>{let Z=function(_,C){if(!(0,eh.er)(C))throw Error(`Cannot get contract address. Unsupported chain ${C}`);return _[C]}(ed.x,_);
vendor: 16,384 bytes, line 371
371if(!Z||"0x"===Z)throw Error(`IANDX not supported on chain ${_}`);let ea=C({chainId:_});return(0,eu.uN)({abi:ec,address:Z,publicClient:ea,walletClient:L})};var ep=L(53337),ef=L(81078),em=L(96394),eb=L(17577);let ey=[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"operator",type:"address"},{indexed:!1,internalType:"bool",name:"approved",type:"bool"}],name:"ApprovalForAll",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"node",type:"bytes32"},{indexed:!0,internalType:"bytes32",name:"label",type:"bytes32"},{indexed:!1,internalType:"address",name:"owner",type:"address"}],name:"NewOwner",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"node",type:"bytes32"},{indexed:!1,internalType:"address",name:"resolver",type:"address"}],name:"NewResolver",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"node",type:"bytes32"},{indexed:!1,internalType:"uint64",name:"ttl",type:"uint64"}],name:"NewTTL",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"node",type:"bytes32"},{indexed:!1,internalType:"address",name:"owner",type:"address"}],name:"Transfer",type:"event"},{inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"operator",type:"address"}],name:"isApprovedForAll",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"node",type:"bytes32"}],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"node",type:"bytes32"}],name:"recordExists",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"node",type:"bytes32"}],name:"resolver",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"operator",type:"address"},{internalType:"bool",name:"approved",type:"bool"}],name:"setApprovalForAll",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"node",type:"bytes32"},{internalType:"address",name:"owner",type:"address"}],name:"setOwner",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"node",type:"bytes32"},{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"resolver",type:"address"},{internalType:"uint64",name:"ttl",type:"uint64"}],name:"setRecord",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"node",type:"bytes32"},{internalType:"address",name:"resolver",type:"address"}],name:"setResolver",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"node",type:"bytes32"},{internalType:"bytes32",name:"label",type:"bytes32"},{internalType:"address",name:"owner",type:"address"}],name:"setSubnodeOwner",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"node",type:"bytes32"},{internalType:"bytes32",name:"label",type:"bytes32"},{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"resolver",type:"address"},{internalType:"uint64",name:"ttl",type:"uint64"}],name:"setSubnodeRecord",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"node",type:"bytes32"},{internalType:"uint64",name:"ttl",type:"uint64"}],name:"setTTL",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"node",type:"bytes32"}],name:"ttl",outputs:[{internalType:"uint64",name:"",type:"uint64"}],stateMutability:"view",type:"function"}],eg=[{inputs:[{internalType:"contract SID",name:"_sid",type:"address"},{internalType:"contract INameWrapper",name:"wrapperAddress",type:"address"},{internalType:"address",name:"_trustedETHController",type:"address"},{internalType:"address",name:"_trustedReverseRegistrar",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"node",type:"bytes32"},{indexed:!1,internalType:"address",name:"a",type:"address"}],name:"AddrChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"node",type:"bytes32"},{indexed:!1,internalType:"uint256",name:"coinType",type:"uint256"},{indexed:!1,internalType:"bytes",name:"newAddress",type:"bytes"}],name:"AddressChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"operator",type:"address"},{indexed:!1,internalType:"bool",name:"approved",type:"bool"}],name:"ApprovalForAll",type:"event"},{inputs:[{internalType:"bytes32",name:"node",type:"bytes32"}],name:"addr",outputs:[{internalType:"address payable",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"node",type:"bytes32"},{internalType:"uint256",name:"coinType",type:"uint256"}],name:"addr",outputs:[{internalType:"bytes",name:"",type:"bytes"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"},{internalType:"address",name:"operator",type:"address"}],name:"isApprovedForAll",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes[]",name:"data",type:"bytes[]"}],name:"multicall",outputs:[{internalType:"bytes[]",name:"results",type:"bytes[]"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"node",type:"bytes32"},{internalType:"uint256",name:"coinType",type:"uint256"},{internalType:"bytes",name:"a",type:"bytes"}],name:"setAddr",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"node",type:"bytes32"},{internalType:"address",name:"a",type:"address"}],name:"setAddr",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"operator",type:"address"},{internalType:"bool",name:"approved",type:"bool"}],name:"setApprovalForAll",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"node",type:"bytes32"}],name:"name",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes4",name:"interfaceID",type:"bytes4"}],name:"supportsInterface",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"pure",type:"function"}];var ev=L(22204);L(48797);var ex=L(1383);L(36280);var e_=L(92670),ew=L(67922),eC=L(42338),eT=L(23357);let eq=[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_timestamp",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_tokens",type:"uint256"}],name:"CheckpointToken",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_user",type:"address"},{indexed:!0,internalType:"address",name:"_recipient",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_claimEpoch",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_maxEpoch",type:"uint256"}],name:"Claimed",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"}],name:"Feed",type:"event"},{anonymous:!1,inputs:[],name:"Killed",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"bool",name:"_toggleFlag",type:"bool"}],name:"SetCanCheckpointToken",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_caller",type:"address"},{indexed:!0,internalType:"address",name:"_address",type:"address"},{indexed:!1,internalType:"bool",name:"_ok",type:"bool"}],name:"SetWhitelistedCheckpointCallers",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"_owner",type:"address"},{indexed:!0,internalType:"address",name:"_user",type:"address"},{indexed:!0,internalType:"address",name:"_oldRecipient",type:"address"},{indexed:!0,internalType:"address",name:"_newRecipient",type:"address"}],name:"UpdateRecipient",type:"event"},{inputs:[],name:"TOKEN_CHECKPOINT_DEADLINE",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"VECake",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"WEEK",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"},{internalType:"uint256",name:"_timestamp",type:"uint256"}],name:"balanceOfAt",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"},{internalType:"uint256",name:"_timestamp",type:"uint256"}],name:"balanceOfAtProxy",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"},{internalType:"uint256",name:"_timestamp",type:"uint256"}],name:"balanceOfAtUser",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"canCheckpointToken",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"checkpointToken",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"checkpointTotalSupply",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"}],name:"claim",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"}],name:"claimForUser",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address[]",name:"_users",type:"address[]"}],name:"claimMany",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_recipient",type:"address"}],name:"claimTo",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"emergencyReturn",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_amount",type:"uint256"}],name:"feed",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"}],name:"getRecipient",outputs:[{internalType:"address",name:"_recipient",type:"address"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_timestamp",type:"uint256"},{internalType:"uint256",name:"_amount",type:"uint256"}],name:"injectReward",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_amount",type:"uint256"}],name:"injectRewardForCurrentWeek",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"isKilled",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"kill",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"lastTokenBalance",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"lastTokenTimestamp",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"recipient",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"rewardToken",outputs:[{internalType:"contract IERC20",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bool",name:"_newCanCheckpointToken",type:"bool"}],name:"setCanCheckpointToken",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"},{internalType:"address",name:"_recipient",type:"address"}],name:"setRecipient",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address[]",name:"_callers",type:"address[]"},{internalType:"bool",name:"_ok",type:"bool"}],name:"setWhitelistedCheckpointCallers",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"startWeekCursor",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"",type:"uint256"}],name:"tokensPerWeek",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalDistributed",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"",type:"uint256"}],name:"totalSupplyAt",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"userEpochOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"weekCursor",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"weekCursorOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"whitelistedCheckpointCallers",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"}],ek=[{inputs:[{internalType:"address",name:"_pancakeProfileAddress",type:"address"},{internalType:"address",name:"_bunnyStationAddress",type:"address"},{internalType:"address",name:"_cakeTokenAddress",type:"address"},{internalType:"address",name:"_darTokenAddress",type:"address"},{internalType:"uint256",name:"_competitionId",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!1,internalType:"enum TradingCompV4.CompetitionStatus",name:"status",type:"uint8"},{indexed:!1,internalType:"uint256",name:"competitionId",type:"uint256"}],name:"NewCompetitionStatus",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"teamId",type:"uint256"},{indexed:!1,internalType:"uint256",name:"competitionId",type:"uint256"}],name:"TeamRewardsUpdate",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"userAddress",type:"address"},{indexed:!1,internalType:"uint256",name:"teamId",type:"uint256"},{indexed:!1,internalType:"uint256",name:"competitionId",type:"uint256"}],name:"UserRegister",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address[]",name:"userAddresses",type:"address[]"},{indexed:!1,internalType:"uint256",name:"rewardGroup",type:"uint256"},{indexed:!1,internalType:"uint256",name:"competitionId",type:"uint256"}],name:"UserUpdateMultiple",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"teamId",type:"uint256"},{indexed:!1,internalType:"uint256",name:"competitionId",type:"uint256"}],name:"WinningTeam",typ
vendor: 11,798 bytes, line 371
371e:"event"},{inputs:[],name:"bunnyId",outputs:[{internalType:"uint8",name:"",type:"uint8"}],stateMutability:"view",type:"function"},{inputs:[],name:"bunnyMintingStation",outputs:[{internalType:"contract BunnyMintingStation",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"bunnyTokenURI",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[],name:"cakeToken",outputs:[{internalType:"contract IBEP20",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_amount",type:"uint256"}],name:"claimCakeRemainder",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_amount",type:"uint256"}],name:"claimDarRemainder",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_userAddress",type:"address"}],name:"claimInformation",outputs:[{internalType:"bool",name:"",type:"bool"},{internalType:"bool",name:"",type:"bool"},{internalType:"bool",name:"",type:"bool"},{internalType:"uint256",name:"",type:"uint256"},{internalType:"uint256",name:"",type:"uint256"},{internalType:"uint256",name:"",type:"uint256"},{internalType:"uint256",name:"",type:"uint256"},{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"claimReward",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"competitionId",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"currentStatus",outputs:[{internalType:"enum TradingCompV4.CompetitionStatus",name:"",type:"uint8"}],stateMutability:"view",type:"function"},{inputs:[],name:"darToken",outputs:[{internalType:"contract IBEP20",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"numberTeams",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"pancakeProfile",outputs:[{internalType:"contract IPancakeProfile",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"register",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"enum TradingCompV4.CompetitionStatus",name:"_status",type:"uint8"}],name:"updateCompetitionStatus",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_teamId",type:"uint256"},{internalType:"uint256[5]",name:"_userCampaignIds",type:"uint256[5]"},{internalType:"uint256[5]",name:"_cakeRewards",type:"uint256[5]"},{internalType:"uint256[5]",name:"_darRewards",type:"uint256[5]"},{internalType:"uint256[5]",name:"_pointRewards",type:"uint256[5]"}],name:"updateTeamRewards",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address[]",name:"_addressesToUpdate",type:"address[]"},{internalType:"uint256",name:"_rewardGroup",type:"uint256"}],name:"updateUserStatusMultiple",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_winningTeamId",type:"uint256"},{internalType:"string",name:"_tokenURI",type:"string"},{internalType:"uint8",name:"_bunnyId",type:"uint8"}],name:"updateWinningTeamAndTokenURIAndBunnyId",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"userTradingStats",outputs:[{internalType:"bool",name:"hasClaimed",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"viewRewardTeams",outputs:[{components:[{internalType:"uint256[5]",name:"userCampaignId",type:"uint256[5]"},{internalType:"uint256[5]",name:"cakeRewards",type:"uint256[5]"},{internalType:"uint256[5]",name:"darRewards",type:"uint256[5]"},{internalType:"uint256[5]",name:"pointUsers",type:"uint256[5]"}],internalType:"struct TradingCompV4.CompetitionRewards[]",name:"",type:"tuple[]"}],stateMutability:"view",type:"function"},{inputs:[],name:"winningTeamId",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"}],eS=[{inputs:[{internalType:"address",name:"cake",type:"address"},{internalType:"address",name:"bunnyMintStation",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"AlreadyClaimed",type:"error"},{inputs:[],name:"InvalidMerkleProof",type:"error"},{inputs:[],name:"ZeroMerkleRoot",type:"error"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"user",type:"address"},{indexed:!1,internalType:"uint256",name:"cakeAmount",type:"uint256"},{indexed:!1,internalType:"bool",name:"part1Nft",type:"bool"},{indexed:!1,internalType:"bool",name:"part2Nft",type:"bool"}],name:"Claim",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{inputs:[],name:"BUNNY_MINT_STATION",outputs:[{internalType:"contract IBunnyMintStation",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"CAKE",outputs:[{internalType:"contract IERC20",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"PART1_NFT_BUNNY_ID",outputs:[{internalType:"uint8",name:"",type:"uint8"}],stateMutability:"view",type:"function"},{inputs:[],name:"PART1_NFT_TOKEN_URI",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[],name:"PART2_NFT_BUNNY_ID",outputs:[{internalType:"uint8",name:"",type:"uint8"}],stateMutability:"view",type:"function"},{inputs:[],name:"PART2_NFT_TOKEN_URI",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"cakeAmount",type:"uint256"},{internalType:"bool",name:"part1Nft",type:"bool"},{internalType:"bool",name:"part2Nft",type:"bool"},{internalType:"bytes32[]",name:"merkleProof",type:"bytes32[]"}],name:"claim",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"isClaimed",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"merkleRoot",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_merkleRoot",type:"bytes32"}],name:"setMerkleRoot",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"}],eE=[{inputs:[{internalType:"address",name:"_deployer",type:"address"},{internalType:"address",name:"_factory",type:"address"},{internalType:"address",name:"_WETH9",type:"address"},{internalType:"address",name:"_nonfungiblePositionManager",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"WETH9",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"token0",type:"address"},{internalType:"address",name:"token1",type:"address"},{internalType:"uint24",name:"fee",type:"uint24"},{internalType:"uint160",name:"sqrtPriceX96",type:"uint160"}],name:"createAndInitializePoolIfNecessary",outputs:[{internalType:"address",name:"pool",type:"address"}],stateMutability:"payable",type:"function"},{inputs:[],name:"deployer",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"factory",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"address",name:"pair",type:"address"},{internalType:"uint256",name:"liquidityToMigrate",type:"uint256"},{internalType:"uint8",name:"percentageToMigrate",type:"uint8"},{internalType:"address",name:"token0",type:"address"},{internalType:"address",name:"token1",type:"address"},{internalType:"uint24",name:"fee",type:"uint24"},{internalType:"int24",name:"tickLower",type:"int24"},{internalType:"int24",name:"tickUpper",type:"int24"},{internalType:"uint256",name:"amount0Min",type:"uint256"},{internalType:"uint256",name:"amount1Min",type:"uint256"},{internalType:"address",name:"recipient",type:"address"},{internalType:"uint256",name:"deadline",type:"uint256"},{internalType:"bool",name:"refundAsETH",type:"bool"}],internalType:"struct IV3Migrator.MigrateParams",name:"params",type:"tuple"}],name:"migrate",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes[]",name:"data",type:"bytes[]"}],name:"multicall",outputs:[{internalType:"bytes[]",name:"results",type:"bytes[]"}],stateMutability:"payable",type:"function"},{inputs:[],name:"nonfungiblePositionManager",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"token",type:"address"},{internalType:"uint256",name:"value",type:"uint256"},{internalType:"uint256",name:"deadline",type:"uint256"},{internalType:"uint8",name:"v",type:"uint8"},{internalType:"bytes32",name:"r",type:"bytes32"},{internalType:"bytes32",name:"s",type:"bytes32"}],name:"selfPermit",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"token",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"uint256",name:"expiry",type:"uint256"},{internalType:"uint8",name:"v",type:"uint8"},{internalType:"bytes32",name:"r",type:"bytes32"},{internalType:"bytes32",name:"s",type:"bytes32"}],name:"selfPermitAllowed",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"token",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"uint256",name:"expiry",type:"uint256"},{internalType:"uint8",name:"v",type:"uint8"},{internalType:"bytes32",name:"r",type:"bytes32"},{internalType:"bytes32",name:"s",type:"bytes32"}],name:"selfPermitAllowedIfNecessary",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"token",type:"address"},{internalType:"uint256",name:"value",type:"uint256"},{internalType:"uint256",name:"deadline",type:"uint256"},{internalType:"uint8",name:"v",type:"uint8"},{internalType:"bytes32",name:"r",type:"bytes32"},{internalType:"bytes32",name:"s",type:"bytes32"}],name:"selfPermitIfNecessary",outputs:[],stateMutability:"payable",type:"function"},{stateMutability:"payable",type:"receive"}],eM=[{inputs:[{internalType:"contract ICakePool",name:"_cakePool",type:"address"},{internalType:"contract IMasterChefV2",name:"_masterchefV2",type:"address"},{internalType:"uint256",name:"_pid",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"user",type:"address"},{indexed:!1,internalType:"uint256",name:"lockedAmount",type:"uint256"}],name:"Sync",type:"event"},{inputs:[],name:"CakePool",outputs:[{internalType:"contract ICakePool",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"CakePoolPID",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"}
371,{inputs:[],name:"DURATION_FACTOR_OVERDUE",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"MULTIPLIER",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"MasterchefV2",outputs:[{internalType:"contract IMasterChefV2",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"PRECISION_FACTOR",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"UNLOCK_FREE_DURATION",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"WEEK",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"},{internalType:"uint256",name:"_blockNumber",type:"uint256"}],name:"balanceOfAt",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"checkpoint",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"decimals",outputs:[{internalType:"uint8",name:"",type:"uint8"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint256",name:"_lockDuration",type:"uint256"}],name:"deposit",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"epoch",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"initialization",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"name",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"",type:"uint256"}],name:"pointHistory",outputs:[{internalType:"int128",name:"bias",type:"int128"},{internalType:"int128",name:"slope",type:"int128"},{internalType:"uint256",name:"timestamp",type:"uint256"},{internalType:"uint256",name:"blockNumber",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"",type:"uint256"}],name:"slopeChanges",outputs:[{internalType:"int128",name:"",type:"int128"}],stateMutability:"view",type:"function"},{inputs:[],name:"symbol",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[],name:"syncFromCakePool",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"totalSupply",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_blockNumber",type:"uint256"}],name:"totalSupplyAt",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"userPointEpoch",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"},{internalType:"uint256",name:"",type:"uint256"}],name:"userPointHistory",outputs:[{internalType:"int128",name:"bias",type:"int128"},{internalType:"int128",name:"slope",type:"int128"},{internalType:"uint256",name:"timestamp",type:"uint256"},{internalType:"uint256",name:"blockNumber",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"userPrevLockedAmount",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"}],name:"withdraw",outputs:[],stateMutability:"nonpayable",type:"function"}],ej=[{inputs:[{internalType:"contract ICakePool",name:"_cakePool",type:"address"},{internalType:"contract IERC20",name:"_token",type:"address"},{internalType:"contract IProxyForCakePoolFactory",name:"_ProxyForCakePoolFactory",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"user",type:"address"},{indexed:!0,internalType:"address",name:"delegator",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"},{indexed:!1,internalType:"uint256",name:"endTime",type:"uint256"}],name:"DelegateFromCakePool",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"locker",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"},{indexed:!0,internalType:"uint256",name:"lockTime",type:"uint256"},{indexed:!1,internalType:"uint256",name:"lockType",type:"uint256"},{indexed:!1,internalType:"uint256",name:"timestamp",type:"uint256"}],name:"Deposit",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"locker",type:"address"},{indexed:!0,internalType:"address",name:"to",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"},{indexed:!1,internalType:"uint256",name:"penalty",type:"uint256"},{indexed:!1,internalType:"uint256",name:"timestamp",type:"uint256"}],name:"EarlyWithdraw",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"user",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"}],name:"EmergencyWithdraw",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"user",type:"address"},{indexed:!0,internalType:"address",name:"delegator",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"}],name:"InjectToDelegator",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"user",type:"address"},{indexed:!0,internalType:"address",name:"proxy",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"},{indexed:!1,internalType:"uint256",name:"endTime",type:"uint256"}],name:"MigrateFromCakePool",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"user",type:"address"},{indexed:!0,internalType:"address",name:"delegator",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"},{indexed:!1,internalType:"uint256",name:"endTime",type:"uint256"}],name:"MigrationConvertToDelegation",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"farmBooster",type:"address"}],name:"NewFarmBooster",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"caller",type:"address"},{indexed:!1,internalType:"address",name:"destination",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"}],name:"Redistribute",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"previousBreaker",type:"uint256"},{indexed:!1,internalType:"uint256",name:"breaker",type:"uint256"}],name:"SetBreaker",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"caller",type:"address"},{indexed:!1,internalType:"uint64",name:"oldEarlyWithdrawFeeBps",type:"uint64"},{indexed:!1,internalType:"uint64",name:"newEarlyWithdrawFeeBps",type:"uint64"},{indexed:!1,internalType:"uint64",name:"oldRedistributeBps",type:"uint64"},{indexed:!1,internalType:"uint64",name:"newRedistribiteBps",type:"uint64"},{indexed:!1,internalType:"address",name:"oldTreasuryAddr",type:"address"},{indexed:!1,internalType:"address",name:"newTreasuryAddr",type:"address"},{indexed:!1,internalType:"address",name:"oldRedistributeAddr",type:"address"},{indexed:!1,internalType:"address",name:"newRedistributeAddr",type:"address"}],name:"SetEarlyWithdrawConfig",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"user",type:"address"},{indexed:!1,internalType:"bool",name:"newValue",type:"bool"}],name:"SetEarlyWithdrawSwitch",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"user",type:"address"},{indexed:!1,internalType:"bool",name:"newValue",type:"bool"}],name:"SetEmergencyWithdrawSwitch",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"user",type:"address"},{indexed:!1,internalType:"uint256",name:"newValue",type:"uint256"}
371],name:"SetLimitTimeOfConvert",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"user",type:"address"},{indexed:!0,internalType:"bool",name:"newValue",type:"bool"}],name:"SetNoPenaltyForEarlyWithdraw",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"caller",type:"address"},{indexed:!0,internalType:"address",name:"addr",type:"address"},{indexed:!1,internalType:"bool",name:"ok",type:"bool"}],name:"SetWhitelistedCaller",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"caller",type:"address"},{indexed:!0,internalType:"address",name:"addr",type:"address"},{indexed:!1,internalType:"bool",name:"ok",type:"bool"}],name:"SetWhitelistedRedistributors",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"previousSupply",type:"uint256"},{indexed:!1,internalType:"uint256",name:"supply",type:"uint256"}],name:"Supply",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"delegator",type:"address"},{indexed:!1,internalType:"bool",name:"isDelegator",type:"bool"},{indexed:!1,internalType:"uint40",name:"limitTimestampForEarlyWithdraw",type:"uint40"}],name:"UpdateDelegator",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"locker",type:"address"},{indexed:!0,internalType:"address",name:"to",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"},{indexed:!1,internalType:"uint256",name:"timestamp",type:"uint256"}],name:"WithdrawAll",type:"event"},{inputs:[],name:"ACTION_CREATE_LOCK",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"ACTION_DEPOSIT_FOR",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"ACTION_INCREASE_LOCK_AMOUNT",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"ACTION_INCREASE_UNLOCK_TIME",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"CakePool",outputs:[{internalType:"contract ICakePool",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"DELEGATION_FROM_CAKE_POOL_FLAG",outputs:[{internalType:"uint16",name:"",type:"uint16"}],stateMutability:"view",type:"function"},{inputs:[],name:"DELEGATOR_FLAG",outputs:[{internalType:"uint8",name:"",type:"uint8"}],stateMutability:"view",type:"function"},{inputs:[],name:"FarmBooster",outputs:[{internalType:"contract IFarmBooster",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"MAX_LOCK",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"MIGRATION_FROM_CAKE_POOL_FLAG",outputs:[{internalType:"uint16",name:"",type:"uint16"}],stateMutability:"view",type:"function"},{inputs:[],name:"MULTIPLIER",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"NOT_DELEGATOR_FLAG",outputs:[{internalType:"uint8",name:"",type:"uint8"}],stateMutability:"view",type:"function"},{inputs:[],name:"NOT_WITHDRAW_FLAG",outputs:[{internalType:"uint16",name:"",type:"uint16"}],stateMutability:"view",type:"function"},{inputs:[],name:"ProxyForCakePoolFactory",outputs:[{internalType:"contract IProxyForCakePoolFactory",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"WEEK",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"WITHDREW_FLAG",outputs:[{internalType:"uint16",name:"",type:"uint16"}],stateMutability:"view",type:"function"},{inputs:[],name:"accumRedistribute",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"},{internalType:"uint256",name:"_blockNumber",type:"uint256"}],name:"balanceOfAt",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"},{internalType:"uint256",name:"_blockNumber",type:"uint256"}],name:"balanceOfAtForProxy",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"},{internalType:"uint256",name:"_timestamp",type:"uint256"}],name:"balanceOfAtTime",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"},{internalType:"uint256",name:"_blockNumber",type:"uint256"}],name:"balanceOfAtUser",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"}],name:"balanceOfForProxy",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"}],name:"balanceOfUser",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"breaker",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"checkpoint",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint256",name:"_unlockTime",type:"uint256"}],name:"createLock",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint256",name:"_unlockTime",type:"uint256"}],name:"createLockForProxy",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"decimals",outputs:[{internalType:"uint8",name:"",type:"uint8"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_delegator",type:"address"}],name:"delegateFromCakePool",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"delegator",outputs:[{internalType:"uint104",name:"delegatedCakeAmount",type:"uint104"},{internalType:"uint104",name:"notInjectedCakeAmount",type:"uint104"},{internalType:"uint40",name:"limitTimestampForEarlyWithdraw",type:"uint40"},{internalType:"uint8",name:"isDelegator",type:"uint8"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint256",name:"_lockDuration",type:"uint256"}],name:"deposit",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_for",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"}],name:"depositFor",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"}],name:"earlyWithdraw",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"earlyWithdrawBpsPerWeek",outputs:[{internalType:"uint64",name:"",type:"uint64"}],stateMutability:"view",type:"function"},{inputs:[],name:"earlyWithdrawSwitch",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"emergencyWithdraw",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"emergencyWithdrawSwitch",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"epoch",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"everEmergencyWithdraw",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"}],name:"getUserInfo",outputs:[{internalType:"int128",name:"amount",type:"int128"},{internalType:"uint256",name:"end",type:"uint256"},{internalType:"address",name:"cakePoolProxy",type:"address"},{internalType:"uint128",name:"cakeAmount",type:"uint128"},{internalType:"uint48",name:"lockEndTime",type:"uint48"},{internalType:"uint48",name:"migrationTime",type:"uint48"},{internalType:"uint16",name:"cakePoolType",type:"uint16"},{internalType:"uint16",name:"withdrawFlag",type:"uint16"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_amount",type:"uint256"}],name:"increaseLockAmount",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_newUnlockTime",type:"uint256"}],name:"increaseUnlockTime",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"initialization",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"initializeCakePoolMigration",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_delegator",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"}],name:"injectToDelegator",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"isCakePoolProxy",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"limitTimeOfConvert",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"locks",outputs:[{internalType:"int128",name:"amount",type:"int128"},{internalType:"uint256",name:"end",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"migrateFromCakePool",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_delegator",type:"address"}],name:"migrationConvertToDelegation",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"name",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"noPenaltyForEarlyWithdraw",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"",type:"uint256"}],name:"pointHistory",outputs:[{internalType:"int128",name:"bias",type:"int128"},{internalType:"int128",name:"slope",type:"int128"},{internalType:"uint256",name:"timestamp",type:"uint256"},{internalType:"uint256",name:"blockNumber",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"redistribute",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"redistributeAddr",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"redistributeBps",outputs:[{internalType:"uint64",name:"",type:"uint64"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_breaker",type:"uint256"}],name:"setBreaker",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint64",name:"_newEarlyWithdrawBpsPerWeek",type:"uint64"},{internalType:"uint64",name:"_newRedistributeBps",type:"uint64"},{internalType:"address",name:"_newTreasuryAddr",type:"address"},{internalType:"address",name:"_newRedistributeAddr",type:"address"}],name:"setEarlyWithdrawConfig",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bool",name:"_earlyWithdrawSwitch",type:"bool"}],name:"setEarlyWithdrawSwitch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bool",name:"_emergencyWithdrawSwitch",type:"bool"}],name:"setEmergencyWithdrawSwitch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_farmBooster",type:"address"}],name:"setFarmBooster",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_limitTime",type:"uint256"}],name:"setLimitTimeOfConvert",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"},{internalType:"bool",name:"_status",type:"bool"}],name:"setNoPenaltyForEarlyWithdraw",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address[]",name:"callers",type:"address[]"},{internalType:"bool",name:"ok",type:"bool"}],name:"setWhitelistedCallers",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address[]",name:"callers",type:"address[]"},{internalType:"bool",name:"ok",type:"bool"}],name:"setWhitelistedRedistributors",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"",type:"uint256"}],name:"slopeChanges",outputs:[{internalType:"int128",name:"",type:"int128"}],stateMutability:"view",type:"function"},{inputs:[],name:"supply",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"symbol",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[],name:"token",outputs:[{internalType:"contract IERC20",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalSupply",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_blockNumber",type:"uint256"}],name:"totalSupplyAt",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_timestamp",type:"uint256"}],name:"totalSupplyAtTime",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"treasuryAddr",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_delegator",type:"address"},{internalType:"bool",name:"_isDelegator",type:"bool"},{internalType:"uint40",name:"_limitTimestampForEarlyWithdraw",type:"uint40"}],name:"updateDelegator",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"userInfo",outputs:[{internalType:"address",name:"cakePoolProxy",type:"address"},{internalType:"uint128",name:"cakeAmount",type:"uint128"},{internalType:"uint48",name:"lockEndTime",type:"uint48"},{internalType:"uint48",name:"migrationTime",type:"uint48"},{internalType:"uint16",name:"cakePoolType",type:"uint16"},{internalType:"uint16",name:"withdrawFlag",type:"uint16"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"userPointEpoch",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"},{internalType:"uint256",name:"",type:"uint256"}],name:"userPointHistory",outputs:[{internalType:"int128",name:"bias",type:"int128"},{internalType:"int128",name:"slope",type:"int128"},{internalType:"uint256",name:"timestamp",type:"uint256"},{internalType:"uint256",name:"blockNumber",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"whitelistedCallers",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"whitelistedRedistributors",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"}],name:"withdraw",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{inte
371rnalType:"address",name:"_to",type:"address"}],name:"withdrawAll",outputs:[],stateMutability:"nonpayable",type:"function"}];var eA=L(57333),eD=L(59624);let contractHelpers_getContract=_=>{let{abi:C,address:L,chainId:Z=eo.a_.MODE_MAINNET,publicClient:ea,signer:es}=_,el=(0,eu.uN)({abi:C,address:L,publicClient:null!=ea?ea:eA.r[Z],walletClient:es});return{...el,account:null==es?void 0:es.account,chain:null==es?void 0:es.chain}},getBep20Contract=(_,C)=>contractHelpers_getContract({abi:eD.em,address:_,signer:C}),getCakeContract=_=>{var C;return contractHelpers_getContract({abi:eD.em,address:_?null===(C=Z.Ad[_])||void 0===C?void 0:C.address:Z.Ad[eo.a_.MODE_MAINNET].address,chainId:_})},getProfileContract=_=>contractHelpers_getContract({abi:e_.a,address:(0,ea.Re)(),signer:_}),getLotteryV2Contract=_=>contractHelpers_getContract({abi:ev.f,address:(0,ea.kN)(),signer:_}),getTradingCompetitionContractMoD=_=>contractHelpers_getContract({abi:ek,address:(0,ea.J0)(),signer:_}),getCakeVaultV2Contract=(_,C)=>contractHelpers_getContract({abi:ep.dO,address:(0,ea.O9)(C),signer:_,chainId:C}),getCakeFlexibleSideVaultV2Contract=(_,C)=>contractHelpers_getContract({abi:ep.Lu,address:(0,ea.pO)(C),signer:_,chainId:C}),getPotteryVaultContract=(_,C)=>contractHelpers_getContract({abi:eC.j,address:_,signer:C}),getPotteryDrawContract=_=>contractHelpers_getContract({abi:ew.c,address:(0,ea.Du)(),signer:_}),contractHelpers_getIfoCreditAddressContract=_=>getIfoCreditAddressContract(eo.a_.MODE_MAINNET,eA.N,_),getPositionManagerWrapperContract=(_,C,L)=>contractHelpers_getContract({abi:ef.h,address:_,signer:C,chainId:L}),getPositionManagerAdapterContract=(_,C,L)=>contractHelpers_getContract({abi:em.Z,address:_,signer:C,chainId:L}),getSidContract=(_,C)=>contractHelpers_getContract({abi:ey,address:_,chainId:C}),getUnsContract=(_,C,L)=>contractHelpers_getContract({abi:[{inputs:[{internalType:"address",name:"addr",type:"address"}],name:"reverseNameOf",outputs:[{internalType:"string",name:"reverseUri",type:"string"}],stateMutability:"view",type:"function"}],chainId:C,address:_,publicClient:L}),getSidResolverContract=(_,C)=>contractHelpers_getContract({abi:eg,address:_,signer:C}),getStableSwapNativeHelperContract=(_,C)=>contractHelpers_getContract({abi:es,address:(0,ea.YJ)(C),chainId:C,signer:_}),getMasterChefContract=(_,C)=>contractHelpers_getContract({abi:ex.H,address:(0,ea.ot)(C),chainId:C,signer:_}),getMasterChefV3Contract=(_,C)=>{let L=(0,ea.m1)(C);return L?contractHelpers_getContract({abi:eb.Dg,address:L,chainId:C,signer:_}):null},getV3MigratorContract=(_,C)=>contractHelpers_getContract({abi:eE,address:(0,ea.uf)(C),chainId:C,signer:_}),getV3AirdropContract=_=>contractHelpers_getContract({abi:eS,address:(0,ea.ci)(),signer:_}),getVCakeContract=(_,C)=>contractHelpers_getContract({abi:eM,address:(0,ea.Zn)(C),signer:_,chainId:C}),getRevenueSharingPoolContract=(_,C)=>contractHelpers_getContract({abi:eT.n,address:(0,ea.D5)(C),signer:_,chainId:C}),getVeCakeContract=(_,C)=>{var L;return contractHelpers_getContract({abi:ej,address:null!==(L=(0,ea.b0)(C))&&void 0!==L?L:(0,ea.b0)(eo.a_.MODE_MAINNET),signer:_,chainId:C})},getGaugesVotingContract=(_,C)=>{var L;return contractHelpers_getContract({abi:el.qk,address:null!==(L=(0,ea.eL)(C))&&void 0!==L?L:(0,ea.eL)(eo.a_.MODE_MAINNET),signer:_,chainId:C})},getRevenueSharingCakePoolContract=(_,C)=>{var L;return contractHelpers_getContract({abi:eq,address:null!==(L=(0,ea.Qn)(C))&&void 0!==L?L:(0,ea.Qn)(eo.a_.MODE_MAINNET),signer:_,chainId:C})},getRevenueSharingVeCakeContract=(_,C)=>{var L;return contractHelpers_getContract({abi:eq,address:null!==(L=(0,ea.IN)(C))&&void 0!==L?L:(0,ea.IN)(eo.a_.MODE_MAINNET),signer:_,chainId:C})}},51433:function(_,C,L){"use strict";var Z,ea,es,eo,el,eu;L.d(C,{IP:function(){return logGTMClickAddLiquidityEvent},K2:function(){return logGTMClickSwapEvent},ZD:function(){return logGTMWalletConnectEvent},n0:function(){return logGTMClickTokenHighLightTradeEvent}}),(eo=Z||(Z={})).EventTracking="eventTracking",eo.Swap="swap",eo.AddLiquidity="addLiquidity",eo.Farm="stakeFarm",eo.WalletConnect="walletConnect",(el=ea||(ea={})).TokenHighlight="TokenHighlight",el.Swap="Swap",el.AddLiquidity="AddLiquidity",el.Farm="Farm",el.WalletConnect="WalletConnect",(eu=es||
371(es={})).ClickTradeButton="Click Trade Button",eu.ClickSwapButton="Click Swap Button",eu.ClickAddLiquidityButton="Click Add Liquidity Button",eu.ClickStakeButton="Click Stake Button",eu.ClickWalletConnectButton="Click Wallet Connect and Connected",null==window||window.dataLayer;let logGTMClickTokenHighLightTradeEvent=_=>{var C;console.info("---TokenHeightLightTrade---"),null==window||null===(C=window.dataLayer)||void 0===C||C.push({event:"eventTracking",action:"Click Trade Button",category:"TokenHighlight",label:_})},logGTMClickSwapEvent=()=>{var _;console.info("---Swap---"),null==window||null===(_=window.dataLayer)||void 0===_||_.push({event:"swap",action:"Click Swap Button",category:"Swap"})},logGTMClickAddLiquidityEvent=()=>{var _;console.info("---AddLiquidity---"),null==window||null===(_=window.dataLayer)||void 0===_||_.push({event:"addLiquidity",action:"Click Add Liquidity Button",category:"AddLiquidity"})},logGTMWalletConnectEvent=_=>{var C;console.info("---WalletConnect---"),null==window||null===(C=window.dataLayer)||void 0===C||C.push({event:"walletConnect",action:"Click Wallet Connect and Connected",category:"WalletConnect",label:_})}},82730:function(_,C,L){"use strict";L.d(C,{C:function(){return getBlockExploreLink},X0:function(){return getBlockExploreName},hr:function(){return escapeRegExp},wK:function(){return isTokenOnList},xP:function(){return ec},yC:function(){return calculateGasMargin}});var Z=L(86004),ea=L(11189),es=L(23390),eo=L(67997),el=L.n(eo),eu=L(30012);let ec=el()(_=>{try{let C=_;return"string"!=typeof _||_.startsWith("0x")||(C=`0x${_}`),(0,Z.K)(C)}catch{return}});function getBlockExploreLink(_,C,L){let Z=L||ea.a_.MODE_MAINNET,eo=eu.p5.find(_=>_.id===Z);if(!eo)return es.e.blockExplorers.default.url;switch(C){case"transaction":return`${eo.blockExplorers.default.url}/tx/${_}`;case"token":return`${eo.blockExplorers.default.url}/token/${_}`;case"block":return`${eo.blockExplorers.default.url}/block/${_}`;case"countdown":return`${eo.blockExplorers.default.url}/block/countdown/${_}`;default:return`${eo.blockExplorers.default.url}/address/${_}`}}function getBlockExploreName(_){var C;let L=_||ea.a_.MODE_MAINNET,Z=eu.p5.find(_=>_.id===L);return(null==Z?void 0:null===(C=Z.blockExplorers)||void 0===C?void 0:C.default.name)||es.e.blockExplorers.default.name}function calculateGasMargin(_){let C=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1000n;return _*(10000n+C)/10000n}function escapeRegExp(_){return _.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function isTokenOnList(_,C){var L;return null!=C&&!!C.isNative||!!((null==C?void 0:C.isToken)&&(null===(L=_[C.chainId])||void 0===L?void 0:L[C.address]))}},58069:function(_,C,L){"use strict";L.d(C,{EM:function(){return es},On:function(){return confirmOrderSubmission},TR:function(){return saveOrder},Vx:function(){return confirmOrderCancellation}});var Z=L(60880);L(40916);var ea=L(86004);let es="gorders_",hashOrder=_=>_.id,hashOrderSet=_=>new Set(_.map(hashOrder));function lsKey(_,C,L){return _+C.toString()+L.toString()}function saveOrder(_,C,L){let ea=arguments.length>3&&void 0!==arguments[3]&&arguments[3];!function(_,C,L){let ea=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!L||!L.length)return;let eo=ea?lsKey(`${es}pending_`,C,_):lsKey(es,C,_);ea||removeOrders(_,C,L,!0);let el=removeOrders(_,C,L,ea);el.length?(el.push(...L),(0,Z.set)(eo,el)):(0,Z.set)(eo,L)}(_,C,[L],ea)}function removeOrders(_,C,L){let ea=arguments.length>3&&void 0!==arguments[3]&&arguments[3],eo=ea?lsKey(`${es}pending_`,C,_):lsKey(es,C,_),el=(0,Z.get)(eo);if(!el)return[];if(!L||!L.length)return el;let eu=hashOrderSet(L),ec=el.filter(_=>!eu.has(hashOrder(_)));return(0,Z.set)(eo,ec),ec}function removeOrder(_,C,L){let Z=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return removeOrders(_,C,[L],Z)}function confirmOrderCancellation(_,C,L){let eo=!(arguments.length>3)||void 0===arguments[3]||arguments[3],el=L.toLowerCase(),eu=lsKey(`${es}pending_`,(0,ea.K)(C),_),ec=(0,Z.get)(eu),ed=ec.find(_=>{var C;return(null===(C=_.cancelledTxHash)||void 0===C?void 0:C.toLowerCase())===el});if(ed&&removeOrder(_,C,ed,!0),eo&&ed){let L=lsKey(es,C,_),ea=(0,Z.get)(L);if(ea){let ea=removeOrder(_,C,ed);ea.push({...ed,cancelledTxHash:el}),(0,Z.set)(L,ea)}else(0,Z.set)(L,[{...ed,cancelledTxHash:el}])}}function confirmOrderSubmission(_,C,L){let eo=!(arguments.length>3)||void 0===arguments[3]||arguments[3],el=L.toLowerCase(),eu=lsKey(`${es}pending_`,(0,ea.K)(C),_),ec=(0,Z.get)(eu),ed=ec.find(_=>{var C;return(null===(C=_.createdTxHash)||void 0===C?void 0:C.toLowerCase())===el});if(ed&&removeOrder(_,C,ed,!0),eo&&ed){let L=lsKey(es,C,_),ea=(0,Z.get)(L);if(ea){let ea=removeOrder(_,C,{...ed,createdTxHash:el});ea.push({...ed,createdTxHash:el}),(0,Z.set)(L,ea)}else(0,Z.set)(L,[{...ed,createdTxHash:el}])}}},54330:function(_,C,L){"use strict";let Z;L.d(C,{$1:function(){return useInterceptLink},$L:function(){return useInjectI18n},P3:function(){return useSystemInfo},Ux:function(){return ef},wj:function(){return listenOnBnMessage}});var ea=L(97656),es=L(46074),eo=L(82577),el=L(52983);let eu={},ec={},listenOnBnMessage=()=>{window.bn.onMessage=_=>{var C,L,Z,ea;let{data:{id:es,payload:eo,on:el}}=_;console.log("~ onMessage: ",es,eo);let ed=eo;
371"string"==typeof eo&&(ed=JSON.parse(eo),console.log("~ onMessage parse payload: ",eo)),el&&"function"==typeof ec[el]?ec[el](ed):"function"==typeof eu[es]&&(eu[es](ed),delete eu[es]),"disconnect"===es&&(null===(C=(L=window.bn).disconnect)||void 0===C||C.call(L)),"connect"===es&&(null===(Z=(ea=window.bn).connect)||void 0===Z||Z.call(ea))}},ed=0,eh=1e3*Math.random(),postMessage=_=>{let{action:C,payload:L,cb:Z}=_,ea=`${eh}-${ed}`;return window.bn.miniProgram.postMessage({action:C,id:ea,payload:L}),eu[ea]=Z,ed++,ea},ep={jump:_=>new Promise(C=>{postMessage({action:"jump",payload:_,cb:C})}),getSystemInfo:()=>new Promise(_=>{postMessage({action:"getSystemInfo",cb:_})}),toExternal:_=>new Promise(C=>{postMessage({action:"toExternal",payload:_,cb:C})})},ef={toWallet:()=>new Promise(_=>{postMessage({action:"toWallet",cb:_})})},useSystemInfo=()=>{let[_,C]=(0,el.useState)(Z);return(0,el.useEffect)(()=>{Z||"undefined"==typeof __NEZHA_BRIDGE__||ep.getSystemInfo().then(_=>{Z=_,C(_)})},[]),_},em=new Set(["/farms/history","/pools/history"]),handleLinkClick=(_,C)=>{var L,Z;let ea=(null===(Z=_.target)||void 0===Z?void 0:null===(L=Z.closest("a"))||void 0===L?void 0:L.href)||"";if(ea){let L=new URL(ea),[Z,...es]=L.pathname.slice(1).split("/");if("add"===Z){let[_,C]=es;ep.jump({path:Z,query:{currency1:_,currency2:C}})}else if("/swap"===L.pathname){let _=L.search?L.search.slice(1).split("="):void 0;ep.jump({path:"swap",query:_?{[_[0]]:_[1]}:void 0})}else if("/pools"===L.pathname)ep.jump({path:"pools"});else if("/farms"===L.pathname)ep.jump({path:"farms"});else if(em.has(L.pathname)){let _=`/_mp${L.pathname}`;C.push(_)}else ep.toExternal({url:L.href});_.stopPropagation(),_.preventDefault()}},useInterceptLink=()=>{let _=(0,ea.useRouter)();(0,el.useEffect)(()=>{let handle=C=>{handleLinkClick(C,_)};return document.body.addEventListener("click",handle,!0),()=>{document.body.removeEventListener("click",handle,!0)}},[_])},eb=es.ZP.reduce((_,C)=>(_[C.code.toLowerCase()]=C,_),{}),useInjectI18n=()=>{let[_,C]=(0,el.useState)(!1),L=useSystemInfo(),{setLanguage:Z}=(0,eo.Z)();return(0,el.useEffect)(()=>{let main=async()=>{if(L){let{language:_}=L,ea=eb[_.toLowerCase()];ea&&await Z(ea),C(!0)}};main()},[L,Z]),{injected:_}};C.ZP=function(){return{on(_,C){postMessage({action:"on",payload:{event:_}}),ec[_]=C},request:_=>new Promise((C,L)=>{postMessage({action:"request",payload:_,cb:_=>{(null==_?void 0:_.error)?L(null==_?void 0:_.message):C(_)}})}),removeEventListener(_){ec[_]&&(ec[_]=void 0)}}}},30378:function(_,C,L){"use strict";L.d(C,{H:function(){return logError},Z:function(){return isUserRejected}}),L(76752);var Z=L(95438);let ea=["Cancelled by User","cancel","Transaction was rejected"],isUserRejected=_=>{if(_ instanceof Z.ab||_ instanceof Z.ir&&ea.some(C=>{var L;return null===(L=_.details)||void 0===L?void 0:L.includes(C)}))return!0;if(_&&"object"==typeof _){if("code"in _&&(4001===_.code||"ACTION_REJECTED"===_.code)||"cause"in _&&"code"in _.cause&&4001===_.cause.code)return!0;if("cause"in _)return isUserRejected(_.cause)}return!1},logError=_=>{console.error(_)}},30012:function(_,C,L){"use strict";L.d(C,{vo:function(){return eU},p5:function(){return eD},MR:function(){return e$},z2:function(){return eA},gb:function(){return ez},kF:function(){return eN}});var Z,ea=L(25756),es=L(91038),eo=L(59624),el=L(95438),eu=L(71592),ec=L(74348),ed={1:"eth-mainnet",56:"bsc-mainnet",97:"bsc-testnet"},_binanceChainListener=()=>(0,ea.Cr)(void 0,null,function*(){return new Promise(_=>Object.defineProperty(window,"BinanceChain",{get(){return this.bsc},set(C){this.bsc=C,_()}}))}),eh=class extends ec._{connect(){return(0,ea.Cr)(this,arguments,function*(){let{chainId:_}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{let C=yield this.getProvider();if(!C)throw new es.N;C.on&&(C.on("accountsChanged",this.onAccountsChanged),C.on("chainChanged",this.onChainChanged),C.on("disconnect",this.onDisconnect)),this.emit("message",{type:"connecting"});let L=yield this.getAccount(),Z=yield this.getChainId(),ea=this.isChainUnsupported(Z);if(_&&Z!==_){let C=yield this.switchChain(_);Z=C.id,ea=this.isChainUnsupported(Z)}return{account:L,chain:{id:Z,unsupported:ea},provider:C}}catch(_){if(this.isUserRejectedRequestError(_))throw new el.ab(_);if(-32002===_.code)throw new el.pT(_);throw _}})}getProvider(){return(0,ea.Cr)(this,null,function*(){return window.BinanceChain||(yield _binanceChainListener()),this.provider=window.BinanceChain,this.provider})}switchChain(_){return(0,ea.Cr)(this,null,function*(){var C;let L=yield this.getProvider();if(!L)throw new es.N;let Z=(0,eu.NC)(_);if(ed[_])try{return yield null==(C=L.switchNetwork)?void 0:C.call(L,ed[_]),this.chains.find(C=>C.id===_)||{id:_,name:`Chain ${Z}`,network:`${Z}`,nativeCurrency:{decimals:18,name:"BNB",symbol:"BNB"},rpcUrls:{default:{http:[""]},public:{http:[""]}}}}catch(_){if("user rejected"===_.error)throw new el.ab(_)}throw new eo.OJ({connector:this})})}constructor({chains:_}={}){let C=null==_?void 0:_.filter(_=>!!ed[_.id]);super({chains:C,options:{name:"Binance",shimDisconnect:!1,shimChainChangedDisconnect:!0}}),this.id="bsc",this.ready=!0}},ep=L(81546),ef=L(61506),em=L(86004),eb=L(92400);function normalizeChainId(_){return"string"==typeof _?Number.parseInt(_,"0x"===_.trim().substring(0,2)?16:10):"bigint"==typeof _?Number(_):_}var ey={1:"mainnet",3:"ropsten",4:"rinkeby",42:"kovan",56:"bsc",97:"chapel",137:"polygon",80001:"mumbai",43114:"avalanche",43113:"fuji",42161:"arbitrum",421613:"arbitrumGoerli"},eg=class extends eb.wR{connect(){return(0,ea.Cr)(this,arguments,function*(){let{chainId:_}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{let C=yield this.getProvider({chainId:_});if(!C)throw new es.N;C.on&&(C.on("accountsChanged",this.onAccountsChanged),C.on("chainChanged",this.onChainChanged),C.on("disconnect",this.onDisconnect)),this.emit
371("message",{type:"connecting"});let L=yield this.getAccount(),Z=yield this.getChainId(),ea=this.isChainUnsupported(Z);return{account:L,chain:{id:Z,unsupported:ea},provider:C}}catch(_){if(this.disconnect(),this.isUserRejectedRequestError(_))throw new el.ab(_);if(-32002===_.code)throw new el.Og(_);throw _}})}getProvider(){return(0,ea.Cr)(this,arguments,function*(){let{chainId:_}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!(0,ea.ac)(this,Z)||_){let C=this.chains.reduce((_,C)=>(0,ea.EZ)((0,ea.ih)({},_),{[C.id]:C.rpcUrls.default.http[0]}),{}),es=_;if(!es){let _=this.options.defaultChainId;_&&!this.isChainUnsupported(_)&&(es=_)}if(!es)throw new eo.X4({chainId:es||0,connectorId:this.id});let el=(yield L.e(1506).then(L.bind(L,92404))).default;(0,ea.qx)(this,Z,new el({appId:this.options.appId,ethereum:{chainId:es,rpc:C[es]}}).ethereum)}if(!(0,ea.ac)(this,Z))throw new es.N;return(0,ea.ac)(this,Z)})}isAuthorized(){return(0,ea.Cr)(this,null,function*(){var _,C;let L=null==(_=this.storage)?void 0:_.getItem("wallet"),Z=!!(null==(C=this.storage)?void 0:C.getItem("connected"));return Promise.resolve("blocto"===L&&Z)})}getWalletClient(){return(0,ea.Cr)(this,arguments,function*(){let{chainId:_}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[C,L]=yield Promise.all([this.getProvider({chainId:_}),this.getAccount()]),Z=this.chains.find(C=>C.id===_)||this.chains[0];if(!C)throw Error("provider is required.");return(0,ep.K)({account:L,chain:Z,transport:(0,ef.P)(C)})})}getAccount(){return(0,ea.Cr)(this,null,function*(){let _=yield this.getProvider();if(!_)throw new es.N;let C=yield _.request({method:"eth_requestAccounts"}),L=C[0];return"string"!=typeof L||L.startsWith("0x")||(L=`0x${L}`),(0,em.K)(L)})}getChainId(){return(0,ea.Cr)(this,null,function*(){let _=yield this.getProvider();if(!_)throw new es.N;return _.request({method:"eth_chainId"}).then(normalizeChainId)})}disconnect(){return(0,ea.Cr)(this,null,function*(){let _=yield this.getProvider();_&&(yield _.request({method:"wallet_disconnect"})),(null==_?void 0:_.removeListener)&&(_.removeListener("accountsChanged",this.onAccountsChanged),_.removeListener("chainChanged",this.onChainChanged),_.removeListener("disconnect",this.onDisconnect))})}isUserRejectedRequestError(_){return 4001===_.code}constructor(_={options:{defaultChainId:56}}){var C;let L=null==(C=_.chains)?void 0:C.filter(_=>!!ey[_.id]);super({chains:L,options:_.options}),this.id="blocto",this.name="Blocto",this.ready=!0,(0,ea.Ko)(this,Z,void 0),this.onAccountsChanged=_=>{if(0===_.length)this.emit("disconnect");else{let C=_[0];"string"!=typeof C||C.startsWith("0x")||(C=`0x${C}`),this.emit("change",{account:(0,em.K)(C)})}},this.onChainChanged=_=>{let C=normalizeChainId(_),L=this.isChainUnsupported(C);this.emit("change",{chain:{id:C,unsupported:L}})},this.onDisconnect=()=>{this.emit("disconnect")}}};Z=new WeakMap;var ev=L(30813),ex=L(67997),e_=L.n(ex),ew=L(29517),eC=L(85813),eT=L(32678),eq=L(93288),ek=L(14682),eS=L(7048),eE=L(38573),eM=L(243);let ej=Object.values(eE.W).reduce((_,C)=>C.length>_?C.length:_,0),{publicClient:eA,chains:eD}=(0,eo.QB)(eS.zG,Array.from({length:ej}).map((_,C)=>C).map(_=>(0,eM.R)({rpc:C=>{var L;return(null===(L=eE.W[C.id])||void 0===L?void 0:L[_])?{http:eE.W[C.id][_]}:null}})),{batch:{multicall:{batchSize:204800,wait:16}},pollingInterval:6e3}),eI=new ec._({chains:eD,options:{shimDisconnect:!1}}),eO=new eC.D({chains:eD,options:{appName:"Andex",appLogoUrl:"https://pancakeswap.com/logo.png"}}),eP=new ek.z({chains:eD,options:{showQrModal:!0,projectId:"e542ff314e26ff34de2d4fba98db70bb"}}),eN=new ek.z({chains:eD,options:{showQrModal:!1,projectId:"e542ff314e26ff34de2d4fba98db70bb"}}),eL=new eq.i({chains:eD,options:{shimDisconnect:!1}}),eR=new eg({chains:eD,options:{defaultChainId:56,appId:"e2f2f0cd-3ceb-4dec-b293-bb555f2ed5af"}}),eB=new eT.Q({chains:eD,options:{projectId:"e542ff314e26ff34de2d4fba98db70bb"}}),eF=new eh({chains:eD}),eZ=new ev.A({chains:eD,options:{shimDisconnect:!1,shimChainChangedDisconnect:!0}}),ez=(0,ew._g)({storage:(0,eo.o6)({storage:window.localStorage,key:"wagmi_v1.1"}),autoConnect:!1,publicClient:eA,connectors:[eL,eI,eO,eP,eF,eR,eB,eZ]}),eU=eD.map(_=>
371_.id),e$=e_()(_=>eU.includes(_));e_()(_=>{let C=eD.find(C=>C.id===_);return!!C&&"testnet"in C})},34830:function(_,C,L){"use strict";L.d(C,{$:function(){return ea},K:function(){return Z}});let WorkerProxy=class WorkerProxy{constructor(_){this.worker=_,this.id=0,this.postMessage=async _=>{if(!this.worker)throw Error("Worker not initialized");let C=this.id++,L=new Promise((_,L)=>{let handler=Z=>{let[ea,es]=Z.data;C===ea&&(this.worker.removeEventListener("message",handler),!1===es.success?L(es.error):_(es.result))};this.worker.addEventListener("message",handler)});return this.worker.postMessage([C,_]),L},this.fetchChunk=async _=>this.postMessage({cmd:"multicallChunk",params:_}),this.getBestTrade=async _=>this.postMessage({cmd:"getBestTrade",params:_})}};let Z="undefined"!=typeof Worker?new WorkerProxy(new Worker(L.tu(new URL(L.p+L.u(8677),L.b)))):void 0,ea="undefined"!=typeof Worker?new WorkerProxy(new Worker(L.tu(new URL(L.p+L.u(8677),L.b)))):void 0},82126:function(_,C,L){"use strict";L.d(C,{CE:function(){return convertCakeToShares},UN:function(){return getCakeVaultEarnings},dF:function(){return eu},iL:function(){return ec},ur:function(){return convertSharesToCake},zy:function(){return ed}});var Z=L(97269);L(93786);var ea=L(86530),es=L(80642),eo=L(67997),el=L.n(eo);let eu=new Z.Z(1e13),ec=new Z.Z(1e14),convertSharesToCake=function(_,C){let L=arguments.length>2&&void 0!==arguments[2]?arguments[2]:18,eo=arguments.length>3&&void 0!==arguments[3]?arguments[3]:3,el=arguments.length>4?arguments[4]:void 0,eu=(0,es.mW)(C,L),ec=new Z.Z(_.multipliedBy(eu)).minus(el||ea.HW),ed=(0,es.mW)(ec,L),eh=(0,es.Qe)(new Z.Z(ed),L),ep=(0,es.NJ)(ec,L,eo);return{cakeAsNumberBalance:ed,cakeAsBigNumber:eh,cakeAsDisplayBalance:ep}},convertCakeToShares=function(_,C){let L=arguments.length>2&&void 0!==arguments[2]?arguments[2]:18,ea=arguments.length>3&&void 0!==arguments[3]?arguments[3]:3,eo=(0,es.mW)(C,L),el=new Z.Z(_.dividedBy(eo)),eu=(0,es.mW)(el,L),ec=(0,es.Qe)(new Z.Z(eu),L),ed=(0,es.NJ)(el,L,ea);return{sharesAsNumberBalance:eu,sharesAsBigNumber:ec,sharesAsDisplayBalance:ed}},getCakeVaultEarnings=(_,C,L,Z,eo,el)=>{let eu=_&&(null==C?void 0:C.gt(0))&&(null==L?void 0:L.gt(0)),{cakeAsBigNumber:ec}=convertSharesToCake(L,Z),ed=ec.minus(el||ea.HW).minus(C),eh=ed.gte(0)?(0,es.mW)(ed,18):0,ep=ed.times(eo),ef=ep.gte(0)?(0,es.mW)(ep,18):0;return{hasAutoEarnings:eu,autoCakeToDisplay:eh,autoUsdToDisplay:ef}},ed=el()((_,C)=>{let{startTimestamp:L,endTimestamp:Z,isFinished:ea}=_,es=Math.floor(Date.now()/1e3),eo=Math.max(L-es,0),el=Math.max(Z-es,0),eu=eo<=0&&el>0;return{shouldShowBlockCountdown:!!(!ea&&L&&Z),timeUntilStart:eo,timeRemaining:el,hasPoolStarted:eu,timeToDisplay:eu?el:eo,currentBlock:C}},(_,C)=>`${_.startTimestamp}#${_.endTimestamp}#${_.isFinished}#${C}`)},89378:function(_,C,L){"use strict";L.d(C,{F_:function(){return Z},O1:function(){return ea}});let Z=["0x842B508681eE336E74600974B4623B709477d29D","0x977E0C1005Dff8749F8caC22F4dF0bD5f013D1A7","0xa3D2124E4023ea5c74dC749012E0B46E42bDD648","0x4634fC1462B7974dB96B700E9aBe915f0884e60a","0xa7551aBe0A066555cb5d859849426fB55543Ca25","0x4a7b8400AE131feffC42E5Bf39401A094Ed497CA"].map(_=>_.toLowerCase()),ea="cakevote.eth"},47109:function(_,C,L){"use strict";var Z=L(37408),ea=L(98574),es=L(54250),eo=L(80595),el=L(789),eu=L(95438),ec=L(73656),ed=window;ed.__sentryRewritesTunnelPath__=void 0,ed.SENTRY_RELEASE={id:"4ce35cec798b401eb1cdf418bd104f06aa03c1ad"},ed.__sentryBasePath=void 0,ed.__rewriteFramesAssetPrefixPath__="";let eh=ec.env.SENTRY_DSN||ec.env.NEXT_PUBLIC_SENTRY_DSN,isUserRejected=_=>{if(_ instanceof eu.ab)return!0;if(_ instanceof eu.ir){var C,L;if((null===(C=_.details)||void 0===C?void 0:C.includes("cancel"))||(null===(L=_.details)||void 0===L?void 0:L.includes("Transaction was rejected")))return!0}if(_&&"object"==typeof _){if("code"in _&&(4001===_.code||"ACTION_REJECTED"===_.code)||"cause"in _&&"code"in _.cause&&4001===_.cause.code)return!0;if("cause"in _)return isUserRejected(_.cause)}return!1},ep=ec.env.VERCEL_ENV||"production";!function(_){let C={_metadata:{},..._};C._metadata.sdk=C._metadata.sdk||{name:"sentry.javascript.react",packages:[{name:"npm:@sentry/react",version:Z.J}],version:Z.J}
371,(0,ea.S1)(C)}({dsn:eh,integrations:[new es.O({console:"production"===ep}),new eo.d({onerror:!1,onunhandledrejection:!1}),new el.I],environment:"production"===ep?"production":"development",tracesSampleRate:0,beforeSend(_,C){let L=null==C?void 0:C.originalException;return L&&isUserRejected(L)?null:_},ignoreErrors:["User denied transaction signature","Non-Error promise rejection captured","User rejected the transaction","cancelled","PollingBlockTracker"]})},93972:function(_,C){"use strict";var L,Z;Object.defineProperty(C,"__esModule",{value:!0}),function(_,C){for(var L in C)Object.defineProperty(_,L,{enumerable:!0,get:C[L]})}(C,{PrefetchKind:function(){return L},ACTION_REFRESH:function(){return ea},ACTION_NAVIGATE:function(){return es},ACTION_RESTORE:function(){return eo},ACTION_SERVER_PATCH:function(){return el},ACTION_PREFETCH:function(){return eu},ACTION_FAST_REFRESH:function(){return ec},ACTION_SERVER_ACTION:function(){return ed}});let ea="refresh",es="navigate",eo="restore",el="server-patch",eu="prefetch",ec="fast-refresh",ed="server-action";(Z=L||(L={})).AUTO="auto",Z.FULL="full",Z.TEMPORARY="temporary",("function"==typeof C.default||"object"==typeof C.default&&null!==C.default)&&void 0===C.default.__esModule&&(Object.defineProperty(C.default,"__esModule",{value:!0}),Object.assign(C.default,C),_.exports=C.default)},48350:function(_,C,L){"use strict";function getDomainLocale(_,C,L,Z){return!1}Object.defineProperty(C,"__esModule",{value:!0}),Object.defineProperty(C,"getDomainLocale",{enumerable:!0,get:function(){return getDomainLocale}}),L(27557),("function"==typeof C.default||"object"==typeof C.default&&null!==C.default)&&void 0===C.default.__esModule&&(Object.defineProperty(C.default,"__esModule",{value:!0}),Object.assign(C.default,C),_.exports=C.default)},46640:function(_,C,L){"use strict";Object.defineProperty(C,"__esModule",{value:!0}),Object.defineProperty(C,"Image",{enumerable:!0,get:function(){return eb}});let Z=L(83166),ea=L(44925),es=ea._(L(52983)),eo=Z._(L(63730)),el=Z._(L(64389)),eu=L(9303),ec=L(34835),ed=L(87547);L(1223);let eh=L(49099),ep=Z._(L(62201)),ef={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function handleLoading(_,C,L,Z,ea,es){let eo=null==_?void 0:_.src;if(!_||_["data-loaded-src"]===eo)return;_["data-loaded-src"]=eo;let el="decode"in _?_.decode():Promise.resolve();el.catch(()=>{}).then(()=>{if(_.parentElement&&_.isConnected){if("empty"!==C&&ea(!0),null==L?void 0:L.current){let C=new Event("load");Object.defineProperty(C,"target",{writable:!1,value:_});let Z=!1,ea=!1;L.current({...C,nativeEvent:C,currentTarget:_,target:_,isDefaultPrevented:()=>Z,isPropagationStopped:()=>ea,persist:()=>{},preventDefault:()=>{Z=!0,C.preventDefault()},stopPropagation:()=>{ea=!0,C.stopPropagation()}})}(null==Z?void 0:Z.current)&&Z.current(_)}})}function getDynamicProps(_){let[C,L]=es.version.split("."),Z=parseInt(C,10),ea=parseInt(L,10);return Z>18||18===Z&&ea>=3?{fetchPriority:_}:{fetchpriority:_}}let em=(0,es.forwardRef)((_,C)=>{let{src:L,srcSet:Z,sizes:ea,height:eo,width:el,decoding:eu,className:ec,style:ed,fetchPriority:eh,placeholder:ep,loading:ef,unoptimized:em,fill:eb,onLoadRef:ey,onLoadingCompleteRef:eg,setBlurComplete:ev,setShowAltText:ex,onLoad:e_,onError:ew,...eC}=_;return es.default.createElement("img",{...eC,...getDynamicProps(eh),loading:ef,width:el,height:eo,decoding:eu,"data-nimg":eb?"fill":"1",className:ec,style:ed,sizes:ea,srcSet:Z,src:L,ref:(0,es.useCallback)(_=>{C&&("function"==typeof C?C(_):"object"==typeof C&&(C.current=_)),_&&(ew&&(_.src=_.src),_.complete&&handleLoading(_,ep,ey,eg,ev,em))},[L,ep,ey,eg,ev,ew,em,C]),onLoad:_=>{let C=_.currentTarget;handleLoading(C,ep,ey,eg,ev,em)},onError:_=>{ex(!0),"empty"!==ep&&ev(!0),ew&&ew(_)}})});function ImagePreload(_){let{isAppRouter:C,imgAttributes:L}=_,Z={as:"image",imageSrcSet:L.srcSet,imageSizes:L.sizes,crossOrigin:L.crossOrigin,referrerPolicy:L.referrerPolicy,...getDynamicProps(L.fetchPriority)};return C&&eo.default.preload?(eo.default.preload(L.src,Z),null):es.default.createElement(el.default,null,es.default.createElement("link",{key:"__nimg-"+L.src+L.srcSet+L.sizes,rel:"preload",href:L.srcSet?void 0:L.src,...Z}))}let eb=(0,es.forwardRef)((_,C)=>{let L=(0,es.useContext)(eh.RouterContext),Z=(0,es.useContext)(ed.ImageConfigContext),ea=(0,es.useMemo)(()=>{let _=ef||Z||ec.imageConfigDefault,C=[..._.deviceSizes,..._.imageSizes].sort((_,C)=>_-C),L=_.deviceSizes.sort((_,C)=>_-C);return{..._,allSizes:C,deviceSizes:L}},[Z]),{onLoad:eo,onLoadingComplete:el}=_,eb=(0,es.useRef)(eo);(0,es.useEffect)(()=>{eb.current=eo},[eo]);let ey=(0,es.useRef)(el);(0,es.useEffect)(()=>{ey.current=el},[el]);let[eg,ev]=(0,es.useState)(!1),[ex,e_]=(0,es.useState)(!1),{props:ew,meta:eC}=(0,eu.getImgProps)(_,{defaultLoader:ep.default,imgConf:ea,blurComplete:eg,showAltText:ex});return es.default.createElement(es.default.Fragment,null,es.default.createElement(em,{...ew,unoptimized:eC.unoptimized,placeholder:eC.placeholder,fill:eC.fill,onLoadRef:eb,onLoadingCompleteRef:ey,setBlurComplete:ev,setShowAltText:e_,ref:C}),eC.priority?es.default.createElement(ImagePreload,{isAppRouter:!L,imgAttributes:ew}):null)});("function"==typeof C.default||"object"==typeof C.default&&null!==C.default)&&void 0===C.default.__esModule&&(Object.defineProperty(C.default,"__esMo
371dule",{value:!0}),Object.assign(C.default,C),_.exports=C.default)},31558:function(_,C,L){"use strict";Object.defineProperty(C,"__esModule",{value:!0}),Object.defineProperty(C,"default",{enumerable:!0,get:function(){return ev}});let Z=L(83166),ea=Z._(L(52983)),es=L(45464),eo=L(1589),el=L(87176),eu=L(63725),ec=L(1255),ed=L(49099),eh=L(91653),ep=L(6170),ef=L(48350),em=L(8288),eb=L(93972),ey=new Set;function prefetch(_,C,L,Z,ea,es){if(!es&&!(0,eo.isLocalURL)(C))return;if(!Z.bypassPrefetchedCheck){let ea=void 0!==Z.locale?Z.locale:"locale"in _?_.locale:void 0,es=C+"%"+L+"%"+ea;if(ey.has(es))return;ey.add(es)}let el=es?_.prefetch(C,ea):_.prefetch(C,L,Z);Promise.resolve(el).catch(_=>{})}function formatStringOrUrl(_){return"string"==typeof _?_:(0,el.formatUrl)(_)}let eg=ea.default.forwardRef(function(_,C){let L,Z;let{href:el,as:ey,children:eg,prefetch:ev=null,passHref:ex,replace:e_,shallow:ew,scroll:eC,locale:eT,onClick:eq,onMouseEnter:ek,onTouchStart:eS,legacyBehavior:eE=!1,...eM}=_;L=eg,eE&&("string"==typeof L||"number"==typeof L)&&(L=ea.default.createElement("a",null,L));let ej=ea.default.useContext(ed.RouterContext),eA=ea.default.useContext(eh.AppRouterContext),eD=null!=ej?ej:eA,eI=!ej,eO=!1!==ev,eP=null===ev?eb.PrefetchKind.AUTO:eb.PrefetchKind.FULL,{href:eN,as:eL}=ea.default.useMemo(()=>{if(!ej){let _=formatStringOrUrl(el);return{href:_,as:ey?formatStringOrUrl(ey):_}}let[_,C]=(0,es.resolveHref)(ej,el,!0);return{href:_,as:ey?(0,es.resolveHref)(ej,ey):C||_}},[ej,el,ey]),eR=ea.default.useRef(eN),eB=ea.default.useRef(eL);eE&&(Z=ea.default.Children.only(L));let eF=eE?Z&&"object"==typeof Z&&Z.ref:C,[eZ,ez,eU]=(0,ep.useIntersection)({rootMargin:"200px"}),e$=ea.default.useCallback(_=>{(eB.current!==eL||eR.current!==eN)&&(eU(),eB.current=eL,eR.current=eN),eZ(_),eF&&("function"==typeof eF?eF(_):"object"==typeof eF&&(eF.current=_))},[eL,eF,eN,eU,eZ]);ea.default.useEffect(()=>{eD&&ez&&eO&&prefetch(eD,eN,eL,{locale:eT},{kind:eP},eI)},[eL,eN,ez,eT,eO,null==ej?void 0:ej.locale,eD,eI,eP]);let eV={ref:e$,onClick(_){eE||"function"!=typeof eq||eq(_),eE&&Z.props&&"function"==typeof Z.props.onClick&&Z.props.onClick(_),eD&&!_.defaultPrevented&&function(_,C,L,Z,es,el,eu,ec,ed,eh){let{nodeName:ep}=_.currentTarget,ef="A"===ep.toUpperCase();if(ef&&(function(_){let C=_.currentTarget,L=C.getAttribute("target");return L&&"_self"!==L||_.metaKey||_.ctrlKey||_.shiftKey||_.altKey||_.nativeEvent&&2===_.nativeEvent.which}(_)||!ed&&!(0,eo.isLocalURL)(L)))return;_.preventDefault();let navigate=()=>{let _=null==eu||eu;"beforePopState"in C?C[es?"replace":"push"](L,Z,{shallow:el,locale:ec,scroll:_}):C[es?"replace":"push"](Z||L,{forceOptimisticNavigation:!eh,scroll:_})};ed?ea.default.startTransition(navigate):navigate()}(_,eD,eN,eL,e_,ew,eC,eT,eI,eO)},onMouseEnter(_){eE||"function"!=typeof ek||ek(_),eE&&Z.props&&"function"==typeof Z.props.onMouseEnter&&Z.props.onMouseEnter(_),eD&&(eO||!eI)&&prefetch(eD,eN,eL,{locale:eT,priority:!0,bypassPrefetchedCheck:!0},{kind:eP},eI)},onTouchStart(_){eE||"function"!=typeof eS||eS(_),eE&&Z.props&&"function"==typeof Z.props.onTouchStart&&Z.props.onTouchStart(_),eD&&(eO||!eI)&&prefetch(eD,eN,eL,{locale:eT,priority:!0,bypassPrefetchedCheck:!0},{kind:eP},eI)}};if((0,eu.isAbsoluteUrl)(eL))eV.href=eL;else if(!eE||ex||"a"===Z.type&&!("href"in Z.props)){let _=void 0!==eT?eT:null==ej?void 0:ej.locale,C=(null==ej?void 0:ej.isLocaleDomain)&&(0,ef.getDomainLocale)(eL,_,null==ej?void 0:ej.locales,null==ej?void 0:ej.domainLocales);eV.href=C||(0,em.addBasePath)((0,ec.addLocale)(eL,_,null==ej?void 0:ej.defaultLocale))}return eE?ea.default.cloneElement(Z,eV):ea.default.createElement("a",{...eM,...eV},L)}),ev=eg;("function"==typeof C.default||"object"==typeof C.default&&null!==C.default)&&void 0===C.default.__esModule&&(Object.defineProperty(C.default,"__esModule",{value:!0}),Object.assign(C.default,C),_.exports=C.default)},6170:function(_,C,L){"use strict";Object.defineProperty(C,"__esModule",{value:!0}),Object.defineProperty(C,"useIntersection",{enumerable:!0,get:function(){return useIntersection}});let Z=L(52983),ea=L(92834),es="function"==typeof IntersectionObserver,eo=new Map,el=[];function useIntersection(_){let{rootRef:C,rootMargin:L,disabled:eu}=_,ec=eu||!es,[ed,eh]=(0,Z.useState)(!1),ep=(0,Z.useRef)(null),ef=(0,Z.useCallback)(_=>{ep.current=_},[]);(0,Z.useEffect)(()=>
371{if(es){if(ec||ed)return;let _=ep.current;if(_&&_.tagName){let Z=function(_,C,L){let{id:Z,observer:ea,elements:es}=function(_){let C;let L={root:_.root||null,margin:_.rootMargin||""},Z=el.find(_=>_.root===L.root&&_.margin===L.margin);if(Z&&(C=eo.get(Z)))return C;let ea=new Map,es=new IntersectionObserver(_=>{_.forEach(_=>{let C=ea.get(_.target),L=_.isIntersecting||_.intersectionRatio>0;C&&L&&C(L)})},_);return C={id:L,observer:es,elements:ea},el.push(L),eo.set(L,C),C}(L);return es.set(_,C),ea.observe(_),function(){if(es.delete(_),ea.unobserve(_),0===es.size){ea.disconnect(),eo.delete(Z);let _=el.findIndex(_=>_.root===Z.root&&_.margin===Z.margin);_>-1&&el.splice(_,1)}}}(_,_=>_&&eh(_),{root:null==C?void 0:C.current,rootMargin:L});return Z}}else if(!ed){let _=(0,ea.requestIdleCallback)(()=>eh(!0));return()=>(0,ea.cancelIdleCallback)(_)}},[ec,L,C,ed,ep.current]);let em=(0,Z.useCallback)(()=>{eh(!1)},[]);return[ef,ed,em]}("function"==typeof C.default||"object"==typeof C.default&&null!==C.default)&&void 0===C.default.__esModule&&(Object.defineProperty(C.default,"__esModule",{value:!0}),Object.assign(C.default,C),_.exports=C.default)},14747:function(_,C,L){"use strict";Object.defineProperty(C,"__esModule",{value:!0}),function(_,C){for(var L in C)Object.defineProperty(_,L,{enumerable:!0,get:C[L]})}(C,{noSSR:function(){return noSSR},default:function(){return dynamic}});let Z=L(83166),ea=(L(52983),Z._(L(78185)));function convertModule(_){return{default:(null==_?void 0:_.default)||_}}function noSSR(_,C){return delete C.webpack,delete C.modules,_(C)}function dynamic(_,C){let L=ea.default,Z={loading:_=>{let{error:C,isLoading:L,pastDelay:Z}=_;return null}};_ instanceof Promise?Z.loader=()=>_:"function"==typeof _?Z.loader=_:"object"==typeof _&&(Z={...Z,..._}),Z={...Z,...C};let es=Z.loader;return(Z.loadableGenerated&&(Z={...Z,...Z.loadableGenerated},delete Z.loadableGenerated),"boolean"!=typeof Z.ssr||Z.ssr)?L({...Z,loader:()=>null!=es?es().then(convertModule):Promise.resolve(convertModule(()=>null))}):(delete Z.webpack,delete Z.modules,noSSR(L,Z))}("function"==typeof C.default||"object"==typeof C.default&&null!==C.default)&&void 0===C.default.__esModule&&(Object.defineProperty(C.default,"__esModule",{value:!0}),Object.assign(C.default,C),_.exports=C.default)},9303:function(_,C,L){"use strict";Object.defineProperty(C,"__esModule",{value:!0}),Object.defineProperty(C,"getImgProps",{enumerable:!0,get:function(){return getImgProps}}),L(1223);let Z=L(23008),ea=L(34835);function isStaticRequire(_){return void 0!==_.default}function getInt(_){return void 0===_?_:"number"==typeof _?Number.isFinite(_)?_:NaN:"string"==typeof _&&/^[0-9]+$/.test(_)?parseInt(_,10):NaN}function getImgProps(_,C){var L;let es,eo,el,{src:eu,sizes:ec,unoptimized:ed=!1,priority:eh=!1,loading:ep,className:ef,quality:em,width:eb,height:ey,fill:eg=!1,style:ev,onLoad:ex,onLoadingComplete:e_,placeholder:ew="empty",blurDataURL:eC,fetchPriority:eT,layout:eq,objectFit:ek,objectPosition:eS,lazyBoundary:eE,lazyRoot:eM,...ej}=_,{imgConf:eA,showAltText:eD,blurComplete:eI,defaultLoader:eO}=C,eP=eA||ea.imageConfigDefault;if("allSizes"in eP)es=eP;else{let _=[...eP.deviceSizes,...eP.imageSizes].sort((_,C)=>_-C),C=eP.deviceSizes.sort((_,C)=>_-C);es={...eP,allSizes:_,deviceSizes:C}}let eN=ej.loader||eO;delete ej.loader,delete ej.srcSet;let eL="__next_img_default"in eN;if(eL){if("custom"===es.loader)throw Error('Image with src "'+eu+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let _=eN;eN=C=>{let{config:L,...Z}=C;return _(Z)}}if(eq){"fill"===eq&&(eg=!0);let _={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[eq];_&&(ev={...ev,..._});let C={responsive:"100vw",fill:"100vw"}[eq];C&&!ec&&(ec=C)}let eR="",eB=getInt(eb),eF=getInt(ey);if("object"==typeof(L=eu)&&(isStaticRequire(L)||void 0!==L.src)){let _=isStaticRequire(eu)?eu.default:eu;if(!_.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(_));if(!_.height||!_.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(_));if(eo=_.blurWidth,el=_.blurHeight,eC=eC||_.blurDataURL,eR=_.src,!eg){if(eB||eF){if(eB&&!eF){let C=eB/_.width;eF=Math.round(_.height*C)}else if(!eB&&eF){let C=eF/_.height;eB=Math.round(_.width*C)}}else eB=_.width,eF=_.height}}let eZ=!eh&&("lazy"===ep||void 0===ep);(!(eu="string"==typeof eu?eu:eR)||eu.startsWith("data:")||eu.startsWith("blob:"))&&(ed=!0,eZ=!1),es.unoptimized&&(ed=!0),eL&&eu.endsWith(".svg")&&!es.dangerouslyAllowSVG&&(ed=!0),eh&&(eT="high");let ez=getInt(em),eU=Object.assign(eg?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:ek,objectPosition:eS}:{},eD?{}:{color:"transparent"},ev),e$=eI||"empty"===ew?null:"blur"===ew?'url("data:image/svg+xml;charset=utf-8,'+(0,Z.getImageBlurSvg)({widthInt:eB,heightInt:eF,blurWidth:eo,blurHeight:el,blurDataURL:eC||"",objectFit:eU.objectFit})+'")':'url("'+ew+'")',eV=e$?{backgroundSize:eU.objectFit||"cover",backgroundPosition:eU.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:e$}:{}
371,eW=function(_){let{config:C,src:L,unoptimized:Z,width:ea,quality:es,sizes:eo,loader:el}=_;if(Z)return{src:L,srcSet:void 0,sizes:void 0};let{widths:eu,kind:ec}=function(_,C,L){let{deviceSizes:Z,allSizes:ea}=_;if(L){let _=/(^|\s)(1?\d?\d)vw/g,C=[];for(let Z;Z=_.exec(L);Z)C.push(parseInt(Z[2]));if(C.length){let _=.01*Math.min(...C);return{widths:ea.filter(C=>C>=Z[0]*_),kind:"w"}}return{widths:ea,kind:"w"}}if("number"!=typeof C)return{widths:Z,kind:"w"};let es=[...new Set([C,2*C].map(_=>ea.find(C=>C>=_)||ea[ea.length-1]))];return{widths:es,kind:"x"}}(C,ea,eo),ed=eu.length-1;return{sizes:eo||"w"!==ec?eo:"100vw",srcSet:eu.map((_,Z)=>el({config:C,src:L,quality:es,width:_})+" "+("w"===ec?_:Z+1)+ec).join(", "),src:el({config:C,src:L,quality:es,width:eu[ed]})}}({config:es,src:eu,unoptimized:ed,width:eB,quality:ez,sizes:ec,loader:eN}),eH={...ej,loading:eZ?"lazy":ep,fetchPriority:eT,width:eB,height:eF,decoding:"async",className:ef,style:{...eU,...eV},sizes:eW.sizes,srcSet:eW.srcSet,src:eW.src},eG={unoptimized:ed,priority:eh,placeholder:ew,fill:eg};return{props:eH,meta:eG}}},23008:function(_,C){"use strict";function getImageBlurSvg(_){let{widthInt:C,heightInt:L,blurWidth:Z,blurHeight:ea,blurDataURL:es,objectFit:eo}=_,el=Z?40*Z:C,eu=ea?40*ea:L,ec=el&&eu?"viewBox='0 0 "+el+" "+eu+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+ec+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(ec?"none":"contain"===eo?"xMidYMid":"cover"===eo?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+es+"'/%3E%3C/svg%3E"}Object.defineProperty(C,"__esModule",{value:!0}),Object.defineProperty(C,"getImageBlurSvg",{enumerable:!0,get:function(){return getImageBlurSvg}})},42729:function(_,C,L){"use strict";Object.defineProperty(C,"__esModule",{value:!0}),function(_,C){for(var L in C)Object.defineProperty(_,L,{enumerable:!0,get:C[L]})}(C,{unstable_getImgProps:function(){return unstable_getImgProps},default:function(){return eu}});let Z=L(83166),ea=L(9303),es=L(1223),eo=L(46640),el=Z._(L(62201)),unstable_getImgProps=_=>{(0,es.warnOnce)("Warning: unstable_getImgProps() is experimental and may change or be removed at any time. Use at your own risk.");let{props:C}=(0,ea.getImgProps)(_,{defaultLoader:el.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[_,L]of Object.entries(C))void 0===L&&delete C[_];return{props:C}},eu=eo.Image},62201:function(_,C){"use strict";function defaultLoader(_){let{config:C,src:L,width:Z,quality:ea}=_;return C.path+"?url="+encodeURIComponent(L)+"&w="+Z+"&q="+(ea||75)}Object.defineProperty(C,"__esModule",{value:!0}),Object.defineProperty(C,"default",{enumerable:!0,get:function(){return L}}),defaultLoader.__next_img_default=!0;let L=defaultLoader},3034:function(_,C,L){"use strict";Object.defineProperty(C,"__esModule",{value:!0}),Object.defineProperty(C,"LoadableContext",{enumerable:!0,get:function(){return es}});let Z=L(83166),ea=Z._(L(52983)),es=ea.default.createContext(null)},78185:function(_,C,L){"use strict";/**
372@copyright (c) 2017-present James Kyle <[email protected]>
373 MIT License
374 Permission is hereby granted, free of charge, to any person obtaining
375a copy of this software and associated documentation files (the
376"Software"), to deal in the Software without restriction, including
377without limitation the rights to use, copy, modify, merge, publish,
378distribute, sublicense, and/or sell copies of the Software, and to
379permit persons to whom the Software is furnished to do so, subject to
380the following conditions:
381 The above copyright notice and this permission notice shall be
382included in all copies or substantial portions of the Software.
383 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
384EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
385MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
386NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
387LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
388OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
389WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
390*/Object.defineProperty(C,"__esModule",{value:!0}),Object.defineProperty(C,"default",{enumerable:!0,get:function(){return ec}});let Z=L(83166),ea=Z._(L(52983)),es=L(3034),eo=[],el=[],eu=!1;function load(_){let C=_(),L={loading:!0,loaded:null,error:null};return L.promise=C.then(_=>(L.loading=!1,L.loaded=_,_)).catch(_=>{throw L.loading=!1,L.error=_,_}),L}let LoadableSubscription=class LoadableSubscription{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:_,_opts:C}=this;_.loading&&("number"==typeof C.delay&&(0===C.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},C.delay)),"number"==typeof C.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},C.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(_=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(_){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,..._},this._callbacks.forEach(_=>_())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(_){return this._callbacks.add(_),()=>{this._callbacks.delete(_)}}constructor(_,C){this._loadFn=_,this._opts=C,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}};function Loadable(_){return function(_,C){let L=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},C),Z=null;
390function init(){if(!Z){let C=new LoadableSubscription(_,L);Z={getCurrentValue:C.getCurrentValue.bind(C),subscribe:C.subscribe.bind(C),retry:C.retry.bind(C),promise:C.promise.bind(C)}}return Z.promise()}if(!eu){let _=L.webpack?L.webpack():L.modules;_&&el.push(C=>{for(let L of _)if(C.includes(L))return init()})}function LoadableComponent(_,C){!function(){init();let _=ea.default.useContext(es.LoadableContext);_&&Array.isArray(L.modules)&&L.modules.forEach(C=>{_(C)})}();let eo=ea.default.useSyncExternalStore(Z.subscribe,Z.getCurrentValue,Z.getCurrentValue);return ea.default.useImperativeHandle(C,()=>({retry:Z.retry}),[]),ea.default.useMemo(()=>{var C;return eo.loading||eo.error?ea.default.createElement(L.loading,{isLoading:eo.loading,pastDelay:eo.pastDelay,timedOut:eo.timedOut,error:eo.error,retry:Z.retry}):eo.loaded?ea.default.createElement((C=eo.loaded)&&C.default?C.default:C,_):null},[_,eo])}return LoadableComponent.preload=()=>init(),LoadableComponent.displayName="LoadableComponent",ea.default.forwardRef(LoadableComponent)}(load,_)}function flushInitializers(_,C){let L=[];for(;_.length;){let Z=_.pop();L.push(Z(C))}return Promise.all(L).then(()=>{if(_.length)return flushInitializers(_,C)})}Loadable.preloadAll=()=>new Promise((_,C)=>{flushInitializers(eo).then(_,C)}),Loadable.preloadReady=_=>(void 0===_&&(_=[]),new Promise(C=>{let res=()=>(eu=!0,C());flushInitializers(el,_).then(res,res)})),window.__NEXT_PRELOADREADY=Loadable.preloadReady;let ec=Loadable},50134:function(_,C,L){var Z=L(73656);L(93458);var ea=L(52983),es=ea&&"object"==typeof ea&&"default"in ea?ea:{default:ea};function _defineProperties(_,C){for(var L=0;L<C.length;L++){var Z=C[L];Z.enumerable=Z.enumerable||!1,Z.configurable=!0,"value"in Z&&(Z.writable=!0),Object.defineProperty(_,Z.key,Z)}}var eo=void 0!==Z&&Z.env&&!0,isString=function(_){return"[object String]"===Object.prototype.toString.call(_)},el=function(){function StyleSheet(_){var C=void 0===_?{}:_,L=C.name,Z=void 0===L?"stylesheet":L,ea=C.optimizeForSpeed,es=void 0===ea?eo:ea;invariant$1(isString(Z),"`name` must be a string"),this._name=Z,this._deletedRulePlaceholder="#"+Z+"-deleted-rule____{}",invariant$1("boolean"==typeof es,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=es,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var el=document.querySelector('meta[property="csp-nonce"]');this._nonce=el?el.getAttribute("content"):null}var _,C=StyleSheet.prototype;return C.setOptimizeForSpeed=function(_){invariant$1("boolean"==typeof _,"`setOptimizeForSpeed` accepts a boolean"),invariant$1(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=_,this.inject()},C.isOptimizeForSpeed=function(){return this._optimizeForSpeed},C.inject=function(){var _=this;if(invariant$1(!this._injected,"sheet already injected"),this._injected=!0,this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(eo||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(C,L){return"number"==typeof L?_._serverSheet.cssRules[L]={cssText:C}:_._serverSheet.cssRules.push({cssText:C}),L},deleteRule:function(C){_._serverSheet.cssRules[C]=null}}},C.getSheetForTag=function(_){if(_.sheet)return _.sheet;for(var C=0;C<document.styleSheets.length;C++)if(document.styleSheets[C].ownerNode===_)return document.styleSheets[C]},C.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},C.insertRule=function(_,C){if(invariant$1(isString(_),"`insertRule` accepts only strings"),this._optimizeForSpeed){var L=this.getSheet();"number"!=typeof C&&(C=L.cssRules.length);try{L.insertRule(_,C)}catch(C){return eo||console.warn("StyleSheet: illegal rule: \n\n"+_+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var Z=this._tags[C];this._tags.push(this.makeStyleTag(this._name,_,Z))}return this._rulesCount++},C.replaceRule=function(_,C){if(this._optimizeForSpeed){var L=this.getSheet();if(C.trim()||(C=this._deletedRulePlaceholder),!L.cssRules[_])return _;L.deleteRule(_);
390try{L.insertRule(C,_)}catch(Z){eo||console.warn("StyleSheet: illegal rule: \n\n"+C+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),L.insertRule(this._deletedRulePlaceholder,_)}}else{var Z=this._tags[_];invariant$1(Z,"old rule at index `"+_+"` not found"),Z.textContent=C}return _},C.deleteRule=function(_){if(this._optimizeForSpeed)this.replaceRule(_,"");else{var C=this._tags[_];invariant$1(C,"rule at index `"+_+"` not found"),C.parentNode.removeChild(C),this._tags[_]=null}},C.flush=function(){this._injected=!1,this._rulesCount=0,this._tags.forEach(function(_){return _&&_.parentNode.removeChild(_)}),this._tags=[]},C.cssRules=function(){var _=this;return this._tags.reduce(function(C,L){return L?C=C.concat(Array.prototype.map.call(_.getSheetForTag(L).cssRules,function(C){return C.cssText===_._deletedRulePlaceholder?null:C})):C.push(null),C},[])},C.makeStyleTag=function(_,C,L){C&&invariant$1(isString(C),"makeStyleTag accepts only strings as second parameter");var Z=document.createElement("style");this._nonce&&Z.setAttribute("nonce",this._nonce),Z.type="text/css",Z.setAttribute("data-"+_,""),C&&Z.appendChild(document.createTextNode(C));var ea=document.head||document.getElementsByTagName("head")[0];return L?ea.insertBefore(Z,L):ea.appendChild(Z),Z},_defineProperties(StyleSheet.prototype,[{key:"length",get:function(){return this._rulesCount}}]),_&&_defineProperties(StyleSheet,_),StyleSheet}();function invariant$1(_,C){if(!_)throw Error("StyleSheet: "+C+".")}var stringHash=function(_){for(var C=5381,L=_.length;L;)C=33*C^_.charCodeAt(--L);return C>>>0},eu={};function computeId(_,C){if(!C)return"jsx-"+_;var L=String(C),Z=_+L;return eu[Z]||(eu[Z]="jsx-"+stringHash(_+"-"+L)),eu[Z]}function computeSelector(_,C){var L=_+C;return eu[L]||(eu[L]=C.replace(/__jsx-style-dynamic-selector/g,_)),eu[L]}var ec=function(){function StyleSheetRegistry(_){var C=void 0===_?{}:_,L=C.styleSheet,Z=void 0===L?null:L,ea=C.optimizeForSpeed,es=void 0!==ea&&ea;this._sheet=Z||new el({name:"styled-jsx",optimizeForSpeed:es}),this._sheet.inject(),Z&&"boolean"==typeof es&&(this._sheet.setOptimizeForSpeed(es),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var _=StyleSheetRegistry.prototype;return _.add=function(_){var C=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(_.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(_,C){return _[C]=0,_},{}));var L=this.getIdAndRules(_),Z=L.styleId,ea=L.rules;if(Z in this._instancesCounts){this._instancesCounts[Z]+=1;return}var es=ea.map(function(_){return C._sheet.insertRule(_)}).filter(function(_){return -1!==_});this._indices[Z]=es,this._instancesCounts[Z]=1},_.remove=function(_){var C=this,L=this.getIdAndRules(_).styleId;if(function(_,C){if(!_)throw Error("StyleSheetRegistry: "+C+".")}(L in this._instancesCounts,"styleId: `"+L+"` not found"),this._instancesCounts[L]-=1,this._instancesCounts[L]<1){var Z=this._fromServer&&this._fromServer[L];Z?(Z.parentNode.removeChild(Z),delete this._fromServer[L]):(this._indices[L].forEach(function(_){return C._sheet.deleteRule(_)}),delete this._indices[L]),delete this._instancesCounts[L]}},_.update=function(_,C){this.add(C),this.remove(_)},_.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},_.cssRules=function(){var _=this,C=this._fromServer?Object.keys(this._fromServer).map(function(C){return[C,_._fromServer[C]]}):[],L=this._sheet.cssRules();return C.concat(Object.keys(this._indices).map(function(C){return[C,_._indices[C].map(function(_){return L[_].cssText}).join(_._optimizeForSpeed?"":"\n")]}).filter(function(_){return!!_[1]}))},_.styles=function(_){var C,L;return C=this.cssRules(),void 0===(L=_)&&(L={}),C.map(function(_){var C=_[0],Z=_[1];return es.default.createElement("style",{id:"__"+C,key:"__"+C,nonce:L.nonce?L.nonce:void 0,dangerouslySetInnerHTML:{__html:Z}})})}
390,_.getIdAndRules=function(_){var C=_.children,L=_.dynamic,Z=_.id;if(L){var ea=computeId(Z,L);return{styleId:ea,rules:Array.isArray(C)?C.map(function(_){return computeSelector(ea,_)}):[computeSelector(ea,C)]}}return{styleId:computeId(Z),rules:Array.isArray(C)?C:[C]}},_.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(_,C){return _[C.id.slice(2)]=C,_},{})},StyleSheetRegistry}(),ed=ea.createContext(null);ed.displayName="StyleSheetContext";var eh=es.default.useInsertionEffect||es.default.useLayoutEffect,ep=new ec;function JSXStyle(_){var C=ep||ea.useContext(ed);return C&&eh(function(){return C.add(_),function(){C.remove(_)}},[_.id,String(_.dynamic)]),null}JSXStyle.dynamic=function(_){return _.map(function(_){return computeId(_[0],_[1])}).join(" ")},C.style=JSXStyle},96800:function(_,C,L){"use strict";_.exports=L(50134).style},71218:function(_,C,L){"use strict";L.r(C),L.d(C,{getFarmConfig:function(){return getFarmConfig},getStableConfig:function(){return getStableConfig}});var Z=L(11189),ea=L(74314);function isStableFarm(_){return"stableSwapAddress"in _&&"string"==typeof _.stableSwapAddress}let es=!1,getFarmConfig=async _=>{if(_&&ea.x4.includes(_)){let C=(0,Z.qz)(_);try{return(await L(60092)(`./${C}.ts`)).default.filter(_=>null!==_.pid)}catch(L){return es||(console.error("Cannot get farm config",L,_,C),es=!0),[]}}},getStableConfig=async _=>{if(ea.x4.includes(_)){let C=(0,Z.qz)(_);try{let _=(await L(60092)(`./${C}.ts`)).default;return _.filter(isStableFarm)}catch(L){return es||(console.error("Cannot get stable farm config",L,_,C),es=!0),[]}}}},74314:function(_,C,L){"use strict";L.d(C,{CK:function(){return el},wc:function(){return eu},x4:function(){return eo}});var Z=L(11189),ea=L(90292),es=L.n(ea);let eo=[Z.a_.MODE_MAINNET,Z.a_.MODE_TESTNET],el=[Z.a_.MODE_MAINNET,Z.a_.MODE_TESTNET];es()([...eo,...el]),Z.a_.MODE_MAINNET,Z.a_.MODE_TESTNET,Z.a_.MODE_MAINNET;let eu={[Z.a_.MODE_MAINNET]:"0x556B9306565093C855AEA9AE92A594704c2Cd59e",[Z.a_.MODE_TESTNET]:"0xE6496a33DcfCB0C47aECBedf0D1113E534dAe2E0"};Z.a_.MODE_MAINNET,Z.a_.MODE_TESTNET},33688:function(_,C,L){"use strict";L.d(C,{jV:function(){return eh},zE:function(){return ep},Nr:function(){return useDebounce},ne:function(){return useDebouncedChangeHandler},tr:function(){return src_useDelayedUnmount},ai:function(){return useHttpLocations},S1:function(){return src_useIntersectionObserver},Yz:function(){return useInterval},tm:function(){return useIsMounted},sP:function(){return src_useLastUpdated},uE:function(){return usePreloadImages},zP:function(){return src_usePreviousValue},nD:function(){return usePropsChanged},T2:function(){return src_useSortedTokensByQuery},Fg:function(){return src_useTheme}});var Z=L(52983),src_usePreviousValue=_=>{let C=(0,Z.useRef)();return(0,Z.useEffect)(()=>{C.current=_},[_]),C.current},src_useLastUpdated=()=>{let[_,C]=(0,Z.useState)(()=>Date.now()),L=src_usePreviousValue(_),ea=(0,Z.useCallback)(()=>{C(Date.now())},[C]);return{lastUpdated:_,previousLastUpdated:L,setLastUpdated:ea}},ea=L(87653);function useInterval(_,C){let L=!(arguments.length>2)||void 0===arguments[2]||arguments[2],es=!(arguments.length>3)||void 0===arguments[3]||arguments[3],[eo,el]=(0,Z.useState)(L),[eu,ec]=(0,Z.useState)(C),ed=(0,Z.useRef)(_),[eh,ep]=(0,Z.useState)(!1),{lastUpdated:ef,setLastUpdated:em}=src_useLastUpdated();(0,Z.useEffect)(()=>{el(L),ec(C)},[L,C]);let eb=(0,Z.useCallback)(()=>{ep(!0)},[]);(0,Z.useEffect)(()=>{ed.current=_},[_]),(0,Z.useEffect)(()=>{if(es&&eh){var _;null===(_=ed.current)||void 0===_||_.call(ed),ep(!1),el(!1),em()}},[es,eh,em]),(0,Z.useEffect)(()=>{if(!(0,ea.Z)(eu)){if(eo)eb();else{let _=setTimeout(eb,eu);return()=>{ep(!1),clearTimeout(_)}}}return()=>ep(!1)},[eu,eo,ef,eb])}function useDebounce(_,C){let[L,ea]=(0,Z.useState)(_);return(0,Z.useEffect)(()=>{let L=setTimeout(()=>{ea(_)},C);return()=>{clearTimeout(L)}},[_,C]),L}var es=L(64237);function useHttpLocations(_){return(0,Z.useMemo)(()=>_?(0,es.Z)(_):[],[_])}function useDebouncedChangeHandler(_,C){let L=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100,[ea,es]=(0,Z.useState)(()=>_),eo=(0,Z.useRef)(),el=(0,Z.useCallback)(_=>{es(_),eo.current&&clearTimeout(eo.current),eo.current=setTimeout(()=>{null==C||C(_),eo.current=void 0},L)},[L,C]);return(0,Z.useEffect)(()=>{eo.current&&(clearTimeout(eo.current),eo.current=void 0),es(_)},[_]),[ea,el]}function useIsMounted(){let[_,C]=(0,Z.useState)(!1);return(0,Z.useEffect)(()=>{C(!0)},[]),_}let eo=new Map,usePreloadImages=_=>{(0,Z.useEffect)(()=>{for(let C of _)if(!eo.has(C)){eo.set(C,!0);let _=new Image;_.src=C}},[_])},el=Z.useLayoutEffect;var src_useIntersectionObserver=()=>{let[_,C]=(0,Z.useState)(null),L=(0,Z.useRef)(null),[ea,es]=(0,Z.useState)(!1);return el(()=>{let C=window.IntersectionObserver;
390return C?(!L.current&&_&&(L.current=new window.IntersectionObserver(_=>{let[C]=_;es(C.isIntersecting)},{rootMargin:"0px",threshold:1}),L.current.observe(_)),L.current&&!_&&(L.current.disconnect(),es(!1))):es(!0),()=>{L.current&&(L.current.disconnect(),L.current=null)}},[_]),{observerRef:C,isIntersecting:ea}},src_useDelayedUnmount=(_,C)=>{let[L,ea]=(0,Z.useState)(!1);return(0,Z.useEffect)(()=>{let Z;return _&&!L?ea(!0):!_&&L&&(Z=setTimeout(()=>ea(!1),C)),()=>clearTimeout(Z)},[_,C,L]),L},src_useSortedTokensByQuery=(_,C)=>(0,Z.useMemo)(()=>{if(!_)return[];let L=C.toLowerCase().trim(),Z=L.split(/\s+/).filter(_=>_.length>0);if(Z.length>1)return _;let ea=[],es=[],eo=[];return _.forEach(_=>{var C,el;let eu=null===(C=_.symbol)||void 0===C?void 0:C.toLowerCase();return eu===Z[0]||(null===(el=_.name)||void 0===el?void 0:el.toLowerCase())===L?ea.push(_):eu.startsWith(L)?es.push(_):eo.push(_)}),[...ea,...es,...eo]},[_,C]),eu=L(72118),ec=L(62656),ed=L(96678);let eh="theme",ep=".pancakeswap.finance";var src_useTheme=()=>{let{resolvedTheme:_,setTheme:C}=(0,ed.F)(),L=(0,Z.useContext)(ec.Ni),ea=(0,Z.useCallback)(_=>{try{C(_),eu.Z.set(eh,_,{domain:ep})}catch(_){}},[C]);return(0,Z.useMemo)(()=>({isDark:"dark"===_,theme:L,setTheme:ea}),[L,_,ea])};function usePropsChanged(){for(var _=arguments.length,C=Array(_),L=0;L<_;L++)C[L]=arguments[L];let Z=src_usePreviousValue(C);return C.length!==(null==Z?void 0:Z.length)||C.some((_,C)=>_!==Z[C])}},35441:function(_,C,L){"use strict";L.d(C,{x:function(){return ea}});var Z=L(47739);let ea={[Z.a_.MODE_MAINNET]:"0x3C458828D1622F5f4d526eb0d24Da8C4Eb8F07b1",[Z.a_.MODE_TESTNET]:"0x576696dA86d55B3207d1D1A6B689B6FCcCF60d16"};Z.a_.MODE_MAINNET,Z.a_.MODE_TESTNET},99093:function(_,C,L){"use strict";L.d(C,{FQ:function(){return ea},Fo:function(){return Z},Wn:function(){return es}});let Z=[],ea=[...Z],es=[].reduce((_,C)=>({}),{})},53343:function(_,C,L){"use strict";L.d(C,{aG:function(){return isNativeIfoSupported},er:function(){return isIfoSupported},mJ:function(){return isCrossChainIfoSupportedOnly}});var Z=L(99093);function isIfoSupported(_){return!!_&&Z.FQ.includes(_)}function isNativeIfoSupported(_){return!!_&&Z.Fo.includes(_)}function isCrossChainIfoSupportedOnly(_){return isIfoSupported(_)&&!isNativeIfoSupported(_)}},77016:function(_,C,L){"use strict";L.d(C,{A:function(){return e_},i:function(){return LanguageProvider}});var Z=L(97458),ea=L(52983),es=L(33688),eo=L(67997),el=L.n(eo),eu=L(92442),ec=L.n(eu),ed=L(17682),eh=L.n(ed),ep=L(87653),ef=L(46074);let em="pancakeswap_language",fetchLocale=async _=>{let C=await fetch(`https://locales.pancakeswap.finance/${_}.json`);if(C.ok){let _=await C.json();return _}return console.error(`API: Failed to fetch locale ${_}`,C.statusText),null},getLanguageCodeFromLS=()=>{try{let _=localStorage.getItem(em);return _||ef.EN.locale}catch{return ef.EN.locale}},eb={isFetching:!0,currentLanguage:ef.EN},ey=RegExp(/%\S+?%/,"gm"),eg=el()(_=>!!(null==_?void 0:_.match(ey))),ev=el()(_=>RegExp(`%${_}%`,"g")),ex=new Map;ex.set(ef.EN.locale,{});let e_=(0,ea.createContext)(void 0),LanguageProvider=_=>{let{children:C}=_,{lastUpdated:L,setLastUpdated:eo}=(0,es.sP)(),[el,eu]=(0,ea.useState)(()=>{let _=getLanguageCodeFromLS();return{...eb,currentLanguage:ef.Mj[_]||ef.EN}}),{currentLanguage:ed}=el;(0,ea.useEffect)(()=>{let fetchInitialLocales=async()=>{let _=getLanguageCodeFromLS();if(_!==ef.EN.locale){let C=await fetchLocale(_);C&&(ex.set(_,C),eo())}eu(_=>({..._,isFetching:!1}))};fetchInitialLocales()},[eo]);let ey=(0,ea.useCallback)(async _=>{var C,L;if(ex.has(_.locale))null===(L=localStorage)||void 0===L||L.setItem(em,_.locale),eu(C=>({...C,isFetching:!1,currentLanguage:_}));else{eu(_=>({..._,isFetching:!0}));let L=await fetchLocale(_.locale);L?(ex.set(_.locale,L),null===(C=localStorage)||void 0===C||C.setItem(em,_.locale),eu(C=>({...C,isFetching:!1,currentLanguage:_}))):eu(_=>({..._,isFetching:!1}))}},[]),ew=(0,ea.useCallback)((_,C)=>{var L;let Z=null!==(L=ex.get(ed.locale))&&void 0!==L?L:{},ea=(null==Z?void 0:Z[_])||_;if(C){let L=eg(_);if(L)return eh()(ec()(C,ep.Z),(_,C,L)=>null!=C?_.replace(ev(L),C.toString()):_,ea)}return ea},[ed,L]),eC=(0,ea.useMemo)(()=>({...el,setLanguage:ey,t:ew}),[el,ey,ew]);return(0,Z.jsx)(e_.Provider,{value:eC,children:C})}},3705:function(_,C,L){"use strict";L.d(C,{c:function(){return Trans}});var Z=L(52983),ea=L(82577);let Trans=_=>{let{children:C,...L}=_,{t:es}=(0,ea.Z)();if("string"!=typeof C)throw Error("children not string in Trans is not supported yet");return(0,Z.createElement)(Z.Fragment,{},es(C,L))}},46074:function(_,C,L){"use strict";L.d(C,{EN:function(){return Z},Mj:function(){return ea}});let Z={locale:"en-US",language:"English",code:"en"},ea={"ar-SA":{locale:"ar-SA",language:"العربية",code:"ar"},"bn-BD":{locale:"bn-BD",language:"বাংলা",code:"bn"},"en-US":Z,"de-DE":{locale:"de-DE",language:"Deutsch",code:"de"},"el-GR":{locale:"el-GR",language:"Ελληνικά",code:"el"},"es-ES":{locale:"es-ES",language:"Espa\xf1ol",code:"es-ES"},"fi-FI":{locale:"fi-FI",language:"Suomalainen",code:"fi"}
390,"fil-PH":{locale:"fil-PH",language:"Filipino",code:"fil"},"fr-FR":{locale:"fr-FR",language:"Fran\xe7ais",code:"fr"},"hi-IN":{locale:"hi-IN",language:"हिंदी",code:"hi"},"hu-HU":{locale:"hu-HU",language:"Magyar",code:"hu"},"id-ID":{locale:"id-ID",language:"Bahasa Indonesia",code:"id"},"it-IT":{locale:"it-IT",language:"Italiano",code:"it"},"ja-JP":{locale:"ja-JP",language:"日本語",code:"ja"},"ko-KR":{locale:"ko-KR",language:"한국어",code:"ko"},"nl-NL":{locale:"nl-NL",language:"Nederlands",code:"nl"},"pl-PL":{locale:"pl-PL",language:"Polski",code:"pl"},"pt-BR":{locale:"pt-BR",language:"Portugu\xeas (Brazil)",code:"pt-br"},"pt-PT":{locale:"pt-PT",language:"Portugu\xeas",code:"pt-pt"},"ro-RO":{locale:"ro-RO",language:"Rom\xe2nă",code:"ro"},"ru-RU":{locale:"ru-RU",language:"Русский",code:"ru"},"sv-SE":{locale:"sv-SE",language:"Svenska",code:"sv"},"ta-IN":{locale:"ta-IN",language:"தமிழ்",code:"ta"},"tr-TR":{locale:"tr-TR",language:"T\xfcrk\xe7e",code:"tr"},"uk-UA":{locale:"uk-UA",language:"Українська",code:"uk"},"vi-VN":{locale:"vi-VN",language:"Tiếng Việt",code:"vi"},"zh-CN":{locale:"zh-CN",language:"简体中文",code:"zh-cn"},"zh-TW":{locale:"zh-TW",language:"繁體中文",code:"zh-tw"}},es=Object.values(ea);C.ZP=es},82577:function(_,C,L){"use strict";var Z=L(52983),ea=L(77016);C.Z=()=>{let _=(0,Z.useContext)(ea.A);if(void 0===_)throw Error("Language context is undefined");return _}},96394:function(_,C,L){"use strict";L.d(C,{Z:function(){return Z}});let Z=[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"contract IERC20",name:"_token",type:"address"},{indexed:!0,internalType:"address",name:"_spender",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"}],name:"ApproveToken",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint8",name:"version",type:"uint8"}],name:"Initialized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"oldVault",type:"address"},{indexed:!0,internalType:"address",name:"newVault",type:"address"},{indexed:!1,internalType:"address",name:"token0",type:"address"},{indexed:!1,internalType:"address",name:"token1",type:"address"},{indexed:!1,internalType:"address",name:"lpToken",type:"address"}],name:"SetVault",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"oldWrapper",type:"address"},{indexed:!0,internalType:"address",name:"newWrapper",type:"address"}],name:"SetWrapper",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"contract IERC20",name:"_token",type:"address"},{indexed:!0,internalType:"address",name:"_recipient",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"}],name:"TransferToken",type:"event"},{stateMutability:"nonpayable",type:"fallback"},{inputs:[],name:"PRECISION",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"PROTOCOL",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[],name:"VERSION",outputs:[{internalType:"uint8",name:"",type:"uint8"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"contract IERC20",name:"_token",type:"address"},{internalType:"address",name:"_spender",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"}],name:"approveToken",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_amount0",type:"uint256"},{internalType:"uint256",name:"_amount1",type:"uint256"},{internalType:"address",name:"_user",type:"address"},{internalType:"bytes",name:"",type:"bytes"}],name:"deposit",outputs:[{internalType:"uint256",name:"_share",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_wrapper",type:"address"},{internalType:"address",name:"_vault",type:"address"},{internalType:"address",name:"_admin",type:"address"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"lpToken",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"manager",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"managerFee",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"pool",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_newVault",type:"address"}],name:"setVault",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_newWrapper",type:"address"}],name:"setWrapper",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"token0",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"token1",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"tokenPerShare",outputs:[{internalType:"uint256",name:"_token0PerShare",type:"uint256"},{internalType:"uint256",name:"_token1PerShare",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalSupply",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"contract IERC20",name:"_token",type:"address"},{internalType:"address",name:"_recipient",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"}],name:"transferToken",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"vault",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_share",type:"uint256"},{internalType:"address",name:"_user",type:"address"},{internalType:"bytes",name:"",type:"bytes"}],name:"withdraw",outputs:[{internalType:"uint256",name:"_amount0",type:"uint256"},{internalType:"uint256",name:"_amount1",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"wrapper",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{stateMutability:"payable",type:"receive"}]},81078:function(_,C,L){"use strict";L.d(C,{h:function(){return Z}});let Z=[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"user",type:"address"},{indexed:!0,internalType:"address",name:"newAdapterAddr",type:"address"}],name:"AdapterUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"user",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"}],name:"Deposit",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"user",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"},{indexed:!1,internalType:"uint256",name:"endTimestamp",type:"uint256"}],name:"DepositAndExpend",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"user",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"}],name:"EmergencyWithdraw",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"user",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"},{indexed:!1,internalType:"uint256",name:"amount0",type:"uint256"},{indexed:!1,internalType:"uint256",name:"amount1",type:"uint256"}],name:"MintThenDeposit",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"poolLimitPerUser",type:"uint256"}],name:"NewPoolLimit",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"oldRewardPerSecond",type:"uint256"},{indexed:!1,internalType:"uint256",name:"newRewardPerSecond",type:"uint256"},{indexed:!1,internalType:"uint256",name:"startTimestamp",type:"uint256"},{indexed:!1,internalType:"uint256",name:"endTimestamp",type:"uint256"}],name:"NewRewardPerSecond",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"oldStartTimestamp",type:"uint256"},{indexed:!1,internalType:"uint256",name:"newStartTimestamp",type:"uint256"},{indexed:!1,internalType:"uint256",name:"oldEndTimestamp",type:"uint256"},{indexed:!1,internalType:"uint256",name:"newEndTimestamp",type:"uint256"},{indexed:!1,internalType:"uint256",name:"rewardPerSecond",type:"uint256"}],name:"NewStartAndEndTimestamp",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"startTimestamp",type:"uint256"},{indexed:!1,internalType:"uint256",name:"endTimestamp",type:"uint256"},{indexed:!1,internalType:"uint256",name:"rewardPerSecond",type:"uint256"}],name:"Restart",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"blockNumber",type:"uint256"}],name:"RewardsStop",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"token",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"}],name:"TokenRecovery",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"user",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"}],name:"Withdraw",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"user",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"},{indexed:!1,internalType:"uint256",name:"amount0",type:"uint256"},{indexed:!1,internalType:"uint256",name:"amount1",type:"uint256"}],name:"WithdrawThenBurn",type:"event"},{inputs:[],name:"PRECISION_FACTOR",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"WRAPPER_FACTORY",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"accTokenPerShare",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"adapterAddr",outputs:[{internalType:"address payable",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_amount",type:"uint256"}],name:"deposit",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_amount",type:"uint256"}],name:"depositRewardAndExpend",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_amount",type:"uint256"}],name:"emergencyRewardWithdraw",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"emergencyWithdraw",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"endTimestamp",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"contract IERC20Metadata",name:"_stakedToken",type:"address"},{internalType:"contract IERC20Metadata",name:"_rewardToken",type:"address"},{internalType:"uint256",name:"_rewardPerSecond",type:"uint256"},{internalType:"uint256",name:"_startTimestamp",type:"uint256"},{internalType:"uint256",name:"_endTimestamp",type:"uint256"},{internalType:"address",name:"_admin",type:"address"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"isInitialized",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"lastRewardTimestamp",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_amount0",type:"uint256"},{internalType:"uint256",name:"_amount1",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"mintThenDeposit",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"}],name:"pendingReward",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_token",type:"address"}],name:"recoverToken",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_startTimestamp",type:"uint256"},{internalType:"uint256",name:"_endTimestamp",type:"uint256"},{internalType:"uint256",name:"_rewardPerSecond",type:"uint256"}],name:"restart",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"rewardPerSecond",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"rewardToken",outputs:[{internalType:"contract IERC20Metadata",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"stakedToken",outputs:[{internalType:"contract IERC20Metadata",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"startTimestamp",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"stopReward",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_adapterAddr",type:"address"}],name:"updateAdapterAddress",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_rewardPerSecond",type:"uint256"}],name:"updateRewardPerSecond",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_startTimestamp",type:"uint256"},{internalType:"uint256",name:"_endTimestamp",type:"uint256"}],name:"updateStartAndEndTimestamp",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"userInfo",outputs:[{internalType:"uint256",name:"amount",type:"uint256"},{internalType:"uint256",name:"rewardDebt",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_amount",type:"uint256"}],name:"withdraw",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"withdrawThenBurn",outputs:[],stateMutability:"nonpayable",type:"function"}]},85168:function(_,C,L){"use strict";L.d(C,{nx:function(){return WalletConnectorNotFoundError},b2:function(){return WalletModalV2},sB:function(){return WalletSwitchChainError}});var Z=L(97458),ea=L(33688),es=L(82577),eo=L(5719),el=L(83631),eu=L(20111),ec=L(73217),ed=L(23690),eh=L(42933),ep=L(53826),ef=L(50231),em=L(2054),eb=L(48723),ey=L(4687
3905),eg=L(63100),ev=L(80440),ex=L(42843),e_=L(52983),ew=L(42199);L(10412),L(75027),L(88953),L(51918);var eC="_6h9tv98";let eT=(0,e_.lazy)(()=>Promise.all([L.e(2152),L.e(727)]).then(L.bind(L,78468))),eq=(0,e_.lazy)(()=>L.e(2800).then(L.bind(L,92800)));let WalletConnectorNotFoundError=class WalletConnectorNotFoundError extends Error{};let WalletSwitchChainError=class WalletSwitchChainError extends Error{};let ek=(0,ev.cn)(""),eS=(0,ev.cn)(null);function useSelectedWallet(){return(0,ex.KO)(eS)}let TabContainer=_=>{let{children:C,docLink:L,docText:ea}=_,[ec,ed]=(0,e_.useState)(0),{t:eh}=(0,es.Z)();return(0,Z.jsxs)(eo.p,{position:"relative",zIndex:"modal",className:"_6h9tv95 _6h9tv94",children:[(0,Z.jsx)(eo.p,{position:"absolute",style:{top:"-50px"},children:(0,Z.jsxs)(el.Z,{activeIndex:ec,onItemClick:ed,gap:"0px",isColorInverse:!0,isShowBorderBottom:!1,children:[(0,Z.jsx)(eu.Z,{children:eh("Connect Wallet")}),(0,Z.jsx)(eu.Z,{children:eh("What’s a Web3 Wallet?")})]})}),(0,Z.jsxs)(eo.p,{display:"flex",position:"relative",background:"gradientCardHeader",borderRadius:"card",borderBottomRadius:{xs:"0",md:"card"},zIndex:"modal",width:"100%",children:[0===ec&&C,1===ec&&(0,Z.jsx)(e_.Suspense,{children:(0,Z.jsx)(eT,{docLink:L,docText:ea})})]})]})};function MobileModal(_){let{wallets:C,connectWallet:L,docLink:ea,docText:el}=_,{t:eu}=(0,es.Z)(),[ep]=useSelectedWallet(),[ef]=(0,ex.KO)(ek),em=C.filter(_=>_.installed),eb=C.filter(_=>em.length?_.installed:!1!==_.installed||_.deepLink);return(0,Z.jsxs)(eo.p,{width:"100%",children:[ef?(0,Z.jsxs)(eo.p,{display:"flex",flexDirection:"column",alignItems:"center",style:{gap:"24px"},textAlign:"center",p:"24px",children:[ep&&"string"==typeof ep.icon&&(0,Z.jsx)(ec.Z,{src:ep.icon,width:108,height:108}),(0,Z.jsx)("div",{style:{maxWidth:"246px"},children:(0,Z.jsx)(ErrorMessage,{message:ef})})]}):(0,Z.jsx)(ed.Z,{color:"textSubtle",small:!0,p:"24px",children:eu("Start by connecting with one of the wallets below. Be sure to store your private keys or seed phrase securely. Never share them with anyone.")}),(0,Z.jsx)(eo.p,{flex:1,py:"16px",style:{maxHeight:"230px"},overflow:"auto",children:(0,Z.jsx)(WalletSelect,{displayCount:8,wallets:eb,onClick:_=>{L(_),_.deepLink&&!1===_.installed&&window.open(_.deepLink)}})}),(0,Z.jsxs)(eo.p,{p:"24px",borderTop:"1",children:[(0,Z.jsx)(eo.p,{children:(0,Z.jsx)(ed.Z,{textAlign:"center",color:"textSubtle",as:"p",mb:"24px",children:eu("Haven’t got a crypto wallet yet?")})}),(0,Z.jsx)(eh.Z,{as:"a",href:ea,variant:"subtle",width:"100%",external:!0,children:el})]})]})}function WalletSelect(_){let{wallets:C,onClick:L,displayCount:ea=9}=_,{t:el}=(0,es.Z)(),[eu,ef]=(0,e_.useState)(!1),em=C.length>ea?ea-1:ea,eb=eu?C:C.slice(0,em),[ey]=useSelectedWallet();return(0,Z.jsxs)(eo.p,{display:"grid",overflowY:"auto",overflowX:"hidden",px:{xs:"16px",sm:"48px"},pb:"12px",className:"_6h9tv97",children:[eb.map(_=>{let C="string"==typeof _.icon,ea=_.icon;return(0,Z.jsxs)(eh.Z,{variant:"text",height:"auto",as:eo.p,display:"flex",alignItems:"center",style:{justifyContent:"flex-start",letterSpacing:"normal",padding:"0"},flexDirection:"column",onClick:()=>L(_),children:[(0,Z.jsx)(eo.p,{className:_.installed&&"_1qhetbf2ph _6h9tv92",p:"2px",borderRadius:"12px",mb:"4px",children:(0,Z.jsxs)(eo.p,{bgc:"dropdown",display:"flex",position:"relative",justifyContent:"center",alignItems:"center",className:eC,style:{borderRadius:"13px"},children:[C?(0,Z.jsx)(ec.Z,{src:ea,width:50,height:50}):(0,Z.jsx)(ea,{width:24,height:24,color:"textSubtle"}),_.id===(null==ey?void 0:ey.id)&&(0,Z.jsx)(eo.p,{position:"absolute",inset:"0px",bgc:"secondary",opacity:"0.5",borderRadius:"12px"})]})}),(0,Z.jsx)(ed.Z,{fontSize:"12px",textAlign:"center",children:_.title})]},_.id)}),!eu&&C.length>em&&(0,Z.jsx)(eo.p,{display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",children:(0,Z.jsxs)(eh.Z,{height:"auto",variant:"text",as:eo.p,flexDirection:"column",onClick:()=>ef(!0),children:[(0,Z.jsx)(eo.p,{className:eC,display:"flex",justifyContent:"center",alignItems:"center",bgc:"dropdown",children:(0,Z.jsx)(ep.Z,{color:"text"})}),(0,Z.jsx)(ed.Z,{fontSize:"12px",textAlign:"center",mt:"4px",children:el("More")})]})})]})}let eE="wallet",eM=(0,ev.cn)("");function DesktopModal(_){let{wallets:C,connectWallet:L,docLink:ea,docText:el}=_,eu=C.filter(_=>!1!==_.installed||!_.installed&&(_.guide||_.downloadLink||_.qrCode)),[eh]=useSelectedWallet(),[ep]=(0,ex.KO)(ek),[em,eb]=(0,e_.useState)(void 0),{t:ey}=(0,es.Z)(),connectToWallet=_=>{L(_)};return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)(eo.p,{display:"flex",flexDirection:"column",bg:"backgroundAlt",py:"32px",zIndex:"modal",borderRadius:"card",className:"_6h9tv96",children:[(0,Z.jsxs)(eo.p,{px:"48px",children:[(0,Z.jsx)(ef.Z,{color:"color",as:"h4",children:ey("Connect Wallet")}),(0,Z.jsx)(ed.Z,{color:"textSubtle",small:!0,pt:"24px",pb:"32px",children:ey("Start by connecting with one of the wallets below. Be sure to store your private keys or seed phrase securely. Never share them with anyone.")})]}),(0,Z.jsx)(WalletSelect,{wallets:eu,onClick:_=>{connectToWallet(_),eb(void 0),_.qrCode&&_.qrCode().then(_=>{eb(_)},()=>{})}})]}),(0,Z.jsx)(eo.p,{flex:1,mx:"24px",display:{xs:"none",sm:"flex"},justifyContent:"center",flexDirection:"column",alignItems:"center",children:(0,Z.jsxs)(eo.p,{display:"flex",flexDirection:"column",alignItems:"center",style:{gap:"24px"},textAlign:"center",children:[!eh&&(0,Z.jsx)(Intro,{docLink:ea,docText:el}),eh&&!1!==eh.installed&&(0,Z.jsxs)(Z.Fragment,{children:["string"==typeof eh.icon&&(0,Z.jsx)(ec.Z,{src:eh.icon,width:108,height:108}),(0,Z.jsxs)(ef.Z,{as:"h1",fontSize:"20px",color:"secondary",children:[ey("Opening")," ",eh.title]}
390),ep?(0,Z.jsx)(ErrorContent,{message:ep,onRetry:()=>connectToWallet(eh)}):(0,Z.jsx)(ed.Z,{children:ey("Please confirm in %wallet%",{wallet:eh.title})})]}),eh&&!1===eh.installed&&(0,Z.jsx)(NotInstalled,{qrCode:em,wallet:eh})]})})]})}function WalletModalV2(_){let{wallets:C,login:L,docLink:el,docText:eu,onWalletConnectCallBack:ec,...ed}=_,[eh]=(0,ex.KO)(eM),ep=(0,e_.useMemo)(()=>(function(_,C){let L=[..._].sort((_,C)=>_.installed===C.installed?0:!0===_.installed?-1:1);if(!C)return L;let Z=_.find(_=>_.title===C);return Z?[Z,...L.filter(_=>_.id!==Z.id)]:L})(C,eh),[C,eh]),[,ef]=useSelectedWallet(),[,ey]=(0,ex.KO)(ek),{t:eg}=(0,es.Z)(),ev=(0,e_.useMemo)(()=>ep.map(_=>_.icon).filter(_=>"string"==typeof _).concat("https://cdn.pancakeswap.com/wallets/wallet_intro.png"),[ep]);(0,ea.uE)(ev.slice(0,8));let connectWallet=_=>{ef(_),ey(""),!1!==_.installed&&L(_.connectorId).then(C=>{if(C){localStorage.setItem(eE,_.title);try{null==ec||ec(_.title)}catch(C){console.error(_.title,C)}}}).catch(_=>{_ instanceof WalletConnectorNotFoundError?ey(eg("no provider found")):_ instanceof WalletSwitchChainError?ey(_.message):ey(eg("Error connecting, please authorize wallet to access."))})};return(0,Z.jsx)(em.kw,{closeOnOverlayClick:!0,disableOutsidePointerEvents:!1,...ed,children:(0,Z.jsx)(eb.AB,{onDismiss:_.onDismiss,style:{overflow:"visible",border:"none"},children:(0,Z.jsx)(eo.p,{position:"relative",children:(0,Z.jsx)(TabContainer,{docLink:el,docText:eu,children:ew.tq?(0,Z.jsx)(MobileModal,{connectWallet:connectWallet,wallets:ep,docLink:el,docText:eu}):(0,Z.jsx)(DesktopModal,{connectWallet:connectWallet,wallets:ep,docLink:el,docText:eu})})})})})}eM.onMount=_=>{var C;let L=null===(C=localStorage)||void 0===C?void 0:C.getItem(eE);L&&_(L)};let Intro=_=>{let{docLink:C,docText:L}=_,{t:ea}=(0,es.Z)();return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(ef.Z,{as:"h1",fontSize:"20px",color:"secondary",children:ea("Haven’t got a wallet yet?")}),(0,Z.jsx)(ec.Z,{src:"https://cdn.pancakeswap.com/wallets/wallet_intro.png",width:198,height:178}),(0,Z.jsx)(eh.Z,{as:ey.Z,color:"backgroundAlt",variant:"subtle",href:C,children:L})]})},NotInstalled=_=>{let{wallet:C,qrCode:L}=_,{t:ea}=(0,es.Z)();return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(ef.Z,{as:"h1",fontSize:"20px",color:"secondary",children:ea("%wallet% is not installed",{wallet:C.title})}),L&&(0,Z.jsx)(e_.Suspense,{children:(0,Z.jsx)(eo.p,{overflow:"hidden",borderRadius:"card",style:{width:"288px",height:"288px"},children:(0,Z.jsx)(eq,{url:L,image:"string"==typeof C.icon?C.icon:void 0})})}),!L&&!C.isNotExtension&&(0,Z.jsx)(ed.Z,{maxWidth:"246px",m:"auto",children:ea("Please install the %wallet% browser extension to connect the %wallet% wallet.",{wallet:C.title})}),C.guide&&(0,Z.jsx)(eh.Z,{variant:"subtle",as:"a",href:getDesktopLink(C.guide),external:!0,children:getDesktopText(C.guide,ea("Setup Guide"))}),C.downloadLink&&(0,Z.jsx)(eh.Z,{variant:"subtle",as:"a",href:getDesktopLink(C.downloadLink),external:!0,children:getDesktopText(C.downloadLink,ea("Install"))})]})},ErrorMessage=_=>{let{message:C}=_;return(0,Z.jsxs)(ed.Z,{bold:!0,color:"failure",children:[(0,Z.jsx)(eg.Z,{width:"16px",color:"failure",style:{verticalAlign:"middle"}})," ",C]})},ErrorContent=_=>{let{onRetry:C,message:L}=_,{t:ea}=(0,es.Z)();return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(ErrorMessage,{message:L}),(0,Z.jsx)(eh.Z,{variant:"subtle",onClick:C,children:ea("Retry")})]})},getDesktopLink=_=>{var C;return"string"==typeof _?_:"string"==typeof _.desktop?_.desktop:null===(C=_.desktop)||void 0===C?void 0:C.url},getDesktopText=(_,C)=>{var L,Z;return"string"==typeof _?C:"string"==typeof _.desktop?C:null!==(Z=null===(L=_.desktop)||void 0===L?void 0:L.text)&&void 0!==Z?Z:C}},43600:function(_,C,L){"use strict";L.d(C,{J:function(){return UIKitProvider}});var Z=L(97458),ea=L(62656),es=L(43913),eo=L(75735);let UIKitProvider=_=>{let{theme:C,children:L}=_;return(0,Z.jsx)(ea.f6,{theme:C,children:(0,Z.jsx)(es.mh,{children:(0,Z.jsx)(eo.d,{children:L})})})}},59832:function(_,C,L){"use strict";var Z=L(62656);let ea=Z.vJ`
391  /* prettier-ignore */
392  html, body, div, span, applet, object, iframe,
393  h1, h2, h3, h4, h5, h6, p, blockquote, pre,
394  a, abbr, acronym, address, big, cite, code,
395  del, dfn, em, img, ins, kbd, q, s, samp,
396  small, strike, strong, sub, sup, tt, var,
397  b, u, i, center,
398  dl, dt, dd, ol, ul, li,
399  fieldset, form, label, legend,
400  table, caption, tbody, tfoot, thead, tr, th, td,
401  article, aside, canvas, details, embed, 
402  figure, figcaption, footer, header, hgroup, 
403  menu, nav, output, ruby, section, summary,
404  time, mark, audio, video {
405    margin: 0;
406    padding: 0;
407    border: 0;
408    font-size: 100%;
409    vertical-align: baseline;
410  }
411  /* HTML5 display-role reset for older browsers */
412  /* prettier-ignore */
413  article, aside, details, figcaption, figure, 
414  footer, header, hgroup, menu, nav, section {
415    display: block;
416  }
417  body {
418    line-height: 1;
419    font-size: 16px;
420  }
421  ol,
422  ul {
423    list-style: disc;
424    list-style-position: inside;
425  }
426  blockquote,
427  q {
428    quotes: none;
429  }
430  blockquote:before,
431  blockquote:after,
432  q:before,
433  q:after {
434    content: none;
435  }
436  table {
437    border-collapse: collapse;
438    border-spacing: 0;
439  }
440  a {
441    color: inherit;
442    text-decoration: none;
443  }
444  [role="button"] {
445    cursor: pointer;
446  }
447  *,
448  *::before,
449  *::after {
450    box-sizing: border-box;
451  }
452  * {
453    font-family: 'Kanit', sans-serif;
454    -webkit-font-smoothing: antialiased;
455    -moz-osx-font-smoothing: grayscale;
456  }
457
458  /* Number */
459  input::-webkit-outer-spin-button,
460  input::-webkit-inner-spin-button {
461    -webkit-appearance: none;
462    margin: 0;
463  }
464  input[type=number] {
465    -moz-appearance: textfield;
466  }
467
468  /* Scrollbar */
469  ::-webkit-scrollbar {
470    width: 8px;
471  }
472  ::-webkit-scrollbar-thumb {
473    background: ${_=>{let{theme:C}=_;return C.colors.textSubtle}}; 
474    border-radius: 8px;
475  }
476  ::-webkit-scrollbar-track {
477    box-shadow: inset 0 0 5px ${_=>{let{theme:C}=_;return C.colors.input}}; 
478    border-radius: 10px;
479  }
480
481  /* Slider */ 
482  input[type=range] {
483    -webkit-appearance: none; /* Hides the slider so that custom slider can be made */
484    width: 100%; /* Specific width is required for Firefox. */
485    background: transparent; /* Otherwise white in Chrome */
486  }
487  input[type=range]::-webkit-slider-thumb {
488    -webkit-appearance: none;
489  }
490  input[type=range]:focus {
491    outline: none; /* Removes the blue border. You should probably do some kind of focus styling for accessibility reasons though. */
492  }
493  input[type=range]::-ms-track {
494    width: 100%;
495    cursor: pointer;
496    /* Hides the slider so custom styles can be added */
497    background: transparent; 
498    border-color: transparent;
499    color: transparent;
500  }  
501`;C.Z=ea},49414:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(62656),es=L(31674),eo=L(4040),el=L(13903),eu=L(87529),ec=L(23690),ed=L(17778),eh=L(14063),ep=L(16169),ef=L(77974);let getIcon=function(){let _=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ef.o.INFO;switch(_){case ef.o.DANGER:return el.Z;case ef.o.WARNING:return eo.Z;case ef.o.SUCCESS:return es.Z;case ef.o.INFO:default:return eu.Z}},em=ea.zo.div`
502  background-color: ${_=>{let{theme:C,variant:L=ef.o.INFO}=_;switch(L){case ef.o.DANGER:return C.colors.failure;case ef.o.WARNING:return C.colors.warning;case ef.o.SUCCESS:return C.colors.success;case ef.o.INFO:default:return C.colors.secondary}}};
503  border-radius: 16px 0 0 16px;
504  color: ${_=>{let{theme:C}=_;return C.alert.background}};
505  padding: 12px;
506`,eb=ea.zo.div`
507  flex: 1;
508  padding-bottom: 12px;
509  padding-left: 12px;
510  padding-right: ${_=>{let{$hasHandler:C}=_;return C?"52px":"12px"}};
511  padding-top: 12px;
512`,ey=ea.zo.div`
513  border-radius: 0 16px 16px 0;
514  right: 8px;
515  position: absolute;
516  top: 8px;
517`,eg=(0,ea.zo)(ep.Z)`
518  position: relative;
519  background-color: ${_=>{let{theme:C}=_;return C.alert.background}};
520  border-radius: 16px;
521  box-shadow: 0px 20px 36px -8px rgba(14, 14, 44, 0.1), 0px 1px 1px rgba(0, 0, 0, 0.05);
522`;C.Z=_=>{let{title:C,children:L,variant:ea,onClick:es}=_,eo=getIcon(ea);return(0,Z.jsxs)(eg,{children:[(0,Z.jsx)(em,{variant:ea,children:(0,Z.jsx)(eo,{color:"currentColor",width:"24px"})}),(0,Z.jsxs)(eb,{$hasHandler:!!es,children:[(0,Z.jsx)(ec.Z,{bold:!0,children:C}),"string"==typeof L?(0,Z.jsx)(ec.Z,{style:{wordBreak:"break-word"},as:"p",children:L}):L]}),es&&(0,Z.jsx)(ey,{children:(0,Z.jsx)(ed.Z,{scale:"sm",variant:"text",onClick:es,children:(0,Z.jsx)(eh.Z,{width:"24px",color:"currentColor"})})})]})}},77974:function(_,C,L){"use strict";L.d(C,{o:function(){return Z}});let Z={INFO:"info",DANGER:"danger",SUCCESS:"success",WARNING:"warning"}},5719:function(_,C,L){"use strict";L.d(C,{p:function(){return eu}});var Z=L(14517),ea=L(52983),es=L(44530),eo=L(86225),el=L(81327);let eu=ea.forwardRef((_,C)=>{let{as:L="div",asChild:eu,className:ec,...ed}=_,eh={},ep={};for(let _ in ed)el.K.properties.has(_)?eh[_]=ed[_]:ep[_]=ed[_];let ef=(0,eo.H)({reset:"string"==typeof L?L:"div",...eh}),em=eu?es.g7:L;return ea.createElement(em,{className:(0,Z.default)(ef,ec),...ep,ref:C})});eu.displayName="AtomBox"},87333:function(_,C,L){"use strict";var Z=L(97458),ea=L(52983),es=L(58297),eo=L(23690);C.Z=_=>{let{value:C,color:L="text",decimals:el=3,isDisabled:eu=!1,unit:ec,prefix:ed,onClick:eh,strikeThrough:ep,startFromValue:ef=!1,...em}=_,eb=(0,ea.useMemo)(()=>ed?{prefix:ed}:{},[ed]),ey=(0,ea.useMemo)(()=>ec?{suffix:ec}:{},[ec]);return(0,Z.jsx)(es.ZP,{start:ef?C:0,preserveValue:!0,delay:0,end:C,...eb,...ey,decimals:el,duration:1,separator:",",children:_=>{let{countUpRef:C}=_;return(0,Z.jsx)(eo.Z,{color:eu?"textDisabled":L,style:ep?{textDecoration:"line-through"}:void 0,onClick:eh,...em,children:(0,Z.jsx)("span",{ref:C})})}})}},87191:function(_,C,L){"use strict";var Z=L(97458),ea=L(52983),es=L(87653),eo=L(29153),el=L.n(eo),eu=L(8819),ec=L.n(eu),ed=L(50305),eh=L.n(ed),ep=L(99835),ef=L.n(ep),em=L(87333),eb=L(74609);C.Z=_=>{let{value:C,fontSize:L,...eo}=_,eu=(0,ea.useMemo)(()=>(0,es.Z)(C),[C]),ed=(0,ea.useMemo)(()=>
522{if(eu)return null;let _=eh()(ef()(C),/,/g,"");return ec()(_)||ec()(el()(_))?0:el()(_)},[C,eu]);return eu?(0,Z.jsx)(eb.Z,{}):(0,Z.jsx)(em.Z,{...eo,value:ed,fontSize:L})}},53071:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(16169),es=L(47287),eo=L(38034),el=L(23690),eu=L(14188);C.Z=_=>{let{value:C,placeholder:L="0.0",onUserInput:ec,currencyValue:ed,inputProps:eh,innerRef:ep,isWarning:ef=!1,decimals:em=18,unit:eb,switchEditingUnits:ey,...eg}=_;return(0,Z.jsx)(eu.FX,{isWarning:ef,...eg,children:(0,Z.jsxs)(ea.Z,{justifyContent:"flex-end",children:[(0,Z.jsxs)(es.ZP,{width:"100%",children:[(0,Z.jsxs)(ea.Z,{alignItems:"center",children:[(0,Z.jsx)(eu.Fy,{pattern:`^[0-9]*[.,]?[0-9]{0,${em}}$`,inputMode:"decimal",min:"0",value:C,onChange:_=>{_.currentTarget.validity.valid&&ec(_.currentTarget.value.replace(/,/g,"."))},placeholder:L,ref:ep,...eh}),eb&&(0,Z.jsx)(eu.HH,{children:eb})]}),ed&&(0,Z.jsx)(el.Z,{fontSize:"12px",textAlign:"right",color:"textSubtle",children:ed})]}),ey&&(0,Z.jsx)(ea.Z,{alignItems:"center",pl:"12px",children:(0,Z.jsx)(eu.sN,{scale:"sm",variant:"text",onClick:ey,children:(0,Z.jsx)(eo.Z,{color:"textSubtle"})})})]})})}},14188:function(_,C,L){"use strict";L.d(C,{FX:function(){return ed},Fy:function(){return eh},HH:function(){return ec},sN:function(){return eu}});var Z=L(62656),ea=L(47287),es=L(88640),eo=L(23690),el=L(17778);let eu=(0,Z.zo)(el.Z)`
523  width: 16px;
524`,ec=(0,Z.zo)(eo.Z)`
525  margin-left: 4px;
526  text-align: right;
527  color: ${_=>{let{theme:C}=_;return C.colors.textSubtle}};
528  white-space: nowrap;
529`,ed=(0,Z.zo)(ea.ZP)`
530  background-color: ${_=>{let{theme:C}=_;return C.colors.input}};
531  border: 1px solid ${_=>{let{theme:C}=_;return C.colors.inputSecondary}};
532  border-radius: 16px;
533  box-shadow: ${_=>{let{theme:C,isWarning:L}=_;return C.shadows[L?"warning":"inset"]}};
534  padding: 8px 16px;
535`,eh=(0,Z.zo)(es.Z)`
536  background: transparent;
537  border-radius: 0;
538  box-shadow: none;
539  padding-left: 0;
540  padding-right: 0;
541  text-align: ${_=>{let{textAlign:C="right"}=_;return C}};
542  border: none;
543
544  ::placeholder {
545    color: ${_=>{let{theme:C}=_;return C.colors.textSubtle}};
546  }
547
548  &:focus:not(:disabled) {
549    box-shadow: none;
550  }
551`},88111:function(_,C,L){"use strict";L.d(C,{Q4:function(){return es},SE:function(){return ea},qt:function(){return eo}});var Z=L(62656);let ea=Z.F4`
552    0% {
553      transform: translateY(20%);
554    }
555    100% {
556      transform: translateY(0%);
557    }
558  `,es=Z.F4`
559    0% {
560      transform: translateY(0%);
561    }
562    100% {
563      transform: translateY(20%);
564    }
565  `,eo=Z.zo.div`
566  width: 100%;
567  height: 80vh;
568  bottom: 0;
569  background-color: ${_=>{let{theme:C}=_;return C.colors.backgroundAlt}};
570  border-top-left-radius: 32px;
571  border-top-right-radius: 32px;
572  position: fixed;
573  animation: ${ea} 350ms ease forwards;
574  padding-bottom: env(safe-area-inset-bottom);
575  html[data-useragent*="TokenPocket_iOS"] & {
576    padding-bottom: 45px;
577  }
578  will-change: transform;
579  z-index: 21;
580  ${_=>{let{isUnmounting:C}=_;return C&&Z.iv`
581      animation: ${es} 350ms ease forwards;
582    `}}
583`},47287:function(_,C,L){"use strict";L.d(C,{uH:function(){return el}});var Z=L(80674),ea=L(21058),es=L(62656),eo=L(13729);let el=(0,es.zo)(Z.m.div).withConfig({})`
584  ${eo.Oq}
585  ${eo.Cg}
586  ${eo.bK}
587  ${eo.FK}
588  ${eo.Dh}
589`,eu=es.zo.div.withConfig({shouldForwardProp:ea.ZP})`
590  ${eo.Oq}
591  ${eo.Cg}
592  ${eo.bK}
593  ${eo.FK}
594  ${eo.Dh}
595  ${eo.$_}
596`;C.ZP=eu},16169:function(_,C,L){"use strict";var Z=L(62656),ea=L(13729),es=L(47287);let eo=(0,Z.zo)(es.ZP)`
597  display: flex;
598  ${ea.GQ}
599`;C.Z=eo},85321:function(_,C,L){"use strict";var Z=L(62656),ea=L(13729),es=L(47287);let eo=(0,Z.zo)(es.ZP)`
600  display: grid;
601  ${ea.GQ}
602  ${ea.eC}
603`;C.Z=eo},54177:function(_,C,L){"use strict";var Z=L(97458),ea=L(62656),es=L(38269);C.Z=_=>{let C=(0,ea.Fg)(),L=C.isDark?"#3C3742":"#e9eaeb",eo=C.isDark?"#666171":"#bdc2c4";return(0,Z.jsxs)(es.Z,{width:"80",height:"80",viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg",..._,children:[(0,Z.jsx)("path",{d:"M80 40.0001C80 62.0914 62.0914 80.0001 40 80.0001C17.9086 80.0001 0 62.0914 0 40.0001C0 17.9087 17.9086 6.10352e-05 40 6.10352e-05C62.0914 6.10352e-05 80 17.9087 80 40.0001Z",fill:L}),(0,Z.jsx)("mask",{id:"mask0_1825_148632",style:{maskType:"alpha"}
603,maskUnits:"userSpaceOnUse",x:"4",y:"4",width:"72",height:"72",children:(0,Z.jsx)("path",{d:"M75.8333 40.0001C75.8333 59.7903 59.7902 75.8334 40 75.8334C20.2098 75.8334 4.16663 59.7903 4.16663 40.0001C4.16663 20.2099 20.2098 4.16675 40 4.16675C59.7902 4.16675 75.8333 20.2099 75.8333 40.0001Z",fill:"#C4C4C4"})}),(0,Z.jsxs)("g",{mask:"url(#mask0_1825_148632)",children:[(0,Z.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.3253 25.8504C29.0321 25.7068 33.4249 30.8086 32.4489 36.4309L30.7598 46.1606C33.5887 45.6126 36.5893 45.3194 39.6921 45.3194C41.8959 45.3194 44.0471 45.4673 46.1211 45.749L54.7625 32.8585C57.5237 28.7396 63.101 27.639 67.2199 30.4001C71.9808 33.5918 72.5729 40.3666 68.4376 44.3356L61.3984 51.092C66.5606 54.4454 70.1451 59.2196 70.1451 64.8962V69.2467C70.1451 75.1599 66.2331 80.1109 60.7641 83.453C55.2525 86.8213 47.7962 88.8236 39.6921 88.8236C31.5881 88.8236 24.1318 86.8213 18.6201 83.453C13.1512 80.1109 9.23914 75.1599 9.23914 69.2467V64.8963C9.23918 60.4762 11.4404 56.5743 14.8205 53.5094L14.4557 35.1282C14.3565 30.1278 18.3255 25.9761 23.3253 25.8504ZM17.3523 54.6126C17.3337 54.4569 17.3226 54.2987 17.3194 54.1384L16.9412 35.0788C16.8691 31.446 19.7554 28.4269 23.3878 28.3355C27.5236 28.2315 30.7079 31.9256 29.9995 36.0057L27.6635 49.4625C28.5201 49.2127 29.4009 48.9888 30.3029 48.7924C33.2376 48.1533 36.3984 47.8054 39.6921 47.8054C42.4028 47.8054 45.0235 48.041 47.5022 48.4807C47.6361 48.0677 47.8288 47.6661 48.0825 47.2876L56.8274 34.2427C58.8241 31.2643 62.8572 30.4684 65.8356 32.4651C69.2784 34.773 69.7065 39.672 66.7162 42.5421L57.2743 51.6045C58.0712 51.9986 58.8318 52.419 59.5528 52.8634C64.5638 55.952 67.6591 60.2032 67.6592 64.8962V69.2467C67.6592 78.6857 55.1379 86.3376 39.6921 86.3376C24.2464 86.3376 11.7251 78.6857 11.7251 69.2467V64.8963C11.7251 61.0357 13.8197 57.474 17.3523 54.6126Z",fill:eo}),(0,Z.jsx)("path",{d:"M67.6592 69.2467C67.6592 78.6857 55.1379 86.3376 39.6921 86.3376C24.2464 86.3376 11.7251 78.6857 11.7251 69.2467V64.8962H67.6592V69.2467Z",fill:L}),(0,Z.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M29.9995 36.0057C30.7079 31.9256 27.5236 28.2315 23.3878 28.3355C19.7554 28.4269 16.8691 31.446 16.9412 35.0788L17.3194 54.1384C17.3226 54.2987 17.3337 54.4568 17.3523 54.6126C13.8197 57.474 11.7251 61.0357 11.7251 64.8963C11.7251 74.3354 24.2464 81.9873 39.6921 81.9873C55.1379 81.9873 67.6592 74.3354 67.6592 64.8963C67.6592 59.528 63.6091 54.7378 57.2743 51.6045L66.7162 42.5421C69.7065 39.672 69.2784 34.773 65.8356 32.465C62.8572 30.4684 58.8241 31.2643 56.8274 34.2427L48.0825 47.2876C47.8288 47.6661 47.6361 48.0677 47.5022 48.4807C45.0235 48.041 42.4029 47.8053 39.6921 47.8053C35.386 47.8053 31.3071 48.4001 27.6635 49.4625L29.9995 36.0057Z",fill:L}),(0,Z.jsx)("path",{d:"M35.6526 63.6534C35.6526 66.2276 34.2614 68.3145 32.5452 68.3145C30.829 68.3145 29.4377 66.2276 29.4377 63.6534C29.4377 61.0791 30.829 58.9922 32.5452 58.9922C34.2614 58.9922 35.6526 61.0791 35.6526 63.6534Z",fill:eo}),(0,Z.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M32.1012 60.0391C32.7345 60.9891 33.1666 62.3731 33.1666 63.9639C33.1666 64.6504 33.7231 65.2069 34.4096 65.2069C35.0961 65.2069 35.6526 64.6504 35.6526 63.9639C35.6526 61.9508 35.1108 60.0719 34.1696 58.6601C33.2342 57.257 31.8054 56.1953 30.0592 56.1953C28.3129 56.1953 26.8842 57.257 25.9487 58.6601C25.0075 60.0719 24.4658 61.9508 24.4658 63.9639C24.4658 65.0554 24.6247 66.1007 24.9161 67.0513C25.1172 67.7076 25.8124 68.0766 26.4687 67.8754C27.1251 67.6742 27.494 66.979 27.2929 66.3227C27.0761 65.6157 26.9517 64.8164 26.9517 63.9639C26.9517 62.3731 27.3839 60.9891 28.0172 60.0391C28.6563 59.0804 29.4027 58.6813 30.0592 58.6813C30.7156 58.6813 31.4621 59.0804 32.1012 60.0391Z",fill:eo}),(0,Z.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M53.5426 60.0391C54.1759 60.9891 54.608 62.3731 54.608 63.9639C54.608 64.6504 55.1645 65.2069 55.851 65.2069C56.5375 65.2069 57.094 64.6504 57.094 63.9639C57.094 61.9508 56.5522 60.0719 55.611 58.6601C54.6756 57.257 53.2468 56.1953 51.5006 56.1953C49.7543 56.1953 48.3256 57.257 47.3901 58.6601C46.4489 60.0719 45.9072 61.9508 45.9072 63.9639C45.9072 65.0554 46.0661 66.1007 46.3575 67.0513C46.5586 67.7076 47.2538 68.0766 47.9101 67.8754C48.5665 67.6742 48.9354 66.979 48.7343 66.3227C48.5176 65.6157 48.3931 64.8164 48.3931 63.9639C48.3931 62.3731 48.8253 60.9891 49.4586 60.0391C50.0977 59.0804 50.8441 58.6813 51.5006 58.6813C52.157 58.6813 52.9035 59.0804 53.5426 60.0391Z",fill:eo}),(0,Z.jsx)("path",{d:"M57.0938 63.6534C57.0938 66.2276 55.7025 68.3145 53.9864 68.3145C52.2702 68.3145 50.8789 66.2276 50.8789 63.6534C50.8789 61.0791 52.2702 58.9922 53.9864 58.9922C55.7025 58.9922 57.0938 61.
6030791 57.0938 63.6534Z",fill:eo}),(0,Z.jsx)("path",{d:"M39.8625 34.7469L36.2414 31.8519L42.5578 19.2988L47.6794 23.3934L51.0824 16.6287L49.3503 15.2447L55.9523 12.0001L56.4369 20.9076L54.7035 19.5238L49.2165 30.4298L44.0949 26.3352L39.8625 34.7469Z",fill:eo})]}),(0,Z.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M79.982 41.2112L77.4831 41.1368C77.4943 40.7594 77.5 40.3804 77.5 40.0001C77.5 39.6197 77.4943 39.2407 77.4831 38.8633L79.982 38.789C79.994 39.1912 80 39.5949 80 40.0001C80 40.4052 79.994 40.8089 79.982 41.2112ZM79.8382 36.3776L77.3482 36.6011C77.2803 35.8449 77.19 35.0953 77.0779 34.3529L79.5499 33.9798C79.6695 34.7717 79.7658 35.5712 79.8382 36.3776ZM79.1169 31.6016L76.672 32.124C76.5136 31.3824 76.3332 30.649 76.1316 29.9245L78.5402 29.2544C78.7553 30.0276 78.9478 30.8103 79.1169 31.6016ZM77.8219 26.9473L75.4586 27.7627C75.2117 27.0472 74.9438 26.3414 74.6555 25.6462L76.9648 24.6885C77.2724 25.4305 77.5584 26.1836 77.8219 26.9473ZM75.9718 22.4857L73.7249 23.5817C73.3932 22.9017 73.0414 22.2331 72.6704 21.5767L74.8469 20.3466C75.2426 21.0468 75.6179 21.7601 75.9718 22.4857ZM73.5948 18.2798L71.4966 19.6391C71.0855 19.0045 70.6557 18.3831 70.208 17.7757L72.2205 16.2924C72.6979 16.9402 73.1563 17.603 73.5948 18.2798ZM70.7289 14.3912L68.8093 15.9927C68.3251 15.4124 67.8236 14.8468 67.3058 14.2969L69.1258 12.583C69.6779 13.1693 70.2126 13.7723 70.7289 14.3912ZM67.4171 10.8743L65.7032 12.6943C65.1533 12.1764 64.5877 11.675 64.0073 11.1908L65.6088 9.27114C66.2277 9.78745 66.8307 10.3221 67.4171 10.8743ZM63.7076 7.7796L62.2244 9.79206C61.6169 9.34434 60.9955 8.91453 60.3609 8.50342L61.7203 6.40526C62.3971 6.84376 63.0598 7.30214 63.7076 7.7796ZM59.6535 5.1532L58.4233 7.32961C57.767 6.95863 57.0984 6.6069 56.4183 6.27516L57.5144 4.02824C58.24 4.38219 58.9533 4.75745 59.6535 5.1532ZM55.3115 3.03528L54.3539 5.34459C53.6586 5.05629 52.9529 4.78832 52.2373 4.54142L53.0528 2.17815C53.8164 2.44165 54.5696 2.72762 55.3115 3.03528ZM50.7456 1.4599L50.0755 3.86842C49.351 3.66684 48.6176 3.48647 47.8761 3.32802L48.3984 0.883207C49.1898 1.05229 49.9724 1.24477 50.7456 1.4599ZM46.0203 0.450115L45.6471 2.92211C44.9048 2.81006 44.1552 2.71975 43.3989 2.65186L43.6224 0.161873C44.4288 0.234259 45.2284 0.330579 46.0203 0.450115ZM41.2111 0.0180454C40.8089 0.00608403 40.4051 6.10352e-05 40 6.10352e-05C39.5949 6.10352e-05 39.1911 0.00608406 38.7889 0.0180455L38.8632 2.51694C39.2407 2.50572 39.6196 2.50006 40 2.50006C40.3804 2.50006 40.7593 2.50572 41.1368 2.51694L41.2111 0.0180454ZM36.3776 0.161873L36.6011 2.65186C35.8448 2.71975 35.0952 2.81006 34.3529 2.92211L33.9797 0.450116C34.7716 0.330579 35.5712 0.23426 36.3776 0.161873ZM31.6016 0.883208L32.1239 3.32802C31.3824 3.48647 30.649 3.66684 29.9245 3.86842L29.2544 1.4599C30.0276 1.24477 30.8102 1.05229 31.6016 0.883208ZM26.9472 2.17815L27.7627 4.54142C27.0471 4.78832 26.3414 5.05629 25.6461 5.3446L24.6885 3.03528C25.4304 2.72762 26.1836 2.44165 26.9472 2.17815ZM22.4856 4.02824L23.5817 6.27517C22.9016 6.6069 22.233 6.95864 21.5767 7.32962L20.3465 5.1532C21.0467 4.75745 21.76 4.38219 22.4856 4.02824ZM18.2797 6.40527L19.639 8.50342C19.0045 8.91454 18.3831 9.34434 17.7756 9.79207L16.2924 7.7796C16.9402 7.30215 17.6029 6.84376 18.2797 6.40527ZM14.3911 9.27114L15.9927 11.1908C15.4123 11.675 14.8467 12.1764 14.2968 12.6943L12.5829 10.8743C13.1693 10.3221 13.7723 9.78745 14.3911 9.27114ZM10.8742 12.583L12.6942 14.2969C12.1764 14.8468 11.6749 15.4124 11.1907 15.9928L9.27108 14.3912C9.78739 13.7723 10.322 13.1693 10.8742 12.583ZM7.77954 16.2924L9.792 17.7757C9.34428 18.3831 8.91447 19.0045 8.50336 19.6391L6.4052 18.2798C6.84369 17.603 7.30208 16.9402 7.77954 16.2924ZM5.15314 20.3466L7.32955 21.5767C6.95857 22.2331 6.60684 22.9017 6.2751 23.5817L4.02818 22.4857C4.38213 21.7601 4.75739 21.0468 5.15314 20.3466ZM3.03522 24.6886L5.34453 25.6462C5.05623 26.3414 4.78826 27.0472 4.54136 27.7627L2.17809 26.9473C2.44159 26.1836 2.72756 25.4305 3.03522 24.6886ZM1.45984 29.2544L3.86836 29.9245C3.66678 30.649 3.48641 31.3824 3.32796 32.124L0.883146 31.6016C1.05223 30.8103 1.24471 30.0277 1.45984 29.2544ZM0.450054 33.9798L2.92205 34.3529C2.81 35.0953 2.71969 35.8449 2.6518 36.6012L0.161811 36.3776C0.234198 35.5712 0.330518 34.7717 0.450054 33.9798ZM0.0179843 38.789C0.006023 39.1912 0 39.5949 0 40.0001C0 40.4052 0.00602303 40.8089 0.0179844 41.2112L2.51688 41.1368C2.50565 40.7594 2.5 40.3804 2.5 40.0001C2.5 39.6197 2.50565 39.2407 2.51688 38.8633L0.0179843 38.789ZM0.161812 43.6225L2.6518 43.399C2.71969 44.1552 2.81 44.9049 2.92205 45.6472L0.450055 46.0203C0.330518 45.2284 0.234199 44.4289 0.161812 43.6225ZM0.883147 48.3985L3.32796 47.8761C3.48641 48.6177 3.66678 49.3511 3.86836 50.0756L1.45984 50.7457C1.24471 49.9725 1.05223 49.1898 0.883147 48.3985ZM2.17809 53.0528L4.54136 52.2374C4.78826 52.9529 5.05623 53.6587 5.34454 54.3539L3.03522 55.3116C2.72756 54.5697 2.44159 53.8165 2.17809 53.0528ZM4.02818 57.5145L6.2751 56.4184C6.60684 57.0985 6.95858 57.7671 7.32956 58.4234L5.15314 59.6535C4.75739 58.9534 4.38213 58.2401 4.02818 57.5145ZM6.40521 61.7203L8.50336 60.361C8.91448 60.9956 9.34428 61.617 9.792 62.2245L7.77954 63.7077C7.30209 63.0599 6.8437 62.3972 6.40521 61.7203ZM9.27108 65.6089L11.1907 64.0074C11.6749 64.5878 12.1764 65.1533 12.6942 65.7033L10.8742 67.4172C10.322 66.8308 9.78739 66.2278 9.27108 65.6089ZM12.5829 69.1259L14.2968 67.3058C14.8467 67.8237 15.4123 68.3251 15.9927 68.8093L14.39
60311 70.729C13.7723 70.2127 13.1693 69.678 12.5829 69.1259ZM16.2924 72.2205L17.7756 70.2081C18.3831 70.6558 19.0045 71.0856 19.6391 71.4967L18.2797 73.5948C17.6029 73.1564 16.9402 72.698 16.2924 72.2205ZM20.3465 74.8469L21.5767 72.6705C22.233 73.0415 22.9016 73.3932 23.5817 73.725L22.4856 75.9719C21.76 75.6179 21.0467 75.2427 20.3465 74.8469ZM24.6885 76.9648L25.6461 74.6555C26.3414 74.9438 27.0471 75.2118 27.7627 75.4587L26.9472 77.822C26.1836 77.5585 25.4304 77.2725 24.6885 76.9648ZM29.2544 78.5402L29.9245 76.1317C30.649 76.3333 31.3824 76.5136 32.1239 76.6721L31.6016 79.1169C30.8102 78.9478 30.0276 78.7553 29.2544 78.5402ZM33.9797 79.55L34.3529 77.078C35.0952 77.1901 35.8448 77.2804 36.6011 77.3483L36.3776 79.8382C35.5712 79.7659 34.7716 79.6695 33.9797 79.55ZM38.7889 79.9821L38.8632 77.4832C39.2407 77.4944 39.6196 77.5001 40 77.5001C40.3804 77.5001 40.7593 77.4944 41.1368 77.4832L41.2111 79.9821C40.8089 79.994 40.4051 80.0001 40 80.0001C39.5949 80.0001 39.1911 79.994 38.7889 79.9821ZM43.6224 79.8382L43.3989 77.3483C44.1552 77.2804 44.9048 77.1901 45.6471 77.078L46.0203 79.55C45.2284 79.6695 44.4288 79.7659 43.6224 79.8382ZM48.3984 79.1169L47.8761 76.6721C48.6176 76.5136 49.351 76.3333 50.0755 76.1317L50.7456 78.5402C49.9724 78.7553 49.1898 78.9478 48.3984 79.1169ZM53.0528 77.822L52.2373 75.4587C52.9529 75.2118 53.6586 74.9438 54.3539 74.6555L55.3115 76.9648C54.5696 77.2725 53.8164 77.5585 53.0528 77.822ZM57.5144 75.9719L56.4183 73.725C57.0984 73.3932 57.767 73.0415 58.4233 72.6705L59.6535 74.8469C58.9533 75.2427 58.24 75.6179 57.5144 75.9719ZM61.7203 73.5948L60.361 71.4967C60.9955 71.0856 61.6169 70.6558 62.2244 70.2081L63.7076 72.2205C63.0598 72.698 62.3971 73.1564 61.7203 73.5948ZM65.6089 70.729L64.0073 68.8093C64.5877 68.3251 65.1533 67.8237 65.7032 67.3058L67.4171 69.1259C66.8307 69.678 66.2277 70.2127 65.6089 70.729ZM69.1258 67.4172L67.3058 65.7032C67.8236 65.1533 68.3251 64.5878 68.8093 64.0074L70.7289 65.6089C70.2126 66.2278 69.678 66.8308 69.1258 67.4172ZM72.2205 63.7077L70.208 62.2245C70.6557 61.617 71.0855 60.9956 71.4966 60.361L73.5948 61.7203C73.1563 62.3972 72.6979 63.0599 72.2205 63.7077ZM74.8469 59.6535L72.6704 58.4234C73.0414 57.767 73.3932 57.0985 73.7249 56.4184L75.9718 57.5144C75.6179 58.24 75.2426 58.9533 74.8469 59.6535ZM76.9648 55.3116L74.6555 54.3539C74.9438 53.6587 75.2117 52.9529 75.4586 52.2374L77.8219 53.0528C77.5584 53.8165 77.2724 54.5697 76.9648 55.3116ZM78.5402 50.7457L76.1316 50.0756C76.3332 49.3511 76.5136 48.6177 76.672 47.8761L79.1169 48.3985C78.9478 49.1898 78.7553 49.9725 78.5402 50.7457ZM79.5499 46.0203L77.0779 45.6472C77.19 44.9049 77.2803 44.1552 77.3482 43.399L79.8382 43.6225C79.7658 44.4289 79.6695 45.2284 79.5499 46.0203Z",fill:eo})]})}},42933:function(_,C,L){"use strict";L.d(C,{Z:function(){return em}});var Z=L(97458),ea=L(14517),es=L(52983),eo=L(77741),el=L(62656),eu=L(13729),ec=L(95118),ed=L(40450);let eh={[ec.Q.MD]:{height:"48px",padding:"0 24px"},[ec.Q.SM]:{height:"32px",padding:"0 16px"},[ec.Q.XS]:{height:"20px",fontSize:"12px",padding:"0 8px"}},ep={[ec.o.PRIMARY]:{backgroundColor:"primary",color:"invertedContrast"},[ec.o.SECONDARY]:{backgroundColor:"transparent",border:"2px solid",borderColor:"primary",boxShadow:"none",color:"primary",":disabled":{backgroundColor:"transparent"}},[ec.o.TERTIARY]:{backgroundColor:"tertiary",boxShadow:"none",color:"primary"},[ec.o.SUBTLE]:{backgroundColor:"textSubtle",color:"backgroundAlt"},[ec.o.DANGER]:{backgroundColor:"failure",color:"white"},[ec.o.SUCCESS]:{backgroundColor:"success",color:"white"},[ec.o.TEXT]:{backgroundColor:"transparent",color:"primary",boxShadow:"none"},[ec.o.LIGHT]:{backgroundColor:"input",color:"textSubtle",boxShadow:"none"},[ec.o.BUBBLEGUM]:{background:ed.g.colors.gradientBubblegum,color:"textSubtle",boxShadow:"none",":disabled":{background:ed.g.colors.disabled}}},ef=(0,el.zo)("button").withConfig({shouldForwardProp:_=>!["fullWidth"].includes(_)})`
604  position: relative;
605  align-items: center;
606  border: 0;
607  border-radius: 16px;
608  box-shadow: 0px -1px 0px 0px rgba(14, 14, 44, 0.4) inset;
609  cursor: pointer;
610  display: inline-flex;
611  font-family: inherit;
612  font-size: 16px;
613  font-weight: 600;
614  justify-content: center;
615  letter-spacing: 0.03em;
616  line-height: 1;
617  opacity: ${_=>{let{$isLoading:C=!1}=_;return C?".5":"1"}};
618  outline: 0;
619  transition: background-color 0.2s, opacity 0.2s;
620
621  &:focus-visible {
622    outline: none;
623    box-shadow: ${_=>{let{theme:C}=_;return C.shadows.focus}};
624  }
625
626  @media (hover: hover) {
627    &:hover:not(:disabled):not(.pancake-button--disabled):not(.pancake-button--disabled):not(:active) {
628      opacity: 0.65;
629    }
630  }
631
632  &:active:not(:disabled):not(.pancake-button--disabled):not(.pancake-button--disabled) {
633    opacity: 0.85;
634    transform: translateY(1px);
635    box-shadow: none;
636  }
637
638  ${_=>{let{$isLoading:C,theme:L}=_;return!0===C?`
639      &:disabled,
640      &.pancake-button--disabled {
641        cursor: not-allowed;
642      }
643    `:`
644    &:disabled,
645    &.pancake-button--disabled {
646      background-color: ${L.colors.backgroundDisabled};
647      border-color: ${L.colors.backgroundDisabled};
648      box-shadow: none;
649      color: ${L.colors.textDisabled};
650      cursor: not-allowed;
651    }
652  `}}
653  ${(0,eu.bU)({prop:"scale",variants:eh})}
654  ${(0,eu.bU)({variants:ep})}
655  ${eu.bK}
656  ${eu.Dh}
657  ${_=>{var C,L;let{decorator:Z,theme:ea}=_;return Z&&el.iv`
658      &::before {
659        content: "${Z.text}";
660        position: absolute;
661        border-bottom: 20px solid ${null!==(C=Z.backgroundColor)&&void 0!==C?C:ea.colors.secondary};
662        border-left: 34px solid transparent;
663        border-right: 12px solid transparent;
664        height: 0;
665        top: -1px;
666        right: -12px;
667        width: 75px;
668        text-align: center;
669        padding-right: 30px;
670        line-height: 20px;
671        font-size: 12px;
672        font-weight: 400;
673        transform: rotate(31.17deg);
674        color: ${null!==(L=Z.color)&&void 0!==L?L:"white"};
675      }
676    `}}
677`,Button=_=>{let{startIcon:C,endIcon:L,external:el,className:eu,isLoading:ec,disabled:ed,children:eh,...ep}=_,em=el?eo.Z:{},eb=ec||ed;return(0,Z.jsx)(ef,{$isLoading:ec,className:(0,ea.default)(eu,{"pancake-button--loading":ec,"pancake-button--disabled":eb&&!ec}),disabled:eb,...em,...ep,children:(0,Z.jsxs)(Z.Fragment,{children:[(0,es.isValidElement)(C)&&(0,es.cloneElement)(C,{mr:"0.5rem"}),eh,(0,es.isValidElement)(L)&&(0,es.cloneElement)(L,{ml:"0.5rem"})]})})};Button.defaultProps={isLoading:!1,external:!1,variant:ec.o.PRIMARY,scale:ec.Q.MD,disabled:!1};var em=Button},60329:function(_,C,L){"use strict";L.d(C,{L:function(){return ExpandableLabel},N:function(){return ExpandableButton}});var Z=L(97458);L(52983);var ea=L(52232),es=L(73401),eo=L(42933),el=L(17778);let ExpandableButton=_=>{let{onClick:C,expanded:L,children:eo,...eu}=_;return(0,Z.jsxs)(el.Z,{"aria-label":"Hide or show expandable content",onClick:C,...eu,children:[eo,L?(0,Z.jsx)(ea.Z,{color:"invertedContrast"}):(0,Z.jsx)(es.Z,{color:"invertedContrast"})]})};ExpandableButton.defaultProps={expanded:!1};let ExpandableLabel=_=>{let{onClick:C,expanded:L,children:el,...eu}=_;return(0,Z.jsx)(eo.Z,{paddingRight:0,variant:"text","aria-label":"Hide or show expandable content",onClick:C,endIcon:L?(0,Z.jsx)(ea.Z,{color:"primary"}):(0,Z.jsx)(es.Z,{color:"primary"}),...eu,children:el})};ExpandableLabel.defaultProps={expanded:!1}},17778:function(_,C,L){"use strict";var Z=L(62656),ea=L(42933);let es=(0,Z.zo)(ea.Z)`
678  padding: 2px;
679  width: ${_=>{let{scale:C}=_;return"xs"===C?"auto":"sm"===C?"32px":"48px"}};
680`;C.Z=es},95118:function(_,C,L){"use strict";L.d(C,{Q:function(){return Z},o:function(){return ea}});let Z={MD:"md",SM:"sm",XS:"xs"},ea={PRIMARY:"primary",SECONDARY:"secondary",TERTIARY:"tertiary",TEXT:"text",DANGER:"danger",SUBTLE:"subtle",SUCCESS:"success",LIGHT:"light",BUBBLEGUM:"bubblegum"}},52832:function(_,C,L){"use strict";var Z=L(97458),ea=L(52983),es=L(62656),eo=L(13729),el=L(95118);let eu=es.zo.div.withConfig({shouldForwardProp:_=>!["fullWidth"].includes(_)})`
681  background-color: ${_=>{let{theme:C,variant:L}=_;return C.colors[L===el.o.SUBTLE?"input":"tertiary"]}};
682  border-radius: 16px;
683  display: ${_=>{let{fullWidth:C}=_;return C?"flex":"inline-flex"}};
684  border: 1px solid ${_=>{let{theme:C,variant:L}=_;return C.colors[L===el.o.SUBTLE?"inputSecondary":"disabled"]}};
685  width: ${_=>{let{fullWidth:C}=_;return C?"100%":"auto"}};
686
687  & > button,
688  & > a {
689    flex: ${_=>{let{fullWidth:C}=_;return C?1:"auto"}};
690  }
691
692  & > button + button,
693  & > a + a {
694    margin-left: 2px; // To avoid focus shadow overlap
695  }
696
697  & > button,
698  & a {
699    box-shadow: none;
700  }
701
702  ${_=>{let{disabled:C,theme:L,variant:Z}=_;return C?`
703        opacity: 0.5;
704
705        & > button:disabled {
706          color: ${Z===el.o.PRIMARY?L.colors.primary:L.colors.textSubtle};
707        }
708    `:""}}
709  ${eo.Dh}
710`;C.Z=_=>{let{activeIndex:C=0,scale:L=el.Q.MD,variant:es=el.o.PRIMARY,onItemClick:eo,disabled:ec,children:ed,fullWidth:eh=!1,...ep}=_;return(0,Z.jsx)(eu,{disabled:ec,variant:es,fullWidth:eh,...ep,children:ea.Children.map(ed,(_,Z)=>(0,ea.cloneElement)(_,{isActive:C===Z,onClick:eo?_=>eo(Z,_):void 0,scale:L,variant:es,disabled:ec}))})}},11556:function(_,C,L){"use strict";var Z=L(97458),ea=L(62656),es=L(42933),eo=L(95118);let el=(0,ea.zo)(es.Z)`
711  background-color: transparent;
712  color: ${_=>{let{theme:C,variant:L}=_;return L===eo.o.PRIMARY?C.colors.primary:C.colors.textSubtle}};
713  &:hover:not(:disabled):not(:active) {
714    background-color: transparent;
715  }
716`;C.Z=_=>{let{isActive:C=!1,variant:L=eo.o.PRIMARY,as:ea,...eu}=_;return C?(0,Z.jsx)(es.Z,{as:ea,variant:L,...eu}):(0,Z.jsx)(el,{forwardedAs:ea,variant:L,...eu})}},27825:function(_,C,L){"use strict";var Z=L(97458),ea=L(52983),es=L(62656),eo=L(57054),el=L(23690),eu=L(74609);let ec=es.zo.a`
717  display: flex;
718  align-items: center;
719  svg {
720    transition: transform 0.3s;
721  }
722  &:hover {
723    svg {
724      transform: scale(1.2);
725    }
726  }
727`;C.Z=ea.memo(_=>{let{cakePriceUsd:C,color:L="textSubtle",showSkeleton:ea=!0,chainId:es}=_;return C?(0,Z.jsxs)(ec,{href:`https://andex.vercel.app/swap?outputCurrency=0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82&chainId=${es}`,target:"_blank",children:[(0,Z.jsx)(eo.Z,{width:"24px",mr:"8px"}),(0,Z.jsx)(el.Z,{color:L,bold:!0,children:`$${C.toFixed(3)}`})]}):ea?(0,Z.jsx)(eu.Z,{width:80,height:24}):null})},36614:function(_,C,L){"use strict";L.d(C,{Z:function(){return Card_Card}});var Z=L(97458);L(52983);var ea=L(21058),es=L(62656),eo=L(13729),el=L(59193),eu=L(47287);let ec=es.zo.div.withConfig({shouldForwardProp:ea.ZP})`
728  background: ${_=>
728{let{isActive:C,isSuccess:L,isWarning:Z,borderBackground:ea,theme:es}=_;return ea||(Z?es.colors.warning:L?es.colors.success:C?`linear-gradient(180deg, ${es.colors.primaryBright}, ${es.colors.secondary})`:es.colors.cardBorder)}};
729  border-radius: ${_=>{let{theme:C}=_;return C.radii.card}};
730  color: ${_=>{let{theme:C,isDisabled:L}=_;return C.colors[L?"textDisabled":"text"]}};
731  overflow: hidden;
732  position: relative;
733
734  ${_=>{let{isActive:C}=_;return C&&es.iv`
735      animation: ${el.DS} 3s ease infinite;
736      background-size: 400% 400%;
737    `}}
738
739  padding: 1px 1px 3px 1px;
740
741  ${eo.Dh}
742`,ed=(0,es.zo)(eu.ZP)`
743  width: 100%;
744  height: 100%;
745  overflow: ${_=>{let{hasCustomBorder:C}=_;return C?"initial":"inherit"}};
746  background: ${_=>{let{theme:C,background:L}=_;return null!=L?L:C.card.background}};
747  border-radius: ${_=>{let{theme:C}=_;return C.radii.card}};
748`;ec.defaultProps={isActive:!1,isSuccess:!1,isWarning:!1,isDisabled:!1};var Card_Card=_=>{let{ribbon:C,children:L,background:ea,innerCardProps:es,...eo}=_;return(0,Z.jsx)(ec,{...eo,children:(0,Z.jsxs)(ed,{...es,background:ea,hasCustomBorder:!!eo.borderBackground,children:[C,L]})})}}
748,77203:function(_,C,L){"use strict";var Z=L(21058),ea=L(62656),es=L(13729);let eo=ea.zo.div.withConfig({shouldForwardProp:Z.ZP})`
749  ${es.Dh}
750`;eo.defaultProps={p:["16px",null,"24px"]},C.Z=eo},96657:function(_,C,L){"use strict";var Z=L(21058),ea=L(62656),es=L(13729);let eo=ea.zo.div.withConfig({shouldForwardProp:Z.ZP})`
751  border-top: 1px solid ${_=>{let{theme:C}=_;return C.colors.cardBorder}};
752  ${es.Dh}
753`;eo.defaultProps={p:"24px"},C.Z=eo},1413:function(_,C,L){"use strict";var Z=L(21058),ea=L(62656),es=L(13729);let eo=ea.zo.div.withConfig({shouldForwardProp:Z.ZP})`
754  background: ${_=>{let{theme:C,variant:L="default"}=_;return C.card.cardHeaderBackground[L]}};
755  border-radius: ${_=>{let{theme:C}=_;return`${C.radii.card} ${C.radii.card} 0 0`}};
756  ${es.Dh}
757`;eo.defaultProps={p:"24px"},C.Z=eo},80304:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(62656);let es=ea.zo.div`
758  z-index: ${_=>{let{theme:C}=_;return C.zIndices.ribbon}};
759  background-color: ${_=>{let{variantColor:C="secondary",theme:L}=_;return L.colors[C]}};
760  color: white;
761  margin: 0;
762  padding: 8px 0;
763  position: absolute;
764  right: ${_=>{let{ribbonPosition:C}=_;return"right"===C?0:"auto"}};
765  top: 0;
766  text-align: center;
767  transform: ${_=>{let{ribbonPosition:C}=_;return"right"===C?"translateX(30%) translateY(0%) rotate(45deg)":"translateX(0%) translateY(200%) rotate(-45deg)"}};
768  transform-origin: top left;
769  width: 96px;
770
771  &:before,
772  &:after {
773    background-color: ${_=>{let{variantColor:C="secondary",theme:L}=_;return L.colors[C]}};
774    content: "";
775    height: 100%;
776    margin: 0 -1px; /* Removes tiny gap */
777    position: absolute;
778    top: 0;
779    width: 100%;
780  }
781
782  &:before {
783    right: 100%;
784  }
785
786  &:after {
787    left: 100%;
788  }
789
790  & > div {
791    overflow: hidden;
792    text-overflow: ellipsis;
793    white-space: nowrap;
794    width: 96px;
795  }
796`,CardRibbon=_=>{let{variantColor:C,text:L,ribbonPosition:ea,...eo}=_;return(0,Z.jsx)(es,{variantColor:C,ribbonPosition:ea,...eo,children:(0,Z.jsx)("div",{title:L,children:L})})};CardRibbon.defaultProps={ribbonPosition:"right"},C.Z=CardRibbon},29681:function(_,C,L){"use strict";L.d(C,{lP:function(){return ea},Fl:function(){return SwapLineChart}});var Z,ea,es=L(97458),eo=L(82577),el=L(27860),eu=L.n(el),ec=L(79448),ed=L(52983),eh=L(62656),ep=L(38269),Chart_LineChartLoaderSVG=_=>(0,es.jsxs)(ep.Z,{width:"100%",height:"100%",preserveAspectRatio:"none",viewBox:"0 0 100 50",..._,children:[(0,es.jsx)("path",{d:"M 0 49 C 1 49 1 45 4 47 C 7 49 7 35 11 37 C 13 38 14 32 16 34 C 18 35.6667 20 40 22 39 C 24 38 24 34 26 34 C 27 34 29 39 32 36 C 33 35 34 32 35 32 C 37 32 37 35 39 34 C 40 33 39 29 43 31 C 46 32 45 28 47 30 C 50 32 49 22 51 24 Q 53 26 55 24 C 56 23 56 25 57 26 C 58 27 59 28 60 28 C 63 28 66 17 67 16 C 68 15 69 17 70 16 C 71 15 71 13 74 13 C 76 13 76 14 77 15 C 79 17 80 18 82 18 C 83 18 83 17 84 17 C 87 17 89 24 91 24 C 93 24 95 20 96 17 C 97.6667 13.3333 98 9 101 6",stroke:"#7645D9",strokeWidth:"0.2",strokeDasharray:"156",strokeDashoffset:"156",fill:"transparent",opacity:"0.5",filter:"url(#glow)",children:(0,es.jsx)("animate",{id:"firstline",attributeName:"stroke-dashoffset",dur:"2s",from:"156",to:"-156",begin:"0s;firstline.end+0.5s"})}),(0,es.jsx)("path",{d:"M 0 49 C 1 49 1 45 4 47 C 7 49 7 35 11 37 C 13 38 14 32 16 34 C 18 35.6667 20 40 22 39 C 24 38 24 34 26 34 C 27 34 29 39 32 36 C 33 35 34 32 35 32 C 37 32 37 35 39 34 C 40 33 39 29 43 31 C 46 32 45 28 47 30 C 50 32 49 22 51 24 Q 53 26 55 24 C 56 23 56 25 57 26 C 58 27 59 28 60 28 C 63 28 66 17 67 16 C 68 15 69 17 70 16 C 71 15 71 13 74 13 C 76 13 76 14 77 15 C 79 17 80 18 82 18 C 83 18 83 17 84 17 C 87 17 89 24 91 24 C 93 24 95 20 96 17 C 97.6667 13.3333 98 9 101 6",stroke:"#7645D9",strokeWidth:"0.2",strokeDasharray:"156",strokeDashoffset:"156",fill:"transparent",opacity:"0.5",filter:"url(#glow)",children:(0,es.jsx)("animate",{id:"secondline",attributeName:"stroke-dashoffset",dur:"2s",from:"156",to:"-156",begin:"1.3s;secondline.end+0.5s"})}),(0,es.jsx)("defs",{children:(0,es.jsxs)("filter",{id:"glow",children:[(0,es.jsx)("feGaussianBlur",{className:"blur",result:"coloredBlur",stdDeviation:"4"}),(0,es.jsxs)("feMerge",{children:[(0,es.jsx)("feMergeNode",{in:"coloredBlur"}),(0,es.jsx)("feMergeNode",{in:"coloredBlur"}),(0,es.jsx)("feMergeNode",{in:"coloredBlur"}),(0,es.jsx)("feMergeNode",{in:"SourceGraphic"})]})]})})]});(Z=ea||(ea={}))[Z.DAY=0]="DAY",Z[Z.WEEK=1]="WEEK",Z[Z.MONTH=2]="MONTH",Z[Z.YEAR=3]="YEAR";let getChartColors=_=>{let{isChangePositive:C}=_;return C?{gradient1:"#00E7B0",gradient2:"#0C8B6C",stroke:"#31D0AA"}:{gradient1:"#ED4B9E",gradient2:"#ED4B9E",stroke:"#ED4B9E "}},ef={0:"h:mm a",1:"MMM dd",2:"MMM dd",3:"MMM dd"},SwapLineChart=_=>{let{data:C,setHoverValue:L,setHoverDate:Z,isChangePositive:ea,isChartExpanded:el,timeWindow:ep,priceLineData:em,...eb}=_,{isDark:ey}=(0,eh.Fg)(),eg=(0,ed.useMemo)(()=>(null==C?void 0:C.map(_=>{let{time:C,value:L}=_;return{time:Math.floor(C.getTime()/1e3),value:L}}))||[],[C]),{currentLanguage:{locale:ev}}=(0,eo.Z)(),ex=(0,ed.useRef)(null),e_=(0,ed.useMemo)(()=>getChartColors({isChangePositive:ea}),[ea]),[ew,eC]=(0,ed.useState)();(0,ed.useEffect)(()=>{var _,C,ea,es,eo,el;if(!(null==ex?void 0:ex.current))return;let ed=(0,ec.C2)(null==ex?void 0:ex.current,{layout:{background:{color:"transparent"},textColor:ey?"#F4EEFF":"#280D5F"},autoSize:!0,handleScale:!1,handleScroll:!1,rightPriceScale:{scaleMargins:{top:.3,bottom:.1},borderVisible:!1},timeScale:{visible:!0,borderVisible:!1,secondsVisible:!1,tickMarkFormatter:_=>eu().unix(_).format(ef[ep])},grid:{horzLines:{visible:!1},vertLines:{visible:!1}},crosshair:{horzLine:{visible:!0,labelVisible:!0},mode:1,vertLine:{visible:!0,labelVisible:!1,style:3,width:1,color:ey?"#B8ADD2":"#7A6EAA"}}}),eh=null!==(el=null==em?void 0:null===(eo=em.find(_=>"current"===_.title))||void 0===eo?void 0:null===(es=eo.price)||void 0===es?void 0:null===(ea=es.toString())||void 0===ea?void 0:null===(C=ea.split("."))||void 0===C?void 0:null===(_=C[1])||void 0===_?void 0:_.length)&&void 0!==el?el:2,eb=ed.addAreaSeries({lineWidth:2,lineColor:e_.gradient1,topColor:e_.gradient1,bottomColor:ey?"#3c3742":"white",priceFormat:{type:"price",precision:eh,minMove:1/10**eh}});return eb.applyOptions({priceFormat:{type:"price",precision:4,minMove:1e-4}}),eC(ed),eb.setData(eg),em&&em.length>0&&(null==em||em.forEach(_=>
796{eb.createPriceLine({price:_.price,color:_.color,lineWidth:2,lineStyle:ec.TD.Dashed,axisLabelVisible:!0,title:_.title})})),ed.timeScale().fitContent(),ed.subscribeCrosshairMove(_=>{if(eb&&_){var C,ea;let es=_.time;if(!es)return;let eo=new Date(1e3*es),el=`${eo.toLocaleString(ev,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"2-digit",timeZone:"UTC"})} (UTC)`,eu=null!==(ea=null===(C=_.seriesData.get(eb))||void 0===C?void 0:C.value)&&void 0!==ea?ea:0;L&&L(eu),Z&&Z(el)}else L&&L(void 0),Z&&Z(void 0)}),()=>{ed.remove()}},[eg,ey,e_,el,ev,ep,Z,L,em]);let eT=(0,ed.useCallback)(()=>{L&&L(void 0),Z&&Z(void 0)},[L,Z]);return(0,es.jsxs)(es.Fragment,{children:[!ew&&(0,es.jsx)(Chart_LineChartLoaderSVG,{}),(0,es.jsx)("div",{style:{display:"flex",flex:1,height:"100%"},onMouseLeave:eT,children:(0,es.jsx)("div",{style:{flex:1,maxWidth:"100%"},ref:ex,id:"swap-line-chart",...eb})})]})}},19043:function(_,C,L){"use strict";L.d(C,{Z:function(){return eo}});var Z=L(62656);let ea={SM:"sm",MD:"md"},getScale=_=>{let{scale:C}=_;switch(C){case ea.SM:return"24px";case ea.MD:default:return"32px"}},es=Z.zo.input.attrs({type:"checkbox"})`
797  appearance: none;
798  overflow: hidden;
799  cursor: pointer;
800  position: relative;
801  display: inline-block;
802  height: ${getScale};
803  width: ${getScale};
804  vertical-align: middle;
805  transition: background-color 0.2s ease-in-out;
806  border: ${_=>{let{theme:C}=_;return C.isDark?`solid 1px ${C.colors.disabled}`:"0"}};
807  border-radius: 8px;
808  background-color: ${_=>{let{theme:C}=_;return C.colors.cardBorder}};
809  box-shadow: ${_=>{let{theme:C}=_;return C.shadows.inset}};
810
811  &:after {
812    content: "";
813    position: absolute;
814    border-bottom: 2px solid;
815    border-left: 2px solid;
816    border-color: transparent;
817    top: 30%;
818    left: 0;
819    right: 0;
820    width: 50%;
821    height: 25%;
822    margin: auto;
823    transform: rotate(-50deg);
824    transition: border-color 0.2s ease-in-out;
825  }
826
827  &:hover:not(:disabled):not(:checked) {
828    box-shadow: ${_=>{let{theme:C}=_;return C.shadows.focus}};
829  }
830
831  &:focus {
832    outline: none;
833    box-shadow: ${_=>{let{theme:C}=_;return C.shadows.focus}};
834  }
835
836  &:checked {
837    border: 0;
838    background-color: ${_=>{let{theme:C}=_;return C.colors.success}};
839    &:after {
840      border-color: white;
841    }
842  }
843
844  &:disabled {
845    border: 0;
846    cursor: default;
847    opacity: 0.6;
848  }
849`;es.defaultProps={scale:ea.MD};var eo=es},49520:function(_,C,L){"use strict";L.d(C,{Tz:function(){return AutoColumn},lg:function(){return ColumnCenter},sg:function(){return Column}});var Z=L(97458),ea=L(5719);let Column=_=>(0,Z.jsx)(ea.p,{display:"flex",flexDirection:"column",justifyContent:"flex-start",..._}),AutoColumn=_=>{let{gap:C,justify:L,...es}=_;return(0,Z.jsx)(ea.p,{display:"grid",gridAutoRows:"auto",justifyItems:L,rowGap:C,...es})},ColumnCenter=_=>(0,Z.jsx)(Column,{width:"100%",alignItems:"center",..._})},63420:function(_,C,L){"use strict";L.d(C,{g:function(){return CopyAddress}});var Z=L(97458),ea=L(62656),es=L(74073),eo=L(16169),el=L(47287);let eu=(0,ea.zo)(eo.Z)`
850  align-items: center;
851  background-color: ${_=>{let{theme:C}=_;return C.colors.dropdown}};
852  border-radius: 16px;
853  position: relative;
854`,ec=ea.zo.div`
855  flex: 1;
856  position: relative;
857  padding-left: 16px;
858
859  & > input {
860    background: transparent;
861    border: 0;
862    color: ${_=>{let{theme:C}=_;return C.colors.text}};
863    display: block;
864    font-weight: 600;
865    font-size: 16px;
866    padding: 0;
867    width: 100%;
868
869    &:focus {
870      outline: 0;
871    }
872  }
873
874  &:after {
875    background: linear-gradient(
876      to right,
877      ${_=>{let{theme:C}=_;return C.colors.background}}00,
878      ${_=>{let{theme:C}=_;return C.colors.background}}E6
879    );
880    content: "";
881    height: 100%;
882    pointer-events: none;
883    position: absolute;
884    right: 0;
885    top: 0;
886    width: 40px;
887  }
888`,CopyAddress=_=>{let{account:C,tooltipMessage:L,...ea}=_;return(0,Z.jsx)(el.ZP,{position:"relative",...ea,children:(0,Z.jsxs)(eu,{children:[(0,Z.jsx)(ec,{title:C,children:(0,Z.jsx)("input",{type:"text",readOnly:!0,value:C})}),(0,Z.jsx)(eo.Z,{margin:"12px",children:(0,Z.jsx)(es.q,{width:"24px",text:C,tooltipMessage:L})})]})})}},74073:function(_,C,L){"use strict";L.d(C,{q:function(){return CopyButton}});var Z=L(97458),ea=L(52983),es=L(48838),eo=L(32305),el=L(51036),eu=L(17778);let CopyButton=_=>{let{text:C,tooltipMessage:L,width:ec,buttonColor:ed="primary",icon:eh=eo.Z,...ep}
888=_,[ef,em]=(0,ea.useState)(!1),{targetRef:eb,tooltip:ey}=(0,el.Z)(L,{placement:"auto",manualVisible:!0,trigger:"hover"}),eg=(0,ea.useCallback)(()=>{em(!0)},[]),ev=(0,ea.useCallback)(()=>{(0,es.z)(C,eg)},[C,eg]);return(0,ea.useEffect)(()=>{if(ef){let _=setTimeout(()=>{em(!1)},1e3);return()=>clearTimeout(_)}},[ef]),(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)("div",{ref:eb,children:(0,Z.jsx)(eu.Z,{onClick:ev,scale:"sm",variant:"text",style:{width:"auto",position:"relative"},children:(0,Z.jsx)(eh,{color:ed,width:ec,...ep})})}),ef&&ey]})}},48838:function(_,C,L){"use strict";L.d(C,{z:function(){return copyText}});let copyText=(_,C)=>{if(navigator.clipboard&&navigator.permissions)navigator.clipboard.writeText(_).then(C);else if(document.queryCommandSupported("copy")){let L=document.createElement("textarea");L.value=_,document.body.appendChild(L),L.select(),document.execCommand("copy"),document.body.removeChild(L),null==C||C()}}},40288:function(_,C,L){"use strict";var Z=L(97458),ea=L(21058),es=L(52983),eo=L(14633),el=L.n(eo),eu=L(62656),ec=L(44610);let ed=eu.zo.div.withConfig({shouldForwardProp:ea.ZP})`
889  width: max-content;
890  display: flex;
891  flex-direction: column;
892  position: absolute;
893  transform: translate(-50%, 0);
894  left: ${_=>{let{position:C}=_;return"top-right"===C?"100%":"50%"}};
895  bottom: ${_=>{let{position:C}=_;return"top"===C||"top-right"===C?"100%":"auto"}};
896  background-color: ${_=>{let{theme:C}=_;return C.nav.background}};
897  box-shadow: ${_=>{let{theme:C}=_;return C.shadows.level1}};
898  padding: 16px;
899  max-height: 0px;
900  overflow: hidden;
901  z-index: ${_=>{let{theme:C}=_;return C.zIndices.dropdown}};
902  border-radius: ${_=>{let{theme:C}=_;return C.radii.small}};
903  opacity: 0;
904  transition: max-height 0s 0.3s, opacity 0.3s ease-in-out;
905  will-change: opacity;
906  pointer-events: none;
907`,eh=eu.zo.div`
908  position: relative;
909  ${_=>{let{$scrolling:C}=_;return!C&&eu.iv`
910      &:hover ${ed}, &:focus-within ${ed} {
911        opacity: 1;
912        max-height: 400px;
913        overflow-y: auto;
914        transition: max-height 0s 0s, opacity 0.3s ease-in-out;
915        pointer-events: auto;
916      }
917    `}}
918`,Dropdown=_=>{let{target:C,position:L="bottom",children:ea}=_,[eo,eu]=(0,es.useState)(!1),{isMobile:ep}=(0,ec.Z)();return(0,es.useEffect)(()=>{if(ep){let _;let C=el()(()=>{_&&clearTimeout(_),eu(!0),_=setTimeout(()=>{eu(!1)},300)},200);return document.addEventListener("scroll",C),()=>{document.removeEventListener("scroll",C)}}},[ep]),(0,Z.jsxs)(eh,{$scrolling:eo,children:[C,(0,Z.jsx)(ed,{position:L,children:ea})]})};Dropdown.defaultProps={position:"bottom"},C.Z=Dropdown},13787:function(_,C,L){"use strict";var Z=L(97458),ea=L(77837),es=L.n(ea),eo=L(52983),el=L(78263),eu=L(9335),ec=L(98289),ed=L(47287),eh=L(16169),ep=L(41190),ef=L(62842),em=L(92193);C.Z=_=>{let{children:C,isBottomNav:L=!1,showItemsOnMobile:ea=!1,activeItem:eb="",items:ey=[],index:eg,setMenuOpenByIndex:ev,isDisabled:ex,...e_}=_,{linkComponent:ew}=(0,eo.useContext)(ec.p),[eC,eT]=(0,eo.useState)(!1),[eq,ek]=(0,eo.useState)(null),[eS,eE]=(0,eo.useState)(null),eM=ey.length>0,{styles:ej,attributes:eA}=(0,el.D)(eq,eS,{strategy:L?"absolute":"fixed",placement:L?"top":"bottom-start",modifiers:[{name:"offset",options:{offset:[0,L?6:0]}}]}),eD=eC&&(L&&ea||!L);return(0,eo.useEffect)(()=>{let showDropdownMenu=()=>{eT(!0),_.cancel()},_=es()(()=>{eT(!1)},L?100:10);return[eq,eS].forEach(C=>{null==C||C.addEventListener("mouseenter",showDropdownMenu),null==C||C.addEventListener("mouseleave",_)}),()=>{[eq,eS].forEach(C=>{null==C||C.removeEventListener("mouseenter",showDropdownMenu),null==C||C.removeEventListener("mouseleave",_)}),_.cancel()}},[eT,eS,eq,L]),(0,eo.useEffect)(()=>{ev&&void 0!==eg&&ev(_=>({..._,[eg]:eD}))},[eD,ev,eg]),(0,eu.Z)(eq,(0,eo.useCallback)(()=>{eT(!1)},[eT])),(0,Z.jsxs)(ed.ZP,{ref:ek,...e_,children:[(0,Z.jsx)(ed.ZP,{onPointerDown:()=>{eT(_=>!_)},children:C}),eM&&(0,Z.jsx)(ef.Lw,{style:ej.popper,ref:eE,...eA.popper,$isBottomNav:L,$isOpen:eD,children:ey.filter(_=>!_.isMobileOnly).map((_,C)=>{let{type:L=em.l.INTERNAL_LINK,label:ea,href:es="/",status:eo,disabled:el,...eu}=_,ec=(0,Z.jsxs)(eh.Z,{alignItems:"center",children:[ea,eo&&(0,Z.jsx)(ef.Dt,{textTransform:"uppercase",color:eo.color,fontSize:"14px",children:eo.text})]}),ed=es===eb;return(0,Z.jsxs)(ef.gL,{children:[L===em.l.BUTTON&&(0,Z.jsx)(ef.Xi,{$isActive:ed,disabled:el||ex,type:"button",...eu,children:ec}),L===em.l.INTERNAL_LINK&&(0,Z.jsx)(ef.Xi,{$isActive:ed,disabled:el||ex,as:ew,href:es,onClick:()=>{eT(!1)},...eu,children:ec}
918),L===em.l.EXTERNAL_LINK&&(0,Z.jsx)(ef.Xi,{$isActive:ed,disabled:el||ex,as:"a",href:es,target:"_blank",onClick:()=>{eT(!1)},...eu,children:(0,Z.jsxs)(eh.Z,{alignItems:"center",justifyContent:"space-between",width:"100%",children:[ec,(0,Z.jsx)(ep.Z,{color:el?"textDisabled":"textSubtle"})]})}),L===em.l.DIVIDER&&(0,Z.jsx)(ef.uJ,{})]},C)})})]})}},62842:function(_,C,L){"use strict";L.d(C,{Dt:function(){return ec},Lw:function(){return eu},Xi:function(){return es},gL:function(){return eo},uJ:function(){return el}});var Z=L(62656),ea=L(23690);let getTextColor=_=>{let{$isActive:C,disabled:L,theme:Z}=_;return L?Z.colors.textDisabled:C?Z.colors.secondary:Z.colors.textSubtle},es=(0,Z.zo)("button").withConfig({shouldForwardProp:_=>!["confirmModalId"].includes(_)})`
919  align-items: center;
920  border: 0;
921  background: transparent;
922  color: ${_=>{let{theme:C,disabled:L,$isActive:Z}=_;return getTextColor({theme:C,disabled:L,$isActive:Z})}};
923  cursor: pointer;
924  font-weight: ${_=>{let{$isActive:C=!1}=_;return C?"600":"400"}};
925  display: flex;
926  font-size: 16px;
927  height: 48px;
928  justify-content: space-between;
929  outline: 0;
930  padding-left: 16px;
931  padding-right: 16px;
932  width: 100%;
933  pointer-events: ${_=>{let{disabled:C}=_;return C?"none":"inherit"}};
934
935  &:is(button) {
936    cursor: ${_=>{let{disabled:C}=_;return C?"not-allowed":"pointer"}};
937  }
938
939  &:hover:not(:disabled) {
940    background-color: ${_=>{let{theme:C}=_;return C.colors.tertiary}};
941  }
942
943  &:active:not(:disabled) {
944    opacity: 0.85;
945    transform: translateY(1px);
946  }
947`,eo=Z.zo.div`
948  &:first-child ${es} {
949    border-top-left-radius: 8px;
950    border-top-right-radius: 8px;
951  }
952
953  &:last-child ${es} {
954    border-bottom-left-radius: 8px;
955    border-bottom-right-radius: 8px;
956  }
957`,el=Z.zo.hr`
958  border-color: ${_=>{let{theme:C}=_;return C.colors.cardBorder}};
959  border-style: solid;
960  border-width: 1px 0 0;
961  margin: 4px 0;
962`,eu=Z.zo.div`
963  background-color: ${_=>{let{theme:C}=_;return C.card.background}};
964  border: 1px solid ${_=>{let{theme:C}=_;return C.colors.cardBorder}};
965  border-radius: 16px;
966  padding-bottom: 4px;
967  padding-top: 4px;
968  pointer-events: auto;
969  margin-bottom: 0;
970  width: ${_=>{let{$isBottomNav:C}=_;return C?"calc(100% - 32px)":"280px"}};
971  visibility: visible;
972  z-index: 1001;
973
974  ${_=>{let{$isOpen:C}=_;return!C&&`
975    pointer-events: none;
976    visibility: hidden;
977  `}}
978`,ec=(0,Z.zo)(ea.Z)`
979  border-radius: ${_=>{let{theme:C}=_;return C.radii.default}};
980  padding: 0 8px;
981  border: 2px solid;
982  border-color: ${_=>{let{theme:C,color:L}=_;return C.colors[L]}};
983  box-shadow: none;
984  color: ${_=>{let{theme:C,color:L}=_;return C.colors[L]}};
985  margin-left: 8px;
986`},92193:function(_,C,L){"use strict";var Z,ea;L.d(C,{l:function(){return Z}}),L(52983),(ea=Z||(Z={}))[ea.INTERNAL_LINK=0]="INTERNAL_LINK",ea[ea.EXTERNAL_LINK=1]="EXTERNAL_LINK",ea[ea.BUTTON=2]="BUTTON",ea[ea.DIVIDER=3]="DIVIDER"},94151:function(_,C,L){"use strict";L.d(C,{D:function(){return es}});var Z=L(62656),ea=L(49520);let es=(0,Z.zo)(ea.Tz)`
987  opacity: ${_=>{let{disabled:C}=_;return C?"0.4":"1"}};
988  pointer-events: ${_=>{let{disabled:C}=_;return C?"none":"initial"}};
989  width: 100%;
990`},50231:function(_,C,L){"use strict";L.d(C,{Z:function(){return eu}});var Z=L(62656),ea=L(23690);let es={MD:"md",LG:"lg",XL:"xl",XXL:"xxl"},eo={[es.MD]:{fontSize:"20px",fontSizeLg:"20px"},[es.LG]:{fontSize:"24px",fontSizeLg:"24px"},[es.XL]:{fontSize:"32px",fontSizeLg:"40px"},[es.XXL]:{fontSize:"48px",fontSizeLg:"64px"}},el=(0,Z.zo)(ea.Z).attrs({bold:!0})`
991  font-size: ${_=>{let{scale:C}=_;return eo[C||es.MD].fontSize}};
992  font-weight: 600;
993  line-height: 1.1;
994
995  ${_=>{let{theme:C}=_;return C.mediaQueries.lg}} {
996    font-size: ${_=>{let{scale:C}=_;return eo[C||es.MD].fontSizeLg}};
997  }
998`;el.defaultProps={as:"h2"};var eu=el},73217:function(_,C,L){"use strict";var Z=L(97458),ea=L(52983),es=L(62656),eo=L(20301),el=L(3177),eu=L(25027);let ec=es.zo.img`
999  height: 100%;
1000  left: 0;
1001  position: absolute;
1002  top: 0;
1003  width: 100%;
1004`;C.Z=_=>{let{src:C,alt:L,width:es,height:ed,fallbackSrc:eh,...ep}=_,ef=(0,ea.useRef)(null),[em,eb]=(0,ea.useState)(!1),[ey,eg]=(0,ea.useState)(!1);return(0,ea.useEffect)(()=>{let _;let C=window.IntersectionObserver;return ef.current&&C&&(_=new window.IntersectionObserver(C=>
1004{C.forEach(C=>{let{isIntersecting:L}=C;L&&(eb(!0),"function"==typeof(null==_?void 0:_.disconnect)&&_.disconnect())})},eo.Z)).observe(ef.current),()=>{"function"==typeof(null==_?void 0:_.disconnect)&&_.disconnect()}},[C]),(0,Z.jsx)(el.Z,{ref:ef,height:ed,width:es,...ep,children:em?(0,Z.jsx)(ec,{src:ey&&eh?eh:C,alt:L,onError:()=>eg(!0)}):(0,Z.jsx)(eu.Z,{})},C)}},25027:function(_,C,L){"use strict";var Z=L(62656);let ea=Z.zo.div`
1005  height: 100%;
1006  left: 0;
1007  position: absolute;
1008  top: 0;
1009  width: 100%;
1010`;C.Z=ea},3177:function(_,C,L){"use strict";var Z=L(97458),ea=L(52983),es=L(62656),eo=L(13729);let el=es.zo.div`
1011  max-height: ${_=>{let{$height:C}=_;return C}}px;
1012  max-width: ${_=>{let{$width:C}=_;return C}}px;
1013  position: relative;
1014  width: 100%;
1015
1016  &:after {
1017    content: "";
1018    display: block;
1019    padding-top: ${_=>{let{$width:C,$height:L}=_;return L/C*100}}%;
1020  }
1021
1022  ${eo.Dh}
1023`,eu=(0,ea.forwardRef)((_,C)=>{let{width:L,height:ea,...es}=_;return(0,Z.jsx)(el,{ref:C,$width:L,$height:ea,...es})});C.Z=eu},20301:function(_,C){"use strict";C.Z={root:null,rootMargin:"200px",threshold:0}},88640:function(_,C,L){"use strict";var Z=L(62656),ea=L(58757);let es=(0,Z.zo)("input").withConfig({shouldForwardProp:_=>!["scale","isSuccess","isWarning"].includes(_)})`
1024  background-color: ${_=>{let{theme:C}=_;return C.colors.input}};
1025  border-radius: 16px;
1026  box-shadow: ${_=>{let{isSuccess:C=!1,isWarning:L=!1,theme:Z}=_;return L?Z.shadows.warning:C?Z.shadows.success:Z.shadows.inset}};
1027  color: ${_=>{let{theme:C}=_;return C.colors.text}};
1028  display: block;
1029  font-size: 16px;
1030  height: ${_=>{let{scale:C=ea.Q.MD}=_;switch(C){case ea.Q.SM:return"32px";case ea.Q.LG:return"48px";case ea.Q.MD:default:return"40px"}}};
1031  outline: 0;
1032  padding: 0 16px;
1033  width: 100%;
1034  border: 1px solid ${_=>{let{theme:C}=_;return C.colors.inputSecondary}};
1035
1036  &::placeholder {
1037    color: ${_=>{let{theme:C}=_;return C.colors.textSubtle}};
1038  }
1039
1040  &:disabled {
1041    background-color: ${_=>{let{theme:C}=_;return C.colors.backgroundDisabled}};
1042    box-shadow: none;
1043    color: ${_=>{let{theme:C}=_;return C.colors.textDisabled}};
1044    cursor: not-allowed;
1045  }
1046
1047  &:focus:not(:disabled) {
1048    box-shadow: ${_=>{let{theme:C,isWarning:L,isSuccess:Z}=_;return L?C.shadows.warning:Z?C.shadows.success:C.shadows.focus}};
1049  }
1050`;es.defaultProps={scale:ea.Q.MD,isSuccess:!1,isWarning:!1},C.Z=es},58757:function(_,C,L){"use strict";L.d(C,{Q:function(){return Z}});let Z={SM:"sm",MD:"md",LG:"lg"}}
1050,5884:function(_,C,L){"use strict";L.d(C,{Z:function(){return eh}});var Z=L(97458),ea=L(52983),es=L(23690),eo=L(40288),el=L(42933),eu=L(40088),ec=L(62656);let ed=(0,ec.zo)(el.Z)`
1051  color: ${_=>{let{theme:C}=_;return C.colors.text}};
1052  padding: 0 8px;
1053  border-radius: 8px;
1054`;ed.defaultProps={variant:"text",size:"sm"};var eh=ea.memo(_=>{let{currentLang:C,langs:L,color:ea,setLang:ec,dropdownPosition:eh="bottom",buttonScale:ep="md",hideLanguage:ef=!1}=_;return(0,Z.jsx)(eo.Z,{position:eh,target:(0,Z.jsx)(el.Z,{scale:ep,variant:"text",startIcon:(0,Z.jsx)(eu.Z,{color:ea,width:"24px"}),children:!ef&&(0,Z.jsx)(es.Z,{color:ea,children:null==C?void 0:C.toUpperCase()})}),children:L.map(_=>(0,Z.jsx)(ed,{fullWidth:!0,onClick:()=>ec(_),style:{minHeight:"32px",height:"auto"},children:_.language},_.locale))})},(_,C)=>_.currentLang===C.currentLang)},71363:function(_,C,L){"use strict";var Z=L(62656),ea=L(16169);let es=(0,Z.zo)(ea.Z)`
1055  gap: ${_=>{let{gap:C}=_;return C}};
1056  row-gap: ${_=>{let{rowGap:C}=_;return C}};
1057  column-gap: ${_=>{let{columnGap:C}=_;return C}};
1058`;C.Z=es},61723:function(_,C,L){"use strict";L.d(C,{F:function(){return el}});var Z=L(97458);L(52983);var ea=L(62656),es=L(77741),eo=L(23690);let el=(0,ea.zo)(eo.Z)`
1059  display: flex;
1060  font-weight: 600;
1061  align-items: center;
1062  width: fit-content;
1063  &:hover {
1064    text-decoration: underline;
1065  }
1066`,Link=_=>{let{external:C,...L}=_,ea=C?es.Z:{};return(0,Z.jsx)(el,{as:"a",...ea,...L})};Link.defaultProps={color:"primary"},C.Z=Link},46875:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(61723),es=L(5402);C.Z=_=>{let{children:C,showExternalIcon:L=!0,...eo}=_;return(0,Z.jsxs)(ea.Z,{external:!0,...eo,children:[C,L&&(0,Z.jsx)(es.Z,{color:eo.color?eo.color:"primary",ml:"4px"})]})}},68042:function(_,C,L){"use strict";var Z=L(97458),ea=L(52983),es=L(61723),eo=L(5402),el=L(79428);C.Z=_=>{let{children:C,icon:L,useBscCoinFallback:eu,...ec}=_,ed=(0,ea.useMemo)(()=>L||(eu?(0,Z.jsx)(el.Z,{}):(0,Z.jsx)(eo.Z,{})),[L,eu]),eh=(0,ea.useMemo)(()=>ea.isValidElement(ed)?ea.cloneElement(ed,{color:ec.color?ec.color:"primary",ml:"4px"}):null,[ed,ec.color]);return(0,Z.jsxs)(es.Z,{external:!0,...ec,children:[C,eh]})}},94988:function(_,C,L){"use strict";L.d(C,{b:function(){return ea}});var Z=L(62656);let ea=Z.zo.span`
1067  &::after {
1068    display: inline-block;
1069    animation: ellipsis 1.25s infinite;
1070    content: ".";
1071    width: 1em;
1072    text-align: left;
1073  }
1074  @keyframes ellipsis {
1075    0% {
1076      content: ".";
1077    }
1078    33% {
1079      content: "..";
1080    }
1081    66% {
1082      content: "...";
1083    }
1084  }
1085`},52942:function(_,C,L){"use strict";var Z=L(62656),ea=L(47287);let es=(0,Z.zo)(ea.ZP)`
1086  border-radius: 50%;
1087  border: 2px solid ${_=>{let{theme:C}=_;return C.colors.textDisabled}};
1088  border-top: 2px solid transparent;
1089  -webkit-animation: spin 2s linear infinite;
1090  animation: spin 2s linear infinite;
1091  @-webkit-keyframes spin {
1092    0% {
1093      -webkit-transform: rotate(0deg);
1094    }
1095    100% {
1096      -webkit-transform: rotate(360deg);
1097    }
1098  }
1099
1100  @keyframes spin {
1101    0% {
1102      transform: rotate(0deg);
1103    }
1104    100% {
1105      transform: rotate(360deg);
1106    }
1107  }
1108`;es.defaultProps={width:"20px",height:"20px"},C.Z=es},417:function(_,C,L){"use strict";L.d(C,{Z:function(){return MenuItem_MenuItem}});var Z=L(97458),ea=L(52983),es=L(98289),eo=L(62656);let el=eo.zo.div`
1109  position: relative;
1110
1111  ${_=>{let{$isActive:C,$variant:L,theme:Z}=_;return C&&"subMenu"===L&&`
1112      &:after{
1113        content: "";
1114        position: absolute;
1115        bottom: 0;
1116        height: 4px;
1117        width: 100%;
1118        background-color: ${Z.colors.primary};
1119        border-radius: 2px 2px 0 0;
1120      }
1121    `}};
1122`,eu=eo.zo.a`
1123  position: relative;
1124  display: flex;
1125  align-items: center;
1126
1127  color: ${_=>{let{theme:C,$isActive:L}=_;return L?C.colors.secondary:C.colors.textSubtle}};
1128  font-size: 16px;
1129  font-weight: ${_=>{let{$isActive:C}=_;return C?"600":"400"}};
1130  opacity: ${_=>{let{$isDisabled:C}=_;return C?.5:1}};
1131  pointer-events: ${_=>{let{$isDisabled:C}=_;return C?"none":"inherit"}};
1132
1133  ${_=>{let{$statusColor:C,theme:L}=_;return C&&`
1134    &:after {
1135      content: "";
1136      border-radius: 100%;
1137      background: ${L.colors[C]};
1138      height: 8px;
1139      width: 8px;
1140      margin-left: 12px;
1141    }
1142  `}}
1143
1144  ${_=>{let{$variant:C}=_;return"default"===C?`
1145    padding: 0 16px;
1146    height: 48px;
1147  `:`
1148    padding-left: 4px;
1149    padding-right: 4px;
1150
1151    height: 42px;
1152  `}}
1153
1154  &:hover {
1155    background: ${_=>{let{theme:C}=_;return C.colors.tertiary}};
1156    ${_=>{let{$variant:C}=_;return"default"===C&&"border-radius: 16px;"}};
1157  }
1158`;var ec=L(44610),MenuItem_MenuItem=_=>{let{children:C,href:L,isActive:eo=!1,isDisabled:ed=!1,variant:eh="default",scrollLayerRef:ep,statusColor:ef,...em}=_,{isMobile:eb}=(0,ec.Z)(),ey=(0,ea.useRef)(null),{linkComponent:eg}=(0,ea.useContext)(es.p),ev=L?{as:eg,href:L}:{as:"div"};return(0,ea.useEffect)(()=>
1158{if(!eb||!eo||!ey.current||!(null==ep?void 0:ep.current))return;let _=ep.current,C=ey.current.parentNode;C&&(_.scrollLeft>C.offsetLeft||_.scrollLeft+_.offsetWidth<C.offsetLeft+C.offsetWidth)&&(_.scrollLeft=C.offsetLeft)},[eo,eb,ep]),(0,Z.jsx)(el,{$isActive:eo,$variant:eh,ref:ey,children:(0,Z.jsx)(eu,{...ev,$isActive:eo,$isDisabled:ed,$variant:eh,$statusColor:ef,...em,children:C})})}},84277:function(_,C,L){"use strict";L.d(C,{Y:function(){return MessageText},Z:function(){return Message_Message}});var Z=L(97458),ea=L(52983),es=L(62656),eo=L(13729),el=L(63100),eu=L(4040),ec=L(11433),ed=L(57512),eh=L(23690),ep=L(47287),ef={warning:{background:"#FFB23719",borderColor:"warning"},danger:{background:"#ED4B9E19",borderColor:"failure"},success:{background:"rgba(49, 208, 170, 0.1)",borderColor:"success"},primary:{background:"rgba(118, 69, 217, 0.1)",borderColor:"secondary"}};let em=ea.createContext({variant:"success"}),eb={warning:el.Z,danger:eu.Z,success:ec.Z,primary:ed.Z},ey=es.zo.div`
1159  background-color: gray;
1160  padding: 16px;
1161  border-radius: 16px;
1162  border: solid 1px;
1163
1164  ${eo.Dh}
1165  ${(0,eo.bU)({variants:ef})}
1166`,eg=es.zo.div`
1167  display: flex;
1168`,ev={warning:"#D67E0A",success:"#129E7D",danger:"failure",primary:"text"},MessageText=_=>{let{children:C,...L}=_,es=(0,ea.useContext)(em);return(0,Z.jsx)(eh.Z,{fontSize:"14px",color:ev[null==es?void 0:es.variant],...L,children:C})};var Message_Message=_=>{let{children:C,variant:L,icon:es,action:eo,actionInline:el,showIcon:eu=!0,...ec}=_,ed=eb[L],eh=(0,ea.useMemo)(()=>({variant:L}),[L]);return(0,Z.jsx)(em.Provider,{value:eh,children:(0,Z.jsxs)(ey,{variant:L,...ec,children:[(0,Z.jsxs)(eg,{children:[eu&&(0,Z.jsx)(ep.ZP,{mr:"12px",children:null!=es?es:(0,Z.jsx)(ed,{color:ef[L].borderColor,width:"24px"})}),C,el&&eo]}),!el&&eo]})})}},85636:function(_,C,L){"use strict";var Z=L(97458),ea=L(52983),es=L(62656);let eo=es.zo.span`
1169  display: inline-flex;
1170  width: fit-content;
1171  position: relative;
1172`,el=(0,es.zo)("span").withConfig({shouldForwardProp:_=>!["show"].includes(_)})`
1173  display: ${_=>{let{show:C}=_;return C?"inline-flex":"none"}};
1174  position: absolute;
1175  top: 0;
1176  right: 0;
1177  width: 10px;
1178  height: 10px;
1179  pointer-events: none;
1180  border: 2px solid ${_=>{let{theme:C}=_;return C.colors.invertedContrast}};
1181  border-radius: 50%;
1182  background-color: ${_=>{let{theme:C,color:L}=_;return C.colors[L]}};
1183`;C.Z=_=>{let{show:C=!1,color:L="failure",children:es,...eu}=_;return(0,Z.jsxs)(eo,{children:[ea.Children.map(es,_=>(0,ea.cloneElement)(_,eu)),(0,Z.jsx)(el,{show:C,color:L})]})}},43880:function(_,C,L){"use strict";var Z=L(97458),ea=L(62656),es=L(52983),eo=L(47287);let el=ea.F4`
1184    0% {
1185      opacity: 1;
1186    }
1187    100% {
1188      opacity: 0;
1189    }
1190  `,eu=ea.F4`
1191    0% {
1192     opacity: 0;
1193    }
1194    100% {
1195     opacity: 1;
1196    }
1197  `,ec=(0,ea.zo)(eo.ZP)`
1198  position: fixed;
1199  top: 0px;
1200  left: 0px;
1201  width: 100%;
1202  height: 100%;
1203  background-color: ${_=>{let{theme:C}=_;return`${C.colors.text99}`}};
1204  z-index: 20;
1205  will-change: opacity;
1206  animation: ${eu} 350ms ease forwards;
1207  ${_=>{let{isUnmounting:C}=_;return C&&ea.iv`
1208      animation: ${el} 350ms ease forwards;
1209    `}}
1210`,BodyLock=()=>((0,es.useEffect)(()=>(document.body.style.cssText=`
1211      overflow: hidden;
1212    `,document.body.style.overflow="hidden",()=>{document.body.style.cssText=`
1213        overflow: visible;
1214        overflow: overlay;
1215      `}),[]),null);C.Z=_=>(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(BodyLock,{}),(0,Z.jsx)(ec,{role:"presentation",..._})]})},36460:function(_,C,L){"use strict";L.d(C,{Z:function(){return PancakeToggle_PancakeToggle}});var Z=L(97458);L(52983);var ea=L(62656);let es={LG:"lg"},eo={sm:{pancakeSize:"14px",travelDistance:"14px",toggleHeight:"20px",toggleWidth:"36px",pancakeThickness:"1px",pancakeTwoOffset:"0px",pancakeThreeOffset:"-3px",butterTop:"3px",butterLeft:"10px",butterWidth:"6px",butterHeight:"5px",butterThickness:"0.5px",butterRadius:"2px",butterSmearOneTop:"10px",butterSmearOneLeft:"2.5px",butterSmearTwoTop:"11px",butterSmearTwoRight:"2.5px"},md:{pancakeSize:"24px",travelDistance:"24px",toggleHeight:"32px",toggleWidth:"56px",pancakeThickness:"1.5px",pancakeTwoOffset:"-1px",pancakeThreeOffset:"-6px",butterTop:"5px",butterLeft:"13px",butterWidth:"10px",butterHeight:"8px",butterThickness:"0.75px",butterRadius:"3px",butterSmearOneTop:"15px",butterSmearOneLeft:"3.75px",butterSmearTwoTop:"16px",butterSmearTwoRight:"3.75px"},lg:{pancakeSize:"31px",travelDistance:"31px",toggleHeight:"40px",toggleWidth:"72px",pancakeThickness:"2px",pancakeTwoOffset:"-3px",pancakeThreeOffset:"-8px",butterTop:"3px",butterLeft:"16px",butterWidth:"12px",butterHeight:"11px",butterThickness:"1px",butterRadius:"4px",butterSmearOneTop:"20px",butterSmearOneLeft:"5px",butterSmearTwoTop:"22px",butterSmearTwoRight:"5px"}},getScale=_=>C=>{let{scale:L=es.LG}=C;return eo[L][_]},el=ea.zo.div`
1216  position: relative;
1217  display: inline-block;
1218
1219  &:label:before {
1220    content: none;
1221  }
1222
1223  .pancakes {
1224    position: absolute;
1225    transition: 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
1226  }
1227
1228  .pancake {
1229    background: #e27c31;
1230    border-radius: 50%;
1231    width: ${getScale("pancakeSize")};
1232    height: ${getScale("pancakeSize")};
1233    position: absolute;
1234    transition: 0.4s ease;
1235    top: 2px;
1236    left: 4px;
1237    box-shadow: 0 ${getScale("pancakeThickness")} 0 ${getScale("pancakeThickness")} #fbbe7c;
1238  }
1239
1240  .pancake:nth-child(1) {
1241    background: ${_=>{let{theme:C}=_;
1241return C.pancakeToggle.handleBackground}};
1242    box-shadow: 0 ${getScale("pancakeThickness")} 0 ${getScale("pancakeThickness")}
1243      ${_=>{let{theme:C}=_;return C.pancakeToggle.handleShadow}};
1244  }
1245
1246  .pancake:nth-child(2) {
1247    left: 0;
1248    top: ${getScale("pancakeTwoOffset")};
1249    transform: scale(0);
1250    transition: 0.2s ease 0.2s;
1251  }
1252
1253  .pancake:nth-child(3) {
1254    top: ${getScale("pancakeThreeOffset")};
1255    transform: scale(0);
1256    transition: 0.2s ease 0.2s;
1257  }
1258
1259  .pancake:nth-child(3):before,
1260  .pancake:nth-child(3):after {
1261    content: "";
1262    position: absolute;
1263    background: #ef8927;
1264    border-radius: 20px;
1265    width: 50%;
1266    height: 20%;
1267  }
1268
1269  .pancake:nth-child(3):before {
1270    top: ${getScale("butterSmearOneTop")};
1271    left: ${getScale("butterSmearOneLeft")};
1272  }
1273
1274  .pancake:nth-child(3):after {
1275    top: ${getScale("butterSmearTwoTop")};
1276    right: ${getScale("butterSmearTwoRight")};
1277  }
1278
1279  .butter {
1280    width: ${getScale("butterWidth")};
1281    height: ${getScale("butterHeight")};
1282    background: #fbdb60;
1283    top: ${getScale("butterTop")};
1284    left: ${getScale("butterLeft")};
1285    position: absolute;
1286    border-radius: ${getScale("butterRadius")};
1287    box-shadow: 0 ${getScale("butterThickness")} 0 ${getScale("butterThickness")} #d67823;
1288    transform: scale(0);
1289    transition: 0.2s ease;
1290  }
1291`,eu=ea.zo.input`
1292  height: 40px;
1293  left: 0;
1294  opacity: 0;
1295  position: absolute;
1296  top: 0;
1297  width: 40px;
1298
1299  &:focus + label {
1300    box-shadow: ${_=>{let{theme:C}=_;return C.shadows.focus}};
1301  }
1302
1303  &:checked + label .pancakes {
1304    transform: translateX(${getScale("travelDistance")});
1305  }
1306
1307  &:checked + label .pancake:nth-child(1) {
1308    background: #e27c31;
1309    box-shadow: 0 ${getScale("pancakeThickness")} 0 ${getScale("pancakeThickness")} #fbbe7c;
1310    transition-delay: 0.2s;
1311  }
1312
1313  &:checked + label .pancake:nth-child(2) {
1314    transform: scale(1);
1315    transition-delay: 0.2s;
1316  }
1317
1318  &:checked + label .pancake:nth-child(3) {
1319    transform: scale(1);
1320    transition-delay: 0.4s;
1321  }
1322
1323  &:checked + label .butter {
1324    transform: scale(1);
1325    transition-delay: 0.6s;
1326  }
1327`,ec=ea.zo.label`
1328  width: ${getScale("toggleWidth")};
1329  height: ${getScale("toggleHeight")};
1330  background: ${_=>{let{theme:C,checked:L}=_;return C.colors[L?"success":"input"]}};
1331  box-shadow: ${_=>{let{theme:C}=_;return C.shadows.inset}};
1332  display: inline-block;
1333  border-radius: 50px;
1334  position: relative;
1335  transition: all 0.3s ease;
1336  transform-origin: 20% center;
1337  cursor: pointer;
1338`;var PancakeToggle_PancakeToggle=_=>{let{checked:C,scale:L=es.LG,...ea}=_;return(0,Z.jsxs)(el,{scale:L,children:[(0,Z.jsx)(eu,{id:ea.id||"pancake-toggle",scale:L,type:"checkbox",checked:C,...ea}),(0,Z.jsx)(ec,{scale:L,checked:C,htmlFor:ea.id||"pancake-toggle",children:(0,Z.jsxs)("div",{className:"pancakes",children:[(0,Z.jsx)("div",{className:"pancake"}),(0,Z.jsx)("div",{className:"pancake"}),(0,Z.jsx)("div",{className:"pancake"}),(0,Z.jsx)("div",{className:"butter"})]})})]})}},65726:function(_,C,L){"use strict";L.d(C,{s:function(){return QuestionHelper}});var Z=L(97458),ea=L(62656),es=L(51036),eo=L(16169),el=L(77842);let eu=ea.zo.div`
1339  &:hover,
1340  &:focus {
1341    opacity: 0.7;
1342  }
1343`,QuestionHelper=_=>{let{text:C,placement:L="right-end",size:ea="16px",color:ec,...ed}
1343=_,{targetRef:eh,tooltip:ep,tooltipVisible:ef}=(0,es.Z)(C,{placement:L});return(0,Z.jsxs)(eo.Z,{alignItems:"center",...ed,ref:eh,children:[ef&&ep,(0,Z.jsx)(eu,{as:eo.Z,alignItems:"center",children:(0,Z.jsx)(el.Z,{color:ec||"textSubtle",width:ea})})]})}},81252:function(_,C,L){"use strict";L.d(C,{_:function(){return FarmMultiplierInfo}});var Z=L(97458),ea=L(62656),es=L(82577),eo=L(61723),el=L(23690);let eu=(0,ea.zo)(el.Z)`
1344  display: inline;
1345`,ec=(0,ea.zo)(eo.Z)`
1346  display: inline-block;
1347  margin: 0 4px;
1348`,FarmMultiplierInfo=_=>{let{farmCakePerSecond:C,totalMultipliers:L}=_,{t:ea}=(0,es.Z)();return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)(el.Z,{bold:!0,children:[ea("Farm’s ANDX Per Second:"),(0,Z.jsx)(eu,{marginLeft:2,children:C})]}),(0,Z.jsxs)(el.Z,{bold:!0,children:[ea("Total Multipliers:"),(0,Z.jsx)(eu,{marginLeft:2,children:L})]}),(0,Z.jsx)(el.Z,{my:"24px",children:ea("The Farm Multiplier represents the proportion of ANDX rewards each farm receives as a proportion of its farm group.")}),(0,Z.jsx)(el.Z,{my:"24px",children:ea("For example, if a 1x farm received 1 ANDX per block, a 40x farm would receive 40 ANDX per block.")}),(0,Z.jsxs)(el.Z,{children:[ea("Different farm groups have different sets of multipliers."),(0,Z.jsx)(ec,{mt:"8px",display:"inline",href:"https://docs.pancakeswap.finance/products/yield-farming/faq#why-a-2x-farm-in-v3-has-less-apr-than-a-1x-farm-in-v2",external:!0,children:ea("Learn More")})]})]})}},20036:function(_,C,L){"use strict";L.d(C,{$_:function(){return ex},DY:function(){return e_}});var Z=L(97458),ea=L(82577),es=L(1582),eo=L(52983),el=L(62656),eu=L(86530),ec=L(51036),ed=L(16169),eh=L(47287),ep=L(85321),ef=L(60329),em=L(61723),eb=L(46875),ey=L(77842),eg=L(23690),ev=L(81252);let ex=(0,el.zo)(ed.Z)`
1349  width: 100%;
1350  background: ${_=>{let{theme:C}=_;return C.colors.dropdown}};
1351`,e_=el.zo.ul`
1352  list-style-type: none;
1353  margin-top: 16px;
1354  padding: 0;
1355  li {
1356    margin: 0;
1357    padding: 0;
1358  }
1359  li::before {
1360    content: "•";
1361    margin-right: 4px;
1362    color: ${_=>{let{theme:C}=_;return C.colors.textSubtle}};
1363  }
1364  li::marker {
1365    font-size: 12px;
1366  }
1367`;C.ZP=_=>{let{isFarm:C,apr:L=0,apy:el=0,displayApr:ew,autoCompoundFrequency:eC,multiplier:eT,linkLabel:eq,linkHref:ek,performanceFee:eS,rewardCakePerSecond:eE,isLocked:eM=!1,stableSwapAddress:ej,stableLpFee:eA,farmCakePerSecond:eD,totalMultipliers:eI}=_,[eO,eP]=(0,eo.useState)(!1),{t:eN}=(0,ea.Z)(),eL=(0,ev._)({farmCakePerSecond:null!=eD?eD:"-",totalMultipliers:null!=eI?eI:"-"}),{targetRef:eR,tooltip:eB,tooltipVisible:eF}=(0,ec.Z)(eL,{placement:"top-end",tooltipOffset:[20,10]}),eZ=C?4:2,ez=(0,eo.useMemo)(()=>C&&Number.isFinite(Number(ew))&&Number.isFinite(L)?Math.max(Number(ew)-L,0).toFixed(2):null,[C,ew,L]);return(0,Z.jsxs)(ex,{p:"16px",flexDirection:"column",children:[(0,Z.jsx)(ef.L,{expanded:eO,onClick:()=>eP(_=>!_),children:eN(eO?"Hide":"Details")}),eO&&(0,Z.jsxs)(eh.ZP,{px:"8px",children:[(0,Z.jsxs)(ep.Z,{gridTemplateColumns:"2.5fr 1fr",gridRowGap:"8px",gridTemplateRows:`repeat(${eZ}, auto)`,children:[!C&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(eg.Z,{color:"textSubtle",small:!0,children:eN(Number.isFinite(el)&&0!==el&&!eM?"APY":"APR")}),(0,Z.jsxs)(eg.Z,{small:!0,textAlign:"right",children:[Number.isFinite(el)&&0!==el?el.toFixed(2):null==L?void 0:L.toFixed(2),"%"]})]}),C&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(eg.Z,{color:"textSubtle",small:!0,children:eN("APR (incl. LP rewards)")}),(0,Z.jsxs)(eg.Z,{small:!0,textAlign:"right",children:[ew,"%"]}),(0,Z.jsxs)(eg.Z,{color:"textSubtle",small:!0,children:["*",eN("Base APR (ANDX yield only)")]}),(0,Z.jsxs)(eg.Z,{small:!0,textAlign:"right",children:[L.toFixed(2),"%"]}),(0,Z.jsxs)(eg.Z,{color:"textSubtle",small:!0,children:["*",eN("LP Rewards APR")]}),(0,Z.jsxs)(eg.Z,{small:!0,textAlign:"right",children:["0"!==ez&&ez?ez:"-","%"]})]}),!Number.isFinite(el)&&(0,Z.jsx)(eg.Z,{color:"textSubtle",small:!0,children:eN("APY (%compoundTimes%x daily compound)",{compoundTimes:eC>0?eC:1})}),!Number.isFinite(el)&&(0,Z.jsxs)(eg.Z,{small:!0,textAlign:"right",children:[(100*(0,es.g5)(L,eC>0?eC:1,365,eS)).toFixed(2),"%"]}),C&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(eg.Z,{color:"textSubtle",small:!0,children:eN("Farm Multiplier")}),(0,Z.jsxs)(ed.Z,{justifyContent:"flex-end",alignItems:"flex-end",children:[(0,Z.jsx)(eg.Z,{small:!0,textAlign:"right",mr:"4px",children:eT}),(0,Z.jsx)("span",{ref:eR,children:(0,Z.jsx)(ey.Z,{color:"textSubtle",width:"16px",height:"16px"})}),eF&&eB]})]})]}),(0,Z.jsxs)(e_,{children:[(0,Z.jsx)("li",{children:(0,Z.jsx)(eg.Z,{fontSize:"12px",textAlign:"center",color:"textSubtle",display:"inline",lineHeight:1.1,children:eN("Calculated based on current rates.")})}),C&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)("li",{children:(0,Z.jsx)(eg.Z,{fontSize:"12px",textAlign:"center",color:"textSubtle",display:"inline",children:eN("LP rewards: %percent%% trading fees, distributed proportionally among LP token holders.",{percent:ej&&eA?eu.dm.times(eA).toNumber():.17})})}),(0,Z.jsx)("li",{children:!0===eE?(0,Z.jsx)(eg.Z,{fontSize:"12px",textAlign:"center",color:"textSubtle",display:"inline",children:eN("To provide stable estimates, APR figures are calculated and updated daily using volume data from CoinMarketCap")}):(0,Z.jsxs)(eg.Z,{fontSize:"12px",textAlign:"center",color:"textSubtle",display:"inline",children:[eN("To provide stable estimates, APR figures are calculated once per day on the farm page. For real time APR, please visit the"),(0,Z.jsx)(em.Z,{style:{display:"inline-block"}
1367,fontSize:"12px",ml:"3px",href:`/info${ej?`/pairs/${ej}?type=stableSwap`:""}`,children:eN("Info Page")})]})})]}),(0,Z.jsx)("li",{children:(0,Z.jsx)(eg.Z,{fontSize:"12px",textAlign:"center",color:"textSubtle",display:"inline",lineHeight:1.1,children:eN("All figures are estimates provided for your convenience only, and by no means represent guaranteed returns.")})}),eS>0&&(0,Z.jsx)("li",{children:(0,Z.jsx)(eg.Z,{mt:"14px",fontSize:"12px",textAlign:"center",color:"textSubtle",display:"inline",children:eN("All estimated rates take into account this pool’s %fee%% performance fee",{fee:eS})})})]}),ek&&(0,Z.jsx)(ed.Z,{justifyContent:"center",mt:"24px",children:(0,Z.jsx)(eb.Z,{href:ek,children:eq})})]})]})}},30233:function(_,C,L){"use strict";L.d(C,{x:function(){return eS},Z:function(){return RoiCalculatorModal_RoiCalculatorModal}});var Z=L(97458),ea=L(82577),es=L(80642),eo=L(52983),el=L(62656),eu=L(20036),ec=L(50428),ed=L(82373),eh=L(16169),ep=L(67652),ef=L(38946);let em=el.F4`
1368  0% {
1369    transform: scale(1);
1370    stroke-width: 0;
1371  }
1372  50% {
1373    transform: scale(1.3);
1374    stroke-width: 2;
1375  }
1376  100% {
1377    transform: scale(1);
1378    stroke-width: 0;
1379  }
1380`,eb=(0,el.zo)(eh.Z)`
1381  & > svg {
1382    animation: 0.2s ${em} linear;
1383    stroke: ${_=>{let{theme:C}=_;return`${C.colors.primary3D}`}};
1384    stroke-width: 0;
1385  }
1386`;var RoiCalculatorModal_AnimatedArrow=_=>{let{calculatorState:C}=_,[L,ea]=(0,eo.useState)("roiArrow-0"),{mode:es}=C.controls;return(0,eo.useEffect)(()=>{ea(_=>{let C=parseInt(_.split("-")[1],10);return`roiArrow-${C+1}`})},[C]),(0,Z.jsx)(eb,{justifyContent:"center",my:"24px",children:es===ed.ee.ROI_BASED_ON_PRINCIPAL?(0,Z.jsx)(ep.Z,{width:"24px",height:"24px",color:"textSubtle"}):(0,Z.jsx)(ef.Z,{width:"24px",height:"24px",color:"textSubtle"})},L)},ey=L(23690),eg=L(77842),ev=L(42933),ex=L(19043),e_=L(53071),ew=L(51036),eC=L(52832),eT=L(11556),eq=L(48723);let ek=(0,el.zo)(eq.ZP)`
1387  & > :nth-child(2) {
1388    padding: 0;
1389  }
1390
1391  ${_=>{let{theme:C}=_;return C.mediaQueries.md}} {
1392    width: 380px;
1393  }
1394`,eS=el.zo.div`
1395  padding: 24px;
1396  max-height: 500px;
1397  overflow-x: hidden;
1398  overflow-y: auto;
1399  ${_=>{let{theme:C}=_;return C.mediaQueries.sm}} {
1400    max-height: none;
1401  }
1402`,eE=(0,el.zo)(eC.Z)`
1403  width: 100%;
1404
1405  & > button {
1406    width: 100%;
1407  }
1408
1409  opacity: ${_=>{let{disabled:C}=_;return C?.5:1}};
1410`;var RoiCalculatorModal_RoiCalculatorModal=_=>{let{account:C,earningTokenPrice:L,apr:el,apy:ep,displayApr:ef,linkLabel:em,linkHref:eb,stakingTokenBalance:eC,stakingTokenSymbol:eq,stakingTokenPrice:eM,multiplier:ej,initialValue:eA,earningTokenSymbol:eD="ANDX",autoCompoundFrequency:eI=0,performanceFee:eO=0,isFarm:eP=!1,initialState:eN,strategy:eL,header:eR,children:eB,stakingTokenDecimals:eF,rewardCakePerSecond:eZ,onBack:ez,onDismiss:eU,bCakeCalculatorSlot:e$,isLocked:eV=!1,stableSwapAddress:eW,stableLpFee:eH,farmCakePerSecond:eG,totalMultipliers:eK}=_,{t:eX}=(0,ea.Z)(),eY=(0,eo.useRef)(null),{state:eQ,setPrincipalFromUSDValue:eJ,setPrincipalFromTokenValue:e1,setStakingDuration:e0,toggleCompounding:e2,toggleEditingCurrency:e5,setCompoundingFrequency:e6,setCalculatorMode:e3,setTargetRoi:e4,dispatch:e8}=(0,ed.ZP)({stakingTokenPrice:eM,earningTokenPrice:L,autoCompoundFrequency:eI},eN),{compounding:e9,activeCompoundingIndex:e7,stakingDuration:tr,editingCurrency:ta}=eQ.controls,{principalAsUSD:to,principalAsToken:tl}=eQ.data;(0,eo.useEffect)(()=>{eY.current&&eY.current.focus()},[]),(0,eo.useEffect)(()=>{eA&&e1(eA)},[eA,e1]);
1410let{targetRef:tu,tooltip:tc,tooltipVisible:td}=(0,ew.Z)(eP?eX("“My Balance” here includes both LP Tokens in your wallet, and LP Tokens already staked in this farm."):eX("“My Balance” here includes both %assetSymbol% in your wallet, and %assetSymbol% already staked in this pool.",{assetSymbol:eq}),{placement:"top-end",tooltipOffset:[20,10]}),th=ta===ed.We.TOKEN?eq:"USD",tp=ta===ed.We.TOKEN?tl:to,tf=ta===ed.We.TOKEN?"USD":eq,tm=ta===ed.We.TOKEN?to:tl,tb=ta===ed.We.TOKEN?e1:eJ,ty=(0,eo.useMemo)(()=>[eX("1D"),eX("7D"),eX("30D"),eX("1Y"),eX("5Y")],[eX]),tg=(0,eo.useMemo)(()=>!Number.isFinite(eM)||!eC.isFinite()||eC.lte(0)||!C,[C,eC,eM]);return(0,Z.jsxs)(ek,{title:eX("ROI Calculator"),onDismiss:ez||eU,onBack:ez,headerBackground:"gradientCardHeader",children:[(0,Z.jsxs)(eS,{children:[eL?eL(eQ,e8):(0,Z.jsx)(ed.dw,{state:eQ,apr:null!=ep?ep:el,dispatch:e8,earningTokenPrice:L,performanceFee:eO,stakingTokenPrice:eM}),eR,(0,Z.jsxs)(eh.Z,{flexDirection:"column",mb:"8px",children:[(0,Z.jsx)(ey.Z,{color:"secondary",bold:!0,fontSize:"12px",textTransform:"uppercase",children:eX("%asset% staked",{asset:eq})}),(0,Z.jsx)(e_.Z,{inputProps:{scale:"sm"},currencyValue:`${tm} ${tf}`,innerRef:eY,placeholder:"0.00",value:tp,unit:th,decimals:eF,onUserInput:tb,switchEditingUnits:e5,onFocus:()=>{e3(ed.ee.ROI_BASED_ON_PRINCIPAL)}}),(0,Z.jsxs)(eh.Z,{justifyContent:"space-between",mt:"8px",children:[(0,Z.jsx)(ev.Z,{scale:"xs",p:"4px 16px",width:"68px",variant:"tertiary",onClick:()=>eJ("100"),children:"$100"}),(0,Z.jsx)(ev.Z,{scale:"xs",p:"4px 16px",width:"68px",variant:"tertiary",onClick:()=>eJ("1000"),children:"$1000"}),(0,Z.jsx)(ev.Z,{scale:"xs",p:"4px 16px",width:"128px",variant:"tertiary",style:{textTransform:"uppercase"},disabled:tg,onClick:()=>eJ((0,es.mW)(eC.times(eM),eF).toString()),children:eX("My Balance")}),(0,Z.jsx)("span",{ref:tu,children:(0,Z.jsx)(eg.Z,{width:"16px",height:"16px",color:"textSubtle"})}),td&&tc]}),eB||(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(ey.Z,{mt:"24px",color:"secondary",bold:!0,fontSize:"12px",textTransform:"uppercase",children:eX("Staked for")}),(0,Z.jsx)(eE,{activeIndex:tr,onItemClick:e0,scale:"sm",children:ty.map(_=>(0,Z.jsx)(eT.Z,{variant:"tertiary",children:_},_))})]}),e$&&e$(tl),0===eI&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(ey.Z,{mt:"24px",color:"secondary",bold:!0,fontSize:"12px",textTransform:"uppercase",children:eX("Compounding every")}),(0,Z.jsxs)(eh.Z,{alignItems:"center",children:[(0,Z.jsx)(eh.Z,{flex:"1",children:(0,Z.jsx)(ex.Z,{scale:"sm",checked:e9,onChange:e2})}),(0,Z.jsx)(eh.Z,{flex:"6",children:(0,Z.jsxs)(eE,{scale:"sm",disabled:!e9,activeIndex:e7,onItemClick:e6,children:[(0,Z.jsx)(eT.Z,{children:eX("1D")}),(0,Z.jsx)(eT.Z,{children:eX("7D")}),(0,Z.jsx)(eT.Z,{children:eX("14D")}),(0,Z.jsx)(eT.Z,{children:eX("30D")})]})})]})]})]}),(0,Z.jsx)(RoiCalculatorModal_AnimatedArrow,{calculatorState:eQ}),(0,Z.jsx)(eh.Z,{children:(0,Z.jsx)(ec.ZP,{calculatorState:eQ,earningTokenSymbol:eD,setTargetRoi:e4,setCalculatorMode:e3})})]}),(0,Z.jsx)(eu.ZP,{isFarm:eP,apr:el,apy:ep,displayApr:ef,autoCompoundFrequency:eI,multiplier:ej,linkLabel:em,linkHref:eb,performanceFee:eO,rewardCakePerSecond:eZ,isLocked:eV,stableSwapAddress:eW,stableLpFee:eH,farmCakePerSecond:eG,totalMultipliers:eK})]})}},50428:function(_,C,L){"use strict";L.d(C,{$R:function(){return eb},TQ:function(){return eg},XC:function(){return ew},bf:function(){return ev},hB:function(){return ey},w6:function(){return e_}});var Z=L(97458),ea=L(52983),es=L(62656),eo=L(82577),el=L(82373),eu=L(47287),ec=L(16169),ed=L(23690),eh=L(88640),ep=L(17778),ef=L(34230),em=L(17582);let eb=1e6,ey=1e12,eg=(0,es.zo)(eu.ZP)`
1411  background: linear-gradient(180deg, #53dee9, #7645d9);
1412  padding: 1px;
1413  width: 100%;
1414  border-radius: ${_=>{let{theme:C}=_;return C.radii.default}};
1415`,ev=(0,es.zo)(eu.ZP)`
1416  min-height: 120px;
1417  padding: 24px;
1418  border-radius: ${_=>{let{theme:C}=_;return C.radii.default}};
1419  background: ${_=>{let{theme:C}=_;return C.colors.gradientBubblegum}};
1420`,ex=(0,es.zo)(eu.ZP)`
1421  position: relative;
1422  & > input {
1423    padding-left: 28px;
1424    max-width: 70%;
1425  }
1426  &:before {
1427    position: absolute;
1428    content: "$";
1429    color: ${_=>{let{theme:C}=_;return C.colors.textSubtle}};
1430    left: 16px;
1431    top: 8px;
1432  }
1433`,e_=(0,es.zo)(ec.Z)`
1434  max-width: 82%;
1435  margin-right: 8px;
1436`,ew=(0,es.zo)(ed.Z)`
1437  position: relative;
1438  overflow-x: auto;
1439  &::-webkit-scrollbar {
1440    height: 0px;
1441  }
1442
1443  ${_=>{let{fadeOut:C,theme:L}=_;return C&&`
1444      &:after {
1445        background: linear-gradient(
1446          to right,
1447          ${L.colors.background}00,
1448          ${L.colors.background}E6
1449        );
1450        content: '';
1451        height: 100%;
1452        pointer-events: none;
1453        position: absolute;
1454        right: 0;
1455        top: 0;
1456        width: 40px;
1457      }
1458  `}}
1459`;C.ZP=_=>{let{earningTokenSymbol:C,calculatorState:L,setTargetRoi:es,setCalculatorMode:eu}=_,[eC,eT]=(0,ea.useState)(""),eq=(0,ea.useRef)(null),{roiUSD:ek,roiTokens:eS,roiPercentage:eE}=L.data,{mode:eM}=L.controls,{t:ej}=(0,eo.Z)();(0,ea.useEffect)(()=>{eM===el.ee.PRINCIPAL_BASED_ON_ROI&&eq.current&&eq.current.focus()},[eM]);let onEnterEditing=()=>{eu&&eu(el.ee.PRINCIPAL_BASED_ON_ROI),eT(ek.toLocaleString("en",{minimumFractionDigits:ek>eb?0:2,maximumFractionDigits:ek>eb?0:2}))};return(0,Z.jsx)(eg,{children:(0,Z.jsxs)(ev,{children:[(0,Z.jsx)(ed.Z,{fontSize:"12px",color:"secondary",bold:!0,textTransform:"uppercase",children:ej("ROI at current rates")}
1459),(0,Z.jsx)(ec.Z,{justifyContent:"space-between",mt:"4px",height:"36px",children:eM===el.ee.PRINCIPAL_BASED_ON_ROI?(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(ex,{children:(0,Z.jsx)(eh.Z,{ref:eq,type:"text",inputMode:"decimal",pattern:"^[0-9]+[.,]?[0-9]*$",scale:"sm",value:eC,placeholder:"0.0",onChange:_=>{if(_.currentTarget.validity.valid){let C=_.target.value.replace(/,/g,".");es&&es(C),eT(C)}}})}),(0,Z.jsx)(ep.Z,{scale:"sm",variant:"text",onClick:()=>{eu&&eu(el.ee.ROI_BASED_ON_PRINCIPAL)},children:(0,Z.jsx)(ef.Z,{color:"primary"})})]}):(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)(e_,{onClick:onEnterEditing,children:[(0,Z.jsx)(ed.Z,{fontSize:"24px",bold:!0,children:"$"}),(0,Z.jsx)(ew,{fontSize:"24px",bold:!0,fadeOut:ek>ey,children:ek.toLocaleString("en",{minimumFractionDigits:ek>eb?0:2,maximumFractionDigits:ek>eb?0:2})})]}),es&&eu?(0,Z.jsx)(ep.Z,{scale:"sm",variant:"text",onClick:onEnterEditing,children:(0,Z.jsx)(em.Z,{color:"primary"})}):null]})}),(0,Z.jsxs)(ed.Z,{fontSize:"12px",color:"textSubtle",children:["~ ",eS," ",C,(0,Z.jsxs)(ed.Z,{fontSize:"12px",color:"textSubtle",ml:"3px",display:"inline-block",maxWidth:"100%",style:{lineBreak:"anywhere"},children:["(",eE.toLocaleString("en",{minimumFractionDigits:2,maximumFractionDigits:2}),"%)"]})]})]})})}},82373:function(_,C,L){"use strict";L.d(C,{We:function(){return es},dw:function(){return DefaultCompoundStrategy},ee:function(){return eo}});var Z,ea,es,eo,el=L(52983),eu=L(88469),ec=L.n(eu),ed=L(97269),eh=L(1582);let ep={0:1,1:.142857142,2:.071428571,3:.033333333};(Z=es||(es={}))[Z.TOKEN=0]="TOKEN",Z[Z.USD=1]="USD",(ea=eo||(eo={}))[ea.ROI_BASED_ON_PRINCIPAL=0]="ROI_BASED_ON_PRINCIPAL",ea[ea.PRINCIPAL_BASED_ON_ROI=1]="PRINCIPAL_BASED_ON_ROI";let ef={controls:{compounding:!0,compoundingFrequency:1,activeCompoundingIndex:0,stakingDuration:3,mode:0,editingCurrency:1},data:{principalAsToken:"0.00",principalAsUSD:"",roiUSD:0,roiTokens:0,roiPercentage:0}},roiCalculatorReducer=(_,C)=>{switch(C.type){case"setStakingDuration":{let L={..._.controls,stakingDuration:C.payload};return{..._,controls:L}}case"toggleCompounding":{let C=!_.controls.compounding,L={..._.controls,compounding:C};return{..._,controls:L}}case"setCompoundingFrequency":{let{index:L,autoCompoundFrequency:Z}=C.payload;if(Z)return{..._,controls:{..._.controls,compoundingFrequency:Z}};let ea=ep[L],es={..._.controls,compoundingFrequency:ea,activeCompoundingIndex:L};return{..._,controls:es}}case"setPrincipal":{let{principalAsUSD:L,principalAsToken:Z}=C.payload,ea={..._.data,principalAsUSD:L,principalAsToken:Z},es={..._.controls,mode:0};return{controls:es,data:ea}}case"setPrincipalForTargetRoi":{let{principalAsUSD:L,principalAsToken:Z,roiPercentage:ea}=C.payload,es={..._.data,principalAsUSD:L,principalAsToken:Z,roiPercentage:ea};return{..._,data:es}}case"setCalculatorMode":{let L=C.payload,Z={..._.controls,mode:L};if(1===L){let C=parseFloat(_.data.roiUSD.toFixed(2)),L={..._.data,roiUSD:C};return{controls:Z,data:L}}return{..._,controls:Z}}case"setRoi":{let L={..._.data,...C.payload};return{..._,data:L}}case"setTargetRoi":{let{roiUSD:L,roiTokens:Z}=C.payload,ea={..._.data,roiUSD:L,roiTokens:Z},es={..._.controls,mode:1};return{controls:es,data:ea}}case"toggleEditingCurrency":{let C=1===_.controls.editingCurrency?0:1,L={..._.controls,editingCurrency:C};return{..._,controls:L}}default:return _}};function DefaultCompoundStrategy(_){let{state:C,apr:L=0,earningTokenPrice:Z,stakingTokenPrice:ea,performanceFee:es,dispatch:eo}=_,{principalAsUSD:eu,roiUSD:ec}=C.data,{compounding:ep,compoundingFrequency:ef,stakingDuration:em,mode:eb}=C.controls;return(0,el.useEffect)(()=>{if(0===eb){let _=parseFloat(eu),C=ep?ef:0,ea=(0,eh.A1)({principalInUSD:_,apr:L,earningTokenPrice:Z,compoundFrequency:C,performanceFee:es}),el=!Number.isNaN(ea[em]),ec=el?ea[em]:0,ed=el?ec*Z:0,eb=el?(0,eh.Lu)({amountEarned:ed,amountInvested:_}):0;eo({type:"setRoi",payload:{roiUSD:ed,roiTokens:ec,roiPercentage:eb}})}},[eu,L,em,Z,es,ep,ef,eb,eo]),(0,el.useEffect)(()=>{if(1===eb){let _=(0,eh._b)(ec,L,ep?ef:0,es),C=Number.isNaN(_[em])?0:_[em],Z=new ed.Z(C).div(ea),el=(0,eh.Lu)({amountEarned:ec,amountInvested:C});eo({type:"setPrincipalForTargetRoi",payload:{principalAsUSD:C.toFixed(2),principalAsToken:Z.toFixed(10),roiPercentage:el}})}},[em,L,ep,ef,eb,ec,ea,es,eo]),null}C.ZP=(_,C)=>{let{stakingTokenPrice:L,earningTokenPrice:Z,autoCompoundFrequency:ea}=_,[es,eo]=(0,el.useReducer)(roiCalculatorReducer,ec()(ef,C));(0,el.useEffect)(()=>{ea>0&&eo({type:"setCompoundingFrequency",payload:{autoCompoundFrequency:ea}})},[ea]);let eu=(0,el.useCallback)(_=>{let C=new ed.Z(_).times(L),Z=C.gt(0)?C.toFixed(2):"0.00";eo({type:"setPrincipal",payload:{principalAsUSD:Z,principalAsToken:_}})},[L]);return{state:es,setPrincipalFromUSDValue:_=>{let C=new ed.Z(_).div(L),Z=C.gt(0)?C.toFixed(10):"0.00";eo({type:"setPrincipal",payload:{principalAsUSD:_,principalAsToken:Z}})},setPrincipalFromTokenValue:eu,setStakingDuration:_=>{eo({type:"setStakingDuration",payload:_})},toggleCompounding:()=>{eo({type:"toggleCompounding"})},toggleEditingCurrency:()=>{eo({type:"toggleEditingCurrency"})},setCompoundingFrequency:_=>{eo({type:"setCompoundingFrequency",payload:{index:_}})},setCalculatorMode:_=>{eo({type:"setCalculatorMode",payload:_})},setTargetRoi:_=>{let C=new ed.Z(_).div(Z);eo({type:"setTargetRoi",payload:{roiUSD:+_,roiTokens:C.isNaN()?0:C.toNumber()}})},dispatch:eo}}},64619:function(_,C,L){"use strict";L.d(C,{BA:function(){return AutoRow},DA:function(){return RowFixed},X2:function(){return Row},m0:function(){return RowBetween}});var Z=L(97458),ea=L(5719);let Row=_=>{let{width:C="100%",alignItems:L="center",justifyContent:es="flex-start",padding:eo="0px",...el}=_;return(0,Z.jsx)(ea.p,{display:"flex",width:C,alignItems:L,justifyContent:es,padding:eo,...el})},AutoRow=_=>(0,Z.jsx)(Row,{flexWrap:"wrap",..._}),RowFixed=_=>(0,Z.jsx)(Row,{width:"fit-content",flexWrap:"wrap",..._}),RowBetween=_=>(0,Z.jsx)(Row,{flexWrap:"wrap",justifyContent:"space-between",..._})},64422:function(_,C,L){"use strict";var Z=L(97458),ea=L(52983),es=L(62656),eo=L(14633),el=L.n(eo),eu=L(42933),ec=L(38946);let ed=es.zo.div`
1460  position: fixed;
1461  right: 18px;
1462  bottom: calc(110px + env(safe-area-inset-bottom));
1463`;C.Z=()=>{let[_,C]=(0,ea.useState)(!1),L=(0,ea.useCallback)(()=>{window.scrollTo({top:0,behavior:"smooth"})},[]);return(0,ea.useEffect)(()=>{let _=el()(()=>{let _=document.documentElement.scrollTop;_>500?C(!0):_<=500&&C(!1)},200);return window.addEventListener("scroll",_),()=>window.removeEventListener("scroll",_)}
1463,[]),(0,Z.jsx)(ed,{style:{display:_?"inline":"none"},children:(0,Z.jsx)(eu.Z,{width:48,height:48,endIcon:(0,Z.jsx)(ec.Z,{color:"invertedContrast",style:{marginLeft:0}}),onClick:L})})}},88820:function(_,C,L){"use strict";var Z=L(97458),ea=L(52983),es=L(62656),eo=L(77837),el=L.n(eo),eu=L(82577),ec=L(88640);let ed=(0,es.zo)(ec.Z)`
1464  border-radius: 16px;
1465  margin-left: auto;
1466`,eh=es.zo.div`
1467  position: relative;
1468  ${_=>{let{theme:C}=_;return C.mediaQueries.sm}} {
1469    display: block;
1470  }
1471`;C.Z=_=>{let{onChange:C,placeholder:L="Search",initialValue:es}=_,[eo,ec]=(0,ea.useState)(""),{t:ep}=(0,eu.Z)(),ef=(0,ea.useMemo)(()=>el()(_=>C(_),500),[C]);return(0,ea.useEffect)(()=>{es&&ec(es)},[es]),(0,Z.jsx)(eh,{children:(0,Z.jsx)(ed,{value:eo,onChange:_=>{ec(_.target.value),ef(_)},placeholder:ep(L)})})}},14752:function(_,C,L){"use strict";var Z=L(97458),ea=L(52983),es=L(62656),eo=L(47287),el=L(86149),eu=L(23690);let ec=es.zo.div`
1472  width: 100%;
1473  height: 40px;
1474  display: flex;
1475  align-items: center;
1476  justify-content: space-between;
1477  padding: 0px 16px;
1478  box-shadow: ${_=>{let{theme:C}=_;return C.shadows.inset}};
1479  border: 1px solid ${_=>{let{theme:C}=_;return C.colors.inputSecondary}};
1480  border-radius: 16px;
1481  background: ${_=>{let{theme:C}=_;return C.colors.input}};
1482  transition: border-radius 0.15s;
1483`,ed=es.zo.div`
1484  min-width: 136px;
1485  height: 0;
1486  position: absolute;
1487  overflow: hidden;
1488  background: ${_=>{let{theme:C}=_;return C.colors.input}};
1489  z-index: ${_=>{let{theme:C}=_;return C.zIndices.dropdown}};
1490  transition: transform 0.15s, opacity 0.15s;
1491  transform: scaleY(0);
1492  transform-origin: top;
1493  opacity: 0;
1494  width: 100%;
1495
1496  ${_=>{let{theme:C}=_;return C.mediaQueries.sm}} {
1497    min-width: 168px;
1498  }
1499`,eh=(0,es.zo)(eo.ZP)`
1500  cursor: pointer;
1501  width: 100%;
1502  position: relative;
1503  background: ${_=>{let{theme:C}=_;return C.colors.input}};
1504  border-radius: 16px;
1505  height: 40px;
1506  min-width: 136px;
1507  user-select: none;
1508  z-index: 20;
1509
1510  ${_=>{let{theme:C}=_;return C.mediaQueries.sm}} {
1511    min-width: 168px;
1512  }
1513
1514  ${_=>_.isOpen&&es.iv`
1515      ${ec} {
1516        border-bottom: 1px solid ${_=>{let{theme:C}=_;return C.colors.inputSecondary}};
1517        box-shadow: ${_=>{let{theme:C}=_;return C.tooltip.boxShadow}};
1518        border-radius: 16px 16px 0 0;
1519      }
1520
1521      ${ed} {
1522        height: auto;
1523        transform: scaleY(1);
1524        opacity: 1;
1525        border: 1px solid ${_=>{let{theme:C}=_;return C.colors.inputSecondary}};
1526        border-top-width: 0;
1527        border-radius: 0 0 16px 16px;
1528        box-shadow: ${_=>{let{theme:C}=_;return C.tooltip.boxShadow}};
1529      }
1530    `}
1531
1532  svg {
1533    position: absolute;
1534    right: 16px;
1535    top: 50%;
1536    transform: translateY(-50%);
1537  }
1538`,ep=es.zo.ul`
1539  padding: 0;
1540  margin: 0;
1541  box-sizing: border-box;
1542  z-index: ${_=>{let{theme:C}=_;return C.zIndices.dropdown}};
1543`,ef=es.zo.li`
1544  list-style: none;
1545  padding: 8px 16px;
1546  &:hover {
1547    background: ${_=>{let{theme:C}=_;return C.colors.inputSecondary}};
1548  }
1549`;C.Z=_=>{let{options:C,onOptionChange:L,defaultOptionIndex:es=0,placeHolderText:eo,...em}=_,[eb,ey]=(0,ea.useState)(!1),[eg,ev]=(0,ea.useState)(!1),[ex,e_]=(0,ea.useState)(es),toggling=_=>{ey(!eb),_.stopPropagation()},onOptionClicked=_=>()=>{e_(_),ey(!1),ev(!0),L&&L(C[_])};return(0,ea.useEffect)(()=>{let handleClickOutside=()=>{ey(!1)};return document.addEventListener("click",handleClickOutside),()=>{document.removeEventListener("click",handleClickOutside)}},[]),(0,ea.useEffect)(()=>{es&&(e_(es-1),ev(!0))},[es]),(0,Z.jsxs)(eh,{isOpen:eb,...em,children:[(0,Z.jsx)(ec,{onClick:toggling,children:(0,Z.jsx)(eu.Z,{color:!eg&&eo?"text":void 0,children:!eg&&eo?eo:C[ex].label})}),(0,Z.jsx)(el.Z,{color:"text",onClick:toggling}),(0,Z.jsx)(ed,{children:(0,Z.jsx)(ep,{children:C.map((_,C)=>eo||C!==ex?(0,Z.jsx)(ef,{onClick:onOptionClicked(C),children:(0,Z.jsx)(eu.Z,{children:_.label})},_.label):null)})})]})}},74609:function(_,C,L){"use strict";L.d(C,{i:function(){return SkeletonV2},Z:function(){return Skeleton_Skeleton}});var Z=L(97458),ea=L(21058),es=L(80674),eo=L(19550),el=L(6831),eu=L(85787),ec=L(52983),ed=L(62656),eh=L(13729);let ep={WAVES:"waves",PULSE:"pulse"},ef={RECT:"rect",ROUND:"round",CIRCLE:"circle"};var em=L(59193);let eb=ed.F4`
1550   from {
1551        left: -150px;
1552    }
1553    to   {
1554        left: 100%;
1555    }
1556`,ey=ed.F4`
1557  0% {
1558    opacity: 1;
1559  }
1560  50% {
1561    opacity: 0.4;
1562  }
1563  100% {
1564    opacity: 1;
1565  }
1566`,eg=(0,ed.zo)(es.m.div)`
1567  position: relative;
1568  will-change: opacity;
1569  opacity: 0;
1570  &.appear {
1571    animation: ${em.Oz} 0.3s ease-in-out forwards;
1572  }
1573  &.disappear {
1574    animation: ${em.a4} 0.3s ease-in-out forwards;
1575  }
1576`,ev=ed.zo.div.withConfig({shouldForwardProp:ea.ZP})`
1577  position: relative;
1578  ${eh.bK}
1579  ${eh.Dh}
1580  overflow: hidden;
1581`,ex=ed.zo.div.withConfig({shouldForwardProp:ea.ZP})`
1582  min-height: 20px;
1583  display: block;
1584  background-color: ${_=>{let{theme:C,isDark:L}=_;return L?C.colors.inputSecondary:C.colors.backgroundDisabled}};
1585  border-radius: ${_=>{let{variant:C,theme:L}=_;return C===ef.CIRCLE?L.radii.circle:C===ef.ROUND?L.radii.default:L.radii.small}};
1586  ${eh.bK}
1587  ${eh.Dh}
1588  ${eh.E0}
1589`,e_=(0,ed.zo)(ex)`
1590  animation: ${ey}
1590 2s infinite ease-out;
1591  transform: translate3d(0, 0, 0);
1592`,ew=(0,ed.zo)(ex)`
1593  overflow: hidden;
1594  transform: translate3d(0, 0, 0);
1595  &:before {
1596    content: "";
1597    position: absolute;
1598    background-image: linear-gradient(90deg, transparent, rgba(243, 243, 243, 0.5), transparent);
1599    top: 0;
1600    left: -150px;
1601    height: 100%;
1602    width: 150px;
1603    animation: ${eb} 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
1604  }
1605`,SkeletonV2=_=>{let{variant:C=ef.RECT,animation:L=ep.PULSE,isDataReady:ea=!1,children:es,wrapperProps:ed,skeletonTop:eh="0",skeletonLeft:eb="0",width:ey,height:ex,mr:eC,ml:eT,...eq}=_,ek=(0,ec.useRef)(null),eS=(0,ec.useRef)(null);return(0,Z.jsx)(ev,{width:ey,height:ex,mr:eC,ml:eT,...ed,children:(0,Z.jsx)(eo.X,{features:el.H,children:(0,Z.jsxs)(eu.M,{children:[ea&&(0,Z.jsx)(eg,{ref:ek,onAnimationStart:()=>(0,em.BI)(ek.current),...em.Gc,variants:em.ji,transition:{duration:.3},children:es},"content"),!ea&&(0,Z.jsx)(eg,{style:{position:"absolute",top:eh,left:eb},ref:eS,onAnimationStart:()=>(0,em.BI)(eS.current),...em.Gc,variants:em.ji,transition:{duration:.3},children:L===ep.WAVES?(0,Z.jsx)(ew,{variant:C,...eq,width:ey,height:ex}):(0,Z.jsx)(e_,{variant:C,...eq,width:ey,height:ex})},"skeleton")]})})})};var Skeleton_Skeleton=_=>{let{variant:C=ef.RECT,animation:L=ep.PULSE,...ea}=_;return L===ep.WAVES?(0,Z.jsx)(ew,{variant:C,...ea}):(0,Z.jsx)(e_,{variant:C,...ea})}},67441:function(_,C,L){"use strict";L.d(C,{Z:function(){return Slider_Slider}});var Z=L(97458),ea=L(52983),es=L(47287),eo=L(62656),el=L(23690);let getCursorStyle=_=>{let{disabled:C=!1}=_;return C?"not-allowed":"cursor"},getBaseThumbStyles=_=>{let{isMax:C,disabled:L}=_;return`
1606  -webkit-appearance: none;
1607  background-image: url(${C?'"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAyOCAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3QgeD0iMSIgeT0iMTkiIHdpZHRoPSIxNyIgaGVpZ2h0PSIxMSIgZmlsbD0iIzFGQzdENCIvPgo8cGF0aCBkPSJNOS41MDcgMjQuNzA2QzguMTQ2MzUgMjYuMDY2NiA5LjczNzk1IDI4LjIzMTMgMTEuNzU1NSAzMC4yNDg5QzEzLjc3MzEgMzIuMjY2NSAxNS45Mzc4IDMzLjg1ODEgMTcuMjk4NCAzMi40OTc0QzE4LjY1OTEgMzEuMTM2OCAxNy45Njg1IDI4LjA3MTEgMTUuOTUwOSAyNi4wNTM1QzEzLjkzMzMgMjQuMDM1OSAxMC44Njc2IDIzLjM0NTMgOS41MDcgMjQuNzA2WiIgZmlsbD0iIzFGQzdENCIvPgo8cGF0aCBkPSJNMTUuNTA3IDIyLjcwNkMxNC4xNDYzIDI0LjA2NjYgMTUuNzM3OSAyNi4yMzEzIDE3Ljc1NTUgMjguMjQ4OUMxOS43NzMxIDMwLjI2NjUgMjEuOTM3OCAzMS44NTgxIDIzLjI5ODQgMzAuNDk3NEMyNC42NTkxIDI5LjEzNjggMjMuOTY4NSAyNi4wNzExIDIxLjk1MDkgMjQuMDUzNUMxOS45MzMzIDIyLjAzNTkgMTYuODY3NiAyMS4zNDUzIDE1LjUwNyAyMi43MDZaIiBmaWxsPSIjMUZDN0Q0Ii8+CjxnIGZpbHRlcj0idXJsKCNmaWx0ZXIwX2QpIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNC4xNDYgNi43NTE1OUMxNC4yMTA1IDcuMTA4OTYgMTQuMjcwMyA3LjQ4MTMxIDE0LjMyODEgNy44NjE2NEMxNC4yMTg5IDcuODU4NjUgMTQuMTA5NSA3Ljg1NzE0IDE0IDcuODU3MTRDMTMuMzgwMyA3Ljg1NzE0IDEyLjc2NDggNy45MDUzOSAxMi4xNTkgNy45OTc3OUMxMS44NzkgNy40MTQ1OCAxMS41NTQ3IDYuODIyNDYgMTEuMTg3MiA2LjIzMTQ1QzguNjk4OTcgMi4yMjk0NyA2LjUzODI2IDEuOTg2NzkgNC42Nzg4MiAyLjk4MzY2QzIuODE5MzggMy45ODA1MiAyLjg1NjI4IDYuNjc2NDQgNS4yNjY5NiA5LjQwNTM4QzUuNTgwNzYgOS43NjA2MSA1LjkwMDk3IDEwLjEzOTggNi4yMjQ3IDEwLjUyODZDMy42OTAxMyAxMi40NjU5IDIgMTUuMjY0NCAyIDE4LjI2OTVDMiAyMy44MjkyIDcuNzg1MTggMjUgMTQgMjVDMjAuMjE0OCAyNSAyNiAyMy44MjkyIDI2IDE4LjI2OTVDMjYgMTQuODY1OCAyMy44MzE4IDExLjcyNzIgMjAuNzI0MyA5LjgwNDc2QzIwLjkwMjIgOC44NjA0NCAyMSA3LjgzMDE5IDIxIDYuNzUxNTlDMjEgMi4xOTYxMiAxOS4yNTQ5IDEgMTcuMTAyMiAxQzE0Ljk0OTUgMSAxMy41MjYxIDMuMzE4NDcgMTQuMTQ2IDYuNzUxNTlaIiBmaWxsPSJ1cmwoI3BhaW50MF9saW5lYXJfYnVubnloZWFkX21heCkiLz4KPC9nPgo8cGF0aCBkPSJNMTEuNTA0NyAxNi4wNjM0QzEwLjk0MzUgMTQuNDQ1NiA4Ljc5Njg1IDE0LjQ0NTYgOC4wODEzMSAxNi4wNjM1IiBzdHJva2U9IiM0NTJBN0EiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8cGF0aCBkPSJNMjAuODg5NCAxNi4wNjM0QzIwLjMyODMgMTQuNDQ1NiAxOC4xODE2IDE0LjQ0NTYgMTcuNDY2MSAxNi4wNjM1IiBzdHJva2U9IiM0NTJBN0EiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8cGF0aCBkPSJNMTQuNzI4NCAxNy40NDQ2QzE0Ljc5NiAxOC4zMTQ5IDE0LjQ0NDYgMjAuMDU1NiAxMi40OTggMjAuMDU1NiIgc3Ryb2tlPSIjNDUyQTdBIiBzdHJva2UtbGluZWNhcD0icm91bmQiLz4KPHBhdGggZD0iTTE0Ljc0NTcgMTcuNDQ0NkMxNC42NzgxIDE4LjM
1607xNDkgMTUuMDI5NiAyMC4wNTU2IDE2Ljk3NjEgMjAuMDU1NiIgc3Ryb2tlPSIjNDUyQTdBIiBzdHJva2UtbGluZWNhcD0icm91bmQiLz4KPHBhdGggZD0iTTEzLjQ1MDUgMjAuMDc4N0MxMy40NTA1IDIxLjUwOTcgMTUuOTU1IDIxLjUwOTcgMTUuOTU1IDIwLjA3ODciIHN0cm9rZT0iIzQ1MkE3QSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+CjxkZWZzPgo8ZmlsdGVyIGlkPSJmaWx0ZXIwX2QiIHg9IjAiIHk9IjAiIHdpZHRoPSIyOCIgaGVpZ2h0PSIyOCIgZmlsdGVyVW5pdHM9InVzZXJTcGFjZU9uVXNlIiBjb2xvci1pbnRlcnBvbGF0aW9uLWZpbHRlcnM9InNSR0IiPgo8ZmVGbG9vZCBmbG9vZC1vcGFjaXR5PSIwIiByZXN1bHQ9IkJhY2tncm91bmRJbWFnZUZpeCIvPgo8ZmVDb2xvck1hdHJpeCBpbj0iU291cmNlQWxwaGEiIHR5cGU9Im1hdHJpeCIgdmFsdWVzPSIwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAxMjcgMCIvPgo8ZmVPZmZzZXQgZHk9IjEiLz4KPGZlR2F1c3NpYW5CbHVyIHN0ZERldmlhdGlvbj0iMSIvPgo8ZmVDb2xvck1hdHJpeCB0eXBlPSJtYXRyaXgiIHZhbHVlcz0iMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMC41IDAiLz4KPGZlQmxlbmQgbW9kZT0ibm9ybWFsIiBpbjI9IkJhY2tncm91bmRJbWFnZUZpeCIgcmVzdWx0PSJlZmZlY3QxX2Ryb3BTaGFkb3ciLz4KPGZlQmxlbmQgbW9kZT0ibm9ybWFsIiBpbj0iU291cmNlR3JhcGhpYyIgaW4yPSJlZmZlY3QxX2Ryb3BTaGFkb3ciIHJlc3VsdD0ic2hhcGUiLz4KPC9maWx0ZXI+CjxsaW5lYXJHcmFkaWVudCBpZD0icGFpbnQwX2xpbmVhcl9idW5ueWhlYWRfbWF4IiB4MT0iMTQiIHkxPSIxIiB4Mj0iMTQiIHkyPSIyNSIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPgo8c3RvcCBzdG9wLWNvbG9yPSIjNTNERUU5Ii8+CjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iIzFGQzdENCIvPgo8L2xpbmVhckdyYWRpZW50Pgo8L2RlZnM+Cjwvc3ZnPg=="':'"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAyOCAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3QgeD0iMSIgeT0iMTkiIHdpZHRoPSIxNyIgaGVpZ2h0PSIxMSIgZmlsbD0iIzFGQzdENCIvPgo8cGF0aCBkPSJNOS41MDcgMjQuNzA2QzguMTQ2MzUgMjYuMDY2NiA5LjczNzk1IDI4LjIzMTMgMTEuNzU1NSAzMC4yNDg5QzEzLjc3MzEgMzIuMjY2NSAxNS45Mzc4IDMzLjg1ODEgMTcuMjk4NCAzMi40OTc0QzE4LjY1OTEgMzEuMTM2OCAxNy45Njg1IDI4LjA3MTEgMTUuOTUwOSAyNi4wNTM1QzEzLjkzMzMgMjQuMDM1OSAxMC44Njc2IDIzLjM0NTMgOS41MDcgMjQuNzA2WiIgZmlsbD0iIzFGQzdENCIvPgo8cGF0aCBkPSJNMTUuNTA3IDIyLjcwNkMxNC4xNDYzIDI0LjA2NjYgMTUuNzM3OSAyNi4yMzEzIDE3Ljc1NTUgMjguMjQ4OUMxOS43NzMxIDMwLjI2NjUgMjEuOTM3OCAzMS44NTgxIDIzLjI5ODQgMzAuNDk3NEMyNC42NTkxIDI5LjEzNjggMjMuOTY4NSAyNi4wNzExIDIxLjk1MDkgMjQuMDUzNUMxOS45MzMzIDIyLjAzNTkgMTYuODY3NiAyMS4zNDUzIDE1LjUwNyAyMi43MDZaIiBmaWxsPSIjMUZDN0Q0Ii8+CjxnIGZpbHRlcj0idXJsKCNmaWx0ZXIwX2QpIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNC4xNDYgNi43NTE1OUMxNC4yMTA1IDcuMTA4OTYgMTQuMjcwMyA3LjQ4MTMxIDE0LjMyODEgNy44NjE2NEMxNC4yMTg5IDcuODU4NjUgMTQuMTA5NSA3Ljg1NzE0IDE0IDcuODU3MTRDMTMuMzgwMyA3Ljg1NzE0IDEyLjc2NDggNy45MDUzOSAxMi4xNTkgNy45OTc3OUMxMS44NzkgNy40MTQ1OCAxMS41NTQ3IDYuODIyNDYgMTEuMTg3MiA2LjIzMTQ1QzguNjk4OTcgMi4yMjk0NyA2LjUzODI2IDEuOTg2NzkgNC42Nzg4MiAyLjk4MzY2QzIuODE5MzggMy45ODA1MiAyLjg1NjI4IDYuNjc2NDQgNS4yNjY5NiA5LjQwNTM4QzUuNTgwNzYgOS43NjA2MSA1LjkwMDk3IDEwLjEzOTggNi4yMjQ3IDEwLjUyODZDMy42OTAxMyAxMi40NjU5IDIgMTUuMjY0NCAyIDE4LjI2OTVDMiAyMy44MjkyIDcuNzg1MTggMjUgMTQgMjVDMjAuMjE0OCAyNSAyNiAyMy44MjkyIDI2IDE4LjI2OTVDMjYgMTQuODY1OCAyMy44MzE4IDExLjcyNzIgMjAuNzI0MyA5LjgwNDc2QzIwLjkwMjIgOC44NjA0NCAyMSA3LjgzMDE5IDIxIDYuNzUxNTlDMjEgMi4xOTYxMiAxOS4yNTQ5IDEgMTcuMTAyMiAxQzE0Ljk0OTUgMSAxMy41MjYxIDMuMzE4NDcgMTQuMTQ2IDYuNzUxNTlaIiBmaWxsPSJ1cmwoI3BhaW50MF9saW5lYXJfYnVubnloZWFkX21haW4pIi8+CjwvZz4KPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMikiPgo8cGF0aCBkPSJNMTIuNzI4NCAxNi40NDQ2QzEyLjc5NiAxNy4zMTQ5IDEyLjQ0NDYgMTkuMDU1NiAxMC40OTggMTkuMDU1NiIgc3Ryb2tlPSIjNDUyQTdBIiBzdHJva2UtbGluZWNhcD0icm91bmQiLz4KPHBhdGggZD0iTTEyLjc0NTcgMTYuNDQ0NkMxMi42NzgxIDE3LjMxNDkgMTMuMDI5NiAxOS4wNTU2IDE0Ljk3NjEgMTkuMDU1NiIgc3Ryb2tlPSIjNDUyQTdBIiBzdHJva2UtbGluZWNhcD0icm91bmQiLz4KPHBhdGggZD0iTTkgMTQuNUM5IDE1LjYwNDYgOC41NTIyOCAxNiA4IDE2QzcuNDQ3NzIgMTYgNyAxNS42MDQ2IDcgMTQuNUM3IDEzLjM5NTQgNy40NDc3MiAxMyA4IDEzQzguNTUyMjggMTMgOSAxMy4zOTU0IDkgMTQuNVoiIGZpbGw9IiM0NTJBN0EiLz4KPHBhdGggZD0iTTE4IDE0LjVDMTggMTUuNjA0NiAxNy41NTIzIDE2IDE3IDE2QzE2LjQ0NzcgMTYgMTYgMTUuNjA0NiAxNiAxNC41QzE2IDEzLjM5NTQgMTYuNDQ3NyAxMyAxNyAxM0MxNy41NTIzIDEzIDE4IDEzLjM5NTQgMTggMTQuNVoiIGZpbGw9IiM0NTJBN0EiLz4KPC9nPgo8ZGVmcz4KPGZpbHRlciBpZD0iZmlsdGVyMF9kIj4KPGZlRmxvb2QgZmxvb2Qtb3BhY2l0eT0iMCIgcmVzdWx0PSJCYWNrZ3JvdW5kSW1hZ2VGaXgiLz4KPGZlQ29sb3JNYXRyaXggaW49IlNvdXJjZUFscGhhIiB0eXBlPSJtYXRyaXgiIHZhbHVlcz0iMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMTI3IDAiLz4KPGZlT2Zmc2V0IGR5PSIxIi8+CjxmZUdhdXNzaWFuQmx1ciBzdGREZXZpYXRpb249IjEiLz4KPGZlQ29sb3JNYXRyaXggdHlwZT0ibWF0cml4IiB2YWx1ZXM9IjAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAuNSAwIi8+CjxmZUJsZW5kIG1vZGU9Im5vcm1hbCIgaW4yPSJCYWNrZ3JvdW5kSW1hZ2VGaXgiIHJlc3VsdD0iZWZmZWN0MV9kcm9wU2hhZG93Ii8+CjxmZUJsZW5kIG1vZGU9Im5vcm1hbCIgaW49IlNvdXJjZUdyYXBoaWMiIGluMj0iZWZmZWN0MV9kcm9wU2hhZG93IiByZXN1bHQ9InNoYXBlIi8+CjwvZmlsdGVyPgo8bGluZWFyR3JhZGllbnQgaWQ9InBhaW50MF9saW5lYXJfYnVubnloZWFkX21haW4iIHgxPSIxNCIgeTE9IjEiIHgyPSIxNCIgeTI9IjI1IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+CjxzdG9wIHN0b3AtY29sb3I9IiM1M0RFRTkiLz4KPHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjMUZDN0Q0Ii8+CjwvbGluZWFyR3JhZGllbnQ+CjwvZGVmcz4KPC9zdmc+Cg=="'});
1608  background-color: transparent;
1609  box-shadow: none;
1610  border: 0;
1611  cursor: ${getCursorStyle};
1612  width: 24px;
1613  height: 32px;
1614  filter: ${L?"grayscale(100%)":"none"};
1615  transform: translate(-2px, -2px);
1616  transition: 200ms transform;
1617  &:hover {
1618    transform: ${L?"scale(1) translate(-2px, -2px)":"scale(1.1) translate(-3px, -3px)"};
1619  }
1620`},eu=eo.zo.div`
1621  bottom: 0;
1622  position: absolute;
1623  left: 14px;
1624  width: calc(100% - 30px);
1625`,ec=(0,eo.zo)(el.Z)`
1626  bottom: 0;
1627  font-size: 12px;
1628  left: ${_=>{let{progress:C}=_;return C}};
1629  position: absolute;
1630  text-align: center;
1631  min-width: 24px; // Slider thumb size
1632`,ed=eo.zo.div`
1633  background: url(${"\"data:image/svg+xml,%3Csvg width='15' height='32' viewBox='0 0 15 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.58803 20.8649C7.72935 21.3629 8.02539 24.0334 8.76388 26.7895C9.50238 29.5456 10.5812 32.0062 12.4399 31.5082C14.2986 31.0102 15.2334 28.0099 14.4949 25.2538C13.7564 22.4978 11.4467 20.3669 9.58803 20.8649Z' fill='%230098A1'/%3E%3Cpath d='M1 24.4516C1 20.8885 3.88849 18 7.45161 18H15V28H4.54839C2.58867 28 1 26.4113 1 24.4516Z' fill='%231FC7D4'/%3E%3Cpath d='M6.11115 17.2246C6.79693 18.4124 5.77784 19.3343 4.52793 20.0559C3.27802 20.7776 1.97011 21.1992 1.28433 20.0114C0.598546 18.8236 1.1635 17.1151 2.41341 16.3935C3.66332 15.6718 5.42537 16.0368 6.11115 17.2246Z' fill='%2353DEE9'/%3E%3Cpath d='M1.64665 23.6601C0.285995 25.0207 1.87759 27.1854 3.89519 29.203C5.91279 31.2206 8.07743 32.8122 9.43808 31.4515C10.7987 30.0909 10.1082 27.0252 8.09058 25.0076C6.07298 22.99 3.0073 22.2994 1.64665 23.6601Z' fill='%231FC7D4'/%3E%3C/svg%3E\""}) no-repeat;
1634  height: 32px;
1635  filter: ${_=>{let{disabled:C}=_;return C?"grayscale(100%)":"none"}};
1636  position: absolute;
1637  width: 15px;
1638`,eh=eo.zo.div`
1639  position: absolute;
1640  left: 14px;
1641  width: calc(100% - 14px);
1642`,ep=eo.zo.input`
1643  cursor: ${getCursorStyle};
1644  height: 32px;
1645  position: relative;
1646  &::-webkit-slider-thumb {
1647    ${getBaseThumbStyles}
1648  }
1649  &::-moz-range-thumb {
1650    ${getBaseThumbStyles}
1651  }
1652  &::-ms-thumb {
1653    ${getBaseThumbStyles}
1654  }
1655`,ef=eo.zo.div`
1656  background-color: ${_=>{let{theme:C,disabled:L}=_;return C.colors[L?"textDisabled":"inputSecondary"]}};
1657  height: 2px;
1658  position: absolute;
1659  top: 18px;
1660  width: 100%;
1661`,em=eo.zo.div`
1662  background-color: ${_=>{let{theme:C}=_;return C.colors.primary}};
1663  filter: ${_=>{let{disabled:C}=_;return C?"grayscale(100%)":"none"}};
1664  height: 10px;
1665  position: absolute;
1666  top: 18px;
1667`;var Slider_Slider=_=>{let C,{name:L,min:eo,max:el,value:eb,onValueChanged:ey,valueLabel:eg,step:ev="any",disabled:ex=!1,...e_}=_,ew=(0,ea.useCallback)(_=>{let{target:C}=_;ey(parseFloat(C.value))},[ey]),eC=eb/el*100,eT=eb===el;C=eC<=10?`${eC+.5}%`:eC>=90?`${eC-4}%`:eC>=60?`${eC-2.5}%`:`${eC}%`;let eq=eT?"calc(100% - 12px)":`${eC}%`;return(0,Z.jsxs)(es.ZP,{position:"relative",height:"48px",...e_,children:[(0,Z.jsx)(ed,{disabled:ex}),(0,Z.jsxs)(eh,{children:[(0,Z.jsx)(ef,{disabled:ex}),(0,Z.jsx)(em,{style:{width:C},disabled:ex}),(0,Z.jsx)(ep,{name:L,type:"range",min:eo,max:el,value:eb,step:ev,onChange:ew,isMax:eT,disabled:ex})]}),eg&&(0,Z.jsx)(eu,{children:(0,Z.jsx)(ec,{progress:eq,children:eT?"MAX":eg})})]})}},31326:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(47287),es=L(73217);C.Z=_=>{let{size:C=128}=_;return(0,Z.jsx)(ea.ZP,{width:C,height:1.197*C,position:"relative",children:(0,Z.jsx)(es.Z,{width:C,height:1.197*C,src:"https://assets.pancakeswap.finance/web/pancake-3d-spinner-v2.gif",alt:"pancake-3d-spinner"})})}},16099:function(_,C,L){"use strict";L.d(C,{Z:function(){return SubMenuItems_SubMenuItems}});var Z=L(97458),ea=L(90430),es=L(77837),eo=L.n(es),el=L(52983),eu=L(47287),ec=L(92193),ed=L(5719),eh=L(417),ep=L(68500),ef=L(46547),em=L(5402),eb=L(62656),ey=L(16169);let eg=(0,eb.zo)(ey.Z)`
1668  ${_=>{let{theme:C}=_;return C.mediaQueries.sm}} {
1669    ${_=>{let{$isMobileOnly:C}=_;return C?"display:none":""}};
1670  }
1671  width: 100%;
1672  overflow: hidden;
1673  position: relative;
1674`,ev=(0,eb.zo)(ey.Z)`
1675  position: relative;
1676  z-index: 1;
1677  width: 100%;
1678  display: block;
1679  white-space: nowrap;
1680  scroll-behavior: smooth;
1681  ${_=>{let{theme:C}=_;return C.mediaQueries.md}} {
1682    width: auto;
1683    display: flex;
1684  }
1685  flex-grow: 1;
1686  background-color: ${_=>{let{theme:C}=_;return`${C.colors.backgroundAlt2}`}};
1687  box-shadow: inset 0px -2px 0px -8px rgba(133, 133, 133, 0.1);
1688  overflow-x: scroll;
1689  scrollbar-width: none;
1690  -ms-overflow-style: none;
1691  &::-webkit-scrollbar {
1692    display: none;
1693  }
1694`,ex=eb.iv`
1695  position: absolute;
1696  z-index: 2;
1697  width: 48px;
1698  height: 100%;
1699  top: 0px;
1700  display: flex;
1701  justify-content: center;
1702  will-change: opacity;
1703  pointer-events: none;
1704  opacity: 0;
1705  transition: 0.25s ease-out opacity;
1706
1707  &.show {
1708    pointer-events: auto;
1709    opacity: 1;
1710    transition: 0.25s ease-in opacity;
1711  }
1712`,e_=eb.zo.div`
1713  ${ex}
1714  left: 0px;
1715  background: ${_=>{let{theme:C}=_;return C.isDark?"linear-gradient(90deg, #27262c 29.76%, rgba(39,38,44, 0) 100%)":"linear-gradient(90deg, #ffffff 29.76%, rgba(255, 255, 255, 0) 100%)"}};
1716`,ew=eb.zo.div`
1717  ${ex}
1718  right: 0px;
1719  background: ${_=>{let{theme:C}=_;return C.isDark?"linear-gradient(270deg, #27262c 0%, rgba(39,38,44, 0) 87.5%)":"linear-gradient(270deg, #ffffff 0%, rgba(255, 255, 255, 0) 87.5%)"}};
1720`,eC=(0,eb.zo)(eu.ZP)`
1721  display: inline-block;
1722  vertical-align: top;
1723  scroll-snap-align: start;
1724`;var eT=L(71363),eq=L(85636),ek=L(62842),SubMenuItems_SubMenuItems=_=>{let{items:C=[],activeItem:L,isMobileOnly:es=!1,...eb}=_,ey=(0,el.useRef)(null),ex=(0,el.useRef)(null),eS=(0,el.useRef)(null),[eE,eM]=(0,el.useState)(""),[ej,eA]=(0,el.useState)(""),eD=!!ey.current&&(ey.current.offsetHeight<ey.current.scrollHeight||ey.current.offsetWidth<ey.current.scrollWidth),eI=(0,el.useCallback)(()=>{if(!ey.current||!ex.current||!eS.current)return;let _=ey.current;0!==_.scrollLeft?eA("show"):eA(""),_.scrollLeft+_.offsetWidth<_.scrollWidth-3?eM("show"):eM("")},[]),{hasHighlightedItem:eO,highlightedItemColor:eP}=(0,el.useMemo)(()=>{let _=C.some(_=>!!_.LabelIcon);if(_)return{hasHighlightedItem:!0,highlightedItemColor:"success"};let L=C.find(_=>!!_.status);if(L){var Z;return{hasHighlightedItem:!0,highlightedItemColor:(null==L?void 0:null===(Z=L.status)||void 0===Z?void 0:Z.color)||"success"}}return{hasHighlightedItem:!1,highlightedItemColor:"success"}},[C]);return(0,ea.L)(()=>{eI()},[eI,C]),(0,Z.jsx)(ed.p,{display:{xs:"none",sm:"block"},asChild:!0,children:(0,Z.jsxs)(eg,{$isMobileOnly:es,...eb,children:[(0,Z.jsx)(ed.p,{display:{xs:"block",md:"none"},asChild:!0,children:(0,Z.jsx)(e_,{ref:ex,className:ej,onClick:()=>{ey.current&&(ey.current.scrollLeft-=100)},children:(0,Z.jsx)(ep.Z,{})})}),(0,Z.jsx)(ed.p,{display:{xs:"block",md:"none"},asChild:!0,children:(0,Z.jsx)(ew,{ref:eS,className:eE,onClick:()=>{ey.current&&eD&&(ey.current.scrollLeft+=100)},children:eD&&(0,Z.jsx)(eq.Z,{show:eO,color:eP,children:(0,Z.jsx)(ef.Z,{width:"24px",height:"24px"})})})}),(0,Z.jsx)(ev,{justifyContent:[es?"flex-end":"start",null,"center"],pl:["12px",null,"0px"],onScroll:eo()(eI,100),ref:ey,children:C.map(_=>{let{label:C,LabelIcon:ea,status:es,href:eo,icon:el,itemProps:ed,type:ep,disabled:ef,onClick:eb}=_,eg=ep===ec.l.EXTERNAL_LINK,ev=eo===L;return C&&(0,Z.jsx)(eC,{mr:"20px",children:(0,Z.jsxs)(eh.Z,{href:eo,scrollLayerRef:ey,isActive:ev,isDisabled:ef,variant:"subMenu",...ed,...eg?{as:"a",target:"_blank"}:{},onClick:eb,children:[(0,Z.jsxs)(eT.Z,{gap:"10px",alignItems:"center",children:[el&&(0,Z.jsx)(el,{color:ev?"secondary":"textSubtle",mr:"4px"}),C,ea?(0,Z.jsx)(ea,{}):null,es&&(0,Z.jsx)(ek.Dt,{textTransform:"uppercase",color:es.color,fontSize:"14px",children:es.text})]}),eg&&(0,Z.jsx)(eu.ZP,{display:["none",null,"flex"],style:{alignItems:"center"},ml:"4px",children:(0,Z.jsx)(em.Z,{color:"textSubtle"})})]})},C)})})]})})}},23017:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 24",..._,children:(0,Z.jsx)("path",{d:"M18 13H13V18C13 18.55 12.55 19 12 19C11.45 19 11 18.55 11 18V13H6C5.45 13 5 12.55 5 12C5 11.45 5.45 11 6 11H11V6C11 5.45 11.45 5 12 5C12.55 5 13 5.45 13 6V11H18C18.55 11 19 11.45 19 12C19 12.55 18.55 13 18 13Z"})})},38044:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 24",..._,children:(0,Z.jsx)("path",{d:"M12 7c-.55 0-1 .45-1 1v3H8c-.55 0-1 .45-1 1s.45 1 1 1h3v3c0 .55.45 1 1 1s1-.45 1-1v-3h3c.55 0 1-.45 1-1s-.45-1-1-1h-3V8c0-.55-.45-1-1-1zm0-5C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"})})},15408:function(_,C,L){"use strict";L.d(C,{f:function(){return AlpIcon}});var Z=L(97458);L(52983);var ea=L(38269);let AlpIcon=_=>(0,Z.jsxs)(ea.Z,{width:15,height:16,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",..._,children:[(0,Z.jsxs)("g",{"clip-path":"url(#clip0_5853_692)",children:[(0,Z.jsx)("mask",{id:"mask0_5853_692",maskUnits:"userSpaceOnUse",x:"0",y:"1",width:"15",height:"15",children:(0,Z.jsx)("path",{d:"M14.3237 1.57031H0.32373V15.5703H14.3237V1.57031Z",fill:"white"})}),(0,Z.jsx)("g",{mask:"url(#mask0_5853_692)",children:(0,Z.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.5737 4.97582V3.35864C12.5739 3.34185 12.5788 3.3254 12.588 3.31101C12.5972 3.29661 12.6103 3.28478 12.626 3.27675L14.1734 2.45793C14.1886 2.44965 14.2059 2.4453 14.2236 2.44531C14.2412 2.44533 14.2585 2.44971 14.2738 2.45801C14.289 2.46632 14.3017 2.47825 14.3104 2.49261C14.3192 2.50697 14.3238 2.52326 14.3237 2.53981V4.15699C14.3236 4.17354 14.3189 4.18976 14.3101 4.20411C14.3013 4.21845 14.2887 4.23042 
172414.2736 4.23887L12.7241 5.0577C12.7088 5.06598 12.6915 5.07033 12.6739 5.07031C12.6563 5.0703 12.6389 5.06592 12.6237 5.05762C12.6084 5.04931 12.5958 5.03738 12.587 5.02302C12.5782 5.00865 12.5737 4.99237 12.5737 4.97582ZM12.1851 5.34331C11.2683 7.47471 9.76868 9.29656 7.86283 10.5943C5.95698 11.892 3.72439 12.6115 1.42796 12.668C0.9527 11.9533 0.621208 11.1508 0.45242 10.3063C0.283633 9.46191 0.280853 8.59211 0.444238 7.74661C0.607624 6.90111 0.933975 6.09647 1.40466 5.3786C1.87535 4.66072 2.48115 4.0437 3.18748 3.56275C3.8938 3.0818 4.68682 2.74635 5.52128 2.57554C6.35568 2.40474 7.21518 2.40192 8.05073 2.56726C8.88623 2.7326 9.68138 3.06286 10.3908 3.53917C11.1001 4.01549 11.7099 4.62853 12.1851 5.34331ZM12.05 12.7744C12.8375 11.6603 13.2609 10.3248 13.2609 8.95501C13.2613 7.94551 13.0301 6.94971 12.5856 6.04598C10.5605 8.69411 9.27688 11.845 8.86943 15.168C10.1504 14.7254 11.2625 13.8885 12.05 12.7744Z",fill:"url(#paint0_linear_5853_692)"})})]}),(0,Z.jsxs)("defs",{children:[(0,Z.jsxs)("linearGradient",{id:"paint0_linear_5853_692",x1:"-5.33247",y1:"6.29551",x2:"13.9326",y2:"16.2001",gradientUnits:"userSpaceOnUse",children:[(0,Z.jsx)("stop",{"stop-color":"#C040FC"}),(0,Z.jsx)("stop",{offset:"1","stop-color":"#4B3CFF"})]}),(0,Z.jsx)("clipPath",{id:"clip0_5853_692",children:(0,Z.jsx)("rect",{width:"14.1519",height:"15.1406",fill:"white",transform:"translate(0.171875 0.429688)"})})]})]})},32136:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsxs)(ea.Z,{width:14,height:14,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",..._,children:[(0,Z.jsx)("path",{d:"M5.75618 0.975363L0.639582 3.93065C0.445059 4.04295 0.283523 4.2045 0.17125 4.39905C0.0589767 4.59359 -7.94044e-05 4.81426 8.01286e-08 5.03888L0.00320378 10.9559C0.00334742 11.1802 0.062449 11.4005 0.174588 11.5947C0.286727 11.7889 0.447956 11.9503 0.642112 12.0625L5.76469 15.0238C5.95914 15.136 6.1797 15.1951 6.40424 15.1951C6.62878 15.1951 6.84937 15.136 7.04382 15.0238L12.1604 12.0694C12.355 11.957 12.5165 11.7955 12.6288 11.601C12.741 11.4064 12.8001 11.1857 12.8 10.9611L12.7968 5.04406C12.7967 4.81981 12.7375 4.59954 12.6254 4.40534C12.5132 4.21114 12.352 4.04983 12.1579 3.93759L7.03534 0.976245C6.84089 0.863976 6.6203 0.804871 6.39576 0.804871C6.17122 0.804871 5.95063 0.863976 5.75618 0.976245V0.975363Z",fill:"white"}),(0,Z.jsx)("path",{d:"M4.06716 13.024C4.07505 12.9854 4.0923 12.9494 4.11742 12.9191C5.64799 10.322 7.17885 7.72496 8.70993 5.12806C8.73121 5.092 8.75094 5.05495 8.76903 5.02264C8.75557 4.99915 8.74025 5.004 8.72724 5.004C8.07311 5.00632 7.41897 5.01051 6.7644 5.00974C6.73643 5.00924 6.70898 5.01732 6.68573 5.0329C6.66249 5.04847 6.64457 5.07079 6.63439 5.09686C6.14097 5.91287 5.64689 6.72865 5.15222 7.54422C4.10427 9.27321 3.05621 11.0022 2.00804 12.7311C1.99878 12.7464 1.98907 12.7614 1.9808 12.7772C1.96227 12.8129 1.94122 12.8185 1.90361 12.7967C1.74096 12.7006 1.57655 12.6077 1.40376 12.5083L6.06826 5.02727C6.05822 4.99683 6.03759 5.00445 6.02171 5.0039C5.77172 4.9964 5.52165 4.98559 5.27188 4.98339C4.921 4.97299 4.57132 5.02934 4.24148 5.14945C3.94109 5.26069 3.68581 5.46795 3.51523 5.73908C2.66298 7.06836 1.8075 8.3956 0.948779 9.72077C0.935325 9.74172 0.920998 9.76223 0.907104 9.78296C0.857922 9.78296 0.865185 9.74238 0.860664 9.71404C0.856312 9.67136 0.855299 9.62841 0.857594 9.58558C0.857594 8.11984 0.862665 6.65411 0.853072 5.18849C0.845369 5.0622 0.875722 4.93651 0.940244 4.82767C1.00477 4.71884 1.10049 4.63187 1.21498 4.57803C2.34207 3.93547 3.46187 3.27969 4.58532 2.63063C5.08673 2.34095 5.58968 2.05402 6.08745 1.75827C6.18108 1.69545 6.29127 1.6619 6.40403 1.6619C6.51678 1.6619 6.62699 1.69545 6.72063 1.75827C7.63588 2.2954 8.55928 2.82007 9.47928 3.3496C10.1732 3.74915 10.8674 4.148 11.562 4.54616C11.6117 4.5745 11.6601 4.60482 11.7101 4.63272C11.7913 4.67588 11.8585 4.74139 11.9036 4.82151C11.9488 4.90162 11.9701 4.993 11.965 5.08484C11.9663 6.67922 11.9663 8.2736 11.965 9.86798C11.9683 9.9072 11.964 9.94669 11.9524 9.98431C11.8973 10.0376 11.8774 9.97781 11.8573 9.94947C11.7746 9.83313 11.7004 9.71062 11.6235 9.59021C11.0081 8.6268 10.3905 7.66468 9.77095 6.70385C9.56275 6.3791 9.35192 6.05567 9.14593 5.72959C9.09785 5.6535 9.08915 5.6524 9.04107 5.73412C8.73025 6.26004 8.41962 6.78607 8.10917 7.31221C8.09214 7.34146 8.08479 7.37535 8.0882 7.40902C8.09161 7.4427 8.10558 7.47443 8.12812 7.49967C8.3841 7.91268 8.63959 8.32598 8.89462 8.73957L10.2021 10.8546C10.3786 11.1404 10.5553 11.426 10.7323 11.7113C10.7652 11.7495 10.783
17246 11.798 10.7846 11.8485C10.7492 11.9188 10.6754 11.9386 10.614 11.9705C10.5132 12.0433 10.4024 12.1012 10.285 12.1422C10.2218 12.1265 10.1994 12.0693 10.1694 12.0226C9.76456 11.3912 9.36494 10.7565 8.96278 10.1236C8.54915 9.47298 8.13751 8.81995 7.72212 8.17001C7.66886 8.08665 7.66035 8.0861 7.61028 8.17001C7.24892 8.77794 6.89253 9.38874 6.53029 9.99601C6.51177 10.0245 6.50265 10.058 6.50425 10.0919C6.50586 10.1259 6.5181 10.1584 6.53923 10.185C7.02718 10.9371 7.50388 11.6957 7.98665 12.4515C8.12129 12.6622 8.25692 12.872 8.38913 13.0842C8.41494 13.1254 8.45023 13.1665 8.42685 13.2223C8.30011 13.3209 8.16336 13.4059 8.01885 13.476C7.56791 13.7383 7.11676 14.0003 6.66538 14.262C6.59308 14.3087 6.50882 14.3335 6.42276 14.3335C6.3367 14.3335 6.25247 14.3087 6.18017 14.262C5.51531 13.8774 4.84924 13.4944 4.18195 13.1133C4.13598 13.095 4.09616 13.064 4.06716 13.024Z",fill:"#2D374B"}),(0,Z.jsx)("path",{d:"M11.9336 9.99962C11.9349 10.3137 11.9419 10.6282 11.9348 10.9418C11.9368 11.0153 11.9183 11.0878 11.8816 11.1515C11.8448 11.2151 11.7912 11.2674 11.7265 11.3024C11.4103 11.4815 11.0997 11.6707 10.7806 11.8449C10.6537 11.6133 10.5071 11.3928 10.3684 11.1678C9.64796 10.0001 8.92673 8.8331 8.20467 7.66672C8.16144 7.5968 8.12183 7.52425 8.07354 7.45819C8.05782 7.43924 8.04922 7.41539 8.04922 7.39076C8.04922 7.36614 8.05782 7.34228 8.07354 7.32333C8.24589 7.03508 8.4154 6.74518 8.58599 6.45571L9.05949 5.65249C9.0679 5.6334 9.08266 5.6178 9.10128 5.60838C9.18365 5.73531 9.26668 5.86333 9.3496 5.99147C9.84774 6.76704 10.3458 7.54263 10.8437 8.3182C11.1813 8.84442 11.519 9.37068 11.8565 9.89697C11.8751 9.93602 11.9013 9.97094 11.9336 9.99962Z",fill:"white"}),(0,Z.jsx)("path",{opacity:"0.8",d:"M10.0615 14.1952L13.1589 18.9581L16.0201 17.3335L11.9523 11.0518L10.0615 14.1952Z"}),(0,Z.jsx)("path",{d:"M10.2834 12.1329C10.0777 12.2679 9.85962 12.3827 9.64768 12.5079C9.26338 12.7338 8.87666 12.9556 8.49104 13.179C8.46898 13.1914 8.44693 13.2031 8.42564 13.2152C8.42076 13.1795 8.40542 13.1461 8.38154 13.1191C8.03816 12.5794 7.69473 12.0399 7.35127 11.5004C7.06905 11.0574 6.786 10.6149 6.50216 10.1728C6.48294 10.1498 6.4718 10.1212 6.47045 10.0913C6.46909 10.0614 6.47761 10.0319 6.49468 10.0073C6.87408 9.36836 7.25192 8.72842 7.62816 8.08752C7.6371 8.07274 7.64426 8.05554 7.66642 8.0508C7.6973 8.05774 7.70479 8.08862 7.71946 8.11167C8.40314 9.18858 9.08684 10.2656 9.77052 11.3426C9.91597 11.5719 10.0608 11.8017 10.2071 12.0305C10.2257 12.0692 10.2515 12.1041 10.2832 12.1332L10.2834 12.1329Z",fill:"white"})]})},86026:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 24",..._,children:(0,Z.jsx)("path",{d:"M19 11H7.82998L12.71 6.12C13.1 5.73 13.1 5.09 12.71 4.7C12.32 4.31 11.69 4.31 11.3 4.7L4.70998 11.29C4.31998 11.68 4.31998 12.31 4.70998 12.7L11.3 19.29C11.69 19.68 12.32 19.68 12.71 19.29C13.1 18.9 13.1 18.27 12.71 17.88L7.82998 13H19C19.55 13 20 12.55 20 12C20 11.45 19.55 11 19 11Z"})})},67652:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 24",..._,children:(0,Z.jsx)("path",{d:"M11 5V16.17L6.11997 11.29C5.72997 10.9 5.08997 10.9 4.69997 11.29C4.30997 11.68 4.30997 12.31 4.69997 12.7L11.29 19.29C11.68 19.68 12.31 19.68 12.7 19.29L19.29 12.7C19.68 12.31 19.68 11.68 19.29 11.29C18.9 10.9 18.27 10.9 17.88 11.29L13 16.17V5C13 4.45 12.55 4 12 4C11.45 4 11 4.45 11 5Z"})})},86149:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 24",..._,children:(0,Z.jsx)("path",{d:"M8.71005 11.71L11.3001 14.3C11.6901 14.69 12.3201 14.69 12.7101 14.3L15.3001 11.71C15.9301 11.08 15.4801 10 14.5901 10H9.41005C8.52005 10 8.08005 11.08 8.71005 11.71Z"})})},78846:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 24",..._,children:(0,Z.jsx)("path",{d:"M5 13H16.17L11.29 17.88C10.9 18.27 10.9 18.91 11.29 19.3C11.68 19.69 12.31 19.69 12.7 19.3L19.29 12.71C19.68 12.32 19.68 11.69 19.29 11.3L12.71 4.7C12.32 4.31 11.69 4.31 11.3 4.7C10.91 5.09 10.91 5.72 11.3 6.11L16.17 11H5C4.45 11 4 11.45 4 12C4 12.55 4.45 13 5 13Z"})})},38946:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 24",..._,children:(0,Z.jsx)("path",{d:"M13 19V7.83001L17.88 12.71C18.27 13.1 18.91 13.1 19.3 12.71C19.69 12.32 19.69 11.69 19.3 11.3L12.71 4.71001C12.32 4.32001 11.69 4.32001 11.3 4.71001L4.69997 11.29C4.30997 11.68 4.30997 12.31 4.69997 12.7C5.08997 13.09 5.71997 13.09 6.10997 12.7L11 7.83001V19C11 19.55 11.45 20 12 20C12.5
17245 20 13 19.55 13 19Z"})})},42687:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 24",..._,children:(0,Z.jsx)("path",{d:"M16 17.01V11c0-.55-.45-1-1-1s-1 .45-1 1v6.01h-1.79c-.45 0-.67.54-.35.85l2.79 2.78c.2.19.51.19.71 0l2.79-2.78c.32-.31.09-.85-.35-.85H16zM8.65 3.35L5.86 6.14c-.32.31-.1.85.35.85H8V13c0 .55.45 1 1 1s1-.45 1-1V6.99h1.79c.45 0 .67-.54.35-.85L9.35 3.35a.501.501 0 00-.7 0z"})})},41335:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 24",..._,children:(0,Z.jsx)("path",{d:"M12 6V7.79C12 8.24 12.54 8.46 12.85 8.14L15.64 5.35C15.84 5.15 15.84 4.84 15.64 4.64L12.85 1.85C12.54 1.54 12 1.76 12 2.21V4C7.58 4 4 7.58 4 12C4 13.04 4.2 14.04 4.57 14.95C4.84 15.62 5.7 15.8 6.21 15.29C6.48 15.02 6.59 14.61 6.44 14.25C6.15 13.56 6 12.79 6 12C6 8.69 8.69 6 12 6ZM17.79 8.71C17.52 8.98 17.41 9.4 17.56 9.75C17.84 10.45 18 11.21 18 12C18 15.31 15.31 18 12 18V16.21C12 15.76 11.46 15.54 11.15 15.86L8.36 18.65C8.16 18.85 8.16 19.16 8.36 19.36L11.15 22.15C11.46 22.46 12 22.24 12 21.8V20C16.42 20 20 16.42 20 12C20 10.96 19.8 9.96 19.43 9.05C19.16 8.38 18.3 8.2 17.79 8.71Z"})})},59475:function(_,C,L){"use strict";L.d(C,{s:function(){return BaseIcon}});var Z=L(97458);L(52983);var ea=L(38269);let BaseIcon=_=>(0,Z.jsxs)(ea.Z,{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",..._,children:[(0,Z.jsx)("path",{fill:"white",fillRule:"evenodd",clipRule:"evenodd",d:"M10 16.25C13.4518 16.25 16.25 13.4518 16.25 10C16.25 6.54822 13.4518 3.75 10 3.75C6.54822 3.75 3.75 6.54822 3.75 10C3.75 13.4518 6.54822 16.25 10 16.25ZM10 20C15.5228 20 20 15.5228 20 10C20 4.47715 15.5228 0 10 0C4.47715 0 0 4.47715 0 10C0 15.5228 4.47715 20 10 20Z"}),(0,Z.jsx)("path",{fill:"white",fillRule:"evenodd",clipRule:"evenodd",d:"M11.875 10.625H0V9.375H11.875V10.625Z"})]})},43042:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 40 40",..._,children:(0,Z.jsx)("path",{fill:"#F1BA0D",d:"M14.2487 9.59637L10.7888 7.58546L20.1999 2.08337L29.6387 7.58546L26.1787 9.59637L20.1999 6.13313L14.2487 9.59637ZM32.1022 13.0596V17.1094L35.5622 15.0985V11.0487L32.1022 9.00986L28.6422 11.0208L32.1022 13.0596ZM16.7399 11.0487L20.1999 13.0596L23.6599 11.0487L20.1999 9.00986L16.7399 11.0487ZM29.6387 14.5119L26.1787 12.501L20.1999 15.9643L14.2487 12.501L10.7888 14.5119V18.5617L16.7399 22.0249V28.9514L20.1999 30.9623L23.6599 28.9514V22.0249L29.6387 18.5617V14.5119ZM32.1022 26.9405L26.1511 30.4038V34.4535L35.5899 28.9514V17.9752L32.1022 20.014V26.9405ZM26.1511 27.527L29.611 25.5161V21.4384L26.1511 23.4493V27.527ZM16.7399 31.8561V35.9058L20.1999 37.9168L23.6599 35.9058V31.8561L20.1999 33.867L16.7399 31.8561ZM4.80992 15.0985L8.2699 17.1094V13.0596L11.7299 11.0487L8.29758 9.00986L4.8376 11.0208V15.0985H4.80992ZM8.29758 20.014L4.8376 18.0031V28.9794L14.2764 34.4814V30.4317L8.29758 26.9405V20.014ZM14.2487 23.4773L10.7888 21.4664V25.5161L14.2487 27.527V23.4773Z"})})},13903:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 24",..._,children:(0,Z.jsx)("path",{d:"M12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22ZM12 4C16.42 4 20 7.58 20 12C20 13.85 19.37 15.55 18.31 16.9L7.1 5.69C8.45 4.63 10.15 4 12 4ZM5.69 7.1L16.9 18.31C15.55 19.37 13.85 20 12 20C7.58 20 4 16.42 4 12C4 10.15 4.63 8.45 5.69 7.1Z"})})},79428:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 24",..._,children:(0,Z.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 22C17.5228 22 22 17.5228 22 12C22 11.7792 21.9928 11.5602 21.9788 11.343C18.6515 16.824 10.797 19.3967 6.32085 20.232C7.93393 21.3469 9.8907 22 12 22ZM3.6987 17.5775C2.62604 15.9842 2 14.0652 2 12C2 6.47715 6.47715 2 12 2C16.6548 2 20.5667 5.18031 21.6815 9.48656C20.7816 11.0755 19.4244 12.3811 17.8282 13.4444V7.27607C17.8282 6.86948 17.4986 6.53988 17.092 6.53988H15.3742C14.9676 6.53988 14.638 6.86948 14.638 7.27607V15.0795C14.638 15.1034 14.6392 15.1269 14.6413 
172415.1501C14.2758 15.3076 13.906 15.4562 13.5337 15.5963V9.36196C13.5337 8.95537 13.2041 8.62577 12.7975 8.62577H11.0798C10.6732 8.62577 10.3436 8.95537 10.3436 9.36196V16.592C9.97218 16.6864 9.60348 16.7732 9.23926 16.8528V11.4479C9.23926 11.0413 8.90966 10.7117 8.50307 10.7117H6.78528C6.37869 10.7117 6.04908 11.0413 6.04908 11.4479V17.3941C5.17906 17.4987 4.38348 17.5575 3.6987 17.5775Z"})})},77789:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsxs)(ea.Z,{viewBox:"0 0 24 24",..._,children:[(0,Z.jsx)("path",{d:"M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3ZM19 19H5V5H19V19Z"}),(0,Z.jsx)("path",{d:"M11.25 7.72H6.25V9.22H11.25V7.72Z"}),(0,Z.jsx)("path",{d:"M18 15.75H13V17.25H18V15.75Z"}),(0,Z.jsx)("path",{d:"M18 13.25H13V14.75H18V13.25Z"}),(0,Z.jsx)("path",{d:"M8 18H9.5V16H11.5V14.5H9.5V12.5H8V14.5H6V16H8V18Z"}),(0,Z.jsx)("path",{d:"M14.09 10.95L15.5 9.54L16.91 10.95L17.97 9.89L16.56 8.47L17.97 7.06L16.91 6L15.5 7.41L14.09 6L13.03 7.06L14.44 8.47L13.03 9.89L14.09 10.95Z"})]})},30121:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 24",..._,children:(0,Z.jsx)("path",{d:"M4.5 12H7.5C8.05 12 8.5 11.55 8.5 11V7C8.5 6.45 8.05 6 7.5 6H4.5C3.95 6 3.5 6.45 3.5 7V11C3.5 11.55 3.95 12 4.5 12ZM4.5 19H7.5C8.05 19 8.5 18.55 8.5 18V14C8.5 13.45 8.05 13 7.5 13H4.5C3.95 13 3.5 13.45 3.5 14V18C3.5 18.55 3.95 19 4.5 19ZM10.5 19H13.5C14.05 19 14.5 18.55 14.5 18V14C14.5 13.45 14.05 13 13.5 13H10.5C9.95 13 9.5 13.45 9.5 14V18C9.5 18.55 9.95 19 10.5 19ZM16.5 19H19.5C20.05 19 20.5 18.55 20.5 18V14C20.5 13.45 20.05 13 19.5 13H16.5C15.95 13 15.5 13.45 15.5 14V18C15.5 18.55 15.95 19 16.5 19ZM10.5 12H13.5C14.05 12 14.5 11.55 14.5 11V7C14.5 6.45 14.05 6 13.5 6H10.5C9.95 6 9.5 6.45 9.5 7V11C9.5 11.55 9.95 12 10.5 12ZM15.5 7V11C15.5 11.55 15.95 12 16.5 12H19.5C20.05 12 20.5 11.55 20.5 11V7C20.5 6.45 20.05 6 19.5 6H16.5C15.95 6 15.5 6.45 15.5 7Z"})})},2288:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsxs)(ea.Z,{viewBox:"0 0 23 22",..._,children:[(0,Z.jsx)("path",{d:"M21.5 1l-20 20",strokeWidth:2,stroke:"currentColor",strokeLinecap:"round"}),(0,Z.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.033 19H19.5a1 1 0 100-2H9.033l-2 2zm3-3H18.5a1 1 0 001-1V6.533l-2 2V14h-2v-3.467l-2 2V14h-1.467l-2 2zm.936-8H10.5a1 1 0 00-1 1v.469L10.969 8zm-2 2L5.5 13.469V11a1 1 0 011-1h2.469zM4.5 14.469l-2 2V6a1 1 0 012 0v8.469z"})]})},34230:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 24",..._,children:(0,Z.jsx)("path",{d:"M9.00012 16.2L5.50012 12.7C5.11012 12.31 4.49012 12.31 4.10012 12.7C3.71012 13.09 3.71012 13.71 4.10012 14.1L8.29012 18.29C8.68012 18.68 9.31012 18.68 9.70012 18.29L20.3001 7.70001C20.6901 7.31001 20.6901 6.69001 20.3001 6.30001C19.9101 5.91001 19.2901 5.91001 18.9001 6.30001L9.00012 16.2Z"})})},31674:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 24",..._,children:(0,Z.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20ZM15.88 8.29L10 14.17L8.12 12.29C7.73 11.9 7.1 11.9 6.71 12.29C6.32 12.68 6.32 13.31 6.71 13.7L9.3 16.29C9.69 16.68 10.32 16.68 10.71 16.29L17.3 9.7C17.69 9.31 17.69 8.68 17.3 8.29C16.91 7.9 16.27 7.9 15.88 8.29Z"})})},11433:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 24",..._,children:(0,Z.jsx)("path",{d:"M12 2.75711C6.48 2.75711 2 7.23711 2 12.7571C2 18.2771 6.48 22.7571 12 22.7571C17.52 22.7571 22 18.2771 22 12.7571C22 7.23711 17.52 2.75711 12 2.75711ZM9.29 17.0471L5.7 13.4571C5.31 13.0671 5.31 12.4371 5.7 12.0471C6.09 11.6571 6.72 11.6571 7.11 12.0471L10 14.9271L16.88 8.04711C17.27 7.65711 17.9 7.65711 18.29 8.04711C18.68 8.43711 18.68 9.06711 18.29 9.45711L10.7 17.0471C10.32 17.4371 9.68 17.4371 9.29 17.0471Z"})})},73401:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 24",..._,children:(0,Z.jsx)("path",{d:"M8.11997 9.29006L12 13.1701L15.88 9.29006C16.27 8.90006 16.9 8.90006 17.29 9.29006C17.68 9.68006 17.68 10.3101 17.29 10.7001L12.7 15.2901C12.31 15.6801 11.68 15.6801 11.29 15.2901L6.69997 10.7001C6.30997 10.3101 6.30997 9.68006 6.69997 9.29006C7.08997 8.91006 7.72997 8.90006 8.11997 9.29006Z"})})},68500:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 24",..._,children:(0,Z.jsx)("path",{d:"M14.71 15.88L10.83 12L14.71 8.12001C15.1 7.73001 15.1 7.10001 14.71 6.71001C14.32 6.32001 13.69 6.32001 13.3 6.71001L8.70998 11.3C8.31998 11.69 8.31998 12.32 8.70998 12.71L13.3 17.3C13.69 17.69 14.32 17.69 14.71 17.3C15.09 16.91 15.1 16.27 14.71 15.88Z"})})},46547:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 24",..._,children:(0,Z.jsx)("path",{d:"M9.29006 15.88L13.1701 12L9.29006 8.12001C8.90006 7.73001 8.90006 7.10001 9.29006 6.71001C9.68006 6.32001 10.3101 6.32001 10.7001 6.71001L15.2901 11.3C15.6801 11.69 15.6801 12.32 15.2901 12.71L10.7001 17.3C10.3101 17.69 9.68006 17.69 9.29006 17.3C8.91006 16.91 8.90006 16.27 9.29006 15.88Z"})})},52232:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 24",..._,children:(0,Z.jsx)("path",{d:"M8.11997 14.7101L12 10.8301L15.88 14.7101C16.27 15.1001 16.9 15.1001 17.29 14.7101C17.68 14.3201 17.68 13.6901 17.29 13.3001L12.7 8.7101C12.31 8.3201 11.68 8.3201 11.29 8.7101L6.69997 13.3001C6.30997 13.6901 6.30997 14.3201 6.69997 14.7101C7.08997 15.0901 7.72997 15.1001 8.11997 14.7101Z"})})},14063:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 24",..._,children:(0,Z.jsx)("path",{fill:"currentColor",d:"M18.3 5.70997C17.91 5.31997 17.28 5.31997 16.89 5.70997L12 10.59L7.10997 5.69997C6.71997 5.30997 6.08997 5.30997 5.69997 5.69997C5.30997 6.08997 5.30997 6.71997 5.69997 7.10997L10.59 12L5.69997 16.89C5.30997 17.28 5.30997 17.91 5.69997 18.3C6.08997 18.69 6.71997 18.69 7.10997 18.3L12 13.41L16.89 18.3C17.28 18.69 17.91 18.69 18.3 18.3C18.69 17.91 18.69 17.28 18.3 16.89L13.41 12L18.3 7.10997C18.68 6.72997 18.68 6.08997 18.3 5.70997Z"})})},3187:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 24",..._,children:(0,Z.jsx)("path",{d:"M19.43 12.98C19.47 12.66 19.5 12.34 19.5 12C19.5 11.66 19.47 11.34 19.43 11.02L21.54 9.37C21.73 9.22 21.78 8.95 21.66 8.73L19.66 5.27C19.54 5.05 19.27 4.97 19.05 5.05L16.56 6.05C16.04 5.65 15.48 5.32 14.87 5.07L14.49 2.42C14.46 2.18 14.25 2 14 2H9.99996C9.74996 2 9.53996 2.18 9.50996 2.42L9.12996 5.07C8.51996 5.32 7.95996 5.66 7.43996 6.05L4.94996 5.05C4.71996 4.96 4.45996 5.05 4.33996 5.27L2.33996 8.73C2.20996 8.95 2.26996 9.22 2.45996 9.37L4.56996 11.02C4.52996 11.34 4.49996 11.67 4.49996 12C4.49996 12.33 4.52996 12.66 4.56996 12.98L2.45996 14.63C2.26996 14.78 2.21996 15.05 2.33996 15.27L4.33996 18.73C4.45996 18.95 4.72996 19.03 4.94996 18.95L7.43996 17.95C7.95996 18.35 8.51996 18.68 9.12996 18.93L9.50996 21.58C9.53996 21.82 9.74996 22 9.99996 22H14C14.25 22 14.46 21.82 14.49 21.58L14.87 18.93C15.48 18.68 16.04 18.34 16.56 17.95L19.05 18.95C19.28 19.04 19.54 18.95 19.66 18.73L21.66 15.27C21.78 15.05 21.73 14.78 21.54 14.63L19.43 12.98ZM12 15.5C10.07 15.5 8.49996 13.93 8.49996 12C8.49996 10.07 10.07 8.5 12 8.5C13.93 8.5 15.5 10.07 15.5 12C15.5 13.93 13.93 15.5 12 15.5Z"})})},75644:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 24",..._,children:(0,Z.jsx)("path",{d:"M4 13C5.1 13 6 12.1 6 11C6 9.9 5.1 9 4 9C2.9 9 2 9.9 2 11C2 12.1 2.9 13 4 13ZM5.13 14.1C4.76 14.04 4.39 14 4 14C3.01 14 2.07 14.21 1.22 14.58C0.48 14.9 0 15.62 0 16.43V17C0 17.5523 0.447715 18 1 18H4.5V16.39C4.5 15.56 4.73 14.78 5.13 14.1ZM20 13C21.1 13 22 12.1 22 11C22 9.9 21.1 9 20 9C18.9 9 18 9.9 18 11C18 12.1 18.9 13 20 13ZM24 16.43C24 15.62 23.52 14.9 22.78 14.58C21.93 14.21 20.99 14 20 14C19.61 14 19.24 14.04 18.87 14.1C19.27 14.78 19.5 15.56 19.5 16.39V18H23C23.5523 18 24 17.5523 24 17V16.43ZM16.24 13.65C15.07 13.13 13.63 12.75 12 12.75C10.37 12.75 8.93 13.14 7.76 13.65C6.68 14.13 6 15.21 6 16.39V17C6 17.5523 6.44772 18 7 18H17C17.5523 18 18 17.5523 18 17V16.39C18 15.21 17.32 14.13 16.24 13.65ZM8.07 16C8.16 15.77 8.2 15.61 8.98 15.31C9.95 14.93 10.97 14.75 12 14.75C13.03 14.75 14.05 14.93 15.02 15.31C15.79 15.61 15.83 15.77 15.93 16H8.07ZM12 8C12.55 8 13 8.45 13 9C13 9.55 12.55 10 12 10C11.45 10 11 9.55 11 9C11 8.45 11.45 8 12 8ZM12 6C10.34 6 9 7.34 9 9C9 10.66 10.34 12 12 12C13.66 12 15 10.66 15 9C15 7.34 13.66 6 12 6Z"})})},32305:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 24",..._,children:(0,Z.jsx)("path",{d:"M15 1H4C2.9 1 2 1.9 2 3V16C2 16.55 2.45 17 3 17C3.55 17 4 16.55 4 16V4C4 3.45 4.45 3 5 3H15C15.55 3 16 2.55 16 2C16 1.45 15.55 1 15 1ZM19 5H8C6.9 5 6 5.9 6 7V21C6 22.1 6.9 23 8 23H19C20.1 23 21 22.1 21 21V7C21 5.9 20.1 5 19 5ZM18 21H9C8.45 21 8 20.55 8 20V8C8 7.45 8.45 7 9 7H18C18.55 7 19 7.45 19 8V20C19 20.55 18.55 21 18 21Z"})})},20542:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsxs)(ea.Z,{viewBox:"0 0 24 24",..._,children:[(0,Z.jsx)("path",{d:"M13 7C13 6.44772 12.5523 6 12 6C11.4478 6 11 6.44772 11 7V7.51206C9.97631 7.76875 9.16137 8.59434 8.94664 9.66796C8.60189 11.3917 9.92035 13 11.6783 13H12.7143C13.1483 13 13.5 13.3518 13.5 13.7857C13.5 14.2197 13.1483 14.5714 12.7143 14.5714H11.4947C11.3096 14.5714 11.1282 14.5201 10.9706 14.4231L10.5241 14.1483C10.0538 13.8589 9.43783 14.0055 9.14838 14.4759C8.85893 14.9463 9.00559 15.5622 9.47594 15.8517L9.92241 16.1264C10.2535 16.3302 10.6197 16.4668 11 16.5304V17C11 17.5523 11.4478 18 12 18C12.5523 18 13 17.5523 13 17V16.557C14.4043 16.4139 15.5 15.2278 15.5 13.7857C1
17245.5 12.2472 14.2528 11 12.7143 11H11.6783C11.1824 11 10.8106 10.5464 10.9078 10.0602C10.9813 9.69293 11.3037 9.42857 11.6783 9.42857H12.2948C12.5269 9.42857 12.7494 9.52076 12.9135 9.68485L13.0786 9.84996C13.4692 10.2405 14.1023 10.2405 14.4929 9.84996C14.8834 9.45944 14.8834 8.82627 14.4929 8.43575L14.3278 8.27064C13.9582 7.90106 13.4983 7.64249 13 7.5164V7Z"}),(0,Z.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 12C2 6.48 6.48 2 12 2C17.52 2 22 6.48 22 12C22 17.52 17.52 22 12 22C6.48 22 2 17.52 2 12ZM4 12C4 16.41 7.59 20 12 20C16.41 20 20 16.41 20 12C20 7.59 16.41 4 12 4C7.59 4 4 7.59 4 12Z"})]})},67362:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 20 16",..._,children:(0,Z.jsx)("path",{d:"M16.93 1.644A16.491 16.491 0 0012.86.38a.062.062 0 00-.066.031c-.175.313-.37.72-.506 1.041a15.226 15.226 0 00-4.573 0A10.54 10.54 0 007.2.412a.064.064 0 00-.065-.031 16.447 16.447 0 00-4.07 1.263.058.058 0 00-.028.023C.444 5.54-.266 9.319.083 13.05a.069.069 0 00.026.047 16.584 16.584 0 004.994 2.525.064.064 0 00.07-.023c.385-.526.728-1.08 1.022-1.662a.063.063 0 00-.035-.088 10.917 10.917 0 01-1.56-.744.064.064 0 01-.007-.106c.105-.079.21-.16.31-.243a.062.062 0 01.065-.009c3.273 1.495 6.817 1.495 10.051 0a.062.062 0 01.066.008c.1.083.204.165.31.244a.064.064 0 01-.005.106c-.499.291-1.017.537-1.561.743a.064.064 0 00-.034.089c.3.582.643 1.135 1.02 1.66a.063.063 0 00.07.025 16.53 16.53 0 005.003-2.525.064.064 0 00.026-.046c.417-4.314-.699-8.061-2.957-11.384a.05.05 0 00-.026-.023zM6.684 10.778c-.985 0-1.797-.905-1.797-2.016 0-1.11.796-2.015 1.797-2.015 1.01 0 1.814.912 1.798 2.015 0 1.111-.796 2.016-1.798 2.016zm6.646 0c-.986 0-1.797-.905-1.797-2.016 0-1.11.796-2.015 1.797-2.015 1.009 0 1.813.912 1.797 2.015 0 1.111-.788 2.016-1.797 2.016z"})})},4040:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 24",..._,children:(0,Z.jsx)("path",{d:"M12 7C12.55 7 13 7.45 13 8V12C13 12.55 12.55 13 12 13C11.45 13 11 12.55 11 12V8C11 7.45 11.45 7 12 7ZM11.99 2C6.47 2 2 6.48 2 12C2 17.52 6.47 22 11.99 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 11.99 2ZM12 20C7.58 20 4 16.42 4 12C4 7.58 7.58 4 12 4C16.42 4 20 7.58 20 12C20 16.42 16.42 20 12 20ZM13 17H11V15H13V17Z"})})},79818:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsxs)(ea.Z,{viewBox:"0 0 10 14",fill:"none",..._,children:[(0,Z.jsx)("path",{d:"M4.99103 0.174805V5.13368L9.18211 7.00671L4.99103 0.174805Z",fillOpacity:"0.602"}),(0,Z.jsx)("path",{d:"M4.99083 0.174805L0.799744 7.00671L4.99083 5.13368V0.174805Z"}),(0,Z.jsx)("path",{d:"M4.99103 10.2201V13.5896L9.18456 7.78711L4.99103 10.2201Z",fillOpacity:"0.602"}),(0,Z.jsx)("path",{d:"M4.99083 13.5896V10.2201L0.799744 7.78711L4.99083 13.5896Z"}),(0,Z.jsx)("path",{d:"M4.99103 9.4398L9.18211 7.00682L4.99103 5.13379V9.4398Z",fillOpacity:"0.2"}),(0,Z.jsx)("path",{d:"M0.799744 7.00682L4.99083 9.4398V5.13379L0.799744 7.00682Z",fillOpacity:"0.602"})]})},53393:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",..._,children:(0,Z.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.97 0C4.464 0 0 4.465 0 9.97c0 4.403 2.875 8.134 6.789 9.48.49.06.673-.245.673-.49v-1.712c-2.753.611-3.364-1.346-3.364-1.346-.428-1.162-1.101-1.468-1.101-1.468-.917-.611.061-.611.061-.611.979.06 1.53 1.04 1.53 1.04.917 1.528 2.323 1.1 2.874.856a2.13 2.13 0 01.611-1.346c-2.201-.245-4.526-1.1-4.526-4.954 0-1.101.367-1.957 1.04-2.691-.061-.184-.428-1.223.122-2.569 0 0 .857-.245 2.753 1.04.795-.245 1.651-.306 2.507-.306.857 0 1.713.122 2.508.306 1.896-1.285 2.752-1.04 2.752-1.04.55 1.346.184 2.385.123 2.63a3.956 3.956 0 011.04 2.691c0 3.853-2.325 4.648-4.527 4.893.367.306.673.918.673 1.835v2.752c0 .245.184.55.673.49A9.98 9.98 0 0020 9.97C19.939 4.464 15.474 0 9.97 0z"})})},77842:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 24",..._,children:(0,Z.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20ZM11 16H13V18H11V16ZM12.61 6.04C10.55 5.74 8.73 7.01 8.18 8.83C8 9.41 8.44 10 9.05 10H9.25C9.66 10 9.99 9.71 10.13 9.33C10.45 8.44 11.4 7.83 12.43 8.05C13.38 8.25 14.08 9.18 14 10.15C13.9 11.49 12.38 11.78 11.55 13.03C11.55 13.04 11.54 13.04 11.54 13.05C11.53 13.07 11.52 13.08 11.51 13.1C11.42 13.25 11.33 13.42 11.26 13.6C11.25 13.63 11.23 13.65 11.22 13.68C11.21 13.7 11.21 13.72 11.2 13.75C11.08 14.09 11 14.5 11 15H13C13 14.58 13.11 14.23 13.28 13.93C13.3 13.9 13.31 13.87 13.33 13.84C13.41 13.7 13.51 13.57 13.61 13.45C13.62 13.44 13.63 13.42 13.64 13.41C13.74 13.29 13.85 13.18 13.97 13.07C14.93 12.16 16.23 11.42 15.96 9.51C15.72 7.77 14.35 6.3 12.61 6.04Z"})})},44294:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsxs)(ea.Z,{viewBox:"0 0 24 24",..._,children:[(0,Z.jsx)("g",{clipPath:"url(#clip0_2587_118570)",children:(0,Z.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75l-.9.92c-.5.51-.86.97-1.04 1.69-.08.32-.13.68-.13 1.14h-2v-.5a3.997 3.997 0 011.17-2.83l1.24-1.26c.46-.44.68-1.1.55-1.8a1.99 1.99 0 00-1.39-1.53c-1.11-.31-2.14.32-2.47 1.27-.12.37-.43.65-.82.65h-.3C8.4 9 8 8.44 8.16 7.88a4.008 4.008 0 013.23-2.83c1.52-.24 2.97.55 3.87 1.8 1.18 1.63.83 3.38-.19 4.4z"})}),(0,Z.jsx)("defs",{children:(0,Z.jsx)("clipPath",{id:"clip0_2587_118570",children:(0,Z.jsx)("path",{fill:"#fff",d:"M0 0H24V24H0z"})})})]})},87529:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 24",..._,children:(0,Z.jsx)("path",{d:"M11 7H13V9H11V7ZM12 17C12.5
17245 17 13 16.55 13 16V12C13 11.45 12.55 11 12 11C11.45 11 11 11.45 11 12V16C11 16.55 11.45 17 12 17ZM12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20Z"})})},57512:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsxs)(ea.Z,{viewBox:"0 0 24 24",..._,children:[(0,Z.jsx)("path",{d:"M12 2C6.48001 2 2.00001 6.48 2.00001 12C2.00001 17.52 6.48001 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2Z"}),(0,Z.jsx)("path",{d:"M11 7H13V9H11V7ZM12 17C12.55 17 13 16.55 13 16V12C13 11.45 12.55 11 12 11C11.45 11 11 11.45 11 12V16C11 16.55 11.45 17 12 17Z",fill:"white"})]})},36608:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsxs)(ea.Z,{viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",..._,children:[(0,Z.jsx)("path",{d:"M9 1.625c2.407 0 2.685.01 3.641.052.874.04 1.358.185 1.666.308.422.165.72.36 1.04.669.318.319.514.617.668 1.039.123.318.267.792.308 1.666.042.946.052 1.234.052 3.641s-.01 2.685-.052 3.641c-.04.874-.185 1.358-.308 1.666-.165.422-.36.72-.669 1.04a2.66 2.66 0 01-1.039.668c-.318.123-.792.267-1.666.308-.946.042-1.234.052-3.641.052s-2.685-.01-3.641-.052c-.874-.04-1.358-.185-1.666-.308a2.911 2.911 0 01-1.04-.669 2.659 2.659 0 01-.668-1.039c-.123-.318-.267-.792-.308-1.666-.042-.946-.052-1.234-.052-3.641s.01-2.685.052-3.641c.04-.874.185-1.358.308-1.666.165-.422.36-.72.669-1.04a2.658 2.658 0 011.039-.668c.318-.123.792-.267 1.666-.308.956-.042 1.234-.052 3.641-.052zM9 0C6.552 0 6.254.01 5.287.051c-.957.052-1.615.196-2.18.422a4.311 4.311 0 00-1.595 1.039A4.311 4.311 0 00.473 3.106c-.226.566-.37 1.224-.422 2.18C.011 6.255 0 6.553 0 9s.01 2.746.051 3.713c.042.957.196 1.615.422 2.18.226.597.535 1.091 1.039 1.595.504.504.998.813 1.594 1.039.576.226 1.224.37 2.18.422.957.04 1.266.051 3.714.051s2.746-.01 3.713-.051c.957-.042 1.615-.196 2.18-.422a4.311 4.311 0 001.595-1.039 4.311 4.311 0 001.039-1.594c.226-.576.37-1.224.422-2.18.04-.957.051-1.266.051-3.714s-.01-2.746-.051-3.713c-.042-.957-.196-1.615-.422-2.18a4.312 4.312 0 00-1.039-1.595A4.311 4.311 0 0014.894.473c-.576-.226-1.224-.37-2.18-.422C11.745.011 11.447 0 9 0z"}),(0,Z.jsx)("path",{d:"M9 4.382a4.618 4.618 0 100 9.236 4.618 4.618 0 000-9.236zm0 7.621A3.007 3.007 0 015.997 9 3.007 3.007 0 019 5.997 3.007 3.007 0 0112.003 9 3.007 3.007 0 019 12.003zM13.803 5.277a1.08 1.08 0 100-2.16 1.08 1.08 0 000 2.16z"})]})},40088:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 24",..._,children:(0,Z.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12C2 17.52 6.47 22 11.99 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 11.99 2ZM18.92 8H15.97C15.65 6.75 15.19 5.55 14.59 4.44C16.43 5.07 17.96 6.35 18.92 8ZM12 4.04C12.83 5.24 13.48 6.57 13.91 8H10.09C10.52 6.57 11.17 5.24 12 4.04ZM4.26 14C4.1 13.36 4 12.69 4 12C4 11.31 4.1 10.64 4.26 10H7.64C7.56 10.66 7.5 11.32 7.5 12C7.5 12.68 7.56 13.34 7.64 14H4.26ZM5.08 16H8.03C8.35 17.25 8.81 18.45 9.41 19.56C7.57 18.93 6.04 17.66 5.08 16ZM8.03 8H5.08C6.04 6.34 7.57 5.07 9.41 4.44C8.81 5.55 8.35 6.75 8.03 8ZM12 19.96C11.17 18.76 10.52 17.43 10.09 16H13.91C13.48 17.43 12.83 18.76 12 19.96ZM14.34 14H9.66C9.57 13.34 9.5 12.68 9.5 12C9.5 11.32 9.57 10.65 9.66 10H14.34C14.43 10.65 14.5 11.32 14.5 12C14.5 12.68 14.43 13.34 14.34 14ZM14.59 19.56C15.19 18.45 15.65 17.25 15.97 16H18.92C17.96 17.65 16.43 18.93 14.59 19.56ZM16.36 14C16.44 13.34 16.5 12.68 16.5 12C16.5 11.32 16.44 10.66 16.36 10H19.74C19.9 10.64 20 11.31 20 12C20 12.69 19.9 13.36 19.74 14H16.36Z"})})},49995:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{width:"15",height:"22",viewBox:"0 0 15 22",..._,children:(0,Z.jsx)("path",{"fill-fillRule":"evenodd",clipRule:"evenodd",d:"M7.5 0H7.50933C8.02223 0 8.43255 0.415683 8.43255 0.935286V1.85168C8.43255 2.37128 8.02223 2.78696 7.5 2.77752H7.49067C6.97777 2.77752 6.56745 2.36183 6.56745 1.84223V0.935286C6.56745 0.415683 6.97777 0 7.5 0ZM1.58766 3.02315L1.95135 3.39159C2.31505 3.75059 2.31505 4.35522 1.95135 4.71422L1.94203 4.72367C1.57833 5.09211 1.00016 5.09211 0.636462 4.72367L0.27277 4.35522C-0.0909231 3.99622 -0.0909231 3.40104 0.27277 3.03259L0.282095 3.02315C0.636463 2.66415 1.22397 2.6547 1.58766 3.02315ZM14.7272 3.03259C14.3635 2.66415 13.776 2.66415 13.4123 3.02315L13.0486 3.39159C12.685 3.76004 12.685 4.35522 13.0486 4.71422L13.058 4.72367C13.4217 5.09211 14.0092 5.09211 14.3635 4.72367L14.7272 4.35522C15.0909 3.98677 15.0909 3.40104 14.7272 3.03259ZM5.72727 15.8182L4.95455 15.2727C3.72727 14.4182 3 13.0273 3 11.5455C3 9.03636 5.03636 7 7.54545 7C10.0545 7 12.0909 9.03636 12.0909 11.5455C12.0909 13.0273 11.3636 14.4182 10.1364 15.2727L9.36364 15.8182V17H7.54545H5.72727V15.8182ZM11.1818 16.7603C12.8903 15.5676 13.9091 13.6233 13.9091 11.5455C13.9091 8.03221 11.0587 5.18182 7.54545 5.18182C4.03221 5.18182 1.18182 8.03221 1.18182 11.5455C1.18182 13.6233 2.2006 15.5676 3.90909 16.7603V17C3.90909 18.0042 4.72312 18.8182 5.72727 18.8182H9.36364C10.3678 18.8182 11.1818 18.0042 11.1818 17V16.7603ZM5 21C5 21.55 5.45 22 6 22H9C9.55 22 10 21.55 10 21V20H5V21Z"})})},20415:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 23 21",..._,children:(0,Z.jsx)("path",{d:"M17.553 3.091v.001c0 .55.19 1.081.541 1.502l-3.68 7.364a2.346 2.346 0 00-.827.108L10.833 8.97c.14-.3.217-.63.22-.967h0v-.003a2.35 2.35 0 00-2.35-2.35 2.35 2.35 0 00-2.35 2.35V8c.004.499.165.984.465 1.384l-3.477 6.082A2.35 2.35 0 00.75 17.803a2.35 2.35 0 002.35 2.35 2.35 2.35 0 002.35-2.35V17.8a2.338 2.338 0 00-.464-1.384l3.472-6.081c.322.037.65.004.957-.098l2.751 3.096a2.38 2.38 0 00-.216.967v.002a2.352 2.352 0 002.34 2.36 2.352 2.352 0 002.36-2.342v0c0-.55-.19-1.086-.54-1.51l3.68-7.365A2.35 2.35 0 0022.25 3.1a2.347 2.347 0 00-4.697-.01z",stroke:"currentColor",strokeWidth:.5})})},43757:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsxs)(ea.Z,{width:14,height:14,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",..._,children:[(0,Z.jsxs)("g",{clipPath:"url(#clip0_1475_1361)",children:[(0,Z.jsx)("mask",{id:"mask0_1475_1361",maskUnits:"userSpaceOnUse",x:"2",y:"1",width:"12",height:"13",children:(0,Z.jsx)("path",{d:"M13.4495 1.64818H2.5V13.1194H13.4495V1.64818Z",fill:"white"})}),(0,Z.jsxs)("g",{mask:"url(#mask0_1475_1361)",children:[(0,Z.jsx)("path",{d:"M11.5935 13.1195H2.5V3.50959H4.58062V11.257H11.5935V13.1184V13.1195Z",fill:"white"}),(0,Z.jsx)("path",{d:"M11.5936 5.37101C12.6186 5.37101 13.4495 4.53762 13.4495 3.50959C13.4495 2.48156 12.6186 1.64818 11.5936 1.64818C10.5686 1.64818 9.73764 2.48156 9.73764 3.50959C9.73764 4.53762 10.5686 5.37101 11.5936 5.37101Z",fill:"white"})]})]}),(0,Z.jsx)("defs",{children:(0,Z.jsx)("clipPath",{id:"clip0_1475_1361",children:(0,Z.jsx)("rect",{width:"11",height:"11.5238",fill:"white",transform:"translate(2.5 1.61905)"})})})]})},36143:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 24",..._,children:(0,Z.jsx)("path",{d:"M4.5 14H6.5C7.05 14 7.5 13.55 7.5 13V11C7.5 10.45 7.05 10 6.5 10H4.5C3.95 10 3.5 10.45 3.5 11V13C3.5 13.55 3.95 14 4.5 14ZM4.5 19H6.5C7.05 19 7.5 18.55 7.5 18V16C7.5 15.45 7.05 15 6.5 15H4.5C3.95 15 3.5 15.45 3.5 16V18C3.5 18.55 3.95 19 4.5 19ZM4.5 9H6.5C7.05 9 7.5 8.55 7.5 8V6C7.5 5.45 7.05 5 6.5 5H4.5C3.95 5 3.5 5.45 3.5 6V8C3.5 8.55 3.95 9 4.5 9ZM9.5 14H19.5C20.05 14 20.5 13.55 20.5 13V11C20.5 10.45 20.05 10 19.5 10H9.5C8.95 10 8.5 10.45 8.5 11V13C8.5 13.55 8.95 14 9.5 14ZM9.5 19H19.5C20.05 19 20.5 18.55 20.5 18V16C20.5 15.45 20.05 15 19.5 15H9.5C8.95 15 8.5 15.45 8.5 16V18C8.5 18.55 8.95 19 9.5 19ZM8.5 6V8C8.5 8.55 8.95 9 9.5 9H19.5C20.05 9 20.5 8.55 20.5 8V6C20.5 5.45 20.05 5 19.5 5H9.5C8.95 5 8.5 5.45 8.5 6Z"})})},18680:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{width:16,height:16,viewBox:"0 0 16 16",fill:"none",..._,children:(0,Z.jsx)("path",{d:"M7.99996 11.3334C8.73329 11.3334 9.33329 10.7334 9.33329 10.
17240001C9.33329 9.26675 8.73329 8.66675 7.99996 8.66675C7.26663 8.66675 6.66663 9.26675 6.66663 10.0001C6.66663 10.7334 7.26663 11.3334 7.99996 11.3334ZM12 5.33342H11.3333V4.00008C11.3333 2.16008 9.83996 0.666748 7.99996 0.666748C6.15996 0.666748 4.66663 2.16008 4.66663 4.00008V5.33342H3.99996C3.26663 5.33342 2.66663 5.93341 2.66663 6.66675V13.3334C2.66663 14.0667 3.26663 14.6667 3.99996 14.6667H12C12.7333 14.6667 13.3333 14.0667 13.3333 13.3334V6.66675C13.3333 5.93341 12.7333 5.33342 12 5.33342ZM5.93329 4.00008C5.93329 2.86008 6.85996 1.93341 7.99996 1.93341C9.13996 1.93341 10.0666 2.86008 10.0666 4.00008V5.33342H5.93329V4.00008ZM12 13.3334H3.99996V6.66675H12V13.3334Z",fill:"currentColor"})})},12411:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{width:"43",height:"41",viewBox:"0 0 43 41",fill:"none",xmlns:"http://www.w3.org/2000/svg",..._,children:(0,Z.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M16.3324 0.726582C6.97238 2.90976 0 11.3062 0 21.3311C0 23.4609 0.314693 25.5172 0.900117 27.456L16.3324 0.726582ZM5.67517 35.7511C7.63554 37.855 10.0196 39.5587 12.6915 40.7266L21.1572 26.0636L29.6229 40.7266C32.2947 39.5587 34.6787 37.855 36.6391 35.7512L21.1571 8.93561L5.67517 35.7511ZM41.4142 27.4561L25.9819 0.726562C35.3419 2.90971 42.3143 11.3062 42.3143 21.3311C42.3143 23.4609 41.9996 25.5172 41.4142 27.4561Z",fill:"white"})})},57054:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsxs)(ea.Z,{width:"31",height:"31",viewBox:"0 0 31 31",fill:"none",xmlns:"http://www.w3.org/2000/svg",..._,children:[(0,Z.jsx)("circle",{cx:"15.6569",cy:"15.2888",r:"15",fill:"black"}),(0,Z.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.7618 3.28885C7.1459 4.5988 2.96252 9.63664 2.96252 15.6516C2.96252 16.9294 3.15133 18.1631 3.50256 19.3264L12.7618 3.28885ZM6.36757 24.3035C7.54376 25.5658 8.97416 26.588 10.5772 27.2888L15.6567 18.491L20.7361 27.2889C22.3393 26.5882 23.7698 25.5659 24.946 24.3036L15.6568 8.21416L6.36757 24.3035ZM27.811 19.3265L18.5517 3.28882C24.1677 4.59871 28.3511 9.63658 28.3511 15.6516C28.3511 16.9294 28.1623 18.1632 27.811 19.3265Z",fill:"white"})]})},63693:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsxs)(ea.Z,{width:"156",height:"46",viewBox:"0 0 156 46",fill:"none",xmlns:"http://www.w3.org/2000/svg",..._,children:[(0,Z.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M16.3324 0.726582C6.97238 2.90976 0 11.3062 0 21.3311C0 23.4609 0.314693 25.5172 0.900117 27.456L16.3324 0.726582ZM5.67517 35.7511C7.63554 37.855 10.0196 39.5587 12.6915 40.7266L21.1572 26.0636L29.6229 40.7266C32.2947 39.5587 34.6787 37.855 36.6391 35.7512L21.1571 8.93561L5.67517 35.7511ZM41.4142 27.4561L25.9819 0.726562C35.3419 2.90971 42.3143 11.3062 42.3143 21.3311C42.3143 23.4609 41.9996 25.5172 41.4142 27.4561Z",fill:"white"}),(0,Z.jsx)("path",{d:"M52.8773 37.7266L62.8613 15.3266H67.9813L77.9973 37.7266H72.5573L64.3653 17.9506H66.4133L58.1893 37.7266H52.8773ZM57.8693 32.9266L59.2453 28.9906H70.7653L72.1733 32.9266H57.8693ZM88.8333 20.2546C90.1986 20.2546 91.4146 20.5319 92.4813 21.0866C93.5693 21.6199 94.4226 22.4519 95.0413 23.5826C95.66 24.6919 95.9693 26.1212 95.9693 27.8706V37.7266H90.9773V28.6386C90.9773 27.2519 90.6679 26.2279 90.0493 25.5666C89.4519 24.9052 88.5986 24.5746 87.4893 24.5746C86.7 24.5746 85.9853 24.7452 85.3453 25.0866C84.7266 25.4066 84.2359 25.9079 83.8733 26.5906C83.5319 27.2732 83.3613 28.1479 83.3613 29.2146V37.7266H78.3693V20.5106H83.1373V25.2786L82.2413 23.8386C82.8599 22.6866 83.7453 21.8012 84.8973 21.1826C86.0493 20.5639 87.3613 20.2546 88.8333 20.2546ZM106.411 37.9826C104.79 37.9826 103.329 37.6199 102.027 36.8946C100.726 36.1479 99.6913 35.1132 98.9233 33.7906C98.1766 32.4679 97.8033 30.9106 97.8033 29.1186C97.8033 27.3052 98.1766 25.7372 98.9233 24.4146C99.6913 23.0919 100.726 22.0679 102.027 21.3426C103.329 20.6172 104.79 20.2546 106.411 20.2546C107.862 20.2546 109.131 20.5746 110.219 21.2146C111.307 21.8546 112.15 22.8252 112.747 24.1266C113.345 25.4279 113.643 27.0919 113.643 29.1186C113.643 31.1239 113.355 32.7879 112.779 34.1106C112.203 35.4119 111.371 36.3826 110.283 37.0226C109.217 37.6626 107.926 37.9826 106.411 37.9826ZM107.275 33.8866C108.086 33.8866 108.822 33.6946 109.483 33.3106C110.145 32.9266 110.667 32.3826 111.051 31.6786C111.457 30.9532 111.659 30.0999 111.659 29.1186C111.659 28.1159 111.457 27.2626 111.051 26.5586C110.667 25.8546 110.145 25.3106 109.483 24.9266C108.822 24.5426 108.086 24.3506 107.275 24.3506C106.443 24.3506 105.697 24.5426 105.035 24.9266C104.374 25.3106 103.841 25.8546 103.435 26.5586C103.051 27.2626 102.859 28.1159 102.859 29.1186C102.859 30.0999 103.051 30.9532 103.435 31.6786C103.841 32.3826 104.374 32.9266 105.035 33.3106C105.697 33.6946 106.443 33.8866 107.275 33.8866ZM111.787 37.7266V34.2066L111.883 29.0866L111.563 23.9986V13.9826H116.555V37.7266H111.787ZM128.12 37.9826C126.157 37.9826 124.429 37.5986 122.936 36.8306C121.464 36.0626 120.322 35.0172 119.512 33.6946C118.701 32.3506 118.296 30.8252 118.296 29.1186C118.296 27.3906 118.69 25.8652 119.48 24.5426C120.29 23.1986 121.389 22.1532 122.776 21.4066C124.162 20.6386 125.73 20.2546 127.48 20.2546C129.165 20.2546 130.68 20.6172 132.024 21.3426C133.389 22.0466 134.466 23.0706 135.256 24.4146C136.045 25.7372 136.44 27.3266 136.44 29.1826C136.44 29.3746 136.429 29.5986 136.408 29.8546C136.386 30.0892 136.365 30.3132 136.344 30.5266H122.36V27.6146H133.72L131.8 28.4786C131.8 27.5826 131.618 26.8039 131.256 26.1426C130.893 25.4812 130.392 24.9692 129.752 24.6066C129.112 24.2226 128.365 24.0306 127.512 24.0306C126.658 24.0306 125.901 24.2226 125.24 24.6066C124.6 24.9692 124.098 25.4919 123.736 26.1746C123.373 26.8359 123.192 27.6252 123.192 28.5426V29.3106C123.192 30.2492 123.394 31.0812 123.8 31.8066C124.226 32.5106 124.813 33.0546 125.56 33.4386C126.328 33.8012 127.224 33.9826 128.248 33.9826C129.165 33.9826 129.965 33.8439 130.648 33.5666C131.352 33.2892 131.992 32.8732 132.568 32.3186L135.224 35.1986C134.434 36.0946 133.442 36.7879 132.248 37.2786C131.053 37.7479 129.677 37.9826 128.12 37.9826ZM135.518 37.7266L143.23 27.6146L143.134 30.3666L135.742 20.5106H141.342L146.014 26.9426L143.902 27.0066L148.734 20.5106H154.046L146.622 30.2706V27.5826L154.302 37.7266H148.638L143.742 30.8786L145.822 31.1666L140.958 37.7266H135.518Z",fill:"white"})]})},41190:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 24",..._,children:(0,Z.jsx)("path",{d:"M16.3 8.09014C15.91 8.48014 15.91 9.10014 16.3 9.49014L18.2 11.3901H9C8.45 11.3901 8 11.8401 8 12.3901C8 12.9401 8.45 13.3901 9 13.3901H18.2L16.3 15.2901C15.91 15.6801 15.91 16.3001 16.3 16.6901C16.69 17.0801 17.31 17.0801 17.7 16.6901L21.29 13.1001C21.68 12.7101 21.68 12.0801 21.29 11.6901L17.7 8.09014C17.31 7.70014 16.69 7.70014 16.3 8.09014ZM4 19.3901H11C11.55 19.3901 12 19.8401 12 20.3901C12 20.9401 11.55 21.3901 11 21.3901H4C2.9 21.3901 2 20.4901 2 19.3901V5.39014C2 4.29014 2.9 3.39014 4 3.39014H11C11.55 3.39014 12 3.84014 12 4.39014C12 4.94014 11.55 5.39014 11 5.39014H4V19.3901Z"})})},40684:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 24",..._,children:(0,Z.jsx)("path",{d:"M18 13H6C5.45 13 5 12.55 5 12C5 11.45 5.45 11 6 11H18C18.55 11 19 11.45 19 12C19 12.55 18.55 13 18 13Z"})})},86456:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 24",..._,children:(0,Z.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.1534 13.6089L4.15362 13.61C4.77322 16.8113 7.42207 19.3677 10.647 19.8853L10.6502 19.8858C13.0412 20.2736 15.2625 19.6103 16.9422 18.2833C11.3549 16.2878 7.9748 10.3524 9.26266 4.48816C5.69846 5.77194 3.35817 9.51245 4.1534 13.6089ZM10.0083 2.21054C4.76622 3.2533 1.09895 8.36947 2.19006 13.9901C2.97006 18.0201 6.28006 21.2101 10.3301 21.8601C13.8512 22.4311 17.0955 21.1608 19.2662 18.8587C19.2765 18.8478 19.2866 18.837 19.2968 18.8261C19.4385 18.6745 19.5757 18.5184 19.7079 18.3581C19.7105 18.355 19.713 18.3519 19.7156 18.3487C19.8853 18.1426 20.0469 17.9295 20.2001 17.7101C20.4101 17.4001 20.2401 16.9601 19.8701 16.9201C19.5114 16.8796 19.1602 16.8209 18.817 16.7452C18.7964 16.7406 18.7758 
172416.736 18.7552 16.7313C18.6676 16.7114 18.5804 16.6903 18.4938 16.6681C18.4919 16.6676 18.4901 16.6672 18.4882 16.6667C13.0234 15.2647 9.72516 9.48006 11.4542 4.03417C11.4549 4.03214 11.4555 4.03012 11.4562 4.0281C11.4875 3.92954 11.5205 3.83109 11.5552 3.73278C11.5565 3.72911 11.5578 3.72543 11.5591 3.72175C11.6768 3.38921 11.8136 3.05829 11.9701 2.73005C12.1301 2.39005 11.8501 2.01005 11.4701 2.03005C11.1954 2.04379 10.924 2.06848 10.6561 2.10368C10.6517 2.10427 10.6472 2.10486 10.6428 2.10545C10.4413 2.13221 10.2418 2.16492 10.0446 2.2034C10.0325 2.20576 10.0204 2.20814 10.0083 2.21054Z"})})},53826:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 24",..._,children:(0,Z.jsx)("path",{d:"M6 10C4.9 10 4 10.9 4 12C4 13.1 4.9 14 6 14C7.1 14 8 13.1 8 12C8 10.9 7.1 10 6 10ZM18 10C16.9 10 16 10.9 16 12C16 13.1 16.9 14 18 14C19.1 14 20 13.1 20 12C20 10.9 19.1 10 18 10ZM12 10C10.9 10 10 10.9 10 12C10 13.1 10.9 14 12 14C13.1 14 14 13.1 14 12C14 10.9 13.1 10 12 10Z"})})},5402:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 24",..._,children:(0,Z.jsx)("path",{d:"M18 19H6C5.45 19 5 18.55 5 18V6C5 5.45 5.45 5 6 5H11C11.55 5 12 4.55 12 4C12 3.45 11.55 3 11 3H5C3.89 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V13C21 12.45 20.55 12 20 12C19.45 12 19 12.45 19 13V18C19 18.55 18.55 19 18 19ZM14 4C14 4.55 14.45 5 15 5H17.59L8.46 14.13C8.07 14.52 8.07 15.15 8.46 15.54C8.85 15.93 9.48 15.93 9.87 15.54L19 6.41V9C19 9.55 19.45 10 20 10C20.55 10 21 9.55 21 9V4C21 3.45 20.55 3 20 3H15C14.45 3 14 3.45 14 4Z"})})},17582:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 19 19",..._,children:(0,Z.jsx)("path",{d:"M0 15.46V18.5C0 18.78 0.22 19 0.5 19H3.54C3.67 19 3.8 18.95 3.89 18.85L14.81 7.94L11.06 4.19L0.15 15.1C0.0500001 15.2 0 15.32 0 15.46ZM17.71 5.04C18.1 4.65 18.1 4.02 17.71 3.63L15.37 1.29C14.98 0.899998 14.35 0.899998 13.96 1.29L12.13 3.12L15.88 6.87L17.71 5.04Z"})})},14046:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsxs)(ea.Z,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",..._,children:[(0,Z.jsx)("path",{d:"M12.09 13.412c-.448.447-1.408.607-2.09.607-.682 0-1.642-.16-2.09-.607a.27.27 0 00-.383 0 .27.27 0 000 .383c.714.704 2.068.757 2.473.757.405 0 1.76-.053 2.473-.767a.27.27 0 000-.384.28.28 0 00-.383.01zM8.753 11.034c0-.576-.47-1.045-1.045-1.045-.576 0-1.045.47-1.045 1.045 0 .576.47 1.045 1.045 1.045.576 0 1.045-.47 1.045-1.045z"}),(0,Z.jsx)("path",{d:"M10 0C4.478 0 0 4.478 0 10s4.478 10 10 10 10-4.467 10-10c-.01-5.522-4.478-10-10-10zm5.8 11.333c.02.138.032.287.032.437 0 2.25-2.612 4.062-5.832 4.062-3.22 0-5.832-1.813-5.832-4.062 0-.15.011-.299.032-.437A1.447 1.447 0 013.337 10 1.463 1.463 0 015.81 8.945c1.013-.736 2.41-1.194 3.966-1.237 0-.021.736-3.486.736-3.486 0-.064.042-.128.096-.16a.263.263 0 01.202-.043l2.42.523c.17-.342.523-.587.928-.587A1.04 1.04 0 0115.203 5a1.04 1.04 0 01-1.045 1.045 1.034 1.034 0 01-1.034-.992l-2.175-.469-.661 3.124c1.535.053 2.91.522 3.902 1.237a1.454 1.454 0 012.473 1.044 1.48 1.48 0 01-.863 1.344z"}),(0,Z.jsx)("path",{d:"M12.292 10c-.576 0-1.045.47-1.045 1.045s.47 1.045 1.045 1.045c.576 0 1.045-.47 1.045-1.045A1.06 1.06 0 0012.292 10z"})]})},1891:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 24",..._,children:(0,Z.jsx)("path",{d:"M17.65 6.35C16.02 4.72 13.71 3.78 11.17 4.04C7.50002 4.41 4.48002 7.39 4.07002 11.06C3.52002 15.91 7.27002 20 12 20C15.19 20 17.93 18.13 19.21 15.44C19.53 14.77 19.05 14 18.31 14C17.94 14 17.59 14.2 17.43 14.53C16.3 16.96 13.59 18.5 10.63 17.84C8.41002 17.35 6.62002 15.54 6.15002 13.32C5.31002 9.44 8.26002 6 12 6C13.66 6 15.14 6.69 16.22 7.78L14.71 9.29C14.08 9.92 14.52 11 15.41 11H19C19.55 11 20 10.55 20 10V6.41C20 5.52 18.92 5.07 18.29 5.7L17.65 6.35Z"})})},38121:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{width:"20",height:"20",viewBox:"0 0 24 25",..._,children:(0,Z.jsx)("path",{d:"M7 12.7571C7 13.3071 7.45 13.7571 8 13.7571H16C16.55 13.7571 17 13.3071 17 12.7571C17 12.2071 16.55 11.7571 16 11.7571H8C7.45 11.7571 7 12.2071 7 12.7571ZM12 2.75711C6.48 2.75711 2 7.23711 2 12.7571C2 18.2771 6.48 22.7571 12 22.7571C17.52 22.7571 22 18.2771 22 12.7571C22 7.23711 17.52 2.75711 12 2.75711ZM12 20.7571C7.59 20.7571 4 17.1671 4 12.7571C4 8.34711 7.59 4.75711 12 4.75711C16.41 4.75711 20 8.34711 20 12.7571C20 17.1671 16.41 20.7571 12 20.7571Z"})})},33088:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsxs)(ea.Z,{viewBox:"0 0 15 15",..._,children:[(0,Z.jsx)("path",{d:"M8.34588 13.6273C8.0575 13.8656 7.63823 13.7399 7.49172 13.3958L6.78828 11.7438C7.73587 11.3939 8.62311 10.9234 9.44396 10.3744C9.44396 10.3744 9.66966 11.6436 9.38982 12.3723C9.20938 12.8421 8.73469 13.3061 8.34588 13.6273ZM3.25141 8.2087L1.60451 7.50815C1.25825 7.36086 1.1335 6.93831 1.37577 6.6505C1.69974 6.26564 2.16489 5.79794 2.63298 5.61886C3.35861 5.34125 4.62149 5.55437 4.62149 5.55437C4.07225 6.3748 3.60147 7.26158 3.25141 8.2087ZM12.8903 2.10977C12.8903 2.10977 9.90266 0.830267 6.4865 4.2453C5.1647 5.56643 4.37403 7.02028 3.861 8.29315C3.69201 8.7456 3.80668 9.24027 4.13864 9.57809L5.42423 10.857C5.75619 11.1948 6.25111 11.3034 6.70378 11.1345C8.22388 10.5552 9.6041 9.66087 10.7537 8.51033C14.1699 5.09589 12.8903 2.10977 12.8903 2.10977ZM8.62311 6.3748C8.15233 5.90426 8.15233 5.13812 8.62311 4.66758C9.09389 4.19704 9.86042 4.19704 10.3312 4.66758C10.7959 5.13812 10.802 5.90426 10.3312 6.3748C9.8
17246042 6.84534 9.09389 6.84534 8.62311 6.3748Z"}),(0,Z.jsx)("path",{d:"M3.77609 10.3019C3.54971 10.0756 3.23604 9.92849 2.92949 10.0208C2.22706 10.2322 1.71542 10.8838 1.71542 11.6548L1.71542 13.361H3.42253C4.19392 13.361 4.84581 12.8496 5.05736 12.1476C5.14968 11.8412 5.00246 11.5277 4.77608 11.3014L3.77609 10.3019Z"})]})},73055:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsxs)(ea.Z,{viewBox:"0 0 24 24",..._,children:[(0,Z.jsx)("path",{d:"M5.66 4.2L6.05 4.59C6.44 4.97 6.44 5.61 6.05 5.99L6.04 6C5.65 6.39 5.03 6.39 4.64 6L4.25 5.61C3.86 5.23 3.86 4.6 4.25 4.21L4.26 4.2C4.64 3.82 5.27 3.81 5.66 4.2Z"}),(0,Z.jsx)("path",{d:"M1.99 10.95H3.01C3.56 10.95 4 11.39 4 11.95V11.96C4 12.51 3.56 12.95 3 12.94H1.99C1.44 12.94 1 12.5 1 11.95V11.94C1 11.39 1.44 10.95 1.99 10.95Z"}),(0,Z.jsx)("path",{d:"M12 1H12.01C12.56 1 13 1.44 13 1.99V2.96C13 3.51 12.56 3.95 12 3.94H11.99C11.44 3.94 11 3.5 11 2.95V1.99C11 1.44 11.44 1 12 1Z"}),(0,Z.jsx)("path",{d:"M18.34 4.2C18.73 3.82 19.36 3.82 19.75 4.21C20.14 4.6 20.14 5.22 19.75 5.61L19.36 6C18.98 6.39 18.35 6.39 17.96 6L17.95 5.99C17.56 5.61 17.56 4.98 17.95 4.59L18.34 4.2Z"}),(0,Z.jsx)("path",{d:"M18.33 19.7L17.94 19.31C17.55 18.92 17.55 18.3 17.95 17.9C18.33 17.52 18.96 17.51 19.35 17.9L19.74 18.29C20.13 18.68 20.13 19.31 19.74 19.7C19.35 20.09 18.72 20.09 18.33 19.7Z"}),(0,Z.jsx)("path",{d:"M20 11.95V11.94C20 11.39 20.44 10.95 20.99 10.95H22C22.55 10.95 22.99 11.39 22.99 11.94V11.95C22.99 12.5 22.55 12.94 22 12.94H20.99C20.44 12.94 20 12.5 20 11.95Z"}),(0,Z.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 11.95C6 8.64 8.69 5.95 12 5.95C15.31 5.95 18 8.64 18 11.95C18 15.26 15.31 17.95 12 17.95C8.69 17.95 6 15.26 6 11.95ZM12 16C14.2091 16 16 14.2091 16 12C16 9.79086 14.2091 8 12 8C9.79086 8 8 9.79086 8 12C8 14.2091 9.79086 16 12 16Z"}),(0,Z.jsx)("path",{d:"M12 22.9H11.99C11.44 22.9 11 22.46 11 21.91V20.95C11 20.4 11.44 19.96 11.99 19.96H12C12.55 19.96 12.99 20.4 12.99 20.95V21.91C12.99 22.46 12.55 22.9 12 22.9Z"}),(0,Z.jsx)("path",{d:"M5.66 19.69C5.27 20.08 4.64 20.08 4.25 19.69C3.86 19.3 3.86 18.68 4.24 18.28L4.63 17.89C5.02 17.5 5.65 17.5 6.04 17.89L6.05 17.9C6.43 18.28 6.44 18.91 6.05 19.3L5.66 19.69Z"})]})},63046:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsxs)(ea.Z,{viewBox:"0 0 24 24",..._,children:[(0,Z.jsx)("path",{d:"M21.2628 15.8306C21.5556 16.1235 21.5556 16.5983 21.2628 16.8912L18.654 19.5H20.3789C20.7931 19.5 21.1289 19.8358 21.1289 20.25C21.1289 20.6642 20.7931 21 20.3789 21L16.8433 21C16.4291 21 16.0933 20.6642 16.0933 20.25V16.7145C16.0933 16.3002 16.4291 15.9645 16.8433 15.9645C17.2575 15.9645 17.5933 16.3002 17.5933 16.7145V18.4393L20.2021 15.8306C20.495 15.5377 20.9699 15.5377 21.2628 15.8306Z"}),(0,Z.jsx)("path",{d:"M2.81293 7.78034C3.10583 8.07323 3.5807 8.07323 3.87359 7.78034L6.48235 5.17158L6.48235 6.89645C6.48235 7.31067 6.81814 7.64645 7.23235 7.64645C7.64656 7.64645 7.98235 7.31067 7.98235 6.89645L7.98235 3.36092C7.98235 3.16201 7.90333 2.97124 7.76268 2.83059C7.62203 2.68994 7.43126 2.61092 7.23235 2.61092L3.69682 2.61092C3.2826 2.61092 2.94682 2.9467 2.94682 3.36092C2.94682 3.77513 3.2826 4.11092 3.69682 4.11092H5.42169L2.81293 6.71968C2.52004 7.01257 2.52004 7.48744 2.81293 7.78034Z"}),(0,Z.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.46203 20.5622C8.66377 20.5827 8.86846 20.5932 9.07561 20.5932C12.3893 20.5932 15.0756 17.9069 15.0756 14.5932C18.3893 14.5932 21.0756 11.9069 21.0756 8.59315C21.0756 5.69362 19.0189 3.27448 16.2847 2.71504C15.9185 2.64011 15.5402 2.59853 15.153 2.59363C15.1272 2.5933 15.1014 2.59314 15.0755 2.59314C11.7618 2.59314 9.07549 5.27943 9.07549 8.59314C5.76179 8.59314 3.07549 11.2794 3.07549 14.5931C3.07549 17.5962 5.28172 20.0839 8.16175 20.524C8.26107 20.5392 8.36118 20.5519 8.46203 20.5622ZM5.07549 14.5931C5.07549 12.384 6.86636 10.5931 9.07549 10.5931C9.19246 10.5931 9.30806 10.5981 9.42214 10.6079C10.0255 12.3008 11.3678 13.6431 13.0607 14.2465C13.0705 14.3606 13.0755 14.4762 13.0755 14.5931C13.0755 16.8023 11.2846 18.5931 9.07549 18.5931C6.86636 18.5931 5.07549 16.8023 5.07549 14.5931ZM11.0755 8.59314C11.0755 6.384 12.8664 4.59314 15.0755 4.59314C17.2846 4.59314 19.0755 6.384 19.0755 8.59314C19.0755 10.8023 17.2846 12.5931 15.0755 12.5931C12.8664 12.5931 11.0755 10.8023 11.0755 8.59314Z"})]})},3152:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsxs)(ea.Z,{viewBox:"0 0 20 20",..._,children:[(0,Z.jsx)("path",{d:"M1.87 6.163a.75.75 0 01-1.06-1.06l2.608-2.61
1724H1.694a.75.75 0 110-1.5h3.535a.75.75 0 01.75.75V5.28a.75.75 0 11-1.5 0V3.554L1.87 6.164zM13.072 1.976a5 5 0 01.421 9.983A6.505 6.505 0 008.09 6.555a5 5 0 014.982-4.579z"}),(0,Z.jsx)("path",{d:"M12.072 12.976a5 5 0 10-10 0 5 5 0 0010 0zM19.26 14.213a.75.75 0 010 1.061l-2.61 2.609h1.726a.75.75 0 010 1.5H14.84a.75.75 0 01-.75-.75v-3.536a.75.75 0 011.5 0v1.725l2.609-2.609a.75.75 0 011.06 0z"})]})},38034:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 25",..._,children:(0,Z.jsx)("path",{d:"M16 17.01V11C16 10.45 15.55 10 15 10C14.45 10 14 10.45 14 11V17.01H12.21C11.76 17.01 11.54 17.55 11.86 17.86L14.65 20.64C14.85 20.83 15.16 20.83 15.36 20.64L18.15 17.86C18.47 17.55 18.24 17.01 17.8 17.01H16ZM8.65003 3.35002L5.86003 6.14002C5.54003 6.45002 5.76003 6.99002 6.21003 6.99002H8.00003V13C8.00003 13.55 8.45003 14 9.00003 14C9.55003 14 10 13.55 10 13V6.99002H11.79C12.24 6.99002 12.46 6.45002 12.14 6.14002L9.35003 3.35002C9.16003 3.16002 8.84003 3.16002 8.65003 3.35002Z"})})},85894:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 25",..._,children:(0,Z.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.86 4.86003L21.65 7.65003C21.84 7.84003 21.84 8.16003 21.64 8.35003L18.85 11.14C18.54 11.46 18 11.24 18 10.79V9.00003H4C3.45 9.00003 3 8.55003 3 8.00003C3 7.45003 3.45 7.00003 4 7.00003H18V5.21003C18 4.76003 18.54 4.54003 18.86 4.86003ZM5.14001 19.14L2.35001 16.35C2.16001 16.16 2.16001 15.84 2.36001 15.65L5.15001 12.86C5.46001 12.54 6.00001 12.76 6.00001 13.21V15H20C20.55 15 21 15.45 21 16C21 16.55 20.55 17 20 17H6.00001V18.79C6.00001 19.24 5.46001 19.46 5.14001 19.14Z"})})},98933:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 20 20",..._,children:(0,Z.jsx)("path",{d:"M10 0C4.478 0 0 4.478 0 9.99 0 15.511 4.478 20 10 20s10-4.488 10-10.01C20 4.477 15.522 0 10 0zm4.925 6.28c-.064.927-1.78 7.856-1.78 7.856s-.107.406-.48.416a.644.644 0 01-.49-.192c-.395-.33-1.29-.97-2.132-1.556a.953.953 0 01-.107.096c-.192.17-.48.416-.789.714a10.7 10.7 0 00-.373.352l-.01.01a2.214 2.214 0 01-.193.171c-.415.341-.458.053-.458-.096l.224-2.441v-.021l.01-.022c.011-.032.033-.043.033-.043s4.36-3.88 4.477-4.296c.01-.021-.021-.042-.074-.021-.288.096-5.31 3.273-5.864 3.625-.032.02-.128.01-.128.01l-2.441-.8s-.288-.117-.192-.383c.021-.053.053-.107.17-.181.544-.384 10-3.785 10-3.785s.267-.085.427-.032c.074.032.117.064.16.17.01.043.021.128.021.224 0 .054-.01.118-.01.224z"})})},15028:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 24",..._,children:(0,Z.jsx)("path",{d:"M15.0701 1.01H9.07007V3.01H15.0701V1.01ZM11.0701 14.01H13.0701V8.01H11.0701V14.01ZM19.1001 7.39L20.5201 5.97C20.0901 5.46 19.6201 4.98 19.1101 4.56L17.6901 5.98C16.1401 4.74 14.1901 4 12.0701 4C7.10007 4 3.07007 8.03 3.07007 13C3.07007 17.97 7.09007 22 12.0701 22C17.0501 22 21.0701 17.97 21.0701 13C21.0701 10.89 20.3301 8.94 19.1001 7.39ZM12.0701 20.01C8.20007 20.01 5.07007 16.88 5.07007 13.01C5.07007 9.14 8.20007 6.01 12.0701 6.01C15.9401 6.01 19.0701 9.14 19.0701 13.01C19.0701 16.88 15.9401 20.01 12.0701 20.01Z"})})},66671:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 18 15",..._,children:(0,Z.jsx)("path",{d:"M5.659 15c6.79 0 10.507-5.766 10.507-10.763 0-.16 0-.32-.01-.49A7.578 7.578 0 0018 1.79c-.663.3-1.376.5-2.127.6a3.824 3.824 0 001.63-2.1c-.713.44-1.503.75-2.352.92A3.6 3.6 0 0012.46 0C10.419 0 8.76 1.699 8.76 3.787c0 .3.039.58.098.86-3.064-.15-5.786-1.669-7.61-3.957A3.858 3.858 0 00.75 2.598c0 1.31.654 2.469 1.64 3.148a3.638 3.638 0 01-1.669-.47v.05c0 1.83 1.278 3.368 2.956 3.708-.312.09-.634.13-.976.13-.234 0-.468-.02-.692-.07.468 1.509 1.834 2.598 3.453 2.628a7.284 7.284 0 01-4.585 1.62c-.293 0-.595-.01-.878-.05A10.206 10.206 0 005.659 15z"})})},45778:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 24",..._,children:(0,Z.jsx)("path",{d:"M23 12L20.56 9.21L20.9 5.52L17.29 4.7L15.4 1.5L12 2.96L8.6 1.5L6.71 4.69L3.1 5.5L3.44 9.2L1 12L3.44 14.79L3.1 18.49L6.71 19.31L8.6 22.5L12 21.03L15.4 22.49L17.29 19.3L20.9 18.48L20.56 14.79L23 12ZM9.38 16.01L7 13.61C6.61 13.22 6.61 12.59 7 12.2L7.07 12.13C7.46 11.74 8.1 11.74 8.49 12.13L10.1 13.75L15.25 8.59C15.64 8.2 16.28 8.2 16.67 8.59L16.74 8.66C17.13 9.05 17.13 9.68 16.74 10.07L10.82 16.01C10.41 16.4 9.78 16.4 9.38 16.01Z"})})},22153:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 24",..._,children:(0,Z.jsx)("path",{d:"M2 21.8966H12C12.55 21.8966 13 22.3466 13 22.8966C13 23.4466 12.55 23.8966 12 23.8966H2C1.45 23.8966 1 23.4466 1 22.8966C1 22.3466 1.45 21.8966 2 21.89
172466ZM5.24 8.96661L8.07 6.13661L20.8 18.8666C21.58 19.6466 21.58 20.9166 20.8 21.6966C20.02 22.4766 18.75 22.4766 17.97 21.6966L5.24 8.96661ZM13.73 3.30661L16.56 6.13661C17.34 6.91661 17.34 8.18661 16.56 8.96661L15.14 10.3866L9.49 4.72661L10.9 3.31661C11.68 2.52661 12.95 2.52661 13.73 3.30661ZM3.83 10.3766L9.49 16.0366L8.08 17.4466C7.3 18.2266 6.03 18.2266 5.25 17.4466L2.42 14.6166C1.64 13.8366 1.64 12.5666 2.42 11.7866L3.83 10.3766Z"})})},91049:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 24",..._,children:(0,Z.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17 4C18.5 4 19 4.5 19 6L19 8C20.1046 8 21 8.89543 21 10L21 17C21 19 20 20 17.999 20H6C4 20 3 19 3 17L3 7C3 5.5 4.5 4 6 4L17 4ZM5 7C5 6.44772 5.44772 6 6 6L19 6L19 8L6 8C5.44772 8 5 7.55229 5 7ZM17 16C18 16 19.001 15 19 14C18.999 13 18 12 17 12C16 12 15 13 15 14C15 15 16 16 17 16Z"})})},63100:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 24 24",..._,children:(0,Z.jsx)("path",{d:"M4.47 20.9999H19.53C21.07 20.9999 22.03 19.3299 21.26 17.9999L13.73 4.98993C12.96 3.65993 11.04 3.65993 10.27 4.98993L2.74 17.9999C1.97 19.3299 2.93 20.9999 4.47 20.9999ZM12 13.9999C11.45 13.9999 11 13.5499 11 12.9999V10.9999C11 10.4499 11.45 9.99993 12 9.99993C12.55 9.99993 13 10.4499 13 10.9999V12.9999C13 13.5499 12.55 13.9999 12 13.9999ZM13 17.9999H11V15.9999H13V17.9999Z"})})},86077:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",..._,children:(0,Z.jsx)("path",{d:"M 15 4 C 10.814 4 5.3808594 5.0488281 5.3808594 5.0488281 L 5.3671875 5.0644531 C 3.4606632 5.3693645 2 7.0076245 2 9 L 2 15 L 2 15.001953 L 2 21 L 2 21.001953 A 4 4 0 0 0 5.3769531 24.945312 L 5.3808594 24.951172 C 5.3808594 24.951172 10.814 26.001953 15 26.001953 C 19.186 26.001953 24.619141 24.951172 24.619141 24.951172 L 24.621094 24.949219 A 4 4 0 0 0 28 21.001953 L 28 21 L 28 15.001953 L 28 15 L 28 9 A 4 4 0 0 0 24.623047 5.0546875 L 24.619141 5.0488281 C 24.619141 5.0488281 19.186 4 15 4 z M 12 10.398438 L 20 15 L 12 19.601562 L 12 10.398438 z"})})},19031:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",..._,children:(0,Z.jsx)("path",{fill:"white",d:"M10.3944 9.53278L13.7152 7.61529C13.8912 7.51343 14 7.32455 14 7.12182V3.28683C14 3.0841 13.8912 2.89522 13.7152 2.79337L10.3944 0.875873C10.2184 0.774016 9.99986 0.775005 9.82481 0.875873L6.50406 2.79337C6.32803 2.89522 6.21925 3.0841 6.21925 3.28683V10.14L3.89037 11.4839L1.56149 10.14V7.45113L3.89037 6.1072L5.42614 6.99425V5.19048L4.17517 4.46759C4.08914 4.41814 3.99025 4.39144 3.89037 4.39144C3.79049 4.39144 3.6916 4.41814 3.60556 4.46759L0.284806 6.38508C0.10878 6.48694 0 6.67582 0 6.87855V10.7135C0 10.9163 0.10878 11.1051 0.284806 11.207L3.60556 13.1245C3.78159 13.2254 3.99915 13.2254 4.17517 13.1245L7.49593 11.207C7.67196 11.1051 7.78074 10.9163 7.78074 10.7135V3.8604L7.82227 3.83666L10.1086 2.51647L12.4375 3.8604V6.54924L10.1086 7.89317L8.57483 7.0081V8.81187L9.82383 9.53278C9.99986 9.63365 10.2184 9.63365 10.3934 9.53278H10.3944Z"})})},13144:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsxs)(ea.Z,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",..._,children:[(0,Z.jsxs)("g",{clipPath:"url(#clip0_1401_32485)",children:[(0,Z.jsx)("path",{d:"M8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16Z",fill:"black"}),(0,Z.jsx)("path",{d:"M10.7653 11.6562L14.4375 7.98472L10.7653 4.3125V7.06681L7.09375 9.82047H10.7653V11.6562Z",fill:"white"}),(0,Z.jsx)("path",{d:"M5.23472 4.3125L1.5625 7.98472L5.23472 11.6562V8.90259L8.90625 6.14894H5.23472V4.3125Z",fill:"white"})]}),(0,Z.jsx)("defs",{children:(0,Z.jsx)("clipPath",{id:"clip0_1401_32485",children:(0,Z.jsx)("rect",{width:"16",height:"16",fill:"white"})})})]})},42059:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",..._,children:(0,Z.jsx)("path",{d:"M12.52 11H11.73L11.45 10.73C12.43 9.59 13.02 8.11 13.02 6.5C13.02 2.91 10.11 0 6.52002 0C2.93002 0 0.0200195 2.91 0.0200195 6.5C0.0200195 10.09 2.93002 13 6.52002 13C8.13002 13 9.61002 12.41 10.75 11.43L11.02 11.71V12.5L16.02 17.49L17.51 16L12.52 11ZM6.52002 11C4.03002 11 2.02002 8.99 2.02002 6.5C2.02002 4.01 4.03002 2 6.52002 2C9.01002 2 11.02 4.01 11.02 6.5C11.02 8.99 9.01002 11 6.52002 11ZM7.02002 4H6.02002V6H4.02002V7H6.02002V9H7.02002V7H9.02002V6H7.02002V4Z",fill:"currentColor"})})},10832:function(_,C,L){"use strict";var Z=L(97458);L(52983);var ea=L(38269);C.Z=_=>(0,Z.jsx)(ea.Z,{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",..._,children:(0,Z.jsx)("path",{d:"M13.01 11h-.79l-.28-.27a6.471 6.471 0 001.57-4.23 6.5 6.5 0 10-6.5 6.5c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L18 16l-4.99-5zm-6 0c-2.49 0-4.5-2.01-4.5-4.5S4.52 2 7.01 2s4.5 2.01 4.5 4.5S9.5 11 7.01 11zm-2.5-5h5v1h-5V6z",fill:"
1724currentColor"})})},38269:function(_,C,L){"use strict";var Z=L(62656),ea=L(13729),es=L(45297);let eo=Z.F4`
1725  from {
1726    transform: rotate(0deg);
1727  }
1728  to {
1729    transform: rotate(360deg);
1730  }
1731`,el=Z.iv`
1732  animation: ${eo} 2s linear infinite;
1733`,eu=(0,Z.zo)("svg").withConfig({shouldForwardProp:_=>!["spin"].includes(_)})`
1734  align-self: center; // Safari fix
1735  fill: ${_=>{let{theme:C,color:L}=_;return(0,es.Z)(C,`colors.${L}`,L)}}; // should use color and currentColor in svg path
1736  color: ${_=>{let{theme:C,color:L}=_;return(0,es.Z)(C,`colors.${L}`,L)}};
1737  flex-shrink: 0;
1738  ${_=>{let{spin:C}=_;return C&&el}};
1739  ${ea.Dh};
1740
1741  // Safari fix
1742  @supports (-webkit-text-size-adjust: none) and (not (-ms-accelerator: true)) and (not (-moz-appearance: none)) {
1743    filter: none !important;
1744  }
1745`;eu.defaultProps={color:"text",width:"20px",xmlns:"http://www.w3.org/2000/svg",spin:!1},C.Z=eu},20111:function(_,C,L){"use strict";var Z=L(62656),ea=L(13729);let es=Z.zo.button`
1746  display: inline-flex;
1747  justify-content: center;
1748  cursor: pointer;
1749  border: 0;
1750  outline: 0;
1751  flex-grow: 1;
1752  padding: ${_=>{let{scale:C}=_;return"md"===C?"8px":"16px"}};
1753  border-radius: ${_=>{let{scale:C}=_;return"md"===C?"16px 16px 0 0":"24px 24px 0 0"}};
1754  font-size: 16px;
1755  font-weight: 600;
1756
1757  ${_=>{let{theme:C}=_;return C.mediaQueries.md}} {
1758    flex-grow: 0;
1759  }
1760
1761  ${ea.$_}
1762`;es.defaultProps={scale:"md"},C.Z=es},83631:function(_,C,L){"use strict";var Z=L(97458),ea=L(52983),es=L(62656),eo=L(16169);let el=(0,es.zo)(eo.Z)`
1763  border-bottom: ${_=>{let{isShowBorderBottom:C,theme:L}=_;return C?`2px solid ${L.colors.input}`:"none"}};
1764  overflow-x: auto;
1765  padding: ${_=>{let{fullWidth:C}=_;return C?0:"16px 16px 0 16px"}};
1766
1767  ::-webkit-scrollbar {
1768    display: none;
1769  }
1770  -ms-overflow-style: none; /* IE and Edge */
1771  scrollbar-width: none; /* Firefox */
1772`,eu=(0,es.zo)(eo.Z)`
1773  justify-content: space-between;
1774
1775  & > button + button {
1776    margin-left: ${_=>{let{gap:C}=_;return C||"4px"}};
1777  }
1778
1779  & > button {
1780    flex-grow: ${_=>{let{fullWidth:C}=_;return C?1:0}};
1781  }
1782
1783  ${_=>{let{theme:C}=_;return C.mediaQueries.md}} {
1784    flex-grow: ${_=>{let{fullWidth:C}=_;return C?1:0}};
1785  }
1786
1787  flex-grow: ${_=>{let{fullWidth:C}=_;return C?1:0}};
1788`;C.Z=_=>{let{activeIndex:C=0,onItemClick:L,children:es,fullWidth:eo,gap:ec,isColorInverse:ed=!1,isShowBorderBottom:eh=!0}=_;return(0,Z.jsx)(el,{p:["0 4px","0 16px"],fullWidth:eo,isShowBorderBottom:eh,children:(0,Z.jsx)(eu,{fullWidth:eo,gap:ec,children:ea.Children.map(es,(_,Z)=>{let es=C===Z,eo=es?"backgroundAlt":"textSubtle",el=es?"textSubtle":"backgroundAlt",eu=es?"textSubtle":"input",ec=es?"input":"textSubtle";return(0,ea.cloneElement)(_,{isActive:es,onClick:L?()=>L(Z):void 0,color:ed?el:eo,backgroundColor:ed?ec:eu})})})})}},48737:function(_,C,L){"use strict";L.d(C,{Td:function(){return es},Th:function(){return eo}});var Z=L(62656),ea=L(13729);let es=Z.zo.td`
1789  border-bottom: 1px solid ${_=>{let{theme:C}=_;return C.colors.cardBorder}};
1790  color: ${_=>{let{theme:C}=_;return C.colors.text}};
1791  padding: 16px;
1792  vertical-align: middle;
1793
1794  ${ea.cp}
1795`,eo=(0,Z.zo)(es).attrs({as:"th"})`
1796  color: ${_=>{let{theme:C}=_;return C.colors.secondary}};
1797  font-size: 12px;
1798  text-transform: uppercase;
1799
1800  ${ea.cp}
1801`},85289:function(_,C,L){"use strict";var Z=L(62656),ea=L(13729),es=L(48737);let eo=Z.zo.table`
1802  max-width: 100%;
1803  width: 100%;
1804
1805  tbody tr:last-child {
1806    ${es.Td} {
1807      border-bottom: 0;
1808    }
1809  }
1810
1811  ${ea.Dh}
1812`;C.Z=eo},63135:function(_,C,L){"use strict";L.d(C,{Z:function(){return ef}});var Z=L(97458),ea=L(52983);let es={PRIMARY:"primary",SECONDARY:"secondary",SUCCESS:"success",TEXTDISABLED:"textDisabled",TEXTSUBTLE:"textSubtle",BINANCE:"binance",FAILURE:"failure",WARNING:"warning",GRADIENTBOLD:"gradientBold"},eo={MD:"md",SM:"sm"};var el=L(21058),eu=L(62656),ec=L(13729);let ed={[eo.MD]:{height:"28px",padding:"0 8px",fontSize:"14px"},[eo.SM]:{height:"24px",padding:"0 4px",fontSize:"12px"}},eh={[es.PRIMARY]:{backgroundColor:"primary"},[es.SECONDARY]:{backgroundColor:"secondary"},[es.SUCCESS]:{backgroundColor:"success"},[es.TEXTDISABLED]:{backgroundColor:"textDisabled"},[es.TEXTSUBTLE]:{backgroundColor:"textSubtle"},[es.BINANCE]:{backgroundColor:"binance"},[es.FAILURE]:{backgroundColor:"failure"},[es.WARNING]:{backgroundColor:"warning"},[es.WARNING]:{backgroundColor:"warning"},[es.GRADIENTBOLD]:{bg:"gradientBold"}},ep=eu.zo.div.withConfig({shouldForwardProp:el.ZP})`
1813  align-items: center;
1814  border-radius: 16px;
1815  color: #ffffff;
1816  display: inline-flex;
1817  font-weight: 400;
1818  white-space: nowrap;
1819
1820  & > svg {
1821    fill: currentColor;
1822  }
1823
1824  ${_=>{let{textTransform:C}=_;return C&&`text-transform: ${C};`}}
1825
1826  ${(0,ec.bU)({prop:"scale",variants:ed})}
1827  ${(0,ec.bU)({variants:eh})}
1828  ${ec.Dh}
1829  ${ec.cp}
1830
1831  ${_=>{let{outline:C,theme:L,variant:Z=es.PRIMARY}=_;if(C){let _=eh[Z].backgroundColor,C=L.colors[_];return`
1832      color: ${C};
1833      background: none;
1834      border: 2px solid ${C};
1835    `}return""}}
1836`,Tag=_=>{let{startIcon:C,endIcon:L,children:es,...eo}=_;return(0,Z.jsxs)(ep,{...eo,children:[ea.isValidElement(C)&&ea.cloneElement(C,{mr:"0.5em"}),es,ea.isValidElement(L)&&ea.cloneElement(L,{ml:"0.5em"})]})};Tag.defaultProps={variant:"primary",scale:eo.MD,outline:!1};var ef=Tag},14442:function(_,C,L){"use strict";L.d(C,{Z:function(){return PreTitle}});var Z=L(97458),ea=L(23690);let PreTitle=_=>(0,Z.jsx)(ea.Z,{color:"secondary",fontSize:"12px",bold:!0,textTransform:"uppercase",..._})},23690:function(_,C,L){"use strict";var Z=L(62656),ea=L(21058),es=L(13729),eo=L(45297);let el=Z.zo.div.attrs(_=>{let C=void 0!==_.title?_.title:_.ellipsis&&"string"==typeof _.children?_.children:void 0;return{..._,title:C}}).withConfig({shouldForwardProp:ea.ZP})`
1837  color: ${_=>{let{color:C,theme:L}=_;return(0,eo.Z)(L,`colors.${C}`,C)}};
1838  font-weight: ${_=>{let{bold:C}=_;return C?600:400}};
1839  line-height: 1.5;
1840  ${_=>{let{textTransform:C}=_;return C&&`text-transform: ${C};`}}
1841  ${_=>{let{ellipsis:C}=_;return C&&`white-space: nowrap;
1842    overflow: hidden;
1843    text-overflow: ellipsis;`}}
1844
1845  ${es.Dh}
1846  ${es.cp}
1847  ${es.bK}
1848
1849  ${_=>{let{small:C}=_;return C&&"font-size: 14px;"}}
1850`;el.defaultProps={color:"text",small:!1,fontSize:"16px",ellipsis:!1},C.Z=el},11320:function(_,C,L){"use strict";var Z=L(62656),ea=L(23690);let es=(0,Z.zo)(ea.Z)`
1851  text-decoration: underline dotted;
1852  text-decoration-color: ${_=>{var C;let{theme:L,decorationColor:Z}=_;return`${(null==L?void 0:L.colors)&&Z?L.colors[Z]:null==L?void 0:null===(C=L.colors)||void 0===C?void 0:C.textSubtle}`}};
1853  text-underline-offset: 0.1em;
1854`;C.Z=es},35360:function(_,C,L){"use strict";var Z=L(97458),ea=L(52983),es=L(73055),eo=L(86456),el=L(50956);C.Z=(0,ea.memo)(_=>{let{isDark:C,toggleTheme:L}=_;return(0,Z.jsx)(el.Z,{checked:C,defaultColor:"textDisabled",checkedColor:"textDisabled",onChange:()=>L(!C),scale:"md",startIcon:function(){let _=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(0,Z.jsx)(es.Z,{color:_?"warning":"backgroundAlt"})},endIcon:function(){let _=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(0,Z.jsx)(eo.Z,{color:_?"secondary":"backgroundAlt"})}})},(_,C)=>_.isDark===C.isDark)},95168:function(_,C,L){"use strict";L.d(C,{V:function(){return Z}});let Z={SUCCESS:"success",DANGER:"danger",WARNING:"warning",INFO:"info"}},50956:function(_,C,L){"use strict";L.d(C,{Z:function(){return Toggle_Toggle}});var Z=L(97458);L(52983);var ea=L(16169),es=L(62656);let eo={LG:"lg"},el={sm:{handleHeight:"16px",handleWidth:"16px",handleLeft:"2px",handleTop:"2px",checkedLeft:"calc(100% - 18px)",toggleHeight:"20px",toggleWidth:"36px"},md:{handleHeight:"26px",handleWidth:"26px",handleLeft:"3px",handleTop:"3px",checkedLeft:"calc(100% - 30px)",toggleHeight:"32px",toggleWidth:"56px"},lg:{handleHeight:"32px",handleWidth:"32px",handleLeft:"4px",handleTop:"4px",checkedLeft:"calc(100% - 36px)",toggleHeight:"40px",toggleWidth:"72px"}},getScale=_=>C=>{let{scale:L=eo.LG}=C;return el[L][_]},eu=es.zo.div`
1855  background-color: ${_=>{let{theme:C}=_;
1855return C.toggle.handleBackground}};
1856  border-radius: 50%;
1857  cursor: pointer;
1858  height: ${getScale("handleHeight")};
1859  left: ${getScale("handleLeft")};
1860  position: absolute;
1861  top: ${getScale("handleTop")};
1862  transition: left 200ms ease-in;
1863  width: ${getScale("handleWidth")};
1864  z-index: 1;
1865`,ec=es.zo.input`
1866  cursor: pointer;
1867  opacity: 0;
1868  height: 100%;
1869  position: absolute;
1870  width: 100%;
1871  z-index: 3;
1872
1873  &:checked + ${eu} {
1874    left: ${getScale("checkedLeft")};
1875  }
1876
1877  &:focus + ${eu} {
1878    box-shadow: ${_=>{let{theme:C}=_;return C.shadows.focus}};
1879  }
1880
1881  &:hover + ${eu}:not(:disabled):not(:checked) {
1882    box-shadow: ${_=>{let{theme:C}=_;return C.shadows.focus}};
1883  }
1884`,ed=es.zo.div`
1885  align-items: center;
1886  background-color: ${_=>{let{theme:C,$checked:L,$checkedColor:Z,$defaultColor:ea,disabled:es}=_;return C.colors[L&&!es?Z:ea]}};
1887  border-radius: 24px;
1888  box-shadow: ${_=>{let{theme:C}=_;return C.shadows.inset}};
1889  cursor: pointer;
1890  display: inline-flex;
1891  height: ${getScale("toggleHeight")};
1892  position: relative;
1893  transition: background-color 200ms;
1894  width: ${getScale("toggleWidth")};
1895`;var Toggle_Toggle=_=>{let{checked:C,defaultColor:L="input",checkedColor:es="success",scale:el=eo.LG,startIcon:eh,endIcon:ep,disabled:ef,...em}=_,eb=!!C;return(0,Z.jsxs)(ed,{disabled:ef,$checked:eb,$checkedColor:es,$defaultColor:L,scale:el,children:[(0,Z.jsx)(ec,{disabled:ef,checked:C,scale:el,...em,type:"checkbox"}),eh&&ep?(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(eu,{scale:el,children:(0,Z.jsx)(ea.Z,{height:"100%",alignItems:"center",justifyContent:"center",children:C?ep(C):eh(!C)})}),(0,Z.jsxs)(ea.Z,{width:"100%",height:"100%",justifyContent:"space-around",alignItems:"center",children:[eh(),ep()]})]}):(0,Z.jsx)(eu,{scale:el})]})}},27962:function(_,C,L){"use strict";L.d(C,{J:function(){return ToggleView},w:function(){return ea}});var Z,ea,es=L(97458),eo=L(52983),el=L(62656),eu=L(17778),ec=L(30121),ed=L(36143);(Z=ea||(ea={})).TABLE="TABLE",Z.CARD="CARD";let eh=el.zo.div`
1896  margin-left: -8px;
1897
1898  ${_=>{let{theme:C}=_;return C.mediaQueries.sm}} {
1899    margin-left: 0;
1900  }
1901`,ToggleView=_=>{let{idPrefix:C,viewMode:L,onToggle:Z}=_,ea=(0,eo.useCallback)(()=>{"CARD"!==L&&Z("CARD")},[Z,L]),el=(0,eo.useCallback)(()=>{"TABLE"!==L&&Z("TABLE")},[Z,L]);return(0,es.jsxs)(eh,{children:[(0,es.jsx)(eu.Z,{variant:"text",scale:"sm",id:`${C}CardView`,onClick:ea,children:(0,es.jsx)(ec.Z,{color:"CARD"===L?"primary":"textDisabled"})}),(0,es.jsx)(eu.Z,{variant:"text",scale:"sm",id:`${C}TableView`,onClick:el,children:(0,es.jsx)(ed.Z,{color:"TABLE"===L?"primary":"textDisabled"})})]})}},67827:function(_,C,L){"use strict";var Z=L(97458),ea=L(52983),es=L(44294),eo=L(77842);let el={};C.Z=_=>{let{srcs:C,useFilledIcon:L,alt:eu,...ec}=_,[,ed]=(0,ea.useState)(0),eh=C.find(_=>!el[_]);return eh?(0,Z.jsx)("img",{...ec,alt:eu,src:eh,onError:()=>{eh&&(el[eh]=!0),ed(_=>_+1)}}):L?(0,Z.jsx)(es.Z,{color:"textSubtle",...ec}):(0,Z.jsx)(eo.Z,{...ec})}},43913:function(_,C,L){"use strict";let Z;L.d(C,{kE:function(){return ec},mh:function(){return MatchBreakpointsProvider}});var ea=L(97458),es=L(52983),eo=L(18209),el=L(12516);let eu=(Z=0,Object.keys(eo.AV).reduce((_,C,L)=>{if(L===Object.keys(eo.AV).length-1)return{..._,[C]:`(min-width: ${Z}px)`};let ea=Z,es=eo.AV[C];return Z=es,{..._,[C]:`(min-width: ${ea}px) and (max-width: ${es-1}px)`}},{})),getKey=_=>`is${_.charAt(0).toUpperCase()}${_.slice(1)}`,getState=()=>{let _=Object.keys(eu).reduce((_,C)=>{var L,Z;let ea=getKey(C),es="function"==typeof(null===(L=window)||void 0===L?void 0:L.matchMedia)?window.matchMedia(eu[C]):null;return{..._,[ea]:null!==(Z=null==es?void 0:es.matches)&&void 0!==Z&&Z}},{});return _},ec=(0,es.createContext)({isMobile:!1,isTablet:!1,isDesktop:!1}),getBreakpointChecks=_=>({..._,isMobile:_.isXs||_.isSm,isTablet:_.isMd||_.isLg,isDesktop:_.isXl||_.isXxl}),MatchBreakpointsProvider=_=>{let{children:C}=_,[L,Z]=(0,es.useState)(()=>getBreakpointChecks(getState()));return(0,el.Y)(()=>{let _=Object.keys(eu).map(_=>{var C;let L,ea;return"function"==typeof(null===(C=window)||void 0===C?void 0:C.matchMedia)&&(L=window.matchMedia(eu[_]),ea=C=>{let L=getKey(_);Z(_=>
1901getBreakpointChecks({..._,[L]:C.matches}))},L.addEventListener&&L.addEventListener("change",ea)),()=>{(null==L?void 0:L.removeEventListener)&&L.removeEventListener("change",ea)}});return Z(getBreakpointChecks(getState())),()=>{_.forEach(_=>{_()})}},[]),(0,ea.jsx)(ec.Provider,{value:L,children:C})}},44610:function(_,C,L){"use strict";var Z=L(52983),ea=L(43913);C.Z=()=>{let _=(0,Z.useContext)(ea.kE);if(void 0===_)throw Error("Match Breakpoint context is undefined");return _}},96154:function(_,C,L){"use strict";L.d(C,{Z:function(){return Listener}});var Z=L(97458),ea=L(52983);function _objectWithoutPropertiesLoose(_,C){if(null==_)return{};var L,Z,ea={},es=Object.keys(_);for(Z=0;Z<es.length;Z++)L=es[Z],C.indexOf(L)>=0||(ea[L]=_[L]);return ea}var es=L(54805),eo=L(35408),el=L(45701),eu=ea.createContext(null);function getChildMapping(_,C){var L=Object.create(null);return _&&ea.Children.map(_,function(_){return _}).forEach(function(_){L[_.key]=C&&(0,ea.isValidElement)(_)?C(_):_}),L}function getProp(_,C,L){return null!=L[C]?L[C]:_.props[C]}var ec=Object.values||function(_){return Object.keys(_).map(function(C){return _[C]})},ed=function(_){function TransitionGroup(C,L){var Z,ea=(Z=_.call(this,C,L)||this).handleExited.bind((0,eo.Z)(Z));return Z.state={contextValue:{isMounting:!0},handleExited:ea,firstRender:!0},Z}(0,el.Z)(TransitionGroup,_);var C=TransitionGroup.prototype;return C.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},C.componentWillUnmount=function(){this.mounted=!1},TransitionGroup.getDerivedStateFromProps=function(_,C){var L,Z,es=C.children,eo=C.handleExited;return{children:C.firstRender?getChildMapping(_.children,function(C){return(0,ea.cloneElement)(C,{onExited:eo.bind(null,C),in:!0,appear:getProp(C,"appear",_),enter:getProp(C,"enter",_),exit:getProp(C,"exit",_)})}):(Object.keys(Z=function(_,C){function getValueForKey(L){return L in C?C[L]:_[L]}_=_||{},C=C||{};var L,Z=Object.create(null),ea=[];for(var es in _)es in C?ea.length&&(Z[es]=ea,ea=[]):ea.push(es);var eo={};for(var el in C){if(Z[el])for(L=0;L<Z[el].length;L++){var eu=Z[el][L];eo[Z[el][L]]=getValueForKey(eu)}eo[el]=getValueForKey(el)}for(L=0;L<ea.length;L++)eo[ea[L]]=getValueForKey(ea[L]);return eo}(es,L=getChildMapping(_.children))).forEach(function(C){var el=Z[C];if((0,ea.isValidElement)(el)){var eu=C in es,ec=C in L,ed=es[C],eh=(0,ea.isValidElement)(ed)&&!ed.props.in;ec&&(!eu||eh)?Z[C]=(0,ea.cloneElement)(el,{onExited:eo.bind(null,el),in:!0,exit:getProp(el,"exit",_),enter:getProp(el,"enter",_)}):ec||!eu||eh?ec&&eu&&(0,ea.isValidElement)(ed)&&(Z[C]=(0,ea.cloneElement)(el,{onExited:eo.bind(null,el),in:ed.props.in,exit:getProp(el,"exit",_),enter:getProp(el,"enter",_)})):Z[C]=(0,ea.cloneElement)(el,{in:!1})}}),Z),firstRender:!1}},C.handleExited=function(_,C){var L=getChildMapping(this.props.children);_.key in L||(_.props.onExited&&_.props.onExited(C),this.mounted&&this.setState(function(C){var L=(0,es.Z)({},C.children);return delete L[_.key],{children:L}}))},C.render=function(){var _=this.props,C=_.component,L=_.childFactory,Z=_objectWithoutPropertiesLoose(_,["component","childFactory"]),es=this.state.contextValue,eo=ec(this.state.children).map(L);return(delete Z.appear,delete Z.enter,delete Z.exit,null===C)?ea.createElement(eu.Provider,{value:es},eo):ea.createElement(eu.Provider,{value:es},ea.createElement(C,Z,eo))},TransitionGroup}(ea.Component);ed.propTypes={},ed.defaultProps={component:"div",childFactory:function(_){return _}};var eh=L(62656);function replaceClassName(_,C){return _.replace(RegExp("(^|\\s)"+C+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var ep=L(63730),ef={disabled:!1},forceReflow=function(_){return _.scrollTop},em="unmounted",eb="exited",ey="entering",eg="entered",ev="exiting",ex=function(_){function Transition(C,L){Z=_.call(this,C,L)||this;var Z,ea,es=L&&!L.isMounting?C.enter:C.appear;return Z.appearStatus=null,C.in?es?(ea=eb,Z.appearStatus=ey):ea=eg:ea=C.unmountOnExit||C.mountOnEnter?em:eb,Z.state={status:ea},Z.nextCallback=null,Z}(0,el.Z)(Transition,_),Transition.getDerivedStateFromProps=function(_,C){return _.in&&C.status===em?{status:eb}:null};var C=Transition.prototype;return C.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)}
1901,C.componentDidUpdate=function(_){var C=null;if(_!==this.props){var L=this.state.status;this.props.in?L!==ey&&L!==eg&&(C=ey):(L===ey||L===eg)&&(C=ev)}this.updateStatus(!1,C)},C.componentWillUnmount=function(){this.cancelNextCallback()},C.getTimeouts=function(){var _,C,L,Z=this.props.timeout;return _=C=L=Z,null!=Z&&"number"!=typeof Z&&(_=Z.exit,C=Z.enter,L=void 0!==Z.appear?Z.appear:C),{exit:_,enter:C,appear:L}},C.updateStatus=function(_,C){if(void 0===_&&(_=!1),null!==C){if(this.cancelNextCallback(),C===ey){if(this.props.unmountOnExit||this.props.mountOnEnter){var L=this.props.nodeRef?this.props.nodeRef.current:ep.findDOMNode(this);L&&forceReflow(L)}this.performEnter(_)}else this.performExit()}else this.props.unmountOnExit&&this.state.status===eb&&this.setState({status:em})},C.performEnter=function(_){var C=this,L=this.props.enter,Z=this.context?this.context.isMounting:_,ea=this.props.nodeRef?[Z]:[ep.findDOMNode(this),Z],es=ea[0],eo=ea[1],el=this.getTimeouts(),eu=Z?el.appear:el.enter;if(!_&&!L||ef.disabled){this.safeSetState({status:eg},function(){C.props.onEntered(es)});return}this.props.onEnter(es,eo),this.safeSetState({status:ey},function(){C.props.onEntering(es,eo),C.onTransitionEnd(eu,function(){C.safeSetState({status:eg},function(){C.props.onEntered(es,eo)})})})},C.performExit=function(){var _=this,C=this.props.exit,L=this.getTimeouts(),Z=this.props.nodeRef?void 0:ep.findDOMNode(this);if(!C||ef.disabled){this.safeSetState({status:eb},function(){_.props.onExited(Z)});return}this.props.onExit(Z),this.safeSetState({status:ev},function(){_.props.onExiting(Z),_.onTransitionEnd(L.exit,function(){_.safeSetState({status:eb},function(){_.props.onExited(Z)})})})},C.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},C.safeSetState=function(_,C){C=this.setNextCallback(C),this.setState(_,C)},C.setNextCallback=function(_){var C=this,L=!0;return this.nextCallback=function(Z){L&&(L=!1,C.nextCallback=null,_(Z))},this.nextCallback.cancel=function(){L=!1},this.nextCallback},C.onTransitionEnd=function(_,C){this.setNextCallback(C);var L=this.props.nodeRef?this.props.nodeRef.current:ep.findDOMNode(this),Z=null==_&&!this.props.addEndListener;if(!L||Z){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var ea=this.props.nodeRef?[this.nextCallback]:[L,this.nextCallback],es=ea[0],eo=ea[1];this.props.addEndListener(es,eo)}null!=_&&setTimeout(this.nextCallback,_)},C.render=function(){var _=this.state.status;if(_===em)return null;var C=this.props,L=C.children,Z=(C.in,C.mountOnEnter,C.unmountOnExit,C.appear,C.enter,C.exit,C.timeout,C.addEndListener,C.onEnter,C.onEntering,C.onEntered,C.onExit,C.onExiting,C.onExited,C.nodeRef,_objectWithoutPropertiesLoose(C,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return ea.createElement(eu.Provider,{value:null},"function"==typeof L?L(_,Z):ea.cloneElement(ea.Children.only(L),Z))},Transition}(ea.Component);function noop(){}ex.contextType=eu,ex.propTypes={},ex.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:noop,onEntering:noop,onEntered:noop,onExit:noop,onExiting:noop,onExited:noop},ex.UNMOUNTED=em,ex.EXITED=eb,ex.ENTERING=ey,ex.ENTERED=eg,ex.EXITING=ev;var removeClass=function(_,C){return _&&C&&C.split(" ").forEach(function(C){_.classList?_.classList.remove(C):"string"==typeof _.className?_.className=replaceClassName(_.className,C):_.setAttribute("class",replaceClassName(_.className&&_.className.baseVal||"",C))})},e_=function(_){function CSSTransition(){for(var C,L=arguments.length,Z=Array(L),ea=0;ea<L;ea++)Z[ea]=arguments[ea];return(C=_.call.apply(_,[this].concat(Z))||this).appliedClasses={appear:{},enter:{},exit:{}},C.onEnter=function(_,L){var Z=C.resolveArguments(_,L),ea=Z[0],es=Z[1];C.removeClasses(ea,"exit"),C.addClass(ea,es?"appear":"enter","base"),C.props.onEnter&&C.props.onEnter(_,L)},C.onEntering=function(_,L){var Z=C.resolveArguments(_,L),ea=Z[0],es=Z[1];C.addClass(ea,es?"appear":"enter","active"),C.props.onEntering&&C.props.onEntering(_,L)},C.onEntered=function(_,L){var Z=C.resolveArguments(_,L),ea=Z[0],es=Z[1]?"appear":"enter";C.removeClasses(ea,es),C.addClass(ea,es,"done"),C.props.onEntered&&C.props.onEntered(_,L)},C.onExit=function(_){var L=C.resolveArguments(_)[0];C.removeClasses(L,"appear"),C.removeClasses(L,"enter"),C.addClass(L,"exit","base"),C.props.onExit&&C.props.onExit(_)},C.onExiting=function(_){var L=C.resolveArguments(_)[0];C.addClass(L,"exit","active"),C.props.onExiting&&C.props.onExiting(_)},C.onExited=function(_){var L=C.resolveArguments(_)[0];C.removeClasses(L,"exit"),C.addClass(L,"exit","done"),C.props.onExited&&C.props.onExited(_)},C.resolveArguments=function(_,L){return C.props.nodeRef?[C.props.nodeRef.current,_]:[_,L]},C.getClassNames=function(_){var L=C.props.classNames,Z="string"==typeof L,ea=Z?(Z&&L?L+"-":"")+_:L[_],es=Z?ea+"-active":L[_+"Active"],eo=Z?ea+"-done":L[_+"Done"];return{baseClassName:ea,activeClassName:es,doneClassName:eo}},C}(0,el.Z)(CSSTransition,_);var C=CSSTransition.prototype;return C.addClass=function(_,C,L){var Z,ea=this.getClassNames(C)[L+"ClassName"],es=this.getClassNames("enter").doneClassName;"appear"===C&&"done"===L&&es&&(ea+=" "+es),"active"===L&&_&&forceReflow(_),ea&&(this.appliedClasse
1901s[C][L]=ea,Z=ea,_&&Z&&Z.split(" ").forEach(function(C){var L,Z;return L=_,Z=C,void(L.classList?L.classList.add(Z):(L.classList?Z&&L.classList.contains(Z):-1!==(" "+(L.className.baseVal||L.className)+" ").indexOf(" "+Z+" "))||("string"==typeof L.className?L.className=L.className+" "+Z:L.setAttribute("class",(L.className&&L.className.baseVal||"")+" "+Z)))}))},C.removeClasses=function(_,C){var L=this.appliedClasses[C],Z=L.base,ea=L.active,es=L.done;this.appliedClasses[C]={},Z&&removeClass(_,Z),ea&&removeClass(_,ea),es&&removeClass(_,es)},C.render=function(){var _=this.props,C=(_.classNames,_objectWithoutPropertiesLoose(_,["classNames"]));return ea.createElement(ex,(0,es.Z)({},C,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},CSSTransition}(ea.Component);e_.defaultProps={classNames:""},e_.propTypes={};var ew=L(77974),eC=L(49414),eT=L(95168);let eq={[eT.V.INFO]:ew.o.INFO,[eT.V.SUCCESS]:ew.o.SUCCESS,[eT.V.DANGER]:ew.o.DANGER,[eT.V.WARNING]:ew.o.WARNING},ek=eh.zo.div`
1902  right: 16px;
1903  position: fixed;
1904  max-width: calc(100% - 32px);
1905  transition: all 250ms ease-in;
1906  width: 100%;
1907
1908  ${_=>{let{theme:C}=_;return C.mediaQueries.sm}} {
1909    max-width: 400px;
1910  }
1911`,Toast=_=>{let{toast:C,onRemove:L,style:es,ttl:eo,...el}=_,eu=(0,ea.useRef)(),ec=(0,ea.useRef)(null),{id:ed,title:eh,description:ep,type:ef}=C,em=(0,ea.useCallback)(()=>L(ed),[ed,L]);return(0,ea.useEffect)(()=>(eu.current&&clearTimeout(eu.current),eu.current=window.setTimeout(()=>{em()},eo),()=>{clearTimeout(eu.current)}),[eu,eo,em]),(0,Z.jsx)(e_,{nodeRef:ec,timeout:250,style:es,...el,children:(0,Z.jsx)(ek,{ref:ec,onMouseEnter:()=>{clearTimeout(eu.current)},onMouseLeave:()=>{eu.current&&clearTimeout(eu.current),eu.current=window.setTimeout(()=>{em()},eo)},children:(0,Z.jsx)(eC.Z,{title:eh,variant:eq[ef],onClick:em,children:ep})})})},eS=eh.zo.div`
1912  .enter,
1913  .appear {
1914    opacity: 0.01;
1915  }
1916
1917  .enter.enter-active,
1918  .appear.appear-active {
1919    opacity: 1;
1920    transition: opacity 250ms ease-in;
1921  }
1922
1923  .exit {
1924    opacity: 1;
1925  }
1926
1927  .exit.exit-active {
1928    opacity: 0.01;
1929    transition: opacity 250ms ease-out;
1930  }
1931`,ToastContainer=_=>{let{toasts:C,onRemove:L,ttl:ea=6e3,stackSpacing:es=24}=_;return(0,Z.jsx)(eS,{children:(0,Z.jsx)(ed,{children:C.map((_,C)=>{let eo=(1e3-C).toString();return(0,Z.jsx)(Toast,{toast:_,onRemove:L,ttl:ea,style:{top:`${80+C*es}px`,zIndex:eo}},_.id)})})})};var eE=L(66244),Listener=()=>{let{toasts:_,remove:C}=(0,eE.p)(),L=(0,ea.useCallback)(_=>C(_),[C]);return(0,Z.jsx)(ToastContainer,{toasts:_,onRemove:L})}},75735:function(_,C,L){"use strict";L.d(C,{d:function(){return ToastsProvider},i:function(){return eu}});var Z=L(97458),ea=L(52983),es=L(84602),eo=L.n(es),el=L(95168);let eu=(0,ea.createContext)(void 0),ToastsProvider=_=>{let{children:C}=_,[L,es]=(0,ea.useState)([]),ec=(0,ea.useCallback)(_=>{let{title:C,description:L,type:Z}=_;es(_=>{let ea=eo()(C),es=_.filter(_=>_.id!==ea);return[{id:ea,title:C,description:L,type:Z},...es]})},[es]),ed=(0,ea.useCallback)((_,C)=>ec({title:_,description:C,type:el.V.DANGER}),[ec]),eh=(0,ea.useCallback)((_,C)=>ec({title:_,description:C,type:el.V.INFO}),[ec]),ep=(0,ea.useCallback)((_,C)=>ec({title:_,description:C,type:el.V.SUCCESS}),[ec]),ef=(0,ea.useCallback)((_,C)=>ec({title:_,description:C,type:el.V.WARNING}),[ec]),em=(0,ea.useCallback)(()=>es([]),[]),eb=(0,ea.useCallback)(_=>{es(C=>C.filter(C=>C.id!==_))},[]),ey=(0,ea.useMemo)(()=>({toasts:L,clear:em,remove:eb,toastError:ed,toastInfo:eh,toastSuccess:ep,toastWarning:ef}),[L,em,eb,ed,eh,ep,ef]);return(0,Z.jsx)(eu.Provider,{value:ey,children:C})}},66244:function(_,C,L){"use strict";L.d(C,{p:function(){return useToast}});var Z=L(52983),ea=L(75735);let useToast=()=>{let _=(0,Z.useContext)(ea.i);if(void 0===_)throw Error("Toasts context undefined");return _}},86225:function(_,C,L){"use strict";L.d(C,{H:function(){return atoms}});var Z=L(14517);L(10412);var ea={article:"_1a5xov72",aside:"_1a5xov72",button:"_1a5xov71",details:"_1a5xov72",figcaption:"_1a5xov72",figure:"_1a5xov72",footer:"_1a5xov72",header:"_1a5xov72",hgroup:"_1a5xov72",menu:"_1a5xov72",nav:"_1a5xov72",section:"_1a5xov72",textarea:"_1
1931a5xov72",ul:"_1a5xov74",ol:"_1a5xov74",blockquote:"_1a5xov75",q:"_1a5xov75",body:"_1a5xov73",table:"_1a5xov76",mark:"_1a5xov77",select:"_1a5xov78"},es=L(81327);let atoms=_=>{let{reset:C,...L}=_;if(!C)return(0,es.K)(L);let eo=ea[C],el=(0,es.K)(L);return(0,Z.default)("_1a5xov70",eo,el)}},18209:function(_,C,L){"use strict";L.d(C,{AV:function(){return Z},PS:function(){return es},w5:function(){return ea}});let Z={xs:370,sm:576,md:852,lg:968,xl:1080,xxl:1200},ea={xs:"",sm:`@media screen and (min-width: ${Z.sm}px)`,md:`@media screen and (min-width: ${Z.md}px)`,lg:`@media screen and (min-width: ${Z.lg}px)`,xl:`@media screen and (min-width: ${Z.xl}px)`,xxl:`@media screen and (min-width: ${Z.xxl}px)`},es=Object.keys(Z)},12516:function(_,C,L){"use strict";L.d(C,{Y:function(){return ea}});var Z=L(52983);let ea=Z.useLayoutEffect},9335:function(_,C,L){"use strict";var Z=L(52983);C.Z=(_,C)=>{(0,Z.useEffect)(()=>{if(_){let listener=L=>{_.contains(L.target)||C(L)};return document.addEventListener("mousedown",listener),document.addEventListener("touchstart",listener),()=>{document.removeEventListener("mousedown",listener),document.removeEventListener("touchstart",listener)}}},[_,C])}},92995:function(_,C,L){"use strict";L.d(C,{E:function(){return es},m:function(){return eo}});var Z=L(62656),ea=L(80674);let es=Z.zo.div`
1932  &,
1933  &::before {
1934    position: absolute;
1935    width: 10px;
1936    height: 10px;
1937    border-radius: 2px;
1938    z-index: -1;
1939  }
1940
1941  &::before {
1942    content: "";
1943    transform: rotate(45deg);
1944    background: ${_=>{let{theme:C}=_;return C.tooltip.background}};
1945  }
1946`,eo=(0,Z.zo)(ea.m.div)`
1947  padding: 16px;
1948  font-size: 16px;
1949  line-height: 130%;
1950  border-radius: 16px;
1951  max-width: 320px;
1952  z-index: 101;
1953  background: ${_=>{let{theme:C}=_;return C.tooltip.background}};
1954  color: ${_=>{let{theme:C}=_;return C.tooltip.text}};
1955  box-shadow: ${_=>{let{theme:C}=_;return C.tooltip.boxShadow}};
1956
1957  &[data-popper-placement^="top"] > ${es} {
1958    bottom: -4px;
1959  }
1960
1961  &[data-popper-placement^="bottom"] > ${es} {
1962    top: -4px;
1963  }
1964
1965  &[data-popper-placement^="left"] > ${es} {
1966    right: -4px;
1967  }
1968
1969  &[data-popper-placement^="right"] > ${es} {
1970    left: -4px;
1971  }
1972`},51036:function(_,C,L){"use strict";L.d(C,{Z:function(){return useTooltip_useTooltip}});var Z,ea,es=L(97458),eo=L(19550),el=L(6831),eu=L(85787),ec=L(52983),ed=L(63730),eh=L(78263),ep=L(42199),ef=L(62656),em=L(77837),eb=L.n(em),ey=L(49588),eg=L(15522),ev=L(92995);(Z=ea||(ea={})).touchDevice="touchDevice",Z.nonTouchDevice="nonTouchDevice";let ex={initial:{opacity:0}
1972,animate:{opacity:1},exit:{opacity:0}},e_={initial:"initial",animate:"animate",exit:"exit"},ew={[ea.touchDevice]:{start:"touchstart",end:"touchend"},[ea.nonTouchDevice]:{start:"mouseenter",end:"mouseleave"}};var useTooltip_useTooltip=(_,C)=>{let{isDark:L}=(0,ef.Fg)(),{placement:Z="auto",trigger:ea=ep.tq?"click":"hover",arrowPadding:em=16,tooltipPadding:eC={left:16,right:16},tooltipOffset:eT=[0,10],hideTimeout:eq=100,manualVisible:ek=!1,avoidToStopPropagation:eS=!1,strategy:eE,isInPortal:eM=!0}=C||{},[ej,eA]=(0,ec.useState)(null),[eD,eI]=(0,ec.useState)(null),[eO,eP]=(0,ec.useState)(null),[eN,eL]=(0,ec.useState)(ek);(0,ec.useEffect)(()=>{eL(ek)},[ek]);let eR=(0,ec.useCallback)(eb()(()=>{eL(!1)},eq),[eq]),eB=(0,ec.useCallback)(_=>{ek||(eS||(_.stopPropagation(),_.preventDefault()),"hover"===ea?eR():eL(!1))},[ek,ea,eR,eS]),eF=(0,ec.useCallback)(_=>{eL(!0),"hover"===ea&&eR.cancel(),eS||(_.stopPropagation(),_.preventDefault())},[ea,eS,eR]),eZ=(0,ec.useCallback)(_=>{eS||_.stopPropagation(),eL(!eN)},[eN,eS]);(0,ec.useEffect)(()=>{if(null===ej||"hover"!==ea||ek)return;let _=(0,eg.Z)()?ew.touchDevice:ew.nonTouchDevice;return[ej,eD].forEach(C=>{null==C||C.addEventListener(_.start,eF),null==C||C.addEventListener(_.end,eB)}),()=>{[ej,eD].forEach(C=>{null==C||C.removeEventListener(_.start,eF),null==C||C.removeEventListener(_.end,eB),eR.cancel()})}},[ea,ej,eB,eF,ek,eD,eR]),(0,ec.useEffect)(()=>{if(null!==ej&&"click"===ea)return ej.addEventListener("click",eZ),()=>ej.removeEventListener("click",eZ)},[ea,ej,eN,eZ]),(0,ec.useEffect)(()=>{if("click"!==ea)return;let handleClickOutside=_=>{let{target:C}=_;C instanceof Node&&null!=eD&&null!=ej&&!eD.contains(C)&&!ej.contains(C)&&eL(!1)};return document.addEventListener("mousedown",handleClickOutside),()=>document.removeEventListener("mousedown",handleClickOutside)},[ea,ej,eD]),(0,ec.useEffect)(()=>{if(null!==ej&&"focus"===ea)return ej.addEventListener("focus",eF),ej.addEventListener("blur",eB),()=>{ej.removeEventListener("focus",eF),ej.removeEventListener("blur",eB)}},[ea,ej,eF,eB]);let{styles:ez,attributes:eU,forceUpdate:e$}=(0,eh.D)(ej,eD,{strategy:eE,placement:Z,modifiers:[{name:"arrow",options:{element:eO,padding:em}},{name:"offset",options:{offset:eT}},{name:"preventOverflow",options:{padding:eC}}]}),eV=(0,ec.useCallback)(_=>{_.stopPropagation()},[]),eW=(0,es.jsxs)(ev.m,{onClick:eV,"data-theme":L?"light":"dark",...e_,variants:ex,transition:{duration:.3},ref:eI,style:ez.popper,...eU.popper,children:[_,(0,es.jsx)(ev.E,{ref:eP,style:ez.arrow})]}),eH=(0,es.jsx)(eo.X,{features:el.H,children:(0,es.jsx)(eu.M,{children:eN&&eW})}),eG=(0,ey.Z)(),eK=eG&&eM?(0,ed.createPortal)(eH,eG):null;return{targetRef:eA,tooltip:null!=eK?eK:eH,tooltipVisible:eN,forceUpdate:e$}}},65401:function(_,C,L){"use strict";L.d(C,{C:function(){return ea},_:function(){return es}});var Z=L(40450);let ea=Z.g.colors,es=Z.g.colors},99334:function(_,C,L){"use strict";L.d(C,{_:function(){return eq},R:function(){return eS}});var Z=L(65401);let ea={background:Z.C.backgroundAlt},es={background:Z._.backgroundAlt};var eo=L(40450);let el={background:Z.C.backgroundAlt,boxShadow:eo.g.shadows.level1,boxShadowActive:eo.g.shadows.active,boxShadowSuccess:eo.g.shadows.success,boxShadowWarning:eo.g.shadows.warning,cardHeaderBackground:{default:Z.C.gradientCardHeader,blue:Z.C.gradientBlue,bubblegum:Z.C.gradientBubblegum,violet:Z.C.gradientViolet},dropShadow:"drop-shadow(0px 1px 4px rgba(25, 19, 38, 0.15))"},eu={background:Z._.backgroundAlt,boxShadow:eo.g.shadows.level1,boxShadowActive:eo.g.shadows.active,boxShadowSuccess:eo.g.shadows.success,boxShadowWarning:eo.g.shadows.warning,cardHeaderBackground:{default:Z._.gradientCardHeader,blue:Z._.gradientBlue,bubblegum:Z.C.gradientBubblegum,violet:Z._.gradientViolet},dropShadow:"drop-shadow(0px 1px 4px rgba(25, 19, 38, 0.15))"},ec={handleBackground:Z.C.backgroundAlt,handleShadow:Z.C.textDisabled},ed={handleBackground:Z._.backgroundAlt,handleShadow:Z._.textDisabled},eh={handleBackground:Z.C.backgroundAlt},ep={handleBackground:Z._.backgroundAlt},ef={handleBackground:Z.C.backgroundAlt}
1972,em={handleBackground:Z._.backgroundAlt},eb={background:Z.C.backgroundAlt},ey={background:Z._.backgroundAlt},eg={background:Z.C.backgroundAlt},ev={background:Z._.backgroundAlt},ex={background:Z.C.backgroundAlt,text:Z.C.text,boxShadow:eo.g.shadows.tooltip},e_={background:Z._.backgroundAlt,text:Z._.text,boxShadow:eo.g.shadows.tooltip};var ew=L(18209),eC={siteWidth:1200,breakpoints:Object.values(ew.AV).map(_=>`${_}px`),mediaQueries:ew.w5,spacing:eo.g.space,shadows:eo.g.shadows,radii:eo.g.radii,zIndices:{ribbon:9,dropdown:10,modal:100}};let eT={...eC,isDark:!0,alert:es,colors:Z._,card:eu,toggle:em,nav:ey,modal:ev,pancakeToggle:ed,radio:ep,tooltip:e_};var eq=eT;let ek={...eC,isDark:!1,alert:ea,colors:Z.C,card:el,toggle:ef,nav:eb,modal:eg,pancakeToggle:ec,radio:eh,tooltip:ex};var eS=ek},59193:function(_,C,L){"use strict";L.d(C,{BI:function(){return animationHandler},DS:function(){return eu},Gc:function(){return el},Oz:function(){return ea},a4:function(){return es},ji:function(){return eo}});var Z=L(62656);let ea=Z.F4`
1973  from { opacity:0 }
1974  to { opacity:1 }
1975`,es=Z.F4`
1976  from { opacity:1 }
1977  to { opacity:0 }
1978`,animationHandler=_=>{_&&(_.classList.contains("appear")?(_.classList.remove("appear"),_.classList.add("disappear")):(_.classList.remove("disappear"),_.classList.add("appear")))},eo={initial:{transform:"translateX(0px)"},animate:{transform:"translateX(0px)"},exit:{transform:"translateX(0px)"}},el={initial:"initial",animate:"animate",exit:"exit"},eu=Z.F4`
1979  0% {
1980    background-position: 50% 0%;
1981  }
1982  50% {
1983    background-position: 50% 100%;
1984  }
1985  100% {
1986    background-position: 50% 0%;
1987  }
1988`},77741:function(_,C){"use strict";C.Z={target:"_blank",rel:"noreferrer noopener"}},49588:function(_,C){"use strict";C.Z=()=>{var _;return null!==(_=document.getElementById("portal-root"))&&void 0!==_?_:document.body}},45297:function(_,C,L){"use strict";var Z=L(13546),ea=L.n(Z);C.Z=(_,C,L)=>ea()(_,C,L)},15522:function(_,C){"use strict";C.Z=()=>"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0},38531:function(_,C,L){"use strict";L.d(C,{Z:function(){return Menu_Menu}});var Z=L(97458),ea=L(33688),es=L(14633),eo=L.n(es),el=L(52983),eu=L(62656),ec=L(98289),ed=L(16169),eh=L(21058);let ep=eu.zo.div.withConfig({shouldForwardProp:eh.ZP})`
1989  background: ${_=>{let{activeBackgroundColor:C,theme:L}=_;return C?L.colors[C]:"transparent"}};
1990`,ef=(0,eu.zo)("div").withConfig({shouldForwardProp:_=>!["isActive","hasFillIcon"].includes(_)})`
1991  position: relative;
1992  ${_=>{let{height:C}=_;return C&&`height: ${C}`}};
1993  ${_=>{let{width:C}=_;return`width: ${C||"100%"}`}};
1994
1995  div:first-child {
1996    ${_=>{let{height:C}=_;return C&&`height: ${C}`}};
1997    ${_=>{let{width:C}=_;return`width: ${C||"100%"}`}};
1998    z-index: 0;
1999  }
2000  ${_=>{let{hasFillIcon:C}=_;return C&&`
2001    div, svg {
2002      position: absolute;
2003      left: 0;
2004      bottom: 0;
2005      overflow:hidden;
2006    }
2007
2008    div:last-child {
2009      height: 0;
2010      z-index: 5;
2011      transition: height 0.25s ease;
2012    }
2013  `}}
2014
2015  ${_=>{let{isActive:C,height:L,width:Z,hasFillIcon:ea}=_;return C&&`
2016    div:last-child {
2017      ${L&&ea&&`height:${L}`};
2018      width: ${Z||"100%"};
2019    }
2020  `}}
2021`;var Svg_AnimatedIconComponent=_=>{let{icon:C,fillIcon:L,color:ea="textSubtle",activeColor:es="secondary",activeBackgroundColor:eo,isActive:el=!1,...eu}=_;return C?(0,Z.jsxs)(ef,{isActive:el,hasFillIcon:!!L,...eu,children:[(0,Z.jsx)(ep,{activeBackgroundColor:eo,children:(0,Z.jsx)(C,{color:ea})}),!!L&&(0,Z.jsx)(ep,{activeBackgroundColor:eo,...eu,children:(0,Z.jsx)(L,{color:es})})]}):null},em=L(23690);let eb=eu.zo.button`
2022  display: block;
2023  border: 0;
2024  background: transparent;
2025  cursor: pointer;
2026  height: 44px;
2027  padding: 4px 12px;
2028  &:hover {
2029    border-radius: 16px;
2030  }
2031  &:hover,
2032  &:hover div {
2033    background: ${_=>{let{theme:C}=_;return C.colors.tertiary}};
2034  }
2035`,ey=(0,eu.zo)(em.Z)`
2036  display: -webkit-box;
2037  overflow: hidden;
2038  user-select: none;
2039  -webkit-line-clamp: 1;
2040  -webkit-box-orient: vertical;
2041  -webkit-user-select: none;
2042  -webkit-touch-callout: none;
2043`;var BottomNavItem_BottomNavItem=_=>{let{label:C,icon:L,fillIcon:ea,href:es,showItemsOnMobile:eo=!1,isActive:eu=!1,disabled:eh=!1,...ep}=_,{linkComponent:ef}=(0,el.useContext)(ec.p),em=(0,Z.jsxs)(ed.Z,{flexDirection:"column",justifyContent:"center",alignItems:"center",height:"100%",children:[L&&(0,Z.jsx)(Svg_AnimatedIconComponent,{icon:L,fillIcon:ea,height:"22px",width:"21px",color:eu?"secondary":"textSubtle",isActive:eu,activeBackgroun
2043dColor:"backgroundAlt"}),(0,Z.jsx)(ey,{color:eu?"text":"textSubtle",fontWeight:eu?"600":"400",fontSize:"10px",children:C})]});return eo?(0,Z.jsx)(eb,{style:{opacity:eh?.5:1},type:"button",...ep,children:em}):(0,Z.jsx)(eb,{style:{opacity:eh?.5:1},as:ef,href:es,...ep,children:em})};let eg=(0,eu.zo)(ed.Z)`
2044  position: fixed;
2045  bottom: 0px;
2046  width: 100%;
2047  padding: 5px 8px;
2048  background: ${_=>{let{theme:C}=_;return C.colors.backgroundAlt}};
2049  border-top: 1px solid ${_=>{let{theme:C}=_;return C.colors.cardBorder}};
2050  padding-bottom: env(safe-area-inset-bottom);
2051  html[data-useragent*="TokenPocket_iOS"] & {
2052    padding-bottom: 45px;
2053  }
2054  z-index: 20;
2055`;var ev=L(47287),ex=L(13787),e_=L(85636),ew=L(43880),eC=(0,el.memo)(_=>{let{items:C=[],activeItem:L="",activeSubItem:ea="",...es}=_,[eo,eu]=(0,el.useState)({}),ec=Object.values(eo).some(_=>_);return(0,Z.jsxs)(Z.Fragment,{children:[ec&&(0,Z.jsx)(ew.Z,{}),(0,Z.jsx)(eg,{justifyContent:"space-around",...es,children:C.map((_,C)=>{var es,eo;let{label:el,items:ec,href:ed,icon:eh,fillIcon:ep,showOnMobile:ef=!0,showItemsOnMobile:em=!0,disabled:eb}=_,ey=null==ec?void 0:null===(eo=ec.find(_=>void 0!==_.status))||void 0===eo?void 0:null===(es=eo.status)||void 0===es?void 0:es.color;return ef&&(0,Z.jsx)(ex.Z,{items:ec,isBottomNav:!0,activeItem:ea,showItemsOnMobile:em,setMenuOpenByIndex:eu,index:C,isDisabled:eb,children:(0,Z.jsx)(ev.ZP,{children:(0,Z.jsx)(e_.Z,{show:!!ey,color:ey,children:(0,Z.jsx)(BottomNavItem_BottomNavItem,{href:ed,disabled:eb,isActive:ed===L,label:el,icon:eh,fillIcon:ep,showItemsOnMobile:em})})})},`${el}#${ed}`)})})]})}),eT=L(5719),eq=L(27825),ek=L(44610),eS=L(61723),eE=L(65401),eM=L(40288),ej=L(66671),eA=L(98933),eD=L(14046),eI=L(36608),eO=L(53393),eP=L(67362),eN=L(86077);let eL=[{label:"Twitter",icon:ej.Z,href:"https://twitter.com/pancakeswap"},{label:"Telegram",icon:eA.Z,items:[{label:"English",href:"https://t.me/pancakeswap"},{label:"Bahasa Indonesia",href:"https://t.me/pancakeswapIndonesia"},{label:"中文",href:"https://t.me/pancakeswap_CN"},{label:"Tiếng Việt",href:"https://t.me/PancakeSwapVN"},{label:"Italiano",href:"https://t.me/pancakeswap_Ita"},{label:"русский",href:"https://t.me/pancakeswap_ru"},{label:"T\xfcrkiye",href:"https://t.me/pancakeswapturkiye"},{label:"Portugu\xeas",href:"https://t.me/pancakeswapPortuguese"},{label:"Espa\xf1ol",href:"https://t.me/pancakeswapES"},{label:"日本語",href:"https://t.me/pancakeswapJP"},{label:"Fran\xe7ais",href:"https://t.me/pancakeswapFR"},{label:"Deutsch",href:"https://t.me/pancakeswap_DE"},{label:"Filipino",href:"https://t.me/pancakeswap_PH"},{label:"ქართული ენა",href:"https://t.me/pancakeswapGeorgia"},{label:"हिन्दी",href:"https://t.me/pancakeswap_INDIA"},{label:"Announcements",href:"https://t.me/PancakeSwapAnn"}]},{label:"Reddit",icon:eD.Z,href:"https://reddit.com/r/pancakeswap"},{label:"Instagram",icon:eI.Z,href:"https://instagram.com/pancakeswap_official"},{label:"Github",icon:eO.Z,href:"https://github.com/pancakeswap/"},{label:"Discord",icon:eP.Z,href:"https://discord.gg/pancakeswap"},{label:"Youtube",icon:eN.Z,href:"https://www.youtube.com/@pancakeswap_official"}];[...Array(20)].map((_,C)=>({code:`en${C}`,language:`English${C}`,locale:`Locale${C}`}));var eR=el.memo(_=>{let{...C}=_,{isMobile:L}=(0,ek.Z)();return(0,Z.jsx)(ed.Z,{...C,"data-theme":"dark",children:eL.map((_,C)=>{let ea={width:"20px",color:"textSubtle",style:{cursor:"pointer"}},es=_.icon,eo=C<eL.length-1?L?"16px":"24px":0;return _.items?(0,Z.jsx)(eM.Z,{position:"top",target:(0,Z.jsx)(es,{...ea,mr:eo}),children:_.items.map(_=>(0,Z.jsx)(eS.Z,{external:!0,href:_.href,"aria-label":_.label,color:"textSubtle",children:_.label},_.label))},_.label):(0,Z.jsx)(eS.Z,{external:!0,href:_.href,"aria-label":_.label,mr:eo,children:(0,Z.jsx)(es,{...ea})},_.label)})})},()=>!0);let eB=(0,eu.zo)(ed.Z)`
2056  background: ${eE._.backgroundAlt};
2057`,eF=eu.zo.ul`
2058  list-style: none;
2059  margin-bottom: 40px;
2060
2061  ${_=>{let{theme:C}=_;return C.mediaQueries.lg}} {
2062    margin-bottom: 0px;
2063  }
2064`,eZ=eu.zo.li`
2065  font-size: 16px;
2066  margin-bottom: 8px;
2067  text-transform: capitalize;
2068
2069  &:first-child {
2070    color: ${eE._.secondary};
2071    font-weight: 600;
2072    text-transform: uppercase;
2073  }
2074`,ez=(0,eu.zo)(ev.ZP)`
2075  margin-bottom: 24px;
2076`,eU=(0,eu.zo)(ed.Z)`
2077  border-color: ${eE._.cardBorder};
2078  border-top-width: 1px;
2079  border-bottom-width: 1px;
2080  border-style: solid;
2081  padding: 24px 0;
2082  margin-bottom: 24px;
2083
2084  ${_=>{let{theme:C}=_;return C.mediaQueries.sm}} {
2085    border-top-width: 0;
2086    border-bottom-width: 0;
2087    padding: 0 0;
2088    margin-bottom: 0;
2089  }
2090`,e$=(0,eu.zo)(eR)`
2091  border-bottom: 1px solid ${eE._.cardBorder};
2092`,eV=eu.zo.span`
2093  color: ${eE._.text};
2094`;var eW=L(40450),eH=L(42933),eG=L(5884),eK=L(63693),eX=L(12411),eY=L(78846),eQ=L(35360),Footer=_=>{let{items:C,isDark:L,toggleTheme:es,currentLang:eo,langs:el,setLang:eu,cakePriceUsd:ec,buyCakeLabel:eh,buyCakeLink:ep,chainId:ef,...em}=_,eb=(0,ea.tm)(),{isXl:ey}=(0,ek.Z)();return(0,Z.jsx)(eB,{"data-theme":"dark",p:["40px 16px",null,"56px 40px 32px 40px"],position:"relative",...em,justifyContent:"center",children:(0,Z.jsxs)(ed.Z,{flexDirection:"column",width:["100%",null,"1200px;"],children:[(0,Z.jsx)(ez,{display:["block",null,"none"],children:(0,Z.jsx)(eK.Z,{width:"130px"})}),(0,Z.jsxs)(ed.Z,{order:[2,null,1],flexDirection:["column","column","column","column","row","row"],justifyContent:"space-between",alignItems:"flex-start",mb:["42px",null,"36px"],children:[null==C?void 0:C.map(_=>{var C;return(0,Z.jsxs)(eF,{children:[(0,Z.jsx)(eZ,{children:_.label}),null===(C=_.items)||void 0===C?void 0:C.map(_=>{let{label:C,href:L,isHighlighted:ea=!1}=_;return(0,Z.jsx)(eZ,{children:L?(0,Z.jsx)(eS.Z,{"data-theme":"dark",href:L,target:"_blank",rel:"noreferrer noopener",color:ea?eW.g.colors.warning:"text",bold:!1,children:C}):(0,Z.jsx)(eV,{children:C})},C)})]},_.label)}),(0,Z.jsx)(ev.ZP,{display:["none",null,"block"],children:ey?(0,Z.jsx)(eX.Z,{}):(0,Z.jsx)(eK.Z,{width:"160px"})})]}),(0,Z.jsx)(e$,{order:[2],pb:["42px",null,"32px"],mb:["0",null,"32px"]}),(0,Z.jsxs)(eU,{"data-theme":"dark",order:[1,null,3],flexDirection:["column",null,"row"],justifyContent:"space-between",children:[(0,Z.jsxs)(ed.Z,{order:[2,null,1],alignItems:"center",children:[eb&&(0,Z.jsx)(eQ.Z,{isDark:L,toggleTheme:es}),(0,Z.jsx)(eG.Z,{currentLang:eo,langs:el,setLang:eu,color:"textSubtle",dropdownPosition:"top-right"})]}),(0,Z.jsxs)(ed.Z,{order:[1,null,2],mb:["24px",null,"0"],justifyContent:"space-between",alignItems:"center",children:[(0,Z.jsx)(ev.ZP,{mr:"20px",children:(0,Z.jsx)(eq.Z,{chainId:ef,cakePriceUsd:ec,color:"textSubtle"})}),(0,Z.jsx)(eH.Z,{"data-theme":"dark",as:"a",href:ep,target:"_blank",scale:"sm",endIcon:(0,Z.jsx)(eY.Z,{color:"backgroundAlt"}),children:eh})]})]})]})})},eJ=L(15522),e1=L(417),e0=(0,el.memo)(_=>{let{items:C=[],activeItem:L,activeSubItem:ea,...es}=_;return(0,Z.jsx)(ed.Z,{...es,children:C.map(_=>{var C,es;let{label:eo,items:eu=[],href:ec,icon:ed,disabled:eh}=_,ep=null==eu?void 0:null===(es=eu.find(_=>void 0!==_.status))||void 0===es?void 0:null===(C=es.status)||void 0===C?void 0:C.color,ef=L===ec,em=(0,eJ.Z)()&&eu&&eu.length>0?{}:{href:ec};return(0,Z.jsx)(ex.Z,{items:eu,py:1,activeItem:ea,isDisabled:eh,children:(0,Z.jsx)(e1.Z,{...em,isActive:ef,statusColor:ep,isDisabled:eh,children:eo||ed&&(0,el.createElement)(ed,{color:ef?"secondary":"textSubtle"})})},`${eo}#${ec}`)})})}),e2=L(16099),e5=L(56382);let e6=eu.zo.div`
2095  position: relative;
2096  width: 100%;
2097  display: grid;
2098  grid-template-rows: auto 1fr;
2099`,e3=eu.zo.nav`
2100  display: flex;
2101  justify-content: space-between;
2102  align-items: center;
2103  width: 100%;
2104  height: ${56}px;
2105  background-color: ${_=>{let{theme:C}=_;return C.colors.background}};
2106  border-bottom: 1px solid ${_=>{let{theme:C}=_;return C.colors.cardBorder}};
2107  transform: translate3d(0, 0, 0);
2108
2109  padding-left: 16px;
2110  padding-right: 16px;
2111`,e4=(0,eu.zo)("div").withConfig({shouldForwardProp:_=>!["showMenu"].includes(_)})`
2112  position: fixed;
2113  top: ${_=>{let{showMenu:C,height:L}=_;return C?0:`-${L}px`}};
2114  left: 0;
2115  transition: top 0.2s;
2116  height: ${_=>{let{height:C}=_;return`${C}px`}}
2116;
2117  width: 100%;
2118  z-index: 20;
2119`,e8=eu.zo.div`
2120  height: ${_=>{let{height:C}=_;return`${C}px`}};
2121  min-height: ${_=>{let{height:C}=_;return`${C}px`}};
2122  max-height: ${_=>{let{height:C}=_;return`${C}px`}};
2123  width: 100%;
2124`,e9=(0,eu.zo)(ev.ZP)`
2125  position: relative;
2126  display: flex;
2127  max-width: 100vw;
2128`,e7=eu.zo.div`
2129  flex-grow: 1;
2130  transition:
2131    margin-top 0.2s,
2132    margin-left 0.2s cubic-bezier(0.4, 0, 0.2, 1);
2133  transform: translate3d(0, 0, 0);
2134  max-width: 100%;
2135`;var Menu_Menu=_=>{var C;let{linkComponent:L="a",banner:es,rightSide:eu,isDark:eh,toggleTheme:ep,currentLang:ef,setLang:em,cakePriceUsd:eb,links:ey,subLinks:eg,footerLinks:ex,activeItem:e_,activeSubItem:ew,langs:eS,buyCakeLabel:eE,buyCakeLink:eM,children:ej,chainId:eA}=_,{isMobile:eD}=(0,ek.Z)(),eI=(0,ea.tm)(),[eO,eP]=(0,el.useState)(!0),eN=(0,el.useRef)(window.pageYOffset),eL=eD?84:70,eR=eI&&es?56+eL:56;(0,el.useEffect)(()=>{let _=eo()(()=>{let _=window.pageYOffset,C=window.document.body.clientHeight===_+window.innerHeight;0===_?eP(!0):C||(_<eN.current||_<=eR?eP(!0):eP(!1)),eN.current=_},200);return window.addEventListener("scroll",_),()=>{window.removeEventListener("scroll",_)}},[eR]);let eB=ey.find(_=>"Home"===_.label),eF=(0,el.useMemo)(()=>null==eg?void 0:eg.filter(_=>!_.isMobileOnly),[eg]),eZ=(0,el.useMemo)(()=>null==eg?void 0:eg.filter(_=>_.isMobileOnly),[eg]),ez=(0,el.useMemo)(()=>({linkComponent:L}),[L]);return(0,Z.jsxs)(ec.p.Provider,{value:ez,children:[(0,Z.jsx)(eT.p,{asChild:!0,minHeight:{xs:"auto",md:"100vh"},children:(0,Z.jsxs)(e6,{children:[(0,Z.jsxs)(e4,{showMenu:eO,height:eR,children:[es&&eI&&(0,Z.jsx)(e8,{height:eL,children:es}),(0,Z.jsxs)(e3,{children:[(0,Z.jsxs)(ed.Z,{children:[(0,Z.jsx)(e5.Z,{href:null!==(C=null==eB?void 0:eB.href)&&void 0!==C?C:"/"}),(0,Z.jsx)(eT.p,{display:{xs:"none",md:"block"},children:(0,Z.jsx)(e0,{items:ey,activeItem:e_,activeSubItem:ew,ml:"24px"})})]}),(0,Z.jsxs)(ed.Z,{alignItems:"center",height:"100%",children:[(0,Z.jsx)(eT.p,{mr:"12px",display:{xs:"none",lg:"block"},children:(0,Z.jsx)(eq.Z,{chainId:eA,showSkeleton:!1,cakePriceUsd:eb})}),(0,Z.jsx)(ev.ZP,{mt:"4px",children:(0,Z.jsx)(eG.Z,{currentLang:ef,langs:eS,setLang:em,buttonScale:"xs",color:"textSubtle",hideLanguage:!0})}),eu]})]})]}),eg?(0,Z.jsxs)(ed.Z,{justifyContent:"space-around",overflow:"hidden",children:[(0,Z.jsx)(e2.Z,{items:eF,mt:`${eR+1}px`,activeItem:ew}),eZ&&(null==eZ?void 0:eZ.length)>0&&(0,Z.jsx)(e2.Z,{items:eZ,mt:`${eR+1}px`,activeItem:ew,isMobileOnly:!0})]}):(0,Z.jsx)("div",{}),(0,Z.jsx)(e9,{mt:eg?"0":`${eR+1}px`,children:(0,Z.jsx)(e7,{children:ej})})]})}),(0,Z.jsx)(Footer,{chainId:eA,items:ex,isDark:eh,toggleTheme:ep,langs:eS,setLang:em,currentLang:ef,cakePriceUsd:eb,buyCakeLabel:eE,buyCakeLink:eM,mb:["44px",null,"0px"]}),(0,Z.jsx)(eT.p,{display:{xs:"block",md:"none"},children:(0,Z.jsx)(eC,{items:ey,activeItem:e_,activeSubItem:ew})})]})}},56382:function(_,C,L){"use strict";var Z=L(97458),ea=L(52983),es=L(62656),eo=L(16169),el=L(12411),eu=L(63693),ec=L(98289);let ed=es.F4`
2136  0%,  100% { transform: scaleY(1); }
2137  50% { transform:  scaleY(0.1); }
2138`,eh=(0,es.zo)("a")`
2139  display: flex;
2140  .mobile-icon {
2141    width: 32px;
2142    ${_=>{let{theme:C}=_;return C.mediaQueries.lg}} {
2143      display: none;
2144    }
2145  }
2146  .desktop-icon {
2147    width: 160px;
2148    display: none;
2149    ${_=>{let{theme:C}=_;return C.mediaQueries.lg}} {
2150      display: block;
2151    }
2152  }
2153  .eye {
2154    animation-delay: 20ms;
2155  }
2156  &:hover {
2157    .eye {
2158      transform-origin: center 60%;
2159      animation-name: ${ed};
2160      animation-duration: 350ms;
2161      animation-iteration-count: 1;
2162    }
2163  }
2164`;C.Z=ea.memo(_=>{let{href:C}=_,{linkComponent:L}=(0,ea.useContext)(ec.p),es=C.startsWith("http"),ed=(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(el.Z,{className:"mobile-icon"}),(0,Z.jsx)(eu.Z,{className:"desktop-icon"})]});return(0,Z.jsx)(eo.Z,{alignItems:"center",children:es?(0,Z.jsx)(eh,{as:"a",href:C,"aria-label":"Pancake home page",children:ed}):(0,Z.jsx)(eh,{href:C,as:L,"aria-label":"Pancake home page",children:ed})})})},44056:function(_,C,L){"use strict";L.d(C,{ZP:function(){return components_UserMenu}});var Z=L(97458),ea=L(52983),es=L(78263),eo=L(62656),el=L(16169),eu=L(47287),ec=L(73401),ed=L(73217),eh=L(91049),ep=L(1891),ef=L(63100);let em=eo.zo.div`
2165  align-items: center;
2166  background-color: ${_=>{let{theme:C}=_;return C.colors.background}};
2167  border-color: ${_=>{let{theme:C,borderColor:L}=_;return C.colors[L]}};
2168  border-radius: 50%;
2169  border-style: solid;
2170  border-width: 2px;
2171  display: flex;
2172  height: 32px;
2173  justify-content: center;
2174  left: 0;
2175  position: absolute;
2176  top: 0;
2177  width: 32px;
2178  z-index: 102;
2179`,eb=(0,eo.zo)(ed.Z)`
2180  left: 0;
2181  position: absolute;
2182  top: 0;
2183  z-index: 102;
2184
2185  & > img {
2186    border-radius: 50%;
2187  }
2188`,NoProfileMenuIcon=()=>(0,Z.jsx)(em,{borderColor:"primary",children:(0,Z.jsx)(eh.Z,{color:"primary",width:"24px"})}),PendingMenuIcon=()=>(0,Z.jsx)(em,{borderColor:"secondary",children:(0,Z.jsx)(ep.Z,{color:"secondary",width:"24px",spin:!0})}),WarningMenuIcon=()=>(0,Z.jsx)(em,{borderColor:"warning",children:(0,Z.jsx)(ef.Z,{color:"warning",width:"24px"})}),DangerMenuIcon=()=>(0,Z.jsx)(em,{borderColor:"failure",children:(0,Z.jsx)(ef.Z,{color:"failure",width:"24px"})});var UserMenu_MenuIcon=_=>{let{avatarSrc:C,variant:L,className:ea}=_;return"danger"===L?(0,Z.jsx)(DangerMenuIcon,{}):"warning"===L?(0,Z.jsx)(WarningMenuIcon,{}):"pending"===L?(0,Z.jsx)(PendingMenuIcon,{}):C?(0,Z.jsx)(eb,{src:C,height:32,width:32,className:ea}):(0,Z.jsx)(NoProfileMenuIcon,{})},ey=L(17258);let eg=(0,eo.zo)(el.Z)`
2189  align-items: center;
2190  background-color: ${_=>{let{theme:C}=_;return C.colors.tertiary}};
2191  border-radius: 16px;
2192  box-shadow: inset 0px -2px 0px rgba(0, 0, 0, 0.1);
2193  cursor: pointer;
2194  display: inline-flex;
2195  height: 32px;
2196  padding-left: 32px;
2197  padding-right: 8px;
2198  position: relative;
2199
2200  &:hover {
2201    opacity: 0.65;
2202  }
2203`,ev=eo.zo.div`
2204  color: ${_=>{let{theme:C}=_;return C.colors.text}};
2205  display: none;
2206  font-weight: 600;
2207
2208  ${_=>{let{theme:C}=_;return C.mediaQueries.sm}} {
2209    display: block;
2210    margin-left: 8px;
2211    margin-right: 4px;
2212  }
2213`,ex=eo.zo.div`
2214  background-color: ${_=>{let{theme:C}=_;return C.card.background}};
2215  border: 1px solid ${_=>{let{theme:C}=_;return C.colors.cardBorder}};
2216  border-radius: 16px;
2217  padding-bottom: 4px;
2218  padding-top: 4px;
2219  pointer-events: auto;
2220  width: 280px;
2221  visibility: visible;
2222  z-index: 1001;
2223
2224  ${_=>{let{$isOpen:C}=_;return!C&&`
2225    pointer-events: none;
2226    visibility: hidden;
2227  `}}
2228
2229  ${ey.l}:first-child {
2230    border-radius: 8px 8px 0 0;
2231  }
2232
2233  ${ey.l}:last-child {
2234    border-radius: 0 0 8px 8px;
2235  }
2236`;var components_UserMenu=_=>{let{account:C,text:L,avatarSrc:eo,avatarClassName:ed,variant:eh="default",children:ep,disabled:ef,placement:em="bottom-end",recalculatePopover:eb,ellipsis:ey=!0,...e_}=_,[ew,eC]=(0,ea.useState)(!1),[eT,eq]=(0,ea.useState)(null),[ek,eS]=(0,ea.useState)(null),{styles:eE,attributes:eM,update:ej}=(0,es.D)(eT,ek,{strategy:"fixed",placement:em,modifiers:[{name:"offset",options:{offset:[0,0]}}]}),eA=C?`${C.substring(0,2)}...${C.substring(C.length-4)}`:null;return(0,ea.useEffect)(()=>{eb&&ew&&ej&&ej()},[ew,ej,eb]),(0,ea.useEffect)(()=>{let showDropdownMenu=()=>{eC(!0)},hideDropdownMenu=_=>{let C=_.target;!C||(null==ek?void 0:ek.contains(C))||(eC(!1),_.stopPropagation())};return null==eT||eT.addEventListener("mouseenter",showDropdownMenu),null==eT||eT.addEventListener("mouseleave",hideDropdownMenu),
2236()=>{null==eT||eT.removeEventListener("mouseenter",showDropdownMenu),null==eT||eT.removeEventListener("mouseleave",hideDropdownMenu)}},[eT,ek,eC]),(0,Z.jsxs)(el.Z,{alignItems:"center",height:"100%",ref:eq,...e_,children:[(0,Z.jsxs)(eg,{onTouchStart:()=>{eC(_=>!_)},children:[(0,Z.jsx)(UserMenu_MenuIcon,{className:ed,avatarSrc:eo,variant:eh}),(0,Z.jsx)(ev,{title:"string"==typeof L&&L||C,children:L||(ey?eA:C)}),!ef&&(0,Z.jsx)(ec.Z,{color:"text",width:"24px"})]}),!ef&&(0,Z.jsx)(ex,{style:eE.popper,ref:eS,...eM.popper,$isOpen:ew,children:(0,Z.jsx)(eu.ZP,{onClick:()=>eC(!1),children:null==ep?void 0:ep({isOpen:ew})})})]})}},17258:function(_,C,L){"use strict";L.d(C,{l:function(){return es},v:function(){return ea}});var Z=L(62656);let ea=Z.zo.hr`
2237  border-color: ${_=>{let{theme:C}=_;return C.colors.cardBorder}};
2238  border-style: solid;
2239  border-width: 1px 0 0;
2240  margin: 4px 0;
2241`,es=Z.zo.button`
2242  align-items: center;
2243  border: 0;
2244  background: transparent;
2245  color: ${_=>{let{theme:C,disabled:L}=_;return C.colors[L?"textDisabled":"textSubtle"]}};
2246  cursor: pointer;
2247  display: flex;
2248  font-size: 16px;
2249  height: 48px;
2250  justify-content: space-between;
2251  outline: 0;
2252  padding-left: 16px;
2253  padding-right: 16px;
2254  width: 100%;
2255
2256  &:is(button) {
2257    cursor: ${_=>{let{disabled:C}=_;return C?"not-allowed":"pointer"}};
2258  }
2259
2260  &:hover:not(:disabled) {
2261    background-color: ${_=>{let{theme:C}=_;return C.colors.tertiary}};
2262  }
2263
2264  &:active:not(:disabled) {
2265    opacity: 0.85;
2266    transform: translateY(1px);
2267  }
2268`},22773:function(_,C,L){"use strict";L.d(C,{d:function(){return footerLinks}});let footerLinks=_=>[{label:_("Ecosystem"),items:[{label:_("Trade"),href:"/swap"},{label:_("Earn"),href:"/farms"},{label:_("Game"),href:"https://pancakeswap.games/"},{label:_("NFT"),href:"/nfts"},{label:_("Tokenomics"),href:"https://docs.pancakeswap.finance/governance-and-tokenomics/cake-tokenomics"},{label:_("Litepaper"),href:"https://assets.pancakeswap.finance/litepaper/v2litepaper.pdf"},{label:_("ANDX Emission Projection"),href:"https://analytics.pancakeswap.finance/"},{label:_("Merchandise"),href:"https://merch.pancakeswap.finance/"}]},{label:"Business",items:[{label:_("Farms and Syrup Pools"),href:"https://docs.pancakeswap.finance/ecosystem-and-partnerships/business-partnerships/syrup-pools-and-farms"},{label:_("IFO"),href:"https://docs.pancakeswap.finance/ecosystem-and-partnerships/business-partnerships/initial-farm-offerings-ifos"},{label:_("NFT Marketplace"),href:"https://docs.pancakeswap.finance/ecosystem-and-partnerships/business-partnerships/nft-market-applications"}]},{label:_("Developers"),items:[{label:_("Contributing"),href:"https://docs.pancakeswap.finance/developers/contributing"},{label:_("Github"),href:"https://github.com/pancakeswap"},{label:_("Bug Bounty"),href:"https://docs.pancakeswap.finance/developers/bug-bounty"}]},{label:_("Support"),items:[{label:_("Contact"),href:"https://docs.pancakeswap.finance/contact-us/customer-support"},{label:_("Troubleshooting"),href:"https://docs.pancakeswap.finance/readme/help/troubleshooting"},{label:_("Documentation"),href:"https://docs.pancakeswap.finance/"}]},{label:_("About"),items:[{label:_("Terms Of Service"),href:"https://andex.vercel.app/terms-of-service"},{label:_("Blog"),href:"https://blog.pancakeswap.finance/"},{label:_("Brand Assets"),href:"https://docs.pancakeswap.finance/ecosystem-and-partnerships/brand"},{label:_("Careers"),href:"https://docs.pancakeswap.finance/team/become-a-chef"}]}]},98289:function(_,C,L){"use strict";L.d(C,{p:function(){return ea}});var Z=L(52983);let ea=(0,Z.createContext)({linkComponent:"a"})},48723:function(_,C,L){"use strict";L.d(C,{AB:function(){return ModalWrapper},dl:function(){return ep}});var Z=L(97458),ea=L(52983),es=L(62656),eo=L(50231),el=L(45297),eu=L(23620),ec=L(44610),ed=L(2054),eh=L(47287);let ep=300,ModalWrapper=_=>{let{children:C,onDismiss:L,hideCloseButton:es,...eo}=_,{isMobile:el}=(0,ec.Z)(),ed=(0,ea.useRef)(null);return(0,Z.jsx)(eu.F0,{drag:!!el&&!es&&"y",dragConstraints:{top:0,bottom:600},dragElastic:{top:0},dragSnapToOrigin:!0,onDragStart:()=>{ed.current&&(ed.current.style.animation="none")},onDragEnd:(_,C)=>{C.velocity.y>ep&&L&&L()},ref:ed,style:{overflow:"visible"},children:(0,Z.jsx)(eh.ZP,{overflow:"hidden",borderRadius:"32px",...eo,children:C})})};C.ZP=_=>{let{title:C,onDismiss:L,onBack:ec,children:eh,hideCloseButton:ep=!1,headerPadding:ef="12px 24px",bodyPadding:em="24px",headerBackgroun
2268d:eb="transparent",minWidth:ey="320px",headerRightSlot:eg,bodyAlignItems:ev,headerBorderColor:ex,bodyTop:e_="0px",...ew}=_,eC=(0,ea.useContext)(ed.aC),eT=(null==eC?void 0:eC.onDismiss)||L,eq=(0,es.Fg)();return(0,Z.jsxs)(ModalWrapper,{minWidth:ey,onDismiss:eT,hideCloseButton:ep,...ew,children:[(0,Z.jsxs)(eu.xB,{background:(0,el.Z)(eq,`colors.${eb}`,eb),p:ef,headerBorderColor:ex,children:[(0,Z.jsxs)(eu.r6,{children:[ec&&(0,Z.jsx)(eu.vy,{onBack:ec}),(0,Z.jsx)(eo.Z,{children:C})]}),eg,!ep&&(0,Z.jsx)(eu.ol,{onDismiss:eT})]}),(0,Z.jsx)(eu.fe,{position:"relative",top:e_,onPointerDownCapture:_=>_.stopPropagation(),p:em,style:{alignItems:null!=ev?ev:"normal"},children:eh})]})}},97060:function(_,C,L){"use strict";L.d(C,{_y:function(){return ex},iI:function(){return ev}});var Z=L(97458),ea=L(4283),es=L(80674),eo=L(19550),el=L(85787),eu=L(52983),ec=L(42199),ed=L(63730),eh=L(62656),ep=L(88111),ef=L(43880),em=L(12516),eb=L(59193),ey=L(49588),eg=L(23620);let DomMax=()=>Promise.all([L.e(6723),L.e(7532),L.e(6812)]).then(L.bind(L,36812)).then(_=>_.default),DomAnimation=()=>L.e(2725).then(L.bind(L,92725)).then(_=>_.default),ev=(0,eh.zo)(es.m.div)`
2269  display: flex;
2270  flex-direction: column;
2271  justify-content: center;
2272  align-items: center;
2273  position: fixed;
2274  top: 0;
2275  right: 0;
2276  bottom: 0;
2277  left: 0;
2278  z-index: ${_=>{let{theme:C}=_;return C.zIndices.modal-1}};
2279  will-change: opacity;
2280  opacity: 0;
2281  &.appear {
2282    animation: ${eb.Oz} 0.3s ease-in-out forwards;
2283    ${eg.F0} {
2284      animation: ${ep.SE} 0.3s ease-in-out forwards;
2285      ${_=>{let{theme:C}=_;return C.mediaQueries.md}} {
2286        animation: none;
2287      }
2288    }
2289  }
2290  &.disappear {
2291    animation: ${eb.a4} 0.3s ease-in-out forwards;
2292    ${eg.F0} {
2293      animation: ${ep.Q4} 0.3s ease-in-out forwards;
2294      ${_=>{let{theme:C}=_;return C.mediaQueries.md}} {
2295        animation: none;
2296      }
2297    }
2298  }
2299`,ex=(0,eu.createContext)({isOpen:!1,nodeId:"",modalNode:null,setModalNode:()=>null,onPresent:()=>null,onDismiss:()=>null});C.ZP=_=>{let{children:C}=_,[L,es]=(0,eu.useState)(!1),[eh,ep]=(0,eu.useState)(),[eg,e_]=(0,eu.useState)(""),[ew,eC]=(0,eu.useState)(!0),eT=(0,eu.useRef)(null);(0,em.Y)(()=>{let setViewportHeight=()=>{let _=.01*window.innerHeight;document.documentElement.style.setProperty("--vh",`${_}px`)};return setViewportHeight(),window.addEventListener("resize",setViewportHeight),()=>window.removeEventListener("resize",setViewportHeight)},[]);let eq=(0,eu.useCallback)((_,C,L)=>{ep(_),es(!0),e_(C),eC(L)},[]),ek=(0,eu.useCallback)(()=>{ep(void 0),es(!1),e_(""),eC(!0)},[]),eS=(0,eu.useCallback)(()=>{ew&&ek()},[ew,ek]),eE=(0,eu.useMemo)(()=>({isOpen:L,nodeId:eg,modalNode:eh,setModalNode:ep,onPresent:eq,onDismiss:ek}),[L,eg,eh,ep,eq,ek]),eM=(0,eu.useMemo)(()=>(0,ey.Z)(),[]);return(0,Z.jsxs)(ex.Provider,{value:eE,children:[eM&&(0,ed.createPortal)((0,Z.jsx)(eo.X,{features:ec.tq?DomMax:DomAnimation,children:(0,Z.jsx)(el.M,{children:L&&(0,Z.jsx)(ea.XB,{role:"dialog",disableOutsidePointerEvents:!1,onEscapeKeyDown:eS,children:(0,Z.jsxs)(ev,{ref:eT,onAnimationStart:()=>(0,eb.BI)(eT.current),...eb.Gc,variants:eb.ji,transition:{duration:.3},children:[(0,Z.jsx)(ef.Z,{onClick:eS}),eu.isValidElement(eh)&&eu.cloneElement(eh,{onDismiss:ek})]})})})}),eM),C]})}},2054:function(_,C,L){"use strict";L.d(C,{R0:function(){return useModalV2},aC:function(){return em},kw:function(){return ModalV2}});var Z=L(97458),ea=L(4283),es=L(19550),eo=L(85787),el=L(52983),eu=L(42199),ec=L(63730),ed=L(43880),eh=L(59193),ep=L(49588),ef=L(97060);let DomMax=()=>Promise.all([L.e(6723),L.e(7532),L.e(6812)]).then(L.bind(L,36812)).then(_=>_.default),DomAnimation=()=>L.e(2725).then(L.bind(L,92725)).then(_=>_.default),em=(0,el.createContext)({});function useModalV2(){let[_,C]=(0,el.useState)(!1),L=(0,el.useCallback)(()=>C(!1),[]),Z=(0,el.useCallback)(()=>C(!0),[]);return{onDismiss:L,onOpen:Z,isOpen:_,setIsOpen:C}}function ModalV2(_){let{isOpen:C,onDismiss:L,closeOnOverlayClick:eb,children:ey,disableOutsidePointerEvents:eg=!1,...ev}=_,ex=(0,el.useRef)(null),handleOverlayDismiss=_=>{_.stopPropagation(),_.preventDefault(),eb&&(null==L||L())},e_=(0,ep.Z)();return e_?(0,ec.createPortal)((0,Z.jsx)(em.Provider,{value:{onDismiss:L},children:(0,Z.jsx)(es.X,{features:eu.tq?DomMax:DomAnimation,children:(0,Z.jsx)(eo.M,{children:C&&(0,Z.jsx)(ea.XB,{role:"dialog",disableOutsidePointerEvents:eg,onEscapeKeyDown:handleOverlayDismiss,children:(0,Z.jsxs)(ef.iI,{ref:ex,onAnimationStart:()=>(0,eh.BI)(ex.current),...eh.Gc,variants:eh.ji,transition:{duration:.3},...ev,children:[(0,Z.jsx)(ed.Z,{onClick:handleOverlayDismiss}),ey]})})})})}),e_):null}},38837:function(_,C,L){"use strict";var Z=L(97458),ea=L(82577),es=L(62656),eo=L(45297),el=L(48723),eu=L(61723),ec=L(23690),ed=L(42933),eh=L(5402);let ep=(0,es.zo)(eu.Z)`
2300  width: 100%;
2301`;C.Z=_=>{let{tokenSymbol:C,tokenAddress:L,onDismiss:eu,hideLocateAddress:ef=!1}=_,{t:em}=(0,ea.Z)(),eb=(0,es.Fg)();return(0,Z.jsxs)(el.ZP,{title:em("%symbol% required",{symbol:C}
2301),onDismiss:eu,headerBackground:(0,eo.Z)(eb,"colors.gradientCardHeader"),children:[(0,Z.jsx)(ec.Z,{color:"failure",bold:!0,children:em("Insufficient %symbol% balance",{symbol:C})}),(0,Z.jsx)(ec.Z,{mt:"24px",children:em("You’ll need %symbol% to stake in this pool!",{symbol:C})}),(0,Z.jsx)(ec.Z,{children:em("Buy some %symbol%, or make sure your %symbol% isn’t in another pool or LP.",{symbol:C})}),(0,Z.jsxs)(ed.Z,{mt:"24px",as:"a",external:!0,href:L?`/swap?outputCurrency=${L}`:"/swap",children:[em("Buy")," ",C]}),ef?null:(0,Z.jsx)(ep,{href:"https://yieldwatch.net",external:!0,children:(0,Z.jsxs)(ed.Z,{variant:"secondary",mt:"8px",width:"100%",children:[em("Locate Assets"),(0,Z.jsx)(eh.Z,{color:"primary",ml:"4px"})]})}),(0,Z.jsx)(ed.Z,{variant:"text",onClick:eu,children:em("Close Window")})]})}},23620:function(_,C,L){"use strict";L.d(C,{Dw:function(){return ed},F0:function(){return em},fe:function(){return ef},ol:function(){return ModalCloseButton},r6:function(){return ep},vy:function(){return ModalBackButton},xB:function(){return eh}});var Z=L(97458);L(52983);var ea=L(62656),es=L(16169),eo=L(47287),el=L(14063),eu=L(86026),ec=L(17778);let ed=73,eh=(0,ea.zo)(es.Z)`
2302  align-items: center;
2303  background: transparent;
2304  border-bottom: 1px solid ${_=>{let{theme:C,headerBorderColor:L}=_;return L||C.colors.cardBorder}};
2305  display: flex;
2306  padding: 12px 24px;
2307
2308  ${_=>{let{theme:C}=_;return C.mediaQueries.md}} {
2309    background: ${_=>{let{background:C}=_;return C||"transparent"}};
2310  }
2311`,ep=(0,ea.zo)(es.Z)`
2312  align-items: center;
2313  flex: 1;
2314`,ef=(0,ea.zo)(es.Z)`
2315  flex-direction: column;
2316  overflow-y: auto;
2317  overflow-x: hidden;
2318  max-height: calc(90vh - ${ed}px);
2319  ${_=>{let{theme:C}=_;return C.mediaQueries.md}} {
2320    display: flex;
2321    max-height: 90vh;
2322  }
2323`,ModalCloseButton=_=>{let{onDismiss:C}=_;return(0,Z.jsx)(ec.Z,{variant:"text",onClick:_=>{_.stopPropagation(),null==C||C()},"aria-label":"Close the dialog",children:(0,Z.jsx)(el.Z,{color:"primary"})})},ModalBackButton=_=>{let{onBack:C}=_;return(0,Z.jsx)(ec.Z,{variant:"text",onClick:C,"area-label":"go back",mr:"8px",children:(0,Z.jsx)(eu.Z,{color:"primary"})})},em=(0,ea.zo)(eo.uH)`
2324  overflow: hidden;
2325  background: ${_=>{let{theme:C}=_;return C.modal.background}};
2326  box-shadow: 0px 20px 36px -8px rgba(14, 14, 44, 0.1), 0px 1px 1px rgba(0, 0, 0, 0.05);
2327  border: 1px solid ${_=>{let{theme:C}=_;return C.colors.cardBorder}};
2328  border-radius: 32px 32px 0px 0px;
2329  width: 100%;
2330  max-height: calc(var(--vh, 1vh) * 100);
2331  z-index: ${_=>{let{theme:C}=_;return C.zIndices.modal}};
2332  position: absolute;
2333  bottom: 0;
2334  max-width: none !important;
2335  min-height: 300px;
2336
2337  ${_=>{let{theme:C}=_;return C.mediaQueries.md}} {
2338    width: auto;
2339    position: auto;
2340    bottom: auto;
2341    border-radius: 32px;
2342    max-height: 100vh;
2343  }
2344`},89681:function(_,C,L){"use strict";L.d(C,{Z:function(){return Modal_useModal}});var Z=L(52983),ea=L(13546),es=L.n(ea),eo=L(97060);function getReferenceKey(_,C){return _.slice(0,C).join(".")||"."}function getCutoff(_,C){let{length:L}=_;for(let Z=0;Z<L;++Z)if(_[Z]===C)return Z+1;return 0}function serialize(_,C,L,Z){return JSON.stringify(_,function(_,C){let L="function"==typeof _,Z="function"==typeof C,ea=[],es=[];return function(eo,el){if("object"==typeof el){if(ea.length){let _=getCutoff(ea,this);0===_?ea[ea.length]=this:(ea.splice(_),es.splice(_)),es[es.length]=eo;let L=getCutoff(ea,el);if(0!==L)return Z?C.call(this,eo,el,getReferenceKey(es,L)):`[ref=${getReferenceKey(es,L)}]`}else ea[0]=el,es[0]=eo}return L?_.call(this,eo,el):el}}((_,L)=>{let Z="bigint"==typeof L?`#bigint.${L.toString()}`:L;return(null==C?void 0:C(_,Z))||Z},Z),null!=L?L:void 0)}var Modal_useModal=function(_){let C=!(arguments.length>1)||void 0===arguments[1]||arguments[1],L=arguments.length>2&&void 0!==arguments[2]&&arguments[2],ea=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"defaultNodeId",el=(0,Z.useRef)();el.current=_;let{isOpen:eu,nodeId:ec,modalNode:ed,setModalNode:eh,onPresent:ep,onDismiss:ef}=(0,Z.useContext)(eo._y),em=(0,Z.useCallback)(()=>{ep(el.current,ea,C)},[ea,ep,C]),eb=(0,Z.useCallback)(()=>{ec===ea&&(null==ef||ef())},[ea,ef,ec]);return(0,Z.useEffect)(()=>
2344{if(L&&eu&&ec===ea){let C=es()(_,"props"),L=es()(ed,"props");C&&L&&serialize(C)!==serialize(L)&&eh(_)}},[L,ec,ea,eu,_,ed,eh]),[em,eb]}},86530:function(_,C,L){"use strict";L.d(C,{HW:function(){return ea},Tr:function(){return bigIntToSerializedBigNumber},dm:function(){return eo},xp:function(){return es}});var Z=L(97269);let ea=new Z.Z(0);new Z.Z(1),new Z.Z(2),new Z.Z(9);let es=new Z.Z(10),eo=new Z.Z(100),bigIntToSerializedBigNumber=_=>bigIntToBigNumber(_).toJSON(),bigIntToBigNumber=_=>new Z.Z(_.toString())},1582:function(_,C,L){"use strict";L.d(C,{A1:function(){return getInterestBreakdown},Lu:function(){return getRoi},_b:function(){return getPrincipalForInterest},g5:function(){return getApy}});let Z=[1,7,30,365,1825],getInterestBreakdown=_=>{let{principalInUSD:C,apr:L,earningTokenPrice:ea,compoundFrequency:es=1,performanceFee:eo=0}=_,el=365*es,eu=L/100,ec=Math.round(ea/1e3)>0?5:3;return Z.map(_=>{let L=C/ea,Z=L*eu*(_/365);if(0!==el&&(Z=L*(1+eu/el)**(el*(_/365))-L,eo)){let _=Z*(eo/100);Z-=_}return parseFloat(Z.toFixed(ec))})},getPrincipalForInterest=function(_,C,L){let ea=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return Z.map(Z=>{let es=getApy(C,L,Z,ea);return parseFloat((_/es).toFixed(2))})},getApy=function(_){let C=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,L=arguments.length>2&&void 0!==arguments[2]?arguments[2]:365,Z=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,ea=L/365,es=365*C,eo=_/100*ea;if(es>0&&(eo=(1+_/100/es)**(es*ea)-1),Z){let _=eo*(Z/100);eo-=_}return eo},getRoi=_=>{let{amountEarned:C,amountInvested:L}=_;return 0===L?0:C/L*100}},98653:function(_,C,L){"use strict";function*enumValues(_){let C=!0;for(let L in _)if("number"==typeof _[L]){C=!1;break}for(let L in _)(C||"number"==typeof _[L])&&(yield _[L])}L.d(C,{H:function(){return enumValues}})},80642:function(_,C,L){"use strict";L.d(C,{NJ:function(){return getFullDisplayBalance},O$:function(){return formatLpBalance},Qe:function(){return getDecimalAmount},U4:function(){return getBalanceAmount},Zr:function(){return formatBigInt},mW:function(){return getBalanceNumber},uf:function(){return formatNumber}});var Z=L(97269),ea=L(43762),es=L.n(ea),eo=L(81106),el=L(71611),eu=L(86530);let getDecimalAmount=function(_){let C=arguments.length>1&&void 0!==arguments[1]?arguments[1]:18;return new Z.Z(_).times((0,eo.t)(C))},getBalanceAmount=function(_){let C=arguments.length>1&&void 0!==arguments[1]?arguments[1]:18;return new Z.Z(_).dividedBy((0,eo.t)(C))},getBalanceNumber=function(_){let C=arguments.length>1&&void 0!==arguments[1]?arguments[1]:18;return getBalanceAmount(_||eu.HW,C).toNumber()},getFullDisplayBalance=function(_){let C=arguments.length>1&&void 0!==arguments[1]?arguments[1]:18,L=arguments.length>2?arguments[2]:void 0,Z=getBalanceAmount(_,C).toFixed(L);return L?es()(es()(Z,"0"),"."):Z},formatNumber=function(_){let C=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,L=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;return _.toLocaleString(void 0,{minimumFractionDigits:C,maximumFractionDigits:L})},formatBigInt=function(_){let C=arguments.length>1&&void 0!==arguments[1]?arguments[1]:18,L=arguments.length>2&&void 0!==arguments[2]?arguments[2]:18,Z=_%10n**BigInt(L-C),ea=(0,el.b)(_-Z,L);return ea},formatLpBalance=(_,C)=>{let L=getBalanceAmount(_,C);return L.gt(0)&&L.lt(1e-5)?"< 0.00001":L.toFixed(5,Z.Z.ROUND_DOWN)}},56798:function(_,C,L){"use strict";L.d(C,{Dw:function(){return parseNumberToFraction},Jv:function(){return formatFraction},T3:function(){return formatPercent},T4:function(){return formatPrice},dN:function(){return formatAmount}});var Z=L(52794);function formatPercent(_,C){return _?formatFraction(_.asFraction.multiply(100),C):void 0}function formatFraction(_){let C=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6;return _&&0n!==_.denominator?_.greaterThan(10n**BigInt(C))?_.toFixed(0):_.toSignificant(C):void 0}function formatPrice(_,C){if(_)return formatFraction(null==_?void 0:_.asFraction.multiply(null==_?void 0:_.scalar),C)}function formatAmount(_,C){if(_)return formatFraction(null==_?void 0:_.asFraction.divide(10n**BigInt(null==_?void 0:_.currency.decimals)),C)}function parseNumberToFraction(_){let C=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6;if(Number.isNaN(_)||!Number.isFinite(_))return;let L=10**C;return new Z.iA(BigInt(Math.floor(_*L)),BigInt(L))}},4779:function(_,C,L){"use strict";
2344L.d(C,{d:function(){return formatAmount}});let getFirstThreeNonZeroDecimals=_=>{var C;return null===(C=_.toFixed(9).match(/^-?\d*\.?0*\d{0,2}/))||void 0===C?void 0:C[0]},formatAmount=(_,C)=>{let{notation:L=_&&_>=1e4?"compact":"standard",displayThreshold:Z,tokenPrecision:ea,isInteger:es}=C||{notation:_&&_>=1e4?"compact":"standard"};if(0===_)return es?"0":"0.00";if(!_)return"-";if(!Number.isFinite(_))return"∞";if(Z&&_<Z)return`<${Z}`;if(_<1&&!ea)return getFirstThreeNonZeroDecimals(_);let eo=2;ea&&(eo=_<1||"enhanced"===ea?3:2);let el=parseFloat(null==_?void 0:_.toFixed(eo));return Intl.NumberFormat("en-US",{notation:L,minimumFractionDigits:es&&_<1e3?0:eo,maximumFractionDigits:es&&_<1e3?0:eo,useGrouping:el<1e18}).format(el)}},81106:function(_,C,L){"use strict";L.d(C,{t:function(){return eo}});var Z=L(67997),ea=L.n(Z),es=L(86530);let eo=ea()(_=>es.xp.pow(_))},57547:function(_,C,L){"use strict";L.d(C,{zi:function(){return Z}});let Z=31557600;C.ZP=_=>{let C=Math.abs(_),L={years:0,months:0,days:0,hours:0,minutes:0,seconds:0,totalDays:0};return C>=86400&&(L.totalDays=Math.floor(C/86400)),C>=Z&&(L.years=Math.floor(C/Z),C-=L.years*Z),C>=2629800&&(L.months=Math.floor(C/2629800),C-=2629800*L.months),C>=86400&&(L.days=Math.floor(C/86400),C-=86400*L.days),C>=3600&&(L.hours=Math.floor(C/3600),C-=3600*L.hours),C>=60&&(L.minutes=Math.floor(C/60),C-=60*L.minutes),L.seconds=C,L}},87653:function(_,C,L){"use strict";function isUndefinedOrNull(_){return null==_}L.d(C,{Z:function(){return isUndefinedOrNull}})},88647:function(_,C){"use strict";C.Z=(_,C)=>{let L=new URL(window.location.href);C?L.searchParams.set(_,String(C)):L.searchParams.delete(_),window.history.replaceState({},"",L)}},2981:function(_,C,L){"use strict";var Z=L(67997),ea=L.n(Z);let es=ea()(function(_){let C=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4,L=arguments.length>2&&void 0!==arguments[2]?arguments[2]:4;return _?`${_.substring(0,C)}...${_.substring(_.length-L)}`:""},(_,C,L)=>`${_}#${C}#${L}`);C.Z=es},16154:function(_,C,L){"use strict";var Z=L(52794),ea=L(88336);C.Z=function(_,C){if(_&&C)try{let L=(0,ea.v)(_,C.decimals).toString();if("0"!==L)return Z.ih.fromRawAmount(C,BigInt(L))}catch(C){console.debug(`Failed to parse input amount: "${_}"`,C)}}},64237:function(_,C,L){"use strict";function uriToHttp(_){var C,L;let Z=_.split(":")[0].toLowerCase();switch(Z){case"https":return[_];case"http":return[`https${_.substring(4)}`,_];case"ipfs":let ea=null===(C=_.match(/^ipfs:(\/\/)?(.*)$/i))||void 0===C?void 0:C[2];return[`https://cloudflare-ipfs.com/ipfs/${ea}/`,`https://ipfs.io/ipfs/${ea}/`];case"ipns":let es=null===(L=_.match(/^ipns:(\/\/)?(.*)$/i))||void 0===L?void 0:L[2];return[`https://cloudflare-ipfs.com/ipns/${es}/`,`https://ipfs.io/ipns/${es}/`];default:return[]}}L.d(C,{Z:function(){return uriToHttp}})},65098:function(_,C,L){"use strict";L.d(C,{pp:function(){return useAudioPlay},zu:function(){return useExpertMode},LO:function(){return useIsExpertMode},vc:function(){return usePhishingBanner},Xi:function(){return useUserExpertModeAcknowledgement},RO:function(){return useUserSingleHopOnly},eq:function(){return useUserSlippage},EA:function(){return useUserSlippagePercent},JW:function(){return ef}});var Z=L(42843),ea=L(54367);let es=(0,ea.O4)("pcs:audio-play-2",!1);function useAudioPlay(){return(0,Z.KO)(es)}let eo=(0,ea.O4)("pcs:expert-mode",!1),el=(0,ea.O4)("pcs:expert-mode-acknowledgement",!0);function useExpertMode(){return(0,Z.KO)(eo)}function useIsExpertMode(){return(0,Z.Dv)(eo)}function useUserExpertModeAcknowledgement(){return(0,Z.KO)(el)}var eu=L(80440),ec=L(27860),ed=L.n(ec);let eh=(0,ea.O4)("pcs:phishing-banner",0),ep=(0,eu.cn)(_=>{let C=ed()(),L=ed()(_(eh));return!L||C.diff(L,"days",!0)>=1},(_,C)=>C(eh,Date.now()));function usePhishingBanner(){return(0,Z.KO)(ep)}let ef=(0,ea.O4)("pcs:single-hop",!1);function useUserSingleHopOnly(){return(0,Z.KO)(ef)}var em=L(52794);let eb=(0,ea.O4)("pcs:slippage",50),ey=(0,eu.cn)(_=>_(eb),(_,C,L)=>{"number"==typeof L&&C(eb,L)}),useUserSlippage=()=>(0,Z.KO)(ey),eg=(0,eu.cn)(_=>{let C=_(eb);return new em.gG(C,1e4)}),useUserSlippagePercent=()=>(0,Z.KO)(eg)},88088:function(_,C,L){"use strict";L.d(C,{Xw:function(){return CurrencyLogo},ge:function(){return DoubleCurrencyLogo}});var Z=L(97458),ea=L(52983),es=L(62656),eo=L(13729),el=L(33688),eu=L(67827),ec=L(11189),ed=L(47739),eh=L(42166),ep=L(67997),ef=L.n(ep),em=L(86004);let eb={[ec.a_.MODE_MAINNET]:"mode",[ec.a_.MODE_TESTNET]:"modetestnet"},ey=ef()(_=>_&&eb[_.chainId]?`https://assets-cdn.trustwallet.com/blockchains/${eb[_.chainId]}/assets/${(0,em.K)(_.address)}/logo.png`:null,_=>`${null==_?void 0:_.chainId}#${null==_?void 0:_.address}`);ef()((_,C)=>_&&C&&eb[C]?`https://assets-cdn.trustwallet.com/blockchains/${eb[C]}/assets/${(0,em.K)(_)}/logo.png`:null,(_,C)=>`${C}#${_}`);let eg={[ec.a_.MODE_MAINNET]:"mode",[ec.a_.MODE_TESTNET]:"mode-testnet"},getTokenListTokenUrl=_=>Object.keys(eg).includes(String(_.chainId))?`https://tokens.pancakeswap.finance/images/${_.chainId===ec.a_.MODE_MAINNET?"":`${eg[_.chainId]}/`}${_.address}.png`:null,ev=[eh.ethereumTokens.usdt,eh.ethereumTokens.usdc,eh.ethereumTokens.wbtc,eh.ethereumTokens.weth,ed.B5[ec.a_.MODE_MAINNET],eh.ethereumTokens.dai].map(_=>{let{symbol:C}=_;return C}),ex=ef()(_=>e_(null==_?void 0:_.symbol),_=>`logoUrls#${null==_?void 0:_.chainId}#${null==_?void 0:_.symbol}`),e_=ef()(_=>_&&ev.includes(_)?`https://tokens.pancakeswap.finance/images/symbol/${_.toLocaleLowerCase()}.png`:void 0,_=>`logoUrls#symbol#${_}`),ew=ef()(function(_){let{useTrustWallet:C=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},L=ey(null==_?void 0:_.wrapped),Z=_?getTokenListTokenUrl(_.wrapped):null;return[ex(_),C?L:void 0,Z].filter(_=>!!_)},(_,C)=>{var L;return`logoUrls#${null==_?void 0:_.chainId}#${null==_?void 0:null===(L=_.wrapped)||void 0===L?void 0:L.address}#${C?JSON.stringify(C):""}`}),eC=(0,es.zo)(eu.Z)`
2345  width: ${_=>{let{size:C}=_;return C}};
2346  height: ${_=>{let{size:C}=_;return C}};
2347  border-radius: 50%;
2348
2349  ${eo.Dh}
2350`;
2350function CurrencyLogo(_){var C;let{currency:L,size:es="24px",style:eo,useTrustWalletUrl:eu,...ec}=_,ed=(0,el.ai)(null==L?void 0:L.logoURI),eh=(0,ea.useMemo)(()=>{if(null==L?void 0:L.isNative)return[];if(null==L?void 0:L.isToken){let _=ew(L,{useTrustWallet:eu});return(null==L?void 0:L.logoURI)?[...ed,..._]:[..._]}return[]},[L,ed,eu]);return(null==L?void 0:L.isNative)?(0,Z.jsx)(eC,{size:es,srcs:[`https://assets.pancakeswap.finance/web/native/${L.chainId}.png`],width:es,style:eo,...ec}):(0,Z.jsx)(eC,{size:es,srcs:eh,alt:`${null!==(C=null==L?void 0:L.symbol)&&void 0!==C?C:"token"} logo`,style:eo,...ec})}let eT=es.zo.div`
2351  display: flex;
2352  flex-direction: row;
2353  margin-right: ${_=>{let{margin:C}=_;return C&&"4px"}};
2354`;function DoubleCurrencyLogo(_){let{currency0:C,currency1:L,size:ea=20,margin:es=!1}=_;return(0,Z.jsxs)(eT,{margin:es,children:[C&&(0,Z.jsx)(CurrencyLogo,{currency:C,size:`${ea.toString()}px`,style:{marginRight:"4px"}}),L&&(0,Z.jsx)(CurrencyLogo,{currency:L,size:`${ea.toString()}px`})]})}L(95623)},10504:function(_,C,L){"use strict";L.d(C,{yu:function(){return ApproveModalContent},kL:function(){return nS.kL},pM:function(){return ConfirmationModalContent},PU:function(){return ConfirmationPendingContent},Xw:function(){return n7.Xw},ge:function(){return n7.ge},VD:function(){return ExpertModal},FarmWidget:function(){return Z},n6:function(){return ImportList},vD:function(){return ir.v},Zp:function(){return es},T3:function(){return nS.T3},_r:function(){return ListLogo},aB:function(){return ey},$n:function(){return nN.$},Kg:function(){return ea},HY:function(){return eo},F1:function(){return SwapPendingModalContent},aW:function(){return SwapTransactionReceiptModalContent},MQ:function(){return TokenRowButton},ht:function(){return TransactionErrorContent},um:function(){return nS.um},If:function(){return confirmPriceImpactWithoutFee},D2:function(){return withCurrencyLogo}});var Z={};L.r(Z),L.d(Z,{Tags:function(){return e$}});var ea={};L.r(ea),L.d(ea,{Apr:function(){return Apr},AprCell:function(){return AprCell},AprRowWithToolTip:function(){return AprRowWithToolTip},BalanceWithActions:function(){return BalanceWithActions},BaseCell:function(){return nc},CellContent:function(){return nd},CollectModal:function(){return CollectModal},EarningsCell:function(){return EarningsCell},EndTimeTooltipComponent:function(){return EndTimeTooltipComponent},EndsInCell:function(){return EndsInCell},ExpandActionCell:function(){return ExpandActionCell},ExpandRow:function(){return nv},HarvestAction:function(){return PoolsTable_HarvestAction_HarvestAction},HarvestActions:function(){return HarvestActions},NameCell:function(){return NameCell},PoolCard:function(){return PoolCard},PoolCardHeader:function(){return PoolCardHeader},PoolCardHeaderTitle:function(){return PoolCardHeaderTitle},PoolControls:function(){return PoolControls},PoolsTable:function(){return PoolsTable},StakeModal:function(){return StakeModal},StatWrapper:function(){return StatWrapper},StyledCard:function(){return t8},TimeCountdownDisplay:function(){return TimeCountdownDisplay},TotalStaked:function(){return TotalStaked},TotalStakedCell:function(){return TotalStakedCell},TotalToken:function(){return TotalToken},VaultKey:function(){return tE.om},withCardActions:function(){return withCardActions},withCollectModalCardAction:function(){return tp},withCollectModalTableAction:function(){return th},withStakeActionContainer:function(){return withStakeActionContainer},withStakeActions:function(){return withStakeActions},withTableActions:function(){return withTableActions}});var es={};L.r(es),L.d(es,{o6:function(){return FindOtherLP}});var eo={};L.r(eo),L.d(eo,{EJ:function(){return nF},Cy:function(){return nz},oz:function(){return nZ},tP:function(){return CurrencyInputPanel},kI:function(){return SwapInfo},P1:function(){return SwapInfoLabel},T3:function(){return SwapPage},U3:function(){return SwitchButton},zB:function(){return TradePrice}});var el=L(97269);new el.Z(1e-5);var eu=L(97458),ec=L(52983),ed=L(62656),eh=L(97656),ep=L(12513),ef=L.n(ep);let em=(0,ed.zo)("a").withConfig({shouldForwardProp:_=>!["hideSubNav","supportChainIds"].includes(_)})``,eb=(0,ec.forwardRef)((_,C)=>{let{to:L,replace:Z,children:ea,prefetch:es,...eo}=_;return(0,eu.jsx)(ef(),{legacyBehavior:!0,href:L,replace:Z,passHref:!0,prefetch:es,children:(0,eu.jsx)(em,{ref:C,...eo,children:ea})})});var ey=eb;ed.zo.div`
2355  display: flex;
2356  justify-content: center;
2357  align-items: center;
2358
2359  ${_=>{let{theme:C}=_;return C.mediaQueries.sm}} {
2360    margin-left: 16px;
2361  }
2362`;var eg=L(16169);(0,ed.zo)(eg.Z)`
2363  cursor: pointer;
2364  &:hover {
2365    opacity: 0.5;
2366  }
2367`;var ev=L(82577),ex=L(63135),e_=L(45778),ew=L(23690),eC=L(51036),eT=L(11320),eq=L(75644),ek=L(20542),eS=L(1891),eE=L(18680),eM=L(41335),ej=L(22153),eA=L(31674),eD=L(15028),eI=L(13903),eO=L(33088),eP=L(79818),eN=L(43042),eL=L(19031),eR=L(13144),eB=L(32136),eF=L(59475),eZ=L(43757),ez=L(15408);let eU=(0,ec.memo)(()=>{let{t:_}=(0,ev.Z)();return(0,eu.jsx)(ew.Z,{color:"text",children:_("Farm Auction Winner, add liquidity at your own risk.")})});var e$={CoreTag:_=>{let{t:C}=(0,ev.Z)();return(0,eu.jsx)(ex.Z,{variant:"secondary",style:{background:"none",width:"fit-content"},outline:!0,startIcon:(0,eu.jsx)(e_.Z,{width:"18px",color:"secondary",mr:"4px"}),..._,children:C("Core")})},FarmAuctionTag:_=>{let{t:C}
2367=(0,ev.Z)(),{targetRef:L,tooltip:Z,tooltipVisible:ea}=(0,eC.Z)((0,eu.jsx)(eU,{}),{placement:"top"});return(0,eu.jsxs)(eu.Fragment,{children:[ea&&Z,(0,eu.jsx)(eT.Z,{ref:L,display:"flex",style:{textDecoration:"none",justifyContent:"center",alignSelf:"center"},children:(0,eu.jsx)(ex.Z,{variant:"failure",outline:!0,startIcon:(0,eu.jsx)(eq.Z,{width:"18px",color:"failure",mr:"4px"}),..._,children:C("Farm Auction")})})]})},DualTag:_=>{let{t:C}=(0,ev.Z)();return(0,eu.jsx)(ex.Z,{variant:"textSubtle",outline:!0,..._,children:C("Dual")})},ManualPoolTag:_=>{let{t:C}=(0,ev.Z)();return(0,eu.jsx)(ex.Z,{variant:"secondary",outline:!0,startIcon:(0,eu.jsx)(eS.Z,{width:"18px",color:"secondary",mr:"4px"}),..._,children:C("Manual")})},CompoundingPoolTag:_=>{let{t:C}=(0,ev.Z)();return(0,eu.jsx)(ex.Z,{variant:"success",outline:!0,startIcon:(0,eu.jsx)(eM.Z,{width:"18px",color:"success",mr:"4px"}),..._,children:C("Auto")})},VoteNowTag:_=>{let{t:C}=(0,ev.Z)();return(0,eu.jsx)(ex.Z,{variant:"success",startIcon:(0,eu.jsx)(ej.Z,{width:"18px",color:"white",mr:"4px"}),..._,children:C("Vote Now")})},SoonTag:_=>{let{t:C}=(0,ev.Z)();return(0,eu.jsx)(ex.Z,{variant:"binance",startIcon:(0,eu.jsx)(eD.Z,{width:"18px",color:"white",mr:"4px"}),..._,children:C("Soon")})},ClosedTag:_=>{let{t:C}=(0,ev.Z)();return(0,eu.jsx)(ex.Z,{variant:"textDisabled",startIcon:(0,eu.jsx)(eI.Z,{width:"18px",color:"white",mr:"4px"}),..._,children:C("Closed")})},CommunityTag:_=>{let{t:C}=(0,ev.Z)();return(0,eu.jsx)(ex.Z,{variant:"failure",outline:!0,startIcon:(0,eu.jsx)(eq.Z,{width:"18px",color:"failure",mr:"4px"}),..._,children:C("Community")})},StableFarmTag:_=>{let{t:C}=(0,ev.Z)(),{targetRef:L,tooltip:Z,tooltipVisible:ea}=(0,eC.Z)("Fees are lower for stable LP",{placement:"top"});return(0,eu.jsxs)(eu.Fragment,{children:[ea&&Z,(0,eu.jsx)(eT.Z,{ref:L,display:"flex",style:{textDecoration:"none",justifyContent:"center",alignSelf:"center"},children:(0,eu.jsx)(ex.Z,{variant:"failure",outline:!0,startIcon:(0,eu.jsx)(ek.Z,{width:"18px",color:"failure",mr:"4px"}),..._,children:C("Stable LP")})})]})},LockedPoolTag:_=>{let{t:C}=(0,ev.Z)();return(0,eu.jsx)(ex.Z,{variant:"success",outline:!0,startIcon:(0,eu.jsx)(eE.Z,{width:"18px",color:"success",mr:"4px"}),..._,children:C("Locked")})},LockedOrAutoPoolTag:_=>{let{t:C}=(0,ev.Z)();return(0,eu.jsxs)(ex.Z,{variant:"success",outline:!0,..._,children:[C("Auto"),"/",C("Locked")]})},BoostedTag:_=>{let{t:C}=(0,ev.Z)();return(0,eu.jsx)(ex.Z,{variant:"success",outline:!0,startIcon:(0,eu.jsx)(eO.Z,{width:"18px",color:"success",mr:"4px"}),..._,children:C("Boosted")})},VotedTag:_=>{let{t:C}=(0,ev.Z)();return(0,eu.jsx)(ex.Z,{variant:"success",style:{background:"none"},outline:!0,startIcon:(0,eu.jsx)(eA.Z,{width:"18px",color:"success",mr:"4px"}),..._,children:C("Voted")})},V2Tag:_=>(0,eu.jsx)(ex.Z,{variant:"textDisabled",outline:!0,..._,children:"V2"}),V3FeeTag:_=>{let{feeAmount:C,...L}=_;return C?(0,eu.jsxs)(ex.Z,{variant:"secondary",outline:!0,...L,children:[C/1e4,"%"]}):null},V3Tag:_=>(0,eu.jsx)(ex.Z,{variant:"secondary",..._,children:"V3"}),EthTag:_=>(0,eu.jsx)(ex.Z,{style:{background:"#627EEA"},startIcon:(0,eu.jsx)(eP.Z,{width:"10px",mr:"4px"}),..._,children:"ETH"}),BscTag:_=>(0,eu.jsx)(ex.Z,{style:{background:"#08060B"},startIcon:(0,eu.jsx)(eN.Z,{width:"18px",mr:"4px"}),..._,children:"BNB"}),ZkEVMTag:_=>(0,eu.jsx)(ex.Z,{style:{background:"linear-gradient(57deg, #A726C1 0%, #803BDF 88.00%, #7B3FE4 100%)"},startIcon:(0,eu.jsx)(eL.Z,{width:"18px",mr:"4px"}),..._,children:"zkEVM"}),ZkSyncTag:_=>(0,eu.jsx)(ex.Z,{style:{background:"#08060B"},startIcon:(0,eu.jsx)(eR.Z,{width:"18px",mr:"4px"}),..._,children:"zkSync"}),ArbTag:_=>(0,eu.jsx)(ex.Z,{style:{background:"#2D374B"},startIcon:(0,eu.jsx)(eB.Z,{width:"18px",mr:"4px"}),..._,children:"ARB"}),BaseTag:_=>(0,eu.jsx)(ex.Z,{style:{background:"#0052FF"},startIcon:(0,eu.jsx)(eF.s,{width:"18px",mr:"4px"}),..._,children:"Base"}),LineaTag:_=>(0,eu.jsx)(ex.Z,{style:{background:"#121212"},startIcon:(0,eu.jsx)(eZ.Z,{width:"18px",mr:"4px"}),..._,children:"Linea"}),AlpBoostedTag:_=>{let{t:C}=(0,ev.Z)();return(0,eu.jsx)(ex.Z,{outline:!0,..._,variant:"secondary",startIcon:(0,eu.jsx)(ez.f,{width:"18px",color:"#4B3CFF",m:"-3px 3px 0 0"}),children:C("Boosted")})}}
2367,eV=L(46875),eW=L(68042);L(81252);var eH=L(74609);L(77842),L(11189),ed.zo.div`
2368  margin-top: 24px;
2369`,(0,ed.zo)(eV.Z)`
2370  font-weight: 400;
2371`,(0,ed.zo)(eW.Z)`
2372  font-weight: 400;
2373`,(0,ed.zo)(ew.Z)`
2374  &:hover {
2375    text-decoration: underline;
2376    cursor: pointer;
2377  }
2378`;var eG=L(80642);L(29153);var eK=L(86530);(0,ed.zo)(eg.Z)`
2379  cursor: pointer;
2380`,(0,ed.zo)(ew.Z)`
2381  width: 72px;
2382  max-width: 72px;
2383  overflow: hidden;
2384  text-align: right;
2385  text-overflow: ellipsis;
2386`,ed.zo.div`
2387  font-size: 12px;
2388  color: ${_=>{let{theme:C}=_;return C.colors.textSubtle}};
2389  text-align: left;
2390`,ed.zo.div`
2391  min-height: 24px;
2392  display: flex;
2393  align-items: center;
2394`,ed.zo.span`
2395  color: ${_=>{let{amount:C,theme:L}=_;return C?L.colors.text:L.colors.textDisabled}};
2396  display: flex;
2397  align-items: center;
2398`;var eX=L(73401);ed.zo.div`
2399  display: flex;
2400  width: 100%;
2401  justify-content: flex-end;
2402  padding-right: 8px;
2403  color: ${_=>{let{theme:C}=_;return C.colors.primary}};
2404
2405  ${_=>{let{theme:C}=_;return C.mediaQueries.sm}} {
2406    padding-right: 0px;
2407  }
2408`,(0,ed.zo)(eX.Z)`
2409  transform: ${_=>{let{$toggled:C}=_;return C?"rotate(180deg)":"rotate(0)"}};
2410  height: 20px;
2411`;var eY=L(27860),eQ=L.n(eY),eJ=L(33528),e1=L.n(eJ);eQ().extend(e1()),ed.zo.div`
2412  display: inline-block;
2413`,ed.zo.div`
2414  min-width: 110px;
2415  font-weight: 600;
2416  text-align: right;
2417  margin-right: 4px;
2418
2419  ${_=>{let{theme:C}=_;return C.mediaQueries.lg}} {
2420    text-align: left;
2421    margin-right: 0;
2422  }
2423`,ed.zo.div`
2424  display: flex;
2425  align-items: center;
2426`,ed.zo.div`
2427  display: inline-block;
2428`,ed.zo.div`
2429  color: ${_=>{let{theme:C}=_;return C.colors.text}};
2430  width: 36px;
2431  text-align: right;
2432  margin-right: 4px;
2433
2434  ${_=>{let{theme:C}=_;return C.mediaQueries.lg}} {
2435    text-align: left;
2436    margin-right: 0;
2437  }
2438`,ed.zo.div`
2439  display: flex;
2440  align-items: center;
2441`;var e0=L(64619),e2=L(47287);L(57512),L(42199),(0,ed.ZP)(eV.Z).withConfig({componentId:"sc-8b270281-0"})`
2442  display: inline-flex;
2443  margin-left: 4px;
2444`,ed.zo.div`
2445  padding-left: 16px;
2446  display: flex;
2447  align-items: center;
2448
2449  ${_=>{let{theme:C}=_;return C.mediaQueries.sm}} {
2450    padding-left: 32px;
2451  }
2452`,ed.zo.div`
2453  padding-right: 8px;
2454  width: 32px;
2455
2456  ${_=>{let{theme:C}=_;return C.mediaQueries.sm}} {
2457    width: 40px;
2458  }
2459`;var e5=L(50231),e6=L(87333),e3=L(42933);let e4=ed.zo.div`
2460  padding: 16px;
2461  border: 2px solid ${_=>{let{theme:C}=_;return C.colors.input}};
2462  border-radius: 16px;
2463  flex-grow: 1;
2464  flex-basis: 0;
2465  margin-bottom: 16px;
2466
2467  ${_=>{let{theme:C}=_;return C.mediaQueries.sm}} {
2468    margin-left: 12px;
2469    margin-right: 12px;
2470    margin-bottom: 12px;
2471    /* max-height: 130px; */
2472  }
2473
2474  ${_=>{let{theme:C}=_;return C.mediaQueries.xl}} {
2475    margin-right: 0;
2476    margin-bottom: 0;
2477    /* max-height: 130px; */
2478  }
2479`;ed.zo.div`
2480  display: flex;
2481  margin-bottom: 8px;
2482`,ed.zo.div`
2483  display: flex;
2484  justify-content: space-between;
2485  align-items: center;
2486`,ed.zo.div`
2487  display: flex;
2488`,(0,ed.zo)(e4)`
2489  &:nth-child(3) {
2490    flex-basis: 100%;
2491  }
2492  min-height: 124.5px;
2493  ${_=>{let{theme:C}=_;return C.mediaQueries.sm}} {
2494    &:nth-child(3) {
2495      margin-top: 16px;
2496    }
2497  }
2498`;var e8=L(17778),e9=L(40684),e7=L(23017);ed.zo.div`
2499  display: flex;
2500  margin-bottom: 8px;
2501`,ed.zo.div`
2502  display: flex;
2503  justify-content: space-between;
2504  align-items: center;
2505`,ed.zo.div`
2506  padding: 16px;
2507  border: 2px solid ${_=>{let{theme:C}=_;return C.colors.input}};
2508  border-radius: 16px;
2509  flex-grow: 1;
2510  flex-basis: 0;
2511  margin-bottom: 16px;
2512
2513  ${_=>{let{theme:C}=_;return C.mediaQueries.sm}} {
2514    margin-left: 12px;
2515    margin-right: 12px;
2516    margin-bottom: 12px;
2517  }
2518
2519  ${_=>{let{theme:C}=_;return C.mediaQueries.xl}} {
2520    margin-right: 0;
2521    margin-bottom: 0;
2522  }
2523`,(0,ed.zo)("div")`
2524  padding: 0;
2525  border: 1px solid ${_=>{let{theme:C}=_;return C.colors.cardBorder}};
2526  background-color: ${_=>{let{theme:C}=_;return C.colors.dropdown}};
2527  border-radius: ${_=>{let{theme:C}=_;return C.radii.card}};
2528`,(0,ed.zo)("div")`
2529  padding: 0;
2530  border: 1px solid ${_=>{let{theme:C}=_;return C.colors.cardBorder}};
2531  background-color: ${_=>{let{theme:C}=_;return C.colors.dropdown}};
2532  border-radius: ${_=>{let{theme:C}=_;return C.radii.card}};
2533`;let{BoostedTag:tr,FarmAuctionTag:ta,V3FeeTag:to}=e$;(0,ed.zo)(eg.Z)`
2534  flex-direction: column;
2535  height: auto;
2536  max-height: 60vh;
2537`,L(49017);var tl=L(89681);let tu=(0,ed.zo)(eg.Z)`
2538  flex-direction: column;
2539  padding: 16px;
2540  border: 2px solid ${_=>{let{theme:C}=_;return C.colors.input}};
2541  border-radius: 16px;
2542  margin-bottom: 16px;
2543
2544  ${_=>{let{theme:C}=_;return C.mediaQueries.sm}} {
2545    margin-left: 12px;
2546    margin-right: 12px;
2547    margin-bottom: 0;
2548  }
2549}
2550
2551  ${_=>{let{theme:C}=_;return C.mediaQueries.xl}} {
2552    margin-left: 32px;
2553    margin-right: 0;
2554  }
2555`;tu.defaultProps={flex:1},(0,ed.zo)(tu)`
2556  flex-direction: row;
2557`;let tc=ed.zo.div`
2558  font-weight: 600;
2559  font-size: 12px;
2560`,td=(0,ed.zo)(eg.Z)`
2561  display: flex;
2562  justify-content: space-between;
2563  align-items: center;
2564`;td.defaultProps={mt:"8px"};let withStakeActionContainer=(_,C)=>L=>{let{account:Z,stakingTokenSymbol:ea,...es}=L,{t:eo}=(0,ev.Z)();return Z?(0,eu.jsxs)(tu,{children:[(0,eu.jsxs)(tc,{children:[(0,eu.jsxs)(ew.Z,{fontSize:"12px",bold:!0,color:"secondary",as:"span",textTransform:"uppercase",children:[ea," "]}),(0,eu.jsx)(ew.Z,{fontSize:"12px",bold:!0,color:"textSubtle",as:"span",textTransform:"uppercase",children:eo("Staked")})]}),(0,eu.jsx)(_,{...es})]}):(0,eu.jsxs)(tu,{children:[(0,eu.jsx)(tc,{children:(0,eu.jsx)(ew.Z,{fontSize:"12px",bold:!0,color:"textSubtle",as:"span",textTransform:"uppercase",children:eo("Start staking")})}),(0,eu.jsx)(td,{children:(0,ec.createElement)(C,{width:"100%"})})]})};function PoolsTable_HarvestAction_HarvestAction(_){let{earningTokenPrice:C,onPresentCollect:L,account:Z,earningTokenBalance:ea,earningTokenDollarBalance:es,earningTokenSymbol:eo,earnings:el}=_,{t:ec}=(0,ev.Z)(),ed=el.gt(0),eh=(0,eu.jsxs)(eu.Fragment,{children:[(0,eu.jsxs)(ew.Z,{fontSize:"12px",bold:!0,color:"secondary",as:"span",children:[eo," "]}),(0,eu.jsx)(ew.Z,{fontSize:"12px",bold:!0,color:"textSubtle",as:"span",textTransform:"uppercase",children:ec("Earned")})]});return Z?(0,eu.jsxs)(tu,{children:[(0,eu.jsx)(tc,{children:eh}),(0,eu.jsxs)(td,{children:[(0,eu.jsx)(eg.Z,{flex:"1",flexDirection:"column",alignSelf:"flex-center",children:(0,eu.jsx)(eu.Fragment,{children:ed?(0,eu.jsxs)(eu.Fragment,{children:[(0,eu.jsx)(e6.Z,{lineHeight:"1",bold:!0,fontSize:"20px",decimals:5,value:ea}),!!C&&(0,eu.jsx)(e6.Z,{display:"inline",fontSize:"12px",color:"textSubtle",decimals:2,prefix:"~",value:es,unit:" USD"})]}):(0,eu.jsxs)(eu.Fragment,{children:[(0,eu.jsx)(e5.Z,{color:"textDisabled",children:"0"}),(0,eu.jsx)(ew.Z,{fontSize:"12px",color:"textDisabled",children:"0 USD"})]})})}),(0,eu.jsx)(e3.Z,{disabled:!ed,onClick:L,children:ec("Harvest")})]})]}):(0,eu.jsxs)(tu,{children:[(0,eu.jsx)(tc,{children:eh}),(0,eu.jsxs)(td,{children:[(0,eu.jsx)(e5.Z,{children:"0"}),(0,eu.jsx)(e3.Z,{disabled:!0,children:ec("Harvest")})]})]})}let BalanceWithActions=_=>{let{earnings:C,isLoading:L,earningTokenPrice:Z,earningTokenBalance:ea,earningTokenDollarBalance:es,actions:eo}=_,el=C.toNumber()>0;return(0,eu.jsxs)(eg.Z,{justifyContent:"space-between",alignItems:"center",mb:"16px",children:[(0,eu.jsx)(eg.Z,{flexDirection:"column",children:L?(0,eu.jsx)(eH.Z,{width:"80px",height:"48px"}):(0,eu.jsx)(eu.Fragment,{children:el?(0,eu.jsxs)(eu.Fragment,{children:[(0,eu.jsx)(e6.Z,{bold:!0,fontSize:"20px",decimals:5,value:ea}),Z>0&&(0,eu.jsx)(e6.Z,{display:"inline",fontSize:"12px",color:"textSubtle",decimals:2,prefix:"~",value:es,unit:" USD"})]}):(0,eu.jsxs)(eu.Fragment,{children:[(0,eu.jsx)(e5.Z,{color:"textDisabled",children:"0"}),(0,eu.jsx)(ew.Z,{fontSize:"12px",color:"textDisabled",children:"0 USD"})]})})}),eo]})},HarvestActions=_=>{let{earnings:C,isLoading:L,onPresentCollect:Z,earningTokenPrice:ea,earningTokenBalance:es,earningTokenDollarBalance:eo}=_,{t:el}=(0,ev.Z)(),ec=C.toNumber()>0;return(0,eu.jsx)(BalanceWithActions,{earnings:C,isLoading:L,earningTokenPrice:ea,earningTokenBalance:es,earningTokenDollarBalance:eo,actions:(0,eu.jsx)(e3.Z,{disabled:!ec,onClick:Z,children:el("Harvest")})})},withCollectModalFactory=_=>C=>L=>{let{earnings:Z,earningTokenSymbol:ea,earningTokenAddress:es,earningTokenDecimals:eo,sousId:el,isBnbPool:ec,earningTokenPrice:ed,isLoading:eh,poolAddress:ep,...ef}=L,em=(0,eG.mW)(Z,eo),eb=(0,eG.uf)(em,5,5),ey=(0,eG.NJ)(Z,eo),eg=Z?(0,eG.mW)(Z.multipliedBy(ed),eo):0,[ev]=(0,tl.Z)((0,eu.jsx)(C,{formattedBalance:eb,fullBalance:ey,earningTokenSymbol:ea,earningsDollarValue:eg,sousId:el,isBnbPool:ec,earningTokenAddress:es,poolAddress:ep}));return(0,eu.jsx)(_,{onPresentCollect:ev,earnings:Z,earningTokenPrice:ed,earningTokenDollarBalance:eg,earningTokenBalance:em,isLoading:eh,earningTokenSymbol:ea,...ef})},th=withCollectModalFactory(PoolsTable_HarvestAction_HarvestAction),tp=withCollectModalFactory(HarvestActions);var tf=L(48723),tm=L(45297);function CollectModal(_){let{formattedBalance:C,earningTokenSymbol:L,earningsDollarValue:Z,onDismiss:ea,handleHarvestConfirm:es,pendingTx:eo}=_,{t:el}=(0,ev.Z)(),ec=(0,ed.Fg)();return(0,eu.jsxs)(tf.ZP,{title:`${L} ${el("Harvest")}
2564`,onDismiss:ea,headerBackground:(0,tm.Z)(ec,"colors.gradientCardHeader"),children:[(0,eu.jsx)(eg.Z,{justifyContent:"space-between",alignItems:"center",mb:"8px",children:(0,eu.jsxs)(ew.Z,{children:[el("Harvesting"),":"]})}),(0,eu.jsxs)(eg.Z,{flexDirection:"column",mb:"24px",children:[(0,eu.jsxs)(e5.Z,{children:[C," ",L]}),Z>0&&(0,eu.jsx)(ew.Z,{fontSize:"12px",color:"textSubtle",children:`~${(0,eG.uf)(Z)} USD`})]}),(0,eu.jsx)(e3.Z,{mt:"8px",onClick:es,isLoading:eo,endIcon:eo?(0,eu.jsx)(eM.Z,{spin:!0,color:"currentColor"}):null,children:el(eo?"Confirming":"Confirm")}),(0,eu.jsx)(e3.Z,{variant:"text",onClick:ea,pb:"0px",children:el("Close Window")})]})}var tb=L(1582);let ty=/^([\d,]+)$|^([\d,]+)\.0*$|^([\d,]+\.[0-9]*?)0*$/g;var utils_removeTrailingZeros=_=>_.replace(ty,"$1$2$3"),tg=L(61723),tv=L(30233),tx=L(73217),t_=L(53071),tw=L(67441),tC=L(77789);let tT=(0,ed.zo)(e3.Z)`
2565  flex-grow: 1;
2566`;var pool_PercentageButton=_=>{let{children:C,onClick:L}=_;return(0,eu.jsx)(tT,{scale:"xs",mx:"2px",p:"4px 16px",variant:"tertiary",onClick:L,children:C})};let tq=(0,ed.zo)(tg.Z)`
2567  width: 100%;
2568`,tk=(0,ed.zo)(eg.Z)`
2569  cursor: pointer;
2570`,tS=(0,ed.zo)(_=>(0,eu.jsx)(ew.Z,{..._}))`
2571  width: 72px;
2572  max-width: 72px;
2573  overflow: hidden;
2574  text-align: right;
2575  text-overflow: ellipsis;
2576`,StakeModal=_=>{let{stakingTokenDecimals:C,stakingTokenSymbol:L,stakingTokenAddress:Z,stakingTokenBalance:ea,stakingTokenPrice:es,apr:eo,stakingLimit:eh,earningTokenPrice:ep,earningTokenSymbol:ef,userDataStakedBalance:em,userDataStakingTokenBalance:eb,enableEmergencyWithdraw:ey,isRemovingStake:ex=!1,needEnable:e_,enablePendingTx:eC,setAmount:eT,onDismiss:eq,handleEnableApprove:ek,account:eS,pendingTx:eE,handleConfirmClick:ej,imageUrl:eA="/images/tokens/",warning:eD}=_,{t:eI}=(0,ev.Z)(),eO=(0,ed.Fg)(),[eP,eN]=(0,ec.useState)(""),[eL,eR]=(0,ec.useState)(!1),[eB,eF]=(0,ec.useState)(0),[eZ,ez]=(0,ec.useState)(!1),eU=(0,ec.useCallback)(()=>{if(ex)return em;if(eh.gt(0)){let _=eh.minus(em);if(ea.gt(_))return _}return ea},[em,ea,eh,ex]),e$=(0,eG.Qe)(new el.Z(eP),C),eV=ex?em.lt(e$):eb.lt(e$),eW=new el.Z(eP).times(es),eK=!eW.isNaN()&&(0,eG.uf)(eW.toNumber()),eX=(0,tb.A1)({principalInUSD:eW.isNaN()?0:eW.toNumber(),apr:eo,earningTokenPrice:ep}),eY=eX[3]*ep,eQ=(0,eG.uf)(eY,eY>1e4?0:2,eY>1e4?0:2),eJ=Z?`/swap?outputCurrency=${Z}`:"/swap";(0,ec.useEffect)(()=>{eh.gt(0)&&!ex&&eR(e$.plus(em).gt(eh))},[eP,eh,ex,eR,e$,em]);let e1=(0,ec.useCallback)(_=>{if(_>0){let L=eU().dividedBy(100).multipliedBy(_),Z=(0,eG.NJ)(L,C,C);eN(utils_removeTrailingZeros(Z))}else eN("");eF(_)},[eU,C]);return((0,ec.useEffect)(()=>{eT&&eT(Number(eP)>0?eP:"0")},[eT,eP]),eZ)?(0,eu.jsx)(tv.Z,{account:eS,earningTokenPrice:ep,stakingTokenPrice:es,stakingTokenDecimals:C,apr:eo,linkLabel:eI("Get %symbol%",{symbol:L}),linkHref:eJ,stakingTokenBalance:em.plus(ea),stakingTokenSymbol:L,earningTokenSymbol:ef,onBack:()=>ez(!1),initialValue:eP}):(0,eu.jsx)(tf.ZP,{minWidth:"346px",title:eI(ex?"Unstake":"Stake in Pool"),onDismiss:eq,headerBackground:(0,tm.Z)(eO,"colors.gradientCardHeader"),children:(0,eu.jsxs)(e2.ZP,{overflow:"hide auto",children:[eh.gt(0)&&!ex&&(0,eu.jsx)(ew.Z,{color:"secondary",bold:!0,mb:"24px",style:{textAlign:"center"},fontSize:"16px",children:eI("Max stake for this pool: %amount% %token%",{amount:(0,eG.NJ)(eh,C,0),token:L})}),(0,eu.jsxs)(eg.Z,{alignItems:"center",justifyContent:"space-between",mb:"8px",children:[(0,eu.jsxs)(ew.Z,{bold:!0,children:[eI(ex?"Unstake":"Stake"),":"]}),(0,eu.jsxs)(eg.Z,{alignItems:"center",minWidth:"70px",children:[(0,eu.jsx)(tx.Z,{src:`${eA}${Z}.png`,width:24,height:24,alt:L}),(0,eu.jsx)(ew.Z,{ml:"4px",bold:!0,children:L})]})]}),(0,eu.jsx)(t_.Z,{value:eP,onUserInput:_=>{if(_){let L=(0,eG.Qe)(new el.Z(_),C),Z=Math.floor(L.dividedBy(eU()).multipliedBy(100).toNumber());eF(Math.min(Z,100))}else eF(0);eN(_)},currencyValue:0!==es&&`~${eK||0} USD`,isWarning:eL||eV,decimals:C}),eL&&(0,eu.jsx)(ew.Z,{color:"failure",fontSize:"12px",style:{textAlign:"right"},mt:"4px",children:eI("Maximum total stake: %amount% %token%",{amount:(0,eG.NJ)(new el.Z(eh),C,0),token:L})}),eV&&(0,eu.jsx)(ew.Z,{color:"failure",fontSize:"12px",style:{textAlign:"right"},mt:"4px",children:eI("Insufficient %symbol% balance",{symbol:L})}),e_&&(0,eu.jsx)(ew.Z,{color:"failure",textAlign:"right",fontSize:"12px",mt:"8px",children:eI('Insufficient token allowance. Click "Enable" to approve.')}),(0,eu.jsx)(ew.Z,{ml:"auto",color:"textSubtle",fontSize:"12px",mb:"8px",children:eI("Balance: %balance%",{balance:(0,eG.NJ)(ex?em:ea,C)})}),(0,eu.jsx)(tw.Z,{min:0,max:100,value:eB,onValueChanged:e1,name:"stake",valueLabel:`${eB}%`,step:1}),(0,eu.jsxs)(eg.Z,{alignItems:"center",justifyContent:"space-between",mt:"8px",children:[(0,eu.jsx)(pool_PercentageButton,{onClick:()=>e1(25),children:"25%"}),(0,eu.jsx)(pool_PercentageButton,{onClick:()=>e1(50),children:"50%"}),(0,eu.jsx)(pool_PercentageButton,{onClick:()=>e1(75),children:"75%"}),(0,eu.jsx)(pool_PercentageButton,{onClick:()=>e1(100),children:eI("Max")})]}),eD,!ex&&(0,eu.jsxs)(eg.Z,{mt:"24px",alignItems:"center",justifyContent:"space-between",children:[(0,eu.jsxs)(ew.Z,{mr:"8px",color:"textSubtle",children:[eI("Annual ROI at current rates"),":"]}),Number.isFinite(eY)?(0,eu.jsxs)(tk,{alignItems:"center",onClick:()=>{ez(!0)},children:[(0,eu.jsxs)(tS,{children:["$",eQ]}),(0,eu.jsx)(e8.Z,{variant:"text",scale:"sm",children:(0,eu.jsx)(tC.Z,{color:"textSubtle",width:"18px"})})]}):(0,eu.jsx)(eH.Z,{width:60})]}),ex&&ey&&(0,eu.jsx)(eg.Z,{maxWidth:"346px",mt:"24px",children:(0,eu.jsx)(ew.Z,{textAlign:"center",children:eI("This pool was misconfigured. Please unstake your tokens from it, emergencyWithdraw method will be used. Your tokens will be returned to your wallet, however rewards will not be harvested.")})}),e_?(0,eu.jsx)(e3.Z,{width:"100%",isLoading:eC,endIcon:eC?(0,eu.jsx)(eM.Z,{spin:!0,color:"currentColor"}):null,onClick:ek,mt:"24px",minHeight:48,children:eI("Enable")}):(0,eu.jsx)(e3.Z,{width:"100%",isLoading:eE,endIcon:eE?(0,eu.jsx)(eM.Z,{spin:!0,color:"currentColor"}):null,onClick:()=>ej(eP),disabled:!eP||0===parseFloat(eP)||eL||eV,mt:"24px",children:eI(eE?"Confirming":"Confirm")}),!ex&&(0,eu.jsx)(tq,{external:!0,href:eJ,children:(0,eu.jsx)(e3.Z,{width:"100%",mt:"8px",variant:"secondary",children:eI("Get %symbol%",{symbol:L})})})]})})};
2576var tE=L(53337),tM=L(50663),tj=L.n(tM),tA=L(33688),tD=L(13546),tI=L.n(tD),tO=L(67997),tP=L.n(tO);let tN={latin_map:{τ:"t",Τ:"T"}},tL=tP()(_=>_.replace(/[^A-Za-z0-9[\] ]/g,_=>tI()(tN,`latin_map.${_}`)||_));var tR=L(14752),tB=L(88820),tF=L(29594),tZ=L(40916),tz=L.n(tZ);new el.Z(1e13),new el.Z(1e14);let convertSharesToCake=function(_,C){let L=arguments.length>2&&void 0!==arguments[2]?arguments[2]:18,Z=arguments.length>3&&void 0!==arguments[3]?arguments[3]:3,ea=arguments.length>4?arguments[4]:void 0,es=(0,eG.mW)(C,L),eo=new el.Z(_.multipliedBy(es)).minus(ea||eK.HW),eu=(0,eG.mW)(eo,L),ec=(0,eG.Qe)(new el.Z(eu),L),ed=(0,eG.NJ)(eo,L,Z);return{cakeAsNumberBalance:eu,cakeAsBigNumber:ec,cakeAsDisplayBalance:ed}},getCakeVaultEarnings=(_,C,L,Z,ea,es)=>{let eo=_&&(null==C?void 0:C.gt(0))&&(null==L?void 0:L.gt(0)),{cakeAsBigNumber:el}=convertSharesToCake(L,Z),eu=el.minus(es||eK.HW).minus(C),ec=eu.gte(0)?(0,eG.mW)(eu,18):0,ed=eu.times(ea),eh=ed.gte(0)?(0,eG.mW)(ed,18):0;return{hasAutoEarnings:eo,autoCakeToDisplay:ec,autoUsdToDisplay:eh}};var tU=L(27962),t$=L(52832),tV=L(11556),tW=L(85636),tH=L(50956);let tG=ed.zo.div`
2577  display: flex;
2578  align-items: center;
2579  margin-left: 10px;
2580
2581  ${ew.Z} {
2582    margin-left: 8px;
2583  }
2584`,tK=ed.zo.div`
2585  flex-wrap: wrap;
2586  justify-content: space-between;
2587  display: flex;
2588  align-items: center;
2589  width: 100%;
2590
2591  > div {
2592    padding: 8px 0px;
2593  }
2594
2595  ${_=>{let{theme:C}=_;return C.mediaQueries.sm}} {
2596    justify-content: flex-start;
2597    width: auto;
2598
2599    > div {
2600      padding: 0;
2601    }
2602  }
2603`,tX=ed.zo.div`
2604  display: flex;
2605  justify-content: center;
2606  align-items: center;
2607
2608  ${_=>{let{theme:C}=_;return C.mediaQueries.sm}} {
2609    margin-left: 16px;
2610  }
2611`;var pool_PoolTabButtons=_=>{let{stakedOnly:C,setStakedOnly:L,hasStakeInFinishedPools:Z,viewMode:ea,setViewMode:es,hideViewMode:eo=!1}=_,el=(0,eh.useRouter)(),{t:ec}=(0,ev.Z)(),ed="/pools"===el.pathname||"/_mp/pools"===el.pathname,ep=eo?null:(0,eu.jsx)(tU.J,{idPrefix:"clickPool",viewMode:ea,onToggle:es}),ef=(0,eu.jsx)(tX,{children:(0,eu.jsxs)(t$.Z,{activeIndex:ed?0:1,scale:"sm",variant:"subtle",children:[(0,eu.jsx)(tV.Z,{as:ey,to:"/pools",replace:!0,children:ec("Live")}),(0,eu.jsx)(tW.Z,{show:Z,children:(0,eu.jsx)(tV.Z,{id:"finished-pools-button",as:ey,to:"/pools/history",replace:!0,children:ec("Finished")})})]})}),em=(0,eu.jsxs)(tG,{children:[(0,eu.jsx)(tH.Z,{checked:C,onChange:()=>L(!C),scale:"sm"}),(0,eu.jsxs)(ew.Z,{children:[" ",ec("Staked only")]})]});return(0,eu.jsxs)(tK,{children:[ep,ef,em]})};let tY=ed.zo.div`
2612  display: flex;
2613  width: 100%;
2614  align-items: center;
2615  position: relative;
2616
2617  justify-content: space-between;
2618  flex-direction: column;
2619  margin-bottom: 32px;
2620
2621  ${_=>{let{theme:C}=_;return C.mediaQueries.sm}} {
2622    flex-direction: row;
2623    flex-wrap: wrap;
2624    padding: 16px 32px;
2625    margin-bottom: 0;
2626  }
2627`,tQ=ed.zo.div`
2628  display: flex;
2629  align-items: center;
2630  width: 100%;
2631  padding: 8px 0px;
2632
2633  ${_=>{let{theme:C}=_;return C.mediaQueries.sm}} {
2634    width: auto;
2635    padding: 0;
2636  }
2637`,tJ=ed.zo.div`
2638  > ${ew.Z} {
2639    font-size: 12px;
2640  }
2641`,t1=(0,ed.zo)(eg.Z)`
2642  > div {
2643    flex: 1;
2644  }
2645`;function PoolControls(_){let C,{pools:L,children:Z,stakedOnly:ea,setStakedOnly:es,viewMode:eo,setViewMode:ed,account:ep,threshHold:ef,hideViewMode:em=!1}=_,eb=(0,eh.useRouter)(),{t:ey}=(0,ev.Z)(),[eg,ex]=(0,ec.useState)(12),{observerRef:e_,isIntersecting:eC}=(0,tA.S1)(),eT=(0,ec.useMemo)(()=>{var _;return"string"==typeof(null==eb?void 0:null===(_=eb.query)||void 0===_?void 0:_.search)?eb.query.search:""},[eb.query]),[eq,ek]=(0,ec.useState)(""),eS=eT&&!eq?eT:eq,[eE,eM]=(0,ec.useState)("hot"),ej=(0,ec.useRef)(0),[eA,eD]=(0,ec.useMemo)(()=>tj()(L,_=>_.isFinished),[L]),eI=(0,ec.useMemo)(()=>eD.filter(_=>!(ef>0)||!_.startTimestamp||Number(_.startTimestamp)<ef),[ef,eD]),eO=(0,ec.useMemo)(()=>eA.filter(_=>{if(_.vaultKey){var C,L;return null==_?void 0:null===(L=_.userData)||void 0===L?void 0:null===(C=L.userShares)||void 0===C?void 0:C.gt(0)}return _.userData&&new el.Z(_.userData.stakedBalance).isGreaterThan(0)}),[eA]),eP=(0,ec.useCallback)(()=>eI.filter(_=>{if(_.vaultKey){var C,L;return null==_?void 0:null===(L=_.userData)||void 0===L?void 0:null===(C=L.userShares)||void 0===C?void 0:C.gt(0)}return _.userData&&new el.Z(_.userData.stakedBalance).isGreaterThan(0)}),[eI]),eN=eO.length>0;(0,ec.useEffect)(()=>{eC&&ex(_=>_<=ej.current?_+12:_)},[eC]);let eL=eb.pathname.includes("history"),eR=(0,ec.useCallback)(_=>ek(_.target.value),[]),eB=(0,ec.useCallback)(_=>eM(_.value),[]);C=eL?ea?eO:eA:ea?eP():eI,C=(0,ec.useMemo)(()=>{let _=(function(_,C,L){switch(C){case"apr":return tz()(L,_=>_.apr?_.apr:0,"desc");case"earned":return tz()(L,C=>{if(!C.userData||!C.earningTokenPrice)return 0;if(C.vaultKey){var L,Z,ea;let{userData:es,pricePerFullShare:eo}=C;return es&&es.userShares?getCakeVaultEarnings(_,es.cakeAtLastUserAction,es.userShares,eo,C.earningTokenPrice,C.vaultKey===tE.om.CakeVault?null==C?void 0:null===(ea=C.userData)||void 0===ea?void 0:null===(Z=ea.currentPerformanceFee)||void 0===Z?void 0:Z.plus((null==C?void 0:null===(L=C.userData)||void 0===L?void 0:L.currentOverdueFee)||0):void 0).autoUsdToDisplay:0}return C.userData.pendingReward.times(C.earningTokenPrice).toNumber()},"desc");case"totalStaked":return tz()(L,_=>{var C,L,Z,ea;let es=Number.NaN;return _.vaultKey?_.stakingTokenPrice&&(null==_?void 0:null===(L=_.totalCakeInVault)||void 0===L?void 0:L.isFinite())&&(es=+(0,tF.b)(BigInt(_.totalCakeInVault.toString()),null==_?void 0:null===(Z=_.stakingToken)||void 0===Z?void 0:Z.decimals)*_.stakingTokenPrice):(null===(C=_.totalStaked)||void 0===C?void 0:C.isFinite())&&_.stakingTokenPrice&&(es=+(0,tF.b)(BigInt(_.totalStaked.toString()),null==_?void 0:null===(ea=_.stakingToken)||void 0===ea?void 0:ea.decimals)*_.stakingTokenPrice),Number.isFinite(es)?es:0},"desc");case"latest":return tz()(L,_=>Number(_.sousId),"desc");default:return L}})(ep,eE,C).slice(0,eg);if(eS){let C=tL(eS.toLowerCase());return _.filter(_=>{var L,Z;return tL((null==_?void 0:null===(Z=_.earningToken)||void 0===Z?void 0:null===(L=Z.symbol)||void 0===L?void 0:L.toLowerCase())||"").includes(C)})}return _},[ep,eE,C,eg,eS]),ej.current=C.length;let eF=(0,ec.useMemo)(()=>({chosenPools:C,stakedOnly:ea,viewMode:eo,normalizedUrlSearch:eT,showFinishedPools:eL}),[C,eT,eL,ea,eo]);return(0,eu.jsxs)(eu.Fragment,{children:[(0,eu.jsxs)(tY,{children:[(0,eu.jsx)(pool_PoolTabButtons,{stakedOnly:ea,setStakedOnly:es,hasStakeInFinishedPools:eN,viewMode:eo,setViewMode:ed,hideViewMode:em}),(0,eu.jsxs)(tQ,{children:[(0,eu.jsxs)(tJ,{children:[(0,eu.jsx)(ew.Z,{fontSize:"12px",bold:!0,color:"textSubtle",textTransform:"uppercase",children:ey("Sort by")}),(0,eu.jsx)(t1,{children:(0,eu.jsx)(tR.Z,{options:[{label:ey("Hot"),value:"hot"},{label:ey("APR"),value:"apr"},{label:ey("Earned"),value:"earned"},{label:ey("Total staked"),value:"totalStaked"},{label:ey("Latest"),value:"latest"}],onOptionChange:eB})})]}),(0,eu.jsxs)(tJ,{style:{marginLeft:16},children:[(0,eu.jsx)(ew.Z,{fontSize:"12px",bold:!0,color:"textSubtle",textTransform:"uppercase",children:ey("Search")}),(0,eu.jsx)(tB.Z,{initialValue:eS,onChange:eR,placeholder:"Search Pools"})]})]})]}),Z(eF),(0,eu.jsx)("div",{ref:e_})]})}var t0=L(1413);let{AlpBoostedTag:t2}=e$,t5=(0,ed.zo)(t0.Z)`
2646  background: ${_=>{let{isFinished:C,background:L,theme:Z}=_;return C?Z.colors.backgroundDisabled:(0,tm.Z)(Z,`colors.${L}`)}};
2647  border-radius: ${_=>{let{theme:C}=_;return`${C.radii.card} ${C.radii.card} 0 0`}};
2648`,PoolCardHeader=_=>{let{isFinished:C=!1,isStaking:L=!1,children:Z}=_;return(0,eu.jsx)(t5,{isFinished:C,background:L?"gradientBubblegum":"gradientCardHeader",children:(0,eu.jsx)(eg.Z,{alignItems:"center",justifyContent:"space-between",children:Z})})},PoolCardHeaderTitle=_=>{let{isFinished:C,title:L,subTitle:Z,showBoostedTag:ea}=_;return(0,eu.jsxs)(eg.Z,{flexDirection:"column",children:[(0,eu.jsx)(e5.Z,{color:C?"textDisabled":"body",
2648scale:"lg",children:L}),(0,eu.jsxs)(eg.Z,{children:[(0,eu.jsx)(ew.Z,{style:{alignSelf:"flex-end"},fontSize:"14px",color:C?"textDisabled":"textSubtle",children:Z}),ea&&(0,eu.jsx)(t2,{scale:"sm",m:"4px 0 0 4px"})]})]})};var t6=L(80304),t3=L(77203),t4=L(36614);let t8=(0,ed.zo)(t4.Z)`
2649  min-width: 280px;
2650  max-width: 100%;
2651  margin: 0 0 24px 0;
2652  width: 100%;
2653  display: flex;
2654  flex-direction: column;
2655  align-self: baseline;
2656  position: relative;
2657  color: ${_=>{let{isFinished:C,theme:L}=_;return L.colors[C?"textDisabled":"secondary"]}};
2658
2659  ${_=>{let{theme:C}=_;return C.mediaQueries.sm}} {
2660    max-width: 350px;
2661    margin: 0 12px 46px;
2662  }
2663`;function PoolCard(_){let{pool:C,cardContent:L,aprRow:Z,isStaked:ea,cardFooter:es,tokenPairImage:eo,isBoostedPool:el}=_,{sousId:ed,stakingToken:eh,earningToken:ep,isFinished:ef,totalStaked:em}=C,{t:eb}=(0,ev.Z)(),ey=(null==ep?void 0:ep.symbol)==="ANDX"&&(null==eh?void 0:eh.symbol)==="ANDX",ex=(0,ec.useMemo)(()=>!ef&&el,[ef,el]);return(0,eu.jsxs)(t8,{isActive:ey,isFinished:ef&&0!==ed,ribbon:ef&&(0,eu.jsx)(t6.Z,{variantColor:"textDisabled",text:eb("Finished")}),children:[(0,eu.jsx)(PoolCardHeader,{isStaking:ea,isFinished:ef&&0!==ed,children:em&&em.gte(0)?(0,eu.jsxs)(eu.Fragment,{children:[(0,eu.jsx)(PoolCardHeaderTitle,{title:ey?eb("Manual"):eb("Earn %asset%",{asset:(null==ep?void 0:ep.symbol)||""}),subTitle:ey?eb("Earn ANDX, stake ANDX"):eb("Stake %symbol%",{symbol:(null==eh?void 0:eh.symbol)||""}),showBoostedTag:ex}),eo]}):(0,eu.jsxs)(eg.Z,{width:"100%",justifyContent:"space-between",children:[(0,eu.jsxs)(eg.Z,{flexDirection:"column",children:[(0,eu.jsx)(eH.Z,{width:100,height:26,mb:"4px"}),(0,eu.jsx)(eH.Z,{width:65,height:20})]}),(0,eu.jsx)(eH.Z,{width:58,height:58,variant:"circle"})]})}),(0,eu.jsxs)(t3.Z,{children:[Z,(0,eu.jsx)(eg.Z,{mt:"24px",flexDirection:"column",children:L})]}),es]})}var t9=L(38837);function withStakeActions(_){return C=>{var L;let{pool:Z,stakingTokenBalance:ea,stakedBalance:es,isBnbPool:eo,isStaked:el,isLoading:ec=!1,hideLocateAddress:ed=!1}=C,{stakingToken:eh,stakingTokenPrice:ep,stakingLimit:ef,isFinished:em,userData:eb}=Z,{t:ey}=(0,ev.Z)(),ex=(0,eG.mW)(es,null==eh?void 0:eh.decimals),e_=ep?(0,eG.mW)(null==es?void 0:es.multipliedBy(ep),null==eh?void 0:eh.decimals):0,[eT]=(0,tl.Z)((0,eu.jsx)(t9.Z,{hideLocateAddress:ed,tokenAddress:eh.address,tokenSymbol:(null==eh?void 0:eh.symbol)||""})),[eq]=(0,tl.Z)((0,eu.jsx)(_,{isBnbPool:eo,pool:Z,stakingTokenBalance:ea,stakingTokenPrice:ep||0})),[ek]=(0,tl.Z)((0,eu.jsx)(_,{stakingTokenBalance:ea,isBnbPool:eo,pool:Z,stakingTokenPrice:ep||0,isRemovingStake:!0})),{targetRef:eS,tooltip:eE,tooltipVisible:eM}=(0,eC.Z)(ey("You’ve already staked the maximum amount you can stake in this pool!"),{placement:"bottom"}),ej=(null==ef?void 0:ef.gt(0))&&(null==eb?void 0:null===(L=eb.stakedBalance)||void 0===L?void 0:L.gte(ef));return(0,eu.jsx)(eg.Z,{flexDirection:"column",children:ec?(0,eu.jsx)(eH.Z,{width:"100%",height:"52px"}):el?(0,eu.jsxs)(eg.Z,{justifyContent:"space-between",alignItems:"center",children:[(0,eu.jsx)(eg.Z,{flexDirection:"column",children:(0,eu.jsxs)(eu.Fragment,{children:[(0,eu.jsx)(e6.Z,{bold:!0,fontSize:"20px",decimals:3,value:ex}),0!==ep&&(0,eu.jsx)(ew.Z,{fontSize:"12px",color:"textSubtle",children:(0,eu.jsx)(e6.Z,{fontSize:"12px",color:"textSubtle",decimals:2,value:e_,prefix:"~",unit:" USD"})})]})}),(0,eu.jsxs)(eg.Z,{children:[(0,eu.jsx)(e8.Z,{variant:"secondary",onClick:ek,mr:"6px",children:(0,eu.jsx)(e9.Z,{color:"primary",width:"24px"})}),ej?(0,eu.jsx)("span",{ref:eS,children:(0,eu.jsx)(e8.Z,{variant:"secondary",disabled:!0,children:(0,eu.jsx)(e7.Z,{color:"textDisabled",width:"24px",height:"24px"})})}):(0,eu.jsx)(e8.Z,{variant:"secondary",onClick:ea.gt(0)?eq:eT,disabled:em,children:(0,eu.jsx)(e7.Z,{color:"primary",width:"24px",height:"24px"})})]}),eM&&eE]}):(0,eu.jsx)(e3.Z,{disabled:em,onClick:ea.gt(0)?eq:eT,children:ey("Stake")})})}}let AprRowWithToolTip=_=>{let{children:C,questionTooltip:L}=_,{t:Z}=(0,ev.Z)(),ea=Z("Calculated based on current rates and subject to change based on various external variables. It is a rough estimate provided for c
2663onvenience only, and by no means represents guaranteed returns."),{targetRef:es,tooltip:eo,tooltipVisible:el}=(0,eC.Z)(ea,{placement:"bottom-start"});return(0,eu.jsxs)(eg.Z,{alignItems:"center",justifyContent:"space-between",children:[el&&eo,(0,eu.jsxs)(eg.Z,{children:[(0,eu.jsx)(eT.Z,{ref:es,children:`${Z("APR")}:`}),L]}),C]})};var t7=L(44610),ni=L(87191);let nr=(0,ed.zo)(eg.Z)`
2664  ${_=>{let{enableHover:C}=_;return C?ed.iv`
2665          &:hover {
2666            opacity: 0.5;
2667          }
2668        `:null}}
2669`,na=(0,ed.zo)(ew.Z)`
2670  background-clip: text;
2671  background: linear-gradient(115deg, #c040fc -17.9%, #4b3cff 100.68%);
2672  -webkit-background-clip: text;
2673  -webkit-text-fill-color: transparent;
2674`;function Apr(_){let{pool:C,showIcon:L,stakedBalance:Z,fontSize:ea="16px",performanceFee:es=0,shouldShowApr:eo,account:ed,autoCompoundFrequency:eh,boostedApr:ep,boostedTooltipsText:ef,...em}=_,{stakingToken:eb,earningToken:ey,isFinished:ex,earningTokenPrice:e_,stakingTokenPrice:eT,userData:eq,apr:ek,rawApr:eS,vaultKey:eE}=C,{t:eM}=(0,ev.Z)(),{isDesktop:ej}=(0,t7.Z)(),eA=(0,ec.useMemo)(()=>(null==eq?void 0:eq.stakingTokenBalance)?new el.Z(eq.stakingTokenBalance):eK.HW,[eq]),eD=(0,ec.useMemo)(()=>(null==eb?void 0:eb.address)?`/swap?outputCurrency=${eb.address}`:"/swap",[eb]),eI=(0,ec.useMemo)(()=>{let _=eE?eS:ek;return ep?new el.Z(null!=_?_:0).plus(ep).toNumber():null!=_?_:0},[ek,ep,eS,eE]),[eO]=(0,tl.Z)((0,eu.jsx)(tv.Z,{account:ed,earningTokenPrice:e_||0,stakingTokenPrice:eT||0,stakingTokenBalance:Z.plus(eA),stakingTokenDecimals:eb.decimals,apr:eI,stakingTokenSymbol:(null==eb?void 0:eb.symbol)||"",linkLabel:eM("Get %symbol%",{symbol:(null==eb?void 0:eb.symbol)||""}),linkHref:eD,earningTokenSymbol:null==ey?void 0:ey.symbol,autoCompoundFrequency:eh,performanceFee:es})),eP=(0,ec.useCallback)(_=>{_.stopPropagation(),eO()},[eO]),eN=void 0!==ek&&!Number.isNaN(ek),eL=(0,ec.useMemo)(()=>{let _=eE?eS:ek;return`${null==_?void 0:_.toLocaleString("en-US",{maximumFractionDigits:2})}%`},[eE,eS,ek]),eR=(0,ec.useMemo)(()=>new el.Z(null!=ep?ep:0).isGreaterThan(0),[ep]),{targetRef:eB,tooltip:eF,tooltipVisible:eZ}=(0,eC.Z)((0,eu.jsxs)(e2.ZP,{children:[(0,eu.jsxs)(e2.ZP,{children:[(0,eu.jsxs)(e2.ZP,{children:[(0,eu.jsx)(ew.Z,{bold:!0,as:"span",children:eM("Total APY:")}),(0,eu.jsx)(ew.Z,{bold:!0,as:"span",ml:"4px",children:`${null==eI?void 0:eI.toLocaleString("en-US",{maximumFractionDigits:2})}%`})]}),(0,eu.jsxs)(e2.ZP,{children:[(0,eu.jsx)(ew.Z,{bold:!0,as:"span",children:eM("Fee APY:")}),(0,eu.jsx)(ew.Z,{bold:!0,as:"span",ml:"4px",children:`${null==ep?void 0:ep.toLocaleString("en-US",{maximumFractionDigits:2})}%`})]}),(0,eu.jsxs)(e2.ZP,{children:[(0,eu.jsx)(ew.Z,{bold:!0,as:"span",children:eM("Stake APY:")}),(0,eu.jsx)(ew.Z,{bold:!0,as:"span",ml:"4px",children:eL})]})]}),ef&&(0,eu.jsx)(ew.Z,{mt:"10px",lineHeight:"120%",children:ef})]}),{placement:"top"});return(0,eu.jsx)(nr,{enableHover:!ex,alignItems:"center",justifyContent:"flex-start",...em,children:eN||ex?(0,eu.jsx)(eu.Fragment,{children:eo?(0,eu.jsxs)(eg.Z,{children:[(0,eu.jsxs)(eg.Z,{position:"relative",zIndex:0,ref:eB,children:[!ex&&eR&&(0,eu.jsxs)(eu.Fragment,{children:[eZ&&eF,(0,eu.jsxs)(eg.Z,{m:"0 4px 0 0",flexDirection:L?["row"]:["column","column","row"],children:[ej&&(0,eu.jsx)(ez.f,{m:"-4px 3px 0 0"}),(0,eu.jsx)(na,{fontSize:ea,bold:!0,mr:"2px",children:eM("Up to")}),(0,eu.jsx)(e6.Z,{fontSize:ea,bold:!0,unit:"%",color:"#4B3CFF",decimals:2,value:eI})]})]}),(ej&&eR||0===ep||L)&&(0,eu.jsx)(ni.Z,{onClick:_=>{L&&!ex&&eP(_)},fontSize:ea,isDisabled:ex,strikeThrough:eR,value:ex?0:null!=ek?ek:0,decimals:2,unit:"%"})]}),!ex&&L&&(0,eu.jsx)(e3.Z,{variant:"text",width:"20px",height:"20px",padding:"0px",marginLeft:"4px",style:{position:"relative",zIndex:1},onClick:eP,children:(0,eu.jsx)(tC.Z,{color:"textSubtle",width:"20px"})})]}):(0,eu.jsx)(ew.Z,{children:"-"})}):(0,eu.jsx)(eH.Z,{width:"80px",height:"16px"})})}let no=(0,ed.zo)(_=>(0,eu.jsx)(ew.Z,{..._}))`
2675  display: inline;
2676`;function withTableActions(_,C){return L=>{let{pool:Z,stakedBalance:ea,hideLocateAddress:es=!1,...eo}=L,{sousId:ec,stakingToken:ed,earningToken:eh,userData:ep,earningTokenPrice:ef}=Z,em=(null==ep?void 0:ep.pendingReward)?new el.Z(ep.pendingReward):eK.HW,eb=!ep,ey=(null==ep?void 0:ep.stakingTokenBalance)?new el.Z(ep.stakingTokenBalance):eK.HW,eg=null==ea?void 0:ea.gt(0);return(0,eu.jsxs)(eu.Fragment,{children:[(0,eu.jsx)(_,{earnings:em,stakingTokenAddress:ed.address,earningTokenAddress:eh.address,earningTokenSymbol:eh.symbol,earningTokenDecimals:eh.decimals,sousId:ec,earningTokenPrice:ef,isBnbPool:!1,isLoading:eb,poolAddress:Z.contractAddress,...eo}),(0,eu.jsx)(C,{isLoading:eb,pool:Z,stakingTokenBalance:ey,stakedBalance:ea,isBnbPool:!1,isStaked:eg,hideLocateAddress:es,stakingTokenSymbol:ed.symbol,...eo})]})}}function withCardActions(_,C){return L=>{let{pool:Z,stakedBalance:ea,hideLocateAddress:es=!1}=L,{sousId:eo,stakingToken:ec,earningToken:ed,userData:eh,earningTokenPrice:ep}=Z,{t:ef}=(0,ev.Z)(),em=(null==eh?void 0:eh.stakingTokenBalance)?new el.Z(eh.stakingTokenBalance):eK.HW,eb=(null==eh?void 0:eh.pendingReward)?new el.Z(eh.pendingReward):eK.HW,ey=null==ea?void 0:ea.gt(0),ex=!eh;return(0,eu.jsx)(eg.Z,{flexDirection:"column",children:(0,eu.jsxs)(eg.Z,{flexDirection:"column",children:[(0,eu.jsxs)(eu.Fragment,{children:[(0,eu.jsxs)(e2.ZP,{display:"inline",children:[(0,eu.jsx)(no,{color:"secondary",bold:!0,fontSize:"12px",children:`${ed.symbol} `}),(0,eu.jsx)(no,{color:"textSubtle",textTransform:"uppercase",bold:!0,fontSize:"12px",children:ef("Earned")})]}),(0,eu.jsx)(_,{earnings:eb,stakingTokenAddress:ec.address,earningTokenAddress:ed.address,earningTokenSymbol:ed.symbol,earningTokenDecimals:ed.decimals,sousId:eo,earningTokenPrice:ep,isBnbPool:!1,isLoading:ex,poolAddress:Z.contractAddress})]}),(0,eu.jsxs)(e2.ZP,{display:"inline",children:[(0,eu.jsxs)(no,{color:ey?"secondary":"textSubtle",textTransform:"uppercase",bold:!0,fontSize:"12px",children:[ey?ec.symbol:ef("Stake")," "]}),(0,eu.jsx)(no,{color:ey?"textSubtle":"secondary",textTransform:"uppercase",bold:!0,fontSize:"12px",children:ey?ef("Staked"):`${ec.symbol}`})]}),(0,eu.jsx)(C,{isLoading:ex,pool:Z,stakingTokenBalance:em,stakedBalance:ea,isBnbPool:!1,isStaked:ey,hideLocateAddress:es})]})})}}let nl=ed.zo.div`
2677  border-radius: ${_=>{let{theme:C}=_;return C.radii.card}};
2678  scroll-margin-top: 64px;
2679
2680  background-color: ${_=>{let{theme:C}=_;return C.card.background}};
2681  > div:not(:last-child) {
2682    border-bottom: 2px solid ${_=>{let{theme:C}=_;return C.colors.disabled}};
2683  }
2684
2685  > div:last-child {
2686    border-bottom-left-radius: ${_=>{let{theme:C}=_;return C.radii.card}};
2687    border-bottom-right-radius: ${_=>{let{theme:C}=_;return C.radii.card}};
2688  }
2689`,nu=ed.zo.div`
2690  border-radius: ${_=>{let{theme:C}=_;return C.radii.card}};
2691  background-color: ${_=>{let{theme:C}=_;return C.colors.cardBorder}};
2692  padding: 1px 1px 3px 1px;
2693  background-size: 400% 400%;
2694`,PoolsTable=_=>{let{children:C}=_,L=(0,ec.useRef)(null);return(0,eu.jsx)(nu,{children:(0,eu.jsx)(nl,{id:"pools-table",role:"table",ref:L,children:C})})},nc=(0,ed.zo)(eg.Z)`
2695  color: black;
2696  padding: 24px 8px;
2697  flex-direction: column;
2698  justify-content: flex-start;
2699`,nd=(0,ed.zo)(eg.Z)`
2700  flex-direction: column;
2701  justify-content: center;
2702  max-height: 40px;
2703  min-width: 40px;
2704  ${ew.Z} {
2705    line-height: 1;
2706  }
2707`,nh=(0,ed.zo)(nc)`
2708  flex: 4.5;
2709  ${_=>{let{theme:C}=_;return C.mediaQueries.sm}} {
2710    flex: 1 0 120px;
2711  }
2712`;function EarningsCell(_){let{pool:C,account:L}=_,{t:Z}=(0,ev.Z)(),{isMobile:ea}=(0,t7.Z)(),{earningToken:es,userData:eo,earningTokenPrice:ec}=C,ed=(null==eo?void 0:eo.pendingReward)?new el.Z(eo.pendingReward):eK.HW,eh=(0,eG.mW)(ed,es.decimals),ep=ec?ed.multipliedBy(ec):eK.HW,ef=(0,eG.mW)(ep,es.decimals),em=L&&ed.gt(0),eb=Z("%asset% Earned",{asset:es.symbol});return(0,eu.jsx)(nh,{role:"cell",children:(0,eu.jsxs)(nd,{children:[(0,eu.jsx)(ew.Z,{fontSize:"12px",color:"textSubtle",textAlign:"left",children:eb}),C||L?(0,eu.jsx)(eu.Fragment,{children:(0,eu.jsx)(eg.Z,{children:(0,eu.jsxs)(e2.ZP,{mr:"8px",height:"32px",onClick:em?_=>{_.stopPropagation()}:void 0,children:[(0,eu.jsx)(e6.Z,{mt:"4px",bold:!ea,fontSize:ea?"14px":"16px",color:em?"primary":"textDisabled",decimals:em?5:1,value:em?eh:0}),em&&ef?(0,eu.jsx)(eu.Fragment,{children:(0,eu.jsx)(e6.Z,{display:"inline",fontSize:"12px",color:"textSubtle",decimals:2,prefix:"~",value:ef,unit:" USD"})}):(0,eu.jsx)(ew.Z,{mt:"4px",fontSize:"12px",color:"textDisabled",children:"0 USD"})]})})}):(0,eu.jsx)(eH.Z,{width:"80px",height:"16px"})]})})}let np=(0,ed.zo)(nc)`
2713  flex: 5;
2714  flex-direction: row;
2715  padding-left: 12px;
2716  ${_=>{let{theme:C}=_;return C.mediaQueries.sm}} {
2717    flex: 1 0 150px;
2718    padding-left: 32px;
2719  }
2720`;function NameCell(_){let{pool:C,totalCakeInVault:L,userShares:Z,tokenPairImage:ea}=_,{t:es}=(0,ev.Z)(),{isMobile:eo}=(0,t7.Z)(),{sousId:ed,stakingToken:eh,earningToken:ep,userData:ef,isFinished:em,vaultKey:eb,totalStaked:ey}=C,eg=null==Z?void 0:Z.gt(0),ex=eh.symbol,e_=ep.symbol,eC=(null==ef?void 0:ef.stakedBalance)?new el.Z(ef.stakedBalance):eK.HW,eT=eC.gt(0),eq=`${es("Earn")} ${e_}`,ek=`${es("Stake")} ${ex}`,eS=(0,ec.useMemo)(()=>
2720C.vaultKey?L&&L.gte(0):ey&&ey.gte(0),[C.vaultKey,L,ey]);return(0,eu.jsx)(np,{role:"cell",children:eS?(0,eu.jsxs)(eu.Fragment,{children:[ea,(0,eu.jsxs)(nd,{children:[(eb?eg:eT)&&(0,eu.jsx)(ew.Z,{fontSize:"12px",bold:!0,color:em?"failure":"secondary",textTransform:"uppercase",children:es("Staked")}),(0,eu.jsx)(ew.Z,{bold:!eo,small:eo,children:eq}),(0!==ed||0===ed&&!eo)&&(0,eu.jsx)(ew.Z,{fontSize:"12px",color:"textSubtle",children:ek})]})]}):(0,eu.jsxs)(eu.Fragment,{children:[(0,eu.jsx)(eH.Z,{mr:"8px",width:36,height:36,variant:"circle"}),(0,eu.jsxs)(nd,{children:[(0,eu.jsx)(eH.Z,{width:30,height:12,mb:"4px"}),(0,eu.jsx)(eH.Z,{width:65,height:12})]})]})})}let nf=(0,ed.zo)(nc)`
2721  flex-direction: row;
2722  justify-content: flex-end;
2723  align-items: center;
2724  flex: 1;
2725  padding-right: 12px;
2726  padding-left: 0px;
2727  ${_=>{let{theme:C}=_;return C.mediaQueries.md}} {
2728    flex: 0 0 120px;
2729    padding-right: 32px;
2730    padding-left: 8px;
2731  }
2732`,nm=(0,ed.zo)(_=>(0,eu.jsx)(eX.Z,{..._}))`
2733  transform: ${_=>{let{$toggled:C}=_;return C?"rotate(180deg)":"rotate(0)"}};
2734  height: 24px;
2735`,ExpandActionCell=_=>{let{expanded:C,isFullLayout:L}=_,{t:Z}=(0,ev.Z)();return(0,eu.jsxs)(nf,{role:"cell",children:[L&&(0,eu.jsx)(ew.Z,{color:"primary",bold:!0,children:Z(C?"Hide":"Details")}),(0,eu.jsx)(nm,{color:"primary",$toggled:C})]})},nb=(0,ed.zo)(nc)`
2736  flex: 2 0 100px;
2737`;function TotalStakedCell(_){let{stakingTokenSymbol:C,totalStaked:L,stakingTokenDecimals:Z}=_,{t:ea}=(0,ev.Z)();return(0,eu.jsx)(nb,{role:"cell",children:(0,eu.jsxs)(nd,{children:[(0,eu.jsx)(ew.Z,{fontSize:"12px",color:"textSubtle",textAlign:"left",children:ea("Total staked")}),L&&L.gte(0)?(0,eu.jsx)(eg.Z,{height:"20px",alignItems:"center",children:(0,eu.jsx)(e6.Z,{fontSize:"16px",value:(0,eG.mW)(L,Z),decimals:3,unit:` ${C}`})}):(0,eu.jsx)(eH.Z,{width:"80px",height:"16px"})]})})}function AprCell(_){let{pool:C,aprComp:L}=_,{t:Z}=(0,ev.Z)(),{isMobile:ea}=(0,t7.Z)(),{userData:es}=C,eo=(null==es?void 0:es.stakedBalance)?new el.Z(es.stakedBalance):eK.HW;return(0,eu.jsx)(nc,{role:"cell",flex:["1 0 50px","1 0 50px","2 0 100px","2 0 100px","1 0 120px"],children:(0,eu.jsxs)(nd,{children:[(0,eu.jsx)(ew.Z,{fontSize:"12px",color:"textSubtle",textAlign:"left",children:Z("APR")}),(0,ec.createElement)(L,{pool:C,stakedBalance:eo,showIcon:!ea})]})})}var ny=L(57547);let EndTimeTooltipComponent=_=>{let{endTime:C}=_,{t:L,currentLanguage:{locale:Z}}=(0,ev.Z)();return(0,eu.jsxs)(eu.Fragment,{children:[(0,eu.jsxs)(ew.Z,{bold:!0,children:[L("End Time"),":"]}),(0,eu.jsx)(ew.Z,{children:new Date(1e3*C).toLocaleString(Z,{month:"short",day:"numeric",year:"numeric",hour:"numeric",minute:"2-digit",hour12:!0})})]})};function TimeCountdownDisplay(_){let{timestamp:C,getNow:L=()=>Date.now()}=_,{t:Z}=(0,ev.Z)(),ea=L()/1e3,es=Math.abs(C-ea),eo=(0,ec.useMemo)(()=>(0,ny.ZP)(es),[es]),{targetRef:el,tooltip:ed,tooltipVisible:eh}=(0,eC.Z)((0,eu.jsx)(EndTimeTooltipComponent,{endTime:C}),{placement:"top"});return(0,eu.jsxs)(eg.Z,{alignItems:"center",children:[(0,eu.jsx)(ew.Z,{color:"textSubtle",small:!0,children:es>0?(null==eo?void 0:eo.totalDays)?(null==eo?void 0:eo.totalDays)===1?Z("1 day"):Z("
2737%days% days",{days:null==eo?void 0:eo.totalDays}):Z("< 1 day"):Z("%days% days",{days:0})}),(0,eu.jsxs)("span",{ref:el,children:[(0,eu.jsx)(eD.Z,{ml:"4px",color:"primary"}),eh&&ed]})]})}function EndsInCell(_){let{pool:C,getNow:L}=_,{t:Z}=(0,ev.Z)(),{endTimestamp:ea=0,isFinished:es}=C,eo=es||!ea?(0,eu.jsx)(ew.Z,{children:"-"}):(0,eu.jsx)(TimeCountdownDisplay,{timestamp:ea,getNow:L});return(0,eu.jsx)(nc,{role:"cell",flex:["1 0 50px","1 0 50px","2 0 100px","2 0 100px","1 0 120px"],children:(0,eu.jsxs)(nd,{children:[(0,eu.jsx)(ew.Z,{fontSize:"12px",color:"textSubtle",textAlign:"left",children:Z("Ends in")}),eo]})})}let ng=ed.zo.div`
2738  background-color: transparent;
2739  display: flex;
2740  cursor: pointer;
2741`,nv=(0,ec.memo)(_=>{let{children:C,panel:L,initialActivity:Z=!1}=_,ea=(0,ec.useRef)(!1),{isTablet:es,isDesktop:eo}=(0,t7.Z)(),[el,ed]=(0,ec.useState)(Z),eh=(0,tA.tr)(el,300),ep=(0,ec.useCallback)(()=>{ed(_=>!_)},[]);return(0,ec.useEffect)(()=>{Z&&!1===ea.current&&(ed(Z),ea.current=!0)},[Z]),(0,eu.jsxs)(eu.Fragment,{children:[(0,eu.jsxs)(ng,{role:"row",onClick:ep,children:[C,(0,eu.jsx)(ExpandActionCell,{expanded:el,isFullLayout:es||eo})]}),eh&&L]})}),StatWrapper=_=>{let{children:C,label:L}=_;return(0,eu.jsxs)(eg.Z,{mb:"2px",justifyContent:"space-between",alignItems:"center",width:"100%",children:[L,(0,eu.jsx)(eg.Z,{alignItems:"center",children:C})]})},TotalToken=_=>{let{total:C,tokenDecimals:L,decimalsToShow:Z,symbol:ea}=_;return C&&C.gte(0)?(0,eu.jsx)(e6.Z,{small:!0,value:(0,eG.mW)(C,L),decimals:Z,unit:` ${ea}`}):(0,eu.jsx)(eH.Z,{width:"90px",height:"21px"})},TotalStaked=_=>{let{totalStaked:C,tokenDecimals:L,decimalsToShow:Z,symbol:ea}=_,{t:es}=(0,ev.Z)(),{targetRef:eo,tooltip:el,tooltipVisible:ec}=(0,eC.Z)(es("Total amount of %symbol% staked in this pool",{symbol:ea}),{placement:"bottom"});return(0,eu.jsxs)(StatWrapper,{label:(0,eu.jsxs)(eT.Z,{ref:eo,small:!0,children:[es("Total staked"),":"]}),children:[ec&&el,(0,eu.jsx)(TotalToken,{total:C,tokenDecimals:L,decimalsToShow:Z,symbol:ea})]})};var nx=L(5719),n_=L(96657),nw=L(86026),nC=L(65726);let nT=(0,ed.zo)(nx.p)`
2742  border-bottom: 1px solid ${_=>{let{theme:C}=_;return C.colors.cardBorder}};
2743`,nq=(0,ed.zo)(t4.Z)`
2744  border-radius: 24px;
2745  max-width: 436px;
2746  width: 100%;
2747  z-index: 1;
2748`,LiquidityCard=_=>{let{children:C,...L}=_;return(0,eu.jsx)(eu.Fragment,{children:(0,eu.jsx)(nx.p,{width:"100%",display:"flex",flexDirection:"column",alignItems:"center",...L,children:(0,eu.jsx)(nq,{children:C})})})},nk=(0,ed.zo)(t3.Z)`
2749  background-color: ${_=>{let{theme:C}=_;return C.colors.dropdownDeep}};
2750`;function FindOtherLP(_){let{children:C}=_,{t:L}=(0,ev.Z)();return(0,eu.jsxs)(nx.p,{display:"flex",flexDirection:"column",alignItems:"center",mt:"24px",children:[(0,eu.jsx)(ew.Z,{color:"textSubtle",mb:"8px",children:L("Don't see a pair you joined?")}),(0,eu.jsx)(ef(),{href:"/find",passHref:!0,children:(0,eu.jsx)(e3.Z,{id:"import-pool-link",variant:"secondary",scale:"sm",children:L("Find other LP tokens")})}),C]})}LiquidityCard.ListBody=nk,LiquidityCard.Header=_=>{let{title:C,subtitle:L,helper:Z,backTo:ea,config:es}=_;return(0,eu.jsx)(nT,{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"24px",width:"100%",children:(0,eu.jsxs)(nx.p,{display:"flex",alignItems:"center",width:"100%",style:{gap:"16px"},children:[ea&&("string"==typeof ea?(0,eu.jsx)(ef(),{passHref:!0,href:ea,children:(0,eu.jsx)(e8.Z,{scale:"sm",children:(0,eu.jsx)(nw.Z,{width:"32px"})})}):(0,eu.jsx)(e8.Z,{scale:"sm",variant:"text",onClick:ea,children:(0,eu.jsx)(nw.Z,{width:"32px"})})),(0,eu.jsxs)(nx.p,{display:"flex",flexDirection:"column",width:"100%",children:[(0,eu.jsxs)(nx.p,{display:"flex",mb:"8px",alignItems:"center",justifyContent:"space-between",children:[(0,eu.jsxs)(nx.p,{display:"flex",children:[(0,eu.jsx)(e5.Z,{as:"h2",children:C}),Z&&(0,eu.jsx)(nC.s,{text:Z,ml:"4px",placement:"top"})]}),es]}),(0,eu.jsx)(nx.p,{display:"flex",alignItems:"center",children:(0,eu.jsx)(ew.Z,{color:"textSubtle",fontSize:"14px",children:L})})]})]})})},LiquidityCard.Footer=n_.Z;var nS=L(53970);function confirmPriceImpactWithoutFee(_,C,L,Z){if(!_.lessThan(C)){let _="confirm";return window.prompt(Z('This swap has a price impact of at least %amount%%. Please type the word "%word%" to continue with this swap.',{amount:C.toFixed(0),word:_}))===_}return!!_.lessThan(L)||window.confirm(Z("This swap has a price impact of at least %amount%%. Please confirm that you would like to continue with this swap.",{amount:L.toFixed(0)}))}var nE=L(84277),nM=L(19043);let ExpertModal=_=>{let{setShowConfirmExpertModal:C,setShowExpertModeAcknowledgement:L,toggleExpertMode:Z}=_,[ea,es]=(0,ec.useState)(!1),{t:eo}=(0,ev.Z)();return(0,eu.jsxs)(tf.ZP,{title:eo("Expert Mode"),onBack:()=>C(!1),onDismiss:()=>
2750C(!1),headerBackground:"gradientCardHeader",width:["100%","100%","100%","436px"],children:[(0,eu.jsx)(nE.Z,{variant:"warning",mb:"24px",children:(0,eu.jsx)(ew.Z,{children:eo("Expert mode turns off the 'Confirm' transaction prompt, and allows high slippage trades that often result in bad rates and lost funds.")})}),(0,eu.jsx)(ew.Z,{mb:"24px",children:eo("Only use this mode if you know what you’re doing.")}),(0,eu.jsxs)(eg.Z,{alignItems:"center",mb:"24px",children:[(0,eu.jsx)(nM.Z,{name:"confirmed",type:"checkbox",checked:ea,onChange:()=>es(!ea),scale:"sm"}),(0,eu.jsx)(ew.Z,{ml:"10px",color:"textSubtle",style:{userSelect:"none"},children:eo("Don’t show this again")})]}),(0,eu.jsxs)(eg.Z,{flexDirection:"column",children:[(0,eu.jsx)(e3.Z,{mb:"8px",id:"confirm-expert-mode",onClick:()=>{"confirm"===window.prompt('Please type the word "confirm" to enable expert mode.')&&(Z(),C(!1),ea&&L(!1))},children:eo("Turn On Expert Mode")}),(0,eu.jsx)(e3.Z,{variant:"secondary",onClick:()=>{C(!1)},children:eo("Cancel")})]})]})};var nj=L(49520),nA=L(67827);let nD=(0,ed.zo)(nA.Z)`
2751  width: ${_=>{let{size:C}=_;return C}};
2752  height: ${_=>{let{size:C}=_;return C}};
2753`;function ListLogo(_){let{logoURI:C,style:L,size:Z="24px",alt:ea}=_,es=(0,tA.ai)(C);return(0,eu.jsx)(nD,{alt:ea,size:Z,srcs:es,style:L})}let nI=ed.zo.div`
2754  position: relative;
2755  width: 100%;
2756`,nO=ed.zo.div`
2757  height: 3px;
2758  width: 3px;
2759  background-color: ${_=>{let{theme:C}=_;return C.colors.text}};
2760  border-radius: 50%;
2761`,nP=(0,ed.zo)(e2.ZP)`
2762  width: ${_=>{let{width:C}=_;return null!=C?C:"100%"}};
2763  padding: ${_=>{let{padding:C}=_;return null!=C?C:"1.25rem"}};
2764  border: ${_=>{let{border:C}=_;return C}};
2765  border-radius: ${_=>{let{borderRadius:C}=_;return null!=C?C:"16px"}};
2766  background-color: ${_=>{let{theme:C}=_;return C.colors.background}};
2767`;function ImportList(_){let{listURL:C,listLogoURI:L,listName:Z,listTokenLength:ea,onAddList:es,addError:eo}=_,{theme:el}=(0,tA.Fg)(),{t:ed}=(0,ev.Z)(),[eh,ep]=(0,ec.useState)(!1);return(0,eu.jsx)(nI,{children:(0,eu.jsx)(nj.Tz,{gap:"md",children:(0,eu.jsxs)(nj.Tz,{gap:"md",children:[(0,eu.jsx)(nP,{width:"370px",padding:"12px 20px",children:(0,eu.jsx)(e0.m0,{children:(0,eu.jsxs)(e0.DA,{flexWrap:"nowrap",children:[L&&(0,eu.jsx)(ListLogo,{logoURI:L,size:"40px"}),(0,eu.jsxs)(nj.Tz,{gap:"sm",style:{marginLeft:"20px"},children:[(0,eu.jsxs)(e0.DA,{children:[(0,eu.jsx)(ew.Z,{bold:!0,mr:"6px",children:Z}),(0,eu.jsx)(nO,{}),(0,eu.jsxs)(ew.Z,{small:!0,color:"textSubtle",ml:"6px",children:[ea," tokens"]})]}),(0,eu.jsx)(tg.Z,{style:{width:"100%",overflowX:"scroll"},small:!0,external:!0,ellipsis:!0,href:`https://tokenlists.org/token-list?url=${C}`,children:C})]})]})})}),(0,eu.jsx)(nE.Z,{variant:"danger",children:(0,eu.jsxs)(eg.Z,{flexDirection:"column",children:[(0,eu.jsx)(ew.Z,{fontSize:"20px",textAlign:"center",color:el.colors.failure,mb:"16px",children:ed("Import at your own risk")}),(0,eu.jsx)(ew.Z,{color:el.colors.failure,mb:"8px",children:ed("By adding this list you are implicitly trusting that the data is correct. Anyone can create a list, including creating fake versions of existing lists and lists that claim to represent projects that do not have one.")}),(0,eu.jsx)(ew.Z,{bold:!0,color:el.colors.failure,mb:"16px",children:ed("If you purchase a token from this list, you may not be able to sell it back.")}),(0,eu.jsxs)(eg.Z,{alignItems:"center",children:[(0,eu.jsx)(nM.Z,{name:"confirmed",type:"checkbox",checked:eh,onChange:()=>ep(!eh),scale:"sm"}),(0,eu.jsx)(ew.Z,{ml:"10px",style:{userSelect:"none"},children:ed("I understand")})]})]})}),(0,eu.jsx)(e3.Z,{disabled:!eh,onClick:es,children:ed("Import")}),eo?(0,eu.jsx)(ew.Z,{color:"failure",style:{textOverflow:"ellipsis",overflow:"hidden"},children:eo}):null]})})})}var nN=L(14364);ed.zo.div`
2768  background-color: ${_=>{let{theme:C}=_;return`${C.colors.failure33}`}};
2769  border-radius: 1rem;
2770  display: flex;
2771  align-items: center;
2772  font-size: 0.825rem;
2773  width: 100%;
2774  padding: 3rem 1.25rem 1rem 1rem;
2775  margin-top: -2rem;
2776  color: ${_=>{let{theme:C}=_;return C.colors.failure}};
2777  z-index: -1;
2778  p {
2779    padding: 0;
2780    margin: 0;
2781    font-weight: 500;
2782  }
2783`,ed.zo.div`
2784  background-color: ${_=>{let{theme:C}=_;return`${C.colors.failure33}`}};
2785  display: flex;
2786  align-items: center;
2787  justify-content: center;
2788  margin-right: 12px;
2789  border-radius: 12px;
2790  min-width: 48px;
2791  height: 48px;
2792`;var nL=L(67652),nR=L(42687),nB=L(70983);function CurrencyInputPanel(_){let{value:C,onUserInput:L,onInputBlur:Z,top:ea,bottom:es,id:eo,disabled:el,error:ec,loading:ed,showBridgeWarning:eh}=_;return(0,eu.jsxs)(nx.p,{position:"relative",id:eo,display:"grid",gap:"4px",children:[(0,eu.jsx)(nx.p,{display:"flex",alignItems:"center",justifyContent:"space-between",children:ea}),(0,eu.jsxs)(nx.p,{display:"flex",flexDirection:"column",flexWrap:"nowrap",position:"relative",backgroundColor:"backgroundAlt",zIndex:"1",children:[(0,eu.jsxs)(nx.p,{as:"label",className:nB.inputContainerVariants({showBridgeWarning:!!eh,error:!!ec}),children:[(0,eu.jsx)(nx.p,{display:"flex",flexDirection:"row",flexWrap:"nowrap",color:"text",fontSize:"12px",lineHeight:"16px",px:"16px",pt:"12px",children:(0,eu.jsx)(nN.$,{error:!!ec,disabled:el,loading:ed,className:"token-amount-input",value:C,onBlur:Z,onUserInput:_=>{L(_)}})}),es]}),ec?(0,eu.jsx)(ew.Z,{pb:"8px",fontSize:"12px",color:"red",children:ec}):null,el&&(0,eu.jsx)(nx.p,{role:"presentation",position:"absolute",inset:"0px",backgroundColor:"backgroundAlt",opacity:"0.6"})]})]})}let nF=(0,ec.memo)(_=>{let{title:C,subtitle:L}=_;return(0,eu.jsxs)(nx.p,{width:"100%",alignItems:"center",flexDirection:"column",padding:"24px",borderBottom:"1",children:[(0,eu.jsx)(nx.p,{display:"flex",width:"100%",alignItems:"center",justifyContent:"space-between",children:C}),L]})}),nZ=(0,ec.memo)(_=>{let{children:C}=_;return(0,eu.jsx)(e5.Z,{as:"h2",children:C})}),nz=(0,ec.memo)(_=>{let{children:C}=_;return(0,eu.jsx)(ew.Z,{color:"textSubtle",fontSize:"14px",textAlign:"center",children:C})});var nU=L(38269);let n$=ed.zo.div`
2793  width: 100%;
2794  height: ${_=>{let{$isSide:C}=_;return C?"100%":"auto"}};
2795  display: flex;
2796  flex-direction: column;
2797  flex-wrap: wrap;
2798  align-items: center;
2799  padding-top: 16px;
2800  padding-right: ${_=>{let{$isSide:C}=_;return C?"32px":"0px"}};
2801  ${_=>{let{theme:C}=_;return C.mediaQueries.md}} {
2802    justify-content: space-between;
2803    flex-direction: ${_=>{let{$isSide:C}=_;return C?"column":"row"}};
2804  }
2805`,nV=(0,ed.zo)(eg.Z)`
2806  svg {
2807    fill: ${_=>{let{theme:C}=_;return C.colors.textSubtle}};
2808    transition: background-color 0.2s, opacity 0.2s;
2809  }
2810  &:hover {
2811    svg {
2812      opacity: 0.65;
2813    }
2814  }
2815  &:active {
2816    svg {
2817      opacity: 0.85;
2818    }
2819  }
2820`,nW=(0,ec.memo)(_=>{let{variant:C="default",helpUrl:L,externalText:Z,externalLinkUrl:ea,helpImage:es=(0,eu.jsx)(tx.Z,{src:"https://cdn.pancakeswap.com/help/help.png",alt:"Get some help",width:160,height:108})}=_,{t:eo}=(0,ev.Z)(),el="side"===C;return(0,eu.jsxs)(n$,{$isSide:el,children:[Z&&ea&&(0,eu.jsx)(eg.Z,{flexDirection:el?"column":["column","column","row"],alignItems:"center",children:(0,eu.jsx)(eV.Z,{id:"ercBridge",href:ea,ml:[0,0,"40px"],mt:["20px","20px",el?"20px":0],mb:["8px","8px",0],children:Z})}),el&&(0,eu.jsx)(eg.Z,{flexGrow:1}),L&&(0,eu.jsxs)(eg.Z,{flexGrow:el?0:1,alignItems:"center",width:["100%","100%","100%",el?"100%":"auto"],justifyContent:["center","center","center","flex-end"],children:[(0,eu.jsxs)(nV,{children:[(0,eu.jsx)(e3.Z,{id:"clickExchangeHelp",as:"a",external:!0,href:L,variant:"subtle",children:eo("Need help ?")}),(0,eu.jsx)(nU.Z,{viewBox:"0 0 16 16",children:(0,eu.jsx)("path",{d:"M0 16V0C0 0 3 1 6 1C9 1 16 -2 16 3.5C16 10.5 7.5 16 0 16Z"})})]}),es]})]})}),SwapPage=_=>{let{removePadding:C,noMinHeight:L,children:Z,hideFooterOnDesktop:ea,helpUrl:es,helpImage:eo,externalText:el,externalLinkUrl:ec,...ed}=_;
2820return(0,eu.jsxs)(nx.p,{className:nB.pageVariants({removePadding:C,noMinHeight:L}),...ed,children:[Z,(0,eu.jsx)(nx.p,{display:"flex",flexGrow:1}),(0,eu.jsx)(nx.p,{display:["block",null,null,ea?"none":"block"],width:"100%",children:(0,eu.jsx)(nW,{externalText:el,externalLinkUrl:ec,helpUrl:es,helpImage:eo})})]})};var nH=L(17582);let SwapInfoLabel=_=>(0,eu.jsx)(ew.Z,{fontSize:"12px",bold:!0,color:"secondary",..._}),SwapInfo=_=>{let{allowedSlippage:C,price:L,onSlippageClick:Z,allowedSlippageSlot:ea}=_,{t:es}=(0,ev.Z)(),eo=(0,tA.tm)();return(0,eu.jsxs)(nj.Tz,{gap:"sm",py:"0px",px:"16px",children:[(0,eu.jsx)(e0.m0,{alignItems:"center",children:L}),"number"==typeof C&&(0,eu.jsxs)(e0.m0,{alignItems:"center",children:[(0,eu.jsxs)(SwapInfoLabel,{children:[es("Slippage Tolerance"),Z?(0,eu.jsx)(e8.Z,{scale:"sm",variant:"text",onClick:Z,children:(0,eu.jsx)(nH.Z,{color:"secondary",width:"10px"})}):null]}),eo&&(null!=ea?ea:(0,eu.jsxs)(ew.Z,{bold:!0,color:"secondary",children:[C/100,"%"]}))]})]})};var nG=L(56798),nK=L(85894),nX=L(52942);function TradePrice(_){var C,L,Z,ea;let{price:es,loading:eo}=_,[el,ed]=(0,ec.useState)(!1),eh=el?(0,nG.T4)(es,6):(0,nG.T4)(null==es?void 0:es.invert(),6),ep=!!((null==es?void 0:es.baseCurrency)&&(null==es?void 0:es.quoteCurrency));return(0,eu.jsx)(ew.Z,{fontSize:"14px",style:{justifyContent:"center",alignItems:"center",display:"flex",opacity:eo?.6:1},children:ep?(0,eu.jsxs)(eu.Fragment,{children:[`1 ${el?null==es?void 0:null===(C=es.baseCurrency)||void 0===C?void 0:C.symbol:null==es?void 0:null===(L=es.quoteCurrency)||void 0===L?void 0:L.symbol}`,(0,eu.jsx)(nK.Z,{width:"14px",height:"14px",color:"textSubtle",ml:"4px",mr:"4px"}),`${eh} ${el?null==es?void 0:null===(Z=es.quoteCurrency)||void 0===Z?void 0:Z.symbol:null==es?void 0:null===(ea=es.baseCurrency)||void 0===ea?void 0:ea.symbol}`,eo?(0,eu.jsx)(nx.p,{className:nB.iconButtonClass,children:(0,eu.jsx)(nX.Z,{width:"12px",height:"12px"})}):(0,eu.jsx)(nx.p,{role:"button",className:nB.iconButtonClass,onClick:()=>ed(!el),children:(0,eu.jsx)(eM.Z,{width:"14px"})})]}):"-"})}let nY=(0,ed.zo)(e8.Z)`
2821  box-shadow: inset 0px -2px 0px rgba(0, 0, 0, 0.1);
2822  .icon-up-down {
2823    display: none;
2824  }
2825  &:hover {
2826    background-color: ${_=>{let{theme:C}=_;return C.colors.primary}};
2827    .icon-down {
2828      display: none;
2829      fill: white;
2830    }
2831    .icon-up-down {
2832      display: block;
2833      fill: white;
2834    }
2835  }
2836`,SwitchButton=_=>(0,eu.jsxs)(nY,{variant:"light",scale:"sm",..._,children:[(0,eu.jsx)(nL.Z,{className:"icon-down",color:"white"}),(0,eu.jsx)(nR.Z,{className:"icon-up-down",color:"white"})]});var nQ=L(4040);let nJ=ed.zo.div`
2837  width: 100%;
2838`;function TransactionErrorContent(_){let{message:C,onDismiss:L}=_,{t:Z}=(0,ev.Z)();return(0,eu.jsxs)(nJ,{children:[(0,eu.jsxs)(nj.Tz,{justify:"center",children:[(0,eu.jsx)(nQ.Z,{color:"failure",width:"64px"}),(0,eu.jsx)(ew.Z,{color:"failure",style:{textAlign:"center",width:"85%",wordBreak:"break-word"},children:C})]}),L?(0,eu.jsx)(eg.Z,{justifyContent:"center",pt:"24px",children:(0,eu.jsx)(e3.Z,{onClick:L,children:Z("Dismiss")})}):null]})}let n1=ed.zo.div`
2839  width: 100%;
2840`;function ConfirmationModalContent(_){let{bottomContent:C,topContent:L}=_;return(0,eu.jsxs)(n1,{children:[(0,eu.jsx)(e2.ZP,{children:L()}),(0,eu.jsx)(e2.ZP,{children:C()})]})}var n0=L(31326);let n2=ed.zo.div`
2841  width: 100%;
2842`,n5=(0,ed.zo)(nj.lg)`
2843  padding: 24px 0;
2844`;function ConfirmationPendingContent(_){let{pendingText:C}=_,{t:L}=(0,ev.Z)();return(0,eu.jsxs)(n2,{children:[(0,eu.jsx)(n5,{children:(0,eu.jsx)(n0.Z,{})}),(0,eu.jsxs)(nj.Tz,{gap:"12px",justify:"center",children:[C?(0,eu.jsxs)(eu.Fragment,{children:[(0,eu.jsx)(ew.Z,{fontSize:"20px",children:L("Waiting For Confirmation")}),(0,eu.jsx)(nj.Tz,{gap:"12px",justify:"center",children:(0,eu.jsx)(ew.Z,{bold:!0,small:!0,textAlign:"center",children:C})})]}):null,(0,eu.jsx)(ew.Z,{small:!0,color:"textSubtle",textAlign:"center",children:L("Confirm this transaction in your wallet")})]})]})}let n6=ed.zo.div`
2845  padding: 4px 20px;
2846  height: 56px;
2847  display: grid;
2848  grid-template-columns: auto minmax(auto, 1fr) auto;
2849  grid-gap: 10px;
2850  align-items: center;
2851
2852  opacity: ${_=>{let{dim:C}=_;return C?"0.4":"1"}};
2853
2854  ${_=>{let{theme:C}=_;return C.mediaQueries.md}} {
2855    grid-gap: 16px;
2856  }
2857`,n3=(0,ed.zo)(eg.Z)`
2858  white-space: nowrap;
2859  overflow: hidden;
2860  align-items: center;
2861  text-overflow: ellipsis;
2862  max-width: 210px;
2863  gap: 8px;
2864`;function withCurrencyLogo(_){return C=>{let{token:L,style:Z,dim:ea,onCurrencySelect:es,list:eo,isActive:el,children:ec}=C,{t:ed}=(0,ev.Z)(),{isMobile:eh}=(0,t7.Z)();return(0,eu.jsxs)(n6,{style:Z,variant:"text",as:el&&es?e3.Z:"a",onClick:()=>{el&&(null==es||es(L))},children:[(0,eu.jsx)(_,{currency:L,size:eh?"20px":"24px",style:{opacity:ea?"0.6":"1"}}),(0,eu.jsxs)(nj.Tz,{gap:"4px",style:{opacity:ea?"0.6":"1"},children:[(0,eu.jsx)(e0.BA,{children:(0,eu.jsxs)(n3,{title:L.name,children:[L.symbol,(0,eu.jsx)(ew.Z,{ellipsis:!0,color:"textDisabled",fontSize:"12px",children:L.name})]})}),eo&&eo.logoURI&&(0,eu.jsxs)(e0.DA,{children:[(0,eu.jsxs)(ew.Z,{fontSize:eh?"10px":"14px",mr:"4px",color:"textSubtle",children:[ed("via")," ",eo.name]}),(0,eu.jsx)(ListLogo,{logoURI:eo.logoURI,size:"12px"})]})]}),ec]})}}let n4=(0,ed.zo)(eA.Z)`
2865  height: 16px;
2866  width: 16px;
2867  margin-right: 6px;
2868  stroke: ${_=>{let{theme:C}=_;return C.colors.success}};
2869`;function TokenRowButton(_){let{token:C,isActive:L,isAdded:Z,setImportToken:ea,showImportView:es}=_,{t:eo}=(0,ev.Z)(),{isMobile:el}=(0,t7.Z)();return L||Z?(0,eu.jsxs)(e0.DA,{style:{minWidth:"fit-content"},children:[(0,eu.jsx)(n4,{}),(0,eu.jsx)(ew.Z,{color:"success",children:"Active"})]}):(0,eu.jsx)(e3.Z,{scale:el?"sm":"md",width:"fit-content",onClick:()=>{ea&&ea(C),es()},children:eo("Import")})}let ApproveModalContent=_=>{let{title:C,isMM:L,isBonus:Z}=_,{t:ea}=(0,ev.Z)(),{targetRef:es,tooltip:eo,tooltipVisible:el}=(0,eC.Z)((0,eu.jsx)(ew.Z,{children:ea("Pancakeswap AMM includes V3, V2 and stable swap.")}),{placement:"top"});return(0,eu.jsxs)(e2.ZP,{width:"100%",children:[(0,eu.jsx)(e2.ZP,{mb:"16px",children:(0,eu.jsx)(nj.lg,{children:(0,eu.jsx)(n0.Z,{})})}),(0,eu.jsxs)(nj.Tz,{gap:"12px",justify:"center",children:[(0,eu.jsx)(ew.Z,{bold:!0,textAlign:"center",children:C}),(0,eu.jsxs)(eg.Z,{children:[(0,eu.jsx)(ew.Z,{fontSize:"14px",children:ea("Swapping thru:")}),L?(0,eu.jsx)(ew.Z,{ml:"4px",fontSize:"14px",children:ea("Pancakeswap MM")}):Z?(0,eu.jsx)(ew.Z,{ml:"4px",fontSize:"14px",children:ea("Bonus Route")}):(0,eu.jsxs)(eu.Fragment,{children:[(0,eu.jsx)(eT.Z,{ml:"4px",fontSize:"14px",color:"textSubtle",ref:es,children:ea("Pancakeswap AMM")}),el&&eo]})]})]})]})};var n8=L(38946),n9=L(78846),n7=L(88088),swap_TokenTransferInfo=_=>{let{symbolA:C,symbolB:L,amountA:Z,amountB:ea,currencyA:es,currencyB:eo}=_;return(0,eu.jsxs)(eg.Z,{children:[(0,eu.jsxs)(eg.Z,{children:[(0,eu.jsx)(ew.Z,{mr:"4px",fontSize:"14px",children:`${Z} ${C}`}),(0,eu.jsx)(n7.Xw,{size:"20px",currency:es})]}),(0,eu.jsx)(e2.ZP,{m:"0 8px",children:(0,eu.jsx)(n9.Z,{color:"textSubtle"})}),(0,eu.jsxs)(eg.Z,{children:[(0,eu.jsx)(ew.Z,{mr:"4px",fontSize:"14px",children:`${ea} ${L}`}),(0,eu.jsx)(n7.Xw,{size:"20px",currency:eo})]})]})};let SwapPendingModalContent=_=>{let{title:C,showIcon:L,currencyA:Z,currencyB:ea,amountA:es,amountB:eo,children:el}=_,ec=null==Z?void 0:Z.symbol,ed=null==ea?void 0:ea.symbol;return(0,eu.jsxs)(e2.ZP,{width:"100%",children:[L?(0,eu.jsx)(e2.ZP,{margin:"auto auto 36px auto",width:"fit-content",children:(0,eu.jsx)(n8.Z,{color:"success",width:80,height:80})}):(0,eu.jsx)(e2.ZP,{mb:"16px",children:(0,eu.jsx)(nj.lg,{children:(0,eu.jsx)(n0.Z,{})})}),(0,eu.jsxs)(nj.Tz,{gap:"12px",justify:"center",children:[(0,eu.jsx)(ew.Z,{bold:!0,textAlign:"center",children:C}),(0,eu.jsx)(swap_TokenTransferInfo,{symbolA:ec,symbolB:ed,amountA:es,amountB:eo,currencyA:Z,currencyB:ea}),el]})]})},SwapTransactionReceiptModalContent=_=>{let{children:C}=_,{t:L}=(0,ev.Z)();return(0,eu.jsxs)(e2.ZP,{width:"100%",children:[(0,eu.jsx)(e2.ZP,{margin:"auto auto 36px auto",width:"fit-content",children:(0,eu.jsx)(eA.Z,{color:"success",width:80,height:80})}),(0,eu.jsxs)(nj.Tz,{gap:"12px",justify:"center",children:[(0,eu.jsx)(ew.Z,{bold:!0,textAlign:"center",children:L("Transaction receipt")}),C]})]})};var ir=L(66327)},49017:function(_,C,L){"use strict";L.d(C,{_E:function(){return RoiCalculatorModal_RoiCalculatorModal},SD:function(){return useAmountsByUsdValue},_m:function(){return useRoi}});var Z=L(97458),ea=L(47739),es=L(17577),eo=L(82577),el=L(52983),eu=L(97269),ec=L(86530),ed=L(56798),eh=L(44610),ep=L(84277),ef=L(94151),em=L(42933),eb=L(16169),ey=L(30233),eg=L(47287),ev=L(23690);function Section(_){let{title:C,children:L,...ea}=_;return(0,Z.jsxs)(eg.ZP,{mb:"24px",width:"100%",...ea,children:[(0,Z.jsx)(ev.Z,{color:"secondary",bold:!0,fontSize:"12px",textTransform:"uppercase",mb:"16px",children:C}),L]})}var ex=L(62656),e_=L(53071),ew=L(65726),eC=L(64619),eT=L(36614),eq=L(77203),ek=L(88088);let eS=(0,el.memo)(function(_){let{value:C,max:L,onChange:ea,amountA:es,amountB:eo,currencyA:el,currencyB:eu,maxLabel:ec}=_;return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(eg.ZP,{mb:"1em",children:(0,Z.jsx)(ej,{value:C,max:L,onChange:ea,maxLabel:ec})}),(0,Z.jsx)(eD,{amountA:es,amountB:eo,currencyA:el,currencyB:eu})]})}),eE=(0,ex.zo)(e_.Z)`
2870  padding: 0 16px;
2871`,eM=(0,ex.zo)(em.Z)`
2872  width: 100%;
2873  text-transform: uppercase;
2874`,ej=(0,el.memo)(function(_){let{value:C="",max:L="",onChange:ea=()=>{},maxLabel:es}=_,{t:eu}=(0,eo.Z)(),ec=(0,el.useCallback)(()=>ea(L),[L,ea]);return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(eg.ZP,{mb:"0.5em",width:"100%",children:(0,Z.jsx)(eE,{value:C,onUserInput:ea,unit:(0,Z.jsx)(ev.Z,{color:"textSubtle",children:eu("USD")})})}),(0,Z.jsxs)(eb.Z,{children:[(0,Z.jsx)(eb.Z,{flex:"3",mr:"0.25em",children:(0,Z.jsx)(eM,{variant:"100"===C?"primary":"tertiary",scale:"xs",onClick:()=>ea("100"),children:"$100"})}),(0,Z.jsx)(eb.Z,{flex:"3",mr:"0.25em",children:(0,Z.jsx)(eM,{variant:"1000"===C?"primary":"tertiary",scale:"xs",onClick:()=>ea("1000"),children:"$1,000"})}),(0,Z.jsxs)(eb.Z,{flex:"4",children:[(0,Z.jsx)(eM,{variant:C===L?"primary":"tertiary",scale:"xs",mr:"0.25em",onClick:ec,children:es||eu("Max")}),(0,Z.jsx)(ew.s,{text:eu("Automatically fill in the maximum token amount according to your balance and position settings."),placement:"top"})]})]})]})}),eA=(0,el.memo)(function(_){let{amount:C,currency:L}=_;return L?(0,Z.jsxs)(eC.m0,{children:[(0,Z.jsxs)(eb.Z,{children:[(0,Z.jsx)(ek.Xw,{currency:L}),(0,Z.jsx)(ev.Z,{color:"textSubtle",ml:"0.25em",children:L.symbol})]}),(0,Z.jsx)(ev.Z,{children:(null==C?void 0:C.toExact())||"0"})]}):null}),eD=(0,el.memo)(function(_){let{amountA:C,amountB:L,currencyA:ea,currencyB:es}=_;return ea||es?(0,Z.jsx)(eT.Z,{children:(0,Z.jsxs)(eq.Z,{children:[(0,Z.jsx)(eg.ZP,{mb:"0.5em",children:(0,Z.jsx)(eA,{amount:C,currency:ea})}),(0,Z.jsx)(eA,{amount:L,currency:es})]})}):null});var eI=L(71363),eO=L(53970),eP=L(49520),eN=L(17778),eL=L(38121),eR=L(38044),eB=L(14364);let eF=(0,ex.zo)(eg.ZP)`
2875  width: ${_=>{let{width:C}=_;return null!=C?C:"100%"}};
2876  padding: ${_=>{let{padding:C}=_;return null!=C?C:"1.25rem"}};
2877  border: ${_=>{let{border:C}=_;return C}};
2878  border-radius: ${_=>{let{borderRadius:C}=_;return null!=C?C:"16px"}};
2879  background-color: ${_=>{let{theme:C}=_;return C.colors.background}};
2880`,eZ=(0,ex.zo)(eF)`
2881  border: 1px solid ${_=>{let{theme:C}=_;return C.colors.cardBorder}};
2882  background-color: ${_=>{let{theme:C}=_;return C.colors.background}};
2883`,ez=(0,el.memo)(_=>{let{value:C,decrement:L,increment:ea,decrementDisabled:es=!1,incrementDisabled:eu=!1,locked:ec,onUserInput:ed,title:eh,tokenA:ep,tokenB:ef}=_,{t:em}=(0,eo.Z)(),[,eb]=(0,el.useState)(!1),[ey,eg]=(0,el.useState)(""),[ev,ex]=(0,el.useState)(!1),e_=(0,el.useCallback)(()=>{ex(!1),eb(!1),ed(ey)},[ey,ed]),ew=(0,el.useCallback)(()=>{ex(!1),ed(L())},[L,ed]),eT=(0,el.useCallback)(()=>{ex(!1),ed(ea())},[ea,ed]);return(0,el.useEffect)(()=>{ey===C||ev||setTimeout(()=>{eg(C)},0)},[ey,ev,C]),(0,Z.jsx)(eZ,{padding:"0",children:(0,Z.jsxs)(eP.Tz,{py:"16px",textAlign:"center",gap:"8px",width:"100%",onFocus:()=>{ex(!0),eb(!0)},onBlur:e_,children:[eh,(0,Z.jsxs)(eC.BA,{children:[!ec&&(0,Z.jsx)(eN.Z,{onClick:ew,disabled:es,scale:"xs",variant:"text",style:{width:20,padding:16},children:(0,Z.jsx)(eL.Z,{color:"primary",width:20,height:20})}),(0,Z.jsx)(eB.$,{value:ey,fontSize:"20px",align:"center",disabled:ec,onUserInput:_=>{eg(_)}}),!ec&&(0,Z.jsx)(eN.Z,{px:"16px",onClick:eT,disabled:eu,scale:"xs",variant:"text",style:{width:20,padding:16},children:(0,Z.jsx)(eR.Z,{color:"primary",width:20,height:20})})]}),ep&&ef&&em("%assetA% per %assetB%",{assetA:ef,assetB:ep})]})})}),eU=(0,el.memo)(function(_){var C,L,ea,es;let{priceLower:el,priceUpper:eu,onLeftRangeInput:ec=()=>{},onRightRangeInput:eh=()=>{},getDecrementLower:ep,getIncrementLower:ef,getDecrementUpper:em,getIncrementUpper:eb,currencyA:ey,currencyB:eg,feeAmount:ev,ticksAtLimit:ex}=_,{t:e_}=(0,eo.Z)(),ew=null===(C=null!=ey?ey:void 0)||void 0===C?void 0:C.wrapped,eC=null===(L=null!=eg?eg:void 0)||void 0===L?void 0:L.wrapped,eT=ew&&eC&&ew.sortsBefore(eC),eq=eT?el:null==eu?void 0:eu.invert(),ek=eT?eu:null==el?void 0:el.invert();return(0,Z.jsxs)(eI.Z,{gap:"16px",width:"100%",mb:"16px",children:[(0,Z.jsx)(ez,{value:ex[eT?eO.Mb.LOWER:eO.Mb.UPPER]?"0":null!==(ea=(0,ed.T4)(eq,6))&&void 0!==ea?ea:"",onUserInput:ec,width:"48%",decrement:eT?ep:eb,increment:eT?ef:em,decrementDisabled:ex[eT?eO.Mb.LOWER:eO.Mb.UPPER],incrementDisabled:ex[eT?eO.Mb.LOWER:eO.Mb.UPPER],feeAmount:ev,label:eq?`${null==eg?void 0:eg.symbol}`:"-",title:e_("Min Price"),tokenA:null==ey?void 0:ey.symbol,tokenB:null==eg?void 0:eg.symbol}),(0,Z.jsx)(ez,{value:ex[eT?eO.Mb.UPPER:eO.Mb.LOWER]?"∞":null!==(es=(0,ed.T4)(ek,6))&&void 0!==es?es:"",onUserInput:eh,width:"48%",decrement:eT?em:ef,increment:eT?eb:ep,incrementDisabled:ex[eT?eO.Mb.UPPER:eO.Mb.LOWER],decrementDisabled:ex[eT?eO.Mb.UPPER:eO.Mb.LOWER],feeAmount:ev,label:ek?`${null==eg?void 0:eg.symbol}`:"-",tokenA:null==ey?void 0:ey.symbol,tokenB:null==eg?void 0:eg.symbol,title:e_("Max Price")})]})});var e$=L(11556),eV=L(52832);let eW=(0,ex.zo)(eV.Z)`
2884  width: 100%;
2885
2886  & > button {
2887    width: 100%;
2888  }
2889
2890  opacity: ${_=>{let{disabled:C}=_;return C?.5:1}};
2891`,eH=(0,el.memo)(function(_){let{spanIndex:C=3,onSpanChange:L=()=>{}}=_,{t:ea}=(0,eo.Z)(),es=(0,el.useMemo)(()=>[{key:"1d",text:ea("1D")},{key:"7d",text:ea("7D")},{key:"30d",text:ea("30D")},{key:"1y",text:ea("1Y")},{key:"5y",text:ea("5Y")}],[ea]);return(0,Z.jsx)(eW,{activeIndex:C,onItemClick:L,scale:"sm",children:es.map(_=>(0,Z.jsx)(e$.Z,{variant:"tertiary",children:_.text},_.key))})});var eG=L(87639),eK=L(16154);let eX={0:.5,1:1,2:7,3:30},eY={0:1,1:7,2:30,3:365,4:730};function tryParsePrice(_,C,L){var Z;if(!_||!C||!L||!L.match(/^\d*\.?\d+$/))return;let[es,eo]=L.split("."),el=null!==(Z=null==eo?void 0:eo.length)&&void 0!==Z?Z:0,eu=BigInt((null!=es?es:"")+(null!=eo?eo:""));
2891return new ea.tA(_,C,BigInt(10**el)*BigInt(10**_.decimals),eu*BigInt(10**C.decimals))}function tryParseTick(_,C,L,Z){let ea;if(!_||!C||!L||!Z)return;let eo=tryParsePrice(_,C,Z);if(!eo)return;let el=(0,es.jv)(eo.numerator,eo.denominator);return ea=el>=es.pk.MAX_SQRT_RATIO?es.pk.MAX_TICK:el<=es.pk.MIN_SQRT_RATIO?es.pk.MIN_TICK:(0,es.Vm)(eo),(0,es.Gp)(ea,es.LX[L])}function floatToPercent(_){let C=arguments.length>1&&void 0!==arguments[1]?arguments[1]:18,L=function(_){let C=arguments.length>1&&void 0!==arguments[1]?arguments[1]:18;try{let L=_.toFixed(C),Z=parseFloat(L)>10**C?BigInt(Math.floor(parseFloat(L))).toString():L,es=(0,eG.v)(Z,C).toString();return new ea.iA(es,10n**BigInt(C))}catch(C){console.debug(`Failed to parse ${_} to fraction`,C)}}(_,C);if(L)return new ea.gG(L.numerator,L.denominator)}function useAmountsByUsdValue(_){let{usdValue:C,currencyA:L,currencyB:Z,price:es,priceLower:eo,priceUpper:eu,sqrtRatioX96:ec,currencyAUsdPrice:eh,currencyBUsdPrice:ep}=_,ef=(0,el.useMemo)(()=>(function(_){let{usdValue:C,currencyA:L,currencyB:Z,price:es,priceLower:eo,priceUpper:el,sqrtRatioX96:eu,currencyAUsdPrice:ec,currencyBUsdPrice:ed}=_;if(!C||!L||!Z||!ec||!ed||!eu||void 0===el||void 0===eo||void 0===es)return[];let eh=parseFloat(C),ep=L.wrapped.sortsBefore(Z.wrapped),ef=ep?L:Z,em=ep?Z:L,eb=parseFloat(String(es)),ey=Math.sqrt(eb),eg=parseFloat(String(eo)),ev=Math.sqrt(eg),ex=parseFloat(String(el)),e_=Math.sqrt(ex),ew=ep?ec:ed,eC=ep?ed:ec,eT=eh/((ey-ev)*eC+(1/ey-1/e_)*ew),eq=eT*(ey-ev);eq*eC<0&&(eq=0),eq*eC>eh&&(eq=eh/eC);let ek=eT*(1/ey-1/e_);ek*ew<0&&(ek=0),ek*ew>eh&&(ek=eh/ew);let eS=ek.toFixed(ef.decimals),eE=eq.toFixed(em.decimals),eM=(0,eK.Z)(ep?eS:eE,L)||ea.ih.fromRawAmount(L,"0"),ej=(0,eK.Z)(ep?eE:eS,Z)||ea.ih.fromRawAmount(Z,"0");return[eM,ej]})({usdValue:C,currencyA:L,currencyB:Z,price:(0,ed.T4)(es,6),priceLower:(0,ed.T4)(eo,6),priceUpper:(0,ed.T4)(eu,6),sqrtRatioX96:ec,currencyAUsdPrice:eh,currencyBUsdPrice:ep}),[C,L,Z,eh,ec,ep,eo,eu,es]),[em,eb]=ef;return{amountA:em,amountB:eb,valueA:em?(0,ed.dN)(em,6):"0",valueB:eb?(0,ed.dN)(eb,6):"0"}}function getAccrued(_,C){let L=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,Z=_*parseFloat((0,ed.Jv)(C.asFraction,6)||"0")*(L/365);return _+Z}function useRate(_){let{stakeFor:C=1,...L}=_,{apr:Z,apy:es}=function(_){let{interest:C,principal:L,compoundEvery:Z=1,compoundOn:es=!0}=_;return(0,el.useMemo)(()=>{if(!C||!L)return{apr:ea.fI,apy:ea.fI};let _=(L+365*C)/L-1,eo=floatToPercent(_)||ea.fI;if(!es)return{apr:eo,apy:eo};let el=(L+C*Z)/L,eu=365/Z,ec=floatToPercent(el**eu-1)||ea.fI;return{apr:eo,apy:ec}},[C,L,Z,es])}(L),{principal:eo,compoundEvery:eu}=L,ec=(0,el.useMemo)(()=>eo?eu&&eu>=C?getAccrued(eo,Z,C):getAccrued(eo,es,C):0,[es,eo,C,Z,eu]),ed=(0,el.useMemo)(()=>eo&&ec?ec-eo:0,[ec,eo]),eh=(0,el.useMemo)(()=>{if(!ec||!eo)return ea.fI;let _=(ec-eo)/eo;return floatToPercent(_)},[eo,ec]);return{reward:ed,rate:eh,apr:Z,apy:es}}function useRoi(_){var C,L;let{amountA:Z,amountB:ea,compoundEvery:eo,currencyAUsdPrice:eu,currencyBUsdPrice:ec,stakeFor:eh=365,compoundOn:ep,cakeApr:ef,editCakeApr:em,...eb}=_,ey=function(_){let{amountA:C,amountB:L,tickLower:Z,tickUpper:ea,volume24H:eo,sqrtRatioX96:eu,mostActiveLiquidity:ec,fee:ed,protocolFee:eh}=_;return(0,el.useMemo)(()=>{if(!C||!L||"number"!=typeof Z||"number"!=typeof ea||!eo||!eu||!ec||!ed)return eQ;let _=es.CB.getEstimatedLPFeeByAmounts({amountA:C,amountB:L,tickLower:Z,tickUpper:ea,volume24H:eo,sqrtRatioX96:eu,mostActiveLiquidity:ec,fee:ed,protocolFee:eh});return _||eQ},[C,L,Z,ea,eo,eu,ec,ed,eh])}({...eb,amountA:Z,amountB:ea}),eg=(0,el.useMemo)(()=>Z&&ea&&eu&&ec&&parseFloat(Z.toExact())*eu+parseFloat(ea.toExact())*ec,[Z,ea,eu,ec]),{rate:ev,apr:ex,reward:e_,apy:ew}=useRate({interest:parseFloat((0,ed.Jv)(ey,6)||"0"),principal:eg,compoundEvery:eo,compoundOn:ep,stakeFor:eh}),eC=(0,el.useMemo)(()=>(0,ed.Dw)(e_,18),[e_]),{apr:eT,apy:eq,reward:ek}=useRate({interest:null!==(C=ef&&eg&&ef/100*eg/365)&&void 0!==C?C:0,principal:eg,compoundEvery:eo,compoundOn:ep,stakeFor:eh}),{rate:eS,reward:eE,apr:eM,apy:ej}=useRate({interest:null!==(L=em&&eg&&em/100*eg/365)&&void 0!==L?L:0,principal:eg,compoundEvery:eo,compoundOn:ep,stakeFor:eh});return{fee:eC,rate:ev,apr:ex,apy:ew,cakeApr:eT,editCakeApr:eM,cakeApy:eq,editCakeApy:ej,cakeRate:eS,cakeReward:eE,originalCakeReward:ek}}let eQ=new ea.iA(ea.xE,ea.ry);var eJ=L(19043);let e1=(0,el.memo)(function(_){let{on:C=!0,compoundIndex:L=0,onToggleCompound:ea=()=>{},onCompoundChange:es=()=>{}}=_,{t:eu}=(0,eo.Z)(),ec=(0,el.useMemo)(()=>[{key:"12h",text:eu("12H")},{key:"1d",text:eu("1D")},{key:"7d",text:eu("7D")},{key:"30d",text:eu("30D")}],[eu]),ed=(0,el.useCallback)(()=>ea(!C),[ea,C]);return(0,Z.jsxs)(eb.Z,{alignItems:"center",children:[(0,Z.jsx)(eb.Z,{flex:"1",children:(0,Z.jsx)(eJ.Z,{scale:"sm",checked:C,onChange:ed})}),(0,Z.jsx)(eb.Z,{flex:"6",children:(0,Z.jsx)(eW,{scale:"sm",disabled:!C,activeIndex:L,onItemClick:es,children:ec.map(_=>(0,Z.jsx)(e$.Z,{variant:"tertiary",children:_.text},_.key))})})]})});var e0=L(67652);let e2=ex.F4`
2892  0% {
2893    transform: scale(1);
2894    stroke-width: 0;
2895  }
2896  50% {
2897    transform: scale(1.3);
2898    stroke-width: 2;
2899  }
2900  100% {
2901    transform: scale(1);
2902    stroke-width: 0;
2903  }
2904`,e5=(0,ex.zo)(eb.Z)`
2905  & > svg {
2906    animation: 0.2s ${e2} linear;
2907    stroke: ${_=>{let{theme:C}=_;return`${C.colors.primary3D}`}};
2908    stroke-width: 0;
2909  }
2910`,AnimatedArrow=_=>{let{state:C}=_,[L,ea]=(0,el.useState)("roiArrow-0");return(0,el.useEffect)(()=>{ea(_=>
2910{let C=parseInt(_.split("-")[1],10);return`roiArrow-${C+1}`})},[C]),(0,Z.jsx)(e5,{justifyContent:"center",my:"24px",children:(0,Z.jsx)(e0.Z,{width:"24px",height:"24px",color:"textSubtle"})},L)};var e6=L(50428);let e3=(0,el.memo)(function(_){var C;let{usdAmount:L=0,roiPercent:ea}=_,{t:es}=(0,eo.Z)();return(0,Z.jsx)(e6.TQ,{children:(0,Z.jsxs)(e6.bf,{children:[(0,Z.jsx)(ev.Z,{fontSize:"12px",color:"secondary",bold:!0,textTransform:"uppercase",children:es("ROI at current rates")}),(0,Z.jsx)(eb.Z,{justifyContent:"space-between",mt:"4px",height:"36px",children:(0,Z.jsx)(Z.Fragment,{children:(0,Z.jsxs)(e6.w6,{alignItems:"flex-end",children:[(0,Z.jsx)(ev.Z,{fontSize:"24px",bold:!0,children:"$"}),(0,Z.jsx)(e6.XC,{fontSize:"24px",bold:!0,fadeOut:L>e6.hB,ellipsis:!0,children:L.toLocaleString("en",{minimumFractionDigits:L>e6.$R?0:2,maximumFractionDigits:L>e6.$R?0:2})}),(0,Z.jsxs)(ev.Z,{fontSize:"16px",color:"textSubtle",ml:"6px",mb:"4px",display:"inline-block",maxWidth:"100%",style:{lineBreak:"anywhere"},ellipsis:!0,children:["(",null!==(C=null==ea?void 0:ea.toLocaleString("en",{minimumFractionDigits:2,maximumFractionDigits:2}))&&void 0!==C?C:"-","%)"]})]})})})]})})});var e4=L(4779),e8=L(85321),e9=L(60329),e7=L(20036);let tr=(0,ex.zo)(e7.$_)`
2911  border-radius: 16px;
2912`,ta=(0,el.memo)(function(_){let{totalYield:C=0,externalLink:L,lpReward:es=0,farmReward:eu=0,lpApy:ec=ea.fI,farmApr:eh=ea.fI,farmApy:ep=ea.fI,lpApr:ef=ea.fI,isFarm:em=!1,compoundIndex:ey=0,compoundOn:ex=!0}=_,{t:e_}=(0,eo.Z)(),[ew,eC]=(0,el.useState)(!1),eT={0:e_("2x daily compound"),1:e_("1x daily compound"),2:e_("1x weekly compound"),3:e_("1x monthly compound")},eq=eT[ey]||"",ek=ew?(0,Z.jsxs)(eg.ZP,{px:"8px",children:[(0,Z.jsxs)(e8.Z,{gridTemplateColumns:"2.5fr 1fr",gridRowGap:"8px",gridTemplateRows:"repeat(2, auto)",mb:"8px",children:[(0,Z.jsx)(ev.Z,{color:"textSubtle",small:!0,children:e_("Yield")}),(0,Z.jsxs)(ev.Z,{small:!0,bold:!0,textAlign:"right",children:["$",(0,e4.d)(+C)]}),(0,Z.jsx)(ev.Z,{color:"textSubtle",small:!0,style:{textIndent:"1em"},children:e_("LP Fee Yield")}),(0,Z.jsxs)(ev.Z,{small:!0,color:"textSubtle",textAlign:"right",children:["$",(0,e4.d)(+es)]}),em&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(ev.Z,{color:"textSubtle",small:!0,style:{textIndent:"1em"},children:e_("Farm Yield")}),(0,Z.jsxs)(ev.Z,{small:!0,color:"textSubtle",textAlign:"right",children:["$",(0,e4.d)(+eu)]})]})]}),(0,Z.jsxs)(e8.Z,{gridTemplateColumns:"2.5fr 1fr",gridRowGap:"8px",gridTemplateRows:"repeat(2, auto)",mb:"8px",children:[(0,Z.jsx)(ev.Z,{color:"textSubtle",small:!0,children:e_("APR")}),(0,Z.jsx)(ev.Z,{small:!0,bold:!0,textAlign:"right",children:`${(0,ed.T3)(ef.add(eh),5)||"0"}%`}),(0,Z.jsx)(ev.Z,{color:"textSubtle",small:!0,style:{textIndent:"1em"},children:e_("LP Fee APR")}),(0,Z.jsx)(ev.Z,{small:!0,color:"textSubtle",textAlign:"right",children:`${(0,ed.T3)(ef,5)||"0"}%`}),em&&eh&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(ev.Z,{color:"textSubtle",small:!0,style:{textIndent:"1em"},children:e_("Farm APR")}),(0,Z.jsxs)(ev.Z,{small:!0,color:"textSubtle",textAlign:"right",children:[(0,ed.T3)(eh,5)||"0","%"]})]})]}),ex&&(0,Z.jsxs)(e8.Z,{gridTemplateColumns:"2.5fr 1fr",gridRowGap:"8px",gridTemplateRows:"repeat(1, auto)",children:[(0,Z.jsxs)(ev.Z,{color:"textSubtle",small:!0,children:[e_("APY")," ",eq&&`(${eq})`]}),(0,Z.jsx)(ev.Z,{small:!0,bold:!0,textAlign:"right",children:`${(0,ed.T3)(ec.add(ep),5)||"0"}%`})]}),(0,Z.jsxs)(e7.DY,{children:[(0,Z.jsx)("li",{children:(0,Z.jsx)(ev.Z,{fontSize:"12px",textAlign:"center",color:"textSubtle",display:"inline",lineHeight:1.1,children:e_("Yields and rewards are calculated at the current rates and subject to change based on various external variables.")})}),(0,Z.jsx)("li",{children:(0,Z.jsx)(ev.Z,{fontSize:"12px",textAlign:"center",color:"textSubtle",display:"inline",lineHeight:1.1,children:e_("LP Fee Rewards: 0.01% ~ 1% per trade according to the specific fee tier of the trading pair, claimed and compounded manually.")})}),(0,Z.jsx)("li",{children:(0,Z.jsx)(ev.Z,{fontSize:"12px",textAlign:"center",color:"textSubtle",display:"inline",lineHeight:1.1,children:e_("LP Fee APR figures are calculated using Subgraph and may subject to indexing delays. For more accurate LP Fee APR, please visit the Info Page.")})}),(0,Z.jsx)("li",{children:(0,Z.jsx)(ev.Z,{fontSize:"12px",textAlign:"center",color:"textSubtle",display:"inline",lineHeight:1.1,children:e_("All figures are estimates provided for your convenience only, and by no means represent guaranteed returns.")})})]}),L&&(0,Z.jsx)(eb.Z,{justifyContent:"center",mt:"24px",children:L})]}):null;return(0,Z.jsxs)(tr,{p:"16px",flexDirection:"column",children:[(0,Z.jsx)(e9.L,{expanded:ew,onClick:()=>eC(_=>!_),children:e_(ew?"Hide":"Details")}),ek]})});var to=L(42166),tl=L(50956),tu=L(85289),tc=L(48737),td=L(17582),th=L(63135),tp=L(88640
2912),tf=L(45297);let getColor=_=>{let{color:C,theme:L}=_;return(0,tf.Z)(L,`colors.${C}`,C)},tm=(0,ex.zo)(tp.Z)`
2913  background: transparent;
2914  border-radius: 0;
2915  box-shadow: none;
2916  padding-left: 0;
2917  padding-right: 0;
2918  text-align: ${_=>{let{textAlign:C="left"}=_;return C}};
2919  border: none;
2920  height: 1.5em;
2921  min-width: 0;
2922  flex: 1;
2923
2924  color: ${getColor};
2925  ${_=>{let{theme:C,color:L}=_;return L&&ex.iv`
2926      color: ${getColor({color:L,theme:C})};
2927    `}}
2928
2929  ::placeholder {
2930    color: ${_=>{let{theme:C}=_;return C.colors.textSubtle}};
2931  }
2932
2933  ::beofre {
2934    content: "$";
2935  }
2936
2937  &:focus:not(:disabled) {
2938    box-shadow: none;
2939    outline: solid ${_=>{let{theme:C}=_;return C.colors.primary}};
2940  }
2941`;function CardSection(_){let{header:C,children:L,...ea}=_;return(0,Z.jsxs)(eg.ZP,{mb:"24px",...ea,children:[(0,Z.jsx)(eC.m0,{mb:"12px",children:C}),L]})}function SectionTitle(_){let{children:C}=_;return(0,Z.jsx)(ev.Z,{color:"secondary",bold:!0,fontSize:"12px",textTransform:"uppercase",children:C})}let tb=(0,el.memo)(function(_){let{logo:C,name:L}=_;return(0,Z.jsxs)(eb.Z,{children:[(0,Z.jsx)(eb.Z,{flexShrink:"0",alignItems:"center",children:C}),(0,Z.jsx)(ev.Z,{ml:"4px",style:{whiteSpace:"nowrap"},children:L})]})}),ty=(0,el.memo)(function(_){let{header:C,showPrice:L=!0,priceEditable:ea=!0,isActive:es=!1,assets:eu=[],extraRows:ec,onChange:ed,firstPriceInputRef:ep,...ef}=_,{t:em}=(0,eo.Z)(),{isMobile:eb}=(0,eh.Z)(),ey=(0,el.useCallback)((_,C)=>{let L=eu[C],Z=[],ea=L?eu.map((C,ea)=>C.currency.equals(L.currency)?(Z.push(ea),{...C,price:_,priceChanged:!0}):C):eu;return null==ed?void 0:ed(ea,{indexes:Z})},[ed,eu]),ev=eu.map((_,C)=>{let{price:es,value:eo,amount:el,currency:eu,priceChanged:ec,key:ed=""}=_;return(0,Z.jsx)(tg,{priceInputRef:0===C?ep:void 0,price:es,value:eo,amount:el,showPrice:L,decimals:18,priceEditable:ea,priceChanged:ec,name:eb?eu.symbol:(0,Z.jsx)(tb,{logo:(0,Z.jsx)(ek.Xw,{currency:eu}),name:eu.symbol}),onPriceChange:_=>ey(_,C)},eu.symbol+ed)});return(0,Z.jsxs)(eg.ZP,{...ef,children:[C&&(0,Z.jsx)(eC.m0,{mb:"8px",children:C}),(0,Z.jsx)(eT.Z,{isActive:es,style:{overflowX:"auto"},children:(0,Z.jsxs)(tu.Z,{style:{tableLayout:"fixed"},children:[(0,Z.jsxs)("colgroup",{children:[(0,Z.jsx)("col",{}),L&&(0,Z.jsx)("col",{width:"30%"}),(0,Z.jsx)("col",{}),(0,Z.jsx)("col",{})]}),(0,Z.jsx)("thead",{children:(0,Z.jsxs)("tr",{children:[(0,Z.jsx)(tc.Th,{textAlign:"left",children:em("Asset")}),L&&(0,Z.jsx)(tc.Th,{textAlign:"left",children:em("Price")}),(0,Z.jsx)(tc.Th,{textAlign:"left",children:em("Balance")}),(0,Z.jsx)(tc.Th,{textAlign:"left",children:em("Value")})]})}),(0,Z.jsxs)("tbody",{children:[ev,ec]})]})})]})}),tg=(0,el.memo)(function(_){let{price:C="0",value:L=0,amount:ea,decimals:es=6,name:eo,showPrice:eu=!0,priceChanged:ec=!1,priceEditable:ed=!0,onPriceChange:eh,priceInputRef:ep}=_,ef=(0,el.useCallback)(_=>{_.currentTarget.validity.valid&&(null==eh||eh(_.currentTarget.value.replace(/,/g,".")||"0"))},[eh]),em=(0,el.useCallback)(_=>{_.currentTarget!==document.activeElement&&(_.preventDefault(),_.currentTarget.focus(),_.currentTarget.select())},[]),eb=ec?"primary":"textSubtle";return(0,Z.jsxs)("tr",{children:[(0,Z.jsx)(tc.Td,{children:(0,Z.jsx)(eC.X2,{children:eo})}),eu&&(0,Z.jsx)(tc.Td,{style:{minWidth:"98px"},children:(0,Z.jsxs)(eC.X2,{children:[(0,Z.jsx)(ev.Z,{color:eb,children:"$"}),(0,Z.jsx)(tm,{ref:ep,pattern:`^[0-9]*[.,]?[0-9]{0,${es}}$`,inputMode:"decimal",min:"0",color:eb,value:C,onMouseDown:em,onChange:ef,disabled:!ed}),ec&&(0,Z.jsx)(td.Z,{width:"10px",color:"primary",ml:"0.25em"})]})}),(0,Z.jsx)(tc.Td,{children:(0,Z.jsx)(eC.X2,{children:ea&&(0,Z.jsx)(ev.Z,{ellipsis:!0,children:(0,e4.d)(+ea)})})}),(0,Z.jsx)(tc.Td,{children:(0,Z.jsx)(eC.X2,{children:(0,Z.jsxs)(ev.Z,{ellipsis:!0,children:["$",(0,e4.d)(+L)]})})})]})}),tv=(0,el.memo)(function(_){let{amount:C,interest:L}=_;return(0,Z.jsxs)(eC.DA,{display:"grid",style:{gridTemplateColumns:"auto auto"},children:[C&&(0,Z.jsxs)(ev.Z,{bold:!0,ellipsis:!0,children:["$",function(_){let C=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6;return parseFloat(parseFloat(String(_)).toPrecision(C))}(C)]}),L&&(0,Z.jsxs)(ev.Z,{ml:"4px",color:"number"==typeof L?"success":L.lessThan(0)?"failure":"success",ellipsis:!0,children:["(","number"==typeof L?(0,e4.d)(L):parseFloat(L.toSignificant(18)).toLocaleStr
2941ing("en",{minimumFractionDigits:0,maximumFractionDigits:2}),"%)"]})]})}),tx=(0,ex.zo)(th.Z)`
2942  background: ${_=>{let{theme:C}=_;return C.colors.gradientBold}};
2943`,t_=(0,el.memo)(function(_){let{isActive:C,...L}=_;return C?(0,Z.jsx)(tx,{...L}):(0,Z.jsx)(th.Z,{variant:"textSubtle",outline:!0,...L})}),tw=ex.zo.div`
2944  display: grid;
2945  grid-column-gap: 24px;
2946  grid-template-columns: 1fr;
2947
2948  grid-template-rows: max-content;
2949  grid-auto-flow: row;
2950
2951  ${_=>{let{theme:C}=_;return C.mediaQueries.md}} {
2952    grid-template-columns: 1fr 1fr;
2953  }
2954`,tC=(0,el.memo)(function(_){let{title:C,onReset:L,...ea}=_,{t:es}=(0,eo.Z)(),eu=(0,el.useRef)(null),ec=(0,el.useCallback)(()=>{var _,C;null===(_=eu.current)||void 0===_||_.focus(),null===(C=eu.current)||void 0===C||C.select()},[]);return(0,Z.jsx)(CardSection,{header:(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(SectionTitle,{children:C}),(0,Z.jsxs)(eb.Z,{children:[(0,Z.jsx)(em.Z,{variant:"secondary",scale:"xs",mr:"0.5em",onClick:ec,style:{textTransform:"uppercase"},children:es("Edit")}),(0,Z.jsx)(em.Z,{variant:"secondary",scale:"xs",onClick:L,style:{textTransform:"uppercase"},children:es("Reset")})]})]}),children:(0,Z.jsx)(ty,{...ea,firstPriceInputRef:eu})})}),tT=(0,ex.zo)(eg.ZP)`
2955  background: ${_=>{let{theme:C}=_;return C.colors.background}};
2956  padding: 12px;
2957  border-radius: 20px;
2958`,getCakeAssetsByReward=function(_){let C=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,L=arguments.length>2?arguments[2]:void 0;return{currency:to.Ad[_],amount:C,price:L,value:Number.isFinite(C)?+C*+L:1/0,key:"ANDX_ASSET_BY_APY"}},tq=(0,el.memo)(function(_){var C,L;let{tickLower:eu,tickUpper:ec,sqrtRatioX96:ed,amountA:eh,amountB:ef,currencyAUsdPrice:em,currencyBUsdPrice:eb,lpReward:ey=0,cakeReward:eg=0,isFarm:ev,cakePrice:ex="0",setEditCakePrice:e_}=_,{t:ew}=(0,eo.Z)(),[eT,eq]=(0,el.useState)(!1),eS=null==eh?void 0:eh.currency,eE=null==ef?void 0:ef.currency,eM=null==eh?void 0:eh.toExact(),ej=null==ef?void 0:ef.toExact(),eA=(0,el.useMemo)(()=>eS&&eE&&eM&&ej&&em&&eb?[{currency:eS,amount:eM,price:String(em),value:parseFloat(eM)*em},{currency:eE,amount:ej,price:String(eb),value:parseFloat(ej)*eb}]:void 0,[eM,eS,ej,eE,em,eb]),eD=(0,el.useMemo)(()=>Number.isFinite(eg)?+eg/+ex:1/0,[eg,ex]),eI=(0,el.useMemo)(()=>eh&&ef&&"number"==typeof ec&&"number"==typeof eu&&ed&&eu<ec&&es.CB.getLiquidityByAmountsAndPrice({amountA:eh,amountB:ef,tickUpper:ec,tickLower:eu,sqrtRatioX96:ed}),[eh,ef,ec,eu,ed]),eO=(0,el.useMemo)(()=>{if(eA&&ev&&eS&&eS.chainId in to.Ad&&ex){var _,C;let L=null!==(C=null===(_=eA.find(_=>_.currency.equals(to.Ad[eS.chainId])))||void 0===_?void 0:_.price)&&void 0!==C?C:ex;return[...eA,getCakeAssetsByReward(eS.chainId,eD,L)]}return eA},[eA,eD,ex,eS,ev]),[eN,eL]=(0,el.useState)(eA),[eR,eB]=(0,el.useState)(eO),eF=(0,el.useCallback)(()=>eq(!eT),[eT]),eZ=(0,el.useCallback)(()=>eL(eA),[eA]),ez=(0,el.useCallback)(()=>eB(eO),[eO]),eU=(0,el.useMemo)(()=>null==eN?void 0:eN.reduce((_,C)=>{let{value:L}=C;return _+parseFloat(String(L))},0),[eN]),e$=(0,el.useMemo)(()=>eN&&eR?eR.reduce((_,C,L)=>{var Z;let{price:ea}=C;return _+parseFloat(String((null===(Z=eN[L])||void 0===Z?void 0:Z.amount)||0))*parseFloat(ea)},0):0,[eN,eR]),eV=(0,el.useMemo)(()=>{if(eN&&eR)return null==eR?void 0:eR.slice(0,2).map((_,C)=>{let{price:L}=_;return{...eN[C],price:L,value:parseFloat(String(eN[C].amount))*parseFloat(L)}})},[eN,eR]),eW=(0,el.useMemo)(()=>{var _;return e$&&eU&&(null===(_=floatToPercent(e$/eU))||void 0===_?void 0:_.subtract(ea.yC))||ea.fI},[e$,eU]),eH=(0,el.useMemo)(()=>((null==eR?void 0:eR.reduce((_,C)=>{let{price:L,amount:Z}=C;return("number"!=typeof Z||Number.isFinite(Z))&&("number"!=typeof L||Number.isFinite(L))?_+parseFloat(String(Z||0))*parseFloat(L):1/0},0))||0)+ey,[eR,ey]),eG=(0,el.useMemo)(()=>{var _;return eH===1/0?1/0:eH&&eU&&(null===(_=floatToPercent(eH/eU))||void 0===_?void 0:_.subtract(ea.yC))||ea.fI},[eH,eU]),eX=(0,el.useMemo)(()=>eG===1/0||!eW.greaterThan(eG),[eG,eW]),eY=(0,el.useMemo)(()=>eU&&eR&&eR.length>=2&&eR.slice(0,2).some(_=>0===Number(_.amount)),[eR,eU]),eQ=(0,el.useCallback)(_=>{if(!eI||!eh||!ef||!_||_.length<2||"number"!=typeof eu||"number"!=typeof ec||!ed)return _;let[C,L,Z]=_,{price:eo,currency:el}=C,{price:ep,currency:em}=L,eb=function(_,C,L,Z){if(!_||!C||"number"!=typeof L||"number"!=typeof Z)return;let es=_.wrapped.sortsBefore(C.wrapped),eo=(0,eK.Z)((1/L).toFixed(_.decimals),_),el=(0,eK.Z)((1/Z).toFixed(C.decimals),C),[eu,ec]=es?[null==eo?void 0:eo.wrapped,null==el?void 0:el.wrapped]:[null==el?void 0:el.wrapped,null==eo?void 0:eo.wrapped];
2958if(eu&&ec)return new ea.tA({baseAmount:eu,quoteAmount:ec})}(eh.currency.wrapped,ef.currency.wrapped,parseFloat(eo),parseFloat(ep));if(!eb)return _;let ey=(0,es.jv)(eb.numerator,eb.denominator),[eg,ev]=es.CB.getAmountsByLiquidityAndPrice({currencyA:el,currencyB:em,liquidity:eI,sqrtRatioX96:ey,tickUpper:ec,tickLower:eu});if(!eg||!ev)return _;let ex=eg.toExact(),ew=ev.toExact(),eC=[{...C,amount:ex,value:parseFloat(ex)*parseFloat(eo)},{...L,amount:ew,value:parseFloat(ew)*parseFloat(ep)}];return Z&&(eC=[...eC,{...Z,...getCakeAssetsByReward(el.chainId,eD,String(Z.price))}],e_(+Z.price)),eC},[eh,ef,eu,ec,ed,eD,eI]),eJ=(0,el.useCallback)(_=>eL(eQ(_)),[eQ]),e1=(0,el.useCallback)(_=>eB(eQ(_)),[eQ]),e0=(0,el.useCallback)((_,C)=>(null==C?void 0:C.some(_=>_.priceChanged))?eQ(C.map((C,L)=>C.priceChanged?{...C,..._[L],price:C.price}:_[L])):_,[eQ]);if((0,el.useEffect)(()=>{eA&&eL(_=>e0(eA,_))},[eA,e0]),(0,el.useEffect)(()=>{eO&&eB(_=>e0(eO,_))},[eO,e0]),!(null==eA?void 0:eA.length))return null;let e2=eY?(0,Z.jsx)(ep.Z,{variant:"warning",children:ew("Exit price is out of the position price range. The number of estimated rewards will not account for the loss from the position being out-of-range.")}):null,e5=eT?(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)(tw,{children:[(0,Z.jsx)(eP.Tz,{alignSelf:"stretch",children:(0,Z.jsx)(tC,{title:ew("Entry price"),assets:eN,onChange:eJ,onReset:eZ})}),(0,Z.jsx)(eP.Tz,{children:(0,Z.jsx)(tC,{title:ew("Exit price"),assets:eR,onChange:e1,onReset:ez})})]}),(0,Z.jsx)(CardSection,{header:(0,Z.jsx)(SectionTitle,{children:ew("Projected results")}),children:(0,Z.jsxs)(tw,{children:[(0,Z.jsx)(eP.Tz,{children:(0,Z.jsx)(ty,{isActive:!eX,mb:24,showPrice:!1,assets:eV,header:(0,Z.jsxs)(eC.m0,{children:[(0,Z.jsx)(tv,{amount:e$,interest:eW}),(0,Z.jsx)(t_,{isActive:!eX,children:ew("HOLD Tokens")})]})})}),(0,Z.jsx)(eP.Tz,{children:(0,Z.jsx)(ty,{isActive:eX,showPrice:!1,assets:eR,header:(0,Z.jsxs)(eC.m0,{children:[(0,Z.jsx)(tv,{amount:eH,interest:eG}),(0,Z.jsx)(t_,{isActive:eX,children:ew("Provide Liquidity")})]}),extraRows:(0,Z.jsx)(tg,{name:(0,Z.jsx)(tb,{logo:(0,Z.jsx)(ek.ge,{currency0:null==eR?void 0:null===(C=eR[0])||void 0===C?void 0:C.currency,currency1:null==eR?void 0:null===(L=eR[1])||void 0===L?void 0:L.currency}),name:ew("LP Rewards")}),showPrice:!1,value:ey})})})]})}),e2]}):null;return(0,Z.jsx)(tT,{children:(0,Z.jsxs)(Section,{title:ew("Calculate impermanent loss"),mb:"0",children:[(0,Z.jsx)(eC.X2,{mb:eT?"24px":"0px",children:(0,Z.jsx)(tl.Z,{checked:eT,onChange:eF,scale:"md"})}),e5]})})});var tk=L(29681),tS=L(54177);let tE=(0,ex.zo)(eb.Z)`
2959  padding: 0.25em 0.5em;
2960  border-radius: 16px;
2961  background: ${_=>{let{theme:C}=_;return C.colors.background}};
2962`,tM=(0,el.memo)(function(_){let{prices:C,onSpanChange:L,span:ea=0,priceUpper:es,priceLower:eu,priceCurrent:ec,maxPrice:ed,minPrice:eh,averagePrice:ep}=_,{t:ef}=(0,eo.Z)(),em=(0,el.useMemo)(()=>[void 0!==es?{title:"upper",color:"#31D0AA",price:parseFloat(String(es))}:void 0,void 0!==ec?{title:"current",color:"#BDC2C4",price:parseFloat(String(ec))}:void 0,void 0!==eu?{title:"lower",color:"#ED4B9E",price:parseFloat(String(eu))}:void 0].filter(_=>!!_),[ec,es,eu]),ey=C&&C.length?(0,Z.jsx)(eg.ZP,{mt:"0.5em",width:"100%",height:"200px",children:(0,Z.jsx)(tk.Fl,{data:C,isChangePositive:!0,isChartExpanded:!1,timeWindow:ea,priceLineData:em})}):(0,Z.jsxs)(eb.Z,{mt:"0.5em",width:"100%",flexDirection:"column",alignItems:"center",height:"200px",justifyContent:"center",children:[(0,Z.jsx)(tS.Z,{}),(0,Z.jsx)(ev.Z,{mt:"1em",bold:!0,children:ef("Price will appear here")})]}),ex=C&&C.length?(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)(eb.Z,{flexDirection:"row",justifyContent:"space-between",mt:"0.5em",width:"100%",children:[(0,Z.jsx)(PriceDisplay,{title:ef("Min"),value:null==eh?void 0:eh.toPrecision(6)}),(0,Z.jsx)(PriceDisplay,{title:ef("Max"),value:null==ed?void 0:ed.toPrecision(6),ml:"0.5em"})]}),(0,Z.jsxs)(eb.Z,{flexDirection:"row",justifyContent:"space-between",mt:"0.5em",width:"100%",children:[(0,Z.jsx)(PriceDisplay,{title:ef("Avg"),value:null==ep?void 0:ep.toPrecision(6)}),(0,Z.jsx)(PriceDisplay,{title:ef("Current"),value:ec,ml:"0.5em"})]})]}):null;return(0,Z.jsxs)(eb.Z,{flexDirection:"column",alignItems:"flex-start",children:[(0,Z.jsx)(TimeSpans,{spanIndex:ea,onSpanChange:L}),ey,ex]})});function PriceDisplay(_){let{title:C,value:L,...ea}=_;return(0,Z.jsxs)(tE,{flexDirection:"row",justifyContent:"space-between",flex:"1",...ea,children:[(0,Z.jsx)(ev.Z,{color:"secondary",textTransform:"uppercase",small:!0,children:C}),(0,Z.jsx)(ev.Z,{small:!0,children:L})]})}function TimeSpans(_){let{spanIndex:C,onSpanChange:L=()=>{}}=_,{t:ea}=(0,eo.Z)(),es=(0,el.useMemo)(()=>[{key:tk.lP.DAY,text:ea("24H")}
2962,{key:tk.lP.WEEK,text:ea("7D")},{key:tk.lP.MONTH,text:ea("30D")},{key:tk.lP.YEAR,text:ea("1Y")}],[ea]);return(0,Z.jsx)(eW,{activeIndex:C,onItemClick:L,scale:"sm",children:es.map(_=>(0,Z.jsx)(e$.Z,{variant:"tertiary",children:_.text},_.key))})}var tj=L(85894);let tA=(0,ex.zo)(em.Z)`
2963  border-radius: 8px;
2964  padding: 0 0.5em;
2965  font-size: 12px;
2966`,tD=(0,el.memo)(function(_){let{baseCurrency:C,onSwitch:L}=_,{t:ea}=(0,eo.Z)();return C?(0,Z.jsxs)(eb.Z,{justifyContent:"flex-end",alignItems:"center",mb:"0.5em",children:[(0,Z.jsx)(ev.Z,{mr:"0.5em",color:"textSubtle",fontSize:"14px",children:ea("View prices in")}),(0,Z.jsx)(tA,{variant:"secondary",scale:"sm",onClick:L,startIcon:(0,Z.jsx)(tj.Z,{color:"primary",width:"14px"}),children:C.symbol})]}):null}),tI=(0,el.memo)(function(_){let{on:C=!0,onToggle:L}=_,ea=(0,el.useCallback)(()=>null==L?void 0:L(!C),[L,C]);return(0,Z.jsx)(eb.Z,{alignItems:"center",children:(0,Z.jsx)(eJ.Z,{scale:"sm",checked:C,onChange:ea})})});function utils_computeSurroundingTicks(_,C,L,Z,ea,eo){let el={...L},eu=[];for(let L=ea+(eo?1:-1);eo?L<Z.length:L>=0;eo?L++:L--){let ea=Number(Z[L].tick),ec={liquidityActive:el.liquidityActive,tick:ea,liquidityNet:BigInt(Z[L].liquidityNet),price0:(0,es.zz)(_,C,ea).toFixed(8)};eo?ec.liquidityActive=el.liquidityActive+BigInt(Z[L].liquidityNet):eo||0n===el.liquidityNet||(ec.liquidityActive=el.liquidityActive-el.liquidityNet),eu.push(ec),el=ec}return eo||(eu=eu.reverse()),eu}let getActiveTick=(_,C)=>void 0!==_&&C?Math.floor(_/es.LX[C])*es.LX[C]:void 0;function RoiCalculator(_){var C,L,eg,ev,ex,e_;let{sqrtRatioX96:ew,liquidity:eC,depositAmountInUsd:eT="0",currencyA:eq,currencyB:ek,balanceA:eE,balanceB:eM,currencyAUsdPrice:ej,currencyBUsdPrice:eA,feeAmount:eD,protocolFee:eI,prices:eP,ticks:eN,price:eL,priceLower:eR,priceUpper:eB,volume24H:eF,maxLabel:eZ,max:ez,priceSpan:e$,onPriceSpanChange:eV,allowApply:eW=!1,onApply:eG,...eK}=_,{isMobile:eQ}=(0,eh.Z)(),{t:eJ}=(0,eo.Z)(),e0=(0,el.useMemo)(()=>String(eT),[eT]),[e2,e5]=(0,el.useState)("0"===e0?"100":e0),[e6,e4]=(0,el.useState)(3),[e8,e9]=(0,el.useState)(!0),[e7,tr]=(0,el.useState)(3),[to,tl]=(0,el.useState)(!1),tu=(0,el.useCallback)(()=>tl(!to),[to]),{currencyA:tc,currencyB:td,balanceA:th,balanceB:tp,currencyAUsdPrice:tf,currencyBUsdPrice:tm}=(0,el.useMemo)(()=>to?{currencyA:ek,currencyB:eq,balanceA:eM,balanceB:eE,currencyAUsdPrice:eA,currencyBUsdPrice:ej}:{currencyA:eq,currencyB:ek,balanceA:eE,balanceB:eM,currencyAUsdPrice:ej,currencyBUsdPrice:eA},[to,eq,ek,eE,eM,ej,eA]),tb=(0,el.useMemo)(()=>ew?es.pk.getTickAtSqrtRatio(ew):void 0,[ew]),ty=(0,el.useMemo)(()=>tc&&td&&td.wrapped.sortsBefore(tc.wrapped),[tc,td]),tg=(0,el.useMemo)(()=>{if(!ew||!tc||!td)return;let _=(0,es.u8)(ew,tc,td);return tc.wrapped.sortsBefore(td.wrapped)?_:_.invert()},[ew,tc,td]),tv=function(_){let{baseCurrency:C,quoteCurrency:L,feeAmount:Z,priceLower:ea,priceUpper:eo}=_,[eu,ec]=(0,el.useState)(!1),[eh,ep]=(0,el.useState)(ea),[ef,em]=(0,el.useState)(eo),eb=!!(C&&L&&L.wrapped.sortsBefore(C.wrapped)),ey=(0,el.useMemo)(()=>({[eO.Mb.LOWER]:Z?(0,es.Gp)(es.pk.MIN_TICK,es.LX[Z]):void 0,[eO.Mb.UPPER]:Z?(0,es.Gp)(es.pk.MAX_TICK,es.LX[Z]):void 0}),[Z]),eg=(0,el.useMemo)(()=>{let _=eb?null==L?void 0:L.wrapped:null==C?void 0:C.wrapped,Z=eb?null==C?void 0:C.wrapped:null==L?void 0:L.wrapped;return{[eO.Mb.LOWER]:_&&Z&&ey[eO.Mb.LOWER]?(0,es.zz)(_,Z,ey[eO.Mb.LOWER]):void 0,[eO.Mb.UPPER]:_&&Z&&ey[eO.Mb.UPPER]?(0,es.zz)(_,Z,ey[eO.Mb.UPPER]):void 0}},[ey,eb,L,C]),ev=(0,el.useMemo)(()=>eb?(0,ed.T4)(eh,18):(0,ed.T4)(ef,18),[eh,ef,eb]),ex=(0,el.useMemo)(()=>eb?(0,ed.T4)(ef,18):(0,ed.T4)(eh,18),[eh,ef,eb]),e_=(0,el.useMemo)(()=>eu?ey[eO.Mb.LOWER]:eh&&(null==ea?void 0:ea.equalTo(eh.asFraction))?(0,es.Vm)(eh):eb?tryParseTick(null==L?void 0:L.wrapped,null==C?void 0:C.wrapped,Z,ev):tryParseTick(null==C?void 0:C.wrapped,null==L?void 0:L.wrapped,Z,ex),[eh,ea,eu,ey,eb,null==L?void 0:L.wrapped,null==C?void 0:C.wrapped,Z,ev,ex]),ew=(0,el.useMemo)(()=>eu?ey[eO.Mb.UPPER]:ef&&(null==eo?void 0:eo.equalTo(ef.asFraction))?(0,es.Vm)(ef):eb?tryParseTick(null==L?void 0:L.wrapped,null==C?void 0:C.wrapped,Z,ex):tryParseTick(null==C?void 0:C.wrapped,null==L?void 0:L.wrapped,Z,ev),[ef,eo,eu,ey,eb,null==L?void 0:L.wrapped,null==C?void 0:C.wrapped,Z,ex,ev]),eC=(0,el.useMemo)(()=>({[eO.Mb.LOWER]:e_===ey[eO.Mb.LOWER],[eO.Mb.UPPER]:ew===ey[eO.Mb.UPPER]}),[ew,e_,ey]),eT=(0,el.useCallback)(_=>{if(!_||!eg.UPPER)return;let C=_.greaterThan(eg.UPPER)?eg.UPPER:_;em(C)},[eg]),eq=(0,el.useCallback)(_=>{if(!_||!eg.LOWER)return;let C=_.lessThan(eg.LOWER)?eg.LOWER:_;ep(C)},[eg]),ek=(0,el.useCallback)(_=>{let Z=tryParsePrice(null==C?void 0:C.wrapped,null==L?void 0:L.wrapped,_);return eb?eT(null==Z?void 0:Z.invert()):eq(Z)},[C,L,eb,eT,eq]),eS=(0,el.useCallback)(_=>{let Z=tryParsePrice(null==C?void 0:C.wrapped,null==L?void 0:L.wrapped,_);return eb?eq(null==Z?void 0:Z.invert()):eT(Z)},[C,L,eb,eT,eq]),eE=(0,el.useCallback)((_,C)=>{ek(_),eS(C)},[ek,eS]),eM=(0,el.useCallback)(()=>ec(!eu),[eu]);return(0,el.useEffect)(()=>ep(ea),[ea]),(0,el.useEffect)(()=>em(eo),[eo]),{ticksAtLimit:eC,tickUpper:ew,tickLower:e_,priceLower:eu?eg[eO.Mb.LOWER]:eh,priceUpper:eu?eg[eO.Mb.UPPER]:ef,onRightRangeInput:eS,onLeftRangeInput:ek,onBothRangeInput:eE,toggleFullRange:eM,fullRange:eu}}({feeAmount:eD,baseCurrency:tc,quoteCurrency:td,priceLower:eR,priceUpper:eB}),{getDecrementLower:tx,getIncrementLower:t_,getDecrementUpper:tC,getIncrementUpper:tT}=function(_,C,L,Z,eo,eu){let ec=(0,el.useMemo)(()=>null==_?void 0:_.wrapped,[_]),ed=(0,el.useMemo)(()=>null==C?void 0:C.wrapped,[C]),eh=(0,el.useCallback)(()=>
2966{if(ec&&ed&&"number"==typeof Z&&L){let _=(0,es.zz)(ec,ed,Z-es.LX[L]);return _.toSignificant(5,void 0,ea.mL.ROUND_UP)}if("number"!=typeof Z&&ec&&ed&&L&&"number"==typeof eu){let _=(0,es.zz)(ec,ed,eu-es.LX[L]);return _.toSignificant(5,void 0,ea.mL.ROUND_UP)}return""},[ec,ed,Z,L,eu]),ep=(0,el.useCallback)(()=>{if(ec&&ed&&"number"==typeof Z&&L){let _=(0,es.zz)(ec,ed,Z+es.LX[L]);return _.toSignificant(5,void 0,ea.mL.ROUND_UP)}if("number"!=typeof Z&&ec&&ed&&L&&"number"==typeof eu){let _=(0,es.zz)(ec,ed,eu+es.LX[L]);return _.toSignificant(5,void 0,ea.mL.ROUND_UP)}return""},[ec,ed,Z,L,eu]),ef=(0,el.useCallback)(()=>{if(ec&&ed&&"number"==typeof eo&&L){let _=(0,es.zz)(ec,ed,eo-es.LX[L]);return _.toSignificant(5,void 0,ea.mL.ROUND_UP)}if("number"!=typeof eo&&ec&&ed&&L&&"number"==typeof eu){let _=(0,es.zz)(ec,ed,eu-es.LX[L]);return _.toSignificant(5,void 0,ea.mL.ROUND_UP)}return""},[ec,ed,eo,L,eu]),em=(0,el.useCallback)(()=>{if(ec&&ed&&"number"==typeof eo&&L){let _=(0,es.zz)(ec,ed,eo+es.LX[L]);return _.toSignificant(5,void 0,ea.mL.ROUND_UP)}if("number"!=typeof eo&&ec&&ed&&L&&"number"==typeof eu){let _=(0,es.zz)(ec,ed,eu+es.LX[L]);return _.toSignificant(5,void 0,ea.mL.ROUND_UP)}return""},[ec,ed,eo,L,eu]);return{getDecrementLower:eh,getIncrementLower:ep,getDecrementUpper:ef,getIncrementUpper:em}}
2966(tc,td,eD,null==tv?void 0:tv.tickLower,null==tv?void 0:tv.tickUpper,tb),{amountA:tk,amountB:tS}=useAmountsByUsdValue({usdValue:e2,currencyA:tc,currencyB:td,price:eL,priceLower:null==tv?void 0:tv.priceLower,priceUpper:null==tv?void 0:tv.priceUpper,sqrtRatioX96:ew,currencyAUsdPrice:tf,currencyBUsdPrice:tm}),tE=(0,el.useMemo)(()=>{if(ez)return ez;if(!th||!tp||"number"!=typeof tf||"number"!=typeof tm)return;let _=parseFloat(th.toExact())*tf,C=parseFloat(th.toExact())*tm;return String(Math.max(_,C))},[th,tp,tf,tm,ez]),[tj,tA]=(0,el.useState)(null),[tO,tP]=(0,el.useState)(!0),tN=eK.isFarm&&tO,tL=tN&&eK.cakeAprFactor,tR=tN&&eK.cakePrice&&tj&&tj/+eK.cakePrice,tB=(0,el.useMemo)(()=>{var _;if(tk&&tS&&"number"==typeof(null==tv?void 0:tv.tickUpper)&&"number"==typeof(null==tv?void 0:tv.tickLower)&&ew&&tN&&tL){if(_={tickLower:tv.tickLower,tickUpper:tv.tickUpper},"number"==typeof tb&&_&&"number"==typeof(null==_?void 0:_.tickLower)&&"number"==typeof(null==_?void 0:_.tickUpper)&&(tb<_.tickLower||tb>=_.tickUpper))return ec.HW;try{let _=es.CB.getLiquidityByAmountsAndPrice({amountA:tk,amountB:tS,tickUpper:null==tv?void 0:tv.tickU
2966pper,tickLower:null==tv?void 0:tv.tickLower,sqrtRatioX96:ew});if(!_)return ec.HW;let C=_>ea.xE?new eu.Z(_.toString()).times(tL).div(e2):ec.HW;return C}catch(_){console.error(_,tk,tv,ew);return}}},[tk,tS,tv,ew,tN,tL,tb,e2]),tF=(0,el.useMemo)(()=>tB&&"number"==typeof tR?tB.times(tR):tB,[tR,tB]),{fee:tZ,rate:tz,apr:tU,apy:t$,cakeApr:tV,cakeApy:tW,editCakeApr:tH,editCakeApy:tG,cakeRate:tK,cakeReward:tX,originalCakeReward:tY}=useRoi({amountA:tk,amountB:tS,currencyAUsdPrice:tf,currencyBUsdPrice:tm,tickLower:null==tv?void 0:tv.tickLower,tickUpper:null==tv?void 0:tv.tickUpper,volume24H:eF,sqrtRatioX96:ew,mostActiveLiquidity:eC,fee:eD,protocolFee:eI,compoundEvery:eX[e7],stakeFor:eY[e6],compoundOn:e8,cakeApr:tN&&tB?tB.toNumber():void 0,editCakeApr:tN&&tF?tF.toNumber():void 0}),tQ=(0,el.useCallback)(()=>null==eG?void 0:eG({amountA:tk,amountB:tS,depositAmountInUsd:e2,priceLower:null==tv?void 0:tv.priceLower,priceUpper:null==tv?void 0:tv.priceUpper,currencyAUsdPrice:tf,currencyBUsdPrice:tm,fullRange:null==tv?void 0:tv.fullRange}),[eG,tv,tk,tS,e2,tf,tm]),tJ=(0,el.useMemo)(()=>{var _;return parseFloat(null!==(_=(0,ed.T3)(null==tz?void 0:tz.add(tK||ea.fI),12))&&void 0!==_?_:"0")},[tK,tz]),t1=(0,el.useMemo)(()=>{var _;return parseFloat(null!==(_=(0,ed.Jv)(tZ,12))&&void 0!==_?_:"0")},[tZ]),t0=t1+tX,t2=(0,Z.jsx)(ep.Z,{variant:"warning",mb:"1em",children:(0,Z.jsx)(ep.Y,{children:eJ("We are in the early stage of V3 deployment. Due to a lack of historical data, numbers and estimates may be inaccurate.")})}),t5=(0,Z.jsx)(Section,{title:eJ("Deposit Amount"),children:(0,Z.jsx)(eS,{value:e2,maxLabel:eZ,onChange:e5,currencyA:tc,currencyB:td,amountA:tk,amountB:tS,max:tE})}),t6=(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(Section,{title:eJ("Staked for"),children:(0,Z.jsx)(eH,{spanIndex:e6,onSpanChange:e4})}),(0,Z.jsx)(Section,{title:eJ("Compounding every"),children:(0,Z.jsx)(e1,{compoundIndex:e7,onCompoundChange:tr,on:e8,onToggleCompound:e9})})]}),t3=eK.isFarm?(0,Z.jsx)(Section,{title:eJ("Include farming rewards"),children:(0,Z.jsx)(tI,{on:tO,onToggle:tP})}):null,{formattedData:t4}=function(_){let{data:C=[]}=function(_){let{liquidity:C,currencyA:L,currencyB:Z,feeAmount:ea,ticks:eo=[],tickCurrent:eu}=_,ec=(0,el.useMemo)(()=>getActiveTick(eu,ea),[eu,ea]);return(0,el.useMemo)(()=>{if(!L||!Z||void 0===ec||!eo||0===eo.length)return{activeTick:ec,data:void 0};let _=null==L?void 0:L.wrapped,ea=null==Z?void 0:Z.wrapped,el=eo.findIndex(_=>{let{tick:C}=_;return Number(C)>ec})-1;if(el<0)return console.error("TickData pivot not found"),{activeTick:ec,data:void 0};let eu={liquidityActive:BigInt(null!=C?C:0),tick:ec,liquidityNet:Number(eo[el].tick)===ec?BigInt(eo[el].liquidityNet):0n,price0:(0,es.zz)(_,ea,ec).toFixed(8)},ed=utils_computeSurroundingTicks(_,ea,eu,eo,el,!0),eh=utils_computeSurroundingTicks(_,ea,eu,eo,el,!1),ep=eh.concat(eu).concat(ed);return{activeTick:ec,data:ep}},[L,Z,ec,eo,C])}(_),L=(0,el.useMemo)(()=>{if(!C.length)return;let _=[];for(let L=0;L<C.length;L++){let Z=C[L],ea={activeLiquidity:parseFloat(Z.liquidityActive.toString()),price0:parseFloat(Z.price0)};ea.activeLiquidity>0&&_.push(ea)}return _},[C]);return(0,el.useMemo)(()=>({formattedData:L}),[L])}({tickCurrent:tb,liquidity:eC,feeAmount:eD,currencyA:tc,currencyB:td,ticks:eN}),t8=tc&&td&&(null==tc?void 0:tc.wrapped.sortsBefore(null==td?void 0:td.wrapped)),t9=t8?null==eL?void 0:eL.toSignificant(6):null==eL?void 0:null===(C=eL.invert())||void 0===C?void 0:C.toSignificant(6),t7=t9?parseFloat(t9):void 0,ni=(0,Z.jsxs)(Section,{title:eJ("Set price range"),children:[(0,Z.jsx)(eO.T3,{price:t7,currencyA:tc,currencyB:td,tickCurrent:tb,liquidity:eC,feeAmount:eD,ticks:eN,ticksAtLimit:null==tv?void 0:tv.ticksAtLimit,priceLower:null==tv?void 0:tv.priceLower,priceUpper:null==tv?void 0:tv.priceUpper,onLeftRangeInput:null==tv?void 0:tv.onLeftRangeInput,onRightRangeInput:null==tv?void 0:tv.onRightRangeInput,onBothRangeInput:null==tv?void 0:tv.onBothRangeInput,formattedData:t4}),(0,Z.jsx)(tD,{baseCurrency:tc,onSwitch:tu}),(0,Z.jsxs)(ef.D,{children:[(0,Z.jsx)(eU,{priceLower:null==tv?void 0:tv.priceLower,priceUpper:null==tv?void 0:tv.priceUpper,getDecrementLower:tx,getIncrementLower:t_,getDecrementUpper:tC,getIncrementUpper:tT,onLeftRangeInput:null==tv?void 0:tv.onLeftRangeInput,onRightRangeInput:null==tv?void 0:tv.onRightRangeInput,currencyA:tc,currencyB:td,feeAmount:eD,ticksAtLimit:(null==tv?void 0:tv.ticksAtLimit)||{}}),(0,Z.jsx)(em.Z,{onClick:null==tv?void 0:tv.toggleFullRange,variant:(null==tv?void 0:tv.fullRange)?"primary":"secondary",mb:"16px",scale:"sm",children:eJ("Full Range")})]})]}),nr=(0,Z.jsxs)(Section,{title:eJ("History price"),children:[(0,Z.jsx)(tD,{baseCurrency:tc,onSwitch:tu}),(0,Z.jsx)(tM,{prices:(0,el.useMemo)(()=>{var _;return null==eP?void 0:null===(_=eP.pairPriceData)||void 0===_?void 0:_.map(_=>({..._,value:ty?_.value:_.value>0?1/_.value:0}))},[ty,eP]),onSpanChange:eV,span:e$,priceUpper:(null==tv?void 0:tv.fullRange)?void 0:ty?(0,ed.T4)(null==tv?void 0:null===(L=tv.priceLower)||void 0===L?void 0:L.invert(),6):(0,ed.T4)(null==tv?void 0:tv.priceUpper,6),priceLower:(null==tv?void 0:tv.fullRange)?void 0:ty?(0,ed.T4)(null==tv?void 0:null===(eg=tv.priceUpper)||void 0===eg?void 0:eg.invert(),6):(0,ed.T4)(null==tv?void 0:tv.priceLower,6),priceCurrent:ty?(0,ed.T4)(null==tg?void 0:tg.invert(),6):(0,ed.T4)(tg,6),maxPrice:ty&&(null==eP?void 0:eP.maxPrice)?null==eP?void 0:eP.maxPrice:1/(null!==(ev=null==eP?void 0:eP.minPrice)&&void 0!==ev?ev:1),minPrice:ty&&(null==eP?void 0:eP.minPrice)?null==eP?void 0:eP.minPrice:1/(null!==(ex=null==eP?void 0:eP.maxPrice)&&void 0!==ex?ex:1),averagePrice:ty&&(null==eP?void 0:eP.averagePrice)?null==eP?void 0:eP.averagePrice:1/(null!==(e_=null==eP?void 0:eP.averagePrice)&&void 0!==e_?e_:1)})]}),na=eQ?(0,Z.jsxs)(Z.Fragment,{children:[t5,nr,t3,ni,t6]}):(0,Z.jsxs)(tw,{children:[(0,Z.jsxs)(eb.Z,{flexDirection:"column",alignItems:"flex-start",children:[t5,nr]}),(0,Z.jsxs)(eb.Z,{flexDirection:"column",alignItems:"flex-start",children:[t3,t6,ni]})]});return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)(ey.x,{children:[t2,na,(0,Z.jsx)(tq,{lpReward:t1,amountA:to?tS:tk,amountB:to?tk:tS,currencyAUsdPrice:to?tm:tf,currencyBUsdPrice:to?tf:tm,tickLower:null==tv?void 0:tv.tickLower,tickUpper:null==tv?void 0:tv.tickU
2966pper,sqrtRatioX96:ew,isFarm:tN,cakeReward:tY,cakePrice:tN?eK.cakePrice:void 0,setEditCakePrice:tA}),(0,Z.jsx)(AnimatedArrow,{state:{}}),(0,Z.jsx)(e3,{usdAmount:t0,roiPercent:tJ}),eW&&(0,Z.jsx)(em.Z,{width:"100%",mt:"0.75em",onClick:tQ,children:eJ("Apply Settings")})]}),(0,Z.jsx)(ta,{totalYield:t0,lpReward:t1,lpApr:tU,lpApy:t$,compoundIndex:e7,compoundOn:e8,farmApr:tN?tH||tV:void 0,farmApy:tN?tG||tW:void 0,farmReward:tX,isFarm:tN})]})}var tO=L(48723),tP=L(2054);let tN=(0,ex.zo)(tO.ZP)`
2967  & > :nth-child(2) {
2968    padding: 0;
2969  }
2970
2971  ${_=>{let{theme:C}=_;return C.mediaQueries.md}} {
2972    width: 860px;
2973  }
2974`;function RoiCalculatorModal_RoiCalculatorModal(_){let{isOpen:C,closeOnOverlayClick:L,onDismiss:ea,...es}=_,{t:el}=(0,eo.Z)();return(0,Z.jsx)(tP.kw,{onDismiss:ea,isOpen:C,closeOnOverlayClick:L,children:(0,Z.jsx)(tN,{title:el("ROI Calculator"),children:(0,Z.jsx)(RoiCalculator,{...es})})})}},66327:function(_,C,L){"use strict";L.d(C,{v:function(){return InfoBox}});var Z=L(97458),ea=L(49520),es=L(23690);function InfoBox(_){let{message:C,icon:L}=_;return(0,Z.jsxs)(ea.lg,{style:{height:"100%",justifyContent:"center"},children:[L,C&&(0,Z.jsx)(es.Z,{pt:"4px",textAlign:"center",fontSize:"20px",bold:!0,children:C})]})}},53970:function(_,C,L){"use strict";L.d(C,{Mb:function(){return ea},kL:function(){return Chart},T3:function(){return LiquidityChartRangeInput},um:function(){return eg}});var Z,ea,es=L(97458),eo=L(82577),el=L(17577),eu=L(62656),ec=L(52983),ed=L(55702),eh=L(76752),ep=L(62595),ef=L(49520),em=L(54177),eb=L(2288),ey=L(20415);(Z=ea||(ea={})).LOWER="LOWER",Z.UPPER="UPPER";let eg={[el.lk.LOWEST]:{initialMin:.999,initialMax:1.001,min:1e-5,max:1.5},[el.lk.LOW]:{initialMin:.999,initialMax:1.001,min:1e-5,max:1.5},[el.lk.MEDIUM]:{initialMin:.5,initialMax:2,min:1e-5,max:20},[el.lk.HIGH]:{initialMin:.5,initialMax:2,min:1e-5,max:20}};var ev=L(66327);let ex=eu.F4`
2975  from {
2976    transform: rotate(0deg);
2977  }
2978  to {
2979    transform: rotate(360deg);
2980  }
2981`,e_=eu.zo.svg`
2982  animation: 2s ${ex} linear infinite;
2983  height: ${_=>{let{size:C}=_;return C}};
2984  width: ${_=>{let{size:C}=_;return C}};
2985  path {
2986    stroke: ${_=>{let{stroke:C,theme:L}=_;return null!=C?C:L.colors.primary}};
2987  }
2988`;function Loader(_){let{size:C="16px",stroke:L,strokeWidth:Z,...ea}=_;return(0,es.jsx)(e_,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",size:C,stroke:L,...ea,children:(0,es.jsx)("path",{d:"M12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 9.27455 20.9097 6.80375 19.1414 5",strokeWidth:null!=Z?Z:"2.5",strokeLinecap:"round",strokeLinejoin:"round"})})}var ew=L(33688),eC=L(50663),eT=L.n(eC);let eq=eu.zo.path`
2989  opacity: ${_=>{let{opacity:C}=_;return C||1}}};
2990  stroke: ${_=>{let{fill:C,theme:L}=_;return null!=C?C:L.colors.failure}};
2991  fill: ${_=>{let{fill:C,theme:L}=_;return null!=C?C:L.colors.failure}};
2992`,Area=_=>{let{series:C,xScale:L,yScale:Z,xValue:ea,yValue:eo,fill:el,opacity:eu}=_;return(0,ec.useMemo)(()=>{var _;return(0,es.jsx)(eq,{opacity:eu||1,fill:el,d:null!==(_=(0,ed.SOn)().curve(ed.jsv).x(_=>L(ea(_))).y1(_=>Z(eo(_))).y0(Z(0))(C.filter(_=>{let C=L(ea(_));return C>0&&C<=window.innerWidth})))&&void 0!==_?_:void 0})},[el,eu,C,L,ea,Z,eo])},ek=eu.zo.g`
2993  line {
2994    display: none;
2995  }
2996
2997  text {
2998    color: ${_=>{let{theme:C}=_;return C.colors.textSubtle}};
2999    transform: translateY(5px);
3000  }
3001`,Axis=_=>{let{axisGenerator:C}=_;return(0,es.jsx)("g",{ref:_=>{_&&(0,ed.Ys)(_).call(C).call(_=>_.select(".domain").remove())}})},AxisBottom=_=>{let{xScale:C,innerHeight:L,offset:Z=0}=_;return(0,ec.useMemo)(()=>(0,es.jsx)(ek,{transform:`translate(0, ${L+Z})`,children:(0,es.jsx)(Axis,{axisGenerator:(0,ed.LLu)(C).ticks(6)})}),[L,Z,C])},brushHandlePath=_=>`M 0 0 v ${_} m 1 0 V 0 M 0 1 h 12 q 2 0, 2 2 v 22 q 0 2 -2 2 h -12 z`,brushHandleAccentPath=()=>"m 5 7 v 14 M 0 0 m 9 7 v 14 z",OffScreenHandle=_=>{let{color:C,size:L=10,margin:Z=10}=_;return(0,es.jsx)("polygon",{points:`0 0, ${L} ${L}, 0 ${L}`,transform:` translate(${L+Z}, ${Z}) rotate(45) `,fill:C,stroke:C,strokeWidth:"4",strokeLinejoin:"round"})},eS=eu.zo.path`
3002  cursor: ew-resize;
3003  pointer-events: none;
3004
3005  stroke-width: 3;
3006  stroke: ${_=>{let{color:C}=_;return C}};
3007  fill: ${_=>{let{color:C}=_;return C}};
3008`,eE=eu.zo.path`
3009  cursor: ew-resize;
3010  pointer-events: none;
3011
3012  stroke-width: 1.5;
3013  stroke: ${_=>{let{theme:C}=_;return C.colors.background}};
3014  opacity: ${_=>{let{theme:C}=_;return C.colors.background}};
3015`,eM=eu.zo.g`
3016  opacity: ${_=>{let{visible:C}=_;return C?"1":"0"}};
3017  transition: opacity 300ms;
3018`,ej=eu.zo.rect`
3019  fill: ${_=>{let{theme:C}=_;return C.colors.secondary}};
3020`,eA=eu.zo.text`
3021  text-anchor: middle;
3022  font-size: 13px;
3023  fill: ${_=>{let{theme:C}=_;return C.colors.background}};
3024`,compare=(_,C,L)=>{let Z=_.map(_=>L(_).toFixed(1)),ea=C.map(_=>L(_).toFixed(1));return Z.every((_,C)=>_===ea[C])},Brush=_=>{let{id:C,xScale:L,interactive:Z,brushLabelValue:ea,brushExtent:eo,setBrushExtent:el,innerWidth:eu,innerHe
3024ight:eh,westHandleColor:ep,eastHandleColor:ef}=_,{theme:em}=(0,ew.Fg)(),eb=(0,ec.useRef)(null),ey=(0,ec.useRef)(null),[eg,ev]=(0,ec.useState)(eo),[ex,e_]=(0,ec.useState)(!1),[eC,eT]=(0,ec.useState)(!1),eq=(0,ew.zP)(eo),ek=(0,ec.useCallback)(_=>{let{type:C,selection:Z,mode:ea}=_;if(!Z){ev(null);return}let es=Z.map(L.invert);"end"!==C||compare(eo,es,L)||el(es,ea),ev(es)},[L,eo,el]);(0,ec.useEffect)(()=>{ev(eo)},[eo]),(0,ec.useEffect)(()=>{eb.current&&(ey.current=(0,ed.Yud)().extent([[Math.max(2,L(0)),0],[eu-2,eh]]).handleSize(30).filter(()=>Z).on("brush end",ek),ey.current((0,ed.Ys)(eb.current)),eq&&compare(eo,eq,L)&&(0,ed.Ys)(eb.current).transition().call(ey.current.move,eo.map(L)),(0,ed.Ys)(eb.current).selectAll(".selection").attr("stroke","none").attr("fill-opacity","0.1").attr("fill",`url(#${C}-gradient-selection)`))},[eo,ek,C,eh,eu,Z,eq,L]),(0,ec.useEffect)(()=>{eb.current&&ey.current&&ey.current.move((0,ed.Ys)(eb.current),eo.map(L))},[eo,L]),(0,ec.useEffect)(()=>{e_(!0);let _=setTimeout(()=>e_(!1),1500);return()=>clearTimeout(_)},[eg]);let eD=eg&&L(eg[0])>20,eI=eg&&L(eg[1])>eu-20,eO=eg&&(0>L(eg[0])||0>L(eg[1])),eP=eg&&(L(eg[0])>eu||L(eg[1])>eu),eN=eg&&L(eg[0])>=0&&L(eg[0])<=eu,eL=eg&&L(eg[1])>=0&&L(eg[1])<=eu;return(0,ec.useMemo)(()=>(0,es.jsxs)(es.Fragment,{children:[(0,es.jsxs)("defs",{children:[(0,es.jsxs)("linearGradient",{id:`${C}-gradient-selection`,x1:"0%",y1:"100%",x2:"100%",y2:"100%",children:[(0,es.jsx)("stop",{stopColor:ep}),(0,es.jsx)("stop",{stopColor:ef,offset:"1"})]}),(0,es.jsx)("clipPath",{id:`${C}-brush-clip`,children:(0,es.jsx)("rect",{x:"0",y:"0",width:eu,height:eh})})]}),(0,es.jsx)("g",{ref:eb,clipPath:`url(#${C}-brush-clip)`,onMouseEnter:()=>eT(!0),onMouseLeave:()=>eT(!1)}),eg&&(0,es.jsxs)(es.Fragment,{children:[eN?(0,es.jsxs)("g",{transform:`translate(${Math.max(0,L(eg[0]))}, 0), scale(${eD?"-1":"1"}, 1)`,children:[(0,es.jsxs)("g",{children:[(0,es.jsx)(eS,{color:em.colors.secondary,d:brushHandlePath(eh)}),(0,es.jsx)(eE,{d:brushHandleAccentPath()})]}),(0,es.jsxs)(eM,{transform:`translate(50,0), scale(${eD?"1":"-1"}, 1)`,visible:ex||eC,children:[(0,es.jsx)(ej,{y:"0",x:"-30",height:"30",width:"60",rx:"8"}),(0,es.jsx)(eA,{transform:"scale(-1, 1)",y:"15",dominantBaseline:"middle",children:ea("w",eg[0])})]})]}):null,eL?(0,es.jsxs)("g",{transform:`translate(${L(eg[1])}, 0), scale(${eI?"-1":"1"}, 1)`,children:[(0,es.jsxs)("g",{children:[(0,es.jsx)(eS,{color:em.colors.secondary,d:brushHandlePath(eh)}),(0,es.jsx)(eE,{d:brushHandleAccentPath()})]}),(0,es.jsxs)(eM,{transform:`translate(50,0), scale(${eI?"-1":"1"}, 1)`,visible:ex||eC,children:[(0,es.jsx)(ej,{y:"0",x:"-30",height:"30",width:"60",rx:"8"}),(0,es.jsx)(eA,{y:"15",dominantBaseline:"middle",children:ea("e",eg[1])})]})]}):null,eO&&(0,es.jsx)(OffScreenHandle,{color:ep}),eP&&(0,es.jsx)("g",{transform:`translate(${eu}, 0) scale(-1, 1)`,children:(0,es.jsx)(OffScreenHandle,{color:ef})})]})]}),[ea,ef,eL,eI,eD,eC,C,em,eh,eu,eg,eP,ex,eO,ep,eN,L])},eD=eu.zo.line`
3025  opacity: 0.5;
3026  stroke-width: 2;
3027  stroke: ${_=>{let{theme:C}=_;return C.colors.primary}};
3028  fill: none;
3029  stroke-dasharray: 4;
3030`,Line=_=>{let{value:C,xScale:L,innerHeight:Z}=_;return(0,ec.useMemo)(()=>(0,es.jsx)(eD,{x1:L(C),y1:"0",x2:L(C),y2:Z}),[C,L,Z])};var eI=L(47287),eO=L(41335),eP=L(42059),eN=L(10832);let eL=eu.zo.div`
3031  display: grid;
3032  grid-template-columns: repeat(${_=>{let{count:C}=_;return C.toString()}}, 1fr);
3033  grid-gap: 6px;
3034
3035  position: absolute;
3036  top: -18px;
3037  right: 0;
3038`,eR=eu.zo.rect`
3039  fill: transparent;
3040  cursor: grab;
3041
3042  &:active {
3043    cursor: grabbing;
3044  }
3045`;function Zoom(_){let{svg:C,xScale:L,setZoom:Z,width:ea,height:eo,resetBrush:el,showResetButton:eu,zoomLevels:eh}=_,ep=(0,ec.useRef)(),[ef,em,eb,ey]=(0,ec.useMemo)(()=>[()=>C&&ep.current&&(0,ed.Ys)(C).transition().call(ep.current.scaleBy,2),()=>C&&ep.current&&(0,ed.Ys)(C).transition().call(ep.current.scaleBy,.5),()=>C&&ep.current&&(0,ed.Ys)(C).transition().call(ep.current.scaleTo,.5),()=>C&&ep.current&&(0,ed.Ys)(C).call(ep.current.transform,ed.CRH.translate(0,0).scale(1)).transition().call(ep.current.scaleTo,.5)],[C]);return(0,ec.useEffect)(()=>{C&&(ep.current=(0,ed.sPX)().scaleExtent([eh.min,eh.max]).extent([[0,0],[ea,eo]]).on("zoom",_=>{let{transform:C}=_;return Z(C)}),(0,ed.Ys)(C).call(ep.current))},[eo,ea,Z,C,L,ep,eh,eh.max,eh.min]),(0,ec.useEffect)(()=>{eb()}
3045,[eb,eh]),(0,es.jsxs)(eL,{count:eu?3:2,children:[eu&&(0,es.jsx)(eI.ZP,{style:{cursor:"pointer",textAlign:"center",paddingTop:"2px",paddingLeft:"4px"},children:(0,es.jsx)(eO.Z,{color:"primary",width:20,onClick:()=>{el(),ey()}})}),(0,es.jsx)(eI.ZP,{style:{cursor:"pointer"},children:(0,es.jsx)(eP.Z,{width:24,onClick:ef,color:"primary"})}),(0,es.jsx)(eI.ZP,{style:{cursor:"pointer"},children:(0,es.jsx)(eN.Z,{width:24,onClick:em,color:"primary"})})]})}let xAccessor=_=>_.price0,yAccessor=_=>_.activeLiquidity;function Chart(_){let{id:C="liquidityChartRangeInput",data:{series:L,current:Z},ticksAtLimit:eo,styles:el,dimensions:{width:eu,height:eh},margins:ep,interactive:ef=!0,brushDomain:em,brushLabels:eb,onBrushDomainChange:ey,zoomLevels:eg,showZoomButtons:ev=!0}=_,ex=(0,ec.useRef)(null),{theme:e_}=(0,ew.Fg)(),[eC,eq]=(0,ec.useState)(null),[ek,eS]=(0,ec.useMemo)(()=>[eh-ep.top-ep.bottom,eu-ep.left-ep.right],[eu,eh,ep]),{xScale:eE,yScale:eM}=(0,ec.useMemo)(()=>{let _={xScale:(0,ed.BYU)().domain([Z*eg.initialMin,Z*eg.initialMax]).range([0,eS]),yScale:(0,ed.BYU)().domain([0,(0,ed.Fp7)(L,yAccessor)]).range([ek,0])};if(eC){let C=eC.rescaleX(_.xScale);_.xScale.domain(C.domain())}return _},[Z,eg.initialMin,eg.initialMax,eS,L,ek,eC]);(0,ec.useEffect)(()=>{eq(null)},[eg]),(0,ec.useEffect)(()=>{em||ey(eE.domain(),void 0)},[em,ey,eE]);let[ej,eA]=(0,ec.useMemo)(()=>{var _,C;let ea=(null===(_=L[0])||void 0===_?void 0:_.price0)>(null===(C=L[L.length-1])||void 0===C?void 0:C.price0),[es,eo]=eT()(L,_=>ea?+xAccessor(_)<Z:+xAccessor(_)>Z);return eo.length&&eo[eo.length-1]&&(eo[eo.length-1].price0!==Z&&(eo=[...eo,{activeLiquidity:eo[eo.length-1].activeLiquidity,price0:Z}]),es=[{activeLiquidity:eo[eo.length-1].activeLiquidity,price0:Z},...es]),[es,eo]},[Z,L]);return(0,es.jsxs)(es.Fragment,{children:[ev&&(0,es.jsx)(Zoom,{svg:ex.current,xScale:eE,setZoom:eq,width:eS,height:eh,resetBrush:()=>{ey([Z*eg.initialMin,Z*eg.initialMax],"reset")},showResetButton:!!(eo[ea.LOWER]||eo[ea.UPPER]),zoomLevels:eg}),(0,es.jsxs)("svg",{width:"100%",height:"100%",viewBox:`0 0 ${eu} ${eh}`,style:{overflow:"visible"},children:[(0,es.jsxs)("defs",{children:[(0,es.jsxs)("linearGradient",{id:"green-gradient",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,es.jsx)("stop",{offset:"5%",stopColor:e_.colors.success,stopOpacity:1}),(0,es.jsx)("stop",{offset:"100%",stopColor:e_.colors.success,stopOpacity:.2})]}),(0,es.jsxs)("linearGradient",{id:"red-gradient",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,es.jsx)("stop",{offset:"5%",stopColor:e_.colors.failure,stopOpacity:1}),(0,es.jsx)("stop",{offset:"100%",stopColor:e_.colors.failure,stopOpacity:.2})]})]}),(0,es.jsxs)("defs",{children:[(0,es.jsx)("clipPath",{id:`${C}-chart-clip`,children:(0,es.jsx)("rect",{x:"0",y:"0",width:eS,height:eh})}),em&&(0,es.jsx)("mask",{id:`${C}-chart-area-mask`,children:(0,es.jsx)("rect",{fill:"white",x:eE(em[0]),y:"0",width:eE(em[1])-eE(em[0]),height:ek})})]}),(0,es.jsxs)("g",{transform:`translate(${ep.left},${ep.top})`,children:[(0,es.jsxs)("g",{clipPath:`url(#${C}-chart-clip)`,children:[(0,es.jsx)(Area,{series:ej,xScale:eE,yScale:eM,xValue:xAccessor,yValue:yAccessor,opacity:.5,fill:"url(#red-gradient)"}),(0,es.jsx)(Area,{series:eA,xScale:eE,yScale:eM,xValue:xAccessor,yValue:yAccessor,opacity:.5,fill:"url(#green-gradient)"}),em&&(0,es.jsx)("g",{mask:`url(#${C}-chart-area-mask)`,children:(0,es.jsx)(Area,{opacity:.1,series:L,xScale:eE,yScale:eM,xValue:xAccessor,yValue:yAccessor,fill:"white"})}),(0,es.jsx)(Line,{value:Z,xScale:eE,innerHeight:ek}),(0,es.jsx)(AxisBottom,{xScale:eE,innerHeight:ek})]}),(0,es.jsx)(eR,{width:eS,height:eh,ref:ex}),(0,es.jsx)(Brush,{id:C,xScale:eE,interactive:ef,brushLabelValue:eb,brushExtent:null!=em?em:eE.domain(),innerWidth:eS,innerHeight:ek,setBrushExtent:ey,westHandleColor:el.brush.handle.west,eastHandleColor:el.brush.handle.east})]})]})]})}let eB=eu.zo.div`
3046  position: relative;
3047
3048  justify-content: center;
3049  align-content: center;
3050`;function LiquidityChartRangeInput(_){var C,L;let{currencyA:Z,currencyB:ex,feeAmount:e_,ticksAtLimit:ew={},price:eC,priceLower:eT,priceUpper:eq,onBothRangeInput:ek=()=>{},onLeftRangeInput:eS=()=>{},onRightRangeInput:eE=()=>{},interactive:eM=!0,isLoading:ej,error:eA,zoomLevel:eD,formattedData:eI}=_,{t:eO}=(0,eo.Z)(),eP=(0,eu.Fg)(),eN=(0,ec.useMemo)(()=>Z&&ex&&(null==Z?void 0:Z.wrapped.sortsBefore(null==ex?void 0:ex.wrapped)),[Z,ex]),eL=(0,ec.useMemo)(()=>{let _=eN?eT:null==eq?void 0:eq.invert(),C=eN?eq:null==eT?void 0:eT.invert();return _&&C?[parseFloat(null==_?void 0:_.toSignificant(18)),parseFloat(null==C?void 0:C.toSignificant(18))]:void 0},[eN,eT,eq]),eR=(0,ec.useCallback)((_,C)=>{let[L,Z]=eL||[],es=Number(_[0]),eo=Number(_[1]);es<=0&&(es=1e-6);let el=(!ew[eN?ea.LOWER:ea.UPPER]||"handle"===C||"reset"===C)&&es>
30500&&es!==L,eu=(!ew[eN?ea.UPPER:ea.LOWER]||"reset"===C)&&eo>0&&eo<1e35&&eo!==Z;if(el&&eu){let _=parseFloat(es.toFixed(18)),C=parseFloat(eo.toFixed(18));_>0&&C>0&&_<C&&(null==ek||ek(es.toFixed(18),eo.toFixed(18)))}else el?null==eS||eS(es.toFixed(18)):eu&&(null==eE||eE(eo.toFixed(18)))},[eN,ek,eS,eE,ew,eL]),eF=(0,ec.useCallback)((_,C)=>{if(!eC)return"";if("w"===_&&ew[eN?ea.LOWER:ea.UPPER])return"0";if("e"===_&&ew[eN?ea.UPPER:ea.LOWER])return"∞";let L=(C<eC?-1:1)*((Math.max(C,eC)-Math.min(C,eC))/eC)*100;return eC?`${(0,ed.WUZ)(Math.abs(L)>1?".2~s":".2~f")(L)}%`:""},[eN,eC,ew]);eA&&eh.uT(eA.toString(),"log");let eZ=!Z||!ex||void 0===eI&&!ej;return(0,es.jsx)(ef.Tz,{gap:"md",style:{minHeight:"200px",width:"100%",marginBottom:"16px"},children:eZ?(0,es.jsx)(ev.v,{message:eO("Your position will appear here."),icon:(0,es.jsx)(em.Z,{})}):ej?(0,es.jsx)(ev.v,{icon:(0,es.jsx)(Loader,{size:"40px",stroke:eP.colors.text})}):eA?(0,es.jsx)(ev.v,{message:eO("Liquidity data not available."),icon:(0,es.jsx)(eb.Z,{width:"40px"})}):eI&&0!==eI.length&&eC?(0,es.jsx)(eB,{children:(0,es.jsx)(Chart,{data:{series:eI,current:eC},dimensions:{width:400,height:200},margins:{top:10,right:2,bottom:20,left:0},styles:{area:{selection:eP.colors.text},brush:{handle:{west:null!==(C=(0,ep.p_)(.1,"#7645D9"))&&void 0!==C?C:eP.colors.text,east:null!==(L=(0,ep.p_)(.1,"#7645D9"))&&void 0!==L?L:eP.colors.text}}},interactive:eM&&!!(null==eI?void 0:eI.length),brushLabels:eF,brushDomain:eL,onBrushDomainChange:eR,zoomLevels:null!=eD?eD:eg[null!=e_?e_:el.lk.MEDIUM],ticksAtLimit:ew},`${null!=e_?e_:el.lk.MEDIUM}`)}):(0,es.jsx)(ev.v,{message:eO("There is no liquidity data."),icon:(0,es.jsx)(ey.Z,{width:"40px"})})})}},14364:function(_,C,L){"use strict";L.d(C,{$:function(){return ec}});var Z=L(97458),ea=L(14517),es=L(52983),eo=L(82577),el=L(70983);let eu=RegExp("^\\d*(?:\\\\[.])?\\d*$"),ec=(0,es.memo)(function(_){let{value:C,onUserInput:L,placeholder:es,error:ec,align:ed,className:eh,loading:ep,...ef}=_,enforcer=_=>{(""===_||eu.test(_.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")))&&L(_)},{t:em}=(0,eo.Z)();
3050return(0,Z.jsx)("input",{className:(0,ea.default)(eh,el.inputVariants({error:ec,align:ed,loading:ep})),...ef,value:C,onChange:_=>{enforcer(_.target.value.replace(/,/g,"."))},inputMode:"decimal",title:em("Token Amount"),autoComplete:"off",autoCorrect:"off",type:"text",pattern:"^[0-9]*[.,]?[0-9]*$",placeholder:es||"0.0",minLength:1,maxLength:79,spellCheck:"false"})})},93458:function(){},51918:function(){},10412:function(){},88953:function(){},19496:function(){},75027:function(){},14764:function(_){!function(){"use strict";var C={815:function(_){_.exports=function(_,L,Z,ea){L=L||"&",Z=Z||"=";var es={};if("string"!=typeof _||0===_.length)return es;var eo=/\+/g;_=_.split(L);var el=1e3;ea&&"number"==typeof ea.maxKeys&&(el=ea.maxKeys);var eu=_.length;el>0&&eu>el&&(eu=el);for(var ec=0;ec<eu;++ec){var ed,eh,ep,ef,em=_[ec].replace(eo,"%20"),eb=em.indexOf(Z);(eb>=0?(ed=em.substr(0,eb),eh=em.substr(eb+1)):(ed=em,eh=""),ep=decodeURIComponent(ed),ef=decodeURIComponent(eh),Object.prototype.hasOwnProperty.call(es,ep))?C(es[ep])?es[ep].push(ef):es[ep]=[es[ep],ef]:es[ep]=ef}return es};var C=Array.isArray||function(_){return"[object Array]"===Object.prototype.toString.call(_)}},577:function(_){var stringifyPrimitive=function(_){switch(typeof _){case"string":return _;case"boolean":return _?"true":"false";case"number":return isFinite(_)?_:"";default:return""}};_.exports=function(_,Z,ea,es){return(Z=Z||"&",ea=ea||"=",null===_&&(_=void 0),"object"==typeof _)?map(L(_),function(L){var es=encodeURIComponent(stringifyPrimitive(L))+ea;return C(_[L])?map(_[L],function(_){return es+encodeURIComponent(stringifyPrimitive(_))}).join(Z):es+encodeURIComponent(stringifyPrimitive(_[L]))}).join(Z):es?encodeURIComponent(stringifyPrimitive(es))+ea+encodeURIComponent(stringifyPrimitive(_)):""};var C=Array.isArray||function(_){return"[object Array]"===Object.prototype.toString.call(_)};function map(_,C){if(_.map)return _.map(C);for(var L=[],Z=0;Z<_.length;Z++)L.push(C(_[Z],Z));return L}var L=Object.keys||function(_){var C=[];for(var L in _)Object.prototype.hasOwnProperty.call(_,L)&&C.push(L);return C}}},L={};function __nccwpck_require__(_){var Z=L[_];if(void 0!==Z)return Z.exports;var ea=L[_]={exports:{}},es=!0;try{C[_](ea,ea.exports,__nccwpck_require__),es=!1}finally{es&&delete L[_]}return ea.exports}__nccwpck_require__.ab="//";var Z={};Z.decode=Z.parse=__nccwpck_require__(815),Z.encode=Z.stringify=__nccwpck_require__(577),_.exports=Z}()},35342:function(_,C,L){_.exports=L(14747)},98215:function(_,C,L){_.exports=L(64389)},95623:function(_,C,L){_.exports=L(42729)},12513:function(_,C,L){_.exports=L(31558)},97656:function(_,C,L){_.exports=L(91096)},99509:function(_,C,L){_.exports=L(67800)},62595:function(_,C,L){"use strict";L.d(C,{_j:function(){return eg},p_:function(){return ev}});var Z=L(54805),ea=L(35408),es=L(45701);function _getPrototypeOf(_){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(_){return _.__proto__||Object.getPrototypeOf(_)})(_)}var eo=L(38691);function _construct(_,C,L){return(_construct=!function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(_){return!1}}()?function(_,C,L){var Z=[null];Z.push.apply(Z,C);var ea=new(Function.bind.apply(_,Z));return L&&(0,eo.Z)(ea,L.prototype),ea}:Reflect.construct.bind()).apply(null,arguments)}function _wrapNativeSuper(_){var C="function"==typeof Map?new Map:void 0;return(_wrapNativeSuper=function(_){if(null===_||!function(_){try{return -1!==Function.toString.call(_).indexOf("[native code]")}catch(C){return"function"==typeof _}}(_))return _;if("function"!=typeof _)throw TypeError("Super expression must either be null or a function");if(void 0!==C){if(C.has(_))return C.get(_);C.set(_,Wrapper)}function Wrapper(){return _construct(_,arguments,_getPrototypeOf(this).constructor)}return Wrapper.prototype=Object.create(_.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),(0,eo.Z)(Wrapper,_)})(_)}var el=function(_){function PolishedError(C){var L;return L=_.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+C+" for more information.")||this,(0,ea.Z)(L)}return(0,es.Z)(PolishedError,_),PolishedError}(_wrapNativeSuper(Error));function colorToInt(_){return Math.round(255*_)}function convertToInt(_,C,L){return colorToInt(_)+","+colorToInt(C)+","+colorToInt(L)}function hslToRgb(_,C,L,Z){if(void 0===Z&&(Z=convertToInt),0===C)return Z(L,L,L);var ea=(_%360+360)%360/60,es=(1-Math.abs(2*L-1))*C,eo=es*(1-Math.abs(ea%2-1)),el=0,eu=0,ec=0;ea>=0&&ea<1?(el=es,eu=eo):ea>=1&&ea<2?(el=eo,eu=es):ea>=2&&ea<3?(eu=es,ec=eo):ea>
3050=3&&ea<4?(eu=eo,ec=es):ea>=4&&ea<5?(el=eo,ec=es):ea>=5&&ea<6&&(el=es,ec=eo);var ed=L-es/2;return Z(el+ed,eu+ed,ec+ed)}var eu={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee9
30500",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},ec=/^#[a-fA-F0-9]{6}$/,ed=/^#[a-fA-F0-9]{8}$/,eh=/^#[a-fA-F0-9]{3}$/,ep=/^#[a-fA-F0-9]{4}$/,ef=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,em=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,eb=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,ey=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function parseToRgb(_){if("string"!=typeof _)throw new el(3);var C=function(_){if("string"!=typeof _)return _;var C=_.toLowerCase();return eu[C]?"#"+eu[C]:_}(_);if(C.match(ec))return{red:parseInt(""+C[1]+C[2],16),green:parseInt(""+C[3]+C[4],16),blue:parseInt(""+C[5]+C[6],16)};if(C.match(ed)){var L=parseFloat((parseInt(""+C[7]+C[8],16)/255).toFixed(2));return{red:parseInt(""+C[1]+C[2],16),green:parseInt(""+C[3]+C[4],16),blue:parseInt(""+C[5]+C[6],16),alpha:L}}if(C.match(eh))return{red:parseInt(""+C[1]+C[1],16),green:parseInt(""+C[2]+C[2],16),blue:parseInt(""+C[3]+C[3],16)};if(C.match(ep)){var Z=parseFloat((parseInt(""+C[4]+C[4],16)/255).toFixed(2));return{red:parseInt(""+C[1]+C[1],16),green:parseInt(""+C[2]+C[2],16),blue:parseInt(""+C[3]+C[3],16),alpha:Z}}var ea=ef.exec(C);if(ea)return{red:parseInt(""+ea[1],10),green:parseInt(""+ea[2],10),blue:parseInt(""+ea[3],10)};var es=em.exec(C.substring(0,50));if(es)return{red:parseInt(""+es[1],10),green:parseInt(""+es[2],10),blue:parseInt(""+es[3],10),alph
3050a:parseFloat(""+es[4])>1?parseFloat(""+es[4])/100:parseFloat(""+es[4])};var eo=eb.exec(C);if(eo){var eg="rgb("+hslToRgb(parseInt(""+eo[1],10),parseInt(""+eo[2],10)/100,parseInt(""+eo[3],10)/100)+")",ev=ef.exec(eg);if(!ev)throw new el(4,C,eg);return{red:parseInt(""+ev[1],10),green:parseInt(""+ev[2],10),blue:parseInt(""+ev[3],10)}}var ex=ey.exec(C.substring(0,50));if(ex){var e_="rgb("+hslToRgb(parseInt(""+ex[1],10),parseInt(""+ex[2],10)/100,parseInt(""+ex[3],10)/100)+")",ew=ef.exec(e_);if(!ew)throw new el(4,C,e_);return{red:parseInt(""+ew[1],10),green:parseInt(""+ew[2],10),blue:parseInt(""+ew[3],10),alpha:parseFloat(""+ex[4])>1?parseFloat(""+ex[4])/100:parseFloat(""+ex[4])}}throw new el(5)}function parseToHsl(_){return function(_){var C,L=_.red/255,Z=_.green/255,ea=_.blue/255,es=Math.max(L,Z,ea),eo=Math.min(L,Z,ea),el=(es+eo)/2;if(es===eo)return void 0!==_.alpha?{hue:0,saturation:0,lightness:el,alpha:_.alpha}:{hue:0,saturation:0,lightness:el};var eu=es-eo,ec=el>.5?eu/(2-es-eo):eu/(es+eo);switch(es){case L:C=(Z-ea)/eu+(Z<ea?6:0);break;case Z:C=(ea-L)/eu+2;break;default:C=(L-Z)/eu+4}return(C*=60,void 0!==_.alpha)?{hue:C,saturation:ec,lightness:el,alpha:_.alpha}:{hue:C,saturation:ec,lightness:el}}(parseToRgb(_))}var reduceHexValue$1=function(_){return 7===_.length&&_[1]===_[2]&&_[3]===_[4]&&_[5]===_[6]?"#"+_[1]+_[3]+_[5]:_};function numberToHex(_){var C=_.toString(16);return 1===C.length?"0"+C:C}function colorToHex(_){return numberToHex(Math.round(255*_))}function convertToHex(_,C,L){return reduceHexValue$1("#"+colorToHex(_)+colorToHex(C)+colorToHex(L))}function rgb(_,C,L){if("number"==typeof _&&"number"==typeof C&&"number"==typeof L)return reduceHexValue$1("#"+numberToHex(_)+numberToHex(C)+numberToHex(L));if("object"==typeof _&&void 0===C&&void 0===L)return reduceHexValue$1("#"+numberToHex(_.red)+numberToHex(_.green)+numberToHex(_.blue));throw new el(6)}function toColorString(_){if("object"!=typeof _)throw new el(8);if("number"==typeof _.red&&"number"==typeof _.green&&"number"==typeof _.blue&&"number"==typeof _.alpha)return function(_,C,L,Z){if("string"==typeof _&&"number"==typeof C){var ea=parseToRgb(_);return"rgba("+ea.red+","+ea.green+","+ea.blue+","+C+")"}if("number"==typeof _&&"number"==typeof C&&"number"==typeof L&&"number"==typeof Z)return Z>=1?rgb(_,C,L):"rgba("+_+","+C+","+L+","+Z+")";if("object"==typeof _&&void 0===C&&void 0===L&&void 0===Z)return _.alpha>=1?rgb(_.red,_.green,_.blue):"rgba("+_.red+","+_.green+","+_.blue+","+_.alpha+")";throw new el(7)}(_);if("number"==typeof _.red&&"number"==typeof _.green&&"number"==typeof _.blue&&("number"!=typeof _.alpha||void 0===_.alpha))return rgb(_);if("number"==typeof _.hue&&"number"==typeof _.saturation&&"number"==typeof _.lightness&&"number"==typeof _.alpha)return function(_,C,L,Z){if("number"==typeof _&&"number"==typeof C&&"number"==typeof L&&"number"==typeof Z)return Z>=1?hslToRgb(_,C,L,convertToHex):"rgba("+hslToRgb(_,C,L)+","+Z+")";if("object"==typeof _&&void 0===C&&void 0===L&&void 0===Z)return _.alpha>=1?hslToRgb(_.hue,_.saturation,_.lightness,convertToHex):"rgba("+hslToRgb(_.hue,_.saturation,_.lightness)+","+_.alpha+")";throw new el(2)}(_);if("number"==typeof _.hue&&"number"==typeof _.saturation&&"number"==typeof _.lightness&&("number"!=typeof _.alpha||void 0===_.alpha))return function(_,C,L){if("number"==typeof _&&"number"==typeof C&&"number"==typeof L)return hslToRgb(_,C,L,convertToHex);if("object"==typeof _&&void 0===C&&void 0===L)return hslToRgb(_.hue,_.saturation,_.lightness,convertToHex);throw new el(1)}(_);throw new el(8)}function curry(_){return function curried(_,C,L){return function(){var Z=L.concat(Array.prototype.slice.call(arguments));return Z.length>=C?_.apply(this,Z):curried(_,C,Z)}}(_,_.length,[])}function guard(_,C,L){return Math.max(_,Math.min(C,L))}var eg=curry(function(_,C){if("transparent"===C)return C;var L=parseToHsl(C);return toColorString((0,Z.Z)({},L,{lightness:guard(0,1,L.lightness-parseFloat(_))}))}),ev=curry(function(_,C){if("transparent"===C)return C;var L=parseToHsl(C);return toColorString((0,Z.Z)({},L,{saturation:guard(0,1,L.saturation+parseFloat(_))}))})}
3050,73656:function(_){var C,L,Z,ea=_.exports={};function defaultSetTimout(){throw Error("setTimeout has not been defined")}function defaultClearTimeout(){throw Error("clearTimeout has not been defined")}function runTimeout(_){if(C===setTimeout)return setTimeout(_,0);if((C===defaultSetTimout||!C)&&setTimeout)return C=setTimeout,setTimeout(_,0);try{return C(_,0)}catch(L){try{return C.call(null,_,0)}catch(L){return C.call(this,_,0)}}}!function(){try{C="function"==typeof setTimeout?setTimeout:defaultSetTimout}catch(_){C=defaultSetTimout}try{L="function"==typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(_){L=defaultClearTimeout}}();var es=[],eo=!1,el=-1;function cleanUpNextTick(){eo&&Z&&(eo=!1,Z.length?es=Z.concat(es):el=-1,es.length&&drainQueue())}function drainQueue(){if(!eo){var _=runTimeout(cleanUpNextTick);eo=!0;for(var C=es.length;C;){for(Z=es,es=[];++el<C;)Z&&Z[el].run();el=-1,C=es.length}Z=null,eo=!1,function(_){if(L===clearTimeout)return clearTimeout(_);if((L===defaultClearTimeout||!L)&&clearTimeout)return L=clearTimeout,clearTimeout(_);try{L(_)}catch(C){try{return L.call(null,_)}catch(C){return L.call(this,_)}}}(_)}}function Item(_,C){this.fun=_,this.array=C}function noop(){}ea.nextTick=function(_){var C=Array(arguments.length-1);if(arguments.length>1)for(var L=1;L<arguments.length;L++)C[L-1]=arguments[L];es.push(new Item(_,C)),1!==es.length||eo||runTimeout(drainQueue)},Item.prototype.run=function(){this.fun.apply(null,this.array)},ea.title="browser",ea.browser=!0,ea.env={},ea.argv=[],ea.version="",ea.versions={},ea.on=noop,ea.addListener=noop,ea.once=noop,ea.off=noop,ea.removeListener=noop,ea.removeAllListeners=noop,ea.emit=noop,ea.prependListener=noop,ea.prependOnceListener=noop,ea.listeners=function(_){return[]},ea.binding=function(_){throw Error("process.binding is not supported")},ea.cwd=function(){return"/"},ea.chdir=function(_){throw Error("process.chdir is not supported")},ea.umask=function(){return 0}},68496:function(_,C,L){"use strict";let Z=L(30309),ea=L(65140),es=L(36897),eo=L(22475),isNullOrUndefined=_=>null==_,el=Symbol("encodeFragmentIdentifier");function validateArrayFormatSeparator(_){if("string"!=typeof _||1!==_.length)throw TypeError("arrayFormatSeparator must be single character string")}function encode(_,C){return C.encode?C.strict?Z(_):encodeURIComponent(_):_}function decode(_,C){return C.decode?ea(_):_}function removeHash(_){let C=_.indexOf("#");return -1!==C&&(_=_.slice(0,C)),_}function extract(_){_=removeHash(_);let C=_.indexOf("?");return -1===C?"":_.slice(C+1)}function parseValue(_,C){return C.parseNumbers&&!Number.isNaN(Number(_))&&"string"==typeof _&&""!==_.trim()?_=Number(_):C.parseBooleans&&null!==_&&("true"===_.toLowerCase()||"false"===_.toLowerCase())&&(_="true"===_.toLowerCase()),_}function parse(_,C){validateArrayFormatSeparator((C=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},C)).arrayFormatSeparator);let L=function(_){let C;switch(_.arrayFormat){case"index":return(_,L,Z)=>{if(C=/\[(\d*)\]$/.exec(_),_=_.replace(/\[\d*\]$/,""),!C){Z[_]=L;return}void 0===Z[_]&&(Z[_]={}),Z[_][C[1]]=L};case"bracket":return(_,L,Z)=>{if(C=/(\[\])$/.exec(_),_=_.replace(/\[\]$/,""),!C){Z[_]=L;return}if(void 0===Z[_]){Z[_]=[L];return}Z[_]=[].concat(Z[_],L)};case"colon-list-separator":return(_,L,Z)=>{if(C=/(:list)$/.exec(_),_=_.replace(/:list$/,""),!C){Z[_]=L;return}if(void 0===Z[_]){Z[_]=[L];return}Z[_]=[].concat(Z[_],L)};case"comma":case"separator":return(C,L,Z)=>{let ea="string"==typeof L&&L.includes(_.arrayFormatSeparator),es="string"==typeof L&&!ea&&decode(L,_).includes(_.arrayFormatSeparator);L=es?decode(L,_):L;let eo=ea||es?L.split(_.arrayFormatSeparator).map(C=>decode(C,_)):null===L?L:decode(L,_);Z[C]=eo};case"bracket-separator":return(C,L,Z)=>{let ea=/(\[\])$/.test(C);if(C=C.replace(/\[\]$/,""),!ea){Z[C]=L?decode(L,_):L;return}let es=null===L?[]:L.split(_.arrayFormatSeparator).map(C=>decode(C,_));if(void 0===Z[C]){Z[C]=es;return}Z[C]=[].concat(Z[C],es)};default:return(_,C,L)=>{if(void 0===L[_]){L[_]=C;return}L[_]=[].concat(L[_],C)}}}(C),Z=Object.create(null);if("string"!=typeof _||!(_=_.trim().replace(/^[?#&]/,"")))return Z;for(let ea of _.split("&")){if(""===ea)continue;let[_,eo]=es(C.decode?ea.replace(/\+/g," "):ea,"=");
3050eo=void 0===eo?null:["comma","separator","bracket-separator"].includes(C.arrayFormat)?eo:decode(eo,C),L(decode(_,C),eo,Z)}for(let _ of Object.keys(Z)){let L=Z[_];if("object"==typeof L&&null!==L)for(let _ of Object.keys(L))L[_]=parseValue(L[_],C);else Z[_]=parseValue(L,C)}return!1===C.sort?Z:(!0===C.sort?Object.keys(Z).sort():Object.keys(Z).sort(C.sort)).reduce((_,C)=>{let L=Z[C];return L&&"object"==typeof L&&!Array.isArray(L)?_[C]=function keysSorter(_){return Array.isArray(_)?_.sort():"object"==typeof _?keysSorter(Object.keys(_)).sort((_,C)=>Number(_)-Number(C)).map(C=>_[C]):_}(L):_[C]=L,_},Object.create(null))}C.extract=extract,C.parse=parse,C.stringify=(_,C)=>{if(!_)return"";validateArrayFormatSeparator((C=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},C)).arrayFormatSeparator);let shouldFilter=L=>C.skipNull&&isNullOrUndefined(_[L])||C.skipEmptyString&&""===_[L],L=function(_){switch(_.arrayFormat){case"index":return C=>(L,Z)=>{let ea=L.length;return void 0===Z||_.skipNull&&null===Z||_.skipEmptyString&&""===Z?L:null===Z?[...L,[encode(C,_),"[",ea,"]"].join("")]:[...L,[encode(C,_),"[",encode(ea,_),"]=",encode(Z,_)].join("")]};case"bracket":return C=>(L,Z)=>void 0===Z||_.skipNull&&null===Z||_.skipEmptyString&&""===Z?L:null===Z?[...L,[encode(C,_),"[]"].join("")]:[...L,[encode(C,_),"[]=",encode(Z,_)].join("")];case"colon-list-separator":return C=>(L,Z)=>void 0===Z||_.skipNull&&null===Z||_.skipEmptyString&&""===Z?L:null===Z?[...L,[encode(C,_),":list="].join("")]:[...L,[encode(C,_),":list=",encode(Z,_)].join("")];case"comma":case"separator":case"bracket-separator":{let C="bracket-separator"===_.arrayFormat?"[]=":"=";return L=>(Z,ea)=>void 0===ea||_.skipNull&&null===ea||_.skipEmptyString&&""===ea?Z:(ea=null===ea?"":ea,0===Z.length)?[[encode(L,_),C,encode(ea,_)].join("")]:[[Z,encode(ea,_)].join(_.arrayFormatSeparator)]}default:return C=>(L,Z)=>void 0===Z||_.skipNull&&null===Z||_.skipEmptyString&&""===Z?L:null===Z?[...L,encode(C,_)]:[...L,[encode(C,_),"=",encode(Z,_)].join("")]}}(C),Z={};for(let C of Object.keys(_))shouldFilter(C)||(Z[C]=_[C]);let ea=Object.keys(Z);return!1!==C.sort&&ea.sort(C.sort),ea.map(Z=>{let ea=_[Z];return void 0===ea?"":null===ea?encode(Z,C):Array.isArray(ea)?0===ea.length&&"bracket-separator"===C.arrayFormat?encode(Z,C)+"[]":ea.reduce(L(Z),[]).join("&"):encode(Z,C)+"="+encode(ea,C)}).filter(_=>_.length>0).join("&")},C.parseUrl=(_,C)=>{C=Object.assign({decode:!0},C);let[L,Z]=es(_,"#");return Object.assign({url:L.split("?")[0]||"",query:parse(extract(_),C)},C&&C.parseFragmentIdentifier&&Z?{fragmentIdentifier:decode(Z,C)}:{})},C.stringifyUrl=(_,L)=>{L=Object.assign({encode:!0,strict:!0,[el]:!0},L);let Z=removeHash(_.url).split("?")[0]||"",ea=C.extract(_.url),es=C.parse(ea,{sort:!1}),eo=Object.assign(es,_.query),eu=C.stringify(eo,L);eu&&(eu=`?${eu}`);let ec=function(_){let C="",L=_.indexOf("#");return -1!==L&&(C=_.slice(L)),C}(_.url);return _.fragmentIdentifier&&(ec=`#${L[el]?encode(_.fragmentIdentifier,L):_.fragmentIdentifier}`),`${Z}${eu}${ec}`},C.pick=(_,L,Z)=>{Z=Object.assign({parseFragmentIdentifier:!0,[el]:!1},Z);let{url:ea,query:es,fragmentIdentifier:eu}=C.parseUrl(_,Z);return C.stringifyUrl({url:ea,query:eo(es,L),fragmentIdentifier:eu},Z)},C.exclude=(_,L,Z)=>{let ea=Array.isArray(L)?_=>!L.includes(_):(_,C)=>!L(_,C);return C.pick(_,ea,Z)}},58297:function(_,C,L){"use strict";var Z=L(52983),ea=L(14908);function ownKeys(_,C){var L=Object.keys(_);if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(_);C&&(Z=Z.filter(function(C){return Object.getOwnPropertyDescriptor(_,C).enumerable})),L.push.apply(L,Z)}return L}function _objectSpread2(_){for(var C=1;C<arguments.length;C++){var L=null!=arguments[C]?arguments[C]:{};C%2?ownKeys(Object(L),!0).forEach(function(C){var Z,ea;Z=C,ea=L[C],(Z=function(_){var C=function(_,C){if("object"!=typeof _||null===_)return _;var L=_[Symbol.toPrimitive];if(void 0!==L){var Z=L.call(_,C||"default");if("object"!=typeof Z)return Z;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===C?String:Number)(_)}(_,"string");return"symbol"==typeof C?C:String(C)}(Z))in _?Object.defineProperty(_,Z,{value:ea,enumerable:!0,configurable:!0,writable:!0}):_[Z]=ea}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(L)):ownKeys(Object(L)).forEac
3050h(function(C){Object.defineProperty(_,C,Object.getOwnPropertyDescriptor(L,C))})}return _}function _extends(){return(_extends=Object.assign?Object.assign.bind():function(_){for(var C=1;C<arguments.length;C++){var L=arguments[C];for(var Z in L)Object.prototype.hasOwnProperty.call(L,Z)&&(_[Z]=L[Z])}return _}).apply(this,arguments)}function _objectWithoutProperties(_,C){if(null==_)return{};var L,Z,ea=function(_,C){if(null==_)return{};var L,Z,ea={},es=Object.keys(_);for(Z=0;Z<es.length;Z++)L=es[Z],C.indexOf(L)>=0||(ea[L]=_[L]);return ea}(_,C);if(Object.getOwnPropertySymbols){var es=Object.getOwnPropertySymbols(_);for(Z=0;Z<es.length;Z++)L=es[Z],!(C.indexOf(L)>=0)&&Object.prototype.propertyIsEnumerable.call(_,L)&&(ea[L]=_[L])}return ea}function _arrayLikeToArray(_,C){(null==C||C>_.length)&&(C=_.length);for(var L=0,Z=Array(C);L<C;L++)Z[L]=_[L];return Z}var es="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?Z.useLayoutEffect:Z.useEffect;function useEventCallback(_){var C=Z.useRef(_);return es(function(){C.current=_}),Z.useCallback(function(){for(var _=arguments.length,L=Array(_),Z=0;Z<_;Z++)L[Z]=arguments[Z];return C.current.apply(void 0,L)},[])}var createCountUpInstance=function(_,C){var L=C.decimal,Z=C.decimals,es=C.duration,eo=C.easingFn,el=C.end,eu=C.formattingFn,ec=C.numerals,ed=C.prefix,eh=C.separator,ep=C.start,ef=C.suffix,em=C.useEasing,eb=C.useGrouping,ey=C.useIndianSeparators,eg=C.enableScrollSpy,ev=C.scrollSpyDelay,ex=C.scrollSpyOnce,e_=C.plugin;return new ea.CountUp(_,el,{startVal:ep,duration:es,decimal:L,decimalPlaces:Z,easingFn:eo,formattingFn:eu,numerals:ec,separator:eh,prefix:ed,suffix:ef,plugin:e_,useEasing:em,useIndianSeparators:ey,useGrouping:eb,enableScrollSpy:eg,scrollSpyDelay:ev,scrollSpyOnce:ex})},eo=["ref","startOnMount","enableReinitialize","delay","onEnd","onStart","onPauseResume","onReset","onUpdate"],el={decimal:".",separator:",",delay:null,prefix:"",suffix:"",duration:2,start:0,decimals:0,startOnMount:!0,enableReinitialize:!0,useEasing:!0,useGrouping:!0,useIndianSeparators:!1},useCountUp=function(_){var C=Object.fromEntries(Object.entries(_).filter(function(_){return void 0!==(function(_){if(Array.isArray(_))return _}(_)||function(_,C){var L=null==_?null:"undefined"!=typeof Symbol&&_[Symbol.iterator]||_["@@iterator"];if(null!=L){var Z,ea,es,eo,el=[],eu=!0,ec=!1;try{if(es=(L=L.call(_)).next,0===C){if(Object(L)!==L)return;eu=!1}else for(;!(eu=(Z=es.call(L)).done)&&(el.push(Z.value),el.length!==C);eu=!0);}catch(_){ec=!0,ea=_}finally{try{if(!eu&&null!=L.return&&(eo=L.return(),Object(eo)!==eo))return}finally{if(ec)throw ea}}return el}}(_,2)||function(_,C){if(_){if("string"==typeof _)return _arrayLikeToArray(_,C);var L=Object.prototype.toString.call(_).slice(8,-1);if("Object"===L&&_.constructor&&(L=_.constructor.name),"Map"===L||"Set"===L)return Array.from(_);if("Arguments"===L||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(L))return _arrayLikeToArray(_,C)}}(_,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[1]})),L=Z.useMemo(function(){return _objectSpread2(_objectSpread2({},el),C)},[_]),ea=L.ref,es=L.startOnMount,eu=L.enableReinitialize,ec=L.delay,ed=L.onEnd,eh=L.onStart,ep=L.onPauseResume,ef=L.onReset,em=L.onUpdate,eb=_objectWithoutProperties(L,eo),ey=Z.useRef(),eg=Z.useRef(),ev=Z.useRef(!1),ex=useEventCallback(function(){return createCountUpInstance("string"==typeof ea?ea:ea.current,eb)}),e_=useEventCallback(function(_){var C=ey.current;if(C&&!_)return C;var L=ex();return ey.current=L,L}),ew=useEventCallback(function(){var run=function(){return e_(!0).start(function(){null==ed||ed({pauseResume:eC,reset:eT,start:ek,update:eq})})};ec&&ec>0?eg.current=setTimeout(run,1e3*ec):run(),null==eh||eh({pauseResume:eC,reset:eT,update:eq})}),eC=useEventCallback(function(){e_().pauseResume(),null==ep||ep({reset:eT,start:ek,update:eq})}),eT=useEventCallback(function(){e_().el&&(eg.current&&clearTimeout(eg.current),e_().reset(),null==ef||ef({pauseResume:eC,start:ek,update:eq}))}
3050),eq=useEventCallback(function(_){e_().update(_),null==em||em({pauseResume:eC,reset:eT,start:ek})}),ek=useEventCallback(function(){eT(),ew()}),eS=useEventCallback(function(_){es&&(_&&eT(),ew())});return Z.useEffect(function(){ev.current?eu&&eS(!0):(ev.current=!0,eS())},[eu,ev,eS,ec,_.start,_.suffix,_.prefix,_.duration,_.separator,_.decimals,_.decimal,_.formattingFn]),Z.useEffect(function(){return function(){eT()}},[eT]),{start:ek,pauseResume:eC,reset:eT,update:eq,getCountUp:e_}},eu=["className","redraw","containerProps","children","style"];C.ZP=function(_){var C=_.className,L=_.redraw,ea=_.containerProps,es=_.children,eo=_.style,el=_objectWithoutProperties(_,eu),ec=Z.useRef(null),ed=Z.useRef(!1),eh=useCountUp(_objectSpread2(_objectSpread2({},el),{},{ref:ec,startOnMount:"function"!=typeof es||0===_.delay,enableReinitialize:!1})),ep=eh.start,ef=eh.reset,em=eh.update,eb=eh.pauseResume,ey=eh.getCountUp,eg=useEventCallback(function(){ep()}),ev=useEventCallback(function(C){_.preserveValue||ef(),em(C)}),ex=useEventCallback(function(){if("function"==typeof _.children&&!(ec.current instanceof Element)){console.error('Couldn\'t find attached element to hook the CountUp instance into! Try to attach "containerRef" from the render prop to a an Element, eg. <span ref={containerRef} />.');return}ey()});Z.useEffect(function(){ex()},[ex]),Z.useEffect(function(){ed.current&&ev(_.end)},[_.end,ev]);var e_=L&&_;return(Z.useEffect(function(){L&&ed.current&&eg()},[eg,L,e_]),Z.useEffect(function(){!L&&ed.current&&eg()},[eg,L,_.start,_.suffix,_.prefix,_.duration,_.separator,_.decimals,_.decimal,_.className,_.formattingFn]),Z.useEffect(function(){ed.current=!0},[]),"function"==typeof es)?es({countUpRef:ec,start:ep,reset:ef,update:em,pauseResume:eb,getCountUp:ey}):Z.createElement("span",_extends({className:C,ref:ec,style:eo},ea),void 0!==_.start?ey().formattingFn(_.start):"")}},42199:function(_,C,L){"use strict";var Z,ea,es,eo,el,eu,ec=L(52983);ec&&"object"==typeof ec&&"default"in ec&&ec.default;var ed=L(75827),eh=new ed,ep=eh.getBrowser(),ef=eh.getCPU(),em=eh.getDevice(),eb=eh.getEngine(),ey=eh.getOS(),eg=eh.getUA(),ev={Mobile:"mobile",Tablet:"tablet",SmartTv:"smarttv",Console:"console",Wearable:"wearable",Embedded:"embedded",Browser:void 0},ex={Chrome:"Chrome",Firefox:"Firefox",Opera:"Opera",Yandex:"Yandex",Safari:"Safari",InternetExplorer:"Internet Explorer",Edge:"Edge",Chromium:"Chromium",Ie:"IE",MobileSafari:"Mobile Safari",MIUI:"MIUI Browser",SamsungBrowser:"Samsung Browser"},setDefaults=function(_){var C=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none";return _||C},getNavigatorInstance=function(){return!!("undefined"!=typeof window&&(window.navigator||navigator))&&(window.navigator||navigator)},isIOS13Check=function(_){var C=getNavigatorInstance();return C&&C.platform&&(-1!==C.platform.indexOf(_)||"MacIntel"===C.platform&&C.maxTouchPoints>1&&!window.MSStream)},isBrowserType=function(_){return _.type===ev.Browser},isEdgeType=function(_){return _.name===ex.Edge},isEdgeChromiumType=function(_){return"string"==typeof _&&-1!==_.indexOf("Edg/")},getIPad13=function(){return isIOS13Check("iPad")};em.type,ev.SmartTv,em.type,ev.Console,em.type,ev.Wearable,em.type,ev.Embedded,ep.name===ex.MobileSafari||getIPad13(),ep.name,ex.Chromium;var e_=(Z=em.type)===ev.Mobile||Z===ev.Tablet||getIPad13(),ew=(em.type,ev.Mobile,em.type===ev.Tablet||getIPad13(),isBrowserType(em),isBrowserType(em),ey.name,ey.name,"iOS"===ey.name||getIPad13(),ep.name,ex.Chrome,ep.name===ex.Firefox);(ea=ep.name)===ex.Safari||ex.MobileSafari,ep.name,ex.Opera,(es=ep.name)===ex.InternetExplorer||ex.Ie,setDefaults(ey.version),setDefaults(ey.name),setDefaults(ep.version),setDefaults(ep.major),setDefaults(ep.name),setDefaults(em.vendor),setDefaults(em.model),setDefaults(eb.name),setDefaults(eb.version),setDefaults(eg),isEdgeType(ep)||isEdgeChromiumType(eg),ep.name,ex.Yandex,setDefaults(em.type,"browser"),(eo=getNavigatorInstance())&&(/iPad|iPhone|iPod/.test(eo.platform)||"MacIntel"===eo.platform&&eo.maxTouchPoints>1)&&window.MSStream,getIPad13(),isIOS13Check("iPhone"),isIOS13Check("iPod"),"string"==typeof(eu=(el=getNavigatorInstance())&&el.userAgent&&el.userAgent.toLowerCase())&&/electron/.test(eu),isEdgeChromiumType(eg),isEdgeType(ep)&&isEdgeChromiumType(eg),ey.name,ey.name,ep.name,ex.MIUI,ep.name,ex.SamsungBrowser,C.vU=ew,C.tq=e_}
vendor: 6,054 bytes, lines 3050-3057
3050,81690:function(_){var C="undefined"!=typeof Element,L="function"==typeof Map,Z="function"==typeof Set,ea="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;_.exports=function(_,es){try{return function equal(_,es){if(_===es)return!0;if(_&&es&&"object"==typeof _&&"object"==typeof es){var eo,el,eu,ec;if(_.constructor!==es.constructor)return!1;if(Array.isArray(_)){if((eo=_.length)!=es.length)return!1;for(el=eo;0!=el--;)if(!equal(_[el],es[el]))return!1;return!0}if(L&&_ instanceof Map&&es instanceof Map){if(_.size!==es.size)return!1;for(ec=_.entries();!(el=ec.next()).done;)if(!es.has(el.value[0]))return!1;for(ec=_.entries();!(el=ec.next()).done;)if(!equal(el.value[1],es.get(el.value[0])))return!1;return!0}if(Z&&_ instanceof Set&&es instanceof Set){if(_.size!==es.size)return!1;for(ec=_.entries();!(el=ec.next()).done;)if(!es.has(el.value[0]))return!1;return!0}if(ea&&ArrayBuffer.isView(_)&&ArrayBuffer.isView(es)){if((eo=_.length)!=es.length)return!1;for(el=eo;0!=el--;)if(_[el]!==es[el])return!1;return!0}if(_.constructor===RegExp)return _.source===es.source&&_.flags===es.flags;if(_.valueOf!==Object.prototype.valueOf&&"function"==typeof _.valueOf&&"function"==typeof es.valueOf)return _.valueOf()===es.valueOf();if(_.toString!==Object.prototype.toString&&"function"==typeof _.toString&&"function"==typeof es.toString)return _.toString()===es.toString();if((eo=(eu=Object.keys(_)).length)!==Object.keys(es).length)return!1;for(el=eo;0!=el--;)if(!Object.prototype.hasOwnProperty.call(es,eu[el]))return!1;if(C&&_ instanceof Element)return!1;for(el=eo;0!=el--;)if(("_owner"!==eu[el]&&"__v"!==eu[el]&&"__o"!==eu[el]||!_.$$typeof)&&!equal(_[eu[el]],es[eu[el]]))return!1;return!0}return _!=_&&es!=es}(_,es)}catch(_){if((_.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw _}}},4507:function(_,C){"use strict";/** @license React v16.13.1
3051 * react-is.production.min.js
3052 *
3053 * Copyright (c) Facebook, Inc. and its affiliates.
3054 *
3055 * This source code is licensed under the MIT license found in the
3056 * LICENSE file in the root directory of this source tree.
3057 */var L="function"==typeof Symbol&&Symbol.for,Z=L?Symbol.for("react.element"):60103,ea=L?Symbol.for("react.portal"):60106,es=L?Symbol.for("react.fragment"):60107,eo=L?Symbol.for("react.strict_mode"):60108,el=L?Symbol.for("react.profiler"):60114,eu=L?Symbol.for("react.provider"):60109,ec=L?Symbol.for("react.context"):60110,ed=L?Symbol.for("react.async_mode"):60111,eh=L?Symbol.for("react.concurrent_mode"):60111,ep=L?Symbol.for("react.forward_ref"):60112,ef=L?Symbol.for("react.suspense"):60113,em=L?Symbol.for("react.suspense_list"):60120,eb=L?Symbol.for("react.memo"):60115,ey=L?Symbol.for("react.lazy"):60116,eg=L?Symbol.for("react.block"):60121,ev=L?Symbol.for("react.fundamental"):60117,ex=L?Symbol.for("react.responder"):60118,e_=L?Symbol.for("react.scope"):60119;function z(_){if("object"==typeof _&&null!==_){var C=_.$$typeof;switch(C){case Z:switch(_=_.type){case ed:case eh:case es:case el:case eo:case ef:return _;default:switch(_=_&&_.$$typeof){case ec:case ep:case ey:case eb:case eu:return _;default:return C}}case ea:return C}}}function A(_){return z(_)===eh}C.AsyncMode=ed,C.ConcurrentMode=eh,C.ContextConsumer=ec,C.ContextProvider=eu,C.Element=Z,C.ForwardRef=ep,C.Fragment=es,C.Lazy=ey,C.Memo=eb,C.Portal=ea,C.Profiler=el,C.StrictMode=eo,C.Suspense=ef,C.isAsyncMode=function(_){return A(_)||z(_)===ed},C.isConcurrentMode=A,C.isContextConsumer=function(_){return z(_)===ec},C.isContextProvider=function(_){return z(_)===eu},C.isElement=function(_){return"object"==typeof _&&null!==_&&_.$$typeof===Z},C.isForwardRef=function(_){return z(_)===ep},C.isFragment=function(_){return z(_)===es},C.isLazy=function(_){return z(_)===ey},C.isMemo=function(_){return z(_)===eb},C.isPortal=function(_){return z(_)===ea},C.isProfiler=function(_){return z(_)===el},C.isStrictMode=function(_){return z(_)===eo},C.isSuspense=function(_){return z(_)===ef},C.isValidElementType=function(_){return"string"==typeof _||"function"==typeof _||_===es||_===eh||_===el||_===eo||_===ef||_===em||"object"==typeof _&&null!==_&&(_.$$typeof===ey||_.$$typeof===eb||_.$$typeof===eu||_.$$typeof===ec||_.$$typeof===ep||_.$$typeof===ev||_.$$typeof===ex||_.$$typeof===e_||_.$$typeof===eg)},C.typeOf=z},99415:function(_,C,L){"use strict";_.exports=L(4507)},80208:function(_,C){"use strict";Symbol.for("react.element"),Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.provider"),Symbol.for("react.context"),Symbol.for("react.server_context"),Symbol.for("react.forward_ref"),Symbol.for("react.suspense"),Symbol.for("react.suspense_list"),Symbol.for("react.memo"),Symbol.for("react.lazy"),Symbol.for("react.offscreen"),Symbol.for("react.module.reference")},39999:function(_,C,L){"use strict";L(80208)},78263:function(_,C,L){"use strict";L.d(C,{D:function(){return usePopper}});var Z,ea,es,eo,el,eu=L(52983),ec=L(63730);function getWindow(_){if(null==_)return window;if("[object Window]"!==_.toString()){var C=_.ownerDocument;return C&&C.defaultView||window}return _}function isElement(_){var C=getWindow(_).Element;return _ instanceof C||_ instanceof Element}function isHTMLElement(_){var C=getWindow(_).HTMLElement;return _ instanceof C||_ instanceof HTMLElement}function isShadowRoot(_){if("undefined"==typeof ShadowRoot)return!1;var C=getWindow(_).ShadowRoot;return _ instanceof C||_ instanceof ShadowRoot}var ed=Math.max,eh=Math.min,ep=Math.round;function getUAString(){var _=navigator.userAgentData;return null!=_&&_.brands&&Array.isArray(_.brands)?_.brands.map(function(_){return _.brand+"/"+_.version}).join(" "):navigator.userAgent}function isLayoutViewport(){return!/^((?!chrome|android).)*safari/i.test(getUAString())}function getBoundingClientRect(_,C,L){void 0===C&&(C=!1),void 0===L&&(L=!1);var Z=_.getBoundingClientRect(),ea=1,es=1;C&&isHTMLElement(_)&&(ea=_.offsetWidth>0&&ep(Z.width)/_.offsetWidth||1,es=_.offsetHeight>0&&ep(Z.height)/_.offsetHeight||1);
vendor: 6,109 bytes, line 3057
3057var eo=(isElement(_)?getWindow(_):window).visualViewport,el=!isLayoutViewport()&&L,eu=(Z.left+(el&&eo?eo.offsetLeft:0))/ea,ec=(Z.top+(el&&eo?eo.offsetTop:0))/es,ed=Z.width/ea,eh=Z.height/es;return{width:ed,height:eh,top:ec,right:eu+ed,bottom:ec+eh,left:eu,x:eu,y:ec}}function getWindowScroll(_){var C=getWindow(_);return{scrollLeft:C.pageXOffset,scrollTop:C.pageYOffset}}function getNodeName(_){return _?(_.nodeName||"").toLowerCase():null}function getDocumentElement(_){return((isElement(_)?_.ownerDocument:_.document)||window.document).documentElement}function getWindowScrollBarX(_){return getBoundingClientRect(getDocumentElement(_)).left+getWindowScroll(_).scrollLeft}function getComputedStyle(_){return getWindow(_).getComputedStyle(_)}function isScrollParent(_){var C=getComputedStyle(_),L=C.overflow,Z=C.overflowX,ea=C.overflowY;return/auto|scroll|overlay|hidden/.test(L+ea+Z)}function getLayoutRect(_){var C=getBoundingClientRect(_),L=_.offsetWidth,Z=_.offsetHeight;return 1>=Math.abs(C.width-L)&&(L=C.width),1>=Math.abs(C.height-Z)&&(Z=C.height),{x:_.offsetLeft,y:_.offsetTop,width:L,height:Z}}function getParentNode(_){return"html"===getNodeName(_)?_:_.assignedSlot||_.parentNode||(isShadowRoot(_)?_.host:null)||getDocumentElement(_)}function listScrollParents(_,C){void 0===C&&(C=[]);var L,Z=function getScrollParent(_){return["html","body","#document"].indexOf(getNodeName(_))>=0?_.ownerDocument.body:isHTMLElement(_)&&isScrollParent(_)?_:getScrollParent(getParentNode(_))}(_),ea=Z===(null==(L=_.ownerDocument)?void 0:L.body),es=getWindow(Z),eo=ea?[es].concat(es.visualViewport||[],isScrollParent(Z)?Z:[]):Z,el=C.concat(eo);return ea?el:el.concat(listScrollParents(getParentNode(eo)))}function getTrueOffsetParent(_){return isHTMLElement(_)&&"fixed"!==getComputedStyle(_).position?_.offsetParent:null}function getOffsetParent(_){for(var C=getWindow(_),L=getTrueOffsetParent(_);L&&["table","td","th"].indexOf(getNodeName(L))>=0&&"static"===getComputedStyle(L).position;)L=getTrueOffsetParent(L);return L&&("html"===getNodeName(L)||"body"===getNodeName(L)&&"static"===getComputedStyle(L).position)?C:L||function(_){var C=/firefox/i.test(getUAString());if(/Trident/i.test(getUAString())&&isHTMLElement(_)&&"fixed"===getComputedStyle(_).position)return null;var L=getParentNode(_);for(isShadowRoot(L)&&(L=L.host);isHTMLElement(L)&&0>["html","body"].indexOf(getNodeName(L));){var Z=getComputedStyle(L);if("none"!==Z.transform||"none"!==Z.perspective||"paint"===Z.contain||-1!==["transform","perspective"].indexOf(Z.willChange)||C&&"filter"===Z.willChange||C&&Z.filter&&"none"!==Z.filter)return L;L=L.parentNode}return null}(_)||C}var ef="bottom",em="right",eb="left",ey="auto",eg=["top",ef,em,eb],ev="start",ex="viewport",e_="popper",ew=eg.reduce(function(_,C){return _.concat([C+"-"+ev,C+"-end"])},[]),eC=[].concat(eg,[ey]).reduce(function(_,C){return _.concat([C,C+"-"+ev,C+"-end"])},[]),eT=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],eq={placement:"bottom",modifiers:[],strategy:"absolute"};function areValidElements(){for(var _=arguments.length,C=Array(_),L=0;L<_;L++)C[L]=arguments[L];return!C.some(function(_){return!(_&&"function"==typeof _.getBoundingClientRect)})}var ek={passive:!0};function getBasePlacement(_){return _.split("-")[0]}function getVariation(_){return _.split("-")[1]}function getMainAxisFromPlacement(_){return["top","bottom"].indexOf(_)>=0?"x":"y"}function computeOffsets(_){var C,L=_.reference,Z=_.element,ea=_.placement,es=ea?getBasePlacement(ea):null,eo=ea?getVariation(ea):null,el=L.x+L.width/2-Z.width/2,eu=L.y+L.height/2-Z.height/2;switch(es){case"top":C={x:el,y:L.y-Z.height};break;case ef:C={x:el,y:L.y+L.height};break;case em:C={x:L.x+L.width,y:eu};break;case eb:C={x:L.x-Z.width,y:eu};break;default:C={x:L.x,y:L.y}}var ec=es?getMainAxisFromPlacement(es):null;if(null!=ec){var ed="y"===ec?"height":"width";switch(eo){case ev:C[ec]=C[ec]-(L[ed]/2-Z[ed]/2);break;case"end":C[ec]=C[ec]+(L[ed]/2-Z[ed]/2)}}return C}var eS={top:"auto",right:"auto",bottom:"auto",left:"auto"};function mapToStyles(_){var C,L,Z,ea,es,eo,el,eu=_.popper,ec=_.popperRect,ed=_.placement,eh=_.variation,ey=_.offsets,eg=_.position,ev=_.gpuAcceleration,ex=_.adaptive,e_=_.roundOffsets,ew=_.isFixed,eC=ey.x,eT=void 0===eC?0:eC,eq=ey.y,ek=void 0===eq?0:eq,eE="function"==typeof e_?e_({x:eT,y:ek}):{x:eT,y:ek};eT=eE.x,ek=eE.y;var eM=ey.hasOwnProperty("x"),ej=ey.hasOwnProperty("y"),eA=eb,eD="top",eI=window;if(ex){var eO=getOffsetParent(eu),eP="clientHeight",eN="clientWidth";eO===getWindow(eu)&&"static"!==getComputedStyle(eO=getDocumentElement(eu)).position&&"absolute"===eg&&(eP="scrollHeight",eN="scrollWidth"),("top"===ed||(ed===eb||ed===em)&&"end"===eh)&&(eD=ef,ek-=(ew&&eO===eI&&eI.visualViewport?eI.visualViewport.height:eO[eP])-ec.height,ek*=ev?1:-1),(ed===eb||("top"===ed||ed===ef)&&"end"===eh)&&(eA=em,eT-=(ew&&eO===eI&&eI.visualViewport?eI.visualViewport.width:eO[eN])-ec.width,eT*=ev?1:-1)}var eL=Object.assign({position:eg},ex&&eS),eR=!0===e_?(C={x:eT,y:ek},L=getWindow(eu),Z=C.x,ea=C.y,{x:ep(Z*(es=L.devicePixelRatio||1))/es||0,y:ep(ea*es)/es||0}):{x:eT,y:ek};return(eT=eR.x,ek=eR.y,ev)?Object.assign({},eL,((el={})[eD]=ej?"0":"",el[eA]=eM?"0":"",el.transform=1>=(eI.devicePixelRatio||1)?"translate("+eT+"px, "+ek+"px)":"translate3d("+eT+"px, "+ek+"px, 0)",el)):Object.assign({},eL,((eo={})[eD]=ej?ek+"px":"",eo[eA]=eM?eT+"px":"",eo.transform="",eo))}var eE={left:"right",right:"left",bottom:"top",top:"bottom"};function getOppositePlacement(_){return _.replace(/left|right|bottom|top/g,function(_){return eE[_]})}var eM={start:"end",end:"start"};function getOppositeVariationPlacement(_){return _.replace(/start|end/g,function(_){return eM[_]})}function contains(_,C){var L=C.getRootNode&&C.getRootNode();if(_.contains(C))return!0;if(L&&isShadowRoot(L)){var Z=C;do{if(Z&&_.isSameNode(Z))return!0;Z=Z.parentNode||Z.host}while(Z)}return!1}function rectToClientRect(_){return Object.assign({},_,{left:_.x,top:_.y,right:_.x+_.width,bottom:_.y+_.height})}function getClientRectFromMixedType(_,C,L){var Z,ea,es,eo,el,eu,ec,eh,ep,ef;
3057return C===ex?rectToClientRect(function(_,C){var L=getWindow(_),Z=getDocumentElement(_),ea=L.visualViewport,es=Z.clientWidth,eo=Z.clientHeight,el=0,eu=0;if(ea){es=ea.width,eo=ea.height;var ec=isLayoutViewport();(ec||!ec&&"fixed"===C)&&(el=ea.offsetLeft,eu=ea.offsetTop)}return{width:es,height:eo,x:el+getWindowScrollBarX(_),y:eu}}(_,L)):isElement(C)?((Z=getBoundingClientRect(C,!1,"fixed"===L)).top=Z.top+C.clientTop,Z.left=Z.left+C.clientLeft,Z.bottom=Z.top+C.clientHeight,Z.right=Z.left+C.clientWidth,Z.width=C.clientWidth,Z.height=C.clientHeight,Z.x=Z.left,Z.y=Z.top,Z):rectToClientRect((ea=getDocumentElement(_),eo=getDocumentElement(ea),el=getWindowScroll(ea),eu=null==(es=ea.ownerDocument)?void 0:es.body,ec=ed(eo.scrollWidth,eo.clientWidth,eu?eu.scrollWidth:0,eu?eu.clientWidth:0),eh=ed(eo.scrollHeight,eo.clientHeight,eu?eu.scrollHeight:0,eu?eu.clientHeight:0),ep=-el.scrollLeft+getWindowScrollBarX(ea),ef=-el.scrollTop,"rtl"===getComputedStyle(eu||eo).direction&&(ep+=ed(eo.clientWidth,eu?eu.clientWidth:0)-ec),{width:ec,height:eh,x:ep,y:ef}))}function getFreshSideObject(){return{top:0,right:0,bottom:0,left:0}}function mergePaddingObject(_){return Object.assign({},getFreshSideObject(),_)}function expandToHashMap(_,C){return C.reduce(function(C,L){return C[L]=_,C},{})}function detectOverflow(_,C){void 0===C&&(C={});var L,Z,ea,es,eo,el,eu,ec=C,ep=ec.placement,eb=void 0===ep?_.placement:ep,ey=ec.strategy,ev=void 0===ey?_.strategy:ey,ew=ec.boundary,eC=ec.rootBoundary,eT=ec.elementContext,eq=void 0===eT?e_:eT,ek=ec.altBoundary,eS=ec.padding,eE=void 0===eS?0:eS,eM=mergePaddingObject("number"!=typeof eE?eE:expandToHashMap(eE,eg)),ej=_.rects.popper,eA=_.elements[void 0!==ek&&ek?eq===e_?"reference":e_:eq],eD=(L=isElement(eA)?eA:eA.contextElement||getDocumentElement(_.elements.popper),el=(eo=[].concat("clippingParents"===(Z=void 0===ew?"clippingParents":ew)?(ea=listScrollParents(getParentNode(L)),isElement(es=["absolute","fixed"].indexOf(getComputedStyle(L).position)>=0&&isHTMLElement(L)?getOffsetParent(L):L)?ea.filter(function(_){return isElement(_)&&contains(_,es)&&"body"!==getNodeName(_)}):[]):[].concat(Z),[void 0===eC?ex:eC]))[0],(eu=eo.reduce(function(_,C){var Z=getClientRectFromMixedType(L,C,ev);return _.top=ed(Z.top,_.top),_.right=eh(Z.right,_.right),_.bottom=eh(Z.bottom,_.bottom),_.left=ed(Z.left,_.left),_},getClientRectFromMixedType(L,el,ev))).width=eu.right-eu.left,eu.height=eu.bottom-eu.top,eu.x=eu.left,eu.y=eu.top,eu),eI=getBoundingClientRect(_.elements.reference),eO=computeOffsets({reference:eI,element:ej,strategy:"absolute",placement:eb}),eP=rectToClientRect(Object.assign({},ej,eO)),eN=eq===e_?eP:eI,eL={top:eD.top-eN.top+eM.top,bottom:eN.bottom-eD.bottom+eM.bottom,left:eD.left-eN.left+eM.left,right:eN.right-eD.right+eM.right},eR=_.modifiersData.offset;if(eq===e_&&eR){var eB=eR[eb];Object.keys(eL).forEach(function(_){var C=[em,ef].indexOf(_)>=0?1:-1,L=["top",ef].indexOf(_)>=0?"y":"x";eL[_]+=eB[L]*C})}return eL}function within(_,C,L){return ed(_,eh(C,L))}function getSideOffsets(_,C,L){return void 0===L&&(L={x:0,y:0}),{top:_.top-C.height-L.y,right:_.right-C.width+L.x,bottom:_.bottom-C.height+L.y,left:_.left-C.width-L.x}}function isAnySideFullyClipped(_){return["top",em,ef,eb].some(function(C){return _[C]>=0})}var ej=(es=void 0===(ea=(Z={defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(_){var C=_.state,L=_.instance,Z=_.options,ea=Z.scroll,es=void 0===ea||ea,eo=Z.resize,el=void 0===eo||eo,eu=getWindow(C.elements.popper),ec=[].concat(C.scrollParents.reference,C.scrollParents.popper);return es&&ec.forEach(function(_){_.addEventListener("scroll",L.update,ek)}),el&&eu.addEventListener("resize",L.update,ek),function(){es&&ec.forEach(function(_){_.removeEventListener("scroll",L.update,ek)}),el&&eu.removeEventListener("resize",L.update,ek)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(_){var C=_.state,L=_.name;C.modifiersData[L]=computeOffsets({reference:C.rects.reference,element:C.rects.popper,strategy:"absolute",placement:C.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(_){var 
vendor: 9,304 bytes, line 3057
3057C=_.state,L=_.options,Z=L.gpuAcceleration,ea=L.adaptive,es=L.roundOffsets,eo=void 0===es||es,el={placement:getBasePlacement(C.placement),variation:getVariation(C.placement),popper:C.elements.popper,popperRect:C.rects.popper,gpuAcceleration:void 0===Z||Z,isFixed:"fixed"===C.options.strategy};null!=C.modifiersData.popperOffsets&&(C.styles.popper=Object.assign({},C.styles.popper,mapToStyles(Object.assign({},el,{offsets:C.modifiersData.popperOffsets,position:C.options.strategy,adaptive:void 0===ea||ea,roundOffsets:eo})))),null!=C.modifiersData.arrow&&(C.styles.arrow=Object.assign({},C.styles.arrow,mapToStyles(Object.assign({},el,{offsets:C.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:eo})))),C.attributes.popper=Object.assign({},C.attributes.popper,{"data-popper-placement":C.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(_){var C=_.state;Object.keys(C.elements).forEach(function(_){var L=C.styles[_]||{},Z=C.attributes[_]||{},ea=C.elements[_];isHTMLElement(ea)&&getNodeName(ea)&&(Object.assign(ea.style,L),Object.keys(Z).forEach(function(_){var C=Z[_];!1===C?ea.removeAttribute(_):ea.setAttribute(_,!0===C?"":C)}))})},effect:function(_){var C=_.state,L={popper:{position:C.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(C.elements.popper.style,L.popper),C.styles=L,C.elements.arrow&&Object.assign(C.elements.arrow.style,L.arrow),function(){Object.keys(C.elements).forEach(function(_){var Z=C.elements[_],ea=C.attributes[_]||{},es=Object.keys(C.styles.hasOwnProperty(_)?C.styles[_]:L[_]).reduce(function(_,C){return _[C]="",_},{});isHTMLElement(Z)&&getNodeName(Z)&&(Object.assign(Z.style,es),Object.keys(ea).forEach(function(_){Z.removeAttribute(_)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(_){var C=_.state,L=_.options,Z=_.name,ea=L.offset,es=void 0===ea?[0,0]:ea,eo=eC.reduce(function(_,L){var Z,ea,eo,el,eu,ec;return _[L]=(Z=C.rects,eo=[eb,"top"].indexOf(ea=getBasePlacement(L))>=0?-1:1,eu=(el="function"==typeof es?es(Object.assign({},Z,{placement:L})):es)[0],ec=el[1],eu=eu||0,ec=(ec||0)*eo,[eb,em].indexOf(ea)>=0?{x:ec,y:eu}:{x:eu,y:ec}),_},{}),el=eo[C.placement],eu=el.x,ec=el.y;null!=C.modifiersData.popperOffsets&&(C.modifiersData.popperOffsets.x+=eu,C.modifiersData.popperOffsets.y+=ec),C.modifiersData[Z]=eo}},{name:"flip",enabled:!0,phase:"main",fn:function(_){var C=_.state,L=_.options,Z=_.name;if(!C.modifiersData[Z]._skip){for(var ea=L.mainAxis,es=void 0===ea||ea,eo=L.altAxis,el=void 0===eo||eo,eu=L.fallbackPlacements,ec=L.padding,ed=L.boundary,eh=L.rootBoundary,ep=L.altBoundary,ex=L.flipVariations,e_=void 0===ex||ex,eT=L.allowedAutoPlacements,eq=C.options.placement,ek=getBasePlacement(eq)===eq,eS=eu||(ek||!e_?[getOppositePlacement(eq)]:function(_){if(getBasePlacement(_)===ey)return[];var C=getOppositePlacement(_);return[getOppositeVariationPlacement(_),C,getOppositeVariationPlacement(C)]}(eq)),eE=[eq].concat(eS).reduce(function(_,L){var Z,ea,es,eo,el,eu,ep,ef,em,eb,ev,ex;return _.concat(getBasePlacement(L)===ey?(ea=(Z={placement:L,boundary:ed,rootBoundary:eh,padding:ec,flipVariations:e_,allowedAutoPlacements:eT}).placement,es=Z.boundary,eo=Z.rootBoundary,el=Z.padding,eu=Z.flipVariations,ef=void 0===(ep=Z.allowedAutoPlacements)?eC:ep,0===(ev=(eb=(em=getVariation(ea))?eu?ew:ew.filter(function(_){return getVariation(_)===em}):eg).filter(function(_){return ef.indexOf(_)>=0})).length&&(ev=eb),Object.keys(ex=ev.reduce(function(_,L){return _[L]=detectOverflow(C,{placement:L,boundary:es,rootBoundary:eo,padding:el})[getBasePlacement(L)],_},{})).sort(function(_,C){return ex[_]-ex[C]})):L)},[]),eM=C.rects.reference,ej=C.rects.popper,eA=new Map,eD=!0,eI=eE[0],eO=0;eO<eE.length;eO++){var eP=eE[eO],eN=getBasePlacement(eP),eL=getVariation(eP)===ev,eR=["top",ef].indexOf(eN)>=0,eB=eR?"width":"height",eF=detectOverflow(C,{placement:eP,boundary:ed,rootBoundary:eh,altBoundary:ep,padding:ec}),eZ=eR?eL?em:eb:eL?ef:"top";eM[eB]>ej[eB]&&(eZ=getOppositePlacement(eZ));var ez=getOppositePlacement(eZ),eU=[];if(es&&eU.push(eF[eN]<=0),el&&eU.push(eF[eZ]<=0,eF[ez]<=0),eU.every(function(_){return _})){eI=eP,eD=!1;break}eA.set(eP,eU)}if(eD)for(var e$=e_?3:1,_loop=function(_){var C=eE.find(function(C){var L=eA.get(C);if(L)return L.slice(0,_).every(function(_){return _})});if(C)return eI=C,"break"},eV=e$;eV>0&&"break"!==_loop(eV);eV--);C.placement!==eI&&(C.modifiersData[Z]._skip=!0,C.placement=eI,C.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(_){var C=_.state,L=_.options,Z=_.name,ea=L.mainAxis,es=L.altAxis,eo=L.boundary,el=L.rootBoundary,eu=L.altBoundary,ec=L.padding,ep=L.tether,ey=void 0===ep||ep,eg=L.tetherOffset,ex=void 0===eg?0:eg,e_=detectOverflow(C,{boundary:eo,rootBoundary:el,padding:ec,altBoundary:eu}),ew=getBasePlacement(C.placement),eC=getVariation(C.placement),eT=!eC,eq=getMainAxisFromPlacement(ew),ek="x"===eq?"y":"x",eS=C.modifiersData.popperOffsets,eE=C.rects.reference,eM=C.rects.popper,ej="function"==typeof ex?ex(Object.assign({},C.rects,{placement:C.placement})):ex,eA="number"==typeof ej?{mainAxis:ej,altAxis:ej}:Object.assign({mainAxis:0,altAxis:0},ej),eD=C.modifiersData.offset?C.modifiersData.offset[C.placement]:null,eI={x:0,y:0};if(eS){if(void 0===ea||ea){var eO,eP="y"===eq?"top":eb,eN="y"===eq?ef:em,eL="y"===eq?"height":"width",eR=eS[eq],eB=eR+e_[eP],eF=eR-e_[eN],eZ=ey?-eM[eL]/2:0,ez=eC===ev?eE[eL]:eM[eL],eU=eC===ev?-eM[eL]:-eE[eL],e$=C.elements.arrow,eV=ey&&e$?getLayoutRect(e$):{width:0,height:0},eW=C.modifiersData["arrow#persistent"]?C.modifiersData["arrow#persistent"].padding:getFreshSideObject(),eH=eW[eP],eG=eW[eN],eK=within(0,eE[eL],eV[eL]),eX=eT?eE[eL]/2-eZ-eK-eH-eA.mainAxis:ez-eK-eH-eA.mainAxis,eY=eT?-eE[eL]/2+eZ+eK+eG+eA.mainAxis:eU+eK+eG+eA.mainAxis,eQ=C.elements.arrow&&getOffsetParent(C.elements.arrow),eJ=eQ?"y"===eq?eQ.clientTop||0:eQ.clientLeft||0:0,e1=null!=(eO=null==eD?void 0:eD[eq])?eO:0,e0=eR+eX-e1-eJ,e2=eR+eY-e1,e5=within(ey?eh(eB,e0):eB,eR,ey?ed(eF,e2):eF);eS[eq]=e5,eI[eq]=e5-eR}if(void 0!==es&&es){var e6,e3,e4="x"===eq?"top":eb,e8="x"===eq?ef:em,e9=eS[ek],e7="y"===ek?"height":"width",tr=e9+e_[e4],ta=e9-e_[e8],to=-1!==["top",eb].indexOf(ew),tl=null!=(e3=null==eD?void 0:eD[ek])?e3:0,tu=to?tr:e9-eE[e7]-eM[e7]-tl+eA.altAxis,tc=to?e9+eE[e7]+eM[e7]-tl-eA.altAxis:ta,td=ey&&to?(e6=within(tu,e9,tc))>tc?tc:e6:within(ey?tu:tr,e9,ey?tc:ta);eS[ek]=td,eI[ek]=td-e9}C.modifiersData[Z]=eI}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(_){var C,L,Z=_.state,ea=_.name,es=_.options,eo=Z.elements.arrow,el=Z.modifiersData.popperOffsets,eu=getBasePlacement(Z.placement),ec=getMainAxisFromPlacement(eu),ed=[eb,em].indexOf(eu)>=0?"height":"width";if(eo&&el){var eh=mergePaddingObject("number"!=typeof(C="function"==typeof(C=es.padding)?C(Object.assign({},Z.rects,{placement:Z.placement})):C)?C:expandToHashMap(C,eg)),ep=getLayoutRect(eo),ey="y"===ec?"top":eb,ev="y"===ec?ef:em,ex=Z.rects.reference[ed]+Z.rects.reference[ec]-el[ec]-Z.rects.popper[ed],e_=el[ec]-Z.rects.reference[ec],ew=getOffsetParent(eo),eC=ew?"y"===ec?ew.clientHeight||0:ew.clientWidth||0:0,eT=eh[ey],eq=eC-ep[ed]-eh[ev],ek=eC/2-ep[ed]/2+(ex/2-e_/2),eS=within(eT,ek,eq);Z.modifiersData[ea]=((L={})[ec]=eS,L.centerOffset=eS-ek,L)}},effect:function(_){var C=_.state,L=_.options.element,Z=void 0===L?"[data-popper-arrow]":L;null!=Z&&("string"!=typeof Z||(Z=C.elements.popper.querySelector(Z)))&&contains(C.elements.popper,Z)&&(C.elements.arrow=Z)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(_){var C=_.state,L=_.name,Z=C.rects.reference,ea=C.rects.popper,es=C.modifiersData.preventOverflow,eo=detectOverflow(C,{elementContext:"reference"}),el=detectOverflow(C,{altBoundary:!0}),eu=getSideOffsets(eo,Z),ec=getSideOffsets(el,ea,es),ed=isAnySideFullyClipped(eu),eh=isAnySideFullyClipped(ec);C.modifiersData[L]={referenceClippingOffsets:eu,popperEscapeOffsets:ec,isReferenceHidden:ed,hasPopperEscaped:eh},C.attributes.popper=Object.assign({},C.attributes.popper,{"data-popper-reference-hidden":ed,"data-popper-escaped":eh})}}]}).defaultModifiers)?[]:ea,el=void 0===(eo=Z.defaultOptions)?eq:eo,function(_,C,L){void 0===L&&(L=el);var Z,ea={placement:"bottom",orderedModifiers:[],options:Object.assign({},eq,el),modifiersData:{},elements:{reference:_,popper:C},attributes:{},styles:{}},eo=[],eu=!1,ec={state:ea,setOptions:function(L){var Z,eu,ed,eh,ep,ef="function"==typeof L?L(ea.options):L;cleanupModifierEffects(),ea.options=Object.assign({},el,ea.options,ef),ea.scrollParents={reference:isElement(_)?listScrollParents(_):_.contextElement?listScrollParents(_.contextElement):[],popper:listScrollParents(C)};var em=(eu=Object.keys(Z=[].concat(es,ea.options.modifiers).reduce(function(_,C){var L=_[C.name];return _[C.name]=L?Object.assign({},L,C,{options:Object.assign({},L.options,C.options),data:Object.assign({},L.data,C.data)}):C,_},{})).map(function(_){return Z[_]}),ed=new Map,eh=new Set,ep=[],eu.forEach(function(_){ed.set(_.name,_)}),eu.forEach(function(_){eh.has(_.name)||function sort(_){eh.add(_.name),[].concat(_.requires||[],_.requiresIfExists||[]).forEac
3057h(function(_){if(!eh.has(_)){var C=ed.get(_);C&&sort(C)}}),ep.push(_)}(_)}),eT.reduce(function(_,C){return _.concat(ep.filter(function(_){return _.phase===C}))},[]));return ea.orderedModifiers=em.filter(function(_){return _.enabled}),ea.orderedModifiers.forEach(function(_){var C=_.name,L=_.options,Z=_.effect;if("function"==typeof Z){var es=Z({state:ea,name:C,instance:ec,options:void 0===L?{}:L});eo.push(es||function(){})}}),ec.update()},forceUpdate:function(){if(!eu){var _,C,L,Z,es,eo,el,ed,eh,ef,em,eb,ey=ea.elements,eg=ey.reference,ev=ey.popper;if(areValidElements(eg,ev)){ea.rects={reference:(C=getOffsetParent(ev),L="fixed"===ea.options.strategy,Z=isHTMLElement(C),ed=isHTMLElement(C)&&(eo=ep((es=C.getBoundingClientRect()).width)/C.offsetWidth||1,el=ep(es.height)/C.offsetHeight||1,1!==eo||1!==el),eh=getDocumentElement(C),ef=getBoundingClientRect(eg,ed,L),em={scrollLeft:0,scrollTop:0},eb={x:0,y:0},(Z||!Z&&!L)&&(("body"!==getNodeName(C)||isScrollParent(eh))&&(em=(_=C)!==getWindow(_)&&isHTMLElement(_)?{scrollLeft:_.scrollLeft,scrollTop:_.scrollTop}:getWindowScroll(_)),isHTMLElement(C)?(eb=getBoundingClientRect(C,!0),eb.x+=C.clientLeft,eb.y+=C.clientTop):eh&&(eb.x=getWindowScrollBarX(eh))),{x:ef.left+em.scrollLeft-eb.x,y:ef.top+em.scrollTop-eb.y,width:ef.width,height:ef.height}),popper:getLayoutRect(ev)},ea.reset=!1,ea.placement=ea.options.placement,ea.orderedModifiers.forEach(function(_){return ea.modifiersData[_.name]=Object.assign({},_.data)});for(var ex=0;ex<ea.orderedModifiers.length;ex++){if(!0===ea.reset){ea.reset=!1,ex=-1;continue}var e_=ea.orderedModifiers[ex],ew=e_.fn,eC=e_.options,eT=void 0===eC?{}:eC,eq=e_.name;"function"==typeof ew&&(ea=ew({state:ea,options:eT,name:eq,instance:ec})||ea)}}}},update:function(){return Z||(Z=new Promise(function(_){Promise.resolve().then(function(){Z=void 0,_(new Promise(function(_){ec.forceUpdate(),_(ea)}))})})),Z},destroy:function(){cleanupModifierEffects(),eu=!0}};if(!areValidElements(_,C))return ec;function cleanupModifierEffects(){eo.forEach(function(_){return _()}),eo=[]}return ec.setOptions(L).then(function(_){!eu&&L.onFirstUpdate&&L.onFirstUpdate(_)}),ec}),eA=L(81690),eD=L.n(eA),fromEntries=function(_){return _.reduce(function(_,C){var L=C[0],Z=C[1];return _[L]=Z,_},{})},eI="undefined"!=typeof window&&window.document&&window.document.createElement?eu.useLayoutEffect:eu.useEffect,eO=[],usePopper=function(_,C,L){void 0===L&&(L={});var Z=eu.useRef(null),ea={onFirstUpdate:L.onFirstUpdate,placement:L.placement||"bottom",strategy:L.strategy||"absolute",modifiers:L.modifiers||eO},es=eu.useState({styles:{popper:{position:ea.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),eo=es[0],el=es[1],ed=eu.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(_){var C=_.state,L=Object.keys(C.elements);ec.flushSync(function(){el({styles:fromEntries(L.map(function(_){return[_,C.styles[_]||{}]})),attributes:fromEntries(L.map(function(_){return[_,C.attributes[_]]}))})})},requires:["computeStyles"]}},[]),eh=eu.useMemo(function(){var _={onFirstUpdate:ea.onFirstUpdate,placement:ea.placement,strategy:ea.strategy,modifiers:[].concat(ea.modifiers,[ed,{name:"applyStyles",enabled:!1}])};return eD()(Z.current,_)?Z.current||_:(Z.current=_,_)},[ea.onFirstUpdate,ea.placement,ea.strategy,ea.modifiers,ed]),ep=eu.useRef();return eI(function(){ep.current&&ep.current.setOptions(eh)},[eh]),eI(function(){if(null!=_&&null!=C){var Z=(L.createPopper||ej)(_,C,eh);return ep.current=Z,function(){Z.destroy(),ep.current=null}}},[_,C,L.createPopper]),{state:ep.current?ep.current.state:null,styles:eo.styles,attributes:eo.attributes,update:ep.current?ep.current.update:null,forceUpdate:ep.current?ep.current.forceUpdate:null}}},47240:function(_,C,L){"use strict";L.d(C,{zt:function(){return components_Provider},dC:function(){return es.unstable_batchedUpdates},gR:function(){return createSelectorHook},I0:function(){return ey},v9:function(){return eh}});var Z=L(83576),ea=L(52014),es=L(63730);let batch=function(_){_()},getBatch=()=>batch;var eo=L(52983);let el=Symbol.for("react-redux-context"),eu="undefined"!=typeof globalThis?globalThis:{},ec=function(){var _;if(!eo.createContext)return{};let C=null!=(_=eu[el])?_:eu[el]=new Map,L=C.get(eo.createContext);return L||(L=eo.createContext(null),C.set(eo.createContext,L)),L}();function createReduxContextHook(_=ec){return function(){let C=(0,eo.useContext)(_);return C}}let ed=createReduxContextHook(),useSyncExternalStoreWithSelector=()=>{throw Error("uSES not initialized!")},refEquality=(_,C)=>_===C;function createSelectorHook(_=ec){let C=_===ec?ed:createReduxContextHook(_);return function(_,L={}){let{equalityFn:Z=refEquality,stabilityCheck:ea,noopCheck:es}="function"==typeof L?{equalityFn:L}:L,{store:el,subscription:eu,getServerState:ec,stabilityCheck:ed,noopCheck:eh}=C();(0,eo.useRef)(!0);let ep=(0,eo.useCallback)({[_.name](C){let L=_(C);return L}}[_.name],[_,ed,ea]),ef=useSyncExternalStoreWithSelector(eu.addNestedSub,el.getState,ec||el.getState,ep,Z);return(0,eo.useDebugValue)(ef),ef}}let eh=createSelectorHook();L(10063),L(39999);let ep={notify(){},get:()=>[]},ef=!!("undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement),em=ef?eo.useLayoutEffect:eo.useEffect;var components_Provider=function({store:_,context:C,children:L,serverState:Z,stabilityCheck:ea="once",noopCheck:es="once"}){let el=eo.useMemo(()=>{let C=function(_,C){let L;let Z=ep,ea=0,es=!1;function handleChangeWrapper(){eo.onStateChange&&eo.onStateChange()}function trySubscribe(){ea++,L||(L=C?C.addNestedSub(handleChangeWrapper):_.subscribe(handleChangeWrapper),Z=function(){let _=getBatch(),C=null,L=null;return{clear(){C=null,L=null},notify(){_(()=>{let _=C;for(;_;)_.callback(),_=_.next})},get(){let _=[],L=C;for(;L;)_.push(L),L=L.next;return _},subscribe(_){let Z=!0,ea=L={callback:_,next:null,prev:L};return ea.prev?ea.prev.next=ea:C=ea,function(){Z&&null!==C&&(Z=!1,ea.next?ea.next.prev=ea.prev:L=ea.prev,ea.prev?ea.prev.next=ea.next:C=ea.next)}}}}())}function tryUnsubscribe(){ea--,L&&0===ea&&(L(),L=void 0,Z.clear(),Z=ep)}let eo={addNestedSub:function(_){trySubscribe();let C=Z.subscribe(_),L=!1;return()=>{L||(L=!0,C(),tryUnsubscribe())}},notifyNestedSubs:function(){Z.notify()},handleChangeWrapper,isSubscribed:function(){return es},trySubscribe:function(){es||(es=!0,trySubscribe())},tryUnsubscribe:function(){es&&(es=!1,tryUnsubscribe())},getListeners:()=>Z};return eo}(_);
3057return{store:_,subscription:C,getServerState:Z?()=>Z:void 0,stabilityCheck:ea,noopCheck:es}},[_,Z,ea,es]),eu=eo.useMemo(()=>_.getState(),[_]);return em(()=>{let{subscription:C}=el;return C.onStateChange=C.notifyNestedSubs,C.trySubscribe(),eu!==_.getState()&&C.notifyNestedSubs(),()=>{C.tryUnsubscribe(),C.onStateChange=void 0}},[el,eu]),eo.createElement((C||ec).Provider,{value:el},L)};function createStoreHook(_=ec){let C=_===ec?ed:createReduxContextHook(_);return function(){let{store:_}=C();return _}}let eb=createStoreHook(),ey=function(_=ec){let C=_===ec?eb:createStoreHook(_);return function(){let _=C();return _.dispatch}}();useSyncExternalStoreWithSelector=ea.useSyncExternalStoreWithSelector,Z.useSyncExternalStore,batch=es.unstable_batchedUpdates},51808:function(_,C,L){"use strict";C.__esModule=!0,C.default=function(_){var C=(0,ea.default)(_);return{getItem:function(_){return new Promise(function(L,Z){L(C.getItem(_))})},setItem:function(_,L){return new Promise(function(Z,ea){Z(C.setItem(_,L))})},removeItem:function(_){return new Promise(function(L,Z){L(C.removeItem(_))})}}};var Z,ea=(Z=L(58602))&&Z.__esModule?Z:{default:Z}},58602:function(_,C){"use strict";function _typeof(_){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(_){return typeof _}:function(_){return _&&"function"==typeof Symbol&&_.constructor===Symbol&&_!==Symbol.prototype?"symbol":typeof _})(_)}function noop(){}C.__esModule=!0,C.default=function(_){var C="".concat(_,"Storage");return!function(_){if(("undefined"==typeof self?"undefined":_typeof(self))!=="object"||!(_ in self))return!1;try{var C=self[_],L="redux-persist ".concat(_," test");C.setItem(L,"test"),C.getItem(L),C.removeItem(L)}catch(_){return!1}return!0}(C)?L:self[C]};var L={getItem:noop,setItem:noop,removeItem:noop}},34734:function(_,C,L){"use strict";C.Z=void 0;var Z,ea=(0,((Z=L(51808))&&Z.__esModule?Z:{default:Z}).default)("local");C.Z=ea},7755:function(_,C,L){"use strict";function _typeof(_){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(_){return typeof _}:function(_){return _&&"function"==typeof Symbol&&_.constructor===Symbol&&_!==Symbol.prototype?"symbol":typeof _})(_)}function ownKeys(_,C){var L=Object.keys(_);if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(_);C&&(Z=Z.filter(function(C){return Object.getOwnPropertyDescriptor(_,C).enumerable})),L.push.apply(L,Z)}return L}function _objectSpread2(_){for(var C=1;C<arguments.length;C++){var L=null!=arguments[C]?arguments[C]:{};C%2?ownKeys(Object(L),!0).forEach(function(C){!function(_,C,L){var Z;Z=function(_,C){if("object"!==_typeof(_)||null===_)return _;var L=_[Symbol.toPrimitive];if(void 0!==L){var Z=L.call(_,C||"default");if("object"!==_typeof(Z))return Z;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===C?String:Number)(_)}(C,"string"),(C="symbol"===_typeof(Z)?Z:String(Z))in _?Object.defineProperty(_,C,{value:L,enumerable:!0,configurable:!0,writable:!0}):_[C]=L}(_,C,L[C])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(L)):ownKeys(Object(L)).forEach(function(C){Object.defineProperty(_,C,Object.getOwnPropertyDescriptor(L,C))})}return _}function formatProdErrorMessage(_){return"Minified Redux error #"+_+"; visit https://redux.js.org/Errors?code="+_+" for the full message or use the non-minified dev environment for full errors. "}L.d(C,{md:function(){return applyMiddleware},UY:function(){return combineReducers},qC:function(){return compose},MT:function(){return createStore}});var Z="function"==typeof Symbol&&Symbol.observable||"@@observable",randomString=function(){return Math.random().toString(36).substring(7).split("").join(".")},ea={INIT:"@@redux/INIT"+randomString(),REPLACE:"@@redux/REPLACE"+randomString(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+randomString()}};function createStore(_,C,L){if("function"==typeof C&&"function"==typeof L||"function"==typeof L&&"function"==typeof arguments[3])throw Error(formatProdErrorMessage(0));if("function"==typeof C&&void 0===L&&(L=C,C=void 0),void 0!==L){if("function"!=typeof L)throw Error(formatProdErrorMessage(1));return L(createStore)(_,C)}if("function"!=typeof _)throw Error(formatProdErrorMessage(2));var es,eo=_,el=C,eu=[],ec=eu,ed=!1;function ensureCanMutateNextListeners(){ec===eu&&(ec=eu.slice())}function getState(){if(ed)throw Error(formatProdErrorMessage(3));return el}function subscribe(_){if("function"!=typeof _)throw Error(formatProdErrorMessage(4));if(ed)throw Error(formatProdErrorMessage(5));var C=!0;return ensureCanMutateNextListeners(),ec.push(_),function(){if(C){if(ed)throw Error(formatProdErrorMessage(6));C=!1,ensureCanMutateNextListeners();var L=ec.indexOf(_);ec.splice(L,1),eu=null}}}function dispatch(_){if(!function(_){if("object"!=typeof _||null===_)return!1;for(var C=_;null!==Object.getPrototypeOf(C);)C=Object.getPrototypeOf(C);return Object.getPrototypeOf(_)===C}(_))throw Error(formatProdErrorMessage(7));if(void 0===_.type)throw Error(formatProdErrorMessage(8));if(ed)throw Error(formatProdErrorMessage(9));try{ed=!0,el=eo(el,_)}finally{ed=!1}for(var C=eu=ec,L=0;L<C.length;L++)(0,C[L])();return _}
3057return dispatch({type:ea.INIT}),(es={dispatch:dispatch,subscribe:subscribe,getState:getState,replaceReducer:function(_){if("function"!=typeof _)throw Error(formatProdErrorMessage(10));eo=_,dispatch({type:ea.REPLACE})}})[Z]=function(){var _;return(_={subscribe:function(_){if("object"!=typeof _||null===_)throw Error(formatProdErrorMessage(11));function observeState(){_.next&&_.next(getState())}return observeState(),{unsubscribe:subscribe(observeState)}}})[Z]=function(){return this},_},es}function combineReducers(_){for(var C,L=Object.keys(_),Z={},es=0;es<L.length;es++){var eo=L[es];"function"==typeof _[eo]&&(Z[eo]=_[eo])}var el=Object.keys(Z);try{!function(_){Object.keys(_).forEach(function(C){var L=_[C];if(void 0===L(void 0,{type:ea.INIT}))throw Error(formatProdErrorMessage(12));if(void 0===L(void 0,{type:ea.PROBE_UNKNOWN_ACTION()}))throw Error(formatProdErrorMessage(13))})}(Z)}catch(_){C=_}return function(_,L){if(void 0===_&&(_={}),C)throw C;for(var ea=!1,es={},eo=0;eo<el.length;eo++){var eu=el[eo],ec=Z[eu],ed=_[eu],eh=ec(ed,L);if(void 0===eh)throw L&&L.type,Error(formatProdErrorMessage(14));es[eu]=eh,ea=ea||eh!==ed}return(ea=ea||el.length!==Object.keys(_).length)?es:_}}function compose(){for(var _=arguments.length,C=Array(_),L=0;L<_;L++)C[L]=arguments[L];return 0===C.length?function(_){return _}:1===C.length?C[0]:C.reduce(function(_,C){return function(){return _(C.apply(void 0,arguments))}})}function applyMiddleware(){for(var _=arguments.length,C=Array(_),L=0;L<_;L++)C[L]=arguments[L];return function(_){return function(){var L=_.apply(void 0,arguments),_dispatch=function(){throw Error(formatProdErrorMessage(15))},Z={getState:L.getState,dispatch:function(){return _dispatch.apply(void 0,arguments)}},ea=C.map(function(_){return _(Z)});return _dispatch=compose.apply(void 0,ea)(L.dispatch),_objectSpread2(_objectSpread2({},L),{},{dispatch:_dispatch})}}}},31236:function(_){_.exports=function(_,C,L,Z){var ea=L?L.call(Z,_,C):void 0;if(void 0!==ea)return!!ea;if(_===C)return!0;if("object"!=typeof _||!_||"object"!=typeof C||!C)return!1;var es=Object.keys(_),eo=Object.keys(C);if(es.length!==eo.length)return!1;for(var el=Object.prototype.hasOwnProperty.bind(C),eu=0;eu<es.length;eu++){var ec=es[eu];if(!el(ec))return!1;var ed=_[ec],eh=C[ec];if(!1===(ea=L?L.call(Z,ed,eh,ec):void 0)||void 0===ea&&ed!==eh)return!1}return!0}},36897:function(_){"use strict";_.exports=(_,C)=>{if(!("string"==typeof _&&"string"==typeof C))throw TypeError("Expected the arguments to be of type `string`");if(""===C)return[_];let L=_.indexOf(C);return -1===L?[_]:[_.slice(0,L),_.slice(L+C.length)]}},30309:function(_){"use strict";_.exports=_=>encodeURIComponent(_).replace(/[!'()*]/g,_=>`%${_.charCodeAt(0).toString(16).toUpperCase()}`)},62656:function(_,C,L){"use strict";L.d(C,{Ni:function(){return th},f6:function(){return Xe},vJ:function(){return at},iv:function(){return nt},ZP:function(){return tf},F4:function(){return ct},zo:function(){return tf},Fg:function(){return Je}});var Z=L(43112),ea=L(52983),es=L(31236),eo=L.n(es),el="-ms-",eu="-moz-",ec="-webkit-",ed="comm",eh="rule",ep="decl",ef="@keyframes",em=Math.abs,eb=String.fromCharCode,ey=Object.assign;function match(_,C){return(_=C.exec(_))?_[0]:_}function replace(_,C,L){return _.replace(C,L)}function indexof(_,C){return _.indexOf(C)}function Utility_charat(_,C){return 0|_.charCodeAt(C)}function Utility_substr(_,C,L){return _.slice(C,L)}function Utility_strlen(_){return _.length}function Utility_append(_,C){return C.push(_),_}function filter(_,C){return _.filter(function(_){return!match(_,C)})}var eg=1,ev=1,ex=0,e_=0,ew=0,eC="";function node(_,C,L,Z,ea,es,eo,el){return{value:_,root:C,parent:L,type:Z,props:ea,children:es,line:eg,column:ev,length:eo,return:"",siblings:el}}function copy(_,C){return ey(node("",null,null,"",null,null,0,_.siblings),_,{length:-_.length},C)}function lift(_){for(;_.root;)_=copy(_.root,{children:[_]});Utility_append(_,_.siblings)}function next(){return ew=e_<ex?Utility_charat(eC,e_++):0,ev++,10===ew&&(ev=1,eg++),ew}function peek(){return Utility_charat(eC,e_)}function token(_){switch(_){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function delimit(_){var C,L;return(C=e_-1,L=function delimiter(_){for(;next();)switch(ew){case _:return e_;case 34:case 39:34!==_&&39!==_&&delimiter(ew);break;case 40:41===_&&delimiter(_);break;case 92:next()}return e_}(91===_?_+2:40===_?_+1:_),Utility_substr(eC,C,L)).trim()}function serialize(_,C){for(var L="",Z=0;Z<_.length;Z++)L+=C(_[Z],Z,_,C)||"";return L}function stringify(_,C,L,Z){switch(_.type){case"@layer":if(_.children.length)break;case"@import":case ep:return _.return=_.return||_.value;case ed:return"";case ef:return _.return=_.value+"{"+serialize(_.children,Z)+"}";case eh:if(!Utility_strlen(_.value=_.props.join(",")))return""}return Utility_strlen(L=serialize(_.children,Z))?_.return=_.value+"{"+L+"}":""}function prefixer(_,C,L,Z){if(_.length>-1&&!_.return)switch(_.type){case ep:_.return=function prefix(_,C,L){var Z;
3057switch(Z=C,45^Utility_charat(_,0)?(((Z<<2^Utility_charat(_,0))<<2^Utility_charat(_,1))<<2^Utility_charat(_,2))<<2^Utility_charat(_,3):0){case 5103:return ec+"print-"+_+_;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ec+_+_;case 4789:return eu+_+_;case 5349:case 4246:case 4810:case 6968:case 2756:return ec+_+eu+_+el+_+_;case 5936:switch(Utility_charat(_,C+11)){case 114:return ec+_+el+replace(_,/[svh]\w+-[tblr]{2}/,"tb")+_;case 108:return ec+_+el+replace(_,/[svh]\w+-[tblr]{2}/,"tb-rl")+_;case 45:return ec+_+el+replace(_,/[svh]\w+-[tblr]{2}/,"lr")+_}case 6828:case 4268:case 2903:return ec+_+el+_+_;case 6165:return ec+_+el+"flex-"+_+_;case 5187:return ec+_+replace(_,/(\w+).+(:[^]+)/,ec+"box-$1$2"+el+"flex-$1$2")+_;case 5443:return ec+_+el+"flex-item-"+replace(_,/flex-|-self/g,"")+(match(_,/flex-|baseline/)?"":el+"grid-row-"+replace(_,/flex-|-self/g,""))+_;case 4675:return ec+_+el+"flex-line-pack"+replace(_,/align-content|flex-|-self/g,"")+_;case 5548:return ec+_+el+replace(_,"shrink","negative")+_;case 5292:return ec+_+el+replace(_,"basis","preferred-size")+_;case 6060:return ec+"box-"+replace(_,"-grow","")+ec+_+el+replace(_,"grow","positive")+_;case 4554:return ec+replace(_,/([^-])(transform)/g,"$1"+ec+"$2")+_;case 6187:return replace(replace(replace(_,/(zoom-|grab)/,ec+"$1"),/(image-set)/,ec+"$1"),_,"")+_;case 5495:case 3959:return replace(_,/(image-set\([^]*)/,ec+"$1$`$1");case 4968:return replace(replace(_,/(.+:)(flex-)?(.*)/,ec+"box-pack:$3"+el+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ec+_+_;case 4200:if(!match(_,/flex-|baseline/))return el+"grid-column-align"+Utility_substr(_,C)+_;break;case 2592:case 3360:return el+replace(_,"template-","")+_;case 4384:case 3616:if(L&&L.some(function(_,L){return C=L,match(_.props,/grid-\w+-end/)}))return~indexof(_+(L=L[C].value),"span")?_:el+replace(_,"-start","")+_+el+"grid-row-span:"+(~indexof(L,"span")?match(L,/\d+/):+match(L,/\d+/)-+match(_,/\d+/))+";";return el+replace(_,"-start","")+_;case 4896:case 4128:return L&&L.some(function(_){return match(_.props,/grid-\w+-start/)})?_:el+replace(replace(_,"-end","-span"),"span ","")+_;case 4095:case 3583:case 4068:case 2532:return replace(_,/(.+)-inline(.+)/,ec+"$1$2")+_;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Utility_strlen(_)-1-C>6)switch(Utility_charat(_,C+1)){case 109:if(45!==Utility_charat(_,C+4))break;case 102:return replace(_,/(.+:)(.+)-([^]+)/,"$1"+ec+"$2-$3$1"+eu+(108==Utility_charat(_,C+3)?"$3":"$2-$3"))+_;case 115:return~indexof(_,"stretch")?prefix(replace(_,"stretch","fill-available"),C,L)+_:_}break;case 5152:case 5920:return replace(_,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(C,L,Z,ea,es,eo,eu){return el+L+":"+Z+eu+(ea?el+L+"-span:"+(es?eo:+eo-+Z)+eu:"")+_});case 4949:if(121===Utility_charat(_,C+6))return replace(_,":",":"+ec)+_;break;case 6444:switch(Utility_charat(_,45===Utility_charat(_,14)?18:11)){case 120:return replace(_,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+ec+(45===Utility_charat(_,14)?"inline-":"")+"box$3$1"+ec+"$2$3$1"+el+"$2box$3")+_;case 100:return replace(_,":",":"+el)+_}break;case 5719:case 2647:case 2135:case 3927:case 2391:return replace(_,"scroll-","scroll-snap-")+_}return _}(_.value,_.length,L);return;case ef:return serialize([copy(_,{value:replace(_.value,"@","@"+ec)})],Z);case eh:if(_.length)return(L=_.props).map(function(C){switch(match(C,Z=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":lift(copy(_,{props:[replace(C,/:(read-\w+)/,":"+eu+"$1")]})),lift(copy(_,{props:[C]})),ey(_,{props:filter(L,Z)});break;case"::placeholder":lift(copy(_,{props:[replace(C,/:(plac\w+)/,":"+ec+"input-$1")]})),lift(copy(_,{props:[replace(C,/:(plac\w+)/,":"+eu+"$1")]})),lift(copy(_,{props:[replace(C,/:(plac\w+)/,el+"input-$1")]})),lift(copy(_,{props:[C]})),ey(_,{props:filter(L,Z)})}return""}).join("")}}function ruleset(_,C,L,Z,ea,es,eo,el,eu,ec,ed,ep){for(var ef=ea-1,eb=0===ea?es:[""],ey=eb.length,eg=0,ev=0,ex=0;eg<Z;++eg)for(var e_=0,ew=Utility_substr(_,ef+1,ef=em(ev=eo[eg])),eC=_;e_<ey;++e_)(eC=(ev>0?eb[e_]+" "+ew:replace(ew,/&\f/g,eb[e_])).trim())&&(eu[ex++]=eC);return node(_,C,L,0===ea?eh:el,eu,ec,ed,ep)}function declaration(_,C,L,Z,ea){return node(_,C,L,ep,Utility_substr(_,0,Z),Utility_substr(_,Z+1,-1),Z,ea)}var eT={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGr
vendor: 4,896 bytes, line 3057
3057idRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},eq=L(73656),ek=void 0!==eq&&void 0!==eq.env&&(eq.env.REACT_APP_SC_ATTR||eq.env.SC_ATTR)||"data-styled",eS="undefined"!=typeof window&&"HTMLElement"in window,eE=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==eq&&void 0!==eq.env&&void 0!==eq.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==eq.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==eq.env.REACT_APP_SC_DISABLE_SPEEDY&&eq.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==eq&&void 0!==eq.env&&void 0!==eq.env.SC_DISABLE_SPEEDY&&""!==eq.env.SC_DISABLE_SPEEDY&&"false"!==eq.env.SC_DISABLE_SPEEDY&&eq.env.SC_DISABLE_SPEEDY),eM={},ej=Object.freeze([]),eA=Object.freeze({});function P(_,C,L){return void 0===L&&(L=eA),_.theme!==L.theme&&_.theme||C||L.theme}var eD=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),eI=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,eO=/(^-|-$)/g;function A(_){return _.replace(eI,"-").replace(eO,"")}var eP=/(a)(d)/gi,D=function(_){return String.fromCharCode(_+(_>25?39:97))};function R(_){var C,L="";for(C=Math.abs(_);C>52;C=C/52|0)L=D(C%52)+L;return(D(C%52)+L).replace(eP,"$1-$2")}var eN,k=function(_,C){for(var L=C.length;L;)_=33*_^C.charCodeAt(--L);return _},j=function(_){return k(5381,_)};function x(_){return R(j(_)>>>0)}function M(_){return"string"==typeof _}var eL="function"==typeof Symbol&&Symbol.for,eR=eL?Symbol.for("react.memo"):60115,eB=eL?Symbol.for("react.forward_ref"):60112,eF={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},eZ={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},ez={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},eU=((eN={})[eB]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},eN[eR]=ez,eN);function W(_){return("type"in _&&_.type.$$typeof)===eR?ez:"$$typeof"in _?eU[_.$$typeof]:eF}var e$=Object.defineProperty,eV=Object.getOwnPropertyNames,eW=Object.getOwnPropertySymbols,eH=Object.getOwnPropertyDescriptor,eG=Object.getPrototypeOf,eK=Object.prototype;function Q(_){return"function"==typeof _}function ee(_){return"object"==typeof _&&"styledComponentId"in _}function te(_,C){return _&&C?"".concat(_," ").concat(C):_||C||""}function ne(_,C){if(0===_.length)return"";for(var L=_[0],Z=1;Z<_.length;Z++)L+=C?C+_[Z]:_[Z];return L}function oe(_){return null!==_&&"object"==typeof _&&_.constructor.name===Object.name&&!("props"in _&&_.$$typeof)}function se(_,C){Object.defineProperty(_,"toString",{value:C})}function ce(_){for(var C=[],L=1;L<arguments.length;L++)C[L-1]=arguments[L];return Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(_," for more information.").concat(C.length>0?" Args: ".concat(C.join(", ")):""))}var eX=function(){function e(_){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=_}return e.prototype.indexOfGroup=function(_){for(var C=0,L=0;L<_;L++)C+=this.groupSizes[L];return C},e.prototype.insertRules=function(_,C){if(_>=this.groupSizes.length){for(var L=this.groupSizes,Z=L.length,ea=Z;_>=ea;)if((ea<<=1)<0)throw ce(16,"".concat(_));this.groupSizes=new Uint32Array(ea),this.groupSizes.set(L),this.length=ea;for(var es=Z;es<ea;es++)this.groupSizes[es]=0}for(var eo=this.indexOfGroup(_+1),el=(es=0,C.length);es<el;es++)this.tag.insertRule(eo,C[es])&&(this.groupSizes[_]++,eo++)},e.prototype.clearGroup=function(_){if(_<this.length){var C=this.groupSizes[_],L=this.indexOfGroup(_),Z=L+C;this.groupSizes[_]=0;for(var ea=L;ea<Z;ea++)this.tag.deleteRule(L)}}
3057,e.prototype.getGroup=function(_){var C="";if(_>=this.length||0===this.groupSizes[_])return C;for(var L=this.groupSizes[_],Z=this.indexOfGroup(_),ea=Z+L,es=Z;es<ea;es++)C+="".concat(this.tag.getRule(es)).concat("/*!sc*/\n");return C},e}(),eY=new Map,eQ=new Map,eJ=1,he=function(_){if(eY.has(_))return eY.get(_);for(;eQ.has(eJ);)eJ++;var C=eJ++;return eY.set(_,C),eQ.set(C,_),C},fe=function(_,C){eY.set(_,C),eQ.set(C,_)},e1="style[".concat(ek,"][").concat("data-styled-version",'="').concat("6.0.7",'"]'),e0=new RegExp("^".concat(ek,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),ve=function(_,C,L){for(var Z,ea=L.split(","),es=0,eo=ea.length;es<eo;es++)(Z=ea[es])&&_.registerName(C,Z)},ge=function(_,C){for(var L,Z=(null!==(L=C.textContent)&&void 0!==L?L:"").split("/*!sc*/\n"),ea=[],es=0,eo=Z.length;es<eo;es++){var el=Z[es].trim();if(el){var eu=el.match(e0);if(eu){var ec=0|parseInt(eu[1],10),ed=eu[2];0!==ec&&(fe(ed,ec),ve(_,ed,eu[3]),_.getTag().insertRules(ec,ea)),ea.length=0}else ea.push(el)}}},we=function(_){var C,Z=document.head,ea=_||Z,es=document.createElement("style"),eo=(C=Array.from(ea.querySelectorAll("style[".concat(ek,"]"))))[C.length-1],el=void 0!==eo?eo.nextSibling:null;es.setAttribute(ek,"active"),es.setAttribute("data-styled-version","6.0.7");var eu=L.nc;return eu&&es.setAttribute("nonce",eu),ea.insertBefore(es,el),es},e2=function(){function e(_){this.element=we(_),this.element.appendChild(document.createTextNode("")),this.sheet=function(_){if(_.sheet)return _.sheet;for(var C=document.styleSheets,L=0,Z=C.length;L<Z;L++){var ea=C[L];if(ea.ownerNode===_)return ea}throw ce(17)}(this.element),this.length=0}return e.prototype.insertRule=function(_,C){try{return this.sheet.insertRule(C,_),this.length++,!0}catch(_){return!1}},e.prototype.deleteRule=function(_){this.sheet.deleteRule(_),this.length--},e.prototype.getRule=function(_){var C=this.sheet.cssRules[_];return C&&C.cssText?C.cssText:""},e}(),e5=function(){function e(_){this.element=we(_),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(_,C){if(_<=this.length&&_>=0){var L=document.createTextNode(C);return this.element.insertBefore(L,this.nodes[_]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(_){this.element.removeChild(this.nodes[_]),this.length--},e.prototype.getRule=function(_){return _<this.length?this.nodes[_].textContent:""},e}(),e6=function(){function e(_){this.rules=[],this.length=0}return e.prototype.insertRule=function(_,C){return _<=this.length&&(this.rules.splice(_,0,C),this.length++,!0)},e.prototype.deleteRule=function(_){this.rules.splice(_,1),this.length--},e.prototype.getRule=function(_){return _<this.length?this.rules[_]:""},e}(),e3=eS,e4={isServer:!eS,useCSSOMInjection:!eE},e8=function(){function e(_,C,L){void 0===_&&(_=eA),void 0===C&&(C={});var ea=this;this.options=(0,Z.__assign)((0,Z.__assign)({},e4),_),this.gs=C,this.names=new Map(L),this.server=!!_.isServer,!this.server&&eS&&e3&&(e3=!1,function(_){for(var C=document.querySelectorAll(e1),L=0,Z=C.length;L<Z;L++){var ea=C[L];ea&&"active"!==ea.getAttribute(ek)&&(ge(_,ea),ea.parentNode&&ea.parentNode.removeChild(ea))}}(this)),se(this,function(){return function(_){for(var C=_.getTag(),L=C.length,Z="",ea=0;ea<L;ea++)(function(L){var ea=eQ.get(L);if(void 0!==ea){var es=_.names.get(ea),eo=C.getGroup(L);if(void 0!==es&&0!==eo.length){var el="".concat(ek,".g").concat(L,'[id="').concat(ea,'"]'),eu="";void 0!==es&&es.forEach(function(_){_.length>0&&(eu+="".concat(_,","))}),Z+="".concat(eo).concat(el,'{content:"').concat(eu,'"}').concat("/*!sc*/\n")}}})(ea);return Z}(ea)})}return e.registerId=function(_){return he(_)},e.prototype.reconstructWithOptions=function(_,C){return void 0===C&&(C=!0),new e((0,Z.__assign)((0,Z.__assign)({},this.options),_),this.gs,C&&this.names||void 0)},e.prototype.allocateGSInstance=function(_){return this.gs[_]=(this.gs[_]||0)+1},e.prototype.getTag=function(){var _,C,L,Z;return this.tag||(this.tag=(L=(C=this.options).useCSSOMInjection,Z=C.target,_=C.isServer?new e6(Z):L?new e2(Z):new e5(Z),new eX(_)))},e.prototype.hasNameForId=function(_,C){return this.names.has(_)&&this.names.get(_).has(C)},e.prototype.registerName=function(_,C){if(he(_),this.names.has(_))this.names.get(_).add(C);else{var L=new Set;L.add(C),this.names.set(_,L)}},e.prototype.insertRules=function(_,C,L){this.registerName(_,C),this.getTag().insertRules(he(_),L)},e.prototype.clearNames=function(_){this.names.has(_)&&this.names.get(_).clear()},e.prototype.clearRules=function(_){this.getTag().clearGroup(he(_)),this.clearNames(_)},e.prototype.clearTag=function(){this.tag=void 0},e}(),e9=/&/g,e7=/^\s*\/\/.*$/gm;function De(_){var C,L,Z,ea=void 0===_?eA:_,es=ea.options,eo=void 0===es?eA:es,el=ea.plugins,eu=void 0===el?ej:el,l=function(_,Z,ea){return ea===L||ea.startsWith(L)&&ea.endsWith(L)&&ea.replaceAll(L,"").length>0?".".concat(C):_},ec=eu.slice();ec.push(function(_){_.type===eh&&_.value.includes("&")&&(_.props[0]=_.props[0].replace(e9,L).replace(Z,l))}),eo.prefix&&ec.push(prefixer),ec.push(stringify);var p=function(_,ea,es,el){void 0===ea&&(ea=""),void 0===es&&(es=""),void 0===el&&(el="&"),C=el,L=ea,Z=RegExp("\\".concat(L,"\\b"),"g");var eu,eh,ep,ef,em,ey=_.replace(e7,""),eT=(em=function parse(_,C,L,Z,ea,es,eo,el,eu){for(var ec,eh=0,ep=0,ef=eo,em=0,ey=0,ex=0,eT=1,eq=1,ek=1,eS=0,eE="",eM=ea,ej=es,eA=Z,eD=eE;eq;)switch(ex=eS,eS=next()){case 40:if(108!=ex&&58==Utility_charat(eD,ef-1)){-1!=indexof(eD+=replace(delimit(eS),"&","&\f"),"&\f")&&(ek=-1);break}case 34:case 39:case 91:eD+=delimit(eS);break;case 9:case 10:case 13:case 32:eD+=function(_){for(;ew=peek();)if(ew<33)next();else break;return token(_)>2||token(ew)>3?"":" "}(ex);break;case 92:eD+=function(_,C){for(var L;--C&&next()&&!(ew<48)&&!(ew>102)&&(!(ew>
305757)||!(ew<65))&&(!(ew>70)||!(ew<97)););return L=e_+(C<6&&32==peek()&&32==next()),Utility_substr(eC,_,L)}(e_-1,7);continue;case 47:switch(peek()){case 42:case 47:Utility_append(node(ec=function(_,C){for(;next();)if(_+ew===57)break;else if(_+ew===84&&47===peek())break;return"/*"+Utility_substr(eC,C,e_-1)+"*"+eb(47===_?_:next())}(next(),e_),C,L,ed,eb(ew),Utility_substr(ec,2,-2),0,eu),eu);break;default:eD+="/"}break;case 123*eT:el[eh++]=Utility_strlen(eD)*ek;case 125*eT:case 59:case 0:switch(eS){case 0:case 125:eq=0;case 59+ep:-1==ek&&(eD=replace(eD,/\f/g,"")),ey>0&&Utility_strlen(eD)-ef&&Utility_append(ey>32?declaration(eD+";",Z,L,ef-1,eu):declaration(replace(eD," ","")+";",Z,L,ef-2,eu),eu);break;case 59:eD+=";";default:if(Utility_append(eA=ruleset(eD,C,L,eh,ep,ea,el,eE,eM=[],ej=[],ef,es),es),123===eS){if(0===ep)parse(eD,C,eA,eA,eM,es,ef,el,ej);else switch(99===em&&110===Utility_charat(eD,3)?100:em){case 100:case 108:case 109:case 115:parse(_,eA,eA,Z&&Utility_append(ruleset(_,eA,eA,0,0,ea,el,eE,ea,eM=[],ef,ej),ej),ea,ej,ef,el,Z?eM:ej);break;default:parse(eD,eA,eA,eA,[""],ej,0,el,ej)}}}eh=ep=ey=0,eT=ek=1,eE=eD="",ef=eo;break;case 58:ef=1+Utility_strlen(eD),ey=ex;default:if(eT<1){if(123==eS)--eT;else if(125==eS&&0==eT++&&125==(ew=e_>0?Utility_charat(eC,--e_):0,ev--,10===ew&&(ev=1,eg--),ew))continue}switch(eD+=eb(eS),eS*eT){case 38:ek=ep>0?1:(eD+="\f",-1);break;case 44:el[eh++]=(Utility_strlen(eD)-1)*ek,ek=1;break;case 64:45===peek()&&(eD+=delimit(next())),em=peek(),ep=ef=Utility_strlen(eE=eD+=function(_){for(;!token(peek());)next();return Utility_substr(eC,_,e_)}(e_)),eS++;break;case 45:45===ex&&2==Utility_strlen(eD)&&(eT=0)}}return es}("",null,null,null,[""],(ef=ep=es||ea?"".concat(es," ").concat(ea," { ").concat(ey," }"):ey,eg=ev=1,ex=Utility_strlen(eC=ef),e_=0,ep=[]),0,[0],ep),eC="",em);eo.namespace&&(eT=function Oe(_,C){return _.map(function(_){return"rule"===_.type&&(_.value="".concat(C," ").concat(_.value),_.value=_.value.replaceAll(",",",".concat(C," ")),_.props=_.props.map(function(_){return"".concat(C," ").concat(_)})),Array.isArray(_.children)&&"@keyframes"!==_.type&&(_.children=Oe(_.children,C)),_})}(eT,eo.namespace));var eq=[];return serialize(eT,(eh=(eu=ec.concat(function(_){var C;!_.root&&(_=_.return)&&(C=_,eq.push(C))})).length,function(_,C,L,Z){for(var ea="",es=0;es<eh;es++)ea+=eu[es](_,C,L,Z)||"";return ea})),eq};return p.hash=eu.length?eu.reduce(function(_,C){return C.name||ce(15),k(_,C.name)},5381).toString():"",p}var tr=new e8,ta=De(),to=ea.createContext({shouldForwardProp:void 0,styleSheet:tr,stylis:ta}),tl=(to.Consumer,ea.createContext(void 0));function Ve(){return(0,ea.useContext)(to)}function Me(_){var C=(0,ea.useState)(_.stylisPlugins),L=C[0],Z=C[1],es=Ve().styleSheet,el=(0,ea.useMemo)(function(){var C=es;return _.sheet?C=_.sheet:_.target&&(C=C.reconstructWithOptions({target:_.target},!1)),_.disableCSSOMInjection&&(C=C.reconstructWithOptions({useCSSOMInjection:!1})),C},[_.disableCSSOMInjection,_.sheet,_.target,es]),eu=(0,ea.useMemo)(function(){return De({options:{namespace:_.namespace,prefix:_.enableVendorPrefixes},plugins:L})},[_.enableVendorPrefixes,_.namespace,L]);return(0,ea.useEffect)(function(){eo()(L,_.stylisPlugins)||Z(_.stylisPlugins)},[_.stylisPlugins]),ea.createElement(to.Provider,{value:{shouldForwardProp:_.shouldForwardProp,styleSheet:el,stylis:eu}},ea.createElement(tl.Provider,{value:eu},_.children))}var tu=function(){function e(_,C){var L=this;this.inject=function(_,C){void 0===C&&(C=ta);var Z=L.name+C.hash;_.hasNameForId(L.id,Z)||_.insertRules(L.id,Z,C(L.rules,Z,"@keyframes"))},this.name=_,this.id="sc-keyframes-".concat(_),this.rules=C,se(this,function(){throw ce(12,String(L.name))})}return e.prototype.getName=function(_){return void 0===_&&(_=ta),this.name+_.hash},e}();function ze(_){for(var C="",L=0;L<_.length;L++){var Z=_[L];if(1===L&&"-"===Z&&"-"===_[0])return _;Z>="A"&&Z<="Z"?C+="-"+Z.toLowerCase():C+=Z}return C.startsWith("ms-")?"-"+C:C}var Be=function(_){return null==_||!1===_||""===_},Le=function(_){var C=[];for(var L in _){var ea=_[L];_.hasOwnProperty(L)&&!Be(ea)&&(Array.isArray(ea)&&ea.isCss||Q(ea)?C.push("".concat(ze(L),":"),ea,";"):oe(ea)?C.push.apply(C,(0,Z.__spreadArray)((0,Z.__spreadArray)(["".concat(L," {")],Le(ea),!1),["}"],!1)):C.push("".concat(ze(L),": ").concat(null==ea||"boolean"==typeof ea||""===ea?"":"number"!=typeof ea||0===ea||L in eT||L.startsWith("--")?String(ea).trim():"".concat(ea,"px"),";")))}return C};function Ge(_,C,L,Z){return Be(_)?[]:ee(_)?[".".concat(_.styledComponentId)]:Q(_)?!Q(_)||_.prototype&&_.prototype.isReactComponent||!C?[_]:Ge(_(C),C,L,Z):_ instanceof tu?L?(_.inject(L,Z),[_.getName(Z)]):[_]:oe(_)?Le(_):Array.isArray(_)?Array.prototype.concat.apply(ej,_.map(function(_){return Ge(_,C,L,Z)})):[_.toString()]}function Ye(_){for(var C=0;C<_.length;C+=1){var L=_[C];if(Q(L)&&!ee(L))return!1}return!0}var tc=j("6.0.7"),td=function(){function e(_,C,L){this.rules=_,this.staticRulesId="",this.isStatic=(void 0===L||L.isStatic)&&Ye(_),this.componentId=C,this.baseHash=k(tc,C),this.baseStyle=L,e8.registerId(C)}return e.prototype.generateAndInjectStyles=function(_,C,L){var Z=this.baseStyle?this.baseStyle.generateAndInjectStyles(_,C,L):"";if(this.isStatic&&!L.hash){if(this.staticRulesId&&C.hasNameForId(this.componentId,this.staticRulesId))Z=te(Z,this.staticRulesId);else{var ea=ne(Ge(this.rules,_,C,L)),es=R(k(this.baseHash,ea)>>>0);if(!C.hasNameForId(this.componentId,es)){var eo=L(ea,".".concat(es),void 0,this.componentId);C.insertRules(this.componentId,es,eo)}Z=te(Z,es),this.staticRulesId=es}}else{for(var el=k(this.baseHash,L.hash),eu="",ec=0;ec<this.rules.length;ec++){var ed=this.rules[ec];if("string"==typeof ed)eu+=ed;else if(ed){var eh=ne(Ge(ed,_,C,L));el=k(el,eh),eu+=eh}}if(eu){var ep=R(el>>>0);C.hasNameForId(this.componentId,ep)||C.insertRules(this.componentId,ep,L(eu,".".concat(ep),void 0,this.componentId)),Z=te(Z,ep)}}return Z},e}(),th=ea.createContext(void 0);function Je(){var _=(0,ea.useContext)(th);if(!_)throw ce(18);return _}function Xe(_){var C=ea.useContext(th),L=(0,ea.useMemo)(function(){return function(_,C){if(!_)throw ce(14);if(Q(_))return _(C);if(Array.isArray(_)||"object"!=typeof _)throw ce(8);return C?(0,Z.__assign)((0,Z.__assign)({},C),_):_}(_.theme,C)},[_.theme,C]);return _.children?ea.createElement(th.Provider,{value:L},_.children):null}th.Consumer;var tp={};function Qe(_,C,L){var es,eo,el,eu,ec=ee(_),ed=!M(_),eh=C.attrs,ep=void 0===eh?ej:eh,ef=C.
3057componentId,em=void 0===ef?(es=C.displayName,eo=C.parentComponentId,tp[el="string"!=typeof es?"sc":A(es)]=(tp[el]||0)+1,eu="".concat(el,"-").concat(x("6.0.7"+el+tp[el])),eo?"".concat(eo,"-").concat(eu):eu):ef,eb=(void 0===C.displayName&&(M(_)||_.displayName||_.name),C.displayName&&C.componentId?"".concat(A(C.displayName),"-").concat(C.componentId):C.componentId||em),ey=ec&&_.attrs?_.attrs.concat(ep).filter(Boolean):ep,eg=C.shouldForwardProp;if(ec&&_.shouldForwardProp){var ev=_.shouldForwardProp;if(C.shouldForwardProp){var ex=C.shouldForwardProp;eg=function(_,C){return ev(_,C)&&ex(_,C)}}else eg=ev}var e_=new td(L,eb,ec?_.componentStyle:void 0),ew=ea.forwardRef(function(_,C){return function(_,C,L){var es,eo=_.attrs,el=_.componentStyle,eu=_.defaultProps,ec=_.foldedComponentIds,ed=_.styledComponentId,eh=_.target,ep=ea.useContext(th),ef=Ve(),em=_.shouldForwardProp||ef.shouldForwardProp,eb=function(_,C,L){for(var ea,es=(0,Z.__assign)((0,Z.__assign)({},C),{className:void 0,theme:L}),eo=0;eo<_.length;eo+=1){var el=Q(ea=_[eo])?ea(es):ea;for(var eu in el)es[eu]="className"===eu?te(es[eu],el[eu]):"style"===eu?(0,Z.__assign)((0,Z.__assign)({},es[eu]),el[eu]):el[eu]}return C.className&&(es.className=te(es.className,C.className)),es}(eo,C,P(C,ep,eu)||eA),ey=eb.as||eh,eg={};for(var ev in eb)void 0===eb[ev]||"$"===ev[0]||"as"===ev||"theme"===ev||("forwardedAs"===ev?eg.as=eb.forwardedAs:em&&!em
3057(ev,ey)||(eg[ev]=eb[ev]));var ex=(es=Ve(),el.generateAndInjectStyles(eb,es.styleSheet,es.stylis)),e_=te(ec,ed);return ex&&(e_+=" "+ex),eb.className&&(e_+=" "+eb.className),eg[M(ey)&&!eD.has(ey)?"class":"className"]=e_,eg.ref=L,(0,ea.createElement)(ey,eg)}(ew,_,C)});return ew.attrs=ey,ew.componentStyle=e_,ew.shouldForwardProp=eg,ew.foldedComponentIds=ec?te(_.foldedComponentIds,_.styledComponentId):"",ew.styledComponentId=eb,ew.target=ec?_.target:_,Object.defineProperty(ew,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(C){this._foldedDefaultProps=ec?function(_){for(var C=[],L=1;L<arguments.length;L++)C[L-1]=arguments[L];for(var Z=0;Z<C.length;Z++)(function re(_,C,L){if(void 0===L&&(L=!1),!L&&!oe(_)&&!Array.isArray(_))return C;if(Array.isArray(C))for(var Z=0;Z<C.length;Z++)_[Z]=re(_[Z],C[Z]);else if(oe(C))for(var Z in C)_[Z]=re(_[Z],C[Z]);return _})(_,C[Z],!0);return _}({},_.defaultProps,C):C}}),se(ew,function(){return".".concat(ew.styledComponentId)}),ed&&function K(_,C,L){if("string"!=typeof C){if(eK){var Z=eG(C);Z&&Z!==eK&&K(_,Z,L)}var ea=eV(C);eW&&(ea=ea.concat(eW(C)));for(var es=W(_),eo=W(C),el=0;el<ea.length;++el){var eu=ea[el];if(!(eu in eZ||L&&L[eu]||eo&&eu in eo||es&&eu in es)){var ec=eH(C,eu);try{e$(_,eu,ec)}catch(_){}}}}return _}(ew,_,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),ew}function et(_,C){for(var L=[_[0]],Z=0,ea=C.length;Z<ea;Z+=1)L.push(C[Z],_[Z+1]);return L}var tt=function(_){return Object.assign(_,{isCss:!0})};function nt(_){for(var C=[],L=1;L<arguments.length;L++)C[L-1]=arguments[L];return Q(_)||oe(_)?tt(Ge(et(ej,(0,Z.__spreadArray)([_],C,!0)))):0===C.length&&1===_.length&&"string"==typeof _[0]?Ge(_):tt(Ge(et(_,C)))}var rt=function(_){return function ot(_,C,L){if(void 0===L&&(L=eA),!C)throw ce(1,C);var s=function(ea){for(var es=[],eo=1;eo<arguments.length;eo++)es[eo-1]=arguments[eo];return _(C,L,nt.apply(void 0,(0,Z.__spreadArray)([ea],es,!1)))};return s.attrs=function(ea){return ot(_,C,(0,Z.__assign)((0,Z.__assign)({},L),{attrs:Array.prototype.concat(L.attrs,ea).filter(Boolean)}))},s.withConfig=function(ea){return ot(_,C,(0,Z.__assign)((0,Z.__assign)({},L),ea))},s}(Qe,_)},tf=rt;eD.forEach(function(_){tf[_]=rt(_)});var tm=function(){function e(_,C){this.rules=_,this.componentId=C,this.isStatic=Ye(_),e8.registerId(this.componentId+1)}return e.prototype.createStyles=function(_,C,L,Z){var ea=Z(ne(Ge(this.rules,C,L,Z)),""),es=this.componentId+_;L.insertRules(es,es,ea)},e.prototype.removeStyles=function(_,C){C.clearRules(this.componentId+_)},e.prototype.renderStyles=function(_,C,L,Z){_>2&&e8.registerId(this.componentId+_),this.removeStyles(_,L),this.createStyles(_,C,L,Z)},e}();function at(_){for(var C=[],L=1;L<arguments.length;L++)C[L-1]=arguments[L];var es=nt.apply(void 0,(0,Z.__spreadArray)([_],C,!1)),eo="sc-global-".concat(x(JSON.stringify(es))),el=new tm(es,eo),l=function(_){var C=Ve(),L=ea.useContext(th),Z=ea.useRef(C.styleSheet.allocateGSInstance(eo)).current;return C.styleSheet.server&&u(Z,_,C.styleSheet,L,C.stylis),ea.useLayoutEffect(function(){if(!C.styleSheet.server)return u(Z,_,C.styleSheet,L,C.stylis),function(){return el.removeStyles(Z,C.styleSheet)}},[Z,_,C.styleSheet,L,C.stylis]),null};function u(_,C,L,ea,es){if(el.isStatic)el.renderStyles(_,eM,L,es);else{var eo=(0,Z.__assign)((0,Z.__assign)({},C),{theme:P(C,ea,l.defaultProps)});el.renderStyles(_,eo,L,es)}}return ea.memo(l)}function ct(_){for(var C=[],L=1;L<arguments.length;L++)C[L-1]=arguments[L];var ea=ne(nt.apply(void 0,(0,Z.__spreadArray)([_],C,!1))),es=x(ea);return new tu(es,ea)}!function(){function e(){var _=this;this._emitSheetCSS=function(){var C=_.instance.toString(),Z=L.nc,ea=ne([Z&&'nonce="'.concat(Z,'"'),"".concat(ek,'="true"'),"".concat("data-styled-version",'="').concat("6.0.7",'"')].filter(Boolean)," ");return"<style ".concat(ea,">").concat(C,"</style>")},this.getStyleTags=function(){if(_.sealed)throw ce(2);return _._emitSheetCSS()}
3057,this.getStyleElement=function(){if(_.sealed)throw ce(2);var C,es=((C={})[ek]="",C["data-styled-version"]="6.0.7",C.dangerouslySetInnerHTML={__html:_.instance.toString()},C),eo=L.nc;return eo&&(es.nonce=eo),[ea.createElement("style",(0,Z.__assign)({},es,{key:"sc-0-0"}))]},this.seal=function(){_.sealed=!0},this.instance=new e8({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(_){if(this.sealed)throw ce(2);return ea.createElement(Me,{sheet:this.instance},_)},e.prototype.interleaveWithNodeStream=function(_){throw ce(3)}}()},13729:function(_,C,L){"use strict";L.d(C,{Oq:function(){return ey},Cg:function(){return em},E0:function(){return eI},jn:function(){return ej},$_:function(){return eu},ui:function(){return eD},qC:function(){return compose},GQ:function(){return ed},eC:function(){return ep},bK:function(){return eo},FK:function(){return ev},AF:function(){return eC},Dh:function(){return ew},YK:function(){return eA},cp:function(){return ec},bU:function(){return variant}});var Z=L(50969),ea=L.n(Z),merge=function(_,C){var L,Z=ea()({},_,C);for(var es in _)_[es]&&"object"==typeof C[es]&&ea()(Z,((L={})[es]=ea()(_[es],C[es]),L));return Z},sort=function(_){var C={};return Object.keys(_).sort(function(_,C){return _.localeCompare(C,void 0,{numeric:!0,sensitivity:"base"})}).forEach(function(L){C[L]=_[L]}),C},es={breakpoints:[40,52,64].map(function(_){return _+"em"})},createMediaQuery=function(_){return"@media screen and (min-width: "+_+")"},getValue=function(_,C){return get(C,_,_)},get=function(_,C,L,Z,ea){for(Z=0,C=C&&C.split?C.split("."):[C];Z<C.length;Z++)_=_?_[C[Z]]:ea;return _===ea?L:_},index_esm_createParser=function createParser(_){var C={},parse=function(L){var Z={},eo=!1,el=L.theme&&L.theme.disableStyledSystemCache;for(var eu in L)if(_[eu]){var ec=_[eu],ed=L[eu],eh=get(L.theme,ec.scale,ec.defaults);if("object"==typeof ed){if(C.breakpoints=!el&&C.breakpoints||get(L.theme,"breakpoints",es.breakpoints),Array.isArray(ed)){C.media=!el&&C.media||[null].concat(C.breakpoints.map(createMediaQuery)),Z=merge(Z,parseResponsiveStyle(C.media,ec,eh,ed,L));continue}null!==ed&&(Z=merge(Z,parseResponsiveObject(C.breakpoints,ec,eh,ed,L)),eo=!0);continue}ea()(Z,ec(ed,eh,L))}return eo&&(Z=sort(Z)),Z};parse.config=_,parse.propNames=Object.keys(_),parse.cache=C;var L=Object.keys(_).filter(function(_){return"config"!==_});return L.length>1&&L.forEach(function(C){var L;parse[C]=createParser(((L={})[C]=_[C],L))}),parse},parseResponsiveStyle=function(_,C,L,Z,es){var eo={};return Z.slice(0,_.length).forEach(function(Z,el){var eu,ec=_[el],ed=C(Z,L,es);ec?ea()(eo,((eu={})[ec]=ea()({},eo[ec],ed),eu)):ea()(eo,ed)}),eo},parseResponsiveObject=function(_,C,L,Z,es){var eo={};for(var el in Z){var eu=_[el],ec=C(Z[el],L,es);if(eu){var ed,eh=createMediaQuery(eu);ea()(eo,((ed={})[eh]=ea()({},eo[eh],ec),ed))}else ea()(eo,ec)}return eo},index_esm_createStyleFunction=function(_){var C=_.properties,L=_.property,Z=_.scale,ea=_.transform,es=void 0===ea?getValue:ea,eo=_.defaultScale;C=C||[L];var sx=function(_,L,Z){var ea={},eo=es(_,L,Z);
3057if(null!==eo)return C.forEach(function(_){ea[_]=eo}),ea};return sx.scale=Z,sx.defaults=eo,sx},system=function(_){void 0===_&&(_={});var C={};return Object.keys(_).forEach(function(L){var Z=_[L];if(!0===Z){C[L]=index_esm_createStyleFunction({property:L,scale:L});return}if("function"==typeof Z){C[L]=Z;return}C[L]=index_esm_createStyleFunction(Z)}),index_esm_createParser(C)},compose=function(){for(var _={},C=arguments.length,L=Array(C),Z=0;Z<C;Z++)L[Z]=arguments[Z];return L.forEach(function(C){C&&C.config&&ea()(_,C.config)}),index_esm_createParser(_)},eo=system({width:{property:"width",scale:"sizes",transform:function(_,C){return get(C,_,!("number"==typeof _&&!isNaN(_))||_>1?_:100*_+"%")}},height:{property:"height",scale:"sizes"},minWidth:{property:"minWidth",scale:"sizes"},minHeight:{property:"minHeight",scale:"sizes"},maxWidth:{property:"maxWidth",scale:"sizes"},maxHeight:{property:"maxHeight",scale:"sizes"},size:{properties:["width","height"],scale:"sizes"},overflow:!0,overflowX:!0,overflowY:!0,display:!0,verticalAlign:!0}),el={color:{property:"color",scale:"colors"},backgroundColor:{property:"backgroundColor",scale:"colors"},opacity:!0};el.bg=el.backgroundColor;var eu=system(el),ec=system({fontFamily:{property:"fontFamily",scale:"fonts"},fontSize:{property:"fontSize",scale:"fontSizes",defaultScale:[12,14,16,20,24,32,48,64,72]},fontWeight:{property:"fontWeight",scale:"fontWeights"},lineHeight:{property:"lineHeight",scale:"lineHeights"},letterSpacing:{property:"letterSpacing",scale:"letterSpacings"},textAlign:!0,fontStyle:!0}),ed=system({alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:!0,flex:!0,flexGrow:!0,flexShrink:!0,flexBasis:!0,justifySelf:!0,alignSelf:!0,order:!0}),eh={space:[0,4,8,16,32,64,128,256,512]},ep=system({gridGap:{property:"gridGap",scale:"space",defaultScale:eh.space},gridColumnGap:{property:"gridColumnGap",scale:"space",defaultScale:eh.space},gridRowGap:{property:"gridRowGap",scale:"space",defaultScale:eh.space},gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridAutoRows:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0}),ef={border:{property:"border",scale:"borders"},borderWidth:{property:"borderWidth",scale:"borderWidths"},borderStyle:{property:"borderStyle",scale:"borderStyles"},borderColor:{property:"borderColor",scale:"colors"},borderRadius:{property:"borderRadius",scale:"radii"},borderTop:{property:"borderTop",scale:"borders"},borderTopLeftRadius:{property:"borderTopLeftRadius",scale:"radii"},borderTopRightRadius:{property:"borderTopRightRadius",scale:"radii"},borderRight:{property:"borderRight",scale:"borders"},borderBottom:{property:"borderBottom",scale:"borders"},borderBottomLeftRadius:{property:"borderBottomLeftRadius",scale:"radii"},borderBottomRightRadius:{property:"borderBottomRightRadius",scale:"radii"},borderLeft:{property:"borderLeft",scale:"borders"},borderX:{properties:["borderLeft","borderRight"],scale:"borders"},borderY:{properties:["borderTop","borderBottom"],scale:"borders"}};ef.borderTopWidth={property:"borderTopWidth",scale:"borderWidths"},ef.borderTopColor={property:"borderTopColor",scale:"colors"},ef.borderTopStyle={property:"borderTopStyle",scale:"borderStyles"},ef.borderTopLeftRadius={property:"borderTopLeftRadius",scale:"radii"},ef.borderTopRightRadius={property:"borderTopRightRadius",scale:"radii"},ef.borderBottomWidth={property:"borderBottomWidth",scale:"borderWidths"},ef.borderBottomColor={property:"borderBottomColor",scale:"colors"},ef.borderBottomStyle={property:"borderBottomStyle",scale:"borderStyles"},ef.borderBottomLeftRadius={property:"borderBottomLeftRadius",scale:"radii"},ef.borderBottomRightRadius={property:"borderBottomRightRadius",scale:"radii"},ef.borderLeftWidth={property:"borderLeftWidth",scale:"borderWidths"},ef.borderLeftColor={property:"borderLeftColor",scale:"colors"},ef.borderLeftStyle={property:"borderLeftStyle",scale:"borderStyles"},ef.borderRightWidth={property:"borderRightWidth",scale:"borderWidths"},ef.borderRightColor={property:"borderRightColor",scale:"colors"},ef.borderRightStyle={property:"borderRightStyle",scale:"borderStyles"};var em=system(ef),eb={background:!0,backgroundImage:!0,backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0};eb.bgImage=eb.backgroundImage,eb.bgSize=eb.backgroundSize,eb.bgPosition=eb.backgroundPosition,eb.bgRepeat=eb.backgroundRepeat;
3057var ey=system(eb),eg={space:[0,4,8,16,32,64,128,256,512]},ev=system({position:!0,zIndex:{property:"zIndex",scale:"zIndices"},top:{property:"top",scale:"space",defaultScale:eg.space},right:{property:"right",scale:"space",defaultScale:eg.space},bottom:{property:"bottom",scale:"space",defaultScale:eg.space},left:{property:"left",scale:"space",defaultScale:eg.space}}),ex={space:[0,4,8,16,32,64,128,256,512]},index_esm_isNumber=function(_){return"number"==typeof _&&!isNaN(_)},getMargin=function(_,C){if(!index_esm_isNumber(_))return get(C,_,_);var L=_<0,Z=Math.abs(_),ea=get(C,Z,Z);return index_esm_isNumber(ea)?ea*(L?-1:1):L?"-"+ea:ea},e_={};e_.margin={margin:{property:"margin",scale:"space",transform:getMargin,defaultScale:ex.space},marginTop:{property:"marginTop",scale:"space",transform:getMargin,defaultScale:ex.space},marginRight:{property:"marginRight",scale:"space",transform:getMargin,defaultScale:ex.space},marginBottom:{property:"marginBottom",scale:"space",transform:getMargin,defaultScale:ex.space},marginLeft:{property:"marginLeft",scale:"space",transform:getMargin,defaultScale:ex.space},marginX:{properties:["marginLeft","marginRight"],scale:"space",transform:getMargin,defaultScale:ex.space},marginY:{properties:["marginTop","marginBottom"],scale:"space",transform:getMargin,defaultScale:ex.space}},e_.margin.m=e_.margin.margin,e_.margin.mt=e_.margin.marginTop,e_.margin.mr=e_.margin.marginRight,e_.margin.mb=e_.margin.marginBottom,e_.margin.ml=e_.margin.marginLeft,e_.margin.mx=e_.margin.marginX,e_.margin.my=e_.margin.marginY,e_.padding={padding:{property:"padding",scale:"space",defaultScale:ex.space},paddingTop:{property:"paddingTop",scale:"space",defaultScale:ex.space},paddingRight:{property:"paddingRight",scale:"space",defaultScale:ex.space},paddingBottom:{property:"paddingBottom",scale:"space",defaultScale:ex.space},paddingLeft:{property:"paddingLeft",scale:"space",defaultScale:ex.space},paddingX:{properties:["paddingLeft","paddingRight"],scale:"space",defaultScale:ex.space},paddingY:{properties:["paddingTop","paddingBottom"],scale:"space",defaultScale:ex.space}},e_.padding.p=e_.padding.padding,e_.padding.pt=e_.padding.paddingTop,e_.padding.pr=e_.padding.paddingRight,e_.padding.pb=e_.padding.paddingBottom,e_.padding.pl=e_.padding.paddingLeft,e_.padding.px=e_.padding.paddingX,e_.padding.py=e_.padding.paddingY;var ew=compose(system(e_.margin),system(e_.padding)),eC=system({boxShadow:{property:"boxShadow",scale:"shadows"},textShadow:{property:"textShadow",scale:"shadows"}});function _extends(){return(_extends=Object.assign||function(_){for(var C=1;C<arguments.length;C++){var L=arguments[C];for(var Z in L)Object.prototype.hasOwnProperty.call(L,Z)&&(_[Z]=L[Z])}return _}).apply(this,arguments)}var index_esm_get=function(_,C,L,Z,ea){for(Z=0,C=C&&C.split?C.split("."):[C];Z<C.length;Z++)_=_?_[C[Z]]:ea;return _===ea?L:_},eT=[40,52,64].map(function(_){return _+"em"}),eq={space:[0,4,8,16,32,64,128,256,512],fontSizes:[12,14,16,20,24,32,48,64,72]},ek={bg:"backgroundColor",m:"margin",mt:"marginTop",mr:"marginRight",mb:"marginBottom",ml:"marginLeft",mx:"marginX",my:"marginY",p:"padding",pt:"paddingTop",pr:"paddingRight",pb:"paddingBottom",pl:"paddingLeft",px:"paddingX",py:"paddingY"},eS={marginX:["marginLeft","marginRight"],marginY:["marginTop","marginBottom"],paddingX:["paddingLeft","paddingRight"],paddingY:["paddingTop","paddingBottom"],size:["width","height"]},eE={color:"colors",backgroundColor:"colors",borderColor:"colors",margin:"space",marginTop:"space",marginRight:"space",marginBottom:"space",marginLeft:"space",marginX:"space",marginY:"space",padding:"space",paddingTop:"space",paddingRight:"space",paddingBottom:"space",paddingLeft:"space",paddingX:"space",paddingY:"space",top:"space",right:"space",bottom:"space",left:"space",gridGap:"space",gridColumnGap:"space",gridRowGap:"space",gap:"space",columnGap:"space",rowGap:"space",fontFamily:"fonts",fontSize:"fontSizes",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",border:"borders",borderTop:"borders",borderRight:"borders",borderBottom:"borders",borderLeft:"borders",borderWidth:"borderWidths",borderStyle:"borderStyles",borderRadius:"radii",borderTopRightRadius:"radii",borderTopLeftRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",borderTopWidth:"borderWidths",borderTopColor:"colors",borderTopStyle:"borderStyles",borderBottomWidth:"borderWidths",borderBottomColor:"colors",borderBottomStyle:"borderStyles",borderLeftWidth:"borderWidths",borderLeftColor:"colors",borderLeftStyle:"borderStyles",borderRightWidth:"borderWidths",borderRightColor:"colors",borderRightStyle:"borderStyles",outlineColor:"colors",boxShadow:"shadows",textShadow:"shadows",zIndex:"zIndices",width:"sizes",minWidth:"sizes",maxWidth:"sizes",height:"sizes",minHeight:"sizes",maxHeight:"sizes",flexBasis:"sizes",size:"sizes",fill:"colors",stroke:"colors"},positiveOrNegative=function(_,C){if("number"!=typeof C||C>=0)return index_esm_get(_,C,C);var L=Math.abs(C),Z=index_esm_get(_,L,L);return"string"==typeof Z?"-"+Z:-1*Z},eM=["margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","to
3057p","bottom","left","right"].reduce(function(_,C){var L;return _extends({},_,((L={})[C]=positiveOrNegative,L))},{}),variant=function(_){var C,L,Z=_.scale,ea=_.prop,es=_.variants,eo=void 0===es?{}:es,el=_.key;return(L=Object.keys(eo).length?function(_,C,L){return(function css(_){return function(C){void 0===C&&(C={});var L,Z=_extends({},eq,{},C.theme||C),ea={},es=(L="function"==typeof _?_(Z):_,function(_){var C={},Z=[null].concat(index_esm_get(_,"breakpoints",eT).map(function(_){return"@media screen and (min-width: "+_+")"}));for(var ea in L){var es="function"==typeof L[ea]?L[ea](_):L[ea];if(null!=es){if(!Array.isArray(es)){C[ea]=es;continue}for(var eo=0;eo<es.slice(0,Z.length).length;eo++){var el=Z[eo];if(!el){C[ea]=es[eo];continue}C[el]=C[el]||{},null!=es[eo]&&(C[el][ea]=es[eo])}}}return C})(Z);for(var eo in es){var el=es[eo],eu="function"==typeof el?el(Z):el;if("variant"===eo){var ec=css(index_esm_get(Z,eu))(Z);ea=_extends({},ea,{},ec);continue}if(eu&&"object"==typeof eu){ea[eo]=css(eu)(Z);continue}var ed=index_esm_get(ek,eo,eo),eh=index_esm_get(eE,ed),ep=index_esm_get(Z,eh,index_esm_get(Z,ed,{})),ef=index_esm_get(eM,ed,index_esm_get)(ep,eu,eu);if(eS[ed])for(var em=eS[ed],eb=0;eb<em.length;eb++)ea[em[eb]]=ef;else ea[ed]=ef}return ea}})(get(C,_,null))(L.theme)}:function(_,C){return get(C,_,null)}).scale=Z||el,L.defaults=eo,index_esm_createParser(((C={})[void 0===ea?"variant":ea]=L,C))},ej=variant({key:"buttons"}),eA=variant({key:"textStyles",prop:"textStyle"}),eD=variant({key:"colorStyles",prop:"colors"});eo.width,eo.height,eo.minWidth,eo.minHeight,eo.maxWidth,eo.maxHeight,eo.size,eo.verticalAlign,eo.display,eo.overflow,eo.overflowX,eo.overflowY,eu.opacity,ec.fontSize,ec.fontFamily,ec.fontWeight,ec.lineHeight,ec.textAlign,ec.fontStyle,ec.letterSpacing,ed.alignItems,ed.alignContent,ed.justifyItems,ed.justifyContent,ed.flexWrap,ed.flexDirection,ed.flex,ed.flexGrow,ed.flexShrink,ed.flexBasis,ed.justifySelf,ed.alignSelf,ed.order,ep.gridGap,ep.gridColumnGap,ep.gridRowGap,ep.gridColumn,ep.gridRow,ep.gridAutoFlow,ep.gridAutoColumns,ep.gridAutoRows,ep.gridTemplateColumns,ep.gridTemplateRows,ep.gridTemplateAreas,ep.gridArea,em.borderWidth,em.borderStyle,em.borderColor,em.borderTop,em.borderRight,em.borderBottom,em.borderLeft;var eI=em.borderRadius;ey.backgroundImage,ey.backgroundSize,ey.backgroundPosition,ey.backgroundRepeat,ev.zIndex,ev.top,ev.right,ev.bottom,ev.left},73248:function(_,C){"use strict";C.Z=function(_,C){}},17228:function(_){_.exports&&(_.exports=function(_){return _.prototype.toFormat=function(_,C,L){if(!this.e&&0!==this.e)return this.toString();var Z,ea,es,eo,el,eu,ec,ed,eh,ep,ef,em,eb,ey,eg,ev=this.format||{},ex=this.constructor.format||{};if(_!=el?"object"==typeof _?(L=_,_=el):C!=el?"object"==typeof C?(L=C,C=el):"object"!=typeof L&&(L={}):L={}:L={},ed=(Z=this.toFixed(_,C).split("."))[0],eh=Z[1],eu=(ec=this.s<0?ed.slice(1):ed).length,(ep=L.decimalSeparator)==el&&(ep=ev.decimalSeparator)==el&&(ep=ex.decimalSeparator)==el&&(ep="."),(ef=L.groupSeparator)==el&&(ef=ev.groupSeparator)==el&&(ef=ex.groupSeparator),ef&&((em=L.groupSize)==el&&(em=ev.groupSize)==el&&(em=ex.groupSize)==el&&(em=0),(eb=L.secondaryGroupSize)==el&&(eb=ev.secondaryGroupSize)==el&&(eb=ex.secondaryGroupSize)==el&&(eb=0),eb?(ea=+eb,eu-=es=+em):(ea=+em,es=+eb),ea>0&&eu>0)){for(eo=eu%ea||ea,ed=ec.substr(0,eo);eo<eu;eo+=ea)ed+=ef+ec.substr(eo,ea);es>0&&(ed+=ef+ec.slice(eo)),this.s<0&&(ed="-"+ed)}return eh?((ey=L.fractionGroupSeparator)==el&&(ey=ev.fractionGroupSeparator)==el&&(ey=ex.fractionGroupSeparator),ey&&((eg=L.fractionGroupSize)==el&&(eg=ev.fractionGroupSize)==el&&(eg=ex.fractionGroupSize)==el&&(eg=0),(eg=+eg)&&(eh=eh.replace(RegExp("\\d{"+eg+"}\\B","g"),"$&"+ey))),ed+ep+eh):ed},_.format={decimalSeparator:".",groupSeparator:",",groupSize:3,secondaryGroupSize:0,fractionGroupSeparator:"",fractionGroupSize:0},_})},33569:function(_,C,L){"use strict";L.r(C),L.d(C,{__assign:function(){return __assign},__asyncDelegator:function(){return __asyncDelegator},__asyncGenerator:function(){return __asyncGenerator},__asyncValues:function(){return __asyncValues},__await:function(){return __await},__awaiter:function(){return __awaiter},__classPrivateFieldGet:function(){return __classPrivateFieldGet},__classPrivateFieldSet:function(){return __classPrivateFieldSet},__createBinding:function(){return __createBinding},__decorate:function(){return __decorate},__exportStar:function(){return __exportStar},__extends:function(){return __extends},__generator:function(){return __generator},__importDefault:function(){return __importDefault},__importStar:function(){return __importStar}
vendor: 6,661 bytes, lines 3057-3070
3057,__makeTemplateObject:function(){return __makeTemplateObject},__metadata:function(){return __metadata},__param:function(){return __param},__read:function(){return __read},__rest:function(){return __rest},__spread:function(){return __spread},__spreadArrays:function(){return __spreadArrays},__values:function(){return __values}});/*! *****************************************************************************
3058Copyright (c) Microsoft Corporation.
3059
3060Permission to use, copy, modify, and/or distribute this software for any
3061purpose with or without fee is hereby granted.
3062
3063THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
3064REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
3065AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
3066INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
3067LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
3068OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
3069PERFORMANCE OF THIS SOFTWARE.
3070***************************************************************************** */var extendStatics=function(_,C){return(extendStatics=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(_,C){_.__proto__=C}||function(_,C){for(var L in C)C.hasOwnProperty(L)&&(_[L]=C[L])})(_,C)};function __extends(_,C){function __(){this.constructor=_}extendStatics(_,C),_.prototype=null===C?Object.create(C):(__.prototype=C.prototype,new __)}var __assign=function(){return(__assign=Object.assign||function(_){for(var C,L=1,Z=arguments.length;L<Z;L++)for(var ea in C=arguments[L])Object.prototype.hasOwnProperty.call(C,ea)&&(_[ea]=C[ea]);return _}).apply(this,arguments)};function __rest(_,C){var L={};for(var Z in _)Object.prototype.hasOwnProperty.call(_,Z)&&0>C.indexOf(Z)&&(L[Z]=_[Z]);if(null!=_&&"function"==typeof Object.getOwnPropertySymbols)for(var ea=0,Z=Object.getOwnPropertySymbols(_);ea<Z.length;ea++)0>C.indexOf(Z[ea])&&Object.prototype.propertyIsEnumerable.call(_,Z[ea])&&(L[Z[ea]]=_[Z[ea]]);return L}function __decorate(_,C,L,Z){var ea,es=arguments.length,eo=es<3?C:null===Z?Z=Object.getOwnPropertyDescriptor(C,L):Z;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)eo=Reflect.decorate(_,C,L,Z);else for(var el=_.length-1;el>=0;el--)(ea=_[el])&&(eo=(es<3?ea(eo):es>3?ea(C,L,eo):ea(C,L))||eo);return es>3&&eo&&Object.defineProperty(C,L,eo),eo}function __param(_,C){return function(L,Z){C(L,Z,_)}}function __metadata(_,C){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(_,C)}function __awaiter(_,C,L,Z){return new(L||(L=Promise))(function(ea,es){function fulfilled(_){try{step(Z.next(_))}catch(_){es(_)}}function rejected(_){try{step(Z.throw(_))}catch(_){es(_)}}function step(_){var C;_.done?ea(_.value):((C=_.value)instanceof L?C:new L(function(_){_(C)})).then(fulfilled,rejected)}step((Z=Z.apply(_,C||[])).next())})}function __generator(_,C){var L,Z,ea,es,eo={label:0,sent:function(){if(1&ea[0])throw ea[1];return ea[1]},trys:[],ops:[]};return es={next:verb(0),throw:verb(1),return:verb(2)},"function"==typeof Symbol&&(es[Symbol.iterator]=function(){return this}),es;function verb(es){return function(el){return function(es){if(L)throw TypeError("Generator is already executing.");for(;eo;)try{if(L=1,Z&&(ea=2&es[0]?Z.return:es[0]?Z.throw||((ea=Z.return)&&ea.call(Z),0):Z.next)&&!(ea=ea.call(Z,es[1])).done)return ea;switch(Z=0,ea&&(es=[2&es[0],ea.value]),es[0]){case 0:case 1:ea=es;break;case 4:return eo.label++,{value:es[1],done:!1};case 5:eo.label++,Z=es[1],es=[0];continue;case 7:es=eo.ops.pop(),eo.trys.pop();continue;default:if(!(ea=(ea=eo.trys).length>0&&ea[ea.length-1])&&(6===es[0]||2===es[0])){eo=0;continue}if(3===es[0]&&(!ea||es[1]>ea[0]&&es[1]<ea[3])){eo.label=es[1];break}if(6===es[0]&&eo.label<ea[1]){eo.label=ea[1],ea=es;break}if(ea&&eo.label<ea[2]){eo.label=ea[2],eo.ops.push(es);break}ea[2]&&eo.ops.pop(),eo.trys.pop();continue}es=C.call(_,eo)}catch(_){es=[6,_],Z=0}finally{L=ea=0}if(5&es[0])throw es[1];return{value:es[0]?es[1]:void 0,done:!0}}([es,el])}}}function __createBinding(_,C,L,Z){void 0===Z&&(Z=L),_[Z]=C[L]}function __exportStar(_,C){for(var L in _)"default"===L||C.hasOwnProperty(L)||(C[L]=_[L])}function __values(_){var C="function"==typeof Symbol&&Symbol.iterator,L=C&&_[C],Z=0;if(L)return L.call(_);if(_&&"number"==typeof _.length)return{next:function(){return _&&Z>=_.length&&(_=void 0),{value:_&&_[Z++],done:!_}}};throw TypeError(C?"Object is not iterable.":"Symbol.iterator is not defined.")}function __read(_,C){var L="function"==typeof Symbol&&_[Symbol.iterator];if(!L)return _;var Z,ea,es=L.call(_),eo=[];try{for(;(void 0===C||C-- >0)&&!(Z=es.next()).done;)eo.push(Z.value)}catch(_){ea={error:_}}finally{try{Z&&!Z.done&&(L=es.return)&&L.call(es)}finally{if(ea)throw ea.error}}return eo}function __spread(){for(var _=[],C=0;C<arguments.length;C++)_=_.concat(__read(arguments[C]));return _}function __spreadArrays(){for(var _=0,C=0,L=arguments.length;C<L;C++)_+=arguments[C].length;for(var Z=Array(_),ea=0,C=0;C<L;C++)for(var es=arguments[C],eo=0,el=es.length;eo<el;eo++,ea++)Z[ea]=es[eo];return Z}function __await(_){return this instanceof __await?(this.v=_,this):new __await(_)}function __asyncGenerator(_,C,L){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var Z,ea=L.apply(_,C||[]),es=[];return Z={},verb("next"),verb("throw"),verb("return"),Z[Symbol.asyncIterator]=function(){return this},Z;function verb(_){ea[_]&&(Z[_]=function(C){return new Promise(function(L,Z){es.push([_,C,L,Z])>1||resume(_,C)})})}function resume(_,C){try{var L;(L=ea[_](C)).value instanceof __await?Promise.resolve(L.value.v).then(fulfill,reject):settle(es[0][2],L)}catch(_){settle(es[0][3],_)}}function fulfill(_){resume("next",_)}function reject(_){resume("throw",_)}function settle(_,C){_(C),es.shift(),es.length&&resume(es[0][0],es[0][1])}}function __asyncDelegator(_){var C,L;return C={},verb("next"),verb("throw",function(_){throw _}),verb("return"),C[Symbol.iterator]=function(){return this},C;function verb(Z,ea){C[Z]=_[Z]?function(C){return(L=!L)?{value:__await(_[Z](C)),done:"return"===Z}:ea?ea(C):C}:ea}}function __asyncValues(_){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var C,L=_[Symbol.asyncIterator];return L?L.call(_):(_=__values(_),C={},verb("next"),verb("throw"),verb("return"),C[Symbol.asyncIterator]=function(){return this},C);function verb(L){C[L]=_[L]&&function(C){return new Promise(function(Z,ea){!function(_,C,L,Z){Promise.resolve(Z).then(function(C){_({value:C,done:L})},C)}(Z,ea,(C=_[L](C)).done,C.value)})}}}
3070function __makeTemplateObject(_,C){return Object.defineProperty?Object.defineProperty(_,"raw",{value:C}):_.raw=C,_}function __importStar(_){if(_&&_.__esModule)return _;var C={};if(null!=_)for(var L in _)Object.hasOwnProperty.call(_,L)&&(C[L]=_[L]);return C.default=_,C}function __importDefault(_){return _&&_.__esModule?_:{default:_}}function __classPrivateFieldGet(_,C){if(!C.has(_))throw TypeError("attempted to get private field on non-instance");return C.get(_)}function __classPrivateFieldSet(_,C,L){if(!C.has(_))throw TypeError("attempted to set private field on non-instance");return C.set(_,L),L}},75827:function(_,C,L){var Z;!function(ea,es){"use strict";var eo="function",el="undefined",eu="object",ec="string",ed="major",eh="model",ep="name",ef="type",em="vendor",eb="version",ey="architecture",eg="console",ev="mobile",ex="tablet",e_="smarttv",ew="wearable",eC="embedded",eT="Amazon",eq="Apple",ek="ASUS",eS="BlackBerry",eE="Browser",eM="Chrome",ej="Firefox",eA="Google",eD="Huawei",eI="Microsoft",eO="Motorola",eP="Opera",eN="Samsung",eL="Sharp",eR="Sony",eB="Xiaomi",eF="Zebra",eZ="Facebook",ez="Chromium OS",eU="Mac OS",extend=function(_,C){var L={};for(var Z in _)C[Z]&&C[Z].length%2==0?L[Z]=C[Z].concat(_[Z]):L[Z]=_[Z];return L},enumerize=function(_){for(var C={},L=0;L<_.length;L++)C[_[L].toUpperCase()]=_[L];return C},has=function(_,C){return typeof _===ec&&-1!==lowerize(C).indexOf(lowerize(_))},lowerize=function(_){return _.toLowerCase()},trim=function(_,C){if(typeof _===ec)return _=_.replace(/^\s\s*/,""),typeof C===el?_:_.substring(0,500)},rgxMapper=function(_,C){for(var L,Z,ea,el,ec,ed,eh=0;eh<C.length&&!ec;){var ep=C[eh],ef=C[eh+1];for(L=Z=0;L<ep.length&&!ec&&ep[L];)if(ec=ep[L++].exec(_))for(ea=0;ea<ef.length;ea++)ed=ec[++Z],typeof(el=ef[ea])===eu&&el.length>0?2===el.length?typeof el[1]==eo?this[el[0]]=el[1].call(this,ed):this[el[0]]=el[1]:3===el.length?typeof el[1]!==eo||el[1].exec&&el[1].test?this[el[0]]=ed?ed.replace(el[1],el[2]):es:this[el[0]]=ed?el[1].call(this,ed,el[2]):es:4===el.length&&(this[el[0]]=ed?el[3].call(this,ed.replace(el[1],el[2])):es):this[el]=ed||es;eh+=2}},strMapper=function(_,C){for(var L in C)if(typeof C[L]===eu&&C[L].length>0){for(var Z=0;Z<C[L].length;Z++)if(has(C[L][Z],_))return"?"===L?es:L}else if(has(C[L],_))return"?"===L?es:L;return _},e$={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},eV={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[eb,[ep,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[eb,[ep,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[ep,eb],[/opios[\/ ]+([\w\.]+)/i],[eb,[ep,eP+" Mini"]],[/\bopr\/([\w\.]+)/i],[eb,[ep,eP]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[eb,[ep,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[ep,eb],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[eb,[ep,"UC"+eE]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[eb,[ep,"WeChat"]],[/konqueror\/([\w\.]+)/i],[eb,[ep,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[eb,[ep,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[eb,[ep,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[eb,[ep,"Smart Lenovo "+eE]],[/(avast|avg)\/([\w\.]+)/i],[[ep,/(.+)/,"$1 Secure "+eE],eb],[/\bfocus\/([\w\.]+)/i],[eb,[ep,ej+" Focus"]],[/\bopt\/([\w\.]+)/i],[eb,[ep,eP+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[eb,[ep,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[eb,[ep,"Dolphin"]],[/coast\/([\w\.]+)/i],[eb,[ep,eP+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[eb,[ep,"MIUI "+eE]],[/fxios\/([-\w\.]+)/i],[eb,[ep,ej]],[/\bqihu|(qi?ho?o?|360)browser/i],[[ep,"360 "+eE]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[ep,/(.+)/,"$1 "+eE],eb],[/samsungbrowser\/([\w\.]+)/i],[eb,[ep,eN+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[ep,/_/g," "],eb],[/metasr[\/ ]?([\d\.]+)/i],[eb,[ep,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[ep,"Sogou Mobile"],eb],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[ep,eb],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[ep],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[ep,eZ],eb],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[ep,eb],[/\bgsa\/([\w\.]+) .*safari\//i],[eb,[ep,"GSA"]],[/musical_ly(?:.
vendor: 5,558 bytes, line 3070
3070+app_?version\/|_)([\w\.]+)/i],[eb,[ep,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[eb,[ep,eM+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[ep,eM+" WebView"],eb],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[eb,[ep,"Android "+eE]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[ep,eb],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[eb,[ep,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[eb,ep],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[ep,[eb,strMapper,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[ep,eb],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[ep,"Netscape"],eb],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[eb,[ep,ej+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[ep,eb],[/(cobalt)\/([\w\.]+)/i],[ep,[eb,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[ey,"amd64"]],[/(ia32(?=;))/i],[[ey,lowerize]],[/((?:i[346]|x)86)[;\)]/i],[[ey,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[ey,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[ey,"armhf"]],[/windows (ce|mobile); ppc;/i],[[ey,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[ey,/ower/,"",lowerize]],[/(sun4\w)[;\)]/i],[[ey,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[ey,lowerize]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[eh,[em,eN],[ef,ex]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[eh,[em,eN],[ef,ev]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[eh,[em,eq],[ef,ev]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[eh,[em,eq],[ef,ex]],[/(macintosh);/i],[eh,[em,eq]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[eh,[em,eL],[ef,ev]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[eh,[em,eD],[ef,ex]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[eh,[em,eD],[ef,ev]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[eh,/_/g," "],[em,eB],[ef,ev]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[eh,/_/g," "],[em,eB],[ef,ex]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[eh,[em,"OPPO"],[ef,ev]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[eh,[em,"Vivo"],[ef,ev]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[eh,[em,"Realme"],[ef,ev]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[eh,[em,eO],[ef,ev]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[eh,[em,eO],[ef,ex]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[eh,[em,"LG"],[ef,ex]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[eh,[em,"LG"],[ef,ev]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[eh,[em,"Lenovo"],[ef,ex]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[eh,/_/g," "],[em,"Nokia"],[ef,ev]],[/(pixel c)\b/i],[eh,[em,eA],[ef,ex]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[eh,[em,eA],[ef,ev]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[eh,[em,eR],[ef,ev]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[eh,"Xperia Tablet"],[em,eR],[ef,ex]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[eh,[em,"OnePlus"],[ef,ev]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[eh,[em,eT],[ef,ex]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[eh,/(.+)/g,"Fire Phone $1"],[em,eT],[ef,ev]],[/(playbook);[-\w\),; ]+(rim)/i],[eh,em,[ef,ex]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[eh,[em,eS],[ef,ev]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[eh,[em,ek],[ef,ex]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[eh,[em,ek],[ef,ev]],[/(nexus 9)/i],[eh,[em,"HTC"],[ef,ex]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[em,[eh,/_/g," "],[ef,ev]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[eh,[em,"Acer"],[ef,ex]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[eh,[em,"Meizu"],[ef,ev]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[eh,[em,"Ulefone"],[ef,ev]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asu
vendor: 4,896 bytes, line 3070
3070s)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[em,eh,[ef,ev]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[em,eh,[ef,ex]],[/(surface duo)/i],[eh,[em,eI],[ef,ex]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[eh,[em,"Fairphone"],[ef,ev]],[/(u304aa)/i],[eh,[em,"AT&T"],[ef,ev]],[/\bsie-(\w*)/i],[eh,[em,"Siemens"],[ef,ev]],[/\b(rct\w+) b/i],[eh,[em,"RCA"],[ef,ex]],[/\b(venue[\d ]{2,7}) b/i],[eh,[em,"Dell"],[ef,ex]],[/\b(q(?:mv|ta)\w+) b/i],[eh,[em,"Verizon"],[ef,ex]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[eh,[em,"Barnes & Noble"],[ef,ex]],[/\b(tm\d{3}\w+) b/i],[eh,[em,"NuVision"],[ef,ex]],[/\b(k88) b/i],[eh,[em,"ZTE"],[ef,ex]],[/\b(nx\d{3}j) b/i],[eh,[em,"ZTE"],[ef,ev]],[/\b(gen\d{3}) b.+49h/i],[eh,[em,"Swiss"],[ef,ev]],[/\b(zur\d{3}) b/i],[eh,[em,"Swiss"],[ef,ex]],[/\b((zeki)?tb.*\b) b/i],[eh,[em,"Zeki"],[ef,ex]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[em,"Dragon Touch"],eh,[ef,ex]],[/\b(ns-?\w{0,9}) b/i],[eh,[em,"Insignia"],[ef,ex]],[/\b((nxa|next)-?\w{0,9}) b/i],[eh,[em,"NextBook"],[ef,ex]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[em,"Voice"],eh,[ef,ev]],[/\b(lvtel\-)?(v1[12]) b/i],[[em,"LvTel"],eh,[ef,ev]],[/\b(ph-1) /i],[eh,[em,"Essential"],[ef,ev]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[eh,[em,"Envizen"],[ef,ex]],[/\b(trio[-\w\. ]+) b/i],[eh,[em,"MachSpeed"],[ef,ex]],[/\btu_(1491) b/i],[eh,[em,"Rotor"],[ef,ex]],[/(shield[\w ]+) b/i],[eh,[em,"Nvidia"],[ef,ex]],[/(sprint) (\w+)/i],[em,eh,[ef,ev]],[/(kin\.[onetw]{3})/i],[[eh,/\./g," "],[em,eI],[ef,ev]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[eh,[em,eF],[ef,ex]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[eh,[em,eF],[ef,ev]],[/smart-tv.+(samsung)/i],[em,[ef,e_]],[/hbbtv.+maple;(\d+)/i],[[eh,/^/,"SmartTV"],[em,eN],[ef,e_]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[em,"LG"],[ef,e_]],[/(apple) ?tv/i],[em,[eh,eq+" TV"],[ef,e_]],[/crkey/i],[[eh,eM+"cast"],[em,eA],[ef,e_]],[/droid.+aft(\w+)( bui|\))/i],[eh,[em,eT],[ef,e_]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[eh,[em,eL],[ef,e_]],[/(bravia[\w ]+)( bui|\))/i],[eh,[em,eR],[ef,e_]],[/(mitv-\w{5}) bui/i],[eh,[em,eB],[ef,e_]],[/Hbbtv.*(technisat) (.*);/i],[em,eh,[ef,e_]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[em,trim],[eh,trim],[ef,e_]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[ef,e_]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[em,eh,[ef,eg]],[/droid.+; (shield) bui/i],[eh,[em,"Nvidia"],[ef,eg]],[/(playstation [345portablevi]+)/i],[eh,[em,eR],[ef,eg]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[eh,[em,eI],[ef,eg]],[/((pebble))app/i],[em,eh,[ef,ew]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[eh,[em,eq],[ef,ew]],[/droid.+; (glass) \d/i],[eh,[em,eA],[ef,ew]],[/droid.+; (wt63?0{2,3})\)/i],[eh,[em,eF],[ef,ew]],[/(quest( 2| pro)?)/i],[eh,[em,eZ],[ef,ew]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[em,[ef,eC]],[/(aeobc)\b/i],[eh,[em,eT],[ef,eC]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[eh,[ef,ev]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[eh,[ef,ex]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[ef,ex]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[ef,ev]],[/(android[-\w\. ]{0,9});.+buil/i],[eh,[em,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[eb,[ep,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[eb,[ep,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[ep,eb],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[eb,ep]],os:[[/microsoft (windows) (vista|xp)/i],[ep,eb],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[ep,[eb,strMapper,e$]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[eb,strMapper,e$],[ep,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[eb,/_/g,"."],[ep,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[ep,eU],[eb,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[eb,ep],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[ep,eb],[/\(bb(10);/i],[eb,[ep,eS]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[eb,[ep,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+);
3070 rv:.+ gecko\/([\w\.]+)/i],[eb,[ep,ej+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[eb,[ep,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[eb,[ep,"watchOS"]],[/crkey\/([\d\.]+)/i],[eb,[ep,eM+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[ep,ez],eb],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[ep,eb],[/(sunos) ?([\w\.\d]*)/i],[[ep,"Solaris"],eb],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[ep,eb]]},UAParser=function(_,C){if(typeof _===eu&&(C=_,_=es),!(this instanceof UAParser))return new UAParser(_,C).getResult();var L=typeof ea!==el&&ea.navigator?ea.navigator:es,Z=_||(L&&L.userAgent?L.userAgent:""),eg=L&&L.userAgentData?L.userAgentData:es,e_=C?extend(eV,C):eV,ew=L&&L.userAgent==Z;return this.getBrowser=function(){var _,C={};return C[ep]=es,C[eb]=es,rgxMapper.call(C,Z,e_.browser),C[ed]=typeof(_=C[eb])===ec?_.replace(/[^\d\.]/g,"").split(".")[0]:es,ew&&L&&L.brave&&typeof L.brave.isBrave==eo&&(C[ep]="Brave"),C},this.getCPU=function(){var _={};return _[ey]=es,rgxMapper.call(_,Z,e_.cpu),_},this.getDevice=function(){var _={};return _[em]=es,_[eh]=es,_[ef]=es,rgxMapper.call(_,Z,e_.device),ew&&!_[ef]&&eg&&eg.mobile&&(_[ef]=ev),ew&&"Macintosh"==_[eh]&&L&&typeof L.standalone!==el&&L.maxTouchPoints&&L.maxTouchPoints>2&&(_[eh]="iPad",_[ef]=ex),_},this.getEngine=function(){var _={};return _[ep]=es,_[eb]=es,rgxMapper.call(_,Z,e_.engine),_},this.getOS=function(){var _={};return _[ep]=es,_[eb]=es,rgxMapper.call(_,Z,e_.os),ew&&!_[ep]&&eg&&"Unknown"!=eg.platform&&(_[ep]=eg.platform.replace(/chrome os/i,ez).replace(/macos/i,eU)),_},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return Z},this.setUA=function(_){return Z=typeof _===ec&&_.length>500?trim(_,500):_,this},this.setUA(Z),this};UAParser.VERSION="1.0.37",UAParser.BROWSER=enumerize([ep,eb,ed]),UAParser.CPU=enumerize([ey]),UAParser.DEVICE=enumerize([eh,em,ef,eg,ev,e_,ex,ew,eC]),UAParser.ENGINE=UAParser.OS=enumerize([ep,eb]),typeof C!==el?(_.exports&&(C=_.exports=UAParser),C.UAParser=UAParser):L.amdO?es!==(Z=(function(){return UAParser}).call(C,L,C,_))&&(_.exports=Z):typeof ea!==el&&(ea.UAParser=UAParser);var eW=typeof ea!==el&&(ea.jQuery||ea.Zepto);if(eW&&!eW.ua){var eH=new UAParser;eW.ua=eH.getResult(),eW.ua.get=function(){return eH.getUA()},eW.ua.set=function(_){eH.setUA(_);var C=eH.getResult();for(var L in C)eW.ua[L]=C[L]}}}("object"==typeof window?window:this)},31706:function(_,C,L){"use strict";/**
3071 * @license React
3072 * use-sync-external-store-shim.production.min.js
3073 *
3074 * Copyright (c) Facebook, Inc. and its affiliates.
3075 *
3076 * This source code is licensed under the MIT license found in the
3077 * LICENSE file in the root directory of this source tree.
3078 */var Z=L(52983),ea="function"==typeof Object.is?Object.is:function(_,C){return _===C&&(0!==_||1/_==1/C)||_!=_&&C!=C},es=Z.useState,eo=Z.useEffect,el=Z.useLayoutEffect,eu=Z.useDebugValue;function r(_){var C=_.getSnapshot;_=_.value;try{var L=C();return!ea(_,L)}catch(_){return!0}}var ec="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(_,C){return C()}:function(_,C){var L=C(),Z=es({inst:{value:L,getSnapshot:C}}),ea=Z[0].inst,ec=Z[1];return el(function(){ea.value=L,ea.getSnapshot=C,r(ea)&&ec({inst:ea})},[_,L,C]),eo(function(){return r(ea)&&ec({inst:ea}),_(function(){r(ea)&&ec({inst:ea})})},[_]),eu(L),L};C.useSyncExternalStore=void 0!==Z.useSyncExternalStore?Z.useSyncExternalStore:ec},99165:function(_,C,L){"use strict";/**
3079 * @license React
3080 * use-sync-external-store-shim/with-selector.production.min.js
3081 *
3082 * Copyright (c) Facebook, Inc. and its affiliates.
3083 *
3084 * This source code is licensed under the MIT license found in the
3085 * LICENSE file in the root directory of this source tree.
3086 */var Z=L(52983),ea=L(83576),es="function"==typeof Object.is?Object.is:function(_,C){return _===C&&(0!==_||1/_==1/C)||_!=_&&C!=C},eo=ea.useSyncExternalStore,el=Z.useRef,eu=Z.useEffect,ec=Z.useMemo,ed=Z.useDebugValue;C.useSyncExternalStoreWithSelector=function(_,C,L,Z,ea){var eh=el(null);if(null===eh.current){var ep={hasValue:!1,value:null};eh.current=ep}else ep=eh.current;var ef=eo(_,(eh=ec(function(){function a(C){if(!el){if(el=!0,_=C,C=Z(C),void 0!==ea&&ep.hasValue){var L=ep.value;if(ea(L,C))return eo=L}return eo=C}if(L=eo,es(_,C))return L;var eu=Z(C);return void 0!==ea&&ea(L,eu)?L:(_=C,eo=eu)}var _,eo,el=!1,eu=void 0===L?null:L;return[function(){return a(C())},null===eu?void 0:function(){return a(eu())}]},[C,L,Z,ea]))[0],eh[1]);return eu(function(){ep.hasValue=!0,ep.value=ef},[ef]),ed(ef),ef}},83576:function(_,C,L){"use strict";_.exports=L(31706)},52014:function(_,C,L){"use strict";_.exports=L(99165)},60092:function(_,C,L){var Z={"./bscTestnet.ts":[31140,1140],"./common/index.ts":[32368,2368],"./eth.ts":[31029,1029],"./goerli.ts":[62796,2796],"./index.ts":[71218],"./modeTestnet.ts":[22537,2537],"./priceHelperLps/1.ts":[9762,9762],"./priceHelperLps/42161.ts":[97240,7240],"./priceHelperLps/5.ts":[50167,167],"./priceHelperLps/56.ts":[5363,5363],"./priceHelperLps/59144.ts":[53095,3095],"./priceHelperLps/8453.ts":[997,997],"./priceHelperLps/97.ts":[85133,5133],"./priceHelperLps/getFarmsPriceHelperLpFiles.ts":[8672,8672],"./v3/index.ts":[39656,634]};function webpackAsyncContext(_){if(!L.o(Z,_))return Promise.resolve().then(function(){var C=Error("Cannot find module '"+_+"'");throw C.code="MODULE_NOT_FOUND",C});var C=Z[_],ea=C[0];return Promise.all(C.slice(1).map(L.e)).then(function(){return L(ea)})}webpackAsyncContext.keys=function(){return Object.keys(Z)},webpackAsyncContext.id=60092,_.exports=webpackAsyncContext},24615:function(_,C,L){var Z={"./":[689,689],"./bsc":[66751,6751],"./bsc.ts":[66751,6751],"./bscTestnet":[36453,6453],"./bscTestnet.ts":[36453,6453],"./goerli":[55423,5423],"./goerli.ts":[55423,5423],"./index":[689,689],"./index.ts":[689,689],"./polygonZkEVM":[70444,444],"./polygonZkEVM.ts":[70444,444]};function webpackAsyncContext(_){if(!L.o(Z,_))return Promise.resolve().then(function(){var C=Error("Cannot find module '"+_+"'");throw C.code="MODULE_NOT_FOUND",C});var C=Z[_],ea=C[0];return L.e(C[1]).then(function(){return L(ea)})}webpackAsyncContext.keys=function(){return Object.keys(Z)},webpackAsyncContext.id=24615,_.exports=webpackAsyncContext},73804:function(){},35408:function(_,C,L){"use strict";function _assertThisInitialized(_){if(void 0===_)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return _}L.d(C,{Z:function(){return _assertThisInitialized}})},54805:function(_,C,L){"use strict";function _extends(){return(_extends=Object.assign?Object.assign.bind():function(_){for(var C=1;C<arguments.length;C++){var L=arguments[C];for(var Z in L)Object.prototype.hasOwnProperty.call(L,Z)&&(_[Z]=L[Z])}return _}).apply(this,arguments)}L.d(C,{Z:function(){return _extends}})},45701:function(_,C,L){"use strict";L.d(C,{Z:function(){return _inheritsLoose}});var Z=L(38691);function _inheritsLoose(_,C){_.prototype=Object.create(C.prototype),_.prototype.constructor=_,(0,Z.Z)(_,C)}},38691:function(_,C,L){"use strict";function _setPrototypeOf(_,C){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,C){return _.__proto__=C,_})(_,C)}L.d(C,{Z:function(){return _setPrototypeOf}})},45545:function(_,C,L){"use strict";var Z,ea,es;function o(){var _,C,L,Z;return _=this,C=void 0,L=void 0,Z=function(){var _;return function(_,C){var L,Z,ea,es,eo={label:0,sent:function(){if(1&ea[0])throw ea[1];return ea[1]},trys:[],ops:[]};return es={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(es[Symbol.iterator]=function(){return this}),es;function u(el){return function(eu){return function(el){if(L)throw TypeError("Generator is already executing.");for(;es&&(es=0,el[0]&&(eo=0)),eo;
3086)try{if(L=1,Z&&(ea=2&el[0]?Z.return:el[0]?Z.throw||((ea=Z.return)&&ea.call(Z),0):Z.next)&&!(ea=ea.call(Z,el[1])).done)return ea;switch(Z=0,ea&&(el=[2&el[0],ea.value]),el[0]){case 0:case 1:ea=el;break;case 4:return eo.label++,{value:el[1],done:!1};case 5:eo.label++,Z=el[1],el=[0];continue;case 7:el=eo.ops.pop(),eo.trys.pop();continue;default:if(!(ea=(ea=eo.trys).length>0&&ea[ea.length-1])&&(6===el[0]||2===el[0])){eo=0;continue}if(3===el[0]&&(!ea||el[1]>ea[0]&&el[1]<ea[3])){eo.label=el[1];break}if(6===el[0]&&eo.label<ea[1]){eo.label=ea[1],ea=el;break}if(ea&&eo.label<ea[2]){eo.label=ea[2],eo.ops.push(el);break}ea[2]&&eo.ops.pop(),eo.trys.pop();continue}el=C.call(_,eo)}catch(_){el=[6,_],Z=0}finally{L=ea=0}if(5&el[0])throw el[1];return{value:el[0]?el[1]:void 0,done:!0}}([el,eu])}}}(this,function(C){return _="ledgerConnectKit",[2,new Promise(function(C,L){var Z="ledger-ck-script-".concat(_);if("undefined"!=typeof document){if(document.getElementById(Z))C(window[_]);else{var ea=document.createElement("script");ea.src="https://cdn.jsdelivr.net/npm/@ledgerhq/connect-kit@1",ea.id=Z,ea.addEventListener("load",function(){C(window[_])}),ea.addEventListener("error",function(_){L(_.error)}),document.head.appendChild(ea)}}else L("Connect Kit does not support server side")})]})},new(L||(L=Promise))(function(ea,es){function i(_){try{l(Z.next(_))}catch(_){es(_)}}function u(_){try{l(Z.throw(_))}catch(_){es(_)}}function l(_){var C;_.done?ea(_.value):((C=_.value)instanceof L?C:new L(function(_){_(C)})).then(i,u)}l((Z=Z.apply(_,C||[])).next())})}L.d(C,{B5:function(){return ea},MS:function(){return o}}),"function"==typeof SuppressedError&&SuppressedError,(es=Z||(Z={})).LedgerConnect="LedgerConnect",es.WalletConnect="WalletConnect",(ea||(ea={})).Ethereum="Ethereum"},29818:function(_,C,L){"use strict";function equalBytes(_,C){if(_.length!==C.length)return!1;for(let L=0;L<_.length;L++)if(_[L]!==C[L])return!1;return!0}L.d(C,{Wd:function(){return equalBytes}}),BigInt(0),BigInt(1),BigInt(2)},46274:function(_,C,L){"use strict";function number(_){if(!Number.isSafeInteger(_)||_<0)throw Error(`Wrong positive integer: ${_}`)}function bytes(_,...C){if(!(_ instanceof Uint8Array))throw Error("Expected Uint8Array");if(C.length>0&&!C.includes(_.length))throw Error(`Expected Uint8Array of length ${C}, not of length=${_.length}`)}function exists(_,C=!0){if(_.destroyed)throw Error("Hash instance has been destroyed");if(C&&_.finished)throw Error("Hash#digest() has already been called")}L.d(C,{fr:function(){return eg}});let Z=BigInt(4294967296-1),ea=BigInt(32),rotlSH=(_,C,L)=>_<<L|C>>>32-L,rotlSL=(_,C,L)=>C<<L|_>>>32-L,rotlBH=(_,C,L)=>C<<L-32|_>>>64-L,rotlBL=(_,C,L)=>_<<L-32|C>>>64-L,u8a=_=>_ instanceof Uint8Array,u32=_=>new Uint32Array(_.buffer,_.byteOffset,Math.floor(_.byteLength/4)),es=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0];if(!es)throw Error("Non little-endian hardware is not supported");function toBytes(_){if("string"==typeof _&&(_=function(_){if("string"!=typeof _)throw Error(`utf8ToBytes expected string, got ${typeof _}`);return new Uint8Array(new TextEncoder().encode(_))}(_)),!u8a(_))throw Error(`expected Uint8Array, got ${typeof _}`);return _}let Hash=class Hash{clone(){return this._cloneInto()}};let[eo,el,eu]=[[],[],[]],ec=BigInt(0),ed=BigInt(1),eh=BigInt(2),ep=BigInt(7),ef=BigInt(256),em=BigInt(113);for(let _=0,C=ed,L=1,Z=0;_<24;_++){[L,Z]=[Z,(2*L+3*Z)%5],eo.push(2*(5*Z+L)),el.push((_+1)*(_+2)/2%64);let ea=ec;for(let _=0;_<7;_++)(C=(C<<ed^(C>>ep)*em)%ef)&eh&&(ea^=ed<<(ed<<BigInt(_))-ed);eu.push(ea)}let[eb,ey]=function(_,C=!1){let L=new Uint32Array(_.length),es=new Uint32Array(_.length);for(let eo=0;eo<_.length;eo++){let{h:el,l:eu}=function(_,C=!1){return C?{h:Number(_&Z),l:Number(_>>ea&Z)}:{h:0|Number(_>>ea&Z),l:0|Number(_&Z)}}(_[eo],C);[L[eo],es[eo]]=[el,eu]}return[L,es]}(eu,!0),rotlH=(_,C,L)=>L>32?rotlBH(_,C,L):rotlSH(_,C,L),rotlL=(_,C,L)=>L>32?rotlBL(_,C,L):rotlSL(_,C,L);let Keccak=class Keccak extends Hash{constructor(_,C,L,Z=!1,ea=24){if(super(),this.blockLen=_,this.suffix=C,this.outputLen=L,this.enableXOF=Z,this.rounds=ea,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,number(L),0>=this.blockLen||this.blockLen>=200)throw Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=u32(this.state)}keccak(){!function(_,C=24){let L=new Uint32Array(10);for(let Z=24-C;Z<24;Z++){for(let C=0;C<10;C++)L[C]=_[C]^_[C+10]^_[C+20]^_[C+30]^_[C+40];for(let C=0;C<10;C+=2){let Z=(C+8)%10,ea=(C+2)%10,es=L[ea],eo=L[ea+1],el=rotlH(es,eo,1)^L[Z],eu=rotlL(es,eo,1)^L[Z+1];for(let L=0;L<50;L+=10)_[C+L]^=el,_[C+L+1]^=eu}let C=_[2],ea=_[3];for(let L=0;L<24;L++){let Z=el[L],es=rotlH(C,ea,Z),eu=rotlL(C,ea,Z),ec=eo[L];
3086C=_[ec],ea=_[ec+1],_[ec]=es,_[ec+1]=eu}for(let C=0;C<50;C+=10){for(let Z=0;Z<10;Z++)L[Z]=_[C+Z];for(let Z=0;Z<10;Z++)_[C+Z]^=~L[(Z+2)%10]&L[(Z+4)%10]}_[0]^=eb[Z],_[1]^=ey[Z]}L.fill(0)}(this.state32,this.rounds),this.posOut=0,this.pos=0}update(_){exists(this);let{blockLen:C,state:L}=this;_=toBytes(_);let Z=_.length;for(let ea=0;ea<Z;){let es=Math.min(C-this.pos,Z-ea);for(let C=0;C<es;C++)L[this.pos++]^=_[ea++];this.pos===C&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;let{state:_,suffix:C,pos:L,blockLen:Z}=this;_[L]^=C,(128&C)!=0&&L===Z-1&&this.keccak(),_[Z-1]^=128,this.keccak()}writeInto(_){exists(this,!1),bytes(_),this.finish();let C=this.state,{blockLen:L}=this;for(let Z=0,ea=_.length;Z<ea;){this.posOut>=L&&this.keccak();let es=Math.min(L-this.posOut,ea-Z);_.set(C.subarray(this.posOut,this.posOut+es),Z),this.posOut+=es,Z+=es}return _}xofInto(_){if(!this.enableXOF)throw Error("XOF is not possible for this instance");return this.writeInto(_)}xof(_){return number(_),this.xofInto(new Uint8Array(_))}digestInto(_){if(!function(_,C){bytes(_);let L=C.outputLen;if(_.length<L)throw Error(`digestInto() expects output buffer of length at least ${L}`)}(_,this),this.finished)throw Error("digest() was already called");return this.writeInto(_),this.destroy(),_}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,this.state.fill(0)}_cloneInto(_){let{blockLen:C,suffix:L,outputLen:Z,rounds:ea,enableXOF:es}=this;return _||(_=new Keccak(C,L,Z,es,ea)),_.state32.set(this.state32),_.pos=this.pos,_.posOut=this.posOut,_.finished=this.finished,_.rounds=ea,_.suffix=L,_.outputLen=Z,_.enableXOF=es,_.destroyed=this.destroyed,_}};let eg=function(_){let hashC=C=>_().update(toBytes(C)).digest(),C=_();return hashC.outputLen=C.outputLen,hashC.blockLen=C.blockLen,hashC.create=()=>_(),hashC}(()=>new Keccak(136,1,32))},9670:function(_,C,L){"use strict";L.d(C,{F:function(){return $6ed0406888f73fc4$export$43e446d32b3d21af},e:function(){return $6ed0406888f73fc4$export$c7b2cbe3552a0d05}});var Z=L(52983);function $6ed0406888f73fc4$export$43e446d32b3d21af(..._){return C=>_.forEach(_=>{"function"==typeof _?_(C):null!=_&&(_.current=C)})}function $6ed0406888f73fc4$export$c7b2cbe3552a0d05(..._){return(0,Z.useCallback)($6ed0406888f73fc4$export$43e446d32b3d21af(..._),_)}},4283:function(_,C,L){"use strict";let Z;L.d(C,{XB:function(){return ep}});var ea=L(54805),es=L(52983);function $e42e1063c40fb3ef$export$b9ecd428b558ff10(_,C,{checkForDefaultPrevented:L=!0}={}){return function(Z){if(null==_||_(Z),!1===L||!Z.defaultPrevented)return null==C?void 0:C(Z)}}var eo=L(63730),el=L(44530);let eu=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((_,C)=>{let L=(0,es.forwardRef)((_,L)=>{let{asChild:Z,...eo}=_,eu=Z?el.g7:C;return(0,es.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,es.createElement)(eu,(0,ea.Z)({},eo,{ref:L}))});return L.displayName=`Primitive.${C}`,{..._,[C]:L}},{});var ec=L(9670);function $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(_){let C=(0,es.useRef)(_);return(0,es.useEffect)(()=>{C.current=_}),(0,es.useMemo)(()=>(..._)=>{var L;return null===(L=C.current)||void 0===L?void 0:L.call(C,..._)},[])}let ed="dismissableLayer.update",eh=(0,es.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),ep=(0,es.forwardRef)((_,C)=>{var L;let{disableOutsidePointerEvents:eo=!1,onEscapeKeyDown:el,onPointerDownOutside:ep,onFocusOutside:ef,onInteractOutside:em,onDismiss:eb,...ey}=_,eg=(0,es.useContext)(eh),[ev,ex]=(0,es.useState)(null),e_=null!==(L=null==ev?void 0:ev.ownerDocument)&&void 0!==L?L:null==globalThis?void 0:globalThis.document,[,ew]=(0,es.useState)({}),eC=(0,ec.e)(C,_=>ex(_)),eT=Array.from(eg.layers),[eq]=[...eg.layersWithOutsidePointerEventsDisabled].slice(-1),ek=eT.indexOf(eq),eS=ev?eT.indexOf(ev):-1,eE=eg.layersWithOutsidePointerEventsDisabled.size>0,eM=eS>=ek,ej=function(_,C=null==globalThis?void 0:globalThis.document){let L=$b1b2314f5f9a1d84$export$25bec8c6f54ee79a(_),Z=(0,es.useRef)(!1),ea=(0,es.useRef)(()=>{});return(0,es.useEffect)(()=>{let handlePointerDown=_=>{if(_.target&&!Z.current){let Z={originalEvent:_};function handleAndDispatchPointerDownOutsideEvent(){$5cb92bef7577960e$var$handleAndDispatchCustomEvent("dismissableLayer.pointerDownOutside",L,Z,{discrete:!0})}"touch"===_.pointerType?(C.removeEventListener("click",ea.current),ea.current=handleAndDispatchPointerDownOutsideEvent,C.addEventListener("click",ea.current,{once:!0})):handleAndDispatchPointerDownOutsideEvent()}else C.removeEventListener("click",ea.current);Z.current=!1},_=window.setTimeout(()=>{C.addEventListener("pointerdown",handlePointerDown)},0);return()=>{window.clearTimeout(_),C.removeEventListener("pointerdown",handlePointerDown),C.removeEventListener("click",ea.current)}},[C,L]),{onPointerDownCapture:()=>Z.current=!0}}(_=>{let C=_.target,L=[...eg.branches].some(_=>_.contains(C));!eM||L||(null==ep||ep(_),null==em||em(_),_.defaultPrevented||null==eb||eb())},e_),eA=function(_,C=null==globalThis?void 0:globalThis.document){let L=$b1b2314f5f9a1d84$export$25bec8c6f54ee79a(_),Z=(0,es.useRef)(!1);return(0,es.useEffect)(()=>{let handleFocus=_=>{_.target&&!Z.current&&$5cb92bef7577960e$var$handleAndDispatchCustomEvent("dismissableLayer.focusOutside",L,{originalEvent:_},{discrete:!1})};return C.addEventListener("focusin",handleFocus),()=>C.removeEventListener("focusin",handleFocus)},[C,L]),{onFocusCapture:()=>Z.current=!0,onBlurCapture:()=>Z.current=!1}}(_=>{let C=_.target,L=[...eg.branches].some(_=>_.contains(C));L||(null==ef||ef(_),null==em||em(_),_.defaultPrevented||null==eb||eb())},e_);return!function(_,C=null==globalThis?void 0:globalThis.document){let L=$b1b2314f5f9a1d84$export$25bec8c6f54ee79a(_);(0,es.useEffect)(()=>{let handleKeyDown=_=>{"Escape"===_.key&&L(_)};return C.addEventListener("keydown",handleKeyDown),()=>C.removeEventListener("keydown",handleKeyDown)},[L,C])}(_=>{let C=eS===eg.layers.size-1;C&&(null==el||el(_),!_.defaultPrevented&&eb&&(_.preventDefault(),eb()))},e_),(0,es.useEffect)(()=>
3086{if(ev)return eo&&(0===eg.layersWithOutsidePointerEventsDisabled.size&&(Z=e_.body.style.pointerEvents,e_.body.style.pointerEvents="none"),eg.layersWithOutsidePointerEventsDisabled.add(ev)),eg.layers.add(ev),$5cb92bef7577960e$var$dispatchUpdate(),()=>{eo&&1===eg.layersWithOutsidePointerEventsDisabled.size&&(e_.body.style.pointerEvents=Z)}},[ev,e_,eo,eg]),(0,es.useEffect)(()=>()=>{ev&&(eg.layers.delete(ev),eg.layersWithOutsidePointerEventsDisabled.delete(ev),$5cb92bef7577960e$var$dispatchUpdate())},[ev,eg]),(0,es.useEffect)(()=>{let handleUpdate=()=>ew({});return document.addEventListener(ed,handleUpdate),()=>document.removeEventListener(ed,handleUpdate)},[]),(0,es.createElement)(eu.div,(0,ea.Z)({},ey,{ref:eC,style:{pointerEvents:eE?eM?"auto":"none":void 0,..._.style},onFocusCapture:$e42e1063c40fb3ef$export$b9ecd428b558ff10(_.onFocusCapture,eA.onFocusCapture),onBlurCapture:$e42e1063c40fb3ef$export$b9ecd428b558ff10(_.onBlurCapture,eA.onBlurCapture),onPointerDownCapture:$e42e1063c40fb3ef$export$b9ecd428b558ff10(_.onPointerDownCapture,ej.onPointerDownCapture)}))});function $5cb92bef7577960e$var$dispatchUpdate(){let _=new CustomEvent(ed);document.dispatchEvent(_)}function $5cb92bef7577960e$var$handleAndDispatchCustomEvent(_,C,L,{discrete:Z}){let ea=L.originalEvent.target,es=new CustomEvent(_,{bubbles:!1,cancelable:!0,detail:L});(C&&ea.addEventListener(_,C,{once:!0}),Z)?ea&&(0,eo.flushSync)(()=>ea.dispatchEvent(es)):ea.dispatchEvent(es)}},44530:function(_,C,L){"use strict";L.d(C,{g7:function(){return eo}});var Z=L(54805),ea=L(52983),es=L(9670);let eo=(0,ea.forwardRef)((_,C)=>{let{children:L,...es}=_,eo=ea.Children.toArray(L),eu=eo.find($5e63c961fc1ce211$var$isSlottable);if(eu){let _=eu.props.children,L=eo.map(C=>C!==eu?C:ea.Children.count(_)>1?ea.Children.only(null):(0,ea.isValidElement)(_)?_.props.children:null);return(0,ea.createElement)(el,(0,Z.Z)({},es,{ref:C}),(0,ea.isValidElement)(_)?(0,ea.cloneElement)(_,void 0,L):null)}return(0,ea.createElement)(el,(0,Z.Z)({},es,{ref:C}),L)});eo.displayName="Slot";let el=(0,ea.forwardRef)((_,C)=>{let{children:L,...Z}=_;return(0,ea.isValidElement)(L)?(0,ea.cloneElement)(L,{...function(_,C){let L={...C};for(let Z in C){let ea=_[Z],es=C[Z],eo=/^on[A-Z]/.test(Z);eo?ea&&es?L[Z]=(..._)=>{es(..._),ea(..._)}:ea&&(L[Z]=ea):"style"===Z?L[Z]={...ea,...es}:"className"===Z&&(L[Z]=[ea,es].filter(Boolean).join(" "))}return{..._,...L}}(Z,L.props),ref:C?(0,es.F)(C,L.ref):L.ref}):ea.Children.count(L)>1?ea.Children.only(null):null});el.displayName="SlotClone";let $5e63c961fc1ce211$export$d9f1ccf0bdb05d45=({children:_})=>(0,ea.createElement)(ea.Fragment,null,_);function $5e63c961fc1ce211$var$isSlottable(_){return(0,ea.isValidElement)(_)&&_.type===$5e63c961fc1ce211$export$d9f1ccf0bdb05d45}},8881:function(_,C,L){"use strict";L.d(C,{j:function(){return es}});var Z=L(97919),ea=L(42191);let FocusManager=class FocusManager extends Z.l{constructor(){super(),this.setup=_=>{if(!ea.sk&&window.addEventListener){let listener=()=>_();return window.addEventListener("visibilitychange",listener,!1),window.addEventListener("focus",listener,!1),()=>{window.removeEventListener("visibilitychange",listener),window.removeEventListener("focus",listener)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var _;null==(_=this.cleanup)||_.call(this),this.cleanup=void 0}}setEventListener(_){var C;this.setup=_,null==(C=this.cleanup)||C.call(this),this.cleanup=_(_=>{"boolean"==typeof _?this.setFocused(_):this.onFocus()})}setFocused(_){let C=this.focused!==_;C&&(this.focused=_,this.onFocus())}onFocus(){this.listeners.forEach(({listener:_})=>{_()})}isFocused(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)}};let es=new FocusManager},55371:function(_,C,L){"use strict";
3086function defaultShouldDehydrateMutation(_){return _.state.isPaused}function defaultShouldDehydrateQuery(_){return"success"===_.state.status}function dehydrate(_,C={}){let L=[],Z=[];if(!1!==C.dehydrateMutations){let Z=C.shouldDehydrateMutation||defaultShouldDehydrateMutation;_.getMutationCache().getAll().forEach(_=>{Z(_)&&L.push({mutationKey:_.options.mutationKey,state:_.state})})}if(!1!==C.dehydrateQueries){let L=C.shouldDehydrateQuery||defaultShouldDehydrateQuery;_.getQueryCache().getAll().forEach(_=>{L(_)&&Z.push({state:_.state,queryKey:_.queryKey,queryHash:_.queryHash})})}return{mutations:L,queries:Z}}function hydrate(_,C,L){if("object"!=typeof C||null===C)return;let Z=_.getMutationCache(),ea=_.getQueryCache(),es=C.mutations||[],eo=C.queries||[];es.forEach(C=>{var ea;Z.build(_,{...null==L?void 0:null==(ea=L.defaultOptions)?void 0:ea.mutations,mutationKey:C.mutationKey},C.state)}),eo.forEach(({queryKey:C,state:Z,queryHash:es})=>{var eo;let el=ea.get(es);if(el){if(el.state.dataUpdatedAt<Z.dataUpdatedAt){let{fetchStatus:_,...C}=Z;el.setState(C)}return}ea.build(_,{...null==L?void 0:null==(eo=L.defaultOptions)?void 0:eo.queries,queryKey:C,queryHash:es},{...Z,fetchStatus:"idle"})})}L.d(C,{D:function(){return dehydrate},ZB:function(){return hydrate}})},99152:function(_,C,L){"use strict";L.d(C,{_:function(){return Z}});let Z=console},24540:function(_,C,L){"use strict";L.d(C,{R:function(){return getDefaultState},m:function(){return Mutation}});var Z=L(99152),ea=L(618),es=L(29286),eo=L(42946);let Mutation=class Mutation extends es.F{constructor(_){super(),this.defaultOptions=_.defaultOptions,this.mutationId=_.mutationId,this.mutationCache=_.mutationCache,this.logger=_.logger||Z._,this.observers=[],this.state=_.state||getDefaultState(),this.setOptions(_.options),this.scheduleGc()}setOptions(_){this.options={...this.defaultOptions,..._},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(_){this.dispatch({type:"setState",state:_})}addObserver(_){this.observers.includes(_)||(this.observers.push(_),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:_}))}removeObserver(_){this.observers=this.observers.filter(C=>C!==_),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:_})}optionalRemove(){this.observers.length||("loading"===this.state.status?this.scheduleGc():this.mutationCache.remove(this))}continue(){var _,C;return null!=(_=null==(C=this.retryer)?void 0:C.continue())?_:this.execute()}async execute(){var _,C,L,Z,ea,es,el,eu,ec,ed,eh,ep,ef,em,eb,ey,eg,ev,ex,e_;let ew="loading"===this.state.status;try{if(!ew){this.dispatch({type:"loading",variables:this.options.variables}),await (null==(ec=(ed=this.mutationCache.config).onMutate)?void 0:ec.call(ed,this.state.variables,this));let _=await (null==(eh=(ep=this.options).onMutate)?void 0:eh.call(ep,this.state.variables));_!==this.state.context&&this.dispatch({type:"loading",context:_,variables:this.state.variables})}let ef=await (()=>{var _;return this.retryer=(0,eo.Mz)({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(_,C)=>{this.dispatch({type:"failed",failureCount:_,error:C})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:null!=(_=this.options.retry)?_:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise})();return await (null==(_=(C=this.mutationCache.config).onSuccess)?void 0:_.call(C,ef,this.state.variables,this.state.context,this)),await (null==(L=(Z=this.options).onSuccess)?void 0:L.call(Z,ef,this.state.variables,this.state.context)),await (null==(ea=(es=this.mutationCache.config).onSettled)?void 0:ea.call(es,ef,null,this.state.variables,this.state.context,this)),await (null==(el=(eu=this.options).onSettled)?void 0:el.call(eu,ef,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:ef}),ef}catch(_){try{throw await (null==(ef=(em=this.mutationCache.config).onError)?void 0:ef.call(em,_,this.state.variables,this.state.context,this)),await (null==(eb=(ey=this.options).onError)?void 0:eb.call(ey,_,this.state.variables,this.state.context)),await (null==(eg=(ev=this.mutationCache.config).onSettled)?void 0:eg.call(ev,void 0,_,this.state.variables,this.state.context,this)),await (null==(ex=(e_=this.options).onSettled)?void 0:ex.call(e_,void 0,_,this.state.variables,this.state.context)),_}finally{this.dispatch({type:"error",error:_})}}}dispatch(_){this.state=(C=>{switch(_.type){case"failed":return{...C,failureCount:_.failureCount,failureReason:_.error};case"pause":return{...C,isPaused:!0};case"continue":return{...C,isPaused:!1};case"loading":return{...C,context:_.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!(0,eo.Kw)(this.options.networkMode),status:"loading",variables:_.variables};case"success":return{...C,data:_.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...C,data:void 0,error:_.error,failureCount:C.failureCount+1,failureReason:_.error,isPau
3086sed:!1,status:"error"};case"setState":return{...C,..._.state}}})(this.state),ea.V.batch(()=>{this.observers.forEach(C=>{C.onMutationUpdate(_)}),this.mutationCache.notify({mutation:this,type:"updated",action:_})})}};function getDefaultState(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}},618:function(_,C,L){"use strict";L.d(C,{V:function(){return ea}});var Z=L(42191);let ea=function(){let _=[],C=0,notifyFn=_=>{_()},batchNotifyFn=_=>{_()},schedule=L=>{C?_.push(L):(0,Z.A4)(()=>{notifyFn(L)})},flush=()=>{let C=_;_=[],C.length&&(0,Z.A4)(()=>{batchNotifyFn(()=>{C.forEach(_=>{notifyFn(_)})})})};return{batch:_=>{let L;C++;try{L=_()}finally{--C||flush()}return L},batchCalls:_=>(...C)=>{schedule(()=>{_(...C)})},schedule,setNotifyFunction:_=>{notifyFn=_},setBatchNotifyFunction:_=>{batchNotifyFn=_}}}()},75486:function(_,C,L){"use strict";L.d(C,{N:function(){return eo}});var Z=L(97919),ea=L(42191);let es=["online","offline"];let OnlineManager=class OnlineManager extends Z.l{constructor(){super(),this.setup=_=>{if(!ea.sk&&window.addEventListener){let listener=()=>_();return es.forEach(_=>{window.addEventListener(_,listener,!1)}),()=>{es.forEach(_=>{window.removeEventListener(_,listener)})}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var _;null==(_=this.cleanup)||_.call(this),this.cleanup=void 0}}setEventListener(_){var C;this.setup=_,null==(C=this.cleanup)||C.call(this),this.cleanup=_(_=>{"boolean"==typeof _?this.setOnline(_):this.onOnline()})}setOnline(_){let C=this.online!==_;C&&(this.online=_,this.onOnline())}onOnline(){this.listeners.forEach(({listener:_})=>{_()})}isOnline(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine}};let eo=new OnlineManager},71777:function(_,C,L){"use strict";L.d(C,{S:function(){return QueryClient}});var Z=L(42191),ea=L(99152),es=L(618),eo=L(42946),el=L(29286);let Query=class Query extends el.F{constructor(_){super(),this.abortSignalConsumed=!1,this.defaultOptions=_.defaultOptions,this.setOptions(_.options),this.observers=[],this.cache=_.cache,this.logger=_.logger||ea._,this.queryKey=_.queryKey,this.queryHash=_.queryHash,this.initialState=_.state||function(_){let C="function"==typeof _.initialData?_.initialData():_.initialData,L=void 0!==C,Z=L?"function"==typeof _.initialDataUpdatedAt?_.initialDataUpdatedAt():_.initialDataUpdatedAt:0;return{data:C,dataUpdateCount:0,dataUpdatedAt:L?null!=Z?Z:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:L?"success":"loading",fetchStatus:"idle"}}(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(_){this.options={...this.defaultOptions,..._},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.cache.remove(this)}setData(_,C){let L=(0,Z.oE)(this.state.data,_,this.options);return this.dispatch({data:L,type:"success",dataUpdatedAt:null==C?void 0:C.updatedAt,manual:null==C?void 0:C.manual}),L}setState(_,C){this.dispatch({type:"setState",state:_,setStateOptions:C})}cancel(_){var C;let L=this.promise;return null==(C=this.retryer)||C.cancel(_),L?L.then(Z.ZT).catch(Z.ZT):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(_=>!1!==_.options.enabled)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(_=>_.getCurrentResult().isStale)}isStaleByTime(_=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!(0,Z.Kp)(this.state.dataUpdatedAt,_)}onFocus(){var _;let C=this.observers.find(_=>_.shouldFetchOnWindowFocus());C&&C.refetch({cancelRefetch:!1}),null==(_=this.retryer)||_.continue()}onOnline(){var _;let C=this.observers.find(_=>_.shouldFetchOnReconnect());C&&C.refetch({cancelRefetch:!1}),null==(_=this.retryer)||_.continue()}addObserver(_){this.observers.includes(_)||(this.observers.push(_),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:_}))}removeObserver(_){this.observers.includes(_)&&(this.observers=this.observers.filter(C=>
3086C!==_),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:_}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(_,C){var L,ea,es,el;if("idle"!==this.state.fetchStatus){if(this.state.dataUpdatedAt&&null!=C&&C.cancelRefetch)this.cancel({silent:!0});else if(this.promise)return null==(es=this.retryer)||es.continueRetry(),this.promise}if(_&&this.setOptions(_),!this.options.queryFn){let _=this.observers.find(_=>_.options.queryFn);_&&this.setOptions(_.options)}let eu=(0,Z.G9)(),ec={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},addSignalProperty=_=>{Object.defineProperty(_,"signal",{enumerable:!0,get:()=>{if(eu)return this.abortSignalConsumed=!0,eu.signal}})};addSignalProperty(ec);let ed={fetchOptions:C,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(ec)):Promise.reject("Missing queryFn for queryKey '"+this.options.queryHash+"'")};addSignalProperty(ed),null==(L=this.options.behavior)||L.onFetch(ed),this.revertState=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==(null==(ea=ed.fetchOptions)?void 0:ea.meta))&&this.dispatch({type:"fetch",meta:null==(el=ed.fetchOptions)?void 0:el.meta});let onError=_=>{if((0,eo.DV)(_)&&_.silent||this.dispatch({type:"error",error:_}),!(0,eo.DV)(_)){var C,L,Z,ea;null==(C=(L=this.cache.config).onError)||C.call(L,_,this),null==(Z=(ea=this.cache.config).onSettled)||Z.call(ea,this.state.data,_,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=(0,eo.Mz)({fn:ed.fetchFn,abort:null==eu?void 0:eu.abort.bind(eu),onSuccess:_=>{var C,L,Z,ea;if(void 0===_){onError(Error(this.queryHash+" data is undefined"));return}this.setData(_),null==(C=(L=this.cache.config).onSuccess)||C.call(L,_,this),null==(Z=(ea=this.cache.config).onSettled)||Z.call(ea,_,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError,onFail:(_,C)=>{this.dispatch({type:"failed",failureCount:_,error:C})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:ed.options.retry,retryDelay:ed.options.retryDelay,networkMode:ed.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(_){this.state=(C=>{var L,Z;switch(_.type){case"failed":return{...C,fetchFailureCount:_.failureCount,fetchFailureReason:_.error};case"pause":return{...C,fetchStatus:"paused"};case"continue":return{...C,fetchStatus:"fetching"};case"fetch":return{...C,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null!=(L=_.meta)?L:null,fetchStatus:(0,eo.Kw)(this.options.networkMode)?"fetching":"paused",...!C.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...C,data:_.data,dataUpdateCount:C.dataUpdateCount+1,dataUpdatedAt:null!=(Z=_.dataUpdatedAt)?Z:Date.now(),error:null,isInvalidated:!1,status:"success",...!_.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":let ea=_.error;if((0,eo.DV)(ea)&&ea.revert&&this.revertState)return{...this.revertState,fetchStatus:"idle"};return{...C,error:ea,errorUpdateCount:C.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:C.fetchFailureCount+1,fetchFailureReason:ea,fetchStatus:"idle",status:"error"};case"invalidate":return{...C,isInvalidated:!0};case"setState":return{...C,..._.state}}})(this.state),es.V.batch(()=>{this.observers.forEach(C=>{C.onQueryUpdate(_)}),this.cache.notify({query:this,type:"updated",action:_})})}};var eu=L(97919);let QueryCache=class QueryCache extends eu.l{constructor(_){super(),this.config=_||{},this.queries=[],this.queriesMap={}}build(_,C,L){var ea;let es=C.queryKey,eo=null!=(ea=C.queryHash)?ea:(0,Z.Rm)(es,C),el=this.get(eo);return el||(el=new Query({cache:this,logger:_.getLogger(),queryKey:es,queryHash:eo,options:_.defaultQueryOptions(C),state:L,defaultOptions:_.getQueryDefaults(es)}),this.add(el)),el}add(_){this.queriesMap[_.queryHash]||(this.queriesMap[_.queryHash]=_,this.queries.push(_),this.notify({type:"added",query:_}))}remove(_){let C=this.queriesMap[_.queryHash];C&&(_.destroy(),this.queries=this.queries.filter(C=>C!==_),C===_&&delete this.queriesMap[_.queryHash],this.notify({type:"removed",query:_}))}clear(){es.V.batch(()=>
3086{this.queries.forEach(_=>{this.remove(_)})})}get(_){return this.queriesMap[_]}getAll(){return this.queries}find(_,C){let[L]=(0,Z.I6)(_,C);return void 0===L.exact&&(L.exact=!0),this.queries.find(_=>(0,Z._x)(L,_))}findAll(_,C){let[L]=(0,Z.I6)(_,C);return Object.keys(L).length>0?this.queries.filter(_=>(0,Z._x)(L,_)):this.queries}notify(_){es.V.batch(()=>{this.listeners.forEach(({listener:C})=>{C(_)})})}onFocus(){es.V.batch(()=>{this.queries.forEach(_=>{_.onFocus()})})}onOnline(){es.V.batch(()=>{this.queries.forEach(_=>{_.onOnline()})})}};var ec=L(24540);let MutationCache=class MutationCache extends eu.l{constructor(_){super(),this.config=_||{},this.mutations=[],this.mutationId=0}build(_,C,L){let Z=new ec.m({mutationCache:this,logger:_.getLogger(),mutationId:++this.mutationId,options:_.defaultMutationOptions(C),state:L,defaultOptions:C.mutationKey?_.getMutationDefaults(C.mutationKey):void 0});return this.add(Z),Z}add(_){this.mutations.push(_),this.notify({type:"added",mutation:_})}remove(_){this.mutations=this.mutations.filter(C=>C!==_),this.notify({type:"removed",mutation:_})}clear(){es.V.batch(()=>{this.mutations.forEach(_=>{this.remove(_)})})}getAll(){return this.mutations}find(_){return void 0===_.exact&&(_.exact=!0),this.mutations.find(C=>(0,Z.X7)(_,C))}findAll(_){return this.mutations.filter(C=>(0,Z.X7)(_,C))}notify(_){es.V.batch(()=>{this.listeners.forEach(({listener:C})=>{C(_)})})}resumePausedMutations(){var _;return this.resuming=(null!=(_=this.resuming)?_:Promise.resolve()).then(()=>{let _=this.mutations.filter(_=>
3086_.state.isPaused);return es.V.batch(()=>_.reduce((_,C)=>_.then(()=>C.continue().catch(Z.ZT)),Promise.resolve()))}).then(()=>{this.resuming=void 0}),this.resuming}};var ed=L(8881),eh=L(75486);function getNextPageParam(_,C){return null==_.getNextPageParam?void 0:_.getNextPageParam(C[C.length-1],C)}let QueryClient=class QueryClient{constructor(_={}){this.queryCache=_.queryCache||new QueryCache,this.mutationCache=_.mutationCache||new MutationCache,this.logger=_.logger||ea._,this.defaultOptions=_.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}mount(){this.mountCount++,1===this.mountCount&&(this.unsubscribeFocus=ed.j.subscribe(()=>{ed.j.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=eh.N.subscribe(()=>{eh.N.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())}))}unmount(){var _,C;this.mountCount--,0===this.mountCount&&(null==(_=this.unsubscribeFocus)||_.call(this),this.unsubscribeFocus=void 0,null==(C=this.unsubscribeOnline)||C.call(this),this.unsubscribeOnline=void 0)}isFetching(_,C){let[L]=(0,Z.I6)(_,C);return L.fetchStatus="fetching",this.queryCache.findAll(L).length}isMutating(_){return this.mutationCache.findAll({..._,fetching:!0}).length}getQueryData(_,C){var L;return null==(L=this.queryCache.find(_,C))?void 0:L.state.data}ensureQueryData(_,C,L){let ea=(0,Z._v)(_,C,L),es=this.getQueryData(ea.queryKey);return es?Promise.resolve(es):this.fetchQuery(ea)}getQueriesData(_){return this.getQueryCache().findAll(_).map(({queryKey:_,state:C})=>{let L=C.data;return[_,L]})}setQueryData(_,C,L){let ea=this.queryCache.find(_),es=null==ea?void 0:ea.state.data,eo=(0,Z.SE)(C,es);if(void 0===eo)return;let el=(0,Z._v)(_),eu=this.defaultQueryOptions(el);return this.queryCache.build(this,eu).setData(eo,{...L,manual:!0})}setQueriesData(_,C,L){return es.V.batch(()=>this.getQueryCache().findAll(_).map(({queryKey:_})=>[_,this.setQueryData(_,C,L)]))}getQueryState(_,C){var L;return null==(L=this.queryCache.find(_,C))?void 0:L.state}removeQueries(_,C){let[L]=(0,Z.I6)(_,C),ea=this.queryCache;es.V.batch(()=>{ea.findAll(L).forEach(_=>{ea.remove(_)})})}resetQueries(_,C,L){let[ea,eo]=(0,Z.I6)(_,C,L),el=this.queryCache,eu={type:"active",...ea};return es.V.batch(()=>
3086(el.findAll(ea).forEach(_=>{_.reset()}),this.refetchQueries(eu,eo)))}cancelQueries(_,C,L){let[ea,eo={}]=(0,Z.I6)(_,C,L);void 0===eo.revert&&(eo.revert=!0);let el=es.V.batch(()=>this.queryCache.findAll(ea).map(_=>_.cancel(eo)));return Promise.all(el).then(Z.ZT).catch(Z.ZT)}invalidateQueries(_,C,L){let[ea,eo]=(0,Z.I6)(_,C,L);return es.V.batch(()=>{var _,C;if(this.queryCache.findAll(ea).forEach(_=>{_.invalidate()}),"none"===ea.refetchType)return Promise.resolve();let L={...ea,type:null!=(_=null!=(C=ea.refetchType)?C:ea.type)?_:"active"};return this.refetchQueries(L,eo)})}refetchQueries(_,C,L){let[ea,eo]=(0,Z.I6)(_,C,L),el=es.V.batch(()=>this.queryCache.findAll(ea).filter(_=>!_.isDisabled()).map(_=>{var C;return _.fetch(void 0,{...eo,cancelRefetch:null==(C=null==eo?void 0:eo.cancelRefetch)||C,meta:{refetchPage:ea.refetchPage}})})),eu=Promise.all(el).then(Z.ZT);return null!=eo&&eo.throwOnError||(eu=eu.catch(Z.ZT)),eu}fetchQuery(_,C,L){let ea=(0,Z._v)(_,C,L),es=this.defaultQueryOptions(ea);void 0===es.retry&&(es.retry=!1);let eo=this.queryCache.build(this,es);return eo.isStaleByTime(es.staleTime)?eo.fetch(es):Promise.resolve(eo.state.data)}prefetchQuery(_,C,L){return this.fetchQuery(_,C,L).then(Z.ZT).catch(Z.ZT)}fetchInfiniteQuery(_,C,L){let ea=(0,Z._v)(_,C,L);return ea.behavior={onFetch:_=>{_.fetchFn=()=>{var C,L,Z,ea,es,eo,el;let eu;let ec=null==(C=_.fetchOptions)?void 0:null==(L=C.meta)?void 0:L.refetchPage,ed=null==(Z=_.fetchOptions)?void 0:null==(ea=Z.meta)?void 0:ea.fetchMore,eh=null==ed?void 0:ed.pageParam,ep=(null==ed?void 0:ed.direction)==="forward",ef=(null==ed?void 0:ed.direction)==="backward",em=(null==(es=_.state.data)?void 0:es.pages)||[],eb=(null==(eo=_.state.data)?void 0:eo.pageParams)||[],ey=eb,eg=!1,addSignalProperty=C=>{Object.defineProperty(C,"signal",{enumerable:!0,get:()=>{var C,L;return null!=(C=_.signal)&&C.aborted?eg=!0:null==(L=_.signal)||L.addEventListener("abort",()=>{eg=!0}),_.signal}})},ev=_.options.queryFn||(()=>Promise.reject("Missing queryFn for queryKey '"+_.options.queryHash+"'")),buildNewPages=(_,C,L,Z)=>(ey=Z?[C,...ey]:[...ey,C],Z?[L,..._]:[..._,L]),fetchPage=(C,L,Z,ea)=>{if(eg)return Promise.reject("Cancelled");if(void 0===Z&&!L&&C.length)return Promise.resolve(C);let es={queryKey:_.queryKey,pageParam:Z,meta:_.options.meta};addSignalProperty(es);let eo=ev(es),el=Promise.resolve(eo).then(_=>buildNewPages(C,Z,_,ea));return el};if(em.length){if(ep){let C=void 0!==eh,L=C?eh:getNextPageParam(_.options,em);eu=fetchPage(em,C,L)}else if(ef){let C=void 0!==eh,L=C?eh:null==(el=_.options).getPreviousPageParam?void 0:el.getPreviousPageParam(em[0],em);eu=fetchPage(em,C,L,!0)}else{ey=[];let C=void 0===_.options.getNextPageParam,L=!ec||!em[0]||ec(em[0],0,em);eu=L?fetchPage([],C,eb[0]):Promise.resolve(buildNewPages([],eb[0],em[0]));for(let L=1;L<em.length;L++)eu=eu.then(Z=>{let ea=!ec||!em[L]||ec(em[L],L,em);if(ea){let ea=C?eb[L]:getNextPageParam(_.options,Z);return fetchPage(Z,C,ea)}return Promise.resolve(buildNewPages(Z,eb[L],em[L]))})}}else eu=fetchPage([]);let ex=eu.then(_=>({pages:_,pageParams:ey}));return ex}}},this.fetchQuery(ea)}prefetchInfiniteQuery(_,C,L){return this.fetchInfiniteQuery(_,C,L).then(Z.ZT).catch(Z.ZT)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(_){this.defaultOptions=_}setQueryDefaults(_,C){let L=this.queryDefaults.find(C=>(0,Z.yF)(_)===(0,Z.yF)(C.queryKey));L?L.defaultOptions=C:this.queryDefaults.push({queryKey:_,defaultOptions:C})}getQueryDefaults(_){if(!_)return;let C=this.queryDefaults.find(C=>(0,Z.to)(_,C.queryKey));return null==C?void 0:C.defaultOptions}setMutationDefaults(_,C){let L=this.mutationDefaults.find(C=>(0,Z.yF)(_)===(0,Z.yF)(C.mutationKey));L?L.defaultOptions=C:this.mutationDefaults.push({mutationKey:_,defaultOptions:C})}getMutationDefaults(_){if(!_)return;let C=this.mutationDefaults.find(C=>(0,Z.to)(_,C.mutationKey));return null==C?void 0:C.defaultOptions}defaultQueryOptions(_){if(null!=_&&_._defaulted)return _;let C={...this.defaultOptions.queries,...this.getQueryDefaults(null==_?void 0:_.queryKey),..._,_defaulted:!0};return!C.queryHash&&C.queryKey&&(C.queryHash=(0,Z.Rm)(C.queryKey,C)),void 0===C.refetchOnReconnect&&(C.refetchOnReconnect="always"!==C.networkMode),void 0===C.useErrorBoundary&&(C.useErrorBoundary=!!C.suspense),C}defaultMutationOptions(_){return null!=_&&_._defaulted?_:{...this.defaultOptions.mutations,...this.getMutationDefaults(null==_?void 0:_.mutationKey),..._,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}}},93300:function(_,C,L){"use strict";L.d(C,{z:function(){return QueryObserver}});var Z=L(42191),ea=L(618),es=L(8881),eo=L(97919),el=L(42946);let QueryObserver=class QueryObserver extends eo.l{constructor(_,C){super(),this.client=_,this.options=C,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(C)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.currentQuery.addObserver(this),shouldFetchOnMount(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return shouldFetchOn(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return shouldFetchOn(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(_,C){let L=this.options,ea=this.currentQuery;if(this.options=this.client.defaultQueryOptions(_),(0,Z.VS)(L,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=L.queryKey),this.updateQuery();let es=this.hasListeners();es&&shouldFetchOptionally(this.currentQuery,ea,this.options,L)&&this.executeFetch(),this.updateResult(C),es&&(this.currentQuery!==ea||this.options.enabled!==L.enabled||this.options.staleTime!==L.staleTime)&&this.updateStaleTimeout();let eo=this.computeRefetchInterval();es&&(this.currentQuery!==ea||this.options.enabled!==L.enabled||eo!==this.currentRefetchInterval)&&this.updateRefetchInterval(eo)}getOptimisticResult(_){let C=this.client.getQueryCache().build(this.client,_),L=this.createResult(C,_);return _.keepPreviousData||(void 0!==_.placeholderData?!L.isPlaceholderData:(0,Z.VS)(this.getCurrentResult(),L))||(this.currentResult=L,this.currentResultOptions=this.options,this.currentResultState=this.currentQuery.state),L}getCurrentResult(){return this.currentResult}trackResult(_){let C={};return Object.keys(_).forEach(L=>{Object.defineProperty(C,L,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(L),_[L])})}),C}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:_,...C}={}){return this.fetch({...C,meta:{refetchPage:_}})}fetchOptimistic(_){let C=this.client.defaultQueryOptions(_),L=this.client.getQueryCache().build(this.client,C);return L.isFetchingOptimistic=!0,L.fetch().then(()=>this.createResult(L,C))}
3086fetch(_){var C;return this.executeFetch({..._,cancelRefetch:null==(C=_.cancelRefetch)||C}).then(()=>(this.updateResult(),this.currentResult))}executeFetch(_){this.updateQuery();let C=this.currentQuery.fetch(this.options,_);return null!=_&&_.throwOnError||(C=C.catch(Z.ZT)),C}updateStaleTimeout(){if(this.clearStaleTimeout(),Z.sk||this.currentResult.isStale||!(0,Z.PN)(this.options.staleTime))return;let _=(0,Z.Kp)(this.currentResult.dataUpdatedAt,this.options.staleTime);this.staleTimeoutId=setTimeout(()=>{this.currentResult.isStale||this.updateResult()},_+1)}computeRefetchInterval(){var _;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(_=this.options.refetchInterval)&&_}updateRefetchInterval(_){this.clearRefetchInterval(),this.currentRefetchInterval=_,!Z.sk&&!1!==this.options.enabled&&(0,Z.PN)(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval(()=>{(this.options.refetchIntervalInBackground||es.j.isFocused())&&this.executeFetch()},this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(_,C){let L;let ea=this.currentQuery,es=this.options,eo=this.currentResult,eu=this.currentResultState,ec=this.currentResultOptions,ed=_!==ea,eh=ed?_.state:this.currentQueryInitialState,ep=ed?this.currentResult:this.previousQueryResult,{state:ef}=_,{dataUpdatedAt:em,error:eb,errorUpdatedAt:ey,fetchStatus:eg,status:ev}=ef,ex=!1,e_=!1;if(C._optimisticResults){let L=this.hasListeners(),Z=!L&&shouldFetchOnMount(_,C),eo=L&&shouldFetchOptionally(_,ea,C,es);(Z||eo)&&(eg=(0,el.Kw)(_.options.networkMode)?"fetching":"paused",em||(ev="loading")),"isRestoring"===C._optimisticResults&&(eg="idle")}if(C.keepPreviousData&&!ef.dataUpdatedAt&&null!=ep&&ep.isSuccess&&"error"!==ev)L=ep.data,em=ep.dataUpdatedAt,ev=ep.status,ex=!0;else if(C.select&&void 0!==ef.data){if(eo&&ef.data===(null==eu?void 0:eu.data)&&C.select===this.selectFn)L=this.selectResult;else try{this.selectFn=C.select,L=C.select(ef.data),L=(0,Z.oE)(null==eo?void 0:eo.data,L,C),this.selectResult=L,this.selectError=null}catch(_){this.selectError=_}}else L=ef.data;if(void 0!==C.placeholderData&&void 0===L&&"loading"===ev){let _;if(null!=eo&&eo.isPlaceholderData&&C.placeholderData===(null==ec?void 0:ec.placeholderData))_=eo.data;else if(_="function"==typeof C.placeholderData?C.placeholderData():C.placeholderData,C.select&&void 0!==_)try{_=C.select(_),this.selectError=null}catch(_){this.selectError=_}void 0!==_&&(ev="success",L=(0,Z.oE)(null==eo?void 0:eo.data,_,C),e_=!0)}this.selectError&&(eb=this.selectError,L=this.selectResult,ey=Date.now(),ev="error");let ew="fetching"===eg,eC="loading"===ev,eT="error"===ev,eq={status:ev,fetchStatus:eg,isLoading:eC,isSuccess:"success"===ev,isError:eT,isInitialLoading:eC&&ew,data:L,dataUpdatedAt:em,error:eb,errorUpdatedAt:ey,failureCount:ef.fetchFailureCount,failureReason:ef.fetchFailureReason,errorUpdateCount:ef.errorUpdateCount,isFetched:ef.dataUpdateCount>0||ef.errorUpdateCount>0,isFetchedAfterMount:ef.dataUpdateCount>eh.dataUpdateCount||ef.errorUpdateCount>eh.errorUpdateCount,isFetching:ew,isRefetching:ew&&!eC,isLoadingError:eT&&0===ef.dataUpdatedAt,isPaused:"paused"===eg,isPlaceholderData:e_,isPreviousData:ex,isRefetchError:eT&&0!==ef.dataUpdatedAt,isStale:isStale(_,C),refetch:this.refetch,remove:this.remove};return eq}updateResult(_){let C=this.currentResult,L=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,(0,Z.VS)(L,C))return;this.currentResult=L;let ea={cache:!0};(null==_?void 0:_.listeners)!==!1&&(()=>{if(!C)return!0;let{notifyOnChangeProps:_}=this.options,L="function"==typeof _?_():_;if("all"===L||!L&&!this.trackedProps.size)return!0;let Z=new Set(null!=L?L:this.trackedProps);return this.options.useErrorBoundary&&Z.add("error"),Object.keys(this.currentResult).some(_=>{let L=this.currentResult[_]!==C[_];return L&&Z.has(_)})})()&&(ea.listeners=!0),this.notify({...ea,..._})}updateQuery(){let _=this.client.getQueryCache().build(this.client,this.options);if(_===this.currentQuery)return;let C=this.currentQuery;this.currentQuery=_,this.currentQueryInitialState=_.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==C||C.removeObserver(this),_.addObserver(this))}onQueryUpdate(_){let C={};"success"===_.type?C.onSuccess=!_.manual:"error"!==_.type||(0,el.DV)(_.error)||(C.onError=!0),this.updateResult(C),this.hasListeners()&&this.updateTimers()}notify(_){ea.V.batch(()=>{var C,L,Z,ea,es,eo,el,eu;_.onSuccess?(null==(C=(L=this.options).onSuccess)||C.call(L,this.currentResult.data),null==(Z=(ea=this.options).onSettled)||Z.call(ea,this.currentResult.data,null)):_.onError&&(null==(es=(eo=this.options).onError)||es.call(eo,this.currentResult.error),null==(el=(eu=this.options).onSettled)||el.call(eu,void 0,this.currentResult.error)),_.listeners&&this.listeners.forEac
3086h(({listener:_})=>{_(this.currentResult)}),_.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}};function shouldFetchOnMount(_,C){return!1!==C.enabled&&!_.state.dataUpdatedAt&&!("error"===_.state.status&&!1===C.retryOnMount)||_.state.dataUpdatedAt>0&&shouldFetchOn(_,C,C.refetchOnMount)}function shouldFetchOn(_,C,L){if(!1!==C.enabled){let Z="function"==typeof L?L(_):L;return"always"===Z||!1!==Z&&isStale(_,C)}return!1}function shouldFetchOptionally(_,C,L,Z){return!1!==L.enabled&&(_!==C||!1===Z.enabled)&&(!L.suspense||"error"!==_.state.status)&&isStale(_,L)}function isStale(_,C){return _.isStaleByTime(C.staleTime)}},29286:function(_,C,L){"use strict";L.d(C,{F:function(){return Removable}});var Z=L(42191);let Removable=class Removable{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,Z.PN)(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(_){this.cacheTime=Math.max(this.cacheTime||0,null!=_?_:Z.sk?1/0:3e5)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}},42946:function(_,C,L){"use strict";L.d(C,{DV:function(){return isCancelledError},Kw:function(){return canFetch},Mz:function(){return createRetryer}});var Z=L(8881),ea=L(75486),es=L(42191);function defaultRetryDelay(_){return Math.min(1e3*2**_,3e4)}function canFetch(_){return(null!=_?_:"online")!=="online"||ea.N.isOnline()}let CancelledError=class CancelledError{constructor(_){this.revert=null==_?void 0:_.revert,this.silent=null==_?void 0:_.silent}};function isCancelledError(_){return _ instanceof CancelledError}function createRetryer(_){let C,L,eo,el=!1,eu=0,ec=!1,ed=new Promise((_,C)=>{L=_,eo=C}),shouldPause=()=>!Z.j.isFocused()||"always"!==_.networkMode&&!ea.N.isOnline(),resolve=Z=>{ec||(ec=!0,null==_.onSuccess||_.onSuccess(Z),null==C||C(),L(Z))},reject=L=>{ec||(ec=!0,null==_.onError||_.onError(L),null==C||C(),eo(L))},pause=()=>new Promise(L=>{C=_=>{let C=ec||!shouldPause();return C&&L(_),C},null==_.onPause||_.onPause()}).then(()=>{C=void 0,ec||null==_.onContinue||_.onContinue()}),run=()=>{let C;if(!ec){try{C=_.fn()}catch(_){C=Promise.reject(_)}Promise.resolve(C).then(resolve).catch(C=>{var L,Z;if(ec)return;let ea=null!=(L=_.retry)?L:3,eo=null!=(Z=_.retryDelay)?Z:defaultRetryDelay,ed="function"==typeof eo?eo(eu,C):eo,eh=!0===ea||"number"==typeof ea&&eu<ea||"function"==typeof ea&&ea(eu,C);if(el||!eh){reject(C);return}eu++,null==_.onFail||_.onFail(eu,C),(0,es.Gh)(ed).then(()=>{if(shouldPause())return pause()}).then(()=>{el?reject(C):run()})})}};return canFetch(_.networkMode)?run():pause().then(run),{promise:ed,cancel:C=>{ec||(reject(new CancelledError(C)),null==_.abort||_.abort())},continue:()=>{let _=null==C?void 0:C();return _?ed:Promise.resolve()},cancelRetry:()=>{el=!0},continueRetry:()=>{el=!1}}}},97919:function(_,C,L){"use strict";L.d(C,{l:function(){return Subscribable}});let Subscribable=class Subscribable{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(_){let C={listener:_};return this.listeners.add(C),this.onSubscribe(),()=>{this.listeners.delete(C),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}},42191:function(_,C,L){"use strict";L.d(C,{A4:function(){return scheduleMicrotask},G9:function(){return getAbortController},Gh:function(){return sleep},I6:function(){return parseFilterArgs},Kp:function(){return timeUntilStale},PN:function(){return isValidTimeout},Q$:function(){return replaceEqualDeep},Rm:function(){return hashQueryKeyByOptions},SE:function(){return functionalUpdate},VS:function(){return shallowEqualObjects},X7:function(){return matchMutation},ZT:function(){return noop},_v:function(){return parseQueryArgs},_x:function(){return matchQuery},lV:function(){return parseMutationArgs},oE:function(){return replaceData},sk:function(){return Z},to:function(){return partialMatchKey},yF:function(){return hashQueryKey}});let Z="undefined"==typeof window||"Deno"in window;function noop(){}function functionalUpdate(_,C){return"function"==typeof _?_(C):_}function isValidTimeout(_){return"number"==typeof _&&_>=0&&_!==1/0}function timeUntilStale(_,C){return Math.max(_+(C||0)-Date.now(),0)}function parseQueryArgs(_,C,L){return isQueryKey(_)?"function"==typeof C?{...L,queryKey:_,queryFn:C}:{...C,queryKey:_}:_}function parseMutationArgs(_,C,L){return isQueryKey(_)?"function"==typeof C?{...L,mutationKey:_,mutationFn:C}:{...C,mutationKey:_}:"function"==typeof _?{...C,mutationFn:_}:{..._}}function parseFilterArgs(_,C,L){return isQueryKey(_)?[{...C,queryKey:_},L]:[_||{},C]}function matchQuery(_,C){let{type:L="all",exact:Z,fetchStatus:ea,predicate:es,queryKey:eo,stale:el}=_;if(isQueryKey(eo)){if(Z){if(C.queryHash!==hashQueryKeyByOptions(eo,C.options))return!1}else{if(!partialDeepEqual(C.queryKey,eo))return!1}}if("all"!==L){let _=C.isActive();if("active"===L&&!_||"inactive"===L&&_)return!1}return("boolean"!=typeof el||C.isStale()===el)&&(void 0===ea||ea===C.state.fetchStatus)&&(!es||!!es(C))}function matchMutation(_,C){let{exact:L,fetching:Z,predicate:ea,mutationKey:es}=_;if(isQueryKey(es)){if(!C.options.mutationKey)return!1;if(L){if(hashQueryKey(C.options.mutationKey)!==hashQueryKey(es))return!1}else{if(!partialDeepEqual(C.options.mutationKey,es))return!1}}return("boolean"!=typeof Z||"loading"===C.state.status===Z)&&(!ea||!!ea(C))}function hashQueryKeyByOptions(_,C){let L=(null==C?void 0:C.queryKeyHashFn)||hashQueryKey;return L(_)}function hashQueryKey(_){return JSON.stringify(_,(_,C)=>isPlainObject(C)?Object.keys(C).sort().reduce((_,L)=>(_[L]=C[L],_),{}):C)}function partialMatchKey(_,C){return partialDeepEqual(_,C)}function partialDeepEqual(_,C){return _===C||typeof _==typeof C&&!!_&&!!C&&"object"==typeof _&&"object"==typeof C&&!Object.keys(C).some(L=>!partialDeepEqual(_[L],C[L]))}function replaceEqualDeep(_,C){if(_===C)return _;let L=isPlainArray(_)&&isPlainArray(C);if(L||isPlainObject(_)&&isPlainObject(C)){let Z=L?_.length:Object.keys(_).length,ea=L?C:Object.keys(C),es=ea.length,eo=L?[]:{},el=0;for(let Z=0;Z<es;Z++){let es=L?Z:ea[Z];eo[es]=replaceEqualDeep(_[es],C[es]),eo[es]===_[es]&&el++}return Z===es&&el===Z?_:eo}return C}function shallowEqualObjects(_,C){if(_&&!C||C&&!_)return!1;for(let L in _)if(_[L]!==C[L])return!1;return!0}function isPlainArray(_){return Array.isArray(_)&&_.length===Object.keys(_).length}function isPlainObject(_){if(!hasObjectPrototype(_))return!1;let C=_.constructor;if(void 0===C)return!0;let L=C.prototype;return!!(hasObjectPrototype(L)&&L.hasOwnProperty("isPrototypeOf"))}function hasObjectPrototype(_){return"[object Object]"===Object.prototype.toString.call(_)}function isQueryKey(_){return Array.isArray(_)}function sleep(_){return new Promise(C=>{setTimeout(C,_)})}function scheduleMicrotask(_){sleep(0).then(_)}function getAbortController(){if("function"==typeof AbortController)return new AbortController}function replaceData(_,C,L){return null!=L.isDataEqual&&L.isDataEqual(_,C)?_:"function"==typeof L.structuralSharing?L.structuralSharing(_,C):!1!==L.structuralSharing?replaceEqualDeep(_,C):C}},33009:function(_,C,L){"use strict";L.d(C,{wO:function(){return persistQueryClient}});var Z=L(55371);let ea=["added","removed","updated"];function isCacheableEventType(_){return ea.includes(_)}async function persistQueryClientRestore({queryClient:_,persister:C,maxAge:L=864e5,buster:ea="",hydrateOptions:es}){try{let eo=await C.restoreClient();if(eo){if(eo.timestamp){let el=Date.now()-eo.timestamp>L,eu=eo.buster!==ea;el||eu?C.removeClient():(0,Z.ZB)(_,eo.clientState,es)}else C.removeClient()}}catch(_){C.removeClient()}}async function persistQueryClientSave({queryClient:_,persister:C,buster:L="",dehydrateOptions:ea}){let es={buster:L,timestamp:Date.now(),clientState:(0,Z.D)(_,ea)};
3086await C.persistClient(es)}function persistQueryClient(_){let C,L=!1,Z=persistQueryClientRestore(_).then(()=>{L||(C=function(_){let C=_.queryClient.getQueryCache().subscribe(C=>{isCacheableEventType(C.type)&&persistQueryClientSave(_)}),L=_.queryClient.getMutationCache().subscribe(C=>{isCacheableEventType(C.type)&&persistQueryClientSave(_)});return()=>{C(),L()}}(_))});return[()=>{L=!0,null==C||C()},Z]}},48685:function(_,C,L){"use strict";function createSyncStoragePersister({storage:_,key:C="REACT_QUERY_OFFLINE_CACHE",throttleTime:L=1e3,serialize:Z=JSON.stringify,deserialize:ea=JSON.parse,retry:es}){if(_){let trySave=L=>{try{_.setItem(C,Z(L));return}catch(_){return _}};return{persistClient:function(_,C=100){let L,Z=null;return function(...ea){L=ea,null===Z&&(Z=setTimeout(()=>{_(...L),Z=null},C))}}(_=>{let C=_,L=trySave(C),Z=0;for(;L&&C;)Z++,(C=null==es?void 0:es({persistedClient:C,error:L,errorCount:Z}))&&(L=trySave(C))},L),restoreClient:()=>{let L=_.getItem(C);if(L)return ea(L)},removeClient:()=>{_.removeItem(C)}}}return{persistClient:noop,restoreClient:()=>void 0,removeClient:noop}}function noop(){}L.d(C,{K:function(){return createSyncStoragePersister}})},88145:function(_,C,L){"use strict";L.d(C,{NL:function(){return useQueryClient},aH:function(){return QueryClientProvider}});var Z=L(52983);let ea=Z.createContext(void 0),es=Z.createContext(!1);function getQueryClientContext(_,C){return _||(C&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=ea),window.ReactQueryClientContext):ea)}let useQueryClient=({context:_}={})=>{let C=Z.useContext(getQueryClientContext(_,Z.useContext(es)));if(!C)throw Error("No QueryClient set, use QueryClientProvider to set one");return C},QueryClientProvider=({client:_,children:C,context:L,contextSharing:ea=!1})=>{Z.useEffect(()=>(_.mount(),()=>{_.unmount()}),[_]);let eo=getQueryClientContext(L,ea);return Z.createElement(es.Provider,{value:!L&&ea},Z.createElement(eo.Provider,{value:_},C))}},56861:function(_,C,L){"use strict";let Z;L.d(C,{_:function(){return useQueryErrorResetBoundary}});var ea=L(52983);let es=ea.createContext((Z=!1,{clearReset:()=>{Z=!1},reset:()=>{Z=!0},isReset:()=>Z})),useQueryErrorResetBoundary=()=>ea.useContext(es)},92446:function(_,C,L){"use strict";L.d(C,{S:function(){return useIsRestoring}});var Z=L(52983);let ea=Z.createContext(!1),useIsRestoring=()=>Z.useContext(ea);ea.Provider},36910:function(_,C,L){"use strict";L.d(C,{D:function(){return useMutation}});var Z=L(52983),ea=L(42191),es=L(24540),eo=L(618),el=L(97919);let MutationObserver=class MutationObserver extends el.l{constructor(_,C){super(),this.client=_,this.setOptions(C),this.bindMethods(),this.updateResult()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(_){var C;let L=this.options;this.options=this.client.defaultMutationOptions(_),(0,ea.VS)(L,this.options)||this.client.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.currentMutation,observer:this}),null==(C=this.currentMutation)||C.setOptions(this.options)}onUnsubscribe(){if(!this.hasListeners()){var _;null==(_=this.currentMutation)||_.removeObserver(this)}}onMutationUpdate(_){this.updateResult();let C={listeners:!0};"success"===_.type?C.onSuccess=!0:"error"===_.type&&(C.onError=!0),this.notify(C)}getCurrentResult(){return this.currentResult}reset(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})}mutate(_,C){return this.mutateOptions=C,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,{...this.options,variables:void 0!==_?_:this.options.variables}),this.currentMutation.addObserver(this),this.currentMutation.execute()}updateResult(){let _=this.currentMutation?this.currentMutation.state:(0,es.R)(),C={..._,isLoading:"loading"===_.status,isSuccess:"success"===_.status,isError:"error"===_.status,isIdle:"idle"===_.status,mutate:this.mutate,reset:this.reset};this.currentResult=C}notify(_){eo.V.batch(()=>{if(this.mutateOptions&&this.hasListeners()){var C,L,Z,ea,es,eo,el,eu;_.onSuccess?(null==(C=(L=this.mutateOptions).onSuccess)||C.call(L,this.currentResult.data,this.currentResult.variables,this.currentResult.context),null==(Z=(ea=this.mutateOptions).onSettled)||Z.call(ea,this.currentResult.data,null,this.currentResult.variables,this.currentResult.context)):_.onError&&(null==(es=(eo=this.mutateOptions).onError)||es.call(eo,this.currentResult.error,this.currentResult.variables,this.currentResult.context),null==(el=(eu=this.mutateOptions).onSettled)||el.call(eu,void 0,this.currentResult.error,this.currentResult.variables,this.currentResult.context))}
3086_.listeners&&this.listeners.forEach(({listener:_})=>{_(this.currentResult)})})}};var eu=L(71465),ec=L(88145),ed=L(75248);function useMutation(_,C,L){let es=(0,ea.lV)(_,C,L),el=(0,ec.NL)({context:es.context}),[eh]=Z.useState(()=>new MutationObserver(el,es));Z.useEffect(()=>{eh.setOptions(es)},[eh,es]);let ep=(0,eu.$)(Z.useCallback(_=>eh.subscribe(eo.V.batchCalls(_)),[eh]),()=>eh.getCurrentResult(),()=>eh.getCurrentResult()),ef=Z.useCallback((_,C)=>{eh.mutate(_,C).catch(noop)},[eh]);if(ep.error&&(0,ed.L)(eh.options.useErrorBoundary,[ep.error]))throw ep.error;return{...ep,mutate:ef,mutateAsync:ep.mutate}}function noop(){}},14319:function(_,C,L){"use strict";L.d(C,{a:function(){return useQuery}});var Z=L(42191),ea=L(93300),es=L(52983),eo=L(618),el=L(71465),eu=L(56861),ec=L(88145),ed=L(92446),eh=L(75248);let ensurePreventErrorBoundaryRetry=(_,C)=>{(_.suspense||_.useErrorBoundary)&&!C.isReset()&&(_.retryOnMount=!1)},useClearResetErrorBoundary=_=>{es.useEffect(()=>{_.clearReset()},[_])},getHasError=({result:_,errorResetBoundary:C,useErrorBoundary:L,query:Z})=>_.isError&&!C.isReset()&&!_.isFetching&&(0,eh.L)(L,[_.error,Z]),ensureStaleTime=_=>{_.suspense&&"number"!=typeof _.staleTime&&(_.staleTime=1e3)},willFetch=(_,C)=>_.isLoading&&_.isFetching&&!C,shouldSuspend=(_,C,L)=>(null==_?void 0:_.suspense)&&willFetch(C,L),fetchOptimistic=(_,C,L)=>C.fetchOptimistic(_).then(({data:C})=>{null==_.onSuccess||_.onSuccess(C),null==_.onSettled||_.onSettled(C,null)}).catch(C=>{L.clearReset(),null==_.onError||_.onError(C),null==_.onSettled||_.onSettled(void 0,C)});function useQuery(_,C,L){let eh=(0,Z._v)(_,C,L);return function(_,C){let L=(0,ec.NL)({context:_.context}),Z=(0,ed.S)(),ea=(0,eu._)(),eh=L.defaultQueryOptions(_);eh._optimisticResults=Z?"isRestoring":"optimistic",eh.onError&&(eh.onError=eo.V.batchCalls(eh.onError)),eh.onSuccess&&(eh.onSuccess=eo.V.batchCalls(eh.onSuccess)),eh.onSettled&&(eh.onSettled=eo.V.batchCalls(eh.onSettled)),ensureStaleTime(eh),ensurePreventErrorBoundaryRetry(eh,ea),useClearResetErrorBoundary(ea);let[ep]=es.useState(()=>new C(L,eh)),ef=ep.getOptimisticResult(eh);if((0,el.$)(es.useCallback(_=>{let C=Z?()=>void 0:ep.subscribe(eo.V.batchCalls(_));return ep.updateResult(),C},[ep,Z]),()=>ep.getCurrentResult(),()=>ep.getCurrentResult()),es.useEffect(()=>{ep.setOptions(eh,{listeners:!1})},[eh,ep]),shouldSuspend(eh,ef,Z))throw fetchOptimistic(eh,ep,ea);if(getHasError({result:ef,errorResetBoundary:ea,useErrorBoundary:eh.useErrorBoundary,query:ep.getCurrentQuery()}))throw ef.error;return eh.notifyOnChangeProps?ef:ep.trackResult(ef)}(eh,ea.z)}},71465:function(_,C,L){"use strict";L.d(C,{$:function(){return ea}});var Z=L(83576);let ea=Z.useSyncExternalStore},75248:function(_,C,L){"use strict";function shouldThrowError(_,C){return"function"==typeof _?_(...C):!!_}L.d(C,{L:function(){return shouldThrowError}})},97269:function(_,C,L){"use strict";var Z=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,ea=Math.ceil,es=Math.floor,eo="[BigNumber Error] ",el=eo+"Number primitive has more than 15 significant digits: ",eu=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13];function bitFloor(_){var C=0|_;return _>0||_===C?C:C-1}function coeffToString(_){for(var C,L,Z=1,ea=_.length,es=_[0]+"";Z<ea;){for(L=14-(C=_[Z++]+"").length;L--;C="0"+C);es+=C}for(ea=es.length;48===es.charCodeAt(--ea););return es.slice(0,ea+1||1)}function compare(_,C){var L,Z,ea=_.c,es=C.c,eo=_.s,el=C.s,eu=_.e,ec=C.e;if(!eo||!el)return null;if(L=ea&&!ea[0],Z=es&&!es[0],L||Z)return L?Z?0:-el:eo;if(eo!=el)return eo;if(L=eo<0,Z=eu==ec,!ea||!es)return Z?0:!ea^L?1:-1;if(!Z)return eu>ec^L?1:-1;for(eo=0,el=(eu=ea.length)<(ec=es.length)?eu:ec;eo<el;eo++)if(ea[eo]!=es[eo])return ea[eo]>es[eo]^L?1:-1;return eu==ec?0:eu>ec^L?1:-1}function intCheck(_,C,L,Z){if(_<C||_>L||_!==es(_))throw Error(eo+(Z||"Argument")+("number"==typeof _?_<C||_>L?" out of range: ":" not an integer: ":" not a primitive number: ")+String(_))}
3086function isOdd(_){var C=_.c.length-1;return bitFloor(_.e/14)==C&&_.c[C]%2!=0}function toExponential(_,C){return(_.length>1?_.charAt(0)+"."+_.slice(1):_)+(C<0?"e":"e+")+C}function toFixedPoint(_,C,L){var Z,ea;if(C<0){for(ea=L+".";++C;ea+=L);_=ea+_}else if(Z=_.length,++C>Z){for(ea=L,C-=Z;--C;ea+=L);_+=ea}else C<Z&&(_=_.slice(0,C)+"."+_.slice(C));return _}var ec=function clone(_){var C,L,ec,ed,eh,ep,ef,em,eb,ey=BigNumber.prototype={constructor:BigNumber,toString:null,valueOf:null},eg=new BigNumber(1),ev=20,ex=4,e_=-7,ew=21,eC=-1e7,eT=1e7,eq=!1,ek=1,eS=0,eE={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:"\xa0",suffix:""},eM="0123456789abcdefghijklmnopqrstuvwxyz",ej=!0;function BigNumber(_,C){var L,ea,eo,eu,ec,ed,eh,ep,ef=this;if(!(ef instanceof BigNumber))return new BigNumber(_,C);if(null==C){if(_&&!0===_._isBigNumber){ef.s=_.s,!_.c||_.e>eT?ef.c=ef.e=null:_.e<eC?ef.c=[ef.e=0]:(ef.e=_.e,ef.c=_.c.slice());return}if((ed="number"==typeof _)&&0*_==0){if(ef.s=1/_<0?(_=-_,-1):1,_===~~_){for(eu=0,ec=_;ec>=10;ec/=10,eu++);eu>eT?ef.c=ef.e=null:(ef.e=eu,ef.c=[_]);return}ep=String(_)}else{if(!Z.test(ep=String(_)))return eb(ef,ep,ed);ef.s=45==ep.charCodeAt(0)?(ep=ep.slice(1),-1):1}(eu=ep.indexOf("."))>-1&&(ep=ep.replace(".","")),(ec=ep.search(/e/i))>0?(eu<0&&(eu=ec),eu+=+ep.slice(ec+1),ep=ep.substring(0,ec)):eu<0&&(eu=ep.length)}else{if(intCheck(C,2,eM.length,"Base"),10==C&&ej)return round(ef=new BigNumber(_),ev+ef.e+1,ex);if(ep=String(_),ed="number"==typeof _){if(0*_!=0)return eb(ef,ep,ed,C);if(ef.s=1/_<0?(ep=ep.slice(1),-1):1,BigNumber.DEBUG&&ep.replace(/^0\.0*|\./,"").length>15)throw Error(el+_)}else ef.s=45===ep.charCodeAt(0)?(ep=ep.slice(1),-1):1;for(L=eM.slice(0,C),eu=ec=0,eh=ep.length;ec<eh;ec++)if(0>L.indexOf(ea=ep.charAt(ec))){if("."==ea){if(ec>eu){eu=eh;continue}}else if(!eo&&(ep==ep.toUpperCase()&&(ep=ep.toLowerCase())||ep==ep.toLowerCase()&&(ep=ep.toUpperCase()))){eo=!0,ec=-1,eu=0;continue}return eb(ef,String(_),ed,C)}ed=!1,(eu=(ep=em(ep,C,10,ef.s)).indexOf("."))>-1?ep=ep.replace(".",""):eu=ep.length}for(ec=0;48===ep.charCodeAt(ec);ec++);for(eh=ep.length;48===ep.charCodeAt(--eh););
3086if(ep=ep.slice(ec,++eh)){if(eh-=ec,ed&&BigNumber.DEBUG&&eh>15&&(_>9007199254740991||_!==es(_)))throw Error(el+ef.s*_);if((eu=eu-ec-1)>eT)ef.c=ef.e=null;else if(eu<eC)ef.c=[ef.e=0];else{if(ef.e=eu,ef.c=[],ec=(eu+1)%14,eu<0&&(ec+=14),ec<eh){for(ec&&ef.c.push(+ep.slice(0,ec)),eh-=14;ec<eh;)ef.c.push(+ep.slice(ec,ec+=14));ec=14-(ep=ep.slice(ec)).length}else ec-=eh;for(;ec--;ep+="0");ef.c.push(+ep)}}else ef.c=[ef.e=0]}function format(_,C,L,Z){var ea,es,eo,el,eu;if(null==L?L=ex:intCheck(L,0,8),!_.c)return _.toString();if(ea=_.c[0],eo=_.e,null==C)eu=coeffToString(_.c),eu=1==Z||2==Z&&(eo<=e_||eo>=ew)?toExponential(eu,eo):toFixedPoint(eu,eo,"0");else if(es=(_=round(new BigNumber(_),C,L)).e,el=(eu=coeffToString(_.c)).length,1==Z||2==Z&&(C<=es||es<=e_)){for(;el<C;eu+="0",el++);eu=toExponential(eu,es)}else if(C-=eo,eu=toFixedPoint(eu,es,"0"),es+1>el){if(--C>0)for(eu+=".";C--;eu+="0");}else if((C+=es-el)>0)for(es+1==el&&(eu+=".");C--;eu+="0");return _.s<0&&ea?"-"+eu:eu}function maxOrMin(_,C){for(var L,Z,ea=1,es=new BigNumber(_[0]);ea<_.length;ea++)(Z=new BigNumber(_[ea])).s&&(L=compare(es,Z))!==C&&(0!==L||es.s!==C)||(es=Z);return es}function normalise(_,C,L){for(var Z=1,ea=C.length;!C[--ea];C.pop());for(ea=C[0];ea>=10;ea/=10,Z++);return(L=Z+14*L-1)>eT?_.c=_.e=null:L<eC?_.c=[_.e=0]:(_.e=L,_.c=C),_}function round(_,C,L,Z){var eo,el,ec,ed,eh,ep,ef,em=_.c;if(em){e:{for(eo=1,ed=em[0];ed>=10;ed/=10,eo++);if((el=C-eo)<0)el+=14,ec=C,ef=es((eh=em[ep=0])/eu[eo-ec-1]%10);else if((ep=ea((el+1)/14))>=em.length){if(Z){for(;em.length<=ep;em.push(0));eh=ef=0,eo=1,el%=14,ec=el-14+1}else break e}else{for(eo=1,eh=ed=em[ep];ed>=10;ed/=10,eo++);el%=14,ef=(ec=el-14+eo)<0?0:es(eh/eu[eo-ec-1]%10)}if(Z=Z||C<0||null!=em[ep+1]||(ec<0?eh:eh%eu[eo-ec-1]),Z=L<4?(ef||Z)&&(0==L||L==(_.s<0?3:2)):ef>5||5==ef&&(4==L||Z||6==L&&(el>0?ec>0?eh/eu[eo-ec]:0:em[ep-1])%10&1||L==(_.s<0?8:7)),C<1||!em[0])return em.length=0,Z?(C-=_.e+1,em[0]=eu[(14-C%14)%14],_.e=-C||0):em[0]=_.e=0,_;if(0==el?(em.length=ep,ed=1,ep--):(em.length=ep+1,ed=eu[14-el],em[ep]=ec>0?es(eh/eu[eo-ec]%eu[ec])*ed:0),Z)for(;;){if(0==ep){for(el=1,ec=em[0];ec>=10;ec/=10,el++);for(ec=em[0]+=ed,ed=1;ec>=10;ec/=10,ed++);el!=ed&&(_.e++,1e14==em[0]&&(em[0]=1));break}if(em[ep]+=ed,1e14!=em[ep])break;em[ep--]=0,ed=1}for(el=em.length;0===em[--el];em.pop());}_.e>eT?_.c=_.e=null:_.e<eC&&(_.c=[_.e=0])}return _}function valueOf(_){var C,L=_.e;return null===L?_.toString():(C=coeffToString(_.c),C=L<=e_||L>=ew?toExponential(C,L):toFixedPoint(C,L,"0"),_.s<0?"-"+C:C)}return BigNumber.clone=clone,BigNumber.ROUND_UP=0,BigNumber.ROUND_DOWN=1,BigNumber.ROUND_CEIL=2,BigNumber.ROUND_FLOOR=3,BigNumber.ROUND_HALF_UP=4,BigNumber.ROUND_HALF_DOWN=5,BigNumber.ROUND_HALF_EVEN=6,BigNumber.ROUND_HALF_CEIL=7,BigNumber.ROUND_HALF_FLOOR=8,BigNumber.EUCLID=9,BigNumber.config=BigNumber.set=function(_){var C,L;if(null!=_){if("object"==typeof _){if(_.hasOwnProperty(C="DECIMAL_PLACES")&&(intCheck(L=_[C],0,1e9,C),ev=L),_.hasOwnProperty(C="ROUNDING_MODE")&&(intCheck(L=_[C],0,8,C),ex=L),_.hasOwnProperty(C="EXPONENTIAL_AT")&&((L=_[C])&&L.pop?(intCheck(L[0],-1e9,0,C),intCheck(L[1],0,1e9,C),e_=L[0],ew=L[1]):(intCheck(L,-1e9,1e9,C),e_=-(ew=L<0?-L:L))),_.hasOwnProperty(C="RANGE")){if((L=_[C])&&L.pop)intCheck(L[0],-1e9,-1,C),intCheck(L[1],1,1e9,C),eC=L[0],eT=L[1];else if(intCheck(L,-1e9,1e9,C),L)eC=-(eT=L<0?-L:L);else throw Error(eo+C+" cannot be zero: "+L)}if(_.hasOwnProperty(C="CRYPTO")){if(!!(L=_[C])===L){if(L){if("undefined"!=typeof crypto&&crypto&&(crypto.getRandomValues||crypto.randomBytes))eq=L;else throw eq=!L,Error(eo+"crypto unavailable")}else eq=L}else throw Error(eo+C+" not true or false: "+L)}if(_.hasOwnProperty(C="MODULO_MODE")&&(intCheck(L=_[C],0,9,C),ek=L),_.hasOwnProperty(C="POW_PRECISION")&&(intCheck(L=_[C],0,1e9,C),eS=L),_.hasOwnProperty(C="FORMAT")){if("object"==typeof(L=_[C]))eE=L;else throw Error(eo+C+" not an object: "+L)}if(_.hasOwnProperty(C="ALPHABET")){if("string"!=typeof(L=_[C])||/^.?$|[+\-.\s]|(.).*\1/.test(L))throw Error(eo+C+" invalid: "+L);ej="0123456789"==L.slice(0,10),eM=L}}else throw Error(eo+"Object expected: "+_)}return{DECIMAL_PLACES:ev,ROUNDING_MODE:ex,EXPONENTIAL_AT:[e_,ew],RANGE:[eC,eT],CRYPTO:eq,MODULO_MODE:ek,POW_PRECISION:eS,FORMAT:eE,ALPHABET:eM}},BigNumber.isBigNumber=function(_){if(!_||!0!==_._isBigNumber)return!1;if(!BigNumber.DEBUG)return!0;var C,L,Z=_.c,ea=_.e,el=_.s;e:if("[object Array]"==({}).toString.call(Z)){if((1===el||-1===el)&&ea>
3086=-1e9&&ea<=1e9&&ea===es(ea)){if(0===Z[0]){if(0===ea&&1===Z.length)return!0;break e}if((C=(ea+1)%14)<1&&(C+=14),String(Z[0]).length==C){for(C=0;C<Z.length;C++)if((L=Z[C])<0||L>=1e14||L!==es(L))break e;if(0!==L)return!0}}}else if(null===Z&&null===ea&&(null===el||1===el||-1===el))return!0;throw Error(eo+"Invalid BigNumber: "+_)},BigNumber.maximum=BigNumber.max=function(){return maxOrMin(arguments,-1)},BigNumber.minimum=BigNumber.min=function(){return maxOrMin(arguments,1)},BigNumber.random=(C=9007199254740992*Math.random()&2097151?function(){return es(9007199254740992*Math.random())}:function(){return(1073741824*Math.random()|0)*8388608+(8388608*Math.random()|0)},function(_){var L,Z,el,ec,ed,eh=0,ep=[],ef=new BigNumber(eg);if(null==_?_=ev:intCheck(_,0,1e9),ec=ea(_/14),eq){if(crypto.getRandomValues){for(L=crypto.getRandomValues(new Uint32Array(ec*=2));eh<ec;)(ed=131072*L[eh]+(L[eh+1]>>>11))>=9e15?(Z=crypto.getRandomValues(new Uint32Array(2)),L[eh]=Z[0],L[eh+1]=Z[1]):(ep.push(ed%1e14),eh+=2);eh=ec/2}else if(crypto.randomBytes){for(L=crypto.randomBytes(ec*=7);eh<ec;)(ed=(31&L[eh])*281474976710656+1099511627776*L[eh+1]+4294967296*L[eh+2]+16777216*L[eh+3]+(L[eh+4]<<16)+(L[eh+5]<<8)+L[eh+6])>=9e15?crypto.randomBytes(7).copy(L,eh):(ep.push(ed%1e14),eh+=7);eh=ec/7}else throw eq=!1,Error(eo+"crypto unavailable")}if(!eq)for(;eh<ec;)(ed=C())<9e15&&(ep[eh++]=ed%1e14);for(ec=ep[--eh],_%=14,ec&&_&&(ed=eu[14-_],ep[eh]=es(ec/ed)*ed);0===ep[eh];ep.pop(),eh--);if(eh<0)ep=[el=0];else{for(el=-1;0===ep[0];ep.splice(0,1),el-=14);for(eh=1,ed=ep[0];ed>=10;ed/=10,eh++);eh<14&&(el-=14-eh)}return ef.e=el,ef.c=ep,ef}),BigNumber.sum=function(){for(var _=1,C=arguments,L=new BigNumber(C[0]);_<C.length;)L=L.plus(C[_++]);return L},em=function(){var _="0123456789";function toBaseOut(_,C,L,Z){for(var ea,es,eo=[0],el=0,eu=_.length;el<eu;){for(es=eo.length;es--;eo[es]*=C);for(eo[0]+=Z.indexOf(_.charAt(el++)),ea=0;ea<eo.length;ea++)eo[ea]>L-1&&(null==eo[ea+1]&&(eo[ea+1]=0),eo[ea+1]+=eo[ea]/L|0,eo[ea]%=L)}return eo.reverse()}return function(C,L,Z,ea,es){var eo,el,eu,ec,ed,eh,ep,em,eb=C.indexOf("."),ey=ev,eg=ex;for(eb>=0&&(ec=eS,eS=0,C=C.replace(".",""),eh=(em=new BigNumber(L)).pow(C.length-eb),eS=ec,em.c=toBaseOut(toFixedPoint(coeffToString(eh.c),eh.e,"0"),10,Z,_),em.e=em.c.length),eu=ec=(ep=toBaseOut(C,L,Z,es?(eo=eM,_):(eo=_,eM))).length;0==ep[--ec];ep.pop());if(!ep[0])return eo.charAt(0);if(eb<0?--eu:(eh.c=ep,eh.e=eu,eh.s=ea,ep=(eh=ef(eh,em,ey,eg,Z)).c,ed=eh.r,eu=eh.e),eb=ep[el=eu+ey+1],ec=Z/2,ed=ed||el<0||null!=ep[el+1],ed=eg<4?(null!=eb||ed)&&(0==eg||eg==(eh.s<0?3:2)):eb>ec||eb==ec&&(4==eg||ed||6==eg&&1&ep[el-1]||eg==(eh.s<0?8:7)),el<1||!ep[0])C=ed?toFixedPoint(eo.charAt(1),-ey,eo.charAt(0)):eo.charAt(0);else{if(ep.length=el,ed)for(--Z;++ep[--el]>Z;)ep[el]=0,el||(++eu,ep=[1].concat(ep));for(ec=ep.length;!ep[--ec];);for(eb=0,C="";eb<=ec;C+=eo.charAt(ep[eb++]));C=toFixedPoint(C,eu,eo.charAt(0))}return C}}(),ef=function(){function multiply(_,C,L){var Z,ea,es,eo,el=0,eu=_.length,ec=C%1e7,ed=C/1e7|0;for(_=_.slice();eu--;)Z=ed*(es=_[eu]%1e7)+(eo=_[eu]/1e7|0)*ec,el=((ea=ec*es+Z%1e7*1e7+el)/L|0)+(Z/1e7|0)+ed*eo,_[eu]=ea%L;return el&&(_=[el].concat(_)),_}function compare(_,C,L,Z){var ea,es;if(L!=Z)es=L>Z?1:-1;else for(ea=es=0;ea<L;ea++)if(_[ea]!=C[ea]){es=_[ea]>C[ea]?1:-1;break}return es}function subtract(_,C,L,Z){for(var ea=0;L--;)_[L]-=ea,ea=_[L]<C[L]?1:0,_[L]=ea*Z+_[L]-C[L];for(;!_[0]&&_.length>1;_.splice(0,1));}return function(_,C,L,Z,ea){var eo,el,eu,ec,ed,eh,ep,ef,em,eb,ey,eg,ev,ex,e_,ew,eC,eT=_.s==C.s?1:-1,eq=_.c,ek=C.c;if(!eq||!eq[0]||!ek||!ek[0])return new BigNumber(_.s&&C.s&&(eq?!ek||eq[0]!=ek[0]:ek)?eq&&0==eq[0]||!ek?0*eT:eT/0:NaN);for(em=(ef=new BigNumber(eT)).c=[],eT=L+(el=_.e-C.e)+1,ea||(ea=1e14,el=bitFloor(_.e/14)-bitFloor(C.e/14),eT=eT/14|0),eu=0;ek[eu]==(eq[eu]||0);eu++);if(ek[eu]>(eq[eu]||0)&&el--,eT<0)em.push(1),ec=!0;else{for(ex=eq.length,ew=ek.length,eu=0,eT+=2,(ed=es(ea/(ek[0]+1)))>1&&(ek=multiply(ek,ed,ea),eq=multiply(eq,ed,ea),ew=ek.length,ex=eq.length),ev=ew,ey=(eb=eq.slice(0,ew)).length;ey<ew;eb[ey++]=0);eC=[0].concat(eC=ek.slice()),e_=ek[0],ek[1]>
3086=ea/2&&e_++;do{if(ed=0,(eo=compare(ek,eb,ew,ey))<0){if(eg=eb[0],ew!=ey&&(eg=eg*ea+(eb[1]||0)),(ed=es(eg/e_))>1)for(ed>=ea&&(ed=ea-1),ep=(eh=multiply(ek,ed,ea)).length,ey=eb.length;1==compare(eh,eb,ep,ey);)ed--,subtract(eh,ew<ep?eC:ek,ep,ea),ep=eh.length,eo=1;else 0==ed&&(eo=ed=1),ep=(eh=ek.slice()).length;if(ep<ey&&(eh=[0].concat(eh)),subtract(eb,eh,ey,ea),ey=eb.length,-1==eo)for(;1>compare(ek,eb,ew,ey);)ed++,subtract(eb,ew<ey?eC:ek,ey,ea),ey=eb.length}else 0===eo&&(ed++,eb=[0]);em[eu++]=ed,eb[0]?eb[ey++]=eq[ev]||0:(eb=[eq[ev]],ey=1)}while((ev++<ex||null!=eb[0])&&eT--);ec=null!=eb[0],em[0]||em.splice(0,1)}if(1e14==ea){for(eu=1,eT=em[0];eT>=10;eT/=10,eu++);round(ef,L+(ef.e=eu+14*el-1)+1,Z,ec)}else ef.e=el,ef.r=+ec;return ef}}(),L=/^(-?)0([xbo])(?=\w[\w.]*$)/i,ec=/^([^.]+)\.$/,ed=/^\.([^.]+)$/,eh=/^-?(Infinity|NaN)$/,ep=/^\s*\+(?=[\w.])|^\s+|\s+$/g,eb=function(_,C,Z,ea){var es,el=Z?C:C.replace(ep,"");if(eh.test(el))_.s=isNaN(el)?null:el<0?-1:1;else{if(!Z&&(el=el.replace(L,function(_,C,L){return es="x"==(L=L.toLowerCase())?16:"b"==L?2:8,ea&&ea!=es?_:C}),ea&&(es=ea,el=el.replace(ec,"$1").replace(ed,"0.$1")),C!=el))return new BigNumber(el,es);if(BigNumber.DEBUG)throw Error(eo+"Not a"+(ea?" base "+ea:"")+" number: "+C);_.s=null}_.c=_.e=null},ey.absoluteValue=ey.abs=function(){var _=new BigNumber(this);return _.s<0&&(_.s=1),_},ey.comparedTo=function(_,C){return compare(this,new BigNumber(_,C))},ey.decimalPlaces=ey.dp=function(_,C){var L,Z,ea;if(null!=_)return intCheck(_,0,1e9),null==C?C=ex:intCheck(C,0,8),round(new BigNumber(this),_+this.e+1,C);if(!(L=this.c))return null;if(Z=((ea=L.length-1)-bitFloor(this.e/14))*14,ea=L[ea])for(;ea%10==0;ea/=10,Z--);return Z<0&&(Z=0),Z},ey.dividedBy=ey.div=function(_,C){return ef(this,new BigNumber(_,C),ev,ex)},ey.dividedToIntegerBy=ey.idiv=function(_,C){return ef(this,new BigNumber(_,C),0,1)},ey.exponentiatedBy=ey.pow=function(_,C){var L,Z,el,eu,ec,ed,eh,ep,ef,em=this;if((_=new BigNumber(_)).c&&!_.isInteger())throw Error(eo+"Exponent not an integer: "+valueOf(_));if(null!=C&&(C=new BigNumber(C)),ed=_.e>14,!em.c||!em.c[0]||1==em.c[0]&&!em.e&&1==em.c.length||!_.c||!_.c[0])return ef=new BigNumber(Math.pow(+valueOf(em),ed?_.s*(2-isOdd(_)):+valueOf(_))),C?ef.mod(C):ef;if(eh=_.s<0,C){if(C.c?!C.c[0]:!C.s)return new BigNumber(NaN);(Z=!eh&&em.isInteger()&&C.isInteger())&&(em=em.mod(C))}else{if(_.e>9&&(em.e>0||em.e<-1||(0==em.e?em.c[0]>1||ed&&em.c[1]>=24e7:em.c[0]<8e13||ed&&em.c[0]<=9999975e7)))return eu=em.s<0&&isOdd(_)?-0:0,em.e>-1&&(eu=1/eu),new BigNumber(eh?1/eu:eu);eS&&(eu=ea(eS/14+2))}for(ed?(L=new BigNumber(.5),eh&&(_.s=1),ep=isOdd(_)):ep=(el=Math.abs(+valueOf(_)))%2,ef=new BigNumber(eg);;){if(ep){if(!(ef=ef.times(em)).c)break;eu?ef.c.length>eu&&(ef.c.length=eu):Z&&(ef=ef.mod(C))}if(el){if(0===(el=es(el/2)))break;ep=el%2}else if(round(_=_.times(L),_.e+1,1),_.e>14)ep=isOdd(_);else{if(0==(el=+valueOf(_)))break;ep=el%2}em=em.times(em),eu?em.c&&em.c.length>eu&&(em.c.length=eu):Z&&(em=em.mod(C))}return Z?ef:(eh&&(ef=eg.div(ef)),C?ef.mod(C):eu?round(ef,eS,ex,ec):ef)},ey.integerValue=function(_){var C=new BigNumber(this);return null==_?_=ex:intCheck(_,0,8),round(C,C.e+1,_)},ey.isEqualTo=ey.eq=function(_,C){return 0===compare(this,new BigNumber(_,C))},ey.isFinite=function(){return!!this.c},ey.isGreaterThan=ey.gt=function(_,C){return compare(this,new BigNumber(_,C))>0},ey.isGreaterThanOrEqualTo=ey.gte=function(_,C){return 1===(C=compare(this,new BigNumber(_,C)))||0===C},ey.isInteger=function(){return!!this.c&&bitFloor(this.e/14)>this.c.length-2},ey.isLessThan=ey.lt=function(_,C){return 0>compare(this,new BigNumber(_,C))},ey.isLessThanOrEqualTo=ey.lte=function(_,C){return -1===(C=compare(this,new BigNumber(_,C)))||0===C},ey.isNaN=function(){return!this.s},ey.isNegative=function(){return this.s<0},ey.isPositive=function(){return this.s>0},ey.isZero=function(){return!!this.c&&0==this.c[0]},ey.minus=function(_,C){var L,Z,ea,es,eo=this.s;if(C=(_=new BigNumber(_,C)).s,!eo||!C)return new BigNumber(NaN);if(eo!=C)return _.s=-C,this.plus(_);var el=this.e/14,eu=_.e/14,ec=this.c,ed=_.c;if(!el||!eu){if(!ec||!ed)return ec?(_.s=-C,_):new BigNumber(ed?this:NaN);if(!ec[0]||!ed[0])return ed[0]?(_.s=-C,_):new BigNumber(ec[0]?this:3==ex?-0:0)}if(el=bitFloor(el),eu=bitFloor(eu),ec=ec.slice(),eo=el-eu){for((es=eo<0)?(eo=-eo,ea=ec):(eu=el,ea=ed),ea.reverse(),C=eo;C--;ea.push(0));ea.reverse()}else for(Z=(es=(eo=ec.length)<(C=ed.length))?eo:C,eo=C=0;C<Z;C++)if(ec[C]!=ed[C]){es=ec[C]<ed[C];break}if(es&&(ea=ec,ec=ed,ed=ea,_.s=-_.s),(C=(Z=ed.length)-(L=ec.length))>0)for(;C--;ec[L++]=0);for(C=1e14-1;Z>eo;){if(ec[--Z]<ed[Z]){for(L=Z;L&&!ec[--L];ec[L]=C);--ec[L],ec[Z]+=1e14}ec[Z]-=ed[Z]}for(;0==ec[0];ec.splice(0,1),--eu);return ec[0]?normalise(_,ec,eu):(_.s=3==ex?-1:1,_.c=[_.e=0],_)},ey.modulo=ey.mod=function(_,C){var L,Z;return(_=new BigNumber(_,C),this.c&&_.s&&(!_.c||_.c[0]))?_.c&&(!this.c||this.c[0])?(9==ek?(Z=_.s,_.s=1,L=ef(this,_,0,3),_.s=Z,L.s*=Z):L=ef(this,_,0,ek),(_=this.minus(L.times(_))).c[0]||1!=ek||(_.s=this.s),_):new BigNumber(this):new BigNumber(NaN)},ey.multipliedBy=ey.times=function(_,C){var L,Z,ea,es,eo,el,eu,ec,ed,eh,ep,ef,em,eb=this.c,ey=(_=new BigNumber(_,C)).c;
3086if(!eb||!ey||!eb[0]||!ey[0])return this.s&&_.s&&(!eb||eb[0]||ey)&&(!ey||ey[0]||eb)?(_.s*=this.s,eb&&ey?(_.c=[0],_.e=0):_.c=_.e=null):_.c=_.e=_.s=null,_;for(Z=bitFloor(this.e/14)+bitFloor(_.e/14),_.s*=this.s,(eu=eb.length)<(eh=ey.length)&&(em=eb,eb=ey,ey=em,ea=eu,eu=eh,eh=ea),ea=eu+eh,em=[];ea--;em.push(0));for(ea=eh;--ea>=0;){for(L=0,ep=ey[ea]%1e7,ef=ey[ea]/1e7|0,es=ea+(eo=eu);es>ea;)el=ef*(ec=eb[--eo]%1e7)+(ed=eb[eo]/1e7|0)*ep,L=((ec=ep*ec+el%1e7*1e7+em[es]+L)/1e14|0)+(el/1e7|0)+ef*ed,em[es--]=ec%1e14;em[es]=L}return L?++Z:em.splice(0,1),normalise(_,em,Z)},ey.negated=function(){var _=new BigNumber(this);return _.s=-_.s||null,_},ey.plus=function(_,C){var L,Z=this.s;if(C=(_=new BigNumber(_,C)).s,!Z||!C)return new BigNumber(NaN);if(Z!=C)return _.s=-C,this.minus(_);var ea=this.e/14,es=_.e/14,eo=this.c,el=_.c;if(!ea||!es){if(!eo||!el)return new BigNumber(Z/0);if(!eo[0]||!el[0])return el[0]?_:new BigNumber(eo[0]?this:0*Z)}if(ea=bitFloor(ea),es=bitFloor(es),eo=eo.slice(),Z=ea-es){for(Z>0?(es=ea,L=el):(Z=-Z,L=eo),L.reverse();Z--;L.push(0));L.reverse()}for((Z=eo.length)-(C=el.length)<0&&(L=el,el=eo,eo=L,C=Z),Z=0;C;)Z=(eo[--C]=eo[C]+el[C]+Z)/1e14|0,eo[C]=1e14===eo[C]?0:eo[C]%1e14;return Z&&(eo=[Z].concat(eo),++es),normalise(_,eo,es)},ey.precision=ey.sd=function(_,C){var L,Z,ea;if(null!=_&&!!_!==_)return intCheck(_,1,1e9),null==C?C=ex:intCheck(C,0,8),round(new BigNumber(this),_,C);if(!(L=this.c))return null;if(Z=14*(ea=L.length-1)+1,ea=L[ea]){for(;ea%10==0;ea/=10,Z--);for(ea=L[0];ea>=10;ea/=10,Z++);}return _&&this.e+1>Z&&(Z=this.e+1),Z},ey.shiftedBy=function(_){return intCheck(_,-9007199254740991,9007199254740991),this.times("1e"+_)},ey.squareRoot=ey.sqrt=function(){var _,C,L,Z,ea,es=this.c,eo=this.s,el=this.e,eu=ev+4,ec=new BigNumber("0.5");if(1!==eo||!es||!es[0])return new BigNumber(!eo||eo<0&&(!es||es[0])?NaN:es?this:1/0);if(0==(eo=Math.sqrt(+valueOf(this)))||eo==1/0?(((C=coeffToString(es)).length+el)%2==0&&(C+="0"),eo=Math.sqrt(+C),el=bitFloor((el+1)/2)-(el<0||el%2),C=eo==1/0?"5e"+el:(C=eo.toExponential()).slice(0,C.indexOf("e")+1)+el,L=new BigNumber(C)):L=new BigNumber(eo+""),L.c[0]){for((eo=(el=L.e)+eu)<3&&(eo=0);;)if(ea=L,L=ec.times(ea.plus(ef(this,ea,eu,1))),coeffToString(ea.c).slice(0,eo)===(C=coeffToString(L.c)).slice(0,eo)){if(L.e<el&&--eo,"9999"!=(C=C.slice(eo-3,eo+1))&&(Z||"4999"!=C)){+C&&(+C.slice(1)||"5"!=C.charAt(0))||(round(L,L.e+ev+2,1),_=!L.times(L).eq(this));break}if(!Z&&(round(ea,ea.e+ev+2,0),ea.times(ea).eq(this))){L=ea;break}eu+=4,eo+=4,Z=1}}return round(L,L.e+ev+1,ex,_)},ey.toExponential=function(_,C){return null!=_&&(intCheck(_,0,1e9),_++),format(this,_,C,1)},ey.toFixed=function(_,C){return null!=_&&(intCheck(_,0,1e9),_=_+this.e+1),format(this,_,C)},ey.toFormat=function(_,C,L){var Z;if(null==L)null!=_&&C&&"object"==typeof C?(L=C,C=null):_&&"object"==typeof _?(L=_,_=C=null):L=eE;else if("object"!=typeof L)throw Error(eo+"Argument not an object: "+L);if(Z=this.toFixed(_,C),this.c){var ea,es=Z.split("."),el=+L.groupSize,eu=+L.secondaryGroupSize,ec=L.groupSeparator||"",ed=es[0],eh=es[1],ep=this.s<0,ef=ep?ed.slice(1):ed,em=ef.length;if(eu&&(ea=el,el=eu,eu=ea,em-=ea),el>0&&em>0){for(ea=em%el||el,ed=ef.substr(0,ea);ea<em;ea+=el)ed+=ec+ef.substr(ea,el);eu>0&&(ed+=ec+ef.slice(ea)),ep&&(ed="-"+ed)}Z=eh?ed+(L.decimalSeparator||"")+((eu=+L.fractionGroupSize)?eh.replace(RegExp("\\d{"+eu+"}\\B","g"),"$&"+(L.fractionGroupSeparator||"")):eh):ed}return(L.prefix||"")+Z+(L.suffix||"")},ey.toFraction=function(_){var C,L,Z,ea,es,el,ec,ed,eh,ep,em,eb,ey=this.c;if(null!=_&&(!(ec=new BigNumber(_)).isInteger()&&(ec.c||1!==ec.s)||ec.lt(eg)))throw Error(eo+"Argument "+(ec.isInteger()?"out of range: ":"not an integer: ")+valueOf(ec));if(!ey)return new BigNumber(this);for(C=new BigNumber(eg),eh=L=new BigNumber(eg),Z=ed=new BigNumber(eg),eb=coeffToString(ey),es=C.e=eb.length-this.e-1,C.c[0]=eu[(el=es%14)<0?14+el:el],_=!_||ec.comparedTo(C)>0?es>0?C:eh:ec,el=eT,eT=1/0,ec=new BigNumber(eb),ed.c[0]=0;ep=ef(ec,C,0,1),1!=(ea=L.plus(ep.times(Z))).comparedTo(_);)L=Z,Z=ea,eh=ed.plus(ep.times(ea=eh)),ed=ea,C=ec.minus(ep.times(ea=C)),ec=ea;return ea=ef(_.minus(L),Z,0,1),ed=ed.plus(ea.times(eh)),L=L.plus(ea.times(Z)),ed.s=eh.s=this.s,es*=2,em=1>ef(eh,Z,es,ex).minus(this).abs().comparedTo(ef(ed,L,es,ex).minus(this).abs())?[eh,Z]:[ed,L],eT=el,em},ey.toNumber=function(){return+valueOf(this)},ey.toPrecision=function(_,C){return null!=_&&intCheck(_,1,1e9),format(this,_,C,2)}
3086,ey.toString=function(_){var C,L=this,Z=L.s,ea=L.e;return null===ea?Z?(C="Infinity",Z<0&&(C="-"+C)):C="NaN":(null==_?C=ea<=e_||ea>=ew?toExponential(coeffToString(L.c),ea):toFixedPoint(coeffToString(L.c),ea,"0"):10===_&&ej?C=toFixedPoint(coeffToString((L=round(new BigNumber(L),ev+ea+1,ex)).c),L.e,"0"):(intCheck(_,2,eM.length,"Base"),C=em(toFixedPoint(coeffToString(L.c),ea,"0"),10,_,Z,!0)),Z<0&&L.c[0]&&(C="-"+C)),C},ey.valueOf=ey.toJSON=function(){return valueOf(this)},ey._isBigNumber=!0,ey[Symbol.toStringTag]="BigNumber",ey[Symbol.for("nodejs.util.inspect.custom")]=ey.valueOf,null!=_&&BigNumber.set(_),BigNumber}();C.Z=ec},55702:function(_,C,L){"use strict";function max(_,C){let L;if(void 0===C)for(let C of _)null!=C&&(L<C||void 0===L&&C>=C)&&(L=C);else{let Z=-1;for(let ea of _)null!=(ea=C(ea,++Z,_))&&(L<ea||void 0===L&&ea>=ea)&&(L=ea)}return L}function identity(_){return _}function translateX(_){return"translate("+_+",0)"}function translateY(_){return"translate(0,"+_+")"}function entering(){return!this.__axis}function axisBottom(_){return function(_,C){var L=[],Z=null,ea=null,es=6,eo=6,el=3,eu="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,ec=1===_||4===_?-1:1,ed=4===_||2===_?"x":"y",eh=1===_||3===_?translateX:translateY;function axis(ep){var ef=null==Z?C.ticks?C.ticks.apply(C,L):C.domain():Z,em=null==ea?C.tickFormat?C.tickFormat.apply(C,L):identity:ea,eb=Math.max(es,0)+el,ey=C.range(),eg=+ey[0]+eu,ev=+ey[ey.length-1]+eu,ex=(C.bandwidth?function(_,C){return C=Math.max(0,_.bandwidth()-2*C)/2,_.round()&&(C=Math.round(C)),L=>+_(L)+C}:function(_){return C=>+_(C)})(C.copy(),eu),e_=ep.selection?ep.selection():ep,ew=e_.selectAll(".domain").data([null]),eC=e_.selectAll(".tick").data(ef,C).order(),eT=eC.exit(),eq=eC.enter().append("g").attr("class","tick"),ek=eC.select("line"),eS=eC.select("text");ew=ew.merge(ew.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),eC=eC.merge(eq),ek=ek.merge(eq.append("line").attr("stroke","currentColor").attr(ed+"2",ec*es)),eS=eS.merge(eq.append("text").attr("fill","currentColor").attr(ed,ec*eb).attr("dy",1===_?"0em":3===_?"0.71em":"0.32em")),ep!==e_&&(ew=ew.transition(ep),eC=eC.transition(ep),ek=ek.transition(ep),eS=eS.transition(ep),eT=eT.transition(ep).attr("opacity",1e-6).attr("transform",function(_){return isFinite(_=ex(_))?eh(_+eu):this.getAttribute("transform")}),eq.attr("opacity",1e-6).attr("transform",function(_){var C=this.parentNode.__axis;return eh((C&&isFinite(C=C(_))?C:ex(_))+eu)})),eT.remove(),ew.attr("d",4===_||2===_?eo?"M"+ec*eo+","+eg+"H"+eu+"V"+ev+"H"+ec*eo:"M"+eu+","+eg+"V"+ev:eo?"M"+eg+","+ec*eo+"V"+eu+"H"+ev+"V"+ec*eo:"M"+eg+","+eu+"H"+ev),eC.attr("opacity",1).attr("transform",function(_){return eh(ex(_)+eu)}),ek.attr(ed+"2",ec*es),eS.attr(ed,ec*eb).text(em),e_.filter(entering).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===_?"start":4===_?"end":"middle"),e_.each(function(){this.__axis=ex})}return axis.scale=function(_){return arguments.length?(C=_,axis):C},axis.ticks=function(){return L=Array.from(arguments),axis},axis.tickArguments=function(_){return arguments.length?(L=null==_?[]:Array.from(_),axis):L.slice()},axis.tickValues=function(_){return arguments.length?(Z=null==_?null:Array.from(_),axis):Z&&Z.slice()},axis.tickFormat=function(_){return arguments.length?(ea=_,axis):ea},axis.tickSize=function(_){return arguments.length?(es=eo=+_,axis):es},axis.tickSizeInner=function(_){return arguments.length?(es=+_,axis):es},axis.tickSizeOuter=function(_){return arguments.length?(eo=+_,axis):eo},axis.tickPadding=function(_){return arguments.length?(el=+_,axis):el},axis.offset=function(_){return arguments.length?(eu=+_,axis):eu},axis}(3,_)}L.d(C,{SOn:function(){return src_area},LLu:function(){return axisBottom},Yud:function(){return brushX},jsv:function(){return stepAfter},WUZ:function(){return eE},Fp7:function(){return max},BYU:function(){return function linear_linear(){var _,C=(function(){var _,C,L,Z,ea,es,eo=tf,el=tf,eu=value,ec=continuous_identity;function rescale(){var _,C,L,eu=Math.min(eo.length,el.length);return ec!==continuous_identity&&(_=eo[0],C=eo[eu-1],_>C&&(L=_,_=C,C=L),ec=function(L){return Math.max(_,Math.min(C,L))}),Z=eu>
30862?polymap:bimap,ea=es=null,scale}function scale(C){return null==C||isNaN(C=+C)?L:(ea||(ea=Z(eo.map(_),el,eu)))(_(ec(C)))}return scale.invert=function(L){return ec(C((es||(es=Z(el,eo.map(_),src_number)))(L)))},scale.domain=function(_){return arguments.length?(eo=Array.from(_,src_number_number),rescale()):eo.slice()},scale.range=function(_){return arguments.length?(el=Array.from(_),rescale()):el.slice()},scale.rangeRound=function(_){return el=Array.from(_),eu=round,rescale()},scale.clamp=function(_){return arguments.length?(ec=!!_||continuous_identity,rescale()):ec!==continuous_identity},scale.interpolate=function(_){return arguments.length?(eu=_,rescale()):eu},scale.unknown=function(_){return arguments.length?(L=_,scale):L},function(L,Z){return _=L,C=Z,rescale()}})()(continuous_identity,continuous_identity);return C.copy=function(){return linear_linear().domain(C.domain()).range(C.range()).interpolate(C.interpolate()).clamp(C.clamp()).unknown(C.unknown())},initRange.apply(C,arguments),_=C.domain,C.ticks=function(C){var L=_();return function(_,C,L){if(C=+C,_=+_,!((L=+L)>0))return[];if(_===C)return[_];let Z=C<_,[ea,es,eo]=Z?tickSpec(C,_,L):tickSpec(_,C,L);if(!(es>=ea))return[];let el=es-ea+1,eu=Array(el);if(Z){if(eo<0)for(let _=0;_<el;++_)eu[_]=-((es-_)/eo);else for(let _=0;_<el;++_)eu[_]=(es-_)*eo}else if(eo<0)for(let _=0;_<el;++_)eu[_]=-((ea+_)/eo);else for(let _=0;_<el;++_)eu[_]=(ea+_)*eo;return eu}(L[0],L[L.length-1],null==C?10:C)},C.tickFormat=function(C,L){var Z=_();return function(_,C,L,Z){var ea,es,eo=function(_,C,L){C=+C,_=+_,L=+L;let Z=C<_,ea=Z?tickIncrement(C,_,L):tickIncrement(_,C,L);return(Z?-1:1)*(ea<0?-(1/ea):ea)}(_,C,L);switch((Z=formatSpecifier(null==Z?",f":Z)).type){case"s":var el=Math.max(Math.abs(_),Math.abs(C));return null!=Z.precision||isNaN(es=Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(exponent(el)/3)))-exponent(Math.abs(eo))))||(Z.precision=es),eM(Z,el);case"":case"e":case"g":case"p":case"r":null!=Z.precision||isNaN(es=Math.max(0,exponent(Math.abs(Math.max(Math.abs(_),Math.abs(C)))-(ea=Math.abs(ea=eo)))-exponent(ea))+1)||(Z.precision=es-("e"===Z.type));break;case"f":case"%":null!=Z.precision||isNaN(es=Math.max(0,-exponent(Math.abs(eo))))||(Z.precision=es-("%"===Z.type)*2)}return eE(Z)}(Z[0],Z[Z.length-1],null==C?10:C,L)},C.nice=function(L){null==L&&(L=10);var Z,ea,es=_(),eo=0,el=es.length-1,eu=es[eo],ec=es[el],ed=10;for(ec<eu&&(ea=eu,eu=ec,ec=ea,ea=eo,eo=el,el=ea);ed-- >0;){if((ea=tickIncrement(eu,ec,L))===Z)return es[eo]=eu,es[el]=ec,_(es);if(ea>0)eu=Math.floor(eu/ea)*ea,ec=Math.ceil(ec/ea)*ea;else if(ea<0)eu=Math.ceil(eu*ea)/ea,ec=Math.floor(ec*ea)/ea;else break;Z=ea}return C},C}},Ys:function(){return src_select},sPX:function(){return zoom},CRH:function(){return tv}});var Z={value:()=>{}};function dispatch(){for(var _,C=0,L=arguments.length,Z={};C<L;++C){if(!(_=arguments[C]+"")||_ in Z||/[\s.]/.test(_))throw Error("illegal type: "+_);Z[_]=[]}return new Dispatch(Z)}function Dispatch(_){this._=_}function set(_,C,L){for(var ea=0,es=_.length;ea<es;++ea)if(_[ea].name===C){_[ea]=Z,_=_.slice(0,ea).concat(_.slice(ea+1));break}return null!=L&&_.push({name:C,value:L}),_}function none(){}function selector(_){return null==_?none:function(){return this.querySelector(_)}}function empty(){return[]}function selectorAll(_){return null==_?empty:function(){return this.querySelectorAll(_)}}function matcher(_){return function(){return this.matches(_)}}function childMatcher(_){return function(C){return C.matches(_)}}Dispatch.prototype=dispatch.prototype={constructor:Dispatch,on:function(_,C){var L,Z=this._,ea=(_+"").trim().split(/^|\s+/).map(function(_){var C="",L=_.indexOf(".");if(L>=0&&(C=_.slice(L+1),_=_.slice(0,L)),_&&!Z.hasOwnProperty(_))throw Error("unknown type: "+_);return{type:_,name:C}}),es=-1,eo=ea.length;if(arguments.length<2){for(;++es<eo;)if((L=(_=ea[es]).type)&&(L=function(_,C){for(var L,Z=0,ea=_.length;Z<ea;++Z)if((L=_[Z]).name===C)return L.value}(Z[L],_.name)))return L;return}if(null!=C&&"function"!=typeof C)throw Error("invalid callback: "+C);for(;++es<eo;)if(L=(_=ea[es]).type)Z[L]=set(Z[L],_.name,C);else if(null==C)for(L in Z)Z[L]=set(Z[L],_.name,null);return this},copy:function(){var _={},C=this._;for(var L in C)_[L]=C[L].slice();return new Dispatch(_)},call:function(_,C){if((L=arguments.length-2)>0)for(var L,Z,ea=Array(L),es=0;es<L;++es)ea[es]=arguments[es+2];if(!this._.hasOwnProperty(_))throw Error("unknown type: "+_);for(Z=this._[_],es=0,L=Z.length;es<L;++es)Z[es].value.apply(C,ea)},apply:function(_,C,L){if(!this._.hasOwnProperty(_))throw Error("unknown type: "+_);for(var Z=this._[_],ea=0,es=Z.length;ea<es;++ea)Z[ea].value.apply(C,L)}};var ea=Array.prototype.find;function childFirst(){return this.firstElementChild}var es=Array.prototype.filter;function children(){return Array.from(this.children)}function sparse(_){return Array(_.length)}function EnterNode(_,C){this.ownerDocument=_.ownerDocument,this.namespaceURI=_.namespaceURI,this._next=null,this._parent=_,this.__data__=C}function bindIndex(_,C,L,Z,ea,es){for(var eo,el=0,eu=C.length,ec=es.length;el<ec;++el)(eo=C[el])?(eo.__data__=es[el],Z[el]=eo):L[el]=new EnterNode(_,es[el]);for(;el<eu;++el)(eo=C[el])&&(ea[el]=eo)}function bindKey(_,C,L,Z,ea,es,eo){var el,eu,ec,ed=new Map,eh=C.length,ep=es.length,ef=Array(eh);for(el=0;el<eh;++el)(eu=C[el])&&(ef[el]=ec=eo.call(eu,eu.__data__,el,C)+"",ed.has(ec)?ea[el]=eu:ed.set(ec,eu));for(el=0;el<ep;++el)ec=eo.call(_,es[el],el,es)+"",(eu=ed.get(ec))?(Z[el]=eu,eu.__data__=es[el],ed.delete(ec)):L[el]=new EnterNode(_,es[el]);for(el=0;el<eh;++el)(eu=C[el])&&ed.get(ef[el])===eu&&(ea[el]=eu)}function datum(_){return _.__data__}function ascending(_,C){return _<C?-1:_>C?1:_>=C?0:NaN}EnterNode.prototype={constructor:EnterNode,appendChild:function(_){return this._parent.insertBefore(_,this._next)},insertBefore:function(_,C){return this._parent.insertBefore(_,C)},querySelector:function(_){return this._parent.querySelector(_)},querySelectorAll:function(_){return this._parent.querySelectorAll(_)}};var eo="http://www.w3.org/1999/xhtml",el={svg:"http://www.w3.org/2000/svg",xhtml:eo,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function namespace(_){var C=_+="",L=C.indexOf(":");return L>=0&&"xmlns"!==(C=_.slice(0,L))&&(_=_.slice(L+1)),el.hasOwnProperty(C)?{space:el[C],local:_}:_}function src_window(_){return _.ownerDocument&&_.ownerDocument.defaultView||_.document&&_||_.defaultView}function styleValue(_,C){return _.style.getPropertyValue(C)||src_window(_).getComputedStyle(_,null).getPropertyValue(C)}function classArray(_){return _.trim().split(/^|\s+/)}function classList(_){return _.classList||new ClassList(_)}function ClassList(_){this._node=_,this._names=classArray(_.getAttribute("class")||"")}function classedAdd(_,C){for(var L=classList(_),Z=-1,ea=C.length;++Z<ea;)L.add(C[Z])}function classedRemove(_,C){for(var L=classList(_),Z=-1,ea=C.length;++Z<ea;)L.remove(C[Z])}function textRemove(){this.textContent=""}function htmlRemove(){this.innerHTML=""}function raise(){this.nextSibling&&this.parentNode.appendChild(this)}function lower(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function creator(_){var C=namespace(_);return(C.local?function(_){return function(){return this.ownerDocument.createElementNS(_.space,_.local)}}:function(_){return function(){var C=this.ownerDocument,L=this.namespaceURI;return L===eo&&C.documentElement.namespaceURI===eo?C.createElement(_):C.createElementNS(L,_)}})(C)}
3086function constantNull(){return null}function remove(){var _=this.parentNode;_&&_.removeChild(this)}function selection_cloneShallow(){var _=this.cloneNode(!1),C=this.parentNode;return C?C.insertBefore(_,this.nextSibling):_}function selection_cloneDeep(){var _=this.cloneNode(!0),C=this.parentNode;return C?C.insertBefore(_,this.nextSibling):_}function onRemove(_){return function(){var C=this.__on;if(C){for(var L,Z=0,ea=-1,es=C.length;Z<es;++Z)(L=C[Z],_.type&&L.type!==_.type||L.name!==_.name)?C[++ea]=L:this.removeEventListener(L.type,L.listener,L.options);++ea?C.length=ea:delete this.__on}}}function onAdd(_,C,L){return function(){var Z,ea=this.__on,listener=function(_){C.call(this,_,this.__data__)};if(ea){for(var es=0,eo=ea.length;es<eo;++es)if((Z=ea[es]).type===_.type&&Z.name===_.name){this.removeEventListener(Z.type,Z.listener,Z.options),this.addEventListener(Z.type,Z.listener=listener,Z.options=L),Z.value=C;return}}this.addEventListener(_.type,listener,L),Z={type:_.type,name:_.name,value:C,listener:listener,options:L},ea?ea.push(Z):this.__on=[Z]}}function dispatchEvent(_,C,L){var Z=src_window(_),ea=Z.CustomEvent;"function"==typeof ea?ea=new ea(C,L):(ea=Z.document.createEvent("Event"),L?(ea.initEvent(C,L.bubbles,L.cancelable),ea.detail=L.detail):ea.initEvent(C,!1,!1)),_.dispatchEvent(ea)}ClassList.prototype={add:function(_){0>this._names.indexOf(_)&&(this._names.push(_),this._node.setAttribute("class",this._names.join(" ")))},remove:function(_){var C=this._names.indexOf(_);C>=0&&(this._names.splice(C,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(_){return this._names.indexOf(_)>=0}};var eu=[null];function Selection(_,C){this._groups=_,this._parents=C}function selection(){return new Selection([[document.documentElement]],eu)}function src_select(_){return"string"==typeof _?new Selection([[document.querySelector(_)]],[document.documentElement]):new Selection([[_]],eu)}Selection.prototype=selection.prototype={constructor:Selection,select:function(_){"function"!=typeof _&&(_=selector(_));for(var C=this._groups,L=C.length,Z=Array(L),ea=0;ea<L;++ea)for(var es,eo,el=C[ea],eu=el.length,ec=Z[ea]=Array(eu),ed=0;ed<eu;++ed)(es=el[ed])&&(eo=_.call(es,es.__data__,ed,el))&&("__data__"in es&&(eo.__data__=es.__data__),ec[ed]=eo);return new Selection(Z,this._parents)},selectAll:function(_){if("function"==typeof _){var C;C=_,_=function(){var _;return _=C.apply(this,arguments),null==_?[]:Array.isArray(_)?_:Array.from(_)}}else _=selectorAll(_);for(var L=this._groups,Z=L.length,ea=[],es=[],eo=0;eo<Z;++eo)for(var el,eu=L[eo],ec=eu.length,ed=0;ed<ec;++ed)(el=eu[ed])&&(ea.push(_.call(el,el.__data__,ed,eu)),es.push(el));return new Selection(ea,es)},selectChild:function(_){var C;return this.select(null==_?childFirst:(C="function"==typeof _?_:childMatcher(_),function(){return ea.call(this.children,C)}))},selectChildren:function(_){var C;return this.selectAll(null==_?children:(C="function"==typeof _?_:childMatcher(_),function(){return es.call(this.children,C)}))},filter:function(_){"function"!=typeof _&&(_=matcher(_));for(var C=this._groups,L=C.length,Z=Array(L),ea=0;ea<L;++ea)for(var es,eo=C[ea],el=eo.length,eu=Z[ea]=[],ec=0;ec<el;++ec)(es=eo[ec])&&_.call(es,es.__data__,ec,eo)&&eu.push(es);return new Selection(Z,this._parents)},data:function(_,C){if(!arguments.length)return Array.from(this,datum);var L=C?bindKey:bindIndex,Z=this._parents,ea=this._groups;"function"!=typeof _&&(ev=_,_=function(){return ev});for(var es=ea.length,eo=Array(es),el=Array(es),eu=Array(es),ec=0;ec<es;++ec){var ed=Z[ec],eh=ea[ec],ep=eh.length,ef="object"==typeof(eg=_.call(ed,ed&&ed.__data__,ec,Z))&&"length"in eg?eg:Array.from(eg),em=ef.length,eb=el[ec]=Array(em),ey=eo[ec]=Array(em);L(ed,eh,eb,ey,eu[ec]=Array(ep),ef,C);for(var eg,ev,ex,e_,ew=0,eC=0;ew<em;++ew)if(ex=eb[ew]){for(ew>=eC&&(eC=ew+1);!(e_=ey[eC])&&++eC<em;);ex._next=e_||null}}return(eo=new Selection(eo,Z))._enter=el,eo._exit=eu,eo},enter:function(){return new Selection(this._enter||this._groups.map(sparse),this._parents)},exit:function(){return new Selection(this._exit||this._groups.map(sparse),this._parents)},join:function(_,C,L){var Z=this.enter(),ea=this,es=this.exit();return"function"==typeof _?(Z=_(Z))&&(Z=Z.selection()):Z=Z.append(_+""),null!=C&&(ea=C(ea))&&(ea=ea.selection()),null==L?es.remove():L(es),Z&&ea?Z.merge(ea).order():ea},merge:function(_){for(var C=_.selection?_.selection():_,L=this._groups,Z=C._groups,ea=L.length,es=Z.length,eo=Math.min(ea,es),el=Array(ea),eu=0;eu<eo;++eu)for(var ec,ed=L[eu],eh=Z[eu],ep=ed.length,ef=el[eu]=Array(ep),em=0;em<ep;++em)(ec=ed[em]||eh[em])&&(ef[em]=ec);for(;eu<ea;++eu)el[eu]=L[eu];return new Selection(el,this._parents)},selection:function(){return this},order:function(){for(var _=this._groups,C=-1,L=_.length;++C<L;)for(var Z,ea=_[C],es=ea.length-1,eo=ea[es];--es>=0;)(Z=ea[es])&&(eo&&4^Z.compareDocumentPosition(eo)&&eo.parentNode.insertBefore(Z,eo),eo=Z);return this},sort:function(_){function compareNode(C,L){return C&&L?_(C.__data__,L.__data__):!C-!L}_||(_=ascending);for(var C=this._groups,L=C.length,Z=Array(L),ea=0;ea<L;++ea){for(var es,eo=C[ea],el=eo.length,eu=Z[ea]=Array(el),ec=0;ec<el;++ec)(es=eo[ec])&&(eu[ec]=es);eu.sort(compareNode)}return new Selection(Z,this._parents).order()},call:function(){var _=arguments[0];return arguments[0]=this,_.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var _=this._groups,C=0,L=_.length;C<L;++C)for(var Z=_[C],ea=0,es=Z.length;ea<es;++ea){var eo=Z[ea];if(eo)return eo}return null},size:function(){let _=0;for(let C of this)++_;return _},empty:function(){return!this.node()},each:function(_){for(var C=this._groups,L=0,Z=C.length;L<Z;++L)for(var ea,es=C[L],eo=0,el=es.length;eo<el;++eo)(ea=es[eo])&&_.call(ea,ea.__data__,eo,es);return this},attr:function(_,C){var L=namespace(_);if(arguments.length<2){var Z=this.node();return L.local?Z.getAttributeNS(L.space,L.local):Z.getAttribute(L)}return this.each((null==C?L.local?function(_){return function(){this.removeAttributeNS(_.space,_.local)}}:function(_){return function(){this.removeAttribute(_)}}:"function"==typeof C?L.local?function(_,C){return function(){var L=C.apply(this,arguments);null==L?this.removeAttributeNS(_.space,_.local):this.setAttributeNS(_.space,_.local,L)}}:function(_,C){return function(){var L=C.apply(this,arguments);null==L?this.removeAttribute(_):this.setAttribute(_,L)}}:L.local?function(_,C){return function(){this.setAttributeNS(_.space,_.local,C)}}:function(_,C){return function(){this.setAttribute(_,C)}})(L,C))},style:function(_,C,L){return arguments.length>1?this.each((null==C?function(_){return function(){this.style.removeProperty(_)}}:"function"==typeof C?function(_,C,L){return function(){var Z=C.apply(this,arguments);null==Z?this.style.removeProperty(_):this.style.setProperty(_,Z,L)}}:function(_,C,L){return function(){this.style.setProperty(_,C,L)}})(_,C,null==L?"":L)):styleValue(this.node(),_)},property:function(_,C){return arguments.length>1?this.each((null==C?function(_){return function(){delete this[_]}}:"function"==typeof C?function(_,C){return function(){var L=C.apply(this,arguments);null==L?delete this[_]:this[_]=L}}:function(_,C){return function(){this[_]=C}})(_,C)):this.node()[_]},classed:function(_,C){var L=classArray(_+"");if(arguments.length<2){for(var Z=classList(this.node()),ea=-1,es=L.length;++ea<es;)if(!Z.contains(L[ea]))return!1;return!0}return this.each(("function"==typeof C?function(_,C){return function(){(C.apply(this,arguments)?classedAdd:classedRemove)(this,_)}}:C?function(_){return function(){classedAdd(this,_)}}:function(_){return function(){classedRemove(this,_)}})(L,C))},text:function(_){return arguments.length?this.each(null==_?textRemove:("function"==typeof _?function(_){return function(){var C=_.apply(this,arguments);this.textContent=null==C?"":C}}:function(_){return function(){this.textContent=_}})(_)):this.node().textContent},html:function(_){return arguments.length?this.each(null==_?htmlRemove:("function"==typeof _?function(_){return function(){var C=_.apply(this,arguments);this.innerHTML=null==C?"":C}}:function(_){return function(){this.innerHTML=_}})(_)):this.node().innerHTML},raise:function(){return this.each(raise)},lower:function(){return this.each(lower)}
3086,append:function(_){var C="function"==typeof _?_:creator(_);return this.select(function(){return this.appendChild(C.apply(this,arguments))})},insert:function(_,C){var L="function"==typeof _?_:creator(_),Z=null==C?constantNull:"function"==typeof C?C:selector(C);return this.select(function(){return this.insertBefore(L.apply(this,arguments),Z.apply(this,arguments)||null)})},remove:function(){return this.each(remove)},clone:function(_){return this.select(_?selection_cloneDeep:selection_cloneShallow)},datum:function(_){return arguments.length?this.property("__data__",_):this.node().__data__},on:function(_,C,L){var Z,ea,es=(_+"").trim().split(/^|\s+/).map(function(_){var C="",L=_.indexOf(".");return L>=0&&(C=_.slice(L+1),_=_.slice(0,L)),{type:_,name:C}}),eo=es.length;if(arguments.length<2){var el=this.node().__on;if(el){for(var eu,ec=0,ed=el.length;ec<ed;++ec)for(Z=0,eu=el[ec];Z<eo;++Z)if((ea=es[Z]).type===eu.type&&ea.name===eu.name)return eu.value}return}for(Z=0,el=C?onAdd:onRemove;Z<eo;++Z)this.each(el(es[Z],C,L));return this},dispatch:function(_,C){return this.each(("function"==typeof C?function(_,C){return function(){return dispatchEvent(this,_,C.apply(this,arguments))}}:function(_,C){return function(){return dispatchEvent(this,_,C)}})(_,C))},[Symbol.iterator]:function*(){for(var _=this._groups,C=0,L=_.length;C<L;++C)for(var Z,ea=_[C],es=0,eo=ea.length;es<eo;++es)(Z=ea[es])&&(yield Z)}};let ec={capture:!0,passive:!1};function noevent(_){_.preventDefault(),_.stopImmediatePropagation()}function nodrag(_){var C=_.document.documentElement,L=src_select(_).on("dragstart.drag",noevent,ec);"onselectstart"in C?L.on("selectstart.drag",noevent,ec):(C.__noselect=C.style.MozUserSelect,C.style.MozUserSelect="none")}function yesdrag(_,C){var L=_.document.documentElement,Z=src_select(_).on("dragstart.drag",null);C&&(Z.on("click.drag",noevent,ec),setTimeout(function(){Z.on("click.drag",null)},0)),"onselectstart"in L?Z.on("selectstart.drag",null):(L.style.MozUserSelect=L.__noselect,delete L.__noselect)}function src_define(_,C,L){_.prototype=C.prototype=L,L.constructor=_}function extend(_,C){var L=Object.create(_.prototype);for(var Z in C)L[Z]=C[Z];return L}function Color(){}var ed="\\s*([+-]?\\d+)\\s*",eh="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",ep="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",ef=/^#([0-9a-f]{3,8})$/,em=RegExp(`^rgb\\(${ed},${ed},${ed}\\)$`),eb=RegExp(`^rgb\\(${ep},${ep},${ep}\\)$`),ey=RegExp(`^rgba\\(${ed},${ed},${ed},${eh}\\)$`),eg=RegExp(`^rgba\\(${ep},${ep},${ep},${eh}\\)$`),ev=RegExp(`^hsl\\(${eh},${ep},${ep}\\)$`),ex=RegExp(`^hsla\\(${eh},${ep},${ep},${eh}\\)$`),e_={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function color_formatHex(){return this.rgb().formatHex()}function color_formatRgb(){return this.rgb().formatRgb()}function color(_){var C,L;return _=(_+"").trim().toLowerCase(),(C=ef.exec(_))?(L=C[1].length,C=parseInt(C[1],16),6===L?rgbn(C):3===L?new Rgb(C>>8&15|C>>4&240,C>>
30864&15|240&C,(15&C)<<4|15&C,1):8===L?rgba(C>>24&255,C>>16&255,C>>8&255,(255&C)/255):4===L?rgba(C>>12&15|C>>8&240,C>>8&15|C>>4&240,C>>4&15|240&C,((15&C)<<4|15&C)/255):null):(C=em.exec(_))?new Rgb(C[1],C[2],C[3],1):(C=eb.exec(_))?new Rgb(255*C[1]/100,255*C[2]/100,255*C[3]/100,1):(C=ey.exec(_))?rgba(C[1],C[2],C[3],C[4]):(C=eg.exec(_))?rgba(255*C[1]/100,255*C[2]/100,255*C[3]/100,C[4]):(C=ev.exec(_))?hsla(C[1],C[2]/100,C[3]/100,1):(C=ex.exec(_))?hsla(C[1],C[2]/100,C[3]/100,C[4]):e_.hasOwnProperty(_)?rgbn(e_[_]):"transparent"===_?new Rgb(NaN,NaN,NaN,0):null}function rgbn(_){return new Rgb(_>>16&255,_>>8&255,255&_,1)}function rgba(_,C,L,Z){return Z<=0&&(_=C=L=NaN),new Rgb(_,C,L,Z)}function color_rgb(_,C,L,Z){var ea;return 1==arguments.length?((ea=_)instanceof Color||(ea=color(ea)),ea)?(ea=ea.rgb(),new Rgb(ea.r,ea.g,ea.b,ea.opacity)):new Rgb:new Rgb(_,C,L,null==Z?1:Z)}function Rgb(_,C,L,Z){this.r=+_,this.g=+C,this.b=+L,this.opacity=+Z}function rgb_formatHex(){return`#${hex(this.r)}${hex(this.g)}${hex(this.b)}`}function rgb_formatRgb(){let _=clampa(this.opacity);return`${1===_?"rgb(":"rgba("}${clampi(this.r)}, ${clampi(this.g)}, ${clampi(this.b)}${1===_?")":`, ${_})`}`}function clampa(_){return isNaN(_)?1:Math.max(0,Math.min(1,_))}function clampi(_){return Math.max(0,Math.min(255,Math.round(_)||0))}function hex(_){return((_=clampi(_))<16?"0":"")+_.toString(16)}function hsla(_,C,L,Z){return Z<=0?_=C=L=NaN:L<=0||L>=1?_=C=NaN:C<=0&&(_=NaN),new Hsl(_,C,L,Z)}function hslConvert(_){if(_ instanceof Hsl)return new Hsl(_.h,_.s,_.l,_.opacity);if(_ instanceof Color||(_=color(_)),!_)return new Hsl;if(_ instanceof Hsl)return _;var C=(_=_.rgb()).r/255,L=_.g/255,Z=_.b/255,ea=Math.min(C,L,Z),es=Math.max(C,L,Z),eo=NaN,el=es-ea,eu=(es+ea)/2;return el?(eo=C===es?(L-Z)/el+(L<Z)*6:L===es?(Z-C)/el+2:(C-L)/el+4,el/=eu<.5?es+ea:2-es-ea,eo*=60):el=eu>0&&eu<1?0:eo,new Hsl(eo,el,eu,_.opacity)}function Hsl(_,C,L,Z){this.h=+_,this.s=+C,this.l=+L,this.opacity=+Z}function clamph(_){return(_=(_||0)%360)<0?_+360:_}function clampt(_){return Math.max(0,Math.min(1,_||0))}function hsl2rgb(_,C,L){return(_<60?C+(L-C)*_/60:_<180?L:_<240?C+(L-C)*(240-_)/60:C)*255}function basis(_,C,L,Z,ea){var es=_*_,eo=es*_;return((1-3*_+3*es-eo)*C+(4-6*es+3*eo)*L+(1+3*_+3*es-3*eo)*Z+eo*ea)/6}src_define(Color,color,{copy(_){return Object.assign(new this.constructor,this,_)},displayable(){return this.rgb().displayable()},hex:color_formatHex,formatHex:color_formatHex,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return hslConvert(this).formatHsl()},formatRgb:color_formatRgb,toString:color_formatRgb}),src_define(Rgb,color_rgb,extend(Color,{brighter(_){return _=null==_?1.4285714285714286:Math.pow(1.4285714285714286,_),new Rgb(this.r*_,this.g*_,this.b*_,this.opacity)},darker(_){return _=null==_?.7:Math.pow(.7,_),new Rgb(this.r*_,this.g*_,this.b*_,this.opacity)},rgb(){return this},clamp(){return new Rgb(clampi(this.r),clampi(this.g),clampi(this.b),clampa(this.opacity))},displayable(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:rgb_formatHex,formatHex:rgb_formatHex,formatHex8:function(){return`#${hex(this.r)}${hex(this.g)}${hex(this.b)}${hex((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:rgb_formatRgb,toString:rgb_formatRgb})),src_define(Hsl,function(_,C,L,Z){return 1==arguments.length?hslConvert(_):new Hsl(_,C,L,null==Z?1:Z)},extend(Color,{brighter(_){return _=null==_?1.4285714285714286:Math.pow(1.4285714285714286,_),new Hsl(this.h,this.s,this.l*_,this.opacity)},darker(_){return _=null==_?.7:Math.pow(.7,_),new Hsl(this.h,this.s,this.l*_,this.opacity)},rgb(){var _=this.h%360+(this.h<0)*360,C=isNaN(_)||isNaN(this.s)?0:this.s,L=this.l,Z=L+(L<.5?L:1-L)*C,ea=2*L-Z;return new Rgb(hsl2rgb(_>=240?_-240:_+120,ea,Z),hsl2rgb(_,ea,Z),hsl2rgb(_<120?_+240:_-120,ea,Z),this.opacity)},clamp(){return new Hsl(clamph(this.h),clampt(this.s),clampt(this.l),clampa(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let _=clampa(this.opacity);return`${1===_?"hsl(":"hsla("}${clamph(this.h)}, ${100*clampt(this.s)}%, ${100*clampt(this.l)}%${1===_?")":`, ${_})`}`}}));var d3_interpolate_src_constant=_=>()=>_;function nogamma(_,C){var L=C-_;return L?function(C){return _+C*L}:d3_interpolate_src_constant(isNaN(_)?C:_)}
3086var ew=function rgbGamma(_){var C,L=1==(C=+(C=_))?nogamma:function(_,L){var Z,ea,es;return L-_?(Z=_,ea=L,Z=Math.pow(Z,es=C),ea=Math.pow(ea,es)-Z,es=1/es,function(_){return Math.pow(Z+_*ea,es)}):d3_interpolate_src_constant(isNaN(_)?L:_)};function rgb(_,C){var Z=L((_=color_rgb(_)).r,(C=color_rgb(C)).r),ea=L(_.g,C.g),es=L(_.b,C.b),eo=nogamma(_.opacity,C.opacity);return function(C){return _.r=Z(C),_.g=ea(C),_.b=es(C),_.opacity=eo(C),_+""}}return rgb.gamma=rgbGamma,rgb}(1);function rgbSpline(_){return function(C){var L,Z,ea=C.length,es=Array(ea),eo=Array(ea),el=Array(ea);for(L=0;L<ea;++L)Z=color_rgb(C[L]),es[L]=Z.r||0,eo[L]=Z.g||0,el[L]=Z.b||0;return es=_(es),eo=_(eo),el=_(el),Z.opacity=1,function(_){return Z.r=es(_),Z.g=eo(_),Z.b=el(_),Z+""}}}function src_number(_,C){return _=+_,C=+C,function(L){return _*(1-L)+C*L}}rgbSpline(function(_){var C=_.length-1;return function(L){var Z=L<=0?L=0:L>=1?(L=1,C-1):Math.floor(L*C),ea=_[Z],es=_[Z+1],eo=Z>0?_[Z-1]:2*ea-es,el=Z<C-1?_[Z+2]:2*es-ea;return basis((L-Z/C)*C,eo,ea,es,el)}}),rgbSpline(function(_){var C=_.length;return function(L){var Z=Math.floor(((L%=1)<0?++L:L)*C),ea=_[(Z+C-1)%C],es=_[Z%C],eo=_[(Z+1)%C],el=_[(Z+2)%C];return basis((L-Z/C)*C,ea,es,eo,el)}});var eC=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,eT=RegExp(eC.source,"g");function string(_,C){var L,Z,ea,es,eo,el=eC.lastIndex=eT.lastIndex=0,eu=-1,ec=[],ed=[];for(_+="",C+="";(ea=eC.exec(_))&&(es=eT.exec(C));)(eo=es.index)>el&&(eo=C.slice(el,eo),ec[eu]?ec[eu]+=eo:ec[++eu]=eo),(ea=ea[0])===(es=es[0])?ec[eu]?ec[eu]+=es:ec[++eu]=es:(ec[++eu]=null,ed.push({i:eu,x:src_number(ea,es)})),el=eT.lastIndex;return el<C.length&&(eo=C.slice(el),ec[eu]?ec[eu]+=eo:ec[++eu]=eo),ec.length<2?ed[0]?(L=ed[0].x,function(_){return L(_)+""}):(Z=C,function(){return Z}):(C=ed.length,function(_){for(var L,Z=0;Z<C;++Z)ec[(L=ed[Z]).i]=L.x(_);return ec.join("")})}function value(_,C){var L,Z,ea=typeof C;return null==C||"boolean"===ea?d3_interpolate_src_constant(C):("number"===ea?src_number:"string"===ea?(Z=color(C))?(C=Z,ew):string:C instanceof color?ew:C instanceof Date?function(_,C){var L=new Date;return _=+_,C=+C,function(Z){return L.setTime(_*(1-Z)+C*Z),L}}:(L=C,!ArrayBuffer.isView(L)||L instanceof DataView)?Array.isArray(C)?function(_,C){var L,Z=C?C.length:0,ea=_?Math.min(Z,_.length):0,es=Array(ea),eo=Array(Z);for(L=0;L<ea;++L)es[L]=value(_[L],C[L]);for(;L<Z;++L)eo[L]=C[L];return function(_){for(L=0;L<ea;++L)eo[L]=es[L](_);return eo}}:"function"!=typeof C.valueOf&&"function"!=typeof C.toString||isNaN(C)?function(_,C){var L,Z={},ea={};for(L in(null===_||"object"!=typeof _)&&(_={}),(null===C||"object"!=typeof C)&&(C={}),C)L in _?Z[L]=value(_[L],C[L]):ea[L]=C[L];return function(_){for(L in Z)ea[L]=Z[L](_);return ea}}:src_number:function(_,C){C||(C=[]);var L,Z=_?Math.min(C.length,_.length):0,ea=C.slice();return function(es){for(L=0;L<Z;++L)ea[L]=_[L]*(1-es)+C[L]*es;return ea}})(_,C)}function pointer(_,C){if(_=function(_){let C;for(;C=_.sourceEvent;)_=C;return _}(_),void 0===C&&(C=_.currentTarget),C){var L=C.ownerSVGElement||C;if(L.createSVGPoint){var Z=L.createSVGPoint();return Z.x=_.clientX,Z.y=_.clientY,[(Z=Z.matrixTransform(C.getScreenCTM().inverse())).x,Z.y]}if(C.getBoundingClientRect){var ea=C.getBoundingClientRect();return[_.clientX-ea.left-C.clientLeft,_.clientY-ea.top-C.clientTop]}}return[_.pageX,_.pageY]}var eq,ek,eS,eE,eM,ej,eA,eD=0,eI=0,eO=0,eP=0,eN=0,eL=0,eR="object"==typeof performance&&performance.now?performance:Date,eB="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(_){setTimeout(_,17)};function now(){return eN||(eB(clearNow),eN=eR.now()+eL)}function clearNow(){eN=0}function Timer(){this._call=this._time=this._next=null}function timer(_,C,L){var Z=new Timer;return Z.restart(_,C,L),Z}function wake(){eN=(eP=eR.now())+eL,eD=eI=0;try{!function(){now(),++eD;for(var _,C=ej;C;)(_=eN-C._time)>=0&&C._call.call(void 0,_),C=C._next;--eD}()}finally{eD=0,function(){for(var _,C,L=ej,Z=1/0;L;)L._call?(Z>L._time&&(Z=L._time),_=L,L=L._next):(C=L._next,L._next=null,L=_?_._next=C:ej=C);eA=_,sleep(Z)}(),eN=0}
3086}function poke(){var _=eR.now(),C=_-eP;C>1e3&&(eL-=C,eP=_)}function sleep(_){!eD&&(eI&&(eI=clearTimeout(eI)),_-eN>24?(_<1/0&&(eI=setTimeout(wake,_-eR.now()-eL)),eO&&(eO=clearInterval(eO))):(eO||(eP=eR.now(),eO=setInterval(poke,1e3)),eD=1,eB(wake)))}function src_timeout(_,C,L){var Z=new Timer;return C=null==C?0:+C,Z.restart(L=>{Z.stop(),_(L+C)},C,L),Z}Timer.prototype=timer.prototype={constructor:Timer,restart:function(_,C,L){if("function"!=typeof _)throw TypeError("callback is not a function");L=(null==L?now():+L)+(null==C?0:+C),this._next||eA===this||(eA?eA._next=this:ej=this,eA=this),this._call=_,this._time=L,sleep()},stop:function(){this._call&&(this._call=null,this._time=1/0,sleep())}};var eF=dispatch("start","end","cancel","interrupt"),eZ=[];function schedule(_,C,L,Z,ea,es){var eo=_.__transition;if(eo){if(L in eo)return}else _.__transition={};!function(_,C,L){var Z,ea=_.__transition;function start(es){var eo,el,eu,ec;if(1!==L.state)return stop();for(eo in ea)if((ec=ea[eo]).name===L.name){if(3===ec.state)return src_timeout(start);4===ec.state?(ec.state=6,ec.timer.stop(),ec.on.call("interrupt",_,_.__data__,ec.index,ec.group),delete ea[eo]):+eo<C&&(ec.state=6,ec.timer.stop(),ec.on.call("cancel",_,_.__data__,ec.index,ec.group),delete ea[eo])}if(src_timeout(function(){3===L.state&&(L.state=4,L.timer.restart(tick,L.delay,L.time),tick(es))}),L.state=2,L.on.call("start",_,_.__data__,L.index,L.group),2===L.state){for(eo=0,L.state=3,Z=Array(eu=L.tween.length),el=-1;eo<eu;++eo)(ec=L.tween[eo].value.call(_,_.__data__,L.index,L.group))&&(Z[++el]=ec);Z.length=el+1}}function tick(C){for(var ea=C<L.duration?L.ease.call(null,C/L.duration):(L.timer.restart(stop),L.state=5,1),es=-1,eo=Z.length;++es<eo;)Z[es].call(_,ea);5===L.state&&(L.on.call("end",_,_.__data__,L.index,L.group),stop())}function stop(){for(var Z in L.state=6,L.timer.stop(),delete ea[C],ea)return;delete _.__transition}ea[C]=L,L.timer=timer(function(_){L.state=1,L.timer.restart(start,L.delay,L.time),L.delay<=_&&start(_-L.delay)},0,L.time)}(_,L,{name:C,index:Z,group:ea,on:eF,tween:eZ,time:es.time,delay:es.delay,duration:es.duration,ease:es.ease,timer:null,state:0})}function init(_,C){var L=schedule_get(_,C);if(L.state>0)throw Error("too late; already scheduled");return L}function schedule_set(_,C){var L=schedule_get(_,C);if(L.state>3)throw Error("too late; already running");return L}function schedule_get(_,C){var L=_.__transition;if(!L||!(L=L[C]))throw Error("transition not found");return L}function interrupt(_,C){var L,Z,ea,es=_.__transition,eo=!0;if(es){for(ea in C=null==C?null:C+"",es){if((L=es[ea]).name!==C){eo=!1;continue}Z=L.state>2&&L.state<5,L.state=6,L.timer.stop(),L.on.call(Z?"interrupt":"cancel",_,_.__data__,L.index,L.group),delete es[ea]}eo&&delete _.__transition}}var ez=180/Math.PI,eU={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function decompose(_,C,L,Z,ea,es){var eo,el,eu;return(eo=Math.sqrt(_*_+C*C))&&(_/=eo,C/=eo),(eu=_*L+C*Z)&&(L-=_*eu,Z-=C*eu),(el=Math.sqrt(L*L+Z*Z))&&(L/=el,Z/=el,eu/=el),_*Z<C*L&&(_=-_,C=-C,eu=-eu,eo=-eo),{translateX:ea,translateY:es,rotate:Math.atan2(C,_)*ez,skewX:Math.atan(eu)*ez,scaleX:eo,scaleY:el}}function interpolateTransform(_,C,L,Z){function pop(_){return _.length?_.pop()+" ":""}return function(ea,es){var eo,el,eu,ec,ed=[],eh=[];return ea=_(ea),es=_(es),!function(_,Z,ea,es,eo,el){if(_!==ea||Z!==es){var eu=eo.push("translate(",null,C,null,L);el.push({i:eu-4,x:src_number(_,ea)},{i:eu-2,x:src_number(Z,es)})}else(ea||es)&&eo.push("translate("+ea+C+es+L)}(ea.translateX,ea.translateY,es.translateX,es.translateY,ed,eh),(eo=ea.rotate)!==(el=es.rotate)?(eo-el>180?el+=360:el-eo>180&&(eo+=360),eh.push({i:ed.push(pop(ed)+"rotate(",null,Z)-2,x:src_number(eo,el)})):el&&ed.push(pop(ed)+"rotate("+el+Z),(eu=ea.skewX)!==(ec=es.skewX)?eh.push({i:ed.push(pop(ed)+"skewX(",null,Z)-2,x:src_number(eu,ec)}):ec&&ed.push(pop(ed)+"skewX("+ec+Z),!function(_,C,L,Z,ea,es){if(_!==L||C!==Z){var eo=ea.push(pop(ea)+"scale(",null,",",null,")");es.push({i:eo-4,x:src_number(_,L)},{i:eo-2,x:src_number(C,Z)})}else(1!==L||1!==Z)&&ea.push(pop(ea)+"scale("+L+","+Z+")")}(ea.scaleX,ea.scaleY,es.scaleX,es.scaleY,ed,eh),ea=es=null,function(_){for(var C,L=-1,Z=eh.length;++L<Z;)ed[(C=eh[L]).i]=C.x(_);return ed.join("")}}}var e$=interpolateTransform(function(_){let C=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(_+"");return C.isIdentity?eU:decompose(C.a,C.b,C.c,C.d,C.e,C.f)},"px, ","px)","deg)"),eV=interpolateTransform(function(_){return null==_?eU:(eq||(eq=document.createElementNS("http://www.w3.org/2000/svg","g")),eq.setAttribute("transform",_),_=eq.transform.baseVal.consolidate())?decompose((_=_.matrix).a,_.b,_.c,_.d,_.e,_.f):eU},", ",")",")");function tweenValue(_,C,L){var Z=_._id;return _.each(function(){var _=schedule_set(this,Z);(_.value||(_.value={}))[C]=L.apply(this,arguments)}),function(_){return schedule_get(_,Z).value[C]}}function interpolate(_,C){var L;return("number"==typeof C?src_number:C instanceof color?ew:(L=color(C))?(C=L,ew):string)(_,C)}var eW=selection.prototype.constructor;function style_styleRemove(_){return function(){this.style.removeProperty(_)}}var eH=0;function Transition(_,C,L,Z){this._groups=_,this._parents=C,this._name=L,this._id=Z}var eG=selection.prototype;Transition.prototype=(function(_){return selection().transition(_)}
3086).prototype={constructor:Transition,select:function(_){var C=this._name,L=this._id;"function"!=typeof _&&(_=selector(_));for(var Z=this._groups,ea=Z.length,es=Array(ea),eo=0;eo<ea;++eo)for(var el,eu,ec=Z[eo],ed=ec.length,eh=es[eo]=Array(ed),ep=0;ep<ed;++ep)(el=ec[ep])&&(eu=_.call(el,el.__data__,ep,ec))&&("__data__"in el&&(eu.__data__=el.__data__),eh[ep]=eu,schedule(eh[ep],C,L,ep,eh,schedule_get(el,L)));return new Transition(es,this._parents,C,L)},selectAll:function(_){var C=this._name,L=this._id;"function"!=typeof _&&(_=selectorAll(_));for(var Z=this._groups,ea=Z.length,es=[],eo=[],el=0;el<ea;++el)for(var eu,ec=Z[el],ed=ec.length,eh=0;eh<ed;++eh)if(eu=ec[eh]){for(var ep,ef=_.call(eu,eu.__data__,eh,ec),em=schedule_get(eu,L),eb=0,ey=ef.length;eb<ey;++eb)(ep=ef[eb])&&schedule(ep,C,L,eb,ef,em);es.push(ef),eo.push(eu)}return new Transition(es,eo,C,L)},selectChild:eG.selectChild,selectChildren:eG.selectChildren,filter:function(_){"function"!=typeof _&&(_=matcher(_));for(var C=this._groups,L=C.length,Z=Array(L),ea=0;ea<L;++ea)for(var es,eo=C[ea],el=eo.length,eu=Z[ea]=[],ec=0;ec<el;++ec)(es=eo[ec])&&_.call(es,es.__data__,ec,eo)&&eu.push(es);return new Transition(Z,this._parents,this._name,this._id)},merge:function(_){if(_._id!==this._id)throw Error();for(var C=this._groups,L=_._groups,Z=C.length,ea=L.length,es=Math.min(Z,ea),eo=Array(Z),el=0;el<es;++el)for(var eu,ec=C[el],ed=L[el],eh=ec.length,ep=eo[el]=Array(eh),ef=0;ef<eh;++ef)(eu=ec[ef]||ed[ef])&&(ep[ef]=eu);for(;el<Z;++el)eo[el]=C[el];return new Transition(eo,this._parents,this._name,this._id)},selection:function(){return new eW(this._groups,this._parents)},transition:function(){for(var _=this._name,C=this._id,L=++eH,Z=this._groups,ea=Z.length,es=0;es<ea;++es)for(var eo,el=Z[es],eu=el.length,ec=0;ec<eu;++ec)if(eo=el[ec]){var ed=schedule_get(eo,C);schedule(eo,_,L,ec,el,{time:ed.time+ed.delay+ed.duration,delay:0,duration:ed.duration,ease:ed.ease})}return new Transition(Z,this._parents,_,L)},call:eG.call,nodes:eG.nodes,node:eG.node,size:eG.size,empty:eG.empty,each:eG.each,on:function(_,C){var L,Z,ea,es=this._id;return arguments.length<2?schedule_get(this.node(),es).on.on(_):this.each((ea=(_+"").trim().split(/^|\s+/).every(function(_){var C=_.indexOf(".");return C>=0&&(_=_.slice(0,C)),!_||"start"===_})?init:schedule_set,function(){var eo=ea(this,es),el=eo.on;el!==L&&(Z=(L=el).copy()).on(_,C),eo.on=Z}))},attr:function(_,C){var L=namespace(_),Z="transform"===L?eV:interpolate;return this.attrTween(_,"function"==typeof C?(L.local?function(_,C,L){var Z,ea,es;return function(){var eo,el,eu=L(this);return null==eu?void this.removeAttributeNS(_.space,_.local):(eo=this.getAttributeNS(_.space,_.local))===(el=eu+"")?null:eo===Z&&el===ea?es:(ea=el,es=C(Z=eo,eu))}}:function(_,C,L){var Z,ea,es;return function(){var eo,el,eu=L(this);return null==eu?void this.removeAttribute(_):(eo=this.getAttribute(_))===(el=eu+"")?null:eo===Z&&el===ea?es:(ea=el,es=C(Z=eo,eu))}})(L,Z,tweenValue(this,"attr."+_,C)):null==C?(L.local?function(_){return function(){this.removeAttributeNS(_.space,_.local)}}:function(_){return function(){this.removeAttribute(_)}})(L):(L.local?function(_,C,L){var Z,ea,es=L+"";return function(){var eo=this.getAttributeNS(_.space,_.local);return eo===es?null:eo===Z?ea:ea=C(Z=eo,L)}}:function(_,C,L){var Z,ea,es=L+"";return function(){var eo=this.getAttribute(_);return eo===es?null:eo===Z?ea:ea=C(Z=eo,L)}})(L,Z,C))},attrTween:function(_,C){var L="attr."+_;if(arguments.length<2)return(L=this.tween(L))&&L._value;if(null==C)return this.tween(L,null);if("function"!=typeof C)throw Error();var Z=namespace(_);return this.tween(L,(Z.local?function(_,C){var L,Z;function tween(){var ea=C.apply(this,arguments);return ea!==Z&&(L=(Z=ea)&&function(C){this.setAttributeNS(_.space,_.local,ea.call(this,C))}),L}return tween._value=C,tween}:function(_,C){var L,Z;function tween(){var ea=C.apply(this,arguments);return ea!==Z&&(L=(Z=ea)&&function(C){this.setAttribute(_,ea.call(this,C))}),L}return tween._value=C,tween})(Z,C))},style:function(_,C,L){var Z,ea,es,eo,el,eu,ec,ed,eh,ep,ef,em,eb,ey,eg,ev,ex,e_,ew,eC,eT,eq="transform"==(_+="")?e$:interpolate;return null==C?this.styleTween(_,(Z=_,function(){var _=styleValue(this,Z),C=(this.style.removeProperty(Z),styleValue(this,Z));return _===C?null:_===ea&&C===es?eo:eo=eq(ea=_,es=C)})).on("end.style."+_,style_styleRemove(_)):"function"==typeof C?this.styleTween(_,(el=_,eu=tweenValue(this,"style."+_,C),function(){var _=styleValue(this,el),C=eu(this),L=C+"";return null==C&&(this.style.removeProperty(el),L=C=styleValue(this,el)),_===L?null:_===ec&&L===ed?eh:(ed=L,eh=eq(ec=_,C))})).each((ep=this._id,ex="end."+(ev="style."+(ef=_)),function(){var _=schedule_set(this,ep),C=_.on,L=null==_.value[ev]?eg||(eg=style_styleRemove(ef)):void 0;(C!==em||ey!==L)&&(eb=(em=C).copy()).on(ex,ey=L),_.on=eb})):this.styleTween(_,(e_=_,eT=C+"",function(){var _=styleValue(this,e_);return _===eT?null:_===ew?eC:eC=eq(ew=_,C)}),L).on("end.style."+_,null)},styleTween:function(_,C,L){var Z="style."+(_+="");if(arguments.length<2)return(Z=this.tween(Z))&&Z._value;if(null==C)return this.tween(Z,null);if("function"!=typeof C)throw Error();return this.tween(Z,function(_,C,L){var Z,ea;function tween(){var es=C.apply(this,arguments);
3086return es!==ea&&(Z=(ea=es)&&function(C){this.style.setProperty(_,es.call(this,C),L)}),Z}return tween._value=C,tween}(_,C,null==L?"":L))},text:function(_){var C,L;return this.tween("text","function"==typeof _?(C=tweenValue(this,"text",_),function(){var _=C(this);this.textContent=null==_?"":_}):(L=null==_?"":_+"",function(){this.textContent=L}))},textTween:function(_){var C="text";if(arguments.length<1)return(C=this.tween(C))&&C._value;if(null==_)return this.tween(C,null);if("function"!=typeof _)throw Error();return this.tween(C,function(_){var C,L;function tween(){var Z=_.apply(this,arguments);return Z!==L&&(C=(L=Z)&&function(_){this.textContent=Z.call(this,_)}),C}return tween._value=_,tween}(_))},remove:function(){var _;return this.on("end.remove",(_=this._id,function(){var C=this.parentNode;for(var L in this.__transition)if(+L!==_)return;C&&C.removeChild(this)}))},tween:function(_,C){var L=this._id;if(_+="",arguments.length<2){for(var Z,ea=schedule_get(this.node(),L).tween,es=0,eo=ea.length;es<eo;++es)if((Z=ea[es]).name===_)return Z.value;return null}return this.each((null==C?function(_,C){var L,Z;return function(){var ea=schedule_set(this,_),es=ea.tween;if(es!==L){Z=L=es;for(var eo=0,el=Z.length;eo<el;++eo)if(Z[eo].name===C){(Z=Z.slice()).splice(eo,1);break}}ea.tween=Z}}:function(_,C,L){var Z,ea;if("function"!=typeof L)throw Error();return function(){var es=schedule_set(this,_),eo=es.tween;if(eo!==Z){ea=(Z=eo).slice();for(var el={name:C,value:L},eu=0,ec=ea.length;eu<ec;++eu)if(ea[eu].name===C){ea[eu]=el;break}eu===ec&&ea.push(el)}es.tween=ea}})(L,_,C))},delay:function(_){var C=this._id;return arguments.length?this.each(("function"==typeof _?function(_,C){return function(){init(this,_).delay=+C.apply(this,arguments)}}:function(_,C){return C=+C,function(){init(this,_).delay=C}})(C,_)):schedule_get(this.node(),C).delay},duration:function(_){var C=this._id;return arguments.length?this.each(("function"==typeof _?function(_,C){return function(){schedule_set(this,_).duration=+C.apply(this,arguments)}}:function(_,C){return C=+C,function(){schedule_set(this,_).duration=C}})(C,_)):schedule_get(this.node(),C).duration},ease:function(_){var C=this._id;return arguments.length?this.each(function(_,C){if("function"!=typeof C)throw Error();return function(){schedule_set(this,_).ease=C}}(C,_)):schedule_get(this.node(),C).ease},easeVarying:function(_){var C;if("function"!=typeof _)throw Error();return this.each((C=this._id,function(){var L=_.apply(this,arguments);if("function"!=typeof L)throw Error();schedule_set(this,C).ease=L}))},end:function(){var _,C,L=this,Z=L._id,ea=L.size();return new Promise(function(es,eo){var el={value:eo},eu={value:function(){0==--ea&&es()}};L.each(function(){var L=schedule_set(this,Z),ea=L.on;ea!==_&&((C=(_=ea).copy())._.cancel.push(el),C._.interrupt.push(el),C._.end.push(eu)),L.on=C}),0===ea&&es()})},[Symbol.iterator]:eG[Symbol.iterator]};var eK={time:null,delay:0,duration:250,ease:function(_){return((_*=2)<=1?_*_*_:(_-=2)*_*_+2)/2}};selection.prototype.interrupt=function(_){return this.each(function(){interrupt(this,_)})},selection.prototype.transition=function(_){var C,L;_ instanceof Transition?(C=_._id,_=_._name):(C=++eH,(L=eK).time=now(),_=null==_?null:_+"");for(var Z=this._groups,ea=Z.length,es=0;es<ea;++es)for(var eo,el=Z[es],eu=el.length,ec=0;ec<eu;++ec)(eo=el[ec])&&schedule(eo,_,C,ec,el,L||function(_,C){for(var L;!(L=_.__transition)||!(L=L[C]);)if(!(_=_.parentNode))throw Error(`transition ${C} not found`);return L}(eo,C));return new Transition(Z,this._parents,_,C)};var d3_brush_src_constant=_=>()=>_;function BrushEvent(_,{sourceEvent:C,target:L,selection:Z,mode:ea,dispatch:es}){Object.defineProperties(this,{type:{value:_,enumerable:!0,configurable:!0},sourceEvent:{value:C,enumerable:!0,configurable:!0},target:{value:L,enumerable:!0,configurable:!0},selection:{value:Z,enumerable:!0,configurable:!0},mode:{value:ea,enumerable:!0,configurable:!0},_:{value:es}})}function src_noevent(_){_.preventDefault(),_.stopImmediatePropagation()}var eX={name:"drag"},eY={name:"space"},eQ={name:"handle"},eJ={name:"center"};let{abs:e1,max:e0,min:e2}=Math;function number1(_){return[+_[0],+_[1]]}function number2(_){return[number1(_[0]),number1(_[1])]}var e5={name:"x",handles:["w","e"].map(type),input:function(_,C){return null==_?null:[[+_[0],C[0][1]],[+_[1],C[1][1]]]},output:function(_){return _&&[_[0][0],_[1][0]]}},e6={name:"y",handles:["n","s"].map(type),input:function(_,C){return null==_?null:[[C[0][0],+_[0]],[C[1][0],+_[1]]]},output:function(_){return _&&[_[0][1],_[1][1]]}};["n","w","e","s","nw","ne","sw","se"].map(type);var e3={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},e4={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},e8={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},e9={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},e7={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function type(_){return{type:_}}function defaultFilter(_){return!_.ctrlKey&&!_.button}function defaultExtent(){var _=this.ownerSVGElement||this;return _.hasAttribute("viewBox")?[[(_=_.viewBox.baseVal).x,_.y],[_.x+_.width,_.y+_.height]]:[[0,0],[_.width.baseVal.value,_.height.baseVal.value]]}function defaultTouchable(){return navigator.maxTouchPoints||"ontouchstart"in this}function local(_){for(;!_.__brush;)if(!(_=_.parentNode))return;return _.__brush}
3086function brushX(){return function(_){var C,L=defaultExtent,Z=defaultFilter,ea=defaultTouchable,es=!0,eo=dispatch("start","brush","end"),el=6;function brush(C){var L=C.property("__brush",initialize).selectAll(".overlay").data([type("overlay")]);L.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",e3.overlay).merge(L).each(function(){var _=local(this).extent;src_select(this).attr("x",_[0][0]).attr("y",_[0][1]).attr("width",_[1][0]-_[0][0]).attr("height",_[1][1]-_[0][1])}),C.selectAll(".selection").data([type("selection")]).enter().append("rect").attr("class","selection").attr("cursor",e3.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var Z=C.selectAll(".handle").data(_.handles,function(_){return _.type});Z.exit().remove(),Z.enter().append("rect").attr("class",function(_){return"handle handle--"+_.type}).attr("cursor",function(_){return e3[_.type]}),C.each(redraw).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",started).filter(ea).on("touchstart.brush",started).on("touchmove.brush",touchmoved).on("touchend.brush touchcancel.brush",touchended).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function redraw(){var _=src_select(this),C=local(this).selection;C?(_.selectAll(".selection").style("display",null).attr("x",C[0][0]).attr("y",C[0][1]).attr("width",C[1][0]-C[0][0]).attr("height",C[1][1]-C[0][1]),_.selectAll(".handle").style("display",null).attr("x",function(_){return"e"===_.type[_.type.length-1]?C[1][0]-el/2:C[0][0]-el/2}).attr("y",function(_){return"s"===_.type[0]?C[1][1]-el/2:C[0][1]-el/2}).attr("width",function(_){return"n"===_.type||"s"===_.type?C[1][0]-C[0][0]+el:el}).attr("height",function(_){return"e"===_.type||"w"===_.type?C[1][1]-C[0][1]+el:el})):_.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function emitter(_,C,L){var Z=_.__brush.emitter;return!Z||L&&Z.clean?new Emitter(_,C,L):Z}function Emitter(_,C,L){this.that=_,this.args=C,this.state=_.__brush,this.active=0,this.clean=L}function started(L){if((!C||L.touches)&&Z.apply(this,arguments)){var ea,eo,el,eu,ec,ed,eh,ep,ef,em,eb,ey=this,eg=L.target.__data__.type,ev=(es&&L.metaKey?eg="overlay":eg)==="selection"?eX:es&&L.altKey?eJ:eQ,ex=_===e6?null:e9[eg],e_=_===e5?null:e7[eg],ew=local(ey),eC=ew.extent,eT=ew.selection,eq=eC[0][0],ek=eC[0][1],eS=eC[1][0],eE=eC[1][1],eM=0,ej=0,eA=ex&&e_&&es&&L.shiftKey,eD=Array.from(L.touches||[L],_=>{let C=_.identifier;return(_=pointer(_,ey)).point0=_.slice(),_.identifier=C,_});interrupt(ey);var eI=emitter(ey,arguments,!0).beforestart();if("overlay"===eg){eT&&(ef=!0);let C=[eD[0],eD[1]||eD[0]];ew.selection=eT=[[ea=_===e6?eq:e2(C[0][0],C[1][0]),el=_===e5?ek:e2(C[0][1],C[1][1])],[ec=_===e6?eS:e0(C[0][0],C[1][0]),eh=_===e5?eE:e0(C[0][1],C[1][1])]],eD.length>1&&move(L)}else ea=eT[0][0],el=eT[0][1],ec=eT[1][0],eh=eT[1][1];eo=ea,eu=el,ed=ec,ep=eh;var eO=src_select(ey).attr("pointer-events","none"),eP=eO.selectAll(".overlay").attr("cursor",e3[eg]);if(L.touches)eI.moved=moved,eI.ended=ended;else{var eN=src_select(L.view).on("mousemove.brush",moved,!0).on("mouseup.brush",ended,!0);es&&eN.on("keydown.brush",function(_){switch(_.keyCode){case 16:eA=ex&&e_;break;case 18:ev===eQ&&(ex&&(ec=ed-eM*ex,ea=eo+eM*ex),e_&&(eh=ep-ej*e_,el=eu+ej*e_),ev=eJ,move(_));break;case 32:(ev===eQ||ev===eJ)&&(ex<0?ec=ed-eM:ex>0&&(ea=eo-eM),e_<0?eh=ep-ej:e_>0&&(el=eu-ej),ev=eY,eP.attr("cursor",e3.selection),move(_));break;default:return}src_noevent(_)},!0).on("keyup.brush",function(_){switch(_.keyCode){case 16:eA&&(em=eb=eA=!1,move(_));break;case 18:ev===eJ&&(ex<0?ec=ed:ex>0&&(ea=eo),e_<0?eh=ep:e_>0&&(el=eu),ev=eQ,move(_));break;case 32:ev===eY&&(_.altKey?(ex&&(ec=ed-eM*ex,ea=eo+eM*ex),e_&&(eh=ep-ej*e_,el=eu+ej*e_),ev=eJ):(ex<0?ec=ed:ex>0&&(ea=eo),e_<0?eh=ep:e_>0&&(el=eu),ev=eQ),eP.attr("cursor",e3[eg]),move(_));break;default:return}src_noevent(_)},!0),nodrag(L.view)}redraw.call(ey),eI.start(L,ev.name)}function moved(_){for(let C of _.changedTouches||[_])for(let _ of eD)_.identifier===C.identifier&&(_.cur=pointer(C,ey));if(eA&&!em&&!eb&&1===eD.length){let _=eD[0];e1(_.cur[0]-_[0])>e1(_.cur[1]-_[1])?eb=!0:em=!0}for(let _ of eD)_.cur&&(_[0]=_.cur[0],_[1]=_.cur[1]);ef=!0,src_noevent(_),move(_)}function move(_){var C;let L=eD[0],Z=L.point0;switch(eM=L[0]-Z[0],ej=L[1]-Z[1],ev){case eY:case eX:ex&&(eM=e0(eq-ea,e2(eS-ec,eM)),eo=ea+eM,ed=ec+eM),e_&&(ej=e0(ek-el,e2(eE-eh,ej)),eu=el+ej,ep=eh+ej);break;case eQ:eD[1]?(ex&&(eo=e0(eq,e2(eS,eD[0][0])),ed=e0(eq,e2(eS,eD[1][0])),ex=1),e_&&(eu=e0(ek,e2(eE,eD[0][1])),ep=e0(ek,e2(eE,eD[1][1])),e_=1)):(ex<0?(eM=e0(eq-ea,e2(eS-ea,eM)),eo=ea+eM,ed=ec):ex>0&&(eM=e0(eq-ec,e2(eS-ec,eM)),eo=ea,ed=ec+eM),e_<0?(ej=e0(ek-el,e2(eE-el,ej)),eu=el+ej,ep=eh):e_>0&&(ej=e0(ek-eh,e2(eE-eh,ej)),eu=el,ep=eh+ej));break;case eJ:ex&&(eo=e0(eq,e2(eS,ea-eM*ex)),ed=e0(eq,e2(eS,ec+eM*ex))),e_&&(eu=e0(ek,e2(eE,el-ej*e_)),ep=e0(ek,e2(eE,eh+ej*e_)))}ed<eo&&(ex*=-1,C=ea,ea=ec,ec=C,C=eo,eo=ed,ed=C,eg in e4&&eP.attr("cursor",e3[eg=e4[eg]])),ep<eu&&(e_*=-1,C=el,el=eh,eh=C,C=eu,eu=ep,ep=C,eg in e8&&eP.attr("cursor",e3[eg=e8[eg]])),ew.selection&&(eT=ew.selection),em&&(eo=eT[0][0],ed=eT[1][0]),eb&&(eu=eT[0][1],ep=eT[1][1]),(eT[0][0]!==eo||eT[0][1]!==eu||eT[1][0]!==ed||eT[1][1]!==ep)&&(ew.selection=[[eo,eu],[ed,ep]],redraw.call(ey),eI.brush(_,ev.name))}function ended(_){var L;if(!function(_){_.stopImmediatePropagation()}(_),_.touches){if(_.touches.length)return;C&&clearTimeout(C),C=setTimeout(function(){C=null},500)}else yesdrag(_.view,ef),eN.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);eO.attr("pointer-events","all"),eP.attr("cursor",e3.overlay),ew.selection&&(eT=ew.selection),((L=eT)[0][0]===L[1][0]||L[0][1]===L[1][1])&&(ew.selection=null,redraw.call(ey)),eI.end(_,ev.name)}}function touchmoved(_){emitter(this,arguments).moved(_)}function touchended(_){emitter(this,arguments).ended(_)}function initialize(){var C=this.__brush||{selection:null};return C.extent=number2(L.apply(this,arguments)),C.dim=_,C}return brush.move=function(C,L,Z){C.tween?C.on("start.brush",function(_){emitter(this,arguments).beforestart().start(_)}).on("interrupt.brush end.brush",function(_){emitter(this,arguments).end(_)}).tween("brush",function(){var C=this,Z=C.__brush,ea=emitter(C,arguments),es=Z.selection,eo=_.input("function"==typeof L?L.apply(this,arguments):L,Z.extent),el=value(es,eo);function tween(_){Z.selection=1===_&&null===eo?null:el(_),redraw.call(C),ea.brush()}return null!==es&&null!==eo?tween:tween(1)}):C.each(function(){var C=arguments,ea=this.__brush,es=_.input("function"==typeof L?L.apply(this,C):L,ea.extent),eo=emitter(this,C).beforestart();interrupt(this),ea.selection=null===es?null:es,redraw.call(this),eo.start(Z).brush(Z).end(Z)})},brush.clear=function(_,C){brush.move(_,null,C)},Emitter.prototype={beforestart:function(){return 1==++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(_,C){return this.starting?(this.starting=!1,this.emit
vendor: 4,576 bytes, line 3086
3086("start",_,C)):this.emit("brush",_),this},brush:function(_,C){return this.emit("brush",_,C),this},end:function(_,C){return 0==--this.active&&(delete this.state.emitter,this.emit("end",_,C)),this},emit:function(C,L,Z){var ea=src_select(this.that).datum();eo.call(C,this.that,new BrushEvent(C,{sourceEvent:L,target:brush,selection:_.output(this.state.selection),mode:Z,dispatch:eo}),ea)}},brush.extent=function(_){return arguments.length?(L="function"==typeof _?_:d3_brush_src_constant(number2(_)),brush):L},brush.filter=function(_){return arguments.length?(Z="function"==typeof _?_:d3_brush_src_constant(!!_),brush):Z},brush.touchable=function(_){return arguments.length?(ea="function"==typeof _?_:d3_brush_src_constant(!!_),brush):ea},brush.handleSize=function(_){return arguments.length?(el=+_,brush):el},brush.keyModifiers=function(_){return arguments.length?(es=!!_,brush):es},brush.on=function(){var _=eo.on.apply(eo,arguments);return _===eo?brush:_},brush}(e5)}function formatDecimalParts(_,C){if((L=(_=C?_.toExponential(C-1):_.toExponential()).indexOf("e"))<0)return null;var L,Z=_.slice(0,L);return[Z.length>1?Z[0]+Z.slice(2):Z,+_.slice(L+1)]}function exponent(_){return(_=formatDecimalParts(Math.abs(_)))?_[1]:NaN}var tr=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function formatSpecifier(_){var C;if(!(C=tr.exec(_)))throw Error("invalid format: "+_);return new FormatSpecifier({fill:C[1],align:C[2],sign:C[3],symbol:C[4],zero:C[5],width:C[6],comma:C[7],precision:C[8]&&C[8].slice(1),trim:C[9],type:C[10]})}function FormatSpecifier(_){this.fill=void 0===_.fill?" ":_.fill+"",this.align=void 0===_.align?">":_.align+"",this.sign=void 0===_.sign?"-":_.sign+"",this.symbol=void 0===_.symbol?"":_.symbol+"",this.zero=!!_.zero,this.width=void 0===_.width?void 0:+_.width,this.comma=!!_.comma,this.precision=void 0===_.precision?void 0:+_.precision,this.trim=!!_.trim,this.type=void 0===_.type?"":_.type+""}function formatRounded(_,C){var L=formatDecimalParts(_,C);if(!L)return _+"";var Z=L[0],ea=L[1];return ea<0?"0."+Array(-ea).join("0")+Z:Z.length>ea+1?Z.slice(0,ea+1)+"."+Z.slice(ea+1):Z+Array(ea-Z.length+2).join("0")}formatSpecifier.prototype=FormatSpecifier.prototype,FormatSpecifier.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var ta={"%":(_,C)=>(100*_).toFixed(C),b:_=>Math.round(_).toString(2),c:_=>_+"",d:function(_){return Math.abs(_=Math.round(_))>=1e21?_.toLocaleString("en").replace(/,/g,""):_.toString(10)},e:(_,C)=>_.toExponential(C),f:(_,C)=>_.toFixed(C),g:(_,C)=>_.toPrecision(C),o:_=>Math.round(_).toString(8),p:(_,C)=>formatRounded(100*_,C),r:formatRounded,s:function(_,C){var L=formatDecimalParts(_,C);if(!L)return _+"";var Z=L[0],ea=L[1],es=ea-(ek=3*Math.max(-8,Math.min(8,Math.floor(ea/3))))+1,eo=Z.length;return es===eo?Z:es>eo?Z+Array(es-eo+1).join("0"):es>0?Z.slice(0,es)+"."+Z.slice(es):"0."+Array(1-es).join("0")+formatDecimalParts(_,Math.max(0,C+es-1))[0]},X:_=>Math.round(_).toString(16).toUpperCase(),x:_=>Math.round(_).toString(16)};function src_identity(_){return _}var to=Array.prototype.map,tl=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];eE=(eS=function(_){var C,L,Z,ea=void 0===_.grouping||void 0===_.thousands?src_identity:(C=to.call(_.grouping,Number),L=_.thousands+"",function(_,Z){for(var ea=_.length,es=[],eo=0,el=C[0],eu=0;ea>0&&el>0&&(eu+el+1>Z&&(el=Math.max(1,Z-eu)),es.push(_.substring(ea-=el,ea+el)),!((eu+=el+1)>Z));)el=C[eo=(eo+1)%C.length];return es.reverse().join(L)}),es=void 0===_.currency?"":_.currency[0]+"",eo=void 0===_.currency?"":_.currency[1]+"",el=void 0===_.decimal?".":_.decimal+"",eu=void 0===_.numerals?src_identity:(Z=to.call(_.numerals,String),function(_){return _.replace(/[0-9]/g,function(_){return Z[+_]})}),ec=void 0===_.percent?"%":_.percent+"",ed=void 0===_.minus?"−":_.minus+"",eh=void 0===_.nan?"NaN":_.nan+"";function newFormat(_){var C=(_=formatSpecifier(_)).fill,L=_.align,Z=_.sign,ep=_.symbol,ef=_.zero,em=_.width,eb=_.comma,ey=_.precision,eg=_.trim,ev=_.type;"n"===ev?(eb=!0,ev="g"):ta[ev]||(void 0===ey&&(ey=12),eg=!0,ev="g"),(ef||"0"===C&&"="===L)&&(ef=!0,C="0",L="=");var ex="$"===ep?es:"#"===ep&&/[boxX]/.test(ev)?"0"+ev.toLowerCase():"",e_="$"===ep?eo:/[%p]/.test(ev)?ec:"",ew=ta[ev],eC=/[defgprs%]/.test(ev);function format(_){var es,eo,ec,ep=ex,eT=e_;if("c"===ev)eT=ew(_)+eT,_="";else{var eq=(_=+_)<0||1/_<0;
3086if(_=isNaN(_)?eh:ew(Math.abs(_),ey),eg&&(_=function(_){e:for(var C,L=_.length,Z=1,ea=-1;Z<L;++Z)switch(_[Z]){case".":ea=C=Z;break;case"0":0===ea&&(ea=Z),C=Z;break;default:if(!+_[Z])break e;ea>0&&(ea=0)}return ea>0?_.slice(0,ea)+_.slice(C+1):_}(_)),eq&&0==+_&&"+"!==Z&&(eq=!1),ep=(eq?"("===Z?Z:ed:"-"===Z||"("===Z?"":Z)+ep,eT=("s"===ev?tl[8+ek/3]:"")+eT+(eq&&"("===Z?")":""),eC){for(es=-1,eo=_.length;++es<eo;)if(48>(ec=_.charCodeAt(es))||ec>57){eT=(46===ec?el+_.slice(es+1):_.slice(es))+eT,_=_.slice(0,es);break}}}eb&&!ef&&(_=ea(_,1/0));var eS=ep.length+_.length+eT.length,eE=eS<em?Array(em-eS+1).join(C):"";switch(eb&&ef&&(_=ea(eE+_,eE.length?em-eT.length:1/0),eE=""),L){case"<":_=ep+_+eT+eE;break;case"=":_=ep+eE+_+eT;break;case"^":_=eE.slice(0,eS=eE.length>>1)+ep+_+eT+eE.slice(eS);break;default:_=eE+ep+_+eT}return eu(_)}return ey=void 0===ey?6:/[gprs]/.test(ev)?Math.max(1,Math.min(21,ey)):Math.max(0,Math.min(20,ey)),format.toString=function(){return _+""},format}return{format:newFormat,formatPrefix:function(_,C){var L=newFormat(((_=formatSpecifier(_)).type="f",_)),Z=3*Math.max(-8,Math.min(8,Math.floor(exponent(C)/3))),ea=Math.pow(10,-Z),es=tl[8+Z/3];return function(_){return L(ea*_)+es}}}}({thousands:",",grouping:[3],currency:["$",""]})).format,eM=eS.formatPrefix;let tu=Math.sqrt(50),tc=Math.sqrt(10),td=Math.sqrt(2);function tickSpec(_,C,L){let Z,ea,es;let eo=(C-_)/Math.max(0,L),el=Math.floor(Math.log10(eo)),eu=eo/Math.pow(10,el),ec=eu>=tu?10:eu>=tc?5:eu>=td?2:1;return(el<0?(Z=Math.round(_*(es=Math.pow(10,-el)/ec)),ea=Math.round(C*es),Z/es<_&&++Z,ea/es>C&&--ea,es=-es):(Z=Math.round(_/(es=Math.pow(10,el)*ec)),ea=Math.round(C/es),Z*es<_&&++Z,ea*es>C&&--ea),ea<Z&&.5<=L&&L<2)?tickSpec(_,C,2*L):[Z,ea,es]}function tickIncrement(_,C,L){return tickSpec(_=+_,C=+C,L=+L)[2]}function ascending_ascending(_,C){return null==_||null==C?NaN:_<C?-1:_>C?1:_>=C?0:NaN}function descending(_,C){return null==_||null==C?NaN:C<_?-1:C>_?1:C>=_?0:NaN}function bisector(_){let C,L,Z;function left(_,Z,ea=0,es=_.length){if(ea<es){if(0!==C(Z,Z))return es;do{let C=ea+es>>>1;0>L(_[C],Z)?ea=C+1:es=C}while(ea<es)}return ea}return 2!==_.length?(C=ascending_ascending,L=(C,L)=>ascending_ascending(_(C),L),Z=(C,L)=>_(C)-L):(C=_===ascending_ascending||_===descending?_:bisector_zero,L=_,Z=_),{left,center:function(_,C,L=0,ea=_.length){let es=left(_,C,L,ea-1);return es>L&&Z(_[es-1],C)>-Z(_[es],C)?es-1:es},right:function(_,Z,ea=0,es=_.length){if(ea<es){if(0!==C(Z,Z))return es;do{let C=ea+es>>>1;0>=L(_[C],Z)?ea=C+1:es=C}while(ea<es)}return ea}}}function bisector_zero(){return 0}let th=bisector(ascending_ascending),tp=th.right;function round(_,C){return _=+_,C=+C,function(L){return Math.round(_*(1-L)+C*L)}}function src_number_number(_){return+_}th.left,bisector(function(_){return null===_?NaN:+_}).center;var tf=[0,1];function continuous_identity(_){return _}function normalize(_,C){var L;return(C-=_=+_)?function(L){return(L-_)/C}:(L=isNaN(C)?NaN:.5,function(){return L})}function bimap(_,C,L){var Z=_[0],ea=_[1],es=C[0],eo=C[1];return ea<Z?(Z=normalize(ea,Z),es=L(eo,es)):(Z=normalize(Z,ea),es=L(es,eo)),function(_){return es(Z(_))}}function polymap(_,C,L){var Z=Math.min(_.length,C.length)-1,ea=Array(Z),es=Array(Z),eo=-1;for(_[Z]<_[0]&&(_=_.slice().reverse(),C=C.slice().reverse());++eo<Z;)ea[eo]=normalize(_[eo],_[eo+1]),es[eo]=L(C[eo],C[eo+1]);return function(C){var L=tp(_,C,1,Z)-1;return es[L](ea[L](C))}}function initRange(_,C){switch(arguments.length){case 0:break;case 1:this.range(_);break;default:this.range(C).domain(_)}return this}function d3_shape_src_array(_){return"object"==typeof _&&"length"in _?_:Array.from(_)}function d3_shape_src_constant(_){return function(){return _}}function Linear(_){this._context=_}function curve_linear(_){return new Linear(_)}Array.prototype.slice,Linear.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(_,C){switch(_=+_,C=+C,this._point){case 0:this._point=1,this._line?this._context.lineTo(_,C):this._context.moveTo(_,C);break;case 1:this._point=2;default:this._context.lineTo(_,C)}}};let tm=Math.PI,tb=2*tm,ty=tb-1e-6;function path_append(_){this._+=_[0];for(let C=1,L=_.length;C<L;++C)this._+=arguments[C]+_[C]}let Path=class Path{constructor(_){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==_?path_append:function(_){let C=Math.floor(_);if(!(C>=0))throw Error(`invalid digits: ${_}`);if(C>15)return path_append;let L=10**C;return function(_){this._+=_[0];for(let C=1,Z=_.length;C<Z;++C)this._+=Math.round(arguments[C]*L)/L+_[C]}}(_)}moveTo(_,C){this._append`M${this._x0=this._x1=+_},${this._y0=this._y1=+C}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(_,C){this._append`L${this._x1=+_},${this._y1=+C}`}quadraticCurveTo(_,C,L,Z){this._append`Q${+_},${+C},${this._x1=+L},${this._y1=+Z}`}bezierCurveTo(_,C,L,Z,ea,es){this._append`C${+_},${+C},${+L},${+Z},${this._x1=+ea},${this._y1=+es}`}arcTo(_,C,L,Z,ea){if(_=+_,C=+C,L=+L,Z=+Z,(ea=+ea)<0)throw Error(`negative radius: ${ea}`);let es=this._x1,eo=this._y1,el=L-_,eu=Z-C,ec=es-_,ed=eo-C,eh=ec*ec+ed*ed;
3086if(null===this._x1)this._append`M${this._x1=_},${this._y1=C}`;else if(eh>1e-6){if(Math.abs(ed*el-eu*ec)>1e-6&&ea){let ep=L-es,ef=Z-eo,em=el*el+eu*eu,eb=Math.sqrt(em),ey=Math.sqrt(eh),eg=ea*Math.tan((tm-Math.acos((em+eh-(ep*ep+ef*ef))/(2*eb*ey)))/2),ev=eg/ey,ex=eg/eb;Math.abs(ev-1)>1e-6&&this._append`L${_+ev*ec},${C+ev*ed}`,this._append`A${ea},${ea},0,0,${+(ed*ep>ec*ef)},${this._x1=_+ex*el},${this._y1=C+ex*eu}`}else this._append`L${this._x1=_},${this._y1=C}`}}arc(_,C,L,Z,ea,es){if(_=+_,C=+C,es=!!es,(L=+L)<0)throw Error(`negative radius: ${L}`);let eo=L*Math.cos(Z),el=L*Math.sin(Z),eu=_+eo,ec=C+el,ed=1^es,eh=es?Z-ea:ea-Z;null===this._x1?this._append`M${eu},${ec}`:(Math.abs(this._x1-eu)>1e-6||Math.abs(this._y1-ec)>1e-6)&&this._append`L${eu},${ec}`,L&&(eh<0&&(eh=eh%tb+tb),eh>ty?this._append`A${L},${L},0,1,${ed},${_-eo},${C-el}A${L},${L},0,1,${ed},${this._x1=eu},${this._y1=ec}`:eh>1e-6&&this._append`A${L},${L},0,${+(eh>=tm)},${ed},${this._x1=_+L*Math.cos(ea)},${this._y1=C+L*Math.sin(ea)}`)}rect(_,C,L,Z){this._append`M${this._x0=this._x1=+_},${this._y0=this._y1=+C}h${L=+L}v${+Z}h${-L}Z`}toString(){return this._}};function withPath(_){let C=3;return _.digits=function(L){if(!arguments.length)return C;if(null==L)C=null;else{let _=Math.floor(L);if(!(_>=0))throw RangeError(`invalid digits: ${L}`);C=_}return _},()=>new Path(C)}function point_x(_){return _[0]}function point_y(_){return _[1]}function src_area(_,C,L){var Z=null,ea=d3_shape_src_constant(!0),es=null,eo=curve_linear,el=null,eu=withPath(area);function area(ec){var ed,eh,ep,ef,em,eb=(ec=d3_shape_src_array(ec)).length,ey=!1,eg=Array(eb),ev=Array(eb);for(null==es&&(el=eo(em=eu())),ed=0;ed<=eb;++ed){if(!(ed<eb&&ea(ef=ec[ed],ed,ec))===ey){if(ey=!ey)eh=ed,el.areaStart(),el.lineStart();else{for(el.lineEnd(),el.lineStart(),ep=ed-1;ep>=eh;--ep)el.point(eg[ep],ev[ep]);el.lineEnd(),el.areaEnd()}}ey&&(eg[ed]=+_(ef,ed,ec),ev[ed]=+C(ef,ed,ec),el.point(Z?+Z(ef,ed,ec):eg[ed],L?+L(ef,ed,ec):ev[ed]))}if(em)return el=null,em+""||null}function arealine(){return(function(_,C){var L=d3_shape_src_constant(!0),Z=null,ea=curve_linear,es=null,eo=withPath(line);function line(el){var eu,ec,ed,eh=(el=d3_shape_src_array(el)).length,ep=!1;for(null==Z&&(es=ea(ed=eo())),eu=0;eu<=eh;++eu)!(eu<eh&&L(ec=el[eu],eu,el))===ep&&((ep=!ep)?es.lineStart():es.lineEnd()),ep&&es.point(+_(ec,eu,el),+C(ec,eu,el));if(ed)return es=null,ed+""||null}return _="function"==typeof _?_:void 0===_?point_x:d3_shape_src_constant(_),C="function"==typeof C?C:void 0===C?point_y:d3_shape_src_constant(C),line.x=function(C){return arguments.length?(_="function"==typeof C?C:d3_shape_src_constant(+C),line):_},line.y=function(_){return arguments.length?(C="function"==typeof _?_:d3_shape_src_constant(+_),line):C},line.defined=function(_){return arguments.length?(L="function"==typeof _?_:d3_shape_src_constant(!!_),line):L},line.curve=function(_){return arguments.length?(ea=_,null!=Z&&(es=ea(Z)),line):ea},line.context=function(_){return arguments.length?(null==_?Z=es=null:es=ea(Z=_),line):Z},line})().defined(ea).curve(eo).context(es)}return _="function"==typeof _?_:void 0===_?point_x:d3_shape_src_constant(+_),C="function"==typeof C?C:void 0===C?d3_shape_src_constant(0):d3_shape_src_constant(+C),L="function"==typeof L?L:void 0===L?point_y:d3_shape_src_constant(+L),area.x=function(C){return arguments.length?(_="function"==typeof C?C:d3_shape_src_constant(+C),Z=null,area):_},area.x0=function(C){return arguments.length?(_="function"==typeof C?C:d3_shape_src_constant(+C),area):_},area.x1=function(_){return arguments.length?(Z=null==_?null:"function"==typeof _?_:d3_shape_src_constant(+_),area):Z},area.y=function(_){return arguments.length?(C="function"==typeof _?_:d3_shape_src_constant(+_),L=null,area):C},area.y0=function(_){return arguments.length?(C="function"==typeof _?_:d3_shape_src_constant(+_),area):C},area.y1=function(_){return arguments.length?(L=null==_?null:"function"==typeof _?_:d3_shape_src_constant(+_),area):L},area.lineX0=area.lineY0=function(){return arealine().x(_).y(C)},area.lineY1=function(){return arealine().x(_).y(L)},area.lineX1=function(){return arealine().x(Z).y(C)},area.defined=function(_){return arguments.length?(ea="function"==typeof _?_:d3_shape_src_constant(!!_),area):ea},area.curve=function(_){return arguments.length?(eo=_,null!=es&&(el=eo(es)),area):eo},area.context=function(_){return arguments.length?(null==_?es=el=null:el=eo(es=_),area):es},area}function Step(_,C){this._context=_,this._t=C}function stepAfter(_){return new Step(_,1)}function cosh(_){return((_=Math.exp(_))+1/_)/2}Path.prototype,Step.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(_,C){switch(_=+_,C=+C,this._point){case 0:this._point=1,this._line?this._context.lineTo(_,C):this._context.moveTo(_,C);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,C),this._context.lineTo(_,C);else{var L=this._x*(1-this._t)+_*this._t;this._context.lineTo(L,this._y),this._context.lineTo(L,C)}}this._x=_,this._y=C}};var tg=function zoomRho(_,C,L){function zoom(Z,ea){var es,eo,el=Z[0],eu=Z[1],ec=Z[2],ed=ea[0],eh=ea[1],ep=ea[2],ef=ed-el,em=eh-eu,eb=ef*ef+em*em;if(eb<1e-12)eo=Math.log(ep/ec)/_,es=function(C){return[el+C*ef,eu+C*em,ec*Math.exp(_*C*eo)]};else{var ey=Math.sqrt(eb),eg=(ep*ep-ec*ec+L*eb)/(2*ec*C*ey),ev=(ep*ep-ec*ec-L*eb)/(2*ep*C*ey),ex=Math.log(Math.sqrt(eg*eg+1)-eg);eo=(Math.log(Math.sqrt(ev*ev+1)-ev)-ex)/_,es=function(L){var Z,ea,es=L*eo,ed=cosh(ex),eh=ec/(C*ey)*(ed*(((Z=Math.exp(2*(Z=_*es+ex)))-1)/(Z+1))-((ea=Math.exp(ea=ex))-1/ea)/2);return[el+eh*ef,eu+eh*em,ec*ed/cosh(_*es+ex)]}}return es.duration=1e3*eo*_/Math.SQRT2,es}
vendor: 8,864 bytes, line 3086
3086return zoom.rho=function(_){var C=Math.max(.001,+_),L=C*C,Z=L*L;return zoomRho(C,L,Z)},zoom}(Math.SQRT2,2,4),d3_zoom_src_constant=_=>()=>_;function ZoomEvent(_,{sourceEvent:C,target:L,transform:Z,dispatch:ea}){Object.defineProperties(this,{type:{value:_,enumerable:!0,configurable:!0},sourceEvent:{value:C,enumerable:!0,configurable:!0},target:{value:L,enumerable:!0,configurable:!0},transform:{value:Z,enumerable:!0,configurable:!0},_:{value:ea}})}function Transform(_,C,L){this.k=_,this.x=C,this.y=L}Transform.prototype={constructor:Transform,scale:function(_){return 1===_?this:new Transform(this.k*_,this.x,this.y)},translate:function(_,C){return 0===_&0===C?this:new Transform(this.k,this.x+this.k*_,this.y+this.k*C)},apply:function(_){return[_[0]*this.k+this.x,_[1]*this.k+this.y]},applyX:function(_){return _*this.k+this.x},applyY:function(_){return _*this.k+this.y},invert:function(_){return[(_[0]-this.x)/this.k,(_[1]-this.y)/this.k]},invertX:function(_){return(_-this.x)/this.k},invertY:function(_){return(_-this.y)/this.k},rescaleX:function(_){return _.copy().domain(_.range().map(this.invertX,this).map(_.invert,_))},rescaleY:function(_){return _.copy().domain(_.range().map(this.invertY,this).map(_.invert,_))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var tv=new Transform(1,0,0);function src_noevent_nopropagation(_){_.stopImmediatePropagation()}function d3_zoom_src_noevent(_){_.preventDefault(),_.stopImmediatePropagation()}function zoom_defaultFilter(_){return(!_.ctrlKey||"wheel"===_.type)&&!_.button}function zoom_defaultExtent(){var _=this;return _ instanceof SVGElement?(_=_.ownerSVGElement||_).hasAttribute("viewBox")?[[(_=_.viewBox.baseVal).x,_.y],[_.x+_.width,_.y+_.height]]:[[0,0],[_.width.baseVal.value,_.height.baseVal.value]]:[[0,0],[_.clientWidth,_.clientHeight]]}function defaultTransform(){return this.__zoom||tv}function defaultWheelDelta(_){return-_.deltaY*(1===_.deltaMode?.05:_.deltaMode?1:.002)*(_.ctrlKey?10:1)}function zoom_defaultTouchable(){return navigator.maxTouchPoints||"ontouchstart"in this}function defaultConstrain(_,C,L){var Z=_.invertX(C[0][0])-L[0][0],ea=_.invertX(C[1][0])-L[1][0],es=_.invertY(C[0][1])-L[0][1],eo=_.invertY(C[1][1])-L[1][1];return _.translate(ea>Z?(Z+ea)/2:Math.min(0,Z)||Math.max(0,ea),eo>es?(es+eo)/2:Math.min(0,es)||Math.max(0,eo))}function zoom(){var _,C,L,Z=zoom_defaultFilter,ea=zoom_defaultExtent,es=defaultConstrain,eo=defaultWheelDelta,el=zoom_defaultTouchable,eu=[0,1/0],ec=[[-1/0,-1/0],[1/0,1/0]],ed=250,eh=tg,ep=dispatch("start","zoom","end"),ef=0,em=10;function zoom(_){_.property("__zoom",defaultTransform).on("wheel.zoom",wheeled,{passive:!1}).on("mousedown.zoom",mousedowned).on("dblclick.zoom",dblclicked).filter(el).on("touchstart.zoom",touchstarted).on("touchmove.zoom",touchmoved).on("touchend.zoom touchcancel.zoom",touchended).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function scale(_,C){return(C=Math.max(eu[0],Math.min(eu[1],C)))===_.k?_:new Transform(C,_.x,_.y)}function translate(_,C,L){var Z=C[0]-L[0]*_.k,ea=C[1]-L[1]*_.k;return Z===_.x&&ea===_.y?_:new Transform(_.k,Z,ea)}function centroid(_){return[(+_[0][0]+ +_[1][0])/2,(+_[0][1]+ +_[1][1])/2]}function schedule(_,C,L,Z){_.on("start.zoom",function(){gesture(this,arguments).event(Z).start()}).on("interrupt.zoom end.zoom",function(){gesture(this,arguments).event(Z).end()}).tween("zoom",function(){var _=arguments,es=gesture(this,_).event(Z),eo=ea.apply(this,_),el=null==L?centroid(eo):"function"==typeof L?L.apply(this,_):L,eu=Math.max(eo[1][0]-eo[0][0],eo[1][1]-eo[0][1]),ec=this.__zoom,ed="function"==typeof C?C.apply(this,_):C,ep=eh(ec.invert(el).concat(eu/ec.k),ed.invert(el).concat(eu/ed.k));return function(_){if(1===_)_=ed;else{var C=ep(_),L=eu/C[2];_=new Transform(L,el[0]-C[0]*L,el[1]-C[1]*L)}es.zoom(null,_)}})}function gesture(_,C,L){return!L&&_.__zooming||new Gesture(_,C)}function Gesture(_,C){this.that=_,this.args=C,this.active=0,this.sourceEvent=null,this.extent=ea.apply(_,C),this.taps=0}function wheeled(_,...C){if(Z.apply(this,arguments)){var L=gesture(this,C).event(_),ea=this.__zoom,el=Math.max(eu[0],Math.min(eu[1],ea.k*Math.pow(2,eo.apply(this,arguments)))),ed=pointer(_);if(L.wheel)(L.mouse[0][0]!==ed[0]||L.mouse[0][1]!==ed[1])&&(L.mouse[1]=ea.invert(L.mouse[0]=ed)),clearTimeout(L.wheel);else{if(ea.k===el)return;L.mouse=[ed,ea.invert(ed)],interrupt(this),L.start()}d3_zoom_src_noevent(_),L.wheel=setTimeout(function(){L.wheel=null,L.end()},150),L.zoom("mouse",es(translate(scale(ea,el),L.mouse[0],L.mouse[1]),L.extent,ec))}}function mousedowned(_,...C){if(!L&&Z.apply(this,arguments)){var ea=_.currentTarget,eo=gesture(this,C,!0).event(_),el=src_select(_.view).on("mousemove.zoom",function(_){if(d3_zoom_src_noevent(_),!eo.moved){var C=_.clientX-ed,L=_.clientY-eh;eo.moved=C*C+L*L>ef}eo.event(_).zoom("mouse",es(translate(eo.that.__zoom,eo.mouse[0]=pointer(_,ea),eo.mouse[1]),eo.extent,ec))},!0).on("mouseup.zoom",function(_){el.on("mousemove.zoom mouseup.zoom",null),yesdrag(_.view,eo.moved),d3_zoom_src_noevent(_),eo.event(_).end()},!0),eu=pointer(_,ea),ed=_.clientX,eh=_.clientY;nodrag(_.view),src_noevent_nopropagation(_),eo.mouse=[eu,this.__zoom.invert(eu)],interrupt(this),eo.start()}}function dblclicked(_,...C){if(Z.apply(this,arguments)){var L=this.__zoom,eo=pointer(_.changedTouches?_.changedTouches[0]:_,this),el=L.invert(eo),eu=L.k*(_.shiftKey?.5:2),eh=es(translate(scale(L,eu),eo,el),ea.apply(this,C),ec);d3_zoom_src_noevent(_),ed>0?src_select(this).transition().duration(ed).call(schedule,eh,eo,_):src_select(this).call(zoom.transform,eh,eo,_)}}function touchstarted(L,...ea){if(Z.apply(this,arguments)){var es,eo,el,eu,ec=L.touches,ed=ec.length,eh=gesture(this,ea,L.changedTouches.length===ed).event(L);for(src_noevent_nopropagation(L),eo=0;eo<ed;++eo)eu=[eu=pointer(el=ec[eo],this),this.__zoom.invert(eu),el.identifier],eh.touch0?eh.touch1||eh.touch0[2]===eu[2]||(eh.touch1=eu,eh.taps=0):(eh.touch0=eu,es=!0,eh.taps=1+!!_);_&&(_=clearTimeout(_)),es&&(eh.taps<2&&(C=eu[0],_=setTimeout(function(){_=null},500)),interrupt(this),eh.start())}}function touchmoved(_,...C){if(this.__zooming){var L,Z,ea,eo,el=gesture(this,C).event(_),eu=_.changedTouches,ed=eu.length;for(d3_zoom_src_noevent(_),L=0;L<ed;++L)ea=pointer(Z=eu[L],this),el.touch0&&el.touch0[2]===Z.identifier?el.touch0[0]=ea:el.touch1&&el.touch1[2]===Z.identifier&&(el.touch1[0]=ea);if(Z=el.that.__zoom,el.touch1){var eh=el.touch0[0],ep=el.touch0[1],ef=el.touch1[0],em=el.touch1[1],eb=(eb=ef[0]-eh[0])*eb+(eb=ef[1]-eh[1])*eb,ey=(ey=em[0]-ep[0])*ey+(ey=em[1]-ep[1])*ey;Z=scale(Z,Math.sqrt(eb/ey)),ea=[(eh[0]+ef[0])/2,(eh[1]+ef[1])/2],eo=[(ep[0]+em[0])/2,(ep[1]+em[1])/2]}else{if(!el.touch0)return;ea=el.touch0[0],eo=el.touch0[1]}el.zoom("touch",es(translate(Z,ea,eo),el.extent,ec))}}function touchended(_,...Z){if(this.__zooming){var ea,es,eo=gesture(this,Z).event(_),el=_.changedTouches,eu=el.length;for(src_noevent_nopropagation(_),L&&clearTimeout(L),L=setTimeout(function(){L=null},500),ea=0;ea<eu;++ea)es=el[ea],eo.touch0&&eo.touch0[2]===es.identifier?delete eo.touch0:eo.touch1&&eo.touch1[2]===es.identifier&&delete eo.touch1;if(eo.touch1&&!eo.touch0&&(eo.touch0=eo.touch1,delete eo.touch1),eo.touch0)eo.touch0[1]=this.__zoom.invert(eo.touch0[0]);else if(eo.end(),2===eo.taps&&(es=pointer(es,this),Math.hypot(C[0]-es[0],C[1]-es[1])<em)){var ec=src_select(this).on("dblclick.zoom");ec&&ec.apply(this,arguments)}}}return zoom.transform=function(_,C,L,Z){var ea=_.selection?_.selection():_;ea.property("__zoom",defaultTransform),_!==ea?schedule(_,C,L,Z):ea.interrupt().each(function(){gesture(this,arguments).event(Z).start().zoom(null,"function"==typeof C?C.apply(this,arguments):C).end()})},zoom.scaleBy=function(_,C,L,Z){zoom.scaleTo(_,function(){var _=this.__zoom.k,L="function"==typeof C?C.apply(this,arguments):C;return _*L},L,Z)},zoom.scaleTo=function(_,C,L,Z){zoom.transform(_,function(){var _=ea.apply(this,arguments),Z=this.__zoom,eo=null==L?centroid(_):"function"==typeof L?L.apply(this,arguments):L,el=Z.invert(eo),eu="function"==typeof C?C.apply(this,arguments):C;return es(translate(scale(Z,eu),eo,el),_,ec)},L,Z)},zoom.translateBy=function(_,C,L,Z){zoom.transform(_,function(){return es(this.__zoom.translate("function"==typeof C?C.apply(this,arguments):C,"function"==typeof L?L.apply(this,arguments):L),ea.apply(this,arguments),ec)},null,Z)},zoom.translateTo=function(_,C,L,Z,eo){zoom.transform(_,function(){var _=ea.apply(this,arguments),eo=this.__zoom,el=null==Z?centroid(_):"function"==typeof Z?Z.apply(this,arguments):Z;return es(tv.translate(el[0],el[1]).scale(eo.k).translate("function"==typeof C?-C.apply(this,arguments):-C,"function"==typeof L?-L.apply(this,arguments):-L),_,ec)},Z,eo)},Gesture.prototype={event:function(_){return _&&(this.sourceEvent=_),this},start:function(){return 1==++this.active&&(this.that.__zooming=this,this.emit
3086("start")),this},zoom:function(_,C){return this.mouse&&"mouse"!==_&&(this.mouse[1]=C.invert(this.mouse[0])),this.touch0&&"touch"!==_&&(this.touch0[1]=C.invert(this.touch0[0])),this.touch1&&"touch"!==_&&(this.touch1[1]=C.invert(this.touch1[0])),this.that.__zoom=C,this.emit("zoom"),this},end:function(){return 0==--this.active&&(delete this.that.__zooming,this.emit("end")),this},emit:function(_){var C=src_select(this.that).datum();ep.call(_,this.that,new ZoomEvent(_,{sourceEvent:this.sourceEvent,target:zoom,type:_,transform:this.that.__zoom,dispatch:ep}),C)}},zoom.wheelDelta=function(_){return arguments.length?(eo="function"==typeof _?_:d3_zoom_src_constant(+_),zoom):eo},zoom.filter=function(_){return arguments.length?(Z="function"==typeof _?_:d3_zoom_src_constant(!!_),zoom):Z},zoom.touchable=function(_){return arguments.length?(el="function"==typeof _?_:d3_zoom_src_constant(!!_),zoom):el},zoom.extent=function(_){return arguments.length?(ea="function"==typeof _?_:d3_zoom_src_constant([[+_[0][0],+_[0][1]],[+_[1][0],+_[1][1]]]),zoom):ea},zoom.scaleExtent=function(_){return arguments.length?(eu[0]=+_[0],eu[1]=+_[1],zoom):[eu[0],eu[1]]},zoom.translateExtent=function(_){return arguments.length?(ec[0][0]=+_[0][0],ec[1][0]=+_[1][0],ec[0][1]=+_[0][1],ec[1][1]=+_[1][1],zoom):[[ec[0][0],ec[0][1]],[ec[1][0],ec[1][1]]]},zoom.constrain=function(_){return arguments.length?(es=_,zoom):es},zoom.duration=function(_){return arguments.length?(ed=+_,zoom):ed},zoom.interpolate=function(_){return arguments.length?(eh=_,zoom):eh},zoom.on=function(){var _=ep.on.apply(ep,arguments);return _===ep?zoom:_},zoom.clickDistance=function(_){return arguments.length?(ef=(_=+_)*_,zoom):Math.sqrt(ef)},zoom.tapDistance=function(_){return arguments.length?(em=+_,zoom):em},zoom}Transform.prototype},26867:function(_,C,L){"use strict";let Z;L.d(C,{v:function(){return animateMotionValue}});var ea,es=L(58315),eo=L(12575);let el={current:!1},isBezierDefinition=_=>Array.isArray(_)&&"number"==typeof _[0],cubicBezierAsString=([_,C,L,Z])=>`cubic-bezier(${_}, ${C}, ${L}, ${Z})`,eu={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:cubicBezierAsString([0,.65,.55,1]),circOut:cubicBezierAsString([.55,0,1,.45]),backIn:cubicBezierAsString([.31,.01,.66,-.59]),backOut:cubicBezierAsString([.33,1.53,.69,.99])};var ec=L(29200);let calcBezier=(_,C,L)=>(((1-3*L+3*C)*_+(3*L-6*C))*_+3*C)*_;function cubicBezier(_,C,L,Z){if(_===C&&L===Z)return ec.Z;let getTForX=C=>(function(_,C,L,Z,ea){let es,eo;let el=0;do(es=calcBezier(eo=C+(L-C)/2,Z,ea)-_)>0?L=eo:C=eo;while(Math.abs(es)>1e-7&&++el<12);return eo})(C,0,1,_,L);return _=>0===_||1===_?_:calcBezier(getTForX(_),C,Z)}let ed=cubicBezier(.42,0,1,1),eh=cubicBezier(0,0,.58,1),ep=cubicBezier(.42,0,.58,1),isEasingArray=_=>Array.isArray(_)&&"number"!=typeof _[0];var ef=L(92448),em=L(79810),eb=L(16257);let ey=cubicBezier(.33,1.53,.69,.99),eg=(0,eb.M)(ey),ev=(0,em.o)(eg),ex={linear:ec.Z,easeIn:ed,easeInOut:ep,easeOut:eh,circIn:ef.Z7,circInOut:ef.X7,circOut:ef.Bn,backIn:eg,backInOut:ev,backOut:ey,anticipate:_=>(_*=2)<1?.5*eg(_):.5*(2-Math.pow(2,-10*(_-1)))},easingDefinitionToFunction=_=>{if(Array.isArray(_)){(0,es.k)(4===_.length,"Cubic bezier arrays must contain four numerical values.");let[C,L,Z,ea]=_;return cubicBezier(C,L,Z,ea)}return"string"==typeof _?((0,es.k)(void 0!==ex[_],`Invalid easing type '${_}'`),ex[_]):_};var e_=L(90576),ew=L(24150),eC=L(10717);function hueToRgb(_,C,L){return(L<0&&(L+=1),L>1&&(L-=1),L<1/6)?_+(C-_)*6*L:L<.5?C:L<2/3?_+(C-_)*(2/3-L)*6:_}var eT=L(94644),eq=L(47012),ek=L(83734);let mixLinearColor=(_,C,L)=>{let Z=_*_;return Math.sqrt(Math.max(0,L*(C*C-Z)+Z))},eS=[eT.$,eq.m,ek.J],getColorType=_=>eS.find(C=>C.test(_));function asRGBA(_){let C=getColorType(_);(0,es.k)(!!C,`'${_}' is not an animatable color. Use the equivalent color code instead.`);let L=C.parse(_);return C===ek.J&&(L=function({hue:_,saturation:C,lightness:L,alpha:Z}){_/=360,L/=100;let ea=0,es=0,eo=0;if(C/=100){let Z=L<.5?L*(1+C):L+C-L*C,el=2*L-Z;ea=hueToRgb(el,Z,_+1/3),es=hueToRgb(el,Z,_),eo=hueToRgb(el,Z,_-1/3)}else ea=es=eo=L;return{red:Math.round(255*ea),green:Math.round(255*es),blue:Math.round(255*eo),alph
3086a:Z}}(L)),L}let mixColor=(_,C)=>{let L=asRGBA(_),Z=asRGBA(C),ea={...L};return _=>(ea.red=mixLinearColor(L.red,Z.red,_),ea.green=mixLinearColor(L.green,Z.green,_),ea.blue=mixLinearColor(L.blue,Z.blue,_),ea.alpha=(0,eC.C)(L.alpha,Z.alpha,_),eq.m.transform(ea))};var eE=L(21499),eM=L(34852);let mixImmediate=(_,C)=>L=>`${L>0?C:_}`;function getMixer(_,C){return"number"==typeof _?L=>(0,eC.C)(_,C,L):e_.$.test(_)?mixColor(_,C):_.startsWith("var(")?mixImmediate(_,C):mixComplex(_,C)}let mixArray=(_,C)=>{let L=[..._],Z=L.length,ea=_.map((_,L)=>getMixer(_,C[L]));return _=>{for(let C=0;C<Z;C++)L[C]=ea[C](_);return L}},mixObject=(_,C)=>{let L={..._,...C},Z={};for(let ea in L)void 0!==_[ea]&&void 0!==C[ea]&&(Z[ea]=getMixer(_[ea],C[ea]));return _=>{for(let C in Z)L[C]=Z[C](_);return L}},mixComplex=(_,C)=>{let L=eM.P.createTransformer(C),Z=(0,eM.V)(_),ea=(0,eM.V)(C),eo=Z.numVars===ea.numVars&&Z.numColors===ea.numColors&&Z.numNumbers>=ea.numNumbers;return eo?(0,eE.z)(mixArray(Z.values,ea.values),L):((0,es.K)(!0,`Complex values '${_}' and '${C}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),mixImmediate(_,C))};var ej=L(13592);let mixNumber=(_,C)=>L=>(0,eC.C)(_,C,L);function interpolate(_,C,{clamp:L=!0,ease:Z,mixer:ea}={}){let eo=_.length;if((0,es.k)(eo===C.length,"Both input and output ranges must be the same length"),1===eo)return()=>C[0];_[0]>_[eo-1]&&(_=[..._].reverse(),C=[...C].reverse());let el=function(_,C,L){let Z=[],ea=L||function(_){if("number"==typeof _);else if("string"==typeof _)return e_.$.test(_)?mixColor:mixComplex;else if(Array.isArray(_))return mixArray;else if("object"==typeof _)return mixObject;return mixNumber}(_[0]),es=_.length-1;for(let L=0;L<es;L++){let es=ea(_[L],_[L+1]);if(C){let _=Array.isArray(C)?C[L]||ec.Z:C;es=(0,eE.z)(_,es)}Z.push(es)}return Z}(C,Z,ea),eu=el.length,interpolator=C=>{let L=0;if(eu>1)for(;L<_.length-2&&!(C<_[L+1]);L++);let Z=(0,ej.Y)(_[L],_[L+1],C);return el[L](Z)};return L?C=>interpolator((0,ew.u)(_[0],_[eo-1],C)):interpolator}function keyframes({duration:_=300,keyframes:C,times:L,ease:Z="easeInOut"}){let ea=isEasingArray(Z)?Z.map(easingDefinitionToFunction):easingDefinitionToFunction(Z),es={done:!1,value:C[0]},eo=(L&&L.length===C.length?L:function(_){let C=[0];return function(_,C){let L=_[_.length-1];for(let Z=1;Z<=C;Z++){let ea=(0,ej.Y)(0,C,Z);_.push((0,eC.C)(L,1,ea))}}(C,_.length-1),C}(C)).map(C=>C*_),el=interpolate(eo,C,{ease:Array.isArray(ea)?ea:C.map(()=>ea||ep).splice(0,C.length-1)});return{calculatedDuration:_,next:C=>(es.value=el(C),es.done=C>=_,es)}}var eA=L(81069);function calcGeneratorVelocity(_,C,L){let Z=Math.max(C-5,0);return(0,eA.R)(L-_(Z),C-Z)}function calcAngularFreq(_,C){return _*Math.sqrt(1-C*C)}let eD=["duration","bounce"],eI=["stiffness","damping","mass"];function isSpringType(_,C){return C.some(C=>void 0!==_[C])}function spring({keyframes:_,restDelta:C,restSpeed:L,...Z}){let ea;let el=_[0],eu=_[_.length-1],ec={done:!1,value:el},{stiffness:ed,damping:eh,mass:ep,velocity:ef,duration:em,isResolvedFromDuration:eb}=function(_){let C={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,..._};if(!isSpringType(_,eI)&&isSpringType(_,eD)){let L=function({duration:_=800,bounce:C=.25,velocity:L=0,mass:Z=1}){let ea,el;(0,es.K)(_<=(0,eo.w)(10),"Spring duration must be 10 seconds or less");let eu=1-C;eu=(0,ew.u)(.05,1,eu),_=(0,ew.u)(.01,10,(0,eo.X)(_)),eu<1?(ea=C=>{let Z=C*eu,ea=Z*_,es=calcAngularFreq(C,eu);return .001-(Z-L)/es*Math.exp(-ea)},el=C=>{let Z=C*eu,es=Z*_,eo=Math.pow(eu,2)*Math.pow(C,2)*_,el=calcAngularFreq(Math.pow(C,2),eu),ec=-ea(C)+.001>0?-1:1;return ec*((es*L+L-eo)*Math.exp(-es))/el}):(ea=C=>{let Z=Math.exp(-C*_),ea=(C-L)*_+1;return -.001+Z*ea},el=C=>{let Z=Math.exp(-C*_),ea=(L-C)*(_*_);return Z*ea});let ec=5/_,ed=function(_,C,L){let Z=L;for(let L=1;L<12;L++)Z-=_(Z)/C(Z);return Z}(ea,el,ec);if(_=(0,eo.w)(_),isNaN(ed))return{stiffness:100,damping:10,duration:_};{let C=Math.pow(ed,2)*Z;return{stiffness:C,damping:2*eu*Math.sqrt(Z*C),duration:_}}}(_);(C={...C,...L,velocity:0,mass:1}).isResolvedFromDuration=!0}return C}(Z),ey=ef?-(0,eo.X)(ef):0,eg=eh/(2*Math.sqrt(ed*ep)),ev=eu-el,ex=(0,eo.X)(Math.sqrt(ed/ep)),e_=5>Math.abs(ev);if(L||(L=e_?.01:2),C||(C=e_?.005:.5),eg<1){let _=calcAngularFreq(ex,eg);ea=C=>{let L=Math.exp(-eg*ex*C);return eu-L*((ey+eg*ex*ev)/_*Math.sin(_*C)+ev*Math.cos(_*C))}}else if(1===eg)ea=_=>eu-Math.exp(-ex*_)*(ev+(ey+ex*ev)*_);else{let _=ex*Math.sqrt(eg*eg-1);ea=C=>{let L=Math.exp(-eg*ex*C),Z=Math.min(_*C,300);return eu-L*((ey+eg*ex*ev)*Math.sinh(Z)+_*ev*Math.cosh(Z))/_}}return{calculatedDuration:eb&&em||null,next:_=>{let Z=ea(_);if(eb)ec.done=_>=em;else{let es=ey;0!==_&&(es=eg<1?calcGeneratorVelocity(ea,_,Z):0);let eo=Math.abs(es)<=L,el=Math.abs(eu-Z)<=C;ec.done=eo&&el}return ec.value=ec.done?eu:Z,ec}}}
3086function inertia({keyframes:_,velocity:C=0,power:L=.8,timeConstant:Z=325,bounceDamping:ea=10,bounceStiffness:es=500,modifyTarget:eo,min:el,max:eu,restDelta:ec=.5,restSpeed:ed}){let eh,ep;let ef=_[0],em={done:!1,value:ef},isOutOfBounds=_=>void 0!==el&&_<el||void 0!==eu&&_>eu,nearestBoundary=_=>void 0===el?eu:void 0===eu?el:Math.abs(el-_)<Math.abs(eu-_)?el:eu,eb=L*C,ey=ef+eb,eg=void 0===eo?ey:eo(ey);eg!==ey&&(eb=eg-ef);let calcDelta=_=>-eb*Math.exp(-_/Z),calcLatest=_=>eg+calcDelta(_),applyFriction=_=>{let C=calcDelta(_),L=calcLatest(_);em.done=Math.abs(C)<=ec,em.value=em.done?eg:L},checkCatchBoundary=_=>{isOutOfBounds(em.value)&&(eh=_,ep=spring({keyframes:[em.value,nearestBoundary(em.value)],velocity:calcGeneratorVelocity(calcLatest,_,em.value),damping:ea,stiffness:es,restDelta:ec,restSpeed:ed}))};return checkCatchBoundary(0),{calculatedDuration:null,next:_=>{let C=!1;return(ep||void 0!==eh||(C=!0,applyFriction(_),checkCatchBoundary(_)),void 0!==eh&&_>eh)?ep.next(_-eh):(C||applyFriction(_),em)}}}var eO=L(47665);let frameloopDriver=_=>{let passTimestamp=({timestamp:C})=>_(C);return{start:()=>eO.Wi.update(passTimestamp,!0),stop:()=>(0,eO.Pn)(passTimestamp),now:()=>eO.frameData.isProcessing?eO.frameData.timestamp:performance.now()}};function calcGeneratorDuration(_){let C=0,L=_.next(C);for(;!L.done&&C<2e4;)C+=50,L=_.next(C);return C>=2e4?1/0:C}let eP={decay:inertia,inertia:inertia,tween:keyframes,keyframes:keyframes,spring:spring};function animateValue({autoplay:_=!0,delay:C=0,driver:L=frameloopDriver,keyframes:Z,type:ea="keyframes",repeat:es=0,repeatDelay:el=0,repeatType:eu="loop",onPlay:ec,onStop:ed,onComplete:eh,onUpdate:ep,...ef}){let em,eb,ey,eg,ev,ex=1,e_=!1,updateFinishedPromise=()=>{eb=new Promise(_=>{em=_})};updateFinishedPromise();let eC=eP[ea]||keyframes;eC!==keyframes&&"number"!=typeof Z[0]&&(eg=interpolate([0,100],Z,{clamp:!1}),Z=[0,100]);let eT=eC({...ef,keyframes:Z});"mirror"===eu&&(ev=eC({...ef,keyframes:[...Z].reverse(),velocity:-(ef.velocity||0)}));let eq="idle",ek=null,eS=null,eE=null;null===eT.calculatedDuration&&es&&(eT.calculatedDuration=calcGeneratorDuration(eT));let{calculatedDuration:eM}=eT,ej=1/0,eA=1/0;null!==eM&&(eA=(ej=eM+el)*(es+1)-el);let eD=0,tick=_=>{if(null===eS)return;ex>0&&(eS=Math.min(eS,_)),ex<0&&(eS=Math.min(_-eA/ex,eS)),eD=null!==ek?ek:Math.round(_-eS)*ex;let L=eD-C*(ex>=0?1:-1),ea=ex>=0?L<0:L>eA;eD=Math.max(L,0),"finished"===eq&&null===ek&&(eD=eA);let eo=eD,ec=eT;if(es){let _=eD/ej,C=Math.floor(_),L=_%1;!L&&_>=1&&(L=1),1===L&&C--,C=Math.min(C,es+1);let Z=!!(C%2);Z&&("reverse"===eu?(L=1-L,el&&(L-=el/ej)):"mirror"===eu&&(ec=ev));let ea=(0,ew.u)(0,1,L);eD>eA&&(ea="reverse"===eu&&Z?1:0),eo=ea*ej}let ed=ea?{done:!1,value:Z[0]}:ec.next(eo);eg&&(ed.value=eg(ed.value));let{done:eh}=ed;ea||null===eM||(eh=ex>=0?eD>=eA:eD<=0);let ef=null===ek&&("finished"===eq||"running"===eq&&eh);return ep&&ep(ed.value),ef&&finish(),ed},stopAnimationDriver=()=>{ey&&ey.stop(),ey=void 0},cancel=()=>{eq="idle",stopAnimationDriver(),em(),updateFinishedPromise(),eS=eE=null},finish=()=>{eq="finished",eh&&eh(),stopAnimationDriver(),em()},play=()=>{if(e_)return;ey||(ey=L(tick));let _=ey.now();ec&&ec(),null!==ek?eS=_-ek:eS&&"finished"!==eq||(eS=_),"finished"===eq&&updateFinishedPromise(),eE=eS,ek=null,eq="running",ey.start()};_&&play();let eI={then:(_,C)=>eb.then(_,C),get time(){return(0,eo.X)(eD)},set time(newTime){eD=newTime=(0,eo.w)(newTime),null===ek&&ey&&0!==ex?eS=ey.now()-newTime/ex:ek=newTime},get duration(){let _=null===eT.calculatedDuration?calcGeneratorDuration(eT):eT.calculatedDuration;return(0,eo.X)(_)},get speed(){return ex},set speed(newSpeed){if(newSpeed===ex||!ey)return;ex=newSpeed,eI.time=(0,eo.X)(eD)},get state(){return eq},play,pause:()=>{eq="paused",ek=eD},stop:()=>{e_=!0,"idle"!==eq&&(eq="idle",ed&&ed(),cancel())},cancel:()=>{null!==eE&&tick(eE),cancel()},complete:()=>{eq="finished"},sample:_=>(eS=0,tick(_))};return eI}let eN=(ea=()=>Object.hasOwnProperty.call(Element.prototype,"animate"),()=>(void 0===Z&&(Z=ea()),Z)),eL=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),requiresPregeneratedKeyframes=(_,C)=>"spring"===C.type||"backgroundColor"===_||!function isWaapiSupportedEasing(_){return!!(!_||"string"==typeof _&&eu[_]||isBezierDefinition(_)||Array.isArray(_)&&_.every(isWaapiSupportedEasing))}(C.ease);var eR=L(79041);let eB={type:"spring",stiffness:500,damping:25,restSpeed:10},criticallyDampedSpring=_=>({type:"spring",stiffness:550,damping:0===_?2*Math.sqrt(550):30,restSpeed:10}),eF={type:"keyframes",duration:.8},eZ={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},getDefaultTransition=(_,{keyframes:C})=>C.length>2?eF:eR.G.has(_)?_.startsWith("scale")?criticallyDampedSpring(C[1]):eB:eZ,isAnimatable=(_,C)=>"zIndex"!==_&&!!("number"==typeof C||Array.isArray(C)||"string"==typeof C&&(eM.P.test(C)||"0"===C)&&!C.startsWith("url("));var ez=L(23212),eU=L(65672),e$=L(49e3);let animateMotionValue=(_,C,L,Z={})=>ea=>{let ed=(0,e$.e)(Z,_)||{},eh=ed.delay||Z.delay||0,{elapsed:ep=0}=Z;ep-=(0,eo.w)(eh);let ef=function(_,C,L,Z){let ea,es;let eo=isAnimatable(C,L);ea=Array.isArray(L)?[...L]:[null,L];let el=void 0!==Z.from?Z.from:_.get(),eu=[];for(let _=0;_<ea.length;_++){var ec;null===ea[_]&&(ea[_]=0===_?el:ea[_-1]),("number"==typeof(ec=ea[_])?0===ec:null!==ec?"none"===ec||"0"===ec||(0,eU.W)(ec):void 0)&&eu.push(_),"string"==typeof ea[_]&&"none"!==ea[_]&&"0"!==ea[_]&&(es=ea[_])}if(eo&&eu.length&&es)for(let _=0;_<eu.length;_++){let L=eu[_];ea[L]=(0,ez.T)(C,es)}return ea}(C,_,L,ed),em=ef[0],eb=ef[ef.length-1],ey=isAnimatable(_,em),eg=isAnimatable(_,eb);(0,es.K)(ey===eg,`You are trying to animate ${_} from "${em}" to "${eb}". ${em} is not an animatable value - to enable this animation set ${em} to a value animatable to ${eb} via the \`style\` property.`);let ev={keyframes:ef,velocity:C.getVelocity(),ease:"easeOut",...ed,delay:-ep,onUpdate:_=>{C.set(_),ed.onUpdate&&ed.onUpdate(_)},onComplete:()=>{ea(),ed.onComplete&&ed.onComplete()}};if((0,e$.r)(ed)||(ev={...ev,...getDefaultTransition(_,ev)}),ev.duration&&(ev.duration=(0,eo.w)(ev.duration)),ev.repeatDelay&&(ev.repeatDelay=(0,eo.w)(ev.repeatDelay)),!ey||!eg||el.current||!1===ed.type)return function({keyframes:_,delay:C,onUpdate:L,onComplete:Z}){let setValue=()=>(L&&L(_[_.length-1]),Z&&Z(),{time:0,speed:1,duration:0,play:ec.Z,pause:ec.Z,stop:ec.Z,then:_=>(_(),Promise.resolve()),cancel:ec.Z,complete:ec.Z});return C?animateValue({keyframes:[0,1],duration:0,delay:C,onComplete:setValue}):setValue()}(el.current?{...ev,delay:0}:ev);if(C.owner&&C.owner.current instanceof HTMLElement&&!C.owner.getProps().onUp
3086date){let L=function(_,C,{onUpdate:L,onComplete:Z,...ea}){let es,el;let ed=eN()&&eL.has(C)&&!ea.repeatDelay&&"mirror"!==ea.repeatType&&0!==ea.damping&&"inertia"!==ea.type;if(!ed)return!1;let eh=!1,updateFinishedPromise=()=>{el=new Promise(_=>{es=_})};updateFinishedPromise();let{keyframes:ep,duration:ef=300,ease:em,times:eb}=ea;if(requiresPregeneratedKeyframes(C,ea)){let _=animateValue({...ea,repeat:0,delay:0}),C={done:!1,value:ep[0]},L=[],Z=0;for(;!C.done&&Z<2e4;)C=_.sample(Z),L.push(C.value),Z+=10;eb=void 0,ep=L,ef=Z-10,em="linear"}let ey=function(_,C,L,{delay:Z=0,duration:ea,repeat:es=0,repeatType:eo="loop",ease:el,times:ec}={}){let ed={[C]:L};ec&&(ed.offset=ec);let eh=function mapEasingToNativeEasing(_){if(_)return isBezierDefinition(_)?cubicBezierAsString(_):Array.isArray(_)?_.map(mapEasingToNativeEasing):eu[_]}(el);return Array.isArray(eh)&&(ed.easing=eh),_.animate(ed,{delay:Z,duration:ea,easing:Array.isArray(eh)?"linear":eh,fill:"both",iterations:es+1,direction:"reverse"===eo?"alternate":"normal"})}(_.owner.current,C,ep,{...ea,duration:ef,ease:em,times:eb});ea.syncStart&&(ey.startTime=eO.frameData.isProcessing?eO.frameData.timestamp:document.timeline?document.timeline.currentTime:performance.now());let cancelAnimation=()=>ey.cancel(),safeCancel=()=>{eO.Wi.update(cancelAnimation),es(),updateFinishedPromise()};return ey.onfinish=()=>{_.set(function(_,{repeat:C,repeatType:L="loop"}){let Z=C&&"loop"!==L&&C%2==1?0:_.length-1;return _[Z]}(ep,ea)),Z&&Z(),safeCancel()},{then:(_,C)=>el.then(_,C),attachTimeline:_=>(ey.timeline=_,ey.onfinish=null,ec.Z),get time(){return(0,eo.X)(ey.currentTime||0)},set time(newTime){ey.currentTime=(0,eo.w)(newTime)},get speed(){return ey.playbackRate},set speed(newSpeed){ey.playbackRate=newSpeed},get duration(){return(0,eo.X)(ef)},play:()=>{eh||(ey.play(),(0,eO.Pn)(cancelAnimation))},pause:()=>ey.pause(),stop:()=>{if(eh=!0,"idle"===ey.playState)return;let{currentTime:C}=ey;if(C){let L=animateValue({...ea,autoplay:!1});_.setWithVelocity(L.sample(C-10).value,L.sample(C).value,10)}safeCancel()},complete:()=>ey.finish(),cancel:safeCancel}}(C,_,ev);if(L)return L}return animateValue(ev)}},43797:function(_,C,L){"use strict";function isAnimationControls(_){return"object"==typeof _&&"function"==typeof _.start}L.d(C,{H:function(){return isAnimationControls}})},38480:function(_,C,L){"use strict";L.d(C,{C:function(){return isKeyframesTarget}});let isKeyframesTarget=_=>Array.isArray(_)},49e3:function(_,C,L){"use strict";function isTransitionDefined({when:_,delay:C,delayChildren:L,staggerChildren:Z,staggerDirection:ea,repeat:es,repeatType:eo,repeatDelay:el,from:eu,elapsed:ec,...ed}){return!!Object.keys(ed).length}function getValueTransition(_,C){return _[C]||_.default||_}L.d(C,{e:function(){return getValueTransition},r:function(){return isTransitionDefined}})},85787:function(_,C,L){"use strict";L.d(C,{M:function(){return AnimatePresence}});var Z=L(52983),ea=L(90430);function useIsMounted(){let _=(0,Z.useRef)(!1);return(0,ea.L)(()=>(_.current=!0,()=>{_.current=!1}),[]),_}var es=L(47665),eo=L(46882),el=L(69518);let PopChildMeasure=class PopChildMeasure extends Z.Component{getSnapshotBeforeUpdate(_){let C=this.props.childRef.current;if(C&&_.isPresent&&!this.props.isPresent){let _=this.props.sizeRef.current;_.height=C.offsetHeight||0,_.width=C.offsetWidth||0,_.top=C.offsetTop,_.left=C.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}};function PopChild({children:_,isPresent:C}){let L=(0,Z.useId)(),ea=(0,Z.useRef)(null),es=(0,Z.useRef)({width:0,height:0,top:0,left:0});return(0,Z.useInsertionEffect)(()=>{let{width:_,height:Z,top:eo,left:el}=es.current;if(C||!ea.current||!_||!Z)return;ea.current.dataset.motionPopId=L;let eu=document.createElement("style");return document.head.appendChild(eu),eu.sheet&&eu.sheet.insertRule(`
3087          [data-motion-pop-id="${L}"] {
3088            position: absolute !important;
3089            width: ${_}px !important;
3090            height: ${Z}px !important;
3091            top: ${eo}px !important;
3092            left: ${el}px !important;
3093          }
3094        `),()=>{document.head.removeChild(eu)}},[C]),Z.createElement(PopChildMeasure,{isPresent:C,childRef:ea,sizeRef:es},Z.cloneElement(_,{ref:ea}))}let PresenceChild=({children:_,initial:C,isPresent:L,onExitComplete:ea,custom:es,presenceAffectsLayout:eu,mode:ec})=>{let ed=(0,el.h)(newChildrenMap),eh=(0,Z.useId)(),ep=(0,Z.useMemo)(()=>({id:eh,initial:C,isPresent:L,custom:es,onExitComplete:_=>
3094{for(let C of(ed.set(_,!0),ed.values()))if(!C)return;ea&&ea()},register:_=>(ed.set(_,!1),()=>ed.delete(_))}),eu?void 0:[L]);return(0,Z.useMemo)(()=>{ed.forEach((_,C)=>ed.set(C,!1))},[L]),Z.useEffect(()=>{L||ed.size||!ea||ea()},[L]),"popLayout"===ec&&(_=Z.createElement(PopChild,{isPresent:L},_)),Z.createElement(eo.O.Provider,{value:ep},_)};function newChildrenMap(){return new Map}var eu=L(92813),ec=L(58315);let getChildKey=_=>_.key||"",AnimatePresence=({children:_,custom:C,initial:L=!0,onExitComplete:eo,exitBeforeEnter:el,presenceAffectsLayout:ed=!0,mode:eh="sync"})=>{var ep;(0,ec.k)(!el,"Replace exitBeforeEnter with mode='wait'");let ef=(0,Z.useContext)(eu.p).forceRender||function(){let _=useIsMounted(),[C,L]=(0,Z.useState)(0),ea=(0,Z.useCallback)(()=>{_.current&&L(C+1)},[C]),eo=(0,Z.useCallback)(()=>es.Wi.postRender(ea),[ea]);return[eo,C]}()[0],em=useIsMounted(),eb=function(_){let C=[];return Z.Children.forEach(_,_=>{(0,Z.isValidElement)(_)&&C.push(_)}),C}(_),ey=eb,eg=(0,Z.useRef)(new Map).current,ev=(0,Z.useRef)(ey),ex=(0,Z.useRef)(new Map).current,e_=(0,Z.useRef)(!0);if((0,ea.L)(()=>{e_.current=!1,function(_,C){_.forEach(_=>{let L=getChildKey(_);C.set(L,_)})}(eb,ex),ev.current=ey}),ep=()=>{e_.current=!0,ex.clear(),eg.clear()},(0,Z.useEffect)(()=>()=>ep(),[]),e_.current)return Z.createElement(Z.Fragment,null,ey.map(_=>Z.createElement(PresenceChild,{key:getChildKey(_),isPresent:!0,initial:!!L&&void 0,presenceAffectsLayout:ed,mode:eh},_)));ey=[...ey];let ew=ev.current.map(getChildKey),eC=eb.map(getChildKey),eT=ew.length;for(let _=0;_<eT;_++){let C=ew[_];-1!==eC.indexOf(C)||eg.has(C)||eg.set(C,void 0)}return"wait"===eh&&eg.size&&(ey=[]),eg.forEach((_,L)=>{if(-1!==eC.indexOf(L))return;let ea=ex.get(L);if(!ea)return;let es=ew.indexOf(L),el=_;el||(el=Z.createElement(PresenceChild,{key:getChildKey(ea),isPresent:!1,onExitComplete:()=>{ex.delete(L),eg.delete(L);let _=ev.current.findIndex(_=>_.key===L);if(ev.current.splice(_,1),!eg.size){if(ev.current=eb,!1===em.current)return;ef(),eo&&eo()}},custom:C,presenceAffectsLayout:ed,mode:eh},ea),eg.set(L,el)),ey.splice(es,0,el)}),ey=ey.map(_=>{let C=_.key;return eg.has(C)?_:Z.createElement(PresenceChild,{key:getChildKey(_),isPresent:!0,presenceAffectsLayout:ed,mode:eh},_)}),Z.createElement(Z.Fragment,null,eg.size?ey:ey.map(_=>(0,Z.cloneElement)(_)))}},19550:function(_,C,L){"use strict";L.d(C,{X:function(){return LazyMotion}});var Z=L(52983),ea=L(17181),es=L(32491);function LazyMotion({children:_,features:C,strict:L=!1}){let[,eo]=(0,Z.useState)(!isLazyBundle(C)),el=(0,Z.useRef)(void 0);if(!isLazyBundle(C)){let{renderer:_,...L}=C;el.current=_,(0,es.K)(L)}return(0,Z.useEffect)(()=>{isLazyBundle(C)&&C().then(({renderer:_,...C})=>{(0,es.K)(C),el.current=_,eo(!0)})},[]),Z.createElement(ea.u.Provider,{value:{renderer:el.current,strict:L}},_)}function isLazyBundle(_){return"function"==typeof _}},92813:function(_,C,L){"use strict";L.d(C,{p:function(){return ea}});var Z=L(52983);let ea=(0,Z.createContext)({})},17181:function(_,C,L){"use strict";L.d(C,{u:function(){return ea}});var Z=L(52983);let ea=(0,Z.createContext)({strict:!1})},46882:function(_,C,L){"use strict";L.d(C,{O:function(){return ea}});var Z=L(52983);let ea=(0,Z.createContext)(null)},66630:function(_,C,L){"use strict";L.d(C,{g:function(){return ea}});var Z=L(52983);let ea=(0,Z.createContext)({})},92448:function(_,C,L){"use strict";L.d(C,{Bn:function(){return es},X7:function(){return eo}
3094,Z7:function(){return circIn}});var Z=L(79810),ea=L(16257);let circIn=_=>1-Math.sin(Math.acos(_)),es=(0,ea.M)(circIn),eo=(0,Z.o)(es)},79810:function(_,C,L){"use strict";L.d(C,{o:function(){return mirrorEasing}});let mirrorEasing=_=>C=>C<=.5?_(2*C)/2:(2-_(2*(1-C)))/2},16257:function(_,C,L){"use strict";L.d(C,{M:function(){return reverseEasing}});let reverseEasing=_=>C=>1-_(1-C)},42506:function(_,C,L){"use strict";function addDomEvent(_,C,L,Z={passive:!0}){return _.addEventListener(C,L,Z),()=>_.removeEventListener(C,L)}L.d(C,{E:function(){return addDomEvent}})},42280:function(_,C,L){"use strict";L.d(C,{a:function(){return addPointerEvent}});var Z=L(42506),ea=L(93942);function addPointerEvent(_,C,L,es){return(0,Z.E)(_,C,(0,ea.s)(L),es)}},93942:function(_,C,L){"use strict";L.d(C,{Q:function(){return extractEventInfo},s:function(){return addPointerInfo}});var Z=L(30388);function extractEventInfo(_,C="page"){return{point:{x:_[C+"X"],y:_[C+"Y"]}}}let addPointerInfo=_=>C=>(0,Z.D)(C)&&_(C,extractEventInfo(C))},30388:function(_,C,L){"use strict";L.d(C,{D:function(){return isPrimaryPointer}});let isPrimaryPointer=_=>"mouse"===_.pointerType?"number"!=typeof _.button||_.button<=0:!1!==_.isPrimary},47665:function(_,C,L){"use strict";L.d(C,{Pn:function(){return eo},Wi:function(){return es},frameData:function(){return el},S6:function(){return eu}});var Z=L(29200);let Queue=class Queue{constructor(){this.order=[],this.scheduled=new Set}add(_){if(!this.scheduled.has(_))return this.scheduled.add(_),this.order.push(_),!0}remove(_){let C=this.order.indexOf(_);-1!==C&&(this.order.splice(C,1),this.scheduled.delete(_))}clear(){this.order.length=0,this.scheduled.clear()}};let ea=["prepare","read","update","preRender","render","postRender"],{schedule:es,cancel:eo,state:el,steps:eu}=function(_,C){let L=!1,Z=!0,es={delta:0,timestamp:0,isProcessing:!1},eo=ea.reduce((_,C)=>(_[C]=function(_){let C=new Queue,L=new Queue,Z=0,ea=!1,es=!1,eo=new WeakSet,el={schedule:(_,es=!1,el=!1)=>{let eu=el&&ea,ec=eu?C:L;return es&&eo.add(_),ec.add(_)&&eu&&ea&&(Z=C.order.length),_},cancel:_=>{L.remove(_),eo.delete(_)},process:eu=>{if(ea){es=!0;return}if(ea=!0,[C,L]=[L,C],L.clear(),Z=C.order.length)for(let L=0;L<Z;L++){let Z=C.order[L];Z(eu),eo.has(Z)&&(el.schedule(Z),_())}ea=!1,es&&(es=!1,el.process(eu))}};return el}(()=>L=!0),_),{}),processStep=_=>eo[_].process(es),processBatch=()=>{let eo=performance.now();L=!1,es.delta=Z?1e3/60:Math.max(Math.min(eo-es.timestamp,40),1),es.timestamp=eo,es.isProcessing=!0,ea.forEach(processStep),es.isProcessing=!1,L&&C&&(Z=!1,_(processBatch))},wake=()=>{L=!0,Z=!0,es.isProcessing||_(processBatch)},el=ea.reduce((_,C)=>{let Z=eo[C];return _[C]=(_,C=!1,ea=!1)=>(L||wake(),Z.schedule(_,C,ea)),_},{});return{schedule:el,cancel:_=>ea.forEach(C=>eo[C].cancel(_)),state:es,steps:eo}}("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:Z.Z,!0)},55586:function(_,C,L){"use strict";function createLock(_){let C=null;return()=>null===C&&(C=_,()=>{C=null})}L.d(C,{fJ:function(){return getGlobalLock},gD:function(){return isDragActive}});let Z=createLock("dragHorizontal"),ea=createLock("dragVertical");function getGlobalLock(_){let C=!1;if("y"===_)C=ea();else if("x"===_)C=Z();else{let _=Z(),L=ea();_&&L?C=()=>{_(),L()}:(_&&_(),L&&L())}return C}function isDragActive(){let _=getGlobalLock(!0);return!_||(_(),!1)}},60318:function(_,C,L){"use strict";L.d(C,{L:function(){return Feature}});let Feature=class Feature{constructor(_){this.isMounted=!1,this.node=_}update(){}}},82876:function(_,C,L){"use strict";L.d(C,{A:function(){return ea}});let Z={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},ea={};for(let _ in Z)ea[_]={isEnabled:C=>Z[_].some(_=>!!C[_])}},32491:function(_,C,L){"use strict";L.d(C,{K:function(){return loadFeatures}});var Z=L(82876);function loadFeatures(_){for(let C in _)Z.A[C]={...Z.A[C],..._[C]}}},45542:function(_,C,L){"use strict";L.d(C,{j:function(){return isForcedMotionValue}});var Z=L(79863),ea=L(79041);function isForcedMotionValue(_,{layout:C,layoutId:L}){return ea.G.has(_)||_.startsWith("origin")||(C||void 0!==L)&&(!!Z.P[_]||"opacity"===_)}},93370:function(_,C,L){"use strict";function convertBoundingBoxToBox({top:_,left:C,right:L,bottom:Z}){return{x:{min:C,max:L},y:{min:_,max:Z}}}function convertBoxToBoundingBox({x:_,y:C}){return{top:C.min,right:_.max,bottom:C.max,left:_.min}}function transformBoxPoints(_,C){if(!C)return _;let L=C({x:_.left,y:_.top}),Z=C({x:_.right,y:_.bottom});return{top:L.y,left:L.x,bottom:Z.y,right:Z.x}}L.d(C,{d7:function(){return transformBoxPoints},i8:function(){return convertBoundingBoxToBox},z2:function(){return convertBoxToBoundingBox}})},10573:function(_,C,L){"use strict";L.d(C,{D2:function(){return transformBox},YY:function(){return applyTreeDeltas},am:function(){return translateAxis},o2:function(){return applyBoxDelta},q2:function(){return scalePoint}});var Z=L(10717),ea=L(75295);function scalePoint(_,C,L){return L+C*(_-L)}function applyPointDelta(_,C,L,Z,ea){return void 0!==ea&&(_=Z+ea*(_-Z)),Z+L*(_-Z)+C}function applyAxisDelta(_,C=0,L=1,Z,ea){_.min=applyPointDelta(_.min,C,L,Z,ea),_.max=applyPointDelta(_.max,C,L,Z,ea)}function applyBoxDelta(_,{x:C,y:L}){applyAxisDelta(_.x,C.translate,C.scale,C.originPoint),applyAxisDelta(_.y,L.translate,L.scale,L.originPoint)}function applyTreeDeltas(_,C,L,Z=!1){let es,eo;let el=L.length;if(el){C.x=C.y=1;for(let eu=0;eu<el;eu++){eo=(es=L[eu]).projectionDelta;let el=es.instance;(!el||!el.style||"contents"!==el.style.display)&&(Z&&es.options.layoutScroll&&es.scroll&&es!==es.root&&transformBox(_,{x:-es.scroll.offset.x,y:-es.scroll.offset.y}),eo&&(C.x*=eo.x.scale,C.y*=eo.y.scale,applyBoxDelta(_,eo)),Z&&(0,ea.ud)(es.latestValues)&&transformBox(_,es.latestValues))}C.x=snapToDefault(C.x),C.y=snapToDefault(C.y)}}function snapToDefault(_){return Number.isInteger(_)?_:_>1.0000000000001||_<.999999999999?_:1}function translateAxis(_,C){_.min=_.min+C,_.max=_.max+C}function transformAxis(_,C,[L,ea,es]){let eo=void 0!==C[es]?C[es]:.5,el=(0,Z.C)(_.min,_.max,eo);applyAxisDelta(_,C[L],C[ea],el,C.scale)}
3094let es=["x","scaleX","originX"],eo=["y","scaleY","originY"];function transformBox(_,C){transformAxis(_.x,C,es),transformAxis(_.y,C,eo)}},20183:function(_,C,L){"use strict";L.d(C,{dO:function(){return createBox},wc:function(){return createDelta}});let createAxisDelta=()=>({translate:0,scale:1,origin:0,originPoint:0}),createDelta=()=>({x:createAxisDelta(),y:createAxisDelta()}),createAxis=()=>({min:0,max:0}),createBox=()=>({x:createAxis(),y:createAxis()})},79863:function(_,C,L){"use strict";L.d(C,{B:function(){return addScaleCorrector},P:function(){return Z}});let Z={};function addScaleCorrector(_){Object.assign(Z,_)}},75295:function(_,C,L){"use strict";function isIdentityScale(_){return void 0===_||1===_}function hasScale({scale:_,scaleX:C,scaleY:L}){return!isIdentityScale(_)||!isIdentityScale(C)||!isIdentityScale(L)}function hasTransform(_){return hasScale(_)||has2DTranslate(_)||_.z||_.rotate||_.rotateX||_.rotateY}function has2DTranslate(_){var C,L;return(C=_.x)&&"0%"!==C||(L=_.y)&&"0%"!==L}L.d(C,{D_:function(){return has2DTranslate},Lj:function(){return hasScale},ud:function(){return hasTransform}})},39265:function(_,C,L){"use strict";L.d(C,{J:function(){return measureViewportBox},z:function(){return measurePageBox}});var Z=L(93370),ea=L(10573);function measureViewportBox(_,C){return(0,Z.i8)((0,Z.d7)(_.getBoundingClientRect(),C))}function measurePageBox(_,C,L){let Z=measureViewportBox(_,L),{scroll:es}=C;return es&&((0,ea.am)(Z.x,es.offset.x),(0,ea.am)(Z.y,es.offset.y)),Z}},6831:function(_,C,L){"use strict";L.d(C,{H:function(){return tc}});var Z=L(43797),ea=L(38480);function shallowCompare(_,C){if(!Array.isArray(C))return!1;let L=C.length;if(L!==_.length)return!1;for(let Z=0;Z<L;Z++)if(C[Z]!==_[Z])return!1;return!0}var es=L(87645),eo=L(85336);function resolveVariant(_,C,L){let Z=_.getProps();return(0,eo.o)(Z,C,void 0!==L?L:Z.custom,function(_){let C={};return _.values.forEach((_,L)=>C[L]=_.get()),C}(_),function(_){let C={};return _.values.forEach((_,L)=>C[L]=_.getVelocity()),C}(_))}var el=L(12350),eu=L(79041),ec=L(92235);let ed="data-"+(0,ec.D)("framerAppearId");var eh=L(26867),ep=L(45044);function isWillChangeMotionValue(_){return!!((0,ep.i)(_)&&_.add)}let isNumericalString=_=>/^\-?\d*\.?\d+$/.test(_);var ef=L(65672),em=L(97248),eb=L(73768),ey=L(34852),eg=L(23212),ev=L(90576),ex=L(9070),e_=L(53927);let testValueType=_=>C=>C.test(_),ew=[ex.Rx,e_.px,e_.aQ,e_.RW,e_.vw,e_.vh,{test:_=>"auto"===_,parse:_=>_}],findDimensionValueType=_=>ew.find(testValueType(_)),eC=[...ew,ev.$,ey.P],findValueType=_=>eC.find(testValueType(_));var eT=L(47665);function animateTarget(_,C,{delay:L=0,transitionOverride:Z,type:ea}={}){let{transition:es=_.getDefaultTransition(),transitionEnd:eo,...el}=_.makeTargetAnimatable(C),ec=_.getValue("willChange");Z&&(es=Z);let ep=[],ef=ea&&_.animationState&&_.animationState.getState()[ea];for(let C in el){let Z=_.getValue(C),ea=el[C];if(!Z||void 0===ea||ef&&function({protectedKeys:_,needsAnimating:C},L){let Z=_.hasOwnProperty(L)&&!0!==C[L];return C[L]=!1,Z}(ef,C))continue;let eo={delay:L,elapsed:0,...es};if(window.HandoffAppearAnimations&&!Z.hasAnimated){let L=_.getProps()[ed];L&&(eo.elapsed=window.HandoffAppearAnimations(L,C,Z,eT.Wi),eo.syncStart=!0)}Z.start((0,eh.v)(C,Z,ea,_.shouldReduceMotion&&eu.G.has(C)?{type:!1}:eo));let em=Z.animation;isWillChangeMotionValue(ec)&&(ec.add(C),em.then(()=>ec.remove(C))),ep.push(em)}return eo&&Promise.all(ep).then(()=>{eo&&function(_,C){let L=resolveVariant(_,C),{transitionEnd:Z={},transition:ea={},...es}=L?_.makeTargetAnimatable(L,!1):{};for(let C in es={...es,...Z}){let L=(0,em.Y)(es[C]);_.hasValue(C)?_.getValue(C).set(L):_.addValue(C,(0,eb.BX)(L))}}(_,eo)}),ep}function animateVariant(_,C,L={}){let Z=resolveVariant(_,C,L.custom),{transition:ea=_.getDefaultTransition()||{}}=Z||{};L.transitionOverride&&(ea=L.transitionOverride);let es=Z?()=>Promise.all(animateTarget(_,Z,L)):()=>Promise.resolve(),eo=_.variantChildren&&_.variantChildren.size?(Z=0)=>{let{delayChildren:es=0,staggerChildren:eo,staggerDirection:el}=ea;return function(_,C,L=0,Z=0,ea=1,es){let eo=[],el=(_.variantChildren.size-1)*Z,eu=1===ea?(_=0)=>_*Z:(_=0)=>el-_*Z;return Array.from(_.variantChildren).sort(sortByTreeOrder).forEach((_,Z)=>{_.notify("AnimationStart",C),eo.push(animateVariant(_,C,{...es,delay:L+eu(Z)}).then(()=>_.notify("AnimationComplete",C)))}),Promise.all(eo)}(_,C,es+Z,eo,el,L)}:()=>Promise.resolve(),{when:el}=ea;if(!el)return Promise.all([es(),eo(L.delay)]);{let[_,C]="beforeChildren"===el?[es,eo]:[eo,es];return _().then(()=>C())}}function sortByTreeOrder(_,C){return _.sortNodePosition(C)}let eq=[...el.e].reverse(),ek=el.e.length;function createTypeState(_=!1){return{isActive:_,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var eS=L(60318);let AnimationFeature=class AnimationFeature extends eS.L{constructor(_){super(_),_.animationState||(_.animationState=function(_){let animate=C=>Promise.all(C.map(({animation:C,options:L})=>(function(_,C,L={}){let Z;if(_.notify("AnimationStart",C),Array.isArray(C)){let ea=C.map(C=>animateVariant(_,C,L));Z=Promise.all(ea)}else if("string"==typeof C)Z=animateVariant(_,C,L);else{let ea="function"==typeof C?resolveVariant(_,C,L.custom):C;
3094Z=Promise.all(animateTarget(_,ea,L))}return Z.then(()=>_.notify("AnimationComplete",C))})(_,C,L))),C={animate:createTypeState(!0),whileInView:createTypeState(),whileHover:createTypeState(),whileTap:createTypeState(),whileDrag:createTypeState(),whileFocus:createTypeState(),exit:createTypeState()},L=!0,buildResolvedTypeValues=(C,L)=>{let Z=resolveVariant(_,L);if(Z){let{transition:_,transitionEnd:L,...ea}=Z;C={...C,...ea,...L}}return C};function animateChanges(eo,el){let eu=_.getProps(),ec=_.getVariantContext(!0)||{},ed=[],eh=new Set,ep={},ef=1/0;for(let eb=0;eb<ek;eb++){var em;let ey=eq[eb],eg=C[ey],ev=void 0!==eu[ey]?eu[ey]:ec[ey],ex=(0,es.$)(ev),e_=ey===el?eg.isActive:null;!1===e_&&(ef=eb);let ew=ev===ec[ey]&&ev!==eu[ey]&&ex;if(ew&&L&&_.manuallyAnimateOnMount&&(ew=!1),eg.protectedKeys={...ep},!eg.isActive&&null===e_||!ev&&!eg.prevProp||(0,Z.H)(ev)||"boolean"==typeof ev)continue;let eC=(em=eg.prevProp,"string"==typeof ev?ev!==em:!!Array.isArray(ev)&&!shallowCompare(ev,em)),eT=eC||ey===el&&eg.isActive&&!ew&&ex||eb>ef&&ex,ek=Array.isArray(ev)?ev:[ev],eS=ek.reduce(buildResolvedTypeValues,{});!1===e_&&(eS={});let{prevResolvedValues:eE={}}=eg,eM={...eE,...eS},markToAnimate=_=>{eT=!0,eh.delete(_),eg.needsAnimating[_]=!0};for(let _ in eM){let C=eS[_],L=eE[_];ep.hasOwnProperty(_)||(C!==L?(0,ea.C)(C)&&(0,ea.C)(L)?!shallowCompare(C,L)||eC?markToAnimate(_):eg.protectedKeys[_]=!0:void 0!==C?markToAnimate(_):eh.add(_):void 0!==C&&eh.has(_)?markToAnimate(_):eg.protectedKeys[_]=!0)}eg.prevProp=ev,eg.prevResolvedValues=eS,eg.isActive&&(ep={...ep,...eS}),L&&_.blockInitialAnimation&&(eT=!1),eT&&!ew&&ed.push(...ek.map(_=>({animation:_,options:{type:ey,...eo}})))}if(eh.size){let C={};eh.forEach(L=>{let Z=_.getBaseTarget(L);void 0!==Z&&(C[L]=Z)}),ed.push({animation:C})}let eb=!!ed.length;return L&&!1===eu.initial&&!_.manuallyAnimateOnMount&&(eb=!1),L=!1,eb?animate(ed):Promise.resolve()}return{animateChanges,setActive:function(L,Z,ea){var es;if(C[L].isActive===Z)return Promise.resolve();null===(es=_.variantChildren)||void 0===es||es.forEach(_=>{var C;return null===(C=_.animationState)||void 0===C?void 0:C.setActive(L,Z)}),C[L].isActive=Z;let eo=animateChanges(ea,L);for(let _ in C)C[_].protectedKeys={};return eo},setAnimateFunction:function(C){animate=C(_)},getState:()=>C}}(_))}updateAnimationControlsSubscription(){let{animate:_}=this.node.getProps();this.unmount(),(0,Z.H)(_)&&(this.unmount=_.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:_}=this.node.getProps(),{animate:C}=this.node.prevProps||{};_!==C&&this.updateAnimationControlsSubscription()}unmount(){}};let eE=0;let ExitAnimationFeature=class ExitAnimationFeature extends eS.L{constructor(){super(...arguments),this.id=eE++}update(){if(!this.node.presenceContext)return;let{isPresent:_,onExitComplete:C,custom:L}=this.node.presenceContext,{isPresent:Z}=this.node.prevPresenceContext||{};if(!this.node.animationState||_===Z)return;let ea=this.node.animationState.setActive("exit",!_,{custom:null!=L?L:this.node.getProps().custom});C&&!_&&ea.then(()=>C(this.id))}mount(){let{register:_}=this.node.presenceContext||{};_&&(this.unmount=_(this.id))}unmount(){}};var eM=L(42280),ej=L(21499),eA=L(55586);function addHoverEvent(_,C){let L="pointer"+(C?"enter":"leave"),Z="onHover"+(C?"Start":"End");return(0,eM.a)(_.current,L,(L,ea)=>{if("touch"===L.type||(0,eA.gD)())return;let es=_.getProps();_.animationState&&es.whileHover&&_.animationState.setActive("whileHover",C),es[Z]&&eT.Wi.update(()=>es[Z](L,ea))},{passive:!_.getProps()[Z]})}let HoverGesture=class HoverGesture extends eS.L{mount(){this.unmount=(0,ej.z)(addHoverEvent(this.node,!0),addHoverEvent(this.node,!1))}unmount(){}};var eD=L(42506);let FocusGesture=class FocusGesture extends eS.L{constructor(){super(...arguments),this.isActive=!1}onFocus(){let _=!1;try{_=this.node.current.matches(":focus-visible")}catch(C){_=!0}_&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,ej.z)((0,eD.E)(this.node.current,"focus",()=>this.onFocus()),(0,eD.E)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}};var eI=L(93942);let isNodeOrChild=(_,C)=>!!C&&(_===C||isNodeOrChild(_,C.parentElement));var eO=L(29200);function fireSyntheticPointerEvent(_,C){if(!C)return;let L=new PointerEvent("pointer"+_);C(L,(0,eI.Q)(L))}let PressGesture=class PressGesture extends eS.L{constructor(){super(...arguments),this.removeStartListeners=eO.Z,this.removeEndListeners=eO.Z,this.removeAccessibleListeners=eO.Z,this.startPointerPress=(_,C)=>{if(this.removeEndListeners(),this.isPressing)return;let L=this.node.getProps(),Z=(0,eM.a)(window,"pointerup",(_,C)=>{if(!this.checkPressEnd())return;let{onTap:L,onTapCancel:Z}=this.node.getProps();eT.Wi.update(()=>{isNodeOrChild(this.node.current,_.target)?L&&L(_,C):Z&&Z(_,C)})},{passive:!(L.onTap||L.onPointerUp)}),ea=(0,eM.a)(window,"pointercancel",(_,C)=>this.cancelPress(_,C),{passive:!(L.onTapCancel||L.onPointerCancel)});this.removeEndListeners=(0,ej.z)(Z,ea),this.startPress(_,C)},this.startAccessiblePress=()=>{let _=(0,eD.E)(this.node.current,"keydown",_=>{"Enter"!==_.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=(0,eD.E)(this.node.current,"keyup",_=>{"Enter"===_.key&&this.checkPressEnd()&&fireSyntheticPointerEvent("up",(_,C)=>{let{onTap:L}=this.node.getProps();L&&eT.Wi.update(()=>
3094L(_,C))})}),fireSyntheticPointerEvent("down",(_,C)=>{this.startPress(_,C)}))}),C=(0,eD.E)(this.node.current,"blur",()=>{this.isPressing&&fireSyntheticPointerEvent("cancel",(_,C)=>this.cancelPress(_,C))});this.removeAccessibleListeners=(0,ej.z)(_,C)}}startPress(_,C){this.isPressing=!0;let{onTapStart:L,whileTap:Z}=this.node.getProps();Z&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),L&&eT.Wi.update(()=>L(_,C))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;let _=this.node.getProps();return _.whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!(0,eA.gD)()}cancelPress(_,C){if(!this.checkPressEnd())return;let{onTapCancel:L}=this.node.getProps();L&&eT.Wi.update(()=>L(_,C))}mount(){let _=this.node.getProps(),C=(0,eM.a)(this.node.current,"pointerdown",this.startPointerPress,{passive:!(_.onTapStart||_.onPointerStart)}),L=(0,eD.E)(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=(0,ej.z)(C,L)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}};let eP=new WeakMap,eN=new WeakMap,fireObserverCallback=_=>{let C=eP.get(_.target);C&&C(_)},fireAllObserverCallbacks=_=>{_.forEach(fireObserverCallback)},eL={some:0,all:1};let InViewFeature=class InViewFeature extends eS.L{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:_={}}=this.node.getProps(),{root:C,margin:L,amount:Z="some",once:ea}=_,es={root:C?C.current:void 0,rootMargin:L,threshold:"number"==typeof Z?Z:eL[Z]};return function(_,C,L){let Z=function({root:_,...C}){let L=_||document;eN.has(L)||eN.set(L,{});let Z=eN.get(L),ea=JSON.stringify(C);return Z[ea]||(Z[ea]=new IntersectionObserver(fireAllObserverCallbacks,{root:_,...C})),Z[ea]}(C);return eP.set(_,L),Z.observe(_),()=>{eP.delete(_),Z.unobserve(_)}}(this.node.current,es,_=>{let{isIntersecting:C}=_;if(this.isInView===C||(this.isInView=C,ea&&!C&&this.hasEnteredView))return;C&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",C);let{onViewportEnter:L,onViewportLeave:Z}=this.node.getProps(),es=C?L:Z;es&&es(_)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:_,prevProps:C}=this.node,L=["amount","margin","root"].some(function({viewport:_={}},{viewport:C={}}={}){return L=>_[L]!==C[L]}(_,C));L&&this.startObserver()}unmount(){}};var eR=L(10220),eB=L(11030),eF=L(33645),eZ=L(27138),ez=L(61770),eU=L(39265),e$=L(58315);let eV=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function getVariableValue(_,C,L=1){(0,e$.k)(L<=4,`Max CSS variable fallback depth detected in property "${_}". This may indicate a circular fallback dependency.`);let[Z,ea]=function(_){let C=eV.exec(_);if(!C)return[,];let[,L,Z]=C;return[L,Z]}(_);if(!Z)return;let es=window.getComputedStyle(C).getPropertyValue(Z);if(es){let _=es.trim();return isNumericalString(_)?parseFloat(_):_}return(0,eB.tm)(ea)?getVariableValue(ea,C,L+1):ea}var eW=L(28134);let eH=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),isPositionalKey=_=>eH.has(_),hasPositionalKey=_=>Object.keys(_).some(isPositionalKey),isNumOrPxType=_=>_===ex.Rx||_===e_.px,getPosFromMatrix=(_,C)=>parseFloat(_.split(", ")[C]),getTranslateFromMatrix=(_,C)=>(L,{transform:Z})=>{if("none"===Z||!Z)return 0;let ea=Z.match(/^matrix3d\((.+)\)$/);if(ea)return getPosFromMatrix(ea[1],C);{let C=Z.match(/^matrix\((.+)\)$/);return C?getPosFromMatrix(C[1],_):0}},eG=new Set(["x","y","z"]),eK=eu._.filter(_=>!eG.has(_)),eX={width:({x:_},{paddingLeft:C="0",paddingRight:L="0"})=>_.max-_.min-parseFloat(C)-parseFloat(L),height:({y:_},{paddingTop:C="0",paddingBottom:L="0"})=>_.max-_.min-parseFloat(C)-parseFloat(L),top:(_,{top:C})=>parseFloat(C),left:(_,{left:C})=>parseFloat(C),bottom:({y:_},{top:C})=>parseFloat(C)+(_.max-_.min),right:({x:_},{left:C})=>parseFloat(C)+(_.max-_.min),x:getTranslateFromMatrix(4,13),y:getTranslateFromMatrix(5,14)};eX.translateX=eX.x,eX.translateY=eX.y;let convertChangedValueTypes=(_,C,L)=>{let Z=C.measureViewportBox(),ea=C.current,es=getComputedStyle(ea),{display:eo}=es,el={};"none"===eo&&C.setStaticValue("display",_.display||"block"),L.forEac
3094h(_=>{el[_]=eX[_](Z,es)}),C.render();let eu=C.measureViewportBox();return L.forEach(L=>{let Z=C.getValue(L);Z&&Z.jump(el[L]),_[L]=eX[L](eu,es)}),_},checkAndConvertChangedValueTypes=(_,C,L={},Z={})=>{C={...C},Z={...Z};let es=Object.keys(C).filter(isPositionalKey),eo=[],el=!1,eu=[];if(es.forEach(es=>{let ec;let ed=_.getValue(es);if(!_.hasValue(es))return;let eh=L[es],ep=findDimensionValueType(eh),ef=C[es];if((0,ea.C)(ef)){let _=ef.length,C=null===ef[0]?1:0;ep=findDimensionValueType(eh=ef[C]);for(let L=C;L<_&&null!==ef[L];L++)ec?(0,e$.k)(findDimensionValueType(ef[L])===ec,"All keyframes must be of the same type"):(ec=findDimensionValueType(ef[L]),(0,e$.k)(ec===ep||isNumOrPxType(ep)&&isNumOrPxType(ec),"Keyframes must be of the same dimension as the current value"))}else ec=findDimensionValueType(ef);if(ep!==ec){if(isNumOrPxType(ep)&&isNumOrPxType(ec)){let _=ed.get();"string"==typeof _&&ed.set(parseFloat(_)),"string"==typeof ef?C[es]=parseFloat(ef):Array.isArray(ef)&&ec===e_.px&&(C[es]=ef.map(parseFloat))}else(null==ep?void 0:ep.transform)&&(null==ec?void 0:ec.transform)&&(0===eh||0===ef)?0===eh?ed.set(ec.transform(eh)):C[es]=ep.transform(ef):(el||(eo=function(_){let C=[];return eK.forEach(L=>{let Z=_.getValue(L);void 0!==Z&&(C.push([L,Z.get()]),Z.set(L.startsWith("scale")?1:0))}),C.length&&_.render(),C}(_),el=!0),eu.push(es),Z[es]=void 0!==Z[es]?Z[es]:C[es],ed.jump(ef))}}),!eu.length)return{target:C,transitionEnd:Z};{let L=eu.indexOf("height")>=0?window.pageYOffset:null,ea=convertChangedValueTypes(C,_,eu);return eo.length&&eo.forEach(([C,L])=>{_.getValue(C).set(L)}),_.render(),eW.j&&null!==L&&window.scrollTo({top:L}),{target:ea,transitionEnd:Z}}},parseDomVariant=(_,C,L,Z)=>{var ea,es;let eo=function(_,{...C},L){let Z=_.current;if(!(Z instanceof Element))return{target:C,transitionEnd:L};for(let ea in L&&(L={...L}),_.values.forEach(_=>{let C=_.get();if(!(0,eB.tm)(C))return;let L=getVariableValue(C,Z);L&&_.set(L)}),C){let _=C[ea];if(!(0,eB.tm)(_))continue;let es=getVariableValue(_,Z);es&&(C[ea]=es,L||(L={}),void 0===L[ea]&&(L[ea]=_))}return{target:C,transitionEnd:L}}(_,C,Z);return C=eo.target,Z=eo.transitionEnd,ea=C,es=Z,hasPositionalKey(ea)?checkAndConvertChangedValueTypes(_,ea,L,es):{target:ea,transitionEnd:es}};var eY=L(20183),eQ=L(21383);let eJ={current:null},e1={current:!1};var e0=L(55295),e2=L(19954),e5=L(82876);let e6=new WeakMap,e3=Object.keys(e5.A),e4=e3.length,e8=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],e9=el.V.length;let VisualElement=class VisualElement{constructor({parent:_,props:C,presenceContext:L,reducedMotionConfig:Z,visualState:ea},es={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>eT.Wi.render(this.render,!1,!0);let{latestValues:eo,renderState:el}=ea;this.latestValues=eo,this.baseTarget={...eo},this.initialValues=C.initial?{...eo}:{},this.renderState=el,this.parent=_,this.props=C,this.presenceContext=L,this.depth=_?_.depth+1:0,this.reducedMotionConfig=Z,this.options=es,this.isControllingVariants=(0,e2.G)(C),this.isVariantNode=(0,e2.M)(C),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(_&&_.current);let{willChange:eu,...ec}=this.scrapeMotionValuesFromProps(C,{});for(let _ in ec){let C=ec[_];void 0!==eo[_]&&(0,ep.i)(C)&&(C.set(eo[_],!1),isWillChangeMotionValue(eu)&&eu.add(_))}}scrapeMotionValuesFromProps(_,C){return{}}mount(_){this.current=_,e6.set(_,this),this.projection&&!this.projection.instance&&this.projection.mount(_),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
3094h((_,C)=>this.bindToMotionValue(C,_)),e1.current||function(){if(e1.current=!0,eW.j){if(window.matchMedia){let _=window.matchMedia("(prefers-reduced-motion)"),setReducedMotionPreferences=()=>eJ.current=_.matches;_.addListener(setReducedMotionPreferences),setReducedMotionPreferences()}else eJ.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||eJ.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let _ in e6.delete(this.current),this.projection&&this.projection.unmount(),(0,eT.Pn)(this.notifyUpdate),(0,eT.Pn)(this.render),this.valueSubscriptions.forEach(_=>_()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[_].clear();for(let _ in this.features)this.features[_].unmount();this.current=null}bindToMotionValue(_,C){let L=eu.G.has(_),Z=C.on("change",C=>{this.latestValues[_]=C,this.props.onUpdate&&eT.Wi.update(this.notifyUpdate,!1,!0),L&&this.projection&&(this.projection.isTransformDirty=!0)}),ea=C.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(_,()=>{Z(),ea()})}sortNodePosition(_){return this.current&&this.sortInstanceNodePosition&&this.type===_.type?this.sortInstanceNodePosition(this.current,_.current):0}loadFeatures({children:_,...C},L,Z,ea){let es,eo;for(let _=0;_<e4;_++){let L=e3[_],{isEnabled:Z,Feature:ea,ProjectionNode:el,MeasureLayout:eu}=e5.A[L];el&&(es=el),Z(C)&&(!this.features[L]&&ea&&(this.features[L]=new ea(this)),eu&&(eo=eu))}if(!this.projection&&es){this.projection=new es(this.latestValues,this.parent&&this.parent.projection);let{layoutId:_,layout:L,drag:Z,dragConstraints:eo,layoutScroll:el,layoutRoot:eu}=C;this.projection.setOptions({layoutId:_,layout:L,alwaysMeasureLayout:!!Z||eo&&(0,eQ.I)(eo),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof L?L:"both",initialPromotionConfig:ea,layoutScroll:el,layoutRoot:eu})}return eo}updateFeatures(){for(let _ in this.features){let C=this.features[_];C.isMounted?C.update():(C.mount(),C.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,eY.dO)()}getStaticValue(_){return this.latestValues[_]}setStaticValue(_,C){this.latestValues[_]=C}makeTargetAnimatable(_,C=!0){return this.makeTargetAnimatableFromInstance(_,this.props,C)}update(_,C){(_.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=_,this.prevPresenceContext=this.presenceContext,this.presenceContext=C;for(let C=0;C<e8.length;C++){let L=e8[C];this.propEventSubscriptions[L]&&(this.propEventSubscriptions[L](),delete this.propEventSubscriptions[L]);let Z=_["on"+L];Z&&(this.propEventSubscriptions[L]=this.on(L,Z))}this.prevMotionValues=function(_,C,L){let{willChange:Z}=C;for(let ea in C){let es=C[ea],eo=L[ea];if((0,ep.i)(es))_.addValue(ea,es),isWillChangeMotionValue(Z)&&Z.add(ea);else if((0,ep.i)(eo))_.addValue(ea,(0,eb.BX)(es,{owner:_})),isWillChangeMotionValue(Z)&&Z.remove(ea);else if(eo!==es){if(_.hasValue(ea)){let C=_.getValue(ea);C.hasAnimated||C.set(es)}else{let C=_.getStaticValue(ea);_.addValue(ea,(0,eb.BX)(void 0!==C?C:es,{owner:_}))}}}for(let Z in L)void 0===C[Z]&&_.removeValue(Z);return C}(this,this.scrapeMotionValuesFromProps(_,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(_){return this.props.variants?this.props.variants[_]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(_=!1){if(_)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let _=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(_.initial=this.props.initial),_}let C={};for(let _=0;_<e9;_++){let L=el.V[_],Z=this.props[L];
3094((0,es.$)(Z)||!1===Z)&&(C[L]=Z)}return C}addVariantChild(_){let C=this.getClosestVariantNode();if(C)return C.variantChildren&&C.variantChildren.add(_),()=>C.variantChildren.delete(_)}addValue(_,C){C!==this.values.get(_)&&(this.removeValue(_),this.bindToMotionValue(_,C)),this.values.set(_,C),this.latestValues[_]=C.get()}removeValue(_){this.values.delete(_);let C=this.valueSubscriptions.get(_);C&&(C(),this.valueSubscriptions.delete(_)),delete this.latestValues[_],this.removeValueFromRenderState(_,this.renderState)}hasValue(_){return this.values.has(_)}getValue(_,C){if(this.props.values&&this.props.values[_])return this.props.values[_];let L=this.values.get(_);return void 0===L&&void 0!==C&&(L=(0,eb.BX)(C,{owner:this}),this.addValue(_,L)),L}readValue(_){var C;return void 0===this.latestValues[_]&&this.current?null!==(C=this.getBaseTargetFromProps(this.props,_))&&void 0!==C?C:this.readValueFromInstance(this.current,_,this.options):this.latestValues[_]}setBaseTarget(_,C){this.baseTarget[_]=C}getBaseTarget(_){var C;let{initial:L}=this.props,Z="string"==typeof L||"object"==typeof L?null===(C=(0,eo.o)(this.props,L))||void 0===C?void 0:C[_]:void 0;if(L&&void 0!==Z)return Z;let ea=this.getBaseTargetFromProps(this.props,_);return void 0===ea||(0,ep.i)(ea)?void 0!==this.initialValues[_]&&void 0===Z?void 0:this.baseTarget[_]:ea}on(_,C){return this.events[_]||(this.events[_]=new e0.L),this.events[_].add(C)}notify(_,...C){this.events[_]&&this.events[_].notify(...C)}};let DOMVisualElement=class DOMVisualElement extends VisualElement{sortInstanceNodePosition(_,C){return 2&_.compareDocumentPosition(C)?1:-1}getBaseTargetFromProps(_,C){return _.style?_.style[C]:void 0}removeValueFromRenderState(_,{vars:C,style:L}){delete C[_],delete L[_]}makeTargetAnimatableFromInstance({transition:_,transitionEnd:C,...L},{transformValues:Z},ea){let es=function(_,C,L){let Z={};for(let ea in _){let _=function(_,C){if(!C)return;let L=C[_]||C.default||C;return L.from}(ea,C);if(void 0!==_)Z[ea]=_;else{let _=L.getValue(ea);_&&(Z[ea]=_.get())}}return Z}(L,_||{},this);if(Z&&(C&&(C=Z(C)),L&&(L=Z(L)),es&&(es=Z(es))),ea){!function(_,C,L){var Z,ea;let es=Object.keys(C).filter(C=>!_.hasValue(C)),eo=es.length;if(eo)for(let el=0;el<eo;el++){let eo=es[el],eu=C[eo],ec=null;Array.isArray(eu)&&(ec=eu[0]),null===ec&&(ec=null!==(ea=null!==(Z=L[eo])&&void 0!==Z?Z:_.readValue(eo))&&void 0!==ea?ea:C[eo]),null!=ec&&("string"==typeof ec&&(isNumericalString(ec)||(0,ef.W)(ec))?ec=parseFloat(ec):!findValueType(ec)&&ey.P.test(eu)&&(ec=(0,eg.T)(eo,eu)),_.addValue(eo,(0,eb.BX)(ec,{owner:_})),void 0===L[eo]&&(L[eo]=ec),null!==ec&&_.setBaseTarget(eo,ec))}}(this,L,es);let _=parseDomVariant(this,L,es,C);C=_.transitionEnd,L=_.target}return{transition:_,transitionEnd:C,...L}}};let HTMLVisualElement=class HTMLVisualElement extends DOMVisualElement{readValueFromInstance(_,C){if(eu.G.has(C)){let _=(0,ez.A)(C);return _&&_.default||0}{let L=window.getComputedStyle(_),Z=((0,eB.f9)(C)?L.getPropertyValue(C):L[C])||0;return"string"==typeof Z?Z.trim():Z}}measureInstanceViewportBox(_,{transformPagePoint:C}){return(0,eU.J)(_,C)}build(_,C,L,Z){(0,eR.r)(_,C,L,Z.transformTemplate)}scrapeMotionValuesFromProps(_,C){return(0,eF.U)(_,C)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:_}=this.props;(0,ep.i)(_)&&(this.childSubscription=_.on("change",_=>{this.current&&(this.current.textContent=`${_}`)}))}renderInstance(_,C,L,Z){(0,eZ.N)(_,C,L,Z)}};var e7=L(7645),tr=L(37088),ta=L(71983),to=L(51364),tl=L(38165);let SVGVisualElement=class SVGVisualElement extends DOMVisualElement{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(_,C){return _[C]}readValueFromInstance(_,C){if(eu.G.has(C)){let _=(0,ez.A)(C);return _&&_.default||0}return C=ta.s.has(C)?C:(0,ec.D)(C),_.getAttribute(C)}measureInstanceViewportBox(){return(0,eY.dO)()}scrapeMotionValuesFromProps(_,C){return(0,e7.U)(_,C)}build(_,C,L,Z){(0,tr.i)(_,C,L,this.isSVGTag,Z.transformTemplate)}renderInstance(_,C,L,Z){(0,to.K)(_,C,L,Z)}mount(_){this.isSVGTag=(0,tl.a)(_.tagName),super.mount(_)}};var tu=L(99290);let tc={renderer:(_,C)=>(0,tu.q)(_)?new SVGVisualElement(C,{enableHardwareAcceleration:!1}):new HTMLVisualElement(C,{enableHardwareAcceleration:!0}),animation:{Feature:AnimationFeature},exit:{Feature:ExitAnimationFeature},inView:{Feature:InViewFeature},tap:{Feature:PressGesture},focus:{Feature:FocusGesture},hover:{Feature:HoverGesture}}},80674:function(_,C,L){"use strict";L.d(C,{m:function(){return eN}});var Z,ea=L(52983);let es=(0,ea.createContext)({transformPagePoint:_=>_,isStatic:!1,reducedMotion:"never"}),eo=(0,ea.createContext)({});var el=L(46882),eu=L(90430),ec=L(17181),ed=L(21383),eh=L(87645),ep=L(19954);function variantLabelsAsDependency(_){return Array.isArray(_)?_.join(" "):_}var ef=L(32491),em=L(28134),eb=L(92813),ey=L(66630);let eg=Symbol.for("motionComponentSymbol");var ev=L(99290),ex=L(45542),e_=L(45044),ew=L(10220);let createHtmlRenderState=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function copyRawValuesOnly(_,C,L){for(let Z in C)(0,e_.i)(C[Z])||(0,ex.j)(Z,L)||(_[Z]=C[Z])}function useHTMLProps(_,C,L){let Z={},es=function(_,C,L){let Z=_.style||{},es={};
3094return copyRawValuesOnly(es,Z,_),Object.assign(es,function({transformTemplate:_},C,L){return(0,ea.useMemo)(()=>{let Z=createHtmlRenderState();return(0,ew.r)(Z,C,{enableHardwareAcceleration:!L},_),Object.assign({},Z.vars,Z.style)},[C])}(_,C,L)),_.transformValues?_.transformValues(es):es}(_,C,L);return _.drag&&!1!==_.dragListener&&(Z.draggable=!1,es.userSelect=es.WebkitUserSelect=es.WebkitTouchCallout="none",es.touchAction=!0===_.drag?"none":`pan-${"x"===_.drag?"y":"x"}`),void 0===_.tabIndex&&(_.onTap||_.onTapStart||_.whileTap)&&(Z.tabIndex=0),Z.style=es,Z}let eC=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function isValidMotionProp(_){return _.startsWith("while")||_.startsWith("drag")&&"draggable"!==_||_.startsWith("layout")||_.startsWith("onTap")||_.startsWith("onPan")||eC.has(_)}let shouldForward=_=>!isValidMotionProp(_);try{(Z=require("@emotion/is-prop-valid").default)&&(shouldForward=_=>_.startsWith("on")?!isValidMotionProp(_):Z(_))}catch(_){}var eT=L(37088);let createSvgRenderState=()=>({...createHtmlRenderState(),attrs:{}});var eq=L(38165);function useSVGProps(_,C,L,Z){let es=(0,ea.useMemo)(()=>{let L=createSvgRenderState();return(0,eT.i)(L,C,{enableHardwareAcceleration:!1},(0,eq.a)(Z),_.transformTemplate),{...L.attrs,style:{...L.style}}},[C]);if(_.style){let C={};copyRawValuesOnly(C,_.style,_),es.style={...C,...es.style}}return es}var ek=L(51364),eS=L(7645),eE=L(43797),eM=L(85336),ej=L(69518),eA=L(96524);let makeUseVisualState=_=>(C,L)=>{let Z=(0,ea.useContext)(eo),es=(0,ea.useContext)(el.O),make=()=>(function({scrapeMotionValuesFromProps:_,createRenderState:C,onMount:L},Z,ea,es){let eo={latestValues:function(_,C,L,Z){let ea={},es=Z(_,{});for(let _ in es)ea[_]=(0,eA.b)(es[_]);let{initial:eo,animate:el}=_,eu=(0,ep.G)(_),ec=(0,ep.M)(_);C&&ec&&!eu&&!1!==_.inherit&&(void 0===eo&&(eo=C.initial),void 0===el&&(el=C.animate));let ed=!!L&&!1===L.initial;ed=ed||!1===eo;let eh=ed?el:eo;if(eh&&"boolean"!=typeof eh&&!(0,eE.H)(eh)){let C=Array.isArray(eh)?eh:[eh];
3094C.forEach(C=>{let L=(0,eM.o)(_,C);if(!L)return;let{transitionEnd:Z,transition:es,...eo}=L;for(let _ in eo){let C=eo[_];if(Array.isArray(C)){let _=ed?C.length-1:0;C=C[_]}null!==C&&(ea[_]=C)}for(let _ in Z)ea[_]=Z[_]})}return ea}(Z,ea,es,_),renderState:C()};return L&&(eo.mount=_=>L(Z,_,eo)),eo})(_,C,Z,es);return L?make():(0,ej.h)(make)};var eD=L(47665);let eI={useVisualState:makeUseVisualState({scrapeMotionValuesFromProps:eS.U,createRenderState:createSvgRenderState,onMount:(_,C,{renderState:L,latestValues:Z})=>{eD.Wi.read(()=>{try{L.dimensions="function"==typeof C.getBBox?C.getBBox():C.getBoundingClientRect()}catch(_){L.dimensions={x:0,y:0,width:0,height:0}}}),eD.Wi.render(()=>{(0,eT.i)(L,Z,{enableHardwareAcceleration:!1},(0,eq.a)(C.tagName),_.transformTemplate),(0,ek.K)(C,L)})}})};var eO=L(33645);let eP={useVisualState:makeUseVisualState({scrapeMotionValuesFromProps:eO.U,createRenderState:createHtmlRenderState})},eN=function(_){function custom(C,L={}){return function({preloadedFeatures:_,createVisualElement:C,useRender:L,useVisualState:Z,Component:ev}){_&&(0,ef.K)(_);let ex=(0,ea.forwardRef)(function(ef,eg){var ex;let e_;let ew={...(0,ea.useContext)(es),...ef,layoutId:function({layoutId:_}){let C=(0,ea.useContext)(eb.p).id;return C&&void 0!==_?C+"-"+_:_}(ef)},{isStatic:eC}=ew,eT=function(_){let{initial:C,animate:L}=function(_,C){if((0,ep.G)(_)){let{initial:C,animate:L}=_;return{initial:!1===C||(0,eh.$)(C)?C:void 0,animate:(0,eh.$)(L)?L:void 0}}return!1!==_.inherit?C:{}}(_,(0,ea.useContext)(eo));return(0,ea.useMemo)(()=>({initial:C,animate:L}),[variantLabelsAsDependency(C),variantLabelsAsDependency(L)])}(ef),eq=Z(ef,eC);if(!eC&&em.j){eT.visualElement=function(_,C,L,Z){let{visualElement:ed}=(0,ea.useContext)(eo),eh=(0,ea.useContext)(ec.u),ep=(0,ea.useContext)(el.O),ef=(0,ea.useContext)(es).reducedMotion,em=(0,ea.useRef)();Z=Z||eh.renderer,!em.current&&Z&&(em.current=Z(_,{visualState:C,parent:ed,props:L,presenceContext:ep,blockInitialAnimation:!!ep&&!1===ep.initial,reducedMotionConfig:ef}));let eb=em.current;(0,ea.useInsertionEffect)(()=>{eb&&eb.update(L,ep)});let ey=(0,ea.useRef)(!!window.HandoffAppearAnimations);return(0,eu.L)(()=>{eb&&(eb.render(),ey.current&&eb.animationState&&eb.animationState.animateChanges())}),(0,ea.useEffect)(()=>{eb&&(eb.updateFeatures(),!ey.current&&eb.animationState&&eb.animationState.animateChanges(),window.HandoffAppearAnimations=void 0,ey.current=!1)}),eb}(ev,eq,ew,C);let L=(0,ea.useContext)(ey.g),Z=(0,ea.useContext)(ec.u).strict;eT.visualElement&&(e_=eT.visualElement.loadFeatures(ew,Z,_,L))}return ea.createElement(eo.Provider,{value:eT},e_&&eT.visualElement?ea.createElement(e_,{visualElement:eT.visualElement,...ew}):null,L(ev,ef,(ex=eT.visualElement,(0,ea.useCallback)(_=>{_&&eq.mount&&eq.mount(_),ex&&(_?ex.mount(_):ex.unmount()),eg&&("function"==typeof eg?eg(_):(0,ed.I)(eg)&&(eg.current=_))},[ex])),eq,eC,eT.visualElement))});return ex[eg]=ev,ex}(_(C,L))}if("undefined"==typeof Proxy)return custom;let C=new Map;return new Proxy(custom,{get:(_,L)=>(C.has(L)||C.set(L,custom(L)),C.get(L))})}(function(_,{forwardMotionProps:C=!1},L,Z){let es=(0,ev.q)(_)?eI:eP;return{...es,preloadedFeatures:L,useRender:function(_=!1){return(C,L,Z,{latestValues:es},eo)=>{let el=(0,ev.q)(C)?useSVGProps:useHTMLProps,eu=el(L,es,eo,C),ec=function(_,C,L){let Z={};for(let ea in _)("values"!==ea||"object"!=typeof _.values)&&(shouldForward(ea)||!0===L&&isValidMotionProp(ea)||!C&&!isValidMotionProp(ea)||_.draggable&&ea.startsWith("onDrag"))&&(Z[ea]=_[ea]);return Z}(L,"string"==typeof C,_),ed={...ec,...eu,ref:Z},{children:eh}=L,ep=(0,ea.useMemo)(()=>(0,e_.i)(eh)?eh.get():eh,[eh]);return(0,ea.createElement)(C,{...ed,children:ep})}}(C),createVisualElement:Z,Component:_}})},92235:function(_,C,L){"use strict";L.d(C,{D:function(){return camelToDash}});let camelToDash=_=>_.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()},11030:function(_,C,L){"use strict";L.d(C,{Xp:function(){return es},f9:function(){return Z},tm:function(){return ea}});let checkStringStartsWith=_=>C=>"string"==typeof C&&C.startsWith(_),Z=checkStringStartsWith("--"),ea=checkStringStartsWith("var(--"),es=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?
3094:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g},99290:function(_,C,L){"use strict";L.d(C,{q:function(){return isSVGComponent}});let Z=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function isSVGComponent(_){if("string"!=typeof _||_.includes("-"));else if(Z.indexOf(_)>-1||/[A-Z]/.test(_))return!0;return!1}},23212:function(_,C,L){"use strict";L.d(C,{T:function(){return getAnimatableNone}});var Z=L(34852),ea=L(92671),es=L(61770);function getAnimatableNone(_,C){let L=(0,es.A)(_);return L!==ea.h&&(L=Z.P),L.getAnimatableNone?L.getAnimatableNone(C):void 0}},61770:function(_,C,L){"use strict";L.d(C,{A:function(){return getDefaultValueType}});var Z=L(90576),ea=L(92671),es=L(93092);let eo={...es.j,color:Z.$,backgroundColor:Z.$,outlineColor:Z.$,fill:Z.$,stroke:Z.$,borderColor:Z.$,borderTopColor:Z.$,borderRightColor:Z.$,borderBottomColor:Z.$,borderLeftColor:Z.$,filter:ea.h,WebkitFilter:ea.h},getDefaultValueType=_=>eo[_]},93092:function(_,C,L){"use strict";L.d(C,{j:function(){return eo}});var Z=L(9070),ea=L(53927);let es={...Z.Rx,transform:Math.round},eo={borderWidth:ea.px,borderTopWidth:ea.px,borderRightWidth:ea.px,borderBottomWidth:ea.px,borderLeftWidth:ea.px,borderRadius:ea.px,radius:ea.px,borderTopLeftRadius:ea.px,borderTopRightRadius:ea.px,borderBottomRightRadius:ea.px,borderBottomLeftRadius:ea.px,width:ea.px,maxWidth:ea.px,height:ea.px,maxHeight:ea.px,size:ea.px,top:ea.px,right:ea.px,bottom:ea.px,left:ea.px,padding:ea.px,paddingTop:ea.px,paddingRight:ea.px,paddingBottom:ea.px,paddingLeft:ea.px,margin:ea.px,marginTop:ea.px,marginRight:ea.px,marginBottom:ea.px,marginLeft:ea.px,rotate:ea.RW,rotateX:ea.RW,rotateY:ea.RW,rotateZ:ea.RW,scale:Z.bA,scaleX:Z.bA,scaleY:Z.bA,scaleZ:Z.bA,skew:ea.RW,skewX:ea.RW,skewY:ea.RW,distance:ea.px,translateX:ea.px,translateY:ea.px,translateZ:ea.px,x:ea.px,y:ea.px,z:ea.px,perspective:ea.px,transformPerspective:ea.px,opacity:Z.Fq,originX:ea.$C,originY:ea.$C,originZ:ea.px,zIndex:es,fillOpacity:Z.Fq,strokeOpacity:Z.Fq,numOctaves:es}},10220:function(_,C,L){"use strict";L.d(C,{r:function(){return buildHTMLStyles}});var Z=L(79041);let ea={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},es=Z._.length;var eo=L(11030);let getValueAsType=(_,C)=>C&&"number"==typeof _?C.transform(_):_;var el=L(93092);function buildHTMLStyles(_,C,L,eu){let{style:ec,vars:ed,transform:eh,transformOrigin:ep}=_,ef=!1,em=!1,eb=!0;for(let _ in C){let L=C[_];if((0,eo.f9)(_)){ed[_]=L;continue}let ea=el.j[_],es=getValueAsType(L,ea);if(Z.G.has(_)){if(ef=!0,eh[_]=es,!eb)continue;L!==(ea.default||0)&&(eb=!1)}else _.startsWith("origin")?(em=!0,ep[_]=es):ec[_]=es}if(!C.transform&&(ef||eu?ec.transform=function(_,{enableHardwareAcceleration:C=!0,allowTransformNone:L=!0},eo,el){let eu="";for(let C=0;C<es;C++){let L=Z._[C];if(void 0!==_[L]){let C=ea[L]||L;eu+=`${C}(${_[L]}) `}}return C&&!_.z&&(eu+="translateZ(0)"),eu=eu.trim(),el?eu=el(_,eo?"":eu):L&&eo&&(eu="none"),eu}(_.transform,L,eb,eu):ec.transform&&(ec.transform="none")),em){let{originX:_="50%",originY:C="50%",originZ:L=0}=ep;ec.transformOrigin=`${_} ${C} ${L}`}}},27138:function(_,C,L){"use strict";function renderHTML(_,{style:C,vars:L},Z,ea){for(let es in Object.assign(_.style,C,ea&&ea.getProjectionStyles(Z)),L)_.style.setProperty(es,L[es])}L.d(C,{N:function(){return renderHTML}})},33645:function(_,C,L){"use strict";L.d(C,{U:function(){return scrapeMotionValuesFromProps}});var Z=L(45542),ea=L(45044);function scrapeMotionValuesFromProps(_,C){let{style:L}=_,es={};for(let eo in L)((0,ea.i)(L[eo])||C.style&&(0,ea.i)(C.style[eo])||(0,Z.j)(eo,_))&&(es[eo]=L[eo]);return es}},79041:function(_,C,L){"use strict";L.d(C,{G:function(){return ea},_:function(){return Z}});let Z=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ea=new Set(Z)},37088:function(_,C,L){"use strict";L.d(C,{i:function(){return buildSVGAttrs}});var Z=L(10220),ea=L(53927);function calcOrigin(_,C,L){return"string"==typeof _?_:ea.px.transform(C+L*_)}let es={offset:"stroke-dashoffset",array:"stroke-dasharray"},eo={offset:"strokeDashoffset",array:"strokeDasharray"};function buildSVGAttrs(_,{attrX:C,attrY:L,attrScale:el,originX:eu,originY:ec,pathLength:ed,pathSpacing:eh=1,pathOffset:ep=0,...ef},em,eb,ey){if((0,Z.r)(_,ef,em,ey),eb){_.style.viewBox&&(_.attrs.viewB
3094ox=_.style.viewBox);return}_.attrs=_.style,_.style={};let{attrs:eg,style:ev,dimensions:ex}=_;eg.transform&&(ex&&(ev.transform=eg.transform),delete eg.transform),ex&&(void 0!==eu||void 0!==ec||ev.transform)&&(ev.transformOrigin=function(_,C,L){let Z=calcOrigin(C,_.x,_.width),ea=calcOrigin(L,_.y,_.height);return`${Z} ${ea}`}(ex,void 0!==eu?eu:.5,void 0!==ec?ec:.5)),void 0!==C&&(eg.x=C),void 0!==L&&(eg.y=L),void 0!==el&&(eg.scale=el),void 0!==ed&&function(_,C,L=1,Z=0,el=!0){_.pathLength=1;let eu=el?es:eo;_[eu.offset]=ea.px.transform(-Z);let ec=ea.px.transform(C),ed=ea.px.transform(L);_[eu.array]=`${ec} ${ed}`}(eg,ed,eh,ep,!1)}},71983:function(_,C,L){"use strict";L.d(C,{s:function(){return Z}});let Z=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"])},38165:function(_,C,L){"use strict";L.d(C,{a:function(){return isSVGTag}});let isSVGTag=_=>"string"==typeof _&&"svg"===_.toLowerCase()},51364:function(_,C,L){"use strict";L.d(C,{K:function(){return renderSVG}});var Z=L(92235),ea=L(27138),es=L(71983);
3094function renderSVG(_,C,L,eo){for(let L in(0,ea.N)(_,C,void 0,eo),C.attrs)_.setAttribute(es.s.has(L)?L:(0,Z.D)(L),C.attrs[L])}},7645:function(_,C,L){"use strict";L.d(C,{U:function(){return scrapeMotionValuesFromProps}});var Z=L(45044),ea=L(33645),es=L(79041);function scrapeMotionValuesFromProps(_,C){let L=(0,ea.U)(_,C);for(let ea in _)if((0,Z.i)(_[ea])||(0,Z.i)(C[ea])){let C=-1!==es._.indexOf(ea)?"attr"+ea.charAt(0).toUpperCase()+ea.substring(1):ea;L[C]=_[ea]}return L}},19954:function(_,C,L){"use strict";L.d(C,{G:function(){return isControllingVariants},M:function(){return isVariantNode}});var Z=L(43797),ea=L(87645),es=L(12350);function isControllingVariants(_){return(0,Z.H)(_.animate)||es.V.some(C=>(0,ea.$)(_[C]))}function isVariantNode(_){return!!(isControllingVariants(_)||_.variants)}},87645:function(_,C,L){"use strict";function isVariantLabel(_){return"string"==typeof _||Array.isArray(_)}L.d(C,{$:function(){return isVariantLabel}})},85336:function(_,C,L){"use strict";function resolveVariantFromProps(_,C,L,Z={},ea={}){return"function"==typeof C&&(C=C(void 0!==L?L:_.custom,Z,ea)),"string"==typeof C&&(C=_.variants&&_.variants[C]),"function"==typeof C&&(C=C(void 0!==L?L:_.custom,Z,ea)),C}L.d(C,{o:function(){return resolveVariantFromProps}})},12350:function(_,C,L){"use strict";L.d(C,{V:function(){return ea},e:function(){return Z}});let Z=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ea=["initial",...Z]},40248:function(_,C,L){"use strict";function addUniqueItem(_,C){-1===_.indexOf(C)&&_.push(C)}function removeItem(_,C){let L=_.indexOf(C);L>-1&&_.splice(L,1)}L.d(C,{cl:function(){return removeItem},y4:function(){return addUniqueItem}})},24150:function(_,C,L){"use strict";L.d(C,{u:function(){return clamp}});let clamp=(_,C,L)=>Math.min(Math.max(L,_),C)},58315:function(_,C,L){"use strict";L.d(C,{K:function(){return ea},k:function(){return es}});var Z=L(29200);let ea=Z.Z,es=Z.Z},28134:function(_,C,L){"use strict";L.d(C,{j:function(){return Z}});let Z="undefined"!=typeof document},21383:function(_,C,L){"use strict";function isRefObject(_){return"object"==typeof _&&Object.prototype.hasOwnProperty.call(_,"current")}L.d(C,{I:function(){return isRefObject}})},65672:function(_,C,L){"use strict";L.d(C,{W:function(){return isZeroValueString}});let isZeroValueString=_=>/^0[^.\s]+$/.test(_)},10717:function(_,C,L){"use strict";L.d(C,{C:function(){return mix}});let mix=(_,C,L)=>-L*_+L*C+_},29200:function(_,C,L){"use strict";L.d(C,{Z:function(){return noop}});let noop=_=>_},21499:function(_,C,L){"use strict";L.d(C,{z:function(){return pipe}});let combineFunctions=(_,C)=>L=>C(_(L)),pipe=(..._)=>_.reduce(combineFunctions)},13592:function(_,C,L){"use strict";L.d(C,{Y:function(){return progress}});let progress=(_,C,L)=>{let Z=C-_;return 0===Z?1:(L-_)/Z}},97248:function(_,C,L){"use strict";L.d(C,{Y:function(){return resolveFinalValueInKeyframes},p:function(){return isCustomValue}});var Z=L(38480);let isCustomValue=_=>!!(_&&"object"==typeof _&&_.mix&&_.toValue),resolveFinalValueInKeyframes=_=>(0,Z.C)(_)?_[_.length-1]||0:_},55295:function(_,C,L){"use strict";L.d(C,{L:function(){return SubscriptionManager}});var Z=L(40248);let SubscriptionManager=class SubscriptionManager{constructor(){this.subscriptions=[]}add(_){return(0,Z.y4)(this.subscriptions,_),()=>(0,Z.cl)(this.subscriptions,_)}notify(_,C,L){let Z=this.subscriptions.length;if(Z){if(1===Z)this.subscriptions[0](_,C,L);else for(let ea=0;ea<Z;ea++){let Z=this.subscriptions[ea];Z&&Z(_,C,L)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},12575:function(_,C,L){"use strict";L.d(C,{X:function(){return millisecondsToSeconds},w:function(){return secondsToMilliseconds}});let secondsToMilliseconds=_=>1e3*_,millisecondsToSeconds=_=>_/1e3},69518:function(_,C,L){"use strict";L.d(C,{h:function(){return useConstant}});var Z=L(52983);function useConstant(_){let C=(0,Z.useRef)(null);return null===C.current&&(C.current=_()),C.current}},90430:function(_,C,L){"use strict";L.d(C,{L:function(){return es}});var Z=L(52983),ea=L(28134);let es=ea.j?Z.useLayoutEffect:Z.useEffect},81069:function(_,C,L){"use strict";function velocityPerSecond(_,C){return C?_*(1e3/C):0}L.d(C,{R:function(){return velocityPerSecond}})},73768:function(_,C,L){"use strict";L.d(C,{BX:function(){return motionValue}});var Z=L(55295),ea=L(81069),es=L(47665);let isFloat=_=>!isNaN(parseFloat(_)),eo={current:void 0};let MotionValue=class MotionValue{constructor(_,C={}){this.version="10.16.4",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(_,C=!0)=>{this.prev=this.current,this.current=_;let{delta:L,timestamp:Z}=es.frameData;this.lastUpdated!==Z&&(this.timeDelta=L,this.lastUpdated=Z,es.Wi.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),C&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>es.Wi.postRender(this.velocityCheck),this.velocityCheck=({timestamp:_})=>{_!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=_,this.canTrackVelocity=isFloat(this.current),this.owner=C.owner}onChange(_){return this.on("change",_)}on(_,C){this.events[_]||(this.events[_]=new Z.L);let L=this.events[_].add(C);return"change"===_?()=>{L(),es.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:L}clearListeners(){for(let _ in this.events)this.events[_].clear()}attach(_,C){this.passiveEffect=_,this.stopPassiveEffect=C}set(_,C=!0){C&&this.passiveEffect?this.passiveEffect(_,this.updateAndNotify):this.updateAndNotify(_,C)}setWithVelocity(_,C,L){this.set(C),this.prev=_,this.timeDelta=L}jump(_){this.updateAndNotify(_),this.prev=_,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return eo.current&&eo.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?(0,ea.R)(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(_){return this.stop(),new Promise(C=>{this.hasAnimated=!0,this.animation=_(C),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function motionValue(_,C){return new MotionValue(_,C)}},94644:function(_,C,L){"use strict";L.d(C,{$:function(){return es}});var Z=L(47012),ea=L(46332);let es={test:(0,ea.i)("#"),parse:function(_){let C="",L="",Z="",ea="";return _.length>5?(C=_.substring(1,3),L=_.substring(3,5),Z=_.substring(5,7),ea=_.substring(7,9)):(C=_.substring(1,2),L=_.substring(2,3),Z=_.substring(3,4),ea=_.substring(4,5),C+=C,L+=L,Z+=Z,ea+=ea),{red:parseInt(C,16),green:parseInt(L,16),blue:parseInt(Z,16),alph
3094a:ea?parseInt(ea,16)/255:1}},transform:Z.m.transform}},83734:function(_,C,L){"use strict";L.d(C,{J:function(){return el}});var Z=L(9070),ea=L(53927),es=L(33601),eo=L(46332);let el={test:(0,eo.i)("hsl","hue"),parse:(0,eo.d)("hue","saturation","lightness"),transform:({hue:_,saturation:C,lightness:L,alpha:eo=1})=>"hsla("+Math.round(_)+", "+ea.aQ.transform((0,es.Nw)(C))+", "+ea.aQ.transform((0,es.Nw)(L))+", "+(0,es.Nw)(Z.Fq.transform(eo))+")"}},90576:function(_,C,L){"use strict";L.d(C,{$:function(){return el}});var Z=L(33601),ea=L(94644),es=L(83734),eo=L(47012);let el={test:_=>eo.m.test(_)||ea.$.test(_)||es.J.test(_),parse:_=>eo.m.test(_)?eo.m.parse(_):es.J.test(_)?es.J.parse(_):ea.$.parse(_),transform:_=>(0,Z.HD)(_)?_:_.hasOwnProperty("red")?eo.m.transform(_):es.J.transform(_)}},47012:function(_,C,L){"use strict";L.d(C,{m:function(){return eu}});var Z=L(24150),ea=L(9070),es=L(33601),eo=L(46332);let clampRgbUnit=_=>(0,Z.u)(0,255,_),el={...ea.Rx,transform:_=>Math.round(clampRgbUnit(_))},eu={test:(0,eo.i)("rgb","red"),parse:(0,eo.d)("red","green","blue"),transform:({red:_,green:C,blue:L,alpha:Z=1})=>"rgba("+el.transform(_)+", "+el.transform(C)+", "+el.transform(L)+", "+(0,es.Nw)(ea.Fq.transform(Z))+")"}},46332:function(_,C,L){"use strict";L.d(C,{d:function(){return splitColor},i:function(){return isColorString}});var Z=L(33601);let isColorString=(_,C)=>L=>!!((0,Z.HD)(L)&&Z.mj.test(L)&&L.startsWith(_)||C&&Object.prototype.hasOwnProperty.call(L,C)),splitColor=(_,C,L)=>ea=>{if(!(0,Z.HD)(ea))return ea;let[es,eo,el,eu]=ea.match(Z.KP);return{[_]:parseFloat(es),[C]:parseFloat(eo),[L]:parseFloat(el),alpha:void 0!==eu?parseFloat(eu):1}}},92671:function(_,C,L){"use strict";L.d(C,{h:function(){return el}});var Z=L(34852),ea=L(33601);let es=new Set(["brightness","contrast","saturate","opacity"]);function applyDefaultFilter(_){let[C,L]=_.slice(0,-1).split("(");if("drop-shadow"===C)return _;let[Z]=L.match(ea.KP)||[];if(!Z)return _;let eo=L.replace(Z,""),el=es.has(C)?1:0;return Z!==L&&(el*=100),C+"("+el+eo+")"}let eo=/([a-z-]*)\(.*?\)/g,el={...Z.P,getAnimatableNone:_=>{let C=_.match(eo);return C?C.map(applyDefaultFilter).join(" "):_}}},34852:function(_,C,L){"use strict";L.d(C,{P:function(){return eh},V:function(){return analyseComplexValue}});var Z=L(11030),ea=L(29200),es=L(90576),eo=L(9070),el=L(33601);let eu={regex:Z.Xp,countKey:"Vars",token:"${v}",parse:ea.Z},ec={regex:el.dA,countKey:"Colors",token:"${c}",parse:es.$.parse},ed={regex:el.KP,countKey:"Numbers",token:"${n}",parse:eo.Rx.parse};function tokenise(_,{regex:C,countKey:L,token:Z,parse:ea}){let es=_.tokenised.match(C);es&&(_["num"+L]=es.length,_.tokenised=_.tokenised.replace(C,Z),_.values.push(...es.map(ea)))}function analyseComplexValue(_){let C=_.toString(),L={value:C,tokenised:C,values:[],numVars:0,numColors:0,numNumbers:0};return L.value.includes("var(--")&&tokenise(L,eu),tokenise(L,ec),tokenise(L,ed),L}function parseComplexValue(_){return analyseComplexValue(_).values}function createTransformer(_){let{values:C,numColors:L,numVars:Z,tokenised:ea}=analyseComplexValue(_),eo=C.length;return _=>{let C=ea;for(let ea=0;ea<eo;ea++)C=ea<Z?C.replace(eu.token,_[ea]):ea<Z+L?C.replace(ec.token,es.$.transform(_[ea])):C.replace(ed.token,(0,el.Nw)(_[ea]));return C}}let convertNumbersToZero=_=>"number"==typeof _?0:_,eh={test:function(_){var C,L;return isNaN(_)&&(0,el.HD)(_)&&((null===(C=_.match(el.KP))||void 0===C?void 0:C.length)||0)+((null===(L=_.match(el.dA))||void 0===L?void 0:L.length)||0)>0},parse:parseComplexValue,createTransformer,getAnimatableNone:function(_){let C=parseComplexValue(_),L=createTransformer(_);return L(C.map(convertNumbersToZero))}}},9070:function(_,C,L){"use strict";L.d(C,{Fq:function(){return es},Rx:function(){return ea},bA:function(){return eo}});var Z=L(24150);let ea={test:_=>"number"==typeof _,parse:parseFloat,transform:_=>_},es={...ea,transform:_=>(0,Z.u)(0,1,_)},eo={...ea,default:1}},53927:function(_,C,L){"use strict";L.d(C,{$C:function(){return ec},RW:function(){return ea},aQ:function(){return es},px:function(){return eo},vh:function(){return el},vw:function(){return eu}});var Z=L(33601);let createUnitType=_=>({test:C=>(0,Z.HD)(C)&&C.endsWith(_)&&1===C.split(" ").length,parse:parseFloat,transform:C=>
3094`${C}${_}`}),ea=createUnitType("deg"),es=createUnitType("%"),eo=createUnitType("px"),el=createUnitType("vh"),eu=createUnitType("vw"),ec={...es,parse:_=>es.parse(_)/100,transform:_=>es.transform(100*_)}},33601:function(_,C,L){"use strict";L.d(C,{HD:function(){return isString},KP:function(){return Z},Nw:function(){return sanitize},dA:function(){return ea},mj:function(){return es}});let sanitize=_=>Math.round(1e5*_)/1e5,Z=/(-)?([\d]*\.?[\d])+/g,ea=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,es=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function isString(_){return"string"==typeof _}},45044:function(_,C,L){"use strict";L.d(C,{i:function(){return isMotionValue}});let isMotionValue=_=>!!(_&&_.getVelocity)},96524:function(_,C,L){"use strict";L.d(C,{b:function(){return resolveMotionValue}});var Z=L(97248),ea=L(45044);function resolveMotionValue(_){let C=(0,ea.i)(_)?_.get():_;return(0,Z.p)(C)?C.toValue():C}},48796:function(_,C,L){"use strict";L.r(C),L.d(C,{WebSocket:function(){return Z}});let Z=function(){if("undefined"!=typeof WebSocket)return WebSocket;if(void 0!==global.WebSocket)return global.WebSocket;if(void 0!==window.WebSocket)return window.WebSocket;if(void 0!==self.WebSocket)return self.WebSocket;throw Error("`WebSocket` is not supported in this environment")}()},42843:function(_,C,L){"use strict";L.d(C,{Dv:function(){return useAtomValue},KO:function(){return useAtom},b9:function(){return useSetAtom}});var Z=L(52983),ea=L(80440);let es=(0,Z.createContext)(void 0),useStore=_=>{let C=(0,Z.useContext)(es);return(null==_?void 0:_.store)||C||(0,ea.K7)()},isPromiseLike=_=>"function"==typeof(null==_?void 0:_.then),eo=Z.use||(_=>{if("pending"===_.status)throw _;if("fulfilled"===_.status)return _.value;if("rejected"===_.status)throw _.reason;throw _.status="pending",_.then(C=>{_.status="fulfilled",_.value=C},C=>{_.status="rejected",_.reason=C}),_});function useAtomValue(_,C){let L=useStore(C),[[ea,es,el],eu]=(0,Z.useReducer)(C=>{let Z=L.get(_);return Object.is(C[0],Z)&&C[1]===L&&C[2]===_?C:[Z,L,_]},void 0,()=>[L.get(_),L,_]),ec=ea;(es!==L||el!==_)&&(eu(),ec=L.get(_));let ed=null==C?void 0:C.delay;return(0,Z.useEffect)(()=>{let C=L.sub(_,()=>{if("number"==typeof ed){setTimeout(eu,ed);return}eu()});return eu(),C},[L,_,ed]),(0,Z.useDebugValue)(ec),isPromiseLike(ec)?eo(ec):ec}function useSetAtom(_,C){let L=useStore(C),ea=(0,Z.useCallback)((...C)=>{if(!("write"in _))throw Error("not writable atom");return L.set(_,...C)},[L,_]);return ea}function useAtom(_,C){return[useAtomValue(_,C),useSetAtom(_,C)]}},80440:function(_,C,L){"use strict";let Z;L.d(C,{K7:function(){return getDefaultStore},cn:function(){return atom}});let ea=0;function atom(_,C){let L=`atom${++ea}`,Z={toString:()=>L};return"function"==typeof _?Z.read=_:(Z.init=_,Z.read=function(_){return _(this)},Z.write=function(_,C,L){return C(this,"function"==typeof L?L(_(this)):L)}),C&&(Z.write=C),Z}let hasInitialValue=_=>"init"in _,isActuallyWritableAtom=_=>!!_.write,es=new WeakMap,registerCancelPromise=(_,C)=>{es.set(_,C),_.catch(()=>{}).finally(()=>es.delete(_))},cancelPromise=(_,C)=>{let L=es.get(_);L&&(es.delete(_),L(C))},resolvePromise=(_,C)=>{_.status="fulfilled",_.value=C},rejectPromise=(_,C)=>{_.status="rejected",_.reason=C},isPromiseLike=_=>"function"==typeof(null==_?void 0:_.then),isEqualAtomValue=(_,C)=>!!_&&"v"in _&&"v"in C&&Object.is(_.v,C.v),isEqualAtomError=(_,C)=>!!_&&"e"in _&&"e"in C&&Object.is(_.e,C.e),hasPromiseAtomValue=_=>!!_&&"v"in _&&_.v instanceof Promise,isEqualPromiseAtomValue=(_,C)=>"v"in _&&"v"in C&&_.v.orig&&_.v.orig===C.v.orig,returnAtomValue=_=>{if("e"in _)throw _.e;return _.v},createStore=()=>{let _,C;let L=new WeakMap,Z=new WeakMap,ea=new Map;_=new Set,C=new Set;let getAtomState=_=>L.get(_),setAtomState=(_,C)=>{Object.freeze(C);let Z=L.get(_);if(L.set(_,C),ea.has(_)||ea.set(_,Z),hasPromiseAtomValue(Z)){let _="v"in C?C.v instanceof Promise?C.v:Promise.resolve(C.v):Promise.reject(C.e);Z.v!==_&&cancelPromise(Z.v,_)}},updateDependencies=(_,C,L)=>{let Z=new Map,ea=!1;
3094L.forEach((L,es)=>{L||es!==_||(L=C),L?(Z.set(es,L),C.d.get(es)!==L&&(ea=!0)):console.warn("[Bug] atom state not found")}),(ea||C.d.size!==Z.size)&&(C.d=Z)},setAtomValue=(_,C,L)=>{let Z=getAtomState(_),ea={d:(null==Z?void 0:Z.d)||new Map,v:C};if(L&&updateDependencies(_,ea,L),isEqualAtomValue(Z,ea)&&Z.d===ea.d)return Z;if(hasPromiseAtomValue(Z)&&hasPromiseAtomValue(ea)&&isEqualPromiseAtomValue(Z,ea)){if(Z.d===ea.d)return Z;ea.v=Z.v}return setAtomState(_,ea),ea},setAtomValueOrPromise=(_,C,L,ea)=>{if(isPromiseLike(C)){let es;let updatePromiseDependencies=()=>{let C=getAtomState(_);if(!hasPromiseAtomValue(C)||C.v!==eo)return;let ea=setAtomValue(_,eo,L);Z.has(_)&&C.d!==ea.d&&mountDependencies(_,ea,C.d)},eo=new Promise((_,L)=>{let Z=!1;C.then(C=>{Z||(Z=!0,resolvePromise(eo,C),_(C),updatePromiseDependencies())},_=>{Z||(Z=!0,rejectPromise(eo,_),L(_),updatePromiseDependencies())}),es=C=>{Z||(Z=!0,C.then(_=>resolvePromise(eo,_),_=>rejectPromise(eo,_)),_(C))}});return eo.orig=C,eo.status="pending",registerCancelPromise(eo,_=>{_&&es(_),null==ea||ea()}),setAtomValue(_,eo,L)}return setAtomValue(_,C,L)},setAtomError=(_,C,L)=>{let Z=getAtomState(_),ea={d:(null==Z?void 0:Z.d)||new Map,e:C};return(L&&updateDependencies(_,ea,L),isEqualAtomError(Z,ea)&&Z.d===ea.d)?Z:(setAtomState(_,ea),ea)},readAtomState=(_,C)=>{let L,ea;let es=getAtomState(_);if(!C&&es&&(Z.has(_)||Array.from(es.d).every(([C,L])=>{if(C===_)return!0;let Z=readAtomState(C);return Z===L||isEqualAtomValue(Z,L)})))return es;let eo=new Map,el=!0;try{let C=_.read(C=>{if(C===_){let _=getAtomState(C);if(_)return eo.set(C,_),returnAtomValue(_);if(hasInitialValue(C))return eo.set(C,void 0),C.init;throw Error("no atom init")}let L=readAtomState(C);return eo.set(C,L),returnAtomValue(L)},{get signal(){return L||(L=new AbortController),L.signal},get setSelf(){return isActuallyWritableAtom(_)||console.warn("setSelf function cannot be used with read-only atom"),!ea&&isActuallyWritableAtom(_)&&(ea=(...C)=>{if(el&&console.warn("setSelf function cannot be called in sync"),!el)return writeAtom(_,...C)}),ea}});return setAtomValueOrPromise(_,C,eo,()=>null==L?void 0:L.abort())}catch(C){return setAtomError(_,C,eo)}finally{el=!1}},addAtom=_=>{let C=Z.get(_);return C||(C=mountAtom(_)),C},canUnmountAtom=(_,C)=>!C.l.size&&(!C.t.size||1===C.t.size&&C.t.has(_)),delAtom=_=>{let C=Z.get(_);C&&canUnmountAtom(_,C)&&unmountAtom(_)},recomputeDependents=_=>{let C=new Map,L=new WeakMap,getDependents=_=>{var C;let L=new Set(null==(C=Z.get(_))?void 0:C.t);return ea.forEach((C,Z)=>{var ea;(null==(ea=getAtomState(Z))?void 0:ea.d.has(_))&&L.add(Z)}),L},loop1=_=>{getDependents(_).forEach(Z=>{Z!==_&&(C.set(Z,(C.get(Z)||new Set).add(_)),L.set(Z,(L.get(Z)||0)+1),loop1(Z))})};loop1(_);let loop2=_=>{getDependents(_).forEach(Z=>{var ea;if(Z!==_){let _=L.get(Z);if(_&&L.set(Z,--_),!_){let _=!!(null==(ea=C.get(Z))?void 0:ea.size);if(_){let C=getAtomState(Z),L=readAtomState(Z,!0);_=!isEqualAtomValue(C,L)}_||C.forEach(_=>_.delete(Z))}loop2(Z)}})};loop2(_)},writeAtomState=(C,...L)=>{let Z=!0,ea=C.write(_=>returnAtomValue(readAtomState(_)),(L,...ea)=>{let es;if(L===C){if(!hasInitialValue(L))throw Error("atom not writable");let _=getAtomState(L),C=setAtomValueOrPromise(L,ea[0]);isEqualAtomValue(_,C)||recomputeDependents(L)}else es=writeAtomState(L,...ea);if(!Z){let C=flushPending();_.forEach(_=>_({type:"async-write",flushed:C}))}return es},...L);return Z=!1,ea},writeAtom=(C,...L)=>{let Z=writeAtomState(C,...L),ea=flushPending();return _.forEach(_=>_({type:"write",flushed:ea})),Z},mountAtom=(_,L,ea)=>{var es;let eo=ea||[];null==(es=getAtomState(_))||es.d.forEach((C,L)=>{let ea=Z.get(L);ea?ea.t.add(_):L!==_&&mountAtom(L,_,eo)}),readAtomState(_);let el={t:new Set(L&&[L]),l:new Set};if(Z.set(_,el),C.add(_),isActuallyWritableAtom(_)&&_.onMount){let{onMount:C}=_;eo.push(()=>{let L=C((...C)=>writeAtom(_,...C));L&&(el.u=L)})}return ea||eo.forEach(_=>_()),el},unmountAtom=_=>{var L;let ea=null==(L=Z.get(_))?void 0:L.u;ea&&ea(),Z.delete(_),C.delete(_);let es=getAtomState(_);es?(hasPromiseAtomValue(es)&&cancelPromise(es.v),es.d.forEach((C,L)=>{if(L!==_){let C=Z.get(L);C&&(C.t.delete(_),canUnmountAtom(L,C)&&unmountAtom(L))}})):console.warn("[Bug] could not find atom state to unmount",_)},mountDependencies=(_,C,L)=>{let ea=new Set(C.d.keys());
3094null==L||L.forEach((C,L)=>{if(ea.has(L)){ea.delete(L);return}let es=Z.get(L);es&&(es.t.delete(_),canUnmountAtom(L,es)&&unmountAtom(L))}),ea.forEach(C=>{let L=Z.get(C);L?L.t.add(_):Z.has(_)&&mountAtom(C,_)})},flushPending=()=>{let _;for(_=new Set;ea.size;){let C=Array.from(ea);ea.clear(),C.forEach(([C,L])=>{let ea=getAtomState(C);if(ea){let es=Z.get(C);es&&ea.d!==(null==L?void 0:L.d)&&mountDependencies(C,ea,null==L?void 0:L.d),es&&!(!hasPromiseAtomValue(L)&&(isEqualAtomValue(L,ea)||isEqualAtomError(L,ea)))&&(es.l.forEach(_=>_()),_.add(C))}else console.warn("[Bug] no atom state to flush")})}return _};return{get:_=>returnAtomValue(readAtomState(_)),set:writeAtom,sub:(C,L)=>{let Z=addAtom(C),ea=flushPending(),es=Z.l;return es.add(L),_.forEach(_=>_({type:"sub",flushed:ea})),()=>{es.delete(L),delAtom(C),_.forEach(_=>_({type:"unsub"}))}},dev_subscribe_store:(C,L)=>{if(2!==L)throw Error("The current StoreListener revision is 2.");return _.add(C),()=>{_.delete(C)}},dev_get_mounted_atoms:()=>C.values(),dev_get_atom_state:_=>L.get(_),dev_get_mounted:_=>Z.get(_),dev_restore_atoms:C=>{for(let[_,L]of C)hasInitialValue(_)&&(setAtomValueOrPromise(_,L),recomputeDependents(_));let L=flushPending();_.forEach(_=>_({type:"restore",flushed:L}))}}};"number"==typeof globalThis.__NUMBER_OF_JOTAI_INSTANCES__?++globalThis.__NUMBER_OF_JOTAI_INSTANCES__:globalThis.__NUMBER_OF_JOTAI_INSTANCES__=1;let getDefaultStore=()=>(Z||(1!==globalThis.__NUMBER_OF_JOTAI_INSTANCES__&&console.warn("Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044"),Z=createStore()),Z)},54367:function(_,C,L){"use strict";L.d(C,{FL:function(){return createJSONStorage},O4:function(){return atomWithStorage},n7:function(){return loadable},w0:function(){return atomWithReducer}});var Z=L(80440);let ea=Symbol();function atomWithReducer(_,C){let L=(0,Z.cn)(_,(_,Z,ea)=>Z(L,C(_(L),ea)));return L}let isPromiseLike=_=>"function"==typeof(null==_?void 0:_.then);function createJSONStorage(_){let C,L;let Z={getItem:(Z,ea)=>{var es,eo;let parse=_=>{if(C!==(_=_||"")){try{L=JSON.parse(_)}catch{return ea}C=_}return L},el=null!=(eo=null==(es=_())?void 0:es.getItem(Z))?eo:null;return isPromiseLike(el)?el.then(parse):parse(el)},setItem:(C,L)=>{var Z;return null==(Z=_())?void 0:Z.setItem(C,JSON.stringify(L))},removeItem:C=>{var L;return null==(L=_())?void 0:L.removeItem(C)}};return"undefined"!=typeof window&&"function"==typeof window.addEventListener&&window.Storage&&(Z.subscribe=(C,L,Z)=>{if(!(_() instanceof window.Storage))return()=>{};let storageEventCallback=ea=>{if(ea.storageArea===_()&&ea.key===C){let _;try{_=JSON.parse(ea.newValue||"")}catch{_=Z}L(_)}};return window.addEventListener("storage",storageEventCallback),()=>{window.removeEventListener("storage",storageEventCallback)}}),Z}let es=createJSONStorage(()=>"undefined"!=typeof window?window.localStorage:void 0);function atomWithStorage(_,C,L=es,eo){let el=null==eo?void 0:eo.getOnInit,eu=(0,Z.cn)(el?L.getItem(_,C):C);eu.debugPrivate=!0,eu.onMount=Z=>{let ea;return el||Z(L.getItem(_,C)),L.subscribe&&(ea=L.subscribe(_,Z,C)),ea};let ec=(0,Z.cn)(_=>_(eu),(Z,es,eo)=>{let el="function"==typeof eo?eo(Z(eu)):eo;return el===ea?(es(eu,C),L.removeItem(_)):el instanceof Promise?el.then(C=>(es(eu,C),L.setItem(_,C))):(es(eu,el),L.setItem(_,el))});return ec}let eo=new WeakMap,memo1=(_,C)=>(eo.has(C)?eo:eo.set(C,_())).get(C),el={state:"loading"};function loadable(_){return memo1(()=>{let C=new WeakMap,L=(0,Z.cn)(0);L.debugPrivate=!0;let ea=(0,Z.cn)((Z,{setSelf:ea})=>{let es;Z(L);try{es=Z(_)}catch(_){return{state:"hasError",error:_}}if(!(es instanceof Promise))return{state:"hasData",data:es};let eo=es,eu=C.get(eo);return eu||(C.set(eo,el),eo.then(_=>{C.set(eo,{state:"hasData",data:_})},_=>{C.set(eo,{state:"hasError",error:_})}).finally(ea),el)},(_,C)=>{C(L,_=>_+1)});return ea.debugPrivate=!0,(0,Z.cn)(_=>_(ea))},_)}},72118:function(_,C,L){"use strict";/*! js-cookie v3.0.5 | MIT */function assign(_){for(var C=1;C<arguments.length;C++){var L=arguments[C];for(var Z in L)_[Z]=L[Z]}return _}L.d(C,{Z:function(){return Z}});var Z=function init(_,C){function set(L,Z,ea){if("undefined"!=typeof document){"number"==typeof(ea=assign({},C,ea)).expires&&(ea.expires=new Date(Date.now()+864e5*ea.expires)),ea.expires&&(ea.expires=ea.expires.toUTCString()),L=encodeURIComponent(L).replace(/%(2[346B]|5E|60|7C)/g,decode
3094URIComponent).replace(/[()]/g,escape);var es="";for(var eo in ea)ea[eo]&&(es+="; "+eo,!0!==ea[eo]&&(es+="="+ea[eo].split(";")[0]));return document.cookie=L+"="+_.write(Z,L)+es}}return Object.create({set,get:function(C){if("undefined"!=typeof document&&(!arguments.length||C)){for(var L=document.cookie?document.cookie.split("; "):[],Z={},ea=0;ea<L.length;ea++){var es=L[ea].split("="),eo=es.slice(1).join("=");try{var el=decodeURIComponent(es[0]);if(Z[el]=_.read(eo,el),C===el)break}catch(_){}}return C?Z[C]:Z}},remove:function(_,C){set(_,"",assign({},C,{expires:-1}))},withAttributes:function(_){return init(this.converter,assign({},this.attributes,_))},withConverter:function(_){return init(assign({},this.converter,_),this.attributes)}},{attributes:{value:Object.freeze(C)},converter:{value:Object.freeze(_)}})}({read:function(_){return'"'===_[0]&&(_=_.slice(1,-1)),_.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(_){return encodeURIComponent(_).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})},79448:function(_,C,L){"use strict";function size(_){var C=_.width,L=_.height;if(C<0)throw Error("Negative width is not allowed for Size");if(L<0)throw Error("Negative height is not allowed for Size");return{width:C,height:L}}function equalSizes(_,C){return _.width===C.width&&_.height===C.height}L.d(C,{Mr:function(){return ew},TD:function(){return em},C2:function(){return Ce}});var Z,ea,es,eo,el,eu,ec,ed,eh,ep,ef,em,eb,ey,eg,ev,ex,e_,ew,eC,eT,eq=function(){function Observable(_){var C=this;this._resolutionListener=function(){return C._onResolutionChanged()},this._resolutionMediaQueryList=null,this._observers=[],this._window=_,this._installResolutionListener()}return Observable.prototype.dispose=function(){this._uninstallResolutionListener(),this._window=null},Object.defineProperty(Observable.prototype,"value",{get:function(){return this._window.devicePixelRatio},enumerable:!1,configurable:!0}),Observable.prototype.subscribe=function(_){var C=this,L={next:_};return this._observers.push(L),{unsubscribe:function(){C._observers=C._observers.filter(function(_){return _!==L})}}},Observable.prototype._installResolutionListener=function(){if(null!==this._resolutionMediaQueryList)throw Error("Resolution listener is already installed");var _=this._window.devicePixelRatio;this._resolutionMediaQueryList=this._window.matchMedia("all and (resolution: ".concat(_,"dppx)")),this._resolutionMediaQueryList.addListener(this._resolutionListener)},Observable.prototype._uninstallResolutionListener=function(){null!==this._resolutionMediaQueryList&&(this._resolutionMediaQueryList.removeListener(this._resolutionListener),this._resolutionMediaQueryList=null)},Observable.prototype._reinstallResolutionListener=function(){this._uninstallResolutionListener(),this._installResolutionListener()},Observable.prototype._onResolutionChanged=function(){var _=this;this._observers.forEach(function(C){return C.next(_._window.devicePixelRatio)}),this._reinstallResolutionListener()},Observable}(),ek=function(){function DevicePixelContentBoxBinding(_,C,L){var Z;this._canvasElement=null,this._bitmapSizeChangedListeners=[],this._suggestedBitmapSize=null,this._suggestedBitmapSizeChangedListeners=[],this._devicePixelRatioObservable=null,this._canvasElementResizeObserver=null,this._canvasElement=_,this._canvasElementClientSize=size({width:this._canvasElement.clientWidth,height:this._canvasElement.clientHeight}),this._transformBitmapSize=null!=C?C:function(_){return _},this._allowResizeObserver=null===(Z=null==L?void 0:L.allowResizeObserver)||void 0===Z||Z,this._chooseAndInitObserver()}return DevicePixelContentBoxBinding.prototype.dispose=function(){var _,C;if(null===this._canvasElement)throw Error("Object is disposed");null===(_=this._canvasElementResizeObserver)||void 0===_||_.disconnect(),this._canvasElementResizeObserver=null,null===(C=this._devicePixelRatioObservable)||void 0===C||C.dispose(),this._devicePixelRatioObservable=null,this._suggestedBitmapSizeChangedListeners.length=0,this._bitmapSizeChangedListeners.length=0,this._canvasElement=null},Object.defineProperty(DevicePixelContentBoxBinding.prototype,"canvasElement",{get:function(){if(null===this._canvasElement)throw Error("Object is disposed");return this._canvasElement}
3094,enumerable:!1,configurable:!0}),Object.defineProperty(DevicePixelContentBoxBinding.prototype,"canvasElementClientSize",{get:function(){return this._canvasElementClientSize},enumerable:!1,configurable:!0}),Object.defineProperty(DevicePixelContentBoxBinding.prototype,"bitmapSize",{get:function(){return size({width:this.canvasElement.width,height:this.canvasElement.height})},enumerable:!1,configurable:!0}),DevicePixelContentBoxBinding.prototype.resizeCanvasElement=function(_){this._canvasElementClientSize=size(_),this.canvasElement.style.width="".concat(this._canvasElementClientSize.width,"px"),this.canvasElement.style.height="".concat(this._canvasElementClientSize.height,"px"),this._invalidateBitmapSize()},DevicePixelContentBoxBinding.prototype.subscribeBitmapSizeChanged=function(_){this._bitmapSizeChangedListeners.push(_)},DevicePixelContentBoxBinding.prototype.unsubscribeBitmapSizeChanged=function(_){this._bitmapSizeChangedListeners=this._bitmapSizeChangedListeners.filter(function(C){return C!==_})},Object.defineProperty(DevicePixelContentBoxBinding.prototype,"suggestedBitmapSize",{get:function(){return this._suggestedBitmapSize},enumerable:!1,configurable:!0}),DevicePixelContentBoxBinding.prototype.subscribeSuggestedBitmapSizeChanged=function(_){this._suggestedBitmapSizeChangedListeners.push(_)},DevicePixelContentBoxBinding.prototype.unsubscribeSuggestedBitmapSizeChanged=function(_){this._suggestedBitmapSizeChangedListeners=this._suggestedBitmapSizeChangedListeners.filter(function(C){return C!==_})},DevicePixelContentBoxBinding.prototype.applySuggestedBitmapSize=function(){if(null!==this._suggestedBitmapSize){var _=this._suggestedBitmapSize;this._suggestedBitmapSize=null,this._resizeBitmap(_),this._emitSuggestedBitmapSizeChanged(_,this._suggestedBitmapSize)}},DevicePixelContentBoxBinding.prototype._resizeBitmap=function(_){var C=this.bitmapSize;equalSizes(C,_)||(this.canvasElement.width=_.width,this.canvasElement.height=_.height,this._emitBitmapSizeChanged(C,_))},DevicePixelContentBoxBinding.prototype._emitBitmapSizeChanged=function(_,C){var L=this;this._bitmapSizeChangedListeners.forEach(function(Z){return Z.call(L,_,C)})},DevicePixelContentBoxBinding.prototype._suggestNewBitmapSize=function(_){var C=this._suggestedBitmapSize,L=size(this._transformBitmapSize(_,this._canvasElementClientSize)),Z=equalSizes(this.bitmapSize,L)?null:L;null===C&&null===Z||null!==C&&null!==Z&&equalSizes(C,Z)||(this._suggestedBitmapSize=Z,this._emitSuggestedBitmapSizeChanged(C,Z))},DevicePixelContentBoxBinding.prototype._emitSuggestedBitmapSizeChanged=function(_,C){var L=this;this._suggestedBitmapSizeChangedListeners.forEach(function(Z){return Z.call(L,_,C)})},DevicePixelContentBoxBinding.prototype._chooseAndInitObserver=function(){var _=this;if(!this._allowResizeObserver){this._initDevicePixelRatioObservable();return}new Promise(function(_){var C=new ResizeObserver(function(L){_(L.every(function(_){return"devicePixelContentBoxSize"in _})),C.disconnect()});C.observe(document.body,{box:"device-pixel-content-box"})}).catch(function(){return!1}).then(function(C){return C?_._initResizeObserver():_._initDevicePixelRatioObservable()})},DevicePixelContentBoxBinding.prototype._initDevicePixelRatioObservable=function(){var _=this;if(null!==this._canvasElement){var C=canvasElementWindow(this._canvasElement);if(null===C)throw Error("No window is associated with the canvas");this._devicePixelRatioObservable=new eq(C),this._devicePixelRatioObservable.subscribe(function(){return _._invalidateBitmapSize()}),this._invalidateBitmapSize()}},DevicePixelContentBoxBinding.prototype._invalidateBitmapSize=function(){if(null!==this._canvasElement){var _,C,L=canvasElementWindow(this._canvasElement);if(null!==L){var Z,ea=null!==(C=null===(_=this._devicePixelRatioObservable)||void 0===_?void 0:_.value)&&void 0!==C?C:L.devicePixelRatio,es=this._canvasElement.getClientRects(),eo=void 0!==es[0]?size({width:Math.round((Z=es[0]).left*ea+Z.width*ea)-Math.round(Z.left*ea),height:Math.round(Z.top*ea+Z.height*ea)-Math.round(Z.top*ea)}):size({width:this._canvasElementClientSize.width*ea,height:this._canvasElementClientSize.height*ea});this._suggestNewBitmapSize(eo)}}},DevicePixelContentBoxBinding.prototype._initResizeObserver=function(){var _=this;null!==this._canvasElement&&(this._canvasElementResizeObserver=new ResizeObserver(function(C){var L=C.find(function(C){return C.target===_._canvasElement});if(L&&L.devicePixelContentBoxSize&&L.devicePixelContentBoxSize[0]){var Z=L.devicePixelContentBoxSize[0],ea=size({width:Z.inlineSize,height:Z.blockSize});_._suggestNewBitmapSize(ea)}}),this._canvasElementResizeObserver.observe(this._canvasElement,{box:"device-pixel-content-box"}))},DevicePixelContentBoxBinding}();function canvasElementWindow(_){return _.ownerDocument.defaultView}var eS=function(){function CanvasRenderingTarget2D(_,C,L){if(0===C.width||0===C.height)throw TypeError("Rendering target could only be created on a media with positive width and height");if(this._mediaSize=C,0===L.width||0===L.height)throw TypeError("Rendering target could only be created using a bitmap with positive integer width and height");this._bitmapSize=L,this._context=_}return CanvasRenderingTarget2D.prototype.useMediaCoordinateSpace=function(_){try{return this._context.save(),this._context.setTransform(1,0,0,1,0,0),this._context.scale(this._horizontalPixelRatio,this._verticalPixelRatio),_({context:this._context,mediaSize:this._mediaSize})}
3094finally{this._context.restore()}},CanvasRenderingTarget2D.prototype.useBitmapCoordinateSpace=function(_){try{return this._context.save(),this._context.setTransform(1,0,0,1,0,0),_({context:this._context,mediaSize:this._mediaSize,bitmapSize:this._bitmapSize,horizontalPixelRatio:this._horizontalPixelRatio,verticalPixelRatio:this._verticalPixelRatio})}finally{this._context.restore()}},Object.defineProperty(CanvasRenderingTarget2D.prototype,"_horizontalPixelRatio",{get:function(){return this._bitmapSize.width/this._mediaSize.width},enumerable:!1,configurable:!0}),Object.defineProperty(CanvasRenderingTarget2D.prototype,"_verticalPixelRatio",{get:function(){return this._bitmapSize.height/this._mediaSize.height},enumerable:!1,configurable:!0}),CanvasRenderingTarget2D}();function tryCreateCanvasRenderingTarget2D(_,C){var L=_.canvasElementClientSize;if(0===L.width||0===L.height)return null;var Z=_.bitmapSize;if(0===Z.width||0===Z.height)return null;var ea=_.canvasElement.getContext("2d",C);return null===ea?null:new eS(ea,L,Z)}/*!
3095 * @license
3096 * TradingView Lightweight Charts™ v4.1.1
3097 * Copyright (c) 2023 TradingView, Inc.
3098 * Licensed under Apache License 2.0 https://www.apache.org/licenses/LICENSE-2.0
3099 */let eE={upColor:"#26a69a",downColor:"#ef5350",wickVisible:!0,borderVisible:!0,borderColor:"#378658",borderUpColor:"#26a69a",borderDownColor:"#ef5350",wickColor:"#737375",wickUpColor:"#26a69a",wickDownColor:"#ef5350"},eM={upColor:"#26a69a",downColor:"#ef5350",openVisible:!0,thinBars:!0},ej={color:"#2196f3",lineStyle:0,lineWidth:3,lineType:0,lineVisible:!0,crosshairMarkerVisible:!0,crosshairMarkerRadius:4,crosshairMarkerBorderColor:"",crosshairMarkerBorderWidth:2,crosshairMarkerBackgroundColor:"",lastPriceAnimation:0,pointMarkersVisible:!1},eA={topColor:"rgba( 46, 220, 135, 0.4)",bottomColor:"rgba( 40, 221, 100, 0)",invertFilledArea:!1,lineColor:"#33D778",lineStyle:0,lineWidth:3,lineType:0,lineVisible:!0,crosshairMarkerVisible:!0,crosshairMarkerRadius:4,crosshairMarkerBorderColor:"",crosshairMarkerBorderWidth:2,crosshairMarkerBackgroundColor:"",lastPriceAnimation:0,pointMarkersVisible:!1},eD={baseValue:{type:"price",price:0},topFillColor1:"rgba(38, 166, 154, 0.28)",topFillColor2:"rgba(38, 166, 154, 0.05)",topLineColor:"rgba(38, 166, 154, 1)",bottomFillColor1:"rgba(239, 83, 80, 0.05)",bottomFillColor2:"rgba(239, 83, 80, 0.28)",bottomLineColor:"rgba(239, 83, 80, 1)",lineWidth:3,lineStyle:0,lineType:0,lineVisible:!0,crosshairMarkerVisible:!0,crosshairMarkerRadius:4,crosshairMarkerBorderColor:"",crosshairMarkerBorderWidth:2,crosshairMarkerBackgroundColor:"",lastPriceAnimation:0,pointMarkersVisible:!1},eI={color:"#26a69a",base:0},eO={color:"#2196f3"},eP={title:"",visible:!0,lastValueVisible:!0,priceLineVisible:!0,priceLineSource:0,priceLineWidth:1,priceLineColor:"",priceLineStyle:2,baseLineVisible:!0,baseLineWidth:1,baseLineColor:"#B2B5BE",baseLineStyle:0,priceFormat:{type:"price",precision:2,minMove:.01}};function f(_,C){let L={0:[],1:[_.lineWidth,_.lineWidth],2:[2*_.lineWidth,2*_.lineWidth],3:[6*_.lineWidth,6*_.lineWidth],4:[_.lineWidth,4*_.lineWidth]}[C];_.setLineDash(L)}function v(_,C,L,Z){_.beginPath();let ea=_.lineWidth%2?.5:0;_.moveTo(L,C+ea),_.lineTo(Z,C+ea),_.stroke()}function p(_,C){if(!_)throw Error("Assertion failed"+(C?": "+C:""))}function m(_){if(void 0===_)throw Error("Value is undefined");return _}function b(_){if(null===_)throw Error("Value is null");return _}function w(_){return b(m(_))}(Z=ef||(ef={}))[Z.Simple=0]="Simple",Z[Z.WithSteps=1]="WithSteps",Z[Z.Curved=2]="Curved",(ea=em||(em={}))[ea.Solid=0]="Solid",ea[ea.Dotted=1]="Dotted",ea[ea.Dashed=2]="Dashed",ea[ea.LargeDashed=3]="LargeDashed",ea[ea.SparseDotted=4]="SparseDotted";let eN={khaki:"#f0e68c",azure:"#f0ffff",aliceblue:"#f0f8ff",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",gray:"#808080",green:"#008000",honeydew:"#f0fff0",floralwhite:"#fffaf0",lightblue:"#add8e6",lightcoral:"#f08080",lemonchiffon:"#fffacd",hotpink:"#ff69b4",lightyellow:"#ffffe0",greenyellow:"#adff2f",lightgoldenrodyellow:"#fafad2",limegreen:"#32cd32",linen:"#faf0e6",lightcyan:"#e0ffff",magenta:"#f0f",maroon:"#800000",olive:"#808000",orange:"#ffa500",oldlace:"#fdf5e6",mediumblue:"#0000cd",transparent:"#0000",lime:"#0f0",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",midnightblue:"#191970",orchid:"#da70d6",mediumorchid:"#ba55d3",mediumturquoise:"#48d1cc",orangered:"#ff4500",royalblue:"#4169e1",powderblue:"#b0e0e6",red:"#f00",coral:"#ff7f50",turquoise:"#40e0d0",white:"#fff",whitesmoke:"#f5f5f5",wheat:"#f5deb3",teal:"#008080",steelblue:"#4682b4",bisque:"#ffe4c4",aquamarine:"#7fffd4",aqua:"#0ff",sienna:"#a0522d",silver:"#c0c0c0",springgreen:"#00ff7f",antiquewhite:"#faebd7",burlywood:"#deb887",brown:"#a52a2a",beige:"#f5f5dc",chocolate:"#d2691e",chartreuse:"#7fff00",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cadetblue:"#5f9ea0",tomato:"#ff6347",fuchsia:"#f0f",blue:"#00f",salmon:"#fa8072",blanchedalmond:"#ffebcd",slateblue:"#6a5acd",slategray:"#708090",thistle:"#d8bfd8",tan:"#d2b48c",cyan:"#0ff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",blueviolet:"#8a2be2",black:"#000",darkmagenta:"#8b008b",darkslateblue:"#483d8b",darkkhaki:"#bdb76b",darkorchid:"#9932cc",darkorange:"#ff8c00",darkgreen:"#006400",darkred:"#8b0000",dodgerblue:"#1e90ff",darkslategray:"#2f4f4f",dimgray:"#696969",deepskyblue:"#00bfff",firebrick:"#b22222",forestgreen:"#228b22",indigo:"#4b0082",ivory:"#fffff0",lavenderblush:"#fff0f5",feldspar:"#d19275",indianred:"#cd5c5c",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightskyblue:"#87cefa",lightslategray:"#789",lightslateblue:"#8470ff",snow:"#fffafa",lightseagreen:"#20b2aa",lightsalmon:"#ffa07a",darksalmon:"#e9967a",darkviolet:"#9400d3",mediumpurple:"#9370d8",mediumaquamarine:"#66cdaa",skyblue:"#87ceeb",lavender:"#e6e6fa",lightsteelblue:"#b0c4de",mediumvioletred:"#c71585",mintcream:"#f5fffa",navajowhite:"#ffdead",navy:"#000080",olivedrab:"#6b8e23",palevioletred:"#d87093",violetred:"#d02090",yellow:"#ff0",yellowgreen:"#9acd32",lawngreen:"#7cfc00",pink:"#ffc0cb",paleturquoise:"#afeeee",palegoldenrod:"#eee8aa",darkolivegreen:"#556b2f",darkseagreen:"#8fbc8f",darkturquoise:"#00ced1",peachpuff:"#ffdab9",deeppink:"#ff1493",violet:"#ee82ee",palegreen:"#98fb98",mediumseagreen:"#3cb371",peru:"#cd853f",saddlebrown:"#8b4513",s
3099andybrown:"#f4a460",rosybrown:"#bc8f8f",purple:"#800080",seagreen:"#2e8b57",seashell:"#fff5ee",papayawhip:"#ffefd5",mediumslateblue:"#7b68ee",plum:"#dda0dd",mediumspringgreen:"#00fa9a"};function M(_){return _<0?0:_>255?255:Math.round(_)||0}function x(_){return _<=0||_>0?_<0?0:_>1?1:Math.round(1e4*_)/1e4:0}let eL=/^#([0-9a-f])([0-9a-f])([0-9a-f])([0-9a-f])?$/i,eR=/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})?$/i,eB=/^rgb\(\s*(-?\d{1,10})\s*,\s*(-?\d{1,10})\s*,\s*(-?\d{1,10})\s*\)$/,eF=/^rgba\(\s*(-?\d{1,10})\s*,\s*(-?\d{1,10})\s*,\s*(-?\d{1,10})\s*,\s*(-?[\d]{0,10}(?:\.\d+)?)\s*\)$/;function T(_){(_=_.toLowerCase())in eN&&(_=eN[_]);{let C=eF.exec(_)||eB.exec(_);if(C)return[M(parseInt(C[1],10)),M(parseInt(C[2],10)),M(parseInt(C[3],10)),x(C.length<5?1:parseFloat(C[4]))]}{let C=eR.exec(_);if(C)return[M(parseInt(C[1],16)),M(parseInt(C[2],16)),M(parseInt(C[3],16)),1]}{let C=eL.exec(_);if(C)return[M(17*parseInt(C[1],16)),M(17*parseInt(C[2],16)),M(17*parseInt(C[3],16)),1]}throw Error(`Cannot parse color: ${_}`)}function P(_){let C=T(_);return{t:`rgb(${C[0]}, ${C[1]}, ${C[2]})`,i:.199*C[0]+.687*C[1]+.114*C[2]>160?"black":"white"}}let R=class R{constructor(){this.h=[]}l(_,C,L){this.h.push({o:_,_:C,u:!0===L})}v(_){let C=this.h.findIndex(C=>_===C.o);C>-1&&this.h.splice(C,1)}p(_){this.h=this.h.filter(C=>C._!==_)}m(_,C,L){let Z=[...this.h];this.h=this.h.filter(_=>!_.u),Z.forEach(Z=>Z.o(_,C,L))}M(){return this.h.length>0}S(){this.h=[]}};function D(_,...C){for(let L of C)for(let C in L)void 0!==L[C]&&("object"!=typeof L[C]||void 0===_[C]||Array.isArray(L[C])?_[C]=L[C]:D(_[C],L[C]));return _}function O(_){return"number"==typeof _&&isFinite(_)}function A(_){return"number"==typeof _&&_%1==0}function V(_){return"string"==typeof _}function B(_){return"boolean"==typeof _}function I(_){let C,L,Z;if(!_||"object"!=typeof _)return _;for(L in C=Array.isArray(_)?[]:{},_)_.hasOwnProperty(L)&&(Z=_[L],C[L]=Z&&"object"==typeof Z?I(Z):Z);return C}function z(_){return null!==_}function E(_){return null===_?void 0:_}let eZ="-apple-system, BlinkMacSystemFont, 'Trebuchet MS', Roboto, Ubuntu, sans-serif";function N(_,C,L){return void 0===C&&(C=eZ),`${L=void 0!==L?`${L} `:""}${_}px ${C}`}let F=class F{constructor(_){this.k={C:1,T:5,P:NaN,R:"",D:"",O:"",A:"",V:0,B:0,I:0,L:0,N:0},this.F=_}W(){let _=this.k,C=this.j(),L=this.H();return _.P===C&&_.D===L||(_.P=C,_.D=L,_.R=N(C,L),_.L=2.5/12*C,_.V=_.L,_.B=C/12*_.T,_.I=C/12*_.T,_.N=0),_.O=this.$(),_.A=this.U(),this.k}$(){return this.F.W().layout.textColor}U(){return this.F.q()}j(){return this.F.W().layout.fontSize}H(){return this.F.W().layout.fontFamily}};let W=class W{constructor(){this.Y=[]}X(_){this.Y=_}K(_,C,L){this.Y.forEach(Z=>{Z.K(_,C,L)})}};let j=class j{K(_,C,L){_.useMediaCoordinateSpace(_=>this.Z(_,C,L))}G(_,C,L){_.useMediaCoordinateSpace(_=>this.J(_,C,L))}J(_,C,L){}};let H=class H extends j{constructor(){super(...arguments),this.tt=null}it(_){this.tt=_}Z({context:_}){if(null===this.tt||null===this.tt.nt)return;let C=this.tt.nt,L=this.tt,s=Z=>{_.beginPath();for(let ea=C.to-1;ea>=C.from;--ea){let C=L.st[ea];_.moveTo(C.et,C.rt),_.arc(C.et,C.rt,Z,0,2*Math.PI)}_.fill()};L.ht>0&&(_.fillStyle=L.lt,s(L.ot+L.ht)),_.fillStyle=L._t,s(L.ot)}};function $(){return{st:[{et:0,rt:0,ut:0,ct:0}],_t:"",lt:"",ot:0,ht:0,nt:null}}let ez={from:0,to:1};let q=class q{constructor(_,C){this.dt=new W,this.ft=[],this.vt=[],this.bt=!0,this.F=_,this.wt=C,this.dt.X(this.ft)}gt(_){let C=this.F.Mt();C.length!==this.ft.length&&(this.vt=C.map($),this.ft=this.vt.map(_=>{let C=new H;return C.it(_),C}),this.dt.X(this.ft)),this.bt=!0}xt(){return this.bt&&(this.St(),this.bt=!1),this.dt}St(){let _=2===this.wt.W().mode,C=this.F.Mt(),L=this.wt.kt(),Z=this.F.yt();
3099C.forEach((C,ea)=>{var es;let eo=this.vt[ea],el=C.Ct(L);if(_||null===el||!C.Tt())return void(eo.nt=null);let eu=b(C.Pt());eo._t=el.Rt,eo.ot=el.ot,eo.ht=el.Dt,eo.st[0].ct=el.ct,eo.st[0].rt=C.At().Ot(el.ct,eu.Vt),eo.lt=null!==(es=el.Bt)&&void 0!==es?es:this.F.It(eo.st[0].rt/C.At().zt()),eo.st[0].ut=L,eo.st[0].et=Z.Et(L),eo.nt=ez})}};let Y=class Y{K(_,C,L){_.useBitmapCoordinateSpace(_=>this.Z(_,C,L))}};let X=class X extends Y{constructor(_){super(),this.Lt=_}Z({context:_,bitmapSize:C,horizontalPixelRatio:L,verticalPixelRatio:Z}){if(null===this.Lt)return;let ea=this.Lt.Nt.Tt,es=this.Lt.Ft.Tt;if(!ea&&!es)return;let eo=Math.round(this.Lt.et*L),el=Math.round(this.Lt.rt*Z);_.lineCap="butt",ea&&eo>=0&&(_.lineWidth=Math.floor(this.Lt.Nt.ht*L),_.strokeStyle=this.Lt.Nt.O,_.fillStyle=this.Lt.Nt.O,f(_,this.Lt.Nt.Wt),function(_,C,L,Z){_.beginPath();let ea=_.lineWidth%2?.5:0;_.moveTo(C+ea,0),_.lineTo(C+ea,Z),_.stroke()}(_,eo,0,C.height)),es&&el>=0&&(_.lineWidth=Math.floor(this.Lt.Ft.ht*Z),_.strokeStyle=this.Lt.Ft.O,_.fillStyle=this.Lt.Ft.O,f(_,this.Lt.Ft.Wt),v(_,el,0,C.width))}};let K=class K{constructor(_){this.bt=!0,this.jt={Nt:{ht:1,Wt:0,O:"",Tt:!1},Ft:{ht:1,Wt:0,O:"",Tt:!1},et:0,rt:0},this.Ht=new X(this.jt),this.$t=_}gt(){this.bt=!0}xt(){return this.bt&&(this.St(),this.bt=!1),this.Ht}St(){let _=this.$t.Tt(),C=b(this.$t.Ut()),L=C.qt().W().crosshair,Z=this.jt;if(2===L.mode)return Z.Ft.Tt=!1,void(Z.Nt.Tt=!1);Z.Ft.Tt=_&&this.$t.Yt(C),Z.Nt.Tt=_&&this.$t.Xt(),Z.Ft.ht=L.horzLine.width,Z.Ft.Wt=L.horzLine.style,Z.Ft.O=L.horzLine.color,Z.Nt.ht=L.vertLine.width,Z.Nt.Wt=L.vertLine.style,Z.Nt.O=L.vertLine.color,Z.et=this.$t.Kt(),Z.rt=this.$t.Zt()}};function G(_,C,L,Z,ea,es){_.save(),_.globalCompositeOperation="copy",_.fillStyle=es,_.fillRect(C,L,Z,ea),_.restore()}function J(_,C){return _.map(_=>0===_?_:_+C)}function Q(_,C,L,Z,ea,es){_.beginPath(),_.lineTo(C+Z-es[1],L),0!==es[1]&&_.arcTo(C+Z,L,C+Z,L+es[1],es[1]),_.lineTo(C+Z,L+ea-es[2]),0!==es[2]&&_.arcTo(C+Z,L+ea,C+Z-es[2],L+ea,es[2]),_.lineTo(C+es[3],L+ea),0!==es[3]&&_.arcTo(C,L+ea,C,L+ea-es[3],es[3]),_.lineTo(C,L+es[0]),0!==es[0]&&_.arcTo(C,L,C+es[0],L,es[0])}function tt(_,C,L,Z,ea,es,eo=0,el=[0,0,0,0],eu=""){if(_.save(),!eo||!eu||eu===es)return Q(_,C,L,Z,ea,el),_.fillStyle=es,_.fill(),void _.restore();let ec=eo/2;"transparent"!==es&&(Q(_,C+eo,L+eo,Z-2*eo,ea-2*eo,J(el,-eo)),_.fillStyle=es,_.fill()),"transparent"!==eu&&(Q(_,C+ec,L+ec,Z-eo,ea-eo,J(el,-ec)),_.lineWidth=eo,_.strokeStyle=eu,_.closePath(),_.stroke()),_.restore()}function it(_,C,L,Z,ea,es,eo){_.save(),_.globalCompositeOperation="copy";let el=_.createLinearGradient(0,0,0,ea);el.addColorStop(0,es),el.addColorStop(1,eo),_.fillStyle=el,_.fillRect(C,L,Z,ea),_.restore()}let nt=class nt{constructor(_,C){this.it(_,C)}it(_,C){this.Lt=_,this.Gt=C}zt(_,C){return this.Lt.Tt?_.P+_.L+_.V:0}K(_,C,L,Z){if(!this.Lt.Tt||0===this.Lt.Jt.length)return;let ea=this.Lt.O,es=this.Gt.t,eo=_.useBitmapCoordinateSpace(_=>{let eo=_.context;eo.font=C.R;let el=this.Qt(_,C,L,Z),eu=el.ti,o=(_,C)=>{el.ii?tt(eo,eu.ni,eu.si,eu.ei,eu.ri,_,eu.hi,[eu.ot,0,0,eu.ot],C):tt(eo,eu.li,eu.si,eu.ei,eu.ri,_,eu.hi,[0,eu.ot,eu.ot,0],C)};return o(es,"transparent"),this.Lt.ai&&(eo.fillStyle=ea,eo.fillRect(eu.li,eu.oi,eu._i-eu.li,eu.ui)),o("transparent",es),this.Lt.ci&&(eo.fillStyle=C.A,eo.fillRect(el.ii?eu.di-eu.hi:0,eu.si,eu.hi,eu.fi-eu.si)),el});_.useMediaCoordinateSpace(({context:_})=>{let L=eo.vi;_.font=C.R,_.textAlign=eo.ii?"right":"left",_.textBaseline="middle",_.fillStyle=ea,_.fillText(this.Lt.Jt,L.pi,(L.si+L.fi)/2+L.mi)})}Qt(_,C,L,Z){var ea;let es,eo,el;let{context:eu,bitmapSize:ec,mediaSize:ed,horizontalPixelRatio:eh,verticalPixelRatio:ep}=_,ef=this.Lt.ai||!this.Lt.bi?C.T:0,em=this.Lt.wi?C.C:0,eb=C.L+this.Gt.gi,ey=C.V+this.Gt.Mi,eg=C.B,ev=C.I,ex=this.Lt.Jt,e_=C.P,ew=L.xi(eu,ex),eC=Math.ceil(L.Si(eu,ex)),eT=C.C+eg+ev+eC+ef,eq=Math.max(1,Math.floor(ep)),ek=Math.round((e_+eb+ey)*ep);ek%2!=eq%2&&(ek+=1);let eS=em>0?Math.max(1,Math.floor(em*eh)):0,eE=Math.round(eT*eh),eM=Math.round(ef*eh),ej=null!==(ea=this.Gt.ki)&&void 0!==ea?ea:this.Gt.yi,eA=Math.round(ej*ep)-Math.floor(.5*ep),eD=Math.floor(eA+eq/2-ek/2),eI=eD+ek,eO="right"===Z,eP=eO?ed.width-em:em,eN=eO?ec.width-eS:eS;return eO?(es=eN-eE,eo=eN-eM,el=eP-ef-eg-em):(es=eN+eE,eo=eN+eM,el=eP+ef+eg),{ii:eO,ti:{si:eD,oi:eA,fi:eI,ei:eE,ri:ek,ot:2*eh,hi:eS,ni:es,li:eN,_i:eo,ui:eq,di:ec.width},vi:{si:eD/ep,fi:eI/ep,pi:el,mi:ew}}}};let st=class st{constructor(_){this.Ci={yi:0,t:"#000",Mi:0,gi:0},this.Ti={Jt:"",Tt:!1,ai:!0,bi:!1,Bt:"",O:"#FFF",ci:!1,wi:!1},this.Pi={Jt:"",Tt:!1,ai:!1,bi:!0,Bt:"",O:"#FFF",ci:!0,wi:!0},this.bt=!0,this.Ri=new(_||nt)(this.Ti,this.Ci),this.Di=new(_||nt)(this.Pi,this.Ci)}
3099Jt(){return this.Oi(),this.Ti.Jt}yi(){return this.Oi(),this.Ci.yi}gt(){this.bt=!0}zt(_,C=!1){return Math.max(this.Ri.zt(_,C),this.Di.zt(_,C))}Ai(){return this.Ci.ki||0}Vi(_){this.Ci.ki=_}Bi(){return this.Oi(),this.Ti.Tt||this.Pi.Tt}Ii(){return this.Oi(),this.Ti.Tt}xt(_){return this.Oi(),this.Ti.ai=this.Ti.ai&&_.W().ticksVisible,this.Pi.ai=this.Pi.ai&&_.W().ticksVisible,this.Ri.it(this.Ti,this.Ci),this.Di.it(this.Pi,this.Ci),this.Ri}zi(){return this.Oi(),this.Ri.it(this.Ti,this.Ci),this.Di.it(this.Pi,this.Ci),this.Di}Oi(){this.bt&&(this.Ti.ai=!0,this.Pi.ai=!1,this.Ei(this.Ti,this.Pi,this.Ci))}};let et=class et extends st{constructor(_,C,L){super(),this.$t=_,this.Li=C,this.Ni=L}Ei(_,C,L){if(_.Tt=!1,2===this.$t.W().mode)return;let Z=this.$t.W().horzLine;if(!Z.labelVisible)return;let ea=this.Li.Pt();if(!this.$t.Tt()||this.Li.Fi()||null===ea)return;let es=P(Z.labelBackgroundColor);L.t=es.t,_.O=es.i;let eo=2/12*this.Li.P();L.gi=eo,L.Mi=eo;let el=this.Ni(this.Li);L.yi=el.yi,_.Jt=this.Li.Wi(el.ct,ea),_.Tt=!0}};let eU=/[1-9]/g;let ht=class ht{constructor(){this.Lt=null}it(_){this.Lt=_}K(_,C){if(null===this.Lt||!1===this.Lt.Tt||0===this.Lt.Jt.length)return;let L=_.useMediaCoordinateSpace(({context:_})=>(_.font=C.R,Math.round(C.ji.Si(_,b(this.Lt).Jt,eU))));if(L<=0)return;let Z=C.Hi,ea=L+2*Z,es=ea/2,eo=this.Lt.$i,el=this.Lt.yi,eu=Math.floor(el-es)+.5;eu<0?(el+=Math.abs(0-eu),eu=Math.floor(el-es)+.5):eu+ea>eo&&(el-=Math.abs(eo-(eu+ea)),eu=Math.floor(el-es)+.5);let ec=eu+ea,ed=Math.ceil(0+C.C+C.T+C.L+C.P+C.V);_.useBitmapCoordinateSpace(({context:_,horizontalPixelRatio:L,verticalPixelRatio:Z})=>{let ea=b(this.Lt);_.fillStyle=ea.t;let es=Math.round(eu*L),eo=Math.round(0*Z),el=Math.round(ec*L),eh=Math.round(ed*Z),ep=Math.round(2*L);if(_.beginPath(),_.moveTo(es,eo),_.lineTo(es,eh-ep),_.arcTo(es,eh,es+ep,eh,ep),_.lineTo(el-ep,eh),_.arcTo(el,eh,el,eh-ep,ep),_.lineTo(el,eo),_.fill(),ea.ai){let es=Math.round(ea.yi*L),el=Math.round((eo+C.T)*Z);_.fillStyle=ea.O;let eu=Math.max(1,Math.floor(L)),ec=Math.floor(.5*L);_.fillRect(es-ec,eo,eu,el-eo)}}),_.useMediaCoordinateSpace(({context:_})=>{let L=b(this.Lt),ea=0+C.C+C.T+C.L+C.P/2;_.font=C.R,_.textAlign="left",_.textBaseline="middle",_.fillStyle=L.O;let es=C.ji.xi(_,"Apr0");_.translate(eu+Z,ea+es),_.fillText(L.Jt,0,0)})}};let lt=class lt{constructor(_,C,L){this.bt=!0,this.Ht=new ht,this.jt={Tt:!1,t:"#4c525e",O:"white",Jt:"",$i:0,yi:NaN,ai:!0},this.wt=_,this.Ui=C,this.Ni=L}gt(){this.bt=!0}xt(){return this.bt&&(this.St(),this.bt=!1),this.Ht.it(this.jt),this.Ht}St(){let _=this.jt;if(_.Tt=!1,2===this.wt.W().mode)return;let C=this.wt.W().vertLine;if(!C.labelVisible)return;let L=this.Ui.yt();if(L.Fi())return;_.$i=L.$i();let Z=this.Ni();if(null===Z)return;_.yi=Z.yi;let ea=L.qi(this.wt.kt());_.Jt=L.Yi(b(ea)),_.Tt=!0;let es=P(C.labelBackgroundColor);_.t=es.t,_.O=es.i,_.ai=L.W().ticksVisible}};let at=class at{constructor(){this.Xi=null,this.Ki=0}Zi(){return this.Ki}Gi(_){this.Ki=_}At(){return this.Xi}Ji(_){this.Xi=_}Qi(_){return[]}tn(){return[]}Tt(){return!0}};(es=eb||(eb={}))[es.Normal=0]="Normal",es[es.Magnet=1]="Magnet",es[es.Hidden=2]="Hidden";let _t=class _t extends at{constructor(_,C){var L,Z,ea,es;super(),this.nn=null,this.sn=NaN,this.en=0,this.rn=!0,this.hn=new Map,this.ln=!1,this.an=NaN,this.on=NaN,this._n=NaN,this.un=NaN,this.Ui=_,this.cn=C,this.dn=new q(_,this),this.fn=(L=()=>this.sn,Z=()=>this.on,_=>{let C=Z(),ea=L();if(_===b(this.nn).vn())return{ct:ea,yi:C};{let L=b(_.Pt());return{ct:_.pn(C,L),yi:C}}});let eo=(ea=()=>this.en,es=()=>this.Kt(),()=>{let _=this.Ui.yt().mn(ea()),C=es();return _&&Number.isFinite(C)?{ut:_,yi:C}:null});this.bn=new lt(this,_,eo),this.wn=new K(this)}W(){return this.cn}gn(_,C){this._n=_,this.un=C}Mn(){this._n=NaN,this.un=NaN}xn(){return this._n}Sn(){return this.un}kn(_,C,L){this.ln||(this.ln=!0),this.rn=!0,this.yn(_,C,L)}kt(){return this.en}Kt(){return this.an}Zt(){return this.on}Tt(){return this.rn}Cn(){this.rn=!1,this.Tn(),this.sn=NaN,this.an=NaN,this.on=NaN,this.nn=null,this.Mn()}Pn(_){return null!==this.nn?[this.wn,this.dn]:[]}Yt(_){return _===this.nn&&this.cn.horzLine.visible}Xt(){return this.cn.vertLine.visible}Rn(_,C){this.rn&&this.nn===_||this.hn.clear();let L=[];return this.nn===_&&L.push(this.Dn(this.hn,C,this.fn)),L}tn(){return this.rn?[this.bn]:[]}Ut(){return this.nn}On(){this.wn.gt(),this.hn.forEach(_=>_.gt()),this.bn.gt(),this.dn.gt()}An(_){return _&&!_.vn().Fi()?_.vn():null}yn(_,C,L){this.Vn(_,C,L)&&this.On()}Vn(_,C,L){let Z=this.an,ea=this.on,es=this.sn,eo=this.en,el=this.nn,eu=this.An(L);this.en=_,this.an=isNaN(_)?NaN:this.Ui.yt().Et(_),this.nn=L;let ec=null!==eu?eu.Pt():null;return null!==eu&&null!==ec?(this.sn=C,this.on=eu.Ot(C,ec)):(this.sn=NaN,this.on=NaN),Z!==this.an||ea!==this.on||eo!==this.en||es!==this.sn||el!==this.nn}Tn(){let _=this.Ui.Mt().map(_=>_.In().Bn()).filter(z),C=0===_.length?null:Math.max(..._);this.en=null!==C?C:NaN}Dn(_,C,L){let Z=_.get(C);return void 0===Z&&(Z=new et(this,C,L),_.set(C,Z)),Z}};function ut(_){return"left"===_||"right"===_}let ct=class ct{constructor(_){this.zn=new Map,this.En=[],this.Ln=_}Nn(_,C){var L;let Z=void 0===(L=this.zn.get(_))?C:{Fn:Math.max(L.Fn,C.Fn),Wn:L.Wn||C.Wn};this.zn.set(_,Z)}jn(){return this.Ln}Hn(_){let C=this.zn.get(_);return void 0===C?{Fn:this.Ln}:{Fn:Math.max(this.Ln,C.Fn),Wn:C.Wn}}$n(){this.Un(),this.En=[{qn:0}]}Yn(_){this.Un(),this.En=[{qn:1,Vt:_}]}Xn(_){this.Kn(),this.En.push({qn:5,Vt:_})}Un(){this.Kn(),this.En.push({qn:6})}Zn(){this.Un(),this.En=[{qn:4}]}Gn(_){this.Un(),this.En.push({qn:2,Vt:_})}Jn(_){this.Un(),this.En.push({qn:3,Vt:_})}Qn(){return this.En}ts(_){for(let C of _.En)this.ns(C);
3099this.Ln=Math.max(this.Ln,_.Ln),_.zn.forEach((_,C)=>{this.Nn(C,_)})}static ss(){return new ct(2)}static es(){return new ct(3)}ns(_){switch(_.qn){case 0:this.$n();break;case 1:this.Yn(_.Vt);break;case 2:this.Gn(_.Vt);break;case 3:this.Jn(_.Vt);break;case 4:this.Zn();break;case 5:this.Xn(_.Vt);break;case 6:this.Kn()}}Kn(){let _=this.En.findIndex(_=>5===_.qn);-1!==_&&this.En.splice(_,1)}};function ft(_,C){if(!O(_))return"n/a";if(!A(C)||C<0||C>16)throw TypeError("invalid length");return 0===C?_.toString():("0000000000000000"+_.toString()).slice(-C)}let vt=class vt{constructor(_,C){if(C||(C=1),O(_)&&A(_)||(_=100),_<0)throw TypeError("invalid base");this.Li=_,this.rs=C,this.hs()}format(_){let C=_<0?"−":"";return _=Math.abs(_),C+this.ls(_)}hs(){if(this.os=0,this.Li>0&&this.rs>0){let _=this.Li;for(;_>1;)_/=10,this.os++}}ls(_){let C=this.Li/this.rs,L=Math.floor(_),Z="",ea=void 0!==this.os?this.os:NaN;if(C>1){let es=+(Math.round(_*C)-L*C).toFixed(this.os);es>=C&&(es-=C,L+=1),Z="."+ft(+es.toFixed(this.os)*this.rs,ea)}else L=Math.round(L*C)/C,ea>0&&(Z="."+ft(0,ea));return L.toFixed(0)+Z}};let pt=class pt extends vt{constructor(_=100){super(_)}format(_){return`${super.format(_)}%`}};let mt=class mt{constructor(_){this._s=_}format(_){let C="";return _<0&&(C="-",_=-_),_<995?C+this.us(_):_<999995?C+this.us(_/1e3)+"K":_<999999995?(_=1e3*Math.round(_/1e3),C+this.us(_/1e6)+"M"):(_=1e6*Math.round(_/1e6),C+this.us(_/1e9)+"B")}us(_){let C=Math.pow(10,this._s);return((_=Math.round(_*C)/C)>=1e-15&&_<1?_.toFixed(this._s).replace(/\.?0+$/,""):String(_)).replace(/(\.[1-9]*)0+$/,(_,C)=>C)}};function bt(_,C,L,Z,ea,es,eo){if(0===C.length||Z.from>=C.length||Z.to<=0)return;let{context:el,horizontalPixelRatio:eu,verticalPixelRatio:ec}=_,ed=C[Z.from],eh=es(_,ed),ep=ed;if(Z.to-Z.from<2){let C=ea/2;el.beginPath();let L={et:ed.et-C,rt:ed.rt},Z={et:ed.et+C,rt:ed.rt};el.moveTo(L.et*eu,L.rt*ec),el.lineTo(Z.et*eu,Z.rt*ec),eo(_,eh,L,Z)}else{let e=(C,L)=>{eo(_,eh,ep,L),el.beginPath(),eh=C,ep=L},ea=ep;el.beginPath(),el.moveTo(ed.et*eu,ed.rt*ec);for(let eo=Z.from+1;eo<Z.to;++eo){ea=C[eo];let Z=es(_,ea);switch(L){case 0:el.lineTo(ea.et*eu,ea.rt*ec);break;case 1:el.lineTo(ea.et*eu,C[eo-1].rt*ec),Z!==eh&&(e(Z,ea),el.lineTo(ea.et*eu,C[eo-1].rt*ec)),el.lineTo(ea.et*eu,ea.rt*ec);break;case 2:{let[_,L]=function(_,C,L){var Z,ea;let es=Math.min(_.length-1,L+1);
3099return[(Z=_[C],ea=Mt(gt(_[L],_[Math.max(0,C-1)]),6),{et:Z.et+ea.et,rt:Z.rt+ea.rt}),gt(_[L],Mt(gt(_[es],_[C]),6))]}(C,eo-1,eo);el.bezierCurveTo(_.et*eu,_.rt*ec,L.et*eu,L.rt*ec,ea.et*eu,ea.rt*ec)}}1!==L&&Z!==eh&&(e(Z,ea),el.moveTo(ea.et*eu,ea.rt*ec))}(ep!==ea||ep===ea&&1===L)&&eo(_,eh,ep,ea)}}function gt(_,C){return{et:_.et-C.et,rt:_.rt-C.rt}}function Mt(_,C){return{et:_.et/C,rt:_.rt/C}}function St(_,C,L,Z,ea){let{context:es,horizontalPixelRatio:eo,verticalPixelRatio:el}=C;es.lineTo(ea.et*eo,_*el),es.lineTo(Z.et*eo,_*el),es.closePath(),es.fillStyle=L,es.fill()}let kt=class kt extends Y{constructor(){super(...arguments),this.tt=null}it(_){this.tt=_}Z(_){var C;if(null===this.tt)return;let{st:L,nt:Z,cs:ea,ht:es,Wt:eo,ds:el}=this.tt,eu=null!==(C=this.tt.fs)&&void 0!==C?C:this.tt.vs?0:_.mediaSize.height;if(null===Z)return;let ec=_.context;ec.lineCap="butt",ec.lineJoin="round",ec.lineWidth=es,f(ec,eo),ec.lineWidth=1,bt(_,L,el,Z,ea,this.ps.bind(this),St.bind(null,eu))}};function yt(_,C,L){return Math.min(Math.max(_,C),L)}function Tt(_){let C=Math.ceil(_);return C%2==0?C-1:C}let Pt=class Pt{bs(_,C){let L=this.ws,{gs:Z,Ms:ea,xs:es,Ss:eo,ks:el,fs:eu}=C;if(void 0===this.ys||void 0===L||L.gs!==Z||L.Ms!==ea||L.xs!==es||L.Ss!==eo||L.fs!==eu||L.ks!==el){let L=_.context.createLinearGradient(0,0,0,el);if(L.addColorStop(0,Z),null!=eu){let C=yt(eu*_.verticalPixelRatio/el,0,1);L.addColorStop(C,ea),L.addColorStop(C,es)}L.addColorStop(1,eo),this.ys=L,this.ws=C}return this.ys}};let Rt=class Rt extends kt{constructor(){super(...arguments),this.Cs=new Pt}ps(_,C){return this.Cs.bs(_,{gs:C.Ts,Ms:"",xs:"",Ss:C.Ps,ks:_.bitmapSize.height})}};function Dt(_,C){let L=_.context;L.strokeStyle=C,L.stroke()}let Ot=class Ot extends Y{constructor(){super(...arguments),this.tt=null}it(_){this.tt=_}Z(_){if(null===this.tt)return;let{st:C,nt:L,cs:Z,ds:ea,ht:es,Wt:eo,Rs:el}=this.tt;if(null===L)return;let eu=_.context;eu.lineCap="butt",eu.lineWidth=es*_.verticalPixelRatio,f(eu,eo),eu.lineJoin="round";let ec=this.Ds.bind(this);void 0!==ea&&bt(_,C,ea,L,Z,ec,Dt),el&&function(_,C,L,Z,ea){let{horizontalPixelRatio:es,verticalPixelRatio:eo,context:el}=_,eu=null,ec=Math.max(1,Math.floor(es))%2/2,ed=L*eo+ec;for(let L=Z.to-1;L>=Z.from;--L){let Z=C[L];if(Z){let C=ea(_,Z);C!==eu&&(el.beginPath(),null!==eu&&el.fill(),el.fillStyle=C,eu=C);let L=Math.round(Z.et*es)+ec,eh=Z.rt*eo;el.moveTo(L,eh),el.arc(L,eh,ed,0,2*Math.PI)}}el.fill()}(_,C,el,L,ec)}};let At=class At extends Ot{Ds(_,C){return C._t}};function Vt(_,C,L,Z,ea=0,es=C.length){let eo=es-ea;for(;0<eo;){let es=eo>>1,el=ea+es;Z(C[el],L)===_?(ea=el+1,eo-=es+1):eo=es}return ea}let e$=Vt.bind(null,!0),eV=Vt.bind(null,!1);function zt(_,C){return _.ut<C}function Et(_,C){return C<_.ut}function Lt(_,C,L){let Z=C.Os(),ea=C.di(),es=e$(_,Z,zt),eo=eV(_,ea,Et);if(!L)return{from:es,to:eo};let el=es,eu=eo;return es>0&&es<_.length&&_[es].ut>=Z&&(el=es-1),eo>0&&eo<_.length&&_[eo-1].ut<=ea&&(eu=eo+1),{from:el,to:eu}}let Nt=class Nt{constructor(_,C,L){this.As=!0,this.Vs=!0,this.Bs=!0,this.Is=[],this.zs=null,this.Es=_,this.Ls=C,this.Ns=L}gt(_){this.As=!0,"data"===_&&(this.Vs=!0),"options"===_&&(this.Bs=!0)}xt(){return this.Es.Tt()?(this.Fs(),null===this.zs?null:this.Ws):null}js(){this.Is=this.Is.map(_=>Object.assign(Object.assign({},_),this.Es.$s().Hs(_.ut)))}Us(){this.zs=null}Fs(){this.Vs&&(this.qs(),this.Vs=!1),this.Bs&&(this.js(),this.Bs=!1),this.As&&(this.Ys(),this.As=!1)}Ys(){let _=this.Es.At(),C=this.Ls.yt();if(this.Us(),C.Fi()||_.Fi())return;let L=C.Xs();if(null===L||0===this.Es.In().Ks())return;let Z=this.Es.Pt();null!==Z&&(this.zs=Lt(this.Is,L,this.Ns),this.Zs(_,C,Z.Vt),this.Gs())}};let Ft=class Ft extends Nt{constructor(_,C){super(_,C,!0)}Zs(_,C,L){C.Js(this.Is,E(this.zs)),_.Qs(this.Is,L,E(this.zs))}te(_,C){return{ut:_,ct:C,et:NaN,rt:NaN}}qs(){let _=this.Es.$s();this.Is=this.Es.In().ie().map(C=>{let L=C.Vt[3];return this.ne(C.se,L,_)})}};let Wt=class Wt extends Ft{constructor(_,C){super(_,C),this.Ws=new W,this.ee=new Rt,this.re=new At,this.Ws.X([this.ee,this.re])}ne(_,C,L){return Object.assign(Object.assign({},this.te(_,C)),L.Hs(_))}Gs(){let _=this.Es.W();this.ee.it({ds:_.lineType,st:this.Is,Wt:_.lineStyle,ht:_.lineWidth,fs:null,vs:_.invertFilledArea,nt:this.zs,cs:this.Ls.yt().he()}),this.re.it({ds:_.lineVisible?_.lineType:void 0,st:this.Is,Wt:_.lineStyle,ht:_.lineWidth,nt:this.zs,cs:this.Ls.yt().he(),Rs:_.pointMarkersVisible?_.pointMarkersRadius||_.lineWidth/2+2:void 0})}};let jt=class jt extends Y{constructor(){super(...arguments),this.Lt=null,this.le=0,this.ae=0}it(_){this.Lt=_}Z({context:_,horizontalPixelRatio:C,verticalPixelRatio:L}){if(null===this.Lt||0===this.Lt.In.length||null===this.Lt.nt)return;this.le=this.oe(C),this.le>=2&&Math.max(1,Math.floor(C))%2!=this.le%2&&this.le--,this.ae=this.Lt._e?Math.min(this.le,Math.floor(C)):this.le;let Z=null,ea=this.ae<=this.le&&this.Lt.he>=Math.floor(1.5*C);for(let es=this.Lt.nt.from;es<this.Lt.nt.to;++es){let eo=this.Lt.In[es];Z!==eo.ue&&(_.fillStyle=eo.ue,Z=eo.ue);let el=Math.floor(.5*this.ae),eu=Math.round(eo.et*C),ec=eu-el,ed=this.ae,eh=ec+ed-1,ep=Math.min(eo.ce,eo.de),ef=Math.max(eo.ce,eo.de),em=Math.round(ep*L)-el,eb=Math.round(ef*L)+el,ey=Math.max(eb-em,this.ae);_.fillRect(ec,em,ed,ey);let eg=Math.ceil(1.5*this.le);if(ea){if(this.Lt.fe){let C=eu-eg,Z=Math.max(em,Math.round(eo.ve*L)-el),ea=Z+ed-1;ea>em+ey-1&&(Z=(ea=em+ey-1)-ed+1),_.fillRect(C,Z,ec-C,ea-Z+1)}let C=eu+eg,Z=Math.max(em,Math.round(eo.pe*L)-el),ea=Z+ed-1;ea>em+ey-1&&(Z=(ea=em+ey-1)-ed+1),_.fillRect(eh+1,Z,C-eh,ea-Z+1)}}}oe(_){return Math.max(Math.floor(_),Math.floor(Math.floor(.3*b(this.Lt).he*_)))}};let Ht=class Ht extends Nt{constructor(_,C){super(_,C,!1)}Zs(_,C,L){C.Js(this.Is,E(this.zs)),_.me(this.Is,L,E(this.zs))}be(_,C,L){return{ut:_,we:C.Vt[0],ge:C.Vt[1],Me:C.Vt[2],xe:C.Vt[3],et:NaN,ve:NaN,ce:NaN,de:NaN,pe:NaN}}qs(){let _=this.Es.$s();this.Is=this.Es.In().ie().map(C=>this.ne(C.se,C,_))}};let $t=class $t extends Ht{constructor(){super(...arguments),this.Ws=new jt}ne(_,C,L){return Object.assign(Object.assign({},this.be(_,C,L)),L.Hs(_))}Gs(){let _=this.Es.W();this.Ws.it({In:this.Is,he:this.Ls.yt().he(),fe:_.openVisible,_e:_.thinBars,nt:this.zs})}};let Ut=class Ut extends kt{constructor(){super(...arguments),this.Cs=new Pt}ps(_,C){let L=this.tt;return this.Cs.bs(_,{gs:C.Se,Ms:C.ke,xs:C.ye,Ss:C.Ce,ks:_.bitmapSize.height,fs:L.fs})}};let qt=class qt extends Ot{constructor(){super(...arguments),this.Te=new Pt}Ds(_,C){let L=this.tt;return this.Te.bs(_,{gs:C.Pe,Ms:C.Pe,xs:C.Re,Ss:C.Re,ks:_.bitmapSize.height,fs:L.fs})}};let Yt=class Yt extends Ft{constructor(_,C){super(_,C),this.Ws=new W,this.De=new Ut,this.Oe=ne
3099w qt,this.Ws.X([this.De,this.Oe])}ne(_,C,L){return Object.assign(Object.assign({},this.te(_,C)),L.Hs(_))}Gs(){let _=this.Es.Pt();if(null===_)return;let C=this.Es.W(),L=this.Es.At().Ot(C.baseValue.price,_.Vt),Z=this.Ls.yt().he();this.De.it({st:this.Is,ht:C.lineWidth,Wt:C.lineStyle,ds:C.lineType,fs:L,vs:!1,nt:this.zs,cs:Z}),this.Oe.it({st:this.Is,ht:C.lineWidth,Wt:C.lineStyle,ds:C.lineVisible?C.lineType:void 0,Rs:C.pointMarkersVisible?C.pointMarkersRadius||C.lineWidth/2+2:void 0,fs:L,nt:this.zs,cs:Z})}};let Xt=class Xt extends Y{constructor(){super(...arguments),this.Lt=null,this.le=0}it(_){this.Lt=_}Z(_){var C;if(null===this.Lt||0===this.Lt.In.length||null===this.Lt.nt)return;let{horizontalPixelRatio:L}=_;this.le=(C=this.Lt.he)>=2.5&&C<=4?Math.floor(3*L):Math.max(Math.floor(L),Math.min(Math.floor(C*(1-.2*Math.atan(Math.max(4,C)-4)/(.5*Math.PI))*L),Math.floor(C*L))),this.le>=2&&Math.floor(L)%2!=this.le%2&&this.le--;let Z=this.Lt.In;this.Lt.Ae&&this.Ve(_,Z,this.Lt.nt),this.Lt.ci&&this.Be(_,Z,this.Lt.nt);let ea=this.Ie(L);(!this.Lt.ci||this.le>2*ea)&&this.ze(_,Z,this.Lt.nt)}Ve(_,C,L){if(null===this.Lt)return;let{context:Z,horizontalPixelRatio:ea,verticalPixelRatio:es}=_,eo="",el=Math.min(Math.floor(ea),Math.floor(this.Lt.he*ea));el=Math.max(Math.floor(ea),Math.min(el,this.le));let eu=Math.floor(.5*el),ec=null;for(let _=L.from;_<L.to;_++){let L=C[_];L.Ee!==eo&&(Z.fillStyle=L.Ee,eo=L.Ee);let ed=Math.round(Math.min(L.ve,L.pe)*es),eh=Math.round(Math.max(L.ve,L.pe)*es),ep=Math.round(L.ce*es),ef=Math.round(L.de*es),em=Math.round(ea*L.et)-eu,eb=em+el-1;null!==ec&&(em=Math.min(em=Math.max(ec+1,em),eb));let ey=eb-em+1;Z.fillRect(em,ep,ey,ed-ep),Z.fillRect(em,eh+1,ey,ef-eh),ec=eb}}Ie(_){let C=Math.floor(1*_);this.le<=2*C&&(C=Math.floor(.5*(this.le-1)));let L=Math.max(Math.floor(_),C);return this.le<=2*L?Math.max(Math.floor(_),Math.floor(1*_)):L}Be(_,C,L){if(null===this.Lt)return;let{context:Z,horizontalPixelRatio:ea,verticalPixelRatio:es}=_,eo="",el=this.Ie(ea),eu=null;for(let _=L.from;_<L.to;_++){let L=C[_];L.Le!==eo&&(Z.fillStyle=L.Le,eo=L.Le);let ep=Math.round(L.et*ea)-Math.floor(.5*this.le),ef=ep+this.le-1,em=Math.round(Math.min(L.ve,L.pe)*es),eb=Math.round(Math.max(L.ve,L.pe)*es);if(null!==eu&&(ep=Math.min(ep=Math.max(eu+1,ep),ef)),this.Lt.he*ea>2*el){var ec,ed,eh;ec=ep,ed=ef-ep+1,eh=eb-em+1,Z.fillRect(ec+el,em,ed-2*el,el),Z.fillRect(ec+el,em+eh-el,ed-2*el,el),Z.fillRect(ec,em,el,eh),Z.fillRect(ec+ed-el,em,el,eh)}else{let _=ef-ep+1;Z.fillRect(ep,em,_,eb-em+1)}eu=ef}}ze(_,C,L){if(null===this.Lt)return;let{context:Z,horizontalPixelRatio:ea,verticalPixelRatio:es}=_,eo="",el=this.Ie(ea);for(let _=L.from;_<L.to;_++){let L=C[_],eu=Math.round(Math.min(L.ve,L.pe)*es),ec=Math.round(Math.max(L.ve,L.pe)*es),ed=Math.round(L.et*ea)-Math.floor(.5*this.le),eh=ed+this.le-1;if(L.ue!==eo){let _=L.ue;Z.fillStyle=_,eo=_}this.Lt.ci&&(ed+=el,eu+=el,eh-=el,ec-=el),eu>ec||Z.fillRect(ed,eu,eh-ed+1,ec-eu+1)}}};let Kt=class Kt extends Ht{constructor(){super(...arguments),this.Ws=new Xt}ne(_,C,L){return Object.assign(Object.assign({},this.be(_,C,L)),L.Hs(_))}Gs(){let _=this.Es.W();this.Ws.it({In:this.Is,he:this.Ls.yt().he(),Ae:_.wickVisible,ci:_.borderVisible,nt:this.zs})}};let Zt=class Zt{constructor(_,C){this.Ne=_,this.Li=C}K(_,C,L){this.Ne.draw(_,this.Li,C,L)}};let Gt=class Gt extends Nt{constructor(_,C,L){super(_,C,!1),this.wn=L,this.Ws=new Zt(this.wn.renderer(),C=>{let L=_.Pt();return null===L?null:_.At().Ot(C,L.Vt)})}Fe(_){return this.wn.priceValueBuilder(_)}We(_){return this.wn.isWhitespace(_)}qs(){let _=this.Es.$s();this.Is=this.Es.In().ie().map(C=>Object.assign(Object.assign({ut:C.se,et:NaN},_.Hs(C.se)),{je:C.He}))}Zs(_,C){C.Js(this.Is,E(this.zs))}Gs(){this.wn.update({bars:this.Is.map(Jt),barSpacing:this.Ls.yt().he(),visibleRange:this.zs},this.Es.W())}};function Jt(_){return{x:_.et,time:_.ut,originalData:_.je,barColor:_.ue}}let Qt=class Qt extends Y{constructor(){super(...arguments),this.Lt=null,this.$e=[]}it(_){this.Lt=_,this.$e=[]}Z({context:_,horizontalPixelRatio:C,verticalPixelRatio:L}){if(null===this.Lt||0===this.Lt.st.length||null===this.Lt.nt)return;this.$e.length||this.Ue(C);let Z=Math.max(1,Math.floor(L)),ea=Math.round(this.Lt.qe*L)-Math.floor(Z/2),es=ea+Z;for(let C=this.Lt.nt.from;C<this.Lt.nt.to;C++){let eo,el;let eu=this.Lt.st[C],ec=this.$e[C-this.Lt.nt.from],ed=Math.round(eu.rt*L);_.fillStyle=eu.ue,ed<=ea?(eo=ed,el=es):(eo=ea,el=ed-Math.floor(Z/2)+Z),_.fillRect(ec.Os,eo,ec.di-ec.Os+1,el-eo)}}Ue(_){if(null===this.Lt||0===this.Lt.st.length||null===this.Lt.nt)return void(this.$e=[]);let C=1>=Math.ceil(this.Lt.he*_)?0:Math.max(1,Math.floor(_)),L=Math.round(this.Lt.he*_)-C;this.$e=Array(this.Lt.nt.to-this.Lt.nt.from);for(let C=this.Lt.nt.from;C<this.Lt.nt.to;C++){let Z,ea;let es=this.Lt.st[C],eo=Math.round(es.et*_);if(L%2){let _=(L-1)/2;Z=eo-_,ea=eo+_}else{let _=L/2;Z=eo-_,ea=eo+_-1}this.$e[C-this.Lt.nt.from]={Os:Z,di:ea,Ye:eo,Xe:es.et*_,ut:es.ut}}for(let _=this.Lt.nt.from+1;_<this.Lt.nt.to;_++){let L=this.$e[_-this.Lt.nt.from],Z=this.$e[_-this.Lt.nt.from-1];L.ut===Z.ut+1&&L.Os-Z.di!==C+1&&(Z.Ye>Z.Xe?Z.di=L.Os-C-1:L.Os=Z.di+C+1)}let Z=Math.ceil(this.Lt.he*_);for(let _=this.Lt.nt.from;_<this.Lt.nt.to;_++){let C=this.$e[_-this.Lt.nt.from];C.di<C.Os&&(C.di=C.Os);let L=C.di-C.Os+1;Z=Math.min(L,Z)}if(C>0&&Z<4)for(let _=this.Lt.nt.from;_<this.Lt.nt.to;_++){let C=this.$e[_-this.Lt.nt.from];C.di-C.Os+1>Z&&(C.Ye>C.Xe?C.di-=1:C.Os+=1)}}};let ti=class ti extends Ft{constructor(){super(...arguments),this.Ws=new Qt}ne(_,C,L){return Object.assign(Object.assign({},this.te(_,C)),L.Hs(_))}Gs(){let _={st:this.Is,he:this.Ls.yt().he(),nt:this.zs,qe:this.Es.At().Ot(this.Es.W().base,b(this.Es.Pt()).Vt)};this.Ws.it(_)}};let ii=class ii extends Ft{constructor(){super(...arguments),this.Ws=new At}ne(_,C,L){return Object.assign(Object.assign({},this.te(_,C)),L.Hs(_))}Gs(){let _=this.Es.W(),C={st:this.Is,Wt:_.lineStyle,ds:_.lineVisible?_.lineType:void 0,ht:_.lineWidth,Rs:_.pointMarkersVisible?_.pointMarkersRadius||_.lineWidth/2+2:void 0,nt:this.zs,cs:this.Ls.yt().he()};this.Ws.it(C)}};let eW=/[2-9]/g;let si=class si{constructor(_=50){this.Ke=0,this.Ze=1,this.Ge=1,this.Je={},this.Qe=new Map,this.tr=_}ir(){this.Ke=0,this.Qe.clear(),this.Ze=1,this.Ge=1,this.Je={}}Si(_,C,L){return this.nr(_,C,L).width}xi(_,C,L){let Z=this.nr(_,C,L);return((Z.actualBoundingBoxAscent||0)-(Z.actualBoundingBoxDescent||0))/2}nr(_,C,L){let Z=String(C).replace(L||eW,"0");if(this.Qe.has(Z))return m(this.Qe.get(Z)).sr;if(this.Ke===this.tr){let _=this.Je[this.Ge];delete this.Je[this.Ge],this.Qe.delete(_),this.Ge++,this.Ke--}_.save(),_.textBaseline="middle";let ea=_.measureText(Z);
3099return _.restore(),0===ea.width&&C.length||(this.Qe.set(Z,{sr:ea,er:this.Ze}),this.Je[this.Ze]=Z,this.Ke++,this.Ze++),ea}};let ei=class ei{constructor(_){this.rr=null,this.k=null,this.hr="right",this.lr=_}ar(_,C,L){this.rr=_,this.k=C,this.hr=L}K(_){null!==this.k&&null!==this.rr&&this.rr.K(_,this.k,this.lr,this.hr)}};let ri=class ri{constructor(_,C,L){this._r=_,this.lr=new si(50),this.ur=C,this.F=L,this.j=-1,this.Ht=new ei(this.lr)}xt(){let _=this.F.cr(this.ur);if(null===_)return null;let C=_.dr(this.ur)?_.vr():this.ur.At();if(null===C)return null;let L=_.pr(C);if("overlay"===L)return null;let Z=this.F.mr();return Z.P!==this.j&&(this.j=Z.P,this.lr.ir()),this.Ht.ar(this._r.zi(),Z,L),this.Ht}};let hi=class hi extends Y{constructor(){super(...arguments),this.Lt=null}it(_){this.Lt=_}br(_,C){var L;if(!(null===(L=this.Lt)||void 0===L?void 0:L.Tt))return null;let{rt:Z,ht:ea,wr:es}=this.Lt;return C>=Z-ea-7&&C<=Z+ea+7?{gr:this.Lt,wr:es}:null}Z({context:_,bitmapSize:C,horizontalPixelRatio:L,verticalPixelRatio:Z}){if(null===this.Lt||!1===this.Lt.Tt)return;let ea=Math.round(this.Lt.rt*Z);ea<0||ea>C.height||(_.lineCap="butt",_.strokeStyle=this.Lt.O,_.lineWidth=Math.floor(this.Lt.ht*L),f(_,this.Lt.Wt),v(_,ea,0,C.width))}};let li=class li{constructor(_){this.Mr={rt:0,O:"rgba(0, 0, 0, 0)",ht:1,Wt:0,Tt:!1},this.Sr=new hi,this.bt=!0,this.Es=_,this.Ls=_.qt(),this.Sr.it(this.Mr)}gt(){this.bt=!0}xt(){return this.Es.Tt()?(this.bt&&(this.kr(),this.bt=!1),this.Sr):null}};let ai=class ai extends li{constructor(_){super(_)}kr(){this.Mr.Tt=!1;let _=this.Es.At(),C=_.yr().yr;if(2!==C&&3!==C)return;let L=this.Es.W();if(!L.baseLineVisible||!this.Es.Tt())return;let Z=this.Es.Pt();null!==Z&&(this.Mr.Tt=!0,this.Mr.rt=_.Ot(Z.Vt,Z.Vt),this.Mr.O=L.baseLineColor,this.Mr.ht=L.baseLineWidth,this.Mr.Wt=L.baseLineStyle)}};let oi=class oi extends Y{constructor(){super(...arguments),this.Lt=null}it(_){this.Lt=_}He(){return this.Lt}Z({context:_,horizontalPixelRatio:C,verticalPixelRatio:L}){let Z=this.Lt;if(null===Z)return;let ea=Math.max(1,Math.floor(C)),es=ea%2/2,eo=Math.round(Z.Xe.x*C)+es,el=Z.Xe.y*L;_.fillStyle=Z.Cr,_.beginPath();let eu=Math.max(2,1.5*Z.Tr)*C;_.arc(eo,el,eu,0,2*Math.PI,!1),_.fill(),_.fillStyle=Z.Pr,_.beginPath(),_.arc(eo,el,Z.ot*C,0,2*Math.PI,!1),_.fill(),_.lineWidth=ea,_.strokeStyle=Z.Rr,_.beginPath(),_.arc(eo,el,Z.ot*C+ea/2,0,2*Math.PI,!1),_.stroke()}};let eH=[{Dr:0,Or:.25,Ar:4,Vr:10,Br:.25,Ir:0,zr:.4,Er:.8},{Dr:.25,Or:.525,Ar:10,Vr:14,Br:0,Ir:0,zr:.8,Er:0},{Dr:.525,Or:1,Ar:14,Vr:14,Br:0,Ir:0,zr:0,Er:0}];function ui(_,C,L,Z){return function(_,C){if("transparent"===_)return _;let L=T(_),Z=L[3];return`rgba(${L[0]}, ${L[1]}, ${L[2]}, ${C*Z})`}(_,L+(Z-L)*C)}function ci(_,C){var L;let Z;let ea=_%2600/2600;for(let _ of eH)if(ea>=_.Dr&&ea<=_.Or){Z=_;break}p(void 0!==Z,"Last price animation internal logic error");let es=(ea-Z.Dr)/(Z.Or-Z.Dr);return{Pr:ui(C,es,Z.Br,Z.Ir),Rr:ui(C,es,Z.zr,Z.Er),ot:(L=Z.Ar)+(Z.Vr-L)*es}}let di=class di{constructor(_){this.Ht=new oi,this.bt=!0,this.Lr=!0,this.Nr=performance.now(),this.Fr=this.Nr-1,this.Wr=_}jr(){this.Fr=this.Nr-1,this.gt()}Hr(){if(this.gt(),2===this.Wr.W().lastPriceAnimation){let _=performance.now(),C=this.Fr-_;if(C>0)return void(C<650&&(this.Fr+=2600));this.Nr=_,this.Fr=_+2600}}gt(){this.bt=!0}$r(){this.Lr=!0}Tt(){return 0!==this.Wr.W().lastPriceAnimation}Ur(){switch(this.Wr.W().lastPriceAnimation){case 0:return!1;case 1:return!0;case 2:return performance.now()<=this.Fr}}xt(){return this.bt?(this.St(),this.bt=!1,this.Lr=!1):this.Lr&&(this.qr(),this.Lr=!1),this.Ht}St(){this.Ht.it(null);let _=this.Wr.qt().yt(),C=_.Xs(),L=this.Wr.Pt();if(null===C||null===L)return;let Z=this.Wr.Yr(!0);if(Z.Xr||!C.Kr(Z.se))return;let ea={x:_.Et(Z.se),y:this.Wr.At().Ot(Z.ct,L.Vt)},es=Z.O,eo=this.Wr.W().lineWidth,el=ci(this.Zr(),es);this.Ht.it({Cr:es,Tr:eo,Pr:el.Pr,Rr:el.Rr,ot:el.ot,Xe:ea})}qr(){let _=this.Ht.He();if(null!==_){let C=ci(this.Zr(),_.Cr);_.Pr=C.Pr,_.Rr=C.Rr,_.ot=C.ot}}Zr(){return this.Ur()?performance.now()-this.Nr:2599}};function fi(_,C){return Tt(Math.min(Math.max(_,12),30)*C)}function vi(_,C){switch(_){case"arrowDown":case"arrowUp":return fi(C,1);case"circle":return fi(C,.8);case"square":return fi(C,.7)}}function pi(_){return function(_){let C=Math.ceil(_);return C%2!=0?C-1:C}
3099(fi(_,1))}function mi(_){return Math.max(fi(_,.1),3)}function bi(_,C,L,Z,ea){let es=vi("square",L),eo=(es-1)/2,el=_-eo,eu=C-eo;return Z>=el&&Z<=el+es&&ea>=eu&&ea<=eu+es}function wi(_,C,L,Z,ea){let es=(vi("arrowUp",ea)-1)/2,eo=(Tt(ea/2)-1)/2;C.beginPath(),_?(C.moveTo(L-es,Z),C.lineTo(L,Z-es),C.lineTo(L+es,Z),C.lineTo(L+eo,Z),C.lineTo(L+eo,Z+es),C.lineTo(L-eo,Z+es)):(C.moveTo(L-es,Z),C.lineTo(L,Z+es),C.lineTo(L+es,Z),C.lineTo(L+eo,Z),C.lineTo(L+eo,Z-es),C.lineTo(L-eo,Z-es)),C.lineTo(L-eo,Z),C.fill()}let Mi=class Mi extends j{constructor(){super(...arguments),this.Lt=null,this.lr=new si,this.j=-1,this.H="",this.Gr=""}it(_){this.Lt=_}ar(_,C){this.j===_&&this.H===C||(this.j=_,this.H=C,this.Gr=N(_,C),this.lr.ir())}br(_,C){if(null===this.Lt||null===this.Lt.nt)return null;for(let L=this.Lt.nt.from;L<this.Lt.nt.to;L++){let Z=this.Lt.st[L];if(!(void 0===Z.Jt||!function(_,C,L,Z,ea,es){let eo=Z/2;return ea>=_&&ea<=_+L&&es>=C-eo&&es<=C+eo}(Z.Jt.et,Z.Jt.rt,Z.Jt.$i,Z.Jt.zt,_,C))||function(_,C,L){if(0===_.Ks)return!1;switch(_.th){case"arrowDown":case"arrowUp":var Z;return Z=_.et,bi(Z,_.rt,_.Ks,C,L);case"circle":return function(_,C,L,Z,ea){let es=2+vi("circle",L)/2,eo=_-Z,el=C-ea;return Math.sqrt(eo*eo+el*el)<=es}(_.et,_.rt,_.Ks,C,L);case"square":return bi(_.et,_.rt,_.Ks,C,L)}}(Z,_,C))return{gr:Z.Jr,wr:Z.wr}}return null}Z({context:_},C,L){if(null!==this.Lt&&null!==this.Lt.nt){_.textBaseline="middle",_.font=this.Gr;for(let C=this.Lt.nt.from;C<this.Lt.nt.to;C++){let L=this.Lt.st[C];void 0!==L.Jt&&(L.Jt.$i=this.lr.Si(_,L.Jt.Qr),L.Jt.zt=this.j,L.Jt.et=L.et-L.Jt.$i/2),_.fillStyle=L.O,void 0!==L.Jt&&function(_,C,L,Z){_.fillText(C,L,Z)}(_,L.Jt.Qr,L.Jt.et,L.Jt.rt),function(_,C){if(0!==_.Ks){switch(_.th){case"arrowDown":return void wi(!1,C,_.et,_.rt,_.Ks);case"arrowUp":return void wi(!0,C,_.et,_.rt,_.Ks);case"circle":return void function(_,C,L,Z){let ea=(vi("circle",Z)-1)/2;_.beginPath(),_.arc(C,L,ea,0,2*Math.PI,!1),_.fill()}(C,_.et,_.rt,_.Ks);case"square":return void function(_,C,L,Z){let ea=vi("square",Z),es=(ea-1)/2;_.fillRect(C-es,L-es,ea,ea)}(C,_.et,_.rt,_.Ks)}_.th}}(L,_)}}}};let yi=class yi{constructor(_,C){this.bt=!0,this.sh=!0,this.eh=!0,this.rh=null,this.Ht=new Mi,this.Wr=_,this.Ui=C,this.Lt={st:[],nt:null}}gt(_){this.bt=!0,this.eh=!0,"data"===_&&(this.sh=!0)}xt(_){if(!this.Wr.Tt())return null;this.bt&&this.hh();let C=this.Ui.W().layout;return this.Ht.ar(C.fontSize,C.fontFamily),this.Ht.it(this.Lt),this.Ht}lh(){if(this.eh){if(this.Wr.ah().length>0){let _=this.Ui.yt().he(),C=mi(_),L=1.5*pi(_)+2*C;this.rh={above:L,below:L}}else this.rh=null;this.eh=!1}return this.rh}hh(){let _=this.Wr.At(),C=this.Ui.yt(),L=this.Wr.ah();this.sh&&(this.Lt.st=L.map(_=>({ut:_.time,et:0,rt:0,Ks:0,th:_.shape,O:_.color,Jr:_.Jr,wr:_.id,Jt:void 0})),this.sh=!1);let Z=this.Ui.W().layout;this.Lt.nt=null;let ea=C.Xs();if(null===ea)return;let es=this.Wr.Pt();if(null===es||0===this.Lt.st.length)return;let eo=NaN,el=mi(C.he()),eu={ih:el,nh:el};this.Lt.nt=Lt(this.Lt.st,ea,!0);for(let ea=this.Lt.nt.from;ea<this.Lt.nt.to;ea++){let ec=L[ea];ec.time!==eo&&(eu.ih=el,eu.nh=el,eo=ec.time);let ed=this.Lt.st[ea];ed.et=C.Et(ec.time),void 0!==ec.text&&ec.text.length>0&&(ed.Jt={Qr:ec.text,et:0,rt:0,$i:0,zt:0});let eh=this.Wr.oh(ec.time);null!==eh&&function(_,C,L,Z,ea,es,eo,el,eu){let ec=O(L)?L:L.xe,ed=O(L)?L:L.ge,eh=O(L)?L:L.Me,ep=O(C.size)?Math.max(C.size,0):1,ef=pi(el.he())*ep,em=ef/2;switch(_.Ks=ef,C.position){case"inBar":return _.rt=eo.Ot(ec,eu),void(void 0!==_.Jt&&(_.Jt.rt=_.rt+em+es+.6*ea));case"aboveBar":return _.rt=eo.Ot(ed,eu)-em-Z.ih,void 0!==_.Jt&&(_.Jt.rt=_.rt-em-.6*ea,Z.ih+=1.2*ea),void(Z.ih+=ef+es);case"belowBar":return _.rt=eo.Ot(eh,eu)+em+Z.nh,void 0!==_.Jt&&(_.Jt.rt=_.rt+em+es+.6*ea,Z.nh+=1.2*ea),void(Z.nh+=ef+es)}C.position}(ed,ec,eh,eu,Z.fontSize,el,_,C,es.Vt)}this.bt=!1}};let Ci=class Ci extends li{constructor(_){super(_)}kr(){let _=this.Mr;_.Tt=!1;let C=this.Es.W();if(!C.priceLineVisible||!this.Es.Tt())return;let L=this.Es.Yr(0===C.priceLineSource);L.Xr||(_.Tt=!0,_.rt=L.yi,_.O=this.Es._h(L.O),_.ht=C.priceLineWidth,_.Wt=C.priceLineStyle)}};let Ti=class Ti extends st{constructor(_){super(),this.$t=_}Ei(_,C,L){_.Tt=!1,C.Tt=!1;let Z=this.$t;if(!Z.Tt())return;let ea=Z.W(),es=ea.lastValueVisible,eo=""!==Z.uh(),el=0===ea.seriesLastValueMode,eu=Z.Yr(!1);if(eu.Xr)return;es&&(_.Jt=this.dh(eu,es,el),_.Tt=0!==_.Jt.length),(eo||el)&&(C.Jt=this.fh(eu,es,eo,el),C.Tt=C.Jt.length>0);let ec=Z._h(eu.O),ed=P(ec);L.t=ed.t,L.yi=eu.yi,C.Bt=Z.qt().It(eu.yi/Z.At().zt()),_.Bt=ec,_.O=ed.i,C.O=ed.i}fh(_,C,L,Z){let ea="",es=this.$t.uh();
3099return L&&0!==es.length&&(ea+=`${es} `),C&&Z&&(ea+=this.$t.At().ph()?_.mh:_.bh),ea.trim()}dh(_,C,L){return C?L?this.$t.At().ph()?_.bh:_.mh:_.Jt:""}};function Pi(_,C,L,Z){let ea=Number.isFinite(C),es=Number.isFinite(L);return ea&&es?_(C,L):ea||es?ea?C:L:Z}let Ri=class Ri{constructor(_,C){this.wh=_,this.gh=C}Mh(_){return null!==_&&this.wh===_.wh&&this.gh===_.gh}xh(){return new Ri(this.wh,this.gh)}Sh(){return this.wh}kh(){return this.gh}yh(){return this.gh-this.wh}Fi(){return this.gh===this.wh||Number.isNaN(this.gh)||Number.isNaN(this.wh)}ts(_){return null===_?this:new Ri(Pi(Math.min,this.Sh(),_.Sh(),-1/0),Pi(Math.max,this.kh(),_.kh(),1/0))}Ch(_){if(!O(_)||0==this.gh-this.wh)return;let C=.5*(this.gh+this.wh),L=this.gh-C,Z=this.wh-C;L*=_,Z*=_,this.gh=C+L,this.wh=C+Z}Th(_){O(_)&&(this.gh+=_,this.wh+=_)}Ph(){return{minValue:this.wh,maxValue:this.gh}}static Rh(_){return null===_?null:new Ri(_.minValue,_.maxValue)}};let Di=class Di{constructor(_,C){this.Dh=_,this.Oh=C||null}Ah(){return this.Dh}Vh(){return this.Oh}Ph(){return null===this.Dh?null:{priceRange:this.Dh.Ph(),margins:this.Oh||void 0}}static Rh(_){return null===_?null:new Di(Ri.Rh(_.priceRange),_.margins)}};let Oi=class Oi extends li{constructor(_,C){super(_),this.Bh=C}kr(){let _=this.Mr;_.Tt=!1;let C=this.Bh.W();if(!this.Es.Tt()||!C.lineVisible)return;let L=this.Bh.Ih();null!==L&&(_.Tt=!0,_.rt=L,_.O=C.color,_.ht=C.lineWidth,_.Wt=C.lineStyle,_.wr=this.Bh.W().id)}};let Ai=class Ai extends st{constructor(_,C){super(),this.Wr=_,this.Bh=C}Ei(_,C,L){_.Tt=!1,C.Tt=!1;let Z=this.Bh.W(),ea=Z.axisLabelVisible,es=""!==Z.title,eo=this.Wr;if(!ea||!eo.Tt())return;let el=this.Bh.Ih();if(null===el)return;es&&(C.Jt=Z.title,C.Tt=!0),C.Bt=eo.qt().It(el/eo.At().zt()),_.Jt=this.zh(Z.price),_.Tt=!0;let eu=P(Z.axisLabelColor||Z.color);L.t=eu.t;let ec=Z.axisLabelTextColor||eu.i;_.O=ec,C.O=ec,L.yi=el}zh(_){let C=this.Wr.Pt();return null===C?"":this.Wr.At().Wi(_,C.Vt)}};let Vi=class Vi{constructor(_,C){this.Wr=_,this.cn=C,this.Eh=new Oi(_,this),this._r=new Ai(_,this),this.Lh=new ri(this._r,_,_.qt())}Nh(_){D(this.cn,_),this.gt(),this.Wr.qt().Fh()}W(){return this.cn}Wh(){return this.Eh}jh(){return this.Lh}Hh(){return this._r}gt(){this.Eh.gt(),this._r.gt()}Ih(){let _=this.Wr,C=_.At();if(_.qt().yt().Fi()||C.Fi())return null;let L=_.Pt();return null===L?null:C.Ot(this.cn.price,L.Vt)}};let Bi=class Bi extends at{constructor(_){super(),this.Ui=_}qt(){return this.Ui}};let eG={Bar:(_,C,L,Z)=>{var ea;let es=C.upColor,eo=C.downColor,el=b(_(L,Z)),eu=w(el.Vt[0])<=w(el.Vt[3]);return{ue:null!==(ea=el.O)&&void 0!==ea?ea:eu?es:eo}},Candlestick:(_,C,L,Z)=>{var ea,es,eo;let el=C.upColor,eu=C.downColor,ec=C.borderUpColor,ed=C.borderDownColor,eh=C.wickUpColor,ep=C.wickDownColor,ef=b(_(L,Z)),em=w(ef.Vt[0])<=w(ef.Vt[3]);return{ue:null!==(ea=ef.O)&&void 0!==ea?ea:em?el:eu,Le:null!==(es=ef.Bt)&&void 0!==es?es:em?ec:ed,Ee:null!==(eo=ef.$h)&&void 0!==eo?eo:em?eh:ep}},Custom:(_,C,L,Z)=>{var ea;return{ue:null!==(ea=b(_(L,Z)).O)&&void 0!==ea?ea:C.color}},Area:(_,C,L,Z)=>{var ea,es,eo,el;let eu=b(_(L,Z));return{ue:null!==(ea=eu._t)&&void 0!==ea?ea:C.lineColor,_t:null!==(es=eu._t)&&void 0!==es?es:C.lineColor,Ts:null!==(eo=eu.Ts)&&void 0!==eo?eo:C.topColor,Ps:null!==(el=eu.Ps)&&void 0!==el?el:C.bottomColor}},Baseline:(_,C,L,Z)=>{var ea,es,eo,el,eu,ec;let ed=b(_(L,Z));return{ue:ed.Vt[3]>=C.baseValue.price?C.topLineColor:C.bottomLineColor,Pe:null!==(ea=ed.Pe)&&void 0!==ea?ea:C.topLineColor,Re:null!==(es=ed.Re)&&void 0!==es?es:C.bottomLineColor,Se:null!==(eo=ed.Se)&&void 0!==eo?eo:C.topFillColor1,ke:null!==(el=ed.ke)&&void 0!==el?el:C.topFillColor2,ye:null!==(eu=ed.ye)&&void 0!==eu?eu:C.bottomFillColor1,Ce:null!==(ec=ed.Ce)&&void 0!==ec?ec:C.bottomFillColor2}},Line:(_,C,L,Z)=>{var ea,es;let eo=b(_(L,Z));return{ue:null!==(ea=eo.O)&&void 0!==ea?ea:C.color,_t:null!==(es=eo.O)&&void 0!==es?es:C.color}},Histogram:(_,C,L,Z)=>{var ea;return{ue:null!==(ea=b(_(L,Z)).O)&&void 0!==ea?ea:C.color}}};let zi=class zi{constructor(_){this.Uh=(_,C)=>void 0!==C?C.Vt:this.Wr.In().qh(_),this.Wr=_,this.Yh=eG[_.Xh()]}Hs(_,C){return this.Yh(this.Uh,this.Wr.W(),_,C)}};(eo=ey||(ey={}))[eo.NearestLeft=-1]="NearestLeft",eo[eo.None=0]="None",eo[eo.NearestRight=1]="NearestRight";let Ni=class Ni{constructor(){this.Kh=[],this.Zh=new Map,this.Gh=new Map}Jh(){return this.Ks()>0?this.Kh[this.Kh.length-1]:null}Qh(){return this.Ks()>0?this.tl(0):null}Bn(){return this.Ks()>0?this.tl(this.Kh.length-1):null}Ks(){return this.Kh.length}Fi(){return 0===this.Ks()}Kr(_){return null!==this.il(_,0)}qh(_){return this.nl(_)}nl(_,C=0){let L=this.il(_,C);return null===L?null:Object.assign(Object.assign({},this.sl(L)),{se:this.tl(L)})}ie(){return this.Kh}el(_,C,L){if(this.Fi())return null;let Z=null;for(let ea of L)Z=Fi(Z,this.rl(_,C,ea));return Z}it(_){this.Gh.clear(),this.Zh.clear(),this.Kh=_}tl(_){return this.Kh[_].se}sl(_){return this.Kh[_]}il(_,C){let L=this.hl(_);if(null===L&&0!==C)switch(C){case -1:return this.ll(_);case 1:return this.al(_);default:throw TypeError("Unknown search mode")}return L}ll(_){let C=this.ol(_);return C>0&&(C-=1),C!==this.Kh.length&&this.tl(C)<_?C:null}al(_){let C=this._l(_);return C!==this.Kh.length&&_<this.tl(C)?C:null}hl(_){let C=this.ol(_);return C===this.Kh.length||_<this.Kh[C].se?null:C}ol(_){return e$(this.Kh,_,(_,C)=>_.se<C)}_l(_){return eV(this.Kh,_,(_,C)=>_.se>C)}ul(_,C,L){let Z=null;for(let ea=_;ea<C;ea++){let _=this.Kh[ea].Vt[L];Number.isNaN(_)||(null===Z?Z={cl:_,dl:_}:(_<Z.cl&&(Z.cl=_),_>Z.dl&&(Z.dl=_)))}return Z}rl(_,C,L){if(this.Fi())return null;let Z=null,ea=b(this.Qh()),es=b(this.Bn()),eo=Math.max(_,ea),el=Math.min(C,es),eu=30*Math.ceil(eo/30),ec=Math.max(eu,30*Math.floor(el/30));{let _=this.ol(eo),ea=this._l(Math.min(el,eu,C));Z=Fi(Z,this.ul(_,ea,L))}let ed=this.Zh.get(L);void 0===ed&&(ed=new Map,this.Zh.set(L,ed));for(let _=Math.max(eu+1,eo);_<ec;_+=30){let C=Math.floor(_/30),ea=ed.get(C);if(void 0===ea){let _=this.ol(30*C),Z=this._l((C+1)*30-1);ea=this.ul(_,Z,L),ed.set(C,ea)}Z=Fi(Z,ea)}{let _=this.ol(ec),C=this._l(el);Z=Fi(Z,this.ul(_,C,L))}return Z}};function Fi(_,C){return null===_?C:null===C?_:{cl:Math.min(_.cl,C.cl),dl:Math.max(_.dl,C.dl)}}let Wi=class Wi{constructor(_){this.fl=_}K(_,C,L){this.fl.draw(_)}G(_,C,L){var Z,ea;
3099null===(ea=(Z=this.fl).drawBackground)||void 0===ea||ea.call(Z,_)}};let ji=class ji{constructor(_){this.Qe=null,this.wn=_}xt(){var _;let C=this.wn.renderer();if(null===C)return null;if((null===(_=this.Qe)||void 0===_?void 0:_.vl)===C)return this.Qe.pl;let L=new Wi(C);return this.Qe={vl:C,pl:L},L}ml(){var _,C,L;return null!==(L=null===(C=(_=this.wn).zOrder)||void 0===C?void 0:C.call(_))&&void 0!==L?L:"normal"}};function Hi(_){var C,L,Z,ea,es;return{Jt:_.text(),yi:_.coordinate(),ki:null===(C=_.fixedCoordinate)||void 0===C?void 0:C.call(_),O:_.textColor(),t:_.backColor(),Tt:null===(Z=null===(L=_.visible)||void 0===L?void 0:L.call(_))||void 0===Z||Z,ai:null===(es=null===(ea=_.tickVisible)||void 0===ea?void 0:ea.call(_))||void 0===es||es}}let $i=class $i{constructor(_,C){this.Ht=new ht,this.bl=_,this.wl=C}xt(){return this.Ht.it(Object.assign({$i:this.wl.$i()},Hi(this.bl))),this.Ht}};let Ui=class Ui extends st{constructor(_,C){super(),this.bl=_,this.Li=C}Ei(_,C,L){let Z=Hi(this.bl);L.t=Z.t,_.O=Z.O;let ea=2/12*this.Li.P();L.gi=ea,L.Mi=ea,L.yi=Z.yi,L.ki=Z.ki,_.Jt=Z.Jt,_.Tt=Z.Tt,_.ai=Z.ai}};let qi=class qi{constructor(_,C){this.gl=null,this.Ml=null,this.xl=null,this.Sl=null,this.kl=null,this.yl=_,this.Wr=C}Cl(){return this.yl}On(){var _,C;null===(C=(_=this.yl).updateAllViews)||void 0===C||C.call(_)}Pn(){var _,C,L,Z;let ea=null!==(L=null===(C=(_=this.yl).paneViews)||void 0===C?void 0:C.call(_))&&void 0!==L?L:[];if((null===(Z=this.gl)||void 0===Z?void 0:Z.vl)===ea)return this.gl.pl;let es=ea.map(_=>new ji(_));return this.gl={vl:ea,pl:es},es}tn(){var _,C,L,Z;let ea=null!==(L=null===(C=(_=this.yl).timeAxisViews)||void 0===C?void 0:C.call(_))&&void 0!==L?L:[];if((null===(Z=this.Ml)||void 0===Z?void 0:Z.vl)===ea)return this.Ml.pl;let es=this.Wr.qt().yt(),eo=ea.map(_=>new $i(_,es));return this.Ml={vl:ea,pl:eo},eo}Rn(){var _,C,L,Z;let ea=null!==(L=null===(C=(_=this.yl).priceAxisViews)||void 0===C?void 0:C.call(_))&&void 0!==L?L:[];if((null===(Z=this.xl)||void 0===Z?void 0:Z.vl)===ea)return this.xl.pl;let es=this.Wr.At(),eo=ea.map(_=>new Ui(_,es));return this.xl={vl:ea,pl:eo},eo}Tl(){var _,C,L,Z;let ea=null!==(L=null===(C=(_=this.yl).priceAxisPaneViews)||void 0===C?void 0:C.call(_))&&void 0!==L?L:[];if((null===(Z=this.Sl)||void 0===Z?void 0:Z.vl)===ea)return this.Sl.pl;let es=ea.map(_=>new ji(_));return this.Sl={vl:ea,pl:es},es}Pl(){var _,C,L,Z;let ea=null!==(L=null===(C=(_=this.yl).timeAxisPaneViews)||void 0===C?void 0:C.call(_))&&void 0!==L?L:[];if((null===(Z=this.kl)||void 0===Z?void 0:Z.vl)===ea)return this.kl.pl;let es=ea.map(_=>new ji(_));return this.kl={vl:ea,pl:es},es}Rl(_,C){var L,Z,ea;return null!==(ea=null===(Z=(L=this.yl).autoscaleInfo)||void 0===Z?void 0:Z.call(L,_,C))&&void 0!==ea?ea:null}br(_,C){var L,Z,ea;return null!==(ea=null===(Z=(L=this.yl).hitTest)||void 0===Z?void 0:Z.call(L,_,C))&&void 0!==ea?ea:null}};function Yi(_,C,L,Z){_.forEach(_=>{C(_).forEach(_=>{_.ml()===L&&Z.push(_)})})}function Xi(_){return _.Pn()}function Ki(_){return _.Tl()}function Zi(_){return _.Pl()}let Gi=class Gi extends Bi{constructor(_,C,L,Z,ea){super(_),this.Lt=new Ni,this.Eh=new Ci(this),this.Dl=[],this.Ol=new ai(this),this.Al=null,this.Vl=null,this.Bl=[],this.Il=[],this.zl=null,this.El=[],this.cn=C,this.Ll=L;let es=new Ti(this);this.hn=[es],this.Lh=new ri(es,this,_),"Area"!==L&&"Line"!==L&&"Baseline"!==L||(this.Al=new di(this)),this.Nl(),this.Fl(ea)}S(){null!==this.zl&&clearTimeout(this.zl)}_h(_){return this.cn.priceLineColor||_}Yr(_){let C,L;let Z={Xr:!0},ea=this.At();if(this.qt().yt().Fi()||ea.Fi()||this.Lt.Fi())return Z;let es=this.qt().yt().Xs(),eo=this.Pt();if(null===es||null===eo)return Z;if(_){let _=this.Lt.Jh();if(null===_)return Z;C=_,L=_.se}else{let _=this.Lt.nl(es.di(),-1);if(null===_||null===(C=this.Lt.qh(_.se)))return Z;L=_.se}let el=C.Vt[3],eu=this.$s().Hs(L,{Vt:C}),ec=ea.Ot(el,eo.Vt);return{Xr:!1,ct:el,Jt:ea.Wi(el,eo.Vt),mh:ea.Wl(el),bh:ea.jl(el,eo.Vt),O:eu.ue,yi:ec,se:L}}$s(){return null!==this.Vl||(this.Vl=new zi(this)),this.Vl}W(){return this.cn}Nh(_){let C=_.priceScaleId;void 0!==C&&C!==this.cn.priceScaleId&&this.qt().Hl(this,C),D(this.cn,_),void 0!==_.priceFormat&&(this.Nl(),this.qt().$l()),this.qt().Ul(this),this.qt().ql(),this.wn.gt("options")}it(_,C){this.Lt.it(_),this.Yl(),this.wn.gt("data"),this.dn.gt("data"),null!==this.Al&&(C&&C.Xl?this.Al.Hr():0===_.length&&this.Al.jr());let L=this.qt().cr(this);this.qt().Kl(L),this.qt().Ul(this),this.qt().ql(),this.qt().Fh()}Zl(_){this.Bl=_,this.Yl();let C=this.qt().cr(this);this.dn.gt("data"),this.qt().Kl(C),this.qt().Ul(this),this.qt().ql(),this.qt().Fh()}Gl(){return this.Bl}ah(){return this.Il}Jl(_){let C=new Vi(this,_);return this.Dl.push(C),this.qt().Ul(this),C}Ql(_){let C=this.Dl.indexOf(_);-1!==C&&this.Dl.splice(C,1),this.qt().Ul(this)}Xh(){return this.Ll}Pt(){let _=this.ta();return null===_?null:{Vt:_.Vt[3],ia:_.ut}}ta(){let _=this.qt().yt().Xs();if(null===_)return null;let C=_.Os();return this.Lt.nl(C,1)}In(){return this.Lt}oh(_){let C=this.Lt.qh(_);return null===C?null:"Bar"===this.Ll||"Candlestick"===this.Ll||"Custom"===this.Ll?{we:C.Vt[0],ge:C.Vt[1],Me:C.Vt[2],xe:C.Vt[3]}:C.Vt[3]}na(_){let C=[];Yi(this.El,Xi,"top",C);let L=this.Al;return null!==L&&L.Tt()&&(null===this.zl&&L.Ur()&&(this.zl=setTimeout(()=>{this.zl=null,this.qt().sa()},0)),L.$r(),C.push(L)),C}Pn(){let _=[];this.ea()||_.push(this.Ol),_.push(this.wn,this.Eh,this.dn);let C=this.Dl.map(_=>_.Wh());return _.push(...C),Yi(this.El,Xi,"normal",_),_}ra(){return this.ha(Xi,"bottom")}la(_){return this.ha(Ki,_)}aa(_){return this.ha(Zi,_)}oa(_,C){return this.El.map(L=>L.br(_,C)).filter(_=>null!==_)}Qi(_){return[this.Lh,...this.Dl.map(_=>_.jh())]}Rn(_,C){if(C!==this.Xi&&!this.ea())return[];let L=[...this.hn];for(let _ of this.Dl)L.push(_.Hh());return this.El.forEach(_=>{L.push(..._.Rn())}),L}tn(){let _=[];return this.El.forEach(C=>{_.push(...C.tn())}),_}Rl(_,C){if(void 0!==this.cn.autoscaleInfoProvider){let L=this.cn.autoscaleInfoProvider(()=>{let L=this._a(_,C);return null===L?null:L.Ph()});return Di.Rh(L)}return this._a(_,C)}ua(){return this.cn.priceFormat.minMove}ca(){return this.da}On(){var _;
3099for(let _ of(this.wn.gt(),this.dn.gt(),this.hn))_.gt();for(let _ of this.Dl)_.gt();this.Eh.gt(),this.Ol.gt(),null===(_=this.Al)||void 0===_||_.gt(),this.El.forEach(_=>_.On())}At(){return b(super.At())}Ct(_){if(!(("Line"===this.Ll||"Area"===this.Ll||"Baseline"===this.Ll)&&this.cn.crosshairMarkerVisible))return null;let C=this.Lt.qh(_);return null===C?null:{ct:C.Vt[3],ot:this.fa(),Bt:this.va(),Dt:this.pa(),Rt:this.ma(_)}}uh(){return this.cn.title}Tt(){return this.cn.visible}ba(_){this.El.push(new qi(_,this))}wa(_){this.El=this.El.filter(C=>C.Cl()!==_)}ga(){if(this.wn instanceof Gt!=!1)return _=>this.wn.Fe(_)}Ma(){if(this.wn instanceof Gt!=!1)return _=>this.wn.We(_)}ea(){return!ut(this.At().xa())}_a(_,C){if(!A(_)||!A(C)||this.Lt.Fi())return null;let L="Line"===this.Ll||"Area"===this.Ll||"Baseline"===this.Ll||"Histogram"===this.Ll?[3]:[2,1],Z=this.Lt.el(_,C,L),ea=null!==Z?new Ri(Z.cl,Z.dl):null;if("Histogram"===this.Xh()){let _=this.cn.base,C=new Ri(_,_);ea=null!==ea?ea.ts(C):C}let es=this.dn.lh();return this.El.forEach(L=>{var Z,eo,el,eu;let ec=L.Rl(_,C);if(null==ec?void 0:ec.priceRange){let _=new Ri(ec.priceRange.minValue,ec.priceRange.maxValue);ea=null!==ea?ea.ts(_):_}(null==ec?void 0:ec.margins)&&(Z=es,eo=ec.margins,es={above:Math.max(null!==(el=null==Z?void 0:Z.above)&&void 0!==el?el:0,eo.above),below:Math.max(null!==(eu=null==Z?void 0:Z.below)&&void 0!==eu?eu:0,eo.below)})}),new Di(ea,es)}fa(){switch(this.Ll){case"Line":case"Area":case"Baseline":return this.cn.crosshairMarkerRadius}return 0}va(){switch(this.Ll){case"Line":case"Area":case"Baseline":{let _=this.cn.crosshairMarkerBorderColor;if(0!==_.length)return _}}return null}pa(){switch(this.Ll){case"Line":case"Area":case"Baseline":return this.cn.crosshairMarkerBorderWidth}return 0}ma(_){switch(this.Ll){case"Line":case"Area":case"Baseline":{let _=this.cn.crosshairMarkerBackgroundColor;if(0!==_.length)return _}}return this.$s().Hs(_).ue}Nl(){switch(this.cn.priceFormat.type){case"custom":this.da={format:this.cn.priceFormat.formatter};break;case"volume":this.da=new mt(this.cn.priceFormat.precision);break;case"percent":this.da=new pt(this.cn.priceFormat.precision);break;default:{let _=Math.pow(10,this.cn.priceFormat.precision);this.da=new vt(_,this.cn.priceFormat.minMove*_)}}null!==this.Xi&&this.Xi.Sa()}Yl(){let _=this.qt().yt();if(!_.ka()||this.Lt.Fi())return void(this.Il=[]);let C=b(this.Lt.Qh());this.Il=this.Bl.map((L,Z)=>{let ea=b(_.ya(L.time,!0)),es=ea<C?1:-1;return{time:b(this.Lt.nl(ea,es)).se,position:L.position,shape:L.shape,color:L.color,id:L.id,Jr:Z,text:L.text,size:L.size,originalTime:L.originalTime}})}Fl(_){switch(this.dn=new yi(this,this.qt()),this.Ll){case"Bar":this.wn=new $t(this,this.qt());break;case"Candlestick":this.wn=new Kt(this,this.qt());break;case"Line":this.wn=new ii(this,this.qt());break;case"Custom":this.wn=new Gt(this,this.qt(),m(_));break;case"Area":this.wn=new Wt(this,this.qt());break;case"Baseline":this.wn=new Yt(this,this.qt());break;case"Histogram":this.wn=new ti(this,this.qt());break;default:throw Error("Unknown chart style assigned: "+this.Ll)}}ha(_,C){let L=[];return Yi(this.El,_,C,L),L}};let Ji=class Ji{constructor(_){this.cn=_}Ca(_,C,L){if(0===this.cn.mode)return _;let Z=L.vn(),ea=Z.Pt();if(null===ea)return _;let es=Z.Ot(_,ea),eo=L.Ta().filter(_=>_ instanceof Gi).reduce((_,Z)=>{if(L.dr(Z)||!Z.Tt())return _;let ea=Z.At(),es=Z.In();if(ea.Fi()||!es.Kr(C))return _;let eo=es.qh(C);if(null===eo)return _;let el=w(Z.Pt());return _.concat([ea.Ot(eo.Vt[3],el.Vt)])},[]);if(0===eo.length)return _;eo.sort((_,C)=>Math.abs(_-es)-Math.abs(C-es));let el=eo[0];return Z.pn(el,ea)}};let Qi=class Qi extends Y{constructor(){super(...arguments),this.Lt=null}it(_){this.Lt=_}Z({context:_,bitmapSize:C,horizontalPixelRatio:L,verticalPixelRatio:Z}){if(null===this.Lt)return;let ea=Math.max(1,Math.floor(L));_.lineWidth=ea,_.save(),_.lineWidth%2&&_.translate(.5,.5),(()=>{let es=b(this.Lt);if(es.Pa){for(let Z of(_.strokeStyle=es.Ra,f(_,es.Da),_.beginPath(),es.Oa)){let es=Math.round(Z.Aa*L);_.moveTo(es,-ea),_.lineTo(es,C.height+ea)}_.stroke()}if(es.Va){for(let L of(_.strokeStyle=es.Ba,f(_,es.Ia),_.beginPath(),es.za)){let es=Math.round(L.Aa*Z);_.moveTo(-ea,es),_.lineTo(C.width+ea,es)}_.stroke()}}
3099)(),_.restore()}};let tn=class tn{constructor(_){this.Ht=new Qi,this.bt=!0,this.nn=_}gt(){this.bt=!0}xt(){if(this.bt){let _=this.nn.qt().W().grid,C={Va:_.horzLines.visible,Pa:_.vertLines.visible,Ba:_.horzLines.color,Ra:_.vertLines.color,Ia:_.horzLines.style,Da:_.vertLines.style,za:this.nn.vn().Ea(),Oa:(this.nn.qt().yt().Ea()||[]).map(_=>({Aa:_.coord}))};this.Ht.it(C),this.bt=!1}return this.Ht}};let nn=class nn{constructor(_){this.wn=new tn(_)}Wh(){return this.wn}};let eK={La:4,Na:1e-4};function en(_,C){let L=100*(_-C)/C;return C<0?-L:L}function hn(_,C){let L=100*(_-C)/C+100;return C<0?-L:L}function an(_,C){let L=Math.abs(_);if(L<1e-15)return 0;let Z=Math.log10(L+C.Na)+C.La;return _<0?-Z:Z}function on(_,C){let L=Math.abs(_);if(L<1e-15)return 0;let Z=Math.pow(10,L-C.La)-C.Na;return _<0?-Z:Z}function _n(_,C){if(null===_)return null;let L=an(_.Sh(),C),Z=an(_.kh(),C);return new Ri(L,Z)}function un(_,C){if(null===_)return null;let L=on(_.Sh(),C),Z=on(_.kh(),C);return new Ri(L,Z)}function cn(_){if(null===_)return eK;let C=Math.abs(_.kh()-_.Sh());if(C>=1||C<1e-15)return eK;let L=eK.La+Math.ceil(Math.abs(Math.log10(C)));return{La:L,Na:1/Math.pow(10,L)}}let dn=class dn{constructor(_,C){if(this.Fa=_,this.Wa=C,function(_){if(_<0)return!1;for(let C=_;C>1;C/=10)if(C%10!=0)return!1;return!0}(this.Fa))this.ja=[2,2.5,2];else{this.ja=[];for(let _=this.Fa;1!==_;){if(_%2==0)this.ja.push(2),_/=2;else{if(_%5!=0)throw Error("unexpected base");this.ja.push(2,2.5),_/=5}if(this.ja.length>100)throw Error("something wrong with base")}}}Ha(_,C,L){let Z=0===this.Fa?0:1/this.Fa,ea=Math.pow(10,Math.max(0,Math.ceil(Math.log10(_-C)))),es=0,eo=this.Wa[0];for(;;){let _=Z-ea<=1e-14&&ea>Z+1e-14,C=L*eo-ea<=1e-14,el=1-ea<=1e-14;if(!(_&&C&&el))break;ea/=eo,eo=this.Wa[++es%this.Wa.length]}if(ea<=Z+1e-14&&(ea=Z),ea=Math.max(1,ea),this.ja.length>0&&1e-14>Math.abs(ea-1))for(es=0,eo=this.ja[0];L*eo-ea<=1e-14&&ea>Z+1e-14;)ea/=eo,eo=this.ja[++es%this.ja.length];return ea}};let fn=class fn{constructor(_,C,L,Z){this.$a=[],this.Li=_,this.Fa=C,this.Ua=L,this.qa=Z}Ha(_,C){if(_<C)throw Error("high < low");let L=this.Li.zt(),Z=(_-C)*this.Ya()/L,ea=new dn(this.Fa,[2,2.5,2]),es=new dn(this.Fa,[2,2,2.5]),eo=new dn(this.Fa,[2.5,2,2]),el=[];return el.push(ea.Ha(_,C,Z),es.Ha(_,C,Z),eo.Ha(_,C,Z)),function(_){if(_.length<1)throw Error("array is empty");let C=_[0];for(let L=1;L<_.length;++L)_[L]<C&&(C=_[L]);return C}(el)}Xa(){let _=this.Li,C=_.Pt();if(null===C)return void(this.$a=[]);let L=_.zt(),Z=this.Ua(L-1,C),ea=this.Ua(0,C),es=this.Li.W().entireTextOnly?this.Ka()/2:0,eo=L-1-es,el=Math.max(Z,ea),eu=Math.min(Z,ea);if(el===eu)return void(this.$a=[]);let ec=this.Ha(el,eu),ed=el%ec;ed+=ed<0?ec:0;let eh=el>=eu?1:-1,ep=null,ef=0;for(let L=el-ed;L>eu;L-=ec){let Z=this.qa(L,C,!0);null!==ep&&Math.abs(Z-ep)<this.Ya()||Z<es||Z>eo||(ef<this.$a.length?(this.$a[ef].Aa=Z,this.$a[ef].Za=_.Ga(L)):this.$a.push({Aa:Z,Za:_.Ga(L)}),ef++,ep=Z,_.Ja()&&(ec=this.Ha(L*eh,eu)))}this.$a.length=ef}Ea(){return this.$a}Ka(){return this.Li.P()}Ya(){return Math.ceil(2.5*this.Ka())}};function vn(_){return _.slice().sort((_,C)=>b(_.Zi())-b(C.Zi()))}(el=eg||(eg={}))[el.Normal=0]="Normal",el[el.Logarithmic=1]="Logarithmic",el[el.Percentage=2]="Percentage",el[el.IndexedTo100=3]="IndexedTo100";let eX=new pt,eY=new vt(100,1);let wn=class wn{constructor(_,C,L,Z){this.Qa=0,this.io=null,this.Dh=null,this.no=null,this.so={eo:!1,ro:null},this.ho=0,this.lo=0,this.ao=new R,this.oo=new R,this._o=[],this.uo=null,this.co=null,this.do=null,this.fo=null,this.da=eY,this.vo=cn(null),this.po=_,this.cn=C,this.mo=L,this.bo=Z,this.wo=new fn(this,100,this.Mo.bind(this),this.xo.bind(this))}xa(){return this.po}W(){return this.cn}Nh(_){if(D(this.cn,_),this.Sa(),void 0!==_.mode&&this.So({yr:_.mode}),void 0!==_.scaleMargins){let C=m(_.scaleMargins.top),L=m(_.scaleMargins.bottom);if(C<0||C>1)throw Error(`Invalid top margin - expect value between 0 and 1, given=${C}`);if(L<0||L>1||C+L>1)throw Error(`Invalid bottom margin - expect value between 0 and 1, given=${L}`);if(C+L>1)throw Error(`Invalid margins - sum of margins must be less than 1, given=${C+L}`);this.ko(),this.co=null}}yo(){return this.cn.autoScale}Ja(){return 1===this.cn.mode}ph(){return 2===this.cn.mode}Co(){return 3===this.cn.mode}yr(){return{Wn:this.cn.autoScale,To:this.cn.invertScale,yr:this.cn.mode}}So(_){let C=this.yr(),L=null;void 0!==_.Wn&&(this.cn.autoScale=_.Wn),void 0!==_.yr&&(this.cn.mode=_.yr,2!==_.yr&&3!==_.yr||(this.cn.autoScale=!0),this.so.eo=!1),1===C.yr&&_.yr!==C.yr&&(function(_,C){if(null===_)return!1;let L=on(_.Sh(),C),Z=on(_.kh(),C);return isFinite(L)&&isFinite(Z)}(this.Dh,this.vo)?null!==(L=un(this.Dh,this.vo))&&this.Po(L):this.cn.autoScale=!0),1===_.yr&&_.yr!==C.yr&&null!==(L=_n(this.Dh,this.vo))&&this.Po(L);let Z=C.yr!==this.cn.mode;Z&&(2===C.yr||this.ph())&&this.Sa(),Z&&(3===C.yr||this.Co())&&this.Sa(),void 0!==_.To&&C.To!==_.To&&(this.cn.invertScale=_.To,this.Ro()),this.oo.m(C,this.yr())}Do(){return this.oo}P(){return this.mo.fontSize}zt(){return this.Qa}Oo(_){this.Qa!==_&&(this.Qa=_,this.ko(),this.co=null)}Ao(){if(this.io)return this.io;let _=this.zt()-this.Vo()-this.Bo();return this.io=_,_}Ah(){return this.Io(),this.Dh}Po(_,C){let L=this.Dh;(C||null===L&&null!==_||null!==L&&!L.Mh(_))&&(this.co=null,this.Dh=_)}Fi(){return this.Io(),0===this.Qa||!this.Dh||this.Dh.Fi()}zo(_){return this.To()?_:this.zt()-1-_}Ot(_,C){return this.ph()?_=en(_,C):this.Co()&&(_=hn(_,C)),this.xo(_,C)}Qs(_,C,L){this.Io();let Z=this.Bo(),ea=b(this.Ah()),es=ea.Sh(),eo=ea.kh(),el=this.Ao()-1,eu=this.To(),ec=el/(eo-es),ed=void 0===L?0:L.from,eh=void 0===L?_.length:L.to,ep=this.Eo();for(let L=ed;L<eh;L++){let ea=_[L],eo=ea.ct;if(isNaN(eo))continue;let el=eo;null!==ep&&(el=ep(ea.ct,C));let ed=Z+ec*(el-es),eh=eu?ed:this.Qa-1-ed;ea.rt=eh}}me(_,C,L){this.Io();let Z=this.Bo(),ea=b(this.Ah()),es=ea.Sh(),eo=ea.kh(),el=this.Ao()-1,eu=this.To(),ec=el/(eo-es),ed=void 0===L?0:L.from,eh=void 0===L?_.length:L.to,ep=this.Eo();for(let L=ed;L<eh;L++){let ea=_[L],eo=ea.we,el=ea.ge,ed=ea.Me,eh=ea.xe;null!==ep&&(eo=ep(ea.we,C),el=ep(ea.ge,C),ed=ep(ea.Me,C),eh=ep(ea.xe,C));let ef=Z+ec*(eo-es),em=eu?ef:this.Qa-1-ef;ea.ve=em,ef=Z+ec*(el-es),em=eu?ef:this.Qa-1-ef,ea.ce=em,ef=Z+ec*(ed-es),em=eu?ef:this.Qa-1-ef,ea.de=em,ef=Z+ec*(eh-es),em=eu?ef:this.Qa-1-ef,ea.pe=em}}pn(_,C){let L=this.Mo(_,C);return this.Lo(L,C)}Lo(_,C){var L,Z;let ea=_;return this.ph()?(L=ea,C<0&&(L=-L),ea=L/100*C+C):this.Co()&&(Z=ea-100,C<0&&(Z=-Z),ea=Z/100*C+C),ea}Ta(){return this._o}No(){if(this.uo)return this.uo;let _=[];for(let C=0;C<this._o.length;C++){let L=this._o[C];null===L.Zi()&&L.Gi(C+1),_.push(L)}return _=vn(_),this.uo=_,this.uo}Fo(_){-1===this._o.indexOf(_)&&(this._o.push(_),this.Sa(),this.Wo())}jo(_){let C=this._o.indexOf(_);if(-1===C)throw Error("source is not attached to scale");this._o.splice(C,1),0===this._o.length&&(this.So({Wn:!0}),this.Po(null)),this.Sa(),this.Wo()}Pt(){let _=null;for(let C of this._o){let L=C.Pt();
3099null!==L&&(null===_||L.ia<_.ia)&&(_=L)}return null===_?null:_.Vt}To(){return this.cn.invertScale}Ea(){let _=null===this.Pt();if(null!==this.co&&(_||this.co.Ho===_))return this.co.Ea;this.wo.Xa();let C=this.wo.Ea();return this.co={Ea:C,Ho:_},this.ao.m(),C}$o(){return this.ao}Uo(_){this.ph()||this.Co()||null===this.do&&null===this.no&&(this.Fi()||(this.do=this.Qa-_,this.no=b(this.Ah()).xh()))}qo(_){if(this.ph()||this.Co()||null===this.do)return;this.So({Wn:!1}),(_=this.Qa-_)<0&&(_=0);let C=(this.do+.2*(this.Qa-1))/(_+.2*(this.Qa-1)),L=b(this.no).xh();C=Math.max(C,.1),L.Ch(C),this.Po(L)}Yo(){this.ph()||this.Co()||(this.do=null,this.no=null)}Xo(_){this.yo()||null===this.fo&&null===this.no&&(this.Fi()||(this.fo=_,this.no=b(this.Ah()).xh()))}Ko(_){if(this.yo()||null===this.fo)return;let C=b(this.Ah()).yh()/(this.Ao()-1),L=_-this.fo;this.To()&&(L*=-1);let Z=L*C,ea=b(this.no).xh();ea.Th(Z),this.Po(ea,!0),this.co=null}Zo(){this.yo()||null!==this.fo&&(this.fo=null,this.no=null)}ca(){return this.da||this.Sa(),this.da}Wi(_,C){switch(this.cn.mode){case 2:return this.Go(en(_,C));case 3:return this.ca().format(hn(_,C));default:return this.zh(_)}}Ga(_){switch(this.cn.mode){case 2:return this.Go(_);case 3:return this.ca().format(_);default:return this.zh(_)}}Wl(_){return this.zh(_,b(this.Jo()).ca())}jl(_,C){return _=en(_,C),this.Go(_,eX)}Qo(){return this._o}t_(_){this.so={ro:_,eo:!1}}On(){this._o.forEach(_=>_.On())}Sa(){this.co=null;let _=this.Jo(),C=100;null!==_&&(C=Math.round(1/_.ua())),this.da=eY,this.ph()?(this.da=eX,C=100):this.Co()?(this.da=new vt(100,1),C=100):null!==_&&(this.da=_.ca()),this.wo=new fn(this,C,this.Mo.bind(this),this.xo.bind(this)),this.wo.Xa()}Wo(){this.uo=null}Jo(){return this._o[0]||null}Vo(){return this.To()?this.cn.scaleMargins.bottom*this.zt()+this.lo:this.cn.scaleMargins.top*this.zt()+this.ho}Bo(){return this.To()?this.cn.scaleMargins.top*this.zt()+this.ho:this.cn.scaleMargins.bottom*this.zt()+this.lo}Io(){this.so.eo||(this.so.eo=!0,this.i_())}ko(){this.io=null}xo(_,C){if(this.Io(),this.Fi())return 0;_=this.Ja()&&_?an(_,this.vo):_;let L=b(this.Ah()),Z=this.Bo()+(this.Ao()-1)*(_-L.Sh())/L.yh();return this.zo(Z)}Mo(_,C){if(this.Io(),this.Fi())return 0;let L=this.zo(_),Z=b(this.Ah()),ea=Z.Sh()+Z.yh()*((L-this.Bo())/(this.Ao()-1));return this.Ja()?on(ea,this.vo):ea}Ro(){this.co=null,this.wo.Xa()}i_(){var _;let C=this.so.ro;if(null===C)return;let L=null,Z=this.Qo(),ea=0,es=0;for(let _ of Z){if(!_.Tt())continue;let Z=_.Pt();if(null===Z)continue;let eo=_.Rl(C.Os(),C.di()),el=eo&&eo.Ah();if(null!==el){switch(this.cn.mode){case 1:el=_n(el,this.vo);break;case 2:el=function(_,C){let L=en(_.Sh(),C),Z=en(_.kh(),C);return new Ri(L,Z)}(el,Z.Vt);break;case 3:el=function(_,C){let L=hn(_.Sh(),C),Z=hn(_.kh(),C);return new Ri(L,Z)}(el,Z.Vt)}if(L=null===L?el:L.ts(b(el)),null!==eo){let _=eo.Vh();null!==_&&(es=Math.max(ea=Math.max(ea,_.above),_.below))}}}if(ea===this.ho&&es===this.lo||(this.ho=ea,this.lo=es,this.co=null,this.ko()),null!==L){if(L.Sh()===L.kh()){let _=this.Jo(),C=5*(null===_||this.ph()||this.Co()?1:_.ua());this.Ja()&&(L=un(L,this.vo)),L=new Ri(L.Sh()-C,L.kh()+C),this.Ja()&&(L=_n(L,this.vo))}if(this.Ja()){let C=un(L,this.vo),Z=cn(C);if(_=this.vo,Z.La!==_.La||Z.Na!==_.Na){let _=null!==this.no?un(this.no,this.vo):null;this.vo=Z,L=_n(C,Z),null!==_&&(this.no=_n(_,Z))}}this.Po(L)}else null===this.Dh&&(this.Po(new Ri(-.5,.5)),this.vo=cn(null));this.so.eo=!0}Eo(){return this.ph()?en:this.Co()?hn:this.Ja()?_=>an(_,this.vo):null}n_(_,C,L){return void 0===C?(void 0===L&&(L=this.ca()),L.format(_)):C(_)}zh(_,C){return this.n_(_,this.bo.priceFormatter,C)}Go(_,C){return this.n_(_,this.bo.percentageFormatter,C)}};let gn=class gn{constructor(_,C){this._o=[],this.s_=new Map,this.Qa=0,this.e_=0,this.r_=1e3,this.uo=null,this.h_=new R,this.wl=_,this.Ui=C,this.l_=new nn(this);let L=C.W();this.a_=this.o_("left",L.leftPriceScale),this.__=this.o_("right",L.rightPriceScale),this.a_.Do().l(this.u_.bind(this,this.a_),this),this.__.Do().l(this.u_.bind(this,this.__),this),this.c_(L)}c_(_){if(_.leftPriceScale&&this.a_.Nh(_.leftPriceScale),_.rightPriceScale&&this.__.Nh(_.rightPriceScale),_.localization&&(this.a_.Sa(),this.__.Sa()),_.overlayPriceScales){let C=Array.from(this.s_.values());for(let L of C){let C=b(L[0].At());C.Nh(_.overlayPriceScales),_.localization&&C.Sa()}}}d_(_){switch(_){case"left":return this.a_;case"right":return this.__}return this.s_.has(_)?m(this.s_.get(_))[0].At():null}S(){this.qt().f_().p(this),this.a_.Do().p(this),this.__.Do().p(this),this._o.forEach(_=>{_.S&&_.S()}),this.h_.m()}v_(){return this.r_}p_(_){this.r_=_}qt(){return this.Ui}$i(){return this.e_}zt(){return this.Qa}m_(_){this.e_=_,this.b_()}Oo(_){this.Qa=_,this.a_.Oo(_),this.__.Oo(_),this._o.forEach(C=>{if(this.dr(C)){let L=C.At();null!==L&&L.Oo(_)}}),this.b_()}Ta(){return this._o}dr(_){let C=_.At();return null===C||this.a_!==C&&this.__!==C}
3099Fo(_,C,L){let Z=void 0!==L?L:this.g_().w_+1;this.M_(_,C,Z)}jo(_){let C=this._o.indexOf(_);p(-1!==C,"removeDataSource: invalid data source"),this._o.splice(C,1);let L=b(_.At()).xa();if(this.s_.has(L)){let C=m(this.s_.get(L)),Z=C.indexOf(_);-1!==Z&&(C.splice(Z,1),0===C.length&&this.s_.delete(L))}let Z=_.At();Z&&Z.Ta().indexOf(_)>=0&&Z.jo(_),null!==Z&&(Z.Wo(),this.x_(Z)),this.uo=null}pr(_){return _===this.a_?"left":_===this.__?"right":"overlay"}S_(){return this.a_}k_(){return this.__}y_(_,C){_.Uo(C)}C_(_,C){_.qo(C),this.b_()}T_(_){_.Yo()}P_(_,C){_.Xo(C)}R_(_,C){_.Ko(C),this.b_()}D_(_){_.Zo()}b_(){this._o.forEach(_=>{_.On()})}vn(){let _=null;return this.Ui.W().rightPriceScale.visible&&0!==this.__.Ta().length?_=this.__:this.Ui.W().leftPriceScale.visible&&0!==this.a_.Ta().length?_=this.a_:0!==this._o.length&&(_=this._o[0].At()),null===_&&(_=this.__),_}vr(){let _=null;return this.Ui.W().rightPriceScale.visible?_=this.__:this.Ui.W().leftPriceScale.visible&&(_=this.a_),_}x_(_){null!==_&&_.yo()&&this.O_(_)}A_(_){let C=this.wl.Xs();_.So({Wn:!0}),null!==C&&_.t_(C),this.b_()}V_(){this.O_(this.a_),this.O_(this.__)}B_(){this.x_(this.a_),this.x_(this.__),this._o.forEach(_=>{this.dr(_)&&this.x_(_.At())}),this.b_(),this.Ui.Fh()}No(){return null===this.uo&&(this.uo=vn(this._o)),this.uo}I_(){return this.h_}z_(){return this.l_}O_(_){let C=_.Qo();if(C&&C.length>0&&!this.wl.Fi()){let C=this.wl.Xs();null!==C&&_.t_(C)}_.On()}g_(){let _=this.No();if(0===_.length)return{E_:0,w_:0};let C=0,L=0;for(let Z=0;Z<_.length;Z++){let ea=_[Z].Zi();null!==ea&&(ea<C&&(C=ea),ea>L&&(L=ea))}return{E_:C,w_:L}}M_(_,C,L){let Z=this.d_(C);if(null===Z&&(Z=this.o_(C,this.Ui.W().overlayPriceScales)),this._o.push(_),!ut(C)){let L=this.s_.get(C)||[];L.push(_),this.s_.set(C,L)}Z.Fo(_),_.Ji(Z),_.Gi(L),this.x_(Z),this.uo=null}u_(_,C,L){C.yr!==L.yr&&this.O_(_)}o_(_,C){let L=Object.assign({visible:!0,autoScale:!0},I(C)),Z=new wn(_,L,this.Ui.W().layout,this.Ui.W().localization);return Z.Oo(this.zt()),Z}};let Mn=class Mn{constructor(_,C,L=50){this.Ke=0,this.Ze=1,this.Ge=1,this.Qe=new Map,this.Je=new Map,this.L_=_,this.N_=C,this.tr=L}F_(_){let C=_.time,L=this.N_.cacheKey(C),Z=this.Qe.get(L);if(void 0!==Z)return Z.W_;if(this.Ke===this.tr){let _=this.Je.get(this.Ge);this.Je.delete(this.Ge),this.Qe.delete(m(_)),this.Ge++,this.Ke--}let ea=this.L_(_);return this.Qe.set(L,{W_:ea,er:this.Ze}),this.Je.set(this.Ze,L),this.Ke++,this.Ze++,ea}};let xn=class xn{constructor(_,C){p(_<=C,"right should be >= left"),this.j_=_,this.H_=C}Os(){return this.j_}di(){return this.H_}U_(){return this.H_-this.j_+1}Kr(_){return this.j_<=_&&_<=this.H_}Mh(_){return this.j_===_.Os()&&this.H_===_.di()}};function Sn(_,C){return null===_||null===C?_===C:_.Mh(C)}let kn=class kn{constructor(){this.q_=new Map,this.Qe=null,this.Y_=!1}X_(_){this.Y_=_,this.Qe=null}K_(_,C){this.Z_(C),this.Qe=null;for(let L=C;L<_.length;++L){let C=_[L],Z=this.q_.get(C.timeWeight);void 0===Z&&(Z=[],this.q_.set(C.timeWeight,Z)),Z.push({index:L,time:C.time,weight:C.timeWeight,originalTime:C.originalTime})}}G_(_,C){let L=Math.ceil(C/_);return null!==this.Qe&&this.Qe.J_===L||(this.Qe={Ea:this.Q_(L),J_:L}),this.Qe.Ea}Z_(_){if(0===_)return void this.q_.clear();let C=[];for(let L of(this.q_.forEach((L,Z)=>{_<=L[0].index?C.push(Z):L.splice(e$(L,_,C=>C.index<_),1/0)}),C))this.q_.delete(L)}Q_(_){let C=[];for(let L of Array.from(this.q_.keys()).sort((_,C)=>C-_)){if(!this.q_.get(L))continue;let Z=C;C=[];let ea=Z.length,es=0,eo=m(this.q_.get(L)),el=eo.length,eu=1/0,ec=-1/0;for(let L=0;L<el;L++){let el=eo[L],ed=el.index;for(;es<ea;){let _=Z[es],L=_.index;if(!(L<ed)){eu=L;break}es++,C.push(_),ec=L,eu=1/0}if(eu-ed>=_&&ed-ec>=_)C.push(el),ec=ed;else if(this.Y_)return Z}for(;es<ea;es++)C.push(Z[es])}return C}};let yn=class yn{constructor(_){this.tu=_}iu(){return null===this.tu?null:new xn(Math.floor(this.tu.Os()),Math.ceil(this.tu.di()))}nu(){return this.tu}static su(){return new yn(null)}};function Cn(_,C){return _.weight>C.weight?_:C}let Tn=class Tn{constructor(_,C,L,Z){this.e_=0,this.eu=null,this.ru=[],this.fo=null,this.do=null,this.hu=new kn,this.lu=new Map,this.au=yn.su(),this.ou=!0,this._u=new R,this.uu=new R,this.cu=new R,this.du=null,this.fu=null,this.vu=[],this.cn=C,this.bo=L,this.pu=C.rightOffset,this.mu=C.barSpacing,this.Ui=_,this.N_=Z,this.bu(),this.hu.X_(C.uniformDistribution)}W(){return this.cn}wu(_){D(this.bo,_),this.gu(),this.bu()}Nh(_,C){var L;D(this.cn,_),this.cn.fixLeftEdge&&this.Mu(),this.cn.fixRightEdge&&this.xu(),void 0!==_.barSpacing&&this.Ui.Gn(_.barSpacing),void 0!==_.rightOffset&&this.Ui.Jn(_.rightOffset),void 0!==_.minBarSpacing&&this.Ui.Gn(null!==(L=_.barSpacing)&&void 0!==L?L:this.mu),this.gu(),this.bu(),this.cu.m()}
3099mn(_){var C,L;return null!==(L=null===(C=this.ru[_])||void 0===C?void 0:C.time)&&void 0!==L?L:null}qi(_){var C;return null!==(C=this.ru[_])&&void 0!==C?C:null}ya(_,C){if(this.ru.length<1)return null;if(this.N_.key(_)>this.N_.key(this.ru[this.ru.length-1].time))return C?this.ru.length-1:null;let L=e$(this.ru,this.N_.key(_),(_,C)=>this.N_.key(_.time)<C);return this.N_.key(_)<this.N_.key(this.ru[L].time)?C?L:null:L}Fi(){return 0===this.e_||0===this.ru.length||null===this.eu}ka(){return this.ru.length>0}Xs(){return this.Su(),this.au.iu()}ku(){return this.Su(),this.au.nu()}yu(){let _=this.Xs();if(null===_)return null;let C={from:_.Os(),to:_.di()};return this.Cu(C)}Cu(_){let C=Math.round(_.from),L=Math.round(_.to),Z=b(this.Tu()),ea=b(this.Pu());return{from:b(this.qi(Math.max(Z,C))),to:b(this.qi(Math.min(ea,L)))}}Ru(_){return{from:b(this.ya(_.from,!0)),to:b(this.ya(_.to,!0))}}$i(){return this.e_}m_(_){if(!isFinite(_)||_<=0||this.e_===_)return;let C=this.ku(),L=this.e_;if(this.e_=_,this.ou=!0,this.cn.lockVisibleTimeRangeOnResize&&0!==L){let C=this.mu*_/L;this.mu=C}this.cn.fixLeftEdge&&null!==C&&0>=C.Os()&&(this.pu-=Math.round((L-_)/this.mu)+1,this.ou=!0),this.Du(),this.Ou()}Et(_){if(this.Fi()||!A(_))return 0;let C=this.Au()+this.pu-_;return this.e_-(C+.5)*this.mu-1}Js(_,C){let L=this.Au(),Z=void 0===C?0:C.from,ea=void 0===C?_.length:C.to;for(let C=Z;C<ea;C++){let Z=_[C].ut,ea=L+this.pu-Z,es=this.e_-(ea+.5)*this.mu-1;_[C].et=es}}Vu(_){return Math.ceil(this.Bu(_))}Jn(_){this.ou=!0,this.pu=_,this.Ou(),this.Ui.Iu(),this.Ui.Fh()}he(){return this.mu}Gn(_){this.zu(_),this.Ou(),this.Ui.Iu(),this.Ui.Fh()}Eu(){return this.pu}Ea(){if(this.Fi())return null;if(null!==this.fu)return this.fu;let _=this.mu,C=5*(this.Ui.W().layout.fontSize+4)/8*(this.cn.tickMarkMaxCharacterLength||8),L=Math.round(C/_),Z=b(this.Xs()),ea=Math.max(Z.Os(),Z.Os()-L),es=Math.max(Z.di(),Z.di()-L),eo=this.hu.G_(_,C),el=this.Tu()+L,eu=this.Pu()-L,ec=this.Lu(),ed=this.cn.fixLeftEdge||ec,eh=this.cn.fixRightEdge||ec,ep=0;for(let _ of eo){let L;ea<=_.index&&_.index<=es&&(ep<this.vu.length?((L=this.vu[ep]).coord=this.Et(_.index),L.label=this.Nu(_),L.weight=_.weight):(L={needAlignCoordinate:!1,coord:this.Et(_.index),label:this.Nu(_),weight:_.weight},this.vu.push(L)),this.mu>C/2&&!ec?L.needAlignCoordinate=!1:L.needAlignCoordinate=ed&&_.index<=el||eh&&_.index>=eu,ep++)}return this.vu.length=ep,this.fu=this.vu,this.vu}Fu(){this.ou=!0,this.Gn(this.cn.barSpacing),this.Jn(this.cn.rightOffset)}Wu(_){this.ou=!0,this.eu=_,this.Ou(),this.Mu()}ju(_,C){let L=this.Bu(_),Z=this.he();this.Gn(Z+C*(Z/10)),this.cn.rightBarStaysOnScroll||this.Jn(this.Eu()+(L-this.Bu(_)))}Uo(_){this.fo&&this.Zo(),null===this.do&&null===this.du&&(this.Fi()||(this.do=_,this.Hu()))}qo(_){if(null===this.du)return;let C=yt(this.e_-_,0,this.e_),L=yt(this.e_-b(this.do),0,this.e_);0!==C&&0!==L&&this.Gn(this.du.he*C/L)}Yo(){null!==this.do&&(this.do=null,this.$u())}Xo(_){null===this.fo&&null===this.du&&(this.Fi()||(this.fo=_,this.Hu()))}Ko(_){if(null===this.fo)return;let C=(this.fo-_)/this.he();this.pu=b(this.du).Eu+C,this.ou=!0,this.Ou()}Zo(){null!==this.fo&&(this.fo=null,this.$u())}Uu(){this.qu(this.cn.rightOffset)}qu(_,C=400){if(!isFinite(_))throw RangeError("offset is required and must be finite number");if(!isFinite(C)||C<=0)throw RangeError("animationDuration (optional) must be finite positive number");let L=this.pu,Z=performance.now();this.Ui.Xn({Yu:_=>(_-Z)/C>=1,Xu:ea=>{let es=(ea-Z)/C;return es>=1?_:L+(_-L)*es}})}gt(_,C){this.ou=!0,this.ru=_,this.hu.K_(_,C),this.Ou()}Ku(){return this._u}Zu(){return this.uu}Gu(){return this.cu}Au(){return this.eu||0}Ju(_){let C=_.U_();this.zu(this.e_/C),this.pu=_.di()-this.Au(),this.Ou(),this.ou=!0,this.Ui.Iu(),this.Ui.Fh()}Qu(){let _=this.Tu(),C=this.Pu();null!==_&&null!==C&&this.Ju(new xn(_,C+this.cn.rightOffset))}tc(_){let C=new xn(_.from,_.to);this.Ju(C)}Yi(_){return void 0!==this.bo.timeFormatter?this.bo.timeFormatter(_.originalTime):this.N_.formatHorzItem(_.time)}Lu(){let{handleScroll:_,handleScale:C}=this.Ui.W();return!(_.horzTouchDrag||_.mouseWheel||_.pressedMouseMove||_.vertTouchDrag||C.axisDoubleClickReset.time||C.axisPressedMouseMove.time||C.mouseWheel||C.pinch)}Tu(){return 0===this.ru.length?null:0}Pu(){return 0===this.ru.length?null:this.ru.length-1}ic(_){return(this.e_-1-_)/this.mu}Bu(_){let C=this.ic(_),L=this.Au()+this.pu-C;return Math.round(1e6*L)/1e6}zu(_){let C=this.mu;this.mu=_,this.Du(),C!==this.mu&&(this.ou=!0,this.nc())}Su(){if(!this.ou)return;if(this.ou=!1,this.Fi())return void this.sc(yn.su());let _=this.Au(),C=this.e_/this.mu,L=this.pu+_,Z=new xn(L-C+1,L);this.sc(new yn(Z))}Du(){let _=this.ec();if(this.mu<_&&(this.mu=_,this.ou=!0),0!==this.e_){let _=.5*this.e_;this.mu>_&&(this.mu=_,this.ou=!0)}}ec(){return this.cn.fixLeftEdge&&this.cn.fixRightEdge&&0!==this.ru.length?this.e_/this.ru.length:this.cn.minBarSpacing}Ou(){let _=this.rc();this.pu>_&&(this.pu=_,this.ou=!0);let C=this.hc();null!==C&&this.pu<C&&(this.pu=C,this.ou=!0)}hc(){let _=this.Tu(),C=this.eu;return null===_||null===C?null:_-C-1+(this.cn.fixLeftEdge?this.e_/this.mu:Math.min(2,this.ru.length))}rc(){return this.cn.fixRightEdge?0:this.e_/this.mu-Math.min(2,this.ru.length)}Hu(){this.du={he:this.he(),Eu:this.Eu()}}$u(){this.du=null}Nu(_){let C=this.lu.get(_.weight);return void 0===C&&(C=new Mn(_=>this.lc(_),this.N_),this.lu.set(_.weight,C)),C.F_(_)}lc(_){return this.N_.formatTickmark(_,this.bo)}sc(_){let C=this.au;this.au=_,Sn(C.iu(),this.au.iu())||this._u.m(),Sn(C.nu(),this.au.nu())||this.uu.m(),this.nc()}nc(){this.fu=null}gu(){this.nc(),this.lu.clear()}bu(){this.N_.updateFormatter(this.bo)}
3099Mu(){if(!this.cn.fixLeftEdge)return;let _=this.Tu();if(null===_)return;let C=this.Xs();if(null===C)return;let L=C.Os()-_;if(L<0){let _=this.pu-L-1;this.Jn(_)}this.Du()}xu(){this.Ou(),this.Du()}};let Pn=class Pn extends j{constructor(_){super(),this.ac=new Map,this.Lt=_}Z(_){}J(_){if(!this.Lt.Tt)return;let{context:C,mediaSize:L}=_,Z=0;for(let _ of this.Lt.oc){if(0===_.Jt.length)continue;C.font=_.R;let ea=this._c(C,_.Jt);ea>L.width?_.ju=L.width/ea:_.ju=1,Z+=_.uc*_.ju}let ea=0;switch(this.Lt.cc){case"top":ea=0;break;case"center":ea=Math.max((L.height-Z)/2,0);break;case"bottom":ea=Math.max(L.height-Z,0)}for(let _ of(C.fillStyle=this.Lt.O,this.Lt.oc)){C.save();let Z=0;switch(this.Lt.dc){case"left":C.textAlign="left",Z=_.uc/2;break;case"center":C.textAlign="center",Z=L.width/2;break;case"right":C.textAlign="right",Z=L.width-1-_.uc/2}C.translate(Z,ea),C.textBaseline="top",C.font=_.R,C.scale(_.ju,_.ju),C.fillText(_.Jt,0,_.fc),C.restore(),ea+=_.uc*_.ju}}_c(_,C){let L=this.vc(_.font),Z=L.get(C);return void 0===Z&&(Z=_.measureText(C).width,L.set(C,Z)),Z}vc(_){let C=this.ac.get(_);return void 0===C&&(C=new Map,this.ac.set(_,C)),C}};let Rn=class Rn{constructor(_){this.bt=!0,this.jt={Tt:!1,O:"",oc:[],cc:"center",dc:"center"},this.Ht=new Pn(this.jt),this.$t=_}gt(){this.bt=!0}xt(){return this.bt&&(this.St(),this.bt=!1),this.Ht}St(){let _=this.$t.W(),C=this.jt;C.Tt=_.visible,C.Tt&&(C.O=_.color,C.dc=_.horzAlign,C.cc=_.vertAlign,C.oc=[{Jt:_.text,R:N(_.fontSize,_.fontFamily,_.fontStyle),uc:1.2*_.fontSize,fc:0,ju:0}])}};let Dn=class Dn extends at{constructor(_,C){super(),this.cn=C,this.wn=new Rn(this)}Rn(){return[]}Pn(){return[this.wn]}W(){return this.cn}On(){this.wn.gt()}};(eu=ev||(ev={}))[eu.OnTouchEnd=0]="OnTouchEnd",eu[eu.OnNextTap=1]="OnNextTap";let zn=class zn{constructor(_,C,L){this.mc=[],this.bc=[],this.e_=0,this.wc=null,this.gc=new R,this.Mc=new R,this.xc=null,this.Sc=_,this.cn=C,this.N_=L,this.kc=new F(this),this.wl=new Tn(this,C.timeScale,this.cn.localization,L),this.wt=new _t(this,C.crosshair),this.yc=new Ji(C.crosshair),this.Cc=new Dn(this,C.watermark),this.Tc(),this.mc[0].p_(2e3),this.Pc=this.Rc(0),this.Dc=this.Rc(1)}$l(){this.Oc(ct.es())}Fh(){this.Oc(ct.ss())}sa(){this.Oc(new ct(1))}Ul(_){let C=this.Ac(_);this.Oc(C)}Vc(){return this.wc}Bc(_){let C=this.wc;this.wc=_,null!==C&&this.Ul(C.Ic),null!==_&&this.Ul(_.Ic)}W(){return this.cn}Nh(_){D(this.cn,_),this.mc.forEach(C=>C.c_(_)),void 0!==_.timeScale&&this.wl.Nh(_.timeScale),void 0!==_.localization&&this.wl.wu(_.localization),(_.leftPriceScale||_.rightPriceScale)&&this.gc.m(),this.Pc=this.Rc(0),this.Dc=this.Rc(1),this.$l()}zc(_,C){if("left"===_)return void this.Nh({leftPriceScale:C});if("right"===_)return void this.Nh({rightPriceScale:C});let L=this.Ec(_);null!==L&&(L.At.Nh(C),this.gc.m())}Ec(_){for(let C of this.mc){let L=C.d_(_);if(null!==L)return{Ut:C,At:L}}return null}yt(){return this.wl}Lc(){return this.mc}Nc(){return this.Cc}Fc(){return this.wt}Wc(){return this.Mc}jc(_,C){_.Oo(C),this.Iu()}m_(_){this.e_=_,this.wl.m_(this.e_),this.mc.forEach(C=>C.m_(_)),this.Iu()}Tc(_){let C=new gn(this.wl,this);void 0!==_?this.mc.splice(_,0,C):this.mc.push(C);let L=void 0===_?this.mc.length-1:_,Z=ct.es();return Z.Nn(L,{Fn:0,Wn:!0}),this.Oc(Z),C}y_(_,C,L){_.y_(C,L)}C_(_,C,L){_.C_(C,L),this.ql(),this.Oc(this.Hc(_,2))}T_(_,C){_.T_(C),this.Oc(this.Hc(_,2))}P_(_,C,L){C.yo()||_.P_(C,L)}R_(_,C,L){C.yo()||(_.R_(C,L),this.ql(),this.Oc(this.Hc(_,2)))}D_(_,C){C.yo()||(_.D_(C),this.Oc(this.Hc(_,2)))}A_(_,C){_.A_(C),this.Oc(this.Hc(_,2))}$c(_){this.wl.Uo(_)}Uc(_,C){let L=this.yt();if(L.Fi()||0===C)return;let Z=L.$i();_=Math.max(1,Math.min(_,Z)),L.ju(_,C),this.Iu()}qc(_){this.Yc(0),this.Xc(_),this.Kc()}Zc(_){this.wl.qo(_),this.Iu()}Gc(){this.wl.Yo(),this.Fh()}Yc(_){this.wl.Xo(_)}Xc(_){this.wl.Ko(_),this.Iu()}Kc(){this.wl.Zo(),this.Fh()}Mt(){return this.bc}Jc(_,C,L,Z,ea){this.wt.gn(_,C);let es=NaN,eo=this.wl.Vu(_),el=this.wl.Xs();null!==el&&(eo=Math.min(Math.max(el.Os(),eo),el.di()));let eu=Z.vn(),ec=eu.Pt();null!==ec&&(es=eu.pn(C,ec)),es=this.yc.Ca(es,eo,Z),this.wt.kn(eo,es,Z),this.sa(),ea||this.Mc.m(this.wt.kt(),{x:_,y:C},L)}Qc(_,C,L){let Z=L.vn(),ea=Z.Pt(),es=Z.Ot(_,b(ea)),eo=this.wl.ya(C,!0),el=this.wl.Et(b(eo));this.Jc(el,es,null,L,!0)}td(_){this.Fc().Cn(),this.sa(),_||this.Mc.m(null,null,null)}ql(){let _=this.wt.Ut();if(null!==_){let C=this.wt.xn(),L=this.wt.Sn();this.Jc(C,L,null,_)}this.wt.On()}nd(_,C,L){let Z=this.wl.mn(0);void 0!==C&&void 0!==L&&this.wl.gt(C,L);let ea=this.wl.mn(0),es=this.wl.Au(),eo=this.wl.Xs();if(null!==eo&&null!==Z&&null!==ea){let C=eo.Kr(es),el=this.N_.key(Z)>this.N_.key(ea),eu=null!==_&&_>es&&!el,ec=this.wl.W().allowShiftVisibleRangeOnWhitespaceReplacement,ed=C&&(void 0!==L||ec)&&this.wl.W().shiftVisibleRangeOnNewBar;if(eu&&!ed){let C=_-es;this.wl.Jn(this.wl.Eu()-C)}}this.wl.Wu(_)}Kl(_){null!==_&&_.B_()}cr(_){let C=this.mc.find(C=>C.No().includes(_));return void 0===C?null:C}
3099Iu(){this.Cc.On(),this.mc.forEach(_=>_.B_()),this.ql()}S(){this.mc.forEach(_=>_.S()),this.mc.length=0,this.cn.localization.priceFormatter=void 0,this.cn.localization.percentageFormatter=void 0,this.cn.localization.timeFormatter=void 0}sd(){return this.kc}mr(){return this.kc.W()}f_(){return this.gc}ed(_,C,L){let Z=this.mc[0],ea=this.rd(C,_,Z,L);return this.bc.push(ea),1===this.bc.length?this.$l():this.Fh(),ea}hd(_){let C=this.cr(_),L=this.bc.indexOf(_);p(-1!==L,"Series not found"),this.bc.splice(L,1),b(C).jo(_),_.S&&_.S()}Hl(_,C){let L=b(this.cr(_));L.jo(_);let Z=this.Ec(C);if(null===Z){let Z=_.Zi();L.Fo(_,C,Z)}else{let ea=Z.Ut===L?_.Zi():void 0;Z.Ut.Fo(_,C,ea)}}Qu(){let _=ct.ss();_.$n(),this.Oc(_)}ld(_){let C=ct.ss();C.Yn(_),this.Oc(C)}Zn(){let _=ct.ss();_.Zn(),this.Oc(_)}Gn(_){let C=ct.ss();C.Gn(_),this.Oc(C)}Jn(_){let C=ct.ss();C.Jn(_),this.Oc(C)}Xn(_){let C=ct.ss();C.Xn(_),this.Oc(C)}Un(){let _=ct.ss();_.Un(),this.Oc(_)}ad(){return this.cn.rightPriceScale.visible?"right":"left"}od(){return this.Dc}q(){return this.Pc}It(_){let C=this.Dc,L=this.Pc;if(C===L)return C;if(_=Math.max(0,Math.min(100,Math.round(100*_))),null===this.xc||this.xc.Ts!==L||this.xc.Ps!==C)this.xc={Ts:L,Ps:C,_d:new Map};else{let C=this.xc._d.get(_);if(void 0!==C)return C}let Z=function(_,C,L){let[Z,ea,es,eo]=T(_),[el,eu,ec,ed]=T(C),eh=[M(Z+L*(el-Z)),M(ea+L*(eu-ea)),M(es+L*(ec-es)),x(eo+L*(ed-eo))];return`rgba(${eh[0]}, ${eh[1]}, ${eh[2]}, ${eh[3]})`}(L,C,_/100);return this.xc._d.set(_,Z),Z}Hc(_,C){let L=new ct(C);if(null!==_){let Z=this.mc.indexOf(_);L.Nn(Z,{Fn:C})}return L}Ac(_,C){return void 0===C&&(C=2),this.Hc(this.cr(_),C)}Oc(_){this.Sc&&this.Sc(_),this.mc.forEach(_=>_.z_().Wh().gt())}rd(_,C,L,Z){let ea=new Gi(this,_,C,L,Z),es=void 0!==_.priceScaleId?_.priceScaleId:this.ad();return L.Fo(ea,es),ut(es)||ea.Nh(_),ea}Rc(_){let C=this.cn.layout;return"gradient"===C.background.type?0===_?C.background.topColor:C.background.bottomColor:C.background.color}};function En(_){return!O(_)&&!V(_)}(ec=ex||(ex={}))[ec.Disabled=0]="Disabled",ec[ec.Continuous=1]="Continuous",ec[ec.OnDataUpdate=2]="OnDataUpdate",(ed=e_||(e_={}))[ed.LastBar=0]="LastBar",ed[ed.LastVisible=1]="LastVisible",(eh=ew||(ew={})).Solid="solid",eh.VerticalGradient="gradient",(ep=eC||(eC={}))[ep.Year=0]="Year",ep[ep.Month=1]="Month",ep[ep.DayOfMonth=2]="DayOfMonth",ep[ep.Time=3]="Time",ep[ep.TimeWithSeconds=4]="TimeWithSeconds";let Nn=_=>_.getUTCFullYear();let Wn=class Wn{constructor(_="yyyy-MM-dd",C="default"){this.ud=_,this.dd=C}F_(_){var C,L,Z;return C=_,L=this.ud,Z=this.dd,L.replace(/yyyy/g,ft(Nn(C),4)).replace(/yy/g,ft(Nn(C)%100,2)).replace(/MMMM/g,new Date(C.getUTCFullYear(),C.getUTCMonth(),1).toLocaleString(Z,{month:"long"})).replace(/MMM/g,new Date(C.getUTCFullYear(),C.getUTCMonth(),1).toLocaleString(Z,{month:"short"})).replace(/MM/g,ft(C.getUTCMonth()+1,2)).replace(/dd/g,ft(C.getUTCDate(),2))}};let jn=class jn{constructor(_){this.fd=_||"%h:%m:%s"}F_(_){return this.fd.replace("%h",ft(_.getUTCHours(),2)).replace("%m",ft(_.getUTCMinutes(),2)).replace("%s",ft(_.getUTCSeconds(),2))}};let eQ={vd:"yyyy-MM-dd",pd:"%h:%m:%s",md:" ",bd:"default"};let $n=class $n{constructor(_={}){let C=Object.assign(Object.assign({},eQ),_);this.wd=new Wn(C.vd,C.bd),this.gd=new jn(C.pd),this.Md=C.md}F_(_){return`${this.wd.F_(_)}${this.Md}${this.gd.F_(_)}`}};function Un(_){return 60*_*6e4}function qn(_){return 60*_*1e3}let eJ=[{xd:1e3,Sd:10},{xd:qn(1),Sd:20},{xd:qn(5),Sd:21},{xd:qn(30),Sd:22},{xd:Un(1),Sd:30},{xd:Un(3),Sd:31},{xd:Un(6),Sd:32},{xd:Un(12),Sd:33}];function Kn(_,C){if(_.getUTCFullYear()!==C.getUTCFullYear())return 70;if(_.getUTCMonth()!==C.getUTCMonth())return 60;if(_.getUTCDate()!==C.getUTCDate())return 50;for(let L=eJ.length-1;L>=0;--L)if(Math.floor(C.getTime()/eJ[L].xd)!==Math.floor(_.getTime()/eJ[L].xd))return eJ[L].Sd;return 0}function Zn(_){let C=_;if(V(_)&&(C=Jn(_)),!En(C))throw Error("time must be of type BusinessDay");let L=new Date(Date.UTC(C.year,C.month-1,C.day,0,0,0,0));return{kd:Math.round(L.getTime()/1e3),yd:C}}function Gn(_){if(!O(_))throw Error("time must be of type isUTCTimestamp");return{kd:_}}function Jn(_){let C=new Date(_);if(isNaN(C.getTime()))throw Error(`Invalid date string=${_}, expected format=yyyy-mm-dd`);return{day:C.getUTCDate(),month:C.getUTCMonth()+1,year:C.getUTCFullYear()}}function Qn(_){V(_.time)&&(_.time=Jn(_.time))}let ts=class ts{options(){return this.cn}setOptions(_){this.cn=_,this.updateFormatter(_.localization)}preprocessData(_){Array.isArray(_)?function(_){_.forEach(Qn)}(_):Qn(_)}createConverterToInternalObj(_){return b(0===_.length?null:En(_[0].time)||V(_[0].time)?Zn:Gn)}key(_){return"object"==typeof _&&"kd"in _?_.kd:this.key(this.convertHorzItemToInternal(_))}cacheKey(_){return void 0===_.yd?new Date(1e3*_.kd).getTime():new Date(Date.UTC(_.yd.year,_.yd.month-1,_.yd.day)).getTime()}convertHorzItemToInternal(_){return O(_)?Gn(_):En(_)?Zn(_):Zn(Jn(_))}updateFormatter(_){if(!this.cn)return;let C=_.dateFormat;this.cn.timeScale.timeVisible?this.Cd=new $n({vd:C,pd:this.cn.timeScale.secondsVisible?"%h:%m:%s":"%h:%m",md:"   ",bd:_.locale}):this.Cd=new Wn(C,_.locale)}formatHorzItem(_){return this.Cd.F_(new Date(1e3*_.kd))}formatTickmark(_,C){let L=function(_,C,L){switch(_){case 0:case 10:return C?L?4:3:2;case 20:case 21:case 22:case 30:case 31:case 32:case 33:return C?3:2;case 50:return 2;case 60:return 1;case 70:return 0}}(_.weight,this.cn.timeScale.timeVisible,this.cn.timeScale.secondsVisible),Z=this.cn.timeScale;if(void 0!==Z.tickMarkFormatter){let ea=Z.tickMarkFormatter(_.originalTime,L,
3099C.locale);if(null!==ea)return ea}return function(_,C,L){let Z={};switch(C){case 0:Z.year="numeric";break;case 1:Z.month="short";break;case 2:Z.day="numeric";break;case 3:Z.hour12=!1,Z.hour="2-digit",Z.minute="2-digit";break;case 4:Z.hour12=!1,Z.hour="2-digit",Z.minute="2-digit",Z.second="2-digit"}let ea=new Date(void 0===_.yd?1e3*_.kd:Date.UTC(_.yd.year,_.yd.month-1,_.yd.day));return new Date(ea.getUTCFullYear(),ea.getUTCMonth(),ea.getUTCDate(),ea.getUTCHours(),ea.getUTCMinutes(),ea.getUTCSeconds(),ea.getUTCMilliseconds()).toLocaleString(L,Z)}(_.time,L,C.locale)}maxTickMarkWeight(_){let C=_.reduce(Cn,_[0]).weight;return C>30&&C<50&&(C=30),C}fillWeightsForPoints(_,C){!function(_,C=0){if(0===_.length)return;let L=0===C?null:_[C-1].time.kd,Z=null!==L?new Date(1e3*L):null,ea=0;for(let es=C;es<_.length;++es){let C=_[es],eo=new Date(1e3*C.time.kd);null!==Z&&(C.timeWeight=Kn(eo,Z)),ea+=C.time.kd-(L||C.time.kd),L=C.time.kd,Z=eo}if(0===C&&_.length>1){let C=Math.ceil(ea/(_.length-1)),L=new Date(1e3*(_[0].time.kd-C));_[0].timeWeight=Kn(new Date(1e3*_[0].time.kd),L)}}(_,C)}static Td(_){return D({localization:{dateFormat:"dd MMM 'yy"}},null!=_?_:{})}};let e1="undefined"!=typeof window;function ns(){return!!e1&&window.navigator.userAgent.toLowerCase().indexOf("firefox")>-1}function ss(){return!!e1&&/iPhone|iPad|iPod/.test(window.navigator.platform)}function hs(_,C,L){let Z=(_.Pd-C.Pd)/(_.ut-C.ut);return Math.sign(Z)*Math.min(Math.abs(Z),L)}let ls=class ls{constructor(_,C,L,Z){this.Rd=null,this.Dd=null,this.Od=null,this.Ad=null,this.Vd=null,this.Bd=0,this.Id=0,this.zd=_,this.Ed=C,this.Ld=L,this.rs=Z}Nd(_,C){if(null!==this.Rd){if(this.Rd.ut===C)return void(this.Rd.Pd=_);if(Math.abs(this.Rd.Pd-_)<this.rs)return}this.Ad=this.Od,this.Od=this.Dd,this.Dd=this.Rd,this.Rd={ut:C,Pd:_}}Dr(_,C){var L,Z,ea,es,eo,el;if(null===this.Rd||null===this.Dd||C-this.Rd.ut>50)return;let eu=0,ec=hs(this.Rd,this.Dd,this.Ed),ed=(L=this.Rd,Z=this.Dd,L.Pd-Z.Pd),eh=[ec],ep=[ed];if(eu+=ed,null!==this.Od){let _=hs(this.Dd,this.Od,this.Ed);if(Math.sign(_)===Math.sign(ec)){let C=(ea=this.Dd,es=this.Od,ea.Pd-es.Pd);if(eh.push(_),ep.push(C),eu+=C,null!==this.Ad){let _=hs(this.Od,this.Ad,this.Ed);if(Math.sign(_)===Math.sign(ec)){let C=(eo=this.Od,el=this.Ad,eo.Pd-el.Pd);eh.push(_),ep.push(C),eu+=C}}}}let ef=0;for(let _=0;_<eh.length;++_)ef+=ep[_]/eu*eh[_];Math.abs(ef)<this.zd||(this.Vd={Pd:_,ut:C},this.Id=ef,this.Bd=function(_,C){let L=Math.log(C);return Math.log(-(1*L/_))/L}(Math.abs(ef),this.Ld))}Xu(_){let C=b(this.Vd),L=_-C.ut;return C.Pd+this.Id*(Math.pow(this.Ld,L)-1)/Math.log(this.Ld)}Yu(_){return null===this.Vd||this.Fd(_)===this.Bd}Fd(_){let C=_-b(this.Vd).ut;return Math.min(C,this.Bd)}};function as(_,C){let L=b(_.ownerDocument).createElement("canvas");_.appendChild(L);let Z=function(_,C){if("device-pixel-content-box"===C.type)return new ek(_,C.transform,C.options);throw Error("Unsupported binding target")}(L,{type:"device-pixel-content-box",options:{allowResizeObserver:!1},transform:(_,C)=>({width:Math.max(_.width,C.width),height:Math.max(_.height,C.height)})});return Z.resizeCanvasElement(C),Z}function os(_,C,L,Z){_.G&&_.G(C,L,Z)}function _s(_,C,L,Z){_.K(C,L,Z)}function us(_,C,L,Z){let ea=_(L,Z);for(let _ of ea){let L=_.xt();null!==L&&C(L)}}let ds=class ds{constructor(_,C,L){this.Wd=0,this.jd=null,this.Hd={et:Number.NEGATIVE_INFINITY,rt:Number.POSITIVE_INFINITY},this.$d=0,this.Ud=null,this.qd={et:Number.NEGATIVE_INFINITY,rt:Number.POSITIVE_INFINITY},this.Yd=null,this.Xd=!1,this.Kd=null,this.Zd=null,this.Gd=!1,this.Jd=!1,this.Qd=!1,this.tf=null,this.if=null,this.nf=null,this.sf=null,this.ef=null,this.rf=null,this.hf=null,this.lf=0,this.af=!1,this._f=!1,this.uf=!1,this.cf=0,this.df=null,this.ff=!ss(),this.vf=_=>{this.pf(_)},this.mf=_=>{if(this.bf(_)){let C=this.wf(_);if(++this.$d,this.Ud&&this.$d>1){let{gf:L}=this.Mf(ps(_),this.qd);L<30&&!this.Qd&&this.xf(C,this.kf.Sf),this.yf()}}else{let C=this.wf(_);if(++this.Wd,this.jd&&this.Wd>1){let{gf:L}=this.Mf(ps(_),this.Hd);L<5&&!this.Jd&&this.Cf(C,this.kf.Tf),this.Pf()}}},this.Rf=_,this.kf=C,this.cn=L,this.Df()}S(){null!==this.tf&&(this.tf(),this.tf=null),null!==this.if&&(this.if(),this.if=null),null!==this.sf&&(this.sf(),this.sf=null),null!==this.ef&&(this.ef(),this.ef=null),null!==this.rf&&(this.rf(),this.rf=null),null!==this.nf&&(this.nf(),this.nf=null),this.Of(),this.Pf()}Af(_){this.sf&&this.sf();let C=this.Vf.bind(this);if(this.sf=()=>{this.Rf.removeEventListener("mousemove",C)},this.Rf.addEventListener("mousemove",C),this.bf(_))return;let L=this.wf(_);this.Cf(L,this.kf.Bf),this.ff=!0}Pf(){null!==this.jd&&clearTimeout(this.jd),this.Wd=0,this.jd=null,this.Hd={et:Number.NEGATIVE_INFINITY,rt:Number.POSITIVE_INFINITY}}yf(){null!==this.Ud&&clearTimeout(this.Ud),this.$d=0,this.Ud=null,this.qd={et:Number.NEGATIVE_INFINITY,rt:Number.POSITIVE_INFINITY}}Vf(_){if(this.uf||null!==this.Zd||this.bf(_))return;let C=this.wf(_);this.Cf(C,this.kf.If),this.ff=!0}zf(_){let C=bs(_.changedTouches,b(this.df));if(null===C||(this.cf=ms(_),null!==this.hf)||this._f)return;this.af=!0;let L=this.Mf(ps(C),b(this.Zd)),{Ef:Z,Lf:ea,gf:es}=L;
3099if(this.Gd||!(es<5)){if(!this.Gd){let _=.5*Z,C=ea>=_&&!this.cn.Nf(),L=_>ea&&!this.cn.Ff();C||L||(this._f=!0),this.Gd=!0,this.Qd=!0,this.Of(),this.yf()}if(!this._f){let L=this.wf(_,C);this.xf(L,this.kf.Wf),vs(_)}}}jf(_){if(0!==_.button)return;let C=this.Mf(ps(_),b(this.Kd)),{gf:L}=C;if(L>=5&&(this.Jd=!0,this.Pf()),this.Jd){let C=this.wf(_);this.Cf(C,this.kf.Hf)}}Mf(_,C){let L=Math.abs(C.et-_.et),Z=Math.abs(C.rt-_.rt);return{Ef:L,Lf:Z,gf:L+Z}}$f(_){let C=bs(_.changedTouches,b(this.df));if(null===C&&0===_.touches.length&&(C=_.changedTouches[0]),null===C)return;this.df=null,this.cf=ms(_),this.Of(),this.Zd=null,this.rf&&(this.rf(),this.rf=null);let L=this.wf(_,C);if(this.xf(L,this.kf.Uf),++this.$d,this.Ud&&this.$d>1){let{gf:_}=this.Mf(ps(C),this.qd);_<30&&!this.Qd&&this.xf(L,this.kf.Sf),this.yf()}else this.Qd||(this.xf(L,this.kf.qf),this.kf.qf&&vs(_));0===this.$d&&vs(_),0===_.touches.length&&this.Xd&&(this.Xd=!1,vs(_))}pf(_){if(0!==_.button)return;let C=this.wf(_);if(this.Kd=null,this.uf=!1,this.ef&&(this.ef(),this.ef=null),ns()&&this.Rf.ownerDocument.documentElement.removeEventListener("mouseleave",this.vf),!this.bf(_)){if(this.Cf(C,this.kf.Yf),++this.Wd,this.jd&&this.Wd>1){let{gf:L}=this.Mf(ps(_),this.Hd);L<5&&!this.Jd&&this.Cf(C,this.kf.Tf),this.Pf()}else this.Jd||this.Cf(C,this.kf.Xf)}}Of(){null!==this.Yd&&(clearTimeout(this.Yd),this.Yd=null)}Kf(_){if(null!==this.df)return;let C=_.changedTouches[0];this.df=C.identifier,this.cf=ms(_);let L=this.Rf.ownerDocument.documentElement;this.Qd=!1,this.Gd=!1,this._f=!1,this.Zd=ps(C),this.rf&&(this.rf(),this.rf=null);{let C=this.zf.bind(this),Z=this.$f.bind(this);this.rf=()=>{L.removeEventListener("touchmove",C),L.removeEventListener("touchend",Z)},L.addEventListener("touchmove",C,{passive:!1}),L.addEventListener("touchend",Z,{passive:!1}),this.Of(),this.Yd=setTimeout(this.Zf.bind(this,_),240)}let Z=this.wf(_,C);this.xf(Z,this.kf.Gf),this.Ud||(this.$d=0,this.Ud=setTimeout(this.yf.bind(this),500),this.qd=ps(C))}Jf(_){if(0!==_.button)return;let C=this.Rf.ownerDocument.documentElement;ns()&&C.addEventListener("mouseleave",this.vf),this.Jd=!1,this.Kd=ps(_),this.ef&&(this.ef(),this.ef=null);{let _=this.jf.bind(this),L=this.pf.bind(this);this.ef=()=>{C.removeEventListener("mousemove",_),C.removeEventListener("mouseup",L)},C.addEventListener("mousemove",_),C.addEventListener("mouseup",L)}if(this.uf=!0,this.bf(_))return;let L=this.wf(_);this.Cf(L,this.kf.Qf),this.jd||(this.Wd=0,this.jd=setTimeout(this.Pf.bind(this),500),this.Hd=ps(_))}Df(){var _;this.Rf.addEventListener("mouseenter",this.Af.bind(this)),this.Rf.addEventListener("touchcancel",this.Of.bind(this));{let _=this.Rf.ownerDocument,i=_=>{this.kf.tv&&(_.composed&&this.Rf.contains(_.composedPath()[0])||_.target&&this.Rf.contains(_.target)||this.kf.tv())};this.if=()=>{_.removeEventListener("touchstart",i)},this.tf=()=>{_.removeEventListener("mousedown",i)},_.addEventListener("mousedown",i),_.addEventListener("touchstart",i,{passive:!0})}ss()&&(this.nf=()=>{this.Rf.removeEventListener("dblclick",this.mf)},this.Rf.addEventListener("dblclick",this.mf)),this.Rf.addEventListener("mouseleave",this.iv.bind(this)),this.Rf.addEventListener("touchstart",this.Kf.bind(this),{passive:!0}),_=this.Rf,e1&&void 0!==window.chrome&&_.addEventListener("mousedown",_=>{if(1===_.button)return _.preventDefault(),!1}),this.Rf.addEventListener("mousedown",this.Jf.bind(this)),this.nv(),this.Rf.addEventListener("touchmove",()=>{},{passive:!1})}nv(){void 0===this.kf.sv&&void 0===this.kf.ev&&void 0===this.kf.rv||(this.Rf.addEventListener("touchstart",_=>this.hv(_.touches),{passive:!0}),this.Rf.addEventListener("touchmove",_=>{if(2===_.touches.length&&null!==this.hf&&void 0!==this.kf.ev){let C=fs(_.touches[0],_.touches[1])/this.lf;this.kf.ev(this.hf,C),vs(_)}},{passive:!1}),this.Rf.addEventListener("touchend",_=>{this.hv(_.touches)}))}hv(_){1===_.length&&(this.af=!1),2!==_.length||this.af||this.Xd?this.lv():this.av(_)}av(_){let C=this.Rf.getBoundingClientRect()||{left:0,top:0};this.hf={et:(_[0].clientX-C.left+(_[1].clientX-C.left))/2,rt:(_[0].clientY-C.top+(_[1].clientY-C.top))/2},this.lf=fs(_[0],_[1]),void 0!==this.kf.sv&&this.kf.sv(),this.Of()}lv(){null!==this.hf&&(this.hf=null,void 0!==this.kf.rv&&this.kf.rv())}iv(_){if(this.sf&&this.sf(),this.bf(_)||!this.ff)return;let C=this.wf(_);this.Cf(C,this.kf.ov),this.ff=!ss()}Zf(_){let C=bs(_.touches,b(this.df));if(null===C)return;let L=this.wf(_,C);this.xf(L,this.kf._v),this.Qd=!0,this.Xd=!0}
3099bf(_){return _.sourceCapabilities&&void 0!==_.sourceCapabilities.firesTouchEvents?_.sourceCapabilities.firesTouchEvents:ms(_)<this.cf+500}xf(_,C){C&&C.call(this.kf,_)}Cf(_,C){C&&C.call(this.kf,_)}wf(_,C){let L=C||_,Z=this.Rf.getBoundingClientRect()||{left:0,top:0};return{clientX:L.clientX,clientY:L.clientY,pageX:L.pageX,pageY:L.pageY,screenX:L.screenX,screenY:L.screenY,localX:L.clientX-Z.left,localY:L.clientY-Z.top,ctrlKey:_.ctrlKey,altKey:_.altKey,shiftKey:_.shiftKey,metaKey:_.metaKey,uv:!_.type.startsWith("mouse")&&"contextmenu"!==_.type&&"click"!==_.type,cv:_.type,dv:L.target,fv:_.view,vv:()=>{"touchstart"!==_.type&&vs(_)}}}};function fs(_,C){let L=_.clientX-C.clientX,Z=_.clientY-C.clientY;return Math.sqrt(L*L+Z*Z)}function vs(_){_.cancelable&&_.preventDefault()}function ps(_){return{et:_.pageX,rt:_.pageY}}function ms(_){return _.timeStamp||performance.now()}function bs(_,C){for(let L=0;L<_.length;++L)if(_[L].identifier===C)return _[L];return null}function ws(_){return{Ic:_.Ic,pv:{wr:_.mv.externalId},bv:_.mv.cursorStyle}}function Ms(_,C){return L=>{var Z,ea,es,eo;return(null!==(ea=null===(Z=L.At())||void 0===Z?void 0:Z.xa())&&void 0!==ea?ea:"")!==C?[]:null!==(eo=null===(es=L.la)||void 0===es?void 0:es.call(L,_))&&void 0!==eo?eo:[]}}let xs=class xs{constructor(_,C,L,Z){this.Li=null,this.wv=null,this.gv=!1,this.Mv=new si(200),this.Gr=null,this.xv=0,this.Sv=!1,this.kv=()=>{this.Sv||this.nn.yv().qt().Fh()},this.Cv=()=>{this.Sv||this.nn.yv().qt().Fh()}
3099,this.nn=_,this.cn=C,this.mo=C.layout,this.kc=L,this.Tv="left"===Z,this.Pv=Ms("normal",Z),this.Rv=Ms("top",Z),this.Dv=Ms("bottom",Z),this.Ov=document.createElement("div"),this.Ov.style.height="100%",this.Ov.style.overflow="hidden",this.Ov.style.width="25px",this.Ov.style.left="0",this.Ov.style.position="relative",this.Av=as(this.Ov,size({width:16,height:16})),this.Av.subscribeSuggestedBitmapSizeChanged(this.kv);let ea=this.Av.canvasElement;ea.style.position="absolute",ea.style.zIndex="1",ea.style.left="0",ea.style.top="0",this.Vv=as(this.Ov,size({width:16,height:16})),this.Vv.subscribeSuggestedBitmapSizeChanged(this.Cv);let es=this.Vv.canvasElement;es.style.position="absolute",es.style.zIndex="2",es.style.left="0",es.style.top="0";let eo={Qf:this.Bv.bind(this),Gf:this.Bv.bind(this),Hf:this.Iv.bind(this),Wf:this.Iv.bind(this),tv:this.zv.bind(this),Yf:this.Ev.bind(this),Uf:this.Ev.bind(this),Tf:this.Lv.bind(this),Sf:this.Lv.bind(this),Bf:this.Nv.bind(this),ov:this.Fv.bind(this)};this.Wv=new ds(this.Vv.canvasElement,eo,{Nf:()=>!this.cn.handleScroll.vertTouchDrag,Ff:()=>!0})}S(){this.Wv.S(),this.Vv.unsubscribeSuggestedBitmapSizeChanged(this.Cv),this.Vv.dispose(),this.Av.unsubscribeSuggestedBitmapSizeChanged(this.kv),this.Av.dispose(),null!==this.Li&&this.Li.$o().p(this),this.Li=null}jv(){return this.Ov}P(){return this.mo.fontSize}Hv(){let _=this.kc.W();return this.Gr!==_.R&&(this.Mv.ir(),this.Gr=_.R),_}$v(){var _;if(null===this.Li)return 0;let C=0,L=this.Hv(),Z=b(this.Av.canvasElement.getContext("2d"));Z.save();let ea=this.Li.Ea();Z.font=this.Uv(),ea.length>0&&(C=Math.max(this.Mv.Si(Z,ea[0].Za),this.Mv.Si(Z,ea[ea.length-1].Za)));let es=this.qv();for(let _=es.length;_--;){let L=this.Mv.Si(Z,es[_].Jt());L>C&&(C=L)}let eo=this.Li.Pt();if(null!==eo&&null!==this.wv){let _=this.Li.pn(1,eo),L=this.Li.pn(this.wv.height-2,eo);C=Math.max(C,this.Mv.Si(Z,this.Li.Wi(Math.floor(Math.min(_,L))+.11111111111111,eo)),this.Mv.Si(Z,this.Li.Wi(Math.ceil(Math.max(_,L))-.11111111111111,eo)))}Z.restore();let el=C||34;return(_=Math.ceil(L.C+L.T+L.B+L.I+5+el))+_%2}Yv(_){null!==this.wv&&equalSizes(this.wv,_)||(this.wv=_,this.Sv=!0,this.Av.resizeCanvasElement(_),this.Vv.resizeCanvasElement(_),this.Sv=!1,this.Ov.style.width=`${_.width}px`,this.Ov.style.height=`${_.height}px`)}Xv(){return b(this.wv).width}Ji(_){this.Li!==_&&(null!==this.Li&&this.Li.$o().p(this),this.Li=_,_.$o().l(this.ao.bind(this),this))}At(){return this.Li}ir(){let _=this.nn.Kv();this.nn.yv().qt().A_(_,b(this.At()))}Zv(_){if(null===this.wv)return;if(1!==_){this.Gv(),this.Av.applySuggestedBitmapSize();let _=tryCreateCanvasRenderingTarget2D(this.Av);null!==_&&(_.useBitmapCoordinateSpace(_=>{this.Jv(_),this.Be(_)}),this.nn.Qv(_,this.Dv),this.tp(_),this.nn.Qv(_,this.Pv),this.ip(_))}this.Vv.applySuggestedBitmapSize();let C=tryCreateCanvasRenderingTarget2D(this.Vv);null!==C&&(C.useBitmapCoordinateSpace(({context:_,bitmapSize:C})=>{_.clearRect(0,0,C.width,C.height)}),this.np(C),this.nn.Qv(C,this.Rv))}sp(){return this.Av.bitmapSize}ep(_,C,L){let Z=this.sp();Z.width>0&&Z.height>0&&_.drawImage(this.Av.canvasElement,C,L)}gt(){var _;null===(_=this.Li)||void 0===_||_.Ea()}Bv(_){if(null===this.Li||this.Li.Fi()||!this.cn.handleScale.axisPressedMouseMove.price)return;let C=this.nn.yv().qt(),L=this.nn.Kv();this.gv=!0,C.y_(L,this.Li,_.localY)}Iv(_){if(null===this.Li||!this.cn.handleScale.axisPressedMouseMove.price)return;let C=this.nn.yv().qt(),L=this.nn.Kv(),Z=this.Li;C.C_(L,Z,_.localY)}zv(){if(null===this.Li||!this.cn.handleScale.axisPressedMouseMove.price)return;let _=this.nn.yv().qt(),C=this.nn.Kv(),L=this.Li;this.gv&&(this.gv=!1,_.T_(C,L))}Ev(_){if(null===this.Li||!this.cn.handleScale.axisPressedMouseMove.price)return;let C=this.nn.yv().qt(),L=this.nn.Kv();this.gv=!1,C.T_(L,this.Li)}Lv(_){this.cn.handleScale.axisDoubleClickReset.price&&this.ir()}Nv(_){null!==this.Li&&(!this.nn.yv().qt().W().handleScale.axisPressedMouseMove.price||this.Li.ph()||this.Li.Co()||this.rp(1))}Fv(_){this.rp(0)}qv(){let _=[],C=null===this.Li?void 0:this.Li;return(L=>{for(let Z=0;Z<L.length;++Z){let ea=L[Z].Rn(this.nn.Kv(),C);for(let C=0;C<ea.length;C++)_.push(ea[C])}})(this.nn.Kv().No()),_}Jv({context:_,bitmapSize:C}){let{width:L,height:Z}=C,ea=this.nn.Kv().qt(),es=ea.q(),eo=ea.od();es===eo?G(_,0,0,L,Z,es):it(_,0,0,L,Z,es,eo)}Be({context:_,bitmapSize:C,horizontalPixelRatio:L}){let Z;if(null===this.wv||null===this.Li||!this.Li.W().borderVisible)return;_.fillStyle=this.Li.W().borderColor;let ea=Math.max(1,Math.floor(this.Hv().C*L));Z=this.Tv?C.width-ea:0,_.fillRect(Z,0,ea,C.height)}tp(_){if(null===this.wv||null===this.Li)return;let C=this.Li.Ea(),L=this.Li.W(),Z=this.Hv(),ea=this.Tv?this.wv.width-Z.T:0;L.borderVisible&&L.ticksVisible&&_.useBitmapCoordinateSpace(({context:_,horizontalPixelRatio:es,verticalPixelRatio:eo})=>{_.fillStyle=L.borderColor;let el=Math.max(1,Math.floor(eo)),eu=Math.floor(.5*eo),ec=Math.round(Z.T*es);for(let L of(_.beginPath(),C))_.rect(Math.floor(ea*es),Math.round(L.Aa*eo)-eu,ec,el);_.fill()}),_.useMediaCoordinateSpace(({context:_})=>{var es;_.font=this.Uv(),_.fillStyle=null!==(es=L.textColor)&&void 0!==es?es:this.mo.textColor,_.textAlign=this.Tv?"right":"left",_.textBaseline="middle";let eo=this.Tv?Math.round(ea-Z.B):Math.round(ea+Z.T+Z.B),el=C.map(C=>this.Mv.xi(_,C.Za));for(let L=C.length;L--;){let Z=C[L];_.fillText(Z.Za,eo,Z.Aa+el[L])}})}Gv(){if(null===this.wv||null===this.Li)return;let _=this.wv.height/2,C=[],L=this.Li.No().slice(),Z=this.nn.Kv(),ea=this.Hv();
3099this.Li===Z.vr()&&this.nn.Kv().No().forEach(_=>{Z.dr(_)&&L.push(_)});let es=this.Li.Ta()[0],eo=this.Li;L.forEach(L=>{let ea=L.Rn(Z,eo);ea.forEach(_=>{_.Vi(null),_.Bi()&&C.push(_)}),es===L&&ea.length>0&&(_=ea[0].yi())}),C.forEach(_=>_.Vi(_.yi())),this.Li.W().alignLabels&&this.hp(C,ea,_)}hp(_,C,L){if(null===this.wv)return;let Z=_.filter(_=>_.yi()<=L),ea=_.filter(_=>_.yi()>L);for(let L of(Z.sort((_,C)=>C.yi()-_.yi()),Z.length&&ea.length&&ea.push(Z[0]),ea.sort((_,C)=>_.yi()-C.yi()),_)){let _=Math.floor(L.zt(C)/2),Z=L.yi();Z>-_&&Z<_&&L.Vi(_),Z>this.wv.height-_&&Z<this.wv.height+_&&L.Vi(this.wv.height-_)}for(let _=1;_<Z.length;_++){let L=Z[_],ea=Z[_-1],es=ea.zt(C,!1),eo=L.yi(),el=ea.Ai();eo>el-es&&L.Vi(el-es)}for(let _=1;_<ea.length;_++){let L=ea[_],Z=ea[_-1],es=Z.zt(C,!0),eo=L.yi(),el=Z.Ai();eo<el+es&&L.Vi(el+es)}}ip(_){if(null===this.wv)return;let C=this.qv(),L=this.Hv(),Z=this.Tv?"right":"left";C.forEach(C=>{C.Ii()&&C.xt(b(this.Li)).K(_,L,this.Mv,Z)})}np(_){if(null===this.wv||null===this.Li)return;let C=this.nn.yv().qt(),L=[],Z=this.nn.Kv(),ea=C.Fc().Rn(Z,this.Li);ea.length&&L.push(ea);let es=this.Hv(),eo=this.Tv?"right":"left";L.forEach(C=>{C.forEach(C=>{C.xt(b(this.Li)).K(_,es,this.Mv,eo)})})}rp(_){this.Ov.style.cursor=1===_?"ns-resize":"default"}ao(){let _=this.$v();this.xv<_&&this.nn.yv().qt().$l(),this.xv=_}Uv(){return N(this.mo.fontSize,this.mo.fontFamily)}};function Ss(_,C){var L,Z;return null!==(Z=null===(L=_.ra)||void 0===L?void 0:L.call(_,C))&&void 0!==Z?Z:[]}function ks(_,C){var L,Z;return null!==(Z=null===(L=_.Pn)||void 0===L?void 0:L.call(_,C))&&void 0!==Z?Z:[]}function ys(_,C){var L,Z;return null!==(Z=null===(L=_.Qi)||void 0===L?void 0:L.call(_,C))&&void 0!==Z?Z:[]}function Cs(_,C){var L,Z;return null!==(Z=null===(L=_.na)||void 0===L?void 0:L.call(_,C))&&void 0!==Z?Z:[]}let Ts=class Ts{constructor(_,C){this.wv=size({width:0,height:0}),this.lp=null,this.ap=null,this.op=null,this._p=!1,this.up=new R,this.cp=new R,this.dp=0,this.fp=!1,this.vp=null,this.pp=!1,this.mp=null,this.bp=null,this.Sv=!1,this.kv=()=>{this.Sv||null===this.wp||this.Ui().Fh()},this.Cv=()=>{this.Sv||null===this.wp||this.Ui().Fh()},this.gp=_,this.wp=C,this.wp.I_().l(this.Mp.bind(this),this,!0),this.xp=document.createElement("td"),this.xp.style.padding="0",this.xp.style.position="relative";let L=document.createElement("div");L.style.width="100%",L.style.height="100%",L.style.position="relative",L.style.overflow="hidden",this.Sp=document.createElement("td"),this.Sp.style.padding="0",this.kp=document.createElement("td"),this.kp.style.padding="0",this.xp.appendChild(L),this.Av=as(L,size({width:16,height:16})),this.Av.subscribeSuggestedBitmapSizeChanged(this.kv);let Z=this.Av.canvasElement;Z.style.position="absolute",Z.style.zIndex="1",Z.style.left="0",Z.style.top="0",this.Vv=as(L,size({width:16,height:16})),this.Vv.subscribeSuggestedBitmapSizeChanged(this.Cv);let ea=this.Vv.canvasElement;ea.style.position="absolute",ea.style.zIndex="2",ea.style.left="0",ea.style.top="0",this.yp=document.createElement("tr"),this.yp.appendChild(this.Sp),this.yp.appendChild(this.xp),this.yp.appendChild(this.kp),this.Cp(),this.Wv=new ds(this.Vv.canvasElement,this,{Nf:()=>null===this.vp&&!this.gp.W().handleScroll.vertTouchDrag,Ff:()=>null===this.vp&&!this.gp.W().handleScroll.horzTouchDrag})}S(){null!==this.lp&&this.lp.S(),null!==this.ap&&this.ap.S(),this.Vv.unsubscribeSuggestedBitmapSizeChanged(this.Cv),this.Vv.dispose(),this.Av.unsubscribeSuggestedBitmapSizeChanged(this.kv),this.Av.dispose(),null!==this.wp&&this.wp.I_().p(this),this.Wv.S()}Kv(){return b(this.wp)}Tp(_){null!==this.wp&&this.wp.I_().p(this),this.wp=_,null!==this.wp&&this.wp.I_().l(Ts.prototype.Mp.bind(this),this,!0),this.Cp()}yv(){return this.gp}jv(){return this.yp}Cp(){if(null!==this.wp&&(this.Pp(),0!==this.Ui().Mt().length)){if(null!==this.lp){let _=this.wp.S_();this.lp.Ji(b(_))}if(null!==this.ap){let _=this.wp.k_();this.ap.Ji(b(_))}}}Rp(){null!==this.lp&&this.lp.gt(),null!==this.ap&&this.ap.gt()}v_(){return null!==this.wp?this.wp.v_():0}p_(_){this.wp&&this.wp.p_(_)}Bf(_){if(!this.wp)return;this.Dp();let C=_.localX,L=_.localY;this.Op(C,L,_)}Qf(_){this.Dp(),this.Ap(),this.Op(_.localX,_.localY,_)}If(_){var C;if(!this.wp)return;this.Dp();let L=_.localX,Z=_.localY;this.Op(L,Z,_);let ea=this.br(L,Z);this.gp.Vp(null!==(C=null==ea?void 0:ea.bv)&&void 0!==C?C:null),this.Ui().Bc(ea&&{Ic:ea.Ic,pv:ea.pv})}Xf(_){null!==this.wp&&(this.Dp(),this.Bp(_))}Tf(_){null!==this.wp&&this.Ip(this.cp,_)}Sf(_){this.Tf(_)}Hf(_){this.Dp(),this.zp(_),this.Op(_.localX,_.localY,_)}Yf(_){null!==this.wp&&(this.Dp(),this.fp=!1,this.Ep(_))}qf(_){null!==this.wp&&this.Bp(_)}_v(_){if(this.fp=!0,null===this.vp){let C={x:_.localX,y:_.localY};this.Lp(C,C,_)}}ov(_){null!==this.wp&&(this.Dp(),this.wp.qt().Bc(null),this.Np())}Fp(){return this.up}Wp(){return this.cp}sv(){this.dp=1,this.Ui().Un()}ev(_,C){if(!this.gp.W().handleScale.pinch)return;let L=5*(C-this.dp);this.dp=C,this.Ui().Uc(_.et,L)}Gf(_){this.fp=!1,this.pp=null!==this.vp,this.Ap();let C=this.Ui().Fc();
3099null!==this.vp&&C.Tt()&&(this.mp={x:C.Kt(),y:C.Zt()},this.vp={x:_.localX,y:_.localY})}Wf(_){if(null===this.wp)return;let C=_.localX,L=_.localY;if(null===this.vp)this.zp(_);else{this.pp=!1;let Z=b(this.mp),ea=Z.x+(C-this.vp.x),es=Z.y+(L-this.vp.y);this.Op(ea,es,_)}}Uf(_){0===this.yv().W().trackingMode.exitMode&&(this.pp=!0),this.jp(),this.Ep(_)}br(_,C){let L=this.wp;return null===L?null:function(_,C,L){let Z=_.No(),ea=function(_,C,L){var Z,ea,es,eo;let el,eu;for(let ec of _){let _=null!==(ea=null===(Z=ec.oa)||void 0===Z?void 0:Z.call(ec,C,L))&&void 0!==ea?ea:[];for(let C of _)es=C.zOrder,(eo=null==el?void 0:el.zOrder)&&("top"!==es||"top"===eo)&&("normal"!==es||"bottom"!==eo)||(el=C,eu=ec)}return el&&eu?{mv:el,Ic:eu}:null}(Z,C,L);if("top"===(null==ea?void 0:ea.mv.zOrder))return ws(ea);for(let es of Z){if(ea&&ea.Ic===es&&"bottom"!==ea.mv.zOrder&&!ea.mv.isBackground)return ws(ea);let Z=function(_,C,L){for(let Z of _){let _=Z.xt();if(null!==_&&_.br){let ea=_.br(C,L);if(null!==ea)return{fv:Z,pv:ea}}}return null}(es.Pn(_),C,L);if(null!==Z)return{Ic:es,fv:Z.fv,pv:Z.pv};if(ea&&ea.Ic===es&&"bottom"!==ea.mv.zOrder&&ea.mv.isBackground)return ws(ea)}return(null==ea?void 0:ea.mv)?ws(ea):null}(L,_,C)}Hp(_,C){b("left"===C?this.lp:this.ap).Yv(size({width:_,height:this.wv.height}))}$p(){return this.wv}Yv(_){equalSizes(this.wv,_)||(this.wv=_,this.Sv=!0,this.Av.resizeCanvasElement(_),this.Vv.resizeCanvasElement(_),this.Sv=!1,this.xp.style.width=_.width+"px",this.xp.style.height=_.height+"px")}Up(){let _=b(this.wp);for(let C of(_.x_(_.S_()),_.x_(_.k_()),_.Ta()))if(_.dr(C)){let L=C.At();null!==L&&_.x_(L),C.On()}}sp(){return this.Av.bitmapSize}ep(_,C,L){let Z=this.sp();Z.width>0&&Z.height>0&&_.drawImage(this.Av.canvasElement,C,L)}Zv(_){if(0===_||null===this.wp)return;if(_>1&&this.Up(),null!==this.lp&&this.lp.Zv(_),null!==this.ap&&this.ap.Zv(_),1!==_){this.Av.applySuggestedBitmapSize();let _=tryCreateCanvasRenderingTarget2D(this.Av);null!==_&&(_.useBitmapCoordinateSpace(_=>{this.Jv(_)}),this.wp&&(this.qp(_,Ss),this.Yp(_),this.Xp(_),this.qp(_,ks),this.qp(_,ys)))}this.Vv.applySuggestedBitmapSize();let C=tryCreateCanvasRenderingTarget2D(this.Vv);null!==C&&(C.useBitmapCoordinateSpace(({context:_,bitmapSize:C})=>{_.clearRect(0,0,C.width,C.height)}),this.Kp(C),this.qp(C,Cs))}Zp(){return this.lp}Gp(){return this.ap}Qv(_,C){this.qp(_,C)}Mp(){null!==this.wp&&this.wp.I_().p(this),this.wp=null}Bp(_){this.Ip(this.up,_)}Ip(_,C){let L=C.localX,Z=C.localY;_.M()&&_.m(this.Ui().yt().Vu(L),{x:L,y:Z},C)}Jv({context:_,bitmapSize:C}){let{width:L,height:Z}=C,ea=this.Ui(),es=ea.q(),eo=ea.od();es===eo?G(_,0,0,L,Z,eo):it(_,0,0,L,Z,es,eo)}Yp(_){let C=b(this.wp).z_().Wh().xt();null!==C&&C.K(_,!1)}Xp(_){let C=this.Ui().Nc();this.Jp(_,ks,os,C),this.Jp(_,ks,_s,C)}Kp(_){this.Jp(_,ks,_s,this.Ui().Fc())}qp(_,C){let L=b(this.wp).No();for(let Z of L)this.Jp(_,C,os,Z);for(let Z of L)this.Jp(_,C,_s,Z)}Jp(_,C,L,Z){let ea=b(this.wp),es=ea.qt().Vc(),eo=null!==es&&es.Ic===Z,el=null!==es&&eo&&void 0!==es.pv?es.pv.gr:void 0;us(C,C=>L(C,_,eo,el),Z,ea)}Pp(){if(null===this.wp)return;let _=this.gp,C=this.wp.S_().W().visible,L=this.wp.k_().W().visible;C||null===this.lp||(this.Sp.removeChild(this.lp.jv()),this.lp.S(),this.lp=null),L||null===this.ap||(this.kp.removeChild(this.ap.jv()),this.ap.S(),this.ap=null);let Z=_.qt().sd();C&&null===this.lp&&(this.lp=new xs(this,_.W(),Z,"left"),this.Sp.appendChild(this.lp.jv())),L&&null===this.ap&&(this.ap=new xs(this,_.W(),Z,"right"),this.kp.appendChild(this.ap.jv()))}Qp(_){return _.uv&&this.fp||null!==this.vp}tm(_){return Math.max(0,Math.min(_,this.wv.width-1))}im(_){return Math.max(0,Math.min(_,this.wv.height-1))}Op(_,C,L){this.Ui().Jc(this.tm(_),this.im(C),L,b(this.wp))}Np(){this.Ui().td()}jp(){this.pp&&(this.vp=null,this.Np())}Lp(_,C,L){this.vp=_,this.pp=!1,this.Op(C.x,C.y,L);let Z=this.Ui().Fc();this.mp={x:Z.Kt(),y:Z.Zt()}}Ui(){return this.gp.qt()}Ep(_){if(!this._p)return;let C=this.Ui(),L=this.Kv();if(C.D_(L,L.vn()),this.op=null,this._p=!1,C.Kc(),null!==this.bp){let _=performance.now(),L=C.yt();this.bp.Dr(L.Eu(),_),this.bp.Yu(_)||C.Xn(this.bp)}}Dp(){this.vp=null}Ap(){if(this.wp){if(this.Ui().Un(),document.activeElement!==document.body&&document.activeElement!==document.documentElement)b(document.activeElement).blur();else{let _=document.getSelection();null!==_&&_.removeAllRanges()}this.wp.vn().Fi()||this.Ui().yt().Fi()}}zp(_){if(null===this.wp)return;let C=this.Ui(),L=C.yt();if(L.Fi())return;let Z=this.gp.W(),ea=Z.handleScroll,es=Z.kineticScroll;if((!ea.pressedMouseMove||_.uv)&&(!ea.horzTouchDrag&&!ea.vertTouchDrag||!_.uv))return;let eo=this.wp.vn(),el=performance.now();if(null!==this.op||this.Qp(_)||(this.op={x:_.clientX,y:_.clientY,kd:el,nm:_.localX,sm:_.localY}),null!==this.op&&!this._p&&(this.op.x!==_.clientX||this.op.y!==_.clientY)){if(_.uv&&es.touch||!_.uv&&es.mouse){let _=L.he();this.bp=new ls(.2/_,7/_,.997,15/_),this.bp.Nd(L.Eu(),this.op.kd)}else this.bp=null;eo.Fi()||C.P_(this.wp,eo,_.localY),C.Yc(_.localX),this._p=!0}this._p&&(eo.Fi()||C.R_(this.wp,eo,_.localY),C.Xc(_.localX),null!==this.bp&&this.bp.Nd(L.Eu(),el))}};let Ps=class Ps{constructor(_,C,L,Z,ea){this.bt=!0,this.wv=size({width:0,height:0}),this.kv=()=>
3099this.Zv(3),this.Tv="left"===_,this.kc=L.sd,this.cn=C,this.rm=Z,this.hm=ea,this.Ov=document.createElement("div"),this.Ov.style.width="25px",this.Ov.style.height="100%",this.Ov.style.overflow="hidden",this.Av=as(this.Ov,size({width:16,height:16})),this.Av.subscribeSuggestedBitmapSizeChanged(this.kv)}S(){this.Av.unsubscribeSuggestedBitmapSizeChanged(this.kv),this.Av.dispose()}jv(){return this.Ov}$p(){return this.wv}Yv(_){equalSizes(this.wv,_)||(this.wv=_,this.Av.resizeCanvasElement(_),this.Ov.style.width=`${_.width}px`,this.Ov.style.height=`${_.height}px`,this.bt=!0)}Zv(_){if(_<3&&!this.bt||0===this.wv.width||0===this.wv.height)return;this.bt=!1,this.Av.applySuggestedBitmapSize();let C=tryCreateCanvasRenderingTarget2D(this.Av);null!==C&&C.useBitmapCoordinateSpace(_=>{this.Jv(_),this.Be(_)})}sp(){return this.Av.bitmapSize}ep(_,C,L){let Z=this.sp();Z.width>0&&Z.height>0&&_.drawImage(this.Av.canvasElement,C,L)}Be({context:_,bitmapSize:C,horizontalPixelRatio:L,verticalPixelRatio:Z}){if(!this.rm())return;_.fillStyle=this.cn.timeScale.borderColor;let ea=Math.floor(this.kc.W().C*L),es=Math.floor(this.kc.W().C*Z),eo=this.Tv?C.width-ea:0;_.fillRect(eo,0,ea,es)}Jv({context:_,bitmapSize:C}){G(_,0,0,C.width,C.height,this.hm())}};function Rs(_){return C=>{var L,Z;return null!==(Z=null===(L=C.aa)||void 0===L?void 0:L.call(C,_))&&void 0!==Z?Z:[]}}let e0=Rs("normal"),e2=Rs("top"),e5=Rs("bottom");let Vs=class Vs{constructor(_,C){this.lm=null,this.am=null,this.k=null,this.om=!1,this.wv=size({width:0,height:0}),this._m=new R,this.Mv=new si(5),this.Sv=!1,this.kv=()=>{this.Sv||this.gp.qt().Fh()},this.Cv=()=>{this.Sv||this.gp.qt().Fh()},this.gp=_,this.N_=C,this.cn=_.W().layout,this.um=document.createElement("tr"),this.dm=document.createElement("td"),this.dm.style.padding="0",this.fm=document.createElement("td"),this.fm.style.padding="0",this.Ov=document.createElement("td"),this.Ov.style.height="25px",this.Ov.style.padding="0",this.vm=document.createElement("div"),this.vm.style.width="100%",this.vm.style.height="100%",this.vm.style.position="relative",this.vm.style.overflow="hidden",this.Ov.appendChild(this.vm),this.Av=as(this.vm,size({width:16,height:16})),this.Av.subscribeSuggestedBitmapSizeChanged(this.kv);let L=this.Av.canvasElement;L.style.position="absolute",L.style.zIndex="1",L.style.left="0",L.style.top="0",this.Vv=as(this.vm,size({width:16,height:16})),this.Vv.subscribeSuggestedBitmapSizeChanged(this.Cv);let Z=this.Vv.canvasElement;Z.style.position="absolute",Z.style.zIndex="2",Z.style.left="0",Z.style.top="0",this.um.appendChild(this.dm),this.um.appendChild(this.Ov),this.um.appendChild(this.fm),this.pm(),this.gp.qt().f_().l(this.pm.bind(this),this),this.Wv=new ds(this.Vv.canvasElement,this,{Nf:()=>!0,Ff:()=>!this.gp.W().handleScroll.horzTouchDrag})}S(){this.Wv.S(),null!==this.lm&&this.lm.S(),null!==this.am&&this.am.S(),this.Vv.unsubscribeSuggestedBitmapSizeChanged(this.Cv),this.Vv.dispose(),this.Av.unsubscribeSuggestedBitmapSizeChanged(this.kv),this.Av.dispose()}jv(){return this.um}bm(){return this.lm}wm(){return this.am}Qf(_){if(this.om)return;this.om=!0;let C=this.gp.qt();!C.yt().Fi()&&this.gp.W().handleScale.axisPressedMouseMove.time&&C.$c(_.localX)}Gf(_){this.Qf(_)}tv(){let _=this.gp.qt();!_.yt().Fi()&&this.om&&(this.om=!1,this.gp.W().handleScale.axisPressedMouseMove.time&&_.Gc())}Hf(_){let C=this.gp.qt();!C.yt().Fi()&&this.gp.W().handleScale.axisPressedMouseMove.time&&C.Zc(_.localX)}Wf(_){this.Hf(_)}Yf(){this.om=!1;let _=this.gp.qt();_.yt().Fi()&&!this.gp.W().handleScale.axisPressedMouseMove.time||_.Gc()}Uf(){this.Yf()}Tf(){this.gp.W().handleScale.axisDoubleClickReset.time&&this.gp.qt().Zn()}Sf(){this.Tf()}Bf(){this.gp.qt().W().handleScale.axisPressedMouseMove.time&&this.rp(1)}ov(){this.rp(0)}$p(){return this.wv}gm(){return this._m}Mm(_,C,L){equalSizes(this.wv,_)||(this.wv=_,this.Sv=!0,this.Av.resizeCanvasElement(_),this.Vv.resizeCanvasElement(_),this.Sv=!1,this.Ov.style.width=`${_.width}px`,this.Ov.style.height=`${_.height}px`,this._m.m(_)),null!==this.lm&&this.lm.Yv(size({width:C,height:_.height})),null!==this.am&&this.am.Yv(size({width:L,height:_.height}))}xm(){let _=this.Sm();return Math.ceil(_.C+_.T+_.P+_.L+_.V+_.km)}gt(){this.gp.qt().yt().Ea()}sp(){return this.Av.bitmapSize}ep(_,C,L){let Z=this.sp();Z.width>0&&Z.height>0&&_.drawImage(this.Av.canvasElement,C,L)}Zv(_){if(0===_)return;if(1!==_){this.Av.applySuggestedBitmapSize();let C=tryCreateCanvasRenderingTarget2D(this.Av);null!==C&&(C.useBitmapCoordinateSpace(_=>{this.Jv(_),this.Be(_),this.ym(C,e5)}),this.tp(C),this.ym(C,e0)),null!==this.lm&&this.lm.Zv(_),null!==this.am&&this.am.Zv(_)}this.Vv.applySuggestedBitmapSize();let C=tryCreateCanvasRenderingTarget2D(this.Vv);null!==C&&(C.useBitmapCoordinateSpace(({context:_,bitmapSize:C})=>{_.clearRect(0,0,C.width,C.height)}),this.Cm([...this.gp.qt().Mt(),this.gp.qt().Fc()],C),this.ym(C,e2))}ym(_,C){let L=this.gp.qt().Mt();for(let Z of L)us(C,C=>os(C,_,!1,void 0),Z,void 0);for(let Z of L)us(C,C=>_s(C,_,!1,void 0),Z,void 0)}Jv({context:_,bitmapSize:C}){G(_,0,0,C.width,C.height,this.gp.qt().od())}Be({context:_,bitmapSize:C,verticalPixelRatio:L}){if(this.gp.W().timeScale.borderVisible){_.fillStyle=this.Tm();let Z=Math.max(1,Math.floor(this.Sm().C*L));_.fillRect(0,0,C.width,Z)}}tp(_){let C=this.gp.qt().yt(),L=C.Ea();if(!L||0===L.length)return;let Z=this.N_.maxTickMarkWeight(L),ea=this.Sm(),es=C.W();es.borderVisible&&es.ticksVisible&&_.useBitmapCoordinateSpace(({context:_,horizontalPixelRatio:C,verticalPixelRatio:Z})=>{_.strokeStyle=this.Tm(),_.fillStyle=this.Tm();let es=Math.max(1,Math.floor(C)),eo=Math.floor(.5*C);_.beginPath();
3099let el=Math.round(ea.T*Z);for(let Z=L.length;Z--;){let ea=Math.round(L[Z].coord*C);_.rect(ea-eo,0,es,el)}_.fill()}),_.useMediaCoordinateSpace(({context:_})=>{let C=ea.C+ea.T+ea.L+ea.P/2;for(let ea of(_.textAlign="center",_.textBaseline="middle",_.fillStyle=this.$(),_.font=this.Uv(),L))if(ea.weight<Z){let L=ea.needAlignCoordinate?this.Pm(_,ea.coord,ea.label):ea.coord;_.fillText(ea.label,L,C)}for(let ea of(_.font=this.Rm(),L))if(ea.weight>=Z){let L=ea.needAlignCoordinate?this.Pm(_,ea.coord,ea.label):ea.coord;_.fillText(ea.label,L,C)}})}Pm(_,C,L){let Z=this.Mv.Si(_,L),ea=Math.floor(C-Z/2)+.5;return ea<0?C+=Math.abs(0-ea):ea+Z>this.wv.width&&(C-=Math.abs(this.wv.width-(ea+Z))),C}Cm(_,C){let L=this.Sm();for(let Z of _)for(let _ of Z.tn())_.xt().K(C,L)}Tm(){return this.gp.W().timeScale.borderColor}$(){return this.cn.textColor}j(){return this.cn.fontSize}Uv(){return N(this.j(),this.cn.fontFamily)}Rm(){return N(this.j(),this.cn.fontFamily,"bold")}Sm(){null===this.k&&(this.k={C:1,N:NaN,L:NaN,V:NaN,Hi:NaN,T:5,P:NaN,R:"",ji:new si,km:0});let _=this.k,C=this.Uv();if(_.R!==C){let L=this.j();_.P=L,_.R=C,_.L=3*L/12,_.V=3*L/12,_.Hi=9*L/12,_.N=0,_.km=4*L/12,_.ji.ir()}return this.k}rp(_){this.Ov.style.cursor=1===_?"ew-resize":"default"}pm(){let _=this.gp.qt(),C=_.W();C.leftPriceScale.visible||null===this.lm||(this.dm.removeChild(this.lm.jv()),this.lm.S(),this.lm=null),C.rightPriceScale.visible||null===this.am||(this.fm.removeChild(this.am.jv()),this.am.S(),this.am=null);let L={sd:this.gp.qt().sd()},s=()=>C.leftPriceScale.borderVisible&&_.yt().W().borderVisible,e=()=>_.od();C.leftPriceScale.visible&&null===this.lm&&(this.lm=new Ps("left",C,L,s,e),this.dm.appendChild(this.lm.jv())),C.rightPriceScale.visible&&null===this.am&&(this.am=new Ps("right",C,L,s,e),this.fm.appendChild(this.am.jv()))}};let e6=!!e1&&!!navigator.userAgentData&&navigator.userAgentData.brands.some(_=>_.brand.includes("Chromium"))&&!!e1&&((null===(eT=null==navigator?void 0:navigator.userAgentData)||void 0===eT?void 0:eT.platform)?"Windows"===navigator.userAgentData.platform:navigator.userAgent.toLowerCase().indexOf("win")>=0);let zs=class zs{constructor(_,C,L){var Z;this.Dm=[],this.Om=0,this.Qa=0,this.e_=0,this.Am=0,this.Vm=0,this.Bm=null,this.Im=!1,this.up=new R,this.cp=new R,this.Mc=new R,this.zm=null,this.Em=null,this.Lm=_,this.cn=C,this.N_=L,this.um=document.createElement("div"),this.um.classList.add("tv-lightweight-charts"),this.um.style.overflow="hidden",this.um.style.direction="ltr",this.um.style.width="100%",this.um.style.height="100%",(Z=this.um).style.userSelect="none",Z.style.webkitUserSelect="none",Z.style.msUserSelect="none",Z.style.MozUserSelect="none",Z.style.webkitTapHighlightColor="transparent",this.Nm=document.createElement("table"),this.Nm.setAttribute("cellspacing","0"),this.um.appendChild(this.Nm),this.Fm=this.Wm.bind(this),Es(this.cn)&&this.jm(!0),this.Ui=new zn(this.Sc.bind(this),this.cn,L),this.qt().Wc().l(this.Hm.bind(this),this),this.$m=new Vs(this,this.N_),this.Nm.appendChild(this.$m.jv());let ea=C.autoSize&&this.Um(),es=this.cn.width,eo=this.cn.height;if(ea||0===es||0===eo){let C=_.getBoundingClientRect();es=es||C.width,eo=eo||C.height}this.qm(es,eo),this.Ym(),_.appendChild(this.um),this.Xm(),this.Ui.yt().Gu().l(this.Ui.$l.bind(this.Ui),this),this.Ui.f_().l(this.Ui.$l.bind(this.Ui),this)}qt(){return this.Ui}W(){return this.cn}Km(){return this.Dm}Zm(){return this.$m}S(){for(let _ of(this.jm(!1),0!==this.Om&&window.cancelAnimationFrame(this.Om),this.Ui.Wc().p(this),this.Ui.yt().Gu().p(this),this.Ui.f_().p(this),this.Ui.S(),this.Dm))this.Nm.removeChild(_.jv()),_.Fp().p(this),_.Wp().p(this),_.S();this.Dm=[],b(this.$m).S(),null!==this.um.parentElement&&this.um.parentElement.removeChild(this.um),this.Mc.S(),this.up.S(),this.cp.S(),this.Gm()}qm(_,C,L=!1){if(this.Qa===C&&this.e_===_)return;let Z=function(_){let C=Math.floor(_.width),L=Math.floor(_.height);return size({width:C-C%2,height:L-L%2})}(size({width:_,height:C}));this.Qa=Z.height,this.e_=Z.width;let ea=this.Qa+"px",es=this.e_+"px";b(this.um).style.height=ea,b(this.um).style.width=es,this.Nm.style.height=ea,this.Nm.style.width=es,L?this.Jm(ct.es(),performance.now()):this.Ui.$l()}Zv(_){void 0===_&&(_=ct.es());for(let C=0;C<this.Dm.length;C++)this.Dm[C].Zv(_.Hn(C).Fn);this.cn.timeScale.visible&&this.$m.Zv(_.jn())}Nh(_){let C=Es(this.cn);this.Ui.Nh(_);let L=Es(this.cn);L!==C&&this.jm(L),this.Xm(),this.Qm(_)}Fp(){return this.up}Wp(){return this.cp}Wc(){return this.Mc}tb(){null!==this.Bm&&(this.Jm(this.Bm,performance.now()),this.Bm=null);let _=this.ib(null),C=document.createElement("canvas");C.width=_.width,C.height=_.height;let L=b(C.getContext("2d"));return this.ib(L),C}nb(_){return("left"!==_||this.sb())&&("right"!==_||this.eb())&&0!==this.Dm.length?b("left"
3099===_?this.Dm[0].Zp():this.Dm[0].Gp()).Xv():0}rb(){return this.cn.autoSize&&null!==this.zm}hb(){return this.um}Vp(_){this.Em=_,this.Em?this.hb().style.setProperty("cursor",_):this.hb().style.removeProperty("cursor")}lb(){return this.Em}ab(){return m(this.Dm[0]).$p()}Qm(_){(void 0!==_.autoSize||!this.zm||void 0===_.width&&void 0===_.height)&&(_.autoSize&&!this.zm&&this.Um(),!1===_.autoSize&&null!==this.zm&&this.Gm(),_.autoSize||void 0===_.width&&void 0===_.height||this.qm(_.width||this.e_,_.height||this.Qa))}ib(_){let C=0,L=0,Z=this.Dm[0],r=(C,L)=>{let Z=0;for(let ea=0;ea<this.Dm.length;ea++){let es=this.Dm[ea],eo=b("left"===C?es.Zp():es.Gp()),el=eo.sp();null!==_&&eo.ep(_,L,Z),Z+=el.height}};this.sb()&&(r("left",0),C+=b(Z.Zp()).sp().width);for(let Z=0;Z<this.Dm.length;Z++){let ea=this.Dm[Z],es=ea.sp();null!==_&&ea.ep(_,C,L),L+=es.height}C+=Z.sp().width,this.eb()&&(r("right",C),C+=b(Z.Gp()).sp().width);let h=(C,L,Z)=>{b("left"===C?this.$m.bm():this.$m.wm()).ep(b(_),L,Z)};if(this.cn.timeScale.visible){let C=this.$m.sp();if(null!==_){let ea=0;this.sb()&&(h("left",ea,L),ea=b(Z.Zp()).sp().width),this.$m.ep(_,ea,L),ea+=C.width,this.eb()&&h("right",ea,L)}L+=C.height}return size({width:C,height:L})}ob(){var _,C,L;let Z=0,ea=0,es=0;for(let _ of this.Dm)this.sb()&&(ea=Math.max(ea,b(_.Zp()).$v(),this.cn.leftPriceScale.minimumWidth)),this.eb()&&(es=Math.max(es,b(_.Gp()).$v(),this.cn.rightPriceScale.minimumWidth)),Z+=_.v_();ea=(C=ea)+C%2,es=(L=es)+L%2;let eo=this.e_,el=this.Qa,eu=Math.max(eo-ea-es,0),ec=this.cn.timeScale.visible,ed=ec?Math.max(this.$m.xm(),this.cn.timeScale.minimumHeight):0;ed=(_=ed)+_%2;let eh=0+ed,ep=el<eh?0:el-eh,ef=ep/Z,em=0;for(let _=0;_<this.Dm.length;++_){let C=this.Dm[_];C.Tp(this.Ui.Lc()[_]);let L=0;L=Math.max(_===this.Dm.length-1?ep-em:Math.round(C.v_()*ef),2),em+=L,C.Yv(size({width:eu,height:L})),this.sb()&&C.Hp(ea,"left"),this.eb()&&C.Hp(es,"right"),C.Kv()&&this.Ui.jc(C.Kv(),L)}this.$m.Mm(size({width:ec?eu:0,height:ed}),ec?ea:0,ec?es:0),this.Ui.m_(eu),this.Am!==ea&&(this.Am=ea),this.Vm!==es&&(this.Vm=es)}jm(_){_?this.um.addEventListener("wheel",this.Fm,{passive:!1}):this.um.removeEventListener("wheel",this.Fm)}_b(_){switch(_.deltaMode){case _.DOM_DELTA_PAGE:return 120;case _.DOM_DELTA_LINE:return 32}return e6?1/window.devicePixelRatio:1}Wm(_){if(!(0!==_.deltaX&&this.cn.handleScroll.mouseWheel||0!==_.deltaY&&this.cn.handleScale.mouseWheel))return;let C=this._b(_),L=C*_.deltaX/100,Z=-C*_.deltaY/100;if(_.cancelable&&_.preventDefault(),0!==Z&&this.cn.handleScale.mouseWheel){let C=Math.sign(Z)*Math.min(1,Math.abs(Z)),L=_.clientX-this.um.getBoundingClientRect().left;this.qt().Uc(L,C)}0!==L&&this.cn.handleScroll.mouseWheel&&this.qt().qc(-80*L)}Jm(_,C){var L;let Z=_.jn();3===Z&&this.ub(),3!==Z&&2!==Z||(this.cb(_),this.fb(_,C),this.$m.gt(),this.Dm.forEach(_=>{_.Rp()}),3===(null===(L=this.Bm)||void 0===L?void 0:L.jn())&&(this.Bm.ts(_),this.ub(),this.cb(this.Bm),this.fb(this.Bm,C),_=this.Bm,this.Bm=null)),this.Zv(_)}fb(_,C){for(let L of _.Qn())this.ns(L,C)}cb(_){let C=this.Ui.Lc();for(let L=0;L<C.length;L++)_.Hn(L).Wn&&C[L].V_()}ns(_,C){let L=this.Ui.yt();switch(_.qn){case 0:L.Qu();break;case 1:L.tc(_.Vt);break;case 2:L.Gn(_.Vt);break;case 3:L.Jn(_.Vt);break;case 4:L.Fu();break;case 5:_.Vt.Yu(C)||L.Jn(_.Vt.Xu(C))}}Sc(_){null!==this.Bm?this.Bm.ts(_):this.Bm=_,this.Im||(this.Im=!0,this.Om=window.requestAnimationFrame(_=>{if(this.Im=!1,this.Om=0,null!==this.Bm){let C=this.Bm;for(let L of(this.Bm=null,this.Jm(C,_),C.Qn()))if(5===L.qn&&!L.Vt.Yu(_)){this.qt().Xn(L.Vt);break}}}))}ub(){this.Ym()}Ym(){let _=this.Ui.Lc(),C=_.length,L=this.Dm.length;for(let _=C;_<L;_++){let _=m(this.Dm.pop());this.Nm.removeChild(_.jv()),_.Fp().p(this),_.Wp().p(this),_.S()}for(let Z=L;Z<C;Z++){let C=new Ts(this,_[Z]);C.Fp().l(this.vb.bind(this),this),C.Wp().l(this.pb.bind(this),this),this.Dm.push(C),this.Nm.insertBefore(C.jv(),this.$m.jv())}for(let L=0;L<C;L++){let C=_[L],Z=this.Dm[L];Z.Kv()!==C?Z.Tp(C):Z.Cp()}this.Xm(),this.ob()}mb(_,C,L){var Z;let ea;let es=new Map;if(null!==_&&this.Ui.Mt().forEach(C=>{let L=C.In().nl(_);null!==L&&es.set(C,L)}),null!==_){let C=null===(Z=this.Ui.yt().qi(_))||void 0===Z?void 0:Z.originalTime;void 0!==C&&(ea=C)}let eo=this.qt().Vc(),el=null!==eo&&eo.Ic instanceof Gi?eo.Ic:void 0,eu=null!==eo&&void 0!==eo.pv?eo.pv.wr:void 0;return{bb:ea,se:null!=_?_:void 0,wb:null!=C?C:void 0,gb:el,Mb:es,xb:eu,Sb:null!=L?L:void 0}}vb(_,C,L){this.up.m(()=>this.mb(_,C,L))}pb(_,C,L){this.cp.m(()=>this.mb(_,C,L))}Hm(_,C,L){this.Mc.m(()=>this.mb(_,C,L))}Xm(){let _=this.cn.timeScale.visible?"":"none";this.$m.jv().style.display=_}sb(){return this.Dm[0].Kv().S_().W().visible}eb(){return this.Dm[0].Kv().k_().W().visible}Um(){return"ResizeObserver"in window&&(this.zm=new ResizeObserver(_=>{let C=_.find(_=>_.target===this.Lm);C&&this.qm(C.contentRect.width,C.contentRect.height)}),this.zm.observe(this.Lm,{box:"border-box"}),!0)}Gm(){null!==this.zm&&this.zm.disconnect(),this.zm=null}};function Es(_){return!!(_.handleScroll.mouseWheel||_.handleScale.mouseWheel)}function Ls(_,C){var L={};for(var Z in _)Object.prototype.hasOwnProperty.call(_,Z)&&0>C.indexOf(Z)&&(L[Z]=_[Z]);if(null!=_&&"function"==typeof Object.getOwnPropertySymbols){var ea=0;for(Z=Object.getOwnPropertySymbols(_);ea<Z.length;ea++)0>C.indexOf(Z[ea])&&Object.prototype.propertyIsEnumerable.call(_,Z[ea])&&(L[Z[ea]]=_[Z[ea]])}return L}function Ns(_,C,L,Z){let ea=L.value,es={se:C,ut:_,Vt:[ea,ea,ea,ea],bb:Z};return void 0!==L.color&&(es.O=L.color),es}function Fs(_,C,L,Z){let ea=L.value,es={se:C,ut:_,Vt:[ea,ea,ea,ea],bb:Z};return void 0!==L.lineColor&&(es._t=L.lineColor),void 0!==L.topColor&&(es.Ts=L.topColor),void 0!==L.bottomColor&&(es.Ps=L.bottomColor),es}function Ws(_,C,L,Z){let ea=L.value,es={se:C,ut:_,Vt:[ea,ea,ea,ea],bb:Z};return void 0!==L.topLineColor&&(es.Pe=L.topLineColor),void 0!==L.bottomLineColor&&(es.Re=L.bottomLineColor),void 0!==L.topFillColor1&&
3099(es.Se=L.topFillColor1),void 0!==L.topFillColor2&&(es.ke=L.topFillColor2),void 0!==L.bottomFillColor1&&(es.ye=L.bottomFillColor1),void 0!==L.bottomFillColor2&&(es.Ce=L.bottomFillColor2),es}function js(_,C,L,Z){let ea={se:C,ut:_,Vt:[L.open,L.high,L.low,L.close],bb:Z};return void 0!==L.color&&(ea.O=L.color),ea}function Hs(_,C,L,Z){let ea={se:C,ut:_,Vt:[L.open,L.high,L.low,L.close],bb:Z};return void 0!==L.color&&(ea.O=L.color),void 0!==L.borderColor&&(ea.Bt=L.borderColor),void 0!==L.wickColor&&(ea.$h=L.wickColor),ea}function $s(_,C,L,Z,ea){let es=m(ea)(L),eo=es[es.length-1],{time:el,color:eu}=L;return{se:C,ut:_,Vt:[eo,Math.max(...es),Math.min(...es),eo],bb:Z,He:Ls(L,["time","color"]),O:eu}}function Us(_){return void 0!==_.Vt}function qs(_,C){return void 0!==C.customValues&&(_.kb=C.customValues),_}function Ys(_){return(C,L,Z,ea,es,eo)=>(eo?eo(Z):void 0===Z.open&&void 0===Z.value)?qs({ut:C,se:L,bb:ea},Z):qs(_(C,L,Z,ea,es),Z)}function Xs(_){return({Candlestick:Ys(Hs),Bar:Ys(js),Area:Ys(Fs),Baseline:Ys(Ws),Histogram:Ys(Ns),Line:Ys(Ns),Custom:Ys($s)})[_]}function Ks(_){return{se:0,yb:new Map,ia:_}}function Zs(_,C){if(void 0!==_&&0!==_.length)return{Cb:C.key(_[0].ut),Tb:C.key(_[_.length-1].ut)}}function Gs(_){let C;return _.forEach(_=>{void 0===C&&(C=_.bb)}),m(C)}let Js=class Js{constructor(_){this.Pb=new Map,this.Rb=new Map,this.Db=new Map,this.Ob=[],this.N_=_}S(){this.Pb.clear(),this.Rb.clear(),this.Db.clear(),this.Ob=[]}Ab(_,C){let L=0!==this.Pb.size,Z=!1,ea=this.Rb.get(_);if(void 0!==ea){if(1===this.Rb.size)L=!1,Z=!0,this.Pb.clear();else for(let C of this.Ob)C.pointData.yb.delete(_)&&(Z=!0)}let es=[];if(0!==C.length){let L=C.map(_=>_.time),ea=this.N_.createConverterToInternalObj(C),eo=Xs(_.Xh()),el=_.ga(),eu=_.Ma();es=C.map((C,es)=>{let ec=ea(C.time),ed=this.N_.key(ec),eh=this.Pb.get(ed);void 0===eh&&(eh=Ks(ec),this.Pb.set(ed,eh),Z=!0);let ep=eo(ec,eh.se,C,L[es],el,eu);return eh.yb.set(_,ep),ep})}L&&this.Vb(),this.Bb(_,es);let eo=-1;if(Z){let _=[];this.Pb.forEach(C=>{_.push({timeWeight:0,time:C.ia,pointData:C,originalTime:Gs(C.yb)})}),_.sort((_,C)=>this.N_.key(_.time)-this.N_.key(C.time)),eo=this.Ib(_)}return this.zb(_,eo,function(_,C,L){let Z=Zs(_,L),ea=Zs(C,L);if(void 0!==Z&&void 0!==ea)return{Xl:Z.Tb>=ea.Tb&&Z.Cb>=ea.Cb}}(this.Rb.get(_),ea,this.N_))}hd(_){return this.Ab(_,[])}Eb(_,C){void 0===C.bb&&(C.bb=C.time),this.N_.preprocessData(C);let L=this.N_.createConverterToInternalObj([C])(C.time),Z=this.Db.get(_);if(void 0!==Z&&this.N_.key(L)<this.N_.key(Z))throw Error(`Cannot update oldest data, last time=${Z}, new time=${L}`);let ea=this.Pb.get(this.N_.key(L)),es=void 0===ea;void 0===ea&&(ea=Ks(L),this.Pb.set(this.N_.key(L),ea));let eo=Xs(_.Xh()),el=_.ga(),eu=_.Ma(),ec=eo(L,ea.se,C,C.bb,el,eu);ea.yb.set(_,ec),this.Lb(_,ec);let ed={Xl:Us(ec)};if(!es)return this.zb(_,-1,ed);let eh={timeWeight:0,time:ea.ia,pointData:ea,originalTime:Gs(ea.yb)},ep=e$(this.Ob,this.N_.key(eh.time),(_,C)=>this.N_.key(_.time)<C);this.Ob.splice(ep,0,eh);for(let _=ep;_<this.Ob.length;++_)Qs(this.Ob[_].pointData,_);return this.N_.fillWeightsForPoints(this.Ob,ep),this.zb(_,ep,ed)}Lb(_,C){let L=this.Rb.get(_);void 0===L&&(L=[],this.Rb.set(_,L));let Z=0!==L.length?L[L.length-1]:null;null===Z||this.N_.key(C.ut)>this.N_.key(Z.ut)?Us(C)&&L.push(C):Us(C)?L[L.length-1]=C:L.splice(-1,1),this.Db.set(_,C.ut)}Bb(_,C){0!==C.length?(this.Rb.set(_,C.filter(Us)),this.Db.set(_,C[C.length-1].ut)):(this.Rb.delete(_),this.Db.delete(_))}Vb(){for(let _ of this.Ob)0===_.pointData.yb.size&&this.Pb.delete(this.N_.key(_.time))}Ib(_){let C=-1;for(let L=0;L<this.Ob.length&&L<_.length;++L){let Z=this.Ob[L],ea=_[L];if(this.N_.key(Z.time)!==this.N_.key(ea.time)){C=L;break}ea.timeWeight=Z.timeWeight,Qs(ea.pointData,L)}if(-1===C&&this.Ob.length!==_.length&&(C=Math.min(this.Ob.length,_.length)),-1===C)return -1;for(let L=C;L<_.length;++L)Qs(_[L].pointData,L);return this.N_.fillWeightsForPoints(_,C),this.Ob=_,C}Nb(){if(0===this.Rb.size)return null;let _=0;return this.Rb.forEach(C=>{0!==C.length&&(_=Math.max(_,C[C.length-1].se))}),_}zb(_,C,L){let Z={Fb:new Map,yt:{Au:this.Nb()}};if(-1!==C)this.Rb.forEach((C,ea)=>{Z.Fb.set(ea,{He:C,Wb:ea===_?L:void 0})}),this.Rb.has(_)||Z.Fb.set(_,{He:[],Wb:L}),Z.yt.jb=this.Ob,Z.yt.Hb=C;else{let C=this.Rb.get(_);Z.Fb.set(_,{He:C||[],Wb:L})}return Z}};function Qs(_,C){_.se=C,_.yb.forEach(_=>{_.se=C})}function te(_){let C={value:_.Vt[3],time:_.bb};return void 0!==_.kb&&(C.customValues=_.kb),C}function ie(_){let C=te(_);return void 0!==_.O&&(C.color=_.O),C}function ne(_){let C=te(_);return void 0!==_._t&&(C.lineColor=_._t),void 0!==_.Ts&&(C.topColor=_.Ts),void 0!==_.Ps&&(C.bottomColor=_.Ps),C}function se(_){let C=te(_);return void 0!==_.Pe&&(C.topLineColor=_.Pe),void 0!==_.Re&&(C.bottomLineColor=_.Re),void 0!==_.Se&&(C.topFillColor1=_.Se),void 0!==_.ke&&(C.topFillColor2=_.ke),void 0!==_.ye&&(C.bottomFillColor1=_.ye),void 0!==_.Ce&&(C.bottomFillColor2=_.Ce),C}function ee(_){let C={open:_.Vt[0],high:_.Vt[1],low:_.Vt[2],close:_.Vt[3],time:_.bb};return void 0!==_.kb&&(C.customValues=_.kb),C}function re(_){let C=ee(_);return void 0!==_.O&&(C.color=_.O),C}function he(_){let C=ee(_),{O:L,Bt:Z,$h:ea}=_;return void 0!==L&&(C.color=L),void 0!==Z&&(C.borderColor=Z),void 0!==ea&&(C.wickColor=ea),C}function le(_){return({Area:ne,Line:ie,Baseline:se,Histogram:ie,Bar:re,Candlestick:he,Custom:ae})[_]}function ae(_){let C=_.bb;return Object.assign(Object.assign({},_.He),{time:C})}let e3={vertLine:{color:"#9598A1",width:1,style:3,visible:!0,labelVisible:!0,labelBackgroun
3099dColor:"#131722"},horzLine:{color:"#9598A1",width:1,style:3,visible:!0,labelVisible:!0,labelBackgroundColor:"#131722"},mode:1},e4={vertLines:{color:"#D6DCDE",style:0,visible:!0},horzLines:{color:"#D6DCDE",style:0,visible:!0}},e8={background:{type:"solid",color:"#FFFFFF"},textColor:"#191919",fontSize:12,fontFamily:eZ},e9={autoScale:!0,mode:0,invertScale:!1,alignLabels:!0,borderVisible:!0,borderColor:"#2B2B43",entireTextOnly:!1,visible:!1,ticksVisible:!1,scaleMargins:{bottom:.1,top:.2},minimumWidth:0},e7={rightOffset:0,barSpacing:6,minBarSpacing:.5,fixLeftEdge:!1,fixRightEdge:!1,lockVisibleTimeRangeOnResize:!1,rightBarStaysOnScroll:!1,borderVisible:!0,borderColor:"#2B2B43",visible:!0,timeVisible:!1,secondsVisible:!0,shiftVisibleRangeOnNewBar:!0,allowShiftVisibleRangeOnWhitespaceReplacement:!1,ticksVisible:!1,uniformDistribution:!1,minimumHeight:0},tr={color:"rgba(0, 0, 0, 0)",visible:!1,fontSize:48,fontFamily:eZ,fontStyle:"",text:"",horzAlign:"center",vertAlign:"center"};function ve(){return{width:0,height:0,autoSize:!1,layout:e8,crosshair:e3,grid:e4,overlayPriceScales:Object.assign({},e9),leftPriceScale:Object.assign(Object.assign({},e9),{visible:!1}),rightPriceScale:Object.assign(Object.assign({},e9),{visible:!0}),timeScale:e7,watermark:tr,localization:{locale:e1?navigator.language:"",dateFormat:"dd MMM 'yy"},handleScroll:{mouseWheel:!0,pressedMouseMove:!0,horzTouchDrag:!0,vertTouchDrag:!0},handleScale:{axisPressedMouseMove:{time:!0,price:!0},axisDoubleClickReset:{time:!0,price:!0},mouseWheel:!0,pinch:!0},kineticScroll:{mouse:!1,touch:!0},trackingMode:{exitMode:1}}}let pe=class pe{constructor(_,C){this.$b=_,this.Ub=C}applyOptions(_){this.$b.qt().zc(this.Ub,_)}options(){return this.Li().W()}width(){return ut(this.Ub)?this.$b.nb(this.Ub):0}Li(){return b(this.$b.qt().Ec(this.Ub)).At}};function me(_,C,L){let Z=Ls(_,["time","originalTime"]),ea=Object.assign({time:C},Z);return void 0!==L&&(ea.originalTime=L),ea}let ta={color:"#FF0000",price:0,lineStyle:2,lineWidth:1,lineVisible:!0,axisLabelVisible:!0,title:"",axisLabelColor:"",axisLabelTextColor:""};let we=class we{constructor(_){this.Bh=_}applyOptions(_){this.Bh.Nh(_)}options(){return this.Bh.W()}qb(){return this.Bh}};let ge=class ge{constructor(_,C,L,Z,ea){this.Yb=new R,this.Es=_,this.Xb=C,this.Kb=L,this.N_=ea,this.Zb=Z}S(){this.Yb.S()}priceFormatter(){return this.Es.ca()}priceToCoordinate(_){let C=this.Es.Pt();return null===C?null:this.Es.At().Ot(_,C.Vt)}coordinateToPrice(_){let C=this.Es.Pt();return null===C?null:this.Es.At().pn(_,C.Vt)}barsInLogicalRange(_){if(null===_)return null;let C=new yn(new xn(_.from,_.to)).iu(),L=this.Es.In();if(L.Fi())return null;let Z=L.nl(C.Os(),1),ea=L.nl(C.di(),-1),es=b(L.Qh()),eo=b(L.Bn());if(null!==Z&&null!==ea&&Z.se>ea.se)return{barsBefore:_.from-es,barsAfter:eo-_.to};let el={barsBefore:null===Z||Z.se===es?_.from-es:Z.se-es,barsAfter:null===ea||ea.se===eo?eo-_.to:eo-ea.se};return null!==Z&&null!==ea&&(el.from=Z.bb,el.to=ea.bb),el}setData(_){this.N_,this.Es.Xh(),this.Xb.Gb(this.Es,_),this.Jb("full")}update(_){this.Es.Xh(),this.Xb.Qb(this.Es,_),this.Jb("update")}dataByIndex(_,C){let L=this.Es.In().nl(_,C);return null===L?null:le(this.seriesType())(L)}data(){let _=le(this.seriesType());return this.Es.In().ie().map(C=>_(C))}subscribeDataChanged(_){this.Yb.l(_)}unsubscribeDataChanged(_){this.Yb.v(_)}setMarkers(_){this.N_;let C=_.map(_=>me(_,this.N_.convertHorzItemToInternal(_.time),_.time));this.Es.Zl(C)}markers(){return this.Es.Gl().map(_=>me(_,_.originalTime,void 0))}applyOptions(_){this.Es.Nh(_)}options(){return I(this.Es.W())}priceScale(){return this.Kb.priceScale(this.Es.At().xa())}createPriceLine(_){let C=D(I(ta),_),L=this.Es.Jl(C);return new we(L)}removePriceLine(_){this.Es.Ql(_.qb())}seriesType(){return this.Es.Xh()}attachPrimitive(_){this.Es.ba(_),_.attached&&_.attached({chart:this.Zb,series:this,requestUpdate:()=>this.Es.qt().$l()})}detachPrimitive(_){this.Es.wa(_),_.detached&&_.detached()}Jb(_){this.Yb.M()&&this.Yb.m(_)}};let Me=class Me{constructor(_,C,L){this.tw=new R,this.uu=new R,this._m=new R,this.Ui=_,this.wl=_.yt(),this.$m=C,this.wl.
3099Ku().l(this.iw.bind(this)),this.wl.Zu().l(this.nw.bind(this)),this.$m.gm().l(this.sw.bind(this)),this.N_=L}S(){this.wl.Ku().p(this),this.wl.Zu().p(this),this.$m.gm().p(this),this.tw.S(),this.uu.S(),this._m.S()}scrollPosition(){return this.wl.Eu()}scrollToPosition(_,C){C?this.wl.qu(_,1e3):this.Ui.Jn(_)}scrollToRealTime(){this.wl.Uu()}getVisibleRange(){let _=this.wl.yu();return null===_?null:{from:_.from.originalTime,to:_.to.originalTime}}setVisibleRange(_){let C={from:this.N_.convertHorzItemToInternal(_.from),to:this.N_.convertHorzItemToInternal(_.to)},L=this.wl.Ru(C);this.Ui.ld(L)}getVisibleLogicalRange(){let _=this.wl.ku();return null===_?null:{from:_.Os(),to:_.di()}}setVisibleLogicalRange(_){p(_.from<=_.to,"The from index cannot be after the to index."),this.Ui.ld(_)}resetTimeScale(){this.Ui.Zn()}fitContent(){this.Ui.Qu()}logicalToCoordinate(_){let C=this.Ui.yt();return C.Fi()?null:C.Et(_)}coordinateToLogical(_){return this.wl.Fi()?null:this.wl.Vu(_)}timeToCoordinate(_){let C=this.N_.convertHorzItemToInternal(_),L=this.wl.ya(C,!1);return null===L?null:this.wl.Et(L)}coordinateToTime(_){let C=this.Ui.yt(),L=C.Vu(_),Z=C.qi(L);return null===Z?null:Z.originalTime}width(){return this.$m.$p().width}height(){return this.$m.$p().height}subscribeVisibleTimeRangeChange(_){this.tw.l(_)}unsubscribeVisibleTimeRangeChange(_){this.tw.v(_)}subscribeVisibleLogicalRangeChange(_){this.uu.l(_)}unsubscribeVisibleLogicalRangeChange(_){this.uu.v(_)}subscribeSizeChange(_){this._m.l(_)}unsubscribeSizeChange(_){this._m.v(_)}applyOptions(_){this.wl.Nh(_)}options(){return Object.assign(Object.assign({},I(this.wl.W())),{barSpacing:this.wl.he()})}iw(){this.tw.M()&&this.tw.m(this.getVisibleRange())}nw(){this.uu.M()&&this.uu.m(this.getVisibleLogicalRange())}sw(_){this._m.m(_.width,_.height)}};function Se(_){return function(_){if(B(_.handleScale)){let C=_.handleScale;_.handleScale={axisDoubleClickReset:{time:C,price:C},axisPressedMouseMove:{time:C,price:C},mouseWheel:C,pinch:C}}else if(void 0!==_.handleScale){let{axisPressedMouseMove:C,axisDoubleClickReset:L}=_.handleScale;B(C)&&(_.handleScale.axisPressedMouseMove={time:C,price:C}),B(L)&&(_.handleScale.axisDoubleClickReset={time:L,price:L})}let C=_.handleScroll;B(C)&&(_.handleScroll={horzTouchDrag:C,vertTouchDrag:C,mouseWheel:C,pressedMouseMove:C})}(_),_}let ke=class ke{constructor(_,C,L){this.ew=new Map,this.rw=new Map,this.hw=new R,this.lw=new R,this.aw=new R,this.ow=new Js(C);let Z=void 0===L?I(ve()):D(I(ve()),Se(L));this.N_=C,this.$b=new zs(_,Z,C),this.$b.Fp().l(_=>{this.hw.M()&&this.hw.m(this._w(_()))},this),this.$b.Wp().l(_=>{this.lw.M()&&this.lw.m(this._w(_()))},this),this.$b.Wc().l(_=>{this.aw.M()&&this.aw.m(this._w(_()))},this);let ea=this.$b.qt();this.uw=new Me(ea,this.$b.Zm(),this.N_)}remove(){this.$b.Fp().p(this),this.$b.Wp().p(this),this.$b.Wc().p(this),this.uw.S(),this.$b.S(),this.ew.clear(),this.rw.clear(),this.hw.S(),this.lw.S(),this.aw.S(),this.ow.S()}resize(_,C,L){this.autoSizeActive()||this.$b.qm(_,C,L)}addCustomSeries(_,C){let L=w(_),Z=Object.assign(Object.assign({},eO),L.defaultOptions());return this.cw("Custom",Z,C,L)}addAreaSeries(_){return this.cw("Area",eA,_)}addBaselineSeries(_){return this.cw("Baseline",eD,_)}addBarSeries(_){return this.cw("Bar",eM,_)}addCandlestickSeries(_={}){return void 0!==_.borderColor&&(_.borderUpColor=_.borderColor,_.borderDownColor=_.borderColor),void 0!==_.wickColor&&(_.wickUpColor=_.wickColor,_.wickDownColor=_.wickColor),this.cw("Candlestick",eE,_)}addHistogramSeries(_){return this.cw("Histogram",eI,_)}addLineSeries(_){return this.cw("Line",ej,_)}removeSeries(_){let C=m(this.ew.get(_)),L=this.ow.hd(C);this.$b.qt().hd(C),this.dw(L),this.ew.delete(_),this.rw.delete(C)}Gb(_,C){this.dw(this.ow.Ab(_,C))}Qb(_,C){this.dw(this.ow.Eb(_,C))}subscribeClick(_){this.hw.l(_)}unsubscribeClick(_){this.hw.v(_)}subscribeCrosshairMove(_){this.aw.l(_)}unsubscribeCrosshairMove(_){this.aw.v(_)}subscribeDblClick(_){this.lw.l(_)}unsubscribeDblClick(_){this.lw.v(_)}priceScale(_){return new pe(this.$b,_)}timeScale(){return this.uw}applyOptions(_){this.$b.Nh(Se(_))}options(){return this.$b.W()}takeScreenshot(){return this.$b.tb()}autoSizeActive(){return this.$b.rb()}chartElement(){return this.$b.hb()}paneSize(){let _=this.$b.ab();return{height:_.height,width:_.width}}setCrosshairPosition(_,C,L){let Z=this.ew.get(L);if(void 0===Z)return;let ea=this.$b.qt().cr(Z);null!==ea&&this.$b.qt().Qc(_,C,ea)}clearCrosshairPosition(){this.$b.qt().td(!0)}cw(_,C,L={},Z){var ea;void 0!==(ea=L.priceFormat)&&"custom"!==ea.type&&void 0!==ea.minMove&&void 0===ea.precision&&(ea.precision=function(_){if(_>=1)return 0;let C=0;for(;C<8;C++){let C=Math.round(_);if(1e-8>Math.abs(C-_))break;_*=10}return C}(ea.minMove));let es=D(I(eP),I(C),L),eo=this.$b.qt().ed(_,es,Z),el=new ge(eo,this,this,this,this.N_);return this.ew.set(el,eo),this.rw.set(eo,el),el}dw(_){let C=this.$b.qt();C.nd(_.yt.Au,_.yt.jb,_.yt.Hb),_.Fb.forEach((_,C)=>C.it(_.He,_.Wb)),C.Iu()}fw(_){return m(this.rw.get(_))}_w(_){let C=new Map;_.Mb.forEach((_,L)=>{let Z=L.Xh(),ea=le(Z)(_);if("Custom"!==Z)p(void 0!==ea.open||void 0!==ea.value);else{let _=L.Ma();p(!_||!1===_(ea))}C.set(this.fw(L),ea)});let L=void 0===_.gb?void 0:this.fw(_.gb);return{time:_.bb,logical:_.se,point:_.wb,hoveredSeries:L,hoveredObjectId:_.xb,seriesData:C,sourceEvent:_.Sb}}};function Ce(_,C){return function(_,C,L){let Z;if(V(_)){let C=document.getElementById(_);p(null!==C,`Cannot find element in DOM with id=${_}`),Z=C}else Z=_;let ea=new ke(Z,C,L);return C.setOptions(ea.options()),ea}(_,new ts,ts.Td(C))}Object.assign(Object.assign({},eP),eO)},14146:function(_,C,L){"use strict";L.d(C,{Gh:function(){return el},WZ:function(){return eo},qk:function(){return es}});var Z,ea=L(11189),es=[{inputs:[{internalType:"address",name:"_token",type:"address"},{internalType:"address",name:"_votingEscrow",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!1,internalType:"string",name:"name",type:"string"},{indexed:!1,internalType:"uint256",name:"type_id",type:"uint256"}],name:"AddType",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"bytes32",name:"hash",type:"bytes32"},{indexed:!1,internalType:"uint256",name:"gauge_type",type:"uint256"},{indexed:!1,internalType:"uint256",name:"weight",type:"uint256"},{indexed:!1,internalType:"uint256",name:"pid",type:"uint256"},{indexed:!1,internalType:"address",name:"masterChef",type:"address"},{indexed:!1,internalType:"uint256",name:"chainId",type:"uint256"},{indexed:!1,internalType:"uint256",name:"boostMultiplier",type:"uint256"},{indexed:!1,internalType:"uint256",name:"maxVoteCap",type:"uint256"}],name:"NewGauge",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"bytes32",name:"hash",type:"bytes32"},{indexed:!1,internalType:"uint256",name:"time",type:"uint256"},{indexed:!1,internalType:"uint256",name:"weight",type:"uint256"},{indexed:!1,internalType:"uint256",name:"total_weight",type:"uint256"}],name:"NewGaugeWeight",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"type_id",type:"uint256"},{indexed:!1,internalType:"uint256",name:"time",type:"uint256"},{indexed:!1,internalType:"uint256",name:"weight",type:"uint256"},{indexed:!1,internalType:"uint256",name:"total_weight",type:"uint256"}],name:"NewTypeWeight",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"account",type:"address"}],name:"Paused",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"account",type:"address"}],name:"Unpaused",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"bytes32",name:"hash",type:"bytes32"},{indexed:!1,internalType:"uint256",name:"pid",type:"uint256"},{indexed:!1,internalType:"address",name:"masterChef",type:"address"},{indexed:!1,internalType:"uint256",name:"chainId",type:"uint256"},{indexed:!1,internalType:"uint256",name:"boostMultiplier",type:"uint256"},{indexed:!1,internalType:"uint256",name:"maxVoteCap",type:"uint256"}],name:"UpdateGaugeInfo",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"time",type:"uint256"},{indexed:!1,internalType:"address",name:"user",type:"address"},{indexed:!1,internalType:"bytes32",name:"hash",type:"bytes32"},{indexed:!1,internalType:"uint256",name:"weight",type:"uint256"}],name:"VoteForGauge",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"time",type:"uint256"},{indexed:!1,internalType:"address",name:"user",type:"address"},{indexed:!1,internalType:"bytes32",name:"hash",type:"bytes32"},{indexed:!1,internalType:"uint256",name:"weight",type:"uint256"}],name:"VoteForGaugeFromAdmin",type:"event"},{inputs:[{internalType:"address",name:"gauge_addr",type:"address"},{internalType:"uint256",name:"_type",type:"uint256"},{internalType:"uint256",name:"_weight",type:"uint256"},{internalType:"uint256",name:"_pid",type:"uint256"},{internalType:"address",name:"_masterChef",type:"address"},{internalType:"uint256",name:"_chainId",type:"uint256"},{internalType:"uint256",name:"_boostMultiplier",type:"uint256"},{internalType:"uint256",name:"_maxVoteCap",type:"uint256"}],name:"addGauge",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"},{internalType:"uint256",name:"_weight",type:"uint256"}],name:"addType",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"gauge_addr",type:"address"},{internalType:"uint256",name:"weight",type:"uint256"},{internalType:"uint256",name:"_chainId",type:"uint256"}],name:"changeGaugeWeight",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"type_id",type:"uint256"},{internalType:"uint256",name:"weight",type:"uint256"}],name:"changeTypeWeight",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"checkpoint",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"gauge_addr",type:"address"},{internalType:"uint256",name:"_chainId",type:"uint256"}],name:"checkpointGauge",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"},{internalType:"uint256",name:"",type:"uint256"}],name:"gaugeChangesWeight",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"gaugeCount",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"gaugeIndex_",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"gaugeLastScheduled",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"",type:"uint256"}],name:"gaugePointsTotal",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"},{internalType:"uint256",name:"",type:"uint256"}],name:"gaugePointsWeight",outputs:[{internalType:"uint256",name:"bias",type:"uint256"},{internalType:"uint256",name:"slope",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"gauge_addr",type:"address"},{internalType:"uint256",name:"time",type:"uint256"},{internalType:"uint256",name:"_chainId",type:"uint256"}],name:"gaugeRelativeWeight",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"gauge_addr",type:"address"},{internalType:"uint256",name:"time",type:"uint256"},{internalType:"uint256",name:"_chainId",type:"uint256"}],name:"gaugeRelativeWeight_write",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"",type:"uint256"},{internalType:"uint256",name:"",type:"uint256"}],name:"gaugeTypeChangesSum",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"",type:"uint256"}],name:"gaugeTypeLastScheduled",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"",type:"uint256"}],name:"gaugeTypeNames",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"",type:"uint256"},{internalType:"uint256",name:"",type:"uint256"}],name:"gaugeTypePointsSum",outputs:[{internalType:"uint256",name:"bias",type:"uint256"},{internalType:"uint256",name:"slope",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"",type:"uint256"},{internalType:"uint256",name:"",type:"uint256"}],name:"gaugeTypePointsWeight",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"",type:"uint256"}],name:"gaugeTypeSumLastScheduled",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"gaugeTypes",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"gaugeTypes_",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"",type:"uint256"}],name:"gauges",outputs:[{internalType:"uint256",name:"pid",type:"uint256"},{internalType:"address",name:"masterChef",type:"address"},{internalType:"uint256",name:"chainId",type:"uint256"},{internalType:"address",name:"pairAddress",type:"address"},{internalType:"uint256",name:"boostMultiplier",type:"uint256"},{internalType:"uint256",name:"maxVoteCap",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"gauge_addr",type:"address"},{internalType:"uint256",name:"_chainId",type:"uint256"},{internalType:"bool",name:"inCap",type:"bool"}],name:"getGaugeWeight",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bool",name:"inCap",type:"bool"}],name:"getTotalWeight",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_typeId",type:"uint256"},{internalType:"uint256",name:"_chainId",type:"uint256"}],name:"getTypeAndChainIdWeightCapped",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_typeId",type:"uint256"}],name:"getWeightsSumPerType",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"},{internalType:"bytes32",name:"",type:"bytes32"}],name:"lastUserVote",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"token",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalLastScheduled",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"gauge_addr",type:"address"},{internalType:"uint256",name:"_pid",type:"uint256"},{internalType:"address",name:"_masterChef",type:"address"},{internalType:"uint256",name:"_chainId",type:"uint256"},{internalType:"uint256",name:"_boostMultiplier",type:"uint256"},{internalTyp
3099e:"uint256",name:"_maxVoteCap",type:"uint256"}],name:"updateGaugeInfo",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_gauge_addr",type:"address"},{internalType:"uint256",name:"_user_weight",type:"uint256"},{internalType:"uint256",name:"_chainId",type:"uint256"},{internalType:"bool",name:"_skipNative",type:"bool"},{internalType:"bool",name:"_skipProxy",type:"bool"}],name:"voteForGaugeWeights",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address[]",name:"_gauge_addrs",type:"address[]"},{internalType:"uint256[]",name:"_user_weights",type:"uint256[]"},{internalType:"uint256[]",name:"_chainIds",type:"uint256[]"},{internalType:"bool",name:"_skipNative",type:"bool"},{internalType:"bool",name:"_skipProxy",type:"bool"}],name:"voteForGaugeWeightsBulk",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_gauge_addr",type:"address"},{internalType:"uint256",name:"_admin_weight",type:"uint256"},{internalType:"uint256",name:"_end",type:"uint256"},{internalType:"uint256",name:"_chainId",type:"uint256"}],name:"voteFromAdmin",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"voteUserPower",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"},{internalType:"bytes32",name:"",type:"bytes32"}],name:"voteUserSlopes",outputs:[{internalType:"uint256",name:"slope",type:"uint256"},{internalType:"uint256",name:"power",type:"uint256"},{internalType:"uint256",name:"end",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"votingEscrow",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],eo={[ea.a_.MODE_MAINNET]:"0xf81953dC234cdEf1D6D0d3ef61b232C6bCbF9aeF",[ea.a_.MODE_TESTNET]:"0x357b01894b21787B41A8FA4DCaFE92293470FaD9"},el={[ea.a_.MODE_MAINNET]:"0x94F8cBa8712B3E72C9BF8Ba4d6619Ac9046FE695",[ea.a_.MODE_TESTNET]:"0x88B02E6238fa6279281eeA600CBfcAd5dd3597A5"};ea.a_.MODE_MAINNET,ea.a_.MODE_TESTNET;var eu=((Z=eu||{})[Z.StableSwap=-1]="StableSwap",Z[Z.V2=0]="V2",Z[Z.V3=1]="V3",Z[Z.ALM=2]="ALM",Z[Z.VeCakePool=3]="VeCakePool",Z[Z.Aptos=4]="Aptos",Z)},53337:function(_,C,L){"use strict";L.d(C,{A0:function(){return e_},FQ:function(){return em},Ft:function(){return getBoostedPoolApr},Lu:function(){return eE},Nk:function(){return checkIsBoostedPool},VO:function(){return ey},WA:function(){return getPoolContractBySousId},by:function(){return eg},dO:function(){return eS},kc:function(){return getBoostedPoolConfig},kp:function(){return ev},om:function(){return eh},sd:function(){return eC},xt:function(){return ex},yc:function(){return getPoolsConfig}});var Z,ea,es=L(11189),eo=L(42166),el=L(86004),eu=L(72986),ec=L(97269);L(21061),L(11286),L(90292);var ed=((Z=ed||{}).COMMUNITY="Community",Z.CORE="Core",Z.BINANCE="Binance",Z.AUTO="Auto",Z),eh=((ea=eh||{}).CakeVaultV1="cakeVaultV1",ea.CakeVault="cakeVault",ea.CakeFlexibleSideVault="cakeFlexibleSideVault",ea.IfoPool="ifoPool",ea),ep=[...[{sousId:9,stakingToken:eo.ethereumTokens.cake,earningToken:eo.ethereumTokens.rpl,contractAddress:"0x3B30A93D056e9A1156D0f17CBd05B711c4232C84",poolCategory:"Core",tokenPerSecond:"0.0006045"},{sousId:8,stakingToken:eo.ethereumTokens.cake,earningToken:eo.ethereumTokens.wstETH,contractAddress:"0x3C6452d5a217Cc65b98F0803c6D1BD7Fe588389A",poolCategory:"Core",tokenPerSecond:"0.00000271"},{sousId:7,stakingToken:eo.ethereumTokens.cake,earningToken:eo.ethereumTokens.rpl,contractAddress:"0x3df19692a70fc55Ec8BfE1C9593E584D8F69c510",poolCategory:"Core",tokenPerSecond:"0.0005623"},{sousId:6,stakingToken:eo.ethereumTokens.cake,earningToken:eo.ethereumTokens.rpl,contractAddress:"0x3f0bCCa8f5aA37e184B22e3A2ca8C292fe6B716B",poolCategory:"Core",tokenPerSecond:"0.0005093"},{sousId:5,stakingToken:eo.ethereumTokens.cake,earningToken:eo.ethereumTokens.rpl,contractAddress:"0x0A150c0AbbbD852ec8940AeE67A1aB59d9Fe76d1",poolCategory:"Core",tokenPerSecond:"0.000331"},{sousId:1,stakingToken:eo.ethereumTokens.cake,earningToken:eo.ethereumTokens.wncg,contractAddress:"0x5eC855219e236b75E7cfba0D56105b9Cc88B4A18",poolCategory:"Core",tokenPerSecond:"0.04061"},{sousId:4,stakingToken:eo.ethereumTokens.cake,earningToken:eo.ethereumTokens.rpl,contractAddress:"0xd7136B50E641CfFf9D0aeB5c4617c779A80F0c8b",poolCategory:"Core",tokenPerSecond:"0.000282"},{sousId:3,stakingToken:eo.ethereumTokens.cake,earningToken:eo.ethereumTokens.alcx,contractAddress:"0x5A8C87047c290dD8A2e1a1a2D2341Da41d1Aa009",poolCategory:"Core",tokenPerSecond:"0.0002989"},{sousId:2,stakingToken:eo.ethereumTokens.cake,earningToken:eo.ethereumTokens.ush,contractAddress:"0x3Bb1CCa68756a7E0ffEBf59d52
3099174784047f3dE8",poolCategory:"Core",tokenPerSecond:"0.04629"}].map(_=>({..._,isFinished:!0,contractAddress:(0,el.K)(_.contractAddress),stakingToken:_.stakingToken.serialize,earningToken:_.earningToken.serialize}))],ef=[...[].map(_=>({..._,contractAddress:(0,el.K)(_.contractAddress),stakingToken:_.stakingToken.serialize,earningToken:_.earningToken.serialize})),...[].map(_=>({..._,isFinished:!0,contractAddress:(0,el.K)(_.contractAddress),stakingToken:_.stakingToken.serialize,earningToken:_.earningToken.serialize}))],em=[es.a_.MODE_MAINNET,es.a_.MODE_TESTNET],eb={[es.a_.MODE_MAINNET]:ep,[es.a_.MODE_TESTNET]:ef};es.a_.MODE_MAINNET,es.a_.MODE_TESTNET;var getPoolsConfig=_=>{if(em.includes(_))return eb[_]},ey=31536e3,eg=604800,ev=604800,ex=20000000000000n,e_=31536000n,ew={},getBoostedPoolsConfig=_=>ew[_],getBoostedPoolConfig=(_,C)=>{let L=getBoostedPoolsConfig(_);return null==L?void 0:L.find(_=>{var L;return(null==_?void 0:null===(L=_.contractAddress)||void 0===L?void 0:L.toLowerCase())===C.toLowerCase()})};es.a_.MODE_MAINNET,es.a_.MODE_TESTNET;var eC={[es.a_.MODE_MAINNET]:"0x45c54210128a065de780C4B0Df3d16664f7f859e",[es.a_.MODE_TESTNET]:"0x1088Fb24053F03802F673b84d16AE1A7023E400b"};es.a_.MODE_MAINNET,es.a_.MODE_TESTNET,new ec.Z(0),new ec.Z(1),new ec.Z(2),new ec.Z(9),new ec.Z(10),new ec.Z(100);var eT=[{inputs:[],name:"PRECISION_FACTOR",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"accTokenPerShare",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"bonusEndBlock",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_amount",type:"uint256"}],name:"deposit",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_amount",type:"uint256"}],name:"emergencyRewardWithdraw",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"emergencyWithdraw",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"hasUserLimit",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"lastRewardBlock",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"numberBlocksForUserLimit",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"}],name:"pendingReward",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"poolLimitPerUser",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_tokenAddress",type:"address"},{internalType:"uint256",name:"_tokenAmount",type:"uint256"}],name:"recoverWrongTokens",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"rewardPerBlock",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"rewardToken",outputs:[{internalType:"contract IBEP20",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"stakedToken",outputs:[{internalType:"contract IBEP20",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"startBlock",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"stopReward",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bool",name:"_hasUserLimit",type:"bool"},{internalType:"uint256",name:"_poolLimitPerUser",type:"uint256"}],name:"updatePoolLimitPerUser",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_rewardPerBlock",type:"uint256"}],name:"updateRewardPerBlock",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_startBlock",type:"uint256"},{internalType:"uint256",name:"_bonusEndBlock",type:"uint256"}],name:"updateStartAndEndBlocks",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"userInfo",outputs:[{internalType:"uint256",name:"amount",type:"uint256"},{internalType:"uint256",name:"rewardDebt",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_amount",type:"uint256"}],name:"withdraw",outputs:[],stateMutability:"nonpayable",type:"function"}],eq=[{inputs:[{internalType:"address",name:"_pancakeProfile",type:"address"},{internalType:"bool",name:"_pancakeProfileIsRequested",type:"bool"},{internalType:"uint256",name:"_pancakeProfileThresholdPoints",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"user",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"}],name:"Deposit",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"user",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"}],name:"EmergencyWithdraw",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"poolLimitPerUser",type:"uint256"}],name:"NewPoolLimit",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"rewardPerSecond",type:"uint256"}],name:"NewRewardPerSecond",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"startTimestamp",type:"uint256"},{indexed:!1,internalType:"uint256",name:"endTimestamp",type:"uint256"}],name:"NewStartAndEndTimestamp",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"blockNumber",type:"uint256"}],name:"RewardsStop",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"token",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"}],name:"TokenRecovery",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"bool",name:"isProfileRequested",type:"bool"},{indexed:!1,internalType:"uint256",name:"thresholdPoints",type:"uint256"}],name:"UpdateProfileAndThresholdPointsRequirement",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"user",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"}],name:"Withdraw",type:"event"},{inputs:[],name:"PRECISION_FACTOR",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"SMART_CHEF_FACTORY",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"accTokenPerShare",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_amount",type:"uint256"}],name:"deposit",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_amount",type:"uint256"}],name:"emergencyRewardWithdraw",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"emergencyWithdraw",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"endTimestamp",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"hasUserLimit",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"contract IERC20Metadata",name:"_stakedToken",type:"address"},{internalType:"contract IERC20Metadata",name:"_rewardToken",type:"address"},{internalType:"uint256",name:"_rewardPerSecond",type:"uint256"},{internalType:"uint256",name:"_startTimestamp",type:"uint256"},{internalType:"uint256",name:"_endTimestamp",type:"uint256"},{internalType:"uint256",name:"_poolLimitPerUser",type:"uint256"},{internalType:"uint256",name:"_numberSecondsForUserLimit",type:"uint256"},{internalType:"address",name:"_admin",type:"address"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"isInitialized",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"lastRewardTimestamp",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"numberSecondsForUserLimit",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"pancakeProfile",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"pancakeProfileIsRequested",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"pancakeProfileThresholdPoints",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"}],name:"pendingReward",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"poolLimitPerUser",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_token",type:"address"}],name:"recoverToken",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"rewardPerSecond",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"rewardToken",outputs:[{internalType:"contract IERC20Metadata",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"stakedToken",outputs:[{internalType:"contract IERC20Metadata",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"startTimestamp",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"stopReward",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bool",name:"_userLimit",type:"bool"},{internalType:"uint256",name:"_poolLimitPerUser",type:"uint256"}],name:"updatePoolLimitPerUser",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bool",name:"_isRequested",type:"bool"},{internalType:"uint256",name:"_thresholdPoints",type:"uint256"}],name:"updateProfileAndThresholdPointsRequirement",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_rewardPerSecond",type:"uint256"}],name:"updateRewardPerSecond",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_startTimestamp",type:"uint256"},{internalType:"uint256",name:"_endTimestamp",type:"uint256"}],name:"updateStartAndEndTimestamp",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"userInfo",outputs:[{internalType:"uint256",name:"amount",type:"uint256"},{internalType:"uint256",name:"rewardDebt",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"userLimit",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_amount",type:"uint256"}],name:"withdraw",outputs:[],stateMutability:"nonpayable",type:"function"}],ek=[{inputs:[],name:"WBNB",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"adminAddress",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"bonusEndBlock",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"deposit",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"uint256",name:"_amount",type:"uint256"}],name:"emergencyRewardWithdraw",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"emergencyWithdraw",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_from",type:"uint256"},{internalType:"uint256",name:"_to",type:"uint256"}],name:"getMultiplier",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"limitAmount",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"massUpdatePools",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"}],name:"pendingReward",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"",type:"uint256"}],name:"poolInfo",outputs:[{internalType:"contract IBEP20",name:"lpToken",type:"address"},{internalType:"uint256",name:"allocPoint",type:"uint256"},{internalType:"uint256",name:"lastRewardBlock",type:"uint256"},{internalType:"uint256",name:"accCakePerShare",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_blacklistAddress",type:"address"}],name:"removeBlackList",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"rewardPerBlock",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"rewardToken",outputs:[{internalType:"contract IBEP20",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_adminAddress",type:"address"}],name:"setAdmin",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_blacklistAddress",type:"address"}],name:"setBlackList",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_amount",type:"uint256"}],name:"setLimitAmount",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"startBlock",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalAllocPoint",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_pid",type:"uint256"}],name:"updatePool",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"userInfo",outputs:[{internalType:"uint256",name:"amount",type:"uint256"},{internalType:"uint256",name:"rewardDebt",type:"uint256"},{internalType:"bool",name:"inBlackList",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_amount",type:"uint256"}],name:"withdraw",outputs:[],stateMutability:"nonpayable",type:"function"},{stateMutability:"payable",type:"receive"}];function getPoolContractBySousId(_){let{chainId:C,sousId:L,signer:Z,publicClient:ea}=_;if(!C)return null;let es=getPoolsConfig(C),eo=null==es?void 0:es.find(_=>_.sousId===Number(L));if(!eo)return null;let{contractAddress:el}=eo;return eo.tokenPerBlock?"Binance"===eo.poolCategory?function(_){let{addres
3099s:C,signer:L,publicClient:Z}=_;return{...(0,eu.uN)({abi:ek,address:C,walletClient:L,publicClient:Z}),abi:ek,address:C,account:null==L?void 0:L.account,chain:null==L?void 0:L.chain}}({address:el,signer:Z,publicClient:ea}):function(_){let{address:C,signer:L,publicClient:Z}=_;return{...(0,eu.uN)({abi:eT,address:C,walletClient:L,publicClient:Z}),abi:eT,address:C,account:null==L?void 0:L.account,chain:null==L?void 0:L.chain}}({address:el,signer:Z,publicClient:ea}):function(_){let{address:C,signer:L,publicClient:Z}=_;return{...(0,eu.uN)({abi:eq,address:C,walletClient:L,publicClient:Z}),abi:eq,address:C,account:null==L?void 0:L.account,chain:null==L?void 0:L.chain}}({address:el,signer:Z,publicClient:ea})}var checkIsBoostedPool=(_,C)=>{let L=getBoostedPoolsConfig(C),Z=null==L?void 0:L.find(C=>{var L;return(null==C?void 0:null===(L=C.contractAddress)||void 0===L?void 0:L.toLowerCase())===_.toLowerCase()});return void 0!==Z},fetchAlpBoostedPoolApr=async _=>{try{let[C]=await _.multicall({contracts:[{abi:[{inputs:[],name:"totalValue",outputs:[{components:[{internalType:"address",name:"tokenAddress",type:"address"},{internalType:"int256",name:"value",type:"int256"},{internalType:"uint8",name:"decimals",type:"uint8"},{internalType:"int256",name:"valueUsd",type:"int256"},{internalType:"uint16",name:"targetWeight",type:"uint16"},{internalType:"uint16",name:"feeBasisPoints",type:"uint16"},{internalType:"uint16",name:"taxBasisPoints",type:"uint16"},{internalType:"bool",name:"dynamicFee",type:"bool"}],internalType:"struct IVault.LpItem[]",name:"lpItems",type:"tuple[]"}],stateMutability:"view",type:"function"}],address:"0xB3879E95a4B8e3eE570c232B19d520821F540E48",functionName:"totalValue"}],allowFailure:!1}),L=C.map(_=>new ec.Z(_.valueUsd.toString()).div(1e18).toNumber()).reduce((_,C)=>_+C,0),Z=await fetch("https://perp.pancakeswap.finance/bapi/futures/v1/public/future/apx/fee/info?chain=ARB"),ea=await Z.json(),{alpFundingFee:es,alpTradingFee:eo,alpLipFee:el}=ea.data,eu=new ec.Z(es).plus(eo).plus(el),ed=eu.div(L.toString()).div(7),eh=ed.plus(1).exponentiatedBy(365).minus(1).times(100);return eh.toNumber()}catch(_){return console.info("Fetch ALP boosted fee error: ",_),0}},getBoostedPoolApr=async _=>{let{client:C,contractAddress:L,chainId:Z}=_,ea=Z&&getBoostedPoolConfig(Z,L);if(!L||!Z||!ea)return 0;if((null==ea?void 0:ea.boosterType)===0){let _=await fetchAlpBoostedPoolApr(C);return _}return 0},getPoolsFactory=_=>C=>{let L=getPoolsConfig(C);if(!L)throw Error(`Unable to get pools config on chain ${C}`);return L.filter(_)};getPoolsFactory(_=>"BNB"!==_.stakingToken.symbol),getPoolsFactory(_=>"BNB"===_.stakingToken.symbol),getPoolsFactory(_=>0!==_.sousId);var eS=[{inputs:[],name:"BOOST_WEIGHT",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"BOOST_WEIGHT_LIMIT",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"DURATION_FACTOR",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"DURATION_FACTOR_OVERDUE",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"MAX_CALL_FEE",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"MAX_LOCK_DURATION",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"MAX_LOCK_DURATION_LIMIT",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"MAX_PERFORMANCE_FEE",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"MAX_WITHDRAW_FEE",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"MAX_WITHDRAW_FEE_PERIOD",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"MIN_DEPOSIT_AMOUNT",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"MIN_LOCK_DURATION",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"MIN_WITHDRAW_AMOUNT",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"PRECISION_FACTOR",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"PRECISION_FACTOR_SHARE",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"UNLOCK_FREE_DURATION",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"admin",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"available",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"boostContract",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"cakePoolPID",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"}],name:"calculateOverdueFee",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"}],name:"calculatePerformanceFee",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"calculateTotalPendingCakeRewards",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"},{internalType:"uint256",name:"_shares",type:"uint256"}],name:"calculateWithdrawFee",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint256",name:"_lockDuration",type:"uint256"}],name:"deposit",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"freeFeeUsers",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"getPricePerFullShare",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_token",type:"address"}],name:"inCaseTokensGetStuck",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"contract IERC20",name:"dummyToken",type:"address"}],name:"init",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"lastHarvestedTime",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"masterchefV2",outputs:[{internalType:"contract IMasterChefV2",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"operator",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"overdueFee",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"pause",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"performanceFee",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"performanceFeeContract",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_admin",type:"address"}],name:"setAdmin",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_boostContract",type:"address"}],name:"setBoostContract",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_boostWeight",type:"uint256"}],name:"setBoostWeight",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_durationFactor",type:"uint256"}],name:"setDurationFactor",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_durationFactorOverdue",type:"uint256"}],name:"setDurationFactorOverdue",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"},{internalType:"bool",name:"_free",type:"bool"}],name:"setFreeFeeUser",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_maxLockDuration",type:"uint256"}],name:"setMaxLockDuration",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_operator",type:"address"}],name:"setOperator",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_performanceFee",type:"uint256"}],name:"setPerformanceFee",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_performanceFeeContract",type:"uint256"}],name:"setPerformanceFeeContract",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_treasury",type:"address"}],name:"setTreasury",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_unlockFreeDuration",type:"uint256"}],name:"setUnlockFreeDuration",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_withdrawFee",type:"uint256"}],name:"setWithdrawFee",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_withdrawFeeContract",type:"uint256"}],name:"setWithdrawFeeContract",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_withdrawFeePeriod",type:"uint256"}],name:"setWithdrawFeePeriod",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"token",outputs:[{internalType:"contract IERC20",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalBoostDebt",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalLockedAmount",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalShares",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"treasury",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_user",type:"address"}],name:"unlock",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"unpause",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"userInfo",outputs:[{internalType:"uint256",name:"shares",type:"uint256"},{internalType:"uint256",name:"lastDepositedTime",type:"uint256"},{internalType:"uint256",name:"cakeAtLastUserAction",type:"uint256"},{internalType:"uint256",name:"lastUserActionTime",type:"uint256"},{internalType:"uint256",name:"lockStartTime",type:"uint256"},{internalType:"uint256",name:"lockEndTime",type:"uint256"},{internalType:"uint256",name:"userBoostedShare",type:"uint256"},{internalType:"bool",name:"locked",type:"bool"},{internalType:"uint256",name:"lockedAmount",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_shares",type:"uint256"}],name:"withdraw",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"withdrawAll",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_amount",type:"uint256"}],name:"withdrawByAmount",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"withdrawFee",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"withdrawFeeContract",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"withdrawFeePeriod",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"}],eE=[{inputs:[],name:"MAX_PERFORMANCE_FEE",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"MAX_WITHDRAW_AMOUNT_BOOSTER",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"MAX_WITHDRAW_FEE",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"MAX_WITHDRAW_FEE_PERIOD",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"MIN_DEPOSIT_AMOUNT",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"MIN_WITHDRAW_AMOUNT",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"MIN_WITHDRAW_AMOUNT_BOOSTER",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"admin",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"available",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"cakePool",outputs:[{internalType:"contract ICakePool",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_amount",type:"uint256"}],name:"deposit",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"emergencyWithdraw",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"getPricePerFullShare",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_token",type:"address"}],name:"inCaseTokensGetStuck",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"pause",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"performanceFee",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_admin",type:"address"}],name:"setAdmin",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_performanceFee",type:"uint256"}],name:"setPerformanceFee",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_treasury",type:"address"}],name:"setTreasury",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_withdrawAmountBooster",type:"uint256"}],name:"setWithdrawAmountBooster",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_withdrawFee",type:"uint256"}],name:"setWithdrawFee",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{in
3099ternalType:"uint256",name:"_withdrawFeePeriod",type:"uint256"}],name:"setWithdrawFeePeriod",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"staking",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"token",outputs:[{internalType:"contract IERC20",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalShares",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"treasury",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"unpause",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"userInfo",outputs:[{internalType:"uint256",name:"shares",type:"uint256"},{internalType:"uint256",name:"lastDepositedTime",type:"uint256"},{internalType:"uint256",name:"cakeAtLastUserAction",type:"uint256"},{internalType:"uint256",name:"lastUserActionTime",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_shares",type:"uint256"}],name:"withdraw",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"withdrawAll",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"withdrawAmountBooster",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"withdrawFee",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"withdrawFeePeriod",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"}]},25756:function(_,C,L){"use strict";L.d(C,{Cr:function(){return __async},EZ:function(){return __spreadProps},Ko:function(){return __privateAdd},ac:function(){return __privateGet},ih:function(){return __spreadValues},qx:function(){return __privateSet}});var Z=Object.defineProperty,ea=Object.defineProperties,es=Object.getOwnPropertyDescriptors,eo=Object.getOwnPropertySymbols,el=Object.prototype.hasOwnProperty,eu=Object.prototype.propertyIsEnumerable,__defNormalProp=(_,C,L)=>C in _?Z(_,C,{enumerable:!0,configurable:!0,writable:!0,value:L}):_[C]=L,__spreadValues=(_,C)=>{for(var L in C||(C={}))el.call(C,L)&&__defNormalProp(_,L,C[L]);if(eo)for(var L of eo(C))eu.call(C,L)&&__defNormalProp(_,L,C[L]);return _},__spreadProps=(_,C)=>ea(_,es(C)),__accessCheck=(_,C,L)=>{if(!C.has(_))throw TypeError("Cannot "+L)},__privateGet=(_,C,L)=>(__accessCheck(_,C,"read from private field"),L?L.call(_):C.get(_)),__privateAdd=(_,C,L)=>{if(C.has(_))throw TypeError("Cannot add the same private member more than once");C instanceof WeakSet?C.add(_):C.set(_,L)},__privateSet=(_,C,L,Z)=>(__accessCheck(_,C,"write to private field"),Z?Z.call(_,L):C.set(_,L),L),__async=(_,C,L)=>new Promise((Z,ea)=>{var fulfilled=_=>{try{step(L.next(_))}catch(_){ea(_)}},rejected=_=>{try{step(L.throw(_))}catch(_){ea(_)}},step=_=>_.done?Z(_.value):Promise.resolve(_.value).then(fulfilled,rejected);step((L=L.apply(_,C)).next())})},30813:function(_,C,L){"use strict";L.d(C,{A:function(){return eu},Q:function(){return getTrustWalletProvider}});var Z=L(25756),ea=L(91038),es=L(74348),eo=L(95438),el=L(86004);function getTrustWalletProvider(){var _;let isTrustWallet=_=>{let C=!!_.isTrust;return C},C=void 0!==window.ethereum;return C?isTrustWallet(window.ethereum)?window.ethereum:(null==(_=window.ethereum)?void 0:_.providers)?window.ethereum.providers.find(isTrustWallet):window.trustwallet:void 0}var eu=class extends es._{handleFailedConnect(_){if(this.isUserRejectedRequestError(_))throw new eo.ab(_);if(-32002===_.code)throw new eo.pT(_);throw _}connect(){return(0,Z.Cr)(this,arguments,function*(){var _,C,L,Z;let{chainId:es}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{let eu=yield this.getProvider();if(!eu)throw new ea.N;eu.on&&(eu.on("accountsChanged",this.onAccountsChanged),eu.on("chainChanged",this.onChainChanged),eu.on("disconnect",this.onDisconnect)),this.emit
3099("message",{type:"connecting"});let ec=null;if((null==(_=this.options)?void 0:_.shimDisconnect)&&!(null==(C=this.storage)?void 0:C.getItem(this.shimDisconnectKey))){ec=yield this.getAccount().catch(()=>null);let _=!!ec;if(_)try{yield eu.request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]}),ec=yield this.getAccount()}catch(_){if(this.isUserRejectedRequestError(_))throw new eo.ab(_)}}if(!ec){let _=yield eu.request({method:"eth_requestAccounts"});ec=(0,el.K)(_[0])}let ed=yield this.getChainId(),eh=this.isChainUnsupported(ed);if(es&&ed!==es){let _=yield this.switchChain(es);ed=_.id,eh=this.isChainUnsupported(ed)}return(null==(L=this.options)?void 0:L.shimDisconnect)&&(null==(Z=this.storage)||Z.setItem(this.shimDisconnectKey,!0)),{account:ec,chain:{id:ed,unsupported:eh},provider:eu}}catch(_){this.handleFailedConnect(_)}})}getProvider(){return(0,Z.Cr)(this,null,function*(){return getTrustWalletProvider()})}constructor({chains:_,options:C}={}){var L,Z;let ea={name:"Trust Wallet",shimDisconnect:null!=(L=null==C?void 0:C.shimDisconnect)&&L,shimChainChangedDisconnect:null==(Z=null==C?void 0:C.shimChainChangedDisconnect)||Z};super({chains:_,options:ea}),this.id="trustWallet"}}},65969:function(_,C,L){"use strict";L.d(C,{G:function(){return useWeb3React}}),L(25756);var Z=L(29517);function useWeb3React(){let{chain:_}=(0,Z.LN)(),{address:C,connector:L,isConnected:ea,isConnecting:es}=(0,Z.mA)();return{chainId:null==_?void 0:_.id,account:ea?C:null,isConnected:ea,isConnecting:es,chain:_,connector:L}}L(52983)},66759:function(_,C,L){"use strict";L.d(C,{$l:function(){return es},BN:function(){return internalMutate},DY:function(){return eu},J$:function(){return SWRConfig},JN:function(){return createCacheHelper},LI:function(){return e_},PM:function(){return mergeObjects},W6:function(){return ex},i_:function(){return ea},kY:function(){return useSWRConfig},ko:function(){return subscribeCallback},kw:function(){return rAF},mf:function(){return isFunction},o8:function(){return isUndefined},qC:function(){return serialize},s6:function(){return withArgs},sj:function(){return eq},u3:function(){return getTimestamp},u_:function(){return eE},w6:function(){return ev},xD:function(){return withMiddleware}});var Z=L(52983);let noop=()=>{},ea=noop(),es=Object,isUndefined=_=>_===ea,isFunction=_=>"function"==typeof _,mergeObjects=(_,C)=>({..._,...C}),isPromiseLike=_=>isFunction(_.then),eo=new WeakMap,el=0,stableHash=_=>{let C,L;let Z=typeof _,ea=_&&_.constructor,eu=ea==Date;if(es(_)!==_||eu||ea==RegExp)C=eu?_.toJSON():"symbol"==Z?_.toString():"string"==Z?JSON.stringify(_):""+_;else{if(C=eo.get(_))return C;if(C=++el+"~",eo.set(_,C),ea==Array){for(L=0,C="@";L<_.length;L++)C+=stableHash(_[L])+",";eo.set(_,C)}if(ea==es){C="#";let Z=es.keys(_).sort();for(;!isUndefined(L=Z.pop());)isUndefined(_[L])||(C+=L+":"+stableHash(_[L])+",");eo.set(_,C)}}return C},eu=new WeakMap,ec={},ed={},eh="undefined",ep=typeof window!=eh,ef=typeof document!=eh,hasRequestAnimationFrame=()=>ep&&typeof window.requestAnimationFrame!=eh,createCacheHelper=(_,C)=>{let L=eu.get(_);return[()=>!isUndefined(C)&&_.get(C)||ec,Z=>{if(!isUndefined(C)){let ea=_.get(C);C in ed||(ed[C]=ea),L[5](C,mergeObjects(ea,Z),ea||ec)}},L[6],()=>!isUndefined(C)&&C in ed?ed[C]:!isUndefined(C)&&_.get(C)||ec]},em=!0,[eb,ey]=ep&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[noop,noop],eg={initFocus:_=>(ef&&document.addEventListener("visibilitychange",_),eb("focus",_),()=>{ef&&document.removeEventListener("visibilitychange",_),ey("focus",_)}),initReconnect:_=>{let onOnline=()=>{em=!0,_()},onOffline=()=>{em=!1};return eb("online",onOnline),eb("offline",onOffline),()=>{ey("online",onOnline),ey("offline",onOffline)}}},ev=!Z.useId,ex=!ep||"Deno"in window,rAF=_=>hasRequestAnimationFrame()?window.requestAnimationFrame(_):setTimeout(_,1),e_=ex?Z.useEffect:Z.useLayoutEffect,ew="undefined"!=typeof navigator&&navigator.connection,eC=!ex&&ew&&(["slow-2g","2g"].includes(ew.effectiveType)||ew.saveData),serialize=_=>{if(isFunction(_))try{_=_()}catch(C){_=""}let C=_;return[_="string"==typeof _?_:(Array.isArray(_)?_.length:_)?stableHash(_):"",C]},eT=0,getTimestamp=()=>++eT;var eq={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:0,MUTATE_EVENT:2,RECONNECT_EVENT:1};async function internalMutate(..._){let[C,L,Z,es]=_,eo=mergeObjects({populateCache:!0,throwOnError:!0},"boolean"==typeof es?{revalidate:es}:es||{}),el=eo.populateCache,ec=eo.rollbackOnError,ed=eo.optimisticData,eh=!1!==eo.revalidate,rollbackOnError=_=>"function"==typeof ec?ec(_):!1!==ec,ep=eo.throwOnError;if(isFunction(L)){let _=[],Z=C.keys();for(let ea of Z)!/^\$(inf|sub)\$/.test(ea)&&L(C.get(ea)._k)&&_.push(ea);return Promise.all(_.map(mutateByKey))}return mutateByKey(L);async function mutateByKey(L){let es;let[eo]=serialize(L);if(!eo)return;let[ec,ef]=createCacheHelper(C,eo),[em,eb,ey,eg]=eu.get(C),startRevalidate=()=>{let _=em[eo];return eh&&(delete ey[eo],delete eg[eo],_&&_[0])?_[0](2).then(()=>ec().data):ec().data};if(_.length<3)return startRevalidate();let ev=Z,ex=getTimestamp();eb[eo]=[ex,0];let e_=!isUndefined(ed),ew=ec(),eC=ew.data,eT=ew._c,eq=isUndefined(eT)?eC:eT;if(e_&&ef({data:ed=isFunction(ed)?ed(eq,eC):ed,_c:eq}),isFunction(ev))try{ev=ev(eq)}catch(_){es=_}if(ev&&isPromiseLike(ev)){if(ev=await ev.catch(_=>{es=_}
3099),ex!==eb[eo][0]){if(es)throw es;return ev}es&&e_&&rollbackOnError(es)&&(el=!0,ef({data:eq,_c:ea}))}if(el&&!es){if(isFunction(el)){let _=el(ev,eq);ef({data:_,error:ea,_c:ea})}else ef({data:ev,error:ea,_c:ea})}if(eb[eo][1]=getTimestamp(),Promise.resolve(startRevalidate()).then(()=>{ef({_c:ea})}),es){if(ep)throw es;return}return ev}}let revalidateAllKeys=(_,C)=>{for(let L in _)_[L][0]&&_[L][0](C)},initCache=(_,C)=>{if(!eu.has(_)){let L=mergeObjects(eg,C),Z={},es=internalMutate.bind(ea,_),eo=noop,el={},subscribe=(_,C)=>{let L=el[_]||[];return el[_]=L,L.push(C),()=>L.splice(L.indexOf(C),1)},setter=(C,L,Z)=>{_.set(C,L);let ea=el[C];if(ea)for(let _ of ea)_(L,Z)},initProvider=()=>{if(!eu.has(_)&&(eu.set(_,[Z,{},{},{},es,setter,subscribe]),!ex)){let C=L.initFocus(setTimeout.bind(ea,revalidateAllKeys.bind(ea,Z,0))),es=L.initReconnect(setTimeout.bind(ea,revalidateAllKeys.bind(ea,Z,1)));eo=()=>{C&&C(),es&&es(),eu.delete(_)}}};return initProvider(),[_,es,initProvider,eo]}return[_,eu.get(_)[4]]},[ek,eS]=initCache(new Map),eE=mergeObjects({onLoadingSlow:noop,onSuccess:noop,onError:noop,onErrorRetry:(_,C,L,Z,ea)=>{let es=L.errorRetryCount,eo=ea.retryCount,el=~~((Math.random()+.5)*(1<<(eo<8?eo:8)))*L.errorRetryInterval;(isUndefined(es)||!(eo>es))&&setTimeout(Z,el,ea)},onDiscarded:noop,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:eC?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:eC?5e3:3e3,compare:(_,C)=>stableHash(_)==stableHash(C),isPaused:()=>!1,cache:ek,mutate:eS,fallback:{}},{isOnline:()=>em,isVisible:()=>{let _=ef&&document.visibilityState;return isUndefined(_)||"hidden"!==_}}),mergeConfigs=(_,C)=>{let L=mergeObjects(_,C);if(C){let{use:Z,fallback:ea}=_,{use:es,fallback:eo}=C;Z&&es&&(L.use=Z.concat(es)),ea&&eo&&(L.fallback=mergeObjects(ea,eo))}return L},eM=(0,Z.createContext)({}),SWRConfig=_=>{let{value:C}=_,L=(0,Z.useContext)(eM),es=isFunction(C),eo=(0,Z.useMemo)(()=>es?C(L):C,[es,L,C]),el=(0,Z.useMemo)(()=>es?eo:mergeConfigs(L,eo),[es,L,eo]),eu=eo&&eo.provider,ec=(0,Z.useRef)(ea);eu&&!ec.current&&(ec.current=initCache(eu(el.cache||ek),eo));let ed=ec.current;return ed&&(el.cache=ed[0],el.mutate=ed[1]),e_(()=>{if(ed)return ed[2]&&ed[2](),ed[3]},[]),(0,Z.createElement)(eM.Provider,mergeObjects(_,{value:el}))},ej=ep&&window.__SWR_DEVTOOLS_USE__,eA=ej?window.__SWR_DEVTOOLS_USE__:[],normalize=_=>isFunction(_[1])?[_[0],_[1],_[2]||{}]:[_[0],null,(null===_[1]?_[2]:_[1])||{}],useSWRConfig=()=>mergeObjects(eE,(0,Z.useContext)(eM)),eD=eA.concat(_=>(C,L,Z)=>{let ea=L&&((..._)=>{let[Z]=serialize(C),[,,,ea]=eu.get(ek);if(Z.startsWith("$inf$"))return L(..._);let es=ea[Z];return isUndefined(es)?L(..._):(delete ea[Z],es)});return _(C,ea,Z)}),withArgs=_=>function(...C){let L=useSWRConfig(),[Z,ea,es]=normalize(C),eo=mergeConfigs(L,es),el=_,{use:eu}=eo,ec=(eu||[]).concat(eD);for(let _=ec.length;_--;)el=ec[_](el);return el(Z,ea||eo.fetcher||null,eo)},subscribeCallback=(_,C,L)=>{let Z=C[_]||(C[_]=[]);return Z.push(L),()=>{let _=Z.indexOf(L);_>=0&&(Z[_]=Z[Z.length-1],Z.pop())}},withMiddleware=(_,C)=>(...L)=>{let[Z,ea,es]=normalize(L),eo=(es.use||[]).concat(C);return _(Z,ea,{...es,use:eo})};ej&&(window.__SWR_DEVTOOLS_REACT__=Z)},49069:function(_,C,L){"use strict";L.d(C,{J$:function(){return eu},ZP:function(){return ec},kY:function(){return es.kY},wE:function(){return unstable_serialize}});var Z=L(52983),ea=L(83576),es=L(66759);let unstable_serialize=_=>(0,es.qC)(_)[0],eo=Z.use||(_=>{if("pending"===_.status)throw _;if("fulfilled"===_.status)return _.value;if("rejected"===_.status)throw _.reason;throw _.status="pending",_.then(C=>{_.status="fulfilled",_.value=C},C=>{_.status="rejected",_.reason=C}),_}),el={dedupe:!0},eu=es.$l.defineProperty(es.J$,"defaultValue",{value:es.u_}),ec=(0,es.s6)((_,C,L)=>{let{cache:eu,compare:ec,suspense:ed,fallbackData:eh,revalidateOnMount:ep,revalidateIfStale:ef,refreshInterval:em,refreshWhenHidden:eb,refreshWhenOffline:ey,keepPreviousData:eg}=L,[ev,ex,e_,ew]=es.DY.get(eu),[eC,eT]=(0,es.qC)(_),eq=(0,Z.useRef)(!1),ek=(0,Z.useRef)(!1),eS=(0,Z.useRef)(eC),eE=(0,Z.useRef)(C),eM=(0,Z.useRef)(L),getConfig=()=>eM.current,isActive=()=>getConfig().isVisible()&&getConfig().isOnline(),[ej,eA,eD,eI]=(0,es.JN)(eu,eC),eO=(0,Z.useRef)({}).current,eP=(0,es.o8)(eh)?L.fallback[eC]:eh,isEqual=(_,C)=>{for(let L in eO)if("data"===L){if(!ec(_[L],C[L])&&(!(0,es.o8)(_[L])||!ec(e$,C[L])))return!1}else if(C[L]!==_[L])return!1;return!0},eN=(0,Z.useMemo)(()=>{let _=!!eC&&!!C&&((0,es.o8)(ep)?!getConfig().isPaused()&&!ed&&(!!(0,es.o8)(ef)||ef):ep),getSelectedCache=C=>{let L=(0,es.PM)(C);return(delete L._k,_)?{isValidating:!0,isLoading:!0,...L}:L},L=ej(),Z=eI(),ea=getSelectedCache(L),eo=L===Z?ea:getSelectedCache(Z),el=ea;return[()=>{let _=getSelectedCache(ej()),C=isEqual(_,el);
3099return C?(el.data=_.data,el.isLoading=_.isLoading,el.isValidating=_.isValidating,el.error=_.error,el):(el=_,_)},()=>eo]},[eu,eC]),eL=(0,ea.useSyncExternalStore)((0,Z.useCallback)(_=>eD(eC,(C,L)=>{isEqual(L,C)||_()}),[eu,eC]),eN[0],eN[1]),eR=!eq.current,eB=ev[eC]&&ev[eC].length>0,eF=eL.data,eZ=(0,es.o8)(eF)?eP:eF,ez=eL.error,eU=(0,Z.useRef)(eZ),e$=eg?(0,es.o8)(eF)?eU.current:eF:eZ,eV=(!eB||!!(0,es.o8)(ez))&&(eR&&!(0,es.o8)(ep)?ep:!getConfig().isPaused()&&(ed?!(0,es.o8)(eZ)&&ef:(0,es.o8)(eZ)||ef)),eW=!!(eC&&C&&eR&&eV),eH=(0,es.o8)(eL.isValidating)?eW:eL.isValidating,eG=(0,es.o8)(eL.isLoading)?eW:eL.isLoading,eK=(0,Z.useCallback)(async _=>{let C,Z;let ea=eE.current;if(!eC||!ea||ek.current||getConfig().isPaused())return!1;let eo=!0,el=_||{},eu=!e_[eC]||!el.dedupe,callbackSafeguard=()=>es.w6?!ek.current&&eC===eS.current&&eq.current:eC===eS.current,ed={isValidating:!1,isLoading:!1},finishRequestAndUpdateState=()=>{eA(ed)},cleanupState=()=>{let _=e_[eC];_&&_[1]===Z&&delete e_[eC]},eh={isValidating:!0};(0,es.o8)(ej().data)&&(eh.isLoading=!0);try{if(eu&&(eA(eh),L.loadingTimeout&&(0,es.o8)(ej().data)&&setTimeout(()=>{eo&&callbackSafeguard()&&getConfig().onLoadingSlow(eC,L)},L.loadingTimeout),e_[eC]=[ea(eT),(0,es.u3)()]),[C,Z]=e_[eC],C=await C,eu&&setTimeout(cleanupState,L.dedupingInterval),!e_[eC]||e_[eC][1]!==Z)return eu&&callbackSafeguard()&&getConfig().onDiscarded(eC),!1;ed.error=es.i_;let _=ex[eC];if(!(0,es.o8)(_)&&(Z<=_[0]||Z<=_[1]||0===_[1]))return finishRequestAndUpdateState(),eu&&callbackSafeguard()&&getConfig().onDiscarded(eC),!1;let el=ej().data;ed.data=ec(el,C)?el:C,eu&&callbackSafeguard()&&getConfig().onSuccess(C,eC,L)}catch(L){cleanupState();let _=getConfig(),{shouldRetryOnError:C}=_;!_.isPaused()&&(ed.error=L,eu&&callbackSafeguard()&&(_.onError(L,eC,_),(!0===C||(0,es.mf)(C)&&C(L))&&isActive()&&_.onErrorRetry(L,eC,_,_=>{let C=ev[eC];C&&C[0]&&C[0](es.sj.ERROR_REVALIDATE_EVENT,_)},{retryCount:(el.retryCount||0)+1,dedupe:!0})))}return eo=!1,finishRequestAndUpdateState(),!0},[eC,eu]),eX=(0,Z.useCallback)((..._)=>(0,es.BN)(eu,eS.current,..._),[]);if((0,es.LI)(()=>{eE.current=C,eM.current=L,(0,es.o8)(eF)||(eU.current=eF)}),(0,es.LI)(()=>{if(!eC)return;let _=eK.bind(es.i_,el),C=0,L=(0,es.ko)(eC,ev,(L,Z={})=>{if(L==es.sj.FOCUS_EVENT){let L=Date.now();getConfig().revalidateOnFocus&&L>C&&isActive()&&(C=L+getConfig().focusThrottleInterval,_())}else if(L==es.sj.RECONNECT_EVENT)getConfig().revalidateOnReconnect&&isActive()&&_();else if(L==es.sj.MUTATE_EVENT)return eK();else if(L==es.sj.ERROR_REVALIDATE_EVENT)return eK(Z)});return ek.current=!1,eS.current=eC,eq.current=!0,eA({_k:eT}),eV&&((0,es.o8)(eZ)||es.W6?_():(0,es.kw)(_)),()=>{ek.current=!0,L()}},[eC]),(0,es.LI)(()=>{let _;function next(){let C=(0,es.mf)(em)?em(ej().data):em;C&&-1!==_&&(_=setTimeout(execute,C))}function execute(){!ej().error&&(eb||getConfig().isVisible())&&(ey||getConfig().isOnline())?eK(el).then(next):next()}return next(),()=>{_&&(clearTimeout(_),_=-1)}},[em,eb,ey,eC]),(0,Z.useDebugValue)(e$),ed&&(0,es.o8)(eZ)&&eC){if(!es.w6&&es.W6)throw Error("Fallback data is required when using suspense in SSR.");eE.current=C,eM.current=L,ek.current=!1;let _=ew[eC];if(!(0,es.o8)(_)){let C=eX(_);eo(C)}if((0,es.o8)(ez)){let _=eK(el);(0,es.o8)(e$)||(_.status="fulfilled",_.value=!0),eo(_)}else throw ez}return{mutate:eX,get data(){return eO.data=!0,e$},get error(){return eO.error=!0,ez},get isValidating(){return eO.isValidating=!0,eH},get isLoading(){return eO.isLoading=!0,eG}}})},52316:function(_,C,L){"use strict";L.d(C,{Z:function(){return es}});var Z=L(49069),ea=L(66759);let es=(0,ea.xD)(Z.ZP,_=>(C,L,Z)=>(Z.revalidateOnFocus=!1,Z.revalidateIfStale=!1,Z.revalidateOnReconnect=!1,_(C,L,Z)))},43112:function(_,C,L){"use strict";L.r(C),L.d(C,{__addDisposableResource:function(){return __addDisposableResource},__assign:function(){return __assign},__asyncDelegator:function(){return __asyncDelegator},__asyncGenerator:function(){return __asyncGenerator},__asyncValues:function(){return __asyncValues},__await:function(){return __await},__awaiter:function(){return __awaiter},__classPrivateFieldGet:function(){return __classPrivateFieldGet},__classPrivateFieldIn:function(){return __classPrivateFieldIn},__classPrivateFieldSet:function(){return __classPrivateFieldSet},__createBinding:function(){return Z},__decorate:function(){return __decorate},__disposeResources:function(){return __disposeResources},__esDecorate:function(){return __esDecorate},__exportStar:function(){return __exportStar},__extends:function(){return __extends},__generator:function(){return __generator},__importDefault:function(){return __importDefault},__importStar:function(){return __importStar}
vendor: 10,642 bytes, line 3099
3099,__makeTemplateObject:function(){return __makeTemplateObject},__metadata:function(){return __metadata},__param:function(){return __param},__propKey:function(){return __propKey},__read:function(){return __read},__rest:function(){return __rest},__runInitializers:function(){return __runInitializers},__setFunctionName:function(){return __setFunctionName},__spread:function(){return __spread},__spreadArray:function(){return __spreadArray},__spreadArrays:function(){return __spreadArrays},__values:function(){return __values}});var extendStatics=function(_,C){return(extendStatics=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(_,C){_.__proto__=C}||function(_,C){for(var L in C)Object.prototype.hasOwnProperty.call(C,L)&&(_[L]=C[L])})(_,C)};function __extends(_,C){if("function"!=typeof C&&null!==C)throw TypeError("Class extends value "+String(C)+" is not a constructor or null");function __(){this.constructor=_}extendStatics(_,C),_.prototype=null===C?Object.create(C):(__.prototype=C.prototype,new __)}var __assign=function(){return(__assign=Object.assign||function(_){for(var C,L=1,Z=arguments.length;L<Z;L++)for(var ea in C=arguments[L])Object.prototype.hasOwnProperty.call(C,ea)&&(_[ea]=C[ea]);return _}).apply(this,arguments)};function __rest(_,C){var L={};for(var Z in _)Object.prototype.hasOwnProperty.call(_,Z)&&0>C.indexOf(Z)&&(L[Z]=_[Z]);if(null!=_&&"function"==typeof Object.getOwnPropertySymbols)for(var ea=0,Z=Object.getOwnPropertySymbols(_);ea<Z.length;ea++)0>C.indexOf(Z[ea])&&Object.prototype.propertyIsEnumerable.call(_,Z[ea])&&(L[Z[ea]]=_[Z[ea]]);return L}function __decorate(_,C,L,Z){var ea,es=arguments.length,eo=es<3?C:null===Z?Z=Object.getOwnPropertyDescriptor(C,L):Z;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)eo=Reflect.decorate(_,C,L,Z);else for(var el=_.length-1;el>=0;el--)(ea=_[el])&&(eo=(es<3?ea(eo):es>3?ea(C,L,eo):ea(C,L))||eo);return es>3&&eo&&Object.defineProperty(C,L,eo),eo}function __param(_,C){return function(L,Z){C(L,Z,_)}}function __esDecorate(_,C,L,Z,ea,es){function accept(_){if(void 0!==_&&"function"!=typeof _)throw TypeError("Function expected");return _}for(var eo,el=Z.kind,eu="getter"===el?"get":"setter"===el?"set":"value",ec=!C&&_?Z.static?_:_.prototype:null,ed=C||(ec?Object.getOwnPropertyDescriptor(ec,Z.name):{}),eh=!1,ep=L.length-1;ep>=0;ep--){var ef={};for(var em in Z)ef[em]="access"===em?{}:Z[em];for(var em in Z.access)ef.access[em]=Z.access[em];ef.addInitializer=function(_){if(eh)throw TypeError("Cannot add initializers after decoration has completed");es.push(accept(_||null))};var eb=(0,L[ep])("accessor"===el?{get:ed.get,set:ed.set}:ed[eu],ef);if("accessor"===el){if(void 0===eb)continue;if(null===eb||"object"!=typeof eb)throw TypeError("Object expected");(eo=accept(eb.get))&&(ed.get=eo),(eo=accept(eb.set))&&(ed.set=eo),(eo=accept(eb.init))&&ea.unshift(eo)}else(eo=accept(eb))&&("field"===el?ea.unshift(eo):ed[eu]=eo)}ec&&Object.defineProperty(ec,Z.name,ed),eh=!0}function __runInitializers(_,C,L){for(var Z=arguments.length>2,ea=0;ea<C.length;ea++)L=Z?C[ea].call(_,L):C[ea].call(_);return Z?L:void 0}function __propKey(_){return"symbol"==typeof _?_:"".concat(_)}function __setFunctionName(_,C,L){return"symbol"==typeof C&&(C=C.description?"[".concat(C.description,"]"):""),Object.defineProperty(_,"name",{configurable:!0,value:L?"".concat(L," ",C):C})}function __metadata(_,C){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(_,C)}function __awaiter(_,C,L,Z){return new(L||(L=Promise))(function(ea,es){function fulfilled(_){try{step(Z.next(_))}catch(_){es(_)}}function rejected(_){try{step(Z.throw(_))}catch(_){es(_)}}function step(_){var C;_.done?ea(_.value):((C=_.value)instanceof L?C:new L(function(_){_(C)})).then(fulfilled,rejected)}step((Z=Z.apply(_,C||[])).next())})}function __generator(_,C){var L,Z,ea,es,eo={label:0,sent:function(){if(1&ea[0])throw ea[1];return ea[1]},trys:[],ops:[]};return es={next:verb(0),throw:verb(1),return:verb(2)},"function"==typeof Symbol&&(es[Symbol.iterator]=function(){return this}),es;function verb(el){return function(eu){return function(el){if(L)throw TypeError("Generator is already executing.");for(;es&&(es=0,el[0]&&(eo=0)),eo;)try{if(L=1,Z&&(ea=2&el[0]?Z.return:el[0]?Z.throw||((ea=Z.return)&&ea.call(Z),0):Z.next)&&!(ea=ea.call(Z,el[1])).done)return ea;switch(Z=0,ea&&(el=[2&el[0],ea.value]),el[0]){case 0:case 1:ea=el;break;case 4:return eo.label++,{value:el[1],done:!1};case 5:eo.label++,Z=el[1],el=[0];continue;case 7:el=eo.ops.pop(),eo.trys.pop();continue;default:if(!(ea=(ea=eo.trys).length>0&&ea[ea.length-1])&&(6===el[0]||2===el[0])){eo=0;continue}if(3===el[0]&&(!ea||el[1]>ea[0]&&el[1]<ea[3])){eo.label=el[1];break}if(6===el[0]&&eo.label<ea[1]){eo.label=ea[1],ea=el;break}if(ea&&eo.label<ea[2]){eo.label=ea[2],eo.ops.push(el);break}ea[2]&&eo.ops.pop(),eo.trys.pop();continue}el=C.call(_,eo)}catch(_){el=[6,_],Z=0}finally{L=ea=0}if(5&el[0])throw el[1];return{value:el[0]?el[1]:void 0,done:!0}}([el,eu])}}}var Z=Object.create?function(_,C,L,Z){void 0===Z&&(Z=L);var ea=Object.getOwnPropertyDescriptor(C,L);(!ea||("get"in ea?!C.__esModule:ea.writable||ea.configurable))&&(ea={enumerable:!0,get:function(){return C[L]}}),Object.defineProperty(_,Z,ea)}:function(_,C,L,Z){void 0===Z&&(Z=L),_[Z]=C[L]};function __exportStar(_,C){for(var L in _)"default"===L||Object.prototype.hasOwnProperty.call(C,L)||Z(C,_,L)}function __values(_){var C="function"==typeof Symbol&&Symbol.iterator,L=C&&_[C],Z=0;if(L)return L.call(_);if(_&&"number"==typeof _.length)return{next:function(){return _&&Z>=_.length&&(_=void 0),{value:_&&_[Z++],done:!_}}};throw TypeError(C?"Object is not iterable.":"Symbol.iterator is not defined.")}function __read(_,C){var L="function"==typeof Symbol&&_[Symbol.iterator];if(!L)return _;var Z,ea,es=L.call(_),eo=[];try{for(;(void 0===C||C-- >0)&&!(Z=es.next()).done;)eo.push(Z.value)}catch(_){ea={error:_}}finally{try{Z&&!Z.done&&(L=es.return)&&L.call(es)}finally{if(ea)throw ea.error}}return eo}function __spread(){for(var _=[],C=0;C<arguments.length;C++)_=_.concat(__read(arguments[C]));return _}function __spreadArrays(){for(var _=0,C=0,L=arguments.length;C<L;C++)_+=arguments[C].length;for(var Z=Array(_),ea=0,C=0;C<L;C++)for(var es=arguments[C],eo=0,el=es.length;eo<el;eo++,ea++)Z[ea]=es[eo];return Z}function __spreadArray(_,C,L){if(L||2==arguments.length)for(var Z,ea=0,es=C.length;ea<es;ea++)!Z&&ea in C||(Z||(Z=Array.prototype.slice.call(C,0,ea)),Z[ea]=C[ea]);return _.concat(Z||Array.prototype.slice.call(C))}function __await(_){return this instanceof __await?(this.v=_,this):new __await(_)}function __asyncGenerator(_,C,L){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var Z,ea=L.apply(_,C||[]),es=[];return Z={},verb("next"),verb("throw"),verb("return"),Z[Symbol.asyncIterator]=function(){return this},Z;function verb(_){ea[_]&&(Z[_]=function(C){return new Promise(function(L,Z){es.push([_,C,L,Z])>1||resume(_,C)})})}function resume(_,C){try{var L;(L=ea[_](C)).value instanceof __await?Promise.resolve(L.value.v).then(fulfill,reject):settle(es[0][2],L)}catch(_){settle(es[0][3],_)}}function fulfill(_){resume("next",_)}function reject(_){resume("throw",_)}function settle(_,C){_(C),es.shift(),es.length&&resume(es[0][0],es[0][1])}}function __asyncDelegator(_){var C,L;return C={},verb("next"),verb("throw",function(_){throw _}),verb("return"),C[Symbol.iterator]=function(){return this},C;function verb(Z,ea){C[Z]=_[Z]?function(C){return(L=!L)?{value:__await(_[Z](C)),done:!1}:ea?ea(C):C}:ea}}function __asyncValues(_){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var C,L=_[Symbol.asyncIterator];return L?L.call(_):(_=__values(_),C={},verb("next"),verb("throw"),verb("return"),C[Symbol.asyncIterator]=function(){return this},C);function verb(L){C[L]=_[L]&&function(C){return new Promise(function(Z,ea){!function(_,C,L,Z){Promise.resolve(Z).then(function(C){_({value:C,done:L})},C)}(Z,ea,(C=_[L](C)).done,C.value)})}}}function __makeTemplateObject(_,C){return Object.defineProperty?Object.defineProperty(_,"raw",{value:C}):_.raw=C,_}var ea=Object.create?function(_,C){Object.defineProperty(_,"default",{enumerable:!0,value:C})}:function(_,C){_.default=C};function __importStar(_){if(_&&_.__esModule)return _;var C={};if(null!=_)for(var L in _)"default"!==L&&Object.prototype.hasOwnProperty.call(_,L)&&Z(C,_,L);return ea(C,_),C}function __importDefault(_){return _&&_.__esModule?_:{default:_}}function __classPrivateFieldGet(_,C,L,Z){if("a"===L&&!Z)throw TypeError("Private accessor was defined without a getter");if("function"==typeof C?_!==C||!Z:!C.has(_))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===L?Z:"a"===L?Z.call(_):Z?Z.value:C.get(_)}function __classPrivateFieldSet(_,C,L,Z,ea){if("m"===Z)throw TypeError("Private method is not writable");if("a"===Z&&!ea)throw TypeError("Private accessor was defined without a setter");if("function"==typeof C?_!==C||!ea:!C.has(_))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===Z?ea.call(_,L):ea?ea.value=L:C.set(_,L),L}function __classPrivateFieldIn(_,C){if(null===C||"object"!=typeof C&&"function"!=typeof C)throw TypeError("Cannot use 'in' operator on non-object");return"function"==typeof _?C===_:_.has(C)}function __addDisposableResource(_,C,L){if(null!=C){var Z;if("object"!=typeof C&&"function"!=typeof C)throw TypeError("Object expected.");if(L){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");Z=C[Symbol.asyncDispose]}if(void 0===Z){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");Z=C[Symbol.dispose]}if("function"!=typeof Z)throw TypeError("Object not disposable.");_.stack.push({value:C,dispose:Z,async:L})}else L&&_.stack.push({async:!0});return C}var es="function"==typeof SuppressedError?SuppressedError:function(_,C,L){var Z=Error(L);return Z.name="SuppressedError",Z.error=_,Z.suppressed=C,Z};function __disposeResources(_){function fail(C){_.error=_.hasError?new es(C,_.error,"An error was suppressed during disposal."):C,_.hasError=!0}return function next(){for(;_.stack.length;){var C=_.stack.pop();try{var L=C.dispose&&C.dispose.call(C.value);if(C.async)return Promise.resolve(L).then(next,function(_){return fail(_),next()})}catch(_){fail(_)}}if(_.hasError)throw _.error}()}C.default={__extends,__assign,__rest,__decorate,__param,__metadata,__awaiter,__generator,__createBinding:Z,__exportStar,__values,__read,__spread,__spreadArrays,__spreadArray,__await,__asyncGenerator,__asyncDelegator,__asyncValues,__makeTemplateOb
3099ject,__importStar,__importDefault,__classPrivateFieldGet,__classPrivateFieldSet,__classPrivateFieldIn,__addDisposableResource,__disposeResources}},79807:function(_,C,L){"use strict";L.d(C,{E:function(){return allocUnsafe}});var Z=L(39634);function allocUnsafe(_=0){return null!=globalThis.Buffer&&null!=globalThis.Buffer.allocUnsafe?(0,Z.P)(globalThis.Buffer.allocUnsafe(_)):new Uint8Array(_)}},51685:function(_,C,L){"use strict";L.d(C,{z:function(){return concat}});var Z=L(79807),ea=L(39634);function concat(_,C){C||(C=_.reduce((_,C)=>_+C.length,0));let L=(0,Z.E)(C),es=0;for(let C of _)L.set(C,es),es+=C.length;return(0,ea.P)(L)}},38147:function(_,C,L){"use strict";L.d(C,{m:function(){return fromString}});var Z=L(36816),ea=L(39634);function fromString(_,C="utf8"){let L=Z.Z[C];if(!L)throw Error(`Unsupported encoding "${C}"`);return("utf8"===C||"utf-8"===C)&&null!=globalThis.Buffer&&null!=globalThis.Buffer.from?(0,ea.P)(globalThis.Buffer.from(_,"utf-8")):L.decoder.decode(`${L.prefix}${_}`)}},42772:function(_,C,L){"use strict";L.d(C,{BB:function(){return es.B},mL:function(){return ea.m},zo:function(){return Z.z}});var Z=L(51685),ea=L(38147),es=L(17199)},17199:function(_,C,L){"use strict";L.d(C,{B:function(){return toString}});var Z=L(36816);function toString(_,C="utf8"){let L=Z.Z[C];if(!L)throw Error(`Unsupported encoding "${C}"`);return("utf8"===C||"utf-8"===C)&&null!=globalThis.Buffer&&null!=globalThis.Buffer.from?globalThis.Buffer.from(_.buffer,_.byteOffset,_.byteLength).toString("utf8"):L.encoder.encode(_).substring(1)}},39634:function(_,C,L){"use strict";function asUint8Array(_){return null!=globalThis.Buffer?new Uint8Array(_.buffer,_.byteOffset,_.byteLength):_}L.d(C,{P:function(){return asUint8Array}})},36816:function(_,C,L){"use strict";L.d(C,{Z:function(){return to}});var Z={};L.r(Z),L.d(Z,{identity:function(){return eg}});var ea={};L.r(ea),L.d(ea,{base2:function(){return ev}});var es={};L.r(es),L.d(es,{base8:function(){return ex}});var eo={};L.r(eo),L.d(eo,{base10:function(){return e_}});var el={};L.r(el),L.d(el,{base16:function(){return ew},base16upper:function(){return eC}});var eu={};L.r(eu),L.d(eu,{base32:function(){return eT},base32hex:function(){return eE},base32hexpad:function(){return ej},base32hexpadupper:function(){return eA},base32hexupper:function(){return eM},base32pad:function(){return ek},base32padupper:function(){return eS},base32upper:function(){return eq},base32z:function(){return eD}});var ec={};L.r(ec),L.d(ec,{base36:function(){return eI},base36upper:function(){return eO}});var ed={};L.r(ed),L.d(ed,{base58btc:function(){return eP},base58flickr:function(){return eN}});var eh={};L.r(eh),L.d(eh,{base64:function(){return eL},base64pad:function(){return eR},base64url:function(){return eB},base64urlpad:function(){return eF}});var ep={};L.r(ep),L.d(ep,{base256emoji:function(){return e$}});var ef={};L.r(ef),L.d(ef,{sha256:function(){return eW},sha512:function(){return eH}});var em={};L.r(em),L.d(em,{identity:function(){return eG}});var eb={};L.r(eb),L.d(eb,{code:function(){return eX},decode:function(){return raw_decode},encode:function(){return raw_encode},name:function(){return eK}});var ey={};L.r(ey),L.d(ey,{code:function(){return e1},decode:function(){return json_decode},encode:function(){return json_encode},name:function(){return eJ}});var base_x=function(_,C){if(_.length>=255)throw TypeError("Alphabet too long");for(var L=new Uint8Array(256),Z=0;Z<L.length;Z++)L[Z]=255;for(var ea=0;ea<_.length;ea++){var es=_.charAt(ea),eo=es.charCodeAt(0);if(255!==L[eo])throw TypeError(es+" is ambiguous");L[eo]=ea}var el=_.length,eu=_.charAt(0),ec=Math.log(el)/Math.log(256),ed=Math.log(256)/Math.log(el);function decodeUnsafe(_){if("string"!=typeof _)throw TypeError("Expected String");if(0===_.length)return new Uint8Array;var C=0;if(" "!==_[0]){for(var Z=0,ea=0;_[C]===eu;)Z++,C++;for(var es=(_.length-C)*ec+1>>>0,eo=new Uint8Array(es);_[C];){var ed=L[_.charCodeAt(C)];if(255===ed)return;for(var eh=0,ep=es-1;(0!==ed||eh<ea)&&-1!==ep;ep--,eh++)ed+=el*eo[ep]>>>0,eo[ep]=ed%256>>>0,ed=ed/256>>>0;if(0!==ed)throw Error("Non-zero carry");ea=eh,C++}if(" "!==_[C]){for(var ef=es-ea;ef!==es&&0===eo[ef];)ef++;for(var em=new Uint8Array(Z+(es-ef)),eb=Z;ef!==es;)em[eb++]=eo[ef++];return em}}}return{encode:function(C){if(C instanceof Uint8Array||(ArrayBuffer.isView(C)?C=new Uint8Array(C.buffer,C.byteOffset,C.byteLength):Array.isArray(C)&&(C=Uint8Array.from(C))),!(C instanceof Uint8Array))throw TypeError("Expected Uint8Array");if(0===C.length)return"";for(var L=0,Z=0,ea=0,es=C.length;ea!==es&&0===C[ea];)ea++,L++;for(var eo=(es-ea)*ed+1>>>0,ec=new Uint8Array(eo);ea!==es;){for(var eh=C[ea],ep=0,ef=eo-1;(0!==eh||ep<Z)&&-1!==ef;ef--,ep++)eh+=256*ec[ef]>>>0,ec[ef]=eh%el>>>0,eh=eh/el>>>0;if(0!==eh)throw Error("Non-zero carry");Z=ep,ea++}for(var em=eo-Z;em!==eo&&0===ec[em];)em++;for(var eb=eu.repeat(L);em<eo;++em)eb+=_.charAt(ec[em]);return eb},decodeUnsafe:decodeUnsafe,decode:function(_){var L=decodeUnsafe(_);if(L)return L;throw Error(`Non-${C} character`)}}};new Uint8Array(0);let equals=(_,C)=>{if(_===C)return!0;
3099if(_.byteLength!==C.byteLength)return!1;for(let L=0;L<_.byteLength;L++)if(_[L]!==C[L])return!1;return!0},coerce=_=>{if(_ instanceof Uint8Array&&"Uint8Array"===_.constructor.name)return _;if(_ instanceof ArrayBuffer)return new Uint8Array(_);if(ArrayBuffer.isView(_))return new Uint8Array(_.buffer,_.byteOffset,_.byteLength);throw Error("Unknown type, must be binary type")},fromString=_=>new TextEncoder().encode(_),bytes_toString=_=>new TextDecoder().decode(_);let Encoder=class Encoder{constructor(_,C,L){this.name=_,this.prefix=C,this.baseEncode=L}encode(_){if(_ instanceof Uint8Array)return`${this.prefix}${this.baseEncode(_)}`;throw Error("Unknown type, must be binary type")}};let Decoder=class Decoder{constructor(_,C,L){if(this.name=_,this.prefix=C,void 0===C.codePointAt(0))throw Error("Invalid prefix character");this.prefixCodePoint=C.codePointAt(0),this.baseDecode=L}decode(_){if("string"==typeof _){if(_.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(_)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(_.slice(this.prefix.length))}throw Error("Can only multibase decode strings")}or(_){return or(this,_)}};let ComposedDecoder=class ComposedDecoder{constructor(_){this.decoders=_}or(_){return or(this,_)}decode(_){let C=_[0],L=this.decoders[C];if(L)return L.decode(_);throw RangeError(`Unable to decode multibase string ${JSON.stringify(_)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}};let or=(_,C)=>new ComposedDecoder({..._.decoders||{[_.prefix]:_},...C.decoders||{[C.prefix]:C}});let Codec=class Codec{constructor(_,C,L,Z){this.name=_,this.prefix=C,this.baseEncode=L,this.baseDecode=Z,this.encoder=new Encoder(_,C,L),this.decoder=new Decoder(_,C,Z)}encode(_){return this.encoder.encode(_)}decode(_){return this.decoder.decode(_)}};let from=({name:_,prefix:C,encode:L,decode:Z})=>new Codec(_,C,L,Z),baseX=({prefix:_,name:C,alphabet:L})=>{let{encode:Z,decode:ea}=base_x(L,C);return from({prefix:_,name:C,encode:Z,decode:_=>coerce(ea(_))})},decode=(_,C,L,Z)=>{let ea={};for(let _=0;_<C.length;++_)ea[C[_]]=_;let es=_.length;for(;"="===_[es-1];)--es;let eo=new Uint8Array(es*L/8|0),el=0,eu=0,ec=0;for(let C=0;C<es;++C){let es=ea[_[C]];if(void 0===es)throw SyntaxError(`Non-${Z} character`);eu=eu<<L|es,(el+=L)>=8&&(el-=8,eo[ec++]=255&eu>>el)}if(el>=L||255&eu<<8-el)throw SyntaxError("Unexpected end of data");return eo},encode=(_,C,L)=>{let Z="="===C[C.length-1],ea=(1<<L)-1,es="",eo=0,el=0;for(let Z=0;Z<_.length;++Z)for(el=el<<8|_[Z],eo+=8;eo>L;)eo-=L,es+=C[ea&el>>eo];if(eo&&(es+=C[ea&el<<L-eo]),Z)for(;es.length*L&7;)es+="=";return es},rfc4648=({name:_,prefix:C,bitsPerChar:L,alphabet:Z})=>from({prefix:C,name:_,encode:_=>encode(_,Z,L),decode:C=>decode(C,Z,L,_)}),eg=from({prefix:"\x00",name:"identity",encode:_=>bytes_toString(_),decode:_=>fromString(_)}),ev=rfc4648({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1}),ex=rfc4648({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3}),e_=baseX({prefix:"9",name:"base10",alphabet:"0123456789"}),ew=rfc4648({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),eC=rfc4648({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4}),eT=rfc4648({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),eq=rfc4648({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),ek=rfc4648({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),eS=rfc4648({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),eE=rfc4648({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),eM=rfc4648({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),ej=rfc4648({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),eA=rfc4648({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),eD=rfc4648({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5}),eI=baseX({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),eO=baseX({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"}),eP=baseX({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),eN=baseX({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"}),eL=rfc4648({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
3099+/",bitsPerChar:6}),eR=rfc4648({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),eB=rfc4648({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),eF=rfc4648({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6}),eZ=Array.from("\uD83D\uDE80\uD83E\uDE90☄\uD83D\uDEF0\uD83C\uDF0C\uD83C\uDF11\uD83C\uDF12\uD83C\uDF13\uD83C\uDF14\uD83C\uDF15\uD83C\uDF16\uD83C\uDF17\uD83C\uDF18\uD83C\uDF0D\uD83C\uDF0F\uD83C\uDF0E\uD83D\uDC09☀\uD83D\uDCBB\uD83D\uDDA5\uD83D\uDCBE\uD83D\uDCBF\uD83D\uDE02❤\uD83D\uDE0D\uD83E\uDD23\uD83D\uDE0A\uD83D\uDE4F\uD83D\uDC95\uD83D\uDE2D\uD83D\uDE18\uD83D\uDC4D\uD83D\uDE05\uD83D\uDC4F\uD83D\uDE01\uD83D\uDD25\uD83E\uDD70\uD83D\uDC94\uD83D\uDC96\uD83D\uDC99\uD83D\uDE22\uD83E\uDD14\uD83D\uDE06\uD83D\uDE44\uD83D\uDCAA\uD83D\uDE09☺\uD83D\uDC4C\uD83E\uDD17\uD83D\uDC9C\uD83D\uDE14\uD83D\uDE0E\uD83D\uDE07\uD83C\uDF39\uD83E\uDD26\uD83C\uDF89\uD83D\uDC9E✌✨\uD83E\uDD37\uD83D\uDE31\uD83D\uDE0C\uD83C\uDF38\uD83D\uDE4C\uD83D\uDE0B\uD83D\uDC97\uD83D\uDC9A\uD83D\uDE0F\uD83D\uDC9B\uD83D\uDE42\uD83D\uDC93\uD83E\uDD29\uD83D\uDE04\uD83D\uDE00\uD83D\uDDA4\uD83D\uDE03\uD83D\uDCAF\uD83D\uDE48\uD83D\uDC47\uD83C\uDFB6\uD83D\uDE12\uD83E\uDD2D❣\uD83D\uDE1C\uD83D\uDC8B\uD83D\uDC40\uD83D\uDE2A\uD83D\uDE11\uD83D\uDCA5\uD83D\uDE4B\uD83D\uDE1E\uD83D\uDE29\uD83D\uDE21\uD83E\uDD2A\uD83D\uDC4A\uD83E\uDD73\uD83D\uDE25\uD83E\uDD24\uD83D\uDC49\uD83D\uDC83\uD83D\uDE33✋\uD83D\uDE1A\uD83D\uDE1D\uD83D\uDE34\uD83C\uDF1F\uD83D\uDE2C\uD83D\uDE43\uD83C\uDF40\uD83C\uDF37\uD83D\uDE3B\uD83D\uDE13⭐✅\uD83E\uDD7A\uD83C\uDF08\uD83D\uDE08\uD83E\uDD18\uD83D\uDCA6✔\uD83D\uDE23\uD83C\uDFC3\uD83D\uDC90☹\uD83C\uDF8A\uD83D\uDC98\uD83D\uDE20☝\uD83D\uDE15\uD83C\uDF3A\uD83C\uDF82\uD83C\uDF3B\uD83D\uDE10\uD83D\uDD95\uD83D\uDC9D\uD83D\uDE4A\uD83D\uDE39\uD83D\uDDE3\uD83D\uDCAB\uD83D\uDC80\uD83D\uDC51\uD83C\uDFB5\uD83E\uDD1E\uD83D\uDE1B\uD83D\uDD34\uD83D\uDE24\uD83C\uDF3C\uD83D\uDE2B⚽\uD83E\uDD19☕\uD83C\uDFC6\uD83E\uDD2B\uD83D\uDC48\uD83D\uDE2E\uD83D\uDE46\uD83C\uDF7B\uD83C\uDF43\uD83D\uDC36\uD83D\uDC81\uD83D\uDE32\uD83C\uDF3F\uD83E\uDDE1\uD83C\uDF81⚡\uD83C\uDF1E\uD83C\uDF88❌✊\uD83D\uDC4B\uD83D\uDE30\uD83E\uDD28\uD83D\uDE36\uD83E\uDD1D\uD83D\uDEB6\uD83D\uDCB0\uD83C\uDF53\uD83D\uDCA2\uD83E\uDD1F\uD83D\uDE41\uD83D\uDEA8\uD83D\uDCA8\uD83E\uDD2C✈\uD83C\uDF80\uD83C\uDF7A\uD83E\uDD13\uD83D\uDE19\uD83D\uDC9F\uD83C\uDF31\uD83D\uDE16\uD83D\uDC76\uD83E\uDD74▶➡❓\uD83D\uDC8E\uD83D\uDCB8⬇\uD83D\uDE28\uD83C\uDF1A\uD83E\uDD8B\uD83D\uDE37\uD83D\uDD7A⚠\uD83D\uDE45\uD83D\uDE1F\uD83D\uDE35\uD83D\uDC4E\uD83E\uDD32\uD83E\uDD20\uD83E\uDD27\uD83D\uDCCC\uD83D\uDD35\uD83D\uDC85\uD83E\uDDD0\uD83D\uDC3E\uD83C\uDF52\uD83D\uDE17\uD83E\uDD11\uD83C\uDF0A\uD83E\uDD2F\uD83D\uDC37☎\uD83D\uDCA7\uD83D\uDE2F\uD83D\uDC86\uD83D\uDC46\uD83C\uDFA4\uD83D\uDE47\uD83C\uDF51❄\uD83C\uDF34\uD83D\uDCA3\uD83D\uDC38\uD83D\uDC8C\uD83D\uDCCD\uD83E\uDD40\uD83E\uDD22\uD83D\uDC45\uD83D\uDCA1\uD83D\uDCA9\uD83D\uDC50\uD83D\uDCF8\uD83D\uDC7B\uD83E\uDD10\uD83E\uDD2E\uD83C\uDFBC\uD83E\uDD75\uD83D\uDEA9\uD83C\uDF4E\uD83C\uDF4A\uD83D\uDC7C\uD83D\uDC8D\uD83D\uDCE3\uD83E\uDD42"),ez=eZ.reduce((_,C,L)=>(_[L]=C,_),[]),eU=eZ.reduce((_,C,L)=>(_[C.codePointAt(0)]=L,_),[]),e$=from({prefix:"\uD83D\uDE80",name:"base256emoji",encode:function(_){return _.reduce((_,C)=>_+=ez[C],"")},decode:function(_){let C=[];for(let L of _){let _=eU[L.codePointAt(0)];if(void 0===_)throw Error(`Non-base256emoji character: ${L}`);C.push(_)}return new Uint8Array(C)}});function varint_encode(_,C,L){C=C||[];for(var Z=L=L||0;_>=2147483648;)C[L++]=255&_|128,_/=128;for(;-128&_;)C[L++]=255&_|128,_>>>=7;return C[L]=0|_,varint_encode.bytes=L-Z+1,C}function read(_,C){var L,Z=0,C=C||0,ea=0,es=C,eo=_.length;do{if(es>=eo)throw read.bytes=0,RangeError("Could not decode varint");L=_[es++],Z+=ea<28?(127&L)<<ea:(127&L)*Math.pow(2,ea),ea+=7}while(L>=128);return read.bytes=es-C,Z}var eV={encode:varint_encode,decode:read,encodingLength:function(_){return _<128?1:_<16384?2:_<2097152?3:_<268435456?4:_<34359738368?5:_<4398046511104?6:_<562949953421312?7:_<72057594037927940?8:_<0x7fffffffffffffff?9:10}};let src_varint_decode=(_,C=0)=>{let L=eV.decode(_,C);return[L,eV.decode.bytes]},encodeTo=(_,C,L=0)=>(eV.encode(_,C,L),C),encodingLength=_=>eV.encodingLength(_),create=(_,C)=>{let L=C.byteLength,Z=encodingLength(_),ea=Z+encodingLength(L),es=new Uint8Array(ea+L);return encodeTo(_,es,0),encodeTo(L,es,Z),es.set(C,ea),new Digest(_,L,C,es)},digest_decode=_=>{let C=coerce(_),[L,Z]=src_varint_decode(C),[ea,es]=src_varint_decode(C.subarray(Z)),eo=C.subarray(Z+es);if(eo.byteLength!==ea)throw Error("Incorrect length");return new Digest(L,ea,eo,C)},digest_equals=(_,C)=>_===C||_.code===C.code&&_.size===C.size&&equals(_.bytes,C.bytes);
3099let Digest=class Digest{constructor(_,C,L,Z){this.code=_,this.size=C,this.digest=L,this.bytes=Z}};let hasher_from=({name:_,code:C,encode:L})=>new Hasher(_,C,L);let Hasher=class Hasher{constructor(_,C,L){this.name=_,this.code=C,this.encode=L}digest(_){if(_ instanceof Uint8Array){let C=this.encode(_);return C instanceof Uint8Array?create(this.code,C):C.then(_=>create(this.code,_))}throw Error("Unknown type, must be binary type")}};let sha=_=>async C=>new Uint8Array(await crypto.subtle.digest(_,C)),eW=hasher_from({name:"sha2-256",code:18,encode:sha("SHA-256")}),eH=hasher_from({name:"sha2-512",code:19,encode:sha("SHA-512")}),eG={code:0,name:"identity",encode:coerce,digest:_=>create(0,coerce(_))},eK="raw",eX=85,raw_encode=_=>coerce(_),raw_decode=_=>coerce(_),eY=new TextEncoder,eQ=new TextDecoder,eJ="json",e1=512,json_encode=_=>eY.encode(JSON.stringify(_)),json_decode=_=>JSON.parse(eQ.decode(_));let CID=class CID{constructor(_,C,L,Z){this.code=C,this.version=_,this.multihash=L,this.bytes=Z,this.byteOffset=Z.byteOffset,this.byteLength=Z.byteLength,this.asCID=this,this._baseCache=new Map,Object.defineProperties(this,{byteOffset:e3,byteLength:e3,code:e6,version:e6,multihash:e6,bytes:e6,_baseCache:e3,asCID:e3})}toV0(){if(0===this.version)return this;{let{code:_,multihash:C}=this;if(_!==e0)throw Error("Cannot convert a non dag-pb CID to CIDv0");if(C.code!==e2)throw Error("Cannot convert non sha2-256 multihash CID to CIDv0");return CID.createV0(C)}}toV1(){switch(this.version){case 0:{let{code:_,digest:C}=this.multihash,L=create(_,C);return CID.createV1(this.code,L)}case 1:return this;default:throw Error(`Can not convert CID version ${this.version} to version 0. This is a bug please report`)}}equals(_){return _&&this.code===_.code&&this.version===_.version&&digest_equals(this.multihash,_.multihash)}toString(_){let{bytes:C,version:L,_baseCache:Z}=this;return 0===L?toStringV0(C,Z,_||eP.encoder):toStringV1(C,Z,_||eT.encoder)}toJSON(){return{code:this.code,version:this.version,hash:this.multihash.bytes}}get[Symbol.toStringTag](){return"CID"}[Symbol.for("nodejs.util.inspect.custom")](){return"CID("+this.toString()+")"}static isCID(_){return deprecate(/^0\.0/,e4),!!(_&&(_[e5]||_.asCID===_))}get toBaseEncodedString(){throw Error("Deprecated, use .toString()")}get codec(){throw Error('"codec" property is deprecated, use integer "code" property instead')}get buffer(){throw Error("Deprecated .buffer property, use .bytes to get Uint8Array instead")}get multibaseName(){throw Error('"multibaseName" property is deprecated')}get prefix(){throw Error('"prefix" property is deprecated')}static asCID(_){if(_ instanceof CID)return _;if(null!=_&&_.asCID===_){let{version:C,code:L,multihash:Z,bytes:ea}=_;return new CID(C,L,Z,ea||encodeCID(C,L,Z.bytes))}if(null==_||!0!==_[e5])return null;{let{version:C,multihash:L,code:Z}=_,ea=digest_decode(L);return CID.create(C,Z,ea)}}static create(_,C,L){if("number"!=typeof C)throw Error("String codecs are no longer supported");switch(_){case 0:if(C===e0)return new CID(_,C,L,L.bytes);throw Error(`Version 0 CID must use dag-pb (code: ${e0}) block encoding`);case 1:{let Z=encodeCID(_,C,L.bytes);return new CID(_,C,L,Z)}default:throw Error("Invalid version")}}static createV0(_){return CID.create(0,e0,_)}static createV1(_,C){return CID.create(1,_,C)}static decode(_){let[C,L]=CID.decodeFirst(_);if(L.length)throw Error("Incorrect length");return C}static decodeFirst(_){let C=CID.inspectBytes(_),L=C.size-C.multihashSize,Z=coerce(_.subarray(L,L+C.multihashSize));if(Z.byteLength!==C.multihashSize)throw Error("Incorrect length");let ea=Z.subarray(C.multihashSize-C.digestSize),es=new Digest(C.multihashCode,C.digestSize,ea,Z),eo=0===C.version?CID.createV0(es):CID.createV1(C.codec,es);return[eo,_.subarray(C.size)]}static inspectBytes(_){let C=0,next=()=>{let[L,Z]=src_varint_decode(_.subarray(C));return C+=Z,L},L=next(),Z=e0;if(18===L?(L=0,C=0):1===L&&(Z=next()),0!==L&&1!==L)throw RangeError(`Invalid CID version ${L}`);let ea=C,es=next(),eo=next(),el=C+eo;return{version:L,codec:Z,multihashCode:es,digestSize:eo,multihashSize:el-ea,size:el}}static parse(_,C){let[L,Z]=parseCIDtoBytes(_,C),ea=CID.decode(Z);return ea._baseCache.set(L,_),ea}};let parseCIDtoBytes=(_,C)=>{switch(_[0]){case"Q":return[eP.prefix,(C||eP).decode(`${eP.prefix}${_}`)];case eP.prefix:return[eP.prefix,(C||eP).decode(_)];case eT.prefix:return[eT.prefix,(C||eT).decode(_)];default:if(null==C)throw Error("To parse non base32 or base58btc encoded CID multibase decoder must be provided");return[_[0],C.decode(_)]}},toStringV0=(_,C,L)=>{let{prefix:Z}=L;
3099if(Z!==eP.prefix)throw Error(`Cannot string encode V0 in ${L.name} encoding`);let ea=C.get(Z);if(null!=ea)return ea;{let ea=L.encode(_).slice(1);return C.set(Z,ea),ea}},toStringV1=(_,C,L)=>{let{prefix:Z}=L,ea=C.get(Z);if(null!=ea)return ea;{let ea=L.encode(_);return C.set(Z,ea),ea}},e0=112,e2=18,encodeCID=(_,C,L)=>{let Z=encodingLength(_),ea=Z+encodingLength(C),es=new Uint8Array(ea+L.byteLength);return encodeTo(_,es,0),encodeTo(C,es,Z),es.set(L,ea),es},e5=Symbol.for("@ipld/js-cid/CID"),e6={writable:!1,configurable:!1,enumerable:!0},e3={writable:!1,enumerable:!1,configurable:!1},deprecate=(_,C)=>{if(_.test("0.0.0-dev"))console.warn(C);else throw Error(C)},e4=`CID.isCID(v) is deprecated and will be removed in the next major release.
3100Following code pattern:
3101
3102if (CID.isCID(value)) {
3103  doSomethingWithCID(value)
3104}
3105
3106Is replaced with:
3107
3108const cid = CID.asCID(value)
3109if (cid) {
3110  // Make sure to use cid instead of value
3111  doSomethingWithCID(cid)
3112}
3113`,e8={...Z,...ea,...es,...eo,...el,...eu,...ec,...ed,...eh,...ep};({...ef,...em});var e9=L(79807);function createCodec(_,C,L,Z){return{name:_,prefix:C,encoder:{name:_,prefix:C,encode:L},decoder:{decode:Z}}}let e7=createCodec("utf8","u",_=>{let C=new TextDecoder("utf8");return"u"+C.decode(_)},_=>{let C=new TextEncoder;return C.encode(_.substring(1))}),tr=createCodec("ascii","a",_=>{let C="a";for(let L=0;L<_.length;L++)C+=String.fromCharCode(_[L]);return C},_=>{_=_.substring(1);let C=(0,e9.E)(_.length);for(let L=0;L<_.length;L++)C[L]=_.charCodeAt(L);return C}),ta={utf8:e7,"utf-8":e7,hex:e8.base16,latin1:tr,ascii:tr,binary:tr,...e8};var to=ta},94280:function(_,C,L){"use strict";L.d(C,{XR:function(){return subscribeWithSelector},tJ:function(){return persist}});let subscribeWithSelector=_=>(C,L,Z)=>{let ea=Z.subscribe;Z.subscribe=(_,C,L)=>{let es=_;if(C){let ea=(null==L?void 0:L.equalityFn)||Object.is,eo=_(Z.getState());es=L=>{let Z=_(L);if(!ea(eo,Z)){let _=eo;
3113C(eo=Z,_)}},(null==L?void 0:L.fireImmediately)&&C(eo,eo)}return ea(es)};let es=_(C,L,Z);return es},toThenable=_=>C=>{try{let L=_(C);if(L instanceof Promise)return L;return{then:_=>toThenable(_)(L),catch(_){return this}}}catch(_){return{then(_){return this},catch:C=>toThenable(C)(_)}}},oldImpl=(_,C)=>(L,Z,ea)=>{let es,eo,el={getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:_=>_,version:0,merge:(_,C)=>({...C,..._}),...C},eu=!1,ec=new Set,ed=new Set;try{es=el.getStorage()}catch(_){}if(!es)return _((..._)=>{console.warn(`[zustand persist middleware] Unable to update item '${el.name}', the given storage is currently unavailable.`),L(..._)},Z,ea);let eh=toThenable(el.serialize),setItem=()=>{let _;let C=el.partialize({...Z()}),L=eh({state:C,version:el.version}).then(_=>es.setItem(el.name,_)).catch(C=>{_=C});if(_)throw _;return L},ep=ea.setState;ea.setState=(_,C)=>{ep(_,C),setItem()};let ef=_((..._)=>{L(..._),setItem()},Z,ea),hydrate=()=>{var _;if(!es)return;eu=!1,ec.forEach(_=>_(Z()));let C=(null==(_=el.onRehydrateStorage)?void 0:_.call(el,Z()))||void 0;return toThenable(es.getItem.bind(es))(el.name).then(_=>{if(_)return el.deserialize(_)}).then(_=>{if(_){if("number"!=typeof _.version||_.version===el.version)return _.state;if(el.migrate)return el.migrate(_.state,_.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}}).then(_=>{var C;return L(eo=el.merge(_,null!=(C=Z())?C:ef),!0),setItem()}).then(()=>{null==C||C(eo,void 0),eu=!0,ed.forEach(_=>_(eo))}).catch(_=>{null==C||C(void 0,_)})};return ea.persist={setOptions:_=>{el={...el,..._},_.getStorage&&(es=_.getStorage())},clearStorage:()=>{null==es||es.removeItem(el.name)},getOptions:()=>el,rehydrate:()=>hydrate(),hasHydrated:()=>eu,onHydrate:_=>(ec.add(_),()=>{ec.delete(_)}),onFinishHydration:_=>(ed.add(_),()=>{ed.delete(_)})},hydrate(),eo||ef},newImpl=(_,C)=>(L,Z,ea)=>{let es,eo={storage:function(_,C){let L;try{L=_()}catch(_){return}return{getItem:_=>{var Z;let parse=_=>null===_?null:JSON.parse(_,null==C?void 0:C.reviver),ea=null!=(Z=L.getItem(_))?Z:null;return ea instanceof Promise?ea.then(parse):parse(ea)},setItem:(_,Z)=>L.setItem(_,JSON.stringify(Z,null==C?void 0:C.replacer)),removeItem:_=>L.removeItem(_)}}(()=>localStorage),partialize:_=>_,version:0,merge:(_,C)=>({...C,..._}),...C},el=!1,eu=new Set,ec=new Set,ed=eo.storage;if(!ed)return _((..._)=>{console.warn(`[zustand persist middleware] Unable to update item '${eo.name}', the given storage is currently unavailable.`),L(..._)},Z,ea);let setItem=()=>{let _=eo.partialize({...Z()});return ed.setItem(eo.name,{state:_,version:eo.version})},eh=ea.setState;ea.setState=(_,C)=>{eh(_,C),setItem()};let ep=_((..._)=>{L(..._),setItem()},Z,ea),hydrate=()=>{var _,C;if(!ed)return;el=!1,eu.forEach(_=>{var C;return _(null!=(C=Z())?C:ep)});let ea=(null==(C=eo.onRehydrateStorage)?void 0:C.call(eo,null!=(_=Z())?_:ep))||void 0;return toThenable(ed.getItem.bind(ed))(eo.name).then(_=>{if(_){if("number"!=typeof _.version||_.version===eo.version)return _.state;if(eo.migrate)return eo.migrate(_.state,_.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}}).then(_=>{var C;return L(es=eo.merge(_,null!=(C=Z())?C:ep),!0),setItem()}).then(()=>{null==ea||ea(es,void 0),es=Z(),el=!0,ec.forEach(_=>_(es))}).catch(_=>{null==ea||ea(void 0,_)})};return ea.persist={setOptions:_=>{eo={...eo,..._},_.storage&&(ed=_.storage)},clearStorage:()=>{null==ed||ed.removeItem(eo.name)},getOptions:()=>eo,rehydrate:()=>hydrate(),hasHydrated:()=>el,onHydrate:_=>(eu.add(_),()=>{eu.delete(_)}),onFinishHydration:_=>(ec.add(_),()=>{ec.delete(_)})},eo.skipHydration||hydrate(),es||ep},persist=(_,C)=>"getStorage"in C||"serialize"in C||"deserialize"in C?(console.warn("[DEPRECATED] `getStorage`, `serialize` and `deserialize` options are deprecated. Use `storage` option instead."),oldImpl(_,C)):newImpl(_,C)},6660:function(_,C,L){"use strict";function shallow$1(_,C){if(Object.is(_,C))return!0;if("object"!=typeof _||null===_||"object"!=typeof C||null===C)return!1;if(_ instanceof Map&&C instanceof Map){if(_.size!==C.size)return!1;for(let[L,Z]of _)if(!Object.is(Z,C.get(L)))return!1;return!0}if(_ instanceof Set&&C instanceof Set){if(_.size!==C.size)return!1;for(let L of _)if(!C.has(L))return!1;return!0}let L=Object.keys(_);if(L.length!==Object.keys(C).length)return!1;for(let Z=0;Z<L.length;Z++)if(!Object.prototype.hasOwnProperty.call(C,L[Z])||!Object.is(_[L[Z]],C[L[Z]]))return!1;return!0}L.d(C,{X:function(){return shallow$1}})},91825:function(_,C,L){"use strict";L.d(C,{M:function(){return createStore}});let createStoreImpl=_=>{let C;let L=new Set,setState=(_,Z)=>{let ea="function"==typeof _?_(C):_;if(!Object.is(ea,C)){let _=C;C=(null!=Z?Z:"object"!=typeof ea||null===ea)?ea:Object.assign({}
3113,C,ea),L.forEach(L=>L(C,_))}},getState=()=>C,Z={setState,getState,subscribe:_=>(L.add(_),()=>L.delete(_)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),L.clear()}};return C=_(setState,getState,Z),Z},createStore=_=>_?createStoreImpl(_):createStoreImpl}},function(_){var __webpack_exec__=function(C){return _(_.s=C)};_.O(0,[9774,6723,179],function(){return __webpack_exec__(47109),__webpack_exec__(14001),__webpack_exec__(91096)}),_N_E=_.O()}]);
3114//# sourceMappingURL=_app-c47839ff7690a247.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.