llonebot-dist 6.6.4 → 6.6.8
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.
- {dist → package}/llonebot.js +1 -2
- {dist → package}/llonebot.js.map +1 -1
- package/package.json +1 -0
- dist/package.json +0 -1
- dist/webui/assets/index-B9vGhdCO.js +0 -256
- dist/webui/assets/index-DaqFU7JR.css +0 -1
- dist/webui/index.html +0 -13
- dist/webui/logo.jpg +0 -0
- {dist → package}/default_config.json +0 -0
- {dist → package}/node_modules/@borewit/text-codec/LICENSE.txt +0 -0
- {dist → package}/node_modules/@borewit/text-codec/README.md +0 -0
- {dist → package}/node_modules/@borewit/text-codec/lib/index.d.ts +0 -0
- {dist → package}/node_modules/@borewit/text-codec/lib/index.js +0 -0
- {dist → package}/node_modules/@borewit/text-codec/package.json +0 -0
- {dist → package}/node_modules/@minatojs/sql.js/LICENSE +0 -0
- {dist → package}/node_modules/@minatojs/sql.js/README.md +0 -0
- {dist → package}/node_modules/@minatojs/sql.js/dist/sql-wasm.d.ts +0 -0
- {dist → package}/node_modules/@minatojs/sql.js/dist/sql-wasm.js +0 -0
- {dist → package}/node_modules/@minatojs/sql.js/dist/sql-wasm.wasm +0 -0
- {dist → package}/node_modules/@minatojs/sql.js/package.json +0 -0
- {dist → package}/node_modules/@tokenizer/inflate/LICENSE +0 -0
- {dist → package}/node_modules/@tokenizer/inflate/README.md +0 -0
- {dist → package}/node_modules/@tokenizer/inflate/lib/GzipHandler.d.ts +0 -0
- {dist → package}/node_modules/@tokenizer/inflate/lib/GzipHandler.js +0 -0
- {dist → package}/node_modules/@tokenizer/inflate/lib/ZipHandler.d.ts +0 -0
- {dist → package}/node_modules/@tokenizer/inflate/lib/ZipHandler.js +0 -0
- {dist → package}/node_modules/@tokenizer/inflate/lib/ZipToken.d.ts +0 -0
- {dist → package}/node_modules/@tokenizer/inflate/lib/ZipToken.js +0 -0
- {dist → package}/node_modules/@tokenizer/inflate/lib/index.d.ts +0 -0
- {dist → package}/node_modules/@tokenizer/inflate/lib/index.js +0 -0
- {dist → package}/node_modules/@tokenizer/inflate/package.json +0 -0
- {dist → package}/node_modules/@tokenizer/token/README.md +0 -0
- {dist → package}/node_modules/@tokenizer/token/index.d.ts +0 -0
- {dist → package}/node_modules/@tokenizer/token/package.json +0 -0
- {dist → package}/node_modules/debug/LICENSE +0 -0
- {dist → package}/node_modules/debug/README.md +0 -0
- {dist → package}/node_modules/debug/package.json +0 -0
- {dist → package}/node_modules/debug/src/browser.js +0 -0
- {dist → package}/node_modules/debug/src/common.js +0 -0
- {dist → package}/node_modules/debug/src/index.js +0 -0
- {dist → package}/node_modules/debug/src/node.js +0 -0
- {dist → package}/node_modules/file-type/core.d.ts +0 -0
- {dist → package}/node_modules/file-type/core.js +0 -0
- {dist → package}/node_modules/file-type/index.d.ts +0 -0
- {dist → package}/node_modules/file-type/index.js +0 -0
- {dist → package}/node_modules/file-type/license +0 -0
- {dist → package}/node_modules/file-type/package.json +0 -0
- {dist → package}/node_modules/file-type/readme.md +0 -0
- {dist → package}/node_modules/file-type/supported.js +0 -0
- {dist → package}/node_modules/file-type/util.js +0 -0
- {dist → package}/node_modules/ieee754/LICENSE +0 -0
- {dist → package}/node_modules/ieee754/README.md +0 -0
- {dist → package}/node_modules/ieee754/index.d.ts +0 -0
- {dist → package}/node_modules/ieee754/index.js +0 -0
- {dist → package}/node_modules/ieee754/package.json +0 -0
- {dist → package}/node_modules/ms/index.js +0 -0
- {dist → package}/node_modules/ms/license.md +0 -0
- {dist → package}/node_modules/ms/package.json +0 -0
- {dist → package}/node_modules/ms/readme.md +0 -0
- {dist → package}/node_modules/silk-wasm/LICENSE +0 -0
- {dist → package}/node_modules/silk-wasm/README.md +0 -0
- {dist → package}/node_modules/silk-wasm/lib/index.cjs +0 -0
- {dist → package}/node_modules/silk-wasm/lib/index.d.ts +0 -0
- {dist → package}/node_modules/silk-wasm/lib/index.mjs +0 -0
- {dist → package}/node_modules/silk-wasm/lib/silk.wasm +0 -0
- {dist → package}/node_modules/silk-wasm/lib/utils.d.ts +0 -0
- {dist → package}/node_modules/silk-wasm/package.json +0 -0
- {dist → package}/node_modules/strtok3/LICENSE.txt +0 -0
- {dist → package}/node_modules/strtok3/README.md +0 -0
- {dist → package}/node_modules/strtok3/lib/AbstractTokenizer.d.ts +0 -0
- {dist → package}/node_modules/strtok3/lib/AbstractTokenizer.js +0 -0
- {dist → package}/node_modules/strtok3/lib/BlobTokenizer.d.ts +0 -0
- {dist → package}/node_modules/strtok3/lib/BlobTokenizer.js +0 -0
- {dist → package}/node_modules/strtok3/lib/BufferTokenizer.d.ts +0 -0
- {dist → package}/node_modules/strtok3/lib/BufferTokenizer.js +0 -0
- {dist → package}/node_modules/strtok3/lib/FileTokenizer.d.ts +0 -0
- {dist → package}/node_modules/strtok3/lib/FileTokenizer.js +0 -0
- {dist → package}/node_modules/strtok3/lib/ReadStreamTokenizer.d.ts +0 -0
- {dist → package}/node_modules/strtok3/lib/ReadStreamTokenizer.js +0 -0
- {dist → package}/node_modules/strtok3/lib/core.d.ts +0 -0
- {dist → package}/node_modules/strtok3/lib/core.js +0 -0
- {dist → package}/node_modules/strtok3/lib/index.d.ts +0 -0
- {dist → package}/node_modules/strtok3/lib/index.js +0 -0
- {dist → package}/node_modules/strtok3/lib/stream/AbstractStreamReader.d.ts +0 -0
- {dist → package}/node_modules/strtok3/lib/stream/AbstractStreamReader.js +0 -0
- {dist → package}/node_modules/strtok3/lib/stream/Deferred.d.ts +0 -0
- {dist → package}/node_modules/strtok3/lib/stream/Deferred.js +0 -0
- {dist → package}/node_modules/strtok3/lib/stream/Errors.d.ts +0 -0
- {dist → package}/node_modules/strtok3/lib/stream/Errors.js +0 -0
- {dist → package}/node_modules/strtok3/lib/stream/StreamReader.d.ts +0 -0
- {dist → package}/node_modules/strtok3/lib/stream/StreamReader.js +0 -0
- {dist → package}/node_modules/strtok3/lib/stream/WebStreamByobReader.d.ts +0 -0
- {dist → package}/node_modules/strtok3/lib/stream/WebStreamByobReader.js +0 -0
- {dist → package}/node_modules/strtok3/lib/stream/WebStreamDefaultReader.d.ts +0 -0
- {dist → package}/node_modules/strtok3/lib/stream/WebStreamDefaultReader.js +0 -0
- {dist → package}/node_modules/strtok3/lib/stream/WebStreamReader.d.ts +0 -0
- {dist → package}/node_modules/strtok3/lib/stream/WebStreamReader.js +0 -0
- {dist → package}/node_modules/strtok3/lib/stream/WebStreamReaderFactory.d.ts +0 -0
- {dist → package}/node_modules/strtok3/lib/stream/WebStreamReaderFactory.js +0 -0
- {dist → package}/node_modules/strtok3/lib/stream/index.d.ts +0 -0
- {dist → package}/node_modules/strtok3/lib/stream/index.js +0 -0
- {dist → package}/node_modules/strtok3/lib/types.d.ts +0 -0
- {dist → package}/node_modules/strtok3/lib/types.js +0 -0
- {dist → package}/node_modules/strtok3/package.json +0 -0
- {dist → package}/node_modules/token-types/LICENSE.txt +0 -0
- {dist → package}/node_modules/token-types/README.md +0 -0
- {dist → package}/node_modules/token-types/lib/index.d.ts +0 -0
- {dist → package}/node_modules/token-types/lib/index.js +0 -0
- {dist → package}/node_modules/token-types/package.json +0 -0
- {dist → package}/node_modules/uint8array-extras/index.d.ts +0 -0
- {dist → package}/node_modules/uint8array-extras/index.js +0 -0
- {dist → package}/node_modules/uint8array-extras/license +0 -0
- {dist → package}/node_modules/uint8array-extras/package.json +0 -0
- {dist → package}/node_modules/uint8array-extras/readme.md +0 -0
- {dist → package}/node_modules/ws/LICENSE +0 -0
- {dist → package}/node_modules/ws/README.md +0 -0
- {dist → package}/node_modules/ws/browser.js +0 -0
- {dist → package}/node_modules/ws/index.js +0 -0
- {dist → package}/node_modules/ws/lib/buffer-util.js +0 -0
- {dist → package}/node_modules/ws/lib/constants.js +0 -0
- {dist → package}/node_modules/ws/lib/event-target.js +0 -0
- {dist → package}/node_modules/ws/lib/extension.js +0 -0
- {dist → package}/node_modules/ws/lib/limiter.js +0 -0
- {dist → package}/node_modules/ws/lib/permessage-deflate.js +0 -0
- {dist → package}/node_modules/ws/lib/receiver.js +0 -0
- {dist → package}/node_modules/ws/lib/sender.js +0 -0
- {dist → package}/node_modules/ws/lib/stream.js +0 -0
- {dist → package}/node_modules/ws/lib/subprotocol.js +0 -0
- {dist → package}/node_modules/ws/lib/validation.js +0 -0
- {dist → package}/node_modules/ws/lib/websocket-server.js +0 -0
- {dist → package}/node_modules/ws/lib/websocket.js +0 -0
- {dist → package}/node_modules/ws/package.json +0 -0
- {dist → package}/node_modules/ws/wrapper.mjs +0 -0
- {dist → package}//344/275/277/347/224/250/350/257/264/346/230/216.txt" +0 -0
- {dist → package}//346/233/264/346/226/260/346/227/245/345/277/227.txt" +0 -0
|
@@ -1,256 +0,0 @@
|
|
|
1
|
-
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const s of l)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(l){const s={};return l.integrity&&(s.integrity=l.integrity),l.referrerPolicy&&(s.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?s.credentials="include":l.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(l){if(l.ep)return;l.ep=!0;const s=n(l);fetch(l.href,s)}})();function Mc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ha={exports:{}},hl={},ga={exports:{}},O={};/**
|
|
2
|
-
* @license React
|
|
3
|
-
* react.production.min.js
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var or=Symbol.for("react.element"),Rc=Symbol.for("react.portal"),Ic=Symbol.for("react.fragment"),bc=Symbol.for("react.strict_mode"),Oc=Symbol.for("react.profiler"),Fc=Symbol.for("react.provider"),Dc=Symbol.for("react.context"),Ac=Symbol.for("react.forward_ref"),Uc=Symbol.for("react.suspense"),$c=Symbol.for("react.memo"),Bc=Symbol.for("react.lazy"),Zo=Symbol.iterator;function Vc(e){return e===null||typeof e!="object"?null:(e=Zo&&e[Zo]||e["@@iterator"],typeof e=="function"?e:null)}var ya={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},va=Object.assign,xa={};function mn(e,t,n){this.props=e,this.context=t,this.refs=xa,this.updater=n||ya}mn.prototype.isReactComponent={};mn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)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")};mn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function wa(){}wa.prototype=mn.prototype;function no(e,t,n){this.props=e,this.context=t,this.refs=xa,this.updater=n||ya}var ro=no.prototype=new wa;ro.constructor=no;va(ro,mn.prototype);ro.isPureReactComponent=!0;var Jo=Array.isArray,ka=Object.prototype.hasOwnProperty,lo={current:null},ja={key:!0,ref:!0,__self:!0,__source:!0};function Na(e,t,n){var r,l={},s=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(s=""+t.key),t)ka.call(t,r)&&!ja.hasOwnProperty(r)&&(l[r]=t[r]);var a=arguments.length-2;if(a===1)l.children=n;else if(1<a){for(var u=Array(a),f=0;f<a;f++)u[f]=arguments[f+2];l.children=u}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)l[r]===void 0&&(l[r]=a[r]);return{$$typeof:or,type:e,key:s,ref:i,props:l,_owner:lo.current}}function Hc(e,t){return{$$typeof:or,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function so(e){return typeof e=="object"&&e!==null&&e.$$typeof===or}function Qc(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var ei=/\/+/g;function Ml(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Qc(""+e.key):t.toString(36)}function Lr(e,t,n,r,l){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(s){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case or:case Rc:i=!0}}if(i)return i=e,l=l(i),e=r===""?"."+Ml(i,0):r,Jo(l)?(n="",e!=null&&(n=e.replace(ei,"$&/")+"/"),Lr(l,t,n,"",function(f){return f})):l!=null&&(so(l)&&(l=Hc(l,n+(!l.key||i&&i.key===l.key?"":(""+l.key).replace(ei,"$&/")+"/")+e)),t.push(l)),1;if(i=0,r=r===""?".":r+":",Jo(e))for(var a=0;a<e.length;a++){s=e[a];var u=r+Ml(s,a);i+=Lr(s,t,n,u,l)}else if(u=Vc(e),typeof u=="function")for(e=u.call(e),a=0;!(s=e.next()).done;)s=s.value,u=r+Ml(s,a++),i+=Lr(s,t,n,u,l);else if(s==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function pr(e,t,n){if(e==null)return e;var r=[],l=0;return Lr(e,r,"","",function(s){return t.call(n,s,l++)}),r}function Wc(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var ye={current:null},Tr={transition:null},Kc={ReactCurrentDispatcher:ye,ReactCurrentBatchConfig:Tr,ReactCurrentOwner:lo};function Sa(){throw Error("act(...) is not supported in production builds of React.")}O.Children={map:pr,forEach:function(e,t,n){pr(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return pr(e,function(){t++}),t},toArray:function(e){return pr(e,function(t){return t})||[]},only:function(e){if(!so(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};O.Component=mn;O.Fragment=Ic;O.Profiler=Oc;O.PureComponent=no;O.StrictMode=bc;O.Suspense=Uc;O.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Kc;O.act=Sa;O.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=va({},e.props),l=e.key,s=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,i=lo.current),t.key!==void 0&&(l=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(u in t)ka.call(t,u)&&!ja.hasOwnProperty(u)&&(r[u]=t[u]===void 0&&a!==void 0?a[u]:t[u])}var u=arguments.length-2;if(u===1)r.children=n;else if(1<u){a=Array(u);for(var f=0;f<u;f++)a[f]=arguments[f+2];r.children=a}return{$$typeof:or,type:e.type,key:l,ref:s,props:r,_owner:i}};O.createContext=function(e){return e={$$typeof:Dc,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Fc,_context:e},e.Consumer=e};O.createElement=Na;O.createFactory=function(e){var t=Na.bind(null,e);return t.type=e,t};O.createRef=function(){return{current:null}};O.forwardRef=function(e){return{$$typeof:Ac,render:e}};O.isValidElement=so;O.lazy=function(e){return{$$typeof:Bc,_payload:{_status:-1,_result:e},_init:Wc}};O.memo=function(e,t){return{$$typeof:$c,type:e,compare:t===void 0?null:t}};O.startTransition=function(e){var t=Tr.transition;Tr.transition={};try{e()}finally{Tr.transition=t}};O.unstable_act=Sa;O.useCallback=function(e,t){return ye.current.useCallback(e,t)};O.useContext=function(e){return ye.current.useContext(e)};O.useDebugValue=function(){};O.useDeferredValue=function(e){return ye.current.useDeferredValue(e)};O.useEffect=function(e,t){return ye.current.useEffect(e,t)};O.useId=function(){return ye.current.useId()};O.useImperativeHandle=function(e,t,n){return ye.current.useImperativeHandle(e,t,n)};O.useInsertionEffect=function(e,t){return ye.current.useInsertionEffect(e,t)};O.useLayoutEffect=function(e,t){return ye.current.useLayoutEffect(e,t)};O.useMemo=function(e,t){return ye.current.useMemo(e,t)};O.useReducer=function(e,t,n){return ye.current.useReducer(e,t,n)};O.useRef=function(e){return ye.current.useRef(e)};O.useState=function(e){return ye.current.useState(e)};O.useSyncExternalStore=function(e,t,n){return ye.current.useSyncExternalStore(e,t,n)};O.useTransition=function(){return ye.current.useTransition()};O.version="18.3.1";ga.exports=O;var E=ga.exports;const Yc=Mc(E);/**
|
|
10
|
-
* @license React
|
|
11
|
-
* react-jsx-runtime.production.min.js
|
|
12
|
-
*
|
|
13
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
14
|
-
*
|
|
15
|
-
* This source code is licensed under the MIT license found in the
|
|
16
|
-
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var Xc=E,qc=Symbol.for("react.element"),Gc=Symbol.for("react.fragment"),Zc=Object.prototype.hasOwnProperty,Jc=Xc.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,ed={key:!0,ref:!0,__self:!0,__source:!0};function Ca(e,t,n){var r,l={},s=null,i=null;n!==void 0&&(s=""+n),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(i=t.ref);for(r in t)Zc.call(t,r)&&!ed.hasOwnProperty(r)&&(l[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)l[r]===void 0&&(l[r]=t[r]);return{$$typeof:qc,type:e,key:s,ref:i,props:l,_owner:Jc.current}}hl.Fragment=Gc;hl.jsx=Ca;hl.jsxs=Ca;ha.exports=hl;var o=ha.exports,is={},Ea={exports:{}},ze={},Pa={exports:{}},za={};/**
|
|
18
|
-
* @license React
|
|
19
|
-
* scheduler.production.min.js
|
|
20
|
-
*
|
|
21
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
22
|
-
*
|
|
23
|
-
* This source code is licensed under the MIT license found in the
|
|
24
|
-
* LICENSE file in the root directory of this source tree.
|
|
25
|
-
*/(function(e){function t(P,R){var b=P.length;P.push(R);e:for(;0<b;){var G=b-1>>>1,re=P[G];if(0<l(re,R))P[G]=R,P[b]=re,b=G;else break e}}function n(P){return P.length===0?null:P[0]}function r(P){if(P.length===0)return null;var R=P[0],b=P.pop();if(b!==R){P[0]=b;e:for(var G=0,re=P.length,dr=re>>>1;G<dr;){var St=2*(G+1)-1,Tl=P[St],Ct=St+1,fr=P[Ct];if(0>l(Tl,b))Ct<re&&0>l(fr,Tl)?(P[G]=fr,P[Ct]=b,G=Ct):(P[G]=Tl,P[St]=b,G=St);else if(Ct<re&&0>l(fr,b))P[G]=fr,P[Ct]=b,G=Ct;else break e}}return R}function l(P,R){var b=P.sortIndex-R.sortIndex;return b!==0?b:P.id-R.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var i=Date,a=i.now();e.unstable_now=function(){return i.now()-a}}var u=[],f=[],p=1,g=null,h=3,y=!1,x=!1,k=!1,M=typeof setTimeout=="function"?setTimeout:null,d=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(P){for(var R=n(f);R!==null;){if(R.callback===null)r(f);else if(R.startTime<=P)r(f),R.sortIndex=R.expirationTime,t(u,R);else break;R=n(f)}}function v(P){if(k=!1,m(P),!x)if(n(u)!==null)x=!0,I(C);else{var R=n(f);R!==null&&oe(v,R.startTime-P)}}function C(P,R){x=!1,k&&(k=!1,d(_),_=-1),y=!0;var b=h;try{for(m(R),g=n(u);g!==null&&(!(g.expirationTime>R)||P&&!U());){var G=g.callback;if(typeof G=="function"){g.callback=null,h=g.priorityLevel;var re=G(g.expirationTime<=R);R=e.unstable_now(),typeof re=="function"?g.callback=re:g===n(u)&&r(u),m(R)}else r(u);g=n(u)}if(g!==null)var dr=!0;else{var St=n(f);St!==null&&oe(v,St.startTime-R),dr=!1}return dr}finally{g=null,h=b,y=!1}}var j=!1,z=null,_=-1,T=5,N=-1;function U(){return!(e.unstable_now()-N<T)}function $(){if(z!==null){var P=e.unstable_now();N=P;var R=!0;try{R=z(!0,P)}finally{R?S():(j=!1,z=null)}}else j=!1}var S;if(typeof c=="function")S=function(){c($)};else if(typeof MessageChannel<"u"){var D=new MessageChannel,ee=D.port2;D.port1.onmessage=$,S=function(){ee.postMessage(null)}}else S=function(){M($,0)};function I(P){z=P,j||(j=!0,S())}function oe(P,R){_=M(function(){P(e.unstable_now())},R)}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(P){P.callback=null},e.unstable_continueExecution=function(){x||y||(x=!0,I(C))},e.unstable_forceFrameRate=function(P){0>P||125<P?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=0<P?Math.floor(1e3/P):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(u)},e.unstable_next=function(P){switch(h){case 1:case 2:case 3:var R=3;break;default:R=h}var b=h;h=R;try{return P()}finally{h=b}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(P,R){switch(P){case 1:case 2:case 3:case 4:case 5:break;default:P=3}var b=h;h=P;try{return R()}finally{h=b}},e.unstable_scheduleCallback=function(P,R,b){var G=e.unstable_now();switch(typeof b=="object"&&b!==null?(b=b.delay,b=typeof b=="number"&&0<b?G+b:G):b=G,P){case 1:var re=-1;break;case 2:re=250;break;case 5:re=1073741823;break;case 4:re=1e4;break;default:re=5e3}return re=b+re,P={id:p++,callback:R,priorityLevel:P,startTime:b,expirationTime:re,sortIndex:-1},b>G?(P.sortIndex=b,t(f,P),n(u)===null&&P===n(f)&&(k?(d(_),_=-1):k=!0,oe(v,b-G))):(P.sortIndex=re,t(u,P),x||y||(x=!0,I(C))),P},e.unstable_shouldYield=U,e.unstable_wrapCallback=function(P){var R=h;return function(){var b=h;h=R;try{return P.apply(this,arguments)}finally{h=b}}}})(za);Pa.exports=za;var td=Pa.exports;/**
|
|
26
|
-
* @license React
|
|
27
|
-
* react-dom.production.min.js
|
|
28
|
-
*
|
|
29
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
30
|
-
*
|
|
31
|
-
* This source code is licensed under the MIT license found in the
|
|
32
|
-
* LICENSE file in the root directory of this source tree.
|
|
33
|
-
*/var nd=E,Pe=td;function w(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 _a=new Set,Un={};function At(e,t){on(e,t),on(e+"Capture",t)}function on(e,t){for(Un[e]=t,e=0;e<t.length;e++)_a.add(t[e])}var Je=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),as=Object.prototype.hasOwnProperty,rd=/^[: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]*$/,ti={},ni={};function ld(e){return as.call(ni,e)?!0:as.call(ti,e)?!1:rd.test(e)?ni[e]=!0:(ti[e]=!0,!1)}function sd(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function od(e,t,n,r){if(t===null||typeof t>"u"||sd(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ve(e,t,n,r,l,s,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=i}var ue={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ue[e]=new ve(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ue[t]=new ve(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ue[e]=new ve(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ue[e]=new ve(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){ue[e]=new ve(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ue[e]=new ve(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ue[e]=new ve(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ue[e]=new ve(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ue[e]=new ve(e,5,!1,e.toLowerCase(),null,!1,!1)});var oo=/[\-:]([a-z])/g;function io(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".split(" ").forEach(function(e){var t=e.replace(oo,io);ue[t]=new ve(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(oo,io);ue[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(oo,io);ue[t]=new ve(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ue[e]=new ve(e,1,!1,e.toLowerCase(),null,!1,!1)});ue.xlinkHref=new ve("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ue[e]=new ve(e,1,!1,e.toLowerCase(),null,!0,!0)});function ao(e,t,n,r){var l=ue.hasOwnProperty(t)?ue[t]:null;(l!==null?l.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(od(t,n,l,r)&&(n=null),r||l===null?ld(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):l.mustUseProperty?e[l.propertyName]=n===null?l.type===3?!1:"":n:(t=l.attributeName,r=l.attributeNamespace,n===null?e.removeAttribute(t):(l=l.type,n=l===3||l===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var rt=nd.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,mr=Symbol.for("react.element"),Bt=Symbol.for("react.portal"),Vt=Symbol.for("react.fragment"),uo=Symbol.for("react.strict_mode"),us=Symbol.for("react.profiler"),La=Symbol.for("react.provider"),Ta=Symbol.for("react.context"),co=Symbol.for("react.forward_ref"),cs=Symbol.for("react.suspense"),ds=Symbol.for("react.suspense_list"),fo=Symbol.for("react.memo"),st=Symbol.for("react.lazy"),Ma=Symbol.for("react.offscreen"),ri=Symbol.iterator;function yn(e){return e===null||typeof e!="object"?null:(e=ri&&e[ri]||e["@@iterator"],typeof e=="function"?e:null)}var X=Object.assign,Rl;function Cn(e){if(Rl===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Rl=t&&t[1]||""}return`
|
|
34
|
-
`+Rl+e}var Il=!1;function bl(e,t){if(!e||Il)return"";Il=!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()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(f){var r=f}Reflect.construct(e,[],t)}else{try{t.call()}catch(f){r=f}e.call(t.prototype)}else{try{throw Error()}catch(f){r=f}e()}}catch(f){if(f&&r&&typeof f.stack=="string"){for(var l=f.stack.split(`
|
|
35
|
-
`),s=r.stack.split(`
|
|
36
|
-
`),i=l.length-1,a=s.length-1;1<=i&&0<=a&&l[i]!==s[a];)a--;for(;1<=i&&0<=a;i--,a--)if(l[i]!==s[a]){if(i!==1||a!==1)do if(i--,a--,0>a||l[i]!==s[a]){var u=`
|
|
37
|
-
`+l[i].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=i&&0<=a);break}}}finally{Il=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Cn(e):""}function id(e){switch(e.tag){case 5:return Cn(e.type);case 16:return Cn("Lazy");case 13:return Cn("Suspense");case 19:return Cn("SuspenseList");case 0:case 2:case 15:return e=bl(e.type,!1),e;case 11:return e=bl(e.type.render,!1),e;case 1:return e=bl(e.type,!0),e;default:return""}}function fs(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Vt:return"Fragment";case Bt:return"Portal";case us:return"Profiler";case uo:return"StrictMode";case cs:return"Suspense";case ds:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ta:return(e.displayName||"Context")+".Consumer";case La:return(e._context.displayName||"Context")+".Provider";case co:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case fo:return t=e.displayName||null,t!==null?t:fs(e.type)||"Memo";case st:t=e._payload,e=e._init;try{return fs(e(t))}catch{}}return null}function ad(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=t.render,e=e.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 fs(t);case 8:return t===uo?"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(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function xt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ra(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ud(e){var t=Ra(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,s.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function hr(e){e._valueTracker||(e._valueTracker=ud(e))}function Ia(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ra(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Vr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ps(e,t){var n=t.checked;return X({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function li(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=xt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function ba(e,t){t=t.checked,t!=null&&ao(e,"checked",t,!1)}function ms(e,t){ba(e,t);var n=xt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?hs(e,t.type,n):t.hasOwnProperty("defaultValue")&&hs(e,t.type,xt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function si(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function hs(e,t,n){(t!=="number"||Vr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var En=Array.isArray;function en(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l<n.length;l++)t["$"+n[l]]=!0;for(n=0;n<e.length;n++)l=t.hasOwnProperty("$"+e[n].value),e[n].selected!==l&&(e[n].selected=l),l&&r&&(e[n].defaultSelected=!0)}else{for(n=""+xt(n),t=null,l=0;l<e.length;l++){if(e[l].value===n){e[l].selected=!0,r&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function gs(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(w(91));return X({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oi(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(w(92));if(En(n)){if(1<n.length)throw Error(w(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:xt(n)}}function Oa(e,t){var n=xt(t.value),r=xt(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function ii(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Fa(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 ys(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Fa(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var gr,Da=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,l){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,l)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(gr=gr||document.createElement("div"),gr.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=gr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function $n(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Tn={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},cd=["Webkit","ms","Moz","O"];Object.keys(Tn).forEach(function(e){cd.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Tn[t]=Tn[e]})});function Aa(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Tn.hasOwnProperty(e)&&Tn[e]?(""+t).trim():t+"px"}function Ua(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Aa(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var dd=X({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 vs(e,t){if(t){if(dd[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(w(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(w(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(w(61))}if(t.style!=null&&typeof t.style!="object")throw Error(w(62))}}function xs(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";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 ws=null;function po(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ks=null,tn=null,nn=null;function ai(e){if(e=ur(e)){if(typeof ks!="function")throw Error(w(280));var t=e.stateNode;t&&(t=wl(t),ks(e.stateNode,e.type,t))}}function $a(e){tn?nn?nn.push(e):nn=[e]:tn=e}function Ba(){if(tn){var e=tn,t=nn;if(nn=tn=null,ai(e),t)for(e=0;e<t.length;e++)ai(t[e])}}function Va(e,t){return e(t)}function Ha(){}var Ol=!1;function Qa(e,t,n){if(Ol)return e(t,n);Ol=!0;try{return Va(e,t,n)}finally{Ol=!1,(tn!==null||nn!==null)&&(Ha(),Ba())}}function Bn(e,t){var n=e.stateNode;if(n===null)return null;var r=wl(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(w(231,t,typeof n));return n}var js=!1;if(Je)try{var vn={};Object.defineProperty(vn,"passive",{get:function(){js=!0}}),window.addEventListener("test",vn,vn),window.removeEventListener("test",vn,vn)}catch{js=!1}function fd(e,t,n,r,l,s,i,a,u){var f=Array.prototype.slice.call(arguments,3);try{t.apply(n,f)}catch(p){this.onError(p)}}var Mn=!1,Hr=null,Qr=!1,Ns=null,pd={onError:function(e){Mn=!0,Hr=e}};function md(e,t,n,r,l,s,i,a,u){Mn=!1,Hr=null,fd.apply(pd,arguments)}function hd(e,t,n,r,l,s,i,a,u){if(md.apply(this,arguments),Mn){if(Mn){var f=Hr;Mn=!1,Hr=null}else throw Error(w(198));Qr||(Qr=!0,Ns=f)}}function Ut(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Wa(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function ui(e){if(Ut(e)!==e)throw Error(w(188))}function gd(e){var t=e.alternate;if(!t){if(t=Ut(e),t===null)throw Error(w(188));return t!==e?null:e}for(var n=e,r=t;;){var l=n.return;if(l===null)break;var s=l.alternate;if(s===null){if(r=l.return,r!==null){n=r;continue}break}if(l.child===s.child){for(s=l.child;s;){if(s===n)return ui(l),e;if(s===r)return ui(l),t;s=s.sibling}throw Error(w(188))}if(n.return!==r.return)n=l,r=s;else{for(var i=!1,a=l.child;a;){if(a===n){i=!0,n=l,r=s;break}if(a===r){i=!0,r=l,n=s;break}a=a.sibling}if(!i){for(a=s.child;a;){if(a===n){i=!0,n=s,r=l;break}if(a===r){i=!0,r=s,n=l;break}a=a.sibling}if(!i)throw Error(w(189))}}if(n.alternate!==r)throw Error(w(190))}if(n.tag!==3)throw Error(w(188));return n.stateNode.current===n?e:t}function Ka(e){return e=gd(e),e!==null?Ya(e):null}function Ya(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Ya(e);if(t!==null)return t;e=e.sibling}return null}var Xa=Pe.unstable_scheduleCallback,ci=Pe.unstable_cancelCallback,yd=Pe.unstable_shouldYield,vd=Pe.unstable_requestPaint,Z=Pe.unstable_now,xd=Pe.unstable_getCurrentPriorityLevel,mo=Pe.unstable_ImmediatePriority,qa=Pe.unstable_UserBlockingPriority,Wr=Pe.unstable_NormalPriority,wd=Pe.unstable_LowPriority,Ga=Pe.unstable_IdlePriority,gl=null,We=null;function kd(e){if(We&&typeof We.onCommitFiberRoot=="function")try{We.onCommitFiberRoot(gl,e,void 0,(e.current.flags&128)===128)}catch{}}var Ue=Math.clz32?Math.clz32:Sd,jd=Math.log,Nd=Math.LN2;function Sd(e){return e>>>=0,e===0?32:31-(jd(e)/Nd|0)|0}var yr=64,vr=4194304;function Pn(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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Kr(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,s=e.pingedLanes,i=n&268435455;if(i!==0){var a=i&~l;a!==0?r=Pn(a):(s&=i,s!==0&&(r=Pn(s)))}else i=n&~l,i!==0?r=Pn(i):s!==0&&(r=Pn(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,s=t&-t,l>=s||l===16&&(s&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Ue(t),l=1<<n,r|=e[n],t&=~l;return r}function Cd(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;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ed(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,l=e.expirationTimes,s=e.pendingLanes;0<s;){var i=31-Ue(s),a=1<<i,u=l[i];u===-1?(!(a&n)||a&r)&&(l[i]=Cd(a,t)):u<=t&&(e.expiredLanes|=a),s&=~a}}function Ss(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Za(){var e=yr;return yr<<=1,!(yr&4194240)&&(yr=64),e}function Fl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ir(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ue(t),e[t]=n}function Pd(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 l=31-Ue(n),s=1<<l;t[l]=0,r[l]=-1,e[l]=-1,n&=~s}}function ho(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ue(n),l=1<<r;l&t|e[r]&t&&(e[r]|=t),n&=~l}}var A=0;function Ja(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var eu,go,tu,nu,ru,Cs=!1,xr=[],dt=null,ft=null,pt=null,Vn=new Map,Hn=new Map,it=[],zd="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 di(e,t){switch(e){case"focusin":case"focusout":dt=null;break;case"dragenter":case"dragleave":ft=null;break;case"mouseover":case"mouseout":pt=null;break;case"pointerover":case"pointerout":Vn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Hn.delete(t.pointerId)}}function xn(e,t,n,r,l,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:s,targetContainers:[l]},t!==null&&(t=ur(t),t!==null&&go(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function _d(e,t,n,r,l){switch(t){case"focusin":return dt=xn(dt,e,t,n,r,l),!0;case"dragenter":return ft=xn(ft,e,t,n,r,l),!0;case"mouseover":return pt=xn(pt,e,t,n,r,l),!0;case"pointerover":var s=l.pointerId;return Vn.set(s,xn(Vn.get(s)||null,e,t,n,r,l)),!0;case"gotpointercapture":return s=l.pointerId,Hn.set(s,xn(Hn.get(s)||null,e,t,n,r,l)),!0}return!1}function lu(e){var t=zt(e.target);if(t!==null){var n=Ut(t);if(n!==null){if(t=n.tag,t===13){if(t=Wa(n),t!==null){e.blockedOn=t,ru(e.priority,function(){tu(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Mr(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Es(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);ws=r,n.target.dispatchEvent(r),ws=null}else return t=ur(n),t!==null&&go(t),e.blockedOn=n,!1;t.shift()}return!0}function fi(e,t,n){Mr(e)&&n.delete(t)}function Ld(){Cs=!1,dt!==null&&Mr(dt)&&(dt=null),ft!==null&&Mr(ft)&&(ft=null),pt!==null&&Mr(pt)&&(pt=null),Vn.forEach(fi),Hn.forEach(fi)}function wn(e,t){e.blockedOn===t&&(e.blockedOn=null,Cs||(Cs=!0,Pe.unstable_scheduleCallback(Pe.unstable_NormalPriority,Ld)))}function Qn(e){function t(l){return wn(l,e)}if(0<xr.length){wn(xr[0],e);for(var n=1;n<xr.length;n++){var r=xr[n];r.blockedOn===e&&(r.blockedOn=null)}}for(dt!==null&&wn(dt,e),ft!==null&&wn(ft,e),pt!==null&&wn(pt,e),Vn.forEach(t),Hn.forEach(t),n=0;n<it.length;n++)r=it[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<it.length&&(n=it[0],n.blockedOn===null);)lu(n),n.blockedOn===null&&it.shift()}var rn=rt.ReactCurrentBatchConfig,Yr=!0;function Td(e,t,n,r){var l=A,s=rn.transition;rn.transition=null;try{A=1,yo(e,t,n,r)}finally{A=l,rn.transition=s}}function Md(e,t,n,r){var l=A,s=rn.transition;rn.transition=null;try{A=4,yo(e,t,n,r)}finally{A=l,rn.transition=s}}function yo(e,t,n,r){if(Yr){var l=Es(e,t,n,r);if(l===null)Kl(e,t,r,Xr,n),di(e,r);else if(_d(l,e,t,n,r))r.stopPropagation();else if(di(e,r),t&4&&-1<zd.indexOf(e)){for(;l!==null;){var s=ur(l);if(s!==null&&eu(s),s=Es(e,t,n,r),s===null&&Kl(e,t,r,Xr,n),s===l)break;l=s}l!==null&&r.stopPropagation()}else Kl(e,t,r,null,n)}}var Xr=null;function Es(e,t,n,r){if(Xr=null,e=po(r),e=zt(e),e!==null)if(t=Ut(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Wa(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Xr=e,null}function su(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(xd()){case mo:return 1;case qa:return 4;case Wr:case wd:return 16;case Ga:return 536870912;default:return 16}default:return 16}}var ut=null,vo=null,Rr=null;function ou(){if(Rr)return Rr;var e,t=vo,n=t.length,r,l="value"in ut?ut.value:ut.textContent,s=l.length;for(e=0;e<n&&t[e]===l[e];e++);var i=n-e;for(r=1;r<=i&&t[n-r]===l[s-r];r++);return Rr=l.slice(e,1<r?1-r:void 0)}function Ir(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function wr(){return!0}function pi(){return!1}function _e(e){function t(n,r,l,s,i){this._reactName=n,this._targetInst=l,this.type=r,this.nativeEvent=s,this.target=i,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(s):s[a]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?wr:pi,this.isPropagationStopped=pi,this}return X(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=wr)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=wr)},persist:function(){},isPersistent:wr}),t}var hn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},xo=_e(hn),ar=X({},hn,{view:0,detail:0}),Rd=_e(ar),Dl,Al,kn,yl=X({},ar,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:wo,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==kn&&(kn&&e.type==="mousemove"?(Dl=e.screenX-kn.screenX,Al=e.screenY-kn.screenY):Al=Dl=0,kn=e),Dl)},movementY:function(e){return"movementY"in e?e.movementY:Al}}),mi=_e(yl),Id=X({},yl,{dataTransfer:0}),bd=_e(Id),Od=X({},ar,{relatedTarget:0}),Ul=_e(Od),Fd=X({},hn,{animationName:0,elapsedTime:0,pseudoElement:0}),Dd=_e(Fd),Ad=X({},hn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Ud=_e(Ad),$d=X({},hn,{data:0}),hi=_e($d),Bd={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Vd={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"},Hd={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Qd(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Hd[e])?!!t[e]:!1}function wo(){return Qd}var Wd=X({},ar,{key:function(e){if(e.key){var t=Bd[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ir(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Vd[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:wo,charCode:function(e){return e.type==="keypress"?Ir(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ir(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Kd=_e(Wd),Yd=X({},yl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),gi=_e(Yd),Xd=X({},ar,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:wo}),qd=_e(Xd),Gd=X({},hn,{propertyName:0,elapsedTime:0,pseudoElement:0}),Zd=_e(Gd),Jd=X({},yl,{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}),ef=_e(Jd),tf=[9,13,27,32],ko=Je&&"CompositionEvent"in window,Rn=null;Je&&"documentMode"in document&&(Rn=document.documentMode);var nf=Je&&"TextEvent"in window&&!Rn,iu=Je&&(!ko||Rn&&8<Rn&&11>=Rn),yi=" ",vi=!1;function au(e,t){switch(e){case"keyup":return tf.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function uu(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ht=!1;function rf(e,t){switch(e){case"compositionend":return uu(t);case"keypress":return t.which!==32?null:(vi=!0,yi);case"textInput":return e=t.data,e===yi&&vi?null:e;default:return null}}function lf(e,t){if(Ht)return e==="compositionend"||!ko&&au(e,t)?(e=ou(),Rr=vo=ut=null,Ht=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return iu&&t.locale!=="ko"?null:t.data;default:return null}}var sf={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 xi(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!sf[e.type]:t==="textarea"}function cu(e,t,n,r){$a(r),t=qr(t,"onChange"),0<t.length&&(n=new xo("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var In=null,Wn=null;function of(e){ku(e,0)}function vl(e){var t=Kt(e);if(Ia(t))return e}function af(e,t){if(e==="change")return t}var du=!1;if(Je){var $l;if(Je){var Bl="oninput"in document;if(!Bl){var wi=document.createElement("div");wi.setAttribute("oninput","return;"),Bl=typeof wi.oninput=="function"}$l=Bl}else $l=!1;du=$l&&(!document.documentMode||9<document.documentMode)}function ki(){In&&(In.detachEvent("onpropertychange",fu),Wn=In=null)}function fu(e){if(e.propertyName==="value"&&vl(Wn)){var t=[];cu(t,Wn,e,po(e)),Qa(of,t)}}function uf(e,t,n){e==="focusin"?(ki(),In=t,Wn=n,In.attachEvent("onpropertychange",fu)):e==="focusout"&&ki()}function cf(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return vl(Wn)}function df(e,t){if(e==="click")return vl(t)}function ff(e,t){if(e==="input"||e==="change")return vl(t)}function pf(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Be=typeof Object.is=="function"?Object.is:pf;function Kn(e,t){if(Be(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)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 l=n[r];if(!as.call(t,l)||!Be(e[l],t[l]))return!1}return!0}function ji(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ni(e,t){var n=ji(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=ji(n)}}function pu(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?pu(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function mu(){for(var e=window,t=Vr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Vr(e.document)}return t}function jo(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function mf(e){var t=mu(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&pu(n.ownerDocument.documentElement,n)){if(r!==null&&jo(n)){if(t=r.start,e=r.end,e===void 0&&(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,e.getSelection){e=e.getSelection();var l=n.textContent.length,s=Math.min(r.start,l);r=r.end===void 0?s:Math.min(r.end,l),!e.extend&&s>r&&(l=r,r=s,s=l),l=Ni(n,s);var i=Ni(n,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),s>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;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var hf=Je&&"documentMode"in document&&11>=document.documentMode,Qt=null,Ps=null,bn=null,zs=!1;function Si(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;zs||Qt==null||Qt!==Vr(r)||(r=Qt,"selectionStart"in r&&jo(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),bn&&Kn(bn,r)||(bn=r,r=qr(Ps,"onSelect"),0<r.length&&(t=new xo("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Qt)))}function kr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Wt={animationend:kr("Animation","AnimationEnd"),animationiteration:kr("Animation","AnimationIteration"),animationstart:kr("Animation","AnimationStart"),transitionend:kr("Transition","TransitionEnd")},Vl={},hu={};Je&&(hu=document.createElement("div").style,"AnimationEvent"in window||(delete Wt.animationend.animation,delete Wt.animationiteration.animation,delete Wt.animationstart.animation),"TransitionEvent"in window||delete Wt.transitionend.transition);function xl(e){if(Vl[e])return Vl[e];if(!Wt[e])return e;var t=Wt[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in hu)return Vl[e]=t[n];return e}var gu=xl("animationend"),yu=xl("animationiteration"),vu=xl("animationstart"),xu=xl("transitionend"),wu=new Map,Ci="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 kt(e,t){wu.set(e,t),At(t,[e])}for(var Hl=0;Hl<Ci.length;Hl++){var Ql=Ci[Hl],gf=Ql.toLowerCase(),yf=Ql[0].toUpperCase()+Ql.slice(1);kt(gf,"on"+yf)}kt(gu,"onAnimationEnd");kt(yu,"onAnimationIteration");kt(vu,"onAnimationStart");kt("dblclick","onDoubleClick");kt("focusin","onFocus");kt("focusout","onBlur");kt(xu,"onTransitionEnd");on("onMouseEnter",["mouseout","mouseover"]);on("onMouseLeave",["mouseout","mouseover"]);on("onPointerEnter",["pointerout","pointerover"]);on("onPointerLeave",["pointerout","pointerover"]);At("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));At("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));At("onBeforeInput",["compositionend","keypress","textInput","paste"]);At("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));At("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));At("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var zn="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(" "),vf=new Set("cancel close invalid load scroll toggle".split(" ").concat(zn));function Ei(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,hd(r,t,void 0,e),e.currentTarget=null}function ku(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],l=r.event;r=r.listeners;e:{var s=void 0;if(t)for(var i=r.length-1;0<=i;i--){var a=r[i],u=a.instance,f=a.currentTarget;if(a=a.listener,u!==s&&l.isPropagationStopped())break e;Ei(l,a,f),s=u}else for(i=0;i<r.length;i++){if(a=r[i],u=a.instance,f=a.currentTarget,a=a.listener,u!==s&&l.isPropagationStopped())break e;Ei(l,a,f),s=u}}}if(Qr)throw e=Ns,Qr=!1,Ns=null,e}function H(e,t){var n=t[Rs];n===void 0&&(n=t[Rs]=new Set);var r=e+"__bubble";n.has(r)||(ju(t,e,2,!1),n.add(r))}function Wl(e,t,n){var r=0;t&&(r|=4),ju(n,e,r,t)}var jr="_reactListening"+Math.random().toString(36).slice(2);function Yn(e){if(!e[jr]){e[jr]=!0,_a.forEach(function(n){n!=="selectionchange"&&(vf.has(n)||Wl(n,!1,e),Wl(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[jr]||(t[jr]=!0,Wl("selectionchange",!1,t))}}function ju(e,t,n,r){switch(su(t)){case 1:var l=Td;break;case 4:l=Md;break;default:l=yo}n=l.bind(null,t,n,e),l=void 0,!js||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),r?l!==void 0?e.addEventListener(t,n,{capture:!0,passive:l}):e.addEventListener(t,n,!0):l!==void 0?e.addEventListener(t,n,{passive:l}):e.addEventListener(t,n,!1)}function Kl(e,t,n,r,l){var s=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var i=r.tag;if(i===3||i===4){var a=r.stateNode.containerInfo;if(a===l||a.nodeType===8&&a.parentNode===l)break;if(i===4)for(i=r.return;i!==null;){var u=i.tag;if((u===3||u===4)&&(u=i.stateNode.containerInfo,u===l||u.nodeType===8&&u.parentNode===l))return;i=i.return}for(;a!==null;){if(i=zt(a),i===null)return;if(u=i.tag,u===5||u===6){r=s=i;continue e}a=a.parentNode}}r=r.return}Qa(function(){var f=s,p=po(n),g=[];e:{var h=wu.get(e);if(h!==void 0){var y=xo,x=e;switch(e){case"keypress":if(Ir(n)===0)break e;case"keydown":case"keyup":y=Kd;break;case"focusin":x="focus",y=Ul;break;case"focusout":x="blur",y=Ul;break;case"beforeblur":case"afterblur":y=Ul;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":y=mi;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":y=bd;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":y=qd;break;case gu:case yu:case vu:y=Dd;break;case xu:y=Zd;break;case"scroll":y=Rd;break;case"wheel":y=ef;break;case"copy":case"cut":case"paste":y=Ud;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":y=gi}var k=(t&4)!==0,M=!k&&e==="scroll",d=k?h!==null?h+"Capture":null:h;k=[];for(var c=f,m;c!==null;){m=c;var v=m.stateNode;if(m.tag===5&&v!==null&&(m=v,d!==null&&(v=Bn(c,d),v!=null&&k.push(Xn(c,v,m)))),M)break;c=c.return}0<k.length&&(h=new y(h,x,null,n,p),g.push({event:h,listeners:k}))}}if(!(t&7)){e:{if(h=e==="mouseover"||e==="pointerover",y=e==="mouseout"||e==="pointerout",h&&n!==ws&&(x=n.relatedTarget||n.fromElement)&&(zt(x)||x[et]))break e;if((y||h)&&(h=p.window===p?p:(h=p.ownerDocument)?h.defaultView||h.parentWindow:window,y?(x=n.relatedTarget||n.toElement,y=f,x=x?zt(x):null,x!==null&&(M=Ut(x),x!==M||x.tag!==5&&x.tag!==6)&&(x=null)):(y=null,x=f),y!==x)){if(k=mi,v="onMouseLeave",d="onMouseEnter",c="mouse",(e==="pointerout"||e==="pointerover")&&(k=gi,v="onPointerLeave",d="onPointerEnter",c="pointer"),M=y==null?h:Kt(y),m=x==null?h:Kt(x),h=new k(v,c+"leave",y,n,p),h.target=M,h.relatedTarget=m,v=null,zt(p)===f&&(k=new k(d,c+"enter",x,n,p),k.target=m,k.relatedTarget=M,v=k),M=v,y&&x)t:{for(k=y,d=x,c=0,m=k;m;m=$t(m))c++;for(m=0,v=d;v;v=$t(v))m++;for(;0<c-m;)k=$t(k),c--;for(;0<m-c;)d=$t(d),m--;for(;c--;){if(k===d||d!==null&&k===d.alternate)break t;k=$t(k),d=$t(d)}k=null}else k=null;y!==null&&Pi(g,h,y,k,!1),x!==null&&M!==null&&Pi(g,M,x,k,!0)}}e:{if(h=f?Kt(f):window,y=h.nodeName&&h.nodeName.toLowerCase(),y==="select"||y==="input"&&h.type==="file")var C=af;else if(xi(h))if(du)C=ff;else{C=cf;var j=uf}else(y=h.nodeName)&&y.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(C=df);if(C&&(C=C(e,f))){cu(g,C,n,p);break e}j&&j(e,h,f),e==="focusout"&&(j=h._wrapperState)&&j.controlled&&h.type==="number"&&hs(h,"number",h.value)}switch(j=f?Kt(f):window,e){case"focusin":(xi(j)||j.contentEditable==="true")&&(Qt=j,Ps=f,bn=null);break;case"focusout":bn=Ps=Qt=null;break;case"mousedown":zs=!0;break;case"contextmenu":case"mouseup":case"dragend":zs=!1,Si(g,n,p);break;case"selectionchange":if(hf)break;case"keydown":case"keyup":Si(g,n,p)}var z;if(ko)e:{switch(e){case"compositionstart":var _="onCompositionStart";break e;case"compositionend":_="onCompositionEnd";break e;case"compositionupdate":_="onCompositionUpdate";break e}_=void 0}else Ht?au(e,n)&&(_="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(_="onCompositionStart");_&&(iu&&n.locale!=="ko"&&(Ht||_!=="onCompositionStart"?_==="onCompositionEnd"&&Ht&&(z=ou()):(ut=p,vo="value"in ut?ut.value:ut.textContent,Ht=!0)),j=qr(f,_),0<j.length&&(_=new hi(_,e,null,n,p),g.push({event:_,listeners:j}),z?_.data=z:(z=uu(n),z!==null&&(_.data=z)))),(z=nf?rf(e,n):lf(e,n))&&(f=qr(f,"onBeforeInput"),0<f.length&&(p=new hi("onBeforeInput","beforeinput",null,n,p),g.push({event:p,listeners:f}),p.data=z))}ku(g,t)})}function Xn(e,t,n){return{instance:e,listener:t,currentTarget:n}}function qr(e,t){for(var n=t+"Capture",r=[];e!==null;){var l=e,s=l.stateNode;l.tag===5&&s!==null&&(l=s,s=Bn(e,n),s!=null&&r.unshift(Xn(e,s,l)),s=Bn(e,t),s!=null&&r.push(Xn(e,s,l))),e=e.return}return r}function $t(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Pi(e,t,n,r,l){for(var s=t._reactName,i=[];n!==null&&n!==r;){var a=n,u=a.alternate,f=a.stateNode;if(u!==null&&u===r)break;a.tag===5&&f!==null&&(a=f,l?(u=Bn(n,s),u!=null&&i.unshift(Xn(n,u,a))):l||(u=Bn(n,s),u!=null&&i.push(Xn(n,u,a)))),n=n.return}i.length!==0&&e.push({event:t,listeners:i})}var xf=/\r\n?/g,wf=/\u0000|\uFFFD/g;function zi(e){return(typeof e=="string"?e:""+e).replace(xf,`
|
|
38
|
-
`).replace(wf,"")}function Nr(e,t,n){if(t=zi(t),zi(e)!==t&&n)throw Error(w(425))}function Gr(){}var _s=null,Ls=null;function Ts(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Ms=typeof setTimeout=="function"?setTimeout:void 0,kf=typeof clearTimeout=="function"?clearTimeout:void 0,_i=typeof Promise=="function"?Promise:void 0,jf=typeof queueMicrotask=="function"?queueMicrotask:typeof _i<"u"?function(e){return _i.resolve(null).then(e).catch(Nf)}:Ms;function Nf(e){setTimeout(function(){throw e})}function Yl(e,t){var n=t,r=0;do{var l=n.nextSibling;if(e.removeChild(n),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(r===0){e.removeChild(l),Qn(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=l}while(n);Qn(t)}function mt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Li(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var gn=Math.random().toString(36).slice(2),Qe="__reactFiber$"+gn,qn="__reactProps$"+gn,et="__reactContainer$"+gn,Rs="__reactEvents$"+gn,Sf="__reactListeners$"+gn,Cf="__reactHandles$"+gn;function zt(e){var t=e[Qe];if(t)return t;for(var n=e.parentNode;n;){if(t=n[et]||n[Qe]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Li(e);e!==null;){if(n=e[Qe])return n;e=Li(e)}return t}e=n,n=e.parentNode}return null}function ur(e){return e=e[Qe]||e[et],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Kt(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(w(33))}function wl(e){return e[qn]||null}var Is=[],Yt=-1;function jt(e){return{current:e}}function Q(e){0>Yt||(e.current=Is[Yt],Is[Yt]=null,Yt--)}function V(e,t){Yt++,Is[Yt]=e.current,e.current=t}var wt={},pe=jt(wt),ke=jt(!1),It=wt;function an(e,t){var n=e.type.contextTypes;if(!n)return wt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},s;for(s in n)l[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function je(e){return e=e.childContextTypes,e!=null}function Zr(){Q(ke),Q(pe)}function Ti(e,t,n){if(pe.current!==wt)throw Error(w(168));V(pe,t),V(ke,n)}function Nu(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(w(108,ad(e)||"Unknown",l));return X({},n,r)}function Jr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||wt,It=pe.current,V(pe,e),V(ke,ke.current),!0}function Mi(e,t,n){var r=e.stateNode;if(!r)throw Error(w(169));n?(e=Nu(e,t,It),r.__reactInternalMemoizedMergedChildContext=e,Q(ke),Q(pe),V(pe,e)):Q(ke),V(ke,n)}var Xe=null,kl=!1,Xl=!1;function Su(e){Xe===null?Xe=[e]:Xe.push(e)}function Ef(e){kl=!0,Su(e)}function Nt(){if(!Xl&&Xe!==null){Xl=!0;var e=0,t=A;try{var n=Xe;for(A=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Xe=null,kl=!1}catch(l){throw Xe!==null&&(Xe=Xe.slice(e+1)),Xa(mo,Nt),l}finally{A=t,Xl=!1}}return null}var Xt=[],qt=0,el=null,tl=0,Le=[],Te=0,bt=null,qe=1,Ge="";function Et(e,t){Xt[qt++]=tl,Xt[qt++]=el,el=e,tl=t}function Cu(e,t,n){Le[Te++]=qe,Le[Te++]=Ge,Le[Te++]=bt,bt=e;var r=qe;e=Ge;var l=32-Ue(r)-1;r&=~(1<<l),n+=1;var s=32-Ue(t)+l;if(30<s){var i=l-l%5;s=(r&(1<<i)-1).toString(32),r>>=i,l-=i,qe=1<<32-Ue(t)+l|n<<l|r,Ge=s+e}else qe=1<<s|n<<l|r,Ge=e}function No(e){e.return!==null&&(Et(e,1),Cu(e,1,0))}function So(e){for(;e===el;)el=Xt[--qt],Xt[qt]=null,tl=Xt[--qt],Xt[qt]=null;for(;e===bt;)bt=Le[--Te],Le[Te]=null,Ge=Le[--Te],Le[Te]=null,qe=Le[--Te],Le[Te]=null}var Ee=null,Ce=null,W=!1,Ae=null;function Eu(e,t){var n=Me(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Ri(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Ee=e,Ce=mt(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Ee=e,Ce=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=bt!==null?{id:qe,overflow:Ge}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Me(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Ee=e,Ce=null,!0):!1;default:return!1}}function bs(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Os(e){if(W){var t=Ce;if(t){var n=t;if(!Ri(e,t)){if(bs(e))throw Error(w(418));t=mt(n.nextSibling);var r=Ee;t&&Ri(e,t)?Eu(r,n):(e.flags=e.flags&-4097|2,W=!1,Ee=e)}}else{if(bs(e))throw Error(w(418));e.flags=e.flags&-4097|2,W=!1,Ee=e}}}function Ii(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ee=e}function Sr(e){if(e!==Ee)return!1;if(!W)return Ii(e),W=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Ts(e.type,e.memoizedProps)),t&&(t=Ce)){if(bs(e))throw Pu(),Error(w(418));for(;t;)Eu(e,t),t=mt(t.nextSibling)}if(Ii(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(w(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Ce=mt(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Ce=null}}else Ce=Ee?mt(e.stateNode.nextSibling):null;return!0}function Pu(){for(var e=Ce;e;)e=mt(e.nextSibling)}function un(){Ce=Ee=null,W=!1}function Co(e){Ae===null?Ae=[e]:Ae.push(e)}var Pf=rt.ReactCurrentBatchConfig;function jn(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(w(309));var r=n.stateNode}if(!r)throw Error(w(147,e));var l=r,s=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===s?t.ref:(t=function(i){var a=l.refs;i===null?delete a[s]:a[s]=i},t._stringRef=s,t)}if(typeof e!="string")throw Error(w(284));if(!n._owner)throw Error(w(290,e))}return e}function Cr(e,t){throw e=Object.prototype.toString.call(t),Error(w(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function bi(e){var t=e._init;return t(e._payload)}function zu(e){function t(d,c){if(e){var m=d.deletions;m===null?(d.deletions=[c],d.flags|=16):m.push(c)}}function n(d,c){if(!e)return null;for(;c!==null;)t(d,c),c=c.sibling;return null}function r(d,c){for(d=new Map;c!==null;)c.key!==null?d.set(c.key,c):d.set(c.index,c),c=c.sibling;return d}function l(d,c){return d=vt(d,c),d.index=0,d.sibling=null,d}function s(d,c,m){return d.index=m,e?(m=d.alternate,m!==null?(m=m.index,m<c?(d.flags|=2,c):m):(d.flags|=2,c)):(d.flags|=1048576,c)}function i(d){return e&&d.alternate===null&&(d.flags|=2),d}function a(d,c,m,v){return c===null||c.tag!==6?(c=ns(m,d.mode,v),c.return=d,c):(c=l(c,m),c.return=d,c)}function u(d,c,m,v){var C=m.type;return C===Vt?p(d,c,m.props.children,v,m.key):c!==null&&(c.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===st&&bi(C)===c.type)?(v=l(c,m.props),v.ref=jn(d,c,m),v.return=d,v):(v=$r(m.type,m.key,m.props,null,d.mode,v),v.ref=jn(d,c,m),v.return=d,v)}function f(d,c,m,v){return c===null||c.tag!==4||c.stateNode.containerInfo!==m.containerInfo||c.stateNode.implementation!==m.implementation?(c=rs(m,d.mode,v),c.return=d,c):(c=l(c,m.children||[]),c.return=d,c)}function p(d,c,m,v,C){return c===null||c.tag!==7?(c=Rt(m,d.mode,v,C),c.return=d,c):(c=l(c,m),c.return=d,c)}function g(d,c,m){if(typeof c=="string"&&c!==""||typeof c=="number")return c=ns(""+c,d.mode,m),c.return=d,c;if(typeof c=="object"&&c!==null){switch(c.$$typeof){case mr:return m=$r(c.type,c.key,c.props,null,d.mode,m),m.ref=jn(d,null,c),m.return=d,m;case Bt:return c=rs(c,d.mode,m),c.return=d,c;case st:var v=c._init;return g(d,v(c._payload),m)}if(En(c)||yn(c))return c=Rt(c,d.mode,m,null),c.return=d,c;Cr(d,c)}return null}function h(d,c,m,v){var C=c!==null?c.key:null;if(typeof m=="string"&&m!==""||typeof m=="number")return C!==null?null:a(d,c,""+m,v);if(typeof m=="object"&&m!==null){switch(m.$$typeof){case mr:return m.key===C?u(d,c,m,v):null;case Bt:return m.key===C?f(d,c,m,v):null;case st:return C=m._init,h(d,c,C(m._payload),v)}if(En(m)||yn(m))return C!==null?null:p(d,c,m,v,null);Cr(d,m)}return null}function y(d,c,m,v,C){if(typeof v=="string"&&v!==""||typeof v=="number")return d=d.get(m)||null,a(c,d,""+v,C);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case mr:return d=d.get(v.key===null?m:v.key)||null,u(c,d,v,C);case Bt:return d=d.get(v.key===null?m:v.key)||null,f(c,d,v,C);case st:var j=v._init;return y(d,c,m,j(v._payload),C)}if(En(v)||yn(v))return d=d.get(m)||null,p(c,d,v,C,null);Cr(c,v)}return null}function x(d,c,m,v){for(var C=null,j=null,z=c,_=c=0,T=null;z!==null&&_<m.length;_++){z.index>_?(T=z,z=null):T=z.sibling;var N=h(d,z,m[_],v);if(N===null){z===null&&(z=T);break}e&&z&&N.alternate===null&&t(d,z),c=s(N,c,_),j===null?C=N:j.sibling=N,j=N,z=T}if(_===m.length)return n(d,z),W&&Et(d,_),C;if(z===null){for(;_<m.length;_++)z=g(d,m[_],v),z!==null&&(c=s(z,c,_),j===null?C=z:j.sibling=z,j=z);return W&&Et(d,_),C}for(z=r(d,z);_<m.length;_++)T=y(z,d,_,m[_],v),T!==null&&(e&&T.alternate!==null&&z.delete(T.key===null?_:T.key),c=s(T,c,_),j===null?C=T:j.sibling=T,j=T);return e&&z.forEach(function(U){return t(d,U)}),W&&Et(d,_),C}function k(d,c,m,v){var C=yn(m);if(typeof C!="function")throw Error(w(150));if(m=C.call(m),m==null)throw Error(w(151));for(var j=C=null,z=c,_=c=0,T=null,N=m.next();z!==null&&!N.done;_++,N=m.next()){z.index>_?(T=z,z=null):T=z.sibling;var U=h(d,z,N.value,v);if(U===null){z===null&&(z=T);break}e&&z&&U.alternate===null&&t(d,z),c=s(U,c,_),j===null?C=U:j.sibling=U,j=U,z=T}if(N.done)return n(d,z),W&&Et(d,_),C;if(z===null){for(;!N.done;_++,N=m.next())N=g(d,N.value,v),N!==null&&(c=s(N,c,_),j===null?C=N:j.sibling=N,j=N);return W&&Et(d,_),C}for(z=r(d,z);!N.done;_++,N=m.next())N=y(z,d,_,N.value,v),N!==null&&(e&&N.alternate!==null&&z.delete(N.key===null?_:N.key),c=s(N,c,_),j===null?C=N:j.sibling=N,j=N);return e&&z.forEach(function($){return t(d,$)}),W&&Et(d,_),C}function M(d,c,m,v){if(typeof m=="object"&&m!==null&&m.type===Vt&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case mr:e:{for(var C=m.key,j=c;j!==null;){if(j.key===C){if(C=m.type,C===Vt){if(j.tag===7){n(d,j.sibling),c=l(j,m.props.children),c.return=d,d=c;break e}}else if(j.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===st&&bi(C)===j.type){n(d,j.sibling),c=l(j,m.props),c.ref=jn(d,j,m),c.return=d,d=c;break e}n(d,j);break}else t(d,j);j=j.sibling}m.type===Vt?(c=Rt(m.props.children,d.mode,v,m.key),c.return=d,d=c):(v=$r(m.type,m.key,m.props,null,d.mode,v),v.ref=jn(d,c,m),v.return=d,d=v)}return i(d);case Bt:e:{for(j=m.key;c!==null;){if(c.key===j)if(c.tag===4&&c.stateNode.containerInfo===m.containerInfo&&c.stateNode.implementation===m.implementation){n(d,c.sibling),c=l(c,m.children||[]),c.return=d,d=c;break e}else{n(d,c);break}else t(d,c);c=c.sibling}c=rs(m,d.mode,v),c.return=d,d=c}return i(d);case st:return j=m._init,M(d,c,j(m._payload),v)}if(En(m))return x(d,c,m,v);if(yn(m))return k(d,c,m,v);Cr(d,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,c!==null&&c.tag===6?(n(d,c.sibling),c=l(c,m),c.return=d,d=c):(n(d,c),c=ns(m,d.mode,v),c.return=d,d=c),i(d)):n(d,c)}return M}var cn=zu(!0),_u=zu(!1),nl=jt(null),rl=null,Gt=null,Eo=null;function Po(){Eo=Gt=rl=null}function zo(e){var t=nl.current;Q(nl),e._currentValue=t}function Fs(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function ln(e,t){rl=e,Eo=Gt=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(we=!0),e.firstContext=null)}function Ie(e){var t=e._currentValue;if(Eo!==e)if(e={context:e,memoizedValue:t,next:null},Gt===null){if(rl===null)throw Error(w(308));Gt=e,rl.dependencies={lanes:0,firstContext:e}}else Gt=Gt.next=e;return t}var _t=null;function _o(e){_t===null?_t=[e]:_t.push(e)}function Lu(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,_o(t)):(n.next=l.next,l.next=n),t.interleaved=n,tt(e,r)}function tt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var ot=!1;function Lo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Tu(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 Ze(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ht(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,F&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,tt(e,n)}return l=r.interleaved,l===null?(t.next=t,_o(r)):(t.next=l.next,l.next=t),r.interleaved=t,tt(e,n)}function br(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ho(e,n)}}function Oi(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};s===null?l=s=i:s=s.next=i,n=n.next}while(n!==null);s===null?l=s=t:s=s.next=t}else l=s=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:s,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ll(e,t,n,r){var l=e.updateQueue;ot=!1;var s=l.firstBaseUpdate,i=l.lastBaseUpdate,a=l.shared.pending;if(a!==null){l.shared.pending=null;var u=a,f=u.next;u.next=null,i===null?s=f:i.next=f,i=u;var p=e.alternate;p!==null&&(p=p.updateQueue,a=p.lastBaseUpdate,a!==i&&(a===null?p.firstBaseUpdate=f:a.next=f,p.lastBaseUpdate=u))}if(s!==null){var g=l.baseState;i=0,p=f=u=null,a=s;do{var h=a.lane,y=a.eventTime;if((r&h)===h){p!==null&&(p=p.next={eventTime:y,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var x=e,k=a;switch(h=t,y=n,k.tag){case 1:if(x=k.payload,typeof x=="function"){g=x.call(y,g,h);break e}g=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=k.payload,h=typeof x=="function"?x.call(y,g,h):x,h==null)break e;g=X({},g,h);break e;case 2:ot=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,h=l.effects,h===null?l.effects=[a]:h.push(a))}else y={eventTime:y,lane:h,tag:a.tag,payload:a.payload,callback:a.callback,next:null},p===null?(f=p=y,u=g):p=p.next=y,i|=h;if(a=a.next,a===null){if(a=l.shared.pending,a===null)break;h=a,a=h.next,h.next=null,l.lastBaseUpdate=h,l.shared.pending=null}}while(!0);if(p===null&&(u=g),l.baseState=u,l.firstBaseUpdate=f,l.lastBaseUpdate=p,t=l.shared.interleaved,t!==null){l=t;do i|=l.lane,l=l.next;while(l!==t)}else s===null&&(l.shared.lanes=0);Ft|=i,e.lanes=i,e.memoizedState=g}}function Fi(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],l=r.callback;if(l!==null){if(r.callback=null,r=n,typeof l!="function")throw Error(w(191,l));l.call(r)}}}var cr={},Ke=jt(cr),Gn=jt(cr),Zn=jt(cr);function Lt(e){if(e===cr)throw Error(w(174));return e}function To(e,t){switch(V(Zn,t),V(Gn,e),V(Ke,cr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ys(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=ys(t,e)}Q(Ke),V(Ke,t)}function dn(){Q(Ke),Q(Gn),Q(Zn)}function Mu(e){Lt(Zn.current);var t=Lt(Ke.current),n=ys(t,e.type);t!==n&&(V(Gn,e),V(Ke,n))}function Mo(e){Gn.current===e&&(Q(Ke),Q(Gn))}var K=jt(0);function sl(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ql=[];function Ro(){for(var e=0;e<ql.length;e++)ql[e]._workInProgressVersionPrimary=null;ql.length=0}var Or=rt.ReactCurrentDispatcher,Gl=rt.ReactCurrentBatchConfig,Ot=0,Y=null,te=null,le=null,ol=!1,On=!1,Jn=0,zf=0;function ce(){throw Error(w(321))}function Io(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Be(e[n],t[n]))return!1;return!0}function bo(e,t,n,r,l,s){if(Ot=s,Y=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Or.current=e===null||e.memoizedState===null?Mf:Rf,e=n(r,l),On){s=0;do{if(On=!1,Jn=0,25<=s)throw Error(w(301));s+=1,le=te=null,t.updateQueue=null,Or.current=If,e=n(r,l)}while(On)}if(Or.current=il,t=te!==null&&te.next!==null,Ot=0,le=te=Y=null,ol=!1,t)throw Error(w(300));return e}function Oo(){var e=Jn!==0;return Jn=0,e}function He(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return le===null?Y.memoizedState=le=e:le=le.next=e,le}function be(){if(te===null){var e=Y.alternate;e=e!==null?e.memoizedState:null}else e=te.next;var t=le===null?Y.memoizedState:le.next;if(t!==null)le=t,te=e;else{if(e===null)throw Error(w(310));te=e,e={memoizedState:te.memoizedState,baseState:te.baseState,baseQueue:te.baseQueue,queue:te.queue,next:null},le===null?Y.memoizedState=le=e:le=le.next=e}return le}function er(e,t){return typeof t=="function"?t(e):t}function Zl(e){var t=be(),n=t.queue;if(n===null)throw Error(w(311));n.lastRenderedReducer=e;var r=te,l=r.baseQueue,s=n.pending;if(s!==null){if(l!==null){var i=l.next;l.next=s.next,s.next=i}r.baseQueue=l=s,n.pending=null}if(l!==null){s=l.next,r=r.baseState;var a=i=null,u=null,f=s;do{var p=f.lane;if((Ot&p)===p)u!==null&&(u=u.next={lane:0,action:f.action,hasEagerState:f.hasEagerState,eagerState:f.eagerState,next:null}),r=f.hasEagerState?f.eagerState:e(r,f.action);else{var g={lane:p,action:f.action,hasEagerState:f.hasEagerState,eagerState:f.eagerState,next:null};u===null?(a=u=g,i=r):u=u.next=g,Y.lanes|=p,Ft|=p}f=f.next}while(f!==null&&f!==s);u===null?i=r:u.next=a,Be(r,t.memoizedState)||(we=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=u,n.lastRenderedState=r}if(e=n.interleaved,e!==null){l=e;do s=l.lane,Y.lanes|=s,Ft|=s,l=l.next;while(l!==e)}else l===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Jl(e){var t=be(),n=t.queue;if(n===null)throw Error(w(311));n.lastRenderedReducer=e;var r=n.dispatch,l=n.pending,s=t.memoizedState;if(l!==null){n.pending=null;var i=l=l.next;do s=e(s,i.action),i=i.next;while(i!==l);Be(s,t.memoizedState)||(we=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,r]}function Ru(){}function Iu(e,t){var n=Y,r=be(),l=t(),s=!Be(r.memoizedState,l);if(s&&(r.memoizedState=l,we=!0),r=r.queue,Fo(Fu.bind(null,n,r,e),[e]),r.getSnapshot!==t||s||le!==null&&le.memoizedState.tag&1){if(n.flags|=2048,tr(9,Ou.bind(null,n,r,l,t),void 0,null),se===null)throw Error(w(349));Ot&30||bu(n,t,l)}return l}function bu(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Y.updateQueue,t===null?(t={lastEffect:null,stores:null},Y.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Ou(e,t,n,r){t.value=n,t.getSnapshot=r,Du(t)&&Au(e)}function Fu(e,t,n){return n(function(){Du(t)&&Au(e)})}function Du(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Be(e,n)}catch{return!0}}function Au(e){var t=tt(e,1);t!==null&&$e(t,e,1,-1)}function Di(e){var t=He();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:er,lastRenderedState:e},t.queue=e,e=e.dispatch=Tf.bind(null,Y,e),[t.memoizedState,e]}function tr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Y.updateQueue,t===null?(t={lastEffect:null,stores:null},Y.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Uu(){return be().memoizedState}function Fr(e,t,n,r){var l=He();Y.flags|=e,l.memoizedState=tr(1|t,n,void 0,r===void 0?null:r)}function jl(e,t,n,r){var l=be();r=r===void 0?null:r;var s=void 0;if(te!==null){var i=te.memoizedState;if(s=i.destroy,r!==null&&Io(r,i.deps)){l.memoizedState=tr(t,n,s,r);return}}Y.flags|=e,l.memoizedState=tr(1|t,n,s,r)}function Ai(e,t){return Fr(8390656,8,e,t)}function Fo(e,t){return jl(2048,8,e,t)}function $u(e,t){return jl(4,2,e,t)}function Bu(e,t){return jl(4,4,e,t)}function Vu(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Hu(e,t,n){return n=n!=null?n.concat([e]):null,jl(4,4,Vu.bind(null,t,e),n)}function Do(){}function Qu(e,t){var n=be();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Io(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Wu(e,t){var n=be();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Io(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ku(e,t,n){return Ot&21?(Be(n,t)||(n=Za(),Y.lanes|=n,Ft|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,we=!0),e.memoizedState=n)}function _f(e,t){var n=A;A=n!==0&&4>n?n:4,e(!0);var r=Gl.transition;Gl.transition={};try{e(!1),t()}finally{A=n,Gl.transition=r}}function Yu(){return be().memoizedState}function Lf(e,t,n){var r=yt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Xu(e))qu(t,n);else if(n=Lu(e,t,n,r),n!==null){var l=ge();$e(n,e,r,l),Gu(n,t,r)}}function Tf(e,t,n){var r=yt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Xu(e))qu(t,l);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var i=t.lastRenderedState,a=s(i,n);if(l.hasEagerState=!0,l.eagerState=a,Be(a,i)){var u=t.interleaved;u===null?(l.next=l,_o(t)):(l.next=u.next,u.next=l),t.interleaved=l;return}}catch{}finally{}n=Lu(e,t,l,r),n!==null&&(l=ge(),$e(n,e,r,l),Gu(n,t,r))}}function Xu(e){var t=e.alternate;return e===Y||t!==null&&t===Y}function qu(e,t){On=ol=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Gu(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ho(e,n)}}var il={readContext:Ie,useCallback:ce,useContext:ce,useEffect:ce,useImperativeHandle:ce,useInsertionEffect:ce,useLayoutEffect:ce,useMemo:ce,useReducer:ce,useRef:ce,useState:ce,useDebugValue:ce,useDeferredValue:ce,useTransition:ce,useMutableSource:ce,useSyncExternalStore:ce,useId:ce,unstable_isNewReconciler:!1},Mf={readContext:Ie,useCallback:function(e,t){return He().memoizedState=[e,t===void 0?null:t],e},useContext:Ie,useEffect:Ai,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Fr(4194308,4,Vu.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Fr(4194308,4,e,t)},useInsertionEffect:function(e,t){return Fr(4,2,e,t)},useMemo:function(e,t){var n=He();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=He();return t=n!==void 0?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=Lf.bind(null,Y,e),[r.memoizedState,e]},useRef:function(e){var t=He();return e={current:e},t.memoizedState=e},useState:Di,useDebugValue:Do,useDeferredValue:function(e){return He().memoizedState=e},useTransition:function(){var e=Di(!1),t=e[0];return e=_f.bind(null,e[1]),He().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Y,l=He();if(W){if(n===void 0)throw Error(w(407));n=n()}else{if(n=t(),se===null)throw Error(w(349));Ot&30||bu(r,t,n)}l.memoizedState=n;var s={value:n,getSnapshot:t};return l.queue=s,Ai(Fu.bind(null,r,s,e),[e]),r.flags|=2048,tr(9,Ou.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=He(),t=se.identifierPrefix;if(W){var n=Ge,r=qe;n=(r&~(1<<32-Ue(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Jn++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=zf++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Rf={readContext:Ie,useCallback:Qu,useContext:Ie,useEffect:Fo,useImperativeHandle:Hu,useInsertionEffect:$u,useLayoutEffect:Bu,useMemo:Wu,useReducer:Zl,useRef:Uu,useState:function(){return Zl(er)},useDebugValue:Do,useDeferredValue:function(e){var t=be();return Ku(t,te.memoizedState,e)},useTransition:function(){var e=Zl(er)[0],t=be().memoizedState;return[e,t]},useMutableSource:Ru,useSyncExternalStore:Iu,useId:Yu,unstable_isNewReconciler:!1},If={readContext:Ie,useCallback:Qu,useContext:Ie,useEffect:Fo,useImperativeHandle:Hu,useInsertionEffect:$u,useLayoutEffect:Bu,useMemo:Wu,useReducer:Jl,useRef:Uu,useState:function(){return Jl(er)},useDebugValue:Do,useDeferredValue:function(e){var t=be();return te===null?t.memoizedState=e:Ku(t,te.memoizedState,e)},useTransition:function(){var e=Jl(er)[0],t=be().memoizedState;return[e,t]},useMutableSource:Ru,useSyncExternalStore:Iu,useId:Yu,unstable_isNewReconciler:!1};function Fe(e,t){if(e&&e.defaultProps){t=X({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Ds(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:X({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Nl={isMounted:function(e){return(e=e._reactInternals)?Ut(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ge(),l=yt(e),s=Ze(r,l);s.payload=t,n!=null&&(s.callback=n),t=ht(e,s,l),t!==null&&($e(t,e,l,r),br(t,e,l))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ge(),l=yt(e),s=Ze(r,l);s.tag=1,s.payload=t,n!=null&&(s.callback=n),t=ht(e,s,l),t!==null&&($e(t,e,l,r),br(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ge(),r=yt(e),l=Ze(n,r);l.tag=2,t!=null&&(l.callback=t),t=ht(e,l,r),t!==null&&($e(t,e,r,n),br(t,e,r))}};function Ui(e,t,n,r,l,s,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,s,i):t.prototype&&t.prototype.isPureReactComponent?!Kn(n,r)||!Kn(l,s):!0}function Zu(e,t,n){var r=!1,l=wt,s=t.contextType;return typeof s=="object"&&s!==null?s=Ie(s):(l=je(t)?It:pe.current,r=t.contextTypes,s=(r=r!=null)?an(e,l):wt),t=new t(n,s),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Nl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=s),t}function $i(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Nl.enqueueReplaceState(t,t.state,null)}function As(e,t,n,r){var l=e.stateNode;l.props=n,l.state=e.memoizedState,l.refs={},Lo(e);var s=t.contextType;typeof s=="object"&&s!==null?l.context=Ie(s):(s=je(t)?It:pe.current,l.context=an(e,s)),l.state=e.memoizedState,s=t.getDerivedStateFromProps,typeof s=="function"&&(Ds(e,t,s,n),l.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof l.getSnapshotBeforeUpdate=="function"||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(t=l.state,typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),t!==l.state&&Nl.enqueueReplaceState(l,l.state,null),ll(e,n,l,r),l.state=e.memoizedState),typeof l.componentDidMount=="function"&&(e.flags|=4194308)}function fn(e,t){try{var n="",r=t;do n+=id(r),r=r.return;while(r);var l=n}catch(s){l=`
|
|
39
|
-
Error generating stack: `+s.message+`
|
|
40
|
-
`+s.stack}return{value:e,source:t,stack:l,digest:null}}function es(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Us(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var bf=typeof WeakMap=="function"?WeakMap:Map;function Ju(e,t,n){n=Ze(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ul||(ul=!0,qs=r),Us(e,t)},n}function ec(e,t,n){n=Ze(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=t.value;n.payload=function(){return r(l)},n.callback=function(){Us(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){Us(e,t),typeof r!="function"&&(gt===null?gt=new Set([this]):gt.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}function Bi(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new bf;var l=new Set;r.set(t,l)}else l=r.get(t),l===void 0&&(l=new Set,r.set(t,l));l.has(n)||(l.add(n),e=Xf.bind(null,e,t,n),t.then(e,e))}function Vi(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Hi(e,t,n,r,l){return e.mode&1?(e.flags|=65536,e.lanes=l,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Ze(-1,1),t.tag=2,ht(n,t,1))),n.lanes|=1),e)}var Of=rt.ReactCurrentOwner,we=!1;function me(e,t,n,r){t.child=e===null?_u(t,null,n,r):cn(t,e.child,n,r)}function Qi(e,t,n,r,l){n=n.render;var s=t.ref;return ln(t,l),r=bo(e,t,n,r,s,l),n=Oo(),e!==null&&!we?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,nt(e,t,l)):(W&&n&&No(t),t.flags|=1,me(e,t,r,l),t.child)}function Wi(e,t,n,r,l){if(e===null){var s=n.type;return typeof s=="function"&&!Wo(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,tc(e,t,s,r,l)):(e=$r(n.type,null,r,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&l)){var i=s.memoizedProps;if(n=n.compare,n=n!==null?n:Kn,n(i,r)&&e.ref===t.ref)return nt(e,t,l)}return t.flags|=1,e=vt(s,r),e.ref=t.ref,e.return=t,t.child=e}function tc(e,t,n,r,l){if(e!==null){var s=e.memoizedProps;if(Kn(s,r)&&e.ref===t.ref)if(we=!1,t.pendingProps=r=s,(e.lanes&l)!==0)e.flags&131072&&(we=!0);else return t.lanes=e.lanes,nt(e,t,l)}return $s(e,t,n,r,l)}function nc(e,t,n){var r=t.pendingProps,l=r.children,s=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},V(Jt,Se),Se|=n;else{if(!(n&1073741824))return e=s!==null?s.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,V(Jt,Se),Se|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:n,V(Jt,Se),Se|=r}else s!==null?(r=s.baseLanes|n,t.memoizedState=null):r=n,V(Jt,Se),Se|=r;return me(e,t,l,n),t.child}function rc(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function $s(e,t,n,r,l){var s=je(n)?It:pe.current;return s=an(t,s),ln(t,l),n=bo(e,t,n,r,s,l),r=Oo(),e!==null&&!we?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,nt(e,t,l)):(W&&r&&No(t),t.flags|=1,me(e,t,n,l),t.child)}function Ki(e,t,n,r,l){if(je(n)){var s=!0;Jr(t)}else s=!1;if(ln(t,l),t.stateNode===null)Dr(e,t),Zu(t,n,r),As(t,n,r,l),r=!0;else if(e===null){var i=t.stateNode,a=t.memoizedProps;i.props=a;var u=i.context,f=n.contextType;typeof f=="object"&&f!==null?f=Ie(f):(f=je(n)?It:pe.current,f=an(t,f));var p=n.getDerivedStateFromProps,g=typeof p=="function"||typeof i.getSnapshotBeforeUpdate=="function";g||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(a!==r||u!==f)&&$i(t,i,r,f),ot=!1;var h=t.memoizedState;i.state=h,ll(t,r,i,l),u=t.memoizedState,a!==r||h!==u||ke.current||ot?(typeof p=="function"&&(Ds(t,n,p,r),u=t.memoizedState),(a=ot||Ui(t,n,a,r,h,u,f))?(g||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),i.props=r,i.state=u,i.context=f,r=a):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Tu(e,t),a=t.memoizedProps,f=t.type===t.elementType?a:Fe(t.type,a),i.props=f,g=t.pendingProps,h=i.context,u=n.contextType,typeof u=="object"&&u!==null?u=Ie(u):(u=je(n)?It:pe.current,u=an(t,u));var y=n.getDerivedStateFromProps;(p=typeof y=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(a!==g||h!==u)&&$i(t,i,r,u),ot=!1,h=t.memoizedState,i.state=h,ll(t,r,i,l);var x=t.memoizedState;a!==g||h!==x||ke.current||ot?(typeof y=="function"&&(Ds(t,n,y,r),x=t.memoizedState),(f=ot||Ui(t,n,f,r,h,x,u)||!1)?(p||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,x,u),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,x,u)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=x),i.props=r,i.state=x,i.context=u,r=f):(typeof i.componentDidUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return Bs(e,t,n,r,s,l)}function Bs(e,t,n,r,l,s){rc(e,t);var i=(t.flags&128)!==0;if(!r&&!i)return l&&Mi(t,n,!1),nt(e,t,s);r=t.stateNode,Of.current=t;var a=i&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&i?(t.child=cn(t,e.child,null,s),t.child=cn(t,null,a,s)):me(e,t,a,s),t.memoizedState=r.state,l&&Mi(t,n,!0),t.child}function lc(e){var t=e.stateNode;t.pendingContext?Ti(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Ti(e,t.context,!1),To(e,t.containerInfo)}function Yi(e,t,n,r,l){return un(),Co(l),t.flags|=256,me(e,t,n,r),t.child}var Vs={dehydrated:null,treeContext:null,retryLane:0};function Hs(e){return{baseLanes:e,cachePool:null,transitions:null}}function sc(e,t,n){var r=t.pendingProps,l=K.current,s=!1,i=(t.flags&128)!==0,a;if((a=i)||(a=e!==null&&e.memoizedState===null?!1:(l&2)!==0),a?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),V(K,l&1),e===null)return Os(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(i=r.children,e=r.fallback,s?(r=t.mode,s=t.child,i={mode:"hidden",children:i},!(r&1)&&s!==null?(s.childLanes=0,s.pendingProps=i):s=El(i,r,0,null),e=Rt(e,r,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Hs(n),t.memoizedState=Vs,e):Ao(t,i));if(l=e.memoizedState,l!==null&&(a=l.dehydrated,a!==null))return Ff(e,t,i,r,a,l,n);if(s){s=r.fallback,i=t.mode,l=e.child,a=l.sibling;var u={mode:"hidden",children:r.children};return!(i&1)&&t.child!==l?(r=t.child,r.childLanes=0,r.pendingProps=u,t.deletions=null):(r=vt(l,u),r.subtreeFlags=l.subtreeFlags&14680064),a!==null?s=vt(a,s):(s=Rt(s,i,n,null),s.flags|=2),s.return=t,r.return=t,r.sibling=s,t.child=r,r=s,s=t.child,i=e.child.memoizedState,i=i===null?Hs(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},s.memoizedState=i,s.childLanes=e.childLanes&~n,t.memoizedState=Vs,r}return s=e.child,e=s.sibling,r=vt(s,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Ao(e,t){return t=El({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Er(e,t,n,r){return r!==null&&Co(r),cn(t,e.child,null,n),e=Ao(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Ff(e,t,n,r,l,s,i){if(n)return t.flags&256?(t.flags&=-257,r=es(Error(w(422))),Er(e,t,i,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=r.fallback,l=t.mode,r=El({mode:"visible",children:r.children},l,0,null),s=Rt(s,l,i,null),s.flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,t.mode&1&&cn(t,e.child,null,i),t.child.memoizedState=Hs(i),t.memoizedState=Vs,s);if(!(t.mode&1))return Er(e,t,i,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var a=r.dgst;return r=a,s=Error(w(419)),r=es(s,r,void 0),Er(e,t,i,r)}if(a=(i&e.childLanes)!==0,we||a){if(r=se,r!==null){switch(i&-i){case 4:l=2;break;case 16:l=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:l=32;break;case 536870912:l=268435456;break;default:l=0}l=l&(r.suspendedLanes|i)?0:l,l!==0&&l!==s.retryLane&&(s.retryLane=l,tt(e,l),$e(r,e,l,-1))}return Qo(),r=es(Error(w(421))),Er(e,t,i,r)}return l.data==="$?"?(t.flags|=128,t.child=e.child,t=qf.bind(null,e),l._reactRetry=t,null):(e=s.treeContext,Ce=mt(l.nextSibling),Ee=t,W=!0,Ae=null,e!==null&&(Le[Te++]=qe,Le[Te++]=Ge,Le[Te++]=bt,qe=e.id,Ge=e.overflow,bt=t),t=Ao(t,r.children),t.flags|=4096,t)}function Xi(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Fs(e.return,t,n)}function ts(e,t,n,r,l){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:l}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=n,s.tailMode=l)}function oc(e,t,n){var r=t.pendingProps,l=r.revealOrder,s=r.tail;if(me(e,t,r.children,n),r=K.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Xi(e,n,t);else if(e.tag===19)Xi(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(V(K,r),!(t.mode&1))t.memoizedState=null;else switch(l){case"forwards":for(n=t.child,l=null;n!==null;)e=n.alternate,e!==null&&sl(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),ts(t,!1,l,n,s);break;case"backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&sl(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}ts(t,!0,n,null,s);break;case"together":ts(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Dr(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function nt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Ft|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(w(153));if(t.child!==null){for(e=t.child,n=vt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=vt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Df(e,t,n){switch(t.tag){case 3:lc(t),un();break;case 5:Mu(t);break;case 1:je(t.type)&&Jr(t);break;case 4:To(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,l=t.memoizedProps.value;V(nl,r._currentValue),r._currentValue=l;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(V(K,K.current&1),t.flags|=128,null):n&t.child.childLanes?sc(e,t,n):(V(K,K.current&1),e=nt(e,t,n),e!==null?e.sibling:null);V(K,K.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return oc(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),V(K,K.current),r)break;return null;case 22:case 23:return t.lanes=0,nc(e,t,n)}return nt(e,t,n)}var ic,Qs,ac,uc;ic=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Qs=function(){};ac=function(e,t,n,r){var l=e.memoizedProps;if(l!==r){e=t.stateNode,Lt(Ke.current);var s=null;switch(n){case"input":l=ps(e,l),r=ps(e,r),s=[];break;case"select":l=X({},l,{value:void 0}),r=X({},r,{value:void 0}),s=[];break;case"textarea":l=gs(e,l),r=gs(e,r),s=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Gr)}vs(n,r);var i;n=null;for(f in l)if(!r.hasOwnProperty(f)&&l.hasOwnProperty(f)&&l[f]!=null)if(f==="style"){var a=l[f];for(i in a)a.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else f!=="dangerouslySetInnerHTML"&&f!=="children"&&f!=="suppressContentEditableWarning"&&f!=="suppressHydrationWarning"&&f!=="autoFocus"&&(Un.hasOwnProperty(f)?s||(s=[]):(s=s||[]).push(f,null));for(f in r){var u=r[f];if(a=l!=null?l[f]:void 0,r.hasOwnProperty(f)&&u!==a&&(u!=null||a!=null))if(f==="style")if(a){for(i in a)!a.hasOwnProperty(i)||u&&u.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in u)u.hasOwnProperty(i)&&a[i]!==u[i]&&(n||(n={}),n[i]=u[i])}else n||(s||(s=[]),s.push(f,n)),n=u;else f==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,a=a?a.__html:void 0,u!=null&&a!==u&&(s=s||[]).push(f,u)):f==="children"?typeof u!="string"&&typeof u!="number"||(s=s||[]).push(f,""+u):f!=="suppressContentEditableWarning"&&f!=="suppressHydrationWarning"&&(Un.hasOwnProperty(f)?(u!=null&&f==="onScroll"&&H("scroll",e),s||a===u||(s=[])):(s=s||[]).push(f,u))}n&&(s=s||[]).push("style",n);var f=s;(t.updateQueue=f)&&(t.flags|=4)}};uc=function(e,t,n,r){n!==r&&(t.flags|=4)};function Nn(e,t){if(!W)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function de(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags&14680064,r|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Af(e,t,n){var r=t.pendingProps;switch(So(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return de(t),null;case 1:return je(t.type)&&Zr(),de(t),null;case 3:return r=t.stateNode,dn(),Q(ke),Q(pe),Ro(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Sr(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ae!==null&&(Js(Ae),Ae=null))),Qs(e,t),de(t),null;case 5:Mo(t);var l=Lt(Zn.current);if(n=t.type,e!==null&&t.stateNode!=null)ac(e,t,n,r,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(w(166));return de(t),null}if(e=Lt(Ke.current),Sr(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[Qe]=t,r[qn]=s,e=(t.mode&1)!==0,n){case"dialog":H("cancel",r),H("close",r);break;case"iframe":case"object":case"embed":H("load",r);break;case"video":case"audio":for(l=0;l<zn.length;l++)H(zn[l],r);break;case"source":H("error",r);break;case"img":case"image":case"link":H("error",r),H("load",r);break;case"details":H("toggle",r);break;case"input":li(r,s),H("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},H("invalid",r);break;case"textarea":oi(r,s),H("invalid",r)}vs(n,s),l=null;for(var i in s)if(s.hasOwnProperty(i)){var a=s[i];i==="children"?typeof a=="string"?r.textContent!==a&&(s.suppressHydrationWarning!==!0&&Nr(r.textContent,a,e),l=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(s.suppressHydrationWarning!==!0&&Nr(r.textContent,a,e),l=["children",""+a]):Un.hasOwnProperty(i)&&a!=null&&i==="onScroll"&&H("scroll",r)}switch(n){case"input":hr(r),si(r,s,!0);break;case"textarea":hr(r),ii(r);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(r.onclick=Gr)}r=l,t.updateQueue=r,r!==null&&(t.flags|=4)}else{i=l.nodeType===9?l:l.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Fa(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Qe]=t,e[qn]=r,ic(e,t,!1,!1),t.stateNode=e;e:{switch(i=xs(n,r),n){case"dialog":H("cancel",e),H("close",e),l=r;break;case"iframe":case"object":case"embed":H("load",e),l=r;break;case"video":case"audio":for(l=0;l<zn.length;l++)H(zn[l],e);l=r;break;case"source":H("error",e),l=r;break;case"img":case"image":case"link":H("error",e),H("load",e),l=r;break;case"details":H("toggle",e),l=r;break;case"input":li(e,r),l=ps(e,r),H("invalid",e);break;case"option":l=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=X({},r,{value:void 0}),H("invalid",e);break;case"textarea":oi(e,r),l=gs(e,r),H("invalid",e);break;default:l=r}vs(n,l),a=l;for(s in a)if(a.hasOwnProperty(s)){var u=a[s];s==="style"?Ua(e,u):s==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,u!=null&&Da(e,u)):s==="children"?typeof u=="string"?(n!=="textarea"||u!=="")&&$n(e,u):typeof u=="number"&&$n(e,""+u):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(Un.hasOwnProperty(s)?u!=null&&s==="onScroll"&&H("scroll",e):u!=null&&ao(e,s,u,i))}switch(n){case"input":hr(e),si(e,r,!1);break;case"textarea":hr(e),ii(e);break;case"option":r.value!=null&&e.setAttribute("value",""+xt(r.value));break;case"select":e.multiple=!!r.multiple,s=r.value,s!=null?en(e,!!r.multiple,s,!1):r.defaultValue!=null&&en(e,!!r.multiple,r.defaultValue,!0);break;default:typeof l.onClick=="function"&&(e.onclick=Gr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return de(t),null;case 6:if(e&&t.stateNode!=null)uc(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(w(166));if(n=Lt(Zn.current),Lt(Ke.current),Sr(t)){if(r=t.stateNode,n=t.memoizedProps,r[Qe]=t,(s=r.nodeValue!==n)&&(e=Ee,e!==null))switch(e.tag){case 3:Nr(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Nr(r.nodeValue,n,(e.mode&1)!==0)}s&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Qe]=t,t.stateNode=r}return de(t),null;case 13:if(Q(K),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(W&&Ce!==null&&t.mode&1&&!(t.flags&128))Pu(),un(),t.flags|=98560,s=!1;else if(s=Sr(t),r!==null&&r.dehydrated!==null){if(e===null){if(!s)throw Error(w(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(w(317));s[Qe]=t}else un(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;de(t),s=!1}else Ae!==null&&(Js(Ae),Ae=null),s=!0;if(!s)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||K.current&1?ne===0&&(ne=3):Qo())),t.updateQueue!==null&&(t.flags|=4),de(t),null);case 4:return dn(),Qs(e,t),e===null&&Yn(t.stateNode.containerInfo),de(t),null;case 10:return zo(t.type._context),de(t),null;case 17:return je(t.type)&&Zr(),de(t),null;case 19:if(Q(K),s=t.memoizedState,s===null)return de(t),null;if(r=(t.flags&128)!==0,i=s.rendering,i===null)if(r)Nn(s,!1);else{if(ne!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=sl(e),i!==null){for(t.flags|=128,Nn(s,!1),r=i.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)s=n,e=r,s.flags&=14680066,i=s.alternate,i===null?(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=i.childLanes,s.lanes=i.lanes,s.child=i.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=i.memoizedProps,s.memoizedState=i.memoizedState,s.updateQueue=i.updateQueue,s.type=i.type,e=i.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return V(K,K.current&1|2),t.child}e=e.sibling}s.tail!==null&&Z()>pn&&(t.flags|=128,r=!0,Nn(s,!1),t.lanes=4194304)}else{if(!r)if(e=sl(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Nn(s,!0),s.tail===null&&s.tailMode==="hidden"&&!i.alternate&&!W)return de(t),null}else 2*Z()-s.renderingStartTime>pn&&n!==1073741824&&(t.flags|=128,r=!0,Nn(s,!1),t.lanes=4194304);s.isBackwards?(i.sibling=t.child,t.child=i):(n=s.last,n!==null?n.sibling=i:t.child=i,s.last=i)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=Z(),t.sibling=null,n=K.current,V(K,r?n&1|2:n&1),t):(de(t),null);case 22:case 23:return Ho(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Se&1073741824&&(de(t),t.subtreeFlags&6&&(t.flags|=8192)):de(t),null;case 24:return null;case 25:return null}throw Error(w(156,t.tag))}function Uf(e,t){switch(So(t),t.tag){case 1:return je(t.type)&&Zr(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return dn(),Q(ke),Q(pe),Ro(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Mo(t),null;case 13:if(Q(K),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(w(340));un()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Q(K),null;case 4:return dn(),null;case 10:return zo(t.type._context),null;case 22:case 23:return Ho(),null;case 24:return null;default:return null}}var Pr=!1,fe=!1,$f=typeof WeakSet=="function"?WeakSet:Set,L=null;function Zt(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){q(e,t,r)}else n.current=null}function Ws(e,t,n){try{n()}catch(r){q(e,t,r)}}var qi=!1;function Bf(e,t){if(_s=Yr,e=mu(),jo(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var i=0,a=-1,u=-1,f=0,p=0,g=e,h=null;t:for(;;){for(var y;g!==n||l!==0&&g.nodeType!==3||(a=i+l),g!==s||r!==0&&g.nodeType!==3||(u=i+r),g.nodeType===3&&(i+=g.nodeValue.length),(y=g.firstChild)!==null;)h=g,g=y;for(;;){if(g===e)break t;if(h===n&&++f===l&&(a=i),h===s&&++p===r&&(u=i),(y=g.nextSibling)!==null)break;g=h,h=g.parentNode}g=y}n=a===-1||u===-1?null:{start:a,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ls={focusedElem:e,selectionRange:n},Yr=!1,L=t;L!==null;)if(t=L,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,L=e;else for(;L!==null;){t=L;try{var x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var k=x.memoizedProps,M=x.memoizedState,d=t.stateNode,c=d.getSnapshotBeforeUpdate(t.elementType===t.type?k:Fe(t.type,k),M);d.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(w(163))}}catch(v){q(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,L=e;break}L=t.return}return x=qi,qi=!1,x}function Fn(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var s=l.destroy;l.destroy=void 0,s!==void 0&&Ws(t,n,s)}l=l.next}while(l!==r)}}function Sl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==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 Ks(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function cc(e){var t=e.alternate;t!==null&&(e.alternate=null,cc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Qe],delete t[qn],delete t[Rs],delete t[Sf],delete t[Cf])),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 dc(e){return e.tag===5||e.tag===3||e.tag===4}function Gi(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||dc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ys(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Gr));else if(r!==4&&(e=e.child,e!==null))for(Ys(e,t,n),e=e.sibling;e!==null;)Ys(e,t,n),e=e.sibling}function Xs(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Xs(e,t,n),e=e.sibling;e!==null;)Xs(e,t,n),e=e.sibling}var ie=null,De=!1;function lt(e,t,n){for(n=n.child;n!==null;)fc(e,t,n),n=n.sibling}function fc(e,t,n){if(We&&typeof We.onCommitFiberUnmount=="function")try{We.onCommitFiberUnmount(gl,n)}catch{}switch(n.tag){case 5:fe||Zt(n,t);case 6:var r=ie,l=De;ie=null,lt(e,t,n),ie=r,De=l,ie!==null&&(De?(e=ie,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ie.removeChild(n.stateNode));break;case 18:ie!==null&&(De?(e=ie,n=n.stateNode,e.nodeType===8?Yl(e.parentNode,n):e.nodeType===1&&Yl(e,n),Qn(e)):Yl(ie,n.stateNode));break;case 4:r=ie,l=De,ie=n.stateNode.containerInfo,De=!0,lt(e,t,n),ie=r,De=l;break;case 0:case 11:case 14:case 15:if(!fe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var s=l,i=s.destroy;s=s.tag,i!==void 0&&(s&2||s&4)&&Ws(n,t,i),l=l.next}while(l!==r)}lt(e,t,n);break;case 1:if(!fe&&(Zt(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){q(n,t,a)}lt(e,t,n);break;case 21:lt(e,t,n);break;case 22:n.mode&1?(fe=(r=fe)||n.memoizedState!==null,lt(e,t,n),fe=r):lt(e,t,n);break;default:lt(e,t,n)}}function Zi(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new $f),t.forEach(function(r){var l=Gf.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Oe(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var l=n[r];try{var s=e,i=t,a=i;e:for(;a!==null;){switch(a.tag){case 5:ie=a.stateNode,De=!1;break e;case 3:ie=a.stateNode.containerInfo,De=!0;break e;case 4:ie=a.stateNode.containerInfo,De=!0;break e}a=a.return}if(ie===null)throw Error(w(160));fc(s,i,l),ie=null,De=!1;var u=l.alternate;u!==null&&(u.return=null),l.return=null}catch(f){q(l,t,f)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)pc(t,e),t=t.sibling}function pc(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Oe(t,e),Ve(e),r&4){try{Fn(3,e,e.return),Sl(3,e)}catch(k){q(e,e.return,k)}try{Fn(5,e,e.return)}catch(k){q(e,e.return,k)}}break;case 1:Oe(t,e),Ve(e),r&512&&n!==null&&Zt(n,n.return);break;case 5:if(Oe(t,e),Ve(e),r&512&&n!==null&&Zt(n,n.return),e.flags&32){var l=e.stateNode;try{$n(l,"")}catch(k){q(e,e.return,k)}}if(r&4&&(l=e.stateNode,l!=null)){var s=e.memoizedProps,i=n!==null?n.memoizedProps:s,a=e.type,u=e.updateQueue;if(e.updateQueue=null,u!==null)try{a==="input"&&s.type==="radio"&&s.name!=null&&ba(l,s),xs(a,i);var f=xs(a,s);for(i=0;i<u.length;i+=2){var p=u[i],g=u[i+1];p==="style"?Ua(l,g):p==="dangerouslySetInnerHTML"?Da(l,g):p==="children"?$n(l,g):ao(l,p,g,f)}switch(a){case"input":ms(l,s);break;case"textarea":Oa(l,s);break;case"select":var h=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!s.multiple;var y=s.value;y!=null?en(l,!!s.multiple,y,!1):h!==!!s.multiple&&(s.defaultValue!=null?en(l,!!s.multiple,s.defaultValue,!0):en(l,!!s.multiple,s.multiple?[]:"",!1))}l[qn]=s}catch(k){q(e,e.return,k)}}break;case 6:if(Oe(t,e),Ve(e),r&4){if(e.stateNode===null)throw Error(w(162));l=e.stateNode,s=e.memoizedProps;try{l.nodeValue=s}catch(k){q(e,e.return,k)}}break;case 3:if(Oe(t,e),Ve(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Qn(t.containerInfo)}catch(k){q(e,e.return,k)}break;case 4:Oe(t,e),Ve(e);break;case 13:Oe(t,e),Ve(e),l=e.child,l.flags&8192&&(s=l.memoizedState!==null,l.stateNode.isHidden=s,!s||l.alternate!==null&&l.alternate.memoizedState!==null||(Bo=Z())),r&4&&Zi(e);break;case 22:if(p=n!==null&&n.memoizedState!==null,e.mode&1?(fe=(f=fe)||p,Oe(t,e),fe=f):Oe(t,e),Ve(e),r&8192){if(f=e.memoizedState!==null,(e.stateNode.isHidden=f)&&!p&&e.mode&1)for(L=e,p=e.child;p!==null;){for(g=L=p;L!==null;){switch(h=L,y=h.child,h.tag){case 0:case 11:case 14:case 15:Fn(4,h,h.return);break;case 1:Zt(h,h.return);var x=h.stateNode;if(typeof x.componentWillUnmount=="function"){r=h,n=h.return;try{t=r,x.props=t.memoizedProps,x.state=t.memoizedState,x.componentWillUnmount()}catch(k){q(r,n,k)}}break;case 5:Zt(h,h.return);break;case 22:if(h.memoizedState!==null){ea(g);continue}}y!==null?(y.return=h,L=y):ea(g)}p=p.sibling}e:for(p=null,g=e;;){if(g.tag===5){if(p===null){p=g;try{l=g.stateNode,f?(s=l.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(a=g.stateNode,u=g.memoizedProps.style,i=u!=null&&u.hasOwnProperty("display")?u.display:null,a.style.display=Aa("display",i))}catch(k){q(e,e.return,k)}}}else if(g.tag===6){if(p===null)try{g.stateNode.nodeValue=f?"":g.memoizedProps}catch(k){q(e,e.return,k)}}else if((g.tag!==22&&g.tag!==23||g.memoizedState===null||g===e)&&g.child!==null){g.child.return=g,g=g.child;continue}if(g===e)break e;for(;g.sibling===null;){if(g.return===null||g.return===e)break e;p===g&&(p=null),g=g.return}p===g&&(p=null),g.sibling.return=g.return,g=g.sibling}}break;case 19:Oe(t,e),Ve(e),r&4&&Zi(e);break;case 21:break;default:Oe(t,e),Ve(e)}}function Ve(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(dc(n)){var r=n;break e}n=n.return}throw Error(w(160))}switch(r.tag){case 5:var l=r.stateNode;r.flags&32&&($n(l,""),r.flags&=-33);var s=Gi(e);Xs(e,s,l);break;case 3:case 4:var i=r.stateNode.containerInfo,a=Gi(e);Ys(e,a,i);break;default:throw Error(w(161))}}catch(u){q(e,e.return,u)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Vf(e,t,n){L=e,mc(e)}function mc(e,t,n){for(var r=(e.mode&1)!==0;L!==null;){var l=L,s=l.child;if(l.tag===22&&r){var i=l.memoizedState!==null||Pr;if(!i){var a=l.alternate,u=a!==null&&a.memoizedState!==null||fe;a=Pr;var f=fe;if(Pr=i,(fe=u)&&!f)for(L=l;L!==null;)i=L,u=i.child,i.tag===22&&i.memoizedState!==null?ta(l):u!==null?(u.return=i,L=u):ta(l);for(;s!==null;)L=s,mc(s),s=s.sibling;L=l,Pr=a,fe=f}Ji(e)}else l.subtreeFlags&8772&&s!==null?(s.return=l,L=s):Ji(e)}}function Ji(e){for(;L!==null;){var t=L;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:fe||Sl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!fe)if(n===null)r.componentDidMount();else{var l=t.elementType===t.type?n.memoizedProps:Fe(t.type,n.memoizedProps);r.componentDidUpdate(l,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;s!==null&&Fi(t,s,r);break;case 3:var i=t.updateQueue;if(i!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Fi(t,i,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var f=t.alternate;if(f!==null){var p=f.memoizedState;if(p!==null){var g=p.dehydrated;g!==null&&Qn(g)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(w(163))}fe||t.flags&512&&Ks(t)}catch(h){q(t,t.return,h)}}if(t===e){L=null;break}if(n=t.sibling,n!==null){n.return=t.return,L=n;break}L=t.return}}function ea(e){for(;L!==null;){var t=L;if(t===e){L=null;break}var n=t.sibling;if(n!==null){n.return=t.return,L=n;break}L=t.return}}function ta(e){for(;L!==null;){var t=L;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Sl(4,t)}catch(u){q(t,n,u)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var l=t.return;try{r.componentDidMount()}catch(u){q(t,l,u)}}var s=t.return;try{Ks(t)}catch(u){q(t,s,u)}break;case 5:var i=t.return;try{Ks(t)}catch(u){q(t,i,u)}}}catch(u){q(t,t.return,u)}if(t===e){L=null;break}var a=t.sibling;if(a!==null){a.return=t.return,L=a;break}L=t.return}}var Hf=Math.ceil,al=rt.ReactCurrentDispatcher,Uo=rt.ReactCurrentOwner,Re=rt.ReactCurrentBatchConfig,F=0,se=null,J=null,ae=0,Se=0,Jt=jt(0),ne=0,nr=null,Ft=0,Cl=0,$o=0,Dn=null,xe=null,Bo=0,pn=1/0,Ye=null,ul=!1,qs=null,gt=null,zr=!1,ct=null,cl=0,An=0,Gs=null,Ar=-1,Ur=0;function ge(){return F&6?Z():Ar!==-1?Ar:Ar=Z()}function yt(e){return e.mode&1?F&2&&ae!==0?ae&-ae:Pf.transition!==null?(Ur===0&&(Ur=Za()),Ur):(e=A,e!==0||(e=window.event,e=e===void 0?16:su(e.type)),e):1}function $e(e,t,n,r){if(50<An)throw An=0,Gs=null,Error(w(185));ir(e,n,r),(!(F&2)||e!==se)&&(e===se&&(!(F&2)&&(Cl|=n),ne===4&&at(e,ae)),Ne(e,r),n===1&&F===0&&!(t.mode&1)&&(pn=Z()+500,kl&&Nt()))}function Ne(e,t){var n=e.callbackNode;Ed(e,t);var r=Kr(e,e===se?ae:0);if(r===0)n!==null&&ci(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&ci(n),t===1)e.tag===0?Ef(na.bind(null,e)):Su(na.bind(null,e)),jf(function(){!(F&6)&&Nt()}),n=null;else{switch(Ja(r)){case 1:n=mo;break;case 4:n=qa;break;case 16:n=Wr;break;case 536870912:n=Ga;break;default:n=Wr}n=jc(n,hc.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function hc(e,t){if(Ar=-1,Ur=0,F&6)throw Error(w(327));var n=e.callbackNode;if(sn()&&e.callbackNode!==n)return null;var r=Kr(e,e===se?ae:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=dl(e,r);else{t=r;var l=F;F|=2;var s=yc();(se!==e||ae!==t)&&(Ye=null,pn=Z()+500,Mt(e,t));do try{Kf();break}catch(a){gc(e,a)}while(!0);Po(),al.current=s,F=l,J!==null?t=0:(se=null,ae=0,t=ne)}if(t!==0){if(t===2&&(l=Ss(e),l!==0&&(r=l,t=Zs(e,l))),t===1)throw n=nr,Mt(e,0),at(e,r),Ne(e,Z()),n;if(t===6)at(e,r);else{if(l=e.current.alternate,!(r&30)&&!Qf(l)&&(t=dl(e,r),t===2&&(s=Ss(e),s!==0&&(r=s,t=Zs(e,s))),t===1))throw n=nr,Mt(e,0),at(e,r),Ne(e,Z()),n;switch(e.finishedWork=l,e.finishedLanes=r,t){case 0:case 1:throw Error(w(345));case 2:Pt(e,xe,Ye);break;case 3:if(at(e,r),(r&130023424)===r&&(t=Bo+500-Z(),10<t)){if(Kr(e,0)!==0)break;if(l=e.suspendedLanes,(l&r)!==r){ge(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=Ms(Pt.bind(null,e,xe,Ye),t);break}Pt(e,xe,Ye);break;case 4:if(at(e,r),(r&4194240)===r)break;for(t=e.eventTimes,l=-1;0<r;){var i=31-Ue(r);s=1<<i,i=t[i],i>l&&(l=i),r&=~s}if(r=l,r=Z()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Hf(r/1960))-r,10<r){e.timeoutHandle=Ms(Pt.bind(null,e,xe,Ye),r);break}Pt(e,xe,Ye);break;case 5:Pt(e,xe,Ye);break;default:throw Error(w(329))}}}return Ne(e,Z()),e.callbackNode===n?hc.bind(null,e):null}function Zs(e,t){var n=Dn;return e.current.memoizedState.isDehydrated&&(Mt(e,t).flags|=256),e=dl(e,t),e!==2&&(t=xe,xe=n,t!==null&&Js(t)),e}function Js(e){xe===null?xe=e:xe.push.apply(xe,e)}function Qf(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var l=n[r],s=l.getSnapshot;l=l.value;try{if(!Be(s(),l))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function at(e,t){for(t&=~$o,t&=~Cl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ue(t),r=1<<n;e[n]=-1,t&=~r}}function na(e){if(F&6)throw Error(w(327));sn();var t=Kr(e,0);if(!(t&1))return Ne(e,Z()),null;var n=dl(e,t);if(e.tag!==0&&n===2){var r=Ss(e);r!==0&&(t=r,n=Zs(e,r))}if(n===1)throw n=nr,Mt(e,0),at(e,t),Ne(e,Z()),n;if(n===6)throw Error(w(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Pt(e,xe,Ye),Ne(e,Z()),null}function Vo(e,t){var n=F;F|=1;try{return e(t)}finally{F=n,F===0&&(pn=Z()+500,kl&&Nt())}}function Dt(e){ct!==null&&ct.tag===0&&!(F&6)&&sn();var t=F;F|=1;var n=Re.transition,r=A;try{if(Re.transition=null,A=1,e)return e()}finally{A=r,Re.transition=n,F=t,!(F&6)&&Nt()}}function Ho(){Se=Jt.current,Q(Jt)}function Mt(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,kf(n)),J!==null)for(n=J.return;n!==null;){var r=n;switch(So(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Zr();break;case 3:dn(),Q(ke),Q(pe),Ro();break;case 5:Mo(r);break;case 4:dn();break;case 13:Q(K);break;case 19:Q(K);break;case 10:zo(r.type._context);break;case 22:case 23:Ho()}n=n.return}if(se=e,J=e=vt(e.current,null),ae=Se=t,ne=0,nr=null,$o=Cl=Ft=0,xe=Dn=null,_t!==null){for(t=0;t<_t.length;t++)if(n=_t[t],r=n.interleaved,r!==null){n.interleaved=null;var l=r.next,s=n.pending;if(s!==null){var i=s.next;s.next=l,r.next=i}n.pending=r}_t=null}return e}function gc(e,t){do{var n=J;try{if(Po(),Or.current=il,ol){for(var r=Y.memoizedState;r!==null;){var l=r.queue;l!==null&&(l.pending=null),r=r.next}ol=!1}if(Ot=0,le=te=Y=null,On=!1,Jn=0,Uo.current=null,n===null||n.return===null){ne=1,nr=t,J=null;break}e:{var s=e,i=n.return,a=n,u=t;if(t=ae,a.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){var f=u,p=a,g=p.tag;if(!(p.mode&1)&&(g===0||g===11||g===15)){var h=p.alternate;h?(p.updateQueue=h.updateQueue,p.memoizedState=h.memoizedState,p.lanes=h.lanes):(p.updateQueue=null,p.memoizedState=null)}var y=Vi(i);if(y!==null){y.flags&=-257,Hi(y,i,a,s,t),y.mode&1&&Bi(s,f,t),t=y,u=f;var x=t.updateQueue;if(x===null){var k=new Set;k.add(u),t.updateQueue=k}else x.add(u);break e}else{if(!(t&1)){Bi(s,f,t),Qo();break e}u=Error(w(426))}}else if(W&&a.mode&1){var M=Vi(i);if(M!==null){!(M.flags&65536)&&(M.flags|=256),Hi(M,i,a,s,t),Co(fn(u,a));break e}}s=u=fn(u,a),ne!==4&&(ne=2),Dn===null?Dn=[s]:Dn.push(s),s=i;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t;var d=Ju(s,u,t);Oi(s,d);break e;case 1:a=u;var c=s.type,m=s.stateNode;if(!(s.flags&128)&&(typeof c.getDerivedStateFromError=="function"||m!==null&&typeof m.componentDidCatch=="function"&&(gt===null||!gt.has(m)))){s.flags|=65536,t&=-t,s.lanes|=t;var v=ec(s,a,t);Oi(s,v);break e}}s=s.return}while(s!==null)}xc(n)}catch(C){t=C,J===n&&n!==null&&(J=n=n.return);continue}break}while(!0)}function yc(){var e=al.current;return al.current=il,e===null?il:e}function Qo(){(ne===0||ne===3||ne===2)&&(ne=4),se===null||!(Ft&268435455)&&!(Cl&268435455)||at(se,ae)}function dl(e,t){var n=F;F|=2;var r=yc();(se!==e||ae!==t)&&(Ye=null,Mt(e,t));do try{Wf();break}catch(l){gc(e,l)}while(!0);if(Po(),F=n,al.current=r,J!==null)throw Error(w(261));return se=null,ae=0,ne}function Wf(){for(;J!==null;)vc(J)}function Kf(){for(;J!==null&&!yd();)vc(J)}function vc(e){var t=kc(e.alternate,e,Se);e.memoizedProps=e.pendingProps,t===null?xc(e):J=t,Uo.current=null}function xc(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=Uf(n,t),n!==null){n.flags&=32767,J=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{ne=6,J=null;return}}else if(n=Af(n,t,Se),n!==null){J=n;return}if(t=t.sibling,t!==null){J=t;return}J=t=e}while(t!==null);ne===0&&(ne=5)}function Pt(e,t,n){var r=A,l=Re.transition;try{Re.transition=null,A=1,Yf(e,t,n,r)}finally{Re.transition=l,A=r}return null}function Yf(e,t,n,r){do sn();while(ct!==null);if(F&6)throw Error(w(327));n=e.finishedWork;var l=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(w(177));e.callbackNode=null,e.callbackPriority=0;var s=n.lanes|n.childLanes;if(Pd(e,s),e===se&&(J=se=null,ae=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||zr||(zr=!0,jc(Wr,function(){return sn(),null})),s=(n.flags&15990)!==0,n.subtreeFlags&15990||s){s=Re.transition,Re.transition=null;var i=A;A=1;var a=F;F|=4,Uo.current=null,Bf(e,n),pc(n,e),mf(Ls),Yr=!!_s,Ls=_s=null,e.current=n,Vf(n),vd(),F=a,A=i,Re.transition=s}else e.current=n;if(zr&&(zr=!1,ct=e,cl=l),s=e.pendingLanes,s===0&&(gt=null),kd(n.stateNode),Ne(e,Z()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)l=t[n],r(l.value,{componentStack:l.stack,digest:l.digest});if(ul)throw ul=!1,e=qs,qs=null,e;return cl&1&&e.tag!==0&&sn(),s=e.pendingLanes,s&1?e===Gs?An++:(An=0,Gs=e):An=0,Nt(),null}function sn(){if(ct!==null){var e=Ja(cl),t=Re.transition,n=A;try{if(Re.transition=null,A=16>e?16:e,ct===null)var r=!1;else{if(e=ct,ct=null,cl=0,F&6)throw Error(w(331));var l=F;for(F|=4,L=e.current;L!==null;){var s=L,i=s.child;if(L.flags&16){var a=s.deletions;if(a!==null){for(var u=0;u<a.length;u++){var f=a[u];for(L=f;L!==null;){var p=L;switch(p.tag){case 0:case 11:case 15:Fn(8,p,s)}var g=p.child;if(g!==null)g.return=p,L=g;else for(;L!==null;){p=L;var h=p.sibling,y=p.return;if(cc(p),p===f){L=null;break}if(h!==null){h.return=y,L=h;break}L=y}}}var x=s.alternate;if(x!==null){var k=x.child;if(k!==null){x.child=null;do{var M=k.sibling;k.sibling=null,k=M}while(k!==null)}}L=s}}if(s.subtreeFlags&2064&&i!==null)i.return=s,L=i;else e:for(;L!==null;){if(s=L,s.flags&2048)switch(s.tag){case 0:case 11:case 15:Fn(9,s,s.return)}var d=s.sibling;if(d!==null){d.return=s.return,L=d;break e}L=s.return}}var c=e.current;for(L=c;L!==null;){i=L;var m=i.child;if(i.subtreeFlags&2064&&m!==null)m.return=i,L=m;else e:for(i=c;L!==null;){if(a=L,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:Sl(9,a)}}catch(C){q(a,a.return,C)}if(a===i){L=null;break e}var v=a.sibling;if(v!==null){v.return=a.return,L=v;break e}L=a.return}}if(F=l,Nt(),We&&typeof We.onPostCommitFiberRoot=="function")try{We.onPostCommitFiberRoot(gl,e)}catch{}r=!0}return r}finally{A=n,Re.transition=t}}return!1}function ra(e,t,n){t=fn(n,t),t=Ju(e,t,1),e=ht(e,t,1),t=ge(),e!==null&&(ir(e,1,t),Ne(e,t))}function q(e,t,n){if(e.tag===3)ra(e,e,n);else for(;t!==null;){if(t.tag===3){ra(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(gt===null||!gt.has(r))){e=fn(n,e),e=ec(t,e,1),t=ht(t,e,1),e=ge(),t!==null&&(ir(t,1,e),Ne(t,e));break}}t=t.return}}function Xf(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=ge(),e.pingedLanes|=e.suspendedLanes&n,se===e&&(ae&n)===n&&(ne===4||ne===3&&(ae&130023424)===ae&&500>Z()-Bo?Mt(e,0):$o|=n),Ne(e,t)}function wc(e,t){t===0&&(e.mode&1?(t=vr,vr<<=1,!(vr&130023424)&&(vr=4194304)):t=1);var n=ge();e=tt(e,t),e!==null&&(ir(e,t,n),Ne(e,n))}function qf(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),wc(e,n)}function Gf(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(w(314))}r!==null&&r.delete(t),wc(e,n)}var kc;kc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ke.current)we=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return we=!1,Df(e,t,n);we=!!(e.flags&131072)}else we=!1,W&&t.flags&1048576&&Cu(t,tl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Dr(e,t),e=t.pendingProps;var l=an(t,pe.current);ln(t,n),l=bo(null,t,r,e,l,n);var s=Oo();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,je(r)?(s=!0,Jr(t)):s=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Lo(t),l.updater=Nl,t.stateNode=l,l._reactInternals=t,As(t,r,e,n),t=Bs(null,t,r,!0,s,n)):(t.tag=0,W&&s&&No(t),me(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Dr(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=Jf(r),e=Fe(r,e),l){case 0:t=$s(null,t,r,e,n);break e;case 1:t=Ki(null,t,r,e,n);break e;case 11:t=Qi(null,t,r,e,n);break e;case 14:t=Wi(null,t,r,Fe(r.type,e),n);break e}throw Error(w(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Fe(r,l),$s(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Fe(r,l),Ki(e,t,r,l,n);case 3:e:{if(lc(t),e===null)throw Error(w(387));r=t.pendingProps,s=t.memoizedState,l=s.element,Tu(e,t),ll(t,r,null,n);var i=t.memoizedState;if(r=i.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){l=fn(Error(w(423)),t),t=Yi(e,t,r,n,l);break e}else if(r!==l){l=fn(Error(w(424)),t),t=Yi(e,t,r,n,l);break e}else for(Ce=mt(t.stateNode.containerInfo.firstChild),Ee=t,W=!0,Ae=null,n=_u(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(un(),r===l){t=nt(e,t,n);break e}me(e,t,r,n)}t=t.child}return t;case 5:return Mu(t),e===null&&Os(t),r=t.type,l=t.pendingProps,s=e!==null?e.memoizedProps:null,i=l.children,Ts(r,l)?i=null:s!==null&&Ts(r,s)&&(t.flags|=32),rc(e,t),me(e,t,i,n),t.child;case 6:return e===null&&Os(t),null;case 13:return sc(e,t,n);case 4:return To(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=cn(t,null,r,n):me(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Fe(r,l),Qi(e,t,r,l,n);case 7:return me(e,t,t.pendingProps,n),t.child;case 8:return me(e,t,t.pendingProps.children,n),t.child;case 12:return me(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,s=t.memoizedProps,i=l.value,V(nl,r._currentValue),r._currentValue=i,s!==null)if(Be(s.value,i)){if(s.children===l.children&&!ke.current){t=nt(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var a=s.dependencies;if(a!==null){i=s.child;for(var u=a.firstContext;u!==null;){if(u.context===r){if(s.tag===1){u=Ze(-1,n&-n),u.tag=2;var f=s.updateQueue;if(f!==null){f=f.shared;var p=f.pending;p===null?u.next=u:(u.next=p.next,p.next=u),f.pending=u}}s.lanes|=n,u=s.alternate,u!==null&&(u.lanes|=n),Fs(s.return,n,t),a.lanes|=n;break}u=u.next}}else if(s.tag===10)i=s.type===t.type?null:s.child;else if(s.tag===18){if(i=s.return,i===null)throw Error(w(341));i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),Fs(i,n,t),i=s.sibling}else i=s.child;if(i!==null)i.return=s;else for(i=s;i!==null;){if(i===t){i=null;break}if(s=i.sibling,s!==null){s.return=i.return,i=s;break}i=i.return}s=i}me(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,ln(t,n),l=Ie(l),r=r(l),t.flags|=1,me(e,t,r,n),t.child;case 14:return r=t.type,l=Fe(r,t.pendingProps),l=Fe(r.type,l),Wi(e,t,r,l,n);case 15:return tc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Fe(r,l),Dr(e,t),t.tag=1,je(r)?(e=!0,Jr(t)):e=!1,ln(t,n),Zu(t,r,l),As(t,r,l,n),Bs(null,t,r,!0,e,n);case 19:return oc(e,t,n);case 22:return nc(e,t,n)}throw Error(w(156,t.tag))};function jc(e,t){return Xa(e,t)}function Zf(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 Me(e,t,n,r){return new Zf(e,t,n,r)}function Wo(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Jf(e){if(typeof e=="function")return Wo(e)?1:0;if(e!=null){if(e=e.$$typeof,e===co)return 11;if(e===fo)return 14}return 2}function vt(e,t){var n=e.alternate;return n===null?(n=Me(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function $r(e,t,n,r,l,s){var i=2;if(r=e,typeof e=="function")Wo(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Vt:return Rt(n.children,l,s,t);case uo:i=8,l|=8;break;case us:return e=Me(12,n,t,l|2),e.elementType=us,e.lanes=s,e;case cs:return e=Me(13,n,t,l),e.elementType=cs,e.lanes=s,e;case ds:return e=Me(19,n,t,l),e.elementType=ds,e.lanes=s,e;case Ma:return El(n,l,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case La:i=10;break e;case Ta:i=9;break e;case co:i=11;break e;case fo:i=14;break e;case st:i=16,r=null;break e}throw Error(w(130,e==null?e:typeof e,""))}return t=Me(i,n,t,l),t.elementType=e,t.type=r,t.lanes=s,t}function Rt(e,t,n,r){return e=Me(7,e,r,t),e.lanes=n,e}function El(e,t,n,r){return e=Me(22,e,r,t),e.elementType=Ma,e.lanes=n,e.stateNode={isHidden:!1},e}function ns(e,t,n){return e=Me(6,e,null,t),e.lanes=n,e}function rs(e,t,n){return t=Me(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ep(e,t,n,r,l){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=Fl(0),this.expirationTimes=Fl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Fl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Ko(e,t,n,r,l,s,i,a,u){return e=new ep(e,t,n,a,u),t===1?(t=1,s===!0&&(t|=8)):t=0,s=Me(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Lo(s),e}function tp(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Bt,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Nc(e){if(!e)return wt;e=e._reactInternals;e:{if(Ut(e)!==e||e.tag!==1)throw Error(w(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(je(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(w(171))}if(e.tag===1){var n=e.type;if(je(n))return Nu(e,n,t)}return t}function Sc(e,t,n,r,l,s,i,a,u){return e=Ko(n,r,!0,e,l,s,i,a,u),e.context=Nc(null),n=e.current,r=ge(),l=yt(n),s=Ze(r,l),s.callback=t??null,ht(n,s,l),e.current.lanes=l,ir(e,l,r),Ne(e,r),e}function Pl(e,t,n,r){var l=t.current,s=ge(),i=yt(l);return n=Nc(n),t.context===null?t.context=n:t.pendingContext=n,t=Ze(s,i),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=ht(l,t,i),e!==null&&($e(e,l,i,s),br(e,l,i)),i}function fl(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function la(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Yo(e,t){la(e,t),(e=e.alternate)&&la(e,t)}function np(){return null}var Cc=typeof reportError=="function"?reportError:function(e){console.error(e)};function Xo(e){this._internalRoot=e}zl.prototype.render=Xo.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(w(409));Pl(e,t,null,null)};zl.prototype.unmount=Xo.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Dt(function(){Pl(null,e,null,null)}),t[et]=null}};function zl(e){this._internalRoot=e}zl.prototype.unstable_scheduleHydration=function(e){if(e){var t=nu();e={blockedOn:null,target:e,priority:t};for(var n=0;n<it.length&&t!==0&&t<it[n].priority;n++);it.splice(n,0,e),n===0&&lu(e)}};function qo(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function _l(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function sa(){}function rp(e,t,n,r,l){if(l){if(typeof r=="function"){var s=r;r=function(){var f=fl(i);s.call(f)}}var i=Sc(t,r,e,0,null,!1,!1,"",sa);return e._reactRootContainer=i,e[et]=i.current,Yn(e.nodeType===8?e.parentNode:e),Dt(),i}for(;l=e.lastChild;)e.removeChild(l);if(typeof r=="function"){var a=r;r=function(){var f=fl(u);a.call(f)}}var u=Ko(e,0,!1,null,null,!1,!1,"",sa);return e._reactRootContainer=u,e[et]=u.current,Yn(e.nodeType===8?e.parentNode:e),Dt(function(){Pl(t,u,n,r)}),u}function Ll(e,t,n,r,l){var s=n._reactRootContainer;if(s){var i=s;if(typeof l=="function"){var a=l;l=function(){var u=fl(i);a.call(u)}}Pl(t,i,e,l)}else i=rp(n,t,e,l,r);return fl(i)}eu=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Pn(t.pendingLanes);n!==0&&(ho(t,n|1),Ne(t,Z()),!(F&6)&&(pn=Z()+500,Nt()))}break;case 13:Dt(function(){var r=tt(e,1);if(r!==null){var l=ge();$e(r,e,1,l)}}),Yo(e,1)}};go=function(e){if(e.tag===13){var t=tt(e,134217728);if(t!==null){var n=ge();$e(t,e,134217728,n)}Yo(e,134217728)}};tu=function(e){if(e.tag===13){var t=yt(e),n=tt(e,t);if(n!==null){var r=ge();$e(n,e,t,r)}Yo(e,t)}};nu=function(){return A};ru=function(e,t){var n=A;try{return A=e,t()}finally{A=n}};ks=function(e,t,n){switch(t){case"input":if(ms(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var l=wl(r);if(!l)throw Error(w(90));Ia(r),ms(r,l)}}}break;case"textarea":Oa(e,n);break;case"select":t=n.value,t!=null&&en(e,!!n.multiple,t,!1)}};Va=Vo;Ha=Dt;var lp={usingClientEntryPoint:!1,Events:[ur,Kt,wl,$a,Ba,Vo]},Sn={findFiberByHostInstance:zt,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},sp={bundleType:Sn.bundleType,version:Sn.version,rendererPackageName:Sn.rendererPackageName,rendererConfig:Sn.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:rt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Ka(e),e===null?null:e.stateNode},findFiberByHostInstance:Sn.findFiberByHostInstance||np,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var _r=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!_r.isDisabled&&_r.supportsFiber)try{gl=_r.inject(sp),We=_r}catch{}}ze.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=lp;ze.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!qo(t))throw Error(w(200));return tp(e,t,null,n)};ze.createRoot=function(e,t){if(!qo(e))throw Error(w(299));var n=!1,r="",l=Cc;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(l=t.onRecoverableError)),t=Ko(e,1,!1,null,null,n,!1,r,l),e[et]=t.current,Yn(e.nodeType===8?e.parentNode:e),new Xo(t)};ze.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(w(188)):(e=Object.keys(e).join(","),Error(w(268,e)));return e=Ka(t),e=e===null?null:e.stateNode,e};ze.flushSync=function(e){return Dt(e)};ze.hydrate=function(e,t,n){if(!_l(t))throw Error(w(200));return Ll(null,e,t,!0,n)};ze.hydrateRoot=function(e,t,n){if(!qo(e))throw Error(w(405));var r=n!=null&&n.hydratedSources||null,l=!1,s="",i=Cc;if(n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(i=n.onRecoverableError)),t=Sc(t,null,e,1,n??null,l,!1,s,i),e[et]=t.current,Yn(e),r)for(e=0;e<r.length;e++)n=r[e],l=n._getVersion,l=l(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,l]:t.mutableSourceEagerHydrationData.push(n,l);return new zl(t)};ze.render=function(e,t,n){if(!_l(t))throw Error(w(200));return Ll(null,e,t,!1,n)};ze.unmountComponentAtNode=function(e){if(!_l(e))throw Error(w(40));return e._reactRootContainer?(Dt(function(){Ll(null,null,e,!1,function(){e._reactRootContainer=null,e[et]=null})}),!0):!1};ze.unstable_batchedUpdates=Vo;ze.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!_l(n))throw Error(w(200));if(e==null||e._reactInternals===void 0)throw Error(w(38));return Ll(e,t,n,!1,r)};ze.version="18.3.1-next-f1338f8080-20240426";function Ec(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Ec)}catch(e){console.error(e)}}Ec(),Ea.exports=ze;var Go=Ea.exports,oa=Go;is.createRoot=oa.createRoot,is.hydrateRoot=oa.hydrateRoot;/**
|
|
41
|
-
* @license lucide-react v0.294.0 - ISC
|
|
42
|
-
*
|
|
43
|
-
* This source code is licensed under the ISC license.
|
|
44
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
45
|
-
*/var op={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
|
46
|
-
* @license lucide-react v0.294.0 - ISC
|
|
47
|
-
*
|
|
48
|
-
* This source code is licensed under the ISC license.
|
|
49
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
50
|
-
*/const ip=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),B=(e,t)=>{const n=E.forwardRef(({color:r="currentColor",size:l=24,strokeWidth:s=2,absoluteStrokeWidth:i,className:a="",children:u,...f},p)=>E.createElement("svg",{ref:p,...op,width:l,height:l,stroke:r,strokeWidth:i?Number(s)*24/Number(l):s,className:["lucide",`lucide-${ip(e)}`,a].join(" "),...f},[...t.map(([g,h])=>E.createElement(g,h)),...Array.isArray(u)?u:[u]]));return n.displayName=`${e}`,n};/**
|
|
51
|
-
* @license lucide-react v0.294.0 - ISC
|
|
52
|
-
*
|
|
53
|
-
* This source code is licensed under the ISC license.
|
|
54
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
55
|
-
*/const ap=B("AlertCircle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
|
|
56
|
-
* @license lucide-react v0.294.0 - ISC
|
|
57
|
-
*
|
|
58
|
-
* This source code is licensed under the ISC license.
|
|
59
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
60
|
-
*/const up=B("CheckCircle",[["path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14",key:"g774vq"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
|
|
61
|
-
* @license lucide-react v0.294.0 - ISC
|
|
62
|
-
*
|
|
63
|
-
* This source code is licensed under the ISC license.
|
|
64
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
65
|
-
*/const ls=B("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
|
|
66
|
-
* @license lucide-react v0.294.0 - ISC
|
|
67
|
-
*
|
|
68
|
-
* This source code is licensed under the ISC license.
|
|
69
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
70
|
-
*/const cp=B("Cpu",[["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"9",y:"9",width:"6",height:"6",key:"o3kz5p"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]]);/**
|
|
71
|
-
* @license lucide-react v0.294.0 - ISC
|
|
72
|
-
*
|
|
73
|
-
* This source code is licensed under the ISC license.
|
|
74
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
75
|
-
*/const rr=B("EyeOff",[["path",{d:"M9.88 9.88a3 3 0 1 0 4.24 4.24",key:"1jxqfv"}],["path",{d:"M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68",key:"9wicm4"}],["path",{d:"M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61",key:"1jreej"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]]);/**
|
|
76
|
-
* @license lucide-react v0.294.0 - ISC
|
|
77
|
-
*
|
|
78
|
-
* This source code is licensed under the ISC license.
|
|
79
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
80
|
-
*/const lr=B("Eye",[["path",{d:"M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z",key:"rwhkz3"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
|
|
81
|
-
* @license lucide-react v0.294.0 - ISC
|
|
82
|
-
*
|
|
83
|
-
* This source code is licensed under the ISC license.
|
|
84
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
85
|
-
*/const dp=B("FileText",[["path",{d:"M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z",key:"1nnpy2"}],["polyline",{points:"14 2 14 8 20 8",key:"1ew0cm"}],["line",{x1:"16",x2:"8",y1:"13",y2:"13",key:"14keom"}],["line",{x1:"16",x2:"8",y1:"17",y2:"17",key:"17nazh"}],["line",{x1:"10",x2:"8",y1:"9",y2:"9",key:"1a5vjj"}]]);/**
|
|
86
|
-
* @license lucide-react v0.294.0 - ISC
|
|
87
|
-
*
|
|
88
|
-
* This source code is licensed under the ISC license.
|
|
89
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
90
|
-
*/const pl=B("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/**
|
|
91
|
-
* @license lucide-react v0.294.0 - ISC
|
|
92
|
-
*
|
|
93
|
-
* This source code is licensed under the ISC license.
|
|
94
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
95
|
-
*/const fp=B("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/**
|
|
96
|
-
* @license lucide-react v0.294.0 - ISC
|
|
97
|
-
*
|
|
98
|
-
* This source code is licensed under the ISC license.
|
|
99
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
100
|
-
*/const pp=B("LayoutDashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);/**
|
|
101
|
-
* @license lucide-react v0.294.0 - ISC
|
|
102
|
-
*
|
|
103
|
-
* This source code is licensed under the ISC license.
|
|
104
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
105
|
-
*/const _n=B("Loader2",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
|
|
106
|
-
* @license lucide-react v0.294.0 - ISC
|
|
107
|
-
*
|
|
108
|
-
* This source code is licensed under the ISC license.
|
|
109
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
110
|
-
*/const Pc=B("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/**
|
|
111
|
-
* @license lucide-react v0.294.0 - ISC
|
|
112
|
-
*
|
|
113
|
-
* This source code is licensed under the ISC license.
|
|
114
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
115
|
-
*/const ia=B("Music",[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]]);/**
|
|
116
|
-
* @license lucide-react v0.294.0 - ISC
|
|
117
|
-
*
|
|
118
|
-
* This source code is licensed under the ISC license.
|
|
119
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
120
|
-
*/const mp=B("Paperclip",[["path",{d:"m21.44 11.05-9.19 9.19a6 6 0 0 1-8.49-8.49l8.57-8.57A4 4 0 1 1 18 8.84l-8.59 8.57a2 2 0 0 1-2.83-2.83l8.49-8.48",key:"1u3ebp"}]]);/**
|
|
121
|
-
* @license lucide-react v0.294.0 - ISC
|
|
122
|
-
*
|
|
123
|
-
* This source code is licensed under the ISC license.
|
|
124
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
125
|
-
*/const hp=B("PenSquare",[["path",{d:"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1qinfi"}],["path",{d:"M18.5 2.5a2.12 2.12 0 0 1 3 3L12 15l-4 1 1-4Z",key:"w2jsv5"}]]);/**
|
|
126
|
-
* @license lucide-react v0.294.0 - ISC
|
|
127
|
-
*
|
|
128
|
-
* This source code is licensed under the ISC license.
|
|
129
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
130
|
-
*/const gp=B("Pen",[["path",{d:"M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z",key:"5qss01"}]]);/**
|
|
131
|
-
* @license lucide-react v0.294.0 - ISC
|
|
132
|
-
*
|
|
133
|
-
* This source code is licensed under the ISC license.
|
|
134
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
135
|
-
*/const yp=B("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
|
|
136
|
-
* @license lucide-react v0.294.0 - ISC
|
|
137
|
-
*
|
|
138
|
-
* This source code is licensed under the ISC license.
|
|
139
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
140
|
-
*/const eo=B("Radio",[["path",{d:"M4.9 19.1C1 15.2 1 8.8 4.9 4.9",key:"1vaf9d"}],["path",{d:"M7.8 16.2c-2.3-2.3-2.3-6.1 0-8.5",key:"u1ii0m"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M16.2 7.8c2.3 2.3 2.3 6.1 0 8.5",key:"1j5fej"}],["path",{d:"M19.1 4.9C23 8.8 23 15.1 19.1 19",key:"10b0cb"}]]);/**
|
|
141
|
-
* @license lucide-react v0.294.0 - ISC
|
|
142
|
-
*
|
|
143
|
-
* This source code is licensed under the ISC license.
|
|
144
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
145
|
-
*/const vp=B("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);/**
|
|
146
|
-
* @license lucide-react v0.294.0 - ISC
|
|
147
|
-
*
|
|
148
|
-
* This source code is licensed under the ISC license.
|
|
149
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
150
|
-
*/const aa=B("Save",[["path",{d:"M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z",key:"1owoqh"}],["polyline",{points:"17 21 17 13 7 13 7 21",key:"1md35c"}],["polyline",{points:"7 3 7 8 15 8",key:"8nz8an"}]]);/**
|
|
151
|
-
* @license lucide-react v0.294.0 - ISC
|
|
152
|
-
*
|
|
153
|
-
* This source code is licensed under the ISC license.
|
|
154
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
155
|
-
*/const ua=B("Send",[["path",{d:"m22 2-7 20-4-9-9-4Z",key:"1q3vgg"}],["path",{d:"M22 2 11 13",key:"nzbqef"}]]);/**
|
|
156
|
-
* @license lucide-react v0.294.0 - ISC
|
|
157
|
-
*
|
|
158
|
-
* This source code is licensed under the ISC license.
|
|
159
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
160
|
-
*/const zc=B("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
|
|
161
|
-
* @license lucide-react v0.294.0 - ISC
|
|
162
|
-
*
|
|
163
|
-
* This source code is licensed under the ISC license.
|
|
164
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
165
|
-
*/const xp=B("Shield",[["path",{d:"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10",key:"1irkt0"}]]);/**
|
|
166
|
-
* @license lucide-react v0.294.0 - ISC
|
|
167
|
-
*
|
|
168
|
-
* This source code is licensed under the ISC license.
|
|
169
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
170
|
-
*/const wp=B("Sliders",[["line",{x1:"4",x2:"4",y1:"21",y2:"14",key:"1p332r"}],["line",{x1:"4",x2:"4",y1:"10",y2:"3",key:"gb41h5"}],["line",{x1:"12",x2:"12",y1:"21",y2:"12",key:"hf2csr"}],["line",{x1:"12",x2:"12",y1:"8",y2:"3",key:"1kfi7u"}],["line",{x1:"20",x2:"20",y1:"21",y2:"16",key:"1lhrwl"}],["line",{x1:"20",x2:"20",y1:"12",y2:"3",key:"16vvfq"}],["line",{x1:"2",x2:"6",y1:"14",y2:"14",key:"1uebub"}],["line",{x1:"10",x2:"14",y1:"8",y2:"8",key:"1yglbp"}],["line",{x1:"18",x2:"22",y1:"16",y2:"16",key:"1jxqpz"}]]);/**
|
|
171
|
-
* @license lucide-react v0.294.0 - ISC
|
|
172
|
-
*
|
|
173
|
-
* This source code is licensed under the ISC license.
|
|
174
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
175
|
-
*/const to=B("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);/**
|
|
176
|
-
* @license lucide-react v0.294.0 - ISC
|
|
177
|
-
*
|
|
178
|
-
* This source code is licensed under the ISC license.
|
|
179
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
180
|
-
*/const ca=B("Wifi",[["path",{d:"M5 13a10 10 0 0 1 14 0",key:"6v8j51"}],["path",{d:"M8.5 16.5a5 5 0 0 1 7 0",key:"sej527"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["line",{x1:"12",x2:"12.01",y1:"20",y2:"20",key:"of4bc4"}]]);/**
|
|
181
|
-
* @license lucide-react v0.294.0 - ISC
|
|
182
|
-
*
|
|
183
|
-
* This source code is licensed under the ISC license.
|
|
184
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
185
|
-
*/const kp=B("XCircle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/**
|
|
186
|
-
* @license lucide-react v0.294.0 - ISC
|
|
187
|
-
*
|
|
188
|
-
* This source code is licensed under the ISC license.
|
|
189
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
190
|
-
*/const sr=B("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),jp=({activeTab:e,onTabChange:t,accountInfo:n})=>{const r=[{id:"dashboard",icon:pp,label:"Dashboard"},{id:"onebot",icon:eo,label:"OneBot 11"},{id:"satori",icon:cp,label:"Satori"},{id:"other",icon:wp,label:"其他配置"},{id:"about",icon:fp,label:"关于"}];return o.jsxs("div",{className:"w-64 bg-white/50 backdrop-blur-2xl h-screen flex flex-col shadow-xl border-r border-white/30 sticky top-0",children:[o.jsx("div",{className:"p-6 border-b border-white/20",children:o.jsxs("div",{className:"flex items-center gap-4",children:[o.jsx("div",{className:"w-12 h-12 rounded-2xl overflow-hidden shadow-lg flex-shrink-0",children:o.jsx("img",{src:"/logo.jpg",alt:"Logo",className:"w-full h-full object-cover"})}),o.jsxs("div",{className:"flex-1 min-w-0",children:[o.jsx("h1",{className:"text-xl font-bold text-gray-800 truncate",children:"LLTwoBot"}),o.jsx("p",{className:"text-xs text-gray-500",children:"WebUI"})]})]})}),o.jsx("nav",{className:"flex-1 p-4 space-y-1",children:r.map(l=>{const s=l.icon,i=e===l.id;return o.jsxs("button",{onClick:()=>t(l.id),className:`w-full flex items-center space-x-3 px-4 py-3 rounded-2xl transition-all duration-200 ${i?"bg-gradient-to-r from-blue-500 to-purple-600 text-white shadow-lg scale-105":"text-gray-700 hover:bg-white/50 hover:backdrop-blur-sm"}`,children:[o.jsx(s,{size:20}),o.jsx("span",{className:"font-medium",children:l.label})]},l.id)})}),n&&o.jsx("div",{className:"p-4 border-t border-white/20",children:o.jsxs("div",{className:"flex items-center space-x-3 px-3 py-2",children:[o.jsx("img",{src:`https://thirdqq.qlogo.cn/g?b=qq&nk=${n.uin}&s=640`,alt:"头像",className:"w-10 h-10 rounded-full object-cover ring-2 ring-white/50",onError:l=>{const s=l.target;s.style.display="none";const i=s.nextElementSibling;i&&(i.style.display="flex")}}),o.jsx("div",{className:"w-10 h-10 bg-gradient-to-br from-green-400 to-blue-500 rounded-full items-center justify-center text-white font-semibold hidden",style:{display:"none"},children:n.nick.charAt(0).toUpperCase()}),o.jsxs("div",{className:"flex-1 min-w-0",children:[o.jsx("p",{className:"text-sm font-medium text-gray-900 truncate",children:n.nick}),o.jsx("p",{className:"text-xs text-gray-500 truncate",children:n.uin})]})]})})]})},da=({children:e})=>{const t=E.useRef(null);return t.current||(t.current=document.createElement("div")),E.useEffect(()=>{const n=document.body,r=t.current;return n.appendChild(r),()=>{n.removeChild(r)}},[]),Go.createPortal(e,t.current)},Np=({message:e,type:t="success",duration:n=3e3,onClose:r})=>{const[l,s]=E.useState(!0);E.useEffect(()=>{const u=setTimeout(()=>{s(!1),setTimeout(r,300)},n);return()=>clearTimeout(u)},[n,r]);const i={success:o.jsx(up,{className:"w-5 h-5"}),error:o.jsx(kp,{className:"w-5 h-5"}),warning:o.jsx(ap,{className:"w-5 h-5"})},a={success:"bg-green-50/90 backdrop-blur-md border-green-200/50 text-green-800",error:"bg-red-50/90 backdrop-blur-md border-red-200/50 text-red-800",warning:"bg-yellow-50/90 backdrop-blur-md border-yellow-200/50 text-yellow-800"};return o.jsxs("div",{className:`fixed top-4 right-4 flex items-center gap-3 px-4 py-3 rounded-2xl border shadow-lg transition-all duration-300 ${a[t]} ${l?"translate-x-0 opacity-100":"translate-x-full opacity-0"}`,style:{minWidth:"300px",maxWidth:"500px",zIndex:99999},children:[o.jsx("div",{className:"flex-shrink-0",children:i[t]}),o.jsx("p",{className:"flex-1 text-sm font-medium",children:e}),o.jsx("button",{onClick:()=>{s(!1),setTimeout(r,300)},className:"flex-shrink-0 hover:opacity-70 transition-opacity",children:o.jsx(sr,{size:18})})]})};let Sp=0;const Br=[];let ml=[];const _c=()=>{Br.forEach(e=>e([...ml]))},he=(e,t="success",n=3e3)=>{const r=Sp++;ml.push({id:r,message:e,type:t,duration:n}),_c()},fa=()=>{const[e,t]=E.useState([]);E.useEffect(()=>{const l=s=>t(s);return Br.push(l),()=>{const s=Br.indexOf(l);s>-1&&Br.splice(s,1)}},[]);const n=l=>{ml=ml.filter(s=>s.id!==l),_c()},r=o.jsx(o.Fragment,{children:e.map((l,s)=>o.jsx("div",{style:{top:`${1+s*4.5}rem`,zIndex:99999},className:"fixed right-4",children:o.jsx(Np,{message:l.message,type:l.type,duration:l.duration,onClose:()=>n(l.id)})},l.id))});return Go.createPortal(r,document.body)},Cp=({config:e,onChange:t,onSave:n,globalConfig:r})=>{const[l,s]=E.useState(null),[i,a]=E.useState(-1),[u,f]=E.useState(!1),[p,g]=E.useState(!1),[h,y]=E.useState(!1),[x,k]=E.useState(!1),[M,d]=E.useState(""),[c,m]=E.useState(!1),v={ws:{icon:eo,name:"WebSocket正向",desc:"提供WebSocket服务器"},"ws-reverse":{icon:ca,name:"WebSocket反向",desc:"作为客户端连接到WebSocket服务"},http:{icon:pl,name:"HTTP服务",desc:"提供HTTP API服务"},"http-post":{icon:ua,name:"HTTP上报",desc:"上报事件到HTTP服务器"}},C=(S,D)=>{s(S),a(D),y(!1),k(!1),d(S.name||""),m(!1),f(!0)},j=S=>{S.stopPropagation(),k(!0)},z=()=>{if(!l)return;const S={...l,name:M.trim()};s(S),k(!1)},_=()=>{d((l==null?void 0:l.name)||""),k(!1)},T=()=>{var ee;if(!l)return;if(!r.onlyLocalhost&&!((ee=l.token)!=null&&ee.trim())){he('当"只监听本地地址"关闭时,必须设置 Token!',"error");return}let S;if(h)S=[...e.connect,l];else{if(i<0)return;S=[...e.connect],S[i]=l}const D={...e,connect:S};t(D),f(!1),y(!1),n(D)},N=()=>{if(h){f(!1),y(!1);return}if(i<0)return;const S=e.connect.filter((ee,I)=>I!==i),D={...e,connect:S};t(D),f(!1),n(D)},U=S=>{const D={enable:!0,token:"",messageFormat:"array",reportSelfMessage:!1,reportOfflineMessage:!1,debug:!1};let ee;switch(S){case"ws":ee={...D,type:"ws",port:3001,heartInterval:6e4};break;case"ws-reverse":ee={...D,type:"ws-reverse",url:"",heartInterval:6e4};break;case"http":ee={...D,type:"http",port:3e3};break;case"http-post":ee={...D,type:"http-post",url:"",enableHeart:!1,heartInterval:6e4};break}g(!1),s(ee),a(-1),y(!0),m(!1),f(!0)},$=(S,D)=>{l&&s({...l,[S]:D})};return o.jsxs("div",{className:"space-y-6",children:[o.jsx("div",{className:"card p-6",children:o.jsxs("label",{className:"flex items-center justify-between",children:[o.jsxs("div",{children:[o.jsx("h3",{className:"text-lg font-semibold text-gray-800",children:"OneBot 11 协议"}),o.jsx("p",{className:"text-sm text-gray-600 mt-1",children:"启用或禁用 OneBot 11 适配器"})]}),o.jsx("input",{type:"checkbox",checked:e.enable,onChange:S=>{const D={...e,enable:S.target.checked};t(D),console.log("Config updated:",D),n(D)},className:`w-14 h-7 rounded-full bg-gray-300 relative cursor-pointer appearance-none\r
|
|
191
|
-
checked:bg-gradient-to-r checked:from-blue-500 checked:to-purple-600\r
|
|
192
|
-
transition-colors duration-200 ease-in-out\r
|
|
193
|
-
before:content-[''] before:absolute before:top-0.5 before:left-0.5\r
|
|
194
|
-
before:w-6 before:h-6 before:rounded-full before:bg-white\r
|
|
195
|
-
before:transition-transform before:duration-200\r
|
|
196
|
-
checked:before:translate-x-7`})]})}),e.enable&&e.connect&&Array.isArray(e.connect)&&o.jsxs(o.Fragment,{children:[o.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.connect.map((S,D)=>{const ee=v[S.type],I=ee.icon;return o.jsxs("div",{className:`card p-6 cursor-pointer hover:scale-105 transition-all ${S.enable?"ring-2 ring-blue-500":""}`,onClick:()=>C(S,D),children:[o.jsxs("div",{className:"flex items-start justify-between mb-4",children:[o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsx("div",{className:`w-12 h-12 rounded-2xl flex items-center justify-center ${S.enable?"bg-gradient-to-br from-blue-500 to-purple-600 text-white":"bg-gray-200 text-gray-600"}`,children:o.jsx(I,{size:24})}),o.jsxs("div",{className:"flex-1",children:[o.jsx("h4",{className:"text-lg font-semibold text-gray-800",children:S.name||ee.name}),o.jsx("p",{className:"text-sm text-gray-600",children:ee.desc})]})]}),o.jsx(zc,{size:20,className:"text-gray-400"})]}),o.jsxs("div",{className:"flex items-center justify-between mt-4 pt-4 border-t border-gray-200",children:[o.jsx("span",{className:`text-xs font-medium px-3 py-1 rounded-full ${S.enable?"bg-green-100 text-green-800":"bg-gray-100 text-gray-600"}`,children:S.enable?"已启用":"未启用"}),S.enable&&o.jsxs(o.Fragment,{children:[(S.type==="ws"||S.type==="http")&&o.jsxs("span",{className:"text-sm text-gray-600",children:["端口: ",S.port]}),(S.type==="ws-reverse"||S.type==="http-post")&&o.jsxs("span",{className:"text-sm text-gray-600 truncate max-w-[180px]",title:S.url||"未配置",children:["URL: ",S.url||"未配置"]})]})]})]},D)})}),o.jsx("div",{className:"flex justify-center mt-6",children:o.jsxs("button",{onClick:()=>g(!0),className:"btn-primary flex items-center gap-2",children:[o.jsx(yp,{size:20}),"添加适配器"]})})]}),u&&l&&o.jsx(da,{children:o.jsx("div",{className:"fixed inset-0 bg-black/30 backdrop-blur-sm flex items-center justify-center p-4",style:{zIndex:9e3},children:o.jsxs("div",{className:"bg-white/60 backdrop-blur-xl rounded-3xl shadow-2xl w-full max-w-2xl max-h-[80vh] flex flex-col border border-white/50",children:[o.jsxs("div",{className:"flex items-center justify-between p-6 border-b border-white/20",children:[o.jsx("div",{className:"flex items-center gap-3 flex-1",children:x?o.jsxs("div",{className:"flex items-center gap-2 flex-1",children:[o.jsx("input",{type:"text",value:M,onChange:S=>d(S.target.value),onKeyDown:S=>{S.key==="Enter"&&z(),S.key==="Escape"&&_()},placeholder:"输入自定义名称",className:"flex-1 px-3 py-2 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-blue-500",autoFocus:!0}),o.jsx("button",{onClick:z,className:"px-4 py-2 bg-blue-500 text-white rounded-xl hover:bg-blue-600 transition-colors",children:"确定"}),o.jsx("button",{onClick:_,className:"px-4 py-2 bg-gray-200 text-gray-700 rounded-xl hover:bg-gray-300 transition-colors",children:"取消"})]}):o.jsxs(o.Fragment,{children:[o.jsxs("h3",{className:"text-xl font-semibold text-gray-900",children:[h?"新建 - ":"",l.name||v[l.type].name]}),o.jsx("button",{onClick:j,className:"p-2 text-gray-400 hover:text-blue-600 hover:bg-blue-50 rounded-lg transition-colors",title:"编辑名称",children:o.jsx(gp,{size:18})})]})}),o.jsx("button",{onClick:()=>{f(!1),y(!1),k(!1)},className:"text-gray-400 hover:text-gray-600",children:o.jsx(sr,{size:24})})]}),o.jsxs("div",{className:"p-6 space-y-6 overflow-y-auto flex-1",children:[o.jsx("div",{children:o.jsxs("label",{className:"flex items-center justify-between",children:[o.jsx("span",{className:"text-sm font-medium text-gray-700",children:"启用此适配器"}),o.jsx("input",{type:"checkbox",checked:l.enable,onChange:S=>$("enable",S.target.checked),className:`w-12 h-6 rounded-full bg-gray-300 relative cursor-pointer appearance-none\r
|
|
197
|
-
checked:bg-gradient-to-r checked:from-blue-500 checked:to-purple-600\r
|
|
198
|
-
transition-colors duration-200 ease-in-out\r
|
|
199
|
-
before:content-[''] before:absolute before:top-0.5 before:left-0.5\r
|
|
200
|
-
before:w-5 before:h-5 before:rounded-full before:bg-white\r
|
|
201
|
-
before:transition-transform before:duration-200\r
|
|
202
|
-
checked:before:translate-x-6`})]})}),l.type==="ws"&&o.jsxs(o.Fragment,{children:[o.jsxs("div",{children:[o.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"端口"}),o.jsx("input",{type:"number",value:l.port,onChange:S=>$("port",parseInt(S.target.value)),className:"input-field"})]}),o.jsxs("div",{children:[o.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"心跳间隔 (ms)"}),o.jsx("input",{type:"number",value:l.heartInterval,onChange:S=>$("heartInterval",parseInt(S.target.value)),className:"input-field"})]})]}),l.type==="ws-reverse"&&o.jsxs(o.Fragment,{children:[o.jsxs("div",{children:[o.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"连接地址"}),o.jsx("input",{type:"text",value:l.url,onChange:S=>$("url",S.target.value),placeholder:"ws://example.com:8080",className:"input-field"})]}),o.jsxs("div",{children:[o.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"心跳间隔 (ms)"}),o.jsx("input",{type:"number",value:l.heartInterval,onChange:S=>$("heartInterval",parseInt(S.target.value)),className:"input-field"})]})]}),l.type==="http"&&o.jsxs("div",{children:[o.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"端口"}),o.jsx("input",{type:"number",value:l.port,onChange:S=>$("port",parseInt(S.target.value)),className:"input-field"})]}),l.type==="http-post"&&o.jsxs(o.Fragment,{children:[o.jsxs("div",{children:[o.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"上报地址"}),o.jsx("input",{type:"text",value:l.url,onChange:S=>$("url",S.target.value),placeholder:"http://example.com:8080/webhook",className:"input-field"})]}),o.jsx("div",{children:o.jsxs("label",{className:"flex items-center justify-between mb-2",children:[o.jsx("span",{className:"text-sm font-medium text-gray-700",children:"启用心跳"}),o.jsx("input",{type:"checkbox",checked:l.enableHeart,onChange:S=>$("enableHeart",S.target.checked),className:`w-12 h-6 rounded-full bg-gray-300 relative cursor-pointer appearance-none\r
|
|
203
|
-
checked:bg-gradient-to-r checked:from-blue-500 checked:to-purple-600\r
|
|
204
|
-
transition-colors duration-200 ease-in-out\r
|
|
205
|
-
before:content-[''] before:absolute before:top-0.5 before:left-0.5\r
|
|
206
|
-
before:w-5 before:h-5 before:rounded-full before:bg-white\r
|
|
207
|
-
before:transition-transform before:duration-200\r
|
|
208
|
-
checked:before:translate-x-6`})]})}),o.jsxs("div",{children:[o.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"心跳间隔 (ms)"}),o.jsx("input",{type:"number",value:l.heartInterval,onChange:S=>$("heartInterval",parseInt(S.target.value)),className:"input-field"})]})]}),o.jsxs("div",{className:"border-t border-gray-200 pt-6",children:[o.jsx("h4",{className:"text-md font-semibold text-gray-800 mb-4",children:"通用配置"}),o.jsxs("div",{className:"space-y-4",children:[o.jsxs("div",{children:[o.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Token"}),o.jsxs("div",{className:"relative",children:[o.jsx("input",{type:c?"text":"password",value:l.token,onChange:S=>$("token",S.target.value),placeholder:"访问令牌",className:"input-field pr-12"}),o.jsx("button",{type:"button",onClick:()=>m(!c),className:"absolute right-3 top-1/2 -translate-y-1/2 text-gray-400 hover:text-gray-600 transition-colors p-1",children:c?o.jsx(rr,{size:20}):o.jsx(lr,{size:20})})]})]}),o.jsxs("div",{children:[o.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"消息格式"}),o.jsxs("div",{className:"flex gap-4",children:[o.jsxs("label",{className:"flex items-center",children:[o.jsx("input",{type:"radio",value:"array",checked:l.messageFormat==="array",onChange:S=>$("messageFormat",S.target.value),className:"mr-2"}),"消息段 (array)"]}),o.jsxs("label",{className:"flex items-center",children:[o.jsx("input",{type:"radio",value:"string",checked:l.messageFormat==="string",onChange:S=>$("messageFormat",S.target.value),className:"mr-2"}),"CQ码 (string)"]})]})]}),o.jsx("div",{children:o.jsxs("label",{className:"flex items-center justify-between",children:[o.jsx("span",{className:"text-sm font-medium text-gray-700",children:"上报自己发送的消息"}),o.jsx("input",{type:"checkbox",checked:l.reportSelfMessage,onChange:S=>$("reportSelfMessage",S.target.checked),className:`w-12 h-6 rounded-full bg-gray-300 relative cursor-pointer appearance-none\r
|
|
209
|
-
checked:bg-gradient-to-r checked:from-blue-500 checked:to-purple-600\r
|
|
210
|
-
transition-colors duration-200 ease-in-out\r
|
|
211
|
-
before:content-[''] before:absolute before:top-0.5 before:left-0.5\r
|
|
212
|
-
before:w-5 before:h-5 before:rounded-full before:bg-white\r
|
|
213
|
-
before:transition-transform before:duration-200\r
|
|
214
|
-
checked:before:translate-x-6`})]})}),o.jsx("div",{children:o.jsxs("label",{className:"flex items-center justify-between",children:[o.jsx("span",{className:"text-sm font-medium text-gray-700",children:"上报离线消息"}),o.jsx("input",{type:"checkbox",checked:l.reportOfflineMessage,onChange:S=>$("reportOfflineMessage",S.target.checked),className:`w-12 h-6 rounded-full bg-gray-300 relative cursor-pointer appearance-none\r
|
|
215
|
-
checked:bg-gradient-to-r checked:from-blue-500 checked:to-purple-600\r
|
|
216
|
-
transition-colors duration-200 ease-in-out\r
|
|
217
|
-
before:content-[''] before:absolute before:top-0.5 before:left-0.5\r
|
|
218
|
-
before:w-5 before:h-5 before:rounded-full before:bg-white\r
|
|
219
|
-
before:transition-transform before:duration-200\r
|
|
220
|
-
checked:before:translate-x-6`})]})}),o.jsx("div",{children:o.jsxs("label",{className:"flex items-center justify-between",children:[o.jsx("span",{className:"text-sm font-medium text-gray-700",children:"调试模式"}),o.jsx("input",{type:"checkbox",checked:l.debug,onChange:S=>$("debug",S.target.checked),className:`w-12 h-6 rounded-full bg-gray-300 relative cursor-pointer appearance-none\r
|
|
221
|
-
checked:bg-gradient-to-r checked:from-blue-500 checked:to-purple-600\r
|
|
222
|
-
transition-colors duration-200 ease-in-out\r
|
|
223
|
-
before:content-[''] before:absolute before:top-0.5 before:left-0.5\r
|
|
224
|
-
before:w-5 before:h-5 before:rounded-full before:bg-white\r
|
|
225
|
-
before:transition-transform before:duration-200\r
|
|
226
|
-
checked:before:translate-x-6`})]})})]})]})]}),o.jsxs("div",{className:"flex items-center justify-between p-6 border-t border-white/20",children:[!h&&o.jsxs("button",{onClick:N,className:"px-6 py-2.5 bg-red-500 hover:bg-red-600 text-white rounded-xl font-medium transition-colors flex items-center gap-2",children:[o.jsx(to,{size:18}),"删除"]}),h&&o.jsx("div",{})," ",o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsx("button",{onClick:()=>f(!1),className:"px-6 py-2.5 text-gray-700 hover:bg-gray-100 rounded-xl font-medium transition-colors",children:"取消"}),o.jsx("button",{onClick:T,className:"btn-primary",children:"保存"})]})]})]})})}),p&&o.jsx(da,{children:o.jsx("div",{className:"fixed inset-0 bg-black/30 backdrop-blur-sm flex items-center justify-center p-4",style:{zIndex:9e3},children:o.jsxs("div",{className:"bg-white/60 backdrop-blur-xl rounded-3xl shadow-2xl w-full max-w-md border border-white/50",children:[o.jsxs("div",{className:"flex items-center justify-between p-6 border-b border-white/20",children:[o.jsx("h3",{className:"text-xl font-semibold text-gray-900",children:"选择适配器类型"}),o.jsx("button",{onClick:()=>g(!1),className:"text-gray-400 hover:text-gray-600",children:o.jsx(sr,{size:24})})]}),o.jsxs("div",{className:"p-6 space-y-3",children:[o.jsxs("button",{onClick:()=>U("ws"),className:"w-full p-4 rounded-2xl bg-gradient-to-br from-blue-50 to-purple-50 hover:from-blue-100 hover:to-purple-100 transition-all flex items-center gap-4 group",children:[o.jsx("div",{className:"w-12 h-12 rounded-xl bg-gradient-to-br from-blue-500 to-purple-600 text-white flex items-center justify-center group-hover:scale-110 transition-transform",children:o.jsx(eo,{size:24})}),o.jsxs("div",{className:"text-left",children:[o.jsx("h4",{className:"text-lg font-semibold text-gray-800",children:"WebSocket正向"}),o.jsx("p",{className:"text-sm text-gray-600",children:"作为WebSocket服务器"})]})]}),o.jsxs("button",{onClick:()=>U("ws-reverse"),className:"w-full p-4 rounded-2xl bg-gradient-to-br from-green-50 to-teal-50 hover:from-green-100 hover:to-teal-100 transition-all flex items-center gap-4 group",children:[o.jsx("div",{className:"w-12 h-12 rounded-xl bg-gradient-to-br from-green-500 to-teal-600 text-white flex items-center justify-center group-hover:scale-110 transition-transform",children:o.jsx(ca,{size:24})}),o.jsxs("div",{className:"text-left",children:[o.jsx("h4",{className:"text-lg font-semibold text-gray-800",children:"WebSocket反向"}),o.jsx("p",{className:"text-sm text-gray-600",children:"作为客户端连接到WebSocket服务端"})]})]}),o.jsxs("button",{onClick:()=>U("http"),className:"w-full p-4 rounded-2xl bg-gradient-to-br from-orange-50 to-red-50 hover:from-orange-100 hover:to-red-100 transition-all flex items-center gap-4 group",children:[o.jsx("div",{className:"w-12 h-12 rounded-xl bg-gradient-to-br from-orange-500 to-red-600 text-white flex items-center justify-center group-hover:scale-110 transition-transform",children:o.jsx(pl,{size:24})}),o.jsxs("div",{className:"text-left",children:[o.jsx("h4",{className:"text-lg font-semibold text-gray-800",children:"HTTP服务"}),o.jsx("p",{className:"text-sm text-gray-600",children:"提供HTTP API服务"})]})]}),o.jsxs("button",{onClick:()=>U("http-post"),className:"w-full p-4 rounded-2xl bg-gradient-to-br from-pink-50 to-rose-50 hover:from-pink-100 hover:to-rose-100 transition-all flex items-center gap-4 group",children:[o.jsx("div",{className:"w-12 h-12 rounded-xl bg-gradient-to-br from-pink-500 to-rose-600 text-white flex items-center justify-center group-hover:scale-110 transition-transform",children:o.jsx(ua,{size:24})}),o.jsxs("div",{className:"text-left",children:[o.jsx("h4",{className:"text-lg font-semibold text-gray-800",children:"HTTP上报"}),o.jsx("p",{className:"text-sm text-gray-600",children:"上报事件到HTTP服务器"})]})]})]}),o.jsx("div",{className:"flex justify-end p-6 border-t border-white/20",children:o.jsx("button",{onClick:()=>g(!1),className:"px-6 py-2.5 text-gray-700 hover:bg-gray-100 rounded-xl font-medium transition-colors",children:"取消"})})]})})})]})},Ep=({config:e,onChange:t,onOpenChangePassword:n})=>{const r=(l,s)=>{t({...e,[l]:s})};return o.jsxs("div",{className:"space-y-6",children:[o.jsxs("div",{className:"card p-6",children:[o.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[o.jsx("div",{className:"w-10 h-10 rounded-xl bg-gradient-to-br from-blue-500 to-purple-600 flex items-center justify-center",children:o.jsx(pl,{size:20,className:"text-white"})}),o.jsxs("div",{children:[o.jsx("h3",{className:"text-lg font-semibold text-gray-800",children:"系统功能"}),o.jsx("p",{className:"text-sm text-gray-600",children:"基础功能开关配置"})]})]}),o.jsxs("div",{className:"space-y-4",children:[o.jsxs("div",{className:"flex items-center justify-between p-4 bg-gray-50/50 rounded-xl hover:bg-gray-100/50 transition-colors",children:[o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsx(dp,{size:20,className:"text-green-600"}),o.jsxs("div",{children:[o.jsx("div",{className:"text-sm font-medium text-gray-800",children:"日志记录"}),o.jsx("div",{className:"text-xs text-gray-500 mt-0.5",children:"启用后记录详细的运行日志"})]})]}),o.jsx("input",{type:"checkbox",checked:e.log,onChange:l=>r("log",l.target.checked),className:`w-12 h-6 rounded-full bg-gray-300 relative cursor-pointer appearance-none\r
|
|
227
|
-
checked:bg-gradient-to-r checked:from-blue-500 checked:to-purple-600\r
|
|
228
|
-
transition-colors duration-200 ease-in-out\r
|
|
229
|
-
before:content-[''] before:absolute before:top-0.5 before:left-0.5\r
|
|
230
|
-
before:w-5 before:h-5 before:rounded-full before:bg-white\r
|
|
231
|
-
before:transition-transform before:duration-200\r
|
|
232
|
-
checked:before:translate-x-6`})]}),o.jsxs("div",{className:"flex items-center justify-between p-4 bg-gray-50/50 rounded-xl hover:bg-gray-100/50 transition-colors",children:[o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsx(pl,{size:20,className:"text-blue-600"}),o.jsxs("div",{children:[o.jsx("div",{className:"text-sm font-medium text-gray-800",children:"只监听本地地址"}),o.jsx("div",{className:"text-xs text-gray-500 mt-0.5",children:"取消后可能会暴露在公网"})]})]}),o.jsx("input",{type:"checkbox",checked:e.onlyLocalhost,onChange:l=>r("onlyLocalhost",l.target.checked),className:`w-12 h-6 rounded-full bg-gray-300 relative cursor-pointer appearance-none\r
|
|
233
|
-
checked:bg-gradient-to-r checked:from-blue-500 checked:to-purple-600\r
|
|
234
|
-
transition-colors duration-200 ease-in-out\r
|
|
235
|
-
before:content-[''] before:absolute before:top-0.5 before:left-0.5\r
|
|
236
|
-
before:w-5 before:h-5 before:rounded-full before:bg-white\r
|
|
237
|
-
before:transition-transform before:duration-200\r
|
|
238
|
-
checked:before:translate-x-6`})]}),o.jsxs("div",{className:"flex items-center justify-between p-4 bg-gray-50/50 rounded-xl hover:bg-gray-100/50 transition-colors",children:[o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsx(mp,{size:20,className:"text-blue-600"}),o.jsxs("div",{children:[o.jsx("div",{className:"text-sm font-medium text-gray-800",children:"本地文件转URL"}),o.jsx("div",{className:"text-xs text-gray-500 mt-0.5",children:"启用后可将本地文件转换为URL链接"})]})]}),o.jsx("input",{type:"checkbox",checked:e.enableLocalFile2Url,onChange:l=>r("enableLocalFile2Url",l.target.checked),className:`w-12 h-6 rounded-full bg-gray-300 relative cursor-pointer appearance-none\r
|
|
239
|
-
checked:bg-gradient-to-r checked:from-blue-500 checked:to-purple-600\r
|
|
240
|
-
transition-colors duration-200 ease-in-out\r
|
|
241
|
-
before:content-[''] before:absolute before:top-0.5 before:left-0.5\r
|
|
242
|
-
before:w-5 before:h-5 before:rounded-full before:bg-white\r
|
|
243
|
-
before:transition-transform before:duration-200\r
|
|
244
|
-
checked:before:translate-x-6`})]})]})]}),o.jsxs("div",{className:"card p-6",children:[o.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[o.jsx("div",{className:"w-10 h-10 rounded-xl bg-gradient-to-br from-orange-500 to-red-600 flex items-center justify-center",children:o.jsx(to,{size:20,className:"text-white"})}),o.jsxs("div",{children:[o.jsx("h3",{className:"text-lg font-semibold text-gray-800",children:"文件管理"}),o.jsx("p",{className:"text-sm text-gray-600",children:"自动清理文件相关配置"})]})]}),o.jsxs("div",{className:"space-y-4",children:[o.jsxs("div",{className:"flex items-center justify-between p-4 bg-gray-50/50 rounded-xl hover:bg-gray-100/50 transition-colors",children:[o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsx(to,{size:20,className:"text-red-600"}),o.jsxs("div",{children:[o.jsx("div",{className:"text-sm font-medium text-gray-800",children:"自动删除收到的文件"}),o.jsx("div",{className:"text-xs text-gray-500 mt-0.5",children:"启用后将自动清理接收的临时文件"})]})]}),o.jsx("input",{type:"checkbox",checked:e.autoDeleteFile,onChange:l=>r("autoDeleteFile",l.target.checked),className:`w-12 h-6 rounded-full bg-gray-300 relative cursor-pointer appearance-none\r
|
|
245
|
-
checked:bg-gradient-to-r checked:from-blue-500 checked:to-purple-600\r
|
|
246
|
-
transition-colors duration-200 ease-in-out\r
|
|
247
|
-
before:content-[''] before:absolute before:top-0.5 before:left-0.5\r
|
|
248
|
-
before:w-5 before:h-5 before:rounded-full before:bg-white\r
|
|
249
|
-
before:transition-transform before:duration-200\r
|
|
250
|
-
checked:before:translate-x-6`})]}),e.autoDeleteFile&&o.jsx("div",{className:"pl-4",children:o.jsxs("label",{className:"block",children:[o.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[o.jsx(ls,{size:16,className:"text-gray-600"}),o.jsx("span",{className:"text-sm font-medium text-gray-700",children:"自动删除时间(秒)"})]}),o.jsx("input",{type:"number",value:e.autoDeleteFileSecond,onChange:l=>r("autoDeleteFileSecond",parseInt(l.target.value)),min:"1",max:"3600",className:"input-field",placeholder:"60"}),o.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"文件接收后多少秒自动删除(1-3600秒)"})]})})]})]}),o.jsxs("div",{className:"card p-6",children:[o.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[o.jsx("div",{className:"w-10 h-10 rounded-xl bg-gradient-to-br from-purple-500 to-pink-600 flex items-center justify-center",children:o.jsx(ls,{size:20,className:"text-white"})}),o.jsxs("div",{children:[o.jsx("h3",{className:"text-lg font-semibold text-gray-800",children:"缓存设置"}),o.jsx("p",{className:"text-sm text-gray-600",children:"消息缓存相关配置"})]})]}),o.jsxs("label",{className:"block",children:[o.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[o.jsx(ls,{size:16,className:"text-purple-600"}),o.jsx("span",{className:"text-sm font-medium text-gray-700",children:"消息缓存过期时间(秒)"})]}),o.jsx("input",{type:"number",value:e.msgCacheExpire,onChange:l=>r("msgCacheExpire",parseInt(l.target.value)),min:"1",max:"86400",className:"input-field",placeholder:"3600"}),o.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"消息在缓存中保留的时间(1-86400秒)"})]})]}),o.jsxs("div",{className:"card p-6",children:[o.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[o.jsx("div",{className:"w-10 h-10 rounded-xl bg-gradient-to-br from-green-500 to-teal-600 flex items-center justify-center",children:o.jsx(ia,{size:20,className:"text-white"})}),o.jsxs("div",{children:[o.jsx("h3",{className:"text-lg font-semibold text-gray-800",children:"扩展功能"}),o.jsx("p",{className:"text-sm text-gray-600",children:"第三方服务配置"})]})]}),o.jsxs("label",{className:"block",children:[o.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[o.jsx(ia,{size:16,className:"text-green-600"}),o.jsx("span",{className:"text-sm font-medium text-gray-700",children:"音乐签名地址"})]}),o.jsx("input",{type:"text",value:e.musicSignUrl,onChange:l=>r("musicSignUrl",l.target.value),placeholder:"https://example.com/sign",className:"input-field"}),o.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"用于音乐卡片签名的服务地址"})]})]}),o.jsxs("div",{className:"card p-6",children:[o.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[o.jsx("div",{className:"w-10 h-10 rounded-xl bg-gradient-to-br from-red-500 to-pink-600 flex items-center justify-center",children:o.jsx(xp,{size:20,className:"text-white"})}),o.jsxs("div",{children:[o.jsx("h3",{className:"text-lg font-semibold text-gray-800",children:"安全设置"}),o.jsx("p",{className:"text-sm text-gray-600",children:"WebUI 访问控制"})]})]}),o.jsxs("div",{className:"flex items-center justify-between p-4 bg-gray-50/50 rounded-xl hover:bg-gray-100/50 transition-colors",children:[o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsx(Pc,{size:20,className:"text-red-600"}),o.jsxs("div",{children:[o.jsx("div",{className:"text-sm font-medium text-gray-800",children:"WebUI 访问密码"}),o.jsx("div",{className:"text-xs text-gray-500 mt-0.5",children:"用于保护 WebUI 访问的密码"})]})]}),o.jsxs("button",{onClick:n,className:"px-4 py-2 bg-gradient-to-r from-blue-500 to-purple-600 text-white rounded-lg text-sm font-medium hover:shadow-lg transition-all flex items-center gap-2",children:[o.jsx(hp,{size:16}),"修改密码"]})]})]})]})};function Lc(e,t){const n=e.trim();return n?t!==void 0&&n.length<t?{isValid:!1,error:`密码长度不能少于${t}位`}:/[\r\n]/.test(n)?{isValid:!1,error:"密码不能包含换行符!"}:/[^\x20-\x7E\t]/.test(n)?{isValid:!1,error:"密码不能包含中文等特殊字符!"}:/[\x00-\x08\x0A-\x1F\x7F]/.test(n)?{isValid:!1,error:"密码包含不可见的控制字符!"}:{isValid:!0}:{isValid:!1,error:"密码不能为空"}}const ss=({visible:e,onConfirm:t,onClose:n,error:r})=>{const[l,s]=E.useState(""),[i,a]=E.useState(!1),[u,f]=E.useState(""),p=E.useRef(null);E.useEffect(()=>{e&&p.current&&setTimeout(()=>{var y;return(y=p.current)==null?void 0:y.focus()},100)},[e]),E.useEffect(()=>{e&&(s(""),a(!1),f(""))},[e]);const g=()=>{const y=Lc(l);if(!y.isValid){f(y.error||"密码验证失败");return}f(""),t(l.trim())},h=y=>{y.key==="Enter"&&g()};return E.useEffect(()=>{if(!e)return;const y=x=>{x.key==="Escape"&&(x.preventDefault(),x.stopPropagation())};return window.addEventListener("keydown",y),()=>window.removeEventListener("keydown",y)},[e]),e?o.jsx(o.Fragment,{children:o.jsx("div",{className:"fixed inset-0 bg-black/30 backdrop-blur-sm flex items-center justify-center p-4",style:{zIndex:9e3},onClick:y=>y.target===y.currentTarget&&(n==null?void 0:n()),children:o.jsxs("div",{className:"bg-white/90 backdrop-blur-xl rounded-3xl shadow-2xl w-full max-w-md transform transition-all",children:[o.jsxs("div",{className:"flex items-center justify-between p-6 border-b border-white/20",children:[o.jsx("h3",{className:"text-xl font-semibold text-gray-900",children:r||"WebUI 密码"}),n&&o.jsx("button",{onClick:n,className:"text-gray-400 hover:text-gray-600 transition-colors",children:o.jsx(sr,{size:24})})]}),o.jsx("div",{className:"p-6",children:o.jsxs("div",{className:"space-y-2",children:[o.jsxs("div",{className:"relative",children:[o.jsx("input",{ref:p,type:i?"text":"password",value:l,onChange:y=>{s(y.target.value),u&&f("")},onKeyPress:h,placeholder:"请输入密码(支持数字、字母、符号)",className:`w-full px-4 py-3 pr-12 border rounded-xl focus:outline-none focus:ring-2 transition-all bg-white/50 backdrop-blur-sm ${u?"border-red-300 focus:ring-red-500 focus:border-red-500":"border-gray-300 focus:ring-blue-500 focus:border-transparent"}`,autoComplete:"off"}),o.jsx("button",{type:"button",onClick:()=>a(!i),className:"absolute right-3 top-1/2 -translate-y-1/2 text-gray-400 hover:text-gray-600 transition-colors",children:i?o.jsx(rr,{size:20}):o.jsx(lr,{size:20})})]}),u&&o.jsx("p",{className:"text-sm text-red-500 px-1",children:u})]})}),o.jsxs("div",{className:"flex items-center justify-end gap-3 p-6 border-t border-white/20",children:[n&&o.jsx("button",{onClick:n,className:"px-6 py-2.5 text-gray-700 hover:bg-gray-100 rounded-lg font-medium transition-colors",children:"取消"}),o.jsx("button",{onClick:g,disabled:!l.trim(),className:"px-6 py-2.5 bg-gradient-to-r from-blue-500 to-purple-600 text-white rounded-lg font-medium hover:shadow-lg transition-all disabled:opacity-50 disabled:cursor-not-allowed disabled:hover:shadow-none",children:"确定"})]})]})})}):null};function Pp(e){const t=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],r=new TextEncoder().encode(e),l=r.length*8,s=Math.ceil((l+65)/512)*64,i=new Uint8Array(s);i.set(r),i[r.length]=128;const a=new DataView(i.buffer);a.setUint32(s-4,l&4294967295,!1);let u=1779033703,f=3144134277,p=1013904242,g=2773480762,h=1359893119,y=2600822924,x=528734635,k=1541459225;for(let M=0;M<s;M+=64){const d=new Uint32Array(64);for(let N=0;N<16;N++)d[N]=a.getUint32(M+N*4,!1);for(let N=16;N<64;N++){const U=(d[N-15]>>>7|d[N-15]<<25)^(d[N-15]>>>18|d[N-15]<<14)^d[N-15]>>>3,$=(d[N-2]>>>17|d[N-2]<<15)^(d[N-2]>>>19|d[N-2]<<13)^d[N-2]>>>10;d[N]=d[N-16]+U+d[N-7]+$>>>0}let c=u,m=f,v=p,C=g,j=h,z=y,_=x,T=k;for(let N=0;N<64;N++){const U=(j>>>6|j<<26)^(j>>>11|j<<21)^(j>>>25|j<<7),$=j&z^~j&_,S=T+U+$+t[N]+d[N]>>>0,D=(c>>>2|c<<30)^(c>>>13|c<<19)^(c>>>22|c<<10),ee=c&m^c&v^m&v,I=D+ee>>>0;T=_,_=z,z=j,j=C+S>>>0,C=v,v=m,m=c,c=S+I>>>0}u=u+c>>>0,f=f+m>>>0,p=p+v>>>0,g=g+C>>>0,h=h+j>>>0,y=y+z>>>0,x=x+_>>>0,k=k+T>>>0}return[u.toString(16).padStart(8,"0"),f.toString(16).padStart(8,"0"),p.toString(16).padStart(8,"0"),g.toString(16).padStart(8,"0"),h.toString(16).padStart(8,"0"),y.toString(16).padStart(8,"0"),x.toString(16).padStart(8,"0"),k.toString(16).padStart(8,"0")].join("")}async function zp(e){try{return Pp(e)}catch(t){if(console.error("[PasswordHash] 纯JS SHA-256实现失败:",t),typeof crypto<"u"&&crypto.subtle)try{const n=new TextEncoder().encode(e),r=await crypto.subtle.digest("SHA-256",n);return Array.from(new Uint8Array(r)).map(s=>s.toString(16).padStart(2,"0")).join("")}catch(n){console.error("[PasswordHash] Web Crypto API失败:",n)}throw new Error("无法计算SHA-256哈希")}}async function pa(e){return await zp(e)}function _p(e,t,n=30){const r=new Date;r.setTime(r.getTime()+n*24*60*60*1e3);const l=`expires=${r.toUTCString()}`,i=window.location.protocol==="https:"?"; Secure":"",a=window.location.hostname,f=/^\d+\.\d+\.\d+\.\d+$/.test(a)?"":"; SameSite=Lax",p=`${e}=${t}; ${l}; path=/${f}${i}`;document.cookie=p}function Lp(e){const t=e+"=",n=document.cookie.split(";");for(let r=0;r<n.length;r++){let l=n[r];for(;l.charAt(0)===" ";)l=l.substring(1,l.length);if(l.indexOf(t)===0)return l.substring(t.length,l.length)}return console.log("[Cookie] 未找到Cookie:",{name:e,allCookies:document.cookie}),null}const Tc="webui_token",Tp=30;let Ln=null;function Mp(e){Ln=e}function Rp(){return Lp(Tc)}function ma(e){_p(Tc,e,Tp)}async function Tt(e,t={}){const n=async r=>{const l={...t.headers};return r&&(l["x-webui-token"]=r),fetch(e,{...t,headers:l})};try{let r=await n(Rp());if(r.status===401&&Ln){console.log("401 - Password not set, prompting to set password...");const l=await Ln("请设置密码");if(!l||!l.trim())throw new Error("密码不能为空");if(!(await fetch("/api/set-token",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({token:l.trim()})})).ok)throw new Error("设置密码失败");const i=await pa(l.trim());ma(i),r=await n(i)}if(r.status===403&&Ln){console.log("403 - Token verification failed, prompting for password...");let l=null;try{l=await r.clone().json()}catch{}l!=null&&l.locked&&he(l.message||"账户已被锁定","error");let s=0;const i=5;for(;r.status===403&&s<i;)try{const a=s>0?"密码错误,请重新输入":"请输入密码",u=await Ln(a);if(!u||!u.trim())throw new Error("密码不能为空");const f=await pa(u.trim());if(ma(f),r=await n(f),r.status===200){console.log("Authentication successful!");break}try{if(l=await r.clone().json(),l!=null&&l.locked)throw new Error(l.message||"账户已被锁定")}catch{}s++}catch(a){throw console.error("Password prompt error:",a),a}if(r.status===403)throw new Error((l==null?void 0:l.message)||"认证失败")}if(!r.ok){const l=await r.text();throw new Error(`HTTP error! status: ${r.status}, message: ${l}`)}return await r.json()}catch(r){throw console.error("API fetch error:",r),r}}const Ip=({visible:e,onClose:t,onSuccess:n})=>{const[r,l]=E.useState(""),[s,i]=E.useState(""),[a,u]=E.useState(!1),[f,p]=E.useState(!1),[g,h]=E.useState(!1),[y,x]=E.useState(""),k=E.useRef(null);E.useEffect(()=>{e&&k.current&&setTimeout(()=>{var c;return(c=k.current)==null?void 0:c.focus()},100)},[e]),E.useEffect(()=>{e&&(l(""),i(""),u(!1),p(!1),x(""))},[e]);const M=async()=>{const c=Lc(r,6);if(!c.isValid){x(c.error||"密码验证失败");return}if(r!==s){x("两次输入的密码不一致");return}h(!0),x("");try{const m=await Tt("/api/set-token",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({token:r})});m.success?(he("密码修改成功","success"),n(),t()):x(m.message||"密码修改失败")}catch(m){x(m.message||"密码修改失败")}finally{h(!1)}},d=c=>{c.key==="Enter"&&M()};return e?o.jsx(o.Fragment,{children:o.jsx("div",{className:"fixed inset-0 bg-black/30 backdrop-blur-sm flex items-center justify-center p-4",style:{zIndex:9e3},onClick:c=>c.target===c.currentTarget&&t(),children:o.jsxs("div",{className:"bg-white/90 backdrop-blur-xl rounded-3xl shadow-2xl w-full max-w-md transform transition-all",children:[o.jsxs("div",{className:"flex items-center gap-3 p-6 border-b border-white/20",children:[o.jsx("div",{className:"w-10 h-10 rounded-xl bg-gradient-to-br from-red-500 to-pink-600 flex items-center justify-center",children:o.jsx(Pc,{size:20,className:"text-white"})}),o.jsxs("div",{className:"flex-1",children:[o.jsx("h3",{className:"text-xl font-semibold text-gray-900",children:"修改 WebUI 密码"}),o.jsx("p",{className:"text-sm text-gray-600 mt-0.5",children:"请输入新密码"})]}),o.jsx("button",{onClick:t,className:"text-gray-400 hover:text-gray-600 transition-colors",children:o.jsx(sr,{size:24})})]}),o.jsxs("div",{className:"p-6 space-y-4",children:[y&&o.jsx("div",{className:"p-3 bg-red-50 border border-red-200 rounded-xl text-red-600 text-sm",children:y}),o.jsxs("div",{children:[o.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"新密码"}),o.jsxs("div",{className:"relative",children:[o.jsx("input",{ref:k,type:a?"text":"password",value:r,onChange:c=>{l(c.target.value),x("")},onKeyPress:d,placeholder:"请输入新密码(支持数字、字母、符号)",className:"w-full px-4 py-3 pr-12 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-all bg-white/50 backdrop-blur-sm",autoComplete:"new-password"}),o.jsx("button",{type:"button",onClick:()=>u(!a),className:"absolute right-3 top-1/2 -translate-y-1/2 text-gray-400 hover:text-gray-600 transition-colors",children:a?o.jsx(rr,{size:20}):o.jsx(lr,{size:20})})]}),o.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"密码长度至少6位"})]}),o.jsxs("div",{children:[o.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"确认密码"}),o.jsxs("div",{className:"relative",children:[o.jsx("input",{type:f?"text":"password",value:s,onChange:c=>{i(c.target.value),x("")},onKeyPress:d,placeholder:"请再次输入新密码",className:"w-full px-4 py-3 pr-12 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-all bg-white/50 backdrop-blur-sm",autoComplete:"new-password"}),o.jsx("button",{type:"button",onClick:()=>p(!f),className:"absolute right-3 top-1/2 -translate-y-1/2 text-gray-400 hover:text-gray-600 transition-colors",children:f?o.jsx(rr,{size:20}):o.jsx(lr,{size:20})})]})]})]}),o.jsxs("div",{className:"flex items-center justify-end gap-3 p-6 border-t border-white/20",children:[o.jsx("button",{onClick:t,disabled:g,className:"px-6 py-2.5 text-gray-700 hover:bg-gray-100 rounded-lg font-medium transition-colors disabled:opacity-50",children:"取消"}),o.jsx("button",{onClick:M,disabled:g||!r.trim()||!s.trim(),className:"px-6 py-2.5 bg-gradient-to-r from-blue-500 to-purple-600 text-white rounded-lg font-medium hover:shadow-lg transition-all disabled:opacity-50 disabled:cursor-not-allowed disabled:hover:shadow-none",children:g?"修改中...":"确定修改"})]})]})})}):null},bp=({onLoginSuccess:e})=>{const[t,n]=E.useState("quick"),[r,l]=E.useState(!1),[s,i]=E.useState(!1),[a,u]=E.useState(!1),[f,p]=E.useState(""),[g,h]=E.useState([]),[y,x]=E.useState(null),[k,M]=E.useState(!1),d=E.useRef(null),c=E.useRef(null),m=E.useRef(null),v=E.useRef(!1),C={scanning:"扫描成功,请在手机上确认",success:"登录成功",expired:"二维码已过期,请刷新",error:"登录失败,请重试","":""},j=E.useCallback(()=>{v.current=!1,m.current&&(clearTimeout(m.current),m.current=null)},[]),z=E.useCallback(async()=>{if(v.current)return;v.current=!0,console.log("开始轮询登录状态...");const I=60;let oe=0;const P=async()=>{if(oe>=I){j(),he("登录超时,请重试","error"),t==="qr"&&p("error");return}oe++;try{const R=await Tt("/api/login-info");if(R.success&&R.data.online===!0){j(),he("登录成功!正在跳转到主页面...","success"),t==="qr"&&p("success"),setTimeout(()=>{e()},1e3);return}m.current=setTimeout(P,3e3)}catch(R){console.warn("轮询登录状态失败:",R),m.current=setTimeout(P,3e3)}};await P()},[t,e,j]),_=E.useCallback(I=>{if(!d.current)return;const P=d.current.getContext("2d");if(!P)return;const R=new Image;R.onload=()=>{P.clearRect(0,0,200,200),P.drawImage(R,0,0,200,200)},R.src=I},[]),T=E.useCallback(async()=>{if(d.current)try{const I=await Tt("/api/login-qrcode");if(I.success&&I.data){_(I.data.pngBase64QrcodeData);const oe=I.data.expireTime*1e3;c.current&&clearInterval(c.current),c.current=setTimeout(()=>{u(!0),p("expired"),j()},oe),u(!1),p(""),he("请使用手机QQ扫码登录","warning"),await z()}else throw new Error(I.message||"获取二维码失败")}catch(I){he(I.message||"获取二维码失败","error"),console.error("QR code generation error:",I)}},[_,z,j]),N=E.useCallback(async()=>{await T(),he("二维码已刷新","success")},[T]),U=E.useRef(!1),$=E.useCallback(async()=>{if(!U.current){U.current=!0;try{const I=await Tt("/api/quick-login-list");if(console.log("Quick login list response:",I),I.success&&I.data&&I.data.LocalLoginInfoList){const oe=I.data.LocalLoginInfoList.filter(P=>P.isQuickLogin&&!P.isUserLogin);h(oe),console.log("Accounts loaded:",oe),oe.length>0?x(P=>P??oe[0]):n("qr")}else console.warn("No quick login accounts available:",I.message),h([])}catch(I){console.error("Failed to fetch quick login list:",I),he("获取快速登录列表失败","error"),h([])}}},[]),S=E.useCallback(async()=>{if(y){i(!0);try{const oe=(await Tt("/api/quick-login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({uin:y.uin})})).data;if(oe.result==="0")he(`正在登录 ${y.nickName}...`,"success"),await z();else throw new Error(oe.loginErrorInfo.errMsg||"登录失败")}catch(I){he(I.message,"error"),console.error("Quick login error:",I),n("qr")}finally{i(!1)}}},[y,z]),D=()=>{l(!r)},ee=I=>{x(I),l(!1)};return E.useEffect(()=>(U.current||$(),()=>{c.current&&clearInterval(c.current),j()}),[]),E.useEffect(()=>{t==="qr"?setTimeout(()=>T(),100):c.current&&clearInterval(c.current),t==="quick"&&g.length===0&&!U.current&&$()},[t,g.length,T]),o.jsx("div",{className:"relative min-h-screen flex flex-col items-center justify-center p-5",children:o.jsxs("div",{className:"bg-white/50 backdrop-blur-2xl rounded-3xl p-10 shadow-xl border border-white/30 min-w-[320px] text-center relative z-10",children:[t==="quick"&&o.jsxs("div",{className:"flex flex-col items-center gap-6",children:[!r&&y&&o.jsxs("div",{className:"flex flex-col items-center cursor-pointer p-4 rounded-2xl transition-colors hover:bg-blue-50",onClick:D,children:[o.jsx("div",{className:"w-20 h-20 rounded-full overflow-hidden mb-3 shadow-lg",children:o.jsx("img",{src:y.faceUrl,alt:y.nickName,className:"w-full h-full object-cover"})}),o.jsx("div",{className:"text-base text-gray-800 mb-2",children:y.nickName})]}),r&&o.jsx("div",{className:"grid grid-cols-2 gap-4 my-5 w-full max-w-md",children:g.map(I=>o.jsxs("div",{className:"flex flex-col items-center p-4 rounded-2xl cursor-pointer transition-all border-2 border-transparent hover:bg-blue-50 hover:border-blue-500",onClick:()=>ee(I),children:[o.jsx("div",{className:"w-[60px] h-[60px] rounded-full overflow-hidden mb-2 shadow-md",children:o.jsx("img",{src:I.faceUrl,alt:I.nickName,className:"w-full h-full object-cover"})}),o.jsx("div",{className:"text-sm text-gray-800 text-center truncate w-full px-1",children:I.nickName})]},I.uin))}),!r&&o.jsx("button",{onClick:S,disabled:!y||s,className:"w-[280px] h-11 bg-gradient-to-r from-blue-500 to-purple-600 text-white rounded-full font-medium text-base disabled:opacity-50 disabled:cursor-not-allowed hover:shadow-lg transition-all flex items-center justify-center gap-2",children:s?o.jsxs(o.Fragment,{children:[o.jsx(_n,{size:20,className:"animate-spin"}),"登录中..."]}):"登录"}),o.jsxs("div",{className:"flex gap-6 justify-center",children:[!r&&o.jsx("button",{onClick:D,className:"text-blue-600 text-sm hover:underline",children:"切换账号"}),o.jsx("button",{onClick:()=>n("qr"),className:"text-blue-600 text-sm hover:underline",children:"扫码登录"})]})]}),t==="qr"&&o.jsxs("div",{className:"flex flex-col items-center gap-5",children:[o.jsx("div",{className:"relative inline-block",children:o.jsxs("div",{className:"relative p-5 bg-white rounded-2xl shadow-lg",children:[o.jsx("canvas",{ref:d,width:"200",height:"200",className:"block rounded-lg"}),a&&o.jsxs("div",{className:"absolute inset-0 bg-black/70 flex flex-col items-center justify-center text-white cursor-pointer rounded-2xl transition-opacity hover:opacity-90",onClick:N,children:[o.jsx(vp,{size:32,className:"mb-2"}),o.jsx("div",{children:"点击刷新"})]})]})}),o.jsx("div",{className:"text-gray-600",children:"请使用手机QQ扫码登录"}),f&&o.jsx("div",{className:`text-sm px-4 py-2 rounded-lg ${f==="success"?"bg-green-100 text-green-800":f==="error"||f==="expired"?"bg-red-100 text-red-800":"bg-blue-100 text-blue-800"}`,children:C[f]})]}),o.jsx("div",{className:"mt-6",children:t==="qr"&&g.length>0&&o.jsx("button",{onClick:()=>n("quick"),className:"text-blue-600 text-sm hover:underline",children:"快速登录"})})]})})},os=()=>{const e=E.useRef(null),t=E.useRef([]),n=E.useRef();return E.useEffect(()=>{const r=e.current;if(!r)return;const l=r.getContext("2d");if(!l)return;const s=()=>{r.width=window.innerWidth,r.height=window.innerHeight};s(),window.addEventListener("resize",s);const i=["rgba(139, 92, 246, 0.6)","rgba(59, 130, 246, 0.6)","rgba(236, 72, 153, 0.6)","rgba(16, 185, 129, 0.6)","rgba(245, 158, 11, 0.6)","rgba(168, 85, 247, 0.6)","rgba(14, 165, 233, 0.6)","rgba(251, 113, 133, 0.6)"];(()=>{const p=[];for(let h=0;h<8;h++){const y=Math.random()*80+60;p.push({x:Math.random()*r.width,y:Math.random()*r.height,vx:(Math.random()-.5)*.8,vy:(Math.random()-.5)*.8,radius:y,baseRadius:y,scale:1,scaleSpeed:Math.random()*.002+.001,color:i[Math.floor(Math.random()*i.length)]})}t.current=p})();const u=(p,g)=>{const h=g.x-p.x,y=g.y-p.y,x=Math.sqrt(h*h+y*y);if(x<p.radius+g.radius){const k=Math.atan2(y,h),M=Math.sin(k),d=Math.cos(k),c=p.vx*d+p.vy*M,m=p.vy*d-p.vx*M,v=g.vx*d+g.vy*M,C=g.vy*d-g.vx*M;p.vx=v*d-m*M,p.vy=m*d+v*M,g.vx=c*d-C*M,g.vy=C*d+c*M;const j=(p.radius+g.radius-x)/2;p.x-=j*d,p.y-=j*M,g.x+=j*d,g.y+=j*M}},f=()=>{l.clearRect(0,0,r.width,r.height),t.current.forEach((p,g)=>{p.x+=p.vx,p.y+=p.vy,p.scale+=p.scaleSpeed,(p.scale>1.2||p.scale<.8)&&(p.scaleSpeed=-p.scaleSpeed),p.radius=p.baseRadius*p.scale,(p.x-p.radius<0||p.x+p.radius>r.width)&&(p.vx=-p.vx,p.x=Math.max(p.radius,Math.min(r.width-p.radius,p.x))),(p.y-p.radius<0||p.y+p.radius>r.height)&&(p.vy=-p.vy,p.y=Math.max(p.radius,Math.min(r.height-p.radius,p.y)));for(let y=g+1;y<t.current.length;y++)u(p,t.current[y]);const h=l.createRadialGradient(p.x,p.y,0,p.x,p.y,p.radius);h.addColorStop(0,p.color.replace("0.6","0.8")),h.addColorStop(.5,p.color),h.addColorStop(1,p.color.replace("0.6","0")),l.fillStyle=h,l.beginPath(),l.arc(p.x,p.y,p.radius,0,Math.PI*2),l.fill(),l.filter="blur(20px)",l.fill(),l.filter="none"}),n.current=requestAnimationFrame(f)};return f(),()=>{window.removeEventListener("resize",s),n.current&&cancelAnimationFrame(n.current)}},[]),o.jsx("canvas",{ref:e,className:"fixed inset-0 w-full h-full pointer-events-none",style:{zIndex:0}})},Op={enable:!0,connect:[]},Fp={enable:!1,port:5600,token:""},Dp={enable:!0,port:3080},Ap={webui:Dp,onlyLocalhost:!0,satori:Fp,ob11:Op,enableLocalFile2Url:!1,log:!0,autoDeleteFile:!1,autoDeleteFileSecond:60,musicSignUrl:"https://llob.linyuchen.net/sign/music",msgCacheExpire:120,ffmpeg:"",rawMsgPB:!1},Up="6.6.6";function $p(){const[e,t]=E.useState("dashboard"),[n,r]=E.useState(Ap),[l,s]=E.useState(!1),[i,a]=E.useState(!1),[u,f]=E.useState(!0),[p,g]=E.useState(null),[h,y]=E.useState(!1),[x,k]=E.useState(""),[M,d]=E.useState(null),[c,m]=E.useState(!1),[v,C]=E.useState(!1);E.useEffect(()=>{Mp(async T=>new Promise(N=>{k(T||""),y(!0),d(()=>N)}))},[]);const j=E.useCallback(T=>{T.trim()?(y(!1),k(""),M&&(M(T),d(null))):k("密码不能为空")},[M]);E.useEffect(()=>{(async()=>{try{const N=await Tt("/api/config");N.success&&N.data.selfInfo.online?(a(!0),g({nick:N.data.selfInfo.nick||"",uin:N.data.selfInfo.uin}),r(N.data.config)):a(!1)}catch(N){console.error("Failed to check login status:",N),a(!1)}finally{f(!1)}})()},[]);const z=E.useCallback(async T=>{try{s(!0);const U=await Tt("/api/config",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({config:T||n})});U.success?he("配置保存成功","success"):he("保存失败:"+U.message,"error")}catch(N){he("保存失败:"+N.message,"error")}finally{s(!1)}},[n]),_=E.useCallback(()=>{window.location.reload()},[]);return u?o.jsxs(o.Fragment,{children:[o.jsx(os,{}),o.jsx("div",{className:"relative flex items-center justify-center min-h-screen z-10",children:o.jsx(_n,{size:48,className:"animate-spin text-blue-500"})}),o.jsx(ss,{visible:h,onConfirm:j,error:x})]}):i?o.jsxs("div",{className:"flex min-h-screen",children:[o.jsx(os,{}),o.jsx(jp,{activeTab:e,onTabChange:t,accountInfo:p||void 0}),o.jsx("main",{className:"flex-1 p-8 overflow-auto z-10",children:o.jsxs("div",{className:"max-w-6xl mx-auto",children:[o.jsxs("div",{className:"mb-8",children:[o.jsx("h2",{className:"text-3xl font-bold text-white mb-2",children:e==="dashboard"&&"Dashboard"}),o.jsx("p",{className:"text-white/80",children:e==="dashboard"&&"欢迎使用 LLTwoBot"})]}),e==="dashboard"&&o.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:[o.jsxs("div",{className:"card p-6 hover:scale-105",children:[o.jsxs("div",{className:"flex items-center justify-between mb-4",children:[o.jsx("h3",{className:"text-lg font-semibold text-gray-800",children:"OneBot 11"}),o.jsx("span",{className:`px-3 py-1 rounded-full text-xs font-medium ${n.ob11.enable?"bg-green-100 text-green-800":"bg-gray-100 text-gray-800"}`,children:n.ob11.enable?"已启用":"未启用"})]}),o.jsx("p",{className:"text-sm text-gray-600",children:"OneBot 11 协议配置"}),o.jsx("button",{onClick:()=>t("onebot"),className:"mt-4 text-blue-600 text-sm font-medium hover:text-blue-700",children:"前往配置 →"})]}),o.jsxs("div",{className:"card p-6 hover:scale-105",children:[o.jsxs("div",{className:"flex items-center justify-between mb-4",children:[o.jsx("h3",{className:"text-lg font-semibold text-gray-800",children:"Satori"}),o.jsx("span",{className:`px-3 py-1 rounded-full text-xs font-medium ${n.satori.enable?"bg-green-100 text-green-800":"bg-gray-100 text-gray-800"}`,children:n.satori.enable?"已启用":"未启用"})]}),o.jsx("p",{className:"text-sm text-gray-600",children:"Satori 协议配置"}),o.jsx("button",{onClick:()=>t("satori"),className:"mt-4 text-blue-600 text-sm font-medium hover:text-blue-700",children:"前往配置 →"})]}),o.jsxs("div",{className:"card p-6 hover:scale-105",children:[o.jsxs("div",{className:"flex items-center justify-between mb-4",children:[o.jsx("h3",{className:"text-lg font-semibold text-gray-800",children:"系统设置"}),o.jsx("span",{className:"px-3 py-1 rounded-full text-xs font-medium bg-blue-100 text-blue-800",children:"配置"})]}),o.jsx("p",{className:"text-sm text-gray-600",children:"全局配置和系统选项"}),o.jsx("button",{onClick:()=>t("other"),className:"mt-4 text-blue-600 text-sm font-medium hover:text-blue-700",children:"前往配置 →"})]})]}),e==="onebot"&&o.jsx(Cp,{config:n.ob11,globalConfig:n,onChange:T=>{const N={...n,ob11:T};r(N)},onSave:T=>{if(T){const N={...n,ob11:T};z(N)}else z()}}),e==="satori"&&o.jsxs("div",{className:"card p-6",children:[o.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[o.jsx("div",{className:"w-12 h-12 rounded-xl bg-gradient-to-br from-indigo-500 to-purple-600 flex items-center justify-center",children:o.jsx(zc,{size:24,className:"text-white"})}),o.jsxs("div",{children:[o.jsx("h3",{className:"text-lg font-semibold text-gray-800",children:"Satori 协议"}),o.jsx("p",{className:"text-sm text-gray-600",children:"配置 Satori 协议相关设置"})]})]}),o.jsxs("div",{className:"space-y-4",children:[o.jsxs("div",{className:"flex items-center justify-between p-4 bg-gray-50/50 rounded-xl hover:bg-gray-100/50 transition-colors",children:[o.jsxs("div",{children:[o.jsx("div",{className:"text-sm font-medium text-gray-800",children:"启用 Satori 协议"}),o.jsx("div",{className:"text-xs text-gray-500 mt-0.5",children:"开启后将支持 Satori 协议连接"})]}),o.jsx("input",{type:"checkbox",checked:n.satori.enable,onChange:T=>r({...n,satori:{...n.satori,enable:T.target.checked}}),className:`w-12 h-6 rounded-full bg-gray-300 relative cursor-pointer appearance-none\r
|
|
251
|
-
checked:bg-gradient-to-r checked:from-blue-500 checked:to-purple-600\r
|
|
252
|
-
transition-colors duration-200 ease-in-out\r
|
|
253
|
-
before:content-[''] before:absolute before:top-0.5 before:left-0.5\r
|
|
254
|
-
before:w-5 before:h-5 before:rounded-full before:bg-white\r
|
|
255
|
-
before:transition-transform before:duration-200\r
|
|
256
|
-
checked:before:translate-x-6`})]}),n.satori.enable&&o.jsxs(o.Fragment,{children:[o.jsxs("div",{children:[o.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Satori 端口"}),o.jsx("input",{type:"number",value:n.satori.port,onChange:T=>r({...n,satori:{...n.satori,port:parseInt(T.target.value)}}),min:"1",max:"65535",placeholder:"5500",className:"input-field"}),o.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"Satori 服务监听端口(1-65535)"})]}),o.jsxs("div",{children:[o.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Satori Token"}),o.jsxs("div",{className:"relative",children:[o.jsx("input",{type:c?"text":"password",value:n.satori.token,onChange:T=>r({...n,satori:{...n.satori,token:T.target.value}}),placeholder:"请输入 Satori Token",className:"input-field pr-12"}),o.jsx("button",{type:"button",onClick:()=>m(!c),className:"absolute right-3 top-1/2 -translate-y-1/2 text-gray-400 hover:text-gray-600 transition-colors p-1",children:c?o.jsx(rr,{size:20}):o.jsx(lr,{size:20})})]}),o.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"用于 Satori 连接验证的 Token"})]})]})]}),o.jsx("div",{className:"mt-6 flex justify-end",children:o.jsx("button",{onClick:()=>{var T;if(!n.onlyLocalhost&&n.satori.enable&&!((T=n.satori.token)!=null&&T.trim())){he('当"只监听本地地址"关闭时,必须设置 Satori Token!',"error");return}z()},disabled:l,className:"btn-primary flex items-center gap-2",children:l?o.jsxs(o.Fragment,{children:[o.jsx(_n,{size:20,className:"animate-spin"}),"保存中..."]}):o.jsxs(o.Fragment,{children:[o.jsx(aa,{size:20}),"保存配置"]})})})]}),e==="other"&&o.jsxs(o.Fragment,{children:[o.jsx("div",{className:"pb-24",children:o.jsx(Ep,{config:n,onChange:r,onOpenChangePassword:()=>C(!0)})}),o.jsx("div",{className:"fixed bottom-8 right-8 z-40",children:o.jsx("button",{onClick:()=>z(),disabled:l,className:"btn-primary flex items-center gap-2 shadow-2xl hover:shadow-3xl",children:l?o.jsxs(o.Fragment,{children:[o.jsx(_n,{size:20,className:"animate-spin"}),"保存中..."]}):o.jsxs(o.Fragment,{children:[o.jsx(aa,{size:20}),"保存配置"]})})})]}),e==="about"&&o.jsxs("div",{className:"space-y-6",children:[o.jsxs("div",{className:"card p-8 text-center",children:[o.jsx("div",{className:"w-20 h-20 rounded-3xl overflow-hidden mx-auto mb-6 shadow-lg",children:o.jsx("img",{src:"/logo.jpg",alt:"Logo",className:"w-full h-full object-cover"})}),o.jsx("h1",{className:"text-3xl font-bold text-gray-800 mb-2",children:"Lucky Lillia TwoBot"}),o.jsx("p",{className:"text-gray-600 mb-6",children:"使你的 QQNT 支持 OneBot 11 协议 和 Satori 协议进行 QQ 机器人开发"}),o.jsxs("div",{className:"flex items-center justify-center gap-4",children:[o.jsxs("a",{href:"https://github.com/LLOneBot/LLOneBot",target:"_blank",rel:"noopener noreferrer",className:"px-6 py-2.5 bg-gray-800 text-white rounded-xl hover:bg-gray-900 transition-colors flex items-center gap-2",children:[o.jsx("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{fillRule:"evenodd",d:"M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z",clipRule:"evenodd"})}),"GitHub"]}),o.jsxs("a",{href:"https://llonebot.com",target:"_blank",rel:"noopener noreferrer",className:"px-6 py-2.5 bg-gradient-to-r from-blue-500 to-purple-600 text-white rounded-xl hover:shadow-lg transition-all flex items-center gap-2",children:[o.jsx("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253"})}),"文档"]})]})]}),o.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[o.jsxs("div",{className:"card p-6",children:[o.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[o.jsx("div",{className:"w-12 h-12 rounded-xl bg-gradient-to-br from-blue-500 to-cyan-600 flex items-center justify-center",children:o.jsx("svg",{className:"w-6 h-6 text-white",fill:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{d:"M16.5 3c-1.862 0-3.505.928-4.5 2.344C11.005 3.928 9.362 3 7.5 3 4.462 3 2 5.462 2 8.5c0 4.171 4.912 8.213 6.281 9.49a2.94 2.94 0 0 0 2.438.94 2.94 2.94 0 0 0 2.438-.94C14.588 16.713 19.5 12.671 19.5 8.5 19.5 5.462 17.038 3 16.5 3z"})})}),o.jsxs("div",{children:[o.jsx("h3",{className:"text-lg font-semibold text-gray-800",children:"Telegram 群"}),o.jsx("p",{className:"text-sm text-gray-600"})]})]}),o.jsx("a",{href:"https://t.me/+nLZEnpne-pQ1OWFl",target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:text-blue-700 hover:underline text-sm break-all",children:"https://t.me/+nLZEnpne-pQ1OWFl"})]}),o.jsxs("div",{className:"card p-6",children:[o.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[o.jsx("div",{className:"w-12 h-12 rounded-xl bg-gradient-to-br from-green-500 to-emerald-600 flex items-center justify-center",children:o.jsx("svg",{className:"w-6 h-6 text-white",fill:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{d:"M16.5 3c-1.862 0-3.505.928-4.5 2.344C11.005 3.928 9.362 3 7.5 3 4.462 3 2 5.462 2 8.5c0 4.171 4.912 8.213 6.281 9.49a2.94 2.94 0 0 0 2.438.94 2.94 2.94 0 0 0 2.438-.94C14.588 16.713 19.5 12.671 19.5 8.5 19.5 5.462 17.038 3 16.5 3z"})})}),o.jsx("div",{children:o.jsx("h3",{className:"text-lg font-semibold text-gray-800",children:"QQ 群"})})]}),o.jsx("div",{className:"flex items-center gap-3",children:o.jsx("a",{href:"https://qm.qq.com/q/EZndy3xntQ",target:"_blank",rel:"noopener noreferrer",className:" text-blue-600 hover:text-blue-700 hover:underline",children:"545402644"})})]})]}),o.jsx("div",{className:"card p-6",children:o.jsxs("div",{className:"flex items-center justify-between",children:[o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsx("div",{className:"w-10 h-10 rounded-xl bg-gradient-to-br from-purple-500 to-pink-600 flex items-center justify-center",children:o.jsx("svg",{className:"w-5 h-5 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})})}),o.jsxs("div",{children:[o.jsx("div",{className:"text-sm font-medium text-gray-800",children:"版本信息"}),o.jsxs("div",{className:"text-xs text-gray-500",children:["LLTwoBot ",Up]})]})]}),o.jsxs("div",{className:"text-sm text-gray-600",children:["WebUI Powered by ",o.jsx("span",{className:"font-semibold text-purple-600",children:"React + Tailwind"})]})]})})]})]})}),l&&o.jsx("div",{className:"fixed inset-0 bg-black/20 flex items-center justify-center",style:{zIndex:9e3},children:o.jsxs("div",{className:"bg-white rounded-2xl p-6 shadow-2xl",children:[o.jsx(_n,{size:48,className:"animate-spin text-blue-600 mx-auto"}),o.jsx("p",{className:"mt-4 text-gray-700",children:"加载中..."})]})}),o.jsx(ss,{visible:h,onConfirm:j,error:x}),o.jsx(Ip,{visible:v,onClose:()=>C(!1),onSuccess:()=>{window.location.reload()}}),o.jsx(fa,{})]}):o.jsxs(o.Fragment,{children:[o.jsx(os,{}),o.jsx(bp,{onLoginSuccess:_}),o.jsx(ss,{visible:h,onConfirm:j,error:x}),o.jsx(fa,{})]})}is.createRoot(document.getElementById("root")).render(o.jsx(Yc.StrictMode,{children:o.jsx($p,{})}));
|