@dodoex/wallet-web3 0.0.22-2 → 0.0.22-4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/dist/__node-resolve_empty-8632adc3.js +1 -0
  2. package/dist/__tslib-6ff4d83f.js +1 -0
  3. package/dist/blocto-532eeb3b.js +7 -0
  4. package/dist/bn-d8b2aa48.js +1 -0
  5. package/dist/browser-ponyfill-17a49e59.js +1 -0
  6. package/dist/cjs/__node-resolve_empty-e6311036.cjs +1 -0
  7. package/dist/cjs/__tslib-b9bb49bb.cjs +1 -0
  8. package/dist/cjs/blocto-dc83ab21.cjs +7 -0
  9. package/dist/cjs/bn-2f18fb63.cjs +1 -0
  10. package/dist/cjs/browser-ponyfill-4411ec49.cjs +1 -0
  11. package/dist/cjs/ethers-bc02633f.cjs +1 -0
  12. package/dist/cjs/id-4255a5f8.cjs +1 -0
  13. package/dist/cjs/{index-4585c950.cjs → index-0ec82476.cjs} +1 -1
  14. package/dist/cjs/{index-f2c04d55.cjs → index-165c948d.cjs} +1 -1
  15. package/dist/cjs/index-217a1036.cjs +46 -0
  16. package/dist/cjs/{index-4abb9db3.cjs → index-27942063.cjs} +1 -1
  17. package/dist/cjs/index-3e255821.cjs +1 -0
  18. package/dist/cjs/index-4e5d1d8d.cjs +1 -0
  19. package/dist/cjs/index-4f2d1da0.cjs +15 -0
  20. package/dist/cjs/index-5672be01.cjs +1 -0
  21. package/dist/cjs/index-8e209085.cjs +10 -0
  22. package/dist/cjs/{index-5d7b94fd.cjs → index-979d2927.cjs} +1 -1
  23. package/dist/cjs/index-cf3bf3b5.cjs +3 -0
  24. package/dist/cjs/{index-3d1a3da9.cjs → index-df8e5839.cjs} +1 -1
  25. package/dist/cjs/index-eb09e54d.cjs +60 -0
  26. package/dist/cjs/index.cjs +1 -1
  27. package/dist/cjs/index.es-fa952979.cjs +9 -0
  28. package/dist/cjs/{interface-1b54eefa.cjs → interface-c0ab0ac8.cjs} +1 -1
  29. package/dist/cjs/portis-c69e492c.cjs +24 -0
  30. package/dist/cjs/{provider-403219c9.cjs → provider-692e5c89.cjs} +1 -1
  31. package/dist/cjs/rainbow-d0f3ec18.cjs +1 -0
  32. package/dist/cjs/uAuth-43d34532.cjs +1 -0
  33. package/dist/cjs/walletConnect-c0e36fea.cjs +1 -0
  34. package/dist/cjs/walletLink-7b9716e2.cjs +1 -0
  35. package/dist/ethers-7757efa9.js +1 -0
  36. package/dist/id-8c638e81.js +1 -0
  37. package/dist/index-0ee5ef8d.js +60 -0
  38. package/dist/index-30664326.js +10 -0
  39. package/dist/index-40f05896.js +15 -0
  40. package/dist/index-4e992427.js +1 -0
  41. package/dist/index-5a901c0e.js +2 -0
  42. package/dist/{index-650785ec.js → index-77db3261.js} +1 -1
  43. package/dist/{index-de37f6bb.js → index-82bd9877.js} +1 -1
  44. package/dist/index-89309b1f.js +1 -0
  45. package/dist/index-b54cb21d.js +46 -0
  46. package/dist/{index-235259d8.js → index-bab1214b.js} +1 -1
  47. package/dist/index-c2c42137.js +1 -0
  48. package/dist/index-c8690ee6.js +1 -0
  49. package/dist/{index-5f9e8321.js → index-e0d3617a.js} +1 -1
  50. package/dist/index.es-571d50ca.js +9 -0
  51. package/dist/index.js +1 -1
  52. package/dist/{interface-f97a878a.js → interface-2082dd3f.js} +1 -1
  53. package/dist/portis-fb908c06.js +24 -0
  54. package/dist/{provider-453e2483.js → provider-6caed3b7.js} +1 -1
  55. package/dist/rainbow-98eb30ca.js +1 -0
  56. package/dist/uAuth-034cff41.js +1 -0
  57. package/dist/walletConnect-2c923830.js +1 -0
  58. package/dist/walletLink-d4240be5.js +1 -0
  59. package/package.json +1 -1
  60. package/dist/__tslib-dd22ed7d.js +0 -1
  61. package/dist/blocto-69a506f8.js +0 -1
  62. package/dist/bn-3e892825.js +0 -1
  63. package/dist/cjs/__tslib-8344f379.cjs +0 -1
  64. package/dist/cjs/blocto-bdab3cea.cjs +0 -1
  65. package/dist/cjs/bn-ce9dbccd.cjs +0 -1
  66. package/dist/cjs/ethers-767c2337.cjs +0 -1
  67. package/dist/cjs/id-6c4d97dd.cjs +0 -1
  68. package/dist/cjs/index-2428f0a6.cjs +0 -1
  69. package/dist/cjs/index-659dc842.cjs +0 -61
  70. package/dist/cjs/index-67e59d1a.cjs +0 -1
  71. package/dist/cjs/index-795ad993.cjs +0 -46
  72. package/dist/cjs/index-a5fa1e6e.cjs +0 -15
  73. package/dist/cjs/index-aa04e7a3.cjs +0 -1
  74. package/dist/cjs/index-cfe3e391.cjs +0 -10
  75. package/dist/cjs/index-d226aab9.cjs +0 -8
  76. package/dist/cjs/index-e875b498.cjs +0 -1
  77. package/dist/cjs/index.es-a3704620.cjs +0 -9
  78. package/dist/cjs/node-ponyfill-a7a0b431.cjs +0 -1
  79. package/dist/cjs/portis-ec0ce54d.cjs +0 -1
  80. package/dist/cjs/rainbow-caa66e39.cjs +0 -1
  81. package/dist/cjs/uAuth-a2d2617a.cjs +0 -1
  82. package/dist/cjs/walletConnect-c57b3b5d.cjs +0 -1
  83. package/dist/cjs/walletLink-f0f9e2a7.cjs +0 -3
  84. package/dist/ethers-51e19435.js +0 -1
  85. package/dist/id-830e09aa.js +0 -1
  86. package/dist/index-3158e93a.js +0 -46
  87. package/dist/index-46c2059e.js +0 -1
  88. package/dist/index-5091218e.js +0 -1
  89. package/dist/index-6bf494b0.js +0 -1
  90. package/dist/index-80483be2.js +0 -8
  91. package/dist/index-82b4fd64.js +0 -60
  92. package/dist/index-88837567.js +0 -1
  93. package/dist/index-c699a924.js +0 -1
  94. package/dist/index-cc453bb1.js +0 -10
  95. package/dist/index-f3052552.js +0 -15
  96. package/dist/index.es-877101c5.js +0 -9
  97. package/dist/node-ponyfill-55b945e1.js +0 -1
  98. package/dist/portis-7d46b7ed.js +0 -1
  99. package/dist/rainbow-61a52379.js +0 -1
  100. package/dist/uAuth-40d8acab.js +0 -1
  101. package/dist/walletConnect-d6a9aa67.js +0 -1
  102. package/dist/walletLink-106461e6.js +0 -3
  103. /package/dist/cjs/{index-47f3e61d.cjs → index-70269942.cjs} +0 -0
  104. /package/dist/{index-0103e089.js → index-6be6f872.js} +0 -0
@@ -1,46 +0,0 @@
1
- import{z as e,A as t,B as n,C as r,U as o,D as a,F as i,b as s,G as l,I as u,X as c,J as d,Z as f,K as p,Q as h,L as m,M as g,N as v,O as y,P as b,R as w,T as k,V as S,W as _,$ as E,Y as x,a0 as C,a1 as T,a2 as R,a3 as N,a4 as P,a5 as O,a6 as L,a7 as I,a8 as D,a9 as M,aa as A,_ as z,d as U}from"./index-cc453bb1.js";export{a7 as isInBinance}from"./index-cc453bb1.js";import{c as F}from"./node-ponyfill-55b945e1.js";import B,{Readable as j}from"stream";import W from"zlib";import{c as V}from"./_commonjs-dynamic-modules-7cfc9805.js";import H from"fs";import $ from"path";import q from"os";import Q from"buffer";import Y from"crypto";import G from"events";import K from"https";import X from"http";import J from"net";import Z from"tls";import ee from"url";import{I as te}from"./interface-f97a878a.js";import{F as ne,g as re,f as oe}from"./index-80483be2.js";import ae,{TextEncoder as ie}from"util";import"@ethersproject/address";import"@ethersproject/providers";import"zustand";import"@ethersproject/constants";import"@ethersproject/contracts";import"@ethersproject/properties";import"@ethersproject/transactions";import"@ethersproject/bytes";import"punycode";import"./id-830e09aa.js";import"assert";import"./index-6bf494b0.js";import"tty";var se,le,ue,ce,de,fe,pe={exports:{}},he={exports:{}};function me(){return ue||(ue=1,e=he,"function"==typeof process.addon?e.exports=process.addon.bind(process):e.exports=function(){if(le)return se;le=1;var e=H,t=$,n=q,r="function"==typeof __webpack_require__?__non_webpack_require__:V,o=process.config&&process.config.variables||{},a=!!process.env.PREBUILDS_ONLY,i=process.versions.modules,s=process.versions&&process.versions.electron||process.env.ELECTRON_RUN_AS_NODE||"undefined"!=typeof window&&window.process&&"renderer"===window.process.type?"electron":process.versions&&process.versions.nw?"node-webkit":"node",l=process.env.npm_config_arch||n.arch(),u=process.env.npm_config_platform||n.platform(),c=process.env.LIBC||(function(t){return"linux"===t&&e.existsSync("/etc/alpine-release")}(u)?"musl":"glibc"),d=process.env.ARM_VERSION||("arm64"===l?"8":o.arm_version)||"",f=(process.versions.uv||"").split(".")[0];function p(e){return r(p.resolve(e))}function h(t){try{return e.readdirSync(t)}catch(e){return[]}}function m(e,n){var r=h(e).filter(n);return r[0]&&t.join(e,r[0])}function g(e){return/\.node$/.test(e)}function v(e){var t=e.split("-");if(2===t.length){var n=t[0],r=t[1].split("+");if(n&&r.length&&r.every(Boolean))return{name:e,platform:n,architectures:r}}}function y(e,t){return function(n){return null!=n&&n.platform===e&&n.architectures.includes(t)}}function b(e,t){return e.architectures.length-t.architectures.length}function w(e){var t=e.split("."),n={file:e,specificity:0};if("node"===t.pop()){for(var r=0;r<t.length;r++){var o=t[r];if("node"===o||"electron"===o||"node-webkit"===o)n.runtime=o;else if("napi"===o)n.napi=!0;else if("abi"===o.slice(0,3))n.abi=o.slice(3);else if("uv"===o.slice(0,2))n.uv=o.slice(2);else if("armv"===o.slice(0,4))n.armv=o.slice(4);else{if("glibc"!==o&&"musl"!==o)continue;n.libc=o}n.specificity++}return n}}function k(e,t){return function(n){return!(null==n||n.runtime!==e&&!function(e){return"node"===e.runtime&&e.napi}(n)||n.abi!==t&&!n.napi||n.uv&&n.uv!==f||n.armv&&n.armv!==d||n.libc&&n.libc!==c)}}function S(e){return function(t,n){return t.runtime!==n.runtime?t.runtime===e?-1:1:t.abi!==n.abi?t.abi?-1:1:t.specificity!==n.specificity?t.specificity>n.specificity?-1:1:0}}return se=p,p.resolve=p.path=function(e){e=t.resolve(e||".");try{var n=r(t.join(e,"package.json")).name.toUpperCase().replace(/-/g,"_");process.env[n+"_PREBUILD"]&&(e=process.env[n+"_PREBUILD"])}catch(e){}if(!a){var o=m(t.join(e,"build/Release"),g);if(o)return o;var p=m(t.join(e,"build/Debug"),g);if(p)return p}var _=C(e);if(_)return _;var E=C(t.dirname(process.execPath));if(E)return E;var x=["platform="+u,"arch="+l,"runtime="+s,"abi="+i,"uv="+f,d?"armv="+d:"","libc="+c,"node="+process.versions.node,process.versions.electron?"electron="+process.versions.electron:"","function"==typeof __webpack_require__?"webpack=true":""].filter(Boolean).join(" ");throw new Error("No native build was found for "+x+"\n loaded from: "+e+"\n");function C(e){var n=h(t.join(e,"prebuilds")).map(v).filter(y(u,l)).sort(b)[0];if(n){var r=t.join(e,"prebuilds",n.name),o=h(r).map(w).filter(k(s,i)).sort(S(s))[0];return o?t.join(r,o.file):void 0}}},p.parseTags=w,p.matchTags=k,p.compareTags=S,p.parseTuple=v,p.matchTuple=y,p.compareTuples=b,se}()),he.exports;var e}var ge,ve,ye,be={exports:{}};var we,ke={headers:{Accept:"application/json","Content-Type":"application/json"},method:"POST"},Se={exports:{}},_e={};function Ee(){if(we)return _e;we=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),i=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),u=Symbol.for("react.memo"),c=Symbol.for("react.lazy"),d=Symbol.iterator;var f={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},p=Object.assign,h={};function m(e,t,n){this.props=e,this.context=t,this.refs=h,this.updater=n||f}function g(){}function v(e,t,n){this.props=e,this.context=t,this.refs=h,this.updater=n||f}m.prototype.isReactComponent={},m.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},m.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},g.prototype=m.prototype;var y=v.prototype=new g;y.constructor=v,p(y,m.prototype),y.isPureReactComponent=!0;var b=Array.isArray,w=Object.prototype.hasOwnProperty,k={current:null},S={key:!0,ref:!0,__self:!0,__source:!0};function _(t,n,r){var o,a={},i=null,s=null;if(null!=n)for(o in void 0!==n.ref&&(s=n.ref),void 0!==n.key&&(i=""+n.key),n)w.call(n,o)&&!S.hasOwnProperty(o)&&(a[o]=n[o]);var l=arguments.length-2;if(1===l)a.children=r;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];a.children=u}if(t&&t.defaultProps)for(o in l=t.defaultProps)void 0===a[o]&&(a[o]=l[o]);return{$$typeof:e,type:t,key:i,ref:s,props:a,_owner:k.current}}function E(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var x=/\/+/g;function C(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 T(n,r,o,a,i){var s=typeof n;"undefined"!==s&&"boolean"!==s||(n=null);var l=!1;if(null===n)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(n.$$typeof){case e:case t:l=!0}}if(l)return i=i(l=n),n=""===a?"."+C(l,0):a,b(i)?(o="",null!=n&&(o=n.replace(x,"$&/")+"/"),T(i,r,o,"",(function(e){return e}))):null!=i&&(E(i)&&(i=function(t,n){return{$$typeof:e,type:t.type,key:n,ref:t.ref,props:t.props,_owner:t._owner}}(i,o+(!i.key||l&&l.key===i.key?"":(""+i.key).replace(x,"$&/")+"/")+n)),r.push(i)),1;if(l=0,a=""===a?".":a+":",b(n))for(var u=0;u<n.length;u++){var c=a+C(s=n[u],u);l+=T(s,r,o,c,i)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=d&&e[d]||e["@@iterator"])?e:null}(n),"function"==typeof c)for(n=c.call(n),u=0;!(s=n.next()).done;)l+=T(s=s.value,r,o,c=a+C(s,u++),i);else if("object"===s)throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return l}function R(e,t,n){if(null==e)return e;var r=[],o=0;return T(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function N(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var P={current:null},O={transition:null},L={ReactCurrentDispatcher:P,ReactCurrentBatchConfig:O,ReactCurrentOwner:k};return _e.Children={map:R,forEach:function(e,t,n){R(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return R(e,(function(){t++})),t},toArray:function(e){return R(e,(function(e){return e}))||[]},only:function(e){if(!E(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},_e.Component=m,_e.Fragment=n,_e.Profiler=o,_e.PureComponent=v,_e.StrictMode=r,_e.Suspense=l,_e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L,_e.cloneElement=function(t,n,r){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var o=p({},t.props),a=t.key,i=t.ref,s=t._owner;if(null!=n){if(void 0!==n.ref&&(i=n.ref,s=k.current),void 0!==n.key&&(a=""+n.key),t.type&&t.type.defaultProps)var l=t.type.defaultProps;for(u in n)w.call(n,u)&&!S.hasOwnProperty(u)&&(o[u]=void 0===n[u]&&void 0!==l?l[u]:n[u])}var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){l=Array(u);for(var c=0;c<u;c++)l[c]=arguments[c+2];o.children=l}return{$$typeof:e,type:t.type,key:a,ref:i,props:o,_owner:s}},_e.createContext=function(e){return(e={$$typeof:i,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},_e.createElement=_,_e.createFactory=function(e){var t=_.bind(null,e);return t.type=e,t},_e.createRef=function(){return{current:null}},_e.forwardRef=function(e){return{$$typeof:s,render:e}},_e.isValidElement=E,_e.lazy=function(e){return{$$typeof:c,_payload:{_status:-1,_result:e},_init:N}},_e.memo=function(e,t){return{$$typeof:u,type:e,compare:void 0===t?null:t}},_e.startTransition=function(e){var t=O.transition;O.transition={};try{e()}finally{O.transition=t}},_e.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},_e.useCallback=function(e,t){return P.current.useCallback(e,t)},_e.useContext=function(e){return P.current.useContext(e)},_e.useDebugValue=function(){},_e.useDeferredValue=function(e){return P.current.useDeferredValue(e)},_e.useEffect=function(e,t){return P.current.useEffect(e,t)},_e.useId=function(){return P.current.useId()},_e.useImperativeHandle=function(e,t,n){return P.current.useImperativeHandle(e,t,n)},_e.useInsertionEffect=function(e,t){return P.current.useInsertionEffect(e,t)},_e.useLayoutEffect=function(e,t){return P.current.useLayoutEffect(e,t)},_e.useMemo=function(e,t){return P.current.useMemo(e,t)},_e.useReducer=function(e,t,n){return P.current.useReducer(e,t,n)},_e.useRef=function(e){return P.current.useRef(e)},_e.useState=function(e){return P.current.useState(e)},_e.useSyncExternalStore=function(e,t,n){return P.current.useSyncExternalStore(e,t,n)},_e.useTransition=function(){return P.current.useTransition()},_e.version="18.2.0",_e}var xe,Ce,Te={exports:{}};
2
- /**
3
- * @license React
4
- * react.development.js
5
- *
6
- * Copyright (c) Facebook, Inc. and its affiliates.
7
- *
8
- * This source code is licensed under the MIT license found in the
9
- * LICENSE file in the root directory of this source tree.
10
- */function Re(){return xe||(xe=1,e=Te,t=Te.exports,"production"!==process.env.NODE_ENV&&function(){"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),m=Symbol.iterator,g="@@iterator";function v(e){if(null===e||"object"!=typeof e)return null;var t=m&&e[m]||e[g];return"function"==typeof t?t:null}var y={current:null},b={transition:null},w={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},k={current:null},S={},_=null;function E(e){_=e}S.setExtraStackFrame=function(e){_=e},S.getCurrentStack=null,S.getStackAddendum=function(){var e="";_&&(e+=_);var t=S.getCurrentStack;return t&&(e+=t()||""),e};var x=!1,C=!1,T=!1,R=!1,N=!1,P={ReactCurrentDispatcher:y,ReactCurrentBatchConfig:b,ReactCurrentOwner:k};function O(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];I("warn",e,n)}function L(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];I("error",e,n)}function I(e,t,n){var r=P.ReactDebugCurrentFrame.getStackAddendum();""!==r&&(t+="%s",n=n.concat([r]));var o=n.map((function(e){return String(e)}));o.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,o)}P.ReactDebugCurrentFrame=S,P.ReactCurrentActQueue=w;var D={};function M(e,t){var n=e.constructor,r=n&&(n.displayName||n.name)||"ReactClass",o=r+"."+t;D[o]||(L("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",t,r),D[o]=!0)}var A={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,n){M(e,"forceUpdate")},enqueueReplaceState:function(e,t,n,r){M(e,"replaceState")},enqueueSetState:function(e,t,n,r){M(e,"setState")}},z=Object.assign,U={};function F(e,t,n){this.props=e,this.context=t,this.refs=U,this.updater=n||A}Object.freeze(U),F.prototype.isReactComponent={},F.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},F.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var B={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},j=function(e,t){Object.defineProperty(F.prototype,e,{get:function(){O("%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})};for(var W in B)B.hasOwnProperty(W)&&j(W,B[W]);function V(){}function H(e,t,n){this.props=e,this.context=t,this.refs=U,this.updater=n||A}V.prototype=F.prototype;var $=H.prototype=new V;$.constructor=H,z($,F.prototype),$.isPureReactComponent=!0;var q=Array.isArray;function Q(e){return q(e)}function Y(e){return""+e}function G(e){if(function(e){try{return Y(e),!1}catch(e){return!0}}(e))return L("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",function(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}(e)),Y(e)}function K(e){return e.displayName||"Context"}function X(e){if(null==e)return null;if("number"==typeof e.tag&&L("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case o:return"Fragment";case r:return"Portal";case i:return"Profiler";case a:return"StrictMode";case c:return"Suspense";case d:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case l:return K(e)+".Consumer";case s:return K(e._context)+".Provider";case u:return function(e,t,n){var r=e.displayName;if(r)return r;var o=t.displayName||t.name||"";return""!==o?n+"("+o+")":n}(e,e.render,"ForwardRef");case f:var t=e.displayName||null;return null!==t?t:X(e.type)||"Memo";case p:var n=e,h=n._payload,m=n._init;try{return X(m(h))}catch(e){return null}}return null}var J,Z,ee,te=Object.prototype.hasOwnProperty,ne={key:!0,ref:!0,__self:!0,__source:!0};function re(e){if(te.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}function oe(e){if(te.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}ee={};var ae=function(e,t,r,o,a,i,s){var l={$$typeof:n,type:e,key:t,ref:r,props:s,_owner:i,_store:{}};return Object.defineProperty(l._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(l,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(l,"_source",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l};function ie(e,t,n){var r,o={},a=null,i=null,s=null,l=null;if(null!=t)for(r in re(t)&&(i=t.ref,function(e){if("string"==typeof e.ref&&k.current&&e.__self&&k.current.stateNode!==e.__self){var t=X(k.current.type);ee[t]||(L('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',t,e.ref),ee[t]=!0)}}(t)),oe(t)&&(G(t.key),a=""+t.key),s=void 0===t.__self?null:t.__self,l=void 0===t.__source?null:t.__source,t)te.call(t,r)&&!ne.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(1===u)o.children=n;else if(u>1){for(var c=Array(u),d=0;d<u;d++)c[d]=arguments[d+2];Object.freeze&&Object.freeze(c),o.children=c}if(e&&e.defaultProps){var f=e.defaultProps;for(r in f)void 0===o[r]&&(o[r]=f[r])}if(a||i){var p="function"==typeof e?e.displayName||e.name||"Unknown":e;a&&function(e,t){var n=function(){J||(J=!0,L("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}(o,p),i&&function(e,t){var n=function(){Z||(Z=!0,L("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}(o,p)}return ae(e,a,i,s,l,k.current,o)}function se(e,t,n){if(null==e)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r,o,a=z({},e.props),i=e.key,s=e.ref,l=e._self,u=e._source,c=e._owner;if(null!=t)for(r in re(t)&&(s=t.ref,c=k.current),oe(t)&&(G(t.key),i=""+t.key),e.type&&e.type.defaultProps&&(o=e.type.defaultProps),t)te.call(t,r)&&!ne.hasOwnProperty(r)&&(void 0===t[r]&&void 0!==o?a[r]=o[r]:a[r]=t[r]);var d=arguments.length-2;if(1===d)a.children=n;else if(d>1){for(var f=Array(d),p=0;p<d;p++)f[p]=arguments[p+2];a.children=f}return ae(e.type,i,s,l,u,c,a)}function le(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var ue=".",ce=":",de=!1,fe=/\/+/g;function pe(e){return e.replace(fe,"$&/")}function he(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(G(e.key),n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}function me(e,t,o,a,i){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l,u,c,d=!1;if(null===e)d=!0;else switch(s){case"string":case"number":d=!0;break;case"object":switch(e.$$typeof){case n:case r:d=!0}}if(d){var f=e,p=i(f),h=""===a?ue+he(f,0):a;if(Q(p)){var m="";null!=h&&(m=pe(h)+"/"),me(p,t,m,"",(function(e){return e}))}else null!=p&&(le(p)&&(!p.key||f&&f.key===p.key||G(p.key),l=p,u=o+(!p.key||f&&f.key===p.key?"":pe(""+p.key)+"/")+h,p=ae(l.type,u,l.ref,l._self,l._source,l._owner,l.props)),t.push(p));return 1}var g=0,y=""===a?ue:a+ce;if(Q(e))for(var b=0;b<e.length;b++)g+=me(c=e[b],t,o,y+he(c,b),i);else{var w=v(e);if("function"==typeof w){var k=e;w===k.entries&&(de||O("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),de=!0);for(var S,_=w.call(k),E=0;!(S=_.next()).done;)g+=me(c=S.value,t,o,y+he(c,E++),i)}else if("object"===s){var x=String(e);throw new Error("Objects are not valid as a React child (found: "+("[object Object]"===x?"object with keys {"+Object.keys(e).join(", ")+"}":x)+"). If you meant to render a collection of children, use an array instead.")}}return g}function ge(e,t,n){if(null==e)return e;var r=[],o=0;return me(e,r,"","",(function(e){return t.call(n,e,o++)})),r}var ve,ye=-1,be=0,we=1,ke=2;function Se(e){if(e._status===ye){var t=(0,e._result)();if(t.then((function(t){if(e._status===be||e._status===ye){var n=e;n._status=we,n._result=t}}),(function(t){if(e._status===be||e._status===ye){var n=e;n._status=ke,n._result=t}})),e._status===ye){var n=e;n._status=be,n._result=t}}if(e._status===we){var r=e._result;return void 0===r&&L("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?",r),"default"in r||L("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",r),r.default}throw e._result}function _e(e){return"string"==typeof e||"function"==typeof e||!!(e===o||e===i||N||e===a||e===c||e===d||R||e===h||x||C||T)||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===f||e.$$typeof===s||e.$$typeof===l||e.$$typeof===u||e.$$typeof===ve||void 0!==e.getModuleId)}function Ee(){var e=y.current;return null===e&&L("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem."),e}ve=Symbol.for("react.module.reference");var xe,Ce,Te,Re,Ne,Pe,Oe,Le=0;function Ie(){}Ie.__reactDisabledLog=!0;var De,Me=P.ReactCurrentDispatcher;function Ae(e,t,n){if(void 0===De)try{throw Error()}catch(e){var r=e.stack.trim().match(/\n( *(at )?)/);De=r&&r[1]||""}return"\n"+De+e}var ze,Ue=!1,Fe="function"==typeof WeakMap?WeakMap:Map;function Be(e,t){if(!e||Ue)return"";var n,r=ze.get(e);if(void 0!==r)return r;Ue=!0;var o,a=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=Me.current,Me.current=null,function(){if(0===Le){xe=console.log,Ce=console.info,Te=console.warn,Re=console.error,Ne=console.group,Pe=console.groupCollapsed,Oe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Ie,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Le++}();try{if(t){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(i,[])}catch(e){n=e}Reflect.construct(e,[],i)}else{try{i.call()}catch(e){n=e}e.call(i.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var s=t.stack.split("\n"),l=n.stack.split("\n"),u=s.length-1,c=l.length-1;u>=1&&c>=0&&s[u]!==l[c];)c--;for(;u>=1&&c>=0;u--,c--)if(s[u]!==l[c]){if(1!==u||1!==c)do{if(u--,--c<0||s[u]!==l[c]){var d="\n"+s[u].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),"function"==typeof e&&ze.set(e,d),d}}while(u>=1&&c>=0);break}}}finally{Ue=!1,Me.current=o,function(){if(0==--Le){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:z({},e,{value:xe}),info:z({},e,{value:Ce}),warn:z({},e,{value:Te}),error:z({},e,{value:Re}),group:z({},e,{value:Ne}),groupCollapsed:z({},e,{value:Pe}),groupEnd:z({},e,{value:Oe})})}Le<0&&L("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=a}var f=e?e.displayName||e.name:"",p=f?Ae(f):"";return"function"==typeof e&&ze.set(e,p),p}function je(e,t,n){if(null==e)return"";if("function"==typeof e)return Be(e,function(e){var t=e.prototype;return!(!t||!t.isReactComponent)}(e));if("string"==typeof e)return Ae(e);switch(e){case c:return Ae("Suspense");case d:return Ae("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case u:return Be(e.render,!1);case f:return je(e.type,t,n);case p:var r=e,o=r._payload,a=r._init;try{return je(a(o),t,n)}catch(e){}}return""}ze=new Fe;var We,Ve={},He=P.ReactDebugCurrentFrame;function $e(e){if(e){var t=e._owner,n=je(e.type,e._source,t?t.type:null);He.setExtraStackFrame(n)}else He.setExtraStackFrame(null)}function qe(e){if(e){var t=e._owner;E(je(e.type,e._source,t?t.type:null))}else E(null)}function Qe(){if(k.current){var e=X(k.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}We=!1;var Ye={};function Ge(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=function(e){var t=Qe();if(!t){var n="string"==typeof e?e:e.displayName||e.name;n&&(t="\n\nCheck the top-level render call using <"+n+">.")}return t}(t);if(!Ye[n]){Ye[n]=!0;var r="";e&&e._owner&&e._owner!==k.current&&(r=" It was passed a child from "+X(e._owner.type)+"."),qe(e),L('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,r),qe(null)}}}function Ke(e,t){if("object"==typeof e)if(Q(e))for(var n=0;n<e.length;n++){var r=e[n];le(r)&&Ge(r,t)}else if(le(e))e._store&&(e._store.validated=!0);else if(e){var o=v(e);if("function"==typeof o&&o!==e.entries)for(var a,i=o.call(e);!(a=i.next()).done;)le(a.value)&&Ge(a.value,t)}}function Xe(e){var t,n=e.type;if(null!=n&&"string"!=typeof n){if("function"==typeof n)t=n.propTypes;else{if("object"!=typeof n||n.$$typeof!==u&&n.$$typeof!==f)return;t=n.propTypes}if(t){var r=X(n);!function(e,t,n,r,o){var a=Function.call.bind(te);for(var i in e)if(a(e,i)){var s=void 0;try{if("function"!=typeof e[i]){var l=Error((r||"React class")+": "+n+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}s=e[i](t,i,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){s=e}!s||s instanceof Error||($e(o),L("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",r||"React class",n,i,typeof s),$e(null)),s instanceof Error&&!(s.message in Ve)&&(Ve[s.message]=!0,$e(o),L("Failed %s type: %s",n,s.message),$e(null))}}(t,e.props,"prop",r,e)}else void 0===n.PropTypes||We||(We=!0,L("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",X(n)||"Unknown"));"function"!=typeof n.getDefaultProps||n.getDefaultProps.isReactClassApproved||L("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Je(e,t,r){var a,i,s=_e(e);if(!s){var l="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(l+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var u,c=null!=(a=t)&&void 0!==(i=a.__source)?"\n\nCheck your code at "+i.fileName.replace(/^.*[\\\/]/,"")+":"+i.lineNumber+".":"";l+=c||Qe(),null===e?u="null":Q(e)?u="array":void 0!==e&&e.$$typeof===n?(u="<"+(X(e.type)||"Unknown")+" />",l=" Did you accidentally export a JSX literal instead of a component?"):u=typeof e,L("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",u,l)}var d=ie.apply(this,arguments);if(null==d)return d;if(s)for(var f=2;f<arguments.length;f++)Ke(arguments[f],e);return e===o?function(e){for(var t=Object.keys(e.props),n=0;n<t.length;n++){var r=t[n];if("children"!==r&&"key"!==r){qe(e),L("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",r),qe(null);break}}null!==e.ref&&(qe(e),L("Invalid attribute `ref` supplied to `React.Fragment`."),qe(null))}(d):Xe(d),d}var Ze=!1,et=!1,tt=null,nt=0,rt=!1;function ot(e){e!==nt-1&&L("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),nt=e}function at(t,n,r){var o=w.current;if(null!==o)try{st(o),function(t){if(null===tt)try{var n=("require"+Math.random()).slice(0,7);tt=(e&&e[n]).call(e,"timers").setImmediate}catch(e){tt=function(e){!1===et&&(et=!0,"undefined"==typeof MessageChannel&&L("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(void 0)}}tt(t)}((function(){0===o.length?(w.current=null,n(t)):at(t,n,r)}))}catch(e){r(e)}else n(t)}var it=!1;function st(e){if(!it){it=!0;var t=0;try{for(;t<e.length;t++){var n=e[t];do{n=n(!0)}while(null!==n)}e.length=0}catch(n){throw e=e.slice(t+1),n}finally{it=!1}}}var lt=Je,ut=function(e,t,n){for(var r=se.apply(this,arguments),o=2;o<arguments.length;o++)Ke(arguments[o],r.type);return Xe(r),r},ct=function(e){var t=Je.bind(null,e);return t.type=e,Ze||(Ze=!0,O("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(t,"type",{enumerable:!1,get:function(){return O("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:e}),e}}),t},dt={map:ge,forEach:function(e,t,n){ge(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return ge(e,(function(){t++})),t},toArray:function(e){return ge(e,(function(e){return e}))||[]},only:function(e){if(!le(e))throw new Error("React.Children.only expected to receive a single React element child.");return e}};t.Children=dt,t.Component=F,t.Fragment=o,t.Profiler=i,t.PureComponent=H,t.StrictMode=a,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=P,t.cloneElement=ut,t.createContext=function(e){var t={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};t.Provider={$$typeof:s,_context:t};var n=!1,r=!1,o=!1,a={$$typeof:l,_context:t};return Object.defineProperties(a,{Provider:{get:function(){return r||(r=!0,L("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),t.Provider},set:function(e){t.Provider=e}},_currentValue:{get:function(){return t._currentValue},set:function(e){t._currentValue=e}},_currentValue2:{get:function(){return t._currentValue2},set:function(e){t._currentValue2=e}},_threadCount:{get:function(){return t._threadCount},set:function(e){t._threadCount=e}},Consumer:{get:function(){return n||(n=!0,L("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),t.Consumer}},displayName:{get:function(){return t.displayName},set:function(e){o||(O("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",e),o=!0)}}}),t.Consumer=a,t._currentRenderer=null,t._currentRenderer2=null,t},t.createElement=lt,t.createFactory=ct,t.createRef=function(){var e={current:null};return Object.seal(e),e},t.forwardRef=function(e){null!=e&&e.$$typeof===f?L("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):"function"!=typeof e?L("forwardRef requires a render function but was given %s.",null===e?"null":typeof e):0!==e.length&&2!==e.length&&L("forwardRef render functions accept exactly two parameters: props and ref. %s",1===e.length?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),null!=e&&(null==e.defaultProps&&null==e.propTypes||L("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"));var t,n={$$typeof:u,render:e};return Object.defineProperty(n,"displayName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(n){t=n,e.name||e.displayName||(e.displayName=n)}}),n},t.isValidElement=le,t.lazy=function(e){var t,n,r={$$typeof:p,_payload:{_status:ye,_result:e},_init:Se};return Object.defineProperties(r,{defaultProps:{configurable:!0,get:function(){return t},set:function(e){L("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),t=e,Object.defineProperty(r,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return n},set:function(e){L("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),n=e,Object.defineProperty(r,"propTypes",{enumerable:!0})}}}),r},t.memo=function(e,t){_e(e)||L("memo: The first argument must be a component. Instead received: %s",null===e?"null":typeof e);var n,r={$$typeof:f,type:e,compare:void 0===t?null:t};return Object.defineProperty(r,"displayName",{enumerable:!1,configurable:!0,get:function(){return n},set:function(t){n=t,e.name||e.displayName||(e.displayName=t)}}),r},t.startTransition=function(e,t){var n=b.transition;b.transition={};var r=b.transition;b.transition._updatedFibers=new Set;try{e()}finally{b.transition=n,null===n&&r._updatedFibers&&(r._updatedFibers.size>10&&O("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),r._updatedFibers.clear())}},t.unstable_act=function(e){var t=nt;nt++,null===w.current&&(w.current=[]);var n,r=w.isBatchingLegacy;try{if(w.isBatchingLegacy=!0,n=e(),!r&&w.didScheduleLegacyUpdate){var o=w.current;null!==o&&(w.didScheduleLegacyUpdate=!1,st(o))}}catch(e){throw ot(t),e}finally{w.isBatchingLegacy=r}if(null!==n&&"object"==typeof n&&"function"==typeof n.then){var a=n,i=!1,s={then:function(e,n){i=!0,a.then((function(r){ot(t),0===nt?at(r,e,n):e(r)}),(function(e){ot(t),n(e)}))}};return rt||"undefined"==typeof Promise||Promise.resolve().then((function(){})).then((function(){i||(rt=!0,L("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))})),s}var l=n;if(ot(t),0===nt){var u=w.current;return null!==u&&(st(u),w.current=null),{then:function(e,t){null===w.current?(w.current=[],at(l,e,t)):e(l)}}}return{then:function(e,t){e(l)}}},t.useCallback=function(e,t){return Ee().useCallback(e,t)},t.useContext=function(e){var t=Ee();if(void 0!==e._context){var n=e._context;n.Consumer===e?L("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):n.Provider===e&&L("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return t.useContext(e)},t.useDebugValue=function(e,t){return Ee().useDebugValue(e,t)},t.useDeferredValue=function(e){return Ee().useDeferredValue(e)},t.useEffect=function(e,t){return Ee().useEffect(e,t)},t.useId=function(){return Ee().useId()},t.useImperativeHandle=function(e,t,n){return Ee().useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return Ee().useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return Ee().useLayoutEffect(e,t)},t.useMemo=function(e,t){return Ee().useMemo(e,t)},t.useReducer=function(e,t,n){return Ee().useReducer(e,t,n)},t.useRef=function(e){return Ee().useRef(e)},t.useState=function(e){return Ee().useState(e)},t.useSyncExternalStore=function(e,t,n){return Ee().useSyncExternalStore(e,t,n)},t.useTransition=function(){return Ee().useTransition()},t.version="18.2.0","undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Te.exports;var e,t}Ce=Se,"production"===process.env.NODE_ENV?Ce.exports=Ee():Ce.exports=Re();var Ne,Pe=s(Se.exports),Oe={exports:{}},Le={},Ie={exports:{}},De={};var Me,Ae,ze,Ue={};
11
- /**
12
- * @license React
13
- * scheduler.development.js
14
- *
15
- * Copyright (c) Facebook, Inc. and its affiliates.
16
- *
17
- * This source code is licensed under the MIT license found in the
18
- * LICENSE file in the root directory of this source tree.
19
- */function Fe(){return Me||(Me=1,e=Ue,"production"!==process.env.NODE_ENV&&function(){"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var t=!1,n=!1;function r(e,t){var n=e.length;e.push(t),function(e,t,n){for(var r=n;r>0;){var o=r-1>>>1,a=e[o];if(!(i(a,t)>0))return;e[o]=t,e[r]=a,r=o}}(e,t,n)}function o(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],n=e.pop();return n!==t&&(e[0]=n,function(e,t,n){for(var r=n,o=e.length,a=o>>>1;r<a;){var s=2*(r+1)-1,l=e[s],u=s+1,c=e[u];if(i(l,t)<0)u<o&&i(c,l)<0?(e[r]=c,e[u]=t,r=u):(e[r]=l,e[s]=t,r=s);else{if(!(u<o&&i(c,t)<0))return;e[r]=c,e[u]=t,r=u}}}(e,n,0)),t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var s=performance;e.unstable_now=function(){return s.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}var c=[],d=[],f=1,p=null,h=3,m=!1,g=!1,v=!1,y="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,w="undefined"!=typeof setImmediate?setImmediate:null;function k(e){for(var t=o(d);null!==t;){if(null===t.callback)a(d);else{if(!(t.startTime<=e))return;a(d),t.sortIndex=t.expirationTime,r(c,t)}t=o(d)}}function S(e){if(v=!1,k(e),!g)if(null!==o(c))g=!0,D(_);else{var t=o(d);null!==t&&M(S,t.startTime-e)}}function _(r,i){g=!1,v&&(v=!1,A()),m=!0;var s=h;try{if(!n)return function(n,r){var i=r;for(k(i),p=o(c);null!==p&&!t&&(!(p.expirationTime>i)||n&&!N());){var s=p.callback;if("function"==typeof s){p.callback=null,h=p.priorityLevel;var l=s(p.expirationTime<=i);i=e.unstable_now(),"function"==typeof l?p.callback=l:p===o(c)&&a(c),k(i)}else a(c);p=o(c)}if(null!==p)return!0;var u=o(d);return null!==u&&M(S,u.startTime-i),!1}(r,i)}finally{p=null,h=s,m=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var E=!1,x=null,C=-1,T=5,R=-1;function N(){return!(e.unstable_now()-R<T)}var P,O=function(){if(null!==x){var t=e.unstable_now();R=t;var n=!0;try{n=x(!0,t)}finally{n?P():(E=!1,x=null)}}else E=!1};if("function"==typeof w)P=function(){w(O)};else if("undefined"!=typeof MessageChannel){var L=new MessageChannel,I=L.port2;L.port1.onmessage=O,P=function(){I.postMessage(null)}}else P=function(){y(O,0)};function D(e){x=e,E||(E=!0,P())}function M(t,n){C=y((function(){t(e.unstable_now())}),n)}function A(){b(C),C=-1}var z=function(){};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(){g||m||(g=!0,D(_))},e.unstable_forceFrameRate=function(e){e<0||e>125?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=e>0?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return o(c)},e.unstable_next=function(e){var t;switch(h){case 1:case 2:case 3:t=3;break;default:t=h}var n=h;h=t;try{return e()}finally{h=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=z,e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=h;h=e;try{return t()}finally{h=n}},e.unstable_scheduleCallback=function(t,n,a){var i,s,l=e.unstable_now();if("object"==typeof a&&null!==a){var u=a.delay;i="number"==typeof u&&u>0?l+u:l}else i=l;switch(t){case 1:s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}var p=i+s,h={id:f++,callback:n,priorityLevel:t,startTime:i,expirationTime:p,sortIndex:-1};return i>l?(h.sortIndex=i,r(d,h),null===o(c)&&h===o(d)&&(v?A():v=!0,M(S,i-l))):(h.sortIndex=p,r(c,h),g||m||(g=!0,D(_))),h},e.unstable_shouldYield=N,e.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}},"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Ue;var e}function Be(){return Ae||(Ae=1,function(e){"production"===process.env.NODE_ENV?e.exports=(Ne||(Ne=1,function(e){function t(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,a=e[r];if(!(0<o(a,t)))break e;e[r]=t,e[n]=a,n=r}}function n(e){return 0===e.length?null:e[0]}function r(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length,i=a>>>1;r<i;){var s=2*(r+1)-1,l=e[s],u=s+1,c=e[u];if(0>o(l,n))u<a&&0>o(c,l)?(e[r]=c,e[u]=n,r=u):(e[r]=l,e[s]=n,r=s);else{if(!(u<a&&0>o(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;e.unstable_now=function(){return a.now()}}else{var i=Date,s=i.now();e.unstable_now=function(){return i.now()-s}}var l=[],u=[],c=1,d=null,f=3,p=!1,h=!1,m=!1,g="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,y="undefined"!=typeof setImmediate?setImmediate:null;function b(e){for(var o=n(u);null!==o;){if(null===o.callback)r(u);else{if(!(o.startTime<=e))break;r(u),o.sortIndex=o.expirationTime,t(l,o)}o=n(u)}}function w(e){if(m=!1,b(e),!h)if(null!==n(l))h=!0,L(k);else{var t=n(u);null!==t&&I(w,t.startTime-e)}}function k(t,o){h=!1,m&&(m=!1,v(x),x=-1),p=!0;var a=f;try{for(b(o),d=n(l);null!==d&&(!(d.expirationTime>o)||t&&!R());){var i=d.callback;if("function"==typeof i){d.callback=null,f=d.priorityLevel;var s=i(d.expirationTime<=o);o=e.unstable_now(),"function"==typeof s?d.callback=s:d===n(l)&&r(l),b(o)}else r(l);d=n(l)}if(null!==d)var c=!0;else{var g=n(u);null!==g&&I(w,g.startTime-o),c=!1}return c}finally{d=null,f=a,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,_=!1,E=null,x=-1,C=5,T=-1;function R(){return!(e.unstable_now()-T<C)}function N(){if(null!==E){var t=e.unstable_now();T=t;var n=!0;try{n=E(!0,t)}finally{n?S():(_=!1,E=null)}}else _=!1}if("function"==typeof y)S=function(){y(N)};else if("undefined"!=typeof MessageChannel){var P=new MessageChannel,O=P.port2;P.port1.onmessage=N,S=function(){O.postMessage(null)}}else S=function(){g(N,0)};function L(e){E=e,_||(_=!0,S())}function I(t,n){x=g((function(){t(e.unstable_now())}),n)}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(){h||p||(h=!0,L(k))},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"):C=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,o,a){var i=e.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0<a?i+a:i,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return r={id:c++,callback:o,priorityLevel:r,startTime:a,expirationTime:s=a+s,sortIndex:-1},a>i?(r.sortIndex=a,t(u,r),null===n(l)&&r===n(u)&&(m?(v(x),x=-1):m=!0,I(w,a-i))):(r.sortIndex=s,t(l,r),h||p||(h=!0,L(k))),r},e.unstable_shouldYield=R,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}}(De)),De):e.exports=Fe()}(Ie)),Ie.exports}
20
- /**
21
- * @license React
22
- * react-dom.production.min.js
23
- *
24
- * Copyright (c) Facebook, Inc. and its affiliates.
25
- *
26
- * This source code is licensed under the MIT license found in the
27
- * LICENSE file in the root directory of this source tree.
28
- */function je(){if(ze)return Le;ze=1;var e=Se.exports,t=Be();function n(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 r=new Set,o={};function a(e,t){i(e,t),i(e+"Capture",t)}function i(e,t){for(o[e]=t,e=0;e<t.length;e++)r.add(t[e])}var s=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),l=Object.prototype.hasOwnProperty,u=/^[: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]*$/,c={},d={};function f(e,t,n,r,o,a,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var p={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){p[e]=new f(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];p[t]=new f(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){p[e]=new f(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){p[e]=new f(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){p[e]=new f(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){p[e]=new f(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){p[e]=new f(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){p[e]=new f(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){p[e]=new f(e,5,!1,e.toLowerCase(),null,!1,!1)}));var h=/[\-:]([a-z])/g;function m(e){return e[1].toUpperCase()}function g(e,t,n,r){var o=p.hasOwnProperty(t)?p[t]:null;(null!==o?0!==o.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,o,r)&&(n=null),r||null===o?function(e){return!!l.call(d,e)||!l.call(c,e)&&(u.test(e)?d[e]=!0:(c[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!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(h,m);p[t]=new f(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(h,m);p[t]=new f(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(h,m);p[t]=new f(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){p[e]=new f(e,1,!1,e.toLowerCase(),null,!1,!1)})),p.xlinkHref=new f("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){p[e]=new f(e,1,!1,e.toLowerCase(),null,!0,!0)}));var v=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,y=Symbol.for("react.element"),b=Symbol.for("react.portal"),w=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),E=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),C=Symbol.for("react.suspense"),T=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),N=Symbol.for("react.lazy"),P=Symbol.for("react.offscreen"),O=Symbol.iterator;function L(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=O&&e[O]||e["@@iterator"])?e:null}var I,D=Object.assign;function M(e){if(void 0===I)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);I=t&&t[1]||""}return"\n"+I+e}var A=!1;function z(e,t){if(!e||A)return"";A=!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(t){if(t&&r&&"string"==typeof t.stack){for(var o=t.stack.split("\n"),a=r.stack.split("\n"),i=o.length-1,s=a.length-1;1<=i&&0<=s&&o[i]!==a[s];)s--;for(;1<=i&&0<=s;i--,s--)if(o[i]!==a[s]){if(1!==i||1!==s)do{if(i--,0>--s||o[i]!==a[s]){var l="\n"+o[i].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=i&&0<=s);break}}}finally{A=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?M(e):""}function U(e){switch(e.tag){case 5:return M(e.type);case 16:return M("Lazy");case 13:return M("Suspense");case 19:return M("SuspenseList");case 0:case 2:case 15:return e=z(e.type,!1);case 11:return e=z(e.type.render,!1);case 1:return e=z(e.type,!0);default:return""}}function F(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 w:return"Fragment";case b:return"Portal";case S:return"Profiler";case k:return"StrictMode";case C:return"Suspense";case T:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case E:return(e.displayName||"Context")+".Consumer";case _:return(e._context.displayName||"Context")+".Provider";case x:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case R:return null!==(t=e.displayName||null)?t:F(e.type)||"Memo";case N:t=e._payload,e=e._init;try{return F(e(t))}catch(e){}}return null}function B(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return F(t);case 8:return t===k?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function j(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function W(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function V(e){e._valueTracker||(e._valueTracker=function(e){var t=W(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 o=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,a.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 H(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=W(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function $(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 q(e,t){var n=t.checked;return D({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Q(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=j(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 Y(e,t){null!=(t=t.checked)&&g(e,"checked",t,!1)}function G(e,t){Y(e,t);var n=j(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")?X(e,t.type,n):t.hasOwnProperty("defaultValue")&&X(e,t.type,j(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function K(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&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 X(e,t,n){"number"===t&&$(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var J=Array.isArray;function Z(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+j(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function ee(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(n(91));return D({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function te(e,t){var r=t.value;if(null==r){if(r=t.children,t=t.defaultValue,null!=r){if(null!=t)throw Error(n(92));if(J(r)){if(1<r.length)throw Error(n(93));r=r[0]}t=r}null==t&&(t=""),r=t}e._wrapperState={initialValue:j(r)}}function ne(e,t){var n=j(t.value),r=j(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 re(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function oe(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 ae(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?oe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ie,se,le=(se=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ie=ie||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ie.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 se(e,t)}))}:se);function ue(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 ce={animationIterationCount:!0,aspectRatio:!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},de=["Webkit","ms","Moz","O"];function fe(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ce.hasOwnProperty(e)&&ce[e]?(""+t).trim():t+"px"}function pe(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=fe(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(ce).forEach((function(e){de.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ce[t]=ce[e]}))}));var he=D({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 me(e,t){if(t){if(he[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(n(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(n(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(n(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(n(62))}}function ge(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}}var ve=null;function ye(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var be=null,we=null,ke=null;function _e(e){if(e=ko(e)){if("function"!=typeof be)throw Error(n(280));var t=e.stateNode;t&&(t=_o(t),be(e.stateNode,e.type,t))}}function Ee(e){we?ke?ke.push(e):ke=[e]:we=e}function xe(){if(we){var e=we,t=ke;if(ke=we=null,_e(e),t)for(e=0;e<t.length;e++)_e(t[e])}}function Ce(e,t){return e(t)}function Te(){}var Re=!1;function Ne(e,t,n){if(Re)return e(t,n);Re=!0;try{return Ce(e,t,n)}finally{Re=!1,(null!==we||null!==ke)&&(Te(),xe())}}function Pe(e,t){var r=e.stateNode;if(null===r)return null;var o=_o(r);if(null===o)return null;r=o[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":(o=!o.disabled)||(o=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!o;break e;default:e=!1}if(e)return null;if(r&&"function"!=typeof r)throw Error(n(231,t,typeof r));return r}var Oe=!1;if(s)try{var Ie={};Object.defineProperty(Ie,"passive",{get:function(){Oe=!0}}),window.addEventListener("test",Ie,Ie),window.removeEventListener("test",Ie,Ie)}catch(se){Oe=!1}function De(e,t,n,r,o,a,i,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var Me=!1,Ae=null,Ue=!1,Fe=null,je={onError:function(e){Me=!0,Ae=e}};function We(e,t,n,r,o,a,i,s,l){Me=!1,Ae=null,De.apply(je,arguments)}function Ve(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function He(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 $e(e){if(Ve(e)!==e)throw Error(n(188))}function qe(e){return e=function(e){var t=e.alternate;if(!t){if(null===(t=Ve(e)))throw Error(n(188));return t!==e?null:e}for(var r=e,o=t;;){var a=r.return;if(null===a)break;var i=a.alternate;if(null===i){if(null!==(o=a.return)){r=o;continue}break}if(a.child===i.child){for(i=a.child;i;){if(i===r)return $e(a),e;if(i===o)return $e(a),t;i=i.sibling}throw Error(n(188))}if(r.return!==o.return)r=a,o=i;else{for(var s=!1,l=a.child;l;){if(l===r){s=!0,r=a,o=i;break}if(l===o){s=!0,o=a,r=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===r){s=!0,r=i,o=a;break}if(l===o){s=!0,o=i,r=a;break}l=l.sibling}if(!s)throw Error(n(189))}}if(r.alternate!==o)throw Error(n(190))}if(3!==r.tag)throw Error(n(188));return r.stateNode.current===r?e:t}(e),null!==e?Qe(e):null}function Qe(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Qe(e);if(null!==t)return t;e=e.sibling}return null}var Ye=t.unstable_scheduleCallback,Ge=t.unstable_cancelCallback,Ke=t.unstable_shouldYield,Xe=t.unstable_requestPaint,Je=t.unstable_now,Ze=t.unstable_getCurrentPriorityLevel,et=t.unstable_ImmediatePriority,tt=t.unstable_UserBlockingPriority,nt=t.unstable_NormalPriority,rt=t.unstable_LowPriority,ot=t.unstable_IdlePriority,at=null,it=null;var st=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(lt(e)/ut|0)|0},lt=Math.log,ut=Math.LN2;var ct=64,dt=4194304;function ft(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function pt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,a=e.pingedLanes,i=268435455&n;if(0!==i){var s=i&~o;0!==s?r=ft(s):0!==(a&=i)&&(r=ft(a))}else 0!==(i=n&~o)?r=ft(i):0!==a&&(r=ft(a));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&o)&&((o=r&-r)>=(a=t&-t)||16===o&&0!=(4194240&a)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-st(t)),r|=e[n],t&=~o;return r}function ht(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function mt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function gt(){var e=ct;return 0==(4194240&(ct<<=1))&&(ct=64),e}function vt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function yt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-st(t)]=n}function bt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-st(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var wt=0;function kt(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var St,_t,Et,xt,Ct,Tt=!1,Rt=[],Nt=null,Pt=null,Ot=null,Lt=new Map,It=new Map,Dt=[],Mt="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 At(e,t){switch(e){case"focusin":case"focusout":Nt=null;break;case"dragenter":case"dragleave":Pt=null;break;case"mouseover":case"mouseout":Ot=null;break;case"pointerover":case"pointerout":Lt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":It.delete(t.pointerId)}}function zt(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[o]},null!==t&&(null!==(t=ko(t))&&_t(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Ut(e){var t=wo(e.target);if(null!==t){var n=Ve(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=He(n)))return e.blockedOn=t,void Ct(e.priority,(function(){Et(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Ft(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Kt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ko(n))&&_t(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);ve=r,n.target.dispatchEvent(r),ve=null,t.shift()}return!0}function Bt(e,t,n){Ft(e)&&n.delete(t)}function jt(){Tt=!1,null!==Nt&&Ft(Nt)&&(Nt=null),null!==Pt&&Ft(Pt)&&(Pt=null),null!==Ot&&Ft(Ot)&&(Ot=null),Lt.forEach(Bt),It.forEach(Bt)}function Wt(e,n){e.blockedOn===n&&(e.blockedOn=null,Tt||(Tt=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,jt)))}function Vt(e){function t(t){return Wt(t,e)}if(0<Rt.length){Wt(Rt[0],e);for(var n=1;n<Rt.length;n++){var r=Rt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Nt&&Wt(Nt,e),null!==Pt&&Wt(Pt,e),null!==Ot&&Wt(Ot,e),Lt.forEach(t),It.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;)Ut(n),null===n.blockedOn&&Dt.shift()}var Ht=v.ReactCurrentBatchConfig,$t=!0;function qt(e,t,n,r){var o=wt,a=Ht.transition;Ht.transition=null;try{wt=1,Yt(e,t,n,r)}finally{wt=o,Ht.transition=a}}function Qt(e,t,n,r){var o=wt,a=Ht.transition;Ht.transition=null;try{wt=4,Yt(e,t,n,r)}finally{wt=o,Ht.transition=a}}function Yt(e,t,n,r){if($t){var o=Kt(e,t,n,r);if(null===o)$r(e,t,r,Gt,n),At(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Nt=zt(Nt,e,t,n,r,o),!0;case"dragenter":return Pt=zt(Pt,e,t,n,r,o),!0;case"mouseover":return Ot=zt(Ot,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return Lt.set(a,zt(Lt.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,It.set(a,zt(It.get(a)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(At(e,r),4&t&&-1<Mt.indexOf(e)){for(;null!==o;){var a=ko(o);if(null!==a&&St(a),null===(a=Kt(e,t,n,r))&&$r(e,t,r,Gt,n),a===o)break;o=a}null!==o&&r.stopPropagation()}else $r(e,t,r,null,n)}}var Gt=null;function Kt(e,t,n,r){if(Gt=null,null!==(e=wo(e=ye(r))))if(null===(t=Ve(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=He(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Gt=e,null}function Xt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Ze()){case et:return 1;case tt:return 4;case nt:case rt:return 16;case ot:return 536870912;default:return 16}default:return 16}}var Jt=null,Zt=null,en=null;function tn(){if(en)return en;var e,t,n=Zt,r=n.length,o="value"in Jt?Jt.value:Jt.textContent,a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);return en=o.slice(e,1<t?1-t:void 0)}function nn(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 rn(){return!0}function on(){return!1}function an(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?rn:on,this.isPropagationStopped=on,this}return D(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=rn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=rn)},persist:function(){},isPersistent:rn}),t}var sn,ln,un,cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},dn=an(cn),fn=D({},cn,{view:0,detail:0}),pn=an(fn),hn=D({},fn,{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!==un&&(un&&"mousemove"===e.type?(sn=e.screenX-un.screenX,ln=e.screenY-un.screenY):ln=sn=0,un=e),sn)},movementY:function(e){return"movementY"in e?e.movementY:ln}}),mn=an(hn),gn=an(D({},hn,{dataTransfer:0})),vn=an(D({},fn,{relatedTarget:0})),yn=an(D({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),bn=D({},cn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),wn=an(bn),kn=an(D({},cn,{data:0})),Sn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},_n={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"},En={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function xn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=En[e])&&!!t[e]}function Cn(){return xn}var Tn=D({},fn,{key:function(e){if(e.key){var t=Sn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=nn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?_n[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?nn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?nn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Rn=an(Tn),Nn=an(D({},hn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Pn=an(D({},fn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),On=an(D({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Ln=D({},hn,{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}),In=an(Ln),Dn=[9,13,27,32],Mn=s&&"CompositionEvent"in window,An=null;s&&"documentMode"in document&&(An=document.documentMode);var zn=s&&"TextEvent"in window&&!An,Un=s&&(!Mn||An&&8<An&&11>=An),Fn=String.fromCharCode(32),Bn=!1;function jn(e,t){switch(e){case"keyup":return-1!==Dn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Vn=!1;var Hn={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 $n(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Hn[e.type]:"textarea"===t}function qn(e,t,n,r){Ee(r),0<(t=Qr(t,"onChange")).length&&(n=new dn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Qn=null,Yn=null;function Gn(e){Fr(e,0)}function Kn(e){if(H(So(e)))return e}function Xn(e,t){if("change"===e)return t}var Jn=!1;if(s){var Zn;if(s){var er="oninput"in document;if(!er){var tr=document.createElement("div");tr.setAttribute("oninput","return;"),er="function"==typeof tr.oninput}Zn=er}else Zn=!1;Jn=Zn&&(!document.documentMode||9<document.documentMode)}function nr(){Qn&&(Qn.detachEvent("onpropertychange",rr),Yn=Qn=null)}function rr(e){if("value"===e.propertyName&&Kn(Yn)){var t=[];qn(t,Yn,e,ye(e)),Ne(Gn,t)}}function or(e,t,n){"focusin"===e?(nr(),Yn=n,(Qn=t).attachEvent("onpropertychange",rr)):"focusout"===e&&nr()}function ar(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Kn(Yn)}function ir(e,t){if("click"===e)return Kn(t)}function sr(e,t){if("input"===e||"change"===e)return Kn(t)}var lr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function ur(e,t){if(lr(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++){var o=n[r];if(!l.call(t,o)||!lr(e[o],t[o]))return!1}return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function dr(e,t){var n,r=cr(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=cr(r)}}function fr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?fr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function pr(){for(var e=window,t=$();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=$((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)}function mr(e){var t=pr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&fr(n.ownerDocument.documentElement,n)){if(null!==r&&hr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,a=Math.min(r.start,o);r=void 0===r.end?a:Math.min(r.end,o),!e.extend&&a>r&&(o=r,r=a,a=o),o=dr(n,a);var i=dr(n,r);o&&i&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var gr=s&&"documentMode"in document&&11>=document.documentMode,vr=null,yr=null,br=null,wr=!1;function kr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;wr||null==vr||vr!==$(r)||("selectionStart"in(r=vr)&&hr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},br&&ur(br,r)||(br=r,0<(r=Qr(yr,"onSelect")).length&&(t=new dn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=vr)))}function Sr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var _r={animationend:Sr("Animation","AnimationEnd"),animationiteration:Sr("Animation","AnimationIteration"),animationstart:Sr("Animation","AnimationStart"),transitionend:Sr("Transition","TransitionEnd")},Er={},xr={};function Cr(e){if(Er[e])return Er[e];if(!_r[e])return e;var t,n=_r[e];for(t in n)if(n.hasOwnProperty(t)&&t in xr)return Er[e]=n[t];return e}s&&(xr=document.createElement("div").style,"AnimationEvent"in window||(delete _r.animationend.animation,delete _r.animationiteration.animation,delete _r.animationstart.animation),"TransitionEvent"in window||delete _r.transitionend.transition);var Tr=Cr("animationend"),Rr=Cr("animationiteration"),Nr=Cr("animationstart"),Pr=Cr("transitionend"),Or=new Map,Lr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Ir(e,t){Or.set(e,t),a(t,[e])}for(var Dr=0;Dr<Lr.length;Dr++){var Mr=Lr[Dr];Ir(Mr.toLowerCase(),"on"+(Mr[0].toUpperCase()+Mr.slice(1)))}Ir(Tr,"onAnimationEnd"),Ir(Rr,"onAnimationIteration"),Ir(Nr,"onAnimationStart"),Ir("dblclick","onDoubleClick"),Ir("focusin","onFocus"),Ir("focusout","onBlur"),Ir(Pr,"onTransitionEnd"),i("onMouseEnter",["mouseout","mouseover"]),i("onMouseLeave",["mouseout","mouseover"]),i("onPointerEnter",["pointerout","pointerover"]),i("onPointerLeave",["pointerout","pointerover"]),a("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),a("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),a("onBeforeInput",["compositionend","keypress","textInput","paste"]),a("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ar="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),zr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ar));function Ur(e,t,r){var o=e.type||"unknown-event";e.currentTarget=r,function(e,t,r,o,a,i,s,l,u){if(We.apply(this,arguments),Me){if(!Me)throw Error(n(198));var c=Ae;Me=!1,Ae=null,Ue||(Ue=!0,Fe=c)}}(o,t,void 0,e),e.currentTarget=null}function Fr(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var s=r[i],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==a&&o.isPropagationStopped())break e;Ur(o,s,u),a=l}else for(i=0;i<r.length;i++){if(l=(s=r[i]).instance,u=s.currentTarget,s=s.listener,l!==a&&o.isPropagationStopped())break e;Ur(o,s,u),a=l}}}if(Ue)throw e=Fe,Ue=!1,Fe=null,e}function Br(e,t){var n=t[vo];void 0===n&&(n=t[vo]=new Set);var r=e+"__bubble";n.has(r)||(Hr(t,e,2,!1),n.add(r))}function jr(e,t,n){var r=0;t&&(r|=4),Hr(n,e,r,t)}var Wr="_reactListening"+Math.random().toString(36).slice(2);function Vr(e){if(!e[Wr]){e[Wr]=!0,r.forEach((function(t){"selectionchange"!==t&&(zr.has(t)||jr(t,!1,e),jr(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Wr]||(t[Wr]=!0,jr("selectionchange",!1,t))}}function Hr(e,t,n,r){switch(Xt(t)){case 1:var o=qt;break;case 4:o=Qt;break;default:o=Yt}n=o.bind(null,t,n,e),o=void 0,!Oe||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function $r(e,t,n,r,o){var a=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var s=r.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===i)for(i=r.return;null!==i;){var l=i.tag;if((3===l||4===l)&&((l=i.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;i=i.return}for(;null!==s;){if(null===(i=wo(s)))return;if(5===(l=i.tag)||6===l){r=a=i;continue e}s=s.parentNode}}r=r.return}Ne((function(){var r=a,o=ye(n),i=[];e:{var s=Or.get(e);if(void 0!==s){var l=dn,u=e;switch(e){case"keypress":if(0===nn(n))break e;case"keydown":case"keyup":l=Rn;break;case"focusin":u="focus",l=vn;break;case"focusout":u="blur",l=vn;break;case"beforeblur":case"afterblur":l=vn;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=Pn;break;case Tr:case Rr:case Nr:l=yn;break;case Pr:l=On;break;case"scroll":l=pn;break;case"wheel":l=In;break;case"copy":case"cut":case"paste":l=wn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Nn}var c=0!=(4&t),d=!c&&"scroll"===e,f=c?null!==s?s+"Capture":null:s;c=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==f&&(null!=(m=Pe(h,f))&&c.push(qr(h,m,p)))),d)break;h=h.return}0<c.length&&(s=new l(s,u,null,n,o),i.push({event:s,listeners:c}))}}if(0==(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===ve||!(u=n.relatedTarget||n.fromElement)||!wo(u)&&!u[go])&&(l||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(u=(u=n.relatedTarget||n.toElement)?wo(u):null)&&(u!==(d=Ve(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(l=null,u=r),l!==u)){if(c=mn,m="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Nn,m="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==l?s:So(l),p=null==u?s:So(u),(s=new c(m,h+"leave",l,n,o)).target=d,s.relatedTarget=p,m=null,wo(o)===r&&((c=new c(f,h+"enter",u,n,o)).target=p,c.relatedTarget=d,m=c),d=m,l&&u)e:{for(f=u,h=0,p=c=l;p;p=Yr(p))h++;for(p=0,m=f;m;m=Yr(m))p++;for(;0<h-p;)c=Yr(c),h--;for(;0<p-h;)f=Yr(f),p--;for(;h--;){if(c===f||null!==f&&c===f.alternate)break e;c=Yr(c),f=Yr(f)}c=null}else c=null;null!==l&&Gr(i,s,l,c,!1),null!==u&&null!==d&&Gr(i,d,u,c,!0)}if("select"===(l=(s=r?So(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var g=Xn;else if($n(s))if(Jn)g=sr;else{g=ar;var v=or}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(g=ir);switch(g&&(g=g(e,r))?qn(i,g,n,o):(v&&v(e,s,r),"focusout"===e&&(v=s._wrapperState)&&v.controlled&&"number"===s.type&&X(s,"number",s.value)),v=r?So(r):window,e){case"focusin":($n(v)||"true"===v.contentEditable)&&(vr=v,yr=r,br=null);break;case"focusout":br=yr=vr=null;break;case"mousedown":wr=!0;break;case"contextmenu":case"mouseup":case"dragend":wr=!1,kr(i,n,o);break;case"selectionchange":if(gr)break;case"keydown":case"keyup":kr(i,n,o)}var y;if(Mn)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 Vn?jn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Un&&"ko"!==n.locale&&(Vn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Vn&&(y=tn()):(Zt="value"in(Jt=o)?Jt.value:Jt.textContent,Vn=!0)),0<(v=Qr(r,b)).length&&(b=new kn(b,e,null,n,o),i.push({event:b,listeners:v}),y?b.data=y:null!==(y=Wn(n))&&(b.data=y))),(y=zn?function(e,t){switch(e){case"compositionend":return Wn(t);case"keypress":return 32!==t.which?null:(Bn=!0,Fn);case"textInput":return(e=t.data)===Fn&&Bn?null:e;default:return null}}(e,n):function(e,t){if(Vn)return"compositionend"===e||!Mn&&jn(e,t)?(e=tn(),en=Zt=Jt=null,Vn=!1,e):null;switch(e){case"paste":default: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 Un&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Qr(r,"onBeforeInput")).length&&(o=new kn("onBeforeInput","beforeinput",null,n,o),i.push({event:o,listeners:r}),o.data=y))}Fr(i,t)}))}function qr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Qr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,a=o.stateNode;5===o.tag&&null!==a&&(o=a,null!=(a=Pe(e,n))&&r.unshift(qr(e,a,o)),null!=(a=Pe(e,t))&&r.push(qr(e,a,o))),e=e.return}return r}function Yr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Gr(e,t,n,r,o){for(var a=t._reactName,i=[];null!==n&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==u&&(s=u,o?null!=(l=Pe(n,a))&&i.unshift(qr(n,l,s)):o||null!=(l=Pe(n,a))&&i.push(qr(n,l,s))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var Kr=/\r\n?/g,Xr=/\u0000|\uFFFD/g;function Jr(e){return("string"==typeof e?e:""+e).replace(Kr,"\n").replace(Xr,"")}function Zr(e,t,r){if(t=Jr(t),Jr(e)!==t&&r)throw Error(n(425))}function eo(){}var to=null,no=null;function ro(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var oo="function"==typeof setTimeout?setTimeout:void 0,ao="function"==typeof clearTimeout?clearTimeout:void 0,io="function"==typeof Promise?Promise:void 0,so="function"==typeof queueMicrotask?queueMicrotask:void 0!==io?function(e){return io.resolve(null).then(e).catch(lo)}:oo;function lo(e){setTimeout((function(){throw e}))}function uo(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void Vt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);Vt(t)}function co(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function fo(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 po=Math.random().toString(36).slice(2),ho="__reactFiber$"+po,mo="__reactProps$"+po,go="__reactContainer$"+po,vo="__reactEvents$"+po,yo="__reactListeners$"+po,bo="__reactHandles$"+po;function wo(e){var t=e[ho];if(t)return t;for(var n=e.parentNode;n;){if(t=n[go]||n[ho]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=fo(e);null!==e;){if(n=e[ho])return n;e=fo(e)}return t}n=(e=n).parentNode}return null}function ko(e){return!(e=e[ho]||e[go])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function So(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(n(33))}function _o(e){return e[mo]||null}var Eo=[],xo=-1;function Co(e){return{current:e}}function To(e){0>xo||(e.current=Eo[xo],Eo[xo]=null,xo--)}function Ro(e,t){xo++,Eo[xo]=e.current,e.current=t}var No={},Po=Co(No),Oo=Co(!1),Lo=No;function Io(e,t){var n=e.type.contextTypes;if(!n)return No;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in n)a[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Do(e){return null!=(e=e.childContextTypes)}function Mo(){To(Oo),To(Po)}function Ao(e,t,r){if(Po.current!==No)throw Error(n(168));Ro(Po,t),Ro(Oo,r)}function zo(e,t,r){var o=e.stateNode;if(t=t.childContextTypes,"function"!=typeof o.getChildContext)return r;for(var a in o=o.getChildContext())if(!(a in t))throw Error(n(108,B(e)||"Unknown",a));return D({},r,o)}function Uo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||No,Lo=Po.current,Ro(Po,e),Ro(Oo,Oo.current),!0}function Fo(e,t,r){var o=e.stateNode;if(!o)throw Error(n(169));r?(e=zo(e,t,Lo),o.__reactInternalMemoizedMergedChildContext=e,To(Oo),To(Po),Ro(Po,e)):To(Oo),Ro(Oo,r)}var Bo=null,jo=!1,Wo=!1;function Vo(e){null===Bo?Bo=[e]:Bo.push(e)}function Ho(){if(!Wo&&null!==Bo){Wo=!0;var e=0,t=wt;try{var n=Bo;for(wt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Bo=null,jo=!1}catch(t){throw null!==Bo&&(Bo=Bo.slice(e+1)),Ye(et,Ho),t}finally{wt=t,Wo=!1}}return null}var $o=[],qo=0,Qo=null,Yo=0,Go=[],Ko=0,Xo=null,Jo=1,Zo="";function ea(e,t){$o[qo++]=Yo,$o[qo++]=Qo,Qo=e,Yo=t}function ta(e,t,n){Go[Ko++]=Jo,Go[Ko++]=Zo,Go[Ko++]=Xo,Xo=e;var r=Jo;e=Zo;var o=32-st(r)-1;r&=~(1<<o),n+=1;var a=32-st(t)+o;if(30<a){var i=o-o%5;a=(r&(1<<i)-1).toString(32),r>>=i,o-=i,Jo=1<<32-st(t)+o|n<<o|r,Zo=a+e}else Jo=1<<a|n<<o|r,Zo=e}function na(e){null!==e.return&&(ea(e,1),ta(e,1,0))}function ra(e){for(;e===Qo;)Qo=$o[--qo],$o[qo]=null,Yo=$o[--qo],$o[qo]=null;for(;e===Xo;)Xo=Go[--Ko],Go[Ko]=null,Zo=Go[--Ko],Go[Ko]=null,Jo=Go[--Ko],Go[Ko]=null}var oa=null,aa=null,ia=!1,sa=null;function la(e,t){var n=Iu(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function ua(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,oa=e,aa=co(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,oa=e,aa=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Xo?{id:Jo,overflow:Zo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Iu(18,null,null,0)).stateNode=t,n.return=e,e.child=n,oa=e,aa=null,!0);default:return!1}}function ca(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function da(e){if(ia){var t=aa;if(t){var r=t;if(!ua(e,t)){if(ca(e))throw Error(n(418));t=co(r.nextSibling);var o=oa;t&&ua(e,t)?la(o,r):(e.flags=-4097&e.flags|2,ia=!1,oa=e)}}else{if(ca(e))throw Error(n(418));e.flags=-4097&e.flags|2,ia=!1,oa=e}}}function fa(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;oa=e}function pa(e){if(e!==oa)return!1;if(!ia)return fa(e),ia=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!ro(e.type,e.memoizedProps)),t&&(t=aa)){if(ca(e))throw ha(),Error(n(418));for(;t;)la(e,t),t=co(t.nextSibling)}if(fa(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(n(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var r=e.data;if("/$"===r){if(0===t){aa=co(e.nextSibling);break e}t--}else"$"!==r&&"$!"!==r&&"$?"!==r||t++}e=e.nextSibling}aa=null}}else aa=oa?co(e.stateNode.nextSibling):null;return!0}function ha(){for(var e=aa;e;)e=co(e.nextSibling)}function ma(){aa=oa=null,ia=!1}function ga(e){null===sa?sa=[e]:sa.push(e)}var va=v.ReactCurrentBatchConfig;function ya(e,t){if(e&&e.defaultProps){for(var n in t=D({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var ba=Co(null),wa=null,ka=null,Sa=null;function _a(){Sa=ka=wa=null}function Ea(e){var t=ba.current;To(ba),e._currentValue=t}function xa(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ca(e,t){wa=e,Sa=ka=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(ks=!0),e.firstContext=null)}function Ta(e){var t=e._currentValue;if(Sa!==e)if(e={context:e,memoizedValue:t,next:null},null===ka){if(null===wa)throw Error(n(308));ka=e,wa.dependencies={lanes:0,firstContext:e}}else ka=ka.next=e;return t}var Ra=null;function Na(e){null===Ra?Ra=[e]:Ra.push(e)}function Pa(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Na(t)):(n.next=o.next,o.next=n),t.interleaved=n,Oa(e,r)}function Oa(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}var La=!1;function Ia(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Da(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ma(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Aa(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&Pl)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Oa(e,n)}return null===(o=r.interleaved)?(t.next=t,Na(r)):(t.next=o.next,o.next=t),r.interleaved=t,Oa(e,n)}function za(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,bt(e,n)}}function Ua(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?o=a=i:a=a.next=i,n=n.next}while(null!==n);null===a?o=a=t:a=a.next=t}else o=a=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Fa(e,t,n,r){var o=e.updateQueue;La=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var l=s,u=l.next;l.next=null,null===i?a=u:i.next=u,i=l;var c=e.alternate;null!==c&&((s=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===s?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l))}if(null!==a){var d=o.baseState;for(i=0,c=u=l=null,s=a;;){var f=s.lane,p=s.eventTime;if((r&f)===f){null!==c&&(c=c.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var h=e,m=s;switch(f=t,p=n,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=m.payload)?h.call(p,d,f):h))break e;d=D({},d,f);break e;case 2:La=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(f=o.effects)?o.effects=[s]:f.push(s))}else p={eventTime:p,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(u=c=p,l=d):c=c.next=p,i|=f;if(null===(s=s.next)){if(null===(s=o.shared.pending))break;s=(f=s).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}if(null===c&&(l=d),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,null!==(t=o.shared.interleaved)){o=t;do{i|=o.lane,o=o.next}while(o!==t)}else null===a&&(o.shared.lanes=0);Ul|=i,e.lanes=i,e.memoizedState=d}}function Ba(e,t,r){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var o=e[t],a=o.callback;if(null!==a){if(o.callback=null,o=r,"function"!=typeof a)throw Error(n(191,a));a.call(o)}}}var ja=(new e.Component).refs;function Wa(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:D({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Va={isMounted:function(e){return!!(e=e._reactInternals)&&Ve(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=nu(),o=ru(e),a=Ma(r,o);a.payload=t,null!=n&&(a.callback=n),null!==(t=Aa(e,a,o))&&(ou(t,e,o,r),za(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=nu(),o=ru(e),a=Ma(r,o);a.tag=1,a.payload=t,null!=n&&(a.callback=n),null!==(t=Aa(e,a,o))&&(ou(t,e,o,r),za(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=nu(),r=ru(e),o=Ma(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=Aa(e,o,r))&&(ou(t,e,r,n),za(t,e,r))}};function Ha(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!t.prototype||!t.prototype.isPureReactComponent||(!ur(n,r)||!ur(o,a))}function $a(e,t,n){var r=!1,o=No,a=t.contextType;return"object"==typeof a&&null!==a?a=Ta(a):(o=Do(t)?Lo:Po.current,a=(r=null!=(r=t.contextTypes))?Io(e,o):No),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Va,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function qa(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&&Va.enqueueReplaceState(t,t.state,null)}function Qa(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=ja,Ia(e);var a=t.contextType;"object"==typeof a&&null!==a?o.context=Ta(a):(a=Do(t)?Lo:Po.current,o.context=Io(e,a)),o.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(Wa(e,t,a,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&Va.enqueueReplaceState(o,o.state,null),Fa(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function Ya(e,t,r){if(null!==(e=r.ref)&&"function"!=typeof e&&"object"!=typeof e){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(n(309));var o=r.stateNode}if(!o)throw Error(n(147,e));var a=o,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=a.refs;t===ja&&(t=a.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(n(284));if(!r._owner)throw Error(n(290,e))}return e}function Ga(e,t){throw e=Object.prototype.toString.call(t),Error(n(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ka(e){return(0,e._init)(e._payload)}function Xa(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function r(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function o(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=Mu(e,t)).index=0,e.sibling=null,e}function i(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):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Fu(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function u(e,t,n,r){var o=n.type;return o===w?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===N&&Ka(o)===t.type)?((r=a(t,n.props)).ref=Ya(e,t,n),r.return=e,r):((r=Au(n.type,n.key,n.props,null,e.mode,r)).ref=Ya(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Bu(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=zu(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Fu(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case y:return(n=Au(t.type,t.key,t.props,null,e.mode,n)).ref=Ya(e,null,t),n.return=e,n;case b:return(t=Bu(t,e.mode,n)).return=e,t;case N:return f(e,(0,t._init)(t._payload),n)}if(J(t)||L(t))return(t=zu(t,e.mode,n,null)).return=e,t;Ga(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case y:return n.key===o?u(e,t,n,r):null;case b:return n.key===o?c(e,t,n,r):null;case N:return p(e,t,(o=n._init)(n._payload),r)}if(J(n)||L(n))return null!==o?null:d(e,t,n,r,null);Ga(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case y:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case b:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case N:return h(e,t,n,(0,r._init)(r._payload),o)}if(J(r)||L(r))return d(t,e=e.get(n)||null,r,o,null);Ga(t,r)}return null}function m(n,a,s,l){for(var u=null,c=null,d=a,m=a=0,g=null;null!==d&&m<s.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var v=p(n,d,s[m],l);if(null===v){null===d&&(d=g);break}e&&d&&null===v.alternate&&t(n,d),a=i(v,a,m),null===c?u=v:c.sibling=v,c=v,d=g}if(m===s.length)return r(n,d),ia&&ea(n,m),u;if(null===d){for(;m<s.length;m++)null!==(d=f(n,s[m],l))&&(a=i(d,a,m),null===c?u=d:c.sibling=d,c=d);return ia&&ea(n,m),u}for(d=o(n,d);m<s.length;m++)null!==(g=h(d,n,m,s[m],l))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),a=i(g,a,m),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach((function(e){return t(n,e)})),ia&&ea(n,m),u}function g(a,s,l,u){var c=L(l);if("function"!=typeof c)throw Error(n(150));if(null==(l=c.call(l)))throw Error(n(151));for(var d=c=null,m=s,g=s=0,v=null,y=l.next();null!==m&&!y.done;g++,y=l.next()){m.index>g?(v=m,m=null):v=m.sibling;var b=p(a,m,y.value,u);if(null===b){null===m&&(m=v);break}e&&m&&null===b.alternate&&t(a,m),s=i(b,s,g),null===d?c=b:d.sibling=b,d=b,m=v}if(y.done)return r(a,m),ia&&ea(a,g),c;if(null===m){for(;!y.done;g++,y=l.next())null!==(y=f(a,y.value,u))&&(s=i(y,s,g),null===d?c=y:d.sibling=y,d=y);return ia&&ea(a,g),c}for(m=o(a,m);!y.done;g++,y=l.next())null!==(y=h(m,a,g,y.value,u))&&(e&&null!==y.alternate&&m.delete(null===y.key?g:y.key),s=i(y,s,g),null===d?c=y:d.sibling=y,d=y);return e&&m.forEach((function(e){return t(a,e)})),ia&&ea(a,g),c}return function e(n,o,i,l){if("object"==typeof i&&null!==i&&i.type===w&&null===i.key&&(i=i.props.children),"object"==typeof i&&null!==i){switch(i.$$typeof){case y:e:{for(var u=i.key,c=o;null!==c;){if(c.key===u){if((u=i.type)===w){if(7===c.tag){r(n,c.sibling),(o=a(c,i.props.children)).return=n,n=o;break e}}else if(c.elementType===u||"object"==typeof u&&null!==u&&u.$$typeof===N&&Ka(u)===c.type){r(n,c.sibling),(o=a(c,i.props)).ref=Ya(n,c,i),o.return=n,n=o;break e}r(n,c);break}t(n,c),c=c.sibling}i.type===w?((o=zu(i.props.children,n.mode,l,i.key)).return=n,n=o):((l=Au(i.type,i.key,i.props,null,n.mode,l)).ref=Ya(n,o,i),l.return=n,n=l)}return s(n);case b:e:{for(c=i.key;null!==o;){if(o.key===c){if(4===o.tag&&o.stateNode.containerInfo===i.containerInfo&&o.stateNode.implementation===i.implementation){r(n,o.sibling),(o=a(o,i.children||[])).return=n,n=o;break e}r(n,o);break}t(n,o),o=o.sibling}(o=Bu(i,n.mode,l)).return=n,n=o}return s(n);case N:return e(n,o,(c=i._init)(i._payload),l)}if(J(i))return m(n,o,i,l);if(L(i))return g(n,o,i,l);Ga(n,i)}return"string"==typeof i&&""!==i||"number"==typeof i?(i=""+i,null!==o&&6===o.tag?(r(n,o.sibling),(o=a(o,i)).return=n,n=o):(r(n,o),(o=Fu(i,n.mode,l)).return=n,n=o),s(n)):r(n,o)}}var Ja=Xa(!0),Za=Xa(!1),ei={},ti=Co(ei),ni=Co(ei),ri=Co(ei);function oi(e){if(e===ei)throw Error(n(174));return e}function ai(e,t){switch(Ro(ri,t),Ro(ni,e),Ro(ti,ei),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ae(null,"");break;default:t=ae(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}To(ti),Ro(ti,t)}function ii(){To(ti),To(ni),To(ri)}function si(e){oi(ri.current);var t=oi(ti.current),n=ae(t,e.type);t!==n&&(Ro(ni,e),Ro(ti,n))}function li(e){ni.current===e&&(To(ti),To(ni))}var ui=Co(0);function ci(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!=(128&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 di=[];function fi(){for(var e=0;e<di.length;e++)di[e]._workInProgressVersionPrimary=null;di.length=0}var pi=v.ReactCurrentDispatcher,hi=v.ReactCurrentBatchConfig,mi=0,gi=null,vi=null,yi=null,bi=!1,wi=!1,ki=0,Si=0;function _i(){throw Error(n(321))}function Ei(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!lr(e[n],t[n]))return!1;return!0}function xi(e,t,r,o,a,i){if(mi=i,gi=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,pi.current=null===e||null===e.memoizedState?ls:us,e=r(o,a),wi){i=0;do{if(wi=!1,ki=0,25<=i)throw Error(n(301));i+=1,yi=vi=null,t.updateQueue=null,pi.current=cs,e=r(o,a)}while(wi)}if(pi.current=ss,t=null!==vi&&null!==vi.next,mi=0,yi=vi=gi=null,bi=!1,t)throw Error(n(300));return e}function Ci(){var e=0!==ki;return ki=0,e}function Ti(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===yi?gi.memoizedState=yi=e:yi=yi.next=e,yi}function Ri(){if(null===vi){var e=gi.alternate;e=null!==e?e.memoizedState:null}else e=vi.next;var t=null===yi?gi.memoizedState:yi.next;if(null!==t)yi=t,vi=e;else{if(null===e)throw Error(n(310));e={memoizedState:(vi=e).memoizedState,baseState:vi.baseState,baseQueue:vi.baseQueue,queue:vi.queue,next:null},null===yi?gi.memoizedState=yi=e:yi=yi.next=e}return yi}function Ni(e,t){return"function"==typeof t?t(e):t}function Pi(e){var t=Ri(),r=t.queue;if(null===r)throw Error(n(311));r.lastRenderedReducer=e;var o=vi,a=o.baseQueue,i=r.pending;if(null!==i){if(null!==a){var s=a.next;a.next=i.next,i.next=s}o.baseQueue=a=i,r.pending=null}if(null!==a){i=a.next,o=o.baseState;var l=s=null,u=null,c=i;do{var d=c.lane;if((mi&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),o=c.hasEagerState?c.eagerState:e(o,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(l=u=f,s=o):u=u.next=f,gi.lanes|=d,Ul|=d}c=c.next}while(null!==c&&c!==i);null===u?s=o:u.next=l,lr(o,t.memoizedState)||(ks=!0),t.memoizedState=o,t.baseState=s,t.baseQueue=u,r.lastRenderedState=o}if(null!==(e=r.interleaved)){a=e;do{i=a.lane,gi.lanes|=i,Ul|=i,a=a.next}while(a!==e)}else null===a&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function Oi(e){var t=Ri(),r=t.queue;if(null===r)throw Error(n(311));r.lastRenderedReducer=e;var o=r.dispatch,a=r.pending,i=t.memoizedState;if(null!==a){r.pending=null;var s=a=a.next;do{i=e(i,s.action),s=s.next}while(s!==a);lr(i,t.memoizedState)||(ks=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),r.lastRenderedState=i}return[i,o]}function Li(){}function Ii(e,t){var r=gi,o=Ri(),a=t(),i=!lr(o.memoizedState,a);if(i&&(o.memoizedState=a,ks=!0),o=o.queue,$i(Ai.bind(null,r,o,e),[e]),o.getSnapshot!==t||i||null!==yi&&1&yi.memoizedState.tag){if(r.flags|=2048,Bi(9,Mi.bind(null,r,o,a,t),void 0,null),null===Ol)throw Error(n(349));0!=(30&mi)||Di(r,t,a)}return a}function Di(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=gi.updateQueue)?(t={lastEffect:null,stores:null},gi.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Mi(e,t,n,r){t.value=n,t.getSnapshot=r,zi(t)&&Ui(e)}function Ai(e,t,n){return n((function(){zi(t)&&Ui(e)}))}function zi(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!lr(e,n)}catch(e){return!0}}function Ui(e){var t=Oa(e,1);null!==t&&ou(t,e,1,-1)}function Fi(e){var t=Ti();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ni,lastRenderedState:e},t.queue=e,e=e.dispatch=rs.bind(null,gi,e),[t.memoizedState,e]}function Bi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=gi.updateQueue)?(t={lastEffect:null,stores:null},gi.updateQueue=t,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 ji(){return Ri().memoizedState}function Wi(e,t,n,r){var o=Ti();gi.flags|=e,o.memoizedState=Bi(1|t,n,void 0,void 0===r?null:r)}function Vi(e,t,n,r){var o=Ri();r=void 0===r?null:r;var a=void 0;if(null!==vi){var i=vi.memoizedState;if(a=i.destroy,null!==r&&Ei(r,i.deps))return void(o.memoizedState=Bi(t,n,a,r))}gi.flags|=e,o.memoizedState=Bi(1|t,n,a,r)}function Hi(e,t){return Wi(8390656,8,e,t)}function $i(e,t){return Vi(2048,8,e,t)}function qi(e,t){return Vi(4,2,e,t)}function Qi(e,t){return Vi(4,4,e,t)}function Yi(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 Gi(e,t,n){return n=null!=n?n.concat([e]):null,Vi(4,4,Yi.bind(null,t,e),n)}function Ki(){}function Xi(e,t){var n=Ri();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Ei(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ji(e,t){var n=Ri();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Ei(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Zi(e,t,n){return 0==(21&mi)?(e.baseState&&(e.baseState=!1,ks=!0),e.memoizedState=n):(lr(n,t)||(n=gt(),gi.lanes|=n,Ul|=n,e.baseState=!0),t)}function es(e,t){var n=wt;wt=0!==n&&4>n?n:4,e(!0);var r=hi.transition;hi.transition={};try{e(!1),t()}finally{wt=n,hi.transition=r}}function ts(){return Ri().memoizedState}function ns(e,t,n){var r=ru(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},os(e))as(t,n);else if(null!==(n=Pa(e,t,n,r))){ou(n,e,r,nu()),is(n,t,r)}}function rs(e,t,n){var r=ru(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(os(e))as(t,o);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var i=t.lastRenderedState,s=a(i,n);if(o.hasEagerState=!0,o.eagerState=s,lr(s,i)){var l=t.interleaved;return null===l?(o.next=o,Na(t)):(o.next=l.next,l.next=o),void(t.interleaved=o)}}catch(e){}null!==(n=Pa(e,t,o,r))&&(ou(n,e,r,o=nu()),is(n,t,r))}}function os(e){var t=e.alternate;return e===gi||null!==t&&t===gi}function as(e,t){wi=bi=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function is(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,bt(e,n)}}var ss={readContext:Ta,useCallback:_i,useContext:_i,useEffect:_i,useImperativeHandle:_i,useInsertionEffect:_i,useLayoutEffect:_i,useMemo:_i,useReducer:_i,useRef:_i,useState:_i,useDebugValue:_i,useDeferredValue:_i,useTransition:_i,useMutableSource:_i,useSyncExternalStore:_i,useId:_i,unstable_isNewReconciler:!1},ls={readContext:Ta,useCallback:function(e,t){return Ti().memoizedState=[e,void 0===t?null:t],e},useContext:Ta,useEffect:Hi,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Wi(4194308,4,Yi.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Wi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Wi(4,2,e,t)},useMemo:function(e,t){var n=Ti();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ti();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ns.bind(null,gi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ti().memoizedState=e},useState:Fi,useDebugValue:Ki,useDeferredValue:function(e){return Ti().memoizedState=e},useTransition:function(){var e=Fi(!1),t=e[0];return e=es.bind(null,e[1]),Ti().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var o=gi,a=Ti();if(ia){if(void 0===r)throw Error(n(407));r=r()}else{if(r=t(),null===Ol)throw Error(n(349));0!=(30&mi)||Di(o,t,r)}a.memoizedState=r;var i={value:r,getSnapshot:t};return a.queue=i,Hi(Ai.bind(null,o,i,e),[e]),o.flags|=2048,Bi(9,Mi.bind(null,o,i,r,t),void 0,null),r},useId:function(){var e=Ti(),t=Ol.identifierPrefix;if(ia){var n=Zo;t=":"+t+"R"+(n=(Jo&~(1<<32-st(Jo)-1)).toString(32)+n),0<(n=ki++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=Si++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},us={readContext:Ta,useCallback:Xi,useContext:Ta,useEffect:$i,useImperativeHandle:Gi,useInsertionEffect:qi,useLayoutEffect:Qi,useMemo:Ji,useReducer:Pi,useRef:ji,useState:function(){return Pi(Ni)},useDebugValue:Ki,useDeferredValue:function(e){return Zi(Ri(),vi.memoizedState,e)},useTransition:function(){return[Pi(Ni)[0],Ri().memoizedState]},useMutableSource:Li,useSyncExternalStore:Ii,useId:ts,unstable_isNewReconciler:!1},cs={readContext:Ta,useCallback:Xi,useContext:Ta,useEffect:$i,useImperativeHandle:Gi,useInsertionEffect:qi,useLayoutEffect:Qi,useMemo:Ji,useReducer:Oi,useRef:ji,useState:function(){return Oi(Ni)},useDebugValue:Ki,useDeferredValue:function(e){var t=Ri();return null===vi?t.memoizedState=e:Zi(t,vi.memoizedState,e)},useTransition:function(){return[Oi(Ni)[0],Ri().memoizedState]},useMutableSource:Li,useSyncExternalStore:Ii,useId:ts,unstable_isNewReconciler:!1};function ds(e,t){try{var n="",r=t;do{n+=U(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function fs(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function ps(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var hs="function"==typeof WeakMap?WeakMap:Map;function ms(e,t,n){(n=Ma(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ql||(ql=!0,Ql=r),ps(0,t)},n}function gs(e,t,n){(n=Ma(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){ps(0,t)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){ps(0,t),"function"!=typeof r&&(null===Yl?Yl=new Set([this]):Yl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function vs(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new hs;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Tu.bind(null,e,t,n),t.then(e,e))}function ys(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function bs(e,t,n,r,o){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Ma(-1,1)).tag=2,Aa(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var ws=v.ReactCurrentOwner,ks=!1;function Ss(e,t,n,r){t.child=null===e?Za(t,null,n,r):Ja(t,e.child,n,r)}function _s(e,t,n,r,o){n=n.render;var a=t.ref;return Ca(t,o),r=xi(e,t,n,r,a,o),n=Ci(),null===e||ks?(ia&&n&&na(t),t.flags|=1,Ss(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,qs(e,t,o))}function Es(e,t,n,r,o){if(null===e){var a=n.type;return"function"!=typeof a||Du(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Au(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,xs(e,t,a,r,o))}if(a=e.child,0==(e.lanes&o)){var i=a.memoizedProps;if((n=null!==(n=n.compare)?n:ur)(i,r)&&e.ref===t.ref)return qs(e,t,o)}return t.flags|=1,(e=Mu(a,r)).ref=t.ref,e.return=t,t.child=e}function xs(e,t,n,r,o){if(null!==e){var a=e.memoizedProps;if(ur(a,r)&&e.ref===t.ref){if(ks=!1,t.pendingProps=r=a,0==(e.lanes&o))return t.lanes=e.lanes,qs(e,t,o);0!=(131072&e.flags)&&(ks=!0)}}return Rs(e,t,n,r,o)}function Cs(e,t,n){var r=t.pendingProps,o=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ro(Ml,Dl),Dl|=n;else{if(0==(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ro(Ml,Dl),Dl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:n,Ro(Ml,Dl),Dl|=r}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,Ro(Ml,Dl),Dl|=r;return Ss(e,t,o,n),t.child}function Ts(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Rs(e,t,n,r,o){var a=Do(n)?Lo:Po.current;return a=Io(t,a),Ca(t,o),n=xi(e,t,n,r,a,o),r=Ci(),null===e||ks?(ia&&r&&na(t),t.flags|=1,Ss(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,qs(e,t,o))}function Ns(e,t,n,r,o){if(Do(n)){var a=!0;Uo(t)}else a=!1;if(Ca(t,o),null===t.stateNode)$s(e,t),$a(t,n,r),Qa(t,n,r,o),r=!0;else if(null===e){var i=t.stateNode,s=t.memoizedProps;i.props=s;var l=i.context,u=n.contextType;"object"==typeof u&&null!==u?u=Ta(u):u=Io(t,u=Do(n)?Lo:Po.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==r||l!==u)&&qa(t,i,r,u),La=!1;var f=t.memoizedState;i.state=f,Fa(t,r,i,o),l=t.memoizedState,s!==r||f!==l||Oo.current||La?("function"==typeof c&&(Wa(t,n,c,r),l=t.memoizedState),(s=La||Ha(t,n,s,r,f,l,u))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),i.props=r,i.state=l,i.context=u,r=s):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Da(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:ya(t.type,s),i.props=u,d=t.pendingProps,f=i.context,"object"==typeof(l=n.contextType)&&null!==l?l=Ta(l):l=Io(t,l=Do(n)?Lo:Po.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==d||f!==l)&&qa(t,i,r,l),La=!1,f=t.memoizedState,i.state=f,Fa(t,r,i,o);var h=t.memoizedState;s!==d||f!==h||Oo.current||La?("function"==typeof p&&(Wa(t,n,p,r),h=t.memoizedState),(u=La||Ha(t,n,u,r,f,h,l)||!1)?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,h,l),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,h,l)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),i.props=r,i.state=h,i.context=l,r=u):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Ps(e,t,n,r,a,o)}function Ps(e,t,n,r,o,a){Ts(e,t);var i=0!=(128&t.flags);if(!r&&!i)return o&&Fo(t,n,!1),qs(e,t,a);r=t.stateNode,ws.current=t;var s=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Ja(t,e.child,null,a),t.child=Ja(t,null,s,a)):Ss(e,t,s,a),t.memoizedState=r.state,o&&Fo(t,n,!0),t.child}function Os(e){var t=e.stateNode;t.pendingContext?Ao(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ao(0,t.context,!1),ai(e,t.containerInfo)}function Ls(e,t,n,r,o){return ma(),ga(o),t.flags|=256,Ss(e,t,n,r),t.child}var Is,Ds,Ms,As,zs={dehydrated:null,treeContext:null,retryLane:0};function Us(e){return{baseLanes:e,cachePool:null,transitions:null}}function Fs(e,t,r){var o,a=t.pendingProps,i=ui.current,s=!1,l=0!=(128&t.flags);if((o=l)||(o=(null===e||null!==e.memoizedState)&&0!=(2&i)),o?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),Ro(ui,1&i),null===e)return da(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(l=a.children,e=a.fallback,s?(a=t.mode,s=t.child,l={mode:"hidden",children:l},0==(1&a)&&null!==s?(s.childLanes=0,s.pendingProps=l):s=Uu(l,a,0,null),e=zu(e,a,r,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Us(r),t.memoizedState=zs,e):Bs(t,l));if(null!==(i=e.memoizedState)&&null!==(o=i.dehydrated))return function(e,t,r,o,a,i,s){if(r)return 256&t.flags?(t.flags&=-257,js(e,t,s,o=fs(Error(n(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=o.fallback,a=t.mode,o=Uu({mode:"visible",children:o.children},a,0,null),(i=zu(i,a,s,null)).flags|=2,o.return=t,i.return=t,o.sibling=i,t.child=o,0!=(1&t.mode)&&Ja(t,e.child,null,s),t.child.memoizedState=Us(s),t.memoizedState=zs,i);if(0==(1&t.mode))return js(e,t,s,null);if("$!"===a.data){if(o=a.nextSibling&&a.nextSibling.dataset)var l=o.dgst;return o=l,js(e,t,s,o=fs(i=Error(n(419)),o,void 0))}if(l=0!=(s&e.childLanes),ks||l){if(null!==(o=Ol)){switch(s&-s){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}0!==(a=0!=(a&(o.suspendedLanes|s))?0:a)&&a!==i.retryLane&&(i.retryLane=a,Oa(e,a),ou(o,e,a,-1))}return vu(),js(e,t,s,o=fs(Error(n(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=Nu.bind(null,e),a._reactRetry=t,null):(e=i.treeContext,aa=co(a.nextSibling),oa=t,ia=!0,sa=null,null!==e&&(Go[Ko++]=Jo,Go[Ko++]=Zo,Go[Ko++]=Xo,Jo=e.id,Zo=e.overflow,Xo=t),t=Bs(t,o.children),t.flags|=4096,t)}(e,t,l,a,o,i,r);if(s){s=a.fallback,l=t.mode,o=(i=e.child).sibling;var u={mode:"hidden",children:a.children};return 0==(1&l)&&t.child!==i?((a=t.child).childLanes=0,a.pendingProps=u,t.deletions=null):(a=Mu(i,u)).subtreeFlags=14680064&i.subtreeFlags,null!==o?s=Mu(o,s):(s=zu(s,l,r,null)).flags|=2,s.return=t,a.return=t,a.sibling=s,t.child=a,a=s,s=t.child,l=null===(l=e.child.memoizedState)?Us(r):{baseLanes:l.baseLanes|r,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~r,t.memoizedState=zs,a}return e=(s=e.child).sibling,a=Mu(s,{mode:"visible",children:a.children}),0==(1&t.mode)&&(a.lanes=r),a.return=t,a.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=a,t.memoizedState=null,a}function Bs(e,t){return(t=Uu({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function js(e,t,n,r){return null!==r&&ga(r),Ja(t,e.child,null,n),(e=Bs(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Ws(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),xa(e.return,t,n)}function Vs(e,t,n,r,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o)}function Hs(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(Ss(e,t,r.children,n),0!=(2&(r=ui.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ws(e,n,t);else if(19===e.tag)Ws(e,n,t);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(Ro(ui,r),0==(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ci(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Vs(t,!1,o,n,a);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ci(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Vs(t,!0,n,null,a);break;case"together":Vs(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function $s(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function qs(e,t,r){if(null!==e&&(t.dependencies=e.dependencies),Ul|=t.lanes,0==(r&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(n(153));if(null!==t.child){for(r=Mu(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=Mu(e,e.pendingProps)).return=t;r.sibling=null}return t.child}function Qs(e,t){if(!ia)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 Ys(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Gs(e,t,r){var a=t.pendingProps;switch(ra(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ys(t),null;case 1:case 17:return Do(t.type)&&Mo(),Ys(t),null;case 3:return a=t.stateNode,ii(),To(Oo),To(Po),fi(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),null!==e&&null!==e.child||(pa(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==sa&&(lu(sa),sa=null))),Ds(e,t),Ys(t),null;case 5:li(t);var i=oi(ri.current);if(r=t.type,null!==e&&null!=t.stateNode)Ms(e,t,r,a,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!a){if(null===t.stateNode)throw Error(n(166));return Ys(t),null}if(e=oi(ti.current),pa(t)){a=t.stateNode,r=t.type;var s=t.memoizedProps;switch(a[ho]=t,a[mo]=s,e=0!=(1&t.mode),r){case"dialog":Br("cancel",a),Br("close",a);break;case"iframe":case"object":case"embed":Br("load",a);break;case"video":case"audio":for(i=0;i<Ar.length;i++)Br(Ar[i],a);break;case"source":Br("error",a);break;case"img":case"image":case"link":Br("error",a),Br("load",a);break;case"details":Br("toggle",a);break;case"input":Q(a,s),Br("invalid",a);break;case"select":a._wrapperState={wasMultiple:!!s.multiple},Br("invalid",a);break;case"textarea":te(a,s),Br("invalid",a)}for(var l in me(r,s),i=null,s)if(s.hasOwnProperty(l)){var u=s[l];"children"===l?"string"==typeof u?a.textContent!==u&&(!0!==s.suppressHydrationWarning&&Zr(a.textContent,u,e),i=["children",u]):"number"==typeof u&&a.textContent!==""+u&&(!0!==s.suppressHydrationWarning&&Zr(a.textContent,u,e),i=["children",""+u]):o.hasOwnProperty(l)&&null!=u&&"onScroll"===l&&Br("scroll",a)}switch(r){case"input":V(a),K(a,s,!0);break;case"textarea":V(a),re(a);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(a.onclick=eo)}a=i,t.updateQueue=a,null!==a&&(t.flags|=4)}else{l=9===i.nodeType?i:i.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=oe(r)),"http://www.w3.org/1999/xhtml"===e?"script"===r?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof a.is?e=l.createElement(r,{is:a.is}):(e=l.createElement(r),"select"===r&&(l=e,a.multiple?l.multiple=!0:a.size&&(l.size=a.size))):e=l.createElementNS(e,r),e[ho]=t,e[mo]=a,Is(e,t,!1,!1),t.stateNode=e;e:{switch(l=ge(r,a),r){case"dialog":Br("cancel",e),Br("close",e),i=a;break;case"iframe":case"object":case"embed":Br("load",e),i=a;break;case"video":case"audio":for(i=0;i<Ar.length;i++)Br(Ar[i],e);i=a;break;case"source":Br("error",e),i=a;break;case"img":case"image":case"link":Br("error",e),Br("load",e),i=a;break;case"details":Br("toggle",e),i=a;break;case"input":Q(e,a),i=q(e,a),Br("invalid",e);break;case"option":default:i=a;break;case"select":e._wrapperState={wasMultiple:!!a.multiple},i=D({},a,{value:void 0}),Br("invalid",e);break;case"textarea":te(e,a),i=ee(e,a),Br("invalid",e)}for(s in me(r,i),u=i)if(u.hasOwnProperty(s)){var c=u[s];"style"===s?pe(e,c):"dangerouslySetInnerHTML"===s?null!=(c=c?c.__html:void 0)&&le(e,c):"children"===s?"string"==typeof c?("textarea"!==r||""!==c)&&ue(e,c):"number"==typeof c&&ue(e,""+c):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(o.hasOwnProperty(s)?null!=c&&"onScroll"===s&&Br("scroll",e):null!=c&&g(e,s,c,l))}switch(r){case"input":V(e),K(e,a,!1);break;case"textarea":V(e),re(e);break;case"option":null!=a.value&&e.setAttribute("value",""+j(a.value));break;case"select":e.multiple=!!a.multiple,null!=(s=a.value)?Z(e,!!a.multiple,s,!1):null!=a.defaultValue&&Z(e,!!a.multiple,a.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=eo)}switch(r){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}}a&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Ys(t),null;case 6:if(e&&null!=t.stateNode)As(e,t,e.memoizedProps,a);else{if("string"!=typeof a&&null===t.stateNode)throw Error(n(166));if(r=oi(ri.current),oi(ti.current),pa(t)){if(a=t.stateNode,r=t.memoizedProps,a[ho]=t,(s=a.nodeValue!==r)&&null!==(e=oa))switch(e.tag){case 3:Zr(a.nodeValue,r,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Zr(a.nodeValue,r,0!=(1&e.mode))}s&&(t.flags|=4)}else(a=(9===r.nodeType?r:r.ownerDocument).createTextNode(a))[ho]=t,t.stateNode=a}return Ys(t),null;case 13:if(To(ui),a=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ia&&null!==aa&&0!=(1&t.mode)&&0==(128&t.flags))ha(),ma(),t.flags|=98560,s=!1;else if(s=pa(t),null!==a&&null!==a.dehydrated){if(null===e){if(!s)throw Error(n(318));if(!(s=null!==(s=t.memoizedState)?s.dehydrated:null))throw Error(n(317));s[ho]=t}else ma(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Ys(t),s=!1}else null!==sa&&(lu(sa),sa=null),s=!0;if(!s)return 65536&t.flags?t:null}return 0!=(128&t.flags)?(t.lanes=r,t):((a=null!==a)!==(null!==e&&null!==e.memoizedState)&&a&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&ui.current)?0===Al&&(Al=3):vu())),null!==t.updateQueue&&(t.flags|=4),Ys(t),null);case 4:return ii(),Ds(e,t),null===e&&Vr(t.stateNode.containerInfo),Ys(t),null;case 10:return Ea(t.type._context),Ys(t),null;case 19:if(To(ui),null===(s=t.memoizedState))return Ys(t),null;if(a=0!=(128&t.flags),null===(l=s.rendering))if(a)Qs(s,!1);else{if(0!==Al||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(l=ci(e))){for(t.flags|=128,Qs(s,!1),null!==(a=l.updateQueue)&&(t.updateQueue=a,t.flags|=4),t.subtreeFlags=0,a=r,r=t.child;null!==r;)e=a,(s=r).flags&=14680066,null===(l=s.alternate)?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=l.childLanes,s.lanes=l.lanes,s.child=l.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=l.memoizedProps,s.memoizedState=l.memoizedState,s.updateQueue=l.updateQueue,s.type=l.type,e=l.dependencies,s.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return Ro(ui,1&ui.current|2),t.child}e=e.sibling}null!==s.tail&&Je()>Hl&&(t.flags|=128,a=!0,Qs(s,!1),t.lanes=4194304)}else{if(!a)if(null!==(e=ci(l))){if(t.flags|=128,a=!0,null!==(r=e.updateQueue)&&(t.updateQueue=r,t.flags|=4),Qs(s,!0),null===s.tail&&"hidden"===s.tailMode&&!l.alternate&&!ia)return Ys(t),null}else 2*Je()-s.renderingStartTime>Hl&&1073741824!==r&&(t.flags|=128,a=!0,Qs(s,!1),t.lanes=4194304);s.isBackwards?(l.sibling=t.child,t.child=l):(null!==(r=s.last)?r.sibling=l:t.child=l,s.last=l)}return null!==s.tail?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=Je(),t.sibling=null,r=ui.current,Ro(ui,a?1&r|2:1&r),t):(Ys(t),null);case 22:case 23:return pu(),a=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==a&&(t.flags|=8192),a&&0!=(1&t.mode)?0!=(1073741824&Dl)&&(Ys(t),6&t.subtreeFlags&&(t.flags|=8192)):Ys(t),null;case 24:case 25:return null}throw Error(n(156,t.tag))}function Ks(e,t){switch(ra(t),t.tag){case 1:return Do(t.type)&&Mo(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ii(),To(Oo),To(Po),fi(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return li(t),null;case 13:if(To(ui),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(n(340));ma()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return To(ui),null;case 4:return ii(),null;case 10:return Ea(t.type._context),null;case 22:case 23:return pu(),null;default:return null}}Is=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}},Ds=function(){},Ms=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,oi(ti.current);var i,s=null;switch(n){case"input":a=q(e,a),r=q(e,r),s=[];break;case"select":a=D({},a,{value:void 0}),r=D({},r,{value:void 0}),s=[];break;case"textarea":a=ee(e,a),r=ee(e,r),s=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(e.onclick=eo)}for(c in me(n,r),n=null,a)if(!r.hasOwnProperty(c)&&a.hasOwnProperty(c)&&null!=a[c])if("style"===c){var l=a[c];for(i in l)l.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(o.hasOwnProperty(c)?s||(s=[]):(s=s||[]).push(c,null));for(c in r){var u=r[c];if(l=null!=a?a[c]:void 0,r.hasOwnProperty(c)&&u!==l&&(null!=u||null!=l))if("style"===c)if(l){for(i in l)!l.hasOwnProperty(i)||u&&u.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in u)u.hasOwnProperty(i)&&l[i]!==u[i]&&(n||(n={}),n[i]=u[i])}else n||(s||(s=[]),s.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,l=l?l.__html:void 0,null!=u&&l!==u&&(s=s||[]).push(c,u)):"children"===c?"string"!=typeof u&&"number"!=typeof u||(s=s||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(o.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&Br("scroll",e),s||l===u||(s=[])):(s=s||[]).push(c,u))}n&&(s=s||[]).push("style",n);var c=s;(t.updateQueue=c)&&(t.flags|=4)}},As=function(e,t,n,r){n!==r&&(t.flags|=4)};var Xs=!1,Js=!1,Zs="function"==typeof WeakSet?WeakSet:Set,el=null;function tl(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Cu(e,t,n)}else n.current=null}function nl(e,t,n){try{n()}catch(n){Cu(e,t,n)}}var rl=!1;function ol(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var a=o.destroy;o.destroy=void 0,void 0!==a&&nl(t,n,a)}o=o.next}while(o!==r)}}function al(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function il(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function sl(e){var t=e.alternate;null!==t&&(e.alternate=null,sl(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[ho],delete t[mo],delete t[vo],delete t[yo],delete t[bo])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ll(e){return 5===e.tag||3===e.tag||4===e.tag}function ul(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ll(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function cl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,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=eo));else if(4!==r&&null!==(e=e.child))for(cl(e,t,n),e=e.sibling;null!==e;)cl(e,t,n),e=e.sibling}function dl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(dl(e,t,n),e=e.sibling;null!==e;)dl(e,t,n),e=e.sibling}var fl=null,pl=!1;function hl(e,t,n){for(n=n.child;null!==n;)ml(e,t,n),n=n.sibling}function ml(e,t,n){if(it&&"function"==typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(at,n)}catch(e){}switch(n.tag){case 5:Js||tl(n,t);case 6:var r=fl,o=pl;fl=null,hl(e,t,n),pl=o,null!==(fl=r)&&(pl?(e=fl,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):fl.removeChild(n.stateNode));break;case 18:null!==fl&&(pl?(e=fl,n=n.stateNode,8===e.nodeType?uo(e.parentNode,n):1===e.nodeType&&uo(e,n),Vt(e)):uo(fl,n.stateNode));break;case 4:r=fl,o=pl,fl=n.stateNode.containerInfo,pl=!0,hl(e,t,n),fl=r,pl=o;break;case 0:case 11:case 14:case 15:if(!Js&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var a=o,i=a.destroy;a=a.tag,void 0!==i&&(0!=(2&a)||0!=(4&a))&&nl(n,t,i),o=o.next}while(o!==r)}hl(e,t,n);break;case 1:if(!Js&&(tl(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Cu(n,t,e)}hl(e,t,n);break;case 21:hl(e,t,n);break;case 22:1&n.mode?(Js=(r=Js)||null!==n.memoizedState,hl(e,t,n),Js=r):hl(e,t,n);break;default:hl(e,t,n)}}function gl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Zs),t.forEach((function(t){var r=Pu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function vl(e,t){var r=t.deletions;if(null!==r)for(var o=0;o<r.length;o++){var a=r[o];try{var i=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:fl=l.stateNode,pl=!1;break e;case 3:case 4:fl=l.stateNode.containerInfo,pl=!0;break e}l=l.return}if(null===fl)throw Error(n(160));ml(i,s,a),fl=null,pl=!1;var u=a.alternate;null!==u&&(u.return=null),a.return=null}catch(e){Cu(a,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)yl(t,e),t=t.sibling}function yl(e,t){var r=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(vl(t,e),bl(e),4&o){try{ol(3,e,e.return),al(3,e)}catch(t){Cu(e,e.return,t)}try{ol(5,e,e.return)}catch(t){Cu(e,e.return,t)}}break;case 1:vl(t,e),bl(e),512&o&&null!==r&&tl(r,r.return);break;case 5:if(vl(t,e),bl(e),512&o&&null!==r&&tl(r,r.return),32&e.flags){var a=e.stateNode;try{ue(a,"")}catch(t){Cu(e,e.return,t)}}if(4&o&&null!=(a=e.stateNode)){var i=e.memoizedProps,s=null!==r?r.memoizedProps:i,l=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===l&&"radio"===i.type&&null!=i.name&&Y(a,i),ge(l,s);var c=ge(l,i);for(s=0;s<u.length;s+=2){var d=u[s],f=u[s+1];"style"===d?pe(a,f):"dangerouslySetInnerHTML"===d?le(a,f):"children"===d?ue(a,f):g(a,d,f,c)}switch(l){case"input":G(a,i);break;case"textarea":ne(a,i);break;case"select":var p=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!i.multiple;var h=i.value;null!=h?Z(a,!!i.multiple,h,!1):p!==!!i.multiple&&(null!=i.defaultValue?Z(a,!!i.multiple,i.defaultValue,!0):Z(a,!!i.multiple,i.multiple?[]:"",!1))}a[mo]=i}catch(t){Cu(e,e.return,t)}}break;case 6:if(vl(t,e),bl(e),4&o){if(null===e.stateNode)throw Error(n(162));a=e.stateNode,i=e.memoizedProps;try{a.nodeValue=i}catch(t){Cu(e,e.return,t)}}break;case 3:if(vl(t,e),bl(e),4&o&&null!==r&&r.memoizedState.isDehydrated)try{Vt(t.containerInfo)}catch(t){Cu(e,e.return,t)}break;case 4:default:vl(t,e),bl(e);break;case 13:vl(t,e),bl(e),8192&(a=e.child).flags&&(i=null!==a.memoizedState,a.stateNode.isHidden=i,!i||null!==a.alternate&&null!==a.alternate.memoizedState||(Vl=Je())),4&o&&gl(e);break;case 22:if(d=null!==r&&null!==r.memoizedState,1&e.mode?(Js=(c=Js)||d,vl(t,e),Js=c):vl(t,e),bl(e),8192&o){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&0!=(1&e.mode))for(el=e,d=e.child;null!==d;){for(f=el=d;null!==el;){switch(h=(p=el).child,p.tag){case 0:case 11:case 14:case 15:ol(4,p,p.return);break;case 1:tl(p,p.return);var m=p.stateNode;if("function"==typeof m.componentWillUnmount){o=p,r=p.return;try{t=o,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){Cu(o,r,e)}}break;case 5:tl(p,p.return);break;case 22:if(null!==p.memoizedState){_l(f);continue}}null!==h?(h.return=p,el=h):_l(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{a=f.stateNode,c?"function"==typeof(i=a.style).setProperty?i.setProperty("display","none","important"):i.display="none":(l=f.stateNode,s=null!=(u=f.memoizedProps.style)&&u.hasOwnProperty("display")?u.display:null,l.style.display=fe("display",s))}catch(t){Cu(e,e.return,t)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(t){Cu(e,e.return,t)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:vl(t,e),bl(e),4&o&&gl(e);case 21:}}function bl(e){var t=e.flags;if(2&t){try{e:{for(var r=e.return;null!==r;){if(ll(r)){var o=r;break e}r=r.return}throw Error(n(160))}switch(o.tag){case 5:var a=o.stateNode;32&o.flags&&(ue(a,""),o.flags&=-33),dl(e,ul(e),a);break;case 3:case 4:var i=o.stateNode.containerInfo;cl(e,ul(e),i);break;default:throw Error(n(161))}}catch(t){Cu(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function wl(e,t,n){el=e,kl(e)}function kl(e,t,n){for(var r=0!=(1&e.mode);null!==el;){var o=el,a=o.child;if(22===o.tag&&r){var i=null!==o.memoizedState||Xs;if(!i){var s=o.alternate,l=null!==s&&null!==s.memoizedState||Js;s=Xs;var u=Js;if(Xs=i,(Js=l)&&!u)for(el=o;null!==el;)l=(i=el).child,22===i.tag&&null!==i.memoizedState?El(o):null!==l?(l.return=i,el=l):El(o);for(;null!==a;)el=a,kl(a),a=a.sibling;el=o,Xs=s,Js=u}Sl(e)}else 0!=(8772&o.subtreeFlags)&&null!==a?(a.return=o,el=a):Sl(e)}}function Sl(e){for(;null!==el;){var t=el;if(0!=(8772&t.flags)){var r=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Js||al(5,t);break;case 1:var o=t.stateNode;if(4&t.flags&&!Js)if(null===r)o.componentDidMount();else{var a=t.elementType===t.type?r.memoizedProps:ya(t.type,r.memoizedProps);o.componentDidUpdate(a,r.memoizedState,o.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&Ba(t,i,o);break;case 3:var s=t.updateQueue;if(null!==s){if(r=null,null!==t.child)switch(t.child.tag){case 5:case 1:r=t.child.stateNode}Ba(t,s,r)}break;case 5:var l=t.stateNode;if(null===r&&4&t.flags){r=l;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&r.focus();break;case"img":u.src&&(r.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&Vt(f)}}}break;default:throw Error(n(163))}Js||512&t.flags&&il(t)}catch(e){Cu(t,t.return,e)}}if(t===e){el=null;break}if(null!==(r=t.sibling)){r.return=t.return,el=r;break}el=t.return}}function _l(e){for(;null!==el;){var t=el;if(t===e){el=null;break}var n=t.sibling;if(null!==n){n.return=t.return,el=n;break}el=t.return}}function El(e){for(;null!==el;){var t=el;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{al(4,t)}catch(e){Cu(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(e){Cu(t,o,e)}}var a=t.return;try{il(t)}catch(e){Cu(t,a,e)}break;case 5:var i=t.return;try{il(t)}catch(e){Cu(t,i,e)}}}catch(e){Cu(t,t.return,e)}if(t===e){el=null;break}var s=t.sibling;if(null!==s){s.return=t.return,el=s;break}el=t.return}}var xl,Cl=Math.ceil,Tl=v.ReactCurrentDispatcher,Rl=v.ReactCurrentOwner,Nl=v.ReactCurrentBatchConfig,Pl=0,Ol=null,Ll=null,Il=0,Dl=0,Ml=Co(0),Al=0,zl=null,Ul=0,Fl=0,Bl=0,jl=null,Wl=null,Vl=0,Hl=1/0,$l=null,ql=!1,Ql=null,Yl=null,Gl=!1,Kl=null,Xl=0,Jl=0,Zl=null,eu=-1,tu=0;function nu(){return 0!=(6&Pl)?Je():-1!==eu?eu:eu=Je()}function ru(e){return 0==(1&e.mode)?1:0!=(2&Pl)&&0!==Il?Il&-Il:null!==va.transition?(0===tu&&(tu=gt()),tu):0!==(e=wt)?e:e=void 0===(e=window.event)?16:Xt(e.type)}function ou(e,t,r,o){if(50<Jl)throw Jl=0,Zl=null,Error(n(185));yt(e,r,o),0!=(2&Pl)&&e===Ol||(e===Ol&&(0==(2&Pl)&&(Fl|=r),4===Al&&uu(e,Il)),au(e,o),1===r&&0===Pl&&0==(1&t.mode)&&(Hl=Je()+500,jo&&Ho()))}function au(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var i=31-st(a),s=1<<i,l=o[i];-1===l?0!=(s&n)&&0==(s&r)||(o[i]=ht(s,t)):l<=t&&(e.expiredLanes|=s),a&=~s}}(e,t);var r=pt(e,e===Ol?Il:0);if(0===r)null!==n&&Ge(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ge(n),1===t)0===e.tag?function(e){jo=!0,Vo(e)}(cu.bind(null,e)):Vo(cu.bind(null,e)),so((function(){0==(6&Pl)&&Ho()})),n=null;else{switch(kt(r)){case 1:n=et;break;case 4:n=tt;break;case 16:default:n=nt;break;case 536870912:n=ot}n=Ou(n,iu.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function iu(e,t){if(eu=-1,tu=0,0!=(6&Pl))throw Error(n(327));var r=e.callbackNode;if(Eu()&&e.callbackNode!==r)return null;var o=pt(e,e===Ol?Il:0);if(0===o)return null;if(0!=(30&o)||0!=(o&e.expiredLanes)||t)t=yu(e,o);else{t=o;var a=Pl;Pl|=2;var i=gu();for(Ol===e&&Il===t||($l=null,Hl=Je()+500,hu(e,t));;)try{wu();break}catch(t){mu(e,t)}_a(),Tl.current=i,Pl=a,null!==Ll?t=0:(Ol=null,Il=0,t=Al)}if(0!==t){if(2===t&&(0!==(a=mt(e))&&(o=a,t=su(e,a))),1===t)throw r=zl,hu(e,0),uu(e,o),au(e,Je()),r;if(6===t)uu(e,o);else{if(a=e.current.alternate,0==(30&o)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],a=o.getSnapshot;o=o.value;try{if(!lr(a(),o))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(a)&&(2===(t=yu(e,o))&&(0!==(i=mt(e))&&(o=i,t=su(e,i))),1===t))throw r=zl,hu(e,0),uu(e,o),au(e,Je()),r;switch(e.finishedWork=a,e.finishedLanes=o,t){case 0:case 1:throw Error(n(345));case 2:case 5:_u(e,Wl,$l);break;case 3:if(uu(e,o),(130023424&o)===o&&10<(t=Vl+500-Je())){if(0!==pt(e,0))break;if(((a=e.suspendedLanes)&o)!==o){nu(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=oo(_u.bind(null,e,Wl,$l),t);break}_u(e,Wl,$l);break;case 4:if(uu(e,o),(4194240&o)===o)break;for(t=e.eventTimes,a=-1;0<o;){var s=31-st(o);i=1<<s,(s=t[s])>a&&(a=s),o&=~i}if(o=a,10<(o=(120>(o=Je()-o)?120:480>o?480:1080>o?1080:1920>o?1920:3e3>o?3e3:4320>o?4320:1960*Cl(o/1960))-o)){e.timeoutHandle=oo(_u.bind(null,e,Wl,$l),o);break}_u(e,Wl,$l);break;default:throw Error(n(329))}}}return au(e,Je()),e.callbackNode===r?iu.bind(null,e):null}function su(e,t){var n=jl;return e.current.memoizedState.isDehydrated&&(hu(e,t).flags|=256),2!==(e=yu(e,t))&&(t=Wl,Wl=n,null!==t&&lu(t)),e}function lu(e){null===Wl?Wl=e:Wl.push.apply(Wl,e)}function uu(e,t){for(t&=~Bl,t&=~Fl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-st(t),r=1<<n;e[n]=-1,t&=~r}}function cu(e){if(0!=(6&Pl))throw Error(n(327));Eu();var t=pt(e,0);if(0==(1&t))return au(e,Je()),null;var r=yu(e,t);if(0!==e.tag&&2===r){var o=mt(e);0!==o&&(t=o,r=su(e,o))}if(1===r)throw r=zl,hu(e,0),uu(e,t),au(e,Je()),r;if(6===r)throw Error(n(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,_u(e,Wl,$l),au(e,Je()),null}function du(e,t){var n=Pl;Pl|=1;try{return e(t)}finally{0===(Pl=n)&&(Hl=Je()+500,jo&&Ho())}}function fu(e){null!==Kl&&0===Kl.tag&&0==(6&Pl)&&Eu();var t=Pl;Pl|=1;var n=Nl.transition,r=wt;try{if(Nl.transition=null,wt=1,e)return e()}finally{wt=r,Nl.transition=n,0==(6&(Pl=t))&&Ho()}}function pu(){Dl=Ml.current,To(Ml)}function hu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,ao(n)),null!==Ll)for(n=Ll.return;null!==n;){var r=n;switch(ra(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Mo();break;case 3:ii(),To(Oo),To(Po),fi();break;case 5:li(r);break;case 4:ii();break;case 13:case 19:To(ui);break;case 10:Ea(r.type._context);break;case 22:case 23:pu()}n=n.return}if(Ol=e,Ll=e=Mu(e.current,null),Il=Dl=t,Al=0,zl=null,Bl=Fl=Ul=0,Wl=jl=null,null!==Ra){for(t=0;t<Ra.length;t++)if(null!==(r=(n=Ra[t]).interleaved)){n.interleaved=null;var o=r.next,a=n.pending;if(null!==a){var i=a.next;a.next=o,r.next=i}n.pending=r}Ra=null}return e}function mu(e,t){for(;;){var r=Ll;try{if(_a(),pi.current=ss,bi){for(var o=gi.memoizedState;null!==o;){var a=o.queue;null!==a&&(a.pending=null),o=o.next}bi=!1}if(mi=0,yi=vi=gi=null,wi=!1,ki=0,Rl.current=null,null===r||null===r.return){Al=1,zl=t,Ll=null;break}e:{var i=e,s=r.return,l=r,u=t;if(t=Il,l.flags|=32768,null!==u&&"object"==typeof u&&"function"==typeof u.then){var c=u,d=l,f=d.tag;if(0==(1&d.mode)&&(0===f||11===f||15===f)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=ys(s);if(null!==h){h.flags&=-257,bs(h,s,l,0,t),1&h.mode&&vs(i,c,t),u=c;var m=(t=h).updateQueue;if(null===m){var g=new Set;g.add(u),t.updateQueue=g}else m.add(u);break e}if(0==(1&t)){vs(i,c,t),vu();break e}u=Error(n(426))}else if(ia&&1&l.mode){var v=ys(s);if(null!==v){0==(65536&v.flags)&&(v.flags|=256),bs(v,s,l,0,t),ga(ds(u,l));break e}}i=u=ds(u,l),4!==Al&&(Al=2),null===jl?jl=[i]:jl.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,Ua(i,ms(0,u,t));break e;case 1:l=u;var y=i.type,b=i.stateNode;if(0==(128&i.flags)&&("function"==typeof y.getDerivedStateFromError||null!==b&&"function"==typeof b.componentDidCatch&&(null===Yl||!Yl.has(b)))){i.flags|=65536,t&=-t,i.lanes|=t,Ua(i,gs(i,l,t));break e}}i=i.return}while(null!==i)}Su(r)}catch(e){t=e,Ll===r&&null!==r&&(Ll=r=r.return);continue}break}}function gu(){var e=Tl.current;return Tl.current=ss,null===e?ss:e}function vu(){0!==Al&&3!==Al&&2!==Al||(Al=4),null===Ol||0==(268435455&Ul)&&0==(268435455&Fl)||uu(Ol,Il)}function yu(e,t){var r=Pl;Pl|=2;var o=gu();for(Ol===e&&Il===t||($l=null,hu(e,t));;)try{bu();break}catch(t){mu(e,t)}if(_a(),Pl=r,Tl.current=o,null!==Ll)throw Error(n(261));return Ol=null,Il=0,Al}function bu(){for(;null!==Ll;)ku(Ll)}function wu(){for(;null!==Ll&&!Ke();)ku(Ll)}function ku(e){var t=xl(e.alternate,e,Dl);e.memoizedProps=e.pendingProps,null===t?Su(e):Ll=t,Rl.current=null}function Su(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=Gs(n,t,Dl)))return void(Ll=n)}else{if(null!==(n=Ks(n,t)))return n.flags&=32767,void(Ll=n);if(null===e)return Al=6,void(Ll=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Ll=t);Ll=t=e}while(null!==t);0===Al&&(Al=5)}function _u(e,t,r){var o=wt,a=Nl.transition;try{Nl.transition=null,wt=1,function(e,t,r,o){do{Eu()}while(null!==Kl);if(0!=(6&Pl))throw Error(n(327));r=e.finishedWork;var a=e.finishedLanes;if(null===r)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(n(177));e.callbackNode=null,e.callbackPriority=0;var i=r.lanes|r.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-st(n),a=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~a}}(e,i),e===Ol&&(Ll=Ol=null,Il=0),0==(2064&r.subtreeFlags)&&0==(2064&r.flags)||Gl||(Gl=!0,Ou(nt,(function(){return Eu(),null}))),i=0!=(15990&r.flags),0!=(15990&r.subtreeFlags)||i){i=Nl.transition,Nl.transition=null;var s=wt;wt=1;var l=Pl;Pl|=4,Rl.current=null,function(e,t){if(to=$t,hr(e=pr())){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{var o=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(o&&0!==o.rangeCount){r=o.anchorNode;var a=o.anchorOffset,i=o.focusNode;o=o.focusOffset;try{r.nodeType,i.nodeType}catch(e){r=null;break e}var s=0,l=-1,u=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==r||0!==a&&3!==f.nodeType||(l=s+a),f!==i||0!==o&&3!==f.nodeType||(u=s+o),3===f.nodeType&&(s+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===r&&++c===a&&(l=s),p===i&&++d===o&&(u=s),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}r=-1===l||-1===u?null:{start:l,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(no={focusedElem:e,selectionRange:r},$t=!1,el=t;null!==el;)if(e=(t=el).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,el=e;else for(;null!==el;){t=el;try{var m=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var g=m.memoizedProps,v=m.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?g:ya(t.type,g),v);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(n(163))}}catch(e){Cu(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,el=e;break}el=t.return}m=rl,rl=!1}(e,r),yl(r,e),mr(no),$t=!!to,no=to=null,e.current=r,wl(r),Xe(),Pl=l,wt=s,Nl.transition=i}else e.current=r;if(Gl&&(Gl=!1,Kl=e,Xl=a),i=e.pendingLanes,0===i&&(Yl=null),function(e){if(it&&"function"==typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(at,e,void 0,128==(128&e.current.flags))}catch(e){}}(r.stateNode),au(e,Je()),null!==t)for(o=e.onRecoverableError,r=0;r<t.length;r++)a=t[r],o(a.value,{componentStack:a.stack,digest:a.digest});if(ql)throw ql=!1,e=Ql,Ql=null,e;0!=(1&Xl)&&0!==e.tag&&Eu(),i=e.pendingLanes,0!=(1&i)?e===Zl?Jl++:(Jl=0,Zl=e):Jl=0,Ho()}(e,t,r,o)}finally{Nl.transition=a,wt=o}return null}function Eu(){if(null!==Kl){var e=kt(Xl),t=Nl.transition,r=wt;try{if(Nl.transition=null,wt=16>e?16:e,null===Kl)var o=!1;else{if(e=Kl,Kl=null,Xl=0,0!=(6&Pl))throw Error(n(331));var a=Pl;for(Pl|=4,el=e.current;null!==el;){var i=el,s=i.child;if(0!=(16&el.flags)){var l=i.deletions;if(null!==l){for(var u=0;u<l.length;u++){var c=l[u];for(el=c;null!==el;){var d=el;switch(d.tag){case 0:case 11:case 15:ol(8,d,i)}var f=d.child;if(null!==f)f.return=d,el=f;else for(;null!==el;){var p=(d=el).sibling,h=d.return;if(sl(d),d===c){el=null;break}if(null!==p){p.return=h,el=p;break}el=h}}}var m=i.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var v=g.sibling;g.sibling=null,g=v}while(null!==g)}}el=i}}if(0!=(2064&i.subtreeFlags)&&null!==s)s.return=i,el=s;else e:for(;null!==el;){if(0!=(2048&(i=el).flags))switch(i.tag){case 0:case 11:case 15:ol(9,i,i.return)}var y=i.sibling;if(null!==y){y.return=i.return,el=y;break e}el=i.return}}var b=e.current;for(el=b;null!==el;){var w=(s=el).child;if(0!=(2064&s.subtreeFlags)&&null!==w)w.return=s,el=w;else e:for(s=b;null!==el;){if(0!=(2048&(l=el).flags))try{switch(l.tag){case 0:case 11:case 15:al(9,l)}}catch(e){Cu(l,l.return,e)}if(l===s){el=null;break e}var k=l.sibling;if(null!==k){k.return=l.return,el=k;break e}el=l.return}}if(Pl=a,Ho(),it&&"function"==typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(at,e)}catch(e){}o=!0}return o}finally{wt=r,Nl.transition=t}}return!1}function xu(e,t,n){e=Aa(e,t=ms(0,t=ds(n,t),1),1),t=nu(),null!==e&&(yt(e,1,t),au(e,t))}function Cu(e,t,n){if(3===e.tag)xu(e,e,n);else for(;null!==t;){if(3===t.tag){xu(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Yl||!Yl.has(r))){t=Aa(t,e=gs(t,e=ds(n,e),1),1),e=nu(),null!==t&&(yt(t,1,e),au(t,e));break}}t=t.return}}function Tu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=nu(),e.pingedLanes|=e.suspendedLanes&n,Ol===e&&(Il&n)===n&&(4===Al||3===Al&&(130023424&Il)===Il&&500>Je()-Vl?hu(e,0):Bl|=n),au(e,t)}function Ru(e,t){0===t&&(0==(1&e.mode)?t=1:(t=dt,0==(130023424&(dt<<=1))&&(dt=4194304)));var n=nu();null!==(e=Oa(e,t))&&(yt(e,t,n),au(e,n))}function Nu(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Ru(e,n)}function Pu(e,t){var r=0;switch(e.tag){case 13:var o=e.stateNode,a=e.memoizedState;null!==a&&(r=a.retryLane);break;case 19:o=e.stateNode;break;default:throw Error(n(314))}null!==o&&o.delete(t),Ru(e,r)}function Ou(e,t){return Ye(e,t)}function Lu(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.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Iu(e,t,n,r){return new Lu(e,t,n,r)}function Du(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Mu(e,t){var n=e.alternate;return null===n?((n=Iu(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.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Au(e,t,r,o,a,i){var s=2;if(o=e,"function"==typeof e)Du(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case w:return zu(r.children,a,i,t);case k:s=8,a|=8;break;case S:return(e=Iu(12,r,t,2|a)).elementType=S,e.lanes=i,e;case C:return(e=Iu(13,r,t,a)).elementType=C,e.lanes=i,e;case T:return(e=Iu(19,r,t,a)).elementType=T,e.lanes=i,e;case P:return Uu(r,a,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case _:s=10;break e;case E:s=9;break e;case x:s=11;break e;case R:s=14;break e;case N:s=16,o=null;break e}throw Error(n(130,null==e?e:typeof e,""))}return(t=Iu(s,r,t,a)).elementType=e,t.type=o,t.lanes=i,t}function zu(e,t,n,r){return(e=Iu(7,e,r,t)).lanes=n,e}function Uu(e,t,n,r){return(e=Iu(22,e,r,t)).elementType=P,e.lanes=n,e.stateNode={isHidden:!1},e}function Fu(e,t,n){return(e=Iu(6,e,null,t)).lanes=n,e}function Bu(e,t,n){return(t=Iu(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ju(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=vt(0),this.expirationTimes=vt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Wu(e,t,n,r,o,a,i,s,l){return e=new ju(e,t,n,s,l),1===t?(t=1,!0===a&&(t|=8)):t=0,a=Iu(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ia(a),e}function Vu(e){if(!e)return No;e:{if(Ve(e=e._reactInternals)!==e||1!==e.tag)throw Error(n(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Do(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(n(171))}if(1===e.tag){var r=e.type;if(Do(r))return zo(e,r,t)}return t}function Hu(e,t,n,r,o,a,i,s,l){return(e=Wu(n,r,!0,e,0,a,0,s,l)).context=Vu(null),n=e.current,(a=Ma(r=nu(),o=ru(n))).callback=null!=t?t:null,Aa(n,a,o),e.current.lanes=o,yt(e,o,r),au(e,r),e}function $u(e,t,n,r){var o=t.current,a=nu(),i=ru(o);return n=Vu(n),null===t.context?t.context=n:t.pendingContext=n,(t=Ma(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Aa(o,t,i))&&(ou(e,o,i,a),za(e,o,i)),i}function qu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Qu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Yu(e,t){Qu(e,t),(e=e.alternate)&&Qu(e,t)}xl=function(e,t,r){if(null!==e)if(e.memoizedProps!==t.pendingProps||Oo.current)ks=!0;else{if(0==(e.lanes&r)&&0==(128&t.flags))return ks=!1,function(e,t,n){switch(t.tag){case 3:Os(t),ma();break;case 5:si(t);break;case 1:Do(t.type)&&Uo(t);break;case 4:ai(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Ro(ba,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Ro(ui,1&ui.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Fs(e,t,n):(Ro(ui,1&ui.current),null!==(e=qs(e,t,n))?e.sibling:null);Ro(ui,1&ui.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return Hs(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),Ro(ui,ui.current),r)break;return null;case 22:case 23:return t.lanes=0,Cs(e,t,n)}return qs(e,t,n)}(e,t,r);ks=0!=(131072&e.flags)}else ks=!1,ia&&0!=(1048576&t.flags)&&ta(t,Yo,t.index);switch(t.lanes=0,t.tag){case 2:var o=t.type;$s(e,t),e=t.pendingProps;var a=Io(t,Po.current);Ca(t,r),a=xi(null,t,o,e,a,r);var i=Ci();return t.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Do(o)?(i=!0,Uo(t)):i=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,Ia(t),a.updater=Va,t.stateNode=a,a._reactInternals=t,Qa(t,o,e,r),t=Ps(null,t,o,!0,i,r)):(t.tag=0,ia&&i&&na(t),Ss(null,t,a,r),t=t.child),t;case 16:o=t.elementType;e:{switch($s(e,t),e=t.pendingProps,o=(a=o._init)(o._payload),t.type=o,a=t.tag=function(e){if("function"==typeof e)return Du(e)?1:0;if(null!=e){if((e=e.$$typeof)===x)return 11;if(e===R)return 14}return 2}(o),e=ya(o,e),a){case 0:t=Rs(null,t,o,e,r);break e;case 1:t=Ns(null,t,o,e,r);break e;case 11:t=_s(null,t,o,e,r);break e;case 14:t=Es(null,t,o,ya(o.type,e),r);break e}throw Error(n(306,o,""))}return t;case 0:return o=t.type,a=t.pendingProps,Rs(e,t,o,a=t.elementType===o?a:ya(o,a),r);case 1:return o=t.type,a=t.pendingProps,Ns(e,t,o,a=t.elementType===o?a:ya(o,a),r);case 3:e:{if(Os(t),null===e)throw Error(n(387));o=t.pendingProps,a=(i=t.memoizedState).element,Da(e,t),Fa(t,o,null,r);var s=t.memoizedState;if(o=s.element,i.isDehydrated){if(i={element:o,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=Ls(e,t,o,r,a=ds(Error(n(423)),t));break e}if(o!==a){t=Ls(e,t,o,r,a=ds(Error(n(424)),t));break e}for(aa=co(t.stateNode.containerInfo.firstChild),oa=t,ia=!0,sa=null,r=Za(t,null,o,r),t.child=r;r;)r.flags=-3&r.flags|4096,r=r.sibling}else{if(ma(),o===a){t=qs(e,t,r);break e}Ss(e,t,o,r)}t=t.child}return t;case 5:return si(t),null===e&&da(t),o=t.type,a=t.pendingProps,i=null!==e?e.memoizedProps:null,s=a.children,ro(o,a)?s=null:null!==i&&ro(o,i)&&(t.flags|=32),Ts(e,t),Ss(e,t,s,r),t.child;case 6:return null===e&&da(t),null;case 13:return Fs(e,t,r);case 4:return ai(t,t.stateNode.containerInfo),o=t.pendingProps,null===e?t.child=Ja(t,null,o,r):Ss(e,t,o,r),t.child;case 11:return o=t.type,a=t.pendingProps,_s(e,t,o,a=t.elementType===o?a:ya(o,a),r);case 7:return Ss(e,t,t.pendingProps,r),t.child;case 8:case 12:return Ss(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(o=t.type._context,a=t.pendingProps,i=t.memoizedProps,s=a.value,Ro(ba,o._currentValue),o._currentValue=s,null!==i)if(lr(i.value,s)){if(i.children===a.children&&!Oo.current){t=qs(e,t,r);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var l=i.dependencies;if(null!==l){s=i.child;for(var u=l.firstContext;null!==u;){if(u.context===o){if(1===i.tag){(u=Ma(-1,r&-r)).tag=2;var c=i.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}i.lanes|=r,null!==(u=i.alternate)&&(u.lanes|=r),xa(i.return,r,t),l.lanes|=r;break}u=u.next}}else if(10===i.tag)s=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(s=i.return))throw Error(n(341));s.lanes|=r,null!==(l=s.alternate)&&(l.lanes|=r),xa(s,r,t),s=i.sibling}else s=i.child;if(null!==s)s.return=i;else for(s=i;null!==s;){if(s===t){s=null;break}if(null!==(i=s.sibling)){i.return=s.return,s=i;break}s=s.return}i=s}Ss(e,t,a.children,r),t=t.child}return t;case 9:return a=t.type,o=t.pendingProps.children,Ca(t,r),o=o(a=Ta(a)),t.flags|=1,Ss(e,t,o,r),t.child;case 14:return a=ya(o=t.type,t.pendingProps),Es(e,t,o,a=ya(o.type,a),r);case 15:return xs(e,t,t.type,t.pendingProps,r);case 17:return o=t.type,a=t.pendingProps,a=t.elementType===o?a:ya(o,a),$s(e,t),t.tag=1,Do(o)?(e=!0,Uo(t)):e=!1,Ca(t,r),$a(t,o,a),Qa(t,o,a,r),Ps(null,t,o,!0,e,r);case 19:return Hs(e,t,r);case 22:return Cs(e,t,r)}throw Error(n(156,t.tag))};var Gu="function"==typeof reportError?reportError:function(e){console.error(e)};function Ku(e){this._internalRoot=e}function Xu(e){this._internalRoot=e}function Ju(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Zu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function ec(){}function tc(e,t,n,r,o){var a=n._reactRootContainer;if(a){var i=a;if("function"==typeof o){var s=o;o=function(){var e=qu(i);s.call(e)}}$u(t,i,e,o)}else i=function(e,t,n,r,o){if(o){if("function"==typeof r){var a=r;r=function(){var e=qu(i);a.call(e)}}var i=Hu(t,r,e,0,null,!1,0,"",ec);return e._reactRootContainer=i,e[go]=i.current,Vr(8===e.nodeType?e.parentNode:e),fu(),i}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var s=r;r=function(){var e=qu(l);s.call(e)}}var l=Wu(e,0,!1,null,0,!1,0,"",ec);return e._reactRootContainer=l,e[go]=l.current,Vr(8===e.nodeType?e.parentNode:e),fu((function(){$u(t,l,n,r)})),l}(n,t,e,o,r);return qu(i)}Xu.prototype.render=Ku.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(n(409));$u(e,t,null,null)},Xu.prototype.unmount=Ku.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;fu((function(){$u(null,e,null,null)})),t[go]=null}},Xu.prototype.unstable_scheduleHydration=function(e){if(e){var t=xt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Dt.length&&0!==t&&t<Dt[n].priority;n++);Dt.splice(n,0,e),0===n&&Ut(e)}},St=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ft(t.pendingLanes);0!==n&&(bt(t,1|n),au(t,Je()),0==(6&Pl)&&(Hl=Je()+500,Ho()))}break;case 13:fu((function(){var t=Oa(e,1);if(null!==t){var n=nu();ou(t,e,1,n)}})),Yu(e,1)}},_t=function(e){if(13===e.tag){var t=Oa(e,134217728);if(null!==t)ou(t,e,134217728,nu());Yu(e,134217728)}},Et=function(e){if(13===e.tag){var t=ru(e),n=Oa(e,t);if(null!==n)ou(n,e,t,nu());Yu(e,t)}},xt=function(){return wt},Ct=function(e,t){var n=wt;try{return wt=e,t()}finally{wt=n}},be=function(e,t,r){switch(t){case"input":if(G(e,r),t=r.name,"radio"===r.type&&null!=t){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var o=r[t];if(o!==e&&o.form===e.form){var a=_o(o);if(!a)throw Error(n(90));H(o),G(o,a)}}}break;case"textarea":ne(e,r);break;case"select":null!=(t=r.value)&&Z(e,!!r.multiple,t,!1)}},Ce=du,Te=fu;var nc={usingClientEntryPoint:!1,Events:[ko,So,_o,Ee,xe,du]},rc={findFiberByHostInstance:wo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},oc={bundleType:rc.bundleType,version:rc.version,rendererPackageName:rc.rendererPackageName,rendererConfig:rc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:v.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=qe(e))?null:e.stateNode},findFiberByHostInstance:rc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ac=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ac.isDisabled&&ac.supportsFiber)try{at=ac.inject(oc),it=ac}catch(se){}}return Le.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=nc,Le.createPortal=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Ju(t))throw Error(n(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:b,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,r)},Le.createRoot=function(e,t){if(!Ju(e))throw Error(n(299));var r=!1,o="",a=Gu;return null!=t&&(!0===t.unstable_strictMode&&(r=!0),void 0!==t.identifierPrefix&&(o=t.identifierPrefix),void 0!==t.onRecoverableError&&(a=t.onRecoverableError)),t=Wu(e,1,!1,null,0,r,0,o,a),e[go]=t.current,Vr(8===e.nodeType?e.parentNode:e),new Ku(t)},Le.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(n(188));throw e=Object.keys(e).join(","),Error(n(268,e))}return e=null===(e=qe(t))?null:e.stateNode},Le.flushSync=function(e){return fu(e)},Le.hydrate=function(e,t,r){if(!Zu(t))throw Error(n(200));return tc(null,e,t,!0,r)},Le.hydrateRoot=function(e,t,r){if(!Ju(e))throw Error(n(405));var o=null!=r&&r.hydratedSources||null,a=!1,i="",s=Gu;if(null!=r&&(!0===r.unstable_strictMode&&(a=!0),void 0!==r.identifierPrefix&&(i=r.identifierPrefix),void 0!==r.onRecoverableError&&(s=r.onRecoverableError)),t=Hu(t,null,e,1,null!=r?r:null,a,0,i,s),e[go]=t.current,Vr(e),o)for(e=0;e<o.length;e++)a=(a=(r=o[e])._getVersion)(r._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[r,a]:t.mutableSourceEagerHydrationData.push(r,a);return new Xu(t)},Le.render=function(e,t,r){if(!Zu(t))throw Error(n(200));return tc(null,e,t,!1,r)},Le.unmountComponentAtNode=function(e){if(!Zu(e))throw Error(n(40));return!!e._reactRootContainer&&(fu((function(){tc(null,null,e,!1,(function(){e._reactRootContainer=null,e[go]=null}))})),!0)},Le.unstable_batchedUpdates=du,Le.unstable_renderSubtreeIntoContainer=function(e,t,r,o){if(!Zu(r))throw Error(n(200));if(null==e||void 0===e._reactInternals)throw Error(n(38));return tc(e,t,r,!1,o)},Le.version="18.2.0-next-9e3b772b8-20220608",Le}var We,Ve,He={};function $e(){return We||(We=1,"production"!==process.env.NODE_ENV&&function(){"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=Se.exports,t=Be(),n=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,r=!1;function o(e){if(!r){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];i("warn",e,n)}}function a(e){if(!r){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];i("error",e,n)}}function i(e,t,r){var o=n.ReactDebugCurrentFrame.getStackAddendum();""!==o&&(t+="%s",r=r.concat([o]));var a=r.map((function(e){return String(e)}));a.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,a)}var s=0,l=1,u=2,c=3,d=4,f=5,p=6,h=7,m=8,g=9,v=10,y=11,b=12,w=13,k=14,S=15,_=16,E=17,x=18,C=19,T=21,R=22,N=23,P=24,O=25,L=!0,I=!1,D=!1,M=!1,A=!1,z=!0,U=!1,F=!1,B=!0,j=!0,W=!0,V=new Set,H={},$={};function q(e,t){Q(e,t),Q(e+"Capture",t)}function Q(e,t){H[e]&&a("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),H[e]=t;var n=e.toLowerCase();$[n]=e,"onDoubleClick"===e&&($.ondblclick=e);for(var r=0;r<t.length;r++)V.add(t[r])}var Y=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),G=Object.prototype.hasOwnProperty;function K(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function X(e){try{return J(e),!1}catch(e){return!0}}function J(e){return""+e}function Z(e,t){if(X(e))return a("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,K(e)),J(e)}function ee(e){if(X(e))return a("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",K(e)),J(e)}var te=0,ne=2,re=3,oe=4,ae=5,ie=6,se=":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",le=se+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ue=new RegExp("^["+se+"]["+le+"]*$"),ce={},de={};function fe(e){return!!G.call(de,e)||!G.call(ce,e)&&(ue.test(e)?(de[e]=!0,!0):(ce[e]=!0,a("Invalid attribute name: `%s`",e),!1))}function pe(e,t,n){return null!==t?t.type===te:!n&&(e.length>2&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1]))}function he(e,t,n,r){if(null!==n&&n.type===te)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":if(r)return!1;if(null!==n)return!n.acceptsBooleans;var o=e.toLowerCase().slice(0,5);return"data-"!==o&&"aria-"!==o;default:return!1}}function me(e,t,n,r){if(null==t)return!0;if(he(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case re:return!t;case oe:return!1===t;case ae:return isNaN(t);case ie:return isNaN(t)||t<1}return!1}function ge(e){return ye.hasOwnProperty(e)?ye[e]:null}function ve(e,t,n,r,o,a,i){this.acceptsBooleans=t===ne||t===re||t===oe,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var ye={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((function(e){ye[e]=new ve(e,te,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0],n=e[1];ye[t]=new ve(t,1,!1,n,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){ye[e]=new ve(e,ne,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){ye[e]=new ve(e,ne,!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"].forEach((function(e){ye[e]=new ve(e,re,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){ye[e]=new ve(e,re,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){ye[e]=new ve(e,oe,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){ye[e]=new ve(e,ie,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){ye[e]=new ve(e,ae,!1,e.toLowerCase(),null,!1,!1)}));var be=/[\-\:]([a-z])/g,we=function(e){return e[1].toUpperCase()};["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"].forEach((function(e){var t=e.replace(be,we);ye[t]=new ve(t,1,!1,e,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((function(e){var t=e.replace(be,we);ye[t]=new ve(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(be,we);ye[t]=new ve(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){ye[e]=new ve(e,1,!1,e.toLowerCase(),null,!1,!1)}));ye.xlinkHref=new ve("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){ye[e]=new ve(e,1,!1,e.toLowerCase(),null,!0,!0)}));var ke=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,_e=!1;function Ee(e){!_e&&ke.test(e)&&(_e=!0,a("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function xe(e,t,n,r){if(r.mustUseProperty)return e[r.propertyName];Z(n,t),r.sanitizeURL&&Ee(""+n);var o=r.attributeName,a=null;if(r.type===oe){if(e.hasAttribute(o)){var i=e.getAttribute(o);return""===i||(me(t,n,r,!1)?i:i===""+n?n:i)}}else if(e.hasAttribute(o)){if(me(t,n,r,!1))return e.getAttribute(o);if(r.type===re)return n;a=e.getAttribute(o)}return me(t,n,r,!1)?null===a?n:a:a===""+n?n:a}function Ce(e,t,n,r){if(fe(t)){if(!e.hasAttribute(t))return void 0===n?void 0:null;var o=e.getAttribute(t);return Z(n,t),o===""+n?n:o}}function Te(e,t,n,r){var o=ge(t);if(!pe(t,o,r))if(me(t,n,o,r)&&(n=null),r||null===o){if(fe(t)){var a=t;null===n?e.removeAttribute(a):(Z(n,t),e.setAttribute(a,""+n))}}else if(o.mustUseProperty){var i=o.propertyName;if(null===n){var s=o.type;e[i]=s!==re&&""}else e[i]=n}else{var l=o.attributeName,u=o.attributeNamespace;if(null===n)e.removeAttribute(l);else{var c,d=o.type;d===re||d===oe&&!0===n?c="":(Z(n,l),c=""+n,o.sanitizeURL&&Ee(c.toString())),u?e.setAttributeNS(u,l,c):e.setAttribute(l,c)}}}var Re=Symbol.for("react.element"),Ne=Symbol.for("react.portal"),Pe=Symbol.for("react.fragment"),Oe=Symbol.for("react.strict_mode"),Le=Symbol.for("react.profiler"),Ie=Symbol.for("react.provider"),De=Symbol.for("react.context"),Me=Symbol.for("react.forward_ref"),Ae=Symbol.for("react.suspense"),ze=Symbol.for("react.suspense_list"),Ue=Symbol.for("react.memo"),Fe=Symbol.for("react.lazy"),je=(Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode"),Symbol.for("react.offscreen")),We=(Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker"),Symbol.iterator),Ve="@@iterator";function $e(e){if(null===e||"object"!=typeof e)return null;var t=We&&e[We]||e[Ve];return"function"==typeof t?t:null}var qe,Qe,Ye,Ge,Ke,Xe,Je,Ze=Object.assign,et=0;function tt(){}tt.__reactDisabledLog=!0;var nt,rt=n.ReactCurrentDispatcher;function ot(e,t,n){if(void 0===nt)try{throw Error()}catch(e){var r=e.stack.trim().match(/\n( *(at )?)/);nt=r&&r[1]||""}return"\n"+nt+e}var at,it=!1,st="function"==typeof WeakMap?WeakMap:Map;function lt(e,t){if(!e||it)return"";var n,r=at.get(e);if(void 0!==r)return r;it=!0;var o,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=rt.current,rt.current=null,function(){if(0===et){qe=console.log,Qe=console.info,Ye=console.warn,Ge=console.error,Ke=console.group,Xe=console.groupCollapsed,Je=console.groupEnd;var e={configurable:!0,enumerable:!0,value:tt,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}et++}();try{if(t){var s=function(){throw Error()};if(Object.defineProperty(s.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(s,[])}catch(e){n=e}Reflect.construct(e,[],s)}else{try{s.call()}catch(e){n=e}e.call(s.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var l=t.stack.split("\n"),u=n.stack.split("\n"),c=l.length-1,d=u.length-1;c>=1&&d>=0&&l[c]!==u[d];)d--;for(;c>=1&&d>=0;c--,d--)if(l[c]!==u[d]){if(1!==c||1!==d)do{if(c--,--d<0||l[c]!==u[d]){var f="\n"+l[c].replace(" at new "," at ");return e.displayName&&f.includes("<anonymous>")&&(f=f.replace("<anonymous>",e.displayName)),"function"==typeof e&&at.set(e,f),f}}while(c>=1&&d>=0);break}}}finally{it=!1,rt.current=o,function(){if(0==--et){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ze({},e,{value:qe}),info:Ze({},e,{value:Qe}),warn:Ze({},e,{value:Ye}),error:Ze({},e,{value:Ge}),group:Ze({},e,{value:Ke}),groupCollapsed:Ze({},e,{value:Xe}),groupEnd:Ze({},e,{value:Je})})}et<0&&a("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var p=e?e.displayName||e.name:"",h=p?ot(p):"";return"function"==typeof e&&at.set(e,h),h}function ut(e,t,n){return lt(e,!1)}function ct(e,t,n){if(null==e)return"";if("function"==typeof e)return lt(e,function(e){var t=e.prototype;return!(!t||!t.isReactComponent)}(e));if("string"==typeof e)return ot(e);switch(e){case Ae:return ot("Suspense");case ze:return ot("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case Me:return ut(e.render);case Ue:return ct(e.type,t,n);case Fe:var r=e,o=r._payload,a=r._init;try{return ct(a(o),t,n)}catch(e){}}return""}function dt(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case f:return ot(e.type);case _:return ot("Lazy");case w:return ot("Suspense");case C:return ot("SuspenseList");case s:case u:case S:return ut(e.type);case y:return ut(e.type.render);case l:return lt(e.type,!0);default:return""}}function ft(e){try{var t="",n=e;do{t+=dt(n),n=n.return}while(n);return t}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}function pt(e){return e.displayName||"Context"}function ht(e){if(null==e)return null;if("number"==typeof e.tag&&a("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case Pe:return"Fragment";case Ne:return"Portal";case Le:return"Profiler";case Oe:return"StrictMode";case Ae:return"Suspense";case ze:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case De:return pt(e)+".Consumer";case Ie:return pt(e._context)+".Provider";case Me:return function(e,t,n){var r=e.displayName;if(r)return r;var o=t.displayName||t.name||"";return""!==o?n+"("+o+")":n}(e,e.render,"ForwardRef");case Ue:var t=e.displayName||null;return null!==t?t:ht(e.type)||"Memo";case Fe:var n=e,r=n._payload,o=n._init;try{return ht(o(r))}catch(e){return null}}return null}function mt(e){return e.displayName||"Context"}function gt(e){var t,n,r,o,a=e.tag,i=e.type;switch(a){case P:return"Cache";case g:return mt(i)+".Consumer";case v:return mt(i._context)+".Provider";case x:return"DehydratedFragment";case y:return t=i,n=i.render,r="ForwardRef",o=n.displayName||n.name||"",t.displayName||(""!==o?r+"("+o+")":r);case h:return"Fragment";case f:return i;case d:return"Portal";case c:return"Root";case p:return"Text";case _:return ht(i);case m:return i===Oe?"StrictMode":"Mode";case R:return"Offscreen";case b:return"Profiler";case T:return"Scope";case w:return"Suspense";case C:return"SuspenseList";case O:return"TracingMarker";case l:case s:case E:case u:case k:case S:if("function"==typeof i)return i.displayName||i.name||null;if("string"==typeof i)return i}return null}at=new st;var vt=n.ReactDebugCurrentFrame,yt=null,bt=!1;function wt(){if(null===yt)return null;var e=yt._debugOwner;return null!=e?gt(e):null}function kt(){return null===yt?"":ft(yt)}function St(){vt.getCurrentStack=null,yt=null,bt=!1}function _t(e){vt.getCurrentStack=null===e?null:kt,yt=e,bt=!1}function Et(e){bt=e}function xt(e){return""+e}function Ct(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return ee(e),e;default:return""}}var Tt={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Rt(e,t){Tt[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||null==t.value||a("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||null==t.checked||a("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Nt(e){var t=e.type,n=e.nodeName;return n&&"input"===n.toLowerCase()&&("checkbox"===t||"radio"===t)}function Pt(e){return e._valueTracker}function Ot(e){Pt(e)||(e._valueTracker=function(e){var t=Nt(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);ee(e[t]);var r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,a=n.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){ee(e),r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable});var i={getValue:function(){return r},setValue:function(e){ee(e),r=""+e},stopTracking:function(){!function(e){e._valueTracker=null}(e),delete e[t]}};return i}}(e))}function Lt(e){if(!e)return!1;var t=Pt(e);if(!t)return!0;var n=t.getValue(),r=function(e){var t="";return e?t=Nt(e)?e.checked?"true":"false":e.value:t}(e);return r!==n&&(t.setValue(r),!0)}function It(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}}var Dt=!1,Mt=!1,At=!1,zt=!1;function Ut(e){return"checkbox"===e.type||"radio"===e.type?null!=e.checked:null!=e.value}function Ft(e,t){var n=e,r=t.checked;return Ze({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:n._wrapperState.initialChecked})}function Bt(e,t){Rt(0,t),void 0===t.checked||void 0===t.defaultChecked||Mt||(a("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",wt()||"A component",t.type),Mt=!0),void 0===t.value||void 0===t.defaultValue||Dt||(a("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",wt()||"A component",t.type),Dt=!0);var n=e,r=null==t.defaultValue?"":t.defaultValue;n._wrapperState={initialChecked:null!=t.checked?t.checked:t.defaultChecked,initialValue:Ct(null!=t.value?t.value:r),controlled:Ut(t)}}function jt(e,t){var n=e,r=t.checked;null!=r&&Te(n,"checked",r,!1)}function Wt(e,t){var n=e,r=Ut(t);n._wrapperState.controlled||!r||zt||(a("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),zt=!0),!n._wrapperState.controlled||r||At||(a("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),At=!0),jt(e,t);var o=Ct(t.value),i=t.type;if(null!=o)"number"===i?(0===o&&""===n.value||n.value!=o)&&(n.value=xt(o)):n.value!==xt(o)&&(n.value=xt(o));else if("submit"===i||"reset"===i)return void n.removeAttribute("value");t.hasOwnProperty("value")?$t(n,t.type,o):t.hasOwnProperty("defaultValue")&&$t(n,t.type,Ct(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(n.defaultChecked=!!t.defaultChecked)}function Vt(e,t,n){var r=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var o=t.type;if(("submit"===o||"reset"===o)&&(void 0===t.value||null===t.value))return;var a=xt(r._wrapperState.initialValue);n||a!==r.value&&(r.value=a),r.defaultValue=a}var i=r.name;""!==i&&(r.name=""),r.defaultChecked=!r.defaultChecked,r.defaultChecked=!!r._wrapperState.initialChecked,""!==i&&(r.name=i)}function Ht(e,t){var n=e;Wt(n,t),function(e,t){var n=t.name;if("radio"===t.type&&null!=n){for(var r=e;r.parentNode;)r=r.parentNode;Z(n,"name");for(var o=r.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),a=0;a<o.length;a++){var i=o[a];if(i!==e&&i.form===e.form){var s=Gc(i);if(!s)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Lt(i),Wt(i,s)}}}}(n,t)}function $t(e,t,n){"number"===t&&It(e.ownerDocument)===e||(null==n?e.defaultValue=xt(e._wrapperState.initialValue):e.defaultValue!==xt(n)&&(e.defaultValue=xt(n)))}var qt=!1,Qt=!1,Yt=!1;function Gt(t,n){null==n.value&&("object"==typeof n.children&&null!==n.children?e.Children.forEach(n.children,(function(e){null!=e&&"string"!=typeof e&&"number"!=typeof e&&(Qt||(Qt=!0,a("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))})):null!=n.dangerouslySetInnerHTML&&(Yt||(Yt=!0,a("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),null==n.selected||qt||(a("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),qt=!0)}var Kt,Xt=Array.isArray;function Jt(e){return Xt(e)}function Zt(){var e=wt();return e?"\n\nCheck the render method of `"+e+"`.":""}Kt=!1;var en=["value","defaultValue"];function tn(e,t,n,r){var o=e.options;if(t){for(var a=n,i={},s=0;s<a.length;s++)i["$"+a[s]]=!0;for(var l=0;l<o.length;l++){var u=i.hasOwnProperty("$"+o[l].value);o[l].selected!==u&&(o[l].selected=u),u&&r&&(o[l].defaultSelected=!0)}}else{for(var c=xt(Ct(n)),d=null,f=0;f<o.length;f++){if(o[f].value===c)return o[f].selected=!0,void(r&&(o[f].defaultSelected=!0));null!==d||o[f].disabled||(d=o[f])}null!==d&&(d.selected=!0)}}function nn(e,t){return Ze({},t,{value:void 0})}function rn(e,t){var n=e;!function(e){Rt(0,e);for(var t=0;t<en.length;t++){var n=en[t];if(null!=e[n]){var r=Jt(e[n]);e.multiple&&!r?a("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,Zt()):!e.multiple&&r&&a("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,Zt())}}}(t),n._wrapperState={wasMultiple:!!t.multiple},void 0===t.value||void 0===t.defaultValue||Kt||(a("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Kt=!0)}var on=!1;function an(e,t){var n=e;if(null!=t.dangerouslySetInnerHTML)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");return Ze({},t,{value:void 0,defaultValue:void 0,children:xt(n._wrapperState.initialValue)})}function sn(e,t){var n=e;Rt(0,t),void 0===t.value||void 0===t.defaultValue||on||(a("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",wt()||"A component"),on=!0);var r=t.value;if(null==r){var o=t.children,i=t.defaultValue;if(null!=o){if(a("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),null!=i)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Jt(o)){if(o.length>1)throw new Error("<textarea> can only have at most one child.");o=o[0]}i=o}null==i&&(i=""),r=i}n._wrapperState={initialValue:Ct(r)}}function ln(e,t){var n=e,r=Ct(t.value),o=Ct(t.defaultValue);if(null!=r){var a=xt(r);a!==n.value&&(n.value=a),null==t.defaultValue&&n.defaultValue!==a&&(n.defaultValue=a)}null!=o&&(n.defaultValue=xt(o))}function un(e,t){var n=e,r=n.textContent;r===n._wrapperState.initialValue&&""!==r&&null!==r&&(n.value=r)}var cn="http://www.w3.org/1999/xhtml",dn="http://www.w3.org/1998/Math/MathML",fn="http://www.w3.org/2000/svg";function pn(e){switch(e){case"svg":return fn;case"math":return dn;default:return cn}}function hn(e,t){return null==e||e===cn?pn(t):e===fn&&"foreignObject"===t?cn:e}var mn,gn,vn=(gn=function(e,t){if(e.namespaceURI!==fn||"innerHTML"in e)e.innerHTML=t;else{(mn=mn||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var n=mn.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return gn(e,t,n,r)}))}:gn),yn=1,bn=3,wn=8,kn=9,Sn=11,_n=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===bn)return void(n.nodeValue=t)}e.textContent=t},En={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},xn={animationIterationCount:!0,aspectRatio:!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};var Cn=["Webkit","ms","Moz","O"];function Tn(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||xn.hasOwnProperty(e)&&xn[e]?(function(e,t){if(X(e))a("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,K(e)),J(e)}(t,e),(""+t).trim()):t+"px"}Object.keys(xn).forEach((function(e){Cn.forEach((function(t){xn[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(t,e)]=xn[e]}))}));var Rn=/([A-Z])/g,Nn=/^ms-/;var Pn=/^(?:webkit|moz|o)[A-Z]/,On=/^-ms-/,Ln=/-(.)/g,In=/;\s*$/,Dn={},Mn={},An=!1,zn=!1,Un=function(e){Dn.hasOwnProperty(e)&&Dn[e]||(Dn[e]=!0,a("Unsupported style property %s. Did you mean %s?",e,e.replace(On,"ms-").replace(Ln,(function(e,t){return t.toUpperCase()}))))},Fn=function(e,t){e.indexOf("-")>-1?Un(e):Pn.test(e)?function(e){Dn.hasOwnProperty(e)&&Dn[e]||(Dn[e]=!0,a("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))}(e):In.test(t)&&function(e,t){Mn.hasOwnProperty(t)&&Mn[t]||(Mn[t]=!0,a('Style property values shouldn\'t contain a semicolon. Try "%s: %s" instead.',e,t.replace(In,"")))}(e,t),"number"==typeof t&&(isNaN(t)?function(e,t){An||(An=!0,a("`NaN` is an invalid value for the `%s` css style property.",e))}(e):isFinite(t)||function(e,t){zn||(zn=!0,a("`Infinity` is an invalid value for the `%s` css style property.",e))}(e))};function Bn(e){var t="",n="";for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];if(null!=o){var a=0===r.indexOf("--");t+=n+(a?r:r.replace(Rn,"-$1").toLowerCase().replace(Nn,"-ms-"))+":",t+=Tn(r,o,a),n=";"}}return t||null}function jn(e,t){var n=e.style;for(var r in t)if(t.hasOwnProperty(r)){var o=0===r.indexOf("--");o||Fn(r,t[r]);var a=Tn(r,t[r],o);"float"===r&&(r="cssFloat"),o?n.setProperty(r,a):n[r]=a}}function Wn(e){var t={};for(var n in e)for(var r=En[n]||[n],o=0;o<r.length;o++)t[r[o]]=n;return t}var Vn=Ze({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}),Hn="__html";function $n(e,t){if(t){if(Vn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw new Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if("object"!=typeof t.dangerouslySetInnerHTML||!(Hn in t.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&null!=t.children&&a("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),null!=t.style&&"object"!=typeof t.style)throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function qn(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}}var Qn={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Yn={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},Gn={},Kn=new RegExp("^(aria)-["+le+"]*$"),Xn=new RegExp("^(aria)[A-Z]["+le+"]*$");function Jn(e,t){if(G.call(Gn,t)&&Gn[t])return!0;if(Xn.test(t)){var n="aria-"+t.slice(4).toLowerCase(),r=Yn.hasOwnProperty(n)?n:null;if(null==r)return a("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Gn[t]=!0,!0;if(t!==r)return a("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,r),Gn[t]=!0,!0}if(Kn.test(t)){var o=t.toLowerCase(),i=Yn.hasOwnProperty(o)?o:null;if(null==i)return Gn[t]=!0,!1;if(t!==i)return a("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,i),Gn[t]=!0,!0}return!0}function Zn(e,t){qn(e,t)||function(e,t){var n=[];for(var r in t)Jn(0,r)||n.push(r);var o=n.map((function(e){return"`"+e+"`"})).join(", ");1===n.length?a("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",o,e):n.length>1&&a("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",o,e)}(e,t)}var er=!1;var tr,nr={},rr=/^on./,or=/^on[^A-Z]/,ar=new RegExp("^(aria)-["+le+"]*$"),ir=new RegExp("^(aria)[A-Z]["+le+"]*$");tr=function(e,t,n,r){if(G.call(nr,t)&&nr[t])return!0;var o=t.toLowerCase();if("onfocusin"===o||"onfocusout"===o)return a("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),nr[t]=!0,!0;if(null!=r){var i=r.registrationNameDependencies,s=r.possibleRegistrationNames;if(i.hasOwnProperty(t))return!0;var l=s.hasOwnProperty(o)?s[o]:null;if(null!=l)return a("Invalid event handler property `%s`. Did you mean `%s`?",t,l),nr[t]=!0,!0;if(rr.test(t))return a("Unknown event handler property `%s`. It will be ignored.",t),nr[t]=!0,!0}else if(rr.test(t))return or.test(t)&&a("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),nr[t]=!0,!0;if(ar.test(t)||ir.test(t))return!0;if("innerhtml"===o)return a("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),nr[t]=!0,!0;if("aria"===o)return a("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),nr[t]=!0,!0;if("is"===o&&null!=n&&"string"!=typeof n)return a("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),nr[t]=!0,!0;if("number"==typeof n&&isNaN(n))return a("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),nr[t]=!0,!0;var u=ge(t),c=null!==u&&u.type===te;if(Qn.hasOwnProperty(o)){var d=Qn[o];if(d!==t)return a("Invalid DOM property `%s`. Did you mean `%s`?",t,d),nr[t]=!0,!0}else if(!c&&t!==o)return a("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,o),nr[t]=!0,!0;return"boolean"==typeof n&&he(t,n,u,!1)?(n?a('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):a('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',n,t,t,n,t,t,t),nr[t]=!0,!0):!!c||(he(t,n,u,!1)?(nr[t]=!0,!1):("false"!==n&&"true"!==n||null===u||u.type!==re||(a("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,"false"===n?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,n),nr[t]=!0),!0))};function sr(e,t,n){qn(e,t)||function(e,t,n){var r=[];for(var o in t)tr(0,o,t[o],n)||r.push(o);var i=r.map((function(e){return"`"+e+"`"})).join(", ");1===r.length?a("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",i,e):r.length>1&&a("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",i,e)}(e,t,n)}var lr=1,ur=2,cr=4,dr=lr|ur|cr,fr=null;function pr(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===bn?t.parentNode:t}var hr=null,mr=null,gr=null;function vr(e){var t=Qc(e);if(t){if("function"!=typeof hr)throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var n=t.stateNode;if(n){var r=Gc(n);hr(t.stateNode,t.type,r)}}}function yr(e){mr?gr?gr.push(e):gr=[e]:mr=e}function br(){if(mr){var e=mr,t=gr;if(mr=null,gr=null,vr(e),t)for(var n=0;n<t.length;n++)vr(t[n])}}var wr=function(e,t){return e(t)},kr=function(){},Sr=!1;function _r(){(null!==mr||null!==gr)&&(kr(),br())}function Er(e,t,n){if(Sr)return e(t,n);Sr=!0;try{return wr(e,t,n)}finally{Sr=!1,_r()}}function xr(e,t){var n=e.stateNode;if(null===n)return null;var r=Gc(n);if(null===r)return null;var o=r[t];if(function(e,t,n){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!(!n.disabled||(r=t,"button"!==r&&"input"!==r&&"select"!==r&&"textarea"!==r));default:return!1}var r}(t,e.type,r))return null;if(o&&"function"!=typeof o)throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof o+"` type.");return o}var Cr=!1;if(Y)try{var Tr={};Object.defineProperty(Tr,"passive",{get:function(){Cr=!0}}),window.addEventListener("test",Tr,Tr),window.removeEventListener("test",Tr,Tr)}catch(e){Cr=!1}function Rr(e,t,n,r,o,a,i,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var Nr=Rr;if("undefined"!=typeof window&&"function"==typeof window.dispatchEvent&&"undefined"!=typeof document&&"function"==typeof document.createEvent){var Pr=document.createElement("react");Nr=function(e,t,n,r,o,a,i,s,l){if("undefined"==typeof document||null===document)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var u=document.createEvent("Event"),c=!1,d=!0,f=window.event,p=Object.getOwnPropertyDescriptor(window,"event");function h(){Pr.removeEventListener(k,v,!1),void 0!==window.event&&window.hasOwnProperty("event")&&(window.event=f)}var m,g=Array.prototype.slice.call(arguments,3);function v(){c=!0,h(),t.apply(n,g),d=!1}var y=!1,b=!1;function w(e){if(m=e.error,y=!0,null===m&&0===e.colno&&0===e.lineno&&(b=!0),e.defaultPrevented&&null!=m&&"object"==typeof m)try{m._suppressLogging=!0}catch(e){}}var k="react-"+(e||"invokeguardedcallback");if(window.addEventListener("error",w),Pr.addEventListener(k,v,!1),u.initEvent(k,!1,!1),Pr.dispatchEvent(u),p&&Object.defineProperty(window,"event",p),c&&d&&(y?b&&(m=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):m=new Error("An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the \"Pause on exceptions\" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue."),this.onError(m)),window.removeEventListener("error",w),!c)return h(),Rr.apply(this,arguments)}}var Or=Nr,Lr=!1,Ir=null,Dr=!1,Mr=null,Ar={onError:function(e){Lr=!0,Ir=e}};function zr(e,t,n,r,o,a,i,s,l){Lr=!1,Ir=null,Or.apply(Ar,arguments)}function Ur(){if(Lr){var e=Ir;return Lr=!1,Ir=null,e}throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function Fr(e){return e._reactInternals}var Br=0,jr=1,Wr=2,Vr=4,Hr=16,$r=32,qr=64,Qr=128,Yr=256,Gr=512,Kr=1024,Xr=2048,Jr=4096,Zr=8192,eo=16384,to=Xr|Vr|qr|Gr|Kr|eo,no=32767,ro=32768,oo=65536,ao=131072,io=1048576,so=2097152,lo=4194304,uo=8388608,co=16777216,fo=33554432,po=Vr|Kr|0,ho=Wr|Vr|Hr|$r|Gr|Jr|Zr,mo=Vr|qr|Gr|Zr,go=Xr|Hr,vo=lo|uo|so,yo=n.ReactCurrentOwner;function bo(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{var r=t;do{((t=r).flags&(Wr|Jr))!==Br&&(n=t.return),r=t.return}while(r)}return t.tag===c?n:null}function wo(e){if(e.tag===w){var t=e.memoizedState;if(null===t){var n=e.alternate;null!==n&&(t=n.memoizedState)}if(null!==t)return t.dehydrated}return null}function ko(e){return e.tag===c?e.stateNode.containerInfo:null}function So(e){if(bo(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function _o(e){var t=e.alternate;if(!t){var n=bo(e);if(null===n)throw new Error("Unable to find node on an unmounted component.");return n!==e?null:e}for(var r=e,o=t;;){var a=r.return;if(null===a)break;var i=a.alternate;if(null===i){var s=a.return;if(null!==s){r=o=s;continue}break}if(a.child===i.child){for(var l=a.child;l;){if(l===r)return So(a),e;if(l===o)return So(a),t;l=l.sibling}throw new Error("Unable to find node on an unmounted component.")}if(r.return!==o.return)r=a,o=i;else{for(var u=!1,d=a.child;d;){if(d===r){u=!0,r=a,o=i;break}if(d===o){u=!0,o=a,r=i;break}d=d.sibling}if(!u){for(d=i.child;d;){if(d===r){u=!0,r=i,o=a;break}if(d===o){u=!0,o=i,r=a;break}d=d.sibling}if(!u)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(r.alternate!==o)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(r.tag!==c)throw new Error("Unable to find node on an unmounted component.");return r.stateNode.current===r?e:t}function Eo(e){var t=_o(e);return null!==t?xo(t):null}function xo(e){if(e.tag===f||e.tag===p)return e;for(var t=e.child;null!==t;){var n=xo(t);if(null!==n)return n;t=t.sibling}return null}function Co(e){var t=_o(e);return null!==t?To(t):null}function To(e){if(e.tag===f||e.tag===p)return e;for(var t=e.child;null!==t;){if(t.tag!==d){var n=To(t);if(null!==n)return n}t=t.sibling}return null}var Ro=t.unstable_scheduleCallback,No=t.unstable_cancelCallback,Po=t.unstable_shouldYield,Oo=t.unstable_requestPaint,Lo=t.unstable_now,Io=t.unstable_getCurrentPriorityLevel,Do=t.unstable_ImmediatePriority,Mo=t.unstable_UserBlockingPriority,Ao=t.unstable_NormalPriority,zo=t.unstable_LowPriority,Uo=t.unstable_IdlePriority,Fo=t.unstable_yieldValue,Bo=t.unstable_setDisableYieldValue,jo=null,Wo=null,Vo=null,Ho=!1,$o="undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__;function qo(e){if("function"==typeof Fo&&(Bo(e),r=e),Wo&&"function"==typeof Wo.setStrictMode)try{Wo.setStrictMode(jo,e)}catch(e){Ho||(Ho=!0,a("React instrumentation encountered an error: %s",e))}}function Qo(e){Vo=e}function Yo(){for(var e=new Map,t=1,n=0;n<ha;n++){var r=Ja(t);e.set(t,r),t*=2}return e}function Go(){null!==Vo&&"function"==typeof Vo.markCommitStopped&&Vo.markCommitStopped()}function Ko(e){null!==Vo&&"function"==typeof Vo.markComponentRenderStarted&&Vo.markComponentRenderStarted(e)}function Xo(){null!==Vo&&"function"==typeof Vo.markComponentRenderStopped&&Vo.markComponentRenderStopped()}function Jo(e){null!==Vo&&"function"==typeof Vo.markComponentLayoutEffectMountStarted&&Vo.markComponentLayoutEffectMountStarted(e)}function Zo(e){null!==Vo&&"function"==typeof Vo.markComponentLayoutEffectUnmountStarted&&Vo.markComponentLayoutEffectUnmountStarted(e)}function ea(){null!==Vo&&"function"==typeof Vo.markComponentLayoutEffectUnmountStopped&&Vo.markComponentLayoutEffectUnmountStopped()}function ta(e,t,n){null!==Vo&&"function"==typeof Vo.markComponentErrored&&Vo.markComponentErrored(e,t,n)}function na(e,t,n){null!==Vo&&"function"==typeof Vo.markComponentSuspended&&Vo.markComponentSuspended(e,t,n)}function ra(e){null!==Vo&&"function"==typeof Vo.markRenderStarted&&Vo.markRenderStarted(e)}function oa(){null!==Vo&&"function"==typeof Vo.markRenderStopped&&Vo.markRenderStopped()}function aa(e,t){null!==Vo&&"function"==typeof Vo.markStateUpdateScheduled&&Vo.markStateUpdateScheduled(e,t)}var ia=0,sa=1,la=2,ua=8,ca=16,da=Math.clz32?Math.clz32:function(e){var t=e>>>0;if(0===t)return 32;return 31-(fa(t)/pa|0)|0},fa=Math.log,pa=Math.LN2;var ha=31,ma=0,ga=0,va=1,ya=2,ba=4,wa=8,ka=16,Sa=32,_a=4194240,Ea=64,xa=128,Ca=256,Ta=512,Ra=1024,Na=2048,Pa=4096,Oa=8192,La=16384,Ia=32768,Da=65536,Ma=131072,Aa=262144,za=524288,Ua=1048576,Fa=2097152,Ba=130023424,ja=4194304,Wa=8388608,Va=16777216,Ha=33554432,$a=67108864,qa=ja,Qa=134217728,Ya=268435455,Ga=268435456,Ka=536870912,Xa=1073741824;function Ja(e){return e&va?"Sync":e&ya?"InputContinuousHydration":e&ba?"InputContinuous":e&wa?"DefaultHydration":e&ka?"Default":e&Sa?"TransitionHydration":e&_a?"Transition":e&Ba?"Retry":e&Qa?"SelectiveHydration":e&Ga?"IdleHydration":e&Ka?"Idle":e&Xa?"Offscreen":void 0}var Za=-1,ei=Ea,ti=ja;function ni(e){switch(di(e)){case va:return va;case ya:return ya;case ba:return ba;case wa:return wa;case ka:return ka;case Sa:return Sa;case Ea:case xa:case Ca:case Ta:case Ra:case Na:case Pa:case Oa:case La:case Ia:case Da:case Ma:case Aa:case za:case Ua:case Fa:return e&_a;case ja:case Wa:case Va:case Ha:case $a:return e&Ba;case Qa:return Qa;case Ga:return Ga;case Ka:return Ka;case Xa:return Xa;default:return a("Should have found matching lanes. This is a bug in React."),e}}function ri(e,t){var n=e.pendingLanes;if(n===ma)return ma;var r=ma,o=e.suspendedLanes,a=e.pingedLanes,i=n&Ya;if(i!==ma){var s=i&~o;if(s!==ma)r=ni(s);else{var l=i&a;l!==ma&&(r=ni(l))}}else{var u=n&~o;u!==ma?r=ni(u):a!==ma&&(r=ni(a))}if(r===ma)return ma;if(t!==ma&&t!==r&&(t&o)===ma){var c=di(r),d=di(t);if(c>=d||c===ka&&(d&_a)!==ma)return t}(r&ba)!==ma&&(r|=n&ka);var f=e.entangledLanes;if(f!==ma)for(var p=e.entanglements,h=r&f;h>0;){var m=pi(h),g=1<<m;r|=p[m],h&=~g}return r}function oi(e,t){switch(e){case va:case ya:case ba:return t+250;case wa:case ka:case Sa:case Ea:case xa:case Ca:case Ta:case Ra:case Na:case Pa:case Oa:case La:case Ia:case Da:case Ma:case Aa:case za:case Ua:case Fa:return t+5e3;case ja:case Wa:case Va:case Ha:case $a:case Qa:case Ga:case Ka:case Xa:return Za;default:return a("Should have found matching lanes. This is a bug in React."),Za}}function ai(e){var t=e.pendingLanes&~Xa;return t!==ma?t:t&Xa?Xa:ma}function ii(e){return(e&Ya)!==ma}function si(e){return(e&Ba)===e}function li(e,t){return(t&(ya|ba|wa|ka))!==ma}function ui(e){return(e&_a)!==ma}function ci(){var e=ei;return((ei<<=1)&_a)===ma&&(ei=Ea),e}function di(e){return e&-e}function fi(e){return di(e)}function pi(e){return 31-da(e)}function hi(e){return pi(e)}function mi(e,t){return(e&t)!==ma}function gi(e,t){return(e&t)===t}function vi(e,t){return e|t}function yi(e,t){return e&~t}function bi(e,t){return e&t}function wi(e){for(var t=[],n=0;n<ha;n++)t.push(e);return t}function ki(e,t,n){e.pendingLanes|=t,t!==Ka&&(e.suspendedLanes=ma,e.pingedLanes=ma),e.eventTimes[hi(t)]=n}function Si(e,t,n){e.pingedLanes|=e.suspendedLanes&t}function _i(e,t){for(var n=e.entangledLanes|=t,r=e.entanglements,o=n;o;){var a=pi(o),i=1<<a;i&t|r[a]&t&&(r[a]|=t),o&=~i}}function Ei(e,t,n){if($o)for(var r=e.pendingUpdatersLaneMap;n>0;){var o=hi(n),a=1<<o;r[o].add(t),n&=~a}}function xi(e,t){if($o)for(var n=e.pendingUpdatersLaneMap,r=e.memoizedUpdaters;t>0;){var o=hi(t),a=1<<o,i=n[o];i.size>0&&(i.forEach((function(e){var t=e.alternate;null!==t&&r.has(t)||r.add(e)})),i.clear()),t&=~a}}var Ci,Ti,Ri,Ni,Pi,Oi=va,Li=ba,Ii=ka,Di=Ka,Mi=ga;function Ai(){return Mi}function zi(e){Mi=e}function Ui(e,t){return 0!==e&&e<t}function Fi(e){var t=di(e);return Ui(Oi,t)?Ui(Li,t)?ii(t)?Ii:Di:Li:Oi}function Bi(e){return e.current.memoizedState.isDehydrated}function ji(e){Ci(e)}var Wi=!1,Vi=[],Hi=null,$i=null,qi=null,Qi=new Map,Yi=new Map,Gi=[],Ki=["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"];function Xi(e,t){switch(e){case"focusin":case"focusout":Hi=null;break;case"dragenter":case"dragleave":$i=null;break;case"mouseover":case"mouseout":qi=null;break;case"pointerover":case"pointerout":var n=t.pointerId;Qi.delete(n);break;case"gotpointercapture":case"lostpointercapture":var r=t.pointerId;Yi.delete(r)}}function Ji(e,t,n,r,o,a){if(null===e||e.nativeEvent!==a){var i=function(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:n,nativeEvent:o,targetContainers:[r]}}(t,n,r,o,a);if(null!==t){var s=Qc(t);null!==s&&Ti(s)}return i}e.eventSystemFlags|=r;var l=e.targetContainers;return null!==o&&-1===l.indexOf(o)&&l.push(o),e}function Zi(e){var t=qc(e.target);if(null!==t){var n=bo(t);if(null!==n){var r=n.tag;if(r===w){var o=wo(n);if(null!==o)return e.blockedOn=o,void Pi(e.priority,(function(){Ri(n)}))}else if(r===c){if(Bi(n.stateNode))return void(e.blockedOn=ko(n))}}}e.blockedOn=null}function es(e){if(null!==e.blockedOn)return!1;for(var t,n=e.targetContainers;n.length>0;){var r=n[0],o=fs(e.domEventName,e.eventSystemFlags,r,e.nativeEvent);if(null!==o){var i=Qc(o);return null!==i&&Ti(i),e.blockedOn=o,!1}var s=e.nativeEvent,l=new s.constructor(s.type,s);t=l,null!==fr&&a("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),fr=t,s.target.dispatchEvent(l),null===fr&&a("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),fr=null,n.shift()}return!0}function ts(e,t,n){es(e)&&n.delete(t)}function ns(){Wi=!1,null!==Hi&&es(Hi)&&(Hi=null),null!==$i&&es($i)&&($i=null),null!==qi&&es(qi)&&(qi=null),Qi.forEach(ts),Yi.forEach(ts)}function rs(e,n){e.blockedOn===n&&(e.blockedOn=null,Wi||(Wi=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,ns)))}function os(e){if(Vi.length>0){rs(Vi[0],e);for(var t=1;t<Vi.length;t++){var n=Vi[t];n.blockedOn===e&&(n.blockedOn=null)}}null!==Hi&&rs(Hi,e),null!==$i&&rs($i,e),null!==qi&&rs(qi,e);var r=function(t){return rs(t,e)};Qi.forEach(r),Yi.forEach(r);for(var o=0;o<Gi.length;o++){var a=Gi[o];a.blockedOn===e&&(a.blockedOn=null)}for(;Gi.length>0;){var i=Gi[0];if(null!==i.blockedOn)break;Zi(i),null===i.blockedOn&&Gi.shift()}}var as=n.ReactCurrentBatchConfig,is=!0;function ss(e){is=!!e}function ls(e,t,n,r){var o=Ai(),a=as.transition;as.transition=null;try{zi(Oi),cs(e,t,n,r)}finally{zi(o),as.transition=a}}function us(e,t,n,r){var o=Ai(),a=as.transition;as.transition=null;try{zi(Li),cs(e,t,n,r)}finally{zi(o),as.transition=a}}function cs(e,t,n,r){is&&function(e,t,n,r){var o=fs(e,t,n,r);if(null===o)return yu(e,t,r,ds,n),void Xi(e,r);if(function(e,t,n,r,o){switch(t){case"focusin":return Hi=Ji(Hi,e,t,n,r,o),!0;case"dragenter":return $i=Ji($i,e,t,n,r,o),!0;case"mouseover":return qi=Ji(qi,e,t,n,r,o),!0;case"pointerover":var a=o,i=a.pointerId;return Qi.set(i,Ji(Qi.get(i)||null,e,t,n,r,a)),!0;case"gotpointercapture":var s=o,l=s.pointerId;return Yi.set(l,Ji(Yi.get(l)||null,e,t,n,r,s)),!0}return!1}(o,e,t,n,r))return void r.stopPropagation();if(Xi(e,r),t&cr&&function(e){return Ki.indexOf(e)>-1}(e)){for(;null!==o;){var a=Qc(o);null!==a&&ji(a);var i=fs(e,t,n,r);if(null===i&&yu(e,t,r,ds,n),i===o)break;o=i}return void(null!==o&&r.stopPropagation())}yu(e,t,r,null,n)}(e,t,n,r)}var ds=null;function fs(e,t,n,r){ds=null;var o=qc(pr(r));if(null!==o){var a=bo(o);if(null===a)o=null;else{var i=a.tag;if(i===w){var s=wo(a);if(null!==s)return s;o=null}else if(i===c){if(Bi(a.stateNode))return ko(a);o=null}else a!==o&&(o=null)}}return ds=o,null}function ps(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return Oi;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return Li;case"message":switch(Io()){case Do:return Oi;case Mo:return Li;case Ao:case zo:return Ii;case Uo:return Di;default:return Ii}default:return Ii}}var hs=null,ms=null,gs=null;function vs(){if(gs)return gs;var e,t,n=ms,r=n.length,o=ys(),a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);var s=t>1?1-t:void 0;return gs=o.slice(e,s)}function ys(){return"value"in hs?hs.value:hs.textContent}function bs(e){var t,n=e.keyCode;return"charCode"in e?0===(t=e.charCode)&&13===n&&(t=13):t=n,10===t&&(t=13),t>=32||13===t?t:0}function ws(){return!0}function ks(){return!1}function Ss(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)if(e.hasOwnProperty(i)){var s=e[i];this[i]=s?s(o):o[i]}var l=null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue;return this.isDefaultPrevented=l?ws:ks,this.isPropagationStopped=ks,this}return Ze(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=ws)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=ws)},persist:function(){},isPersistent:ws}),t}var _s,Es,xs,Cs={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ts=Ss(Cs),Rs=Ze({},Cs,{view:0,detail:0}),Ns=Ss(Rs);var Ps=Ze({},Rs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ws,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:(function(e){e!==xs&&(xs&&"mousemove"===e.type?(_s=e.screenX-xs.screenX,Es=e.screenY-xs.screenY):(_s=0,Es=0),xs=e)}(e),_s)},movementY:function(e){return"movementY"in e?e.movementY:Es}}),Os=Ss(Ps),Ls=Ss(Ze({},Ps,{dataTransfer:0})),Is=Ss(Ze({},Rs,{relatedTarget:0})),Ds=Ss(Ze({},Cs,{animationName:0,elapsedTime:0,pseudoElement:0})),Ms=Ss(Ze({},Cs,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),As=Ss(Ze({},Cs,{data:0})),zs=As,Us={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Fs={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"};var Bs={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function js(e){var t=this.nativeEvent;if(t.getModifierState)return t.getModifierState(e);var n=Bs[e];return!!n&&!!t[n]}function Ws(e){return js}var Vs=Ss(Ze({},Rs,{key:function(e){if(e.key){var t=Us[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=bs(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?Fs[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ws,charCode:function(e){return"keypress"===e.type?bs(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?bs(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),Hs=Ss(Ze({},Ps,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),$s=Ss(Ze({},Rs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ws})),qs=Ss(Ze({},Cs,{propertyName:0,elapsedTime:0,pseudoElement:0})),Qs=Ss(Ze({},Ps,{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})),Ys=[9,13,27,32],Gs=229,Ks=Y&&"CompositionEvent"in window,Xs=null;Y&&"documentMode"in document&&(Xs=document.documentMode);var Js=Y&&"TextEvent"in window&&!Xs,Zs=Y&&(!Ks||Xs&&Xs>8&&Xs<=11),el=32,tl=String.fromCharCode(el);var nl=!1;function rl(e,t){switch(e){case"keyup":return-1!==Ys.indexOf(t.keyCode);case"keydown":return t.keyCode!==Gs;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ol(e){var t=e.detail;return"object"==typeof t&&"data"in t?t.data:null}function al(e){return"ko"===e.locale}var il=!1;function sl(e,t,n,r,o){var a,i;if(Ks?a=function(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}(t):il?rl(t,r)&&(a="onCompositionEnd"):function(e,t){return"keydown"===e&&t.keyCode===Gs}(t,r)&&(a="onCompositionStart"),!a)return null;Zs&&!al(r)&&(il||"onCompositionStart"!==a?"onCompositionEnd"===a&&il&&(i=vs()):il=function(e){return hs=e,ms=ys(),!0}(o));var s=wu(n,a);if(s.length>0){var l=new As(a,t,null,r,o);if(e.push({event:l,listeners:s}),i)l.data=i;else{var u=ol(r);null!==u&&(l.data=u)}}}function ll(e,t){if(il){if("compositionend"===e||!Ks&&rl(e,t)){var n=vs();return hs=null,ms=null,gs=null,il=!1,n}return null}switch(e){case"paste":default:return null;case"keypress":if(!function(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Zs&&!al(t)?null:t.data}}function ul(e,t,n,r,o){var a;if(!(a=Js?function(e,t){switch(e){case"compositionend":return ol(t);case"keypress":return t.which!==el?null:(nl=!0,tl);case"textInput":var n=t.data;return n===tl&&nl?null:n;default:return null}}(t,r):ll(t,r)))return null;var i=wu(n,"onBeforeInput");if(i.length>0){var s=new zs("onBeforeInput","beforeinput",null,r,o);e.push({event:s,listeners:i}),s.data=a}}var cl={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 dl(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!cl[e.type]:"textarea"===t}
29
- /**
30
- * Checks if an event is supported in the current execution environment.
31
- *
32
- * NOTE: This will not work correctly for non-generic events such as `change`,
33
- * `reset`, `load`, `error`, and `select`.
34
- *
35
- * Borrows from Modernizr.
36
- *
37
- * @param {string} eventNameSuffix Event name, e.g. "click".
38
- * @return {boolean} True if the event is supported.
39
- * @internal
40
- * @license Modernizr 3.0.0pre (Custom Build) | MIT
41
- */function fl(e,t,n,r){yr(r);var o=wu(t,"onChange");if(o.length>0){var a=new Ts("onChange","change",null,n,r);e.push({event:a,listeners:o})}}var pl=null,hl=null;function ml(e){du(e,0)}function gl(e){if(Lt(Yc(e)))return e}function vl(e,t){if("change"===e)return t}var yl=!1;function bl(){pl&&(pl.detachEvent("onpropertychange",wl),pl=null,hl=null)}function wl(e){"value"===e.propertyName&&gl(hl)&&function(e){var t=[];fl(t,hl,e,pr(e)),Er(ml,t)}(e)}function kl(e,t,n){"focusin"===e?(bl(),function(e,t){hl=t,(pl=e).attachEvent("onpropertychange",wl)}(t,n)):"focusout"===e&&bl()}function Sl(e,t){if("selectionchange"===e||"keyup"===e||"keydown"===e)return gl(hl)}function _l(e,t){if("click"===e)return gl(t)}function El(e,t){if("input"===e||"change"===e)return gl(t)}function xl(e,t,n,r,o,a,i){var s,l,u,c,d,f,p=n?Yc(n):window;if("select"===(c=(u=p).nodeName&&u.nodeName.toLowerCase())||"input"===c&&"file"===u.type?s=vl:dl(p)?yl?s=El:(s=Sl,l=kl):function(e){var t=e.nodeName;return t&&"input"===t.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}(p)&&(s=_l),s){var h=s(t,n);if(h)return void fl(e,h,r,o)}l&&l(t,p,n),"focusout"===t&&(f=(d=p)._wrapperState)&&f.controlled&&"number"===d.type&&$t(d,"number",d.value)}function Cl(e,t,n,r,o,a,i){var s="mouseover"===t||"pointerover"===t,l="mouseout"===t||"pointerout"===t;if(s&&r!==fr){var u=r.relatedTarget||r.fromElement;if(u&&(qc(u)||$c(u)))return}if(l||s){var c,d,h;if(o.window===o)c=o;else{var m=o.ownerDocument;c=m?m.defaultView||m.parentWindow:window}if(l){var g=r.relatedTarget||r.toElement;if(d=n,null!==(h=g?qc(g):null))(h!==bo(h)||h.tag!==f&&h.tag!==p)&&(h=null)}else d=null,h=n;if(d!==h){var v=Os,y="onMouseLeave",b="onMouseEnter",w="mouse";"pointerout"!==t&&"pointerover"!==t||(v=Hs,y="onPointerLeave",b="onPointerEnter",w="pointer");var k=null==d?c:Yc(d),S=null==h?c:Yc(h),_=new v(y,w+"leave",d,r,o);_.target=k,_.relatedTarget=S;var E=null;if(qc(o)===n){var x=new v(b,w+"enter",h,r,o);x.target=S,x.relatedTarget=k,E=x}!function(e,t,n,r,o){var a=r&&o?function(e,t){for(var n=e,r=t,o=0,a=n;a;a=ku(a))o++;for(var i=0,s=r;s;s=ku(s))i++;for(;o-i>0;)n=ku(n),o--;for(;i-o>0;)r=ku(r),i--;var l=o;for(;l--;){if(n===r||null!==r&&n===r.alternate)return n;n=ku(n),r=ku(r)}return null}(r,o):null;null!==r&&Su(e,t,r,a,!1);null!==o&&null!==n&&Su(e,n,o,a,!0)}(e,_,E,d,h)}}}Y&&(yl=function(e){if(!Y)return!1;var t="on"+e,n=t in document;if(!n){var r=document.createElement("div");r.setAttribute(t,"return;"),n="function"==typeof r[t]}return n}("input")&&(!document.documentMode||document.documentMode>9));var Tl="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function Rl(e,t){if(Tl(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 o=0;o<n.length;o++){var a=n[o];if(!G.call(t,a)||!Tl(e[a],t[a]))return!1}return!0}function Nl(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Pl(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function Ol(e,t){for(var n=Nl(e),r=0,o=0;n;){if(n.nodeType===bn){if(o=r+n.textContent.length,r<=t&&o>=t)return{node:n,offset:t-r};r=o}n=Nl(Pl(n))}}function Ll(e){var t=e.ownerDocument,n=t&&t.defaultView||window,r=n.getSelection&&n.getSelection();if(!r||0===r.rangeCount)return null;var o=r.anchorNode,a=r.anchorOffset,i=r.focusNode,s=r.focusOffset;try{o.nodeType,i.nodeType}catch(e){return null}return function(e,t,n,r,o){var a=0,i=-1,s=-1,l=0,u=0,c=e,d=null;e:for(;;){for(var f=null;c!==t||0!==n&&c.nodeType!==bn||(i=a+n),c!==r||0!==o&&c.nodeType!==bn||(s=a+o),c.nodeType===bn&&(a+=c.nodeValue.length),null!==(f=c.firstChild);)d=c,c=f;for(;;){if(c===e)break e;if(d===t&&++l===n&&(i=a),d===r&&++u===o&&(s=a),null!==(f=c.nextSibling))break;d=(c=d).parentNode}c=f}if(-1===i||-1===s)return null;return{start:i,end:s}}(e,o,a,i,s)}function Il(e){return e&&e.nodeType===bn}function Dl(e,t){return!(!e||!t)&&(e===t||!Il(e)&&(Il(t)?Dl(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Ml(e){return e&&e.ownerDocument&&Dl(e.ownerDocument.documentElement,e)}function Al(e){try{return"string"==typeof e.contentWindow.location.href}catch(e){return!1}}function zl(){for(var e=window,t=It();t instanceof e.HTMLIFrameElement;){if(!Al(t))return t;t=It((e=t.contentWindow).document)}return t}function Ul(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)}function Fl(e){var t=zl(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&Ml(n)){null!==r&&Ul(n)&&function(e,t){var n=t.start,r=t.end;void 0===r&&(r=n);"selectionStart"in e?(e.selectionStart=n,e.selectionEnd=Math.min(r,e.value.length)):function(e,t){var n=e.ownerDocument||document,r=n&&n.defaultView||window;if(r.getSelection){var o=r.getSelection(),a=e.textContent.length,i=Math.min(t.start,a),s=void 0===t.end?i:Math.min(t.end,a);if(!o.extend&&i>s){var l=s;s=i,i=l}var u=Ol(e,i),c=Ol(e,s);if(u&&c){if(1===o.rangeCount&&o.anchorNode===u.node&&o.anchorOffset===u.offset&&o.focusNode===c.node&&o.focusOffset===c.offset)return;var d=n.createRange();d.setStart(u.node,u.offset),o.removeAllRanges(),i>s?(o.addRange(d),o.extend(c.node,c.offset)):(d.setEnd(c.node,c.offset),o.addRange(d))}}}(e,t)}(n,r);for(var o=[],a=n;a=a.parentNode;)a.nodeType===yn&&o.push({element:a,left:a.scrollLeft,top:a.scrollTop});"function"==typeof n.focus&&n.focus();for(var i=0;i<o.length;i++){var s=o[i];s.element.scrollLeft=s.left,s.element.scrollTop=s.top}}}function Bl(e){return("selectionStart"in e?{start:e.selectionStart,end:e.selectionEnd}:Ll(e))||{start:0,end:0}}var jl=Y&&"documentMode"in document&&document.documentMode<=11;var Wl=null,Vl=null,Hl=null,$l=!1;function ql(e,t,n){var r=function(e){return e.window===e?e.document:e.nodeType===kn?e:e.ownerDocument}(n);if(!$l&&null!=Wl&&Wl===It(r)){var o=function(e){if("selectionStart"in e&&Ul(e))return{start:e.selectionStart,end:e.selectionEnd};var t=(e.ownerDocument&&e.ownerDocument.defaultView||window).getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}(Wl);if(!Hl||!Rl(Hl,o)){Hl=o;var a=wu(Vl,"onSelect");if(a.length>0){var i=new Ts("onSelect","select",null,t,n);e.push({event:i,listeners:a}),i.target=Wl}}}}function Ql(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Yl={animationend:Ql("Animation","AnimationEnd"),animationiteration:Ql("Animation","AnimationIteration"),animationstart:Ql("Animation","AnimationStart"),transitionend:Ql("Transition","TransitionEnd")},Gl={},Kl={};function Xl(e){if(Gl[e])return Gl[e];if(!Yl[e])return e;var t=Yl[e];for(var n in t)if(t.hasOwnProperty(n)&&n in Kl)return Gl[e]=t[n];return e}Y&&(Kl=document.createElement("div").style,"AnimationEvent"in window||(delete Yl.animationend.animation,delete Yl.animationiteration.animation,delete Yl.animationstart.animation),"TransitionEvent"in window||delete Yl.transitionend.transition);var Jl=Xl("animationend"),Zl=Xl("animationiteration"),eu=Xl("animationstart"),tu=Xl("transitionend"),nu=new Map,ru=["abort","auxClick","cancel","canPlay","canPlayThrough","click","close","contextMenu","copy","cut","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","gotPointerCapture","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","pointerCancel","pointerDown","pointerMove","pointerOut","pointerOver","pointerUp","progress","rateChange","reset","resize","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchStart","volumeChange","scroll","toggle","touchMove","waiting","wheel"];function ou(e,t){nu.set(e,t),q(t,[e])}function au(e,t,n,r,o,a,i){var s=nu.get(t);if(void 0!==s){var l=Ts,u=t;switch(t){case"keypress":if(0===bs(r))return;case"keydown":case"keyup":l=Vs;break;case"focusin":u="focus",l=Is;break;case"focusout":u="blur",l=Is;break;case"beforeblur":case"afterblur":l=Is;break;case"click":if(2===r.button)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=Os;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=Ls;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=$s;break;case Jl:case Zl:case eu:l=Ds;break;case tu:l=qs;break;case"scroll":l=Ns;break;case"wheel":l=Qs;break;case"copy":case"cut":case"paste":l=Ms;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Hs}var c=0!=(a&cr),d=!c&&"scroll"===t,p=function(e,t,n,r,o,a){var i=null!==t?t+"Capture":null,s=r?i:t,l=[],u=e,c=null;for(;null!==u;){var d=u,p=d.stateNode;if(d.tag===f&&null!==p&&(c=p,null!==s)){var h=xr(u,s);null!=h&&l.push(bu(u,h,c))}if(o)break;u=u.return}return l}(n,s,r.type,c,d);if(p.length>0){var h=new l(s,u,null,r,o);e.push({event:h,listeners:p})}}}function iu(e,t,n,r,o,a,i){au(e,t,n,r,o,a),0==(a&dr)&&(Cl(e,t,n,r,o),xl(e,t,n,r,o),function(e,t,n,r,o,a,i){var s=n?Yc(n):window;switch(t){case"focusin":(dl(s)||"true"===s.contentEditable)&&(Wl=s,Vl=n,Hl=null);break;case"focusout":Wl=null,Vl=null,Hl=null;break;case"mousedown":$l=!0;break;case"contextmenu":case"mouseup":case"dragend":$l=!1,ql(e,r,o);break;case"selectionchange":if(jl)break;case"keydown":case"keyup":ql(e,r,o)}}(e,t,n,r,o),function(e,t,n,r,o,a,i){sl(e,t,n,r,o),ul(e,t,n,r,o)}(e,t,n,r,o))}!function(){for(var e=0;e<ru.length;e++){var t=ru[e];ou(t.toLowerCase(),"on"+(t[0].toUpperCase()+t.slice(1)))}ou(Jl,"onAnimationEnd"),ou(Zl,"onAnimationIteration"),ou(eu,"onAnimationStart"),ou("dblclick","onDoubleClick"),ou("focusin","onFocus"),ou("focusout","onBlur"),ou(tu,"onTransitionEnd")}(),Q("onMouseEnter",["mouseout","mouseover"]),Q("onMouseLeave",["mouseout","mouseover"]),Q("onPointerEnter",["pointerout","pointerover"]),Q("onPointerLeave",["pointerout","pointerover"]),q("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"]),q("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"]),q("onBeforeInput",["compositionend","keypress","textInput","paste"]),q("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),q("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),q("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"]);var su=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],lu=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(su));function uu(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,i,s,l){if(zr.apply(this,arguments),Lr){var u=Ur();Dr||(Dr=!0,Mr=u)}}(r,t,void 0,e),e.currentTarget=null}function cu(e,t,n){var r;if(n)for(var o=t.length-1;o>=0;o--){var a=t[o],i=a.instance,s=a.currentTarget,l=a.listener;if(i!==r&&e.isPropagationStopped())return;uu(e,l,s),r=i}else for(var u=0;u<t.length;u++){var c=t[u],d=c.instance,f=c.currentTarget,p=c.listener;if(d!==r&&e.isPropagationStopped())return;uu(e,p,f),r=d}}function du(e,t){for(var n=0!=(t&cr),r=0;r<e.length;r++){var o=e[r];cu(o.event,o.listeners,n)}!function(){if(Dr){var e=Mr;throw Dr=!1,Mr=null,e}}()}function fu(e,t){lu.has(e)||a('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=function(e){var t=e[Fc];void 0===t&&(t=e[Fc]=new Set);return t}(t),r=function(e,t){return e+"__"+(t?"capture":"bubble")}(e,false);n.has(r)||(gu(t,e,ur,false),n.add(r))}function pu(e,t,n){lu.has(e)&&!t&&a('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var r=0;t&&(r|=cr),gu(n,e,r,t)}var hu="_reactListening"+Math.random().toString(36).slice(2);function mu(e){if(!e[hu]){e[hu]=!0,V.forEach((function(t){"selectionchange"!==t&&(lu.has(t)||pu(t,!1,e),pu(t,!0,e))}));var t=e.nodeType===kn?e:e.ownerDocument;null!==t&&(t[hu]||(t[hu]=!0,pu("selectionchange",!1,t)))}}function gu(e,t,n,r,o){var a=function(e,t,n){var r;switch(ps(t)){case Oi:r=ls;break;case Li:r=us;break;default:r=cs}return r.bind(null,t,n,e)}(e,t,n),i=void 0;Cr&&("touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0)),r?void 0!==i?function(e,t,n,r){e.addEventListener(t,n,{capture:!0,passive:r})}(e,t,a,i):function(e,t,n){e.addEventListener(t,n,!0)}(e,t,a):void 0!==i?function(e,t,n,r){e.addEventListener(t,n,{passive:r})}(e,t,a,i):function(e,t,n){e.addEventListener(t,n,!1)}(e,t,a)}function vu(e,t){return e===t||e.nodeType===wn&&e.parentNode===t}function yu(e,t,n,r,o){var a=r;if(0==(t&lr)&&0==(t&ur)){var i=o;if(null!==r){var s=r;e:for(;;){if(null===s)return;var l=s.tag;if(l===c||l===d){var u=s.stateNode.containerInfo;if(vu(u,i))break;if(l===d)for(var h=s.return;null!==h;){var m=h.tag;if(m===c||m===d)if(vu(h.stateNode.containerInfo,i))return;h=h.return}for(;null!==u;){var g=qc(u);if(null===g)return;var v=g.tag;if(v===f||v===p){s=a=g;continue e}u=u.parentNode}}s=s.return}}}Er((function(){return function(e,t,n,r,o){var a=[];iu(a,e,r,n,pr(n),t),du(a,t)}(e,t,n,a)}))}function bu(e,t,n){return{instance:e,listener:t,currentTarget:n}}function wu(e,t){for(var n=t+"Capture",r=[],o=e;null!==o;){var a=o,i=a.stateNode;if(a.tag===f&&null!==i){var s=i,l=xr(o,n);null!=l&&r.unshift(bu(o,l,s));var u=xr(o,t);null!=u&&r.push(bu(o,u,s))}o=o.return}return r}function ku(e){if(null===e)return null;do{e=e.return}while(e&&e.tag!==f);return e||null}function Su(e,t,n,r,o){for(var a=t._reactName,i=[],s=n;null!==s&&s!==r;){var l=s,u=l.alternate,c=l.stateNode,d=l.tag;if(null!==u&&u===r)break;if(d===f&&null!==c){var p=c;if(o){var h=xr(s,a);null!=h&&i.unshift(bu(s,h,p))}else if(!o){var m=xr(s,a);null!=m&&i.push(bu(s,m,p))}}s=s.return}0!==i.length&&e.push({event:t,listeners:i})}var _u,Eu,xu,Cu,Tu,Ru,Nu,Pu=!1,Ou="dangerouslySetInnerHTML",Lu="suppressContentEditableWarning",Iu="suppressHydrationWarning",Du="autoFocus",Mu="children",Au="style",zu="__html";_u={dialog:!0,webview:!0},Eu=function(e,t){Zn(e,t),function(e,t){"input"!==e&&"textarea"!==e&&"select"!==e||null==t||null!==t.value||er||(er=!0,"select"===e&&t.multiple?a("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):a("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}(e,t),sr(e,t,{registrationNameDependencies:H,possibleRegistrationNames:$})},Ru=Y&&!document.documentMode,xu=function(e,t,n){if(!Pu){var r=Bu(n),o=Bu(t);o!==r&&(Pu=!0,a("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(o),JSON.stringify(r)))}},Cu=function(e){if(!Pu){Pu=!0;var t=[];e.forEach((function(e){t.push(e)})),a("Extra attributes from the server: %s",t)}},Tu=function(e,t){!1===t?a("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):a("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},Nu=function(e,t){var n=e.namespaceURI===cn?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return n.innerHTML=t,n.innerHTML};var Uu=/\r\n?/g,Fu=/\u0000|\uFFFD/g;function Bu(e){return function(e){if(X(e))a("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",K(e)),J(e)}(e),("string"==typeof e?e:""+e).replace(Uu,"\n").replace(Fu,"")}function ju(e,t,n,r){var o=Bu(t),i=Bu(e);if(i!==o&&(r&&(Pu||(Pu=!0,a('Text content did not match. Server: "%s" Client: "%s"',i,o))),n&&L))throw new Error("Text content does not match server-rendered HTML.")}function Wu(e){return e.nodeType===kn?e:e.ownerDocument}function Vu(){}function Hu(e){e.onclick=Vu}function $u(e,t,n,r){var o,a=qn(t,n);switch(Eu(t,n),t){case"dialog":fu("cancel",e),fu("close",e),o=n;break;case"iframe":case"object":case"embed":fu("load",e),o=n;break;case"video":case"audio":for(var i=0;i<su.length;i++)fu(su[i],e);o=n;break;case"source":fu("error",e),o=n;break;case"img":case"image":case"link":fu("error",e),fu("load",e),o=n;break;case"details":fu("toggle",e),o=n;break;case"input":Bt(e,n),o=Ft(e,n),fu("invalid",e);break;case"option":Gt(0,n),o=n;break;case"select":rn(e,n),o=nn(0,n),fu("invalid",e);break;case"textarea":sn(e,n),o=an(e,n),fu("invalid",e);break;default:o=n}switch($n(t,o),function(e,t,n,r,o){for(var a in r)if(r.hasOwnProperty(a)){var i=r[a];if(a===Au)i&&Object.freeze(i),jn(t,i);else if(a===Ou){var s=i?i[zu]:void 0;null!=s&&vn(t,s)}else a===Mu?"string"==typeof i?("textarea"!==e||""!==i)&&_n(t,i):"number"==typeof i&&_n(t,""+i):a===Lu||a===Iu||a===Du||(H.hasOwnProperty(a)?null!=i&&("function"!=typeof i&&Tu(a,i),"onScroll"===a&&fu("scroll",t)):null!=i&&Te(t,a,i,o))}}(t,e,0,o,a),t){case"input":Ot(e),Vt(e,n,!1);break;case"textarea":Ot(e),un(e);break;case"option":!function(e,t){null!=t.value&&e.setAttribute("value",xt(Ct(t.value)))}(e,n);break;case"select":!function(e,t){var n=e;n.multiple=!!t.multiple;var r=t.value;null!=r?tn(n,!!t.multiple,r,!1):null!=t.defaultValue&&tn(n,!!t.multiple,t.defaultValue,!0)}(e,n);break;default:"function"==typeof o.onClick&&Hu(e)}}function qu(e,t,n,r,o){Eu(t,r);var i,s,l,u,c=null;switch(t){case"input":i=Ft(e,n),s=Ft(e,r),c=[];break;case"select":i=nn(0,n),s=nn(0,r),c=[];break;case"textarea":i=an(e,n),s=an(e,r),c=[];break;default:s=r,"function"!=typeof(i=n).onClick&&"function"==typeof s.onClick&&Hu(e)}$n(t,s);var d=null;for(l in i)if(!s.hasOwnProperty(l)&&i.hasOwnProperty(l)&&null!=i[l])if(l===Au){var f=i[l];for(u in f)f.hasOwnProperty(u)&&(d||(d={}),d[u]="")}else l===Ou||l===Mu||l===Lu||l===Iu||l===Du||(H.hasOwnProperty(l)?c||(c=[]):(c=c||[]).push(l,null));for(l in s){var p=s[l],h=null!=i?i[l]:void 0;if(s.hasOwnProperty(l)&&p!==h&&(null!=p||null!=h))if(l===Au)if(p&&Object.freeze(p),h){for(u in h)!h.hasOwnProperty(u)||p&&p.hasOwnProperty(u)||(d||(d={}),d[u]="");for(u in p)p.hasOwnProperty(u)&&h[u]!==p[u]&&(d||(d={}),d[u]=p[u])}else d||(c||(c=[]),c.push(l,d)),d=p;else if(l===Ou){var m=p?p[zu]:void 0,g=h?h[zu]:void 0;null!=m&&g!==m&&(c=c||[]).push(l,m)}else l===Mu?"string"!=typeof p&&"number"!=typeof p||(c=c||[]).push(l,""+p):l===Lu||l===Iu||(H.hasOwnProperty(l)?(null!=p&&("function"!=typeof p&&Tu(l,p),"onScroll"===l&&fu("scroll",e)),c||h===p||(c=[])):(c=c||[]).push(l,p))}return d&&(!function(e,t){if(t){var n,r=Wn(e),o=Wn(t),i={};for(var s in r){var l=r[s],u=o[s];if(u&&l!==u){var c=l+","+u;if(i[c])continue;i[c]=!0,a("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",null==(n=e[l])||"boolean"==typeof n||""===n?"Removing":"Updating",l,u)}}}}(d,s[Au]),(c=c||[]).push(Au,d)),c}function Qu(e,t,n,r,o){"input"===n&&"radio"===o.type&&null!=o.name&&jt(e,o);qn(n,r);switch(function(e,t,n,r){for(var o=0;o<t.length;o+=2){var a=t[o],i=t[o+1];a===Au?jn(e,i):a===Ou?vn(e,i):a===Mu?_n(e,i):Te(e,a,i,r)}}(e,t,0,qn(n,o)),n){case"input":Wt(e,o);break;case"textarea":ln(e,o);break;case"select":!function(e,t){var n=e,r=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!t.multiple;var o=t.value;null!=o?tn(n,!!t.multiple,o,!1):r!==!!t.multiple&&(null!=t.defaultValue?tn(n,!!t.multiple,t.defaultValue,!0):tn(n,!!t.multiple,t.multiple?[]:"",!1))}(e,o)}}function Yu(e,t){Pu||(Pu=!0,a("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase()))}function Gu(e,t){Pu||(Pu=!0,a('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase()))}function Ku(e,t,n){Pu||(Pu=!0,a("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase()))}function Xu(e,t){""!==t&&(Pu||(Pu=!0,a('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())))}var Ju=function(){},Zu=function(){},ec=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],tc=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],nc=tc.concat(["button"]),rc=["dd","dt","li","option","optgroup","p","rp","rt"],oc={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Zu=function(e,t){var n=Ze({},e||oc),r={tag:t};return-1!==tc.indexOf(t)&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),-1!==nc.indexOf(t)&&(n.pTagInButtonScope=null),-1!==ec.indexOf(t)&&"address"!==t&&"div"!==t&&"p"!==t&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=r,"form"===t&&(n.formTag=r),"a"===t&&(n.aTagInScope=r),"button"===t&&(n.buttonTagInScope=r),"nobr"===t&&(n.nobrTagInScope=r),"p"===t&&(n.pTagInButtonScope=r),"li"===t&&(n.listItemTagAutoclosing=r),"dd"!==t&&"dt"!==t||(n.dlItemTagAutoclosing=r),n};var ac={};Ju=function(e,t,n){var r=(n=n||oc).current,o=r&&r.tag;null!=t&&(null!=e&&a("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var i=function(e,t){switch(t){case"select":return"option"===e||"optgroup"===e||"#text"===e;case"optgroup":return"option"===e||"#text"===e;case"option":return"#text"===e;case"tr":return"th"===e||"td"===e||"style"===e||"script"===e||"template"===e;case"tbody":case"thead":case"tfoot":return"tr"===e||"style"===e||"script"===e||"template"===e;case"colgroup":return"col"===e||"template"===e;case"table":return"caption"===e||"colgroup"===e||"tbody"===e||"tfoot"===e||"thead"===e||"style"===e||"script"===e||"template"===e;case"head":return"base"===e||"basefont"===e||"bgsound"===e||"link"===e||"meta"===e||"title"===e||"noscript"===e||"noframes"===e||"style"===e||"script"===e||"template"===e;case"html":return"head"===e||"body"===e||"frameset"===e;case"frameset":return"frame"===e;case"#document":return"html"===e}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return"h1"!==t&&"h2"!==t&&"h3"!==t&&"h4"!==t&&"h5"!==t&&"h6"!==t;case"rp":case"rt":return-1===rc.indexOf(t);case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return null==t}return!0}(e,o)?null:r,s=i?null:function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}(e,n),l=i||s;if(l){var u=l.tag,c=!!i+"|"+e+"|"+u;if(!ac[c]){ac[c]=!0;var d=e,f="";if("#text"===e?/\S/.test(t)?d="Text nodes":(d="Whitespace text nodes",f=" Make sure you don't have any extra whitespace between tags on each line of your source code."):d="<"+e+">",i){var p="";"table"===u&&"tr"===e&&(p+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),a("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",d,u,f,p)}else a("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",d,u)}}};var ic="suppressHydrationWarning",sc="$",lc="/$",uc="$?",cc="$!",dc="style",fc=null,pc=null;function hc(e){var t;fc=is,t=zl(),pc={focusedElem:t,selectionRange:Ul(t)?Bl(t):null};return ss(!1),null}function mc(e,t,n,r,o){var i=r;if(Ju(e,null,i.ancestorInfo),"string"==typeof t.children||"number"==typeof t.children){var s=""+t.children,l=Zu(i.ancestorInfo,e);Ju(null,s,l)}var u=function(e,t,n,r){var o,i,s=Wu(n),l=r;if(l===cn&&(l=pn(e)),l===cn){if((o=qn(e,t))||e===e.toLowerCase()||a("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),"script"===e){var u=s.createElement("div");u.innerHTML="<script><\/script>";var c=u.firstChild;i=u.removeChild(c)}else if("string"==typeof t.is)i=s.createElement(e,{is:t.is});else if(i=s.createElement(e),"select"===e){var d=i;t.multiple?d.multiple=!0:t.size&&(d.size=t.size)}}else i=s.createElementNS(l,e);return l===cn&&(o||"[object HTMLUnknownElement]"!==Object.prototype.toString.call(i)||G.call(_u,e)||(_u[e]=!0,a("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e))),i}(e,t,n,i.namespace);return Wc(o,u),Kc(u,t),u}function gc(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}function vc(e,t,n,r){Ju(null,e,n.ancestorInfo);var o=function(e,t){return Wu(t).createTextNode(e)}(e,t);return Wc(r,o),o}var yc="function"==typeof setTimeout?setTimeout:void 0,bc="function"==typeof clearTimeout?clearTimeout:void 0,wc=-1,kc="function"==typeof Promise?Promise:void 0,Sc="function"==typeof queueMicrotask?queueMicrotask:void 0!==kc?function(e){return kc.resolve(null).then(e).catch(_c)}:yc;function _c(e){setTimeout((function(){throw e}))}function Ec(e){_n(e,"")}function xc(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===wn){var a=o.data;if(a===lc){if(0===r)return e.removeChild(o),void os(t);r--}else a!==sc&&a!==uc&&a!==cc||r++}n=o}while(n);os(t)}function Cc(e){var t=e.style;"function"==typeof t.setProperty?t.setProperty("display","none","important"):t.display="none"}function Tc(e,t){var n=t[dc],r=null!=n&&n.hasOwnProperty("display")?n.display:null;e.style.display=Tn("display",r)}function Rc(e,t){e.nodeValue=t}function Nc(e){return e.data===uc}function Pc(e){return e.data===cc}function Oc(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(t===yn||t===bn)break;if(t===wn){var n=e.data;if(n===sc||n===cc||n===uc)break;if(n===lc)return null}}return e}function Lc(e){return Oc(e.nextSibling)}function Ic(e,t,n,r,o,a,i){return Wc(a,e),Kc(e,n),function(e,t,n,r,o,a,i){var s,l;switch(s=qn(t,n),Eu(t,n),t){case"dialog":fu("cancel",e),fu("close",e);break;case"iframe":case"object":case"embed":fu("load",e);break;case"video":case"audio":for(var u=0;u<su.length;u++)fu(su[u],e);break;case"source":fu("error",e);break;case"img":case"image":case"link":fu("error",e),fu("load",e);break;case"details":fu("toggle",e);break;case"input":Bt(e,n),fu("invalid",e);break;case"option":Gt(0,n);break;case"select":rn(e,n),fu("invalid",e);break;case"textarea":sn(e,n),fu("invalid",e)}$n(t,n),l=new Set;for(var c=e.attributes,d=0;d<c.length;d++)switch(c[d].name.toLowerCase()){case"value":case"checked":case"selected":break;default:l.add(c[d].name)}var f,p=null;for(var h in n)if(n.hasOwnProperty(h)){var m=n[h];if(h===Mu)"string"==typeof m?e.textContent!==m&&(!0!==n[Iu]&&ju(e.textContent,m,a,i),p=[Mu,m]):"number"==typeof m&&e.textContent!==""+m&&(!0!==n[Iu]&&ju(e.textContent,m,a,i),p=[Mu,""+m]);else if(H.hasOwnProperty(h))null!=m&&("function"!=typeof m&&Tu(h,m),"onScroll"===h&&fu("scroll",e));else if(i&&"boolean"==typeof s){var g=void 0,v=s&&U?null:ge(h);if(!0===n[Iu]);else if(h===Lu||h===Iu||"value"===h||"checked"===h||"selected"===h);else if(h===Ou){var y=e.innerHTML,b=m?m[zu]:void 0;if(null!=b){var w=Nu(e,b);w!==y&&xu(h,y,w)}}else if(h===Au){if(l.delete(h),Ru){var k=Bn(m);k!==(g=e.getAttribute("style"))&&xu(h,g,k)}}else if(s&&!U)l.delete(h.toLowerCase()),m!==(g=Ce(e,h,m))&&xu(h,g,m);else if(!pe(h,v,s)&&!me(h,m,v,s)){var S=!1;if(null!==v)l.delete(v.attributeName),g=xe(e,h,m,v);else{var _=r;if(_===cn&&(_=pn(t)),_===cn)l.delete(h.toLowerCase());else{var E=(f=void 0,f=h.toLowerCase(),Qn.hasOwnProperty(f)&&Qn[f]||null);null!==E&&E!==h&&(S=!0,l.delete(E)),l.delete(h)}g=Ce(e,h,m)}U||m===g||S||xu(h,g,m)}}}switch(i&&l.size>0&&!0!==n[Iu]&&Cu(l),t){case"input":Ot(e),Vt(e,n,!0);break;case"textarea":Ot(e),un(e);break;case"select":case"option":break;default:"function"==typeof n.onClick&&Hu(e)}return p}(e,t,n,o.namespace,0,(a.mode&sa)!==ia,i)}function Dc(e){for(var t=e.previousSibling,n=0;t;){if(t.nodeType===wn){var r=t.data;if(r===sc||r===cc||r===uc){if(0===n)return t;n--}else r===lc&&n++}t=t.previousSibling}return null}var Mc=Math.random().toString(36).slice(2),Ac="__reactFiber$"+Mc,zc="__reactProps$"+Mc,Uc="__reactContainer$"+Mc,Fc="__reactEvents$"+Mc,Bc="__reactListeners$"+Mc,jc="__reactHandles$"+Mc;function Wc(e,t){t[Ac]=e}function Vc(e,t){t[Uc]=e}function Hc(e){e[Uc]=null}function $c(e){return!!e[Uc]}function qc(e){var t=e[Ac];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Uc]||n[Ac]){var r=t.alternate;if(null!==t.child||null!==r&&null!==r.child)for(var o=Dc(e);null!==o;){var a=o[Ac];if(a)return a;o=Dc(o)}return t}n=(e=n).parentNode}return null}function Qc(e){var t=e[Ac]||e[Uc];return t&&(t.tag===f||t.tag===p||t.tag===w||t.tag===c)?t:null}function Yc(e){if(e.tag===f||e.tag===p)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Gc(e){return e[zc]||null}function Kc(e,t){e[zc]=t}var Xc={},Jc=n.ReactDebugCurrentFrame;function Zc(e){if(e){var t=e._owner,n=ct(e.type,e._source,t?t.type:null);Jc.setExtraStackFrame(n)}else Jc.setExtraStackFrame(null)}function ed(e,t,n,r,o){var i=Function.call.bind(G);for(var s in e)if(i(e,s)){var l=void 0;try{if("function"!=typeof e[s]){var u=Error((r||"React class")+": "+n+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[s]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw u.name="Invariant Violation",u}l=e[s](t,s,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){l=e}!l||l instanceof Error||(Zc(o),a("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",r||"React class",n,s,typeof l),Zc(null)),l instanceof Error&&!(l.message in Xc)&&(Xc[l.message]=!0,Zc(o),a("Failed %s type: %s",n,l.message),Zc(null))}}var td,nd=[];td=[];var rd,od=-1;function ad(e){return{current:e}}function id(e,t){od<0?a("Unexpected pop."):(t!==td[od]&&a("Unexpected Fiber popped."),e.current=nd[od],nd[od]=null,td[od]=null,od--)}function sd(e,t,n){od++,nd[od]=e.current,td[od]=n,e.current=t}rd={};var ld={};Object.freeze(ld);var ud=ad(ld),cd=ad(!1),dd=ld;function fd(e,t,n){return n&&gd(t)?dd:ud.current}function pd(e,t,n){var r=e.stateNode;r.__reactInternalMemoizedUnmaskedChildContext=t,r.__reactInternalMemoizedMaskedChildContext=n}function hd(e,t){var n=e.type.contextTypes;if(!n)return ld;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={};for(var a in n)o[a]=t[a];return ed(n,o,"context",gt(e)||"Unknown"),r&&pd(e,t,o),o}function md(){return cd.current}function gd(e){var t=e.childContextTypes;return null!=t}function vd(e){id(cd,e),id(ud,e)}function yd(e){id(cd,e),id(ud,e)}function bd(e,t,n){if(ud.current!==ld)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");sd(ud,t,e),sd(cd,n,e)}function wd(e,t,n){var r=e.stateNode,o=t.childContextTypes;if("function"!=typeof r.getChildContext){var i=gt(e)||"Unknown";return rd[i]||(rd[i]=!0,a("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",i,i)),n}var s=r.getChildContext();for(var l in s)if(!(l in o))throw new Error((gt(e)||"Unknown")+'.getChildContext(): key "'+l+'" is not defined in childContextTypes.');return ed(o,s,"child context",gt(e)||"Unknown"),Ze({},n,s)}function kd(e){var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||ld;return dd=ud.current,sd(ud,n,e),sd(cd,cd.current,e),!0}function Sd(e,t,n){var r=e.stateNode;if(!r)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(n){var o=wd(e,t,dd);r.__reactInternalMemoizedMergedChildContext=o,id(cd,e),id(ud,e),sd(ud,o,e),sd(cd,n,e)}else id(cd,e),sd(cd,n,e)}function _d(e){if(!function(e){return bo(e)===e}(e)||e.tag!==l)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case c:return t.stateNode.context;case l:if(gd(t.type))return t.stateNode.__reactInternalMemoizedMergedChildContext}t=t.return}while(null!==t);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}var Ed=0,xd=1,Cd=null,Td=!1,Rd=!1;function Nd(e){null===Cd?Cd=[e]:Cd.push(e)}function Pd(){Td&&Od()}function Od(){if(!Rd&&null!==Cd){Rd=!0;var e=0,t=Ai();try{var n=Cd;for(zi(Oi);e<n.length;e++){var r=n[e];do{r=r(true)}while(null!==r)}Cd=null,Td=!1}catch(t){throw null!==Cd&&(Cd=Cd.slice(e+1)),Ro(Do,Od),t}finally{zi(t),Rd=!1}}return null}var Ld=[],Id=0,Dd=null,Md=0,Ad=[],zd=0,Ud=null,Fd=1,Bd="";function jd(){var e=Bd;return(Fd&~function(e){return 1<<$d(e)-1}(Fd)).toString(32)+e}function Wd(e,t){Qd(),Ld[Id++]=Md,Ld[Id++]=Dd,Dd=e,Md=t}function Vd(e,t,n){Qd(),Ad[zd++]=Fd,Ad[zd++]=Bd,Ad[zd++]=Ud,Ud=e;var r=Fd,o=Bd,a=$d(r)-1,i=r&~(1<<a),s=n+1,l=$d(t)+a;if(l>30){var u=a-a%5,c=(i&(1<<u)-1).toString(32),d=i>>u,f=a-u,p=$d(t)+f;Fd=1<<p|(s<<f|d),Bd=c+o}else{Fd=1<<l|(s<<a|i),Bd=o}}function Hd(e){if(Qd(),null!==e.return){Wd(e,1),Vd(e,1,0)}}function $d(e){return 32-da(e)}function qd(e){for(;e===Dd;)Dd=Ld[--Id],Ld[Id]=null,Md=Ld[--Id],Ld[Id]=null;for(;e===Ud;)Ud=Ad[--zd],Ad[zd]=null,Bd=Ad[--zd],Ad[zd]=null,Fd=Ad[--zd],Ad[zd]=null}function Qd(){wf()||a("Expected to be hydrating. This is a bug in React. Please file an issue.")}var Yd=null,Gd=null,Kd=!1,Xd=!1,Jd=null;function Zd(){Kd&&a("We should not be hydrating here. This is a bug in React. Please file a bug.")}function ef(){Xd=!0}function tf(e){var t=e.stateNode.containerInfo;return Gd=Oc(t.firstChild),Yd=e,Kd=!0,Jd=null,Xd=!1,!0}function nf(e,t,n){return Gd=Oc(t.nextSibling),Yd=e,Kd=!0,Jd=null,Xd=!1,null!==n&&function(e,t){Qd(),Ad[zd++]=Fd,Ad[zd++]=Bd,Ad[zd++]=Ud,Fd=t.id,Bd=t.overflow,Ud=e}(e,n),!0}function rf(e,t){switch(e.tag){case c:!function(e,t){t.nodeType===yn?Yu(e,t):t.nodeType===wn||Gu(e,t)}(e.stateNode.containerInfo,t);break;case f:var n=(e.mode&sa)!==ia;!function(e,t,n,r,o){(o||!0!==t[ic])&&(r.nodeType===yn?Yu(n,r):r.nodeType===wn||Gu(n,r))}(e.type,e.memoizedProps,e.stateNode,t,n);break;case w:var r=e.memoizedState;null!==r.dehydrated&&function(e,t){var n=e.parentNode;null!==n&&(t.nodeType===yn?Yu(n,t):t.nodeType===wn||Gu(n,t))}(r.dehydrated,t)}}function of(e,t){rf(e,t);var n,r=((n=sk(f,null,null,ia)).elementType="DELETED",n);r.stateNode=t,r.return=e;var o=e.deletions;null===o?(e.deletions=[r],e.flags|=Hr):o.push(r)}function af(e,t){if(!Xd)switch(e.tag){case c:var n=e.stateNode.containerInfo;switch(t.tag){case f:var r=t.type;t.pendingProps,function(e,t,n){Ku(e,t)}(n,r);break;case p:!function(e,t){Xu(e,t)}(n,t.pendingProps)}break;case f:e.type;var o=e.memoizedProps,a=e.stateNode;switch(t.tag){case f:var i=t.type;t.pendingProps;!function(e,t,n,r,o,a){(a||!0!==t[ic])&&Ku(n,r)}(0,o,a,i,0,(e.mode&sa)!==ia);break;case p:!function(e,t,n,r,o){(o||!0!==t[ic])&&Xu(n,r)}(0,o,a,t.pendingProps,(e.mode&sa)!==ia)}break;case w:var s=e.memoizedState.dehydrated;if(null!==s)switch(t.tag){case f:var l=t.type;t.pendingProps,function(e,t,n){var r=e.parentNode;null!==r&&Ku(r,t)}(s,l);break;case p:!function(e,t){var n=e.parentNode;null!==n&&Xu(n,t)}(s,t.pendingProps)}break;default:return}}function sf(e,t){t.flags=t.flags&~Jr|Wr,af(e,t)}function lf(e,t){switch(e.tag){case f:var n=e.type;e.pendingProps;var r=function(e,t,n){return e.nodeType!==yn||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}(t,n);return null!==r&&(e.stateNode=r,Yd=e,Gd=Oc(r.firstChild),!0);case p:var o=function(e,t){return""===t||e.nodeType!==bn?null:e}(t,e.pendingProps);return null!==o&&(e.stateNode=o,Yd=e,Gd=null,!0);case w:var a=function(e){return e.nodeType!==wn?null:e}(t);if(null!==a){var i={dehydrated:a,treeContext:(Qd(),null!==Ud?{id:Fd,overflow:Bd}:null),retryLane:Xa};e.memoizedState=i;var s=function(e){var t=sk(x,null,null,ia);return t.stateNode=e,t}(a);return s.return=e,e.child=s,Yd=e,Gd=null,!0}return!1;default:return!1}}function uf(e){return(e.mode&sa)!==ia&&(e.flags&Qr)===Br}function cf(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function df(e){if(Kd){var t=Gd;if(!t)return uf(e)&&(af(Yd,e),cf()),sf(Yd,e),Kd=!1,void(Yd=e);var n=t;if(!lf(e,t)){uf(e)&&(af(Yd,e),cf()),t=Lc(n);var r=Yd;if(!t||!lf(e,t))return sf(Yd,e),Kd=!1,void(Yd=e);of(r,n)}}}function ff(e){var t=e.stateNode,n=e.memoizedProps,r=function(e,t,n,r){return Wc(n,e),n.mode,function(e,t,n){return e.nodeValue!==t}(e,t)}(t,n,e);if(r){var o=Yd;if(null!==o)switch(o.tag){case c:o.stateNode.containerInfo;!function(e,t,n,r){ju(t.nodeValue,n,r,!0)}(0,t,n,(o.mode&sa)!==ia);break;case f:o.type;var a=o.memoizedProps;o.stateNode;!function(e,t,n,r,o,a){!0!==t[ic]&&ju(r.nodeValue,o,a,!0)}(0,a,0,t,n,(o.mode&sa)!==ia)}}return r}function pf(e){var t=e.memoizedState,n=null!==t?t.dehydrated:null;if(!n)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");!function(e,t){Wc(t,e)}(n,e)}function hf(e){var t=e.memoizedState,n=null!==t?t.dehydrated:null;if(!n)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return function(e){for(var t=e.nextSibling,n=0;t;){if(t.nodeType===wn){var r=t.data;if(r===lc){if(0===n)return Lc(t);n--}else r!==sc&&r!==cc&&r!==uc||n++}t=t.nextSibling}return null}(n)}function mf(e){for(var t=e.return;null!==t&&t.tag!==f&&t.tag!==c&&t.tag!==w;)t=t.return;Yd=t}function gf(e){if(e!==Yd)return!1;if(!Kd)return mf(e),Kd=!0,!1;if(e.tag!==c&&(e.tag!==f||"head"!==(n=e.type)&&"body"!==n&&!gc(e.type,e.memoizedProps))){var t=Gd;if(t)if(uf(e))vf(e),cf();else for(;t;)of(e,t),t=Lc(t)}var n;return mf(e),Gd=e.tag===w?hf(e):Yd?Lc(e.stateNode):null,!0}function vf(e){for(var t=Gd;t;)rf(e,t),t=Lc(t)}function yf(){Yd=null,Gd=null,Kd=!1,Xd=!1}function bf(){null!==Jd&&(rw(Jd),Jd=null)}function wf(){return Kd}function kf(e){null===Jd?Jd=[e]:Jd.push(e)}var Sf=n.ReactCurrentBatchConfig,_f=null;var Ef={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},xf=function(e){var t=[];return e.forEach((function(e){t.push(e)})),t.sort().join(", ")},Cf=[],Tf=[],Rf=[],Nf=[],Pf=[],Of=[],Lf=new Set;Ef.recordUnsafeLifecycleWarnings=function(e,t){Lf.has(e.type)||("function"==typeof t.componentWillMount&&!0!==t.componentWillMount.__suppressDeprecationWarning&&Cf.push(e),e.mode&ua&&"function"==typeof t.UNSAFE_componentWillMount&&Tf.push(e),"function"==typeof t.componentWillReceiveProps&&!0!==t.componentWillReceiveProps.__suppressDeprecationWarning&&Rf.push(e),e.mode&ua&&"function"==typeof t.UNSAFE_componentWillReceiveProps&&Nf.push(e),"function"==typeof t.componentWillUpdate&&!0!==t.componentWillUpdate.__suppressDeprecationWarning&&Pf.push(e),e.mode&ua&&"function"==typeof t.UNSAFE_componentWillUpdate&&Of.push(e))},Ef.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;Cf.length>0&&(Cf.forEach((function(t){e.add(gt(t)||"Component"),Lf.add(t.type)})),Cf=[]);var t=new Set;Tf.length>0&&(Tf.forEach((function(e){t.add(gt(e)||"Component"),Lf.add(e.type)})),Tf=[]);var n=new Set;Rf.length>0&&(Rf.forEach((function(e){n.add(gt(e)||"Component"),Lf.add(e.type)})),Rf=[]);var r=new Set;Nf.length>0&&(Nf.forEach((function(e){r.add(gt(e)||"Component"),Lf.add(e.type)})),Nf=[]);var i=new Set;Pf.length>0&&(Pf.forEach((function(e){i.add(gt(e)||"Component"),Lf.add(e.type)})),Pf=[]);var s=new Set;(Of.length>0&&(Of.forEach((function(e){s.add(gt(e)||"Component"),Lf.add(e.type)})),Of=[]),t.size>0)&&a("Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n\nPlease update the following components: %s",xf(t));r.size>0&&a("Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n\nPlease update the following components: %s",xf(r));s.size>0&&a("Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n\nPlease update the following components: %s",xf(s));e.size>0&&o("componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",xf(e));n.size>0&&o("componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",xf(n));i.size>0&&o("componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",xf(i))};var If=new Map,Df=new Set;function Mf(e,t){if(e&&e.defaultProps){var n=Ze({},t),r=e.defaultProps;for(var o in r)void 0===n[o]&&(n[o]=r[o]);return n}return t}Ef.recordLegacyContextWarning=function(e,t){var n=function(e){for(var t=null,n=e;null!==n;)n.mode&ua&&(t=n),n=n.return;return t}(e);if(null!==n){if(!Df.has(e.type)){var r=If.get(n);(null!=e.type.contextTypes||null!=e.type.childContextTypes||null!==t&&"function"==typeof t.getChildContext)&&(void 0===r&&(r=[],If.set(n,r)),r.push(e))}}else a("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.")},Ef.flushLegacyContextWarning=function(){If.forEach((function(e,t){if(0!==e.length){var n=e[0],r=new Set;e.forEach((function(e){r.add(gt(e)||"Component"),Df.add(e.type)}));var o=xf(r);try{_t(n),a("Legacy context API has been detected within a strict-mode tree.\n\nThe old API will be supported in all 16.x releases, but applications using it should migrate to the new version.\n\nPlease update the following components: %s\n\nLearn more about this warning here: https://reactjs.org/link/legacy-context",o)}finally{St()}}}))},Ef.discardPendingWarnings=function(){Cf=[],Tf=[],Rf=[],Nf=[],Pf=[],Of=[],If=new Map};var Af,zf=ad(null);Af={};var Uf=null,Ff=null,Bf=null,jf=!1;function Wf(){Uf=null,Ff=null,Bf=null,jf=!1}function Vf(){jf=!0}function Hf(){jf=!1}function $f(e,t,n){sd(zf,t._currentValue,e),t._currentValue=n,void 0!==t._currentRenderer&&null!==t._currentRenderer&&t._currentRenderer!==Af&&a("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=Af}function qf(e,t){var n=zf.current;id(zf,t),e._currentValue=n}function Qf(e,t,n){for(var r=e;null!==r;){var o=r.alternate;if(gi(r.childLanes,t)?null===o||gi(o.childLanes,t)||(o.childLanes=vi(o.childLanes,t)):(r.childLanes=vi(r.childLanes,t),null!==o&&(o.childLanes=vi(o.childLanes,t))),r===n)break;r=r.return}r!==n&&a("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function Yf(e,t,n){!function(e,t,n){var r=e.child;null!==r&&(r.return=e);for(;null!==r;){var o=void 0,a=r.dependencies;if(null!==a){o=r.child;for(var i=a.firstContext;null!==i;){if(i.context===t){if(r.tag===l){var s=fi(n),u=fp(Za,s);u.tag=sp;var c=r.updateQueue;if(null===c);else{var d=c.shared,f=d.pending;null===f?u.next=u:(u.next=f.next,f.next=u),d.pending=u}}r.lanes=vi(r.lanes,n);var p=r.alternate;null!==p&&(p.lanes=vi(p.lanes,n)),Qf(r.return,n,e),a.lanes=vi(a.lanes,n);break}i=i.next}}else if(r.tag===v)o=r.type===e.type?null:r.child;else if(r.tag===x){var h=r.return;if(null===h)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");h.lanes=vi(h.lanes,n);var m=h.alternate;null!==m&&(m.lanes=vi(m.lanes,n)),Qf(h,n,e),o=r.sibling}else o=r.child;if(null!==o)o.return=r;else for(o=r;null!==o;){if(o===e){o=null;break}var g=o.sibling;if(null!==g){g.return=o.return,o=g;break}o=o.return}r=o}}(e,t,n)}function Gf(e,t){Uf=e,Ff=null,Bf=null;var n=e.dependencies;null!==n&&(null!==n.firstContext&&(mi(n.lanes,t)&&Tv(),n.firstContext=null))}function Kf(e){jf&&a("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var t=e._currentValue;if(Bf===e);else{var n={context:e,memoizedValue:t,next:null};if(null===Ff){if(null===Uf)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Ff=n,Uf.dependencies={lanes:ma,firstContext:n}}else Ff=Ff.next=n}return t}var Xf=null;function Jf(e){null===Xf?Xf=[e]:Xf.push(e)}function Zf(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Jf(t)):(n.next=o.next,o.next=n),t.interleaved=n,np(e,r)}function ep(e,t){return np(e,t)}var tp=np;function np(e,t){e.lanes=vi(e.lanes,t);var n=e.alternate;null!==n&&(n.lanes=vi(n.lanes,t)),null===n&&(e.flags&(Wr|Jr))!==Br&&Aw(e);for(var r=e,o=e.return;null!==o;)o.childLanes=vi(o.childLanes,t),null!==(n=o.alternate)?n.childLanes=vi(n.childLanes,t):(o.flags&(Wr|Jr))!==Br&&Aw(e),r=o,o=o.return;return r.tag===c?r.stateNode:null}var rp,op,ap=0,ip=1,sp=2,lp=3,up=!1;function cp(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:ma},effects:null};e.updateQueue=t}function dp(e,t){var n=t.updateQueue,r=e.updateQueue;if(n===r){var o={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,effects:r.effects};t.updateQueue=o}}function fp(e,t){return{eventTime:e,lane:t,tag:ap,payload:null,callback:null,next:null}}function pp(e,t,n){var r=e.updateQueue;if(null===r)return null;var o=r.shared;if(op!==o||rp||(a("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),rp=!0),(cb&tb)!==Zy){var i=o.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),o.pending=t,tp(e,n)}return function(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Jf(t)):(n.next=o.next,o.next=n),t.interleaved=n,np(e,r)}(e,o,t,n)}function hp(e,t,n){var r=t.updateQueue;if(null!==r){var o=r.shared;if(ui(n)){var a=o.lanes,i=vi(a=bi(a,e.pendingLanes),n);o.lanes=i,_i(e,i)}}}function mp(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r){var o=r.updateQueue;if(n===o){var a=null,i=null,s=n.firstBaseUpdate;if(null!==s){var l=s;do{var u={eventTime:l.eventTime,lane:l.lane,tag:l.tag,payload:l.payload,callback:l.callback,next:null};null===i?a=i=u:(i.next=u,i=u),l=l.next}while(null!==l);null===i?a=i=t:(i.next=t,i=t)}else a=i=t;return n={baseState:o.baseState,firstBaseUpdate:a,lastBaseUpdate:i,shared:o.shared,effects:o.effects},void(e.updateQueue=n)}}var c=n.lastBaseUpdate;null===c?n.firstBaseUpdate=t:c.next=t,n.lastBaseUpdate=t}function gp(e,t,n,r,o,a){switch(n.tag){case ip:var i=n.payload;if("function"==typeof i){Vf();var s=i.call(a,r,o);if(e.mode&ua){qo(!0);try{i.call(a,r,o)}finally{qo(!1)}}return Hf(),s}return i;case lp:e.flags=e.flags&~oo|Qr;case ap:var l,u=n.payload;if("function"==typeof u){if(Vf(),l=u.call(a,r,o),e.mode&ua){qo(!0);try{u.call(a,r,o)}finally{qo(!1)}}Hf()}else l=u;return null==l?r:Ze({},r,l);case sp:return up=!0,r}return r}function vp(e,t,n,r){var o=e.updateQueue;up=!1,op=o.shared;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var l=s,u=l.next;l.next=null,null===i?a=u:i.next=u,i=l;var c=e.alternate;if(null!==c){var d=c.updateQueue,f=d.lastBaseUpdate;f!==i&&(null===f?d.firstBaseUpdate=u:f.next=u,d.lastBaseUpdate=l)}}if(null!==a){for(var p=o.baseState,h=ma,m=null,g=null,v=null,y=a;;){var b=y.lane,w=y.eventTime;if(gi(r,b)){if(null!==v){var k={eventTime:w,lane:ga,tag:y.tag,payload:y.payload,callback:y.callback,next:null};v=v.next=k}if(p=gp(e,0,y,p,t,n),null!==y.callback&&y.lane!==ga){e.flags|=qr;var S=o.effects;null===S?o.effects=[y]:S.push(y)}}else{var _={eventTime:w,lane:b,tag:y.tag,payload:y.payload,callback:y.callback,next:null};null===v?(g=v=_,m=p):v=v.next=_,h=vi(h,b)}if(null===(y=y.next)){if(null===(s=o.shared.pending))break;var E=s,x=E.next;E.next=null,y=x,o.lastBaseUpdate=E,o.shared.pending=null}}null===v&&(m=p),o.baseState=m,o.firstBaseUpdate=g,o.lastBaseUpdate=v;var C=o.shared.interleaved;if(null!==C){var T=C;do{h=vi(h,T.lane),T=T.next}while(T!==C)}else null===a&&(o.shared.lanes=ma);mw(h),e.lanes=h,e.memoizedState=p}op=null}function yp(e,t){if("function"!=typeof e)throw new Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function bp(){up=!1}function wp(){return up}function kp(e,t,n){var r=t.effects;if(t.effects=null,null!==r)for(var o=0;o<r.length;o++){var a=r[o],i=a.callback;null!==i&&(a.callback=null,yp(i,n))}}rp=!1,op=null;var Sp,_p,Ep,xp,Cp,Tp,Rp,Np,Pp,Op,Lp={},Ip=(new e.Component).refs;Sp=new Set,_p=new Set,Ep=new Set,xp=new Set,Np=new Set,Cp=new Set,Pp=new Set,Op=new Set;var Dp=new Set;function Mp(e,t,n,r){var o=e.memoizedState,a=n(r,o);if(e.mode&ua){qo(!0);try{a=n(r,o)}finally{qo(!1)}}Tp(t,a);var i=null==a?o:Ze({},o,a);(e.memoizedState=i,e.lanes===ma)&&(e.updateQueue.baseState=i)}Rp=function(e,t){if(null!==e&&"function"!=typeof e){var n=t+"_"+e;Dp.has(n)||(Dp.add(n),a("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},Tp=function(e,t){if(void 0===t){var n=ht(e)||"Component";Cp.has(n)||(Cp.add(n),a("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}},Object.defineProperty(Lp,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(Lp);var Ap,zp,Up,Fp,Bp,jp={isMounted:function(e){var t=yo.current;if(null!==t&&t.tag===l){var n=t,r=n.stateNode;r._warnedAboutRefsInRender||a("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",gt(n)||"A component"),r._warnedAboutRefsInRender=!0}var o=Fr(e);return!!o&&bo(o)===o},enqueueSetState:function(e,t,n){var r=Fr(e),o=Kb(),a=Xb(r),i=fp(o,a);i.payload=t,null!=n&&(Rp(n,"setState"),i.callback=n);var s=pp(r,i,a);null!==s&&(Zb(s,r,a,o),hp(s,r,a)),aa(r,a)},enqueueReplaceState:function(e,t,n){var r=Fr(e),o=Kb(),a=Xb(r),i=fp(o,a);i.tag=ip,i.payload=t,null!=n&&(Rp(n,"replaceState"),i.callback=n);var s=pp(r,i,a);null!==s&&(Zb(s,r,a,o),hp(s,r,a)),aa(r,a)},enqueueForceUpdate:function(e,t){var n=Fr(e),r=Kb(),o=Xb(n),a=fp(r,o);a.tag=sp,null!=t&&(Rp(t,"forceUpdate"),a.callback=t);var i=pp(n,a,o);null!==i&&(Zb(i,n,o,r),hp(i,n,o)),function(e,t){null!==Vo&&"function"==typeof Vo.markForceUpdateScheduled&&Vo.markForceUpdateScheduled(e,t)}(n,o)}};function Wp(e,t,n,r,o,i,s){var l=e.stateNode;if("function"==typeof l.shouldComponentUpdate){var u=l.shouldComponentUpdate(r,i,s);if(e.mode&ua){qo(!0);try{u=l.shouldComponentUpdate(r,i,s)}finally{qo(!1)}}return void 0===u&&a("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",ht(t)||"Component"),u}return!t.prototype||!t.prototype.isPureReactComponent||(!Rl(n,r)||!Rl(o,i))}function Vp(e,t){var n;t.updater=jp,e.stateNode=t,n=e,t._reactInternals=n,t._reactInternalInstance=Lp}function Hp(e,t,n){var r=!1,o=ld,i=ld,s=t.contextType;if("contextType"in t&&(!(null===s||void 0!==s&&s.$$typeof===De&&void 0===s._context)&&!Op.has(t))){Op.add(t);var l="";l=void 0===s?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":"object"!=typeof s?" However, it is set to a "+typeof s+".":s.$$typeof===Ie?" Did you accidentally pass the Context.Provider instead?":void 0!==s._context?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(s).join(", ")+"}.",a("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",ht(t)||"Component",l)}if("object"==typeof s&&null!==s)i=Kf(s);else{o=fd(0,t,!0);var u=t.contextTypes;i=(r=null!=u)?hd(e,o):ld}var c=new t(n,i);if(e.mode&ua){qo(!0);try{c=new t(n,i)}finally{qo(!1)}}var d=e.memoizedState=null!==c.state&&void 0!==c.state?c.state:null;if(Vp(e,c),"function"==typeof t.getDerivedStateFromProps&&null===d){var f=ht(t)||"Component";_p.has(f)||(_p.add(f),a("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",f,null===c.state?"null":"undefined",f))}if("function"==typeof t.getDerivedStateFromProps||"function"==typeof c.getSnapshotBeforeUpdate){var p=null,h=null,m=null;if("function"==typeof c.componentWillMount&&!0!==c.componentWillMount.__suppressDeprecationWarning?p="componentWillMount":"function"==typeof c.UNSAFE_componentWillMount&&(p="UNSAFE_componentWillMount"),"function"==typeof c.componentWillReceiveProps&&!0!==c.componentWillReceiveProps.__suppressDeprecationWarning?h="componentWillReceiveProps":"function"==typeof c.UNSAFE_componentWillReceiveProps&&(h="UNSAFE_componentWillReceiveProps"),"function"==typeof c.componentWillUpdate&&!0!==c.componentWillUpdate.__suppressDeprecationWarning?m="componentWillUpdate":"function"==typeof c.UNSAFE_componentWillUpdate&&(m="UNSAFE_componentWillUpdate"),null!==p||null!==h||null!==m){var g=ht(t)||"Component",v="function"==typeof t.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";xp.has(g)||(xp.add(g),a("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://reactjs.org/link/unsafe-component-lifecycles",g,v,null!==p?"\n "+p:"",null!==h?"\n "+h:"",null!==m?"\n "+m:""))}}return r&&pd(e,o,i),c}function $p(e,t,n,r){var o=t.state;if("function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==o){var i=gt(e)||"Component";Sp.has(i)||(Sp.add(i),a("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",i)),jp.enqueueReplaceState(t,t.state,null)}}function qp(e,t,n,r){!function(e,t,n){var r=e.stateNode,o=ht(t)||"Component";r.render||(t.prototype&&"function"==typeof t.prototype.render?a("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",o):a("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",o)),!r.getInitialState||r.getInitialState.isReactClassApproved||r.state||a("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",o),r.getDefaultProps&&!r.getDefaultProps.isReactClassApproved&&a("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",o),r.propTypes&&a("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",o),r.contextType&&a("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",o),r.contextTypes&&a("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",o),t.contextType&&t.contextTypes&&!Pp.has(t)&&(Pp.add(t),a("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",o)),"function"==typeof r.componentShouldUpdate&&a("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",o),t.prototype&&t.prototype.isPureReactComponent&&void 0!==r.shouldComponentUpdate&&a("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",ht(t)||"A pure component"),"function"==typeof r.componentDidUnmount&&a("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",o),"function"==typeof r.componentDidReceiveProps&&a("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",o),"function"==typeof r.componentWillRecieveProps&&a("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",o),"function"==typeof r.UNSAFE_componentWillRecieveProps&&a("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",o);var i=r.props!==n;void 0!==r.props&&i&&a("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",o,o),r.defaultProps&&a("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",o,o),"function"!=typeof r.getSnapshotBeforeUpdate||"function"==typeof r.componentDidUpdate||Ep.has(t)||(Ep.add(t),a("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",ht(t))),"function"==typeof r.getDerivedStateFromProps&&a("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",o),"function"==typeof r.getDerivedStateFromError&&a("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",o),"function"==typeof t.getSnapshotBeforeUpdate&&a("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",o);var s=r.state;s&&("object"!=typeof s||Jt(s))&&a("%s.state: must be set to an object or null",o),"function"==typeof r.getChildContext&&"object"!=typeof t.childContextTypes&&a("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",o)}(e,t,n);var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Ip,cp(e);var i=t.contextType;if("object"==typeof i&&null!==i)o.context=Kf(i);else{var s=fd(0,t,!0);o.context=hd(e,s)}if(o.state===n){var l=ht(t)||"Component";Np.has(l)||(Np.add(l),a("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",l))}e.mode&ua&&Ef.recordLegacyContextWarning(e,o),Ef.recordUnsafeLifecycleWarnings(e,o),o.state=e.memoizedState;var u=t.getDerivedStateFromProps;if("function"==typeof u&&(Mp(e,t,u,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(!function(e,t){var n=t.state;"function"==typeof t.componentWillMount&&t.componentWillMount(),"function"==typeof t.UNSAFE_componentWillMount&&t.UNSAFE_componentWillMount(),n!==t.state&&(a("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",gt(e)||"Component"),jp.enqueueReplaceState(t,t.state,null))}(e,o),vp(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount){var c=Vr;c|=lo,(e.mode&ca)!==ia&&(c|=co),e.flags|=c}}var Qp;function Yp(e,t,n){var r=n.ref;if(null!==r&&"function"!=typeof r&&"object"!=typeof r){if((e.mode&ua||F)&&(!n._owner||!n._self||n._owner.stateNode===n._self)){var o=gt(e)||"Component";Up[o]||(a('A string ref, "%s", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',r),Up[o]=!0)}if(n._owner){var i,s=n._owner;if(s){var u=s;if(u.tag!==l)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");i=u.stateNode}if(!i)throw new Error("Missing owner for string ref "+r+". This error is likely caused by a bug in React. Please file an issue.");var c=i;!function(e,t){if(X(e))a("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,K(e)),J(e)}(r,"ref");var d=""+r;if(null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===d)return t.ref;var f=function(e){var t=c.refs;t===Ip&&(t=c.refs={}),null===e?delete t[d]:t[d]=e};return f._stringRef=d,f}if("string"!=typeof r)throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!n._owner)throw new Error("Element ref was specified as a string ("+r+") but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://reactjs.org/link/refs-must-have-owner for more information.")}return r}function Gp(e,t){var n=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+("[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.")}function Kp(e){var t=gt(e)||"Component";Bp[t]||(Bp[t]=!0,a("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it."))}function Xp(e){var t=e._payload;return(0,e._init)(t)}function Jp(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=Hr):r.push(n)}}function n(n,r){if(!e)return null;for(var o=r;null!==o;)t(n,o),o=o.sibling;return null}function r(e,t){for(var n=new Map,r=t;null!==r;)null!==r.key?n.set(r.key,r):n.set(r.index,r),r=r.sibling;return n}function o(e,t){var n=uk(e,t);return n.index=0,n.sibling=null,n}function i(t,n,r){if(t.index=r,!e)return t.flags|=io,n;var o=t.alternate;if(null!==o){var a=o.index;return a<n?(t.flags|=Wr,n):a}return t.flags|=Wr,n}function s(t){return e&&null===t.alternate&&(t.flags|=Wr),t}function l(e,t,n,r){if(null===t||t.tag!==p){var a=mk(n,e.mode,r);return a.return=e,a}var i=o(t,n);return i.return=e,i}function u(e,t,n,r){var a=n.type;if(a===Pe)return f(e,t,n.props.children,r,n.key);if(null!==t&&(t.elementType===a||Xw(t,n)||"object"==typeof a&&null!==a&&a.$$typeof===Fe&&Xp(a)===t.type)){var i=o(t,n.props);return i.ref=Yp(e,t,n),i.return=e,i._debugSource=n._source,i._debugOwner=n._owner,i}var s=fk(n,e.mode,r);return s.ref=Yp(e,t,n),s.return=e,s}function c(e,t,n,r){if(null===t||t.tag!==d||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation){var a=gk(n,e.mode,r);return a.return=e,a}var i=o(t,n.children||[]);return i.return=e,i}function f(e,t,n,r,a){if(null===t||t.tag!==h){var i=pk(n,e.mode,r,a);return i.return=e,i}var s=o(t,n);return s.return=e,s}function m(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t){var r=mk(""+t,e.mode,n);return r.return=e,r}if("object"==typeof t&&null!==t){switch(t.$$typeof){case Re:var o=fk(t,e.mode,n);return o.ref=Yp(e,null,t),o.return=e,o;case Ne:var a=gk(t,e.mode,n);return a.return=e,a;case Fe:var i=t._payload;return m(e,(0,t._init)(i),n)}if(Jt(t)||$e(t)){var s=pk(t,e.mode,n,null);return s.return=e,s}Gp(0,t)}return"function"==typeof t&&Kp(e),null}function g(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case Re:return n.key===o?u(e,t,n,r):null;case Ne:return n.key===o?c(e,t,n,r):null;case Fe:var a=n._payload;return g(e,t,(0,n._init)(a),r)}if(Jt(n)||$e(n))return null!==o?null:f(e,t,n,r,null);Gp(0,n)}return"function"==typeof n&&Kp(e),null}function v(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case Re:return u(t,e.get(null===r.key?n:r.key)||null,r,o);case Ne:return c(t,e.get(null===r.key?n:r.key)||null,r,o);case Fe:var a=r._payload;return v(e,t,n,(0,r._init)(a),o)}if(Jt(r)||$e(r))return f(t,e.get(n)||null,r,o,null);Gp(0,r)}return"function"==typeof r&&Kp(t),null}function y(e,t,n){if("object"!=typeof e||null===e)return t;switch(e.$$typeof){case Re:case Ne:Qp(e,n);var r=e.key;if("string"!=typeof r)break;if(null===t){(t=new Set).add(r);break}if(!t.has(r)){t.add(r);break}a("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",r);break;case Fe:var o=e._payload;y((0,e._init)(o),t,n)}return t}return function l(u,c,f,b){if("object"==typeof f&&null!==f&&f.type===Pe&&null===f.key&&(f=f.props.children),"object"==typeof f&&null!==f){switch(f.$$typeof){case Re:return s(function(e,r,a,i){for(var s=a.key,l=r;null!==l;){if(l.key===s){var u=a.type;if(u===Pe){if(l.tag===h){n(e,l.sibling);var c=o(l,a.props.children);return c.return=e,c._debugSource=a._source,c._debugOwner=a._owner,c}}else if(l.elementType===u||Xw(l,a)||"object"==typeof u&&null!==u&&u.$$typeof===Fe&&Xp(u)===l.type){n(e,l.sibling);var d=o(l,a.props);return d.ref=Yp(e,l,a),d.return=e,d._debugSource=a._source,d._debugOwner=a._owner,d}n(e,l);break}t(e,l),l=l.sibling}if(a.type===Pe){var f=pk(a.props.children,e.mode,i,a.key);return f.return=e,f}var p=fk(a,e.mode,i);return p.ref=Yp(e,r,a),p.return=e,p}(u,c,f,b));case Ne:return s(function(e,r,a,i){for(var s=a.key,l=r;null!==l;){if(l.key===s){if(l.tag===d&&l.stateNode.containerInfo===a.containerInfo&&l.stateNode.implementation===a.implementation){n(e,l.sibling);var u=o(l,a.children||[]);return u.return=e,u}n(e,l);break}t(e,l),l=l.sibling}var c=gk(a,e.mode,i);return c.return=e,c}(u,c,f,b));case Fe:var w=f._payload;return l(u,c,(0,f._init)(w),b)}if(Jt(f))return function(o,a,s,l){for(var u=null,c=0;c<s.length;c++)u=y(s[c],u,o);for(var d=null,f=null,p=a,h=0,b=0,w=null;null!==p&&b<s.length;b++){p.index>b?(w=p,p=null):w=p.sibling;var k=g(o,p,s[b],l);if(null===k){null===p&&(p=w);break}e&&p&&null===k.alternate&&t(o,p),h=i(k,h,b),null===f?d=k:f.sibling=k,f=k,p=w}if(b===s.length)return n(o,p),wf()&&Wd(o,b),d;if(null===p){for(;b<s.length;b++){var S=m(o,s[b],l);null!==S&&(h=i(S,h,b),null===f?d=S:f.sibling=S,f=S)}return wf()&&Wd(o,b),d}for(var _=r(0,p);b<s.length;b++){var E=v(_,o,b,s[b],l);null!==E&&(e&&null!==E.alternate&&_.delete(null===E.key?b:E.key),h=i(E,h,b),null===f?d=E:f.sibling=E,f=E)}return e&&_.forEach((function(e){return t(o,e)})),wf()&&Wd(o,b),d}(u,c,f,b);if($e(f))return function(o,s,l,u){var c=$e(l);if("function"!=typeof c)throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");"function"==typeof Symbol&&"Generator"===l[Symbol.toStringTag]&&(zp||a("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),zp=!0),l.entries===c&&(Ap||a("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Ap=!0);var d=c.call(l);if(d)for(var f=null,p=d.next();!p.done;p=d.next())f=y(p.value,f,o);var h=c.call(l);if(null==h)throw new Error("An iterable object provided no iterator.");for(var b=null,w=null,k=s,S=0,_=0,E=null,x=h.next();null!==k&&!x.done;_++,x=h.next()){k.index>_?(E=k,k=null):E=k.sibling;var C=g(o,k,x.value,u);if(null===C){null===k&&(k=E);break}e&&k&&null===C.alternate&&t(o,k),S=i(C,S,_),null===w?b=C:w.sibling=C,w=C,k=E}if(x.done)return n(o,k),wf()&&Wd(o,_),b;if(null===k){for(;!x.done;_++,x=h.next()){var T=m(o,x.value,u);null!==T&&(S=i(T,S,_),null===w?b=T:w.sibling=T,w=T)}return wf()&&Wd(o,_),b}for(var R=r(0,k);!x.done;_++,x=h.next()){var N=v(R,o,_,x.value,u);null!==N&&(e&&null!==N.alternate&&R.delete(null===N.key?_:N.key),S=i(N,S,_),null===w?b=N:w.sibling=N,w=N)}return e&&R.forEach((function(e){return t(o,e)})),wf()&&Wd(o,_),b}(u,c,f,b);Gp(0,f)}return"string"==typeof f&&""!==f||"number"==typeof f?s(function(e,t,r,a){if(null!==t&&t.tag===p){n(e,t.sibling);var i=o(t,r);return i.return=e,i}n(e,t);var s=mk(r,e.mode,a);return s.return=e,s}(u,c,""+f,b)):("function"==typeof f&&Kp(u),n(u,c))}}Ap=!1,zp=!1,Up={},Fp={},Bp={},Qp=function(e,t){if(null!==e&&"object"==typeof e&&e._store&&!e._store.validated&&null==e.key){if("object"!=typeof e._store)throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var n=gt(t)||"Component";Fp[n]||(Fp[n]=!0,a('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};var Zp=Jp(!0),eh=Jp(!1);function th(e,t){for(var n=e.child;null!==n;)ck(n,t),n=n.sibling}var nh={},rh=ad(nh),oh=ad(nh),ah=ad(nh);function ih(e){if(e===nh)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function sh(){return ih(ah.current)}function lh(e,t){sd(ah,t,e),sd(oh,e,e),sd(rh,nh,e);var n=function(e){var t,n,r=e.nodeType;switch(r){case kn:case Sn:t=r===kn?"#document":"#fragment";var o=e.documentElement;n=o?o.namespaceURI:hn(null,"");break;default:var a=r===wn?e.parentNode:e;n=hn(a.namespaceURI||null,t=a.tagName)}var i=t.toLowerCase();return{namespace:n,ancestorInfo:Zu(null,i)}}(t);id(rh,e),sd(rh,n,e)}function uh(e){id(rh,e),id(oh,e),id(ah,e)}function ch(){return ih(rh.current)}function dh(e){ih(ah.current);var t,n,r,o=ih(rh.current),a=(t=o,n=e.type,{namespace:hn((r=t).namespace,n),ancestorInfo:Zu(r.ancestorInfo,n)});o!==a&&(sd(oh,e,e),sd(rh,a,e))}function fh(e){oh.current===e&&(id(rh,e),id(oh,e))}var ph=1,hh=1,mh=2,gh=ad(0);function vh(e,t){return 0!=(e&t)}function yh(e){return e&ph}function bh(e,t){return e&ph|t}function wh(e,t){sd(gh,t,e)}function kh(e){id(gh,e)}function Sh(e,t){var n=e.memoizedState;return null!==n?null!==n.dehydrated:(e.memoizedProps,!0)}function _h(e){for(var t=e;null!==t;){if(t.tag===w){var n=t.memoizedState;if(null!==n){var r=n.dehydrated;if(null===r||Nc(r)||Pc(r))return t}}else if(t.tag===C&&void 0!==t.memoizedProps.revealOrder){if((t.flags&Qr)!==Br)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)return null;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 Eh=0,xh=1,Ch=2,Th=4,Rh=8,Nh=[];function Ph(){for(var e=0;e<Nh.length;e++){Nh[e]._workInProgressVersionPrimary=null}Nh.length=0}function Oh(e,t){var n=(0,t._getVersion)(t._source);null==e.mutableSourceEagerHydrationData?e.mutableSourceEagerHydrationData=[t,n]:e.mutableSourceEagerHydrationData.push(t,n)}var Lh,Ih,Dh=n.ReactCurrentDispatcher,Mh=n.ReactCurrentBatchConfig;Lh=new Set;var Ah=ma,zh=null,Uh=null,Fh=null,Bh=!1,jh=!1,Wh=0,Vh=0,Hh=25,$h=null,qh=null,Qh=-1,Yh=!1;function Gh(){var e=$h;null===qh?qh=[e]:qh.push(e)}function Kh(){var e=$h;null!==qh&&(Qh++,qh[Qh]!==e&&function(e){var t=gt(zh);if(!Lh.has(t)&&(Lh.add(t),null!==qh)){for(var n="",r=30,o=0;o<=Qh;o++){for(var i=qh[o],s=o===Qh?e:i,l=o+1+". "+i;l.length<r;)l+=" ";n+=l+=s+"\n"}a("React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks\n\n Previous render Next render\n ------------------------------------------------------\n%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n",t,n)}}(e))}function Xh(e){null==e||Jt(e)||a("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",$h,typeof e)}function Jh(){throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.")}function Zh(e,t){if(Yh)return!1;if(null===t)return a("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",$h),!1;e.length!==t.length&&a("The final argument passed to %s changed size between renders. The order and size of this array must remain constant.\n\nPrevious: %s\nIncoming: %s",$h,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!Tl(e[n],t[n]))return!1;return!0}function em(e,t,n,r,o,i){Ah=i,zh=t,qh=null!==e?e._debugHookTypes:null,Qh=-1,Yh=null!==e&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=ma,null!==e&&null!==e.memoizedState?Dh.current=ig:Dh.current=null!==qh?ag:og;var s=n(r,o);if(jh){var l=0;do{if(jh=!1,Wh=0,l>=Hh)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");l+=1,Yh=!1,Uh=null,Fh=null,t.updateQueue=null,Qh=-1,Dh.current=sg,s=n(r,o)}while(jh)}Dh.current=rg,t._debugHookTypes=qh;var u=null!==Uh&&null!==Uh.next;if(Ah=ma,zh=null,Uh=null,Fh=null,$h=null,qh=null,Qh=-1,null!==e&&(e.flags&vo)!=(t.flags&vo)&&(e.mode&sa)!==ia&&a("Internal React error: Expected static flag was missing. Please notify the React team."),Bh=!1,u)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return s}function tm(){var e=0!==Wh;return Wh=0,e}function nm(e,t,n){t.updateQueue=e.updateQueue,(t.mode&ca)!==ia?t.flags&=~(fo|co|Xr|Vr):t.flags&=~(Xr|Vr),e.lanes=yi(e.lanes,n)}function rm(){if(Dh.current=rg,Bh){for(var e=zh.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}Bh=!1}Ah=ma,zh=null,Uh=null,Fh=null,qh=null,Qh=-1,$h=null,Ym=!1,jh=!1,Wh=0}function om(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Fh?zh.memoizedState=Fh=e:Fh=Fh.next=e,Fh}function am(){var e,t;if(null===Uh){var n=zh.alternate;e=null!==n?n.memoizedState:null}else e=Uh.next;if(null!==(t=null===Fh?zh.memoizedState:Fh.next))t=(Fh=t).next,Uh=e;else{if(null===e)throw new Error("Rendered more hooks than during the previous render.");var r={memoizedState:(Uh=e).memoizedState,baseState:Uh.baseState,baseQueue:Uh.baseQueue,queue:Uh.queue,next:null};null===Fh?zh.memoizedState=Fh=r:Fh=Fh.next=r}return Fh}function im(e,t){return"function"==typeof t?t(e):t}function sm(e,t,n){var r,o=om();r=void 0!==n?n(t):t,o.memoizedState=o.baseState=r;var a={pending:null,interleaved:null,lanes:ma,dispatch:null,lastRenderedReducer:e,lastRenderedState:r};o.queue=a;var i=a.dispatch=Xm.bind(null,zh,a);return[o.memoizedState,i]}function lm(e,t,n){var r=am(),o=r.queue;if(null===o)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");o.lastRenderedReducer=e;var i=Uh,s=i.baseQueue,l=o.pending;if(null!==l){if(null!==s){var u=s.next,c=l.next;s.next=c,l.next=u}i.baseQueue!==s&&a("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),i.baseQueue=s=l,o.pending=null}if(null!==s){var d=s.next,f=i.baseState,p=null,h=null,m=null,g=d;do{var v=g.lane;if(gi(Ah,v)){if(null!==m){var y={lane:ga,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null};m=m.next=y}if(g.hasEagerState)f=g.eagerState;else f=e(f,g.action)}else{var b={lane:v,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null};null===m?(h=m=b,p=f):m=m.next=b,zh.lanes=vi(zh.lanes,v),mw(v)}g=g.next}while(null!==g&&g!==d);null===m?p=f:m.next=h,Tl(f,r.memoizedState)||Tv(),r.memoizedState=f,r.baseState=p,r.baseQueue=m,o.lastRenderedState=f}var w=o.interleaved;if(null!==w){var k=w;do{var S=k.lane;zh.lanes=vi(zh.lanes,S),mw(S),k=k.next}while(k!==w)}else null===s&&(o.lanes=ma);var _=o.dispatch;return[r.memoizedState,_]}function um(e,t,n){var r=am(),o=r.queue;if(null===o)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");o.lastRenderedReducer=e;var a=o.dispatch,i=o.pending,s=r.memoizedState;if(null!==i){o.pending=null;var l=i.next,u=l;do{s=e(s,u.action),u=u.next}while(u!==l);Tl(s,r.memoizedState)||Tv(),r.memoizedState=s,null===r.baseQueue&&(r.baseState=s),o.lastRenderedState=s}return[s,a]}function cm(e,t,n){var r,o=zh,i=om();if(wf()){if(void 0===n)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");r=n(),Ih||r!==n()&&(a("The result of getServerSnapshot should be cached to avoid an infinite loop"),Ih=!0)}else{if(r=t(),!Ih){var s=t();Tl(r,s)||(a("The result of getSnapshot should be cached to avoid an infinite loop"),Ih=!0)}var l=Gb();if(null===l)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");li(0,Ah)||fm(o,t,r)}i.memoizedState=r;var u={value:r,getSnapshot:t};return i.queue=u,xm(hm.bind(null,o,u,e),[e]),o.flags|=Xr,wm(xh|Rh,pm.bind(null,o,u,r,t),void 0,null),r}function dm(e,t,n){var r=zh,o=am(),i=t();if(!Ih){var s=t();Tl(i,s)||(a("The result of getSnapshot should be cached to avoid an infinite loop"),Ih=!0)}var l=o.memoizedState,u=!Tl(l,i);u&&(o.memoizedState=i,Tv());var c=o.queue;if(Cm(hm.bind(null,r,c,e),[e]),c.getSnapshot!==t||u||null!==Fh&&Fh.memoizedState.tag&xh){r.flags|=Xr,wm(xh|Rh,pm.bind(null,r,c,i,t),void 0,null);var d=Gb();if(null===d)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");li(0,Ah)||fm(r,t,i)}return i}function fm(e,t,n){e.flags|=eo;var r={getSnapshot:t,value:n},o=zh.updateQueue;if(null===o)o={lastEffect:null,stores:null},zh.updateQueue=o,o.stores=[r];else{var a=o.stores;null===a?o.stores=[r]:a.push(r)}}function pm(e,t,n,r){t.value=n,t.getSnapshot=r,mm(t)&&gm(e)}function hm(e,t,n){return n((function(){mm(t)&&gm(e)}))}function mm(e){var t=e.getSnapshot,n=e.value;try{var r=t();return!Tl(n,r)}catch(e){return!0}}function gm(e){var t=ep(e,va);null!==t&&Zb(t,e,va,Za)}function vm(e){var t=om();"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e;var n={pending:null,interleaved:null,lanes:ma,dispatch:null,lastRenderedReducer:im,lastRenderedState:e};t.queue=n;var r=n.dispatch=Jm.bind(null,zh,n);return[t.memoizedState,r]}function ym(e){return lm(im)}function bm(e){return um(im)}function wm(e,t,n,r){var o={tag:e,create:t,destroy:n,deps:r,next:null},a=zh.updateQueue;if(null===a)a={lastEffect:null,stores:null},zh.updateQueue=a,a.lastEffect=o.next=o;else{var i=a.lastEffect;if(null===i)a.lastEffect=o.next=o;else{var s=i.next;i.next=o,o.next=s,a.lastEffect=o}}return o}function km(e){var t={current:e};return om().memoizedState=t,t}function Sm(e){return am().memoizedState}function _m(e,t,n,r){var o=om(),a=void 0===r?null:r;zh.flags|=e,o.memoizedState=wm(xh|t,n,void 0,a)}function Em(e,t,n,r){var o=am(),a=void 0===r?null:r,i=void 0;if(null!==Uh){var s=Uh.memoizedState;if(i=s.destroy,null!==a)if(Zh(a,s.deps))return void(o.memoizedState=wm(t,n,i,a))}zh.flags|=e,o.memoizedState=wm(xh|t,n,i,a)}function xm(e,t){return(zh.mode&ca)!==ia?_m(fo|Xr|uo,Rh,e,t):_m(Xr|uo,Rh,e,t)}function Cm(e,t){return Em(Xr,Rh,e,t)}function Tm(e,t){return _m(Vr,Ch,e,t)}function Rm(e,t){return Em(Vr,Ch,e,t)}function Nm(e,t){var n=Vr;return n|=lo,(zh.mode&ca)!==ia&&(n|=co),_m(n,Th,e,t)}function Pm(e,t){return Em(Vr,Th,e,t)}function Om(e,t){if("function"==typeof t){var n=t,r=e();return n(r),function(){n(null)}}if(null!=t){var o=t;o.hasOwnProperty("current")||a("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(o).join(", ")+"}");var i=e();return o.current=i,function(){o.current=null}}}function Lm(e,t,n){"function"!=typeof t&&a("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",null!==t?typeof t:"null");var r=null!=n?n.concat([e]):null,o=Vr;return o|=lo,(zh.mode&ca)!==ia&&(o|=co),_m(o,Th,Om.bind(null,t,e),r)}function Im(e,t,n){"function"!=typeof t&&a("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",null!==t?typeof t:"null");var r=null!=n?n.concat([e]):null;return Em(Vr,Th,Om.bind(null,t,e),r)}function Dm(e,t){}var Mm=Dm;function Am(e,t){var n=void 0===t?null:t;return om().memoizedState=[e,n],e}function zm(e,t){var n=am(),r=void 0===t?null:t,o=n.memoizedState;if(null!==o&&(null!==r&&Zh(r,o[1])))return o[0];return n.memoizedState=[e,r],e}function Um(e,t){var n=om(),r=void 0===t?null:t,o=e();return n.memoizedState=[o,r],o}function Fm(e,t){var n=am(),r=void 0===t?null:t,o=n.memoizedState;if(null!==o&&(null!==r&&Zh(r,o[1])))return o[0];var a=e();return n.memoizedState=[a,r],a}function Bm(e){return om().memoizedState=e,e}function jm(e){return Vm(am(),Uh.memoizedState,e)}function Wm(e){var t=am();return null===Uh?(t.memoizedState=e,e):Vm(t,Uh.memoizedState,e)}function Vm(e,t,n){if(!((Ah&(va|ba|ka))===ma)){if(!Tl(n,t)){var r=ci();zh.lanes=vi(zh.lanes,r),mw(r),e.baseState=!0}return t}return e.baseState&&(e.baseState=!1,Tv()),e.memoizedState=n,n}function Hm(e,t,n){var r=Ai();zi(function(e,t){return 0!==e&&e<t?e:t}(r,Li)),e(!0);var a=Mh.transition;Mh.transition={};var i=Mh.transition;Mh.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(zi(r),Mh.transition=a,null===a&&i._updatedFibers)i._updatedFibers.size>10&&o("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),i._updatedFibers.clear()}}function $m(){var e=vm(!1),t=e[0],n=e[1],r=Hm.bind(null,n);return om().memoizedState=r,[t,r]}function qm(){return[ym()[0],am().memoizedState]}function Qm(){return[bm()[0],am().memoizedState]}var Ym=!1;function Gm(){var e,t=om(),n=Gb().identifierPrefix;if(wf()){e=":"+n+"R"+jd();var r=Wh++;r>0&&(e+="H"+r.toString(32)),e+=":"}else{e=":"+n+"r"+(Vh++).toString(32)+":"}return t.memoizedState=e,e}function Km(){return am().memoizedState}function Xm(e,t,n){"function"==typeof arguments[3]&&a("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var r=Xb(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Zm(e))eg(t,o);else{var i=Zf(e,t,o,r);if(null!==i)Zb(i,e,r,Kb()),tg(i,t,r)}ng(e,r)}function Jm(e,t,n){"function"==typeof arguments[3]&&a("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var r=Xb(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Zm(e))eg(t,o);else{var i=e.alternate;if(e.lanes===ma&&(null===i||i.lanes===ma)){var s=t.lastRenderedReducer;if(null!==s){var l;l=Dh.current,Dh.current=ug;try{var u=t.lastRenderedState,c=s(u,n);if(o.hasEagerState=!0,o.eagerState=c,Tl(c,u))return void function(e,t,n,r){var o=t.interleaved;null===o?(n.next=n,Jf(t)):(n.next=o.next,o.next=n),t.interleaved=n}(0,t,o)}catch(e){}finally{Dh.current=l}}}var d=Zf(e,t,o,r);if(null!==d)Zb(d,e,r,Kb()),tg(d,t,r)}ng(e,r)}function Zm(e){var t=e.alternate;return e===zh||null!==t&&t===zh}function eg(e,t){jh=Bh=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function tg(e,t,n){if(ui(n)){var r=t.lanes,o=vi(r=bi(r,e.pendingLanes),n);t.lanes=o,_i(e,o)}}function ng(e,t,n){aa(e,t)}var rg={readContext:Kf,useCallback:Jh,useContext:Jh,useEffect:Jh,useImperativeHandle:Jh,useInsertionEffect:Jh,useLayoutEffect:Jh,useMemo:Jh,useReducer:Jh,useRef:Jh,useState:Jh,useDebugValue:Jh,useDeferredValue:Jh,useTransition:Jh,useMutableSource:Jh,useSyncExternalStore:Jh,useId:Jh,unstable_isNewReconciler:I},og=null,ag=null,ig=null,sg=null,lg=null,ug=null,cg=null,dg=function(){a("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},fg=function(){a("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};og={readContext:function(e){return Kf(e)},useCallback:function(e,t){return $h="useCallback",Gh(),Xh(t),Am(e,t)},useContext:function(e){return $h="useContext",Gh(),Kf(e)},useEffect:function(e,t){return $h="useEffect",Gh(),Xh(t),xm(e,t)},useImperativeHandle:function(e,t,n){return $h="useImperativeHandle",Gh(),Xh(n),Lm(e,t,n)},useInsertionEffect:function(e,t){return $h="useInsertionEffect",Gh(),Xh(t),Tm(e,t)},useLayoutEffect:function(e,t){return $h="useLayoutEffect",Gh(),Xh(t),Nm(e,t)},useMemo:function(e,t){$h="useMemo",Gh(),Xh(t);var n=Dh.current;Dh.current=lg;try{return Um(e,t)}finally{Dh.current=n}},useReducer:function(e,t,n){$h="useReducer",Gh();var r=Dh.current;Dh.current=lg;try{return sm(e,t,n)}finally{Dh.current=r}},useRef:function(e){return $h="useRef",Gh(),km(e)},useState:function(e){$h="useState",Gh();var t=Dh.current;Dh.current=lg;try{return vm(e)}finally{Dh.current=t}},useDebugValue:function(e,t){$h="useDebugValue",Gh()},useDeferredValue:function(e){return $h="useDeferredValue",Gh(),Bm(e)},useTransition:function(){return $h="useTransition",Gh(),$m()},useMutableSource:function(e,t,n){$h="useMutableSource",Gh()},useSyncExternalStore:function(e,t,n){return $h="useSyncExternalStore",Gh(),cm(e,t,n)},useId:function(){return $h="useId",Gh(),Gm()},unstable_isNewReconciler:I},ag={readContext:function(e){return Kf(e)},useCallback:function(e,t){return $h="useCallback",Kh(),Am(e,t)},useContext:function(e){return $h="useContext",Kh(),Kf(e)},useEffect:function(e,t){return $h="useEffect",Kh(),xm(e,t)},useImperativeHandle:function(e,t,n){return $h="useImperativeHandle",Kh(),Lm(e,t,n)},useInsertionEffect:function(e,t){return $h="useInsertionEffect",Kh(),Tm(e,t)},useLayoutEffect:function(e,t){return $h="useLayoutEffect",Kh(),Nm(e,t)},useMemo:function(e,t){$h="useMemo",Kh();var n=Dh.current;Dh.current=lg;try{return Um(e,t)}finally{Dh.current=n}},useReducer:function(e,t,n){$h="useReducer",Kh();var r=Dh.current;Dh.current=lg;try{return sm(e,t,n)}finally{Dh.current=r}},useRef:function(e){return $h="useRef",Kh(),km(e)},useState:function(e){$h="useState",Kh();var t=Dh.current;Dh.current=lg;try{return vm(e)}finally{Dh.current=t}},useDebugValue:function(e,t){$h="useDebugValue",Kh()},useDeferredValue:function(e){return $h="useDeferredValue",Kh(),Bm(e)},useTransition:function(){return $h="useTransition",Kh(),$m()},useMutableSource:function(e,t,n){$h="useMutableSource",Kh()},useSyncExternalStore:function(e,t,n){return $h="useSyncExternalStore",Kh(),cm(e,t,n)},useId:function(){return $h="useId",Kh(),Gm()},unstable_isNewReconciler:I},ig={readContext:function(e){return Kf(e)},useCallback:function(e,t){return $h="useCallback",Kh(),zm(e,t)},useContext:function(e){return $h="useContext",Kh(),Kf(e)},useEffect:function(e,t){return $h="useEffect",Kh(),Cm(e,t)},useImperativeHandle:function(e,t,n){return $h="useImperativeHandle",Kh(),Im(e,t,n)},useInsertionEffect:function(e,t){return $h="useInsertionEffect",Kh(),Rm(e,t)},useLayoutEffect:function(e,t){return $h="useLayoutEffect",Kh(),Pm(e,t)},useMemo:function(e,t){$h="useMemo",Kh();var n=Dh.current;Dh.current=ug;try{return Fm(e,t)}finally{Dh.current=n}},useReducer:function(e,t,n){$h="useReducer",Kh();var r=Dh.current;Dh.current=ug;try{return lm(e)}finally{Dh.current=r}},useRef:function(e){return $h="useRef",Kh(),Sm()},useState:function(e){$h="useState",Kh();var t=Dh.current;Dh.current=ug;try{return ym()}finally{Dh.current=t}},useDebugValue:function(e,t){return $h="useDebugValue",Kh(),Mm()},useDeferredValue:function(e){return $h="useDeferredValue",Kh(),jm(e)},useTransition:function(){return $h="useTransition",Kh(),qm()},useMutableSource:function(e,t,n){$h="useMutableSource",Kh()},useSyncExternalStore:function(e,t,n){return $h="useSyncExternalStore",Kh(),dm(e,t)},useId:function(){return $h="useId",Kh(),Km()},unstable_isNewReconciler:I},sg={readContext:function(e){return Kf(e)},useCallback:function(e,t){return $h="useCallback",Kh(),zm(e,t)},useContext:function(e){return $h="useContext",Kh(),Kf(e)},useEffect:function(e,t){return $h="useEffect",Kh(),Cm(e,t)},useImperativeHandle:function(e,t,n){return $h="useImperativeHandle",Kh(),Im(e,t,n)},useInsertionEffect:function(e,t){return $h="useInsertionEffect",Kh(),Rm(e,t)},useLayoutEffect:function(e,t){return $h="useLayoutEffect",Kh(),Pm(e,t)},useMemo:function(e,t){$h="useMemo",Kh();var n=Dh.current;Dh.current=cg;try{return Fm(e,t)}finally{Dh.current=n}},useReducer:function(e,t,n){$h="useReducer",Kh();var r=Dh.current;Dh.current=cg;try{return um(e)}finally{Dh.current=r}},useRef:function(e){return $h="useRef",Kh(),Sm()},useState:function(e){$h="useState",Kh();var t=Dh.current;Dh.current=cg;try{return bm()}finally{Dh.current=t}},useDebugValue:function(e,t){return $h="useDebugValue",Kh(),Mm()},useDeferredValue:function(e){return $h="useDeferredValue",Kh(),Wm(e)},useTransition:function(){return $h="useTransition",Kh(),Qm()},useMutableSource:function(e,t,n){$h="useMutableSource",Kh()},useSyncExternalStore:function(e,t,n){return $h="useSyncExternalStore",Kh(),dm(e,t)},useId:function(){return $h="useId",Kh(),Km()},unstable_isNewReconciler:I},lg={readContext:function(e){return dg(),Kf(e)},useCallback:function(e,t){return $h="useCallback",fg(),Gh(),Am(e,t)},useContext:function(e){return $h="useContext",fg(),Gh(),Kf(e)},useEffect:function(e,t){return $h="useEffect",fg(),Gh(),xm(e,t)},useImperativeHandle:function(e,t,n){return $h="useImperativeHandle",fg(),Gh(),Lm(e,t,n)},useInsertionEffect:function(e,t){return $h="useInsertionEffect",fg(),Gh(),Tm(e,t)},useLayoutEffect:function(e,t){return $h="useLayoutEffect",fg(),Gh(),Nm(e,t)},useMemo:function(e,t){$h="useMemo",fg(),Gh();var n=Dh.current;Dh.current=lg;try{return Um(e,t)}finally{Dh.current=n}},useReducer:function(e,t,n){$h="useReducer",fg(),Gh();var r=Dh.current;Dh.current=lg;try{return sm(e,t,n)}finally{Dh.current=r}},useRef:function(e){return $h="useRef",fg(),Gh(),km(e)},useState:function(e){$h="useState",fg(),Gh();var t=Dh.current;Dh.current=lg;try{return vm(e)}finally{Dh.current=t}},useDebugValue:function(e,t){$h="useDebugValue",fg(),Gh()},useDeferredValue:function(e){return $h="useDeferredValue",fg(),Gh(),Bm(e)},useTransition:function(){return $h="useTransition",fg(),Gh(),$m()},useMutableSource:function(e,t,n){$h="useMutableSource",fg(),Gh()},useSyncExternalStore:function(e,t,n){return $h="useSyncExternalStore",fg(),Gh(),cm(e,t,n)},useId:function(){return $h="useId",fg(),Gh(),Gm()},unstable_isNewReconciler:I},ug={readContext:function(e){return dg(),Kf(e)},useCallback:function(e,t){return $h="useCallback",fg(),Kh(),zm(e,t)},useContext:function(e){return $h="useContext",fg(),Kh(),Kf(e)},useEffect:function(e,t){return $h="useEffect",fg(),Kh(),Cm(e,t)},useImperativeHandle:function(e,t,n){return $h="useImperativeHandle",fg(),Kh(),Im(e,t,n)},useInsertionEffect:function(e,t){return $h="useInsertionEffect",fg(),Kh(),Rm(e,t)},useLayoutEffect:function(e,t){return $h="useLayoutEffect",fg(),Kh(),Pm(e,t)},useMemo:function(e,t){$h="useMemo",fg(),Kh();var n=Dh.current;Dh.current=ug;try{return Fm(e,t)}finally{Dh.current=n}},useReducer:function(e,t,n){$h="useReducer",fg(),Kh();var r=Dh.current;Dh.current=ug;try{return lm(e)}finally{Dh.current=r}},useRef:function(e){return $h="useRef",fg(),Kh(),Sm()},useState:function(e){$h="useState",fg(),Kh();var t=Dh.current;Dh.current=ug;try{return ym()}finally{Dh.current=t}},useDebugValue:function(e,t){return $h="useDebugValue",fg(),Kh(),Mm()},useDeferredValue:function(e){return $h="useDeferredValue",fg(),Kh(),jm(e)},useTransition:function(){return $h="useTransition",fg(),Kh(),qm()},useMutableSource:function(e,t,n){$h="useMutableSource",fg(),Kh()},useSyncExternalStore:function(e,t,n){return $h="useSyncExternalStore",fg(),Kh(),dm(e,t)},useId:function(){return $h="useId",fg(),Kh(),Km()},unstable_isNewReconciler:I},cg={readContext:function(e){return dg(),Kf(e)},useCallback:function(e,t){return $h="useCallback",fg(),Kh(),zm(e,t)},useContext:function(e){return $h="useContext",fg(),Kh(),Kf(e)},useEffect:function(e,t){return $h="useEffect",fg(),Kh(),Cm(e,t)},useImperativeHandle:function(e,t,n){return $h="useImperativeHandle",fg(),Kh(),Im(e,t,n)},useInsertionEffect:function(e,t){return $h="useInsertionEffect",fg(),Kh(),Rm(e,t)},useLayoutEffect:function(e,t){return $h="useLayoutEffect",fg(),Kh(),Pm(e,t)},useMemo:function(e,t){$h="useMemo",fg(),Kh();var n=Dh.current;Dh.current=ug;try{return Fm(e,t)}finally{Dh.current=n}},useReducer:function(e,t,n){$h="useReducer",fg(),Kh();var r=Dh.current;Dh.current=ug;try{return um(e)}finally{Dh.current=r}},useRef:function(e){return $h="useRef",fg(),Kh(),Sm()},useState:function(e){$h="useState",fg(),Kh();var t=Dh.current;Dh.current=ug;try{return bm()}finally{Dh.current=t}},useDebugValue:function(e,t){return $h="useDebugValue",fg(),Kh(),Mm()},useDeferredValue:function(e){return $h="useDeferredValue",fg(),Kh(),Wm(e)},useTransition:function(){return $h="useTransition",fg(),Kh(),Qm()},useMutableSource:function(e,t,n){$h="useMutableSource",fg(),Kh()},useSyncExternalStore:function(e,t,n){return $h="useSyncExternalStore",fg(),Kh(),dm(e,t)},useId:function(){return $h="useId",fg(),Kh(),Km()},unstable_isNewReconciler:I};var pg=t.unstable_now,hg=0,mg=-1,gg=-1,vg=-1,yg=!1,bg=!1;function wg(){return yg}function kg(){return hg}function Sg(){hg=pg()}function _g(e){gg=pg(),e.actualStartTime<0&&(e.actualStartTime=pg())}function Eg(e){gg=-1}function xg(e,t){if(gg>=0){var n=pg()-gg;e.actualDuration+=n,t&&(e.selfBaseDuration=n),gg=-1}}function Cg(e){if(mg>=0){var t=pg()-mg;mg=-1;for(var n=e.return;null!==n;){switch(n.tag){case c:return void(n.stateNode.effectDuration+=t);case b:return void(n.stateNode.effectDuration+=t)}n=n.return}}}function Tg(e){if(vg>=0){var t=pg()-vg;vg=-1;for(var n=e.return;null!==n;){switch(n.tag){case c:var r=n.stateNode;return void(null!==r&&(r.passiveEffectDuration+=t));case b:var o=n.stateNode;return void(null!==o&&(o.passiveEffectDuration+=t))}n=n.return}}}function Rg(){mg=pg()}function Ng(){vg=pg()}function Pg(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Og(e,t){return{value:e,source:t,stack:ft(t),digest:null}}function Lg(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function Ig(e,t){try{0;var n=t.value,r=t.source,o=t.stack,a=null!==o?o:"";if(null!=n&&n._suppressLogging){if(e.tag===l)return;console.error(n)}var i=r?gt(r):null,s=(i?"The above error occurred in the <"+i+"> component:":"The above error occurred in one of your React components:")+"\n"+a+"\n\n"+(e.tag===c?"Consider adding an error boundary to your tree to customize error handling behavior.\nVisit https://reactjs.org/link/error-boundaries to learn more about error boundaries.":"React will try to recreate this component tree from scratch using the error boundary you provided, "+(gt(e)||"Anonymous")+".");console.error(s)}catch(e){setTimeout((function(){throw e}))}}var Dg="function"==typeof WeakMap?WeakMap:Map;function Mg(e,t,n){var r=fp(Za,n);r.tag=lp,r.payload={element:null};var o=t.value;return r.callback=function(){xw(o),Ig(e,t)},r}function Ag(e,t,n){var r=fp(Za,n);r.tag=lp;var o=e.type.getDerivedStateFromError;if("function"==typeof o){var i=t.value;r.payload=function(){return o(i)},r.callback=function(){Jw(e),Ig(e,t)}}var s=e.stateNode;return null!==s&&"function"==typeof s.componentDidCatch&&(r.callback=function(){var n;Jw(e),Ig(e,t),"function"!=typeof o&&(n=this,null===Lb?Lb=new Set([n]):Lb.add(n));var r=t.value,i=t.stack;this.componentDidCatch(r,{componentStack:null!==i?i:""}),"function"!=typeof o&&(mi(e.lanes,va)||a("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",gt(e)||"Unknown"))}),r}function zg(e,t,n){var r,o=e.pingCache;if(null===o?(o=e.pingCache=new Dg,r=new Set,o.set(t,r)):void 0===(r=o.get(t))&&(r=new Set,o.set(t,r)),!r.has(n)){r.add(n);var a=Rw.bind(null,e,t,n);$o&&Fw(e,n),t.then(a,a)}}function Ug(e){var t=e;do{if(t.tag===w&&Sh(t))return t;t=t.return}while(null!==t);return null}function Fg(e,t,n,r,o){if((e.mode&sa)===ia){if(e===t)e.flags|=oo;else{if(e.flags|=Qr,n.flags|=ao,n.flags&=~(to|ro),n.tag===l)if(null===n.alternate)n.tag=E;else{var a=fp(Za,va);a.tag=sp,pp(n,a,va)}n.lanes=vi(n.lanes,va)}return e}return e.flags|=oo,e.lanes=o,e}function Bg(e,t,n,r,o){if(n.flags|=ro,$o&&Fw(e,o),null!==r&&"object"==typeof r&&"function"==typeof r.then){var a=r;!function(e,t){var n=e.tag;if((e.mode&sa)===ia&&(n===s||n===y||n===S)){var r=e.alternate;r?(e.updateQueue=r.updateQueue,e.memoizedState=r.memoizedState,e.lanes=r.lanes):(e.updateQueue=null,e.memoizedState=null)}}(n),wf()&&n.mode&sa&&ef();var i=Ug(t);if(null!==i)return i.flags&=~Yr,Fg(i,t,n,0,o),i.mode&sa&&zg(e,a,o),void function(e,t,n,r){var o=e.updateQueue;if(null===o){var a=new Set;a.add(n),e.updateQueue=a}else o.add(n)}(i,0,a);if((o&va)===ma)return zg(e,a,o),void gw();r=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.")}else if(wf()&&n.mode&sa){ef();var u=Ug(t);if(null!==u)return(u.flags&oo)===Br&&(u.flags|=Yr),Fg(u,t,n,0,o),void kf(Og(r,n))}!function(e){gb!==sb&&(gb=ab);null===kb?kb=[e]:kb.push(e)}(r=Og(r,n));var d=t;do{switch(d.tag){case c:var f=r;d.flags|=oo;var p=fi(o);return d.lanes=vi(d.lanes,p),void mp(d,Mg(d,f,p));case l:var h=r,m=d.type,g=d.stateNode;if((d.flags&Qr)===Br&&("function"==typeof m.getDerivedStateFromError||null!==g&&"function"==typeof g.componentDidCatch&&!Ew(g))){d.flags|=oo;var v=fi(o);return d.lanes=vi(d.lanes,v),void mp(d,Ag(d,h,v))}}d=d.return}while(null!==d)}var jg,Wg,Vg,Hg,$g,qg,Qg,Yg,Gg=n.ReactCurrentOwner,Kg=!1;function Xg(e,t,n,r){t.child=null===e?eh(t,null,n,r):Zp(t,e.child,n,r)}function Jg(e,t,n,r,o){if(t.type!==t.elementType){var a=n.propTypes;a&&ed(a,r,"prop",ht(n))}var i,s,l=n.render,u=t.ref;if(Gf(t,o),Ko(t),Gg.current=t,Et(!0),i=em(e,t,l,r,u,o),s=tm(),t.mode&ua){qo(!0);try{i=em(e,t,l,r,u,o),s=tm()}finally{qo(!1)}}return Et(!1),Xo(),null===e||Kg?(wf()&&s&&Hd(t),t.flags|=jr,Xg(e,t,i,o),t.child):(nm(e,t,o),Nv(e,t,o))}function Zg(e,t,n,r,o){if(null===e){var a=n.type;if(function(e){return"function"==typeof e&&!lk(e)&&void 0===e.defaultProps}(a)&&null===n.compare&&void 0===n.defaultProps){var i;return i=Yw(a),t.tag=S,t.type=i,uv(t,a),ev(e,t,i,r,o)}var s=a.propTypes;s&&ed(s,r,"prop",ht(a));var l=dk(n.type,null,r,t,t.mode,o);return l.ref=t.ref,l.return=t,t.child=l,l}var u=n.type,c=u.propTypes;c&&ed(c,r,"prop",ht(u));var d=e.child;if(!Pv(e,o)){var f=d.memoizedProps,p=n.compare;if((p=null!==p?p:Rl)(f,r)&&e.ref===t.ref)return Nv(e,t,o)}t.flags|=jr;var h=uk(d,r);return h.ref=t.ref,h.return=t,t.child=h,h}function ev(e,t,n,r,o){if(t.type!==t.elementType){var a=t.elementType;if(a.$$typeof===Fe){var i=a,s=i._payload,l=i._init;try{a=l(s)}catch(e){a=null}var u=a&&a.propTypes;u&&ed(u,r,"prop",ht(a))}}if(null!==e){var c=e.memoizedProps;if(Rl(c,r)&&e.ref===t.ref&&t.type===e.type){if(Kg=!1,t.pendingProps=r=c,!Pv(e,o))return t.lanes=e.lanes,Nv(e,t,o);(e.flags&ao)!==Br&&(Kg=!0)}}return rv(e,t,n,r,o)}function tv(e,t,n){var r,o=t.pendingProps,a=o.children,i=null!==e?e.memoizedState:null;if("hidden"===o.mode||M)if((t.mode&sa)===ia){var s={baseLanes:ma,cachePool:null,transitions:null};t.memoizedState=s,uw(t,n)}else{if(!mi(n,Xa)){var l;if(null!==i)l=vi(i.baseLanes,n);else l=n;t.lanes=t.childLanes=Xa;var u={baseLanes:l,cachePool:null,transitions:null};return t.memoizedState=u,t.updateQueue=null,uw(t,l),null}var c={baseLanes:ma,cachePool:null,transitions:null};t.memoizedState=c,uw(t,null!==i?i.baseLanes:n)}else null!==i?(r=vi(i.baseLanes,n),t.memoizedState=null):r=n,uw(t,r);return Xg(e,t,a,n),t.child}function nv(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=Gr,t.flags|=so)}function rv(e,t,n,r,o){if(t.type!==t.elementType){var a=n.propTypes;a&&ed(a,r,"prop",ht(n))}var i,s,l;if(i=hd(t,fd(0,n,!0)),Gf(t,o),Ko(t),Gg.current=t,Et(!0),s=em(e,t,n,r,i,o),l=tm(),t.mode&ua){qo(!0);try{s=em(e,t,n,r,i,o),l=tm()}finally{qo(!1)}}return Et(!1),Xo(),null===e||Kg?(wf()&&l&&Hd(t),t.flags|=jr,Xg(e,t,s,o),t.child):(nm(e,t,o),Nv(e,t,o))}function ov(e,t,n,r,o){switch(Lk(t)){case!1:var i=t.stateNode,s=new(0,t.type)(t.memoizedProps,i.context).state;i.updater.enqueueSetState(i,s,null);break;case!0:t.flags|=Qr,t.flags|=oo;var l=new Error("Simulated error coming from DevTools"),u=fi(o);t.lanes=vi(t.lanes,u),mp(t,Ag(t,Og(l,t),u))}if(t.type!==t.elementType){var c=n.propTypes;c&&ed(c,r,"prop",ht(n))}var d,f;gd(n)?(d=!0,kd(t)):d=!1,Gf(t,o),null===t.stateNode?(Rv(e,t),Hp(t,n,r),qp(t,n,r,o),f=!0):f=null===e?function(e,t,n,r){var o=e.stateNode,a=e.memoizedProps;o.props=a;var i=o.context,s=t.contextType,l=ld;l="object"==typeof s&&null!==s?Kf(s):hd(e,fd(0,t,!0));var u=t.getDerivedStateFromProps,c="function"==typeof u||"function"==typeof o.getSnapshotBeforeUpdate;c||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||a===n&&i===l||$p(e,o,n,l),bp();var d=e.memoizedState,f=o.state=d;if(vp(e,n,o,r),f=e.memoizedState,a===n&&d===f&&!md()&&!wp()){if("function"==typeof o.componentDidMount){var p=Vr;p|=lo,(e.mode&ca)!==ia&&(p|=co),e.flags|=p}return!1}"function"==typeof u&&(Mp(e,t,u,n),f=e.memoizedState);var h=wp()||Wp(e,t,a,n,d,f,l);if(h){if(c||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount){var m=Vr;m|=lo,(e.mode&ca)!==ia&&(m|=co),e.flags|=m}}else{if("function"==typeof o.componentDidMount){var g=Vr;g|=lo,(e.mode&ca)!==ia&&(g|=co),e.flags|=g}e.memoizedProps=n,e.memoizedState=f}return o.props=n,o.state=f,o.context=l,h}(t,n,r,o):function(e,t,n,r,o){var a=t.stateNode;dp(e,t);var i=t.memoizedProps,s=t.type===t.elementType?i:Mf(t.type,i);a.props=s;var l=t.pendingProps,u=a.context,c=n.contextType,d=ld;d="object"==typeof c&&null!==c?Kf(c):hd(t,fd(0,n,!0));var f=n.getDerivedStateFromProps,p="function"==typeof f||"function"==typeof a.getSnapshotBeforeUpdate;p||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||i===l&&u===d||$p(t,a,r,d),bp();var h=t.memoizedState,m=a.state=h;if(vp(t,r,a,o),m=t.memoizedState,i===l&&h===m&&!md()&&!wp()&&!D)return"function"==typeof a.componentDidUpdate&&(i===e.memoizedProps&&h===e.memoizedState||(t.flags|=Vr)),"function"==typeof a.getSnapshotBeforeUpdate&&(i===e.memoizedProps&&h===e.memoizedState||(t.flags|=Kr)),!1;"function"==typeof f&&(Mp(t,n,f,r),m=t.memoizedState);var g=wp()||Wp(t,n,s,r,h,m,d)||D;return g?(p||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,m,d),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,m,d)),"function"==typeof a.componentDidUpdate&&(t.flags|=Vr),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=Kr)):("function"==typeof a.componentDidUpdate&&(i===e.memoizedProps&&h===e.memoizedState||(t.flags|=Vr)),"function"==typeof a.getSnapshotBeforeUpdate&&(i===e.memoizedProps&&h===e.memoizedState||(t.flags|=Kr)),t.memoizedProps=r,t.memoizedState=m),a.props=r,a.state=m,a.context=d,g}(e,t,n,r,o);var p=av(e,t,n,f,d,o),h=t.stateNode;return f&&h.props!==r&&(qg||a("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",gt(t)||"a component"),qg=!0),p}function av(e,t,n,r,o,a){nv(e,t);var i=(t.flags&Qr)!==Br;if(!r&&!i)return o&&Sd(t,n,!1),Nv(e,t,a);var s,l=t.stateNode;if(Gg.current=t,i&&"function"!=typeof n.getDerivedStateFromError)s=null,Eg();else{if(Ko(t),Et(!0),s=l.render(),t.mode&ua){qo(!0);try{l.render()}finally{qo(!1)}}Et(!1),Xo()}return t.flags|=jr,null!==e&&i?function(e,t,n,r){t.child=Zp(t,e.child,null,r),t.child=Zp(t,null,n,r)}(e,t,s,a):Xg(e,t,s,a),t.memoizedState=l.state,o&&Sd(t,n,!0),t.child}function iv(e){var t=e.stateNode;t.pendingContext?bd(e,t.pendingContext,t.pendingContext!==t.context):t.context&&bd(e,t.context,!1),lh(e,t.containerInfo)}function sv(e,t,n,r,o){return yf(),kf(o),t.flags|=Yr,Xg(e,t,n,r),t.child}function lv(e,t,n,r){Rv(e,t);var o=t.pendingProps,a=n,i=a._payload,c=(0,a._init)(i);t.type=c;var d=t.tag=function(e){if("function"==typeof e)return lk(e)?l:s;if(null!=e){var t=e.$$typeof;if(t===Me)return y;if(t===Ue)return k}return u}(c),f=Mf(c,o);switch(d){case s:return uv(t,c),t.type=c=Yw(c),rv(null,t,c,f,r);case l:return t.type=c=Gw(c),ov(null,t,c,f,r);case y:return t.type=c=Kw(c),Jg(null,t,c,f,r);case k:if(t.type!==t.elementType){var p=c.propTypes;p&&ed(p,f,"prop",ht(c))}return Zg(null,t,c,Mf(c.type,f),r)}var h="";throw null!==c&&"object"==typeof c&&c.$$typeof===Fe&&(h=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+c+". Lazy element type must resolve to a class or function."+h)}function uv(e,t){if(t&&t.childContextTypes&&a("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),null!==e.ref){var n="",r=wt();r&&(n+="\n\nCheck the render method of `"+r+"`.");var o=r||"",i=e._debugSource;i&&(o=i.fileName+":"+i.lineNumber),$g[o]||($g[o]=!0,a("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",n))}if("function"==typeof t.getDerivedStateFromProps){var s=ht(t)||"Unknown";Hg[s]||(a("%s: Function components do not support getDerivedStateFromProps.",s),Hg[s]=!0)}if("object"==typeof t.contextType&&null!==t.contextType){var l=ht(t)||"Unknown";Vg[l]||(a("%s: Function components do not support contextType.",l),Vg[l]=!0)}}jg={},Wg={},Vg={},Hg={},$g={},qg=!1,Qg={},Yg={};var cv={dehydrated:null,treeContext:null,retryLane:ga};function dv(e){return{baseLanes:e,cachePool:null,transitions:null}}function fv(e,t,n){var r=t.pendingProps;Ik(t)&&(t.flags|=Qr);var o=gh.current,i=!1,s=(t.flags&Qr)!==Br;if(s||function(e,t,n,r){return(null===t||null!==t.memoizedState)&&vh(e,mh)}(o,e)?(i=!0,t.flags&=~Qr):null!==e&&null===e.memoizedState||(o=o|hh),wh(t,o=yh(o)),null===e){df(t);var l=t.memoizedState;if(null!==l){var u=l.dehydrated;if(null!==u)return function(e,t,n){(e.mode&sa)===ia?(a("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=va):Pc(t)?e.lanes=wa:e.lanes=Xa;return null}(t,u)}var c=r.children,d=r.fallback;if(i){var f=function(e,t,n,r){var o,a,i=e.mode,s=e.child,l={mode:"hidden",children:t};(i&sa)===ia&&null!==s?((o=s).childLanes=ma,o.pendingProps=l,e.mode&la&&(o.actualDuration=0,o.actualStartTime=-1,o.selfBaseDuration=0,o.treeBaseDuration=0),a=pk(n,i,r,null)):(o=hv(l,i),a=pk(n,i,r,null));return o.return=e,a.return=e,o.sibling=a,e.child=o,a}(t,c,d,n);return t.child.memoizedState=dv(n),t.memoizedState=cv,f}return pv(t,c)}var p=e.memoizedState;if(null!==p){var h=p.dehydrated;if(null!==h)return function(e,t,n,r,o,a,i){if(n){if(t.flags&Yr)return t.flags&=~Yr,gv(e,t,i,Lg(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering.")));if(null!==t.memoizedState)return t.child=e.child,t.flags|=Qr,null;var s=function(e,t,n,r,o){var a=t.mode,i={mode:"visible",children:n},s=hv(i,a),l=pk(r,a,o,null);l.flags|=Wr,s.return=t,l.return=t,s.sibling=l,t.child=s,(t.mode&sa)!==ia&&Zp(t,e.child,null,o);return l}(e,t,r.children,r.fallback,i);return t.child.memoizedState=dv(i),t.memoizedState=cv,s}if(Zd(),(t.mode&sa)===ia)return gv(e,t,i,null);if(Pc(o)){var l,u,c,d=function(e){var t,n,r,o=e.nextSibling&&e.nextSibling.dataset;return o&&(t=o.dgst,n=o.msg,r=o.stck),{message:n,digest:t,stack:r}}(o);return l=d.digest,u=d.message,c=d.stack,gv(e,t,i,Lg(u?new Error(u):new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),l,c))}var f=mi(i,e.childLanes);if(Kg||f){var p=Gb();if(null!==p){var h=function(e,t){var n;switch(di(t)){case ba:n=ya;break;case ka:n=wa;break;case Ea:case xa:case Ca:case Ta:case Ra:case Na:case Pa:case Oa:case La:case Ia:case Da:case Ma:case Aa:case za:case Ua:case Fa:case ja:case Wa:case Va:case Ha:case $a:n=Sa;break;case Ka:n=Ga;break;default:n=ga}return(n&(e.suspendedLanes|t))!==ga?ga:n}(p,i);if(h!==ga&&h!==a.retryLane){a.retryLane=h;var m=Za;ep(e,h),Zb(p,e,h,m)}}return gw(),gv(e,t,i,Lg(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition.")))}if(Nc(o)){t.flags|=Qr,t.child=e.child;var g=Pw.bind(null,e);return y=g,o._reactRetry=y,null}nf(t,o,a.treeContext);var v=pv(t,r.children);return v.flags|=Jr,v;var y}(e,t,s,r,h,p,n)}if(i){var m=r.fallback,g=function(e,t,n,r,o){var a,i,s=t.mode,l=e.child,u=l.sibling,c={mode:"hidden",children:n};if((s&sa)===ia&&t.child!==l){(a=t.child).childLanes=ma,a.pendingProps=c,t.mode&la&&(a.actualDuration=0,a.actualStartTime=-1,a.selfBaseDuration=l.selfBaseDuration,a.treeBaseDuration=l.treeBaseDuration),t.deletions=null}else(a=mv(l,c)).subtreeFlags=l.subtreeFlags&vo;null!==u?i=uk(u,r):(i=pk(r,s,o,null)).flags|=Wr;return i.return=t,a.return=t,a.sibling=i,t.child=a,i}(e,t,r.children,m,n),v=t.child,y=e.child.memoizedState;return v.memoizedState=null===y?dv(n):function(e,t){return{baseLanes:vi(e.baseLanes,t),cachePool:null,transitions:e.transitions}}(y,n),v.childLanes=function(e,t){return yi(e.childLanes,t)}(e,n),t.memoizedState=cv,g}var b=function(e,t,n,r){var o=e.child,a=o.sibling,i=mv(o,{mode:"visible",children:n});(t.mode&sa)===ia&&(i.lanes=r);if(i.return=t,i.sibling=null,null!==a){var s=t.deletions;null===s?(t.deletions=[a],t.flags|=Hr):s.push(a)}return t.child=i,i}(e,t,r.children,n);return t.memoizedState=null,b}function pv(e,t,n){var r=hv({mode:"visible",children:t},e.mode);return r.return=e,e.child=r,r}function hv(e,t,n){return hk(e,t,ma,null)}function mv(e,t){return uk(e,t)}function gv(e,t,n,r){null!==r&&kf(r),Zp(t,e.child,null,n);var o=pv(t,t.pendingProps.children);return o.flags|=Wr,t.memoizedState=null,o}function vv(e,t,n){e.lanes=vi(e.lanes,t);var r=e.alternate;null!==r&&(r.lanes=vi(r.lanes,t)),Qf(e.return,t,n)}function yv(e,t){var n=Jt(e),r=!n&&"function"==typeof $e(e);if(n||r){var o=n?"array":"iterable";return a("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",o,t,o),!1}return!0}function bv(e,t,n,r,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o)}function wv(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail,s=r.children;!function(e){if(void 0!==e&&"forwards"!==e&&"backwards"!==e&&"together"!==e&&!Qg[e])if(Qg[e]=!0,"string"==typeof e)switch(e.toLowerCase()){case"together":case"forwards":case"backwards":a('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break;case"forward":case"backward":a('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break;default:a('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}else a('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}(o),function(e,t){void 0===e||Yg[e]||("collapsed"!==e&&"hidden"!==e?(Yg[e]=!0,a('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):"forwards"!==t&&"backwards"!==t&&(Yg[e]=!0,a('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}(i,o),function(e,t){if(("forwards"===t||"backwards"===t)&&null!=e&&!1!==e)if(Jt(e)){for(var n=0;n<e.length;n++)if(!yv(e[n],n))return}else{var r=$e(e);if("function"==typeof r){var o=r.call(e);if(o)for(var i=o.next(),s=0;!i.done;i=o.next()){if(!yv(i.value,s))return;s++}}else a('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}(s,o),Xg(e,t,s,n);var l=gh.current;vh(l,mh)?(l=bh(l,mh),t.flags|=Qr):(null!==e&&(e.flags&Qr)!==Br&&function(e,t,n){for(var r=t;null!==r;){if(r.tag===w)null!==r.memoizedState&&vv(r,n,e);else if(r.tag===C)vv(r,n,e);else if(null!==r.child){r.child.return=r,r=r.child;continue}if(r===e)return;for(;null===r.sibling;){if(null===r.return||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}}(t,t.child,n),l=yh(l));if(wh(t,l),(t.mode&sa)===ia)t.memoizedState=null;else switch(o){case"forwards":var u,c=function(e){for(var t=e,n=null;null!==t;){var r=t.alternate;null!==r&&null===_h(r)&&(n=t),t=t.sibling}return n}(t.child);null===c?(u=t.child,t.child=null):(u=c.sibling,c.sibling=null),bv(t,!1,u,c,i);break;case"backwards":var d=null,f=t.child;for(t.child=null;null!==f;){var p=f.alternate;if(null!==p&&null===_h(p)){t.child=f;break}var h=f.sibling;f.sibling=d,d=f,f=h}bv(t,!0,d,null,i);break;case"together":bv(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}var kv=!1;var Sv,_v,Ev,xv,Cv=!1;function Tv(){Kg=!0}function Rv(e,t){(t.mode&sa)===ia&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=Wr)}function Nv(e,t,n){return null!==e&&(t.dependencies=e.dependencies),Eg(),mw(t.lanes),mi(n,t.childLanes)?(function(e,t){if(null!==e&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(null!==t.child){var n=t.child,r=uk(n,n.pendingProps);for(t.child=r,r.return=t;null!==n.sibling;)n=n.sibling,(r=r.sibling=uk(n,n.pendingProps)).return=t;r.sibling=null}}(e,t),t.child):null}function Pv(e,t){return!!mi(e.lanes,t)}function Ov(e,t,n){if(t._debugNeedsRemount&&null!==e)return function(e,t,n){var r=t.return;if(null===r)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,t===r.child)r.child=n;else{var o=r.child;if(null===o)throw new Error("Expected parent to have a child.");for(;o.sibling!==t;)if(null===(o=o.sibling))throw new Error("Expected to find the previous sibling.");o.sibling=n}var a=r.deletions;return null===a?(r.deletions=[e],r.flags|=Hr):a.push(e),n.flags|=Wr,n}(e,t,dk(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(null!==e)if(e.memoizedProps!==t.pendingProps||md()||t.type!==e.type)Kg=!0;else{if(!Pv(e,n)&&(t.flags&Qr)===Br)return Kg=!1,function(e,t,n){switch(t.tag){case c:iv(t),t.stateNode,yf();break;case f:dh(t);break;case l:gd(t.type)&&kd(t);break;case d:lh(t,t.stateNode.containerInfo);break;case v:var r=t.memoizedProps.value;$f(t,t.type._context,r);break;case b:mi(n,t.childLanes)&&(t.flags|=Vr);var o=t.stateNode;o.effectDuration=0,o.passiveEffectDuration=0;break;case w:var a=t.memoizedState;if(null!==a){if(null!==a.dehydrated)return wh(t,yh(gh.current)),t.flags|=Qr,null;if(mi(n,t.child.childLanes))return fv(e,t,n);wh(t,yh(gh.current));var i=Nv(e,t,n);return null!==i?i.sibling:null}wh(t,yh(gh.current));break;case C:var s=(e.flags&Qr)!==Br,u=mi(n,t.childLanes);if(s){if(u)return wv(e,t,n);t.flags|=Qr}var p=t.memoizedState;if(null!==p&&(p.rendering=null,p.tail=null,p.lastEffect=null),wh(t,gh.current),u)break;return null;case R:case N:return t.lanes=ma,tv(e,t,n)}return Nv(e,t,n)}(e,t,n);Kg=(e.flags&ao)!==Br}else if(Kg=!1,wf()&&function(e){return Qd(),(e.flags&io)!==Br}(t)){var r=t.index;Vd(t,(Qd(),Md),r)}switch(t.lanes=ma,t.tag){case u:return function(e,t,n,r){Rv(e,t);var o,i,u,c=t.pendingProps;if(o=hd(t,fd(0,n,!1)),Gf(t,r),Ko(t),n.prototype&&"function"==typeof n.prototype.render){var d=ht(n)||"Unknown";jg[d]||(a("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",d,d),jg[d]=!0)}if(t.mode&ua&&Ef.recordLegacyContextWarning(t,null),Et(!0),Gg.current=t,i=em(null,t,n,c,o,r),u=tm(),Et(!1),Xo(),t.flags|=jr,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){var f=ht(n)||"Unknown";Wg[f]||(a("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",f,f,f),Wg[f]=!0)}if("object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){var p=ht(n)||"Unknown";Wg[p]||(a("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",p,p,p),Wg[p]=!0),t.tag=l,t.memoizedState=null,t.updateQueue=null;var h=!1;return gd(n)?(h=!0,kd(t)):h=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,cp(t),Vp(t,i),qp(t,n,c,r),av(null,t,n,!0,h,r)}if(t.tag=s,t.mode&ua){qo(!0);try{i=em(null,t,n,c,o,r),u=tm()}finally{qo(!1)}}return wf()&&u&&Hd(t),Xg(null,t,i,r),uv(t,n),t.child}(e,t,t.type,n);case _:return lv(e,t,t.elementType,n);case s:var o=t.type,i=t.pendingProps;return rv(e,t,o,t.elementType===o?i:Mf(o,i),n);case l:var x=t.type,P=t.pendingProps;return ov(e,t,x,t.elementType===x?P:Mf(x,P),n);case c:return function(e,t,n){if(iv(t),null===e)throw new Error("Should have a current fiber. This is a bug in React.");var r=t.pendingProps,o=t.memoizedState,a=o.element;dp(e,t),vp(t,r,null,n);var i=t.memoizedState;t.stateNode;var s=i.element;if(o.isDehydrated){var l={element:s,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions};if(t.updateQueue.baseState=l,t.memoizedState=l,t.flags&Yr)return sv(e,t,s,n,Og(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),t));if(s!==a)return sv(e,t,s,n,Og(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t));tf(t);var u=eh(t,null,s,n);t.child=u;for(var c=u;c;)c.flags=c.flags&~Wr|Jr,c=c.sibling}else{if(yf(),s===a)return Nv(e,t,n);Xg(e,t,s,n)}return t.child}(e,t,n);case f:return function(e,t,n){dh(t),null===e&&df(t);var r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,i=o.children;return gc(r,o)?i=null:null!==a&&gc(r,a)&&(t.flags|=$r),nv(e,t),Xg(e,t,i,n),t.child}(e,t,n);case p:return function(e,t){return null===e&&df(t),null}(e,t);case w:return fv(e,t,n);case d:return function(e,t,n){lh(t,t.stateNode.containerInfo);var r=t.pendingProps;return null===e?t.child=Zp(t,null,r,n):Xg(e,t,r,n),t.child}(e,t,n);case y:var O=t.type,L=t.pendingProps;return Jg(e,t,O,t.elementType===O?L:Mf(O,L),n);case h:return function(e,t,n){return Xg(e,t,t.pendingProps,n),t.child}(e,t,n);case m:return function(e,t,n){return Xg(e,t,t.pendingProps.children,n),t.child}(e,t,n);case b:return function(e,t,n){t.flags|=Vr;var r=t.stateNode;return r.effectDuration=0,r.passiveEffectDuration=0,Xg(e,t,t.pendingProps.children,n),t.child}(e,t,n);case v:return function(e,t,n){var r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value;"value"in o||kv||(kv=!0,a("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var l=t.type.propTypes;if(l&&ed(l,o,"prop","Context.Provider"),$f(t,r,s),null!==i){var u=i.value;if(Tl(u,s)){if(i.children===o.children&&!md())return Nv(e,t,n)}else Yf(t,r,n)}return Xg(e,t,o.children,n),t.child}(e,t,n);case g:return function(e,t,n){var r=t.type;void 0===r._context?r!==r.Consumer&&(Cv||(Cv=!0,a("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):r=r._context;var o=t.pendingProps.children;"function"!=typeof o&&a("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),Gf(t,n);var i,s=Kf(r);return Ko(t),Gg.current=t,Et(!0),i=o(s),Et(!1),Xo(),t.flags|=jr,Xg(e,t,i,n),t.child}(e,t,n);case k:var I=t.type,D=Mf(I,t.pendingProps);if(t.type!==t.elementType){var M=I.propTypes;M&&ed(M,D,"prop",ht(I))}return Zg(e,t,I,D=Mf(I.type,D),n);case S:return ev(e,t,t.type,t.pendingProps,n);case E:var A=t.type,z=t.pendingProps;return function(e,t,n,r,o){var a;return Rv(e,t),t.tag=l,gd(n)?(a=!0,kd(t)):a=!1,Gf(t,o),Hp(t,n,r),qp(t,n,r,o),av(null,t,n,!0,a,o)}(e,t,A,t.elementType===A?z:Mf(A,z),n);case C:return wv(e,t,n);case T:break;case R:return tv(e,t,n)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Lv(e){e.flags|=Vr}function Iv(e){e.flags|=Gr,e.flags|=so}function Dv(e,t){if(!wf())switch(e.tailMode){case"hidden":for(var n=e.tail,r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":for(var o=e.tail,a=null;null!==o;)null!==o.alternate&&(a=o),o=o.sibling;null===a?t||null===e.tail?e.tail=null:e.tail.sibling=null:a.sibling=null}}function Mv(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=ma,r=Br;if(t){if((e.mode&la)!==ia){for(var o=e.selfBaseDuration,a=e.child;null!==a;)n=vi(n,vi(a.lanes,a.childLanes)),r|=a.subtreeFlags&vo,r|=a.flags&vo,o+=a.treeBaseDuration,a=a.sibling;e.treeBaseDuration=o}else for(var i=e.child;null!==i;)n=vi(n,vi(i.lanes,i.childLanes)),r|=i.subtreeFlags&vo,r|=i.flags&vo,i.return=e,i=i.sibling;e.subtreeFlags|=r}else{if((e.mode&la)!==ia){for(var s=e.actualDuration,l=e.selfBaseDuration,u=e.child;null!==u;)n=vi(n,vi(u.lanes,u.childLanes)),r|=u.subtreeFlags,r|=u.flags,s+=u.actualDuration,l+=u.treeBaseDuration,u=u.sibling;e.actualDuration=s,e.treeBaseDuration=l}else for(var c=e.child;null!==c;)n=vi(n,vi(c.lanes,c.childLanes)),r|=c.subtreeFlags,r|=c.flags,c.return=e,c=c.sibling;e.subtreeFlags|=r}return e.childLanes=n,t}function Av(e,t,n){if(Kd&&null!==Gd&&(t.mode&sa)!==ia&&(t.flags&Qr)===Br)return vf(t),yf(),t.flags|=Yr|ro|oo,!1;var r=gf(t);if(null!==n&&null!==n.dehydrated){if(null===e){if(!r)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(pf(t),Mv(t),(t.mode&la)!==ia)if(null!==n){var o=t.child;null!==o&&(t.treeBaseDuration-=o.treeBaseDuration)}return!1}if(yf(),(t.flags&Qr)===Br&&(t.memoizedState=null),t.flags|=Vr,Mv(t),(t.mode&la)!==ia&&null!==n){var a=t.child;null!==a&&(t.treeBaseDuration-=a.treeBaseDuration)}return!1}return bf(),!0}function zv(e,t,n){var r=t.pendingProps;switch(qd(t),t.tag){case u:case _:case S:case s:case y:case h:case m:case b:case g:case k:return Mv(t),null;case l:return gd(t.type)&&vd(t),Mv(t),null;case c:var o=t.stateNode;if(uh(t),yd(t),Ph(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),null===e||null===e.child)if(gf(t))Lv(t);else if(null!==e)e.memoizedState.isDehydrated&&(t.flags&Yr)===Br||(t.flags|=Kr,bf());return _v(e,t),Mv(t),null;case f:fh(t);var a=sh(),i=t.type;if(null!==e&&null!=t.stateNode)Ev(e,t,i,r,a),e.ref!==t.ref&&Iv(t);else{if(!r){if(null===t.stateNode)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Mv(t),null}var x=ch();if(gf(t))(function(e,t,n){var r=e.stateNode,o=!Xd,a=Ic(r,e.type,e.memoizedProps,0,n,e,o);return e.updateQueue=a,null!==a})(t,0,x)&&Lv(t);else{var L=mc(i,r,a,x,t);Sv(L,t,!1,!1),t.stateNode=L,function(e,t,n,r,o){switch($u(e,t,n),t){case"button":case"input":case"select":case"textarea":return!!n.autoFocus;case"img":return!0;default:return!1}}(L,i,r)&&Lv(t)}null!==t.ref&&Iv(t)}return Mv(t),null;case p:var I=r;if(e&&null!=t.stateNode){var D=e.memoizedProps;xv(e,t,D,I)}else{if("string"!=typeof I&&null===t.stateNode)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var z=sh(),U=ch();gf(t)?ff(t)&&Lv(t):t.stateNode=vc(I,z,U,t)}return Mv(t),null;case w:kh(t);var F=t.memoizedState;if(null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated)if(!Av(e,t,F))return t.flags&oo?t:null;if((t.flags&Qr)!==Br)return t.lanes=n,(t.mode&la)!==ia&&Pg(t),t;var B=null!==F;if(B!==(null!==e&&null!==e.memoizedState))if(B)if(t.child.flags|=Zr,(t.mode&sa)!==ia)null===e&&(!0!==t.memoizedProps.unstable_avoidThisFallback||!A)||vh(gh.current,hh)?gb===rb&&(gb=ib):gw();if(null!==t.updateQueue&&(t.flags|=Vr),Mv(t),(t.mode&la)!==ia&&B){var j=t.child;null!==j&&(t.treeBaseDuration-=j.treeBaseDuration)}return null;case d:return uh(t),_v(e,t),null===e&&mu(t.stateNode.containerInfo),Mv(t),null;case v:return qf(t.type._context,t),Mv(t),null;case E:return gd(t.type)&&vd(t),Mv(t),null;case C:kh(t);var W=t.memoizedState;if(null===W)return Mv(t),null;var V=(t.flags&Qr)!==Br,H=W.rendering;if(null===H)if(V)Dv(W,!1);else{if(!(gb===rb&&(null===e||(e.flags&Qr)===Br)))for(var $=t.child;null!==$;){var q=_h($);if(null!==q){V=!0,t.flags|=Qr,Dv(W,!1);var Q=q.updateQueue;return null!==Q&&(t.updateQueue=Q,t.flags|=Vr),t.subtreeFlags=Br,th(t,n),wh(t,bh(gh.current,mh)),t.child}$=$.sibling}null!==W.tail&&Lo()>Nb()&&(t.flags|=Qr,V=!0,Dv(W,!1),t.lanes=qa)}else{if(!V){var Y=_h(H);if(null!==Y){t.flags|=Qr,V=!0;var G=Y.updateQueue;if(null!==G&&(t.updateQueue=G,t.flags|=Vr),Dv(W,!0),null===W.tail&&"hidden"===W.tailMode&&!H.alternate&&!wf())return Mv(t),null}else 2*Lo()-W.renderingStartTime>Nb()&&n!==Xa&&(t.flags|=Qr,V=!0,Dv(W,!1),t.lanes=qa)}if(W.isBackwards)H.sibling=t.child,t.child=H;else{var K=W.last;null!==K?K.sibling=H:t.child=H,W.last=H}}if(null!==W.tail){var X=W.tail;W.rendering=X,W.tail=X.sibling,W.renderingStartTime=Lo(),X.sibling=null;var J=gh.current;return wh(t,J=V?bh(J,mh):yh(J)),X}return Mv(t),null;case T:break;case R:case N:cw(t);var Z=null!==t.memoizedState;if(null!==e)null!==e.memoizedState===Z||M||(t.flags|=Zr);return Z&&(t.mode&sa)!==ia?mi(hb,Xa)&&(Mv(t),t.subtreeFlags&(Wr|Vr)&&(t.flags|=Zr)):Mv(t),null;case P:case O:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Uv(e,t,n){switch(qd(t),t.tag){case l:gd(t.type)&&vd(t);var r=t.flags;return r&oo?(t.flags=r&~oo|Qr,(t.mode&la)!==ia&&Pg(t),t):null;case c:t.stateNode,uh(t),yd(t),Ph();var o=t.flags;return(o&oo)!==Br&&(o&Qr)===Br?(t.flags=o&~oo|Qr,t):null;case f:return fh(t),null;case w:kh(t);var a=t.memoizedState;if(null!==a&&null!==a.dehydrated){if(null===t.alternate)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");yf()}var i=t.flags;return i&oo?(t.flags=i&~oo|Qr,(t.mode&la)!==ia&&Pg(t),t):null;case C:return kh(t),null;case d:return uh(t),null;case v:return qf(t.type._context,t),null;case R:case N:return cw(t),null;default:return null}}function Fv(e,t,n){switch(qd(t),t.tag){case l:var r=t.type.childContextTypes;null!=r&&vd(t);break;case c:t.stateNode,uh(t),yd(t),Ph();break;case f:fh(t);break;case d:uh(t);break;case w:case C:kh(t);break;case v:qf(t.type._context,t);break;case R:case N:cw(t)}}Sv=function(e,t,n,r){for(var o,a,i=t.child;null!==i;){if(i.tag===f||i.tag===p)o=e,a=i.stateNode,o.appendChild(a);else if(i.tag===d);else if(null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)return;for(;null===i.sibling;){if(null===i.return||i.return===t)return;i=i.return}i.sibling.return=i.return,i=i.sibling}},_v=function(e,t){},Ev=function(e,t,n,r,o){var a=e.memoizedProps;if(a!==r){var i=function(e,t,n,r,o,a){var i=a;if(typeof r.children!=typeof n.children&&("string"==typeof r.children||"number"==typeof r.children)){var s=""+r.children,l=Zu(i.ancestorInfo,t);Ju(null,s,l)}return qu(e,t,n,r)}(t.stateNode,n,a,r,0,ch());t.updateQueue=i,i&&Lv(t)}},xv=function(e,t,n,r){n!==r&&Lv(t)};var Bv=null;Bv=new Set;var jv=!1,Wv=!1,Vv="function"==typeof WeakSet?WeakSet:Set,Hv=null,$v=null,qv=null;var Qv=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&la)try{Rg(),t.componentWillUnmount()}finally{Cg(e)}else t.componentWillUnmount()};function Yv(e,t){try{oy(Th,e)}catch(n){Tw(e,t,n)}}function Gv(e,t,n){try{Qv(e,n)}catch(n){Tw(e,t,n)}}function Kv(e,t){try{ly(e)}catch(n){Tw(e,t,n)}}function Xv(e,t){var n=e.ref;if(null!==n)if("function"==typeof n){var r;try{if(j&&W&&e.mode&la)try{Rg(),r=n(null)}finally{Cg(e)}else r=n(null)}catch(n){Tw(e,t,n)}"function"==typeof r&&a("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",gt(e))}else n.current=null}function Jv(e,t,n){try{n()}catch(n){Tw(e,t,n)}}var Zv=!1;function ey(e,t){hc(e.containerInfo),Hv=t,function(){for(;null!==Hv;){var e=Hv,t=e.child;(e.subtreeFlags&po)!==Br&&null!==t?(t.return=e,Hv=t):ty()}}();var n=Zv;return Zv=!1,n}function ty(){for(;null!==Hv;){var e=Hv;_t(e);try{ny(e)}catch(t){Tw(e,e.return,t)}St();var t=e.sibling;if(null!==t)return t.return=e.return,void(Hv=t);Hv=e.return}}function ny(e){var t,n=e.alternate;if((e.flags&Kr)!==Br){switch(_t(e),e.tag){case s:case y:case S:break;case l:if(null!==n){var r=n.memoizedProps,o=n.memoizedState,i=e.stateNode;e.type!==e.elementType||qg||(i.props!==e.memoizedProps&&a("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",gt(e)||"instance"),i.state!==e.memoizedState&&a("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",gt(e)||"instance"));var u=i.getSnapshotBeforeUpdate(e.elementType===e.type?r:Mf(e.type,r),o),h=Bv;void 0!==u||h.has(e.type)||(h.add(e.type),a("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",gt(e))),i.__reactInternalSnapshotBeforeUpdate=u}break;case c:var m=e.stateNode;(t=m.containerInfo).nodeType===yn?t.textContent="":t.nodeType===kn&&t.documentElement&&t.removeChild(t.documentElement);break;case f:case p:case d:case E:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}St()}}function ry(e,t,n){var r,o=t.updateQueue,a=null!==o?o.lastEffect:null;if(null!==a){var i=a.next,s=i;do{if((s.tag&e)===e){var l=s.destroy;s.destroy=void 0,void 0!==l&&((e&Rh)!==Eh?(r=t,null!==Vo&&"function"==typeof Vo.markComponentPassiveEffectUnmountStarted&&Vo.markComponentPassiveEffectUnmountStarted(r)):(e&Th)!==Eh&&Zo(t),(e&Ch)!==Eh&&Hw(!0),Jv(t,n,l),(e&Ch)!==Eh&&Hw(!1),(e&Rh)!==Eh?null!==Vo&&"function"==typeof Vo.markComponentPassiveEffectUnmountStopped&&Vo.markComponentPassiveEffectUnmountStopped():(e&Th)!==Eh&&ea())}s=s.next}while(s!==i)}}function oy(e,t){var n,r=t.updateQueue,o=null!==r?r.lastEffect:null;if(null!==o){var i=o.next,s=i;do{if((s.tag&e)===e){(e&Rh)!==Eh?(n=t,null!==Vo&&"function"==typeof Vo.markComponentPassiveEffectMountStarted&&Vo.markComponentPassiveEffectMountStarted(n)):(e&Th)!==Eh&&Jo(t);var l=s.create;(e&Ch)!==Eh&&Hw(!0),s.destroy=l(),(e&Ch)!==Eh&&Hw(!1),(e&Rh)!==Eh?null!==Vo&&"function"==typeof Vo.markComponentPassiveEffectMountStopped&&Vo.markComponentPassiveEffectMountStopped():(e&Th)!==Eh&&null!==Vo&&"function"==typeof Vo.markComponentLayoutEffectMountStopped&&Vo.markComponentLayoutEffectMountStopped();var u=s.destroy;if(void 0!==u&&"function"!=typeof u){var c=void 0;a("%s must not return anything besides a function, which is used for clean-up.%s",c=(s.tag&Th)!==Br?"useLayoutEffect":(s.tag&Ch)!==Br?"useInsertionEffect":"useEffect",null===u?" You returned null. If your effect does not require clean up, return undefined (or nothing).":"function"==typeof u.then?"\n\nIt looks like you wrote "+c+"(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:\n\n"+c+"(() => {\n async function fetchData() {\n // You can await here\n const response = await MyAPI.getData(someId);\n // ...\n }\n fetchData();\n}, [someId]); // Or [] if effect doesn't need props or state\n\nLearn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching":" You returned: "+u)}}s=s.next}while(s!==i)}}function ay(e,t){if((t.flags&Vr)!==Br&&t.tag===b){var n=t.stateNode.passiveEffectDuration,r=t.memoizedProps,o=r.id,a=r.onPostCommit,i=kg(),s=null===t.alternate?"mount":"update";wg()&&(s="nested-update"),"function"==typeof a&&a(o,s,n,i);var l=t.return;e:for(;null!==l;){switch(l.tag){case c:l.stateNode.passiveEffectDuration+=n;break e;case b:l.stateNode.passiveEffectDuration+=n;break e}l=l.return}}}function iy(e,t,n,r){if((n.flags&mo)!==Br)switch(n.tag){case s:case y:case S:if(!Wv)if(n.mode&la)try{Rg(),oy(Th|xh,n)}finally{Cg(n)}else oy(Th|xh,n);break;case l:var o=n.stateNode;if(n.flags&Vr&&!Wv)if(null===t)if(n.type!==n.elementType||qg||(o.props!==n.memoizedProps&&a("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",gt(n)||"instance"),o.state!==n.memoizedState&&a("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",gt(n)||"instance")),n.mode&la)try{Rg(),o.componentDidMount()}finally{Cg(n)}else o.componentDidMount();else{var i=n.elementType===n.type?t.memoizedProps:Mf(n.type,t.memoizedProps),u=t.memoizedState;if(n.type!==n.elementType||qg||(o.props!==n.memoizedProps&&a("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",gt(n)||"instance"),o.state!==n.memoizedState&&a("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",gt(n)||"instance")),n.mode&la)try{Rg(),o.componentDidUpdate(i,u,o.__reactInternalSnapshotBeforeUpdate)}finally{Cg(n)}else o.componentDidUpdate(i,u,o.__reactInternalSnapshotBeforeUpdate)}var h=n.updateQueue;null!==h&&(n.type!==n.elementType||qg||(o.props!==n.memoizedProps&&a("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",gt(n)||"instance"),o.state!==n.memoizedState&&a("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",gt(n)||"instance")),kp(0,h,o));break;case c:var m=n.updateQueue;if(null!==m){var g=null;if(null!==n.child)switch(n.child.tag){case f:case l:g=n.child.stateNode}kp(0,m,g)}break;case f:var v=n.stateNode;if(null===t&&n.flags&Vr)!function(e,t,n,r){switch(t){case"button":case"input":case"select":case"textarea":return void(n.autoFocus&&e.focus());case"img":n.src&&(e.src=n.src)}}(v,n.type,n.memoizedProps);break;case p:case d:break;case b:var k=n.memoizedProps,_=k.onCommit,x=k.onRender,P=n.stateNode.effectDuration,L=kg(),I=null===t?"mount":"update";wg()&&(I="nested-update"),"function"==typeof x&&x(n.memoizedProps.id,I,n.actualDuration,n.treeBaseDuration,n.actualStartTime,L),"function"==typeof _&&_(n.memoizedProps.id,I,P,L),M=n,Ab.push(M),Ib||(Ib=!0,jw(Ao,(function(){return _w(),null})));var D=n.return;e:for(;null!==D;){switch(D.tag){case c:D.stateNode.effectDuration+=P;break e;case b:D.stateNode.effectDuration+=P;break e}D=D.return}break;case w:!function(e,t){var n=t.memoizedState;if(null===n){var r=t.alternate;if(null!==r){var o=r.memoizedState;if(null!==o){var a=o.dehydrated;null!==a&&function(e){os(e)}(a)}}}}(0,n);break;case C:case E:case T:case R:case N:case O:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}var M;Wv||n.flags&Gr&&ly(n)}function sy(e){switch(e.tag){case s:case y:case S:if(e.mode&la)try{Rg(),Yv(e,e.return)}finally{Cg(e)}else Yv(e,e.return);break;case l:var t=e.stateNode;"function"==typeof t.componentDidMount&&function(e,t,n){try{n.componentDidMount()}catch(n){Tw(e,t,n)}}(e,e.return,t),Kv(e,e.return);break;case f:Kv(e,e.return)}}function ly(e){var t=e.ref;if(null!==t){var n,r=e.stateNode;if(e.tag,n=r,"function"==typeof t){var o;if(e.mode&la)try{Rg(),o=t(n)}finally{Cg(e)}else o=t(n);"function"==typeof o&&a("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",gt(e))}else t.hasOwnProperty("current")||a("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",gt(e)),t.current=n}}function uy(e){var t,n=e.alternate;if(null!==n&&(e.alternate=null,uy(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===f){var r=e.stateNode;null!==r&&(delete(t=r)[Ac],delete t[zc],delete t[Fc],delete t[Bc],delete t[jc])}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function cy(e){return e.tag===f||e.tag===c||e.tag===d}function dy(e){var t=e;e:for(;;){for(;null===t.sibling;){if(null===t.return||cy(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==f&&t.tag!==p&&t.tag!==x;){if(t.flags&Wr)continue e;if(null===t.child||t.tag===d)continue e;t.child.return=t,t=t.child}if(!(t.flags&Wr))return t.stateNode}}function fy(e){var t=function(e){for(var t=e.return;null!==t;){if(cy(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}(e);switch(t.tag){case f:var n=t.stateNode;t.flags&$r&&(Ec(n),t.flags&=~$r),hy(e,dy(e),n);break;case c:case d:var r=t.stateNode.containerInfo;py(e,dy(e),r);break;default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function py(e,t,n){var r=e.tag;if(r===f||r===p){var o=e.stateNode;t?function(e,t,n){e.nodeType===wn?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)}(n,o,t):function(e,t){var n;e.nodeType===wn?(n=e.parentNode).insertBefore(t,e):(n=e).appendChild(t),null==e._reactRootContainer&&null===n.onclick&&Hu(n)}(n,o)}else if(r===d);else{var a=e.child;if(null!==a){py(a,t,n);for(var i=a.sibling;null!==i;)py(i,t,n),i=i.sibling}}}function hy(e,t,n){var r=e.tag;if(r===f||r===p){var o=e.stateNode;t?function(e,t,n){e.insertBefore(t,n)}(n,o,t):function(e,t){e.appendChild(t)}(n,o)}else if(r===d);else{var a=e.child;if(null!==a){hy(a,t,n);for(var i=a.sibling;null!==i;)hy(i,t,n),i=i.sibling}}}var my=null,gy=!1;function vy(e,t,n){var r,o,a=t;e:for(;null!==a;){switch(a.tag){case f:my=a.stateNode,gy=!1;break e;case c:case d:my=a.stateNode.containerInfo,gy=!0;break e}a=a.return}if(null===my)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");by(e,t,n),my=null,gy=!1,null!==(o=(r=n).alternate)&&(o.return=null),r.return=null}function yy(e,t,n){for(var r=n.child;null!==r;)by(e,t,r),r=r.sibling}function by(e,t,n){switch(function(e){if(Wo&&"function"==typeof Wo.onCommitFiberUnmount)try{Wo.onCommitFiberUnmount(jo,e)}catch(e){Ho||(Ho=!0,a("React instrumentation encountered an error: %s",e))}}(n),n.tag){case f:Wv||Xv(n,t);case p:var r=my,o=gy;return my=null,yy(e,t,n),gy=o,void(null!==(my=r)&&(gy?(C=my,N=n.stateNode,C.nodeType===wn?C.parentNode.removeChild(N):C.removeChild(N)):function(e,t){e.removeChild(t)}(my,n.stateNode)));case x:return void(null!==my&&(gy?function(e,t){e.nodeType===wn?xc(e.parentNode,t):e.nodeType===yn&&xc(e,t),os(e)}(my,n.stateNode):xc(my,n.stateNode)));case d:var i=my,u=gy;return my=n.stateNode.containerInfo,gy=!0,yy(e,t,n),my=i,void(gy=u);case s:case y:case k:case S:if(!Wv){var c=n.updateQueue;if(null!==c){var h=c.lastEffect;if(null!==h){var m=h.next,g=m;do{var v=g,b=v.destroy,w=v.tag;void 0!==b&&((w&Ch)!==Eh?Jv(n,t,b):(w&Th)!==Eh&&(Zo(n),n.mode&la?(Rg(),Jv(n,t,b),Cg(n)):Jv(n,t,b),ea())),g=g.next}while(g!==m)}}}return void yy(e,t,n);case l:if(!Wv){Xv(n,t);var _=n.stateNode;"function"==typeof _.componentWillUnmount&&Gv(n,t,_)}return void yy(e,t,n);case T:return void yy(e,t,n);case R:if(n.mode&sa){var E=Wv;Wv=E||null!==n.memoizedState,yy(e,t,n),Wv=E}else yy(e,t,n);break;default:return void yy(e,t,n)}var C,N}function wy(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Vv),t.forEach((function(t){var r=Ow.bind(null,e,t);if(!n.has(t)){if(n.add(t),$o){if(null===$v||null===qv)throw Error("Expected finished root and lanes to be set. This is a bug in React.");Fw(qv,$v)}t.then(r,r)}}))}}function ky(e,t,n){var r=t.deletions;if(null!==r)for(var o=0;o<r.length;o++){var a=r[o];try{vy(e,t,a)}catch(e){Tw(a,t,e)}}var i=yt;if(t.subtreeFlags&ho)for(var s=t.child;null!==s;)_t(s),Sy(s,e),s=s.sibling;_t(i)}function Sy(e,t,n){var r=e.alternate,o=e.flags;switch(e.tag){case s:case y:case k:case S:if(ky(t,e),_y(e),o&Vr){try{ry(Ch|xh,e,e.return),oy(Ch|xh,e)}catch(t){Tw(e,e.return,t)}if(e.mode&la){try{Rg(),ry(Th|xh,e,e.return)}catch(t){Tw(e,e.return,t)}Cg(e)}else try{ry(Th|xh,e,e.return)}catch(t){Tw(e,e.return,t)}}return;case l:return ky(t,e),_y(e),void(o&Gr&&null!==r&&Xv(r,r.return));case f:if(ky(t,e),_y(e),o&Gr&&null!==r&&Xv(r,r.return),e.flags&$r){var a=e.stateNode;try{Ec(a)}catch(t){Tw(e,e.return,t)}}if(o&Vr){var i=e.stateNode;if(null!=i){var u=e.memoizedProps,h=null!==r?r.memoizedProps:u,m=e.type,g=e.updateQueue;if(e.updateQueue=null,null!==g)try{!function(e,t,n,r,o,a){Qu(e,t,n,r,o),Kc(e,o)}(i,g,m,h,u)}catch(t){Tw(e,e.return,t)}}}return;case p:if(ky(t,e),_y(e),o&Vr){if(null===e.stateNode)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var v=e.stateNode,b=e.memoizedProps;null!==r&&r.memoizedProps;try{!function(e,t,n){e.nodeValue=n}(v,0,b)}catch(t){Tw(e,e.return,t)}}return;case c:if(ky(t,e),_y(e),o&Vr)if(null!==r)if(r.memoizedState.isDehydrated)try{os(t.containerInfo)}catch(t){Tw(e,e.return,t)}return;case d:return ky(t,e),void _y(e);case w:ky(t,e),_y(e);var _=e.child;if(_.flags&Zr){var E=_.stateNode,x=null!==_.memoizedState;if(E.isHidden=x,x)null!==_.alternate&&null!==_.alternate.memoizedState||(_b=Lo())}if(o&Vr){try{!function(e){e.memoizedState}(e)}catch(t){Tw(e,e.return,t)}wy(e)}return;case R:var P=null!==r&&null!==r.memoizedState;if(e.mode&sa){var O=Wv;Wv=O||P,ky(t,e),Wv=O}else ky(t,e);if(_y(e),o&Zr){var L=e.stateNode,I=null!==e.memoizedState,D=e;if(L.isHidden=I,I&&!P&&(D.mode&sa)!==ia){Hv=D;for(var M=D.child;null!==M;)Hv=M,Ty(M),M=M.sibling}!function(e,t){for(var n=null,r=e;;){if(r.tag===f){if(null===n){n=r;try{var o=r.stateNode;t?Cc(o):Tc(r.stateNode,r.memoizedProps)}catch(t){Tw(e,e.return,t)}}}else if(r.tag===p){if(null===n)try{var a=r.stateNode;t?a.nodeValue="":Rc(a,r.memoizedProps)}catch(t){Tw(e,e.return,t)}}else if((r.tag!==R&&r.tag!==N||null===r.memoizedState||r===e)&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===e)return;for(;null===r.sibling;){if(null===r.return||r.return===e)return;n===r&&(n=null),r=r.return}n===r&&(n=null),r.sibling.return=r.return,r=r.sibling}}(D,I)}return;case C:return ky(t,e),_y(e),void(o&Vr&&wy(e));case T:return;default:return ky(t,e),void _y(e)}}function _y(e){var t=e.flags;if(t&Wr){try{fy(e)}catch(t){Tw(e,e.return,t)}e.flags&=~Wr}t&Jr&&(e.flags&=~Jr)}function Ey(e,t,n){$v=n,qv=t,Hv=e,xy(e,t,n),$v=null,qv=null}function xy(e,t,n){for(var r=(e.mode&sa)!==ia;null!==Hv;){var o=Hv,a=o.child;if(o.tag===R&&r){var i=null!==o.memoizedState||jv;if(i){Cy(e,t,n);continue}var s=o.alternate,l=null!==s&&null!==s.memoizedState,u=jv,c=Wv;jv=i,(Wv=l||Wv)&&!c&&(Hv=o,Ny(o));for(var d=a;null!==d;)Hv=d,xy(d,t,n),d=d.sibling;Hv=o,jv=u,Wv=c,Cy(e,t,n)}else(o.subtreeFlags&mo)!==Br&&null!==a?(a.return=o,Hv=a):Cy(e,t,n)}}function Cy(e,t,n){for(;null!==Hv;){var r=Hv;if((r.flags&mo)!==Br){var o=r.alternate;_t(r);try{iy(0,o,r)}catch(e){Tw(r,r.return,e)}St()}if(r===e)return void(Hv=null);var a=r.sibling;if(null!==a)return a.return=r.return,void(Hv=a);Hv=r.return}}function Ty(e){for(;null!==Hv;){var t=Hv,n=t.child;switch(t.tag){case s:case y:case k:case S:if(t.mode&la)try{Rg(),ry(Th,t,t.return)}finally{Cg(t)}else ry(Th,t,t.return);break;case l:Xv(t,t.return);var r=t.stateNode;"function"==typeof r.componentWillUnmount&&Gv(t,t.return,r);break;case f:Xv(t,t.return);break;case R:if(null!==t.memoizedState){Ry(e);continue}}null!==n?(n.return=t,Hv=n):Ry(e)}}function Ry(e){for(;null!==Hv;){var t=Hv;if(t===e)return void(Hv=null);var n=t.sibling;if(null!==n)return n.return=t.return,void(Hv=n);Hv=t.return}}function Ny(e){for(;null!==Hv;){var t=Hv,n=t.child;if(t.tag===R)if(null!==t.memoizedState){Py(e);continue}null!==n?(n.return=t,Hv=n):Py(e)}}function Py(e){for(;null!==Hv;){var t=Hv;_t(t);try{sy(t)}catch(e){Tw(t,t.return,e)}if(St(),t===e)return void(Hv=null);var n=t.sibling;if(null!==n)return n.return=t.return,void(Hv=n);Hv=t.return}}function Oy(e,t,n,r){Hv=t,function(e,t,n,r){for(;null!==Hv;){var o=Hv,a=o.child;(o.subtreeFlags&go)!==Br&&null!==a?(a.return=o,Hv=a):Ly(e,t,n,r)}}(t,e,n,r)}function Ly(e,t,n,r){for(;null!==Hv;){var o=Hv;if((o.flags&Xr)!==Br){_t(o);try{Iy(t,o,n,r)}catch(e){Tw(o,o.return,e)}St()}if(o===e)return void(Hv=null);var a=o.sibling;if(null!==a)return a.return=o.return,void(Hv=a);Hv=o.return}}function Iy(e,t,n,r){switch(t.tag){case s:case y:case S:if(t.mode&la){Ng();try{oy(Rh|xh,t)}finally{Tg(t)}}else oy(Rh|xh,t)}}function Dy(e){Hv=e,function(){for(;null!==Hv;){var e=Hv,t=e.child;if((Hv.flags&Hr)!==Br){var n=e.deletions;if(null!==n){for(var r=0;r<n.length;r++){var o=n[r];Hv=o,zy(o,e)}var a=e.alternate;if(null!==a){var i=a.child;if(null!==i){a.child=null;do{var s=i.sibling;i.sibling=null,i=s}while(null!==i)}}Hv=e}}(e.subtreeFlags&go)!==Br&&null!==t?(t.return=e,Hv=t):My()}}()}function My(){for(;null!==Hv;){var e=Hv;(e.flags&Xr)!==Br&&(_t(e),Ay(e),St());var t=e.sibling;if(null!==t)return t.return=e.return,void(Hv=t);Hv=e.return}}function Ay(e){switch(e.tag){case s:case y:case S:e.mode&la?(Ng(),ry(Rh|xh,e,e.return),Tg(e)):ry(Rh|xh,e,e.return)}}function zy(e,t){for(;null!==Hv;){var n=Hv;_t(n),Fy(n,t),St();var r=n.child;null!==r?(r.return=n,Hv=r):Uy(e)}}function Uy(e){for(;null!==Hv;){var t=Hv,n=t.sibling,r=t.return;if(uy(t),t===e)return void(Hv=null);if(null!==n)return n.return=r,void(Hv=n);Hv=r}}function Fy(e,t){switch(e.tag){case s:case y:case S:e.mode&la?(Ng(),ry(Rh,e,t),Tg(e)):ry(Rh,e,t)}}function By(e){switch(e.tag){case s:case y:case S:try{oy(Th|xh,e)}catch(t){Tw(e,e.return,t)}break;case l:var t=e.stateNode;try{t.componentDidMount()}catch(t){Tw(e,e.return,t)}}}function jy(e){switch(e.tag){case s:case y:case S:try{oy(Rh|xh,e)}catch(t){Tw(e,e.return,t)}}}function Wy(e){switch(e.tag){case s:case y:case S:try{ry(Th|xh,e,e.return)}catch(t){Tw(e,e.return,t)}break;case l:var t=e.stateNode;"function"==typeof t.componentWillUnmount&&Gv(e,e.return,t)}}function Vy(e){switch(e.tag){case s:case y:case S:try{ry(Rh|xh,e,e.return)}catch(t){Tw(e,e.return,t)}}}if("function"==typeof Symbol&&Symbol.for){var Hy=Symbol.for;Hy("selector.component"),Hy("selector.has_pseudo_class"),Hy("selector.role"),Hy("selector.test_id"),Hy("selector.text")}var $y=[];var qy=n.ReactCurrentActQueue;function Qy(){var e="undefined"!=typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:void 0;return e||null===qy.current||a("The current testing environment is not configured to support act(...)"),e}var Yy=Math.ceil,Gy=n.ReactCurrentDispatcher,Ky=n.ReactCurrentOwner,Xy=n.ReactCurrentBatchConfig,Jy=n.ReactCurrentActQueue,Zy=0,eb=1,tb=2,nb=4,rb=0,ob=1,ab=2,ib=3,sb=4,lb=5,ub=6,cb=Zy,db=null,fb=null,pb=ma,hb=ma,mb=ad(ma),gb=rb,vb=null,yb=ma,bb=ma,wb=ma,kb=null,Sb=null,_b=0,Eb=500,xb=1/0,Cb=500,Tb=null;function Rb(){xb=Lo()+Cb}function Nb(){return xb}var Pb=!1,Ob=null,Lb=null,Ib=!1,Db=null,Mb=ma,Ab=[],zb=null,Ub=50,Fb=0,Bb=null,jb=!1,Wb=!1,Vb=50,Hb=0,$b=null,qb=Za,Qb=ma,Yb=!1;function Gb(){return db}function Kb(){return(cb&(tb|nb))!==Zy?Lo():qb!==Za?qb:qb=Lo()}function Xb(e){if((e.mode&sa)===ia)return va;if((cb&tb)!==Zy&&pb!==ma)return fi(pb);if(Sf.transition!==_f){if(null!==Xy.transition){var t=Xy.transition;t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e)}return Qb===ga&&(Qb=ci()),Qb}var n,r=Ai();return r!==ga?r:void 0===(n=window.event)?Ii:ps(n.type)}function Jb(e){var t;return(e.mode&sa)===ia?va:(t=ti,((ti<<=1)&Ba)===ma&&(ti=ja),t)}function Zb(e,t,n,r){!function(){if(Fb>Ub)throw Fb=0,Bb=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");Hb>Vb&&(Hb=0,$b=null,a("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}(),Yb&&a("useInsertionEffect must not schedule updates."),jb&&(Wb=!0),ki(e,n,r),(cb&tb)!==ma&&e===db?function(e){if(bt&&!Ym)switch(e.tag){case s:case y:case S:var t=fb&&gt(fb)||"Unknown",n=t;if(!zw.has(n))zw.add(n),a("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",gt(e)||"Unknown",t,t);break;case l:Uw||(a("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),Uw=!0)}}(t):($o&&Ei(e,t,n),function(e){if(e.mode&sa){if(!Qy())return}else{if(t="undefined"!=typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:void 0,"undefined"==typeof jest||!1===t)return;if(cb!==Zy)return;if(e.tag!==s&&e.tag!==y&&e.tag!==S)return}var t;if(null===Jy.current){var n=yt;try{_t(e),a("An update to %s inside a test was not wrapped in act(...).\n\nWhen testing, code that causes React state updates should be wrapped into act(...):\n\nact(() => {\n /* fire events that update state */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act",gt(e))}finally{n?_t(e):St()}}}(t),e===db&&((cb&tb)===Zy&&(bb=vi(bb,n)),gb===sb&&ow(e,pb)),ew(e,r),n!==va||cb!==Zy||(t.mode&sa)!==ia||Jy.isBatchingLegacy||(Rb(),Pd()))}function ew(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.pendingLanes,r=e.suspendedLanes,o=e.pingedLanes,a=e.expirationTimes,i=n;i>0;){var s=pi(i),l=1<<s,u=a[s];u===Za?(l&r)!==ma&&(l&o)===ma||(a[s]=oi(l,t)):u<=t&&(e.expiredLanes|=l),i&=~l}}(e,t);var r=ri(e,e===db?pb:ma);if(r===ma)return null!==n&&Ww(n),e.callbackNode=null,void(e.callbackPriority=ga);var o=di(r),i=e.callbackPriority;if(i!==o||null!==Jy.current&&n!==Bw){var s,l;if(null!=n&&Ww(n),o===va)e.tag===Ed?(null!==Jy.isBatchingLegacy&&(Jy.didScheduleLegacyUpdate=!0),l=aw.bind(null,e),Td=!0,Nd(l)):Nd(aw.bind(null,e)),null!==Jy.current?Jy.current.push(Od):Sc((function(){(cb&(tb|nb))===Zy&&Od()})),s=null;else{var u;switch(Fi(r)){case Oi:u=Do;break;case Li:u=Mo;break;case Ii:u=Ao;break;case Di:u=Uo;break;default:u=Ao}s=jw(u,tw.bind(null,e))}e.callbackPriority=o,e.callbackNode=s}else null==n&&i!==va&&a("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.")}function tw(e,t){if(yg=!1,bg=!1,qb=Za,Qb=ma,(cb&(tb|nb))!==Zy)throw new Error("Should not already be working.");var n=e.callbackNode;if(_w()&&e.callbackNode!==n)return null;var r=ri(e,e===db?pb:ma);if(r===ma)return null;var o=!li(0,r)&&!function(e,t){return(t&e.expiredLanes)!==ma}(e,r)&&!t,a=o?function(e,t){var n=cb;cb|=tb;var r=pw();if(db!==e||pb!==t){if($o){var o=e.memoizedUpdaters;o.size>0&&(Fw(e,pb),o.clear()),xi(e,t)}Tb=null,Rb(),dw(e,t)}ra(t);for(;;)try{bw();break}catch(t){fw(e,t)}return Wf(),hw(r),cb=n,null!==fb?(null!==Vo&&"function"==typeof Vo.markRenderYielded&&Vo.markRenderYielded(),rb):(oa(),db=null,pb=ma,gb)}(e,r):vw(e,r);if(a!==rb){if(a===ab){var i=ai(e);i!==ma&&(r=i,a=nw(e,i))}if(a===ob){var s=vb;throw dw(e,ma),ow(e,r),ew(e,Lo()),s}if(a===ub)ow(e,r);else{var l=!li(0,r),u=e.current.alternate;if(l&&!function(e){var t=e;for(;;){if(t.flags&eo){var n=t.updateQueue;if(null!==n){var r=n.stores;if(null!==r)for(var o=0;o<r.length;o++){var a=r[o],i=a.getSnapshot,s=a.value;try{if(!Tl(i(),s))return!1}catch(e){return!1}}}}var l=t.child;if(t.subtreeFlags&eo&&null!==l)l.return=t,t=l;else{if(t===e)return!0;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(u)){if((a=vw(e,r))===ab){var c=ai(e);c!==ma&&(r=c,a=nw(e,c))}if(a===ob){var d=vb;throw dw(e,ma),ow(e,r),ew(e,Lo()),d}}e.finishedWork=u,e.finishedLanes=r,function(e,t,n){switch(t){case rb:case ob:throw new Error("Root did not complete. This is a bug in React.");case ab:Sw(e,Sb,Tb);break;case ib:if(ow(e,n),si(n)&&!Vw()){var r=_b+Eb-Lo();if(r>10){if(ri(e,ma)!==ma)break;var o=e.suspendedLanes;if(!gi(o,n)){Kb(),Si(e,o);break}e.timeoutHandle=yc(Sw.bind(null,e,Sb,Tb),r);break}}Sw(e,Sb,Tb);break;case sb:if(ow(e,n),function(e){return(e&_a)===e}(n))break;if(!Vw()){var a=function(e,t){for(var n=e.eventTimes,r=Za;t>0;){var o=pi(t),a=1<<o,i=n[o];i>r&&(r=i),t&=~a}return r}(e,n),i=a,s=Lo()-i,l=((u=s)<120?120:u<480?480:u<1080?1080:u<1920?1920:u<3e3?3e3:u<4320?4320:1960*Yy(u/1960))-s;if(l>10){e.timeoutHandle=yc(Sw.bind(null,e,Sb,Tb),l);break}}Sw(e,Sb,Tb);break;case lb:Sw(e,Sb,Tb);break;default:throw new Error("Unknown root exit status.")}var u}(e,a,r)}}return ew(e,Lo()),e.callbackNode===n?tw.bind(null,e):null}function nw(e,t){var n=kb;Bi(e)&&(dw(e,t).flags|=Yr,a("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.containerInfo.nodeName.toLowerCase()));var r=vw(e,t);if(r!==ab){var o=Sb;Sb=n,null!==o&&rw(o)}return r}function rw(e){null===Sb?Sb=e:Sb.push.apply(Sb,e)}function ow(e,t){t=yi(t,wb),function(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var n=e.expirationTimes,r=t;r>0;){var o=pi(r),a=1<<o;n[o]=Za,r&=~a}}(e,t=yi(t,bb))}function aw(e){if(yg=bg,bg=!1,(cb&(tb|nb))!==Zy)throw new Error("Should not already be working.");_w();var t=ri(e,ma);if(!mi(t,va))return ew(e,Lo()),null;var n=vw(e,t);if(e.tag!==Ed&&n===ab){var r=ai(e);r!==ma&&(t=r,n=nw(e,r))}if(n===ob){var o=vb;throw dw(e,ma),ow(e,t),ew(e,Lo()),o}if(n===ub)throw new Error("Root did not complete. This is a bug in React.");var a=e.current.alternate;return e.finishedWork=a,e.finishedLanes=t,Sw(e,Sb,Tb),ew(e,Lo()),null}function iw(e,t){var n=cb;cb|=eb;try{return e(t)}finally{(cb=n)!==Zy||Jy.isBatchingLegacy||(Rb(),Pd())}}function sw(e){null!==Db&&Db.tag===Ed&&(cb&(tb|nb))===Zy&&_w();var t=cb;cb|=eb;var n=Xy.transition,r=Ai();try{return Xy.transition=null,zi(Oi),e?e():void 0}finally{zi(r),Xy.transition=n,((cb=t)&(tb|nb))===Zy&&Od()}}function lw(){return(cb&(tb|nb))!==Zy}function uw(e,t){sd(mb,hb,e),hb=vi(hb,t)}function cw(e){hb=mb.current,id(mb,e)}function dw(e,t){e.finishedWork=null,e.finishedLanes=ma;var n=e.timeoutHandle;if(n!==wc&&(e.timeoutHandle=wc,bc(n)),null!==fb)for(var r=fb.return;null!==r;){r.alternate;Fv(0,r),r=r.return}db=e;var o=uk(e.current,null);return fb=o,pb=hb=t,gb=rb,vb=null,yb=ma,bb=ma,wb=ma,kb=null,Sb=null,function(){if(null!==Xf){for(var e=0;e<Xf.length;e++){var t=Xf[e],n=t.interleaved;if(null!==n){t.interleaved=null;var r=n.next,o=t.pending;if(null!==o){var a=o.next;o.next=r,n.next=a}t.pending=n}}Xf=null}}(),Ef.discardPendingWarnings(),o}function fw(e,t){for(;;){var n=fb;try{if(Wf(),rm(),St(),Ky.current=null,null===n||null===n.return)return gb=ob,vb=t,void(fb=null);if(j&&n.mode&la&&xg(n,!0),B)if(Xo(),null!==t&&"object"==typeof t&&"function"==typeof t.then)na(n,t,pb);else ta(n,t,pb);Bg(e,n.return,n,t,pb),kw(n)}catch(e){t=e,fb===n&&null!==n?(n=n.return,fb=n):n=fb;continue}return}}function pw(){var e=Gy.current;return Gy.current=rg,null===e?rg:e}function hw(e){Gy.current=e}function mw(e){yb=vi(e,yb)}function gw(){gb!==rb&&gb!==ib&&gb!==ab||(gb=sb),null!==db&&(ii(yb)||ii(bb))&&ow(db,pb)}function vw(e,t){var n=cb;cb|=tb;var r=pw();if(db!==e||pb!==t){if($o){var o=e.memoizedUpdaters;o.size>0&&(Fw(e,pb),o.clear()),xi(e,t)}Tb=null,dw(e,t)}for(ra(t);;)try{yw();break}catch(t){fw(e,t)}if(Wf(),cb=n,hw(r),null!==fb)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return oa(),db=null,pb=ma,gb}function yw(){for(;null!==fb;)ww(fb)}function bw(){for(;null!==fb&&!Po();)ww(fb)}function ww(e){var t,n=e.alternate;_t(e),(e.mode&la)!==ia?(_g(e),t=Dw(n,e,hb),xg(e,!0)):t=Dw(n,e,hb),St(),e.memoizedProps=e.pendingProps,null===t?kw(e):fb=t,Ky.current=null}function kw(e){var t=e;do{var n=t.alternate,r=t.return;if((t.flags&ro)===Br){_t(t);var o=void 0;if((t.mode&la)===ia?o=zv(n,t,hb):(_g(t),o=zv(n,t,hb),xg(t,!1)),St(),null!==o)return void(fb=o)}else{var a=Uv(0,t);if(null!==a)return a.flags&=no,void(fb=a);if((t.mode&la)!==ia){xg(t,!1);for(var i=t.actualDuration,s=t.child;null!==s;)i+=s.actualDuration,s=s.sibling;t.actualDuration=i}if(null===r)return gb=ub,void(fb=null);r.flags|=ro,r.subtreeFlags=Br,r.deletions=null}var l=t.sibling;if(null!==l)return void(fb=l);fb=t=r}while(null!==t);gb===rb&&(gb=lb)}function Sw(e,t,n){var r=Ai(),o=Xy.transition;try{Xy.transition=null,zi(Oi),function(e,t,n,r){do{_w()}while(null!==Db);if(function(){Ef.flushLegacyContextWarning(),Ef.flushPendingUnsafeLifecycleWarnings()}(),(cb&(tb|nb))!==Zy)throw new Error("Should not already be working.");var o=e.finishedWork,i=e.finishedLanes;if(function(e){null!==Vo&&"function"==typeof Vo.markCommitStarted&&Vo.markCommitStarted(e)}(i),null===o)return Go(),null;i===ma&&a("root.finishedLanes should not be empty during a commit. This is a bug in React.");if(e.finishedWork=null,e.finishedLanes=ma,o===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=ga;var s=vi(o.lanes,o.childLanes);(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=ma,e.pingedLanes=ma,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var r=e.entanglements,o=e.eventTimes,a=e.expirationTimes,i=n;i>0;){var s=pi(i),l=1<<s;r[s]=ma,o[s]=Za,a[s]=Za,i&=~l}})(e,s),e===db&&(db=null,fb=null,pb=ma);(o.subtreeFlags&go)===Br&&(o.flags&go)===Br||Ib||(Ib=!0,zb=n,jw(Ao,(function(){return _w(),null})));var l=(o.subtreeFlags&(po|ho|mo|go))!==Br,u=(o.flags&(po|ho|mo|go))!==Br;if(l||u){var c=Xy.transition;Xy.transition=null;var d=Ai();zi(Oi);var f=cb;cb|=nb,Ky.current=null,ey(e,o),Sg(),function(e,t,n){$v=n,qv=e,_t(t),Sy(t,e),_t(t),$v=null,qv=null}(e,o,i),e.containerInfo,Fl(pc),ss(fc),fc=null,pc=null,e.current=o,function(e){null!==Vo&&"function"==typeof Vo.markLayoutEffectsStarted&&Vo.markLayoutEffectsStarted(e)}(i),Ey(o,e,i),null!==Vo&&"function"==typeof Vo.markLayoutEffectsStopped&&Vo.markLayoutEffectsStopped(),Oo(),cb=f,zi(d),Xy.transition=c}else e.current=o,Sg();var p=Ib;Ib?(Ib=!1,Db=e,Mb=i):(Hb=0,$b=null);s=e.pendingLanes,s===ma&&(Lb=null);p||Lw(e.current,!1);(function(e,t){if(Wo&&"function"==typeof Wo.onCommitFiberRoot)try{var n=(e.current.flags&Qr)===Qr;if(j){var r;switch(t){case Oi:r=Do;break;case Li:r=Mo;break;case Ii:r=Ao;break;case Di:r=Uo;break;default:r=Ao}Wo.onCommitFiberRoot(jo,e,r,n)}}catch(e){Ho||(Ho=!0,a("React instrumentation encountered an error: %s",e))}})(o.stateNode,r),$o&&e.memoizedUpdaters.clear();if(function(){$y.forEach((function(e){return e()}))}(),ew(e,Lo()),null!==t)for(var h=e.onRecoverableError,m=0;m<t.length;m++){var g=t[m],v=g.stack,y=g.digest;h(g.value,{componentStack:v,digest:y})}if(Pb){Pb=!1;var b=Ob;throw Ob=null,b}mi(Mb,va)&&e.tag!==Ed&&_w();s=e.pendingLanes,mi(s,va)?(bg=!0,e===Bb?Fb++:(Fb=0,Bb=e)):Fb=0;Od(),Go()}(e,t,n,r)}finally{Xy.transition=o,zi(r)}return null}function _w(){if(null!==Db){var e=Fi(Mb),t=function(e,t){return 0===e||e>t?e:t}(Ii,e),n=Xy.transition,r=Ai();try{return Xy.transition=null,zi(t),function(){if(null===Db)return!1;var e=zb;zb=null;var t=Db,n=Mb;if(Db=null,Mb=ma,(cb&(tb|nb))!==Zy)throw new Error("Cannot flush passive effects while already rendering.");jb=!0,Wb=!1,function(e){null!==Vo&&"function"==typeof Vo.markPassiveEffectsStarted&&Vo.markPassiveEffectsStarted(e)}(n);var r=cb;cb|=nb,Dy(t.current),Oy(t,t.current,n,e);var o=Ab;Ab=[];for(var i=0;i<o.length;i++){ay(0,o[i])}void(null!==Vo&&"function"==typeof Vo.markPassiveEffectsStopped&&Vo.markPassiveEffectsStopped()),Lw(t.current,!0),cb=r,Od(),Wb?t===$b?Hb++:(Hb=0,$b=t):Hb=0;jb=!1,Wb=!1,function(e){if(Wo&&"function"==typeof Wo.onPostCommitFiberRoot)try{Wo.onPostCommitFiberRoot(jo,e)}catch(e){Ho||(Ho=!0,a("React instrumentation encountered an error: %s",e))}}(t);var s=t.current.stateNode;return s.effectDuration=0,s.passiveEffectDuration=0,!0}()}finally{zi(r),Xy.transition=n}}return!1}function Ew(e){return null!==Lb&&Lb.has(e)}var xw=function(e){Pb||(Pb=!0,Ob=e)};function Cw(e,t,n){var r=pp(e,Mg(e,Og(n,t),va),va),o=Kb();null!==r&&(ki(r,va,o),ew(r,o))}function Tw(e,t,n){if(function(e){zr(null,(function(){throw e})),Ur()}(n),Hw(!1),e.tag!==c){var r=null;for(r=t;null!==r;){if(r.tag===c)return void Cw(r,e,n);if(r.tag===l){var o=r.type,i=r.stateNode;if("function"==typeof o.getDerivedStateFromError||"function"==typeof i.componentDidCatch&&!Ew(i)){var s=pp(r,Ag(r,Og(n,e),va),va),u=Kb();return void(null!==s&&(ki(s,va,u),ew(s,u)))}}r=r.return}a("Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.\n\nError message:\n\n%s",n)}else Cw(e,e,n)}function Rw(e,t,n){var r=e.pingCache;null!==r&&r.delete(t);var o=Kb();Si(e,n),function(e){e.tag!==Ed&&Qy()&&null===Jy.current&&a("A suspended resource finished loading inside a test, but the event was not wrapped in act(...).\n\nWhen testing, code that resolves suspended data should be wrapped into act(...):\n\nact(() => {\n /* finish loading suspended data */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act")}(e),db===e&&gi(pb,n)&&(gb===sb||gb===ib&&si(pb)&&Lo()-_b<Eb?dw(e,ma):wb=vi(wb,n)),ew(e,o)}function Nw(e,t){t===ga&&(t=Jb(e));var n=Kb(),r=ep(e,t);null!==r&&(ki(r,t,n),ew(r,n))}function Pw(e){var t=e.memoizedState,n=ga;null!==t&&(n=t.retryLane),Nw(e,n)}function Ow(e,t){var n,r=ga;switch(e.tag){case w:n=e.stateNode;var o=e.memoizedState;null!==o&&(r=o.retryLane);break;case C:n=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}null!==n&&n.delete(t),Nw(e,r)}function Lw(e,t){_t(e),Iw(e,co,Wy),t&&Iw(e,fo,Vy),Iw(e,co,By),t&&Iw(e,fo,jy),St()}function Iw(e,t,n){for(var r=e,o=null;null!==r;){var a=r.subtreeFlags&t;r!==o&&null!==r.child&&a!==Br?r=r.child:((r.flags&t)!==Br&&n(r),r=null!==r.sibling?r.sibling:o=r.return)}}var Dw,Mw=null;function Aw(e){if((cb&tb)===Zy&&e.mode&sa){var t=e.tag;if(t===u||t===c||t===l||t===s||t===y||t===k||t===S){var n=gt(e)||"ReactComponent";if(null!==Mw){if(Mw.has(n))return;Mw.add(n)}else Mw=new Set([n]);var r=yt;try{_t(e),a("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{r?_t(e):St()}}}}Dw=function(e,t,n){var r=vk(null,t);try{return Ov(e,t,n)}catch(a){if(Xd||null!==a&&"object"==typeof a&&"function"==typeof a.then)throw a;if(Wf(),rm(),Fv(0,t),vk(t,r),t.mode&la&&_g(t),zr(null,Ov,null,e,t,n),Lr){var o=Ur();"object"==typeof o&&null!==o&&o._suppressLogging&&"object"==typeof a&&null!==a&&!a._suppressLogging&&(a._suppressLogging=!0)}throw a}};var zw,Uw=!1;function Fw(e,t){$o&&e.memoizedUpdaters.forEach((function(n){Ei(e,n,t)}))}zw=new Set;var Bw={};function jw(e,t){var n=Jy.current;return null!==n?(n.push(t),Bw):Ro(e,t)}function Ww(e){if(e!==Bw)return No(e)}function Vw(){return null!==Jy.current}function Hw(e){Yb=e}var $w=null,qw=null,Qw=function(e){$w=e};function Yw(e){if(null===$w)return e;var t=$w(e);return void 0===t?e:t.current}function Gw(e){return Yw(e)}function Kw(e){if(null===$w)return e;var t=$w(e);if(void 0===t){if(null!=e&&"function"==typeof e.render){var n=Yw(e.render);if(e.render!==n){var r={$$typeof:Me,render:n};return void 0!==e.displayName&&(r.displayName=e.displayName),r}}return e}return t.current}function Xw(e,t){if(null===$w)return!1;var n=e.elementType,r=t.type,o=!1,a="object"==typeof r&&null!==r?r.$$typeof:null;switch(e.tag){case l:"function"==typeof r&&(o=!0);break;case s:("function"==typeof r||a===Fe)&&(o=!0);break;case y:(a===Me||a===Fe)&&(o=!0);break;case k:case S:(a===Ue||a===Fe)&&(o=!0);break;default:return!1}if(o){var i=$w(n);if(void 0!==i&&i===$w(r))return!0}return!1}function Jw(e){null!==$w&&"function"==typeof WeakSet&&(null===qw&&(qw=new WeakSet),qw.add(e))}var Zw=function(e,t){if(null!==$w){var n=t.staleFamilies,r=t.updatedFamilies;_w(),sw((function(){tk(e.current,r,n)}))}},ek=function(e,t){e.context===ld&&(_w(),sw((function(){Tk(t,e,null,null)})))};function tk(e,t,n){var r=e.alternate,o=e.child,a=e.sibling,i=e.tag,u=e.type,c=null;switch(i){case s:case S:case l:c=u;break;case y:c=u.render}if(null===$w)throw new Error("Expected resolveFamily to be set during hot reload.");var d=!1,f=!1;if(null!==c){var p=$w(c);void 0!==p&&(n.has(p)?f=!0:t.has(p)&&(i===l?f=!0:d=!0))}if(null!==qw&&(qw.has(e)||null!==r&&qw.has(r))&&(f=!0),f&&(e._debugNeedsRemount=!0),f||d){var h=ep(e,va);null!==h&&Zb(h,e,va,Za)}null===o||f||tk(o,t,n),null!==a&&tk(a,t,n)}var nk,rk=function(e,t){var n=new Set,r=new Set(t.map((function(e){return e.current})));return ok(e.current,r,n),n};function ok(e,t,n){var r=e.child,o=e.sibling,a=e.tag,i=e.type,u=null;switch(a){case s:case S:case l:u=i;break;case y:u=i.render}var p=!1;null!==u&&t.has(u)&&(p=!0),p?function(e,t){var n=function(e,t){var n=e,r=!1;for(;;){if(n.tag===f)r=!0,t.add(n.stateNode);else if(null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)return r;for(;null===n.sibling;){if(null===n.return||n.return===e)return r;n=n.return}n.sibling.return=n.return,n=n.sibling}return!1}(e,t);if(n)return;var r=e;for(;;){switch(r.tag){case f:return void t.add(r.stateNode);case d:case c:return void t.add(r.stateNode.containerInfo)}if(null===r.return)throw new Error("Expected to reach root first.");r=r.return}}(e,n):null!==r&&ok(r,t,n),null!==o&&ok(o,t,n)}nk=!1;try{var ak=Object.preventExtensions({});new Map([[ak,null]]),new Set([ak])}catch(e){nk=!0}function ik(e,t,n,r){this.tag=e,this.key=n,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=r,this.flags=Br,this.subtreeFlags=Br,this.deletions=null,this.lanes=ma,this.childLanes=ma,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,nk||"function"!=typeof Object.preventExtensions||Object.preventExtensions(this)}var sk=function(e,t,n,r){return new ik(e,t,n,r)};function lk(e){var t=e.prototype;return!(!t||!t.isReactComponent)}function uk(e,t){var n=e.alternate;null===n?((n=sk(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugSource=e._debugSource,n._debugOwner=e._debugOwner,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=Br,n.subtreeFlags=Br,n.deletions=null,n.actualDuration=0,n.actualStartTime=-1),n.flags=e.flags&vo,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue;var r=e.dependencies;switch(n.dependencies=null===r?null:{lanes:r.lanes,firstContext:r.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case u:case s:case S:n.type=Yw(e.type);break;case l:n.type=Gw(e.type);break;case y:n.type=Kw(e.type)}return n}function ck(e,t){e.flags&=vo|Wr;var n=e.alternate;if(null===n)e.childLanes=ma,e.lanes=t,e.child=null,e.subtreeFlags=Br,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=Br,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type;var r=n.dependencies;e.dependencies=null===r?null:{lanes:r.lanes,firstContext:r.firstContext},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration}return e}function dk(e,t,n,r,o,i){var s=u,c=e;if("function"==typeof e)lk(e)?(s=l,c=Gw(c)):c=Yw(c);else if("string"==typeof e)s=f;else e:switch(e){case Pe:return pk(n.children,o,i,t);case Oe:s=m,((o|=ua)&sa)!==ia&&(o|=ca);break;case Le:return function(e,t,n,r){"string"!=typeof e.id&&a('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var o=sk(b,e,r,t|la);return o.elementType=Le,o.lanes=n,o.stateNode={effectDuration:0,passiveEffectDuration:0},o}(n,o,i,t);case Ae:return function(e,t,n,r){var o=sk(w,e,r,t);return o.elementType=Ae,o.lanes=n,o}(n,o,i,t);case ze:return function(e,t,n,r){var o=sk(C,e,r,t);return o.elementType=ze,o.lanes=n,o}(n,o,i,t);case je:return hk(n,o,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Ie:s=v;break e;case De:s=g;break e;case Me:s=y,c=Kw(c);break e;case Ue:s=k;break e;case Fe:s=_,c=null;break e}var d="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(d+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var p=r?gt(r):null;throw p&&(d+="\n\nCheck the render method of `"+p+"`."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(null==e?e:typeof e)+"."+d)}var h=sk(s,n,t,o);return h.elementType=e,h.type=c,h.lanes=i,h._debugOwner=r,h}function fk(e,t,n){var r;r=e._owner;var o=dk(e.type,e.key,e.props,r,t,n);return o._debugSource=e._source,o._debugOwner=e._owner,o}function pk(e,t,n,r){var o=sk(h,e,r,t);return o.lanes=n,o}function hk(e,t,n,r){var o=sk(R,e,r,t);o.elementType=je,o.lanes=n;return o.stateNode={isHidden:!1},o}function mk(e,t,n){var r=sk(p,e,null,t);return r.lanes=n,r}function gk(e,t,n){var r=null!==e.children?e.children:[],o=sk(d,r,e.key,t);return o.lanes=n,o.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},o}function vk(e,t){return null===e&&(e=sk(u,null,null,ia)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function yk(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=wc,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=ga,this.eventTimes=wi(ma),this.expirationTimes=wi(Za),this.pendingLanes=ma,this.suspendedLanes=ma,this.pingedLanes=ma,this.expiredLanes=ma,this.mutableReadLanes=ma,this.finishedLanes=ma,this.entangledLanes=ma,this.entanglements=wi(ma),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0,this.memoizedUpdaters=new Set;for(var a=this.pendingUpdatersLaneMap=[],i=0;i<ha;i++)a.push(new Set);switch(t){case xd:this._debugRootType=n?"hydrateRoot()":"createRoot()";break;case Ed:this._debugRootType=n?"hydrate()":"render()"}}function bk(e,t,n,r,o,a,i,s,l,u){var d=new yk(e,t,n,s,l),f=function(e,t,n){var r;return e===xd?(r=sa,!0===t&&(r|=ua,r|=ca)):r=ia,$o&&(r|=la),sk(c,null,null,r)}(t,a);d.current=f,f.stateNode=d;var p={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null};return f.memoizedState=p,cp(f),d}var wk,kk,Sk="18.2.0";function _k(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return function(e){if(X(e))a("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",K(e)),J(e)}(r),{$$typeof:Ne,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Ek(e){if(!e)return ld;var t=Fr(e),n=_d(t);if(t.tag===l){var r=t.type;if(gd(r))return wd(t,r,n)}return n}function xk(e,t,n,r,o,a,i,s){return bk(e,t,!1,null,0,r,0,a,i)}function Ck(e,t,n,r,o,a,i,s,l,u){var c=bk(n,r,!0,e,0,a,0,s,l);c.context=Ek(null);var d=c.current,f=Kb(),p=Xb(d),h=fp(f,p);return h.callback=null!=t?t:null,pp(d,h,p),function(e,t,n){e.current.lanes=t,ki(e,t,n),ew(e,n)}(c,p,f),c}function Tk(e,t,n,r){!function(e,t){if(Wo&&"function"==typeof Wo.onScheduleFiberRoot)try{Wo.onScheduleFiberRoot(jo,e,t)}catch(e){Ho||(Ho=!0,a("React instrumentation encountered an error: %s",e))}}(t,e);var o=t.current,i=Kb(),s=Xb(o);!function(e){null!==Vo&&"function"==typeof Vo.markRenderScheduled&&Vo.markRenderScheduled(e)}(s);var l=Ek(n);null===t.context?t.context=l:t.pendingContext=l,bt&&null!==yt&&!wk&&(wk=!0,a("Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.\n\nCheck the render method of %s.",gt(yt)||"Unknown"));var u=fp(i,s);u.payload={element:e},null!==(r=void 0===r?null:r)&&("function"!=typeof r&&a("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",r),u.callback=r);var c=pp(o,u,s);return null!==c&&(Zb(c,o,s,i),hp(c,o,s)),s}function Rk(e){var t=e.current;return t.child?(t.child.tag,t.child.stateNode):null}function Nk(e,t){var n=e.memoizedState;null!==n&&null!==n.dehydrated&&(n.retryLane=function(e,t){return e!==ga&&e<t?e:t}(n.retryLane,t))}function Pk(e,t){Nk(e,t);var n=e.alternate;n&&Nk(n,t)}function Ok(e){var t=Co(e);return null===t?null:t.stateNode}wk=!1,kk={};var Lk=function(e){return null};var Ik=function(e){return!1};var Dk,Mk,Ak,zk,Uk,Fk,Bk,jk,Wk,Vk=function(e,t,n){var r=t[n],o=Jt(e)?e.slice():Ze({},e);return n+1===t.length?(Jt(o)?o.splice(r,1):delete o[r],o):(o[r]=Vk(e[r],t,n+1),o)},Hk=function(e,t){return Vk(e,t,0)},$k=function(e,t,n,r){var o=t[r],a=Jt(e)?e.slice():Ze({},e);r+1===t.length?(a[n[r]]=a[o],Jt(a)?a.splice(o,1):delete a[o]):a[o]=$k(e[o],t,n,r+1);return a},qk=function(e,t,n){if(t.length===n.length){for(var r=0;r<n.length-1;r++)if(t[r]!==n[r])return void o("copyWithRename() expects paths to be the same except for the deepest key");return $k(e,t,n,0)}o("copyWithRename() expects paths of the same length")},Qk=function(e,t,n,r){if(n>=t.length)return r;var o=t[n],a=Jt(e)?e.slice():Ze({},e);return a[o]=Qk(e[o],t,n+1,r),a},Yk=function(e,t,n){return Qk(e,t,0,n)},Gk=function(e,t){for(var n=e.memoizedState;null!==n&&t>0;)n=n.next,t--;return n};function Kk(e){var t=Eo(e);return null===t?null:t.stateNode}function Xk(e){return null}function Jk(){return yt}Dk=function(e,t,n,r){var o=Gk(e,t);if(null!==o){var a=Yk(o.memoizedState,n,r);o.memoizedState=a,o.baseState=a,e.memoizedProps=Ze({},e.memoizedProps);var i=ep(e,va);null!==i&&Zb(i,e,va,Za)}},Mk=function(e,t,n){var r=Gk(e,t);if(null!==r){var o=Hk(r.memoizedState,n);r.memoizedState=o,r.baseState=o,e.memoizedProps=Ze({},e.memoizedProps);var a=ep(e,va);null!==a&&Zb(a,e,va,Za)}},Ak=function(e,t,n,r){var o=Gk(e,t);if(null!==o){var a=qk(o.memoizedState,n,r);o.memoizedState=a,o.baseState=a,e.memoizedProps=Ze({},e.memoizedProps);var i=ep(e,va);null!==i&&Zb(i,e,va,Za)}},zk=function(e,t,n){e.pendingProps=Yk(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var r=ep(e,va);null!==r&&Zb(r,e,va,Za)},Uk=function(e,t){e.pendingProps=Hk(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var n=ep(e,va);null!==n&&Zb(n,e,va,Za)},Fk=function(e,t,n){e.pendingProps=qk(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var r=ep(e,va);null!==r&&Zb(r,e,va,Za)},Bk=function(e){var t=ep(e,va);null!==t&&Zb(t,e,va,Za)},jk=function(e){Lk=e},Wk=function(e){Ik=e};var Zk="function"==typeof reportError?reportError:function(e){console.error(e)};function eS(e){this._internalRoot=e}function tS(e){this._internalRoot=e}function nS(e){return!(!e||e.nodeType!==yn&&e.nodeType!==kn&&e.nodeType!==Sn&&z)}function rS(e){return!(!e||e.nodeType!==yn&&e.nodeType!==kn&&e.nodeType!==Sn&&(e.nodeType!==wn||" react-mount-point-unstable "!==e.nodeValue))}function oS(e){e.nodeType===yn&&e.tagName&&"BODY"===e.tagName.toUpperCase()&&a("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),$c(e)&&(e._reactRootContainer?a("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):a("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}tS.prototype.render=eS.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw new Error("Cannot update an unmounted root.");"function"==typeof arguments[1]?a("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):nS(arguments[1])?a("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):void 0!==arguments[1]&&a("You passed a second argument to root.render(...) but it only accepts one argument.");var n=t.containerInfo;if(n.nodeType!==wn){var r=Ok(t.current);r&&r.parentNode!==n&&a("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}Tk(e,t,null,null)},tS.prototype.unmount=eS.prototype.unmount=function(){"function"==typeof arguments[0]&&a("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;lw()&&a("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),sw((function(){Tk(null,e,null,null)})),Hc(t)}},tS.prototype.unstable_scheduleHydration=function(e){e&&function(e){for(var t=Ni(),n={blockedOn:null,target:e,priority:t},r=0;r<Gi.length&&Ui(t,Gi[r].priority);r++);Gi.splice(r,0,n),0===r&&Zi(n)}(e)};var aS,iS,sS=n.ReactCurrentOwner;function lS(e){return e?e.nodeType===kn?e.documentElement:e.firstChild:null}function uS(){}function cS(e,t,n,r,o){aS(n),function(e,t){null!==e&&"function"!=typeof e&&a("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}(void 0===o?null:o,"render");var i,s=n._reactRootContainer;if(s){if("function"==typeof o){var l=o;o=function(){var e=Rk(i);l.call(e)}}Tk(t,i=s,e,o)}else i=function(e,t,n,r,o){if(o){if("function"==typeof r){var a=r;r=function(){var e=Rk(i);a.call(e)}}var i=Ck(t,r,e,Ed,0,!1,0,"",uS);return e._reactRootContainer=i,Vc(i.current,e),mu(e.nodeType===wn?e.parentNode:e),sw(),i}for(var s;s=e.lastChild;)e.removeChild(s);if("function"==typeof r){var l=r;r=function(){var e=Rk(u);l.call(e)}}var u=xk(e,Ed,0,!1,0,"",uS);return e._reactRootContainer=u,Vc(u.current,e),mu(e.nodeType===wn?e.parentNode:e),sw((function(){Tk(t,u,n,r)})),u}(n,t,e,o,r);return Rk(i)}aS=function(e){if(e._reactRootContainer&&e.nodeType!==wn){var t=Ok(e._reactRootContainer.current);t&&t.parentNode!==e&&a("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var n=!!e._reactRootContainer,r=lS(e);!(!r||!Qc(r))&&!n&&a("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===yn&&e.tagName&&"BODY"===e.tagName.toUpperCase()&&a("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")},iS=function(e){switch(e.tag){case c:var t=e.stateNode;if(Bi(t)){var n=function(e){return ni(e.pendingLanes)}(t);!function(e,t){t!==ma&&(_i(e,vi(t,va)),ew(e,Lo()),(cb&(tb|nb))===Zy&&(Rb(),Od()))}(t,n)}break;case w:sw((function(){var t=ep(e,va);if(null!==t){var n=Kb();Zb(t,e,va,n)}})),Pk(e,va)}},Ci=iS,function(e){Ti=e}((function(e){if(e.tag===w){var t=Qa,n=ep(e,t);if(null!==n)Zb(n,e,t,Kb());Pk(e,t)}})),function(e){Ri=e}((function(e){if(e.tag===w){var t=Xb(e),n=ep(e,t);if(null!==n)Zb(n,e,t,Kb());Pk(e,t)}})),function(e){Ni=e}(Ai),function(e){Pi=e}((function(e,t){var n=Mi;try{return Mi=e,t()}finally{Mi=n}})),"function"==typeof Map&&null!=Map.prototype&&"function"==typeof Map.prototype.forEach&&"function"==typeof Set&&null!=Set.prototype&&"function"==typeof Set.prototype.clear&&"function"==typeof Set.prototype.forEach||a("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),hr=function(e,t,n){switch(t){case"input":return void Ht(e,n);case"textarea":return void function(e,t){ln(e,t)}(e,n);case"select":return void function(e,t){var n=e,r=t.value;null!=r&&tn(n,!!t.multiple,r,!1)}(e,n)}},wr=iw,kr=sw;var dS={usingClientEntryPoint:!1,Events:[Qc,Yc,Gc,yr,br,iw]};var fS=function(e){var t=e.findFiberByHostInstance,r=n.ReactCurrentDispatcher;return function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return a("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{B&&(e=Ze({},e,{getLaneLabelMap:Yo,injectProfilingHooks:Qo})),jo=t.inject(e),Wo=t}catch(e){a("React instrumentation encountered an error: %s.",e)}return!!t.checkDCE}({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:Dk,overrideHookStateDeletePath:Mk,overrideHookStateRenamePath:Ak,overrideProps:zk,overridePropsDeletePath:Uk,overridePropsRenamePath:Fk,setErrorHandler:jk,setSuspenseHandler:Wk,scheduleUpdate:Bk,currentDispatcherRef:r,findHostInstanceByFiber:Kk,findFiberByHostInstance:t||Xk,findHostInstancesForRefresh:rk,scheduleRefresh:Zw,scheduleRoot:ek,setRefreshHandler:Qw,getCurrentFiber:Jk,reconcilerVersion:Sk})}({findFiberByHostInstance:qc,bundleType:1,version:Sk,rendererPackageName:"react-dom"});if(!fS&&Y&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&-1===navigator.userAgent.indexOf("Edge")||navigator.userAgent.indexOf("Firefox")>-1)){var pS=window.location.protocol;/^(https?|file):$/.test(pS)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+("file:"===pS?"\nYou might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq":""),"font-weight:bold")}He.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=dS,He.createPortal=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!nS(t))throw new Error("Target container is not a DOM element.");return _k(e,t,null,n)},He.createRoot=function(e,t){return dS.usingClientEntryPoint||a('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),function(e,t){if(!nS(e))throw new Error("createRoot(...): Target container is not a DOM element.");oS(e);var n=!1,r="",i=Zk;null!=t&&(t.hydrate?o("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):"object"==typeof t&&null!==t&&t.$$typeof===Re&&a("You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:\n\n let root = createRoot(domContainer);\n root.render(<App />);"),!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError),void 0!==t.transitionCallbacks&&t.transitionCallbacks);var s=xk(e,xd,0,n,0,r,i);return Vc(s.current,e),mu(e.nodeType===wn?e.parentNode:e),new eS(s)}(e,t)},He.findDOMNode=function(e){var t=sS.current;return null!==t&&null!==t.stateNode&&(t.stateNode._warnedAboutRefsInRender||a("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",ht(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0),null==e?null:e.nodeType===yn?e:function(e,t){var n=Fr(e);if(void 0===n){if("function"==typeof e.render)throw new Error("Unable to find node on an unmounted component.");var r=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+r)}var o=Eo(n);if(null===o)return null;if(o.mode&ua){var i=gt(n)||"Component";if(!kk[i]){kk[i]=!0;var s=yt;try{_t(o),n.mode&ua?a("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,i):a("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,i)}finally{s?_t(s):St()}}}return o.stateNode}(e,"findDOMNode")},He.flushSync=function(e){return lw()&&a("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),sw(e)},He.hydrate=function(e,t,n){if(a("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!rS(t))throw new Error("Target container is not a DOM element.");return $c(t)&&void 0===t._reactRootContainer&&a("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?"),cS(null,e,t,!0,n)},He.hydrateRoot=function(e,t,n){return dS.usingClientEntryPoint||a('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),function(e,t,n){if(!nS(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");oS(e),void 0===t&&a("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var r=null!=n&&n.hydratedSources||null,o=!1,i="",s=Zk;null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError));var l=Ck(t,null,e,xd,0,o,0,i,s);if(Vc(l.current,e),mu(e),r)for(var u=0;u<r.length;u++)Oh(l,r[u]);return new tS(l)}(e,t,n)},He.render=function(e,t,n){if(a("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!rS(t))throw new Error("Target container is not a DOM element.");return $c(t)&&void 0===t._reactRootContainer&&a("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?"),cS(null,e,t,!1,n)},He.unmountComponentAtNode=function(e){if(!rS(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");if($c(e)&&void 0===e._reactRootContainer&&a("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?"),e._reactRootContainer){var t=lS(e);return t&&!Qc(t)&&a("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React."),sw((function(){cS(null,null,e,!1,(function(){e._reactRootContainer=null,Hc(e)}))})),!0}var n=lS(e),r=!(!n||!Qc(n)),o=e.nodeType===yn&&rS(e.parentNode)&&!!e.parentNode._reactRootContainer;return r&&a("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",o?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component."),!1},He.unstable_batchedUpdates=iw,He.unstable_renderSubtreeIntoContainer=function(e,t,n,r){return function(e,t,n,r){if(a("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!rS(n))throw new Error("Target container is not a DOM element.");if(null==e||void 0===e._reactInternals)throw new Error("parentComponent must be a valid React Component");return cS(e,t,n,!1,r)}(e,t,n,r)},He.version=Sk,"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),He}!function(e){"production"===process.env.NODE_ENV?(!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){if("production"!==process.env.NODE_ENV)throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=je()):e.exports=$e()}(Oe);var qe=Oe.exports;if("production"===process.env.NODE_ENV)Ve=qe.createRoot,qe.hydrateRoot;else{var Qe=qe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;Ve=function(e,t){Qe.usingClientEntryPoint=!0;try{return qe.createRoot(e,t)}finally{Qe.usingClientEntryPoint=!1}}}var Ye,Ge,Ke=Object.defineProperty,Xe=Object.getOwnPropertySymbols,Je=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,et=(e,t,n)=>t in e?Ke(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tt=(e,t)=>{for(var n in t||(t={}))Je.call(t,n)&&et(e,n,t[n]);if(Xe)for(var n of Xe(t))Ze.call(t,n)&&et(e,n,t[n]);return e},nt=(e,t)=>{var n={};for(var r in e)Je.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Xe)for(var r of Xe(e))t.indexOf(r)<0&&Ze.call(e,r)&&(n[r]=e[r]);return n};(e=>{const t=class{constructor(e,n,r,o){if(this.version=e,this.errorCorrectionLevel=n,this.modules=[],this.isFunction=[],e<t.MIN_VERSION||e>t.MAX_VERSION)throw new RangeError("Version value out of range");if(o<-1||o>7)throw new RangeError("Mask value out of range");this.size=4*e+17;let i=[];for(let e=0;e<this.size;e++)i.push(!1);for(let e=0;e<this.size;e++)this.modules.push(i.slice()),this.isFunction.push(i.slice());this.drawFunctionPatterns();const s=this.addEccAndInterleave(r);if(this.drawCodewords(s),-1==o){let e=1e9;for(let t=0;t<8;t++){this.applyMask(t),this.drawFormatBits(t);const n=this.getPenaltyScore();n<e&&(o=t,e=n),this.applyMask(t)}}a(0<=o&&o<=7),this.mask=o,this.applyMask(o),this.drawFormatBits(o),this.isFunction=[]}static encodeText(n,r){const o=e.QrSegment.makeSegments(n);return t.encodeSegments(o,r)}static encodeBinary(n,r){const o=e.QrSegment.makeBytes(n);return t.encodeSegments([o],r)}static encodeSegments(e,n,o=1,i=40,l=-1,u=!0){if(!(t.MIN_VERSION<=o&&o<=i&&i<=t.MAX_VERSION)||l<-1||l>7)throw new RangeError("Invalid value");let c,d;for(c=o;;c++){const r=8*t.getNumDataCodewords(c,n),o=s.getTotalBits(e,c);if(o<=r){d=o;break}if(c>=i)throw new RangeError("Data too long")}for(const e of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])u&&d<=8*t.getNumDataCodewords(c,e)&&(n=e);let f=[];for(const t of e){r(t.mode.modeBits,4,f),r(t.numChars,t.mode.numCharCountBits(c),f);for(const e of t.getData())f.push(e)}a(f.length==d);const p=8*t.getNumDataCodewords(c,n);a(f.length<=p),r(0,Math.min(4,p-f.length),f),r(0,(8-f.length%8)%8,f),a(f.length%8==0);for(let e=236;f.length<p;e^=253)r(e,8,f);let h=[];for(;8*h.length<f.length;)h.push(0);return f.forEach(((e,t)=>h[t>>>3]|=e<<7-(7&t))),new t(c,n,h,l)}getModule(e,t){return 0<=e&&e<this.size&&0<=t&&t<this.size&&this.modules[t][e]}getModules(){return this.modules}drawFunctionPatterns(){for(let e=0;e<this.size;e++)this.setFunctionModule(6,e,e%2==0),this.setFunctionModule(e,6,e%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);const e=this.getAlignmentPatternPositions(),t=e.length;for(let n=0;n<t;n++)for(let r=0;r<t;r++)0==n&&0==r||0==n&&r==t-1||n==t-1&&0==r||this.drawAlignmentPattern(e[n],e[r]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(e){const t=this.errorCorrectionLevel.formatBits<<3|e;let n=t;for(let e=0;e<10;e++)n=n<<1^1335*(n>>>9);const r=21522^(t<<10|n);a(r>>>15==0);for(let e=0;e<=5;e++)this.setFunctionModule(8,e,o(r,e));this.setFunctionModule(8,7,o(r,6)),this.setFunctionModule(8,8,o(r,7)),this.setFunctionModule(7,8,o(r,8));for(let e=9;e<15;e++)this.setFunctionModule(14-e,8,o(r,e));for(let e=0;e<8;e++)this.setFunctionModule(this.size-1-e,8,o(r,e));for(let e=8;e<15;e++)this.setFunctionModule(8,this.size-15+e,o(r,e));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let e=this.version;for(let t=0;t<12;t++)e=e<<1^7973*(e>>>11);const t=this.version<<12|e;a(t>>>18==0);for(let e=0;e<18;e++){const n=o(t,e),r=this.size-11+e%3,a=Math.floor(e/3);this.setFunctionModule(r,a,n),this.setFunctionModule(a,r,n)}}drawFinderPattern(e,t){for(let n=-4;n<=4;n++)for(let r=-4;r<=4;r++){const o=Math.max(Math.abs(r),Math.abs(n)),a=e+r,i=t+n;0<=a&&a<this.size&&0<=i&&i<this.size&&this.setFunctionModule(a,i,2!=o&&4!=o)}}drawAlignmentPattern(e,t){for(let n=-2;n<=2;n++)for(let r=-2;r<=2;r++)this.setFunctionModule(e+r,t+n,1!=Math.max(Math.abs(r),Math.abs(n)))}setFunctionModule(e,t,n){this.modules[t][e]=n,this.isFunction[t][e]=!0}addEccAndInterleave(e){const n=this.version,r=this.errorCorrectionLevel;if(e.length!=t.getNumDataCodewords(n,r))throw new RangeError("Invalid argument");const o=t.NUM_ERROR_CORRECTION_BLOCKS[r.ordinal][n],i=t.ECC_CODEWORDS_PER_BLOCK[r.ordinal][n],s=Math.floor(t.getNumRawDataModules(n)/8),l=o-s%o,u=Math.floor(s/o);let c=[];const d=t.reedSolomonComputeDivisor(i);for(let n=0,r=0;n<o;n++){let o=e.slice(r,r+u-i+(n<l?0:1));r+=o.length;const a=t.reedSolomonComputeRemainder(o,d);n<l&&o.push(0),c.push(o.concat(a))}let f=[];for(let e=0;e<c[0].length;e++)c.forEach(((t,n)=>{(e!=u-i||n>=l)&&f.push(t[e])}));return a(f.length==s),f}drawCodewords(e){if(e.length!=Math.floor(t.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let n=0;for(let t=this.size-1;t>=1;t-=2){6==t&&(t=5);for(let r=0;r<this.size;r++)for(let a=0;a<2;a++){const i=t-a,s=0==(t+1&2)?this.size-1-r:r;!this.isFunction[s][i]&&n<8*e.length&&(this.modules[s][i]=o(e[n>>>3],7-(7&n)),n++)}}a(n==8*e.length)}applyMask(e){if(e<0||e>7)throw new RangeError("Mask value out of range");for(let t=0;t<this.size;t++)for(let n=0;n<this.size;n++){let r;switch(e){case 0:r=(n+t)%2==0;break;case 1:r=t%2==0;break;case 2:r=n%3==0;break;case 3:r=(n+t)%3==0;break;case 4:r=(Math.floor(n/3)+Math.floor(t/2))%2==0;break;case 5:r=n*t%2+n*t%3==0;break;case 6:r=(n*t%2+n*t%3)%2==0;break;case 7:r=((n+t)%2+n*t%3)%2==0;break;default:throw new Error("Unreachable")}!this.isFunction[t][n]&&r&&(this.modules[t][n]=!this.modules[t][n])}}getPenaltyScore(){let e=0;for(let n=0;n<this.size;n++){let r=!1,o=0,a=[0,0,0,0,0,0,0];for(let i=0;i<this.size;i++)this.modules[n][i]==r?(o++,5==o?e+=t.PENALTY_N1:o>5&&e++):(this.finderPenaltyAddHistory(o,a),r||(e+=this.finderPenaltyCountPatterns(a)*t.PENALTY_N3),r=this.modules[n][i],o=1);e+=this.finderPenaltyTerminateAndCount(r,o,a)*t.PENALTY_N3}for(let n=0;n<this.size;n++){let r=!1,o=0,a=[0,0,0,0,0,0,0];for(let i=0;i<this.size;i++)this.modules[i][n]==r?(o++,5==o?e+=t.PENALTY_N1:o>5&&e++):(this.finderPenaltyAddHistory(o,a),r||(e+=this.finderPenaltyCountPatterns(a)*t.PENALTY_N3),r=this.modules[i][n],o=1);e+=this.finderPenaltyTerminateAndCount(r,o,a)*t.PENALTY_N3}for(let n=0;n<this.size-1;n++)for(let r=0;r<this.size-1;r++){const o=this.modules[n][r];o==this.modules[n][r+1]&&o==this.modules[n+1][r]&&o==this.modules[n+1][r+1]&&(e+=t.PENALTY_N2)}let n=0;for(const e of this.modules)n=e.reduce(((e,t)=>e+(t?1:0)),n);const r=this.size*this.size,o=Math.ceil(Math.abs(20*n-10*r)/r)-1;return a(0<=o&&o<=9),e+=o*t.PENALTY_N4,a(0<=e&&e<=2568888),e}getAlignmentPatternPositions(){if(1==this.version)return[];{const e=Math.floor(this.version/7)+2,t=32==this.version?26:2*Math.ceil((4*this.version+4)/(2*e-2));let n=[6];for(let r=this.size-7;n.length<e;r-=t)n.splice(1,0,r);return n}}static getNumRawDataModules(e){if(e<t.MIN_VERSION||e>t.MAX_VERSION)throw new RangeError("Version number out of range");let n=(16*e+128)*e+64;if(e>=2){const t=Math.floor(e/7)+2;n-=(25*t-10)*t-55,e>=7&&(n-=36)}return a(208<=n&&n<=29648),n}static getNumDataCodewords(e,n){return Math.floor(t.getNumRawDataModules(e)/8)-t.ECC_CODEWORDS_PER_BLOCK[n.ordinal][e]*t.NUM_ERROR_CORRECTION_BLOCKS[n.ordinal][e]}static reedSolomonComputeDivisor(e){if(e<1||e>255)throw new RangeError("Degree out of range");let n=[];for(let t=0;t<e-1;t++)n.push(0);n.push(1);let r=1;for(let o=0;o<e;o++){for(let e=0;e<n.length;e++)n[e]=t.reedSolomonMultiply(n[e],r),e+1<n.length&&(n[e]^=n[e+1]);r=t.reedSolomonMultiply(r,2)}return n}static reedSolomonComputeRemainder(e,n){let r=n.map((e=>0));for(const o of e){const e=o^r.shift();r.push(0),n.forEach(((n,o)=>r[o]^=t.reedSolomonMultiply(n,e)))}return r}static reedSolomonMultiply(e,t){if(e>>>8!=0||t>>>8!=0)throw new RangeError("Byte out of range");let n=0;for(let r=7;r>=0;r--)n=n<<1^285*(n>>>7),n^=(t>>>r&1)*e;return a(n>>>8==0),n}finderPenaltyCountPatterns(e){const t=e[1];a(t<=3*this.size);const n=t>0&&e[2]==t&&e[3]==3*t&&e[4]==t&&e[5]==t;return(n&&e[0]>=4*t&&e[6]>=t?1:0)+(n&&e[6]>=4*t&&e[0]>=t?1:0)}finderPenaltyTerminateAndCount(e,t,n){return e&&(this.finderPenaltyAddHistory(t,n),t=0),t+=this.size,this.finderPenaltyAddHistory(t,n),this.finderPenaltyCountPatterns(n)}finderPenaltyAddHistory(e,t){0==t[0]&&(e+=this.size),t.pop(),t.unshift(e)}};let n=t;function r(e,t,n){if(t<0||t>31||e>>>t!=0)throw new RangeError("Value out of range");for(let r=t-1;r>=0;r--)n.push(e>>>r&1)}function o(e,t){return 0!=(e>>>t&1)}function a(e){if(!e)throw new Error("Assertion error")}n.MIN_VERSION=1,n.MAX_VERSION=40,n.PENALTY_N1=3,n.PENALTY_N2=3,n.PENALTY_N3=40,n.PENALTY_N4=10,n.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],n.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=n;const i=class{constructor(e,t,n){if(this.mode=e,this.numChars=t,this.bitData=n,t<0)throw new RangeError("Invalid argument");this.bitData=n.slice()}static makeBytes(e){let t=[];for(const n of e)r(n,8,t);return new i(i.Mode.BYTE,e.length,t)}static makeNumeric(e){if(!i.isNumeric(e))throw new RangeError("String contains non-numeric characters");let t=[];for(let n=0;n<e.length;){const o=Math.min(e.length-n,3);r(parseInt(e.substr(n,o),10),3*o+1,t),n+=o}return new i(i.Mode.NUMERIC,e.length,t)}static makeAlphanumeric(e){if(!i.isAlphanumeric(e))throw new RangeError("String contains unencodable characters in alphanumeric mode");let t,n=[];for(t=0;t+2<=e.length;t+=2){let o=45*i.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t));o+=i.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t+1)),r(o,11,n)}return t<e.length&&r(i.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t)),6,n),new i(i.Mode.ALPHANUMERIC,e.length,n)}static makeSegments(e){return""==e?[]:i.isNumeric(e)?[i.makeNumeric(e)]:i.isAlphanumeric(e)?[i.makeAlphanumeric(e)]:[i.makeBytes(i.toUtf8ByteArray(e))]}static makeEci(e){let t=[];if(e<0)throw new RangeError("ECI assignment value out of range");if(e<128)r(e,8,t);else if(e<16384)r(2,2,t),r(e,14,t);else{if(!(e<1e6))throw new RangeError("ECI assignment value out of range");r(6,3,t),r(e,21,t)}return new i(i.Mode.ECI,0,t)}static isNumeric(e){return i.NUMERIC_REGEX.test(e)}static isAlphanumeric(e){return i.ALPHANUMERIC_REGEX.test(e)}getData(){return this.bitData.slice()}static getTotalBits(e,t){let n=0;for(const r of e){const e=r.mode.numCharCountBits(t);if(r.numChars>=1<<e)return 1/0;n+=4+e+r.bitData.length}return n}static toUtf8ByteArray(e){e=encodeURI(e);let t=[];for(let n=0;n<e.length;n++)"%"!=e.charAt(n)?t.push(e.charCodeAt(n)):(t.push(parseInt(e.substr(n+1,2),16)),n+=2);return t}};let s=i;s.NUMERIC_REGEX=/^[0-9]*$/,s.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,s.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",e.QrSegment=s})(Ye||(Ye={})),(e=>{const t=class{constructor(e,t){this.ordinal=e,this.formatBits=t}};let n=t;n.LOW=new t(0,1),n.MEDIUM=new t(1,0),n.QUARTILE=new t(2,3),n.HIGH=new t(3,2),e.Ecc=n})((Ge=Ye||(Ye={})).QrCode||(Ge.QrCode={})),(e=>{(e=>{const t=class{constructor(e,t){this.modeBits=e,this.numBitsCharCount=t}numCharCountBits(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}};let n=t;n.NUMERIC=new t(1,[10,12,14]),n.ALPHANUMERIC=new t(2,[9,11,13]),n.BYTE=new t(4,[8,16,16]),n.KANJI=new t(8,[8,10,12]),n.ECI=new t(7,[0,0,0]),e.Mode=n})(e.QrSegment||(e.QrSegment={}))})(Ye||(Ye={}));var rt=Ye,ot={L:rt.QrCode.Ecc.LOW,M:rt.QrCode.Ecc.MEDIUM,Q:rt.QrCode.Ecc.QUARTILE,H:rt.QrCode.Ecc.HIGH},at=128,it="L",st="#FFFFFF",lt="#000000",ut=!1,ct=4,dt=.1;
42
- /**
43
- * @license qrcode.react
44
- * Copyright (c) Paul O'Shannessy
45
- * SPDX-License-Identifier: ISC
46
- */function ft(e){const t=e,{value:n,size:r=at,level:o=it,bgColor:a=st,fgColor:i=lt,includeMargin:s=ut,imageSettings:l}=t,u=nt(t,["value","size","level","bgColor","fgColor","includeMargin","imageSettings"]);let c=rt.QrCode.encodeText(n,ot[o]).getModules();const d=s?ct:0,f=c.length+2*d,p=function(e,t,n,r){if(null==r)return null;const o=n?ct:0,a=e.length+2*o,i=Math.floor(t*dt),s=a/t,l=(r.width||i)*s,u=(r.height||i)*s,c=null==r.x?e.length/2-l/2:r.x*s,d=null==r.y?e.length/2-u/2:r.y*s;let f=null;if(r.excavate){let e=Math.floor(c),t=Math.floor(d);f={x:e,y:t,w:Math.ceil(l+c-e),h:Math.ceil(u+d-t)}}return{x:c,y:d,h:u,w:l,excavation:f}}(c,r,s,l);let h=null;var m,g;null!=l&&null!=p&&(null!=p.excavation&&(m=c,g=p.excavation,c=m.slice().map(((e,t)=>t<g.y||t>=g.y+g.h?e:e.map(((e,t)=>(t<g.x||t>=g.x+g.w)&&e))))),h=Pe.createElement("image",{xlinkHref:l.src,height:p.h,width:p.w,x:p.x+d,y:p.y+d,preserveAspectRatio:"none"}));const v=function(e,t=0){const n=[];return e.forEach((function(e,r){let o=null;e.forEach((function(a,i){if(!a&&null!==o)return n.push(`M${o+t} ${r+t}h${i-o}v1H${o+t}z`),void(o=null);if(i!==e.length-1)a&&null===o&&(o=i);else{if(!a)return;null===o?n.push(`M${i+t},${r+t} h1v1H${i+t}z`):n.push(`M${o+t},${r+t} h${i+1-o}v1H${o+t}z`)}}))})),n.join("")}(c,d);return Pe.createElement("svg",tt({height:r,width:r,viewBox:`0 0 ${f} ${f}`},u),Pe.createElement("path",{fill:a,d:`M0,0 h${f}v${f}H0z`,shapeRendering:"crispEdges"}),Pe.createElement("path",{fill:i,d:v,shapeRendering:"crispEdges"}),h)}!function(){try{(new Path2D).addPath(new Path2D)}catch(e){return!1}}();var pt="\n.pointer-events-auto {\n pointer-events: auto;\n}\n\n.fixed {\n position: fixed;\n}\n\n.absolute {\n position: absolute;\n}\n\n.relative {\n position: relative;\n}\n\n.bottom-0 {\n bottom: 0px;\n}\n\n.left-0 {\n left: 0px;\n}\n\n.top-0 {\n top: 0px;\n}\n\n.top-2\\/4 {\n top: 50%;\n}\n\n.m-auto {\n margin: auto;\n}\n\n.mx-\\[4px\\] {\n margin-left: 4px;\n margin-right: 4px;\n}\n\n.mb-4 {\n margin-bottom: 1rem;\n}\n\n.mb-6 {\n margin-bottom: 1.5rem;\n}\n\n.ml-1 {\n margin-left: 0.25rem;\n}\n\n.mt-6 {\n margin-top: 1.5rem;\n}\n\n.mt-\\[35px\\] {\n margin-top: 35px;\n}\n\n.flex {\n display: flex;\n}\n\n.grid {\n display: grid;\n}\n\n.h-\\[200px\\] {\n height: 200px;\n}\n\n.h-\\[24px\\] {\n height: 24px;\n}\n\n.h-\\[40px\\] {\n height: 40px;\n}\n\n.h-\\[52px\\] {\n height: 52px;\n}\n\n.h-full {\n height: 100%;\n}\n\n.w-\\[150px\\] {\n width: 150px;\n}\n\n.w-\\[200px\\] {\n width: 200px;\n}\n\n.w-\\[20px\\] {\n width: 20px;\n}\n\n.w-\\[24px\\] {\n width: 24px;\n}\n\n.w-\\[343px\\] {\n width: 343px;\n}\n\n.w-\\[60px\\] {\n width: 60px;\n}\n\n.w-\\[75px\\] {\n width: 75px;\n}\n\n.w-full {\n width: 100%;\n}\n\n.translate-y-\\[-50\\%\\] {\n --tw-translate-y: -50%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.cursor-pointer {\n cursor: pointer;\n}\n\n.grid-flow-col {\n grid-auto-flow: column;\n}\n\n.grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n}\n\n.items-center {\n align-items: center;\n}\n\n.justify-end {\n justify-content: flex-end;\n}\n\n.justify-center {\n justify-content: center;\n}\n\n.justify-between {\n justify-content: space-between;\n}\n\n.gap-x-4 {\n -moz-column-gap: 1rem;\n column-gap: 1rem;\n}\n\n.gap-y-2 {\n row-gap: 0.5rem;\n}\n\n.rounded {\n border-radius: 0.25rem;\n}\n\n.rounded-2xl {\n border-radius: 1rem;\n}\n\n.rounded-lg {\n border-radius: 0.5rem;\n}\n\n.rounded-t-2xl {\n border-top-left-radius: 1rem;\n border-top-right-radius: 1rem;\n}\n\n.border {\n border-width: 1px;\n}\n\n.border-b {\n border-bottom-width: 1px;\n}\n\n.border-gray-300 {\n --tw-border-opacity: 1;\n border-color: rgb(209 213 219 / var(--tw-border-opacity));\n}\n\n.bg-black\\/\\[\\.80\\] {\n background-color: rgb(0 0 0 / .80);\n}\n\n.bg-white {\n --tw-bg-opacity: 1;\n background-color: rgb(255 255 255 / var(--tw-bg-opacity));\n}\n\n.p-\\[12px\\] {\n padding: 12px;\n}\n\n.px-4 {\n padding-left: 1rem;\n padding-right: 1rem;\n}\n\n.px-6 {\n padding-left: 1.5rem;\n padding-right: 1.5rem;\n}\n\n.py-3 {\n padding-top: 0.75rem;\n padding-bottom: 0.75rem;\n}\n\n.py-4 {\n padding-top: 1rem;\n padding-bottom: 1rem;\n}\n\n.pb-6 {\n padding-bottom: 1.5rem;\n}\n\n.pt-\\[20px\\] {\n padding-top: 20px;\n}\n\n.text-center {\n text-align: center;\n}\n\n.text-base {\n font-size: 1rem;\n line-height: 1.5rem;\n}\n\n.font-medium {\n font-weight: 500;\n}\n\n.text-\\[\\#1E2329\\] {\n --tw-text-opacity: 1;\n color: rgb(30 35 41 / var(--tw-text-opacity));\n}\n\n.text-\\[\\#929AA5\\] {\n --tw-text-opacity: 1;\n color: rgb(146 154 165 / var(--tw-text-opacity));\n}\n\n.shadow-inner {\n --tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);\n --tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.duration-300 {\n transition-duration: 300ms;\n}\n\n.ease-in-out {\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.will-change-auto {\n will-change: auto;\n}\n\n.will-change-transform {\n will-change: transform;\n}\n\n.body3 {\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n}\n\n.subtitle1 {\n font-size: 20px;\n font-style: normal;\n font-weight: 600;\n line-height: 28px;\n}\n\n.subtitle3 {\n font-size: 16px;\n font-style: normal;\n font-weight: 500;\n line-height: 24px;\n /* 150% */\n}\n\n.caption2 {\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n line-height: 16px;\n}\n\n.t-black {\n color: #0b0e11;\n}\n\n.t-brand {\n color: #c99400;\n}\n\n.t-primary {\n color: #202630;\n}\n\n.t-secondary {\n color: #474d57;\n}\n\n.bg-primary {\n background: #fcd535;\n}\n\n@media (min-width: 768px) {\n .md\\:subtitle1 {\n font-size: 20px;\n font-style: normal;\n font-weight: 600;\n line-height: 28px;\n }\n\n .md\\:w-\\[400px\\] {\n width: 400px;\n }\n\n .md\\:font-semibold {\n font-weight: 600;\n }\n}\n\n@media (min-width: 1024px) {\n .lg\\:p-8 {\n padding: 2rem;\n }\n\n .lg\\:pt-6 {\n padding-top: 1.5rem;\n }\n\n .lg\\:text-xl {\n font-size: 1.25rem;\n line-height: 1.75rem;\n }\n}\n\n*, :before, :after {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / .5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n}\n:root {\n --animation-duration: 300ms;\n}\n\n\n@keyframes fadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n\n@keyframes fadeOut {\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n}\n\n.animated {\n animation-duration: var(--animation-duration);\n animation-fill-mode: both;\n}\n\n.fadeIn {\n animation-name: fadeIn;\n}\n\n.fadeOut {\n animation-name: fadeOut;\n}\n\n#binanceW3W-wrapper {\n -webkit-user-select: none;\n align-items: center;\n display: flex;\n height: 100%;\n justify-content: center;\n left: 0;\n pointer-events: none;\n position: fixed;\n top: 0;\n user-select: none;\n width: 100%;\n z-index: 99999999999999;\n}\n",ht=Se.exports.createContext({}),mt="binanceW3W-wrapper",gt="binanceW3W-style-sheet",vt="binanceW3W-qrcode-modal",yt="https://app.appsflyer.com/com.binance.dev?pid=https%3A%2F%2Fwww.binance.com%2Fen&c=https%3A%2F%2Fwww.binance.com%2Fen",bt="https://app.appsflyer.com/id1436799971?pid=https%3A%2F%2Fwww.binance.com%2Fen&c=https%3A%2F%2Fwww.binance.com%2Fen",wt="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNTYiIHZpZXdCb3g9IjAgMCA1NiA1NiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3QgeD0iMiIgeT0iMiIgd2lkdGg9IjUyIiBoZWlnaHQ9IjUyIiByeD0iMTAiIGZpbGw9IiMxNDE1MUEiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS13aWR0aD0iNCIvPgo8cGF0aCBkPSJNMTIgMjhMMTUuNjEyOSAyNC4zODcxTDE5LjIyNTggMjhMMTUuNjEyOSAzMS42MTI5TDEyIDI4WiIgZmlsbD0iI0YwQjkwQiIvPgo8cGF0aCBkPSJNMTguMTkzNSAyMS44MDY1TDI4IDEyTDM3LjgwNjUgMjEuODA2NUwzNC4xOTM2IDI1LjQxOTRMMjggMTkuMjI1OEwyMS44MDY1IDI1LjQxOTRMMTguMTkzNSAyMS44MDY1WiIgZmlsbD0iI0YwQjkwQiIvPgo8cGF0aCBkPSJNMjQuMzg3MSAyOEwyOCAyNC4zODcxTDMxLjYxMjkgMjhMMjggMzEuNjEyOUwyNC4zODcxIDI4WiIgZmlsbD0iI0YwQjkwQiIvPgo8cGF0aCBkPSJNMjEuODA2NSAzMC41ODA2TDE4LjE5MzUgMzQuMTkzNUwyOCA0NEwzNy44MDY1IDM0LjE5MzVMMzQuMTkzNiAzMC41ODA2TDI4IDM2Ljc3NDJMMjEuODA2NSAzMC41ODA2WiIgZmlsbD0iI0YwQjkwQiIvPgo8cGF0aCBkPSJNMzYuNzc0MiAyOEw0MC4zODcxIDI0LjM4NzFMNDQgMjhMNDAuMzg3MSAzMS42MTI5TDM2Ljc3NDIgMjhaIiBmaWxsPSIjRjBCOTBCIi8+Cjwvc3ZnPgo=",kt=()=>{let[e,t]=Se.exports.useState(),[n,r]=Se.exports.useState(!1);return Se.exports.useEffect((()=>{let e=u(),n=c();t(e),r(n)}),[]),{isMobile:e,isAndroid:n}},St={en:{"sdk-download-android":"Download for Android","sdk-connect":"Connect","sdk-download-ios":"Download for iOS","sdk-install":"Install","sdk-modal-instruct-1":"1. Open Binance app","sdk-modal-instruct-2":"2. Tap {{icon}} on Home Screen","sdk-modal-title":"Connect With Binance","sdk-no-app":"Don’t have the Binance app yet?"},ar:{"sdk-download-android":"تنزيل لنظام Android","sdk-connect":"اتصال","sdk-download-ios":"تنزيل لنظام iOS","sdk-install":"تثبيت","sdk-modal-instruct-1":"1. افتح تطبيق Binance","sdk-modal-instruct-2":"2. اضغط {{icon}} على الشاشة الرئيسية","sdk-modal-title":"الربط مع Binance (بينانس)","sdk-no-app":"ليس لديك تطبيق Binance حتّى الآن؟"},"bg-BG":{"sdk-download-android":"Изтегляне за Android","sdk-connect":"Свържи","sdk-download-ios":"Изтегляне за iOS","sdk-install":"Инсталиране","sdk-modal-instruct-1":"1. Отворете приложението Binance","sdk-modal-instruct-2":"2. Докоснете {{icon}} на началния екран","sdk-modal-title":"Свържете се с Binance","sdk-no-app":"Все още нямате приложението Binance?"},"zh-CN":{"sdk-download-android":"下载安卓版","sdk-connect":"关联","sdk-download-ios":"下载iOS版","sdk-install":"安装","sdk-modal-instruct-1":"1.打开币安App","sdk-modal-instruct-2":"2.点击主屏幕的{{icon}}","sdk-modal-title":"关联币安","sdk-no-app":"尚未安装币安App?"},"zh-TW":{"sdk-download-android":"Android 下載","sdk-connect":"連接","sdk-download-ios":"iOS 下載","sdk-install":"安裝","sdk-modal-instruct-1":"1. 開啟幣安 App","sdk-modal-instruct-2":"2. 在首頁畫面上點擊 {{icon}}","sdk-modal-title":"與幣安連接","sdk-no-app":"還沒有幣安 App 嗎?"},"cs-CZ":{"sdk-download-android":"Stáhnout pro Android","sdk-connect":"Připojit","sdk-download-ios":"Stáhnout pro iOS","sdk-install":"Instalovat","sdk-modal-instruct-1":"1. Otevřete aplikaci Binance","sdk-modal-instruct-2":"2. Klepněte na {{icon}} na domovské obrazovce","sdk-modal-title":"Připojit platformu Binance","sdk-no-app":"Ještě nemáte aplikaci Binance?"},"fr-FR":{"sdk-download-android":"Télécharger pour Android","sdk-connect":"Se connecter","sdk-download-ios":"Télécharger pour iOS","sdk-install":"Installer","sdk-modal-instruct-1":"1. Ouvrez l’application de Binance","sdk-modal-instruct-2":"2. Appuyez sur {{icon}} sur l’écran d’accueil","sdk-modal-title":"Se connecter à Binance","sdk-no-app":"Vous n’avez pas encore l’application de Binance ?"},"de-DE":{"sdk-download-android":"Für Android herunterladen","sdk-connect":"Verbinden","sdk-download-ios":"Für iOS herunterladen","sdk-install":"Installieren","sdk-modal-instruct-1":"1. Binance-App öffnen","sdk-modal-instruct-2":"2. Tippe auf dem Startbildschirm auf {{icon}}","sdk-modal-title":"Mit Binance verknüpfen","sdk-no-app":"Du hast die Binance-App noch nicht?"},"el-GR":{"sdk-download-android":"Λήψη για Android","sdk-connect":"Συνδεθείτε","sdk-download-ios":"Λήψη για iOS","sdk-install":"Εγκατάσταση","sdk-modal-instruct-1":"1. Ανοίξτε την εφαρμογή Binance","sdk-modal-instruct-2":"2. Πατήστε {{icon}} στην αρχική οθόνη","sdk-modal-title":"Συνδεθείτε με την Binance","sdk-no-app":"Δεν έχετε ακόμα την εφαρμογή Binance;"},"id-ID":{"sdk-download-android":"Unduh untuk Android","sdk-connect":"Terhubung","sdk-download-ios":"Unduh untuk iOS","sdk-install":"Instal","sdk-modal-instruct-1":"1. Buka aplikasi Binance","sdk-modal-instruct-2":"2. Ketuk {{icon}} di Layar Beranda","sdk-modal-title":"Hubungkan dengan Binance","sdk-no-app":"Belum punya aplikasi Binance?"},"it-IT":{"sdk-download-android":"Scarica per Android","sdk-connect":"Collega","sdk-download-ios":"Scarica per iOS","sdk-install":"Installa","sdk-modal-instruct-1":"1. Apri l'app Binance","sdk-modal-instruct-2":"2. Tocca {{icon}} nella homepage","sdk-modal-title":"Collega con Binance","sdk-no-app":"Non hai ancora l'app Binance?"},"kk-KZ":{"sdk-download-android":"Android үшін жүктеп алу","sdk-connect":"Қосылу","sdk-download-ios":"iOS үшін жүктеп алу","sdk-install":"Орнату","sdk-modal-instruct-1":"1. Binance қолданбасын ашыңыз","sdk-modal-instruct-2":"2. Басты экрандағы {{icon}} белгішесін түртіңіз","sdk-modal-title":"Binance платформасымен байланыстыру","sdk-no-app":"Сізде әлі Binance қолданбасы жоқ па?"},"lv-LV":{"sdk-download-android":"Lejupielādēt Android ierīcei","sdk-connect":"Savienot","sdk-download-ios":"Lejupielādēt iOS ierīcei","sdk-install":"Instalēt","sdk-modal-instruct-1":"1. Atver Binance lietotni","sdk-modal-instruct-2":"2. Pieskaries pie {{icon}} sākuma ekrānā","sdk-modal-title":"Savieno ar Binance","sdk-no-app":"Vai tev vēl nav Binance lietotnes?"},"pl-PL":{"sdk-download-android":"Pobierz na Androida","sdk-connect":"Połącz","sdk-download-ios":"Pobierz na iOS","sdk-install":"Zainstaluj","sdk-modal-instruct-1":"1. Otwórz Aplikację Binance","sdk-modal-instruct-2":"2. Kliknij {{icon}} na ekranie głównym","sdk-modal-title":"Połącz z Binance","sdk-no-app":"Nie masz jeszcze aplikacji Binance?"},"pt-BR":{"sdk-download-android":"Baixar para Android","sdk-connect":"Conecte","sdk-download-ios":"Baixar para iOS","sdk-install":"Instalar","sdk-modal-instruct-1":"1. Abra o Aplicativo da Binance","sdk-modal-instruct-2":"2. Toque em {{icon}} na Tela Inicial","sdk-modal-title":"Conectar com a Binance","sdk-no-app":"Ainda não tem o aplicativo da Binance?"},"pt-PT":{"sdk-download-android":"Transferir para Android","sdk-connect":"Associar","sdk-download-ios":"Transferir para iOS","sdk-install":"Instalar","sdk-modal-instruct-1":"1. Abre a aplicação Binance","sdk-modal-instruct-2":"2. Toca em {{icon}} no Ecrã Inicial","sdk-modal-title":"Associa com a Binance","sdk-no-app":"Ainda não tens a aplicação Binance?"},"ro-RO":{"sdk-download-android":"Descărcați pentru Android","sdk-connect":"Conectare","sdk-download-ios":"Descărcați pentru iOS","sdk-install":"Instalați","sdk-modal-instruct-1":"1. Deschideți aplicația Binance","sdk-modal-instruct-2":"2. Atingeți {{icon}} pe ecranul de pornire","sdk-modal-title":"Conectați-vă cu Binance","sdk-no-app":"Nu aveți încă aplicația Binance?"},"ru-RU":{"sdk-download-android":"Скачать для Android","sdk-connect":"Подключить","sdk-download-ios":"Скачать для iOS","sdk-install":"Установить","sdk-modal-instruct-1":"1. Откройте приложение Binance","sdk-modal-instruct-2":"2. Нажмите {{icon}} на главном экране","sdk-modal-title":"Подключить кошелек Binance","sdk-no-app":"У вас еще нет приложения Binance?"},"sk-SK":{"sdk-download-android":"Stiahnuť pre Android","sdk-connect":"Pripojiť","sdk-download-ios":"Stiahnuť pre iOS","sdk-install":"Nainštalovať","sdk-modal-instruct-1":"1. Otvorte aplikáciu Binance","sdk-modal-instruct-2":"2. Klepnite na ikonu {{icon}} na domovskej obrazovke","sdk-modal-title":"Spojte sa s Binance","sdk-no-app":"Ešte nemáte aplikáciu Binance?"},"sl-SI":{"sdk-download-android":"Prenos za Android","sdk-connect":"Poveži","sdk-download-ios":"Prenos za iOS","sdk-install":"Namesti","sdk-modal-instruct-1":"1. Odprite aplikacijo Binance","sdk-modal-instruct-2":"2. Tapnite {{icon}} na začetnem zaslonu","sdk-modal-title":"Povežite se s platformo Binance","sdk-no-app":"Še nimate aplikacije Binance?"},"es-LA":{"sdk-download-android":"Descargar para Android","sdk-connect":"Conecta","sdk-download-ios":"Descargar para iOS","sdk-install":"Instala","sdk-modal-instruct-1":"1. Abre la aplicación de Binance","sdk-modal-instruct-2":"2. Toca {{icon}} en la pantalla de inicio","sdk-modal-title":"Conectar con Binance","sdk-no-app":"¿Aún no tienes la aplicación de Binance?"},"es-ES":{"sdk-download-android":"Descargar para Android","sdk-connect":"Conectar","sdk-download-ios":"Descargar para iOS","sdk-install":"Instalar","sdk-modal-instruct-1":"1. Open Binance app","sdk-modal-instruct-2":"2. Pulsa en {{icon}} en la página principal","sdk-modal-title":"Connect With Binance","sdk-no-app":"¿Aún no tienes la aplicación de Binance?"},"sv-SE":{"sdk-download-android":"Ladda ned för Android","sdk-connect":"Anslut","sdk-download-ios":"Ladda ned för iOS","sdk-install":"Installera","sdk-modal-instruct-1":"1. Öppna Binance-appen","sdk-modal-instruct-2":"2. Tryck på {{icon}} på startskärmen","sdk-modal-title":"Anslut med Binance","sdk-no-app":"Har du inte Binance-appen ännu?"},"tr-TR":{"sdk-download-android":"Android için indir","sdk-connect":"Bağlan","sdk-download-ios":"iOS için indir","sdk-install":"Yükle","sdk-modal-instruct-1":"1. Binance Uygulamasını Açın","sdk-modal-instruct-2":"2. Ana Ekranda {{icon}} simgesine dokunun","sdk-modal-title":"Binance ile Bağlanın","sdk-no-app":"Henüz Binance uygulamanız yok mu?"},"uk-UA":{"sdk-download-android":"Завантажити для Android","sdk-connect":"Підключитись","sdk-download-ios":"Завантажити для iOS","sdk-install":"Встановити","sdk-modal-instruct-1":"1. Відкрийте застосунок Binance","sdk-modal-instruct-2":"2. Торкніться {{icon}} на головному екрані","sdk-modal-title":"Підключіться до Binance","sdk-no-app":"Ще не маєте застосунку Binance?"},"vi-VN":{"sdk-download-android":"Tải xuống cho Android","sdk-connect":"Kết nối","sdk-download-ios":"Tải xuống cho iOS","sdk-install":"Cài đặt","sdk-modal-instruct-1":"1. Mở ứng dụng Binance","sdk-modal-instruct-2":"2. Nhấn vào {{icon}} trên Màn hình chính","sdk-modal-title":"Kết nối với Binance","sdk-no-app":"Bạn chưa có ứng dụng Binance?"},"da-DK":{"sdk-download-android":"Download til Android","sdk-connect":"Forbind","sdk-download-ios":"Download til iOS","sdk-install":"Installer","sdk-modal-instruct-1":"1. Åbn Binance-appen","sdk-modal-instruct-2":"2. Tryk på {{icon}} på startskærmen","sdk-modal-title":"Forbind til Binance","sdk-no-app":"Har du ikke Binance-appen endnu?"},"my-MM":{"sdk-download-android":"အန်းဒရွိုက်အတွက် ဒေါင်းလုဒ်လုပ်မည်","sdk-connect":"ချိတ်ဆက်မည်","sdk-download-ios":"iOS အတွက် ဒေါင်းလုဒ်လုပ်မည်","sdk-install":"ထည့်သွင်းမည်","sdk-modal-instruct-1":"1. Open Binance app","sdk-modal-instruct-2":"ပင်မမျက်နှာပြင်မှ {{icon}} ကိုနှိပ်ပါ။","sdk-modal-title":"Connect With Binance","sdk-no-app":"Binance App မရှိသေးဘူးလား။"},"lo-LA":{"sdk-download-android":"ດາວໂຫຼດສໍາລັບ Android","sdk-connect":"ເຊື່ອມຕໍ່","sdk-download-ios":"ດາວໂຫຼດສໍາລັບ iOS","sdk-install":"ຕິດຕັ້ງ","sdk-modal-instruct-1":"1. ເປີດແອັບ Binance","sdk-modal-instruct-2":"2. ແຕະ {{icon}} ໃນໜ້າຈໍຫຼັກ","sdk-modal-title":"ເຊື່ອມຕໍ່ກັບ Binance","sdk-no-app":"ຍັງບໍ່ມີແອັບ Binance ເທື່ອບໍ?"},"si-LK":{"sdk-download-android":"Android සඳහා බාගත කරන්න","sdk-connect":"සම්බන්ධ කරන්න","sdk-download-ios":"iOS සඳහා බාගත කරන්න","sdk-install":"ස්ථාපනය කරන්න","sdk-modal-instruct-1":"1. Binance යෙදුම විවෘත කරන්න","sdk-modal-instruct-2":"2. මුල් තිරයේ {{icon}} මත තට්ටු කරන්න","sdk-modal-title":"Binance සමග සම්බන්ධ වන්න","sdk-no-app":"තවමත් Binance යෙදුම නැති ද?"}},_t=["en","ar","bg-BG","zh-CN","zh-TW","cs-CZ","fr-FR","de-DE","el-GR","id-ID","it-IT","kk-KZ","lv-LV","pl-PL","pt-BR","pt-PT","ro-RO","ru-RU","sk-SK","sl-SI","es-LA","es-ES","sv-SE","tr-TR","uk-UA","vi-VN","da-DK","my-MM","lo-LA","si-LK"].reduce(((e,t)=>(e[t]=St[t],e)),{}),Et=_t,xt=()=>{let{lng:e}=Se.exports.useContext(ht);return Se.exports.useCallback(((t,n)=>Et?.[e]?.[t]||Et?.en?.[t]||n?.default||t),[e])},Ct=({size:e=24,color:t="currentColor",className:n,children:r,...o})=>Pe.createElement("svg",{width:e,height:e,fill:t,className:n,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...o},r),Tt=e=>Pe.createElement(Ct,{size:24,...e},Pe.createElement("path",{d:"M21.7725 18.7033C21.4062 19.5418 20.9727 20.3136 20.4704 21.0232C19.7857 21.9906 19.2251 22.6602 18.7931 23.032C18.1233 23.6424 17.4058 23.955 16.6374 23.9728C16.0857 23.9728 15.4205 23.8172 14.6461 23.5017C13.8692 23.1876 13.1552 23.032 12.5024 23.032C11.8177 23.032 11.0834 23.1876 10.2979 23.5017C9.51127 23.8172 8.87756 23.9816 8.39305 23.9979C7.65619 24.0291 6.92173 23.7076 6.1886 23.032C5.72069 22.6276 5.13542 21.9343 4.43429 20.9521C3.68203 19.9033 3.06358 18.687 2.57906 17.3004C2.06017 15.8026 1.80005 14.3523 1.80005 12.9482C1.80005 11.3398 2.15076 9.95259 2.85324 8.79011C3.40532 7.85636 4.13979 7.11979 5.05903 6.57906C5.97827 6.03834 6.97151 5.76279 8.04114 5.74516C8.62641 5.74516 9.39391 5.92456 10.3477 6.27715C11.2988 6.63091 11.9095 6.81032 12.1772 6.81032C12.3774 6.81032 13.0558 6.60054 14.2058 6.18233C15.2934 5.79449 16.2113 5.63391 16.9633 5.69716C19.0009 5.86012 20.5317 6.6561 21.5497 8.09013C19.7274 9.18432 18.826 10.7169 18.8439 12.6829C18.8603 14.2142 19.4209 15.4886 20.5227 16.5004C21.022 16.97 21.5796 17.333 22.2001 17.5907C22.0655 17.9774 21.9235 18.3477 21.7725 18.7033ZM17.0993 0.480137C17.0993 1.68041 16.6568 2.8011 15.7748 3.8384C14.7104 5.07155 13.4229 5.78412 12.0268 5.67168C12.009 5.52769 11.9987 5.37614 11.9987 5.21688C11.9987 4.06462 12.5049 2.83147 13.4038 1.82321C13.8526 1.3127 14.4234 0.888228 15.1155 0.549615C15.8062 0.216055 16.4595 0.031589 17.0739 0C17.0918 0.160458 17.0993 0.320926 17.0993 0.480121V0.480137Z",fill:"#1E2329"})),Rt=e=>Pe.createElement(Ct,{size:24,...e},Pe.createElement("path",{d:"M13.5589 11.0874L4.08203 1.59644H4.17441C4.98558 1.59644 5.68614 1.89129 6.81073 2.4993L16.7488 7.88083L13.5589 11.0874Z",fill:"#202630"}),Pe.createElement("path",{d:"M12.6373 12.008L2.90218 21.7203C2.66236 21.3329 2.49658 20.7063 2.49658 19.8034V4.19354C2.49658 3.29078 2.66236 2.66403 2.90218 2.2771L12.6373 12.008Z",fill:"#202630"}),Pe.createElement("path",{d:"M13.5589 12.9124L16.7488 16.1187L6.81073 21.5001C5.68614 22.1083 4.98548 22.4036 4.17441 22.4036H4.08203L13.5589 12.9124Z",fill:"#202630"}),Pe.createElement("path",{d:"M17.9437 8.52563L14.4775 12.0091L17.9437 15.4738L20.0456 14.3309C20.8199 13.9069 22 13.1329 22 12.0091C22 10.8662 20.8199 10.0922 20.0456 9.66821L17.9437 8.52563Z",fill:"#202630"})),Nt=e=>Pe.createElement(Ct,{size:24,...e},Pe.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.5 4H10.5V7H7.5V10H4.5V7V4H7.5ZM14.5 4H17.5H20.5V7V10H17.5V7H14.5V4ZM10.5 20V17H7.5V14H4.5V17V20H7.5H10.5ZM17.5 20H14.5V17H17.5V14H20.5V17V20H17.5ZM16.5 10.5H8.5V13.5H16.5V10.5Z",fill:"#202630"})),Pt=({value:e,...t})=>{let n=Ot(e).map((e=>"string"==typeof e?e:Pe.cloneElement(t[e.key],{key:e.key})));return Pe.createElement(Pe.Fragment,null,n)},Ot=e=>{let t,n=/{{(.*?)}}/g,r=0,o=[];for(;null!==(t=n.exec(e));)t.index!==r&&o.push(e.substring(r,t.index)),o.push({key:t[1]}),r=n.lastIndex;return r!==e.length&&o.push(e.substring(r)),o},Lt=()=>{let e=xt();return Pe.createElement(Pe.Fragment,null,Pe.createElement(It,{t:e}),Pe.createElement(Dt,{t:e}),Pe.createElement(Mt,null))},It=({t:e})=>Pe.createElement("div",{style:{borderBottom:"1px solid #EAECEF"},className:"grid justify-center gap-y-2 pb-6 body3 t-black border-b border-gray-300"},Pe.createElement("div",null,e("sdk-modal-instruct-1",{default:"1. Open Binance app"})),Pe.createElement("div",{className:"flex items-center"},Pe.createElement(Pt,{value:e("sdk-modal-instruct-2",{default:"2. Tap {{icon}} on Home"}),icon:Pe.createElement(Nt,{className:"w-[24px] h-[24px] mx-[4px]"})}))),Dt=({t:e})=>Pe.createElement("div",{className:"py-4 body3 t-secondary text-center"},e("sdk-no-app",{default:"Don't have Binance app yet?"})),Mt=()=>Pe.createElement("div",{className:"grid grid-cols-2 gap-x-4"},Pe.createElement(At,{type:"iOS"}),Pe.createElement(At,{type:"Android"})),At=({type:e})=>{let t=xt();return Pe.createElement("div",{style:{border:"1px solid #EAECEF"},className:"p-[12px] rounded-lg grid cursor-pointer t-secondary grid-flow-col items-center gap-x-4 w-[150px]",onClick:()=>{window.open("Android"===e?yt:bt,"_blank")}},"Android"===e?Pe.createElement(Rt,{className:"w-[24px] h-[24px] m-auto"}):Pe.createElement(Tt,{className:"w-[24px] h-[24px] m-auto"}),Pe.createElement("div",{className:"w-[75px] caption2 t-secondary"},t(`sdk-download-${e.toLowerCase()}`,{default:`Download for ${e}`})))},zt=e=>Pe.createElement(Ct,{...e},Pe.createElement("path",{d:"M6.69708 4.57538L4.57576 6.6967L9.87906 12L4.57576 17.3033L6.69708 19.4246L12.0004 14.1213L17.3037 19.4246L19.425 17.3033L14.1217 12L19.425 6.6967L17.3037 4.57538L12.0004 9.87868L6.69708 4.57538Z",fill:"currentColor"})),Ut=({onClose:e})=>{let t=xt();return Pe.createElement("div",{className:"flex items-center justify-between"},Pe.createElement("p",{className:"text-base font-medium text-[#1E2329] lg:text-xl md:font-semibold md:subtitle1"},t("sdk-modal-title",{default:"Connect with Binance"})),Pe.createElement("div",{className:"cursor-pointer text-[#929AA5]",onClick:e},Pe.createElement(zt,null)))},Ft=({id:e,onClose:t,onConnect:n})=>{let r=xt();return Pe.createElement("div",{id:e,className:"animated fadeIn pointer-events-auto fixed top-0 left-0 h-full w-full bg-black/[.80] duration-300 ease-in-out will-change-auto"},Pe.createElement("div",{className:"absolute bottom-0 m-auto w-full rounded-t-2xl bg-white px-4 pb-6 shadow-inner duration-300 ease-in-out will-change-transform md:w-[400px]"},Pe.createElement(Bt,{onClose:t}),Pe.createElement("div",{className:"mt-6 mb-4 flex justify-center"},Pe.createElement("img",{className:"w-[60px]",src:wt})),Pe.createElement("div",{className:"subtitle1 text-center mb-6 t-primary"},r("sdk-modal-title",{default:"Connect with Binance"})),Pe.createElement("button",{onClick:n,style:{borderColor:"transparent"},className:"w-full rounded h-[40px] flex justify-center items-center bg-primary t-primary subtitle3 mb-4"},r("sdk-connect",{default:"Connect"})),Pe.createElement("div",{className:"text-center py-3"},Pe.createElement("span",null,r("sdk-no-app",{default:"Don’t have Binance app yet?"})),Pe.createElement("a",{target:"_blank",href:"https://www.binance.com/en/download",className:"t-brand ml-1"},r("sdk-install",{default:"Install"})))))},Bt=({onClose:e})=>Pe.createElement("div",{className:"flex items-center justify-end h-[52px]"},Pe.createElement("div",{className:"cursor-pointer text-[#929AA5]",onClick:e},Pe.createElement(zt,{className:"w-[20px]"}))),jt=e=>{let t=document.createElement("a");t.href=e,document.body.appendChild(t),((e,t)=>{let n="visibilitychange",r=setTimeout((()=>{document.hidden||e()}),t),o=()=>{document.hidden&&(clearTimeout(r),document.removeEventListener(n,o))};document.addEventListener(n,o,!1)})((()=>{window.location.href="https://www.binance.com/en/download"}),1e3),t.click(),document.body.removeChild(t)};var Wt=function(e){let{toBinance:t}=(e=>{let{isAndroid:t,isMobile:n}=kt();return{toBinance:()=>{let r=f(t,e);if(n){if(!t){let e=document.createElement("a");e.href=r,document.body.appendChild(e),e.click(),document.body.removeChild(e)}t&&jt(r)}}}})(e.url);return Pe.createElement("div",null,Pe.createElement("div",{className:"mt-[35px] flex justify-center"},Pe.createElement("div",{className:"w-[200px] h-[200px] mb-4",onClick:t},e.url&&Pe.createElement(ft,{value:e.url,width:"100%",height:"100%",level:"M",imageSettings:{src:wt,height:32,width:32,excavate:!1}}))))},Vt=({onClose:e,isReady:t})=>{let{isMobile:n}=kt(),[r,o]=Se.exports.useState(""),[a,i]=Se.exports.useState(!1);Se.exports.useEffect((()=>{t.then(o).catch((()=>i(!0)))}),[t]);let s={url:r,error:a};return!1===n?Pe.createElement("div",{id:vt,className:"animated fadeIn pointer-events-auto fixed top-0 left-0 h-full w-full bg-black/[.80] duration-300 ease-in-out will-change-auto"},Pe.createElement("div",{className:"relative top-2/4 m-auto w-[343px] translate-y-[-50%] rounded-2xl bg-white px-6 pt-[20px] pb-6 shadow-inner duration-300 ease-in-out will-change-transform md:w-[400px] lg:p-8 lg:pt-6"},Pe.createElement(Ut,{onClose:e}),Pe.createElement(Wt,{...s}),Pe.createElement(Lt,null))):n?Pe.createElement(Ft,{onConnect:()=>{d(r)},onClose:e,id:vt}):void 0},Ht={order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag","path","subdomain"],lookupQuerystring:function(){let e=window.location.search.match(/lng=([^&]*)/);return e&&e[1]},lookupCookie:function(){let e=document.cookie.match(/i18next=([^;]*)/);return e&&e[1]},lookupLocalStorage:function(){return localStorage.getItem("i18nextLng")},lookupSessionStorage:function(){return sessionStorage.getItem("i18nextLng")},lookupFromNavigator:function(){return navigator.language},lookupFromHtmlTag:function(){return document.documentElement.lang},lookupFromPath:function(){let e=window.location.pathname.match(/\/([^/]*)/);return e&&e[1]},lookupFromSubdomain:function(){let e=window.location.hostname.match(/^(.+)\./);return e&&e[1]}},$t=()=>{for(let e of Ht.order)try{let t=Ht["lookup"+e.charAt(0).toUpperCase()+e.slice(1)]();if(t)return t}catch(t){console.error(`Error detecting language with method: ${e}`,t);continue}return"en"};function qt(){let e=window.document,t=e.getElementById(vt);t&&(t.className=t.className.replace("fadeIn","fadeOut"),setTimeout((()=>{let t=e.getElementById(mt);t&&e.body.removeChild(t)}),300))}function Qt(e){return()=>{qt(),e&&e()}}async function Yt({isReady:e,cb:t,lng:n}){!function(){let e=window.document,t=e.getElementById(gt);t&&e.head.removeChild(t);let n=e.createElement("style");n.setAttribute("id",gt),n.innerHTML=pt,e.head.appendChild(n)}();let r=function(){let e=window.document,t=e.createElement("div");return t.setAttribute("id",mt),e.body.appendChild(t),t}(),o=Ve(r);await e;let a=n??$t();o.render(Se.exports.createElement(ht.Provider,{value:{lng:a}},Se.exports.createElement(Vt,{isReady:e,onClose:Qt(t)})))}var Gt=e=>{},Kt=()=>{};var Xt={open:function({cb:e,lng:t}){let n=new Promise(((e,t)=>{Gt=e,Kt=t}));l()||Yt({isReady:n,cb:e,lng:t})},close:function(){l()||qt()},ready:function(e){Gt(e)},fail:function(){console.log("relay failed...."),Kt()}},Jt=Xt,Zt={exports:{}},en={BINARY_TYPES:["nodebuffer","arraybuffer","fragments"],EMPTY_BUFFER:Buffer.alloc(0),GUID:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",kForOnEventAttribute:Symbol("kIsForOnEventAttribute"),kListener:Symbol("kListener"),kStatusCode:Symbol("status-code"),kWebSocket:Symbol("websocket"),NOOP:()=>{}};const{EMPTY_BUFFER:tn}=en,nn=Buffer[Symbol.species];function rn(e,t,n,r,o){for(let a=0;a<o;a++)n[r+a]=e[a]^t[3&a]}function on(e,t){for(let n=0;n<e.length;n++)e[n]^=t[3&n]}if(Zt.exports={concat:function(e,t){if(0===e.length)return tn;if(1===e.length)return e[0];const n=Buffer.allocUnsafe(t);let r=0;for(let t=0;t<e.length;t++){const o=e[t];n.set(o,r),r+=o.length}return r<t?new nn(n.buffer,n.byteOffset,r):n},mask:rn,toArrayBuffer:function(e){return e.length===e.buffer.byteLength?e.buffer:e.buffer.slice(e.byteOffset,e.byteOffset+e.length)},toBuffer:function e(t){if(e.readOnly=!0,Buffer.isBuffer(t))return t;let n;return t instanceof ArrayBuffer?n=new nn(t):ArrayBuffer.isView(t)?n=new nn(t.buffer,t.byteOffset,t.byteLength):(n=Buffer.from(t),e.readOnly=!1),n},unmask:on},!process.env.WS_NO_BUFFER_UTIL)try{const e=(fe||(fe=1,function(e){try{e.exports=me()(__dirname)}catch(t){e.exports=(de||(de=1,ce={mask:(e,t,n,r,o)=>{for(var a=0;a<o;a++)n[r+a]=e[a]^t[3&a]},unmask:(e,t)=>{const n=e.length;for(var r=0;r<n;r++)e[r]^=t[3&r]}}),ce)}}(pe)),pe.exports);Zt.exports.mask=function(t,n,r,o,a){a<48?rn(t,n,r,o,a):e.mask(t,n,r,o,a)},Zt.exports.unmask=function(t,n){t.length<32?on(t,n):e.unmask(t,n)}}catch($i){}const an=Symbol("kDone"),sn=Symbol("kRun");var ln=class{constructor(e){this[an]=()=>{this.pending--,this[sn]()},this.concurrency=e||1/0,this.jobs=[],this.pending=0}add(e){this.jobs.push(e),this[sn]()}[sn](){if(this.pending!==this.concurrency&&this.jobs.length){const e=this.jobs.shift();this.pending++,e(this[an])}}};const un=W,cn=Zt.exports,dn=ln,{kStatusCode:fn}=en,pn=Buffer[Symbol.species],hn=Buffer.from([0,0,255,255]),mn=Symbol("permessage-deflate"),gn=Symbol("total-length"),vn=Symbol("callback"),yn=Symbol("buffers"),bn=Symbol("error");let wn;var kn=class{constructor(e,t,n){if(this._maxPayload=0|n,this._options=e||{},this._threshold=void 0!==this._options.threshold?this._options.threshold:1024,this._isServer=!!t,this._deflate=null,this._inflate=null,this.params=null,!wn){const e=void 0!==this._options.concurrencyLimit?this._options.concurrencyLimit:10;wn=new dn(e)}}static get extensionName(){return"permessage-deflate"}offer(){const e={};return this._options.serverNoContextTakeover&&(e.server_no_context_takeover=!0),this._options.clientNoContextTakeover&&(e.client_no_context_takeover=!0),this._options.serverMaxWindowBits&&(e.server_max_window_bits=this._options.serverMaxWindowBits),this._options.clientMaxWindowBits?e.client_max_window_bits=this._options.clientMaxWindowBits:null==this._options.clientMaxWindowBits&&(e.client_max_window_bits=!0),e}accept(e){return e=this.normalizeParams(e),this.params=this._isServer?this.acceptAsServer(e):this.acceptAsClient(e),this.params}cleanup(){if(this._inflate&&(this._inflate.close(),this._inflate=null),this._deflate){const e=this._deflate[vn];this._deflate.close(),this._deflate=null,e&&e(new Error("The deflate stream was closed while data was being processed"))}}acceptAsServer(e){const t=this._options,n=e.find((e=>!(!1===t.serverNoContextTakeover&&e.server_no_context_takeover||e.server_max_window_bits&&(!1===t.serverMaxWindowBits||"number"==typeof t.serverMaxWindowBits&&t.serverMaxWindowBits>e.server_max_window_bits)||"number"==typeof t.clientMaxWindowBits&&!e.client_max_window_bits)));if(!n)throw new Error("None of the extension offers can be accepted");return t.serverNoContextTakeover&&(n.server_no_context_takeover=!0),t.clientNoContextTakeover&&(n.client_no_context_takeover=!0),"number"==typeof t.serverMaxWindowBits&&(n.server_max_window_bits=t.serverMaxWindowBits),"number"==typeof t.clientMaxWindowBits?n.client_max_window_bits=t.clientMaxWindowBits:!0!==n.client_max_window_bits&&!1!==t.clientMaxWindowBits||delete n.client_max_window_bits,n}acceptAsClient(e){const t=e[0];if(!1===this._options.clientNoContextTakeover&&t.client_no_context_takeover)throw new Error('Unexpected parameter "client_no_context_takeover"');if(t.client_max_window_bits){if(!1===this._options.clientMaxWindowBits||"number"==typeof this._options.clientMaxWindowBits&&t.client_max_window_bits>this._options.clientMaxWindowBits)throw new Error('Unexpected or invalid parameter "client_max_window_bits"')}else"number"==typeof this._options.clientMaxWindowBits&&(t.client_max_window_bits=this._options.clientMaxWindowBits);return t}normalizeParams(e){return e.forEach((e=>{Object.keys(e).forEach((t=>{let n=e[t];if(n.length>1)throw new Error(`Parameter "${t}" must have only a single value`);if(n=n[0],"client_max_window_bits"===t){if(!0!==n){const e=+n;if(!Number.isInteger(e)||e<8||e>15)throw new TypeError(`Invalid value for parameter "${t}": ${n}`);n=e}else if(!this._isServer)throw new TypeError(`Invalid value for parameter "${t}": ${n}`)}else if("server_max_window_bits"===t){const e=+n;if(!Number.isInteger(e)||e<8||e>15)throw new TypeError(`Invalid value for parameter "${t}": ${n}`);n=e}else{if("client_no_context_takeover"!==t&&"server_no_context_takeover"!==t)throw new Error(`Unknown parameter "${t}"`);if(!0!==n)throw new TypeError(`Invalid value for parameter "${t}": ${n}`)}e[t]=n}))})),e}decompress(e,t,n){wn.add((r=>{this._decompress(e,t,((e,t)=>{r(),n(e,t)}))}))}compress(e,t,n){wn.add((r=>{this._compress(e,t,((e,t)=>{r(),n(e,t)}))}))}_decompress(e,t,n){const r=this._isServer?"client":"server";if(!this._inflate){const e=`${r}_max_window_bits`,t="number"!=typeof this.params[e]?un.Z_DEFAULT_WINDOWBITS:this.params[e];this._inflate=un.createInflateRaw({...this._options.zlibInflateOptions,windowBits:t}),this._inflate[mn]=this,this._inflate[gn]=0,this._inflate[yn]=[],this._inflate.on("error",En),this._inflate.on("data",_n)}this._inflate[vn]=n,this._inflate.write(e),t&&this._inflate.write(hn),this._inflate.flush((()=>{const e=this._inflate[bn];if(e)return this._inflate.close(),this._inflate=null,void n(e);const o=cn.concat(this._inflate[yn],this._inflate[gn]);this._inflate._readableState.endEmitted?(this._inflate.close(),this._inflate=null):(this._inflate[gn]=0,this._inflate[yn]=[],t&&this.params[`${r}_no_context_takeover`]&&this._inflate.reset()),n(null,o)}))}_compress(e,t,n){const r=this._isServer?"server":"client";if(!this._deflate){const e=`${r}_max_window_bits`,t="number"!=typeof this.params[e]?un.Z_DEFAULT_WINDOWBITS:this.params[e];this._deflate=un.createDeflateRaw({...this._options.zlibDeflateOptions,windowBits:t}),this._deflate[gn]=0,this._deflate[yn]=[],this._deflate.on("data",Sn)}this._deflate[vn]=n,this._deflate.write(e),this._deflate.flush(un.Z_SYNC_FLUSH,(()=>{if(!this._deflate)return;let e=cn.concat(this._deflate[yn],this._deflate[gn]);t&&(e=new pn(e.buffer,e.byteOffset,e.length-4)),this._deflate[vn]=null,this._deflate[gn]=0,this._deflate[yn]=[],t&&this.params[`${r}_no_context_takeover`]&&this._deflate.reset(),n(null,e)}))}};function Sn(e){this[yn].push(e),this[gn]+=e.length}function _n(e){this[gn]+=e.length,this[mn]._maxPayload<1||this[gn]<=this[mn]._maxPayload?this[yn].push(e):(this[bn]=new RangeError("Max payload size exceeded"),this[bn].code="WS_ERR_UNSUPPORTED_MESSAGE_LENGTH",this[bn][fn]=1009,this.removeListener("data",_n),this.reset())}function En(e){this[mn]._inflate=null,e[fn]=1007,this[vn](e)}var xn={exports:{}};const{isUtf8:Cn}=Q;function Tn(e){const t=e.length;let n=0;for(;n<t;)if(0==(128&e[n]))n++;else if(192==(224&e[n])){if(n+1===t||128!=(192&e[n+1])||192==(254&e[n]))return!1;n+=2}else if(224==(240&e[n])){if(n+2>=t||128!=(192&e[n+1])||128!=(192&e[n+2])||224===e[n]&&128==(224&e[n+1])||237===e[n]&&160==(224&e[n+1]))return!1;n+=3}else{if(240!=(248&e[n]))return!1;if(n+3>=t||128!=(192&e[n+1])||128!=(192&e[n+2])||128!=(192&e[n+3])||240===e[n]&&128==(240&e[n+1])||244===e[n]&&e[n+1]>143||e[n]>244)return!1;n+=4}return!0}if(xn.exports={isValidStatusCode:function(e){return e>=1e3&&e<=1014&&1004!==e&&1005!==e&&1006!==e||e>=3e3&&e<=4999},isValidUTF8:Tn,tokenChars:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0]},Cn)xn.exports.isValidUTF8=function(e){return e.length<24?Tn(e):Cn(e)};else if(!process.env.WS_NO_UTF_8_VALIDATE)try{const e=(ye||(ye=1,function(e){try{e.exports=me()(__dirname)}catch(t){e.exports=(ve||(ve=1,ge=function(e){const t=e.length;let n=0;for(;n<t;)if(0==(128&e[n]))n++;else if(192==(224&e[n])){if(n+1===t||128!=(192&e[n+1])||192==(254&e[n]))return!1;n+=2}else if(224==(240&e[n])){if(n+2>=t||128!=(192&e[n+1])||128!=(192&e[n+2])||224===e[n]&&128==(224&e[n+1])||237===e[n]&&160==(224&e[n+1]))return!1;n+=3}else{if(240!=(248&e[n]))return!1;if(n+3>=t||128!=(192&e[n+1])||128!=(192&e[n+2])||128!=(192&e[n+3])||240===e[n]&&128==(240&e[n+1])||244===e[n]&&e[n+1]>143||e[n]>244)return!1;n+=4}return!0}),ge)}}(be)),be.exports);xn.exports.isValidUTF8=function(t){return t.length<32?Tn(t):e(t)}}catch($i){}const{Writable:Rn}=B,Nn=kn,{BINARY_TYPES:Pn,EMPTY_BUFFER:On,kStatusCode:Ln,kWebSocket:In}=en,{concat:Dn,toArrayBuffer:Mn,unmask:An}=Zt.exports,{isValidStatusCode:zn,isValidUTF8:Un}=xn.exports,Fn=Buffer[Symbol.species],Bn=Promise.resolve(),jn="function"==typeof queueMicrotask?queueMicrotask:function(e){Bn.then(e).catch($n)};var Wn=class extends Rn{constructor(e={}){super(),this._binaryType=e.binaryType||Pn[0],this._extensions=e.extensions||{},this._isServer=!!e.isServer,this._maxPayload=0|e.maxPayload,this._skipUTF8Validation=!!e.skipUTF8Validation,this[In]=void 0,this._bufferedBytes=0,this._buffers=[],this._compressed=!1,this._payloadLength=0,this._mask=void 0,this._fragmented=0,this._masked=!1,this._fin=!1,this._opcode=0,this._totalPayloadLength=0,this._messageLength=0,this._fragments=[],this._state=0,this._loop=!1}_write(e,t,n){if(8===this._opcode&&0==this._state)return n();this._bufferedBytes+=e.length,this._buffers.push(e),this.startLoop(n)}consume(e){if(this._bufferedBytes-=e,e===this._buffers[0].length)return this._buffers.shift();if(e<this._buffers[0].length){const t=this._buffers[0];return this._buffers[0]=new Fn(t.buffer,t.byteOffset+e,t.length-e),new Fn(t.buffer,t.byteOffset,e)}const t=Buffer.allocUnsafe(e);do{const n=this._buffers[0],r=t.length-e;e>=n.length?t.set(this._buffers.shift(),r):(t.set(new Uint8Array(n.buffer,n.byteOffset,e),r),this._buffers[0]=new Fn(n.buffer,n.byteOffset+e,n.length-e)),e-=n.length}while(e>0);return t}startLoop(e){let t;this._loop=!0;do{switch(this._state){case 0:t=this.getInfo();break;case 1:t=this.getPayloadLength16();break;case 2:t=this.getPayloadLength64();break;case 3:this.getMask();break;case 4:t=this.getData(e);break;case 5:return void(this._loop=!1);default:return this._loop=!1,void jn((()=>{this._state=0,this.startLoop(e)}))}}while(this._loop);e(t)}getInfo(){if(this._bufferedBytes<2)return void(this._loop=!1);const e=this.consume(2);if(0!=(48&e[0]))return this._loop=!1,Vn(RangeError,"RSV2 and RSV3 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_2_3");const t=64==(64&e[0]);if(t&&!this._extensions[Nn.extensionName])return this._loop=!1,Vn(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");if(this._fin=128==(128&e[0]),this._opcode=15&e[0],this._payloadLength=127&e[1],0===this._opcode){if(t)return this._loop=!1,Vn(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");if(!this._fragmented)return this._loop=!1,Vn(RangeError,"invalid opcode 0",!0,1002,"WS_ERR_INVALID_OPCODE");this._opcode=this._fragmented}else if(1===this._opcode||2===this._opcode){if(this._fragmented)return this._loop=!1,Vn(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");this._compressed=t}else{if(!(this._opcode>7&&this._opcode<11))return this._loop=!1,Vn(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");if(!this._fin)return this._loop=!1,Vn(RangeError,"FIN must be set",!0,1002,"WS_ERR_EXPECTED_FIN");if(t)return this._loop=!1,Vn(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");if(this._payloadLength>125||8===this._opcode&&1===this._payloadLength)return this._loop=!1,Vn(RangeError,`invalid payload length ${this._payloadLength}`,!0,1002,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH")}if(this._fin||this._fragmented||(this._fragmented=this._opcode),this._masked=128==(128&e[1]),this._isServer){if(!this._masked)return this._loop=!1,Vn(RangeError,"MASK must be set",!0,1002,"WS_ERR_EXPECTED_MASK")}else if(this._masked)return this._loop=!1,Vn(RangeError,"MASK must be clear",!0,1002,"WS_ERR_UNEXPECTED_MASK");if(126===this._payloadLength)this._state=1;else{if(127!==this._payloadLength)return this.haveLength();this._state=2}}getPayloadLength16(){if(!(this._bufferedBytes<2))return this._payloadLength=this.consume(2).readUInt16BE(0),this.haveLength();this._loop=!1}getPayloadLength64(){if(this._bufferedBytes<8)return void(this._loop=!1);const e=this.consume(8),t=e.readUInt32BE(0);return t>Math.pow(2,21)-1?(this._loop=!1,Vn(RangeError,"Unsupported WebSocket frame: payload length > 2^53 - 1",!1,1009,"WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH")):(this._payloadLength=t*Math.pow(2,32)+e.readUInt32BE(4),this.haveLength())}haveLength(){if(this._payloadLength&&this._opcode<8&&(this._totalPayloadLength+=this._payloadLength,this._totalPayloadLength>this._maxPayload&&this._maxPayload>0))return this._loop=!1,Vn(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH");this._masked?this._state=3:this._state=4}getMask(){this._bufferedBytes<4?this._loop=!1:(this._mask=this.consume(4),this._state=4)}getData(e){let t=On;if(this._payloadLength){if(this._bufferedBytes<this._payloadLength)return void(this._loop=!1);t=this.consume(this._payloadLength),this._masked&&0!=(this._mask[0]|this._mask[1]|this._mask[2]|this._mask[3])&&An(t,this._mask)}return this._opcode>7?this.controlMessage(t):this._compressed?(this._state=5,void this.decompress(t,e)):(t.length&&(this._messageLength=this._totalPayloadLength,this._fragments.push(t)),this.dataMessage())}decompress(e,t){this._extensions[Nn.extensionName].decompress(e,this._fin,((e,n)=>{if(e)return t(e);if(n.length){if(this._messageLength+=n.length,this._messageLength>this._maxPayload&&this._maxPayload>0)return t(Vn(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH"));this._fragments.push(n)}const r=this.dataMessage();if(r)return t(r);this.startLoop(t)}))}dataMessage(){if(this._fin){const e=this._messageLength,t=this._fragments;if(this._totalPayloadLength=0,this._messageLength=0,this._fragmented=0,this._fragments=[],2===this._opcode){let n;n="nodebuffer"===this._binaryType?Dn(t,e):"arraybuffer"===this._binaryType?Mn(Dn(t,e)):t,this.emit("message",n,!0)}else{const n=Dn(t,e);if(!this._skipUTF8Validation&&!Un(n))return this._loop=!1,Vn(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");this.emit("message",n,!1)}}this._state=6}controlMessage(e){if(8===this._opcode)if(this._loop=!1,0===e.length)this.emit("conclude",1005,On),this.end(),this._state=0;else{const t=e.readUInt16BE(0);if(!zn(t))return Vn(RangeError,`invalid status code ${t}`,!0,1002,"WS_ERR_INVALID_CLOSE_CODE");const n=new Fn(e.buffer,e.byteOffset+2,e.length-2);if(!this._skipUTF8Validation&&!Un(n))return Vn(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");this.emit("conclude",t,n),this.end(),this._state=0}else 9===this._opcode?(this.emit("ping",e),this._state=6):(this.emit("pong",e),this._state=6)}};function Vn(e,t,n,r,o){const a=new e(n?`Invalid WebSocket frame: ${t}`:t);return Error.captureStackTrace(a,Vn),a.code=o,a[Ln]=r,a}function Hn(e){throw e}function $n(e){process.nextTick(Hn,e)}const{randomFillSync:qn}=Y,Qn=kn,{EMPTY_BUFFER:Yn}=en,{isValidStatusCode:Gn}=xn.exports,{mask:Kn,toBuffer:Xn}=Zt.exports,Jn=Symbol("kByteLength"),Zn=Buffer.alloc(4);class er{constructor(e,t,n){this._extensions=t||{},n&&(this._generateMask=n,this._maskBuffer=Buffer.alloc(4)),this._socket=e,this._firstFragment=!0,this._compress=!1,this._bufferedBytes=0,this._deflating=!1,this._queue=[]}static frame(e,t){let n,r,o=!1,a=2,i=!1;t.mask&&(n=t.maskBuffer||Zn,t.generateMask?t.generateMask(n):qn(n,0,4),i=0==(n[0]|n[1]|n[2]|n[3]),a=6),"string"==typeof e?r=t.mask&&!i||void 0===t[Jn]?(e=Buffer.from(e)).length:t[Jn]:(r=e.length,o=t.mask&&t.readOnly&&!i);let s=r;r>=65536?(a+=8,s=127):r>125&&(a+=2,s=126);const l=Buffer.allocUnsafe(o?r+a:a);return l[0]=t.fin?128|t.opcode:t.opcode,t.rsv1&&(l[0]|=64),l[1]=s,126===s?l.writeUInt16BE(r,2):127===s&&(l[2]=l[3]=0,l.writeUIntBE(r,4,6)),t.mask?(l[1]|=128,l[a-4]=n[0],l[a-3]=n[1],l[a-2]=n[2],l[a-1]=n[3],i?[l,e]:o?(Kn(e,n,l,a,r),[l]):(Kn(e,n,e,0,r),[l,e])):[l,e]}close(e,t,n,r){let o;if(void 0===e)o=Yn;else{if("number"!=typeof e||!Gn(e))throw new TypeError("First argument must be a valid error code number");if(void 0!==t&&t.length){const n=Buffer.byteLength(t);if(n>123)throw new RangeError("The message must not be greater than 123 bytes");o=Buffer.allocUnsafe(2+n),o.writeUInt16BE(e,0),"string"==typeof t?o.write(t,2):o.set(t,2)}else o=Buffer.allocUnsafe(2),o.writeUInt16BE(e,0)}const a={[Jn]:o.length,fin:!0,generateMask:this._generateMask,mask:n,maskBuffer:this._maskBuffer,opcode:8,readOnly:!1,rsv1:!1};this._deflating?this.enqueue([this.dispatch,o,!1,a,r]):this.sendFrame(er.frame(o,a),r)}ping(e,t,n){let r,o;if("string"==typeof e?(r=Buffer.byteLength(e),o=!1):(r=(e=Xn(e)).length,o=Xn.readOnly),r>125)throw new RangeError("The data size must not be greater than 125 bytes");const a={[Jn]:r,fin:!0,generateMask:this._generateMask,mask:t,maskBuffer:this._maskBuffer,opcode:9,readOnly:o,rsv1:!1};this._deflating?this.enqueue([this.dispatch,e,!1,a,n]):this.sendFrame(er.frame(e,a),n)}pong(e,t,n){let r,o;if("string"==typeof e?(r=Buffer.byteLength(e),o=!1):(r=(e=Xn(e)).length,o=Xn.readOnly),r>125)throw new RangeError("The data size must not be greater than 125 bytes");const a={[Jn]:r,fin:!0,generateMask:this._generateMask,mask:t,maskBuffer:this._maskBuffer,opcode:10,readOnly:o,rsv1:!1};this._deflating?this.enqueue([this.dispatch,e,!1,a,n]):this.sendFrame(er.frame(e,a),n)}send(e,t,n){const r=this._extensions[Qn.extensionName];let o,a,i=t.binary?2:1,s=t.compress;if("string"==typeof e?(o=Buffer.byteLength(e),a=!1):(o=(e=Xn(e)).length,a=Xn.readOnly),this._firstFragment?(this._firstFragment=!1,s&&r&&r.params[r._isServer?"server_no_context_takeover":"client_no_context_takeover"]&&(s=o>=r._threshold),this._compress=s):(s=!1,i=0),t.fin&&(this._firstFragment=!0),r){const r={[Jn]:o,fin:t.fin,generateMask:this._generateMask,mask:t.mask,maskBuffer:this._maskBuffer,opcode:i,readOnly:a,rsv1:s};this._deflating?this.enqueue([this.dispatch,e,this._compress,r,n]):this.dispatch(e,this._compress,r,n)}else this.sendFrame(er.frame(e,{[Jn]:o,fin:t.fin,generateMask:this._generateMask,mask:t.mask,maskBuffer:this._maskBuffer,opcode:i,readOnly:a,rsv1:!1}),n)}dispatch(e,t,n,r){if(!t)return void this.sendFrame(er.frame(e,n),r);const o=this._extensions[Qn.extensionName];this._bufferedBytes+=n[Jn],this._deflating=!0,o.compress(e,n.fin,((e,t)=>{if(this._socket.destroyed){const e=new Error("The socket was closed while data was being compressed");"function"==typeof r&&r(e);for(let t=0;t<this._queue.length;t++){const n=this._queue[t],r=n[n.length-1];"function"==typeof r&&r(e)}}else this._bufferedBytes-=n[Jn],this._deflating=!1,n.readOnly=!1,this.sendFrame(er.frame(t,n),r),this.dequeue()}))}dequeue(){for(;!this._deflating&&this._queue.length;){const e=this._queue.shift();this._bufferedBytes-=e[3][Jn],Reflect.apply(e[0],this,e.slice(1))}}enqueue(e){this._bufferedBytes+=e[3][Jn],this._queue.push(e)}sendFrame(e,t){2===e.length?(this._socket.cork(),this._socket.write(e[0]),this._socket.write(e[1],t),this._socket.uncork()):this._socket.write(e[0],t)}}var tr=er;const{kForOnEventAttribute:nr,kListener:rr}=en,or=Symbol("kCode"),ar=Symbol("kData"),ir=Symbol("kError"),sr=Symbol("kMessage"),lr=Symbol("kReason"),ur=Symbol("kTarget"),cr=Symbol("kType"),dr=Symbol("kWasClean");class fr{constructor(e){this[ur]=null,this[cr]=e}get target(){return this[ur]}get type(){return this[cr]}}Object.defineProperty(fr.prototype,"target",{enumerable:!0}),Object.defineProperty(fr.prototype,"type",{enumerable:!0});class pr extends fr{constructor(e,t={}){super(e),this[or]=void 0===t.code?0:t.code,this[lr]=void 0===t.reason?"":t.reason,this[dr]=void 0!==t.wasClean&&t.wasClean}get code(){return this[or]}get reason(){return this[lr]}get wasClean(){return this[dr]}}Object.defineProperty(pr.prototype,"code",{enumerable:!0}),Object.defineProperty(pr.prototype,"reason",{enumerable:!0}),Object.defineProperty(pr.prototype,"wasClean",{enumerable:!0});class hr extends fr{constructor(e,t={}){super(e),this[ir]=void 0===t.error?null:t.error,this[sr]=void 0===t.message?"":t.message}get error(){return this[ir]}get message(){return this[sr]}}Object.defineProperty(hr.prototype,"error",{enumerable:!0}),Object.defineProperty(hr.prototype,"message",{enumerable:!0});class mr extends fr{constructor(e,t={}){super(e),this[ar]=void 0===t.data?null:t.data}get data(){return this[ar]}}Object.defineProperty(mr.prototype,"data",{enumerable:!0});const gr={addEventListener(e,t,n={}){for(const r of this.listeners(e))if(!n[nr]&&r[rr]===t&&!r[nr])return;let r;if("message"===e)r=function(e,n){const r=new mr("message",{data:n?e:e.toString()});r[ur]=this,yr(t,this,r)};else if("close"===e)r=function(e,n){const r=new pr("close",{code:e,reason:n.toString(),wasClean:this._closeFrameReceived&&this._closeFrameSent});r[ur]=this,yr(t,this,r)};else if("error"===e)r=function(e){const n=new hr("error",{error:e,message:e.message});n[ur]=this,yr(t,this,n)};else{if("open"!==e)return;r=function(){const e=new fr("open");e[ur]=this,yr(t,this,e)}}r[nr]=!!n[nr],r[rr]=t,n.once?this.once(e,r):this.on(e,r)},removeEventListener(e,t){for(const n of this.listeners(e))if(n[rr]===t&&!n[nr]){this.removeListener(e,n);break}}};var vr={CloseEvent:pr,ErrorEvent:hr,Event:fr,EventTarget:gr,MessageEvent:mr};function yr(e,t,n){"object"==typeof e&&e.handleEvent?e.handleEvent.call(e,n):e.call(t,n)}const{tokenChars:br}=xn.exports;function wr(e,t,n){void 0===e[t]?e[t]=[n]:e[t].push(n)}var kr={format:function(e){return Object.keys(e).map((t=>{let n=e[t];return Array.isArray(n)||(n=[n]),n.map((e=>[t].concat(Object.keys(e).map((t=>{let n=e[t];return Array.isArray(n)||(n=[n]),n.map((e=>!0===e?t:`${t}=${e}`)).join("; ")}))).join("; "))).join(", ")})).join(", ")},parse:function(e){const t=Object.create(null);let n,r,o=Object.create(null),a=!1,i=!1,s=!1,l=-1,u=-1,c=-1,d=0;for(;d<e.length;d++)if(u=e.charCodeAt(d),void 0===n)if(-1===c&&1===br[u])-1===l&&(l=d);else if(0===d||32!==u&&9!==u){if(59!==u&&44!==u)throw new SyntaxError(`Unexpected character at index ${d}`);{if(-1===l)throw new SyntaxError(`Unexpected character at index ${d}`);-1===c&&(c=d);const r=e.slice(l,c);44===u?(wr(t,r,o),o=Object.create(null)):n=r,l=c=-1}}else-1===c&&-1!==l&&(c=d);else if(void 0===r)if(-1===c&&1===br[u])-1===l&&(l=d);else if(32===u||9===u)-1===c&&-1!==l&&(c=d);else if(59===u||44===u){if(-1===l)throw new SyntaxError(`Unexpected character at index ${d}`);-1===c&&(c=d),wr(o,e.slice(l,c),!0),44===u&&(wr(t,n,o),o=Object.create(null),n=void 0),l=c=-1}else{if(61!==u||-1===l||-1!==c)throw new SyntaxError(`Unexpected character at index ${d}`);r=e.slice(l,d),l=c=-1}else if(i){if(1!==br[u])throw new SyntaxError(`Unexpected character at index ${d}`);-1===l?l=d:a||(a=!0),i=!1}else if(s)if(1===br[u])-1===l&&(l=d);else if(34===u&&-1!==l)s=!1,c=d;else{if(92!==u)throw new SyntaxError(`Unexpected character at index ${d}`);i=!0}else if(34===u&&61===e.charCodeAt(d-1))s=!0;else if(-1===c&&1===br[u])-1===l&&(l=d);else if(-1===l||32!==u&&9!==u){if(59!==u&&44!==u)throw new SyntaxError(`Unexpected character at index ${d}`);{if(-1===l)throw new SyntaxError(`Unexpected character at index ${d}`);-1===c&&(c=d);let i=e.slice(l,c);a&&(i=i.replace(/\\/g,""),a=!1),wr(o,r,i),44===u&&(wr(t,n,o),o=Object.create(null),n=void 0),r=void 0,l=c=-1}}else-1===c&&(c=d);if(-1===l||s||32===u||9===u)throw new SyntaxError("Unexpected end of input");-1===c&&(c=d);const f=e.slice(l,c);return void 0===n?wr(t,f,o):(void 0===r?wr(o,f,!0):wr(o,r,a?f.replace(/\\/g,""):f),wr(t,n,o)),t}};const Sr=G,_r=K,Er=X,xr=J,Cr=Z,{randomBytes:Tr,createHash:Rr}=Y,{URL:Nr}=ee,Pr=kn,Or=Wn,Lr=tr,{BINARY_TYPES:Ir,EMPTY_BUFFER:Dr,GUID:Mr,kForOnEventAttribute:Ar,kListener:zr,kStatusCode:Ur,kWebSocket:Fr,NOOP:Br}=en,{EventTarget:{addEventListener:jr,removeEventListener:Wr}}=vr,{format:Vr,parse:Hr}=kr,{toBuffer:$r}=Zt.exports,qr=Symbol("kAborted"),Qr=[8,13],Yr=["CONNECTING","OPEN","CLOSING","CLOSED"],Gr=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class Kr extends Sr{constructor(e,t,n){super(),this._binaryType=Ir[0],this._closeCode=1006,this._closeFrameReceived=!1,this._closeFrameSent=!1,this._closeMessage=Dr,this._closeTimer=null,this._extensions={},this._paused=!1,this._protocol="",this._readyState=Kr.CONNECTING,this._receiver=null,this._sender=null,this._socket=null,null!==e?(this._bufferedAmount=0,this._isServer=!1,this._redirects=0,void 0===t?t=[]:Array.isArray(t)||("object"==typeof t&&null!==t?(n=t,t=[]):t=[t]),Jr(this,e,t,n)):this._isServer=!0}get binaryType(){return this._binaryType}set binaryType(e){Ir.includes(e)&&(this._binaryType=e,this._receiver&&(this._receiver._binaryType=e))}get bufferedAmount(){return this._socket?this._socket._writableState.length+this._sender._bufferedBytes:this._bufferedAmount}get extensions(){return Object.keys(this._extensions).join()}get isPaused(){return this._paused}get onclose(){return null}get onerror(){return null}get onopen(){return null}get onmessage(){return null}get protocol(){return this._protocol}get readyState(){return this._readyState}get url(){return this._url}setSocket(e,t,n){const r=new Or({binaryType:this.binaryType,extensions:this._extensions,isServer:this._isServer,maxPayload:n.maxPayload,skipUTF8Validation:n.skipUTF8Validation});this._sender=new Lr(e,this._extensions,n.generateMask),this._receiver=r,this._socket=e,r[Fr]=this,e[Fr]=this,r.on("conclude",oo),r.on("drain",ao),r.on("error",io),r.on("message",lo),r.on("ping",uo),r.on("pong",co),e.setTimeout&&e.setTimeout(0),e.setNoDelay&&e.setNoDelay(),t.length>0&&e.unshift(t),e.on("close",po),e.on("data",ho),e.on("end",mo),e.on("error",go),this._readyState=Kr.OPEN,this.emit("open")}emitClose(){if(!this._socket)return this._readyState=Kr.CLOSED,void this.emit("close",this._closeCode,this._closeMessage);this._extensions[Pr.extensionName]&&this._extensions[Pr.extensionName].cleanup(),this._receiver.removeAllListeners(),this._readyState=Kr.CLOSED,this.emit("close",this._closeCode,this._closeMessage)}close(e,t){if(this.readyState!==Kr.CLOSED)if(this.readyState!==Kr.CONNECTING)this.readyState!==Kr.CLOSING?(this._readyState=Kr.CLOSING,this._sender.close(e,t,!this._isServer,(e=>{e||(this._closeFrameSent=!0,(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end())})),this._closeTimer=setTimeout(this._socket.destroy.bind(this._socket),3e4)):this._closeFrameSent&&(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end();else{const e="WebSocket was closed before the connection was established";no(this,this._req,e)}}pause(){this.readyState!==Kr.CONNECTING&&this.readyState!==Kr.CLOSED&&(this._paused=!0,this._socket.pause())}ping(e,t,n){if(this.readyState===Kr.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");"function"==typeof e?(n=e,e=t=void 0):"function"==typeof t&&(n=t,t=void 0),"number"==typeof e&&(e=e.toString()),this.readyState===Kr.OPEN?(void 0===t&&(t=!this._isServer),this._sender.ping(e||Dr,t,n)):ro(this,e,n)}pong(e,t,n){if(this.readyState===Kr.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");"function"==typeof e?(n=e,e=t=void 0):"function"==typeof t&&(n=t,t=void 0),"number"==typeof e&&(e=e.toString()),this.readyState===Kr.OPEN?(void 0===t&&(t=!this._isServer),this._sender.pong(e||Dr,t,n)):ro(this,e,n)}resume(){this.readyState!==Kr.CONNECTING&&this.readyState!==Kr.CLOSED&&(this._paused=!1,this._receiver._writableState.needDrain||this._socket.resume())}send(e,t,n){if(this.readyState===Kr.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");if("function"==typeof t&&(n=t,t={}),"number"==typeof e&&(e=e.toString()),this.readyState!==Kr.OPEN)return void ro(this,e,n);const r={binary:"string"!=typeof e,mask:!this._isServer,compress:!0,fin:!0,...t};this._extensions[Pr.extensionName]||(r.compress=!1),this._sender.send(e||Dr,r,n)}terminate(){if(this.readyState!==Kr.CLOSED)if(this.readyState!==Kr.CONNECTING)this._socket&&(this._readyState=Kr.CLOSING,this._socket.destroy());else{const e="WebSocket was closed before the connection was established";no(this,this._req,e)}}}Object.defineProperty(Kr,"CONNECTING",{enumerable:!0,value:Yr.indexOf("CONNECTING")}),Object.defineProperty(Kr.prototype,"CONNECTING",{enumerable:!0,value:Yr.indexOf("CONNECTING")}),Object.defineProperty(Kr,"OPEN",{enumerable:!0,value:Yr.indexOf("OPEN")}),Object.defineProperty(Kr.prototype,"OPEN",{enumerable:!0,value:Yr.indexOf("OPEN")}),Object.defineProperty(Kr,"CLOSING",{enumerable:!0,value:Yr.indexOf("CLOSING")}),Object.defineProperty(Kr.prototype,"CLOSING",{enumerable:!0,value:Yr.indexOf("CLOSING")}),Object.defineProperty(Kr,"CLOSED",{enumerable:!0,value:Yr.indexOf("CLOSED")}),Object.defineProperty(Kr.prototype,"CLOSED",{enumerable:!0,value:Yr.indexOf("CLOSED")}),["binaryType","bufferedAmount","extensions","isPaused","protocol","readyState","url"].forEach((e=>{Object.defineProperty(Kr.prototype,e,{enumerable:!0})})),["open","error","close","message"].forEach((e=>{Object.defineProperty(Kr.prototype,`on${e}`,{enumerable:!0,get(){for(const t of this.listeners(e))if(t[Ar])return t[zr];return null},set(t){for(const t of this.listeners(e))if(t[Ar]){this.removeListener(e,t);break}"function"==typeof t&&this.addEventListener(e,t,{[Ar]:!0})}})})),Kr.prototype.addEventListener=jr,Kr.prototype.removeEventListener=Wr;var Xr=Kr;function Jr(e,t,n,r){const o={protocolVersion:Qr[1],maxPayload:104857600,skipUTF8Validation:!1,perMessageDeflate:!0,followRedirects:!1,maxRedirects:10,...r,createConnection:void 0,socketPath:void 0,hostname:void 0,protocol:void 0,timeout:void 0,method:"GET",host:void 0,path:void 0,port:void 0};if(!Qr.includes(o.protocolVersion))throw new RangeError(`Unsupported protocol version: ${o.protocolVersion} (supported versions: ${Qr.join(", ")})`);let a;if(t instanceof Nr)a=t;else try{a=new Nr(t)}catch(e){throw new SyntaxError(`Invalid URL: ${t}`)}"http:"===a.protocol?a.protocol="ws:":"https:"===a.protocol&&(a.protocol="wss:"),e._url=a.href;const i="wss:"===a.protocol,s="ws+unix:"===a.protocol;let l;if("ws:"===a.protocol||i||s?s&&!a.pathname?l="The URL's pathname is empty":a.hash&&(l="The URL contains a fragment identifier"):l='The URL\'s protocol must be one of "ws:", "wss:", "http:", "https", or "ws+unix:"',l){const t=new SyntaxError(l);if(0===e._redirects)throw t;return void Zr(e,t)}const u=i?443:80,c=Tr(16).toString("base64"),d=i?_r.request:Er.request,f=new Set;let p,h;if(o.createConnection=i?to:eo,o.defaultPort=o.defaultPort||u,o.port=a.port||u,o.host=a.hostname.startsWith("[")?a.hostname.slice(1,-1):a.hostname,o.headers={...o.headers,"Sec-WebSocket-Version":o.protocolVersion,"Sec-WebSocket-Key":c,Connection:"Upgrade",Upgrade:"websocket"},o.path=a.pathname+a.search,o.timeout=o.handshakeTimeout,o.perMessageDeflate&&(p=new Pr(!0!==o.perMessageDeflate?o.perMessageDeflate:{},!1,o.maxPayload),o.headers["Sec-WebSocket-Extensions"]=Vr({[Pr.extensionName]:p.offer()})),n.length){for(const e of n){if("string"!=typeof e||!Gr.test(e)||f.has(e))throw new SyntaxError("An invalid or duplicated subprotocol was specified");f.add(e)}o.headers["Sec-WebSocket-Protocol"]=n.join(",")}if(o.origin&&(o.protocolVersion<13?o.headers["Sec-WebSocket-Origin"]=o.origin:o.headers.Origin=o.origin),(a.username||a.password)&&(o.auth=`${a.username}:${a.password}`),s){const e=o.path.split(":");o.socketPath=e[0],o.path=e[1]}if(o.followRedirects){if(0===e._redirects){e._originalIpc=s,e._originalSecure=i,e._originalHostOrSocketPath=s?o.socketPath:a.host;const t=r&&r.headers;if(r={...r,headers:{}},t)for(const[e,n]of Object.entries(t))r.headers[e.toLowerCase()]=n}else if(0===e.listenerCount("redirect")){const t=s?!!e._originalIpc&&o.socketPath===e._originalHostOrSocketPath:!e._originalIpc&&a.host===e._originalHostOrSocketPath;(!t||e._originalSecure&&!i)&&(delete o.headers.authorization,delete o.headers.cookie,t||delete o.headers.host,o.auth=void 0)}o.auth&&!r.headers.authorization&&(r.headers.authorization="Basic "+Buffer.from(o.auth).toString("base64")),h=e._req=d(o),e._redirects&&e.emit("redirect",e.url,h)}else h=e._req=d(o);o.timeout&&h.on("timeout",(()=>{no(e,h,"Opening handshake has timed out")})),h.on("error",(t=>{null===h||h[qr]||(h=e._req=null,Zr(e,t))})),h.on("response",(a=>{const i=a.headers.location,s=a.statusCode;if(i&&o.followRedirects&&s>=300&&s<400){if(++e._redirects>o.maxRedirects)return void no(e,h,"Maximum redirects exceeded");let a;h.abort();try{a=new Nr(i,t)}catch(t){const n=new SyntaxError(`Invalid URL: ${i}`);return void Zr(e,n)}Jr(e,a,n,r)}else e.emit("unexpected-response",h,a)||no(e,h,`Unexpected server response: ${a.statusCode}`)})),h.on("upgrade",((t,n,r)=>{if(e.emit("upgrade",t),e.readyState!==Kr.CONNECTING)return;if(h=e._req=null,"websocket"!==t.headers.upgrade.toLowerCase())return void no(e,n,"Invalid Upgrade header");const a=Rr("sha1").update(c+Mr).digest("base64");if(t.headers["sec-websocket-accept"]!==a)return void no(e,n,"Invalid Sec-WebSocket-Accept header");const i=t.headers["sec-websocket-protocol"];let s;if(void 0!==i?f.size?f.has(i)||(s="Server sent an invalid subprotocol"):s="Server sent a subprotocol but none was requested":f.size&&(s="Server sent no subprotocol"),s)return void no(e,n,s);i&&(e._protocol=i);const l=t.headers["sec-websocket-extensions"];if(void 0!==l){if(!p){return void no(e,n,"Server sent a Sec-WebSocket-Extensions header but no extension was requested")}let t;try{t=Hr(l)}catch(t){return void no(e,n,"Invalid Sec-WebSocket-Extensions header")}const r=Object.keys(t);if(1!==r.length||r[0]!==Pr.extensionName){return void no(e,n,"Server indicated an extension that was not requested")}try{p.accept(t[Pr.extensionName])}catch(t){return void no(e,n,"Invalid Sec-WebSocket-Extensions header")}e._extensions[Pr.extensionName]=p}e.setSocket(n,r,{generateMask:o.generateMask,maxPayload:o.maxPayload,skipUTF8Validation:o.skipUTF8Validation})})),o.finishRequest?o.finishRequest(h,e):h.end()}function Zr(e,t){e._readyState=Kr.CLOSING,e.emit("error",t),e.emitClose()}function eo(e){return e.path=e.socketPath,xr.connect(e)}function to(e){return e.path=void 0,e.servername||""===e.servername||(e.servername=xr.isIP(e.host)?"":e.host),Cr.connect(e)}function no(e,t,n){e._readyState=Kr.CLOSING;const r=new Error(n);Error.captureStackTrace(r,no),t.setHeader?(t[qr]=!0,t.abort(),t.socket&&!t.socket.destroyed&&t.socket.destroy(),process.nextTick(Zr,e,r)):(t.destroy(r),t.once("error",e.emit.bind(e,"error")),t.once("close",e.emitClose.bind(e)))}function ro(e,t,n){if(t){const n=$r(t).length;e._socket?e._sender._bufferedBytes+=n:e._bufferedAmount+=n}if(n){const t=new Error(`WebSocket is not open: readyState ${e.readyState} (${Yr[e.readyState]})`);process.nextTick(n,t)}}function oo(e,t){const n=this[Fr];n._closeFrameReceived=!0,n._closeMessage=t,n._closeCode=e,void 0!==n._socket[Fr]&&(n._socket.removeListener("data",ho),process.nextTick(fo,n._socket),1005===e?n.close():n.close(e,t))}function ao(){const e=this[Fr];e.isPaused||e._socket.resume()}function io(e){const t=this[Fr];void 0!==t._socket[Fr]&&(t._socket.removeListener("data",ho),process.nextTick(fo,t._socket),t.close(e[Ur])),t.emit("error",e)}function so(){this[Fr].emitClose()}function lo(e,t){this[Fr].emit("message",e,t)}function uo(e){const t=this[Fr];t.pong(e,!t._isServer,Br),t.emit("ping",e)}function co(e){this[Fr].emit("pong",e)}function fo(e){e.resume()}function po(){const e=this[Fr];let t;this.removeListener("close",po),this.removeListener("data",ho),this.removeListener("end",mo),e._readyState=Kr.CLOSING,this._readableState.endEmitted||e._closeFrameReceived||e._receiver._writableState.errorEmitted||null===(t=e._socket.read())||e._receiver.write(t),e._receiver.end(),this[Fr]=void 0,clearTimeout(e._closeTimer),e._receiver._writableState.finished||e._receiver._writableState.errorEmitted?e.emitClose():(e._receiver.on("error",so),e._receiver.on("finish",so))}function ho(e){this[Fr]._receiver.write(e)||this.pause()}function mo(){const e=this[Fr];e._readyState=Kr.CLOSING,e._receiver.end(),this.end()}function go(){const e=this[Fr];this.removeListener("error",go),this.on("error",Br),e&&(e._readyState=Kr.CLOSING,this.destroy())}var vo=typeof window<"u"?window.WebSocket:Xr,yo=class extends p{constructor(e){super(),this.opts=e,this.socket=null,this.nextSocket=null,this.subscriptions=e.subscriptions||[],this.qs=`env=browser&protocol=wc&version=${e.version}`}qs;urls=[];socket;nextSocket;queue=[];subscriptions=[];retryIndex=0;set readyState(e){}get readyState(){return this.socket?this.socket.readyState:-1}set connecting(e){}get connecting(){return 0===this.readyState}set connected(e){}get connected(){return 1===this.readyState}set retryFailed(e){}get retryFailed(){return this.retryIndex>0&&this.retryIndex>=this.urls.length}open(e){if(!Array.isArray(e)||0===e.length)throw new Error("Missing or invalid WebSocket url");this.urls=e,this.retryIndex=0,this.socketCreate()}close(){this._socketClose()}send(e,t,n){if(!t||"string"!=typeof t)throw new Error("Missing or invalid topic field");this.socketSend({topic:t,type:"pub",payload:e,silent:!!n})}subscribe(e){this.socketSend({topic:e,type:"sub",payload:"",silent:!0})}socketCreate(){if(this.nextSocket)return;let e=this.getWsUrl();if(!e)return this.events.emit("error",new Error("Retry limit reached. Can't connect to any url."),e);if(this.nextSocket=new vo(e),!this.nextSocket)throw new Error("Failed to create socket");this.nextSocket.onmessage=e=>this.socketReceive(e),this.nextSocket.onopen=()=>this.socketOpen(),this.nextSocket.onerror=t=>this.socketError(t,e),this.nextSocket.onclose=e=>{this.nextSocket=null,this.socketCreate()}}getWsUrl(){return this.retryIndex>=this.urls.length?"":`${this.urls[this.retryIndex++]}?${this.qs}`}socketOpen(){this._socketClose(),this.socket=this.nextSocket,this.nextSocket=null,this.queueSubscriptions(),this.pushQueue(),this.events.emit("open",this.urls[this.retryIndex-1])}_socketClose(){this.socket&&(this.socket.onclose=()=>{},this.socket.close(),this.events.emit("close"))}socketSend(e){let t=JSON.stringify(e);this.socket&&1===this.socket.readyState?this.socket.send(t):this.setToQueue(e)}socketReceive(e){let t;try{t=JSON.parse(e.data)}catch{return}this.socketSend({topic:t.topic,type:"ack",payload:"",silent:!0}),this.socket&&1===this.socket.readyState&&this.events.emit("message",t)}socketError(e,t){this.events.emit("error",e,t)}queueSubscriptions(){this.subscriptions.forEach((e=>this.queue.push({topic:e,type:"sub",payload:"",silent:!0}))),this.subscriptions=this.opts.subscriptions||[]}setToQueue(e){this.queue.push(e)}pushQueue(){this.queue.forEach((e=>this.socketSend(e))),this.queue=[]}};function bo(e){let t=Date.now();return new Promise(((n,r)=>{try{let r=new vo(e);r.onopen=()=>{r.close(),n({ttl:Date.now()-t,url:e})},r.onerror=()=>{n({ttl:0,url:e})}}catch{r({ttl:0,url:e})}}))}var wo=(e=>(e[e.DisconnectAtWallet=0]="DisconnectAtWallet",e[e.DisconnectAtClient=1]="DisconnectAtClient",e[e.NetworkError=2]="NetworkError",e))(wo||{});function ko(e,t){return function(){return e.apply(t,arguments)}}const{toString:So}=Object.prototype,{getPrototypeOf:_o}=Object,Eo=(xo=Object.create(null),e=>{const t=So.call(e);return xo[t]||(xo[t]=t.slice(8,-1).toLowerCase())});var xo;const Co=e=>(e=e.toLowerCase(),t=>Eo(t)===e),To=e=>t=>typeof t===e,{isArray:Ro}=Array,No=To("undefined");const Po=Co("ArrayBuffer");const Oo=To("string"),Lo=To("function"),Io=To("number"),Do=e=>null!==e&&"object"==typeof e,Mo=e=>{if("object"!==Eo(e))return!1;const t=_o(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},Ao=Co("Date"),zo=Co("File"),Uo=Co("Blob"),Fo=Co("FileList"),Bo=Co("URLSearchParams");function jo(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&&(e=[e]),Ro(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),a=o.length;let i;for(r=0;r<a;r++)i=o[r],t.call(null,e[i],i,e)}}function Wo(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const Vo="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Ho=e=>!No(e)&&e!==Vo;const $o=(qo="undefined"!=typeof Uint8Array&&_o(Uint8Array),e=>qo&&e instanceof qo);var qo;const Qo=Co("HTMLFormElement"),Yo=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Go=Co("RegExp"),Ko=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};jo(n,((n,o)=>{let a;!1!==(a=t(n,o,e))&&(r[o]=a||n)})),Object.defineProperties(e,r)},Xo="abcdefghijklmnopqrstuvwxyz",Jo="0123456789",Zo={DIGIT:Jo,ALPHA:Xo,ALPHA_DIGIT:Xo+Xo.toUpperCase()+Jo};const ea=Co("AsyncFunction");var ta={isArray:Ro,isArrayBuffer:Po,isBuffer:function(e){return null!==e&&!No(e)&&null!==e.constructor&&!No(e.constructor)&&Lo(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||Lo(e.append)&&("formdata"===(t=Eo(e))||"object"===t&&Lo(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Po(e.buffer),t},isString:Oo,isNumber:Io,isBoolean:e=>!0===e||!1===e,isObject:Do,isPlainObject:Mo,isUndefined:No,isDate:Ao,isFile:zo,isBlob:Uo,isRegExp:Go,isFunction:Lo,isStream:e=>Do(e)&&Lo(e.pipe),isURLSearchParams:Bo,isTypedArray:$o,isFileList:Fo,forEach:jo,merge:function e(){const{caseless:t}=Ho(this)&&this||{},n={},r=(r,o)=>{const a=t&&Wo(n,o)||o;Mo(n[a])&&Mo(r)?n[a]=e(n[a],r):Mo(r)?n[a]=e({},r):Ro(r)?n[a]=r.slice():n[a]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&jo(arguments[e],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(jo(t,((t,r)=>{n&&Lo(t)?e[r]=ko(t,n):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let o,a,i;const s={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),a=o.length;a-- >0;)i=o[a],r&&!r(i,e,t)||s[i]||(t[i]=e[i],s[i]=!0);e=!1!==n&&_o(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:Eo,kindOfTest:Co,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(Ro(e))return e;let t=e.length;if(!Io(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:Qo,hasOwnProperty:Yo,hasOwnProp:Yo,reduceDescriptors:Ko,freezeMethods:e=>{Ko(e,((t,n)=>{if(Lo(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];Lo(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return Ro(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>(e=+e,Number.isFinite(e)?e:t),findKey:Wo,global:Vo,isContextDefined:Ho,ALPHABET:Zo,generateString:(e=16,t=Zo.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&Lo(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(Do(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const o=Ro(e)?[]:{};return jo(e,((e,t)=>{const a=n(e,r+1);!No(a)&&(o[t]=a)})),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:ea,isThenable:e=>e&&(Do(e)||Lo(e))&&Lo(e.then)&&Lo(e.catch)};function na(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}ta.inherits(na,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:ta.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const ra=na.prototype,oa={};function aa(e){return ta.isPlainObject(e)||ta.isArray(e)}function ia(e){return ta.endsWith(e,"[]")?e.slice(0,-2):e}function sa(e,t,n){return e?e.concat(t).map((function(e,t){return e=ia(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{oa[e]={value:e}})),Object.defineProperties(na,oa),Object.defineProperty(ra,"isAxiosError",{value:!0}),na.from=(e,t,n,r,o,a)=>{const i=Object.create(ra);return ta.toFlatObject(e,i,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),na.call(i,e.message,t,n,r,o),i.cause=e,i.name=e.name,a&&Object.assign(i,a),i};const la=ta.toFlatObject(ta,{},null,(function(e){return/^is[A-Z]/.test(e)}));function ua(e,t,n){if(!ta.isObject(e))throw new TypeError("target must be an object");t=t||new(ne||FormData);const r=(n=ta.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!ta.isUndefined(t[e])}))).metaTokens,o=n.visitor||u,a=n.dots,i=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&ta.isSpecCompliantForm(t);if(!ta.isFunction(o))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(ta.isDate(e))return e.toISOString();if(!s&&ta.isBlob(e))throw new na("Blob is not supported. Use a Buffer instead.");return ta.isArrayBuffer(e)||ta.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,n,o){let s=e;if(e&&!o&&"object"==typeof e)if(ta.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(ta.isArray(e)&&function(e){return ta.isArray(e)&&!e.some(aa)}(e)||(ta.isFileList(e)||ta.endsWith(n,"[]"))&&(s=ta.toArray(e)))return n=ia(n),s.forEach((function(e,r){!ta.isUndefined(e)&&null!==e&&t.append(!0===i?sa([n],r,a):null===i?n:n+"[]",l(e))})),!1;return!!aa(e)||(t.append(sa(o,n,a),l(e)),!1)}const c=[],d=Object.assign(la,{defaultVisitor:u,convertValue:l,isVisitable:aa});if(!ta.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!ta.isUndefined(n)){if(-1!==c.indexOf(n))throw Error("Circular reference detected in "+r.join("."));c.push(n),ta.forEach(n,(function(n,a){!0===(!(ta.isUndefined(n)||null===n)&&o.call(t,n,ta.isString(a)?a.trim():a,r,d))&&e(n,r?r.concat(a):[a])})),c.pop()}}(e),t}function ca(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function da(e,t){this._pairs=[],e&&ua(e,this,t)}const fa=da.prototype;function pa(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ha(e,t,n){if(!t)return e;const r=n&&n.encode||pa,o=n&&n.serialize;let a;if(a=o?o(t,n):ta.isURLSearchParams(t)?t.toString():new da(t,n).toString(r),a){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}fa.append=function(e,t){this._pairs.push([e,t])},fa.toString=function(e){const t=e?function(t){return e.call(this,t,ca)}:ca;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var ma=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){ta.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},ga={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},va={isNode:!0,classes:{URLSearchParams:ee.URLSearchParams,FormData:ne,Blob:"undefined"!=typeof Blob&&Blob||null},protocols:["http","https","file","data"]};const ya="undefined"!=typeof window&&"undefined"!=typeof document,ba=(wa="undefined"!=typeof navigator&&navigator.product,ya&&["ReactNative","NativeScript","NS"].indexOf(wa)<0);var wa;const ka="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts;var Sa={...Object.freeze({__proto__:null,hasBrowserEnv:ya,hasStandardBrowserWebWorkerEnv:ka,hasStandardBrowserEnv:ba}),...va};function _a(e){function t(e,n,r,o){let a=e[o++];const i=Number.isFinite(+a),s=o>=e.length;if(a=!a&&ta.isArray(r)?r.length:a,s)return ta.hasOwnProp(r,a)?r[a]=[r[a],n]:r[a]=n,!i;r[a]&&ta.isObject(r[a])||(r[a]=[]);return t(e,n,r[a],o)&&ta.isArray(r[a])&&(r[a]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let a;for(r=0;r<o;r++)a=n[r],t[a]=e[a];return t}(r[a])),!i}if(ta.isFormData(e)&&ta.isFunction(e.entries)){const n={};return ta.forEachEntry(e,((e,r)=>{t(function(e){return ta.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null}const Ea={transitional:ga,adapter:["xhr","http"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=ta.isObject(e);o&&ta.isHTMLForm(e)&&(e=new FormData(e));if(ta.isFormData(e))return r&&r?JSON.stringify(_a(e)):e;if(ta.isArrayBuffer(e)||ta.isBuffer(e)||ta.isStream(e)||ta.isFile(e)||ta.isBlob(e))return e;if(ta.isArrayBufferView(e))return e.buffer;if(ta.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return ua(e,new Sa.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return Sa.isNode&&ta.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((a=ta.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return ua(a?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(ta.isString(e))try{return(t||JSON.parse)(e),ta.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Ea.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&ta.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw na.from(e,na.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Sa.classes.FormData,Blob:Sa.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ta.forEach(["delete","get","head","post","put","patch"],(e=>{Ea.headers[e]={}}));var xa=Ea;const Ca=ta.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const Ta=Symbol("internals");function Ra(e){return e&&String(e).trim().toLowerCase()}function Na(e){return!1===e||null==e?e:ta.isArray(e)?e.map(Na):String(e)}function Pa(e,t,n,r,o){return ta.isFunction(r)?r.call(this,t,n):(o&&(t=n),ta.isString(t)?ta.isString(r)?-1!==t.indexOf(r):ta.isRegExp(r)?r.test(t):void 0:void 0)}class Oa{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=Ra(t);if(!o)throw new Error("header name must be a non-empty string");const a=ta.findKey(r,o);(!a||void 0===r[a]||!0===n||void 0===n&&!1!==r[a])&&(r[a||t]=Na(e))}const a=(e,t)=>ta.forEach(e,((e,n)=>o(e,n,t)));return ta.isPlainObject(e)||e instanceof this.constructor?a(e,t):ta.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?a((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&Ca[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t):null!=e&&o(t,e,n),this}get(e,t){if(e=Ra(e)){const n=ta.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(ta.isFunction(t))return t.call(this,e,n);if(ta.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Ra(e)){const n=ta.findKey(this,e);return!(!n||void 0===this[n]||t&&!Pa(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=Ra(e)){const o=ta.findKey(n,e);!o||t&&!Pa(0,n[o],o,t)||(delete n[o],r=!0)}}return ta.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!Pa(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return ta.forEach(this,((r,o)=>{const a=ta.findKey(n,o);if(a)return t[a]=Na(r),void delete t[o];const i=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(o):String(o).trim();i!==o&&delete t[o],t[i]=Na(r),n[i]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return ta.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&ta.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[Ta]=this[Ta]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=Ra(e);t[r]||(!function(e,t){const n=ta.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[r]=!0)}return ta.isArray(e)?e.forEach(r):r(e),this}}Oa.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),ta.reduceDescriptors(Oa.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),ta.freezeMethods(Oa);var La=Oa;function Ia(e,t){const n=this||xa,r=t||n,o=La.from(r.headers);let a=r.data;return ta.forEach(e,(function(e){a=e.call(n,a,o.normalize(),t?t.status:void 0)})),o.normalize(),a}function Da(e){return!(!e||!e.__CANCEL__)}function Ma(e,t,n){na.call(this,null==e?"canceled":e,na.ERR_CANCELED,t,n),this.name="CanceledError"}function Aa(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new na("Request failed with status code "+n.status,[na.ERR_BAD_REQUEST,na.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}function za(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}ta.inherits(Ma,na,{__CANCEL__:!0});const Ua="1.6.2";function Fa(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const Ba=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;function ja(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,a=0,i=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),u=r[i];o||(o=l),n[a]=s,r[a]=l;let c=i,d=0;for(;c!==a;)d+=n[c++],c%=e;if(a=(a+1)%e,a===i&&(i=(i+1)%e),l-o<t)return;const f=u&&l-u;return f?Math.round(1e3*d/f):void 0}}const Wa=Symbol("internals");class Va extends B.Transform{constructor(e){super({readableHighWaterMark:(e=ta.toFlatObject(e,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,((e,t)=>!ta.isUndefined(t[e])))).chunkSize});const t=this,n=this[Wa]={length:e.length,timeWindow:e.timeWindow,ticksRate:e.ticksRate,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null},r=ja(n.ticksRate*e.samplesCount,n.timeWindow);this.on("newListener",(e=>{"progress"===e&&(n.isCaptured||(n.isCaptured=!0))}));let o=0;n.updateProgress=function(e,t){let n=0;const r=1e3/t;let o=null;return function(t,a){const i=Date.now();if(t||i-n>r)return o&&(clearTimeout(o),o=null),n=i,e.apply(null,a);o||(o=setTimeout((()=>(o=null,n=Date.now(),e.apply(null,a))),r-(i-n)))}}((function(){const e=n.length,a=n.bytesSeen,i=a-o;if(!i||t.destroyed)return;const s=r(i);o=a,process.nextTick((()=>{t.emit("progress",{loaded:a,total:e,progress:e?a/e:void 0,bytes:i,rate:s||void 0,estimated:s&&e&&a<=e?(e-a)/s:void 0})}))}),n.ticksRate);const a=()=>{n.updateProgress(!0)};this.once("end",a),this.once("error",a)}_read(e){const t=this[Wa];return t.onReadCallback&&t.onReadCallback(),super._read(e)}_transform(e,t,n){const r=this,o=this[Wa],a=o.maxRate,i=this.readableHighWaterMark,s=o.timeWindow,l=a/(1e3/s),u=!1!==o.minChunkSize?Math.max(o.minChunkSize,.01*l):0;const c=(e,t)=>{const n=Buffer.byteLength(e);let c,d=null,f=i,p=0;if(a){const e=Date.now();(!o.ts||(p=e-o.ts)>=s)&&(o.ts=e,c=l-o.bytes,o.bytes=c<0?-c:0,p=0),c=l-o.bytes}if(a){if(c<=0)return setTimeout((()=>{t(null,e)}),s-p);c<f&&(f=c)}f&&n>f&&n-f>u&&(d=e.subarray(f),e=e.subarray(0,f)),function(e,t){const n=Buffer.byteLength(e);o.bytesSeen+=n,o.bytes+=n,o.isCaptured&&o.updateProgress(),r.push(e)?process.nextTick(t):o.onReadCallback=()=>{o.onReadCallback=null,process.nextTick(t)}}(e,d?()=>{process.nextTick(t,null,d)}:t)};c(e,(function e(t,r){if(t)return n(t);r?c(r,e):n(null)}))}setLength(e){return this[Wa].length=+e,this}}var Ha=Va;const{asyncIterator:$a}=Symbol;var qa=async function*(e){e.stream?yield*e.stream():e.arrayBuffer?yield await e.arrayBuffer():e[$a]?yield*e[$a]():yield e};const Qa=ta.ALPHABET.ALPHA_DIGIT+"-_",Ya=new ie,Ga="\r\n",Ka=Ya.encode(Ga);class Xa{constructor(e,t){const{escapeName:n}=this.constructor,r=ta.isString(t);let o=`Content-Disposition: form-data; name="${n(e)}"${!r&&t.name?`; filename="${n(t.name)}"`:""}${Ga}`;r?t=Ya.encode(String(t).replace(/\r?\n|\r\n?/g,Ga)):o+=`Content-Type: ${t.type||"application/octet-stream"}${Ga}`,this.headers=Ya.encode(o+Ga),this.contentLength=r?t.byteLength:t.size,this.size=this.headers.byteLength+this.contentLength+2,this.name=e,this.value=t}async*encode(){yield this.headers;const{value:e}=this;ta.isTypedArray(e)?yield e:yield*qa(e),yield Ka}static escapeName(e){return String(e).replace(/[\r\n"]/g,(e=>({"\r":"%0D","\n":"%0A",'"':"%22"}[e])))}}var Ja=(e,t,n)=>{const{tag:r="form-data-boundary",size:o=25,boundary:a=r+"-"+ta.generateString(o,Qa)}=n||{};if(!ta.isFormData(e))throw TypeError("FormData instance required");if(a.length<1||a.length>70)throw Error("boundary must be 10-70 characters long");const i=Ya.encode("--"+a+Ga),s=Ya.encode("--"+a+"--"+Ga+Ga);let l=s.byteLength;const u=Array.from(e.entries()).map((([e,t])=>{const n=new Xa(e,t);return l+=n.size,n}));l+=i.byteLength*u.length,l=ta.toFiniteNumber(l);const c={"Content-Type":`multipart/form-data; boundary=${a}`};return Number.isFinite(l)&&(c["Content-Length"]=l),t&&t(c),j.from(async function*(){for(const e of u)yield i,yield*e.encode();yield s}())};class Za extends B.Transform{__transform(e,t,n){this.push(e),n()}_transform(e,t,n){if(0!==e.length&&(this._transform=this.__transform,120!==e[0])){const e=Buffer.alloc(2);e[0]=120,e[1]=156,this.push(e,t)}this.__transform(e,t,n)}}var ei=Za;var ti=(e,t)=>ta.isAsyncFn(e)?function(...n){const r=n.pop();e.apply(this,n).then((e=>{try{t?r(null,...t(e)):r(null,e)}catch(e){r(e)}}),r)}:e;const ni={flush:W.constants.Z_SYNC_FLUSH,finishFlush:W.constants.Z_SYNC_FLUSH},ri={flush:W.constants.BROTLI_OPERATION_FLUSH,finishFlush:W.constants.BROTLI_OPERATION_FLUSH},oi=ta.isFunction(W.createBrotliDecompress),{http:ai,https:ii}=oe.exports,si=/https:?/,li=Sa.protocols.map((e=>e+":"));function ui(e){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.config&&e.beforeRedirects.config(e)}function ci(e,t,n){let r=t;if(!r&&!1!==r){const e=re(n);e&&(r=new URL(e))}if(r){if(r.username&&(r.auth=(r.username||"")+":"+(r.password||"")),r.auth){(r.auth.username||r.auth.password)&&(r.auth=(r.auth.username||"")+":"+(r.auth.password||""));const t=Buffer.from(r.auth,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+t}e.headers.host=e.hostname+(e.port?":"+e.port:"");const t=r.hostname||r.host;e.hostname=t,e.host=t,e.port=r.port,e.path=n,r.protocol&&(e.protocol=r.protocol.includes(":")?r.protocol:`${r.protocol}:`)}e.beforeRedirects.proxy=function(e){ci(e,t,e.href)}}const di="undefined"!=typeof process&&"process"===ta.kindOf(process),fi=(e,t)=>(({address:e,family:t})=>{if(!ta.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(e.indexOf(".")<0?6:4)}})(ta.isObject(e)?e:{address:e,family:t});var pi=di&&function(e){return t=async function(t,n,r){let{data:o,lookup:a,family:i}=e;const{responseType:s,responseEncoding:l}=e,u=e.method.toUpperCase();let c,d,f=!1;if(a){const e=ti(a,(e=>ta.isArray(e)?e:[e]));a=(t,n,r)=>{e(t,n,((e,t,o)=>{const a=ta.isArray(t)?t.map((e=>fi(e))):[fi(t,o)];n.all?r(e,a):r(e,a[0].address,a[0].family)}))}}const p=new G,h=()=>{e.cancelToken&&e.cancelToken.unsubscribe(m),e.signal&&e.signal.removeEventListener("abort",m),p.removeAllListeners()};function m(t){p.emit("abort",!t||t.type?new Ma(null,e,d):t)}r(((e,t)=>{c=!0,t&&(f=!0,h())})),p.once("abort",n),(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(m),e.signal&&(e.signal.aborted?m():e.signal.addEventListener("abort",m)));const g=za(e.baseURL,e.url),v=new URL(g,"http://localhost"),y=v.protocol||li[0];if("data:"===y){let r;if("GET"!==u)return Aa(t,n,{status:405,statusText:"method not allowed",headers:{},config:e});try{r=function(e,t,n){const r=n&&n.Blob||Sa.classes.Blob,o=Fa(e);if(void 0===t&&r&&(t=!0),"data"===o){e=o.length?e.slice(o.length+1):e;const n=Ba.exec(e);if(!n)throw new na("Invalid URL",na.ERR_INVALID_URL);const a=n[1],i=n[2],s=n[3],l=Buffer.from(decodeURIComponent(s),i?"base64":"utf8");if(t){if(!r)throw new na("Blob is not supported",na.ERR_NOT_SUPPORT);return new r([l],{type:a})}return l}throw new na("Unsupported protocol "+o,na.ERR_NOT_SUPPORT)}(e.url,"blob"===s,{Blob:e.env&&e.env.Blob})}catch(t){throw na.from(t,na.ERR_BAD_REQUEST,e)}return"text"===s?(r=r.toString(l),l&&"utf8"!==l||(r=ta.stripBOM(r))):"stream"===s&&(r=B.Readable.from(r)),Aa(t,n,{data:r,status:200,statusText:"OK",headers:new La,config:e})}if(-1===li.indexOf(y))return n(new na("Unsupported protocol "+y,na.ERR_BAD_REQUEST,e));const b=La.from(e.headers).normalize();b.set("User-Agent","axios/"+Ua,!1);const w=e.onDownloadProgress,k=e.onUploadProgress,S=e.maxRate;let _,E;if(ta.isSpecCompliantForm(o)){const e=b.getContentType(/boundary=([-_\w\d]{10,70})/i);o=Ja(o,(e=>{b.set(e)}),{tag:`axios-${Ua}-boundary`,boundary:e&&e[1]||void 0})}else if(ta.isFormData(o)&&ta.isFunction(o.getHeaders)){if(b.set(o.getHeaders()),!b.hasContentLength())try{const e=await ae.promisify(o.getLength).call(o);Number.isFinite(e)&&e>=0&&b.setContentLength(e)}catch(e){}}else if(ta.isBlob(o))o.size&&b.setContentType(o.type||"application/octet-stream"),b.setContentLength(o.size||0),o=B.Readable.from(qa(o));else if(o&&!ta.isStream(o)){if(Buffer.isBuffer(o));else if(ta.isArrayBuffer(o))o=Buffer.from(new Uint8Array(o));else{if(!ta.isString(o))return n(new na("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",na.ERR_BAD_REQUEST,e));o=Buffer.from(o,"utf-8")}if(b.setContentLength(o.length,!1),e.maxBodyLength>-1&&o.length>e.maxBodyLength)return n(new na("Request body larger than maxBodyLength limit",na.ERR_BAD_REQUEST,e))}const x=ta.toFiniteNumber(b.getContentLength());let C,T;ta.isArray(S)?(_=S[0],E=S[1]):_=E=S,o&&(k||_)&&(ta.isStream(o)||(o=B.Readable.from(o,{objectMode:!1})),o=B.pipeline([o,new Ha({length:x,maxRate:ta.toFiniteNumber(_)})],ta.noop),k&&o.on("progress",(e=>{k(Object.assign(e,{upload:!0}))}))),e.auth&&(C=(e.auth.username||"")+":"+(e.auth.password||"")),!C&&v.username&&(C=v.username+":"+v.password),C&&b.delete("authorization");try{T=ha(v.pathname+v.search,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(t){const r=new Error(t.message);return r.config=e,r.url=e.url,r.exists=!0,n(r)}b.set("Accept-Encoding","gzip, compress, deflate"+(oi?", br":""),!1);const R={path:T,method:u,headers:b.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:C,protocol:y,family:i,beforeRedirect:ui,beforeRedirects:{}};let N;!ta.isUndefined(a)&&(R.lookup=a),e.socketPath?R.socketPath=e.socketPath:(R.hostname=v.hostname,R.port=v.port,ci(R,e.proxy,y+"//"+v.hostname+(v.port?":"+v.port:"")+R.path));const P=si.test(R.protocol);if(R.agent=P?e.httpsAgent:e.httpAgent,e.transport?N=e.transport:0===e.maxRedirects?N=P?K:X:(e.maxRedirects&&(R.maxRedirects=e.maxRedirects),e.beforeRedirect&&(R.beforeRedirects.config=e.beforeRedirect),N=P?ii:ai),e.maxBodyLength>-1?R.maxBodyLength=e.maxBodyLength:R.maxBodyLength=1/0,e.insecureHTTPParser&&(R.insecureHTTPParser=e.insecureHTTPParser),d=N.request(R,(function(r){if(d.destroyed)return;const o=[r],a=+r.headers["content-length"];if(w){const e=new Ha({length:ta.toFiniteNumber(a),maxRate:ta.toFiniteNumber(E)});w&&e.on("progress",(e=>{w(Object.assign(e,{download:!0}))})),o.push(e)}let i=r;const c=r.req||d;if(!1!==e.decompress&&r.headers["content-encoding"])switch("HEAD"!==u&&204!==r.statusCode||delete r.headers["content-encoding"],(r.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":o.push(W.createUnzip(ni)),delete r.headers["content-encoding"];break;case"deflate":o.push(new ei),o.push(W.createUnzip(ni)),delete r.headers["content-encoding"];break;case"br":oi&&(o.push(W.createBrotliDecompress(ri)),delete r.headers["content-encoding"])}i=o.length>1?B.pipeline(o,ta.noop):o[0];const m=B.finished(i,(()=>{m(),h()})),g={status:r.statusCode,statusText:r.statusMessage,headers:new La(r.headers),config:e,request:c};if("stream"===s)g.data=i,Aa(t,n,g);else{const r=[];let o=0;i.on("data",(function(t){r.push(t),o+=t.length,e.maxContentLength>-1&&o>e.maxContentLength&&(f=!0,i.destroy(),n(new na("maxContentLength size of "+e.maxContentLength+" exceeded",na.ERR_BAD_RESPONSE,e,c)))})),i.on("aborted",(function(){if(f)return;const t=new na("maxContentLength size of "+e.maxContentLength+" exceeded",na.ERR_BAD_RESPONSE,e,c);i.destroy(t),n(t)})),i.on("error",(function(t){d.destroyed||n(na.from(t,null,e,c))})),i.on("end",(function(){try{let e=1===r.length?r[0]:Buffer.concat(r);"arraybuffer"!==s&&(e=e.toString(l),l&&"utf8"!==l||(e=ta.stripBOM(e))),g.data=e}catch(t){return n(na.from(t,null,e,g.request,g))}Aa(t,n,g)}))}p.once("abort",(e=>{i.destroyed||(i.emit("error",e),i.destroy())}))})),p.once("abort",(e=>{n(e),d.destroy(e)})),d.on("error",(function(t){n(na.from(t,null,e,d))})),d.on("socket",(function(e){e.setKeepAlive(!0,6e4)})),e.timeout){const t=parseInt(e.timeout,10);if(Number.isNaN(t))return void n(new na("error trying to parse `config.timeout` to int",na.ERR_BAD_OPTION_VALUE,e,d));d.setTimeout(t,(function(){if(c)return;let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const r=e.transitional||ga;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new na(t,r.clarifyTimeoutError?na.ETIMEDOUT:na.ECONNABORTED,e,d)),m()}))}if(ta.isStream(o)){let t=!1,n=!1;o.on("end",(()=>{t=!0})),o.once("error",(e=>{n=!0,d.destroy(e)})),o.on("close",(()=>{t||n||m(new Ma("Request stream has been aborted",e,d))})),o.pipe(d)}else d.end(o)},new Promise(((e,n)=>{let r,o;const a=(e,t)=>{o||(o=!0,r&&r(e,t))},i=e=>{a(e,!0),n(e)};t((t=>{a(t),e(t)}),i,(e=>r=e)).catch(i)}));var t},hi=Sa.hasStandardBrowserEnv?{write(e,t,n,r,o,a){const i=[e+"="+encodeURIComponent(t)];ta.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),ta.isString(r)&&i.push("path="+r),ta.isString(o)&&i.push("domain="+o),!0===a&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}},mi=Sa.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=ta.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0};function gi(e,t){let n=0;const r=ja(50,250);return o=>{const a=o.loaded,i=o.lengthComputable?o.total:void 0,s=a-n,l=r(s);n=a;const u={loaded:a,total:i,progress:i?a/i:void 0,bytes:s,rate:l||void 0,estimated:l&&i&&a<=i?(i-a)/l:void 0,event:o};u[t?"download":"upload"]=!0,e(u)}}const vi={http:pi,xhr:"undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){let r=e.data;const o=La.from(e.headers).normalize();let a,i,{responseType:s,withXSRFToken:l}=e;function u(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}if(ta.isFormData(r))if(Sa.hasStandardBrowserEnv||Sa.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if(!1!==(i=o.getContentType())){const[e,...t]=i?i.split(";").map((e=>e.trim())).filter(Boolean):[];o.setContentType([e||"multipart/form-data",...t].join("; "))}let c=new XMLHttpRequest;if(e.auth){const t=e.auth.username||"",n=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(t+":"+n))}const d=za(e.baseURL,e.url);function f(){if(!c)return;const r=La.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders());Aa((function(e){t(e),u()}),(function(e){n(e),u()}),{data:s&&"text"!==s&&"json"!==s?c.response:c.responseText,status:c.status,statusText:c.statusText,headers:r,config:e,request:c}),c=null}if(c.open(e.method.toUpperCase(),ha(d,e.params,e.paramsSerializer),!0),c.timeout=e.timeout,"onloadend"in c?c.onloadend=f:c.onreadystatechange=function(){c&&4===c.readyState&&(0!==c.status||c.responseURL&&0===c.responseURL.indexOf("file:"))&&setTimeout(f)},c.onabort=function(){c&&(n(new na("Request aborted",na.ECONNABORTED,e,c)),c=null)},c.onerror=function(){n(new na("Network Error",na.ERR_NETWORK,e,c)),c=null},c.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const r=e.transitional||ga;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new na(t,r.clarifyTimeoutError?na.ETIMEDOUT:na.ECONNABORTED,e,c)),c=null},Sa.hasStandardBrowserEnv&&(l&&ta.isFunction(l)&&(l=l(e)),l||!1!==l&&mi(d))){const t=e.xsrfHeaderName&&e.xsrfCookieName&&hi.read(e.xsrfCookieName);t&&o.set(e.xsrfHeaderName,t)}void 0===r&&o.setContentType(null),"setRequestHeader"in c&&ta.forEach(o.toJSON(),(function(e,t){c.setRequestHeader(t,e)})),ta.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),s&&"json"!==s&&(c.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&c.addEventListener("progress",gi(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&c.upload&&c.upload.addEventListener("progress",gi(e.onUploadProgress)),(e.cancelToken||e.signal)&&(a=t=>{c&&(n(!t||t.type?new Ma(null,e,c):t),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(a),e.signal&&(e.signal.aborted?a():e.signal.addEventListener("abort",a)));const p=Fa(d);p&&-1===Sa.protocols.indexOf(p)?n(new na("Unsupported protocol "+p+":",na.ERR_BAD_REQUEST,e)):c.send(r||null)}))}};ta.forEach(vi,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const yi=e=>`- ${e}`,bi=e=>ta.isFunction(e)||null===e||!1===e;var wi={getAdapter:e=>{e=ta.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let a=0;a<t;a++){let t;if(n=e[a],r=n,!bi(n)&&(r=vi[(t=String(n)).toLowerCase()],void 0===r))throw new na(`Unknown adapter '${t}'`);if(r)break;o[t||"#"+a]=r}if(!r){const e=Object.entries(o).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));throw new na("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(yi).join("\n"):" "+yi(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r},adapters:vi};function ki(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ma(null,e)}function Si(e){ki(e),e.headers=La.from(e.headers),e.data=Ia.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return wi.getAdapter(e.adapter||xa.adapter)(e).then((function(t){return ki(e),t.data=Ia.call(e,e.transformResponse,t),t.headers=La.from(t.headers),t}),(function(t){return Da(t)||(ki(e),t&&t.response&&(t.response.data=Ia.call(e,e.transformResponse,t.response),t.response.headers=La.from(t.response.headers))),Promise.reject(t)}))}const _i=e=>e instanceof La?e.toJSON():e;function Ei(e,t){t=t||{};const n={};function r(e,t,n){return ta.isPlainObject(e)&&ta.isPlainObject(t)?ta.merge.call({caseless:n},e,t):ta.isPlainObject(t)?ta.merge({},t):ta.isArray(t)?t.slice():t}function o(e,t,n){return ta.isUndefined(t)?ta.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function a(e,t){if(!ta.isUndefined(t))return r(void 0,t)}function i(e,t){return ta.isUndefined(t)?ta.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,o,a){return a in t?r(n,o):a in e?r(void 0,n):void 0}const l={url:a,method:a,data:a,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:s,headers:(e,t)=>o(_i(e),_i(t),!0)};return ta.forEach(Object.keys(Object.assign({},e,t)),(function(r){const a=l[r]||o,i=a(e[r],t[r],r);ta.isUndefined(i)&&a!==s||(n[r]=i)})),n}const xi={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{xi[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const Ci={};xi.transitional=function(e,t,n){function r(e,t){return"[Axios v1.6.2] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,a)=>{if(!1===e)throw new na(r(o," has been removed"+(t?" in "+t:"")),na.ERR_DEPRECATED);return t&&!Ci[o]&&(Ci[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,a)}};var Ti={assertOptions:function(e,t,n){if("object"!=typeof e)throw new na("options must be an object",na.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const a=r[o],i=t[a];if(i){const t=e[a],n=void 0===t||i(t,a,e);if(!0!==n)throw new na("option "+a+" must be "+n,na.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new na("Unknown option "+a,na.ERR_BAD_OPTION)}},validators:xi};const Ri=Ti.validators;class Ni{constructor(e){this.defaults=e,this.interceptors={request:new ma,response:new ma}}request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Ei(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&Ti.assertOptions(n,{silentJSONParsing:Ri.transitional(Ri.boolean),forcedJSONParsing:Ri.transitional(Ri.boolean),clarifyTimeoutError:Ri.transitional(Ri.boolean)},!1),null!=r&&(ta.isFunction(r)?t.paramsSerializer={serialize:r}:Ti.assertOptions(r,{encode:Ri.function,serialize:Ri.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let a=o&&ta.merge(o.common,o[t.method]);o&&ta.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=La.concat(a,o);const i=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,i.unshift(e.fulfilled,e.rejected))}));const l=[];let u;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let c,d=0;if(!s){const e=[Si.bind(this),void 0];for(e.unshift.apply(e,i),e.push.apply(e,l),c=e.length,u=Promise.resolve(t);d<c;)u=u.then(e[d++],e[d++]);return u}c=i.length;let f=t;for(d=0;d<c;){const e=i[d++],t=i[d++];try{f=e(f)}catch(e){t.call(this,e);break}}try{u=Si.call(this,f)}catch(e){return Promise.reject(e)}for(d=0,c=l.length;d<c;)u=u.then(l[d++],l[d++]);return u}getUri(e){return ha(za((e=Ei(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}ta.forEach(["delete","get","head","options"],(function(e){Ni.prototype[e]=function(t,n){return this.request(Ei(n||{},{method:e,url:t,data:(n||{}).data}))}})),ta.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(Ei(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Ni.prototype[e]=t(),Ni.prototype[e+"Form"]=t(!0)}));var Pi=Ni;class Oi{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,o){n.reason||(n.reason=new Ma(e,r,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;const t=new Oi((function(t){e=t}));return{token:t,cancel:e}}}var Li=Oi;const Ii={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ii).forEach((([e,t])=>{Ii[t]=e}));var Di=Ii;const Mi=function e(t){const n=new Pi(t),r=ko(Pi.prototype.request,n);return ta.extend(r,Pi.prototype,n,{allOwnKeys:!0}),ta.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Ei(t,n))},r}(xa);Mi.Axios=Pi,Mi.CanceledError=Ma,Mi.CancelToken=Li,Mi.isCancel=Da,Mi.VERSION=Ua,Mi.toFormData=ua,Mi.AxiosError=na,Mi.Cancel=Mi.CanceledError,Mi.all=function(e){return Promise.all(e)},Mi.spread=function(e){return function(t){return e.apply(null,t)}},Mi.isAxiosError=function(e){return ta.isObject(e)&&!0===e.isAxiosError},Mi.mergeConfig=Ei,Mi.AxiosHeaders=La,Mi.formToJSON=e=>_a(ta.isHTMLForm(e)?new FormData(e):e),Mi.getAdapter=wi.getAdapter,Mi.HttpStatusCode=Di,Mi.default=Mi;var Ai=Mi,zi="connect-session",Ui="connect-domains",Fi=["https://rpc.ankr.com/bsc","https://binance.nodereal.io","https://bscrpc.com","https://bsc-dataseed2.ninicoin.io"],Bi=class extends p{pending=!1;callbacks=new Map;clientMeta;relay;_key=null;_clientId="";_peerId="";_peerMeta=null;_handshakeId=0;_handshakeTopic="";_connected=!1;_accounts=[];_chainId="0x0";set key(e){if(!e)return;let t=O(e);this._key=t}get key(){return this._key?L(this._key,!0):""}set clientId(e){e&&(this._clientId=e)}get clientId(){let e=this._clientId;return e||(e=this._clientId=x()),this._clientId}set peerId(e){e&&(this._peerId=e)}get peerId(){return this._peerId}set peerMeta(e){this._peerMeta=e}get peerMeta(){return this._peerMeta}set handshakeTopic(e){e&&(this._handshakeTopic=e)}get handshakeTopic(){return this._handshakeTopic}set handshakeId(e){e&&(this._handshakeId=e)}get handshakeId(){return this._handshakeId}get uri(){return`wc:${this.handshakeTopic}@1?bridge=${this.relay}&key=${this.key}&scene=bid`}set chainId(e){this._chainId=e}get chainId(){return this._chainId}set accounts(e){this._accounts=e}get accounts(){return this._accounts}set connected(e){}get connected(){return this._connected}get session(){return{connected:this.connected,accounts:this.accounts,chainId:this.chainId,relay:this.relay,key:this.key,clientId:this.clientId,clientMeta:this.clientMeta,peerId:this.peerId,peerMeta:this.peerMeta,handshakeId:this.handshakeId,handshakeTopic:this.handshakeTopic}}set session(e){e&&(this._connected=e.connected,this.accounts=e.accounts,this.chainId=e.chainId,this.relay=e.relay,this.key=e.key,this.clientId=e.clientId,this.clientMeta=e.clientMeta,this.peerId=e.peerId,this.peerMeta=e.peerMeta,this.handshakeId=e.handshakeId,this.handshakeTopic=e.handshakeTopic)}},ji=class extends Bi{getStorageSession(){try{return h(zi)}catch{}return null}setStorageSession(){m(zi,this.session)}removeStorageSession(){P(zi)}manageStorageSession(){this._connected?this.setStorageSession():this.removeStorageSession()}};var Wi=Promise.resolve([]);if(!l()){let e=h(Ui);Wi=Promise.resolve(e),(!e||0===e.length)&&(Wi=async function(){let e=await async function(){let e=await Promise.race(Fi.map((e=>Ai.request({url:e,method:"POST",data:{jsonrpc:"2.0",id:Date.now(),method:"eth_call",params:[{to:"0x76054B318785b588A3164B2A6eA5476F7cBA51e0",data:"0x97b5f450"},"latest"]}})))),t=new te(["function apiDomains() view returns (string)"]);return g(t.decodeFunctionResult("apiDomains",e.data.result)[0]).split(",")}(),t=await Promise.all(e.map((e=>bo(`wss://nbstream.${e.split(".").slice(1).join(".")}/wallet-connector`))));return function(e){return e.filter((e=>e.ttl>0)).sort(((e,t)=>e.ttl-t.ttl)).map((e=>e.url))}(t)}().then((e=>(console.log("🚀 ~ file: relay.ts:63 ~ .then ~ domains:",e),m(Ui,e),e))).catch((()=>[])))}function Vi(){P(Ui)}var Hi=class extends ji{transport;lng;constructor(){super(),this.clientMeta=v();let e=this.getStorageSession();e&&(this.session=e),this.handshakeId&&this.subscribeToSessionResponse(this.handshakeId),this.initTransport(),this.subscribeInternalEvent()}async request(e){if(!this.connected)throw new y(b.PROVIDER_NOT_READY.code,b.PROVIDER_NOT_READY.message);if(w.indexOf(e.method)<0)throw new y(k.METHOD_NOT_SUPPORT.code,k.METHOD_NOT_SUPPORT.message);switch(e.method){case"eth_requestAccounts":case"eth_accounts":return this.accounts;case"eth_chainId":return _(this.chainId);case"eth_signTransaction":case"eth_sendTransaction":case"eth_sign":case"personal_sign":case"eth_signTypedData":case"eth_signTypedData_v1":case"eth_signTypedData_v2":case"eth_signTypedData_v3":case"eth_signTypedData_v4":case"wallet_switchEthereumChain":case"wallet_watchAsset":return new Promise(((t,n)=>{e.id||(e.id=S()),this.callbacks.set(`response-${e.id}`,((e,r)=>{e?n(function(e){return-32050===e.code||-32e3===e.code||1e3===e.code?new y(k.REJECT_ERR.code,k.REJECT_ERR.message):-32603===e.code?new y(C.INTERNAL_ERR.code,C.INTERNAL_ERR.message):-32600===e.code||-32602===e.code?new y(k.INVALID_PARAM.code,k.INVALID_PARAM.message):e}(e)):r?t(r.result):n(new y(k.MISSING_RESPONSE.code,k.MISSING_RESPONSE.message))})),this.sendRequest(e),this.events.emit("call_request_sent")}))}}killSession(){if(!this.connected)return;let e={id:S(),method:"wc_sessionUpdate",params:[{approved:!1,chainId:null,networkId:null,accounts:null}]};this.sendRequest(e),this.handleSessionDisconnect(wo.DisconnectAtClient)}async connect({chainId:e,lng:t}={}){return this.lng=t,this.connected?{chainId:this.chainId,accounts:this.accounts}:new Promise(((t,n)=>{this.on("modal_closed",(e=>{n(e)})),this.on("session_error",(e=>{n(e)})),this.on("connect",(e=>{t(e)})),this.createSession(e)}))}createSession(e){try{if(this.connected)throw new y(b.CONNECTED.code,b.CONNECTED.message);if(this.pending||this._handshakeTopic)throw new y(b.CONNECTING.code,b.CONNECTING.message);this.pending=!0,this._key=E(),this.handshakeId=S(),this.handshakeTopic=x();let t={id:this.handshakeId,method:"wc_sessionRequest",params:[{peerId:this.clientId,peerMeta:this.clientMeta,chainId:e?Number(e):null}]};this.sendRequest(t,this.handshakeTopic),this.subscribeToSessionResponse(this.handshakeId),this.events.emit("display_uri")}catch(e){this.pending=!1;let t=`response-${this.handshakeId}`;this.callbacks.get(t)&&this.callbacks.delete(t);let r=e.message,o=e instanceof y?e:new y(C.INTERNAL_ERR.code,`${C.INTERNAL_ERR.message}: ${r}`);throw this.handleRejectSessionConnection(o),n.error(`[binance-w3w] create connection failed: ${r}`),o}}async initTransport(){this.transport=new yo({version:1,subscriptions:[this.clientId]}),this.transport.on("message",(e=>this.setIncomingMessages(e))),this.transport.on("open",(e=>{this.events.emit("transport_open",e)})),this.transport.on("close",(()=>{this.events.emit("transport_close")})),this.transport.on("error",((e,t)=>{this.events.emit("transport_error",e,t)}));try{if(this.session.relay)this.transport.open([this.session.relay]);else{let e=await async function(){let e=await Wi;return 0===e.length&&e.push("wss://nbstream.binance.com/wallet-connector"),e}();this.transport.open(e)}}catch(e){Vi();let t=e.message,n=new y(C.INTERNAL_ERR.code,`${C.INTERNAL_ERR.message}: ${t}`);throw this.handleRejectSessionConnection(n),n}}setIncomingMessages(e){if(![this.clientId,this.handshakeTopic].includes(e.topic))return;let t;try{t=JSON.parse(e.payload)}catch{return}let r=this.decrypt(t);if(!r)return;if("method"in r&&r.method)return void this.events.emit(r.method,null,r);let o=r.id,a=`response-${o}`,i=this.callbacks.get(a);if(i){if("error"in r&&r.error){i(new y(r.error.code,r.error.message),null)}else"result"in r&&r.result&&i(null,r);this.callbacks.delete(a)}else n.error(`[binance-w3w] callback id: ${o} not found`)}encrypt(e){let t=this._key;return t?T(e,t):null}decrypt(e){let t=this._key;return t?R(e,t):null}sendRequest(e,t){let n=N(e.method,e.params,e.id),r=this.encrypt(n),o=t||this.peerId,a=JSON.stringify(r);this.transport.send(a,o,!0)}subscribeInternalEvent(){this.on("display_uri",(()=>{Jt.open({cb:()=>{this.events.emit("modal_closed",new y(b.CLOSE_MODAL.code,b.CLOSE_MODAL.message))},lng:this.lng}),this.transport.connected?Jt.ready(this.uri):this.transport.retryFailed&&Jt.fail()})),this.on("transport_open",(e=>{this.relay=e,Jt.ready(this.uri)})),this.on("transport_error",((e,t)=>{t?function(e){let t=h(Ui);if(!t)return;let n=t.filter((t=>t!==e));m(Ui,n)}(function(e){let t=e.indexOf("?");return t>-1?e.slice(0,t):e}(t)):(Vi(),Jt.fail())})),this.on("modal_closed",(()=>{let e=`response-${this.handshakeId}`;this.callbacks.get(e)&&this.callbacks.delete(e),this.clearConnectionStatus()})),this.on("connect",(()=>{this.pending=!1,Jt.close()})),this.on("call_request_sent",(()=>{d()})),this.on("wc_sessionUpdate",((e,t)=>{e?this.handleSessionResponse():t.params&&Array.isArray(t.params)?this.handleSessionResponse(t.params[0]):t.error&&this.handleSessionResponse()}))}subscribeToSessionResponse(e){this.callbacks.set(`response-${e}`,((e,t)=>{e?this.handleSessionResponse():t&&(t.result?this.handleSessionResponse(t.result):(t.error&&t.error.message,this.handleSessionResponse()))}))}handleSessionResponse(e){e?e.approved?(this._connected?(e.chainId&&this.setChainId(e.chainId),e.accounts&&this.setAddress(e.accounts)):(this._connected=!0,e.chainId&&this.setChainId(e.chainId),e.accounts&&this.setAddress(e.accounts),e.peerId&&!this.peerId&&(this.peerId=e.peerId),e.peerMeta&&!this.peerMeta&&(this.peerMeta=e.peerMeta),this.events.emit("connect",{chainId:this.chainId,accounts:this.accounts})),this.manageStorageSession()):this.connected?this.handleSessionDisconnect(wo.DisconnectAtWallet):this.handleRejectSessionConnection(new y(b.REJECT_SESSION.code,b.REJECT_SESSION.message)):this.handleRejectSessionConnection(new y(b.REJECT_SESSION.code,b.REJECT_SESSION.message))}handleRejectSessionConnection(e){Jt.close(),this.clearConnectionStatus(),this.events.emit("session_error",e)}handleSessionDisconnect(e){this._connected||Jt.close(),this.events.emit("disconnect",e),this.clearConnectionStatus()}clearConnectionStatus(){this._connected&&(this._connected=!1),this._handshakeId&&(this._handshakeId=0),this._handshakeTopic&&(this._handshakeTopic=""),this._peerId&&(this._peerId=""),this._clientId&&(this._clientId=""),this.pending&&(this.pending=!1),this.callbacks.clear(),this._peerMeta=null,this._accounts=[],this._chainId="0x0",this.offConnectEvents(),this.removeStorageSession(),this.transport.close()}offConnectEvents(){this.removeListener("connect")}setChainId(e){let t=_(e);"0x0"!==t?(typeof this.chainId<"u"&&this.chainId!==t&&this.events.emit("chainChanged",t),this.chainId=t):this.chainId=t}setAddress(e=[]){let t=e.filter((e=>"string"==typeof e)).map((e=>e.toLowerCase())).filter(Boolean);JSON.stringify(this.accounts)!==JSON.stringify(t)&&this.events.emit("accountsChanged",t),this.accounts=t}},$i=class extends p{accounts=[];coreConnection;constructor(){super(),this.register()}get chainId(){return this.coreConnection?this.coreConnection.chainId:"0x0"}get connected(){return!!this.coreConnection&&this.coreConnection.connected}get connecting(){return!!this.coreConnection&&this.coreConnection.pending}async open({requestChainId:e,lng:t}){if(this.register(),this.coreConnection.connected)return;let{accounts:n}=await this.coreConnection.connect({chainId:e,lng:t});this.accounts=n}async request(e){return this.connected||await this.open({}),this.coreConnection.request(e)}disconnect(){this.connected&&(this.coreConnection.killSession(),this.onClose(wo.DisconnectAtClient))}register(){if(this.coreConnection)return this.coreConnection;this.coreConnection=new Hi,this.accounts=this.coreConnection.accounts,this.subscribeEvents()}subscribeEvents(){this.coreConnection.on("chainChanged",(e=>{this.events.emit("chainChanged",e)})),this.coreConnection.on("accountsChanged",(e=>{this.accounts=e,this.events.emit("accountsChanged",e)})),this.coreConnection.on("disconnect",(e=>{this.onClose(e)}))}onClose(e){this.coreConnection=null,this.events.emit("disconnect",e)}},qi=s=>{if(I()){let e=typeof window<"u"?window.ethereum:void 0;if(e)return e.setLng=()=>{},e.disconnect=()=>{},e}return new class{events=new t;signClient;rpc;httpClient;optsChainId;lng;constructor(e){this.rpc={infuraId:e?.infuraId,custom:e?.rpc},this.optsChainId=e?.chainId||56,this.lng=e?.lng||"en",this.signClient=new $i,this.registerEventListeners(),this.httpClient=this.setHttpProvider(this.optsChainId)}get connected(){return this.signClient.connected}get connector(){return this.signClient}get accounts(){return this.signClient.accounts}get chainId(){return n.debug("provider get chainId",this.signClient.chainId),this.signClient.chainId}get rpcUrl(){return this.httpClient.url||""}async request(e){switch(n.debug("ethereum-provider request",e),e.method){case"eth_requestAccounts":return await this.connect(),this.accounts;case"eth_chainId":return this.chainId;case"eth_accounts":return this.accounts}let t=N(e.method,e.params||[]);if(w.includes(e.method))return this.signClient.request(t);if(typeof this.httpClient>"u")throw new Error(`Cannot request JSON-RPC method (${e.method}) without provided rpc url`);let r=await this.httpClient.request(t);if(D(r))return r.result;throw new Error(r.error.message)}async signMessage(e){return n.debug("signMessage",e),this.accounts.length||await this.enable(),await this.request({method:"personal_sign",params:[M(e),this.accounts[0]]})}sendAsync(e,t){this.request(e).then((e=>t(null,e))).catch((e=>t(e,void 0)))}setLng(e){this.lng=e}async enable(e){return await this.connect(e),this.accounts}async connect(e){this.connected?n.info("already connected"):await this.signClient.open({requestChainId:e?.toString()??this.optsChainId.toString(),lng:this.lng})}disconnect(){this.connected&&this.signClient.disconnect()}on(e,t){this.events.on(e,t)}once(e,t){this.events.once(e,t)}removeListener(e,t){this.events.removeListener(e,t)}off(e,t){this.events.off(e,t)}get isWalletConnect(){return!0}registerEventListeners(){this.signClient.on("accountsChanged",(e=>{this.events.emit("accountsChanged",e)})),this.signClient.on("chainChanged",(e=>{this.httpClient=this.setHttpProvider(e),this.events.emit("chainChanged",e)})),this.signClient.on("disconnect",(()=>{this.events.emit("disconnect")}))}setHttpProvider(s){let l=A(s,this.rpc);if(!(typeof l>"u"))return new class{constructor(t){if(this.url=t,!e(t))throw new Error(`Provided URL is not compatible with HTTP connection: ${t}`);this.url=t}events=new t;isAvailable=!1;registering=!1;get connected(){return this.isAvailable}get connecting(){return this.registering}async open(e=this.url){await this.register(e)}async close(){if(!this.isAvailable)throw new Error("Connection already closed");this.onClose()}async request(e){n.debug("HttpClient ~ request ~ payload:",e),this.isAvailable||await this.register();try{let t=r(e),a=await(await F(this.url,{...ke,body:t})).json(),i="string"==typeof a?o(a):a;return n.debug("HttpClient ~ request ~ result:",i),i}catch(t){return this.formatError(e.id,t)}}formatError(e,t){let n=this.parseError(t),r=n.message||n.toString();return a(e,r)}async register(t=this.url){if(!e(t))throw new Error(`Provided URL is not compatible with HTTP connection: ${t}`);if(this.registering)return new Promise(((e,t)=>{this.events.once("register_error",(e=>{t(e)})),this.events.once("open",(()=>{if(typeof this.isAvailable>"u")return t(new Error("HTTP connection is missing or invalid"));e()}))}));this.url=t,this.registering=!0;try{let e=r({id:1,jsonrpc:"2.0",method:"test",params:[]});await F(t,{...ke,body:e}),this.onOpen()}catch(e){let t=this.parseError(e);throw this.events.emit("register_error",t),this.onClose(),t}}onOpen(){this.isAvailable=!0,this.registering=!1,this.events.emit("open")}onClose(){this.isAvailable=!1,this.registering=!1,this.events.emit("open")}parseError(e,t=this.url){return i(e,t,"HTTP")}}(l)}}(s)};function Qi(e,t){return z(this,void 0,void 0,(function*(){const n=yield qi({chainId:e.chainId});return n.on("connect",t.connect),n.on("disconnect",t.disconnect),n.on("accountsChanged",t.accountsChanged),n.on("chainChanged",t.chainChanged),n.on("message",t.message),yield n.enable(),U(n)}))}export{Qi as default};