mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 17:35:16 +00:00
26 lines
195 KiB
JavaScript
26 lines
195 KiB
JavaScript
(function (global, factory) {
|
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.RTK = {}));
|
|
}(this, (function (exports) { 'use strict';
|
|
|
|
var e;exports.QueryStatus = void 0;var n,r,a,o=undefined&&undefined.__extends||(e=function(t,n){return (e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t;}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);})(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t;}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r);}),u=undefined&&undefined.__generator||function(e,t){var n,r,a,o,u={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function i(o){return function(i){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(a=2&o[0]?r.return:o[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,o[1])).done)return a;switch(r=0,a&&(o=[2&o[0],a.value]),o[0]){case 0:case 1:a=o;break;case 4:return u.label++,{value:o[1],done:!1};case 5:u.label++,r=o[1],o=[0];continue;case 7:o=u.ops.pop(),u.trys.pop();continue;default:if(!((a=(a=u.trys).length>0&&a[a.length-1])||6!==o[0]&&2!==o[0])){u=0;continue}if(3===o[0]&&(!a||o[1]>a[0]&&o[1]<a[3])){u.label=o[1];break}if(6===o[0]&&u.label<a[1]){u.label=a[1],a=o;break}if(a&&u.label<a[2]){u.label=a[2],u.ops.push(o);break}a[2]&&u.ops.pop(),u.trys.pop();continue}o=t.call(e,u);}catch(e){o=[6,e],r=0;}finally{n=a=0;}if(5&o[0])throw o[1];return {value:o[0]?o[1]:void 0,done:!0}}([o,i])}}},i=undefined&&undefined.__spreadArray||function(e,t){for(var n=0,r=t.length,a=e.length;n<r;n++,a++)e[a]=t[n];return e},l=Object.create,c=Object.defineProperty,s=Object.defineProperties,f=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,v=Object.getPrototypeOf,y=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,g=function(e,t,n){return t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},b=function(e,t){for(var n in t||(t={}))y.call(t,n)&&g(e,n,t[n]);if(h)for(var r=0,a=h(t);r<a.length;r++)m.call(t,n=a[r])&&g(e,n,t[n]);return e},w=function(e,t){return s(e,d(t))},k=function(e,t){var n={};for(var r in e)y.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&h)for(var a=0,o=h(e);a<o.length;a++)t.indexOf(r=o[a])<0&&m.call(e,r)&&(n[r]=e[r]);return n},S=function(e,t){return function(){return t||(0, e[Object.keys(e)[0]])((t={exports:{}}).exports,t),t.exports}},E=function(e){return function(e,t,n){if(t&&"object"==typeof t||"function"==typeof t)for(var r=function(r){y.call(e,r)||"default"===r||c(e,r,{get:function(){return t[r]},enumerable:!(n=f(t,r))||n.enumerable});},a=0,o=p(t);a<o.length;a++)r(o[a]);return e}((t=c(null!=e?l(v(e)):{},"default",e&&e.__esModule&&"default"in e?{get:function(){return e.default},enumerable:!0}:{value:e,enumerable:!0}),c(t,"__esModule",{value:!0})),e);var t;},x=function(e,t,n){return new Promise((function(r,a){var o=function(e){try{i(n.next(e));}catch(e){a(e);}},u=function(e){try{i(n.throw(e));}catch(e){a(e);}},i=function(e){return e.done?r(e.value):Promise.resolve(e.value).then(o,u)};i((n=n.apply(e,t)).next());}))},O=S({"../../node_modules/object-assign/index.js":function(e,t){var n=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}t.exports=function(){try{if(!Object.assign)return !1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return !1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return !1;var r={};return "abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e;})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return !1}}()?Object.assign:function(e,t){for(var u,i,l=o(e),c=1;c<arguments.length;c++){for(var s in u=Object(arguments[c]))r.call(u,s)&&(l[s]=u[s]);if(n){i=n(u);for(var f=0;f<i.length;f++)a.call(u,i[f])&&(l[i[f]]=u[i[f]]);}}return l};}}),_=S({"../../node_modules/react/cjs/react.production.min.js":function(e){var t=O(),n=60103,r=60106;e.Fragment=60107,e.StrictMode=60108,e.Profiler=60114;var a=60109,o=60110,u=60112;e.Suspense=60113;var i,l=60115,c=60116;"function"==typeof Symbol&&Symbol.for&&(i=Symbol.for,n=i("react.element"),r=i("react.portal"),e.Fragment=i("react.fragment"),e.StrictMode=i("react.strict_mode"),e.Profiler=i("react.profiler"),a=i("react.provider"),o=i("react.context"),u=i("react.forward_ref"),e.Suspense=i("react.suspense"),l=i("react.memo"),c=i("react.lazy"));var s="function"==typeof Symbol&&Symbol.iterator;function f(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return "Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var d={isMounted:function(){return !1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},p={};function h(e,t,n){this.props=e,this.context=t,this.refs=p,this.updater=n||d;}function v(){}function y(e,t,n){this.props=e,this.context=t,this.refs=p,this.updater=n||d;}h.prototype.isReactComponent={},h.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(f(85));this.updater.enqueueSetState(this,e,t,"setState");},h.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate");},v.prototype=h.prototype;var m=y.prototype=new v;m.constructor=y,t(m,h.prototype),m.isPureReactComponent=!0;var g={current:null},b=Object.prototype.hasOwnProperty,w={key:!0,ref:!0,__self:!0,__source:!0};function k(e,t,r){var a,o={},u=null,i=null;if(null!=t)for(a in void 0!==t.ref&&(i=t.ref),void 0!==t.key&&(u=""+t.key),t)b.call(t,a)&&!w.hasOwnProperty(a)&&(o[a]=t[a]);var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){for(var c=Array(l),s=0;s<l;s++)c[s]=arguments[s+2];o.children=c;}if(e&&e.defaultProps)for(a in l=e.defaultProps)void 0===o[a]&&(o[a]=l[a]);return {$$typeof:n,type:e,key:u,ref:i,props:o,_owner:g.current}}function S(e){return "object"==typeof e&&null!==e&&e.$$typeof===n}var E=/\/+/g;function x(e,t){return "object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return "$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function _(e,t,a,o,u){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var l=!1;if(null===e)l=!0;else switch(i){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0;}}if(l)return u=u(l=e),e=""===o?"."+x(l,0):o,Array.isArray(u)?(a="",null!=e&&(a=e.replace(E,"$&/")+"/"),_(u,t,a,"",(function(e){return e}))):null!=u&&(S(u)&&(u=function(e,t){return {$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(u,a+(!u.key||l&&l.key===u.key?"":(""+u.key).replace(E,"$&/")+"/")+e)),t.push(u)),1;if(l=0,o=""===o?".":o+":",Array.isArray(e))for(var c=0;c<e.length;c++){var d=o+x(i=e[c],c);l+=_(i,t,a,d,u);}else if("function"==typeof(d=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=s&&e[s]||e["@@iterator"])?e:null}(e)))for(e=d.call(e),c=0;!(i=e.next()).done;)l+=_(i=i.value,t,a,d=o+x(i,c++),u);else if("object"===i)throw t=""+e,Error(f(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return l}function C(e,t,n){if(null==e)return e;var r=[],a=0;return _(e,r,"","",(function(e){return t.call(n,e,a++)})),r}function P(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t);}),(function(t){0===e._status&&(e._status=2,e._result=t);}));}if(1===e._status)return e._result;throw e._result}var T={current:null};function N(){var e=T.current;if(null===e)throw Error(f(321));return e}var j={ReactCurrentDispatcher:T,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:g,IsSomeRendererActing:{current:!1},assign:t};e.Children={map:C,forEach:function(e,t,n){C(e,(function(){t.apply(this,arguments);}),n);},count:function(e){var t=0;return C(e,(function(){t++;})),t},toArray:function(e){return C(e,(function(e){return e}))||[]},only:function(e){if(!S(e))throw Error(f(143));return e}},e.Component=h,e.PureComponent=y,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=j,e.cloneElement=function(e,r,a){if(null==e)throw Error(f(267,e));var o=t({},e.props),u=e.key,i=e.ref,l=e._owner;if(null!=r){if(void 0!==r.ref&&(i=r.ref,l=g.current),void 0!==r.key&&(u=""+r.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(s in r)b.call(r,s)&&!w.hasOwnProperty(s)&&(o[s]=void 0===r[s]&&void 0!==c?c[s]:r[s]);}var s=arguments.length-2;if(1===s)o.children=a;else if(1<s){c=Array(s);for(var d=0;d<s;d++)c[d]=arguments[d+2];o.children=c;}return {$$typeof:n,type:e.type,key:u,ref:i,props:o,_owner:l}},e.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:o,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},e.createElement=k,e.createFactory=function(e){var t=k.bind(null,e);return t.type=e,t},e.createRef=function(){return {current:null}},e.forwardRef=function(e){return {$$typeof:u,render:e}},e.isValidElement=S,e.lazy=function(e){return {$$typeof:c,_payload:{_status:-1,_result:e},_init:P}},e.memo=function(e,t){return {$$typeof:l,type:e,compare:void 0===t?null:t}},e.useCallback=function(e,t){return N().useCallback(e,t)},e.useContext=function(e,t){return N().useContext(e,t)},e.useDebugValue=function(){},e.useEffect=function(e,t){return N().useEffect(e,t)},e.useImperativeHandle=function(e,t,n){return N().useImperativeHandle(e,t,n)},e.useLayoutEffect=function(e,t){return N().useLayoutEffect(e,t)},e.useMemo=function(e,t){return N().useMemo(e,t)},e.useReducer=function(e,t,n){return N().useReducer(e,t,n)},e.useRef=function(e){return N().useRef(e)},e.useState=function(e){return N().useState(e)},e.version="17.0.2";}}),C=S({"../../node_modules/react/index.js":function(e,t){t.exports=_();}}),P=S({"../../node_modules/prop-types/lib/ReactPropTypesSecret.js":function(e,t){t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";}}),T=S({"../../node_modules/prop-types/factoryWithThrowingShims.js":function(e,t){var n=P();function r(){}function a(){}a.resetWarningCache=r,t.exports=function(){function e(e,t,r,a,o,u){if(u!==n){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var o={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:r};return o.PropTypes=o,o};}}),N=S({"../../node_modules/prop-types/index.js":function(e,t){t.exports=T()();}}),j=S({"../../node_modules/react-is/cjs/react-is.production.min.js":function(e){var t="function"==typeof Symbol&&Symbol.for,n=t?Symbol.for("react.element"):60103,r=t?Symbol.for("react.portal"):60106,a=t?Symbol.for("react.fragment"):60107,o=t?Symbol.for("react.strict_mode"):60108,u=t?Symbol.for("react.profiler"):60114,i=t?Symbol.for("react.provider"):60109,l=t?Symbol.for("react.context"):60110,c=t?Symbol.for("react.async_mode"):60111,s=t?Symbol.for("react.concurrent_mode"):60111,f=t?Symbol.for("react.forward_ref"):60112,d=t?Symbol.for("react.suspense"):60113,p=t?Symbol.for("react.suspense_list"):60120,h=t?Symbol.for("react.memo"):60115,v=t?Symbol.for("react.lazy"):60116,y=t?Symbol.for("react.block"):60121,m=t?Symbol.for("react.fundamental"):60117,g=t?Symbol.for("react.responder"):60118,b=t?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case c:case s:case a:case u:case o:case d:return e;default:switch(e=e&&e.$$typeof){case l:case f:case v:case h:case i:return e;default:return t}}case r:return t}}}function k(e){return w(e)===s}e.AsyncMode=c,e.ConcurrentMode=s,e.ContextConsumer=l,e.ContextProvider=i,e.Element=n,e.ForwardRef=f,e.Fragment=a,e.Lazy=v,e.Memo=h,e.Portal=r,e.Profiler=u,e.StrictMode=o,e.Suspense=d,e.isAsyncMode=function(e){return k(e)||w(e)===c},e.isConcurrentMode=k,e.isContextConsumer=function(e){return w(e)===l},e.isContextProvider=function(e){return w(e)===i},e.isElement=function(e){return "object"==typeof e&&null!==e&&e.$$typeof===n},e.isForwardRef=function(e){return w(e)===f},e.isFragment=function(e){return w(e)===a},e.isLazy=function(e){return w(e)===v},e.isMemo=function(e){return w(e)===h},e.isPortal=function(e){return w(e)===r},e.isProfiler=function(e){return w(e)===u},e.isStrictMode=function(e){return w(e)===o},e.isSuspense=function(e){return w(e)===d},e.isValidElementType=function(e){return "string"==typeof e||"function"==typeof e||e===a||e===s||e===u||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===h||e.$$typeof===i||e.$$typeof===l||e.$$typeof===f||e.$$typeof===m||e.$$typeof===g||e.$$typeof===b||e.$$typeof===y)},e.typeOf=w;}}),R=S({"../../node_modules/react-is/index.js":function(e,t){t.exports=j();}}),z=S({"../../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js":function(e,t){var n=R(),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};function i(e){return n.isMemo(e)?o:u[e.$$typeof]||r}u[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},u[n.Memo]=o;var l=Object.defineProperty,c=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,p=Object.prototype;t.exports=function e(t,n,r){if("string"!=typeof n){if(p){var o=d(n);o&&o!==p&&e(t,o,r);}var u=c(n);s&&(u=u.concat(s(n)));for(var h=i(t),v=i(n),y=0;y<u.length;++y){var m=u[y];if(!(a[m]||r&&r[m]||v&&v[m]||h&&h[m])){var g=f(n,m);try{l(t,m,g);}catch(e){}}}}return t};}}),L=S({"../../node_modules/scheduler/cjs/scheduler.production.min.js":function(e){var t,n,r,a,o,u,i,l,c,s,f,d,p,h,v,y,m,g,b,w;function k(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,a=e[r];if(!(void 0!==a&&0<x(a,t)))break e;e[r]=t,e[n]=a,n=r;}}function S(e){return void 0===(e=e[0])?null:e}function E(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length;r<a;){var o=2*(r+1)-1,u=e[o],i=o+1,l=e[i];if(void 0!==u&&0>x(u,n))void 0!==l&&0>x(l,u)?(e[r]=l,e[i]=n,r=i):(e[r]=u,e[o]=n,r=o);else {if(!(void 0!==l&&0>x(l,n)))break e;e[r]=l,e[i]=n,r=i;}}}return t}return null}function x(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}"object"==typeof performance&&"function"==typeof performance.now?(o=performance,e.unstable_now=function(){return o.now()}):(u=Date,i=u.now(),e.unstable_now=function(){return u.now()-i}),"undefined"==typeof window||"function"!=typeof MessageChannel?(l=null,c=null,s=function(){if(null!==l)try{var t=e.unstable_now();l(!0,t),l=null;}catch(e){throw setTimeout(s,0),e}},t=function(e){null!==l?setTimeout(t,0,e):(l=e,setTimeout(s,0));},n=function(e,t){c=setTimeout(e,t);},r=function(){clearTimeout(c);},e.unstable_shouldYield=function(){return !1},a=e.unstable_forceFrameRate=function(){}):(f=window.setTimeout,d=window.clearTimeout,"undefined"!=typeof console&&(p=window.cancelAnimationFrame,"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof p&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")),h=!1,v=null,y=-1,m=5,g=0,e.unstable_shouldYield=function(){return e.unstable_now()>=g},a=function(){},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):m=0<e?Math.floor(1e3/e):5;},b=new MessageChannel,w=b.port2,b.port1.onmessage=function(){if(null!==v){var t=e.unstable_now();g=t+m;try{v(!0,t)?w.postMessage(null):(h=!1,v=null);}catch(e){throw w.postMessage(null),e}}else h=!1;},t=function(e){v=e,h||(h=!0,w.postMessage(null));},n=function(t,n){y=f((function(){t(e.unstable_now());}),n);},r=function(){d(y),y=-1;});var O=[],_=[],C=1,P=null,T=3,N=!1,j=!1,R=!1;function z(e){for(var t=S(_);null!==t;){if(null===t.callback)E(_);else {if(!(t.startTime<=e))break;E(_),t.sortIndex=t.expirationTime,k(O,t);}t=S(_);}}function L(e){if(R=!1,z(e),!j)if(null!==S(O))j=!0,t(M);else {var r=S(_);null!==r&&n(L,r.startTime-e);}}function M(t,a){j=!1,R&&(R=!1,r()),N=!0;var o=T;try{for(z(a),P=S(O);null!==P&&(!(P.expirationTime>a)||t&&!e.unstable_shouldYield());){var u=P.callback;if("function"==typeof u){P.callback=null,T=P.priorityLevel;var i=u(P.expirationTime<=a);a=e.unstable_now(),"function"==typeof i?P.callback=i:P===S(O)&&E(O),z(a);}else E(O);P=S(O);}if(null!==P)var l=!0;else {var c=S(_);null!==c&&n(L,c.startTime-a),l=!1;}return l}finally{P=null,T=o,N=!1;}}var A=a;e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null;},e.unstable_continueExecution=function(){j||N||(j=!0,t(M));},e.unstable_getCurrentPriorityLevel=function(){return T},e.unstable_getFirstCallbackNode=function(){return S(O)},e.unstable_next=function(e){switch(T){case 1:case 2:case 3:var t=3;break;default:t=T;}var n=T;T=t;try{return e()}finally{T=n;}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=A,e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3;}var n=T;T=e;try{return t()}finally{T=n;}},e.unstable_scheduleCallback=function(a,o,u){var i=e.unstable_now();switch(u="object"==typeof u&&null!==u&&"number"==typeof(u=u.delay)&&0<u?i+u:i,a){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3;}return a={id:C++,callback:o,priorityLevel:a,startTime:u,expirationTime:l=u+l,sortIndex:-1},u>i?(a.sortIndex=u,k(_,a),null===S(O)&&a===S(_)&&(R?r():R=!0,n(L,u-i))):(a.sortIndex=l,k(O,a),j||N||(j=!0,t(M))),a},e.unstable_wrapCallback=function(e){var t=T;return function(){var n=T;T=t;try{return e.apply(this,arguments)}finally{T=n;}}};}}),M=S({"../../node_modules/scheduler/index.js":function(e,t){t.exports=L();}}),A=S({"../../node_modules/react-dom/cjs/react-dom.production.min.js":function(e){var t=C(),n=O(),r=M();function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return "Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!t)throw Error(a(227));var o=new Set,u={};function i(e,t){l(e,t),l(e+"Capture",t);}function l(e,t){for(u[e]=t,e=0;e<t.length;e++)o.add(t[e]);}var c=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),s=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,f=Object.prototype.hasOwnProperty,d={},p={};function h(e,t,n,r,a,o,u){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=u;}var v={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){v[e]=new h(e,0,!1,e,null,!1,!1);})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];v[t]=new h(t,1,!1,e[1],null,!1,!1);})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){v[e]=new h(e,2,!1,e.toLowerCase(),null,!1,!1);})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){v[e]=new h(e,2,!1,e,null,!1,!1);})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){v[e]=new h(e,3,!1,e.toLowerCase(),null,!1,!1);})),["checked","multiple","muted","selected"].forEach((function(e){v[e]=new h(e,3,!0,e,null,!1,!1);})),["capture","download"].forEach((function(e){v[e]=new h(e,4,!1,e,null,!1,!1);})),["cols","rows","size","span"].forEach((function(e){v[e]=new h(e,6,!1,e,null,!1,!1);})),["rowSpan","start"].forEach((function(e){v[e]=new h(e,5,!1,e.toLowerCase(),null,!1,!1);}));var y=/[\-:]([a-z])/g;function m(e){return e[1].toUpperCase()}function g(e,t,n,r){var a=v.hasOwnProperty(t)?v[t]:null;(null!==a?0===a.type:!r&&2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1]))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return !1;switch(typeof t){case"function":case"symbol":return !0;case"boolean":return !r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return !1}}(e,t,n,r))return !0;if(r)return !1;if(null!==n)switch(n.type){case 3:return !t;case 4:return !1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return !1}(t,n,a,r)&&(n=null),r||null===a?function(e){return !!f.call(p,e)||!f.call(d,e)&&(s.test(e)?p[e]=!0:(d[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))));}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(y,m);v[t]=new h(t,1,!1,e,null,!1,!1);})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(y,m);v[t]=new h(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1);})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(y,m);v[t]=new h(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1);})),["tabIndex","crossOrigin"].forEach((function(e){v[e]=new h(e,1,!1,e.toLowerCase(),null,!1,!1);})),v.xlinkHref=new h("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){v[e]=new h(e,1,!1,e.toLowerCase(),null,!0,!0);}));var b,w=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,k=60103,S=60106,E=60107,x=60108,_=60114,P=60109,T=60110,N=60112,j=60113,R=60120,z=60115,L=60116,A=60121,I=60128,D=60129,F=60130,q=60131;"function"==typeof Symbol&&Symbol.for&&(b=Symbol.for,k=b("react.element"),S=b("react.portal"),E=b("react.fragment"),x=b("react.strict_mode"),_=b("react.profiler"),P=b("react.provider"),T=b("react.context"),N=b("react.forward_ref"),j=b("react.suspense"),R=b("react.suspense_list"),z=b("react.memo"),L=b("react.lazy"),A=b("react.block"),b("react.scope"),I=b("react.opaque.id"),D=b("react.debug_trace_mode"),F=b("react.offscreen"),q=b("react.legacy_hidden"));var U,Q="function"==typeof Symbol&&Symbol.iterator;function $(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Q&&e[Q]||e["@@iterator"])?e:null}function V(e){if(void 0===U)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);U=t&&t[1]||"";}return "\n"+U+e}var W=!1;function B(e,t){if(!e||W)return "";W=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[]);}catch(e){var r=e;}Reflect.construct(e,[],t);}else {try{t.call();}catch(e){r=e;}e.call(t.prototype);}else {try{throw Error()}catch(e){r=e;}e();}}catch(e){if(e&&r&&"string"==typeof e.stack){for(var a=e.stack.split("\n"),o=r.stack.split("\n"),u=a.length-1,i=o.length-1;1<=u&&0<=i&&a[u]!==o[i];)i--;for(;1<=u&&0<=i;u--,i--)if(a[u]!==o[i]){if(1!==u||1!==i)do{if(u--,0>--i||a[u]!==o[i])return "\n"+a[u].replace(" at new "," at ")}while(1<=u&&0<=i);break}}}finally{W=!1,Error.prepareStackTrace=n;}return (e=e?e.displayName||e.name:"")?V(e):""}function H(e){switch(e.tag){case 5:return V(e.type);case 16:return V("Lazy");case 13:return V("Suspense");case 19:return V("SuspenseList");case 0:case 2:case 15:return B(e.type,!1);case 11:return B(e.type.render,!1);case 22:return B(e.type._render,!1);case 1:return B(e.type,!0);default:return ""}}function K(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case E:return "Fragment";case S:return "Portal";case _:return "Profiler";case x:return "StrictMode";case j:return "Suspense";case R:return "SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case T:return (e.displayName||"Context")+".Consumer";case P:return (e._context.displayName||"Context")+".Provider";case N:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case z:return K(e.type);case A:return K(e._render);case L:t=e._payload,e=e._init;try{return K(e(t))}catch(e){}}return null}function Y(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return ""}}function X(e){var t=e.type;return (e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function G(e){e._valueTracker||(e._valueTracker=function(e){var t=X(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,o.call(this,e);}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e;},stopTracking:function(){e._valueTracker=null,delete e[t];}}}}(e));}function J(e){if(!e)return !1;var t=e._valueTracker;if(!t)return !0;var n=t.getValue(),r="";return e&&(r=X(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Z(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function ee(e,t){var r=t.checked;return n({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:e._wrapperState.initialChecked})}function te(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=Y(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value};}function ne(e,t){null!=(t=t.checked)&&g(e,"checked",t,!1);}function re(e,t){ne(e,t);var n=Y(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?oe(e,t.type,n):t.hasOwnProperty("defaultValue")&&oe(e,t.type,Y(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked);}function ae(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(("submit"===r||"reset"===r)&&null==t.value)return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t;}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n);}function oe(e,t,n){"number"===t&&Z(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n));}function ue(e,r){return e=n({children:void 0},r),(r=function(e){var n="";return t.Children.forEach(e,(function(e){null!=e&&(n+=e);})),n}(r.children))&&(e.children=r),e}function ie(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0);}else {for(n=""+Y(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a]);}null!==t&&(t.selected=!0);}}function le(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return n({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ce(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0];}t=n;}null==t&&(t=""),n=t;}e._wrapperState={initialValue:Y(n)};}function se(e,t){var n=Y(t.value),r=Y(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r);}function fe(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t);}var de,pe="http://www.w3.org/1999/xhtml";function he(e){switch(e){case"svg":return "http://www.w3.org/2000/svg";case"math":return "http://www.w3.org/1998/Math/MathML";default:return "http://www.w3.org/1999/xhtml"}}function ve(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?he(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ye,me=(ye=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else {for((de=de||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=de.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild);}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ye(e,t)}));}:ye);function ge(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t;}var be={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},we=["Webkit","ms","Moz","O"];function ke(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||be.hasOwnProperty(e)&&be[e]?(""+t).trim():t+"px"}function Se(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=ke(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a;}}Object.keys(be).forEach((function(e){we.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),be[t]=be[e];}));}));var Ee=n({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function xe(e,t){if(t){if(Ee[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62))}}function Oe(e,t){if(-1===e.indexOf("-"))return "string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return !1;default:return !0}}function _e(e){return (e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Ce=null,Pe=null,Te=null;function Ne(e){if(e=ea(e)){if("function"!=typeof Ce)throw Error(a(280));var t=e.stateNode;t&&(t=na(t),Ce(e.stateNode,e.type,t));}}function je(e){Pe?Te?Te.push(e):Te=[e]:Pe=e;}function Re(){if(Pe){var e=Pe,t=Te;if(Te=Pe=null,Ne(e),t)for(e=0;e<t.length;e++)Ne(t[e]);}}function ze(e,t){return e(t)}function Le(e,t,n,r,a){return e(t,n,r,a)}function Me(){}var Ae=ze,Ie=!1,De=!1;function Fe(){null===Pe&&null===Te||(Me(),Re());}function qe(e,t){var n=e.stateNode;if(null===n)return null;var r=na(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1;}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}var Ue,Qe=!1;if(c)try{Ue={},Object.defineProperty(Ue,"passive",{get:function(){Qe=!0;}}),window.addEventListener("test",Ue,Ue),window.removeEventListener("test",Ue,Ue);}catch(ye){Qe=!1;}function $e(e,t,n,r,a,o,u,i,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c);}catch(e){this.onError(e);}}var Ve,We,Be,He,Ke=!1,Ye=null,Xe=!1,Ge=null,Je={onError:function(e){Ke=!0,Ye=e;}};function Ze(e,t,n,r,a,o,u,i,l){Ke=!1,Ye=null,$e.apply(Je,arguments);}function et(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else {e=t;do{0!=(1026&(t=e).flags)&&(n=t.return),e=t.return;}while(e)}return 3===t.tag?n:null}function tt(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function nt(e){if(et(e)!==e)throw Error(a(188))}function rt(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=et(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var u=o.alternate;if(null===u){if(null!==(r=o.return)){n=r;continue}break}if(o.child===u.child){for(u=o.child;u;){if(u===n)return nt(o),e;if(u===r)return nt(o),t;u=u.sibling;}throw Error(a(188))}if(n.return!==r.return)n=o,r=u;else {for(var i=!1,l=o.child;l;){if(l===n){i=!0,n=o,r=u;break}if(l===r){i=!0,r=o,n=u;break}l=l.sibling;}if(!i){for(l=u.child;l;){if(l===n){i=!0,n=u,r=o;break}if(l===r){i=!0,r=u,n=o;break}l=l.sibling;}if(!i)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else {if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return;}t.sibling.return=t.return,t=t.sibling;}}return null}function at(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return !0;t=t.return;}return !1}var ot=!1,ut=[],it=null,lt=null,ct=null,st=new Map,ft=new Map,dt=[],pt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function ht(e,t,n,r,a){return {blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:a,targetContainers:[r]}}function vt(e,t){switch(e){case"focusin":case"focusout":it=null;break;case"dragenter":case"dragleave":lt=null;break;case"mouseover":case"mouseout":ct=null;break;case"pointerover":case"pointerout":st.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ft.delete(t.pointerId);}}function yt(e,t,n,r,a,o){return null===e||e.nativeEvent!==o?(e=ht(t,n,r,a,o),null!==t&&null!==(t=ea(t))&&We(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function mt(e){var t=Zr(e.target);if(null!==t){var n=et(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=tt(n)))return e.blockedOn=t,void He(e.lanePriority,(function(){r.unstable_runWithPriority(e.priority,(function(){Be(n);}));}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null;}function gt(e){if(null!==e.blockedOn)return !1;for(var t=e.targetContainers;0<t.length;){var n=Zt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ea(n))&&We(t),e.blockedOn=n,!1;t.shift();}return !0}function bt(e,t,n){gt(e)&&n.delete(t);}function wt(){for(ot=!1;0<ut.length;){var e=ut[0];if(null!==e.blockedOn){null!==(e=ea(e.blockedOn))&&Ve(e);break}for(var t=e.targetContainers;0<t.length;){var n=Zt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift();}null===e.blockedOn&&ut.shift();}null!==it&>(it)&&(it=null),null!==lt&>(lt)&&(lt=null),null!==ct&>(ct)&&(ct=null),st.forEach(bt),ft.forEach(bt);}function kt(e,t){e.blockedOn===t&&(e.blockedOn=null,ot||(ot=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,wt)));}function St(e){function t(t){return kt(t,e)}if(0<ut.length){kt(ut[0],e);for(var n=1;n<ut.length;n++){var r=ut[n];r.blockedOn===e&&(r.blockedOn=null);}}for(null!==it&&kt(it,e),null!==lt&&kt(lt,e),null!==ct&&kt(ct,e),st.forEach(t),ft.forEach(t),n=0;n<dt.length;n++)(r=dt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<dt.length&&null===(n=dt[0]).blockedOn;)mt(n),null===n.blockedOn&&dt.shift();}function Et(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var xt={animationend:Et("Animation","AnimationEnd"),animationiteration:Et("Animation","AnimationIteration"),animationstart:Et("Animation","AnimationStart"),transitionend:Et("Transition","TransitionEnd")},Ot={},_t={};function Ct(e){if(Ot[e])return Ot[e];if(!xt[e])return e;var t,n=xt[e];for(t in n)if(n.hasOwnProperty(t)&&t in _t)return Ot[e]=n[t];return e}c&&(_t=document.createElement("div").style,"AnimationEvent"in window||(delete xt.animationend.animation,delete xt.animationiteration.animation,delete xt.animationstart.animation),"TransitionEvent"in window||delete xt.transitionend.transition);var Pt=Ct("animationend"),Tt=Ct("animationiteration"),Nt=Ct("animationstart"),jt=Ct("transitionend"),Rt=new Map,zt=new Map,Lt=["abort","abort",Pt,"animationEnd",Tt,"animationIteration",Nt,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",jt,"transitionEnd","waiting","waiting"];function Mt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],a=e[n+1];a="on"+(a[0].toUpperCase()+a.slice(1)),zt.set(r,t),Rt.set(r,a),i(a,[r]);}}(0, r.unstable_now)();var At=8;function It(e){if(0!=(1&e))return At=15,1;if(0!=(2&e))return At=14,2;if(0!=(4&e))return At=13,4;var t=24&e;return 0!==t?(At=12,t):0!=(32&e)?(At=11,32):0!=(t=192&e)?(At=10,t):0!=(256&e)?(At=9,256):0!=(t=3584&e)?(At=8,t):0!=(4096&e)?(At=7,4096):0!=(t=4186112&e)?(At=6,t):0!=(t=62914560&e)?(At=5,t):67108864&e?(At=4,67108864):0!=(134217728&e)?(At=3,134217728):0!=(t=805306368&e)?(At=2,t):0!=(1073741824&e)?(At=1,1073741824):(At=8,e)}function Dt(e,t){var n=e.pendingLanes;if(0===n)return At=0;var r=0,a=0,o=e.expiredLanes,u=e.suspendedLanes,i=e.pingedLanes;if(0!==o)r=o,a=At=15;else if(0!=(o=134217727&n)){var l=o&~u;0!==l?(r=It(l),a=At):0!=(i&=o)&&(r=It(i),a=At);}else 0!=(o=n&~u)?(r=It(o),a=At):0!==i&&(r=It(i),a=At);if(0===r)return 0;if(r=n&((0>(r=31-Vt(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0==(t&u)){if(It(t),a<=At)return t;At=a;}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)r|=e[n=31-Vt(t)],t&=~(a=1<<n);return r}function Ft(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function qt(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=Ut(24&~t))?qt(10,t):e;case 10:return 0===(e=Ut(192&~t))?qt(8,t):e;case 8:return 0===(e=Ut(3584&~t))&&0===(e=Ut(4186112&~t))&&(e=512),e;case 2:return 0===(t=Ut(805306368&~t))&&(t=268435456),t}throw Error(a(358,e))}function Ut(e){return e&-e}function Qt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function $t(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Vt(t)]=n;}var Vt=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Wt(e)/Bt|0)|0},Wt=Math.log,Bt=Math.LN2,Ht=r.unstable_UserBlockingPriority,Kt=r.unstable_runWithPriority,Yt=!0;function Xt(e,t,n,r){Ie||Me();var a=Jt,o=Ie;Ie=!0;try{Le(a,e,t,n,r);}finally{(Ie=o)||Fe();}}function Gt(e,t,n,r){Kt(Ht,Jt.bind(null,e,t,n,r));}function Jt(e,t,n,r){var a;if(Yt)if((a=0==(4&t))&&0<ut.length&&-1<pt.indexOf(e))e=ht(null,e,t,n,r),ut.push(e);else {var o=Zt(e,t,n,r);if(null===o)a&&vt(e,r);else {if(a){if(-1<pt.indexOf(e))return e=ht(o,e,t,n,r),void ut.push(e);if(function(e,t,n,r,a){switch(t){case"focusin":return it=yt(it,e,t,n,r,a),!0;case"dragenter":return lt=yt(lt,e,t,n,r,a),!0;case"mouseover":return ct=yt(ct,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return st.set(o,yt(st.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return ft.set(o=a.pointerId,yt(ft.get(o)||null,e,t,n,r,a)),!0}return !1}(o,e,t,n,r))return;vt(e,r);}Rr(e,t,r,null,n);}}}function Zt(e,t,n,r){var a=_e(r);if(null!==(a=Zr(a))){var o=et(a);if(null===o)a=null;else {var u=o.tag;if(13===u){if(null!==(a=tt(o)))return a;a=null;}else if(3===u){if(o.stateNode.hydrate)return 3===o.tag?o.stateNode.containerInfo:null;a=null;}else o!==a&&(a=null);}}return Rr(e,t,r,a,n),null}var en=null,tn=null,nn=null;function rn(){if(nn)return nn;var e,t,n=tn,r=n.length,a="value"in en?en.value:en.textContent,o=a.length;for(e=0;e<r&&n[e]===a[e];e++);var u=r-e;for(t=1;t<=u&&n[r-t]===a[o-t];t++);return nn=a.slice(e,1<t?1-t:void 0)}function an(e){var t=e.keyCode;return "charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function on(){return !0}function un(){return !1}function ln(e){function t(t,n,r,a,o){for(var u in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(u)&&(this[u]=(t=e[u])?t(a):a[u]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?on:un,this.isPropagationStopped=un,this}return n(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=on);},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=on);},persist:function(){},isPersistent:on}),t}var cn,sn,fn,dn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pn=ln(dn),hn=n({},dn,{view:0,detail:0}),vn=ln(hn),yn=n({},hn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return "movementX"in e?e.movementX:(e!==fn&&(fn&&"mousemove"===e.type?(cn=e.screenX-fn.screenX,sn=e.screenY-fn.screenY):sn=cn=0,fn=e),cn)},movementY:function(e){return "movementY"in e?e.movementY:sn}}),mn=ln(yn),gn=ln(n({},yn,{dataTransfer:0})),bn=ln(n({},hn,{relatedTarget:0})),wn=ln(n({},dn,{animationName:0,elapsedTime:0,pseudoElement:0})),kn=ln(n({},dn,{clipboardData:function(e){return "clipboardData"in e?e.clipboardData:window.clipboardData}})),Sn=ln(n({},dn,{data:0})),En={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},On={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function _n(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=On[e])&&!!t[e]}function Cn(){return _n}var Pn=ln(n({},hn,{key:function(e){if(e.key){var t=En[e.key]||e.key;if("Unidentified"!==t)return t}return "keypress"===e.type?13===(e=an(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?xn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cn,charCode:function(e){return "keypress"===e.type?an(e):0},keyCode:function(e){return "keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return "keypress"===e.type?an(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),Tn=ln(n({},yn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Nn=ln(n({},hn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),jn=ln(n({},dn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Rn=ln(n({},yn,{deltaX:function(e){return "deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return "deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),zn=[9,13,27,32],Ln=c&&"CompositionEvent"in window,Mn=null;c&&"documentMode"in document&&(Mn=document.documentMode);var An=c&&"TextEvent"in window&&!Mn,In=c&&(!Ln||Mn&&8<Mn&&11>=Mn),Dn=String.fromCharCode(32),Fn=!1;function qn(e,t){switch(e){case"keyup":return -1!==zn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return !0;default:return !1}}function Un(e){return "object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Qn=!1,$n={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Vn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return "input"===t?!!$n[e.type]:"textarea"===t}function Wn(e,t,n,r){je(r),0<(t=Lr(t,"onChange")).length&&(n=new pn("onChange","change",null,n,r),e.push({event:n,listeners:t}));}var Bn=null,Hn=null;function Kn(e){_r(e,0);}function Yn(e){if(J(ta(e)))return e}function Xn(e,t){if("change"===e)return t}var Gn,Jn,Zn,er=!1;function tr(){Bn&&(Bn.detachEvent("onpropertychange",nr),Hn=Bn=null);}function nr(e){if("value"===e.propertyName&&Yn(Hn)){var t=[];if(Wn(t,Hn,e,_e(e)),e=Kn,Ie)e(t);else {Ie=!0;try{ze(e,t);}finally{Ie=!1,Fe();}}}}function rr(e,t,n){"focusin"===e?(tr(),Hn=n,(Bn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr();}function ar(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Yn(Hn)}function or(e,t){if("click"===e)return Yn(t)}function ur(e,t){if("input"===e||"change"===e)return Yn(t)}c&&(c?((Jn="oninput"in document)||((Zn=document.createElement("div")).setAttribute("oninput","return;"),Jn="function"==typeof Zn.oninput),Gn=Jn):Gn=!1,er=Gn&&(!document.documentMode||9<document.documentMode));var ir="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},lr=Object.prototype.hasOwnProperty;function cr(e,t){if(ir(e,t))return !0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return !1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return !1;for(r=0;r<n.length;r++)if(!lr.call(t,n[r])||!ir(e[n[r]],t[n[r]]))return !1;return !0}function sr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function fr(e,t){var n,r=sr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return {node:r,offset:t-e};e=n;}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode;}r=void 0;}r=sr(r);}}function dr(e,t){return !(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function pr(){for(var e=window,t=Z();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href;}catch(e){n=!1;}if(!n)break;t=Z((e=t.contentWindow).document);}return t}function hr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var vr=c&&"documentMode"in document&&11>=document.documentMode,yr=null,mr=null,gr=null,br=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==yr||yr!==Z(r)||(r="selectionStart"in(r=yr)&&hr(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},gr&&cr(gr,r)||(gr=r,0<(r=Lr(mr,"onSelect")).length&&(t=new pn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=yr)));}Mt("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Mt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Mt(Lt,2);for(var kr="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Sr=0;Sr<kr.length;Sr++)zt.set(kr[Sr],0);l("onMouseEnter",["mouseout","mouseover"]),l("onMouseLeave",["mouseout","mouseover"]),l("onPointerEnter",["pointerout","pointerover"]),l("onPointerLeave",["pointerout","pointerover"]),i("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),i("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),i("onBeforeInput",["compositionend","keypress","textInput","paste"]),i("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),i("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),i("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Er="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),xr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Er));function Or(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,u,i,l,c){if(Ze.apply(this,arguments),Ke){if(!Ke)throw Error(a(198));var s=Ye;Ke=!1,Ye=null,Xe||(Xe=!0,Ge=s);}}(r,t,void 0,e),e.currentTarget=null;}function _r(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var u=r.length-1;0<=u;u--){var i=r[u],l=i.instance,c=i.currentTarget;if(i=i.listener,l!==o&&a.isPropagationStopped())break e;Or(a,i,c),o=l;}else for(u=0;u<r.length;u++){if(l=(i=r[u]).instance,c=i.currentTarget,i=i.listener,l!==o&&a.isPropagationStopped())break e;Or(a,i,c),o=l;}}}if(Xe)throw e=Ge,Xe=!1,Ge=null,e}function Cr(e,t){var n=ra(t),r=e+"__bubble";n.has(r)||(jr(t,e,2,!1),n.add(r));}var Pr="_reactListening"+Math.random().toString(36).slice(2);function Tr(e){e[Pr]||(e[Pr]=!0,o.forEach((function(t){xr.has(t)||Nr(t,!1,e,null),Nr(t,!0,e,null);})));}function Nr(e,t,n,r){var a=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,o=n;if("selectionchange"===e&&9!==n.nodeType&&(o=n.ownerDocument),null!==r&&!t&&xr.has(e)){if("scroll"!==e)return;a|=2,o=r;}var u=ra(o),i=e+"__"+(t?"capture":"bubble");u.has(i)||(t&&(a|=4),jr(o,e,a,t),u.add(i));}function jr(e,t,n,r){var a=zt.get(t);switch(void 0===a?2:a){case 0:a=Xt;break;case 1:a=Gt;break;default:a=Jt;}n=a.bind(null,t,n,e),a=void 0,!Qe||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0),e.addEventListener(t,n,r?void 0===a||{capture:!0,passive:a}:void 0!==a&&{passive:a});}function Rr(e,t,n,r,a){var o=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var u=r.tag;if(3===u||4===u){var i=r.stateNode.containerInfo;if(i===a||8===i.nodeType&&i.parentNode===a)break;if(4===u)for(u=r.return;null!==u;){var l=u.tag;if((3===l||4===l)&&((l=u.stateNode.containerInfo)===a||8===l.nodeType&&l.parentNode===a))return;u=u.return;}for(;null!==i;){if(null===(u=Zr(i)))return;if(5===(l=u.tag)||6===l){r=o=u;continue e}i=i.parentNode;}}r=r.return;}!function(e,t,n){if(De)return e();De=!0;try{Ae(e,void 0,void 0);}finally{De=!1,Fe();}}((function(){var r=o,a=_e(n),u=[];e:{var i=Rt.get(e);if(void 0!==i){var l=pn,c=e;switch(e){case"keypress":if(0===an(n))break e;case"keydown":case"keyup":l=Pn;break;case"focusin":c="focus",l=bn;break;case"focusout":c="blur",l=bn;break;case"beforeblur":case"afterblur":l=bn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=mn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=gn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Nn;break;case Pt:case Tt:case Nt:l=wn;break;case jt:l=jn;break;case"scroll":l=vn;break;case"wheel":l=Rn;break;case"copy":case"cut":case"paste":l=kn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Tn;}var s=0!=(4&t),f=!s&&"scroll"===e,d=s?null!==i?i+"Capture":null:i;s=[];for(var p,h=r;null!==h;){var v=(p=h).stateNode;if(5===p.tag&&null!==v&&(p=v,null!==d&&null!=(v=qe(h,d))&&s.push(zr(h,v,p))),f)break;h=h.return;}0<s.length&&(i=new l(i,c,null,n,a),u.push({event:i,listeners:s}));}}if(0==(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(i="mouseover"===e||"pointerover"===e)||0!=(16&t)||!(c=n.relatedTarget||n.fromElement)||!Zr(c)&&!c[Gr])&&(l||i)&&(i=a.window===a?a:(i=a.ownerDocument)?i.defaultView||i.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?Zr(c):null)&&(c!==(f=et(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(s=mn,v="onMouseLeave",d="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(s=Tn,v="onPointerLeave",d="onPointerEnter",h="pointer"),f=null==l?i:ta(l),p=null==c?i:ta(c),(i=new s(v,h+"leave",l,n,a)).target=f,i.relatedTarget=p,v=null,Zr(a)===r&&((s=new s(d,h+"enter",c,n,a)).target=p,s.relatedTarget=f,v=s),f=v,l&&c)e:{for(d=c,h=0,p=s=l;p;p=Mr(p))h++;for(p=0,v=d;v;v=Mr(v))p++;for(;0<h-p;)s=Mr(s),h--;for(;0<p-h;)d=Mr(d),p--;for(;h--;){if(s===d||null!==d&&s===d.alternate)break e;s=Mr(s),d=Mr(d);}s=null;}else s=null;null!==l&&Ar(u,i,l,s,!1),null!==c&&null!==f&&Ar(u,f,c,s,!0);}if("select"===(l=(i=r?ta(r):window).nodeName&&i.nodeName.toLowerCase())||"input"===l&&"file"===i.type)var y=Xn;else if(Vn(i))if(er)y=ur;else {y=ar;var m=rr;}else (l=i.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(y=or);switch(y&&(y=y(e,r))?Wn(u,y,n,a):(m&&m(e,i,r),"focusout"===e&&(m=i._wrapperState)&&m.controlled&&"number"===i.type&&oe(i,"number",i.value)),m=r?ta(r):window,e){case"focusin":(Vn(m)||"true"===m.contentEditable)&&(yr=m,mr=r,gr=null);break;case"focusout":gr=mr=yr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,wr(u,n,a);break;case"selectionchange":if(vr)break;case"keydown":case"keyup":wr(u,n,a);}var g;if(Ln)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0;}else Qn?qn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(In&&"ko"!==n.locale&&(Qn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Qn&&(g=rn()):(tn="value"in(en=a)?en.value:en.textContent,Qn=!0)),0<(m=Lr(r,b)).length&&(b=new Sn(b,e,null,n,a),u.push({event:b,listeners:m}),(g||null!==(g=Un(n)))&&(b.data=g))),(g=An?function(e,t){switch(e){case"compositionend":return Un(t);case"keypress":return 32!==t.which?null:(Fn=!0,Dn);case"textInput":return (e=t.data)===Dn&&Fn?null:e;default:return null}}(e,n):function(e,t){if(Qn)return "compositionend"===e||!Ln&&qn(e,t)?(e=rn(),nn=tn=en=null,Qn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return In&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))&&0<(r=Lr(r,"onBeforeInput")).length&&(a=new Sn("onBeforeInput","beforeinput",null,n,a),u.push({event:a,listeners:r}),a.data=g);}_r(u,t);}));}function zr(e,t,n){return {instance:e,listener:t,currentTarget:n}}function Lr(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,o=a.stateNode;5===a.tag&&null!==o&&(a=o,null!=(o=qe(e,n))&&r.unshift(zr(e,o,a)),null!=(o=qe(e,t))&&r.push(zr(e,o,a))),e=e.return;}return r}function Mr(e){if(null===e)return null;do{e=e.return;}while(e&&5!==e.tag);return e||null}function Ar(e,t,n,r,a){for(var o=t._reactName,u=[];null!==n&&n!==r;){var i=n,l=i.alternate,c=i.stateNode;if(null!==l&&l===r)break;5===i.tag&&null!==c&&(i=c,a?null!=(l=qe(n,o))&&u.unshift(zr(n,l,i)):a||null!=(l=qe(n,o))&&u.push(zr(n,l,i))),n=n.return;}0!==u.length&&e.push({event:t,listeners:u});}function Ir(){}var Dr=null,Fr=null;function qr(e,t){switch(e){case"button":case"input":case"select":case"textarea":return !!t.autoFocus}return !1}function Ur(e,t){return "textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Qr="function"==typeof setTimeout?setTimeout:void 0,$r="function"==typeof clearTimeout?clearTimeout:void 0;function Vr(e){(1===e.nodeType||9===e.nodeType&&null!=(e=e.body))&&(e.textContent="");}function Wr(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Br(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--;}else "/$"===n&&t++;}e=e.previousSibling;}return null}var Hr=0,Kr=Math.random().toString(36).slice(2),Yr="__reactFiber$"+Kr,Xr="__reactProps$"+Kr,Gr="__reactContainer$"+Kr,Jr="__reactEvents$"+Kr;function Zr(e){var t=e[Yr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Gr]||n[Yr]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Br(e);null!==e;){if(n=e[Yr])return n;e=Br(e);}return t}n=(e=n).parentNode;}return null}function ea(e){return !(e=e[Yr]||e[Gr])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function ta(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function na(e){return e[Xr]||null}function ra(e){var t=e[Jr];return void 0===t&&(t=e[Jr]=new Set),t}var aa=[],oa=-1;function ua(e){return {current:e}}function ia(e){0>oa||(e.current=aa[oa],aa[oa]=null,oa--);}function la(e,t){oa++,aa[oa]=e.current,e.current=t;}var ca={},sa=ua(ca),fa=ua(!1),da=ca;function pa(e,t){var n=e.type.contextTypes;if(!n)return ca;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in n)o[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ha(e){return null!=e.childContextTypes}function va(){ia(fa),ia(sa);}function ya(e,t,n){if(sa.current!==ca)throw Error(a(168));la(sa,t),la(fa,n);}function ma(e,t,r){var o=e.stateNode;if(e=t.childContextTypes,"function"!=typeof o.getChildContext)return r;for(var u in o=o.getChildContext())if(!(u in e))throw Error(a(108,K(t)||"Unknown",u));return n({},r,o)}function ga(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ca,da=sa.current,la(sa,e),la(fa,fa.current),!0}function ba(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=ma(e,t,da),r.__reactInternalMemoizedMergedChildContext=e,ia(fa),ia(sa),la(sa,e)):ia(fa),la(fa,n);}var wa=null,ka=null,Sa=r.unstable_runWithPriority,Ea=r.unstable_scheduleCallback,xa=r.unstable_cancelCallback,Oa=r.unstable_shouldYield,_a=r.unstable_requestPaint,Ca=r.unstable_now,Pa=r.unstable_getCurrentPriorityLevel,Ta=r.unstable_ImmediatePriority,Na=r.unstable_UserBlockingPriority,ja=r.unstable_NormalPriority,Ra=r.unstable_LowPriority,za=r.unstable_IdlePriority,La={},Ma=void 0!==_a?_a:function(){},Aa=null,Ia=null,Da=!1,Fa=Ca(),qa=1e4>Fa?Ca:function(){return Ca()-Fa};function Ua(){switch(Pa()){case Ta:return 99;case Na:return 98;case ja:return 97;case Ra:return 96;case za:return 95;default:throw Error(a(332))}}function Qa(e){switch(e){case 99:return Ta;case 98:return Na;case 97:return ja;case 96:return Ra;case 95:return za;default:throw Error(a(332))}}function $a(e,t){return e=Qa(e),Sa(e,t)}function Va(e,t,n){return e=Qa(e),Ea(e,t,n)}function Wa(){if(null!==Ia){var e=Ia;Ia=null,xa(e);}Ba();}function Ba(){if(!Da&&null!==Aa){Da=!0;var e=0;try{var t=Aa;$a(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0);}while(null!==n)}})),Aa=null;}catch(t){throw null!==Aa&&(Aa=Aa.slice(e+1)),Ea(Ta,Wa),t}finally{Da=!1;}}}var Ha=w.ReactCurrentBatchConfig;function Ka(e,t){if(e&&e.defaultProps){for(var r in t=n({},t),e=e.defaultProps)void 0===t[r]&&(t[r]=e[r]);return t}return t}var Ya=ua(null),Xa=null,Ga=null,Ja=null;function Za(){Ja=Ga=Xa=null;}function eo(e){var t=Ya.current;ia(Ya),e.type._context._currentValue=t;}function to(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t;}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return;}}function no(e,t){Xa=e,Ja=Ga=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Lu=!0),e.firstContext=null);}function ro(e,t){if(Ja!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(Ja=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Ga){if(null===Xa)throw Error(a(308));Ga=t,Xa.dependencies={lanes:0,firstContext:t,responders:null};}else Ga=Ga.next=t;return e._currentValue}var ao=!1;function oo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null};}function uo(e,t){t.updateQueue===(e=e.updateQueue)&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects});}function io(e,t){return {eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function lo(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t;}}function co(e,t){var n=e.updateQueue,r=e.alternate;if(null===r||n!==(r=r.updateQueue))null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t;else {var a=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var u={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?a=o=u:o=o.next=u,n=n.next;}while(null!==n);null===o?a=o=t:o=o.next=t;}else a=o=t;e.updateQueue=n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,effects:r.effects};}}function so(e,t,r,a){var o=e.updateQueue;ao=!1;var u=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var c=l,s=c.next;c.next=null,null===i?u=s:i.next=s,i=c;var f=e.alternate;if(null!==f){var d=(f=f.updateQueue).lastBaseUpdate;d!==i&&(null===d?f.firstBaseUpdate=s:d.next=s,f.lastBaseUpdate=c);}}if(null!==u){for(d=o.baseState,i=0,f=s=c=null;;){var p=u.eventTime;if((a&(l=u.lane))===l){null!==f&&(f=f.next={eventTime:p,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var h=e,v=u;switch(l=t,p=r,v.tag){case 1:if("function"==typeof(h=v.payload)){d=h.call(p,d,l);break e}d=h;break e;case 3:h.flags=-4097&h.flags|64;case 0:if(null==(l="function"==typeof(h=v.payload)?h.call(p,d,l):h))break e;d=n({},d,l);break e;case 2:ao=!0;}}null!==u.callback&&(e.flags|=32,null===(l=o.effects)?o.effects=[u]:l.push(u));}else p={eventTime:p,lane:l,tag:u.tag,payload:u.payload,callback:u.callback,next:null},null===f?(s=f=p,c=d):f=f.next=p,i|=l;if(null===(u=u.next)){if(null===(l=o.shared.pending))break;u=l.next,l.next=null,o.lastBaseUpdate=l,o.shared.pending=null;}}null===f&&(c=d),o.baseState=c,o.firstBaseUpdate=s,o.lastBaseUpdate=f,Ai|=i,e.lanes=i,e.memoizedState=d;}}function fo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(a(191,o));o.call(r);}}}var po=(new t.Component).refs;function ho(e,t,r,a){r=null==(r=r(a,t=e.memoizedState))?t:n({},t,r),e.memoizedState=r,0===e.lanes&&(e.updateQueue.baseState=r);}var vo={isMounted:function(e){return !!(e=e._reactInternals)&&et(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=il(),a=ll(e),o=io(r,a);o.payload=t,null!=n&&(o.callback=n),lo(e,o),cl(e,a,r);},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=il(),a=ll(e),o=io(r,a);o.tag=1,o.payload=t,null!=n&&(o.callback=n),lo(e,o),cl(e,a,r);},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=il(),r=ll(e),a=io(n,r);a.tag=2,null!=t&&(a.callback=t),lo(e,a),cl(e,r,n);}};function yo(e,t,n,r,a,o,u){return "function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,u):!(t.prototype&&t.prototype.isPureReactComponent&&cr(n,r)&&cr(a,o))}function mo(e,t,n){var r=!1,a=ca,o=t.contextType;return "object"==typeof o&&null!==o?o=ro(o):(a=ha(t)?da:sa.current,o=(r=null!=(r=t.contextTypes))?pa(e,a):ca),t=new t(n,o),e.memoizedState=null!=t.state?t.state:null,t.updater=vo,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function go(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&vo.enqueueReplaceState(t,t.state,null);}function bo(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs=po,oo(e);var o=t.contextType;"object"==typeof o&&null!==o?a.context=ro(o):(o=ha(t)?da:sa.current,a.context=pa(e,o)),so(e,n,a,r),a.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(ho(e,t,o,n),a.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(t=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&vo.enqueueReplaceState(a,a.state,null),so(e,n,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.flags|=4);}var wo=Array.isArray;function ko(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode;}if(!r)throw Error(a(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=r.refs;t===po&&(t=r.refs={}),null===e?delete t[o]:t[o]=e;})._stringRef=o,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function So(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function Eo(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8;}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)e.set(null!==t.key?t.key:t.index,t),t=t.sibling;return e}function o(e,t){return (e=Ul(e,t)).index=0,e.sibling=null,e}function u(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags=2,n):r:(t.flags=2,n):n}function i(t){return e&&null===t.alternate&&(t.flags=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Wl(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function c(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=ko(e,t,n),r.return=e,r):((r=Ql(n.type,n.key,n.props,null,e.mode,r)).ref=ko(e,t,n),r.return=e,r)}function s(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Bl(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function f(e,t,n,r,a){return null===t||7!==t.tag?((t=$l(n,e.mode,r,a)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t||"number"==typeof t)return (t=Wl(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case k:return (n=Ql(t.type,t.key,t.props,null,e.mode,n)).ref=ko(e,null,t),n.return=e,n;case S:return (t=Bl(t,e.mode,n)).return=e,t}if(wo(t)||$(t))return (t=$l(t,e.mode,n,null)).return=e,t;So(e,t);}return null}function p(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==a?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case k:return n.key===a?n.type===E?f(e,t,n.props.children,r,a):c(e,t,n,r):null;case S:return n.key===a?s(e,t,n,r):null}if(wo(n)||$(n))return null!==a?null:f(e,t,n,r,null);So(e,n);}return null}function h(e,t,n,r,a){if("string"==typeof r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case k:return e=e.get(null===r.key?n:r.key)||null,r.type===E?f(t,e,r.props.children,a,r.key):c(t,e,r,a);case S:return s(t,e=e.get(null===r.key?n:r.key)||null,r,a)}if(wo(r)||$(r))return f(t,e=e.get(n)||null,r,a,null);So(t,r);}return null}return function(l,c,s,f){var v="object"==typeof s&&null!==s&&s.type===E&&null===s.key;v&&(s=s.props.children);var y="object"==typeof s&&null!==s;if(y)switch(s.$$typeof){case k:e:{for(y=s.key,v=c;null!==v;){if(v.key===y){switch(v.tag){case 7:if(s.type===E){n(l,v.sibling),(c=o(v,s.props.children)).return=l,l=c;break e}break;default:if(v.elementType===s.type){n(l,v.sibling),(c=o(v,s.props)).ref=ko(l,v,s),c.return=l,l=c;break e}}n(l,v);break}t(l,v),v=v.sibling;}s.type===E?((c=$l(s.props.children,l.mode,f,s.key)).return=l,l=c):((f=Ql(s.type,s.key,s.props,null,l.mode,f)).ref=ko(l,c,s),f.return=l,l=f);}return i(l);case S:e:{for(v=s.key;null!==c;){if(c.key===v){if(4===c.tag&&c.stateNode.containerInfo===s.containerInfo&&c.stateNode.implementation===s.implementation){n(l,c.sibling),(c=o(c,s.children||[])).return=l,l=c;break e}n(l,c);break}t(l,c),c=c.sibling;}(c=Bl(s,l.mode,f)).return=l,l=c;}return i(l)}if("string"==typeof s||"number"==typeof s)return s=""+s,null!==c&&6===c.tag?(n(l,c.sibling),(c=o(c,s)).return=l,l=c):(n(l,c),(c=Wl(s,l.mode,f)).return=l,l=c),i(l);if(wo(s))return function(a,o,i,l){for(var c=null,s=null,f=o,v=o=0,y=null;null!==f&&v<i.length;v++){f.index>v?(y=f,f=null):y=f.sibling;var m=p(a,f,i[v],l);if(null===m){null===f&&(f=y);break}e&&f&&null===m.alternate&&t(a,f),o=u(m,o,v),null===s?c=m:s.sibling=m,s=m,f=y;}if(v===i.length)return n(a,f),c;if(null===f){for(;v<i.length;v++)null!==(f=d(a,i[v],l))&&(o=u(f,o,v),null===s?c=f:s.sibling=f,s=f);return c}for(f=r(a,f);v<i.length;v++)null!==(y=h(f,a,v,i[v],l))&&(e&&null!==y.alternate&&f.delete(null===y.key?v:y.key),o=u(y,o,v),null===s?c=y:s.sibling=y,s=y);return e&&f.forEach((function(e){return t(a,e)})),c}(l,c,s,f);if($(s))return function(o,i,l,c){var s=$(l);if("function"!=typeof s)throw Error(a(150));if(null==(l=s.call(l)))throw Error(a(151));for(var f=s=null,v=i,y=i=0,m=null,g=l.next();null!==v&&!g.done;y++,g=l.next()){v.index>y?(m=v,v=null):m=v.sibling;var b=p(o,v,g.value,c);if(null===b){null===v&&(v=m);break}e&&v&&null===b.alternate&&t(o,v),i=u(b,i,y),null===f?s=b:f.sibling=b,f=b,v=m;}if(g.done)return n(o,v),s;if(null===v){for(;!g.done;y++,g=l.next())null!==(g=d(o,g.value,c))&&(i=u(g,i,y),null===f?s=g:f.sibling=g,f=g);return s}for(v=r(o,v);!g.done;y++,g=l.next())null!==(g=h(v,o,y,g.value,c))&&(e&&null!==g.alternate&&v.delete(null===g.key?y:g.key),i=u(g,i,y),null===f?s=g:f.sibling=g,f=g);return e&&v.forEach((function(e){return t(o,e)})),s}(l,c,s,f);if(y&&So(l,s),void 0===s&&!v)switch(l.tag){case 1:case 22:case 0:case 11:case 15:throw Error(a(152,K(l.type)||"Component"))}return n(l,c)}}var xo=Eo(!0),Oo=Eo(!1),_o={},Co=ua(_o),Po=ua(_o),To=ua(_o);function No(e){if(e===_o)throw Error(a(174));return e}function jo(e,t){switch(la(To,t),la(Po,e),la(Co,_o),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ve(null,"");break;default:t=ve(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName);}ia(Co),la(Co,t);}function Ro(){ia(Co),ia(Po),ia(To);}function zo(e){No(To.current);var t=No(Co.current),n=ve(t,e.type);t!==n&&(la(Po,e),la(Co,n));}function Lo(e){Po.current===e&&(ia(Co),ia(Po));}var Mo=ua(0);function Ao(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return;}t.sibling.return=t.return,t=t.sibling;}return null}var Io=null,Do=null,Fo=!1;function qo(e,t){var n=Fl(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n;}function Uo(e,t){switch(e.tag){case 5:return null!==(t=1!==t.nodeType||e.type.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return !1}}function Qo(e){if(Fo){var t=Do;if(t){var n=t;if(!Uo(e,t)){if(!(t=Wr(n.nextSibling))||!Uo(e,t))return e.flags=-1025&e.flags|2,Fo=!1,void(Io=e);qo(Io,n);}Io=e,Do=Wr(t.firstChild);}else e.flags=-1025&e.flags|2,Fo=!1,Io=e;}}function $o(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Io=e;}function Vo(e){if(e!==Io)return !1;if(!Fo)return $o(e),Fo=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Ur(t,e.memoizedProps))for(t=Do;t;)qo(e,t),t=Wr(t.nextSibling);if($o(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Do=Wr(e.nextSibling);break e}t--;}else "$"!==n&&"$!"!==n&&"$?"!==n||t++;}e=e.nextSibling;}Do=null;}}else Do=Io?Wr(e.stateNode.nextSibling):null;return !0}function Wo(){Do=Io=null,Fo=!1;}var Bo=[];function Ho(){for(var e=0;e<Bo.length;e++)Bo[e]._workInProgressVersionPrimary=null;Bo.length=0;}var Ko=w.ReactCurrentDispatcher,Yo=w.ReactCurrentBatchConfig,Xo=0,Go=null,Jo=null,Zo=null,eu=!1,tu=!1;function nu(){throw Error(a(321))}function ru(e,t){if(null===t)return !1;for(var n=0;n<t.length&&n<e.length;n++)if(!ir(e[n],t[n]))return !1;return !0}function au(e,t,n,r,o,u){if(Xo=u,Go=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ko.current=null===e||null===e.memoizedState?Nu:ju,e=n(r,o),tu){u=0;do{if(tu=!1,!(25>u))throw Error(a(301));u+=1,Zo=Jo=null,t.updateQueue=null,Ko.current=Ru,e=n(r,o);}while(tu)}if(Ko.current=Tu,t=null!==Jo&&null!==Jo.next,Xo=0,Zo=Jo=Go=null,eu=!1,t)throw Error(a(300));return e}function ou(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Zo?Go.memoizedState=Zo=e:Zo=Zo.next=e,Zo}function uu(){if(null===Jo){var e=Go.alternate;e=null!==e?e.memoizedState:null;}else e=Jo.next;var t=null===Zo?Go.memoizedState:Zo.next;if(null!==t)Zo=t,Jo=e;else {if(null===e)throw Error(a(310));e={memoizedState:(Jo=e).memoizedState,baseState:Jo.baseState,baseQueue:Jo.baseQueue,queue:Jo.queue,next:null},null===Zo?Go.memoizedState=Zo=e:Zo=Zo.next=e;}return Zo}function iu(e,t){return "function"==typeof t?t(e):t}function lu(e){var t=uu(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=Jo,o=r.baseQueue,u=n.pending;if(null!==u){if(null!==o){var i=o.next;o.next=u.next,u.next=i;}r.baseQueue=o=u,n.pending=null;}if(null!==o){r=r.baseState;var l=i=u=null,c=o=o.next;do{var s=c.lane;if((Xo&s)===s)null!==l&&(l=l.next={lane:0,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),r=c.eagerReducer===e?c.eagerState:e(r,c.action);else {var f={lane:s,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===l?(i=l=f,u=r):l=l.next=f,Go.lanes|=s,Ai|=s;}c=c.next;}while(null!==c&&c!==o);null===l?u=r:l.next=i,ir(r,t.memoizedState)||(Lu=!0),t.memoizedState=r,t.baseState=u,t.baseQueue=l,n.lastRenderedState=r;}return [t.memoizedState,n.dispatch]}function cu(e){var t=uu(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,u=t.memoizedState;if(null!==o){n.pending=null;var i=o=o.next;do{u=e(u,i.action),i=i.next;}while(i!==o);ir(u,t.memoizedState)||(Lu=!0),t.memoizedState=u,null===t.baseQueue&&(t.baseState=u),n.lastRenderedState=u;}return [u,r]}function su(e,t,n){var r=t._getVersion;r=r(t._source);var o=t._workInProgressVersionPrimary;if(null!==o?e=o===r:(e=(Xo&(e=e.mutableReadLanes))===e)&&(t._workInProgressVersionPrimary=r,Bo.push(t)),e)return n(t._source);throw Bo.push(t),Error(a(350))}function fu(e,t,n,r){var o=Pi;if(null===o)throw Error(a(349));var u=t._getVersion,i=u(t._source),l=Ko.current,c=l.useState((function(){return su(o,t,n)})),s=c[1],f=c[0];c=Zo;var d=e.memoizedState,p=d.refs,h=p.getSnapshot,v=d.source;d=d.subscribe;var y=Go;return e.memoizedState={refs:p,source:t,subscribe:r},l.useEffect((function(){p.getSnapshot=n,p.setSnapshot=s;var e=u(t._source);if(!ir(i,e)){e=n(t._source),ir(f,e)||(s(e),e=ll(y),o.mutableReadLanes|=e&o.pendingLanes),o.entangledLanes|=e=o.mutableReadLanes;for(var r=o.entanglements,a=e;0<a;){var l=31-Vt(a),c=1<<l;r[l]|=e,a&=~c;}}}),[n,t,r]),l.useEffect((function(){return r(t._source,(function(){var e=p.getSnapshot,n=p.setSnapshot;try{n(e(t._source));var r=ll(y);o.mutableReadLanes|=r&o.pendingLanes;}catch(e){n((function(){throw e}));}}))}),[t,r]),ir(h,n)&&ir(v,t)&&ir(d,r)||((e={pending:null,dispatch:null,lastRenderedReducer:iu,lastRenderedState:f}).dispatch=s=Pu.bind(null,Go,e),c.queue=e,c.baseQueue=null,f=su(o,t,n),c.memoizedState=c.baseState=f),f}function du(e,t,n){return fu(uu(),e,t,n)}function pu(e){var t=ou();return "function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:iu,lastRenderedState:e}).dispatch=Pu.bind(null,Go,e),[t.memoizedState,e]}function hu(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Go.updateQueue)?(Go.updateQueue=t={lastEffect:null},t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function vu(e){return ou().memoizedState={current:e}}function yu(){return uu().memoizedState}function mu(e,t,n,r){var a=ou();Go.flags|=e,a.memoizedState=hu(1|t,n,void 0,void 0===r?null:r);}function gu(e,t,n,r){var a=uu();r=void 0===r?null:r;var o=void 0;if(null!==Jo){var u=Jo.memoizedState;if(o=u.destroy,null!==r&&ru(r,u.deps))return void hu(t,n,o,r)}Go.flags|=e,a.memoizedState=hu(1|t,n,o,r);}function bu(e,t){return mu(516,4,e,t)}function wu(e,t){return gu(516,4,e,t)}function ku(e,t){return gu(4,2,e,t)}function Su(e,t){return "function"==typeof t?(e=e(),t(e),function(){t(null);}):null!=t?(e=e(),t.current=e,function(){t.current=null;}):void 0}function Eu(e,t,n){return n=null!=n?n.concat([e]):null,gu(4,2,Su.bind(null,t,e),n)}function xu(){}function Ou(e,t){var n=uu();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ru(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function _u(e,t){var n=uu();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ru(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Cu(e,t){var n=Ua();$a(98>n?98:n,(function(){e(!0);})),$a(97<n?97:n,(function(){var n=Yo.transition;Yo.transition=1;try{e(!1),t();}finally{Yo.transition=n;}}));}function Pu(e,t,n){var r=il(),a=ll(e),o={lane:a,action:n,eagerReducer:null,eagerState:null,next:null},u=t.pending;if(null===u?o.next=o:(o.next=u.next,u.next=o),t.pending=o,u=e.alternate,e===Go||null!==u&&u===Go)tu=eu=!0;else {if(0===e.lanes&&(null===u||0===u.lanes)&&null!==(u=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=u(i,n);if(o.eagerReducer=u,o.eagerState=l,ir(l,i))return}catch(e){}cl(e,a,r);}}var Tu={readContext:ro,useCallback:nu,useContext:nu,useEffect:nu,useImperativeHandle:nu,useLayoutEffect:nu,useMemo:nu,useReducer:nu,useRef:nu,useState:nu,useDebugValue:nu,useDeferredValue:nu,useTransition:nu,useMutableSource:nu,useOpaqueIdentifier:nu,unstable_isNewReconciler:!1},Nu={readContext:ro,useCallback:function(e,t){return ou().memoizedState=[e,void 0===t?null:t],e},useContext:ro,useEffect:bu,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,mu(4,2,Su.bind(null,t,e),n)},useLayoutEffect:function(e,t){return mu(4,2,e,t)},useMemo:function(e,t){var n=ou();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ou();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Pu.bind(null,Go,e),[r.memoizedState,e]},useRef:vu,useState:pu,useDebugValue:xu,useDeferredValue:function(e){var t=pu(e),n=t[0],r=t[1];return bu((function(){var t=Yo.transition;Yo.transition=1;try{r(e);}finally{Yo.transition=t;}}),[e]),n},useTransition:function(){var e=pu(!1),t=e[0];return vu(e=Cu.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=ou();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},fu(r,e,t,n)},useOpaqueIdentifier:function(){if(Fo){var e=!1,t=function(e){return {$$typeof:I,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(Hr++).toString(36))),Error(a(355))})),n=pu(t)[1];return 0==(2&Go.mode)&&(Go.flags|=516,hu(5,(function(){n("r:"+(Hr++).toString(36));}),void 0,null)),t}return pu(t="r:"+(Hr++).toString(36)),t},unstable_isNewReconciler:!1},ju={readContext:ro,useCallback:Ou,useContext:ro,useEffect:wu,useImperativeHandle:Eu,useLayoutEffect:ku,useMemo:_u,useReducer:lu,useRef:yu,useState:function(){return lu(iu)},useDebugValue:xu,useDeferredValue:function(e){var t=lu(iu),n=t[0],r=t[1];return wu((function(){var t=Yo.transition;Yo.transition=1;try{r(e);}finally{Yo.transition=t;}}),[e]),n},useTransition:function(){var e=lu(iu)[0];return [yu().current,e]},useMutableSource:du,useOpaqueIdentifier:function(){return lu(iu)[0]},unstable_isNewReconciler:!1},Ru={readContext:ro,useCallback:Ou,useContext:ro,useEffect:wu,useImperativeHandle:Eu,useLayoutEffect:ku,useMemo:_u,useReducer:cu,useRef:yu,useState:function(){return cu(iu)},useDebugValue:xu,useDeferredValue:function(e){var t=cu(iu),n=t[0],r=t[1];return wu((function(){var t=Yo.transition;Yo.transition=1;try{r(e);}finally{Yo.transition=t;}}),[e]),n},useTransition:function(){var e=cu(iu)[0];return [yu().current,e]},useMutableSource:du,useOpaqueIdentifier:function(){return cu(iu)[0]},unstable_isNewReconciler:!1},zu=w.ReactCurrentOwner,Lu=!1;function Mu(e,t,n,r){t.child=null===e?Oo(t,null,n,r):xo(t,e.child,n,r);}function Au(e,t,n,r,a){n=n.render;var o=t.ref;return no(t,a),r=au(e,t,n,r,o,a),null===e||Lu?(t.flags|=1,Mu(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~a,ei(e,t,a))}function Iu(e,t,n,r,a,o){if(null===e){var u=n.type;return "function"!=typeof u||ql(u)||void 0!==u.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ql(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=u,Du(e,t,u,r,a,o))}return u=e.child,0==(a&o)&&(n=null!==(n=n.compare)?n:cr)(a=u.memoizedProps,r)&&e.ref===t.ref?ei(e,t,o):(t.flags|=1,(e=Ul(u,r)).ref=t.ref,e.return=t,t.child=e)}function Du(e,t,n,r,a,o){if(null!==e&&cr(e.memoizedProps,r)&&e.ref===t.ref){if(Lu=!1,0==(o&a))return t.lanes=e.lanes,ei(e,t,o);0!=(16384&e.flags)&&(Lu=!0);}return Uu(e,t,n,r,o)}function Fu(e,t,n){var r=t.pendingProps,a=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0==(4&t.mode))t.memoizedState={baseLanes:0},ml(0,n);else {if(0==(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},ml(0,e),null;t.memoizedState={baseLanes:0},ml(0,null!==o?o.baseLanes:n);}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,ml(0,r);return Mu(e,t,a,n),t.child}function qu(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128);}function Uu(e,t,n,r,a){var o=ha(n)?da:sa.current;return o=pa(t,o),no(t,a),n=au(e,t,n,r,o,a),null===e||Lu?(t.flags|=1,Mu(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~a,ei(e,t,a))}function Qu(e,t,n,r,a){if(ha(n)){var o=!0;ga(t);}else o=!1;if(no(t,a),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),mo(t,n,r),bo(t,n,r,a),r=!0;else if(null===e){var u=t.stateNode,i=t.memoizedProps;u.props=i;var l=u.context,c=n.contextType;c="object"==typeof c&&null!==c?ro(c):pa(t,c=ha(n)?da:sa.current);var s=n.getDerivedStateFromProps,f="function"==typeof s||"function"==typeof u.getSnapshotBeforeUpdate;f||"function"!=typeof u.UNSAFE_componentWillReceiveProps&&"function"!=typeof u.componentWillReceiveProps||(i!==r||l!==c)&&go(t,u,r,c),ao=!1;var d=t.memoizedState;u.state=d,so(t,r,u,a),l=t.memoizedState,i!==r||d!==l||fa.current||ao?("function"==typeof s&&(ho(t,n,s,r),l=t.memoizedState),(i=ao||yo(t,n,i,r,d,l,c))?(f||"function"!=typeof u.UNSAFE_componentWillMount&&"function"!=typeof u.componentWillMount||("function"==typeof u.componentWillMount&&u.componentWillMount(),"function"==typeof u.UNSAFE_componentWillMount&&u.UNSAFE_componentWillMount()),"function"==typeof u.componentDidMount&&(t.flags|=4)):("function"==typeof u.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=l),u.props=r,u.state=l,u.context=c,r=i):("function"==typeof u.componentDidMount&&(t.flags|=4),r=!1);}else {u=t.stateNode,uo(e,t),i=t.memoizedProps,c=t.type===t.elementType?i:Ka(t.type,i),u.props=c,f=t.pendingProps,d=u.context,l="object"==typeof(l=n.contextType)&&null!==l?ro(l):pa(t,l=ha(n)?da:sa.current);var p=n.getDerivedStateFromProps;(s="function"==typeof p||"function"==typeof u.getSnapshotBeforeUpdate)||"function"!=typeof u.UNSAFE_componentWillReceiveProps&&"function"!=typeof u.componentWillReceiveProps||(i!==f||d!==l)&&go(t,u,r,l),ao=!1,u.state=d=t.memoizedState,so(t,r,u,a);var h=t.memoizedState;i!==f||d!==h||fa.current||ao?("function"==typeof p&&(ho(t,n,p,r),h=t.memoizedState),(c=ao||yo(t,n,c,r,d,h,l))?(s||"function"!=typeof u.UNSAFE_componentWillUpdate&&"function"!=typeof u.componentWillUpdate||("function"==typeof u.componentWillUpdate&&u.componentWillUpdate(r,h,l),"function"==typeof u.UNSAFE_componentWillUpdate&&u.UNSAFE_componentWillUpdate(r,h,l)),"function"==typeof u.componentDidUpdate&&(t.flags|=4),"function"==typeof u.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof u.componentDidUpdate||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof u.getSnapshotBeforeUpdate||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=h),u.props=r,u.state=h,u.context=l,r=c):("function"!=typeof u.componentDidUpdate||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof u.getSnapshotBeforeUpdate||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),r=!1);}return $u(e,t,n,r,o,a)}function $u(e,t,n,r,a,o){qu(e,t);var u=0!=(64&t.flags);if(!r&&!u)return a&&ba(t,n,!1),ei(e,t,o);r=t.stateNode,zu.current=t;var i=u&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&u?(t.child=xo(t,e.child,null,o),t.child=xo(t,null,i,o)):Mu(e,t,i,o),t.memoizedState=r.state,a&&ba(t,n,!0),t.child}function Vu(e){var t=e.stateNode;t.pendingContext?ya(0,t.pendingContext,t.pendingContext!==t.context):t.context&&ya(0,t.context,!1),jo(e,t.containerInfo);}var Wu,Bu,Hu,Ku={dehydrated:null,retryLane:0};function Yu(e,t,n){var r,a=t.pendingProps,o=Mo.current,u=!1;return (r=0!=(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!=(2&o)),r?(u=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===a.fallback||!0===a.unstable_avoidThisFallback||(o|=1),la(Mo,1&o),null===e?(void 0!==a.fallback&&Qo(t),e=a.children,o=a.fallback,u?(e=Xu(t,e,o,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Ku,e):"number"==typeof a.unstable_expectedLoadTime?(e=Xu(t,e,o,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Ku,t.lanes=33554432,e):((n=Vl({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):u?(a=function(e,t,n,r,a){var o=t.mode,u=e.child;e=u.sibling;var i={mode:"hidden",children:n};return 0==(2&o)&&t.child!==u?((n=t.child).childLanes=0,n.pendingProps=i,null!==(u=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=u,u.nextEffect=null):t.firstEffect=t.lastEffect=null):n=Ul(u,i),null!==e?r=Ul(e,r):(r=$l(r,o,a,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}(e,t,a.children,a.fallback,n),(u=t.child).memoizedState=null===(o=e.child.memoizedState)?{baseLanes:n}:{baseLanes:o.baseLanes|n},u.childLanes=e.childLanes&~n,t.memoizedState=Ku,a):(n=function(e,t,n,r){var a=e.child;return e=a.sibling,n=Ul(a,{mode:"visible",children:n}),0==(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}(e,t,a.children,n),t.memoizedState=null,n)}function Xu(e,t,n,r){var a=e.mode,o=e.child;return t={mode:"hidden",children:t},0==(2&a)&&null!==o?(o.childLanes=0,o.pendingProps=t):o=Vl(t,a,0,null),n=$l(n,a,r,null),o.return=e,n.return=e,o.sibling=n,e.child=o,n}function Gu(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),to(e.return,t);}function Ju(e,t,n,r,a,o){var u=e.memoizedState;null===u?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a,lastEffect:o}:(u.isBackwards=t,u.rendering=null,u.renderingStartTime=0,u.last=r,u.tail=n,u.tailMode=a,u.lastEffect=o);}function Zu(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(Mu(e,t,r.children,n),0!=(2&(r=Mo.current)))r=1&r|2,t.flags|=64;else {if(null!==e&&0!=(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Gu(e,n);else if(19===e.tag)Gu(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return;}e.sibling.return=e.return,e=e.sibling;}r&=1;}if(la(Mo,r),0==(2&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===Ao(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),Ju(t,!1,a,n,o,t.lastEffect);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===Ao(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e;}Ju(t,!0,n,null,o,t.lastEffect);break;case"together":Ju(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null;}return t.child}function ei(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Ai|=t.lanes,0!=(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Ul(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)(n=n.sibling=Ul(e=e.sibling,e.pendingProps)).return=t;n.sibling=null;}return t.child}return null}function ti(e,t){if(!Fo)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null;}}function ni(e,t,r){var o=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return ha(t.type)&&va(),null;case 3:return Ro(),ia(fa),ia(sa),Ho(),(o=t.stateNode).pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),null!==e&&null!==e.child||(Vo(t)?t.flags|=4:o.hydrate||(t.flags|=256)),null;case 5:Lo(t);var i=No(To.current);if(r=t.type,null!==e&&null!=t.stateNode)Bu(e,t,r,o),e.ref!==t.ref&&(t.flags|=128);else {if(!o){if(null===t.stateNode)throw Error(a(166));return null}if(e=No(Co.current),Vo(t)){r=t.type;var l=t.memoizedProps;switch((o=t.stateNode)[Yr]=t,o[Xr]=l,r){case"dialog":Cr("cancel",o),Cr("close",o);break;case"iframe":case"object":case"embed":Cr("load",o);break;case"video":case"audio":for(e=0;e<Er.length;e++)Cr(Er[e],o);break;case"source":Cr("error",o);break;case"img":case"image":case"link":Cr("error",o),Cr("load",o);break;case"details":Cr("toggle",o);break;case"input":te(o,l),Cr("invalid",o);break;case"select":o._wrapperState={wasMultiple:!!l.multiple},Cr("invalid",o);break;case"textarea":ce(o,l),Cr("invalid",o);}for(var c in xe(r,l),e=null,l)l.hasOwnProperty(c)&&(i=l[c],"children"===c?"string"==typeof i?o.textContent!==i&&(e=["children",i]):"number"==typeof i&&o.textContent!==""+i&&(e=["children",""+i]):u.hasOwnProperty(c)&&null!=i&&"onScroll"===c&&Cr("scroll",o));switch(r){case"input":G(o),ae(o,l,!0);break;case"textarea":G(o),fe(o);break;case"select":case"option":break;default:"function"==typeof l.onClick&&(o.onclick=Ir);}t.updateQueue=o=e,null!==o&&(t.flags|=4);}else {switch(c=9===i.nodeType?i:i.ownerDocument,e===pe&&(e=he(r)),e===pe?"script"===r?((e=c.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof o.is?e=c.createElement(r,{is:o.is}):(e=c.createElement(r),"select"===r&&(c=e,o.multiple?c.multiple=!0:o.size&&(c.size=o.size))):e=c.createElementNS(e,r),e[Yr]=t,e[Xr]=o,Wu(e,t),t.stateNode=e,c=Oe(r,o),r){case"dialog":Cr("cancel",e),Cr("close",e),i=o;break;case"iframe":case"object":case"embed":Cr("load",e),i=o;break;case"video":case"audio":for(i=0;i<Er.length;i++)Cr(Er[i],e);i=o;break;case"source":Cr("error",e),i=o;break;case"img":case"image":case"link":Cr("error",e),Cr("load",e),i=o;break;case"details":Cr("toggle",e),i=o;break;case"input":te(e,o),i=ee(e,o),Cr("invalid",e);break;case"option":i=ue(e,o);break;case"select":e._wrapperState={wasMultiple:!!o.multiple},i=n({},o,{value:void 0}),Cr("invalid",e);break;case"textarea":ce(e,o),i=le(e,o),Cr("invalid",e);break;default:i=o;}xe(r,i);var s=i;for(l in s)if(s.hasOwnProperty(l)){var f=s[l];"style"===l?Se(e,f):"dangerouslySetInnerHTML"===l?null!=(f=f?f.__html:void 0)&&me(e,f):"children"===l?"string"==typeof f?("textarea"!==r||""!==f)&&ge(e,f):"number"==typeof f&&ge(e,""+f):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(u.hasOwnProperty(l)?null!=f&&"onScroll"===l&&Cr("scroll",e):null!=f&&g(e,l,f,c));}switch(r){case"input":G(e),ae(e,o,!1);break;case"textarea":G(e),fe(e);break;case"option":null!=o.value&&e.setAttribute("value",""+Y(o.value));break;case"select":e.multiple=!!o.multiple,null!=(l=o.value)?ie(e,!!o.multiple,l,!1):null!=o.defaultValue&&ie(e,!!o.multiple,o.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=Ir);}qr(r,o)&&(t.flags|=4);}null!==t.ref&&(t.flags|=128);}return null;case 6:if(e&&null!=t.stateNode)Hu(0,t,e.memoizedProps,o);else {if("string"!=typeof o&&null===t.stateNode)throw Error(a(166));r=No(To.current),No(Co.current),Vo(t)?(r=t.memoizedProps,(o=t.stateNode)[Yr]=t,o.nodeValue!==r&&(t.flags|=4)):((o=(9===r.nodeType?r:r.ownerDocument).createTextNode(o))[Yr]=t,t.stateNode=o);}return null;case 13:return ia(Mo),o=t.memoizedState,0!=(64&t.flags)?(t.lanes=r,t):(o=null!==o,r=!1,null===e?void 0!==t.memoizedProps.fallback&&Vo(t):r=null!==e.memoizedState,o&&!r&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Mo.current)?0===zi&&(zi=3):(0!==zi&&3!==zi||(zi=4),null===Pi||0==(134217727&Ai)&&0==(134217727&Ii)||pl(Pi,Ni))),(o||r)&&(t.flags|=4),null);case 4:return Ro(),null===e&&Tr(t.stateNode.containerInfo),null;case 10:return eo(t),null;case 17:return ha(t.type)&&va(),null;case 19:if(ia(Mo),null===(o=t.memoizedState))return null;if(l=0!=(64&t.flags),null===(c=o.rendering))if(l)ti(o,!1);else {if(0!==zi||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(c=Ao(e))){for(t.flags|=64,ti(o,!1),null!==(l=c.updateQueue)&&(t.updateQueue=l,t.flags|=4),null===o.lastEffect&&(t.firstEffect=null),t.lastEffect=o.lastEffect,o=r,r=t.child;null!==r;)e=o,(l=r).flags&=2,l.nextEffect=null,l.firstEffect=null,l.lastEffect=null,null===(c=l.alternate)?(l.childLanes=0,l.lanes=e,l.child=null,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=c.childLanes,l.lanes=c.lanes,l.child=c.child,l.memoizedProps=c.memoizedProps,l.memoizedState=c.memoizedState,l.updateQueue=c.updateQueue,l.type=c.type,l.dependencies=null===(e=c.dependencies)?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return la(Mo,1&Mo.current|2),t.child}e=e.sibling;}null!==o.tail&&qa()>Ui&&(t.flags|=64,l=!0,ti(o,!1),t.lanes=33554432);}else {if(!l)if(null!==(e=Ao(c))){if(t.flags|=64,l=!0,null!==(r=e.updateQueue)&&(t.updateQueue=r,t.flags|=4),ti(o,!0),null===o.tail&&"hidden"===o.tailMode&&!c.alternate&&!Fo)return null!==(t=t.lastEffect=o.lastEffect)&&(t.nextEffect=null),null}else 2*qa()-o.renderingStartTime>Ui&&1073741824!==r&&(t.flags|=64,l=!0,ti(o,!1),t.lanes=33554432);o.isBackwards?(c.sibling=t.child,t.child=c):(null!==(r=o.last)?r.sibling=c:t.child=c,o.last=c);}return null!==o.tail?(o.rendering=r=o.tail,o.tail=r.sibling,o.lastEffect=t.lastEffect,o.renderingStartTime=qa(),r.sibling=null,t=Mo.current,la(Mo,l?1&t|2:1&t),r):null;case 23:case 24:return gl(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==o.mode&&(t.flags|=4),null}throw Error(a(156,t.tag))}function ri(e){switch(e.tag){case 1:ha(e.type)&&va();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Ro(),ia(fa),ia(sa),Ho(),0!=(64&(t=e.flags)))throw Error(a(285));return e.flags=-4097&t|64,e;case 5:return Lo(e),null;case 13:return ia(Mo),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return ia(Mo),null;case 4:return Ro(),null;case 10:return eo(e),null;case 23:case 24:return gl(),null;default:return null}}function ai(e,t){try{var n="",r=t;do{n+=H(r),r=r.return;}while(r);var a=n;}catch(e){a="\nError generating stack: "+e.message+"\n"+e.stack;}return {value:e,source:t,stack:a}}function oi(e,t){try{console.error(t.value);}catch(e){setTimeout((function(){throw e}));}}Wu=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return;}n.sibling.return=n.return,n=n.sibling;}},Bu=function(e,t,r,a){var o=e.memoizedProps;if(o!==a){e=t.stateNode,No(Co.current);var i,l=null;switch(r){case"input":o=ee(e,o),a=ee(e,a),l=[];break;case"option":o=ue(e,o),a=ue(e,a),l=[];break;case"select":o=n({},o,{value:void 0}),a=n({},a,{value:void 0}),l=[];break;case"textarea":o=le(e,o),a=le(e,a),l=[];break;default:"function"!=typeof o.onClick&&"function"==typeof a.onClick&&(e.onclick=Ir);}for(f in xe(r,a),r=null,o)if(!a.hasOwnProperty(f)&&o.hasOwnProperty(f)&&null!=o[f])if("style"===f){var c=o[f];for(i in c)c.hasOwnProperty(i)&&(r||(r={}),r[i]="");}else "dangerouslySetInnerHTML"!==f&&"children"!==f&&"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&"autoFocus"!==f&&(u.hasOwnProperty(f)?l||(l=[]):(l=l||[]).push(f,null));for(f in a){var s=a[f];if(c=null!=o?o[f]:void 0,a.hasOwnProperty(f)&&s!==c&&(null!=s||null!=c))if("style"===f)if(c){for(i in c)!c.hasOwnProperty(i)||s&&s.hasOwnProperty(i)||(r||(r={}),r[i]="");for(i in s)s.hasOwnProperty(i)&&c[i]!==s[i]&&(r||(r={}),r[i]=s[i]);}else r||(l||(l=[]),l.push(f,r)),r=s;else "dangerouslySetInnerHTML"===f?(c=c?c.__html:void 0,null!=(s=s?s.__html:void 0)&&c!==s&&(l=l||[]).push(f,s)):"children"===f?"string"!=typeof s&&"number"!=typeof s||(l=l||[]).push(f,""+s):"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&(u.hasOwnProperty(f)?(null!=s&&"onScroll"===f&&Cr("scroll",e),l||c===s||(l=[])):"object"==typeof s&&null!==s&&s.$$typeof===I?s.toString():(l=l||[]).push(f,s));}r&&(l=l||[]).push("style",r);var f=l;(t.updateQueue=f)&&(t.flags|=4);}},Hu=function(e,t,n,r){n!==r&&(t.flags|=4);};var ui="function"==typeof WeakMap?WeakMap:Map;function ii(e,t,n){(n=io(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Wi||(Wi=!0,Bi=r),oi(0,t);},n}function li(e,t,n){(n=io(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var a=t.value;n.payload=function(){return oi(0,t),r(a)};}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Hi?Hi=new Set([this]):Hi.add(this),oi(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""});}),n}var ci="function"==typeof WeakSet?WeakSet:Set;function si(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null);}catch(t){Ml(e,t);}else t.current=null;}function fi(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Ka(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t;}return;case 3:return void(256&t.flags&&Vr(t.stateNode.containerInfo));case 5:case 6:case 4:case 17:return}throw Error(a(163))}function di(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3==(3&e.tag)){var r=e.create;e.destroy=r();}e=e.next;}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var o=e;r=o.next,0!=(4&(o=o.tag))&&0!=(1&o)&&(Rl(n,e),jl(n,e)),e=r;}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Ka(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&fo(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode;}fo(n,t,e);}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&qr(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&St(n)))));case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(a(163))}function pi(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"==typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else {r=n.stateNode;var a=n.memoizedProps.style;a=null!=a&&a.hasOwnProperty("display")?a.display:null,r.style.display=ke("display",a);}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return;}n.sibling.return=n.return,n=n.sibling;}}function hi(e,t){if(ka&&"function"==typeof ka.onCommitFiberUnmount)try{ka.onCommitFiberUnmount(wa,t);}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,a=r.destroy;if(r=r.tag,void 0!==a)if(0!=(4&r))Rl(t,n);else {r=t;try{a();}catch(e){Ml(r,e);}}n=n.next;}while(n!==e)}break;case 1:if(si(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount();}catch(e){Ml(t,e);}break;case 5:si(t);break;case 4:wi(e,t);}}function vi(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null;}function yi(e){return 5===e.tag||3===e.tag||4===e.tag}function mi(e){e:{for(var t=e.return;null!==t;){if(yi(t))break e;t=t.return;}throw Error(a(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.flags&&(ge(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||yi(n.return)){n=null;break e}n=n.return;}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child;}if(!(2&n.flags)){n=n.stateNode;break e}}r?gi(e,n,t):bi(e,n,t);}function gi(e,t,n){var r=e.tag,a=5===r||6===r;if(a)e=a?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Ir));else if(4!==r&&null!==(e=e.child))for(gi(e,t,n),e=e.sibling;null!==e;)gi(e,t,n),e=e.sibling;}function bi(e,t,n){var r=e.tag,a=5===r||6===r;if(a)e=a?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(bi(e,t,n),e=e.sibling;null!==e;)bi(e,t,n),e=e.sibling;}function wi(e,t){for(var n,r,o=t,u=!1;;){if(!u){u=o.return;e:for(;;){if(null===u)throw Error(a(160));switch(n=u.stateNode,u.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}u=u.return;}u=!0;}if(5===o.tag||6===o.tag){e:for(var i=e,l=o,c=l;;)if(hi(i,c),null!==c.child&&4!==c.tag)c.child.return=c,c=c.child;else {if(c===l)break e;for(;null===c.sibling;){if(null===c.return||c.return===l)break e;c=c.return;}c.sibling.return=c.return,c=c.sibling;}r?(l=o.stateNode,8===(i=n).nodeType?i.parentNode.removeChild(l):i.removeChild(l)):n.removeChild(o.stateNode);}else if(4===o.tag){if(null!==o.child){n=o.stateNode.containerInfo,r=!0,o.child.return=o,o=o.child;continue}}else if(hi(e,o),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(u=!1);}o.sibling.return=o.return,o=o.sibling;}}function ki(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3==(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next;}while(r!==n)}return;case 1:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var o=null!==e?e.memoizedProps:r;e=t.type;var u=t.updateQueue;if(t.updateQueue=null,null!==u){for(n[Xr]=r,"input"===e&&"radio"===r.type&&null!=r.name&&ne(n,r),Oe(e,o),t=Oe(e,r),o=0;o<u.length;o+=2){var i=u[o],l=u[o+1];"style"===i?Se(n,l):"dangerouslySetInnerHTML"===i?me(n,l):"children"===i?ge(n,l):g(n,i,l,t);}switch(e){case"input":re(n,r);break;case"textarea":se(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(u=r.value)?ie(n,!!r.multiple,u,!1):e!==!!r.multiple&&(null!=r.defaultValue?ie(n,!!r.multiple,r.defaultValue,!0):ie(n,!!r.multiple,r.multiple?[]:"",!1));}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,St(n.containerInfo)));case 12:return;case 13:return null!==t.memoizedState&&(qi=qa(),pi(t.child,!0)),void Si(t);case 19:return void Si(t);case 17:return;case 23:case 24:return void pi(t,null!==t.memoizedState)}throw Error(a(163))}function Si(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new ci),t.forEach((function(t){var r=Il.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r));}));}}function Ei(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&null!==(t=t.memoizedState)&&null===t.dehydrated}var xi=Math.ceil,Oi=w.ReactCurrentDispatcher,_i=w.ReactCurrentOwner,Ci=0,Pi=null,Ti=null,Ni=0,ji=0,Ri=ua(0),zi=0,Li=null,Mi=0,Ai=0,Ii=0,Di=0,Fi=null,qi=0,Ui=Infinity;function Qi(){Ui=qa()+500;}var $i,Vi=null,Wi=!1,Bi=null,Hi=null,Ki=!1,Yi=null,Xi=90,Gi=[],Ji=[],Zi=null,el=0,tl=null,nl=-1,rl=0,al=0,ol=null,ul=!1;function il(){return 0!=(48&Ci)?qa():-1!==nl?nl:nl=qa()}function ll(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===Ua()?1:2;if(0===rl&&(rl=Mi),0!==Ha.transition){0!==al&&(al=null!==Fi?Fi.pendingLanes:0),e=rl;var t=4186112&~al;return 0==(t&=-t)&&0==(t=(e=4186112&~e)&-e)&&(t=8192),t}return e=Ua(),qt(0!=(4&Ci)&&98===e?12:e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),rl)}function cl(e,t,n){if(50<el)throw el=0,tl=null,Error(a(185));if(null===(e=sl(e,t)))return null;$t(e,t,n),e===Pi&&(Ii|=t,4===zi&&pl(e,Ni));var r=Ua();1===t?0!=(8&Ci)&&0==(48&Ci)?hl(e):(fl(e,n),0===Ci&&(Qi(),Wa())):(0==(4&Ci)||98!==r&&99!==r||(null===Zi?Zi=new Set([e]):Zi.add(e)),fl(e,n)),Fi=e;}function sl(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function fl(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,o=e.pingedLanes,u=e.expirationTimes,i=e.pendingLanes;0<i;){var l=31-Vt(i),c=1<<l,s=u[l];-1===s?0!=(c&r)&&0==(c&o)||(s=t,It(c),u[l]=10<=At?s+250:6<=At?s+5e3:-1):s<=t&&(e.expiredLanes|=c),i&=~c;}if(r=Dt(e,e===Pi?Ni:0),t=At,0===r)null!==n&&(n!==La&&xa(n),e.callbackNode=null,e.callbackPriority=0);else {if(null!==n){if(e.callbackPriority===t)return;n!==La&&xa(n);}15===t?(n=hl.bind(null,e),null===Aa?(Aa=[n],Ia=Ea(Ta,Ba)):Aa.push(n),n=La):n=14===t?Va(99,hl.bind(null,e)):Va(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(a(358,e))}}(t),dl.bind(null,e)),e.callbackPriority=t,e.callbackNode=n;}}function dl(e){if(nl=-1,al=rl=0,0!=(48&Ci))throw Error(a(327));var t=e.callbackNode;if(Nl()&&e.callbackNode!==t)return null;var n=Dt(e,e===Pi?Ni:0);if(0===n)return null;var r=n,o=Ci;Ci|=16;var u=kl();for(Pi===e&&Ni===r||(Qi(),bl(e,r));;)try{xl();break}catch(t){wl(e,t);}if(Za(),Oi.current=u,Ci=o,null!==Ti?r=0:(Pi=null,Ni=0,r=zi),0!=(Mi&Ii))bl(e,0);else if(0!==r){if(2===r&&(Ci|=64,e.hydrate&&(e.hydrate=!1,Vr(e.containerInfo)),0!==(n=Ft(e))&&(r=Sl(e,n))),1===r)throw t=Li,bl(e,0),pl(e,n),fl(e,qa()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(a(345));case 2:Cl(e);break;case 3:if(pl(e,n),(62914560&n)===n&&10<(r=qi+500-qa())){if(0!==Dt(e,0))break;if(((o=e.suspendedLanes)&n)!==n){il(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Qr(Cl.bind(null,e),r);break}Cl(e);break;case 4:if(pl(e,n),(4186112&n)===n)break;for(r=e.eventTimes,o=-1;0<n;){var i=31-Vt(n);u=1<<i,(i=r[i])>o&&(o=i),n&=~u;}if(n=o,10<(n=(120>(n=qa()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*xi(n/1960))-n)){e.timeoutHandle=Qr(Cl.bind(null,e),n);break}Cl(e);break;case 5:Cl(e);break;default:throw Error(a(329))}}return fl(e,qa()),e.callbackNode===t?dl.bind(null,e):null}function pl(e,t){for(t&=~Di,e.suspendedLanes|=t&=~Ii,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Vt(t),r=1<<n;e[n]=-1,t&=~r;}}function hl(e){if(0!=(48&Ci))throw Error(a(327));if(Nl(),e===Pi&&0!=(e.expiredLanes&Ni)){var t=Ni,n=Sl(e,t);0!=(Mi&Ii)&&(n=Sl(e,t=Dt(e,t)));}else n=Sl(e,t=Dt(e,0));if(0!==e.tag&&2===n&&(Ci|=64,e.hydrate&&(e.hydrate=!1,Vr(e.containerInfo)),0!==(t=Ft(e))&&(n=Sl(e,t))),1===n)throw n=Li,bl(e,0),pl(e,t),fl(e,qa()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Cl(e),fl(e,qa()),null}function vl(e,t){var n=Ci;Ci|=1;try{return e(t)}finally{0===(Ci=n)&&(Qi(),Wa());}}function yl(e,t){var n=Ci;Ci&=-2,Ci|=8;try{return e(t)}finally{0===(Ci=n)&&(Qi(),Wa());}}function ml(e,t){la(Ri,ji),ji|=t,Mi|=t;}function gl(){ji=Ri.current,ia(Ri);}function bl(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,$r(n)),null!==Ti)for(n=Ti.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&va();break;case 3:Ro(),ia(fa),ia(sa),Ho();break;case 5:Lo(r);break;case 4:Ro();break;case 13:case 19:ia(Mo);break;case 10:eo(r);break;case 23:case 24:gl();}n=n.return;}Pi=e,Ti=Ul(e.current,null),Ni=ji=Mi=t,zi=0,Li=null,Di=Ii=Ai=0;}function wl(e,t){for(;;){var n=Ti;try{if(Za(),Ko.current=Tu,eu){for(var r=Go.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next;}eu=!1;}if(Xo=0,Zo=Jo=Go=null,tu=!1,_i.current=null,null===n||null===n.return){zi=1,Li=t,Ti=null;break}e:{var o=e,u=n.return,i=n,l=t;if(t=Ni,i.flags|=2048,i.firstEffect=i.lastEffect=null,null!==l&&"object"==typeof l&&"function"==typeof l.then){var c=l;if(0==(2&i.mode)){var s=i.alternate;s?(i.updateQueue=s.updateQueue,i.memoizedState=s.memoizedState,i.lanes=s.lanes):(i.updateQueue=null,i.memoizedState=null);}var f=0!=(1&Mo.current),d=u;do{var p;if(p=13===d.tag){var h=d.memoizedState;if(null!==h)p=null!==h.dehydrated;else {var v=d.memoizedProps;p=void 0!==v.fallback&&(!0!==v.unstable_avoidThisFallback||!f);}}if(p){var y=d.updateQueue;if(null===y){var m=new Set;m.add(c),d.updateQueue=m;}else y.add(c);if(0==(2&d.mode)){if(d.flags|=64,i.flags|=16384,i.flags&=-2981,1===i.tag)if(null===i.alternate)i.tag=17;else {var g=io(-1,1);g.tag=2,lo(i,g);}i.lanes|=1;break e}l=void 0,i=t;var b=o.pingCache;if(null===b?(b=o.pingCache=new ui,l=new Set,b.set(c,l)):void 0===(l=b.get(c))&&(l=new Set,b.set(c,l)),!l.has(i)){l.add(i);var w=Al.bind(null,o,c,i);c.then(w,w);}d.flags|=4096,d.lanes=t;break e}d=d.return;}while(null!==d);l=Error((K(i.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.");}5!==zi&&(zi=2),l=ai(l,i),d=u;do{switch(d.tag){case 3:o=l,d.flags|=4096,d.lanes|=t&=-t,co(d,ii(0,o,t));break e;case 1:o=l;var k=d.stateNode;if(0==(64&d.flags)&&("function"==typeof d.type.getDerivedStateFromError||null!==k&&"function"==typeof k.componentDidCatch&&(null===Hi||!Hi.has(k)))){d.flags|=4096,d.lanes|=t&=-t,co(d,li(d,o,t));break e}}d=d.return;}while(null!==d)}_l(n);}catch(e){t=e,Ti===n&&null!==n&&(Ti=n=n.return);continue}break}}function kl(){var e=Oi.current;return Oi.current=Tu,null===e?Tu:e}function Sl(e,t){var n=Ci;Ci|=16;var r=kl();for(Pi===e&&Ni===t||bl(e,t);;)try{El();break}catch(t){wl(e,t);}if(Za(),Ci=n,Oi.current=r,null!==Ti)throw Error(a(261));return Pi=null,Ni=0,zi}function El(){for(;null!==Ti;)Ol(Ti);}function xl(){for(;null!==Ti&&!Oa();)Ol(Ti);}function Ol(e){var t=$i(e.alternate,e,ji);e.memoizedProps=e.pendingProps,null===t?_l(e):Ti=t,_i.current=null;}function _l(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=ni(n,t,ji)))return void(Ti=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&ji)||0==(4&n.mode)){for(var r=0,a=n.child;null!==a;)r|=a.lanes|a.childLanes,a=a.sibling;n.childLanes=r;}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t));}else {if(null!==(n=ri(t)))return n.flags&=2047,void(Ti=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048);}if(null!==(t=t.sibling))return void(Ti=t);Ti=t=e;}while(null!==t);0===zi&&(zi=5);}function Cl(e){var t=Ua();return $a(99,Pl.bind(null,e,t)),null}function Pl(e,t){do{Nl();}while(null!==Yi);if(0!=(48&Ci))throw Error(a(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(a(177));e.callbackNode=null;var r=n.lanes|n.childLanes,o=r,u=e.pendingLanes&~o;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=o,e.mutableReadLanes&=o,e.entangledLanes&=o,o=e.entanglements;for(var i=e.eventTimes,l=e.expirationTimes;0<u;){var c=31-Vt(u),s=1<<c;o[c]=0,i[c]=-1,l[c]=-1,u&=~s;}if(null!==Zi&&0==(24&r)&&Zi.has(e)&&Zi.delete(e),e===Pi&&(Ti=Pi=null,Ni=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(o=Ci,Ci|=32,_i.current=null,Dr=Yt,hr(i=pr())){if("selectionStart"in i)l={start:i.selectionStart,end:i.selectionEnd};else if((s=(l=(l=i.ownerDocument)&&l.defaultView||window).getSelection&&l.getSelection())&&0!==s.rangeCount){l=s.anchorNode,u=s.anchorOffset,c=s.focusNode,s=s.focusOffset;var f=0,d=-1,p=-1,h=0,v=0,y=i,m=null;e:for(;;){for(var g;y!==l||0!==u&&3!==y.nodeType||(d=f+u),y!==c||0!==s&&3!==y.nodeType||(p=f+s),3===y.nodeType&&(f+=y.nodeValue.length),null!==(g=y.firstChild);)m=y,y=g;for(;;){if(y===i)break e;if(m===l&&++h===u&&(d=f),m===c&&++v===s&&(p=f),null!==(g=y.nextSibling))break;m=(y=m).parentNode;}y=g;}l=-1===d||-1===p?null:{start:d,end:p};}else l=null;l=l||{start:0,end:0};}else l=null;Fr={focusedElem:i,selectionRange:l},Yt=!1,ol=null,ul=!1,Vi=r;do{try{Tl();}catch(e){if(null===Vi)throw Error(a(330));Ml(Vi,e),Vi=Vi.nextEffect;}}while(null!==Vi);ol=null,Vi=r;do{try{for(i=e;null!==Vi;){var b=Vi.flags;if(16&b&&ge(Vi.stateNode,""),128&b){var w=Vi.alternate;if(null!==w){var k=w.ref;null!==k&&("function"==typeof k?k(null):k.current=null);}}switch(1038&b){case 2:mi(Vi),Vi.flags&=-3;break;case 6:mi(Vi),Vi.flags&=-3,ki(Vi.alternate,Vi);break;case 1024:Vi.flags&=-1025;break;case 1028:Vi.flags&=-1025,ki(Vi.alternate,Vi);break;case 4:ki(Vi.alternate,Vi);break;case 8:wi(i,l=Vi);var S=l.alternate;vi(l),null!==S&&vi(S);}Vi=Vi.nextEffect;}}catch(e){if(null===Vi)throw Error(a(330));Ml(Vi,e),Vi=Vi.nextEffect;}}while(null!==Vi);if(k=Fr,w=pr(),i=k.selectionRange,w!==(b=k.focusedElem)&&b&&b.ownerDocument&&dr(b.ownerDocument.documentElement,b)){null!==i&&hr(b)&&(w=i.start,void 0===(k=i.end)&&(k=w),"selectionStart"in b?(b.selectionStart=w,b.selectionEnd=Math.min(k,b.value.length)):(k=(w=b.ownerDocument||document)&&w.defaultView||window).getSelection&&(k=k.getSelection(),l=b.textContent.length,S=Math.min(i.start,l),i=void 0===i.end?S:Math.min(i.end,l),!k.extend&&S>i&&(l=i,i=S,S=l),l=fr(b,S),u=fr(b,i),l&&u&&(1!==k.rangeCount||k.anchorNode!==l.node||k.anchorOffset!==l.offset||k.focusNode!==u.node||k.focusOffset!==u.offset)&&((w=w.createRange()).setStart(l.node,l.offset),k.removeAllRanges(),S>i?(k.addRange(w),k.extend(u.node,u.offset)):(w.setEnd(u.node,u.offset),k.addRange(w))))),w=[];for(k=b;k=k.parentNode;)1===k.nodeType&&w.push({element:k,left:k.scrollLeft,top:k.scrollTop});for("function"==typeof b.focus&&b.focus(),b=0;b<w.length;b++)(k=w[b]).element.scrollLeft=k.left,k.element.scrollTop=k.top;}Yt=!!Dr,Fr=Dr=null,e.current=n,Vi=r;do{try{for(b=e;null!==Vi;){var E=Vi.flags;if(36&E&&di(b,Vi.alternate,Vi),128&E){w=void 0;var x=Vi.ref;if(null!==x){var O=Vi.stateNode;switch(Vi.tag){case 5:w=O;break;default:w=O;}"function"==typeof x?x(w):x.current=w;}}Vi=Vi.nextEffect;}}catch(e){if(null===Vi)throw Error(a(330));Ml(Vi,e),Vi=Vi.nextEffect;}}while(null!==Vi);Vi=null,Ma(),Ci=o;}else e.current=n;if(Ki)Ki=!1,Yi=e,Xi=t;else for(Vi=r;null!==Vi;)t=Vi.nextEffect,Vi.nextEffect=null,8&Vi.flags&&((E=Vi).sibling=null,E.stateNode=null),Vi=t;if(0===(r=e.pendingLanes)&&(Hi=null),1===r?e===tl?el++:(el=0,tl=e):el=0,n=n.stateNode,ka&&"function"==typeof ka.onCommitFiberRoot)try{ka.onCommitFiberRoot(wa,n,void 0,64==(64&n.current.flags));}catch(e){}if(fl(e,qa()),Wi)throw Wi=!1,e=Bi,Bi=null,e;return 0!=(8&Ci)||Wa(),null}function Tl(){for(;null!==Vi;){var e=Vi.alternate;ul||null===ol||(0!=(8&Vi.flags)?at(Vi,ol)&&(ul=!0):13===Vi.tag&&Ei(e,Vi)&&at(Vi,ol)&&(ul=!0));var t=Vi.flags;0!=(256&t)&&fi(e,Vi),0==(512&t)||Ki||(Ki=!0,Va(97,(function(){return Nl(),null}))),Vi=Vi.nextEffect;}}function Nl(){if(90!==Xi){var e=97<Xi?97:Xi;return Xi=90,$a(e,zl)}return !1}function jl(e,t){Gi.push(t,e),Ki||(Ki=!0,Va(97,(function(){return Nl(),null})));}function Rl(e,t){Ji.push(t,e),Ki||(Ki=!0,Va(97,(function(){return Nl(),null})));}function zl(){if(null===Yi)return !1;var e=Yi;if(Yi=null,0!=(48&Ci))throw Error(a(331));var t=Ci;Ci|=32;var n=Ji;Ji=[];for(var r=0;r<n.length;r+=2){var o=n[r],u=n[r+1],i=o.destroy;if(o.destroy=void 0,"function"==typeof i)try{i();}catch(e){if(null===u)throw Error(a(330));Ml(u,e);}}for(n=Gi,Gi=[],r=0;r<n.length;r+=2){o=n[r],u=n[r+1];try{var l=o.create;o.destroy=l();}catch(e){if(null===u)throw Error(a(330));Ml(u,e);}}for(l=e.current.firstEffect;null!==l;)e=l.nextEffect,l.nextEffect=null,8&l.flags&&(l.sibling=null,l.stateNode=null),l=e;return Ci=t,Wa(),!0}function Ll(e,t,n){lo(e,t=ii(0,t=ai(n,t),1)),t=il(),null!==(e=sl(e,1))&&($t(e,1,t),fl(e,t));}function Ml(e,t){if(3===e.tag)Ll(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Ll(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Hi||!Hi.has(r))){var a=li(n,e=ai(t,e),1);if(lo(n,a),a=il(),null!==(n=sl(n,1)))$t(n,1,a),fl(n,a);else if("function"==typeof r.componentDidCatch&&(null===Hi||!Hi.has(r)))try{r.componentDidCatch(t,e);}catch(e){}break}}n=n.return;}}function Al(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=il(),e.pingedLanes|=e.suspendedLanes&n,Pi===e&&(Ni&n)===n&&(4===zi||3===zi&&(62914560&Ni)===Ni&&500>qa()-qi?bl(e,0):Di|=n),fl(e,t);}function Il(e,t){var n=e.stateNode;null!==n&&n.delete(t),0==(t=0)&&(0==(2&(t=e.mode))?t=1:0==(4&t)?t=99===Ua()?1:2:(0===rl&&(rl=Mi),0===(t=Ut(62914560&~rl))&&(t=4194304))),n=il(),null!==(e=sl(e,t))&&($t(e,t,n),fl(e,n));}function Dl(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null;}function Fl(e,t,n,r){return new Dl(e,t,n,r)}function ql(e){return !(!(e=e.prototype)||!e.isReactComponent)}function Ul(e,t){var n=e.alternate;return null===n?((n=Fl(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,n.dependencies=null===(t=e.dependencies)?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ql(e,t,n,r,o,u){var i=2;if(r=e,"function"==typeof e)ql(e)&&(i=1);else if("string"==typeof e)i=5;else e:switch(e){case E:return $l(n.children,o,u,t);case D:i=8,o|=16;break;case x:i=8,o|=1;break;case _:return (e=Fl(12,n,t,8|o)).elementType=_,e.type=_,e.lanes=u,e;case j:return (e=Fl(13,n,t,o)).type=j,e.elementType=j,e.lanes=u,e;case R:return (e=Fl(19,n,t,o)).elementType=R,e.lanes=u,e;case F:return Vl(n,o,u,t);case q:return (e=Fl(24,n,t,o)).elementType=q,e.lanes=u,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case P:i=10;break e;case T:i=9;break e;case N:i=11;break e;case z:i=14;break e;case L:i=16,r=null;break e;case A:i=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return (t=Fl(i,n,t,o)).elementType=e,t.type=r,t.lanes=u,t}function $l(e,t,n,r){return (e=Fl(7,e,r,t)).lanes=n,e}function Vl(e,t,n,r){return (e=Fl(23,e,r,t)).elementType=F,e.lanes=n,e}function Wl(e,t,n){return (e=Fl(6,e,null,t)).lanes=n,e}function Bl(e,t,n){return (t=Fl(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Hl(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Qt(0),this.expirationTimes=Qt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Qt(0),this.mutableSourceEagerHydrationData=null;}function Kl(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return {$$typeof:S,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Yl(e,t,n,r){var o=t.current,u=il(),i=ll(o);e:if(n){t:{if(et(n=n._reactInternals)!==n||1!==n.tag)throw Error(a(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(ha(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return;}while(null!==l);throw Error(a(171))}if(1===n.tag){var c=n.type;if(ha(c)){n=ma(n,c,l);break e}}n=l;}else n=ca;return null===t.context?t.context=n:t.pendingContext=n,(t=io(u,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),lo(o,t),cl(o,i,u),i}function Xl(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Gl(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t;}}function Jl(e,t){Gl(e,t),(e=e.alternate)&&Gl(e,t);}function Zl(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Hl(e,t,null!=n&&!0===n.hydrate),t=Fl(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,oo(t),e[Gr]=n.current,Tr(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var a=(t=r[e])._getVersion;a=a(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,a]:n.mutableSourceEagerHydrationData.push(t,a);}this._internalRoot=n;}function ec(e){return !(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function tc(e,t,n,r,a){var o=n._reactRootContainer;if(o){var u=o._internalRoot;if("function"==typeof a){var i=a;a=function(){var e=Xl(u);i.call(e);};}Yl(t,u,e,a);}else {if(o=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Zl(e,0,t?{hydrate:!0}:void 0)}(n,r),u=o._internalRoot,"function"==typeof a){var l=a;a=function(){var e=Xl(u);l.call(e);};}yl((function(){Yl(t,u,e,a);}));}return Xl(u)}function nc(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!ec(t))throw Error(a(200));return Kl(e,t,null,n)}$i=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||fa.current)Lu=!0;else {if(0==(n&r)){switch(Lu=!1,t.tag){case 3:Vu(t),Wo();break;case 5:zo(t);break;case 1:ha(t.type)&&ga(t);break;case 4:jo(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var o=t.type._context;la(Ya,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?Yu(e,t,n):(la(Mo,1&Mo.current),null!==(t=ei(e,t,n))?t.sibling:null);la(Mo,1&Mo.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(64&e.flags)){if(r)return Zu(e,t,n);t.flags|=64;}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),la(Mo,Mo.current),r)break;return null;case 23:case 24:return t.lanes=0,Fu(e,t,n)}return ei(e,t,n)}Lu=0!=(16384&e.flags);}else Lu=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=pa(t,sa.current),no(t,n),o=au(null,t,r,e,o,n),t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,ha(r)){var u=!0;ga(t);}else u=!1;t.memoizedState=null!=o.state?o.state:null,oo(t);var i=r.getDerivedStateFromProps;"function"==typeof i&&ho(t,r,i,e),o.updater=vo,t.stateNode=o,o._reactInternals=t,bo(t,r,e,n),t=$u(null,t,r,!0,u,n);}else t.tag=0,Mu(null,t,o,n),t=t.child;return t;case 16:o=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=(u=o._init)(o._payload),t.type=o,u=t.tag=function(e){if("function"==typeof e)return ql(e)?1:0;if(null!=e){if((e=e.$$typeof)===N)return 11;if(e===z)return 14}return 2}(o),e=Ka(o,e),u){case 0:t=Uu(null,t,o,e,n);break e;case 1:t=Qu(null,t,o,e,n);break e;case 11:t=Au(null,t,o,e,n);break e;case 14:t=Iu(null,t,o,Ka(o.type,e),r,n);break e}throw Error(a(306,o,""))}return t;case 0:return o=t.pendingProps,Uu(e,t,r=t.type,o=t.elementType===r?o:Ka(r,o),n);case 1:return o=t.pendingProps,Qu(e,t,r=t.type,o=t.elementType===r?o:Ka(r,o),n);case 3:if(Vu(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,uo(e,t),so(t,r,null,n),(r=t.memoizedState.element)===o)Wo(),t=ei(e,t,n);else {if((u=(o=t.stateNode).hydrate)&&(Do=Wr(t.stateNode.containerInfo.firstChild),Io=t,u=Fo=!0),u){if(null!=(e=o.mutableSourceEagerHydrationData))for(o=0;o<e.length;o+=2)(u=e[o])._workInProgressVersionPrimary=e[o+1],Bo.push(u);for(n=Oo(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling;}else Mu(e,t,r,n),Wo();t=t.child;}return t;case 5:return zo(t),null===e&&Qo(t),u=null!==e?e.memoizedProps:null,i=(o=t.pendingProps).children,Ur(r=t.type,o)?i=null:null!==u&&Ur(r,u)&&(t.flags|=16),qu(e,t),Mu(e,t,i,n),t.child;case 6:return null===e&&Qo(t),null;case 13:return Yu(e,t,n);case 4:return jo(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=xo(t,null,r,n):Mu(e,t,r,n),t.child;case 11:return o=t.pendingProps,Au(e,t,r=t.type,o=t.elementType===r?o:Ka(r,o),n);case 7:return Mu(e,t,t.pendingProps,n),t.child;case 8:case 12:return Mu(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,i=t.memoizedProps,u=(o=t.pendingProps).value;var l=t.type._context;if(la(Ya,l._currentValue),l._currentValue=u,null!==i)if(0==(u=ir(l=i.value,u)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,u):1073741823))){if(i.children===o.children&&!fa.current){t=ei(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var c=l.dependencies;if(null!==c){i=l.child;for(var s=c.firstContext;null!==s;){if(s.context===r&&0!=(s.observedBits&u)){1===l.tag&&((s=io(-1,n&-n)).tag=2,lo(l,s)),l.lanes|=n,null!==(s=l.alternate)&&(s.lanes|=n),to(l.return,n),c.lanes|=n;break}s=s.next;}}else i=10===l.tag&&l.type===t.type?null:l.child;if(null!==i)i.return=l;else for(i=l;null!==i;){if(i===t){i=null;break}if(null!==(l=i.sibling)){l.return=i.return,i=l;break}i=i.return;}l=i;}Mu(e,t,o.children,n),t=t.child;}return t;case 9:return o=t.type,r=(u=t.pendingProps).children,no(t,n),r=r(o=ro(o,u.unstable_observedBits)),t.flags|=1,Mu(e,t,r,n),t.child;case 14:return u=Ka(o=t.type,t.pendingProps),Iu(e,t,o,u=Ka(o.type,u),r,n);case 15:return Du(e,t,t.type,t.pendingProps,r,n);case 17:return o=t.pendingProps,o=t.elementType===(r=t.type)?o:Ka(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,ha(r)?(e=!0,ga(t)):e=!1,no(t,n),mo(t,r,o),bo(t,r,o,n),$u(null,t,r,!0,e,n);case 19:return Zu(e,t,n);case 23:case 24:return Fu(e,t,n)}throw Error(a(156,t.tag))},Zl.prototype.render=function(e){Yl(e,this._internalRoot,null,null);},Zl.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Yl(null,e,null,(function(){t[Gr]=null;}));},Ve=function(e){13===e.tag&&(cl(e,4,il()),Jl(e,4));},We=function(e){13===e.tag&&(cl(e,67108864,il()),Jl(e,67108864));},Be=function(e){if(13===e.tag){var t=il(),n=ll(e);cl(e,n,t),Jl(e,n);}},He=function(e,t){return t()},Ce=function(e,t,n){switch(t){case"input":if(re(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=na(r);if(!o)throw Error(a(90));J(r),re(r,o);}}}break;case"textarea":se(e,n);break;case"select":null!=(t=n.value)&&ie(e,!!n.multiple,t,!1);}},ze=vl,Le=function(e,t,n,r,a){var o=Ci;Ci|=4;try{return $a(98,e.bind(null,t,n,r,a))}finally{0===(Ci=o)&&(Qi(),Wa());}},Me=function(){0==(49&Ci)&&(function(){if(null!==Zi){var e=Zi;Zi=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,fl(e,qa());}));}Wa();}(),Nl());},Ae=function(e,t){var n=Ci;Ci|=2;try{return e(t)}finally{0===(Ci=n)&&(Qi(),Wa());}};var rc,ac={Events:[ea,ta,na,je,Re,Nl,{current:!1}]},oc={findFiberByHostInstance:Zr,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},uc={bundleType:oc.bundleType,version:oc.version,rendererPackageName:oc.rendererPackageName,rendererConfig:oc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=rt(e))?null:e.stateNode},findFiberByHostInstance:oc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&!(rc=__REACT_DEVTOOLS_GLOBAL_HOOK__).isDisabled&&rc.supportsFiber)try{wa=rc.inject(uc),ka=rc;}catch(ye){}e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ac,e.createPortal=nc,e.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return null===(e=rt(t))?null:e.stateNode},e.flushSync=function(e,t){var n=Ci;if(0!=(48&n))return e(t);Ci|=1;try{if(e)return $a(99,e.bind(null,t))}finally{Ci=n,Wa();}},e.hydrate=function(e,t,n){if(!ec(t))throw Error(a(200));return tc(null,e,t,!0,n)},e.render=function(e,t,n){if(!ec(t))throw Error(a(200));return tc(null,e,t,!1,n)},e.unmountComponentAtNode=function(e){if(!ec(e))throw Error(a(40));return !!e._reactRootContainer&&(yl((function(){tc(null,null,e,!1,(function(){e._reactRootContainer=null,e[Gr]=null;}));})),!0)},e.unstable_batchedUpdates=vl,e.unstable_createPortal=function(e,t){return nc(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},e.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!ec(n))throw Error(a(200));if(null==e||void 0===e._reactInternals)throw Error(a(38));return tc(e,t,n,!1,r)},e.version="17.0.2";}}),I=S({"../../node_modules/react-dom/index.js":function(e,t){!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e);}catch(e){console.error(e);}}(),t.exports=A();}});function D(e){return e.replace(e[0],e[0].toUpperCase())}function F(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(e){return "'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function q(e){return !!e&&!!e[Oe]}function U(e){return !!e&&(function(e){if(!e||"object"!=typeof e)return !1;var t=Object.getPrototypeOf(e);if(null===t)return !0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return "function"==typeof n&&Function.toString.call(n)===_e}(e)||Array.isArray(e)||!!e[xe]||!!e.constructor[xe]||K(e)||Y(e))}function Q(e,t,n){void 0===n&&(n=!1),0===$(e)?(n?Object.keys:Ce)(e).forEach((function(r){n&&"symbol"==typeof r||t(r,e[r],e);})):e.forEach((function(n,r){return t(r,n,e)}));}function $(e){var t=e[Oe];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:K(e)?2:Y(e)?3:0}function V(e,t){return 2===$(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function W(e,t){return 2===$(e)?e.get(t):e[t]}function B(e,t,n){var r=$(e);2===r?e.set(t,n):3===r?(e.delete(t),e.add(n)):e[t]=n;}function H(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function K(e){return we&&e instanceof Map}function Y(e){return ke&&e instanceof Set}function X(e){return e.o||e.t}function G(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Pe(e);delete t[Oe];for(var n=Ce(t),r=0;r<n.length;r++){var a=n[r],o=t[a];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(t[a]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[a]});}return Object.create(Object.getPrototypeOf(e),t)}function J(e,t){return void 0===t&&(t=!1),ee(e)||q(e)||!U(e)||($(e)>1&&(e.set=e.add=e.clear=e.delete=Z),Object.freeze(e),t&&Q(e,(function(e,t){return J(t,!0)}),!0)),e}function Z(){F(2);}function ee(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function te(e){var t=Te[e];return t||F(18,e),t}function ne(e,t){Te[e]||(Te[e]=t);}function re(){return a}function ae(e,t){t&&(te("Patches"),e.u=[],e.s=[],e.v=t);}function oe(e){ue(e),e.p.forEach(le),e.p=null;}function ue(e){e===a&&(a=e.l);}function ie(e){return a={p:[],l:a,h:e,m:!0,_:0}}function le(e){var t=e[Oe];0===t.i||1===t.i?t.j():t.g=!0;}function ce(e,t){t._=t.p.length;var n=t.p[0],r=void 0!==e&&e!==n;return t.h.O||te("ES5").S(t,e,r),r?(n[Oe].P&&(oe(t),F(4)),U(e)&&(e=se(t,e),t.l||de(t,e)),t.u&&te("Patches").M(n[Oe],e,t.u,t.s)):e=se(t,n,[]),oe(t),t.u&&t.v(t.u,t.s),e!==Ee?e:void 0}function se(e,t,n){if(ee(t))return t;var r=t[Oe];if(!r)return Q(t,(function(a,o){return fe(e,r,t,a,o,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return de(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var a=4===r.i||5===r.i?r.o=G(r.k):r.o;Q(3===r.i?new Set(a):a,(function(t,o){return fe(e,r,a,t,o,n)})),de(e,a,!1),n&&e.u&&te("Patches").R(r,n,e.u,e.s);}return r.o}function fe(e,t,n,r,a,o){if(q(a)){var u=se(e,a,o&&t&&3!==t.i&&!V(t.D,r)?o.concat(r):void 0);if(B(n,r,u),!q(u))return;e.m=!1;}if(U(a)&&!ee(a)){if(!e.h.F&&e._<1)return;se(e,a),t&&t.A.l||de(e,a);}}function de(e,t,n){void 0===n&&(n=!1),e.h.F&&e.m&&J(t,n);}function pe(e,t){var n=e[Oe];return (n?X(n):e)[t]}function he(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n);}}function ve(e){e.P||(e.P=!0,e.l&&ve(e.l));}function ye(e){e.o||(e.o=G(e.t));}function me(e,t,n){var r=K(t)?te("MapSet").N(t,n):Y(t)?te("MapSet").T(t,n):e.O?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:re(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},a=r,o=Ne;n&&(a=[r],o=je);var u=Proxy.revocable(a,o),i=u.revoke,l=u.proxy;return r.k=l,r.j=i,l}(t,n):te("ES5").J(t,n);return (n?n.A:re()).p.push(r),r}function ge(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return G(e)}(n=exports.QueryStatus||(exports.QueryStatus={})).uninitialized="uninitialized",n.pending="pending",n.fulfilled="fulfilled",n.rejected="rejected";var be="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),we="undefined"!=typeof Map,ke="undefined"!=typeof Set,Se="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Ee=be?Symbol.for("immer-nothing"):((r={})["immer-nothing"]=!0,r),xe=be?Symbol.for("immer-draftable"):"__$immer_draftable",Oe=be?Symbol.for("immer-state"):"__$immer_state",_e=(""+Object.prototype.constructor),Ce="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Pe=Object.getOwnPropertyDescriptors||function(e){var t={};return Ce(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n);})),t},Te={},Ne={get:function(e,t){if(t===Oe)return e;var n,r,a,o=X(e);if(!V(o,t))return n=e,(a=he(o,t))?"value"in a?a.value:null===(r=a.get)||void 0===r?void 0:r.call(n.k):void 0;var u=o[t];return e.I||!U(u)?u:u===pe(e.t,t)?(ye(e),e.o[t]=me(e.A.h,u,e)):u},has:function(e,t){return t in X(e)},ownKeys:function(e){return Reflect.ownKeys(X(e))},set:function(e,t,n){var r=he(X(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var a=pe(X(e),t),o=null==a?void 0:a[Oe];if(o&&o.t===n)return e.o[t]=n,e.D[t]=!1,!0;if(H(n,a)&&(void 0!==n||V(e.t,t)))return !0;ye(e),ve(e);}return e.o[t]===n&&"number"!=typeof n||(e.o[t]=n,e.D[t]=!0,!0)},deleteProperty:function(e,t){return void 0!==pe(e.t,t)||t in e.t?(e.D[t]=!1,ye(e),ve(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=X(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){F(11);},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){F(12);}},je={};Q(Ne,(function(e,t){je[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)};})),je.deleteProperty=function(e,t){return Ne.deleteProperty.call(this,e[0],t)},je.set=function(e,t,n){return Ne.set.call(this,e[0],t,n,e[0])};var Re=new(function(){function e(e){var t=this;this.O=Se,this.F=!0,this.produce=function(e,n,r){if("function"==typeof e&&"function"!=typeof n){var a=n;n=e;var o=t;return function(e){var t=this;void 0===e&&(e=a);for(var r=arguments.length,u=Array(r>1?r-1:0),i=1;i<r;i++)u[i-1]=arguments[i];return o.produce(e,(function(e){var r;return (r=n).call.apply(r,[t,e].concat(u))}))}}var u;if("function"!=typeof n&&F(6),void 0!==r&&"function"!=typeof r&&F(7),U(e)){var i=ie(t),l=me(t,e,void 0),c=!0;try{u=n(l),c=!1;}finally{c?oe(i):ue(i);}return "undefined"!=typeof Promise&&u instanceof Promise?u.then((function(e){return ae(i,r),ce(e,i)}),(function(e){throw oe(i),e})):(ae(i,r),ce(u,i))}if(!e||"object"!=typeof e){if((u=n(e))===Ee)return;return void 0===u&&(u=e),t.F&&J(u,!0),u}F(21,e);},this.produceWithPatches=function(e,n){return "function"==typeof e?function(n){for(var r=arguments.length,a=Array(r>1?r-1:0),o=1;o<r;o++)a[o-1]=arguments[o];return t.produceWithPatches(n,(function(t){return e.apply(void 0,[t].concat(a))}))}:[t.produce(e,n,(function(e,t){r=e,a=t;})),r,a];var r,a;},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze);}var t=e.prototype;return t.createDraft=function(e){U(e)||F(8),q(e)&&(e=function(e){return q(e)||F(22,e),function e(t){if(!U(t))return t;var n,r=t[Oe],a=$(t);if(r){if(!r.P&&(r.i<4||!te("ES5").K(r)))return r.t;r.I=!0,n=ge(t,a),r.I=!1;}else n=ge(t,a);return Q(n,(function(t,a){r&&W(r.t,t)===a||B(n,t,e(a));})),3===a?new Set(n):n}(e)}(e));var t=ie(this),n=me(this,e,void 0);return n[Oe].C=!0,ue(t),n},t.finishDraft=function(e,t){var n=(e&&e[Oe]).A;return ae(n,t),ce(void 0,n)},t.setAutoFreeze=function(e){this.F=e;},t.setUseProxies=function(e){e&&!Se&&F(20),this.O=e;},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}var a=te("Patches").$;return q(e)?a(e,t):this.produce(e,(function(e){return a(e,t.slice(n+1))}))},e}()),ze=Re.produce,Le=Re.produceWithPatches.bind(Re),Me=(Re.setAutoFreeze.bind(Re),Re.setUseProxies.bind(Re),Re.applyPatches.bind(Re)),Ae=(Re.createDraft.bind(Re),Re.finishDraft.bind(Re),ze);function Ie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function De(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r);}return n}function Fe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?De(Object(n),!0).forEach((function(t){Ie(e,t,n[t]);})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):De(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t));}));}return e}function qe(e){return "Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Ue="function"==typeof Symbol&&Symbol.observable||"@@observable",Qe=function(){return Math.random().toString(36).substring(7).split("").join(".")},$e={INIT:"@@redux/INIT"+Qe(),REPLACE:"@@redux/REPLACE"+Qe(),PROBE_UNKNOWN_ACTION:function(){return "@@redux/PROBE_UNKNOWN_ACTION"+Qe()}};function Ve(e){if("object"!=typeof e||null===e)return !1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function We(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(qe(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(qe(1));return n(We)(e,t)}if("function"!=typeof e)throw new Error(qe(2));var a=e,o=t,u=[],i=u,l=!1;function c(){i===u&&(i=u.slice());}function s(){if(l)throw new Error(qe(3));return o}function f(e){if("function"!=typeof e)throw new Error(qe(4));if(l)throw new Error(qe(5));var t=!0;return c(),i.push(e),function(){if(t){if(l)throw new Error(qe(6));t=!1,c();var n=i.indexOf(e);i.splice(n,1),u=null;}}}function d(e){if(!Ve(e))throw new Error(qe(7));if(void 0===e.type)throw new Error(qe(8));if(l)throw new Error(qe(9));try{l=!0,o=a(o,e);}finally{l=!1;}for(var t=u=i,n=0;n<t.length;n++)(0, t[n])();return e}function p(e){if("function"!=typeof e)throw new Error(qe(10));a=e,d({type:$e.REPLACE});}function h(){var e,t=f;return (e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(qe(11));function n(){e.next&&e.next(s());}return n(),{unsubscribe:t(n)}}})[Ue]=function(){return this},e}return d({type:$e.INIT}),(r={dispatch:d,subscribe:f,getState:s,replaceReducer:p})[Ue]=h,r}function Be(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var a=t[r];"function"==typeof e[a]&&(n[a]=e[a]);}var o,u=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:$e.INIT}))throw new Error(qe(12));if(void 0===n(void 0,{type:$e.PROBE_UNKNOWN_ACTION()}))throw new Error(qe(13))}));}(n);}catch(e){o=e;}return function(e,t){if(void 0===e&&(e={}),o)throw o;for(var r=!1,a={},i=0;i<u.length;i++){var l=u[i],c=e[l],s=(0, n[l])(c,t);if(void 0===s)throw new Error(qe(14));a[l]=s,r=r||s!==c;}return (r=r||u.length!==Object.keys(e).length)?a:e}}function He(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function Ke(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error(qe(15))},a={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},o=t.map((function(e){return e(a)}));return r=He.apply(void 0,o)(n.dispatch),Fe(Fe({},n),{},{dispatch:r})}}}function Ye(e,t){return e===t}function Xe(e,t,n){if(null===t||null===n||t.length!==n.length)return !1;for(var r=t.length,a=0;a<r;a++)if(!e(t[a],n[a]))return !1;return !0}function Ge(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every((function(e){return "function"==typeof e}))){var n=t.map((function(e){return typeof e})).join(", ");throw new Error("Selector creators expect all input-selectors to be functions, instead received the following types: ["+n+"]")}return t}var Je=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(){for(var t=arguments.length,r=Array(t),a=0;a<t;a++)r[a]=arguments[a];var o=0,u=r.pop(),i=Ge(r),l=e.apply(void 0,[function(){return o++,u.apply(null,arguments)}].concat(n)),c=e((function(){for(var e=[],t=i.length,n=0;n<t;n++)e.push(i[n].apply(null,arguments));return l.apply(null,e)}));return c.resultFunc=u,c.dependencies=i,c.recomputations=function(){return o},c.resetRecomputations=function(){return o=0},c}}((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ye,n=null,r=null;return function(){return Xe(t,n,arguments)||(r=e.apply(null,arguments)),n=arguments,r}})),Ze="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return "object"==typeof arguments[0]?He:He.apply(null,arguments)};function et(e){if("object"!=typeof e||null===e)return !1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function tt(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(a){return "function"==typeof a?a(n,r,e):t(a)}}}}var nt=tt();nt.withExtraArgument=tt;var rt=nt,at=function(e){function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var a=e.apply(this,n)||this;return Object.setPrototypeOf(a,t.prototype),a}return o(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,i([void 0],e[0].concat(this)))):new(t.bind.apply(t,i([void 0],e.concat(this))))},t}(Array);function ot(e){var t,n=function(e){return function(e){void 0===e&&(e={});var t=e.thunk,n=void 0===t||t,r=new at;return n&&r.push("boolean"==typeof n?rt:rt.withExtraArgument(n.extraArgument)),r}(e)},r=e||{},a=r.reducer,o=void 0===a?void 0:a,u=r.middleware,l=void 0===u?n():u,c=r.devTools,s=void 0===c||c,f=r.preloadedState,d=void 0===f?void 0:f,p=r.enhancers,h=void 0===p?void 0:p;if("function"==typeof o)t=o;else {if(!et(o))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');t=Be(o);}var v=l;"function"==typeof v&&(v=v(n));var y=Ke.apply(void 0,v),m=He;s&&(m=Ze(b({trace:!1},"object"==typeof s&&s)));var g=[y];return Array.isArray(h)?g=i([y],h):"function"==typeof h&&(g=h(g)),We(t,d,m.apply(void 0,g))}function ut(e,t){function n(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];if(t){var a=t.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return b(b({type:e,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return {type:e,payload:n[0]}}return n.toString=function(){return ""+e},n.type=e,n.match=function(t){return t.type===e},n}function it(e){var t,n={},r=[],a={addCase:function(e,t){var r="string"==typeof e?e:e.type;if(r in n)throw new Error("addCase cannot be called with two reducers for the same action type");return n[r]=t,a},addMatcher:function(e,t){return r.push({matcher:e,reducer:t}),a},addDefaultCase:function(e){return t=e,a}};return e(a),[n,r,t]}function lt(e){var t=e.name,n=e.initialState;if(!t)throw new Error("`name` is a required option for createSlice");var r=e.reducers||{},a="function"==typeof e.extraReducers?it(e.extraReducers):[e.extraReducers],o=a[0],u=void 0===o?{}:o,l=a[1],c=void 0===l?[]:l,s=a[2],f=void 0===s?void 0:s,d=Object.keys(r),p={},h={},v={};d.forEach((function(e){var n,a,o=r[e],u=t+"/"+e;"reducer"in o?(n=o.reducer,a=o.prepare):n=o,p[e]=n,h[u]=n,v[e]=a?ut(u,a):ut(u);}));var y=function(e,t,n,r){void 0===n&&(n=[]);var a="function"==typeof t?it(t):[t,n,r],o=a[0],u=a[1],l=a[2],c=Ae(e,(function(){}));return function(e,t){void 0===e&&(e=c);var n=i([o[t.type]],u.filter((function(e){return (0, e.matcher)(t)})).map((function(e){return e.reducer})));return 0===n.filter((function(e){return !!e})).length&&(n=[l]),n.reduce((function(e,n){if(n){var r;if(q(e))return void 0===(r=n(e,t))?e:r;if(U(e))return Ae(e,(function(e){return n(e,t)}));if(void 0===(r=n(e,t))){if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return e}),e)}}(n,b(b({},u),h),c,f);return {name:t,reducer:y,actions:v,caseReducers:p}}var ct=function(e){void 0===e&&(e=21);for(var t="",n=e;n--;)t+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return t},st=["name","message","stack","code"],ft=function(e,t){this.payload=e,this.meta=t;},dt=function(e,t){this.payload=e,this.meta=t;},pt=function(e){if("object"==typeof e&&null!==e){for(var t={},n=0,r=st;n<r.length;n++){var a=r[n];"string"==typeof e[a]&&(t[a]=e[a]);}return t}return {message:String(e)}};function ht(e,t,n){var r=ut(e+"/fulfilled",(function(e,t,n,r){return {payload:e,meta:w(b({},r||{}),{arg:n,requestId:t,requestStatus:"fulfilled"})}})),a=ut(e+"/pending",(function(e,t,n){return {payload:void 0,meta:w(b({},n||{}),{arg:t,requestId:e,requestStatus:"pending"})}})),o=ut(e+"/rejected",(function(e,t,r,a,o){return {payload:a,error:(n&&n.serializeError||pt)(e||"Rejected"),meta:w(b({},o||{}),{arg:r,requestId:t,rejectedWithValue:!!a,requestStatus:"rejected",aborted:"AbortError"===(null==e?void 0:e.name),condition:"ConditionError"===(null==e?void 0:e.name)})}})),i="undefined"!=typeof AbortController?AbortController:function(){function e(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return !1},onabort:function(){},removeEventListener:function(){}};}return e.prototype.abort=function(){},e}();return Object.assign((function(e){return function(l,c,s){var f,d,p=(null!=(f=null==n?void 0:n.idGenerator)?f:ct)(),h=new i,v=new Promise((function(e,t){return h.signal.addEventListener("abort",(function(){return t({name:"AbortError",message:d||"Aborted"})}))})),y=!1,m=function(){return x(this,null,(function(){var i,f,d;return u(this,(function(u){switch(u.label){case 0:if(u.trys.push([0,2,,3]),n&&n.condition&&!1===n.condition(e,{getState:c,extra:s}))throw {name:"ConditionError",message:"Aborted due to condition callback returning false."};return y=!0,l(a(p,e,null==(i=null==n?void 0:n.getPendingMeta)?void 0:i.call(n,{requestId:p,arg:e},{getState:c,extra:s}))),[4,Promise.race([v,Promise.resolve(t(e,{dispatch:l,getState:c,extra:s,requestId:p,signal:h.signal,rejectWithValue:function(e,t){return new ft(e,t)},fulfillWithValue:function(e,t){return new dt(e,t)}})).then((function(t){if(t instanceof ft)throw t;return t instanceof dt?r(t.payload,p,e,t.meta):r(t,p,e)}))])];case 1:return f=u.sent(),[3,3];case 2:return d=u.sent(),f=d instanceof ft?o(null,p,e,d.payload,d.meta):o(d,p,e),[3,3];case 3:return n&&!n.dispatchConditionRejection&&o.match(f)&&f.meta.condition||l(f),[2,f]}}))}))}();return Object.assign(m,{abort:function(e){y&&(d=e,h.abort());},requestId:p,arg:e,unwrap:function(){return m.then(vt)}})}}),{pending:a,rejected:o,fulfilled:r,typePrefix:e})}function vt(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}var yt=function(e,t){return (n=e)&&"function"==typeof n.match?e.match(t):e(t);var n;};function mt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return e.some((function(e){return yt(e,t)}))}}function gt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return e.every((function(e){return yt(e,t)}))}}function bt(e,t){if(!e||!e.meta)return !1;var n="string"==typeof e.meta.requestId,r=t.indexOf(e.meta.requestStatus)>-1;return n&&r}function wt(e){return "function"==typeof e[0]&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function kt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?function(e){return bt(e,["pending"])}:wt(e)?function(t){var n=e.map((function(e){return e.pending}));return mt.apply(void 0,n)(t)}:kt()(e[0])}function St(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?function(e){return bt(e,["rejected"])}:wt(e)?function(t){var n=e.map((function(e){return e.rejected}));return mt.apply(void 0,n)(t)}:St()(e[0])}function Et(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=function(e){return e&&e.meta&&e.meta.rejectedWithValue};return 0===e.length||wt(e)?function(t){return gt(St.apply(void 0,e),n)(t)}:Et()(e[0])}function xt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?function(e){return bt(e,["fulfilled"])}:wt(e)?function(t){var n=e.map((function(e){return e.fulfilled}));return mt.apply(void 0,n)(t)}:xt()(e[0])}function Ot(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?function(e){return bt(e,["pending","fulfilled","rejected"])}:wt(e)?function(t){for(var n=[],r=0,a=e;r<a.length;r++){var o=a[r];n.push(o.pending,o.rejected,o.fulfilled);}return mt.apply(void 0,n)(t)}:Ot()(e[0])}!function(){function e(e,t){var n=a[e];return n?n.enumerable=t:a[e]=n={configurable:!0,enumerable:t,get:function(){return Ne.get(this[Oe],e)},set:function(t){Ne.set(this[Oe],e,t);}},n}function t(e){for(var t=e.length-1;t>=0;t--){var a=e[t][Oe];if(!a.P)switch(a.i){case 5:r(a)&&ve(a);break;case 4:n(a)&&ve(a);}}}function n(e){for(var t=e.t,n=e.k,r=Ce(n),a=r.length-1;a>=0;a--){var o=r[a];if(o!==Oe){var u=t[o];if(void 0===u&&!V(t,o))return !0;var i=n[o],l=i&&i[Oe];if(l?l.t!==u:!H(i,u))return !0}}var c=!!t[Oe];return r.length!==Ce(t).length+(c?0:1)}function r(e){var t=e.k;if(t.length!==e.t.length)return !0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);return !(!n||n.get)}var a={};ne("ES5",{J:function(t,n){var r=Array.isArray(t),a=function(t,n){if(t){for(var r=Array(n.length),a=0;a<n.length;a++)Object.defineProperty(r,""+a,e(a,!0));return r}var o=Pe(n);delete o[Oe];for(var u=Ce(o),i=0;i<u.length;i++){var l=u[i];o[l]=e(l,t||!!o[l].enumerable);}return Object.create(Object.getPrototypeOf(n),o)}(r,t),o={i:r?5:4,A:n?n.A:re(),P:!1,I:!1,D:{},l:n,t:t,k:a,o:null,g:!1,C:!1};return Object.defineProperty(a,Oe,{value:o,writable:!0}),a},S:function(e,n,a){a?q(n)&&n[Oe].A===e&&t(e.p):(e.u&&function e(t){if(t&&"object"==typeof t){var n=t[Oe];if(n){var a=n.t,o=n.k,u=n.D,i=n.i;if(4===i)Q(o,(function(t){t!==Oe&&(void 0!==a[t]||V(a,t)?u[t]||e(o[t]):(u[t]=!0,ve(n)));})),Q(a,(function(e){void 0!==o[e]||V(o,e)||(u[e]=!1,ve(n));}));else if(5===i){if(r(n)&&(ve(n),u.length=!0),o.length<a.length)for(var l=o.length;l<a.length;l++)u[l]=!1;else for(var c=a.length;c<o.length;c++)u[c]=!0;for(var s=Math.min(o.length,a.length),f=0;f<s;f++)void 0===u[f]&&e(o[f]);}}}}(e.p[0]),t(e.p));},K:function(e){return 4===e.i?n(e):r(e)}});}();var _t=et;function Ct(e,t){if(e===t||!(_t(e)&&_t(t)||Array.isArray(e)&&Array.isArray(t)))return t;for(var n=Object.keys(t),r=Object.keys(e),a=n.length===r.length,o=Array.isArray(t)?[]:{},u=0,i=n;u<i.length;u++){var l=i[u];o[l]=Ct(e[l],t[l]),a&&(a=e[l]===o[l]);}return a?e:o}var Pt=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return fetch.apply(void 0,e)},Tt=function(e){return e.status>=200&&e.status<=299},Nt=function(e,t){return x(void 0,null,(function(){var n;return u(this,(function(r){switch(r.label){case 0:return "function"==typeof t?[2,t(e)]:"text"===t?[2,e.text()]:"json"!==t?[3,2]:[4,e.text()];case 1:return [2,(n=r.sent()).length?JSON.parse(n):void 0];case 2:return [2]}}))}))};function jt(e){if(!et(e))return e;for(var t=b({},e),n=0,r=Object.entries(t);n<r.length;n++){var a=r[n];void 0===a[1]&&delete t[a[0]];}return t}function Rt(e){var t=this;void 0===e&&(e={});var n=e.baseUrl,r=e.prepareHeaders,a=void 0===r?function(e){return e}:r,o=e.fetchFn,i=void 0===o?Pt:o,l=k(e,["baseUrl","prepareHeaders","fetchFn"]);return "undefined"==typeof fetch&&i===Pt&&console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."),function(e,r){return x(t,[e,r],(function(e,t){var r,o,c,s,f,d,p,h,v,y,m,g,S,E,x,O,_,C,P,T,N,j,R,z,L,M,A,I,D,F,q=t.signal,U=t.getState;return u(this,(function(t){switch(t.label){case 0:return c=(o="string"==typeof e?{url:e}:e).url,f=void 0===(s=o.method)?"GET":s,p=void 0===(d=o.headers)?new Headers({}):d,v=void 0===(h=o.body)?void 0:h,m=void 0===(y=o.params)?void 0:y,S=void 0===(g=o.responseHandler)?"json":g,x=void 0===(E=o.validateStatus)?Tt:E,O=k(o,["url","method","headers","body","params","responseHandler","validateStatus"]),_=b(w(b({},l),{method:f,signal:q,body:v}),O),C=_,[4,a(new Headers(jt(p)),{getState:U})];case 1:C.headers=t.sent(),P=function(e){return "object"==typeof e&&(et(e)||Array.isArray(e)||"function"==typeof e.toJSON)},!_.headers.has("content-type")&&P(v)&&_.headers.set("content-type","application/json"),v&&function(e){var t,n;return null==(n=null==(t=e.get("content-type"))?void 0:t.trim())?void 0:n.startsWith("application/json")}(_.headers)&&(_.body=JSON.stringify(v)),m&&(T=~c.indexOf("?")?"&":"?",N=new URLSearchParams(jt(m)),c+=T+N),c=function(e,t){return e?t?function(e){return new RegExp("(^|:)//").test(e)}(t)?t:(e=function(e){return e.replace(/\/$/,"")}(e))+"/"+(t=function(e){return e.replace(/^\//,"")}(t)):e:t}(n,c),j=new Request(c,_),R=j.clone(),r={request:R},t.label=2;case 2:return t.trys.push([2,4,,5]),[4,i(j)];case 3:return z=t.sent(),[3,5];case 4:return L=t.sent(),[2,{error:{status:"FETCH_ERROR",error:String(L)},meta:r}];case 5:M=z.clone(),r.response=M,t.label=6;case 6:return t.trys.push([6,8,,10]),[4,Nt(z,S)];case 7:return A=t.sent(),[3,10];case 8:return I=t.sent(),D={},F={status:"PARSING_ERROR",originalStatus:z.status},[4,M.clone().text()];case 9:return [2,(D.error=(F.data=t.sent(),F.error=String(I),F),D.meta=r,D)];case 10:return [2,x(z,A)?{data:A,meta:r}:{error:{status:z.status,data:A},meta:r}]}}))}))}}var zt=function(e,t){void 0===t&&(t=void 0),this.value=e,this.meta=t;};function Lt(e,t){return void 0===e&&(e=0),void 0===t&&(t=5),x(this,null,(function(){var n,r;return u(this,(function(a){switch(a.label){case 0:return n=Math.min(e,t),r=~~((Math.random()+.4)*(300<<n)),[4,new Promise((function(e){return setTimeout((function(t){return e(t)}),r)}))];case 1:return a.sent(),[2]}}))}))}var Mt=Object.assign((function(e,t){return function(n,r,a){return x(void 0,null,(function(){var o,i,l,c;return u(this,(function(u){switch(u.label){case 0:o=b(b({maxRetries:5,backoff:Lt},t),a),i=0,u.label=1;case 1:u.label=2;case 2:return u.trys.push([2,4,,6]),[4,e(n,r,a)];case 3:if((l=u.sent()).error)throw new zt(l);return [2,l];case 4:if(c=u.sent(),i++,c.throwImmediately||i>o.maxRetries){if(c instanceof zt)return [2,c.value];throw c}return [4,o.backoff(i,o.maxRetries)];case 5:return u.sent(),[3,6];case 6:return [3,1];case 7:return [2]}}))}))}}),{fail:function(e){throw Object.assign(new zt({error:e}),{throwImmediately:!0})}}),At=ut("__rtkq/focused"),It=ut("__rtkq/unfocused"),Dt=ut("__rtkq/online"),Ft=ut("__rtkq/offline"),qt=!1;function Ut(e,t){return t?t(e,{onFocus:At,onFocusLost:It,onOffline:Ft,onOnline:Dt}):(n=function(){return e(At())},r=function(){return e(Dt())},a=function(){return e(Ft())},o=function(){"visible"===window.document.visibilityState?n():e(It());},qt||"undefined"!=typeof window&&window.addEventListener&&(window.addEventListener("visibilitychange",o,!1),window.addEventListener("focus",n,!1),window.addEventListener("online",r,!1),window.addEventListener("offline",a,!1),qt=!0),function(){window.removeEventListener("focus",n),window.removeEventListener("visibilitychange",o),window.removeEventListener("online",r),window.removeEventListener("offline",a),qt=!1;});var n,r,a,o;}var Qt,$t,Vt=Symbol.for("RTKQ/skipToken"),Wt=Vt,Bt={status:exports.QueryStatus.uninitialized},Ht=Ae(Bt,(function(){})),Kt=Ae(Bt,(function(){})),Yt=function(e){return e.endpointName+"("+JSON.stringify(e.queryArgs,(function(e,t){return et(t)?Object.keys(t).sort().reduce((function(e,n){return e[n]=t[n],e}),{}):t}))+")"};function Xt(e){return e.type===Qt.query}function Gt(e){return e.type===Qt.mutation}function Jt(e,t,n,r,a){return "function"==typeof e?e(t,n,r).map(Zt).map(a):Array.isArray(e)?e.map(Zt).map(a):[]}function Zt(e){return "string"==typeof e?{type:e}:e}function en(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){var n=w(b({reducerPath:"api",serializeQueryArgs:Yt,keepUnusedDataFor:60,refetchOnMountOrArgChange:!1,refetchOnFocus:!1,refetchOnReconnect:!1},t),{tagTypes:i([],t.tagTypes||[])}),r={endpointDefinitions:{},batch:function(e){e();},apiUid:ct()},a={injectEndpoints:function(e){for(var t=e.endpoints({query:function(e){return w(b({},e),{type:Qt.query})},mutation:function(e){return w(b({},e),{type:Qt.mutation})}}),n=0,u=Object.entries(t);n<u.length;n++){var i=u[n],l=i[0],c=i[1];if(e.overrideExisting||!(l in r.endpointDefinitions)){r.endpointDefinitions[l]=c;for(var s=0,f=o;s<f.length;s++)f[s].injectEndpoint(l,c);}}return a},enhanceEndpoints:function(e){var t=e.addTagTypes,o=e.endpoints;if(t)for(var u=0,i=t;u<i.length;u++){var l=i[u];n.tagTypes.includes(l)||n.tagTypes.push(l);}if(o)for(var c=0,s=Object.entries(o);c<s.length;c++){var f=s[c],d=f[0],p=f[1];"function"==typeof p&&p(r.endpointDefinitions[d]),Object.assign(r.endpointDefinitions[d]||{},p);}return a}},o=e.map((function(e){return e.init(a,n,r)}));return a.injectEndpoints({endpoints:t.endpoints})}}function tn(){return function(){throw new Error("When using `fakeBaseQuery`, all queries & mutations must use the `queryFn` definition syntax.")}}function nn(e){return e}function rn(e,t,n,r){return Jt(n[e.meta.arg.endpointName][t],xt(e)?e.payload:void 0,Et(e)?e.payload:void 0,e.meta.arg.originalArgs,r)}function an(e,t,n){var r=e[t];r&&n(r);}function on(e,t,n){var r=e[t.requestId];r&&n(r);}($t=Qt||(Qt={})).query="query",$t.mutation="mutation";var un={},ln=function(e){var t=e.reducerPath,n=e.api,r=e.context,a=n.internalActions,o=a.removeQueryResult,u=a.unsubscribeQueryResult;return function(e){var a={};return function(i){return function(l){var c,s,f=i(l);if(u.match(l)){var d=e.getState()[t],p=l.payload.queryCacheKey,h=r.endpointDefinitions[null==(c=d.queries[p])?void 0:c.endpointName];!function(e,n,r){var u=a[e];u&&clearTimeout(u),a[e]=setTimeout((function(){var r=n.getState()[t].subscriptions[e];r&&0!==Object.keys(r).length||n.dispatch(o({queryCacheKey:e})),delete a[e];}),1e3*r);}(p,e,null!=(s=null==h?void 0:h.keepUnusedDataFor)?s:d.config.keepUnusedDataFor);}if(n.util.resetApiState.match(l))for(var v=0,y=Object.entries(a);v<y.length;v++){var m=y[v],g=m[0],b=m[1];b&&clearTimeout(b),delete a[g];}return f}}}},cn=function(e){var n=e.reducerPath,r=e.context,a=e.context.endpointDefinitions,o=e.mutationThunk,u=e.api,i=e.assertTagType,l=e.refetchQuery,c=u.internalActions.removeQueryResult;return function(e){return function(t){return function(n){var r=t(n);return mt(xt(o),Et(o))(n)&&s(rn(n,"invalidatesTags",a,i),e),u.util.invalidateTags.match(n)&&s(Jt(n.payload,void 0,void 0,void 0,i),e),r}}};function s(e,a){for(var o,u,i=a.getState()[n],s=new Set,f=0,d=e;f<d.length;f++){var p=d[f],h=i.provided[p.type];if(h)for(var v=0,y=null!=(o=void 0!==p.id?h[p.id]:(u=Object.values(h),[].concat.apply([],u)))?o:[];v<y.length;v++)s.add(y[v]);}r.batch((function(){for(var e=0,n=Array.from(s.values());e<n.length;e++){var r=n[e],o=i.queries[r],u=i.subscriptions[r];o&&u&&(0===Object.keys(u).length?a.dispatch(c({queryCacheKey:r})):o.status!==exports.QueryStatus.uninitialized&&a.dispatch(l(o,r)));}}));}},sn=function(e){var n=e.reducerPath,r=e.queryThunk,a=e.api,o=e.refetchQuery;return function(e){var i={};return function(t){return function(n){var o=t(n);return a.internalActions.updateSubscriptionOptions.match(n)&&c(n.payload,e),(r.pending.match(n)||r.rejected.match(n)&&n.meta.condition)&&c(n.meta.arg,e),(r.fulfilled.match(n)||r.rejected.match(n)&&!n.meta.condition)&&l(n.meta.arg,e),a.util.resetApiState.match(n)&&function(){for(var e=0,t=Object.entries(i);e<t.length;e++){var n=t[e],r=n[0],a=n[1];(null==a?void 0:a.timeout)&&clearTimeout(a.timeout),delete i[r];}}(),o}};function l(e,r){var a=e.queryCacheKey,l=r.getState()[n],c=l.queries[a];if(c&&c.status!==exports.QueryStatus.uninitialized){var s=u(l.subscriptions[a]);if(Number.isFinite(s)){var f=i[a];(null==f?void 0:f.timeout)&&(clearTimeout(f.timeout),f.timeout=void 0);var d=Date.now()+s,p=i[a]={nextPollTimestamp:d,pollingInterval:s,timeout:setTimeout((function(){p.timeout=void 0,r.dispatch(o(c,a));}),s)};}}}function c(e,r){var a=e.queryCacheKey,o=r.getState()[n],c=o.queries[a];if(c&&c.status!==exports.QueryStatus.uninitialized){var s=u(o.subscriptions[a]),f=i[a];if(!Number.isFinite(s))return (null==f?void 0:f.timeout)&&clearTimeout(f.timeout),void delete i[a];var d=Date.now()+s;(!f||d<f.nextPollTimestamp)&&l({queryCacheKey:a},r);}}};function u(e){void 0===e&&(e={});for(var t=Number.POSITIVE_INFINITY,n=0,r=Object.values(e);n<r.length;n++){var a=r[n];a.pollingInterval&&(t=Math.min(a.pollingInterval,t));}return t}},fn=function(e){var n=e.reducerPath,r=e.context,a=e.refetchQuery;return function(e){return function(t){return function(n){var r=t(n);return At.match(n)&&o(e,"refetchOnFocus"),Dt.match(n)&&o(e,"refetchOnReconnect"),r}}};function o(e,o){var u=e.getState()[n],i=u.queries,l=u.subscriptions;r.batch((function(){for(var n=0,r=Object.keys(l);n<r.length;n++){var c=r[n],s=i[c],f=l[c];if(!f||!s||s.status===exports.QueryStatus.uninitialized)return;(Object.values(f).some((function(e){return !0===e[o]}))||Object.values(f).every((function(e){return void 0===e[o]}))&&u.config[o])&&e.dispatch(a(s,c));}}));}},dn=new Error("Promise never resolved before cacheEntryRemoved."),pn=function(e){var t=e.api,n=e.reducerPath,r=e.context,a=e.queryThunk,o=e.mutationThunk,u=Ot(a),i=Ot(o),l=xt(a,o);return function(e){var c={};return function(r){return function(f){var d=e.getState(),p=r(f),h=function(e){return u(e)?e.meta.arg.queryCacheKey:i(e)?e.meta.requestId:t.internalActions.removeQueryResult.match(e)?e.payload.queryCacheKey:t.internalActions.unsubscribeMutationResult.match(e)?e.payload.requestId:""}(f);if(a.pending.match(f)){var v=d[n].queries[h],y=e.getState()[n].queries[h];!v&&y&&s(f.meta.arg.endpointName,f.meta.arg.originalArgs,h,e,f.meta.requestId);}else if(o.pending.match(f))(y=e.getState()[n].mutations[h])&&s(f.meta.arg.endpointName,f.meta.arg.originalArgs,h,e,f.meta.requestId);else if(l(f))(null==(w=c[h])?void 0:w.valueResolved)&&(w.valueResolved({data:f.payload,meta:f.meta.baseQueryMeta}),delete w.valueResolved);else if(t.internalActions.removeQueryResult.match(f)||t.internalActions.unsubscribeMutationResult.match(f))(w=c[h])&&(delete c[h],w.cacheEntryRemoved());else if(t.util.resetApiState.match(f))for(var m=0,g=Object.entries(c);m<g.length;m++){var b=g[m],w=b[1];delete c[b[0]],w.cacheEntryRemoved();}return p}};function s(e,n,a,o,u){var i=r.endpointDefinitions[e],l=null==i?void 0:i.onCacheEntryAdded;if(l){var s={},f=new Promise((function(e){s.cacheEntryRemoved=e;})),d=Promise.race([new Promise((function(e){s.valueResolved=e;})),f.then((function(){throw dn}))]);d.catch((function(){})),c[a]=s;var p=t.endpoints[e].select(i.type===Qt.query?n:a),h=o.dispatch((function(e,t,n){return n})),v=w(b({},o),{getCacheEntry:function(){return p(o.getState())},requestId:u,extra:h,updateCachedData:i.type===Qt.query?function(r){return o.dispatch(t.util.updateQueryData(e,n,r))}:void 0,cacheDataLoaded:d,cacheEntryRemoved:f}),y=l(n,v);Promise.resolve(y).catch((function(e){if(e!==dn)throw e}));}}}},hn=function(e){var t=e.api,n=e.context,r=e.queryThunk,a=e.mutationThunk,o=kt(r,a),u=St(r,a),i=xt(r,a);return function(e){var r={};return function(a){return function(l){var c,s,f,d=a(l);if(o(l)){var p=l.meta,h=p.requestId,v=p.arg,y=v.endpointName,m=v.originalArgs,g=n.endpointDefinitions[y],k=null==g?void 0:g.onQueryStarted;if(k){var S={},E=new Promise((function(e,t){S.resolve=e,S.reject=t;}));E.catch((function(){})),r[h]=S;var x=t.endpoints[y].select(g.type===Qt.query?m:h),O=e.dispatch((function(e,t,n){return n})),_=w(b({},e),{getCacheEntry:function(){return x(e.getState())},requestId:h,extra:O,updateCachedData:g.type===Qt.query?function(n){return e.dispatch(t.util.updateQueryData(y,m,n))}:void 0,queryFulfilled:E});k(m,_);}}else if(i(l)){var C=l.meta,P=C.baseQueryMeta;null==(c=r[h=C.requestId])||c.resolve({data:l.payload,meta:P}),delete r[h];}else if(u(l)){var T=l.meta;P=T.baseQueryMeta,null==(f=r[h=T.requestId])||f.reject({error:null!=(s=l.payload)?s:l.error,isUnhandledError:!T.rejectedWithValue,meta:P}),delete r[h];}return d}}}},vn=function(e){var t=e.api,n=e.context.apiUid;return function(e){var r=!1;return function(a){return function(o){r||(r=!0,e.dispatch(t.internalActions.middlewareRegistered(n)));var u=a(o);return t.util.resetApiState.match(o)&&e.dispatch(t.internalActions.middlewareRegistered(n)),u}}}};function yn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];Object.assign.apply(Object,i([e],t));}var mn=Symbol(),gn=function(){return {name:mn,init:function(e,n,r){var a=n.baseQuery,o=n.reducerPath,i=n.serializeQueryArgs,l=n.keepUnusedDataFor,c=n.refetchOnMountOrArgChange,s=n.refetchOnFocus,f=n.refetchOnReconnect;!function(){function e(t){if(!U(t))return t;if(Array.isArray(t))return t.map(e);if(K(t))return new Map(Array.from(t.entries()).map((function(t){return [t[0],e(t[1])]})));if(Y(t))return new Set(Array.from(t).map(e));var n=Object.create(Object.getPrototypeOf(t));for(var r in t)n[r]=e(t[r]);return V(t,xe)&&(n[xe]=t[xe]),n}function t(t){return q(t)?e(t):t}var n="add";ne("Patches",{$:function(t,r){return r.forEach((function(r){for(var a=r.path,o=r.op,u=t,i=0;i<a.length-1;i++){var l=$(u),c=a[i];0!==l&&1!==l||"__proto__"!==c&&"constructor"!==c||F(24),"function"==typeof u&&"prototype"===c&&F(24),"object"!=typeof(u=W(u,c))&&F(15,a.join("/"));}var s=$(u),f=e(r.value),d=a[a.length-1];switch(o){case"replace":switch(s){case 2:return u.set(d,f);case 3:F(16);default:return u[d]=f}case n:switch(s){case 1:return u.splice(d,0,f);case 2:return u.set(d,f);case 3:return u.add(f);default:return u[d]=f}case"remove":switch(s){case 1:return u.splice(d,1);case 2:return u.delete(d);case 3:return u.delete(r.value);default:return delete u[d]}default:F(17,o);}})),t},R:function(e,r,a,o){switch(e.i){case 0:case 4:case 2:return i=r,l=a,c=o,s=(u=e).t,f=u.o,void Q(u.D,(function(e,r){var a=W(s,e),o=W(f,e),u=r?V(s,e)?"replace":n:"remove";if(a!==o||"replace"!==u){var d=i.concat(e);l.push("remove"===u?{op:u,path:d}:{op:u,path:d,value:o}),c.push(u===n?{op:"remove",path:d}:"remove"===u?{op:n,path:d,value:t(a)}:{op:"replace",path:d,value:t(a)});}}));case 5:case 1:return function(e,r,a,o){var u=e.t,i=e.D,l=e.o;if(l.length<u.length){var c=[l,u];u=c[0],l=c[1];var s=[o,a];a=s[0],o=s[1];}for(var f=0;f<u.length;f++)if(i[f]&&l[f]!==u[f]){var d=r.concat([f]);a.push({op:"replace",path:d,value:t(l[f])}),o.push({op:"replace",path:d,value:t(u[f])});}for(var p=u.length;p<l.length;p++){var h=r.concat([p]);a.push({op:n,path:h,value:t(l[p])});}u.length<l.length&&o.push({op:"replace",path:r.concat(["length"]),value:u.length});}(e,r,a,o);case 3:return function(e,t,r,a){var o=e.t,u=e.o,i=0;o.forEach((function(e){if(!u.has(e)){var o=t.concat([i]);r.push({op:"remove",path:o,value:e}),a.unshift({op:n,path:o,value:e});}i++;})),i=0,u.forEach((function(e){if(!o.has(e)){var u=t.concat([i]);r.push({op:n,path:u,value:e}),a.unshift({op:"remove",path:u,value:e});}i++;}));}(e,r,a,o)}var u,i,l,c,s,f;},M:function(e,t,n,r){n.push({op:"replace",path:[],value:t}),r.push({op:"replace",path:[],value:e.t});}});}();var d=function(e){return e};Object.assign(e,{reducerPath:o,endpoints:{},internalActions:{onOnline:Dt,onOffline:Ft,onFocus:At,onFocusLost:It},util:{}});var p=function(e){var n=this,r=e.reducerPath,a=e.baseQuery,o=e.context.endpointDefinitions,i=e.serializeQueryArgs,l=e.api,c=function(e,t){return x(n,[e,t],(function(e,t){var n,r,i,l,c,s,f=t.signal,d=t.rejectWithValue,p=t.fulfillWithValue,h=t.dispatch,v=t.getState;return u(this,(function(t){switch(t.label){case 0:n=o[e.endpointName],t.label=1;case 1:return t.trys.push([1,7,,8]),r=nn,i=void 0,l={signal:f,dispatch:h,getState:v},n.query?[4,a(n.query(e.originalArgs),l,n.extraOptions)]:[3,3];case 2:return i=t.sent(),n.transformResponse&&(r=n.transformResponse),[3,5];case 3:return [4,n.queryFn(e.originalArgs,l,n.extraOptions,(function(e){return a(e,l,n.extraOptions)}))];case 4:i=t.sent(),t.label=5;case 5:if(i.error)throw new zt(i.error,i.meta);return c=p,[4,r(i.data,i.meta)];case 6:return [2,c.apply(void 0,[t.sent(),{fulfilledTimeStamp:Date.now(),baseQueryMeta:i.meta}])];case 7:if((s=t.sent())instanceof zt)return [2,d(s.value,{baseQueryMeta:s.meta})];throw console.error(s),s;case 8:return [2]}}))}))};function s(e){return function(t){var n,r;return (null==(r=null==(n=null==t?void 0:t.meta)?void 0:n.arg)?void 0:r.endpointName)===e}}return {queryThunk:ht(r+"/executeQuery",c,{getPendingMeta:function(){return {startedTimeStamp:Date.now()}},condition:function(e,t){var n,a,o=(0, t.getState)()[r],u=null==(n=null==o?void 0:o.queries)?void 0:n[e.queryCacheKey],i=null==u?void 0:u.fulfilledTimeStamp,l=null!=(a=e.forceRefetch)?a:e.subscribe&&o.config.refetchOnMountOrArgChange;return "pending"!==(null==u?void 0:u.status)&&(!i||!!l&&(!0===l||(Number(new Date)-Number(i))/1e3>=l))},dispatchConditionRejection:!0}),mutationThunk:ht(r+"/executeMutation",c,{getPendingMeta:function(){return {startedTimeStamp:Date.now()}}}),prefetch:function(e,t,n){return function(r,a){var o=function(e){return "force"in e}(n)&&n.force,u=function(e){return "ifOlderThan"in e}(n)&&n.ifOlderThan,i=function(n){return void 0===n&&(n=!0),l.endpoints[e].initiate(t,{forceRefetch:n})},c=l.endpoints[e].select(t)(a());if(o)r(i());else if(u){var s=null==c?void 0:c.fulfilledTimeStamp;if(!s)return void r(i());(Number(new Date)-Number(new Date(s)))/1e3>=u&&r(i());}else r(i(!1));}},updateQueryData:function(e,n,r){return function(a,o){var u,i,c=l.endpoints[e].select(n)(o()),s={patches:[],inversePatches:[],undo:function(){return a(l.util.patchQueryData(e,n,s.inversePatches))}};if(c.status===exports.QueryStatus.uninitialized)return s;if("data"in c)if(U(c.data)){var f=Le(c.data,r),d=f[2];(u=s.patches).push.apply(u,f[1]),(i=s.inversePatches).push.apply(i,d);}else {var p=r(c.data);s.patches.push({op:"replace",path:[],value:p}),s.inversePatches.push({op:"replace",path:[],value:c.data});}return a(l.util.patchQueryData(e,n,s.patches)),s}},patchQueryData:function(e,t,n){return function(r){r(l.internalActions.queryResultPatched({queryCacheKey:i({queryArgs:t,endpointDefinition:o[e],endpointName:e}),patches:n}));}},buildMatchThunkActions:function(e,t){return {matchPending:gt(kt(e),s(t)),matchFulfilled:gt(xt(e),s(t)),matchRejected:gt(St(e),s(t))}}}}({baseQuery:a,reducerPath:o,context:r,api:e,serializeQueryArgs:i}),h=p.queryThunk,v=p.mutationThunk,y=p.patchQueryData,m=p.updateQueryData,g=p.prefetch,k=p.buildMatchThunkActions,S=function(e){var n=e.reducerPath,r=e.queryThunk,a=e.mutationThunk,o=e.context,u=o.endpointDefinitions,i=o.apiUid,l=e.assertTagType,c=e.config,s=ut(n+"/resetApiState"),f=lt({name:n+"/queries",initialState:un,reducers:{removeQueryResult:function(e,t){delete e[t.payload.queryCacheKey];},queryResultPatched:function(e,t){var n=t.payload,r=n.patches;an(e,n.queryCacheKey,(function(e){e.data=Me(e.data,r.concat());}));}},extraReducers:function(e){e.addCase(r.pending,(function(e,n){var r,a=n.meta,o=n.meta.arg;o.subscribe&&(null!=e[r=o.queryCacheKey]||(e[r]={status:exports.QueryStatus.uninitialized,endpointName:o.endpointName})),an(e,o.queryCacheKey,(function(e){e.status=exports.QueryStatus.pending,e.requestId=a.requestId,e.originalArgs=o.originalArgs,e.startedTimeStamp=a.startedTimeStamp;}));})).addCase(r.fulfilled,(function(e,n){var r=n.meta,a=n.payload;an(e,r.arg.queryCacheKey,(function(e){e.requestId===r.requestId&&(e.status=exports.QueryStatus.fulfilled,e.data=Ct(e.data,a),delete e.error,e.fulfilledTimeStamp=r.fulfilledTimeStamp);}));})).addCase(r.rejected,(function(e,n){var r=n.meta,a=r.condition,o=r.requestId,u=n.error,i=n.payload;an(e,r.arg.queryCacheKey,(function(e){if(a);else {if(e.requestId!==o)return;e.status=exports.QueryStatus.rejected,e.error=null!=i?i:u;}}));}));}}),d=lt({name:n+"/mutations",initialState:un,reducers:{unsubscribeMutationResult:function(e,t){t.payload.requestId in e&&delete e[t.payload.requestId];}},extraReducers:function(e){e.addCase(a.pending,(function(e,n){var r=n.meta,a=r.arg;a.track&&(e[r.requestId]={status:exports.QueryStatus.pending,endpointName:a.endpointName,startedTimeStamp:r.startedTimeStamp});})).addCase(a.fulfilled,(function(e,n){var r=n.payload,a=n.meta;a.arg.track&&on(e,{requestId:n.meta.requestId},(function(e){e.status=exports.QueryStatus.fulfilled,e.data=r,e.fulfilledTimeStamp=a.fulfilledTimeStamp;}));})).addCase(a.rejected,(function(e,n){var r=n.payload,a=n.error,o=n.meta;o.arg.track&&on(e,{requestId:o.requestId},(function(e){e.status=exports.QueryStatus.rejected,e.error=null!=r?r:a;}));}));}}),p=lt({name:n+"/invalidation",initialState:un,reducers:{},extraReducers:function(e){e.addCase(f.actions.removeQueryResult,(function(e,t){for(var n=t.payload.queryCacheKey,r=0,a=Object.values(e);r<a.length;r++)for(var o=0,u=Object.values(a[r]);o<u.length;o++){var i=u[o],l=i.indexOf(n);-1!==l&&i.splice(l,1);}})).addMatcher(mt(xt(r),Et(r)),(function(e,t){for(var n,r,a,o,i=rn(t,"providesTags",u,l),c=t.meta.arg.queryCacheKey,s=0,f=i;s<f.length;s++){var d=f[s],p=d.type,h=d.id,v=null!=(o=(r=null!=(n=e[p])?n:e[p]={})[a=h||"__internal_without_id"])?o:r[a]=[];v.includes(c)||v.push(c);}}));}}),h=lt({name:n+"/subscriptions",initialState:un,reducers:{updateSubscriptionOptions:function(e,t){var n,r=t.payload,a=r.queryCacheKey,o=r.requestId;(null==(n=null==e?void 0:e[a])?void 0:n[o])&&(e[a][o]=r.options);},unsubscribeQueryResult:function(e,t){var n=t.payload,r=n.queryCacheKey;e[r]&&delete e[r][n.requestId];}},extraReducers:function(e){e.addCase(f.actions.removeQueryResult,(function(e,t){delete e[t.payload.queryCacheKey];})).addCase(r.pending,(function(e,t){var n,r,a,o,u=t.meta,i=u.arg,l=u.requestId;if(i.subscribe){var c=null!=(r=e[n=i.queryCacheKey])?r:e[n]={};c[l]=null!=(o=null!=(a=i.subscriptionOptions)?a:c[l])?o:{};}})).addCase(r.rejected,(function(e,t){var n,r,a=t.meta,o=a.arg,u=a.requestId,i=e[o.queryCacheKey];a.condition&&o.subscribe&&i&&(i[u]=null!=(r=null!=(n=o.subscriptionOptions)?n:i[u])?r:{});}));}}),v=lt({name:n+"/config",initialState:b({online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine,focused:"undefined"==typeof document||"hidden"!==document.visibilityState,middlewareRegistered:!1},c),reducers:{middlewareRegistered:function(e,t){e.middlewareRegistered="conflict"!==e.middlewareRegistered&&i===t.payload||"conflict";}},extraReducers:function(e){e.addCase(Dt,(function(e){e.online=!0;})).addCase(Ft,(function(e){e.online=!1;})).addCase(At,(function(e){e.focused=!0;})).addCase(It,(function(e){e.focused=!1;}));}}),y=Be({queries:f.reducer,mutations:d.reducer,provided:p.reducer,subscriptions:h.reducer,config:v.reducer});return {reducer:function(e,t){return y(s.match(t)?void 0:e,t)},actions:w(b(b(b(b({},v.actions),f.actions),h.actions),d.actions),{resetApiState:s})}}({context:r,queryThunk:h,mutationThunk:v,reducerPath:o,assertTagType:d,config:{refetchOnFocus:s,refetchOnReconnect:f,refetchOnMountOrArgChange:c,keepUnusedDataFor:l,reducerPath:o}}),E=S.reducer,O=S.actions;yn(e.util,{patchQueryData:y,updateQueryData:m,prefetch:g,resetApiState:O.resetApiState}),yn(e.internalActions,O),Object.defineProperty(e.util,"updateQueryResult",{get:function(){return e.util.updateQueryData}}),Object.defineProperty(e.util,"patchQueryResult",{get:function(){return e.util.patchQueryData}});var _=function(e){var t=e.reducerPath,n=e.queryThunk,r={invalidateTags:ut(t+"/invalidateTags")},a=[vn,ln,cn,sn,fn,pn,hn].map((function(t){return t(w(b({},e),{refetchQuery:o}))}));return {middleware:function(e){return function(n){var r=He.apply(void 0,a.map((function(t){return t(e)})))(n);return function(a){return e.getState()[t]?r(a):n(a)}}},actions:r};function o(e,t,r){return void 0===r&&(r={}),n(b({endpointName:e.endpointName,originalArgs:e.originalArgs,subscribe:!1,forceRefetch:!0,queryCacheKey:t},r))}}({reducerPath:o,context:r,queryThunk:h,mutationThunk:v,api:e,assertTagType:d}),C=_.middleware;yn(e.util,_.actions),yn(e,{reducer:E,middleware:C});var P=function(e){var n=e.serializeQueryArgs,r=e.reducerPath;return {buildQuerySelector:function(e,t){return function(r){var u=Je(o,(function(a){var o,u;return null!=(u=r===Vt||null==(o=null==a?void 0:a.queries)?void 0:o[n({queryArgs:r,endpointDefinition:t,endpointName:e})])?u:Ht}));return Je(u,a)}},buildMutationSelector:function(){return function(e){var t=Je(o,(function(t){var n,r;return null!=(r=e===Vt||null==(n=null==t?void 0:t.mutations)?void 0:n[e])?r:Kt}));return Je(t,a)}}};function a(e){return b(b({},e),{status:n=e.status,isUninitialized:n===exports.QueryStatus.uninitialized,isLoading:n===exports.QueryStatus.pending,isSuccess:n===exports.QueryStatus.fulfilled,isError:n===exports.QueryStatus.rejected});var n;}function o(e){return e[r]}}({serializeQueryArgs:i,reducerPath:o}),T=P.buildQuerySelector,N=P.buildMutationSelector,j=function(e){var t=e.serializeQueryArgs,n=e.queryThunk,r=e.mutationThunk,a=e.api,o=a.internalActions,u=o.unsubscribeQueryResult,i=o.unsubscribeMutationResult,l=o.updateSubscriptionOptions;return {buildInitiateQuery:function(e,r){var o=function(i,c){var s=void 0===c?{}:c,f=s.subscribe,d=void 0===f||f,p=s.forceRefetch,h=s.subscriptionOptions;return function(c,s){var f=t({queryArgs:i,endpointDefinition:r,endpointName:e}),v=n({subscribe:d,forceRefetch:p,subscriptionOptions:h,endpointName:e,originalArgs:i,queryCacheKey:f}),y=c(v),m=y.requestId,g=y.abort,b=Object.assign(y.then((function(){return a.endpoints[e].select(i)(s())})),{arg:i,requestId:m,subscriptionOptions:h,abort:g,refetch:function(){c(o(i,{subscribe:!1,forceRefetch:!0}));},unsubscribe:function(){d&&c(u({queryCacheKey:f,requestId:m}));},updateSubscriptionOptions:function(t){b.subscriptionOptions=t,c(l({endpointName:e,requestId:m,queryCacheKey:f,options:t}));}});return b}};return o},buildInitiateMutation:function(e,t){return function(t,n){var a=(void 0===n?{}:n).track,o=void 0===a||a;return function(n,a){var u=r({endpointName:e,originalArgs:t,track:o}),l=n(u),c=l.requestId,s=l.abort,f=l.unwrap().then((function(e){return {data:e}})).catch((function(e){return {error:e}}));return Object.assign(f,{arg:l.arg,requestId:c,abort:s,unwrap:l.unwrap,unsubscribe:function(){o&&n(i({requestId:c}));}})}}}}}({queryThunk:h,mutationThunk:v,api:e,serializeQueryArgs:i}),R=j.buildInitiateQuery,z=j.buildInitiateMutation;return {name:mn,injectEndpoint:function(t,n){var r,a=e;null!=(r=a.endpoints)[t]||(r[t]={}),Xt(n)?yn(a.endpoints[t],{select:T(t,n),initiate:R(t,n)},k(h,t)):Gt(n)&&yn(a.endpoints[t],{select:N(),initiate:z(t,n)},k(v,t));}}}}},bn=(E(C())),wn=E(C()),kn=(E(N()),E(C()).default.createContext(null)),Sn=function(e){e();},En={notify:function(){}},xn=function(){function e(e,t){this.store=e,this.parentSub=t,this.unsubscribe=null,this.listeners=En,this.handleChangeWrapper=this.handleChangeWrapper.bind(this);}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify();},t.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange();},t.isSubscribed=function(){return Boolean(this.unsubscribe)},t.trySubscribe=function(){var e,t,n;this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=(e=Sn,t=null,n=null,{clear:function(){t=null,n=null;},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next;}));},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,a=n={callback:e,next:null,prev:n};return a.prev?a.prev.next=a:t=a,function(){r&&null!==t&&(r=!1,a.next?a.next.prev=a.prev:n=a.prev,a.prev?a.prev.next=a.next:t=a.next);}}}));},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=En);},e}(),On=E(C()),_n="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?On.useLayoutEffect:On.useEffect,Cn=function(e){var t=e.store,n=e.context,r=e.children,a=(0, wn.useMemo)((function(){var e=new xn(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}}),[t]),o=(0, wn.useMemo)((function(){return t.getState()}),[t]);return _n((function(){var e=a.subscription;return e.trySubscribe(),o!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null;}}),[a,o]),wn.default.createElement((n||kn).Provider,{value:a},r)};function Pn(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function Tn(e,t){if(Pn(e,t))return !0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return !1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return !1;for(var a=0;a<n.length;a++)if(!Object.prototype.hasOwnProperty.call(t,n[a])||!Pn(e[n[a]],t[n[a]]))return !1;return !0}E(z()),E(C()),E(R());var Nn=E(C()),jn=E(C());function Rn(){return (0, jn.useContext)(kn)}function zn(e){void 0===e&&(e=kn);var t=e===kn?Rn:function(){return (0, Nn.useContext)(e)};return function(){return t().store}}var Ln=zn();function Mn(e){void 0===e&&(e=kn);var t=e===kn?Ln:zn(e);return function(){return t().dispatch}}var An=Mn(),In=E(C()),Dn=function(e,t){return e===t};function Fn(e){void 0===e&&(e=kn);var t=e===kn?Rn:function(){return (0, In.useContext)(e)};return function(e,n){void 0===n&&(n=Dn);var r=t(),a=function(e,t,n,r){var a,o=(0, In.useReducer)((function(e){return e+1}),0)[1],u=(0, In.useMemo)((function(){return new xn(n,r)}),[n,r]),i=(0, In.useRef)(),l=(0, In.useRef)(),c=(0, In.useRef)(),s=(0, In.useRef)(),f=n.getState();try{if(e!==l.current||f!==c.current||i.current){var d=e(f);a=void 0!==s.current&&t(d,s.current)?s.current:d;}else a=s.current;}catch(e){throw i.current&&(e.message+="\nThe error may be correlated with this previous error:\n"+i.current.stack+"\n\n"),e}return _n((function(){l.current=e,c.current=f,s.current=a,i.current=void 0;})),_n((function(){function e(){try{var e=n.getState(),r=l.current(e);if(t(r,s.current))return;s.current=r,c.current=e;}catch(e){i.current=e;}o();}return u.onStateChange=e,u.trySubscribe(),e(),function(){return u.tryUnsubscribe()}}),[n,u]),a}(e,n,r.store,r.subscription);return (0, In.useDebugValue)(a),a}}var qn=Fn(),Un=E(I());Sn=Un.unstable_batchedUpdates;var Qn=E(C());function $n(e){var t=(0, Qn.useRef)(e);return (0, Qn.useEffect)((function(){Tn(t.current,e)||(t.current=e);}),[e]),Tn(t.current,e)?t.current:e}var Vn=Symbol(),Wn="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?bn.useLayoutEffect:bn.useEffect,Bn=function(e){return e},Hn=function(e){return e},Kn=function(e,t){var n,r=null!=(n=e.isSuccess?e.data:null==t?void 0:t.data)?n:e.data,a=e.isLoading,o=!r&&a,u=e.isSuccess||a&&!!r;return w(b({},e),{data:r,isFetching:a,isLoading:o,isSuccess:u})},Yn=function(e){return e.isUninitialized?w(b({},e),{isUninitialized:!1,isFetching:!0,isLoading:!0,status:exports.QueryStatus.pending}):e},Xn=Symbol(),Gn=function(e){var t=void 0===e?{}:e,n=t.batch,r=void 0===n?Un.unstable_batchedUpdates:n,a=t.useDispatch,o=void 0===a?An:a,u=t.useSelector,i=void 0===u?qn:u,l=t.useStore,c=void 0===l?Ln:l;return {name:Xn,init:function(e,t,n){var a=e,u=function(e){var t=e.api,n=e.moduleOptions,r=n.batch,a=n.useDispatch,o=n.useSelector,u=n.useStore;return {buildQueryHooks:function(e){var n=function(n,r){var o=void 0===r?{}:r,u=o.refetchOnReconnect,i=o.refetchOnFocus,l=o.refetchOnMountOrArgChange,c=o.skip,s=void 0!==c&&c,f=o.pollingInterval,d=void 0===f?0:f,p=t.endpoints[e].initiate,h=a(),v=$n(s?Vt:n),y=$n({refetchOnReconnect:u,refetchOnFocus:i,pollingInterval:d}),m=(0, bn.useRef)();return (0, bn.useEffect)((function(){var e,t=m.current;if(v===Vt)return null==t||t.unsubscribe(),void(m.current=void 0);var n=null==(e=m.current)?void 0:e.subscriptionOptions;if(t&&t.arg===v)y!==n&&t.updateSubscriptionOptions(y);else {null==t||t.unsubscribe();var r=h(p(v,{subscriptionOptions:y,forceRefetch:l}));m.current=r;}}),[h,p,l,v,y]),(0, bn.useEffect)((function(){return function(){var e;null==(e=m.current)||e.unsubscribe(),m.current=void 0;}}),[]),(0, bn.useMemo)((function(){return {refetch:function(){var e;null==(e=m.current)||e.refetch();}}}),[])},i=function(n){var o=void 0===n?{}:n,u=o.refetchOnReconnect,i=o.refetchOnFocus,l=o.pollingInterval,c=void 0===l?0:l,s=t.endpoints[e].initiate,f=a(),d=(0, bn.useState)(Vn),p=d[0],h=d[1],v=(0, bn.useRef)(),y=$n({refetchOnReconnect:u,refetchOnFocus:i,pollingInterval:c});(0, bn.useEffect)((function(){var e,t,n=null==(e=v.current)?void 0:e.subscriptionOptions;y!==n&&(null==(t=v.current)||t.updateSubscriptionOptions(y));}),[y]);var m=(0, bn.useRef)(y);(0, bn.useEffect)((function(){m.current=y;}),[y]);var g=(0, bn.useCallback)((function(e,t){void 0===t&&(t=!1),r((function(){var n;null==(n=v.current)||n.unsubscribe(),v.current=f(s(e,{subscriptionOptions:m.current,forceRefetch:!t})),h(e);}));}),[f,s]);return (0, bn.useEffect)((function(){return function(){var e;null==(e=null==v?void 0:v.current)||e.unsubscribe();}}),[]),(0, bn.useEffect)((function(){p===Vn||v.current||g(p,!0);}),[p,g]),(0, bn.useMemo)((function(){return [g,p]}),[g,p])},l=function(n,r){var a=void 0===r?{}:r,i=a.skip,l=a.selectFromResult,c=void 0===l?Bn:l,s=t.endpoints[e].select,f=$n(void 0!==i&&i?Vt:n),d=(0, bn.useRef)(),p=(0, bn.useMemo)((function(){return Je([s(f),function(e,t){return t}],Kn)}),[s,f]),h=(0, bn.useMemo)((function(){return Je([p],c)}),[p,c]),v=o((function(e){return h(e,d.current)}),Tn),y=u(),m=p(y.getState(),d.current);return Wn((function(){d.current=m;}),[m]),v};return {useQueryState:l,useQuerySubscription:n,useLazyQuerySubscription:i,useLazyQuery:function(e){var t=i(e),n=t[0],r=t[1],a=l(r,w(b({},e),{skip:r===Vn})),o=(0, bn.useMemo)((function(){return {lastArg:r}}),[r]);return (0, bn.useMemo)((function(){return [n,a,o]}),[n,a,o])},useQuery:function(e,t){var r=n(e,t),a=l(e,b({selectFromResult:e===Vt||(null==t?void 0:t.skip)?void 0:Yn},t));return (0, bn.useMemo)((function(){return b(b({},a),r)}),[a,r])}}},buildMutationHook:function(e){return function(n){var u,i=(void 0===n?{}:n).selectFromResult,l=void 0===i?Hn:i,c=t.endpoints[e],s=c.select,f=c.initiate,d=a(),p=(0, bn.useState)(),h=p[0],v=p[1],y=(0, bn.useRef)();(0, bn.useEffect)((function(){return function(){var e;null==(e=y.current)||e.unsubscribe(),y.current=void 0;}}),[]);var m=(0, bn.useCallback)((function(e){var t;return r((function(){var n;null==(n=null==y?void 0:y.current)||n.unsubscribe(),t=d(f(e)),y.current=t,v(t.requestId);})),t}),[d,f]),g=(0, bn.useMemo)((function(){return Je([s(h||Vt)],(function(e){return l(e)}))}),[s,h,l]),k=o(g,Tn),S=null==(u=y.current)?void 0:u.arg.originalArgs,E=(0, bn.useMemo)((function(){return w(b({},k),{originalArgs:S})}),[k,S]);return (0, bn.useMemo)((function(){return [m,E]}),[m,E])}},usePrefetch:function(e,n){var r=a(),o=$n(n);return (0, bn.useCallback)((function(n,a){return r(t.util.prefetch(e,n,b(b({},o),a)))}),[e,r,o])}}}({api:e,moduleOptions:{batch:r,useDispatch:o,useSelector:i,useStore:c}}),l=u.buildQueryHooks,s=u.buildMutationHook;return yn(a,{usePrefetch:u.usePrefetch}),yn(n,{batch:r}),{injectEndpoint:function(t,n){if(Xt(n)){var r=l(t),o=r.useQuery,u=r.useLazyQuery;yn(a.endpoints[t],{useQuery:o,useLazyQuery:u,useLazyQuerySubscription:r.useLazyQuerySubscription,useQueryState:r.useQueryState,useQuerySubscription:r.useQuerySubscription}),e["use"+D(t)+"Query"]=o,e["useLazy"+D(t)+"Query"]=u;}else if(Gt(n)){var i=s(t);yn(a.endpoints[t],{useMutation:i}),e["use"+D(t)+"Mutation"]=i;}}}}}},Jn=E(C());function Zn(e){var t=Jn.default.useState((function(){var t;return ot({reducer:(t={},t[e.api.reducerPath]=e.api.reducer,t),middleware:function(t){return t().concat(e.api.middleware)}})}))[0];return Ut(t.dispatch,e.setupListeners),Jn.default.createElement(Cn,{store:t,context:e.context},e.children)}var er=en(gn(),Gn());
|
|
|
|
exports.ApiProvider = Zn;
|
|
exports.buildCreateApi = en;
|
|
exports.copyWithStructuralSharing = Ct;
|
|
exports.coreModule = gn;
|
|
exports.createApi = er;
|
|
exports.fakeBaseQuery = tn;
|
|
exports.fetchBaseQuery = Rt;
|
|
exports.reactHooksModule = Gn;
|
|
exports.retry = Mt;
|
|
exports.setupListeners = Ut;
|
|
exports.skipSelector = Wt;
|
|
exports.skipToken = Vt;
|
|
|
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
|
})));
|
|
//# sourceMappingURL=rtk-query-react.umd.min.js.map
|