hfs 0.46.1 → 0.47.0-alpha6
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.
- package/README.md +4 -4
- package/admin/assets/{index-35f6e3dc.css → index-20dd43f3.css} +1 -1
- package/admin/assets/index-d55dfed9.js +518 -0
- package/{frontend/assets/sha512-d9635c9d.js → admin/assets/sha512-9867267f.js} +1 -1
- package/admin/index.html +2 -2
- package/frontend/assets/index-3a32a9b9.css +1 -0
- package/frontend/assets/index-ad78cbad.js +116 -0
- package/{admin/assets/sha512-3412b98f.js → frontend/assets/sha512-4c1cbf45.js} +1 -1
- package/frontend/fontello.css +5 -2
- package/frontend/fontello.woff2 +0 -0
- package/frontend/index.html +2 -3
- package/package.json +2 -2
- package/plugins/download-counter/plugin.js +15 -7
- package/plugins/download-counter/public/main.js +1 -1
- package/plugins/list-uploader/plugin.js +1 -1
- package/plugins/list-uploader/public/main.js +9 -10
- package/plugins/vhosting/plugin.js +5 -2
- package/src/QuickZipStream.js +3 -0
- package/src/adminApis.js +20 -5
- package/src/api.auth.js +0 -3
- package/src/api.file_list.js +3 -2
- package/src/api.monitor.js +36 -33
- package/src/api.vfs.js +37 -34
- package/src/apiMiddleware.js +44 -15
- package/src/commands.js +2 -2
- package/src/config.js +16 -13
- package/src/connections.js +3 -4
- package/src/consoleLog.js +17 -0
- package/src/const.js +4 -3
- package/src/frontEndApis.js +17 -10
- package/src/github.js +1 -1
- package/src/index.js +3 -1
- package/src/langs/embedded.js +3 -1
- package/src/langs/hfs-lang-es.json +118 -0
- package/src/langs/hfs-lang-it.json +7 -5
- package/src/langs/hfs-lang-nl.json +118 -0
- package/src/langs/hfs-lang-ru.json +3 -3
- package/src/langs/hfs-lang-zh.json +25 -5
- package/src/log.js +5 -3
- package/src/middlewares.js +2 -2
- package/src/misc.js +5 -1
- package/src/perm.js +1 -1
- package/src/serveFile.js +3 -1
- package/src/throttler.js +2 -1
- package/src/update.js +45 -7
- package/src/util-http.js +8 -3
- package/src/vfs.js +36 -12
- package/admin/assets/index-7f1741ba.js +0 -517
- package/frontend/assets/index-b49b8a16.js +0 -94
- package/frontend/assets/index-f2f8fd6b.css +0 -1
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
var C5=Object.defineProperty,k5=Object.defineProperties;var P5=Object.getOwnPropertyDescriptors;var Ts=Object.getOwnPropertySymbols;var Kg=Object.prototype.hasOwnProperty,Vg=Object.prototype.propertyIsEnumerable;var As=Math.pow,jg=(e,t,n)=>t in e?C5(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ce=(e,t)=>{for(var n in t||(t={}))Kg.call(t,n)&&jg(e,n,t[n]);if(Ts)for(var n of Ts(t))Vg.call(t,n)&&jg(e,n,t[n]);return e},Br=(e,t)=>k5(e,P5(t));var Ft=(e,t)=>{var n={};for(var i in e)Kg.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&Ts)for(var i of Ts(e))t.indexOf(i)<0&&Vg.call(e,i)&&(n[i]=e[i]);return n};var Fe=(e,t,n)=>new Promise((i,l)=>{var u=d=>{try{c(n.next(d))}catch(p){l(p)}},a=d=>{try{c(n.throw(d))}catch(p){l(p)}},c=d=>d.done?i(d.value):Promise.resolve(d.value).then(u,a);c((n=n.apply(e,t)).next())});function R5(e,t){for(var n=0;n<t.length;n++){const i=t[n];if(typeof i!="string"&&!Array.isArray(i)){for(const l in i)if(l!=="default"&&!(l in e)){const u=Object.getOwnPropertyDescriptor(i,l);u&&Object.defineProperty(e,l,u.get?u:{enumerable:!0,get:()=>i[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))i(l);new MutationObserver(l=>{for(const u of l)if(u.type==="childList")for(const a of u.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&i(a)}).observe(document,{childList:!0,subtree:!0});function n(l){const u={};return l.integrity&&(u.integrity=l.integrity),l.referrerPolicy&&(u.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?u.credentials="include":l.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function i(l){if(l.ep)return;l.ep=!0;const u=n(l);fetch(l.href,u)}})();var Zt=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Gp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function O5(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function i(){if(this instanceof i){var l=[null];l.push.apply(l,arguments);var u=Function.bind.apply(t,l);return new u}return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(i){var l=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(n,i,l.get?l:{enumerable:!0,get:function(){return e[i]}})}),n}var Yv={exports:{}},he={};/**
|
|
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 xu=Symbol.for("react.element"),T5=Symbol.for("react.portal"),A5=Symbol.for("react.fragment"),I5=Symbol.for("react.strict_mode"),L5=Symbol.for("react.profiler"),N5=Symbol.for("react.provider"),B5=Symbol.for("react.context"),b5=Symbol.for("react.forward_ref"),F5=Symbol.for("react.suspense"),M5=Symbol.for("react.memo"),D5=Symbol.for("react.lazy"),Gg=Symbol.iterator;function $5(e){return e===null||typeof e!="object"?null:(e=Gg&&e[Gg]||e["@@iterator"],typeof e=="function"?e:null)}var Xv={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},qv=Object.assign,Zv={};function qo(e,t,n){this.props=e,this.context=t,this.refs=Zv,this.updater=n||Xv}qo.prototype.isReactComponent={};qo.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")};qo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Jv(){}Jv.prototype=qo.prototype;function Qp(e,t,n){this.props=e,this.context=t,this.refs=Zv,this.updater=n||Xv}var Yp=Qp.prototype=new Jv;Yp.constructor=Qp;qv(Yp,qo.prototype);Yp.isPureReactComponent=!0;var Qg=Array.isArray,ey=Object.prototype.hasOwnProperty,Xp={current:null},ty={key:!0,ref:!0,__self:!0,__source:!0};function ny(e,t,n){var i,l={},u=null,a=null;if(t!=null)for(i in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(u=""+t.key),t)ey.call(t,i)&&!ty.hasOwnProperty(i)&&(l[i]=t[i]);var c=arguments.length-2;if(c===1)l.children=n;else if(1<c){for(var d=Array(c),p=0;p<c;p++)d[p]=arguments[p+2];l.children=d}if(e&&e.defaultProps)for(i in c=e.defaultProps,c)l[i]===void 0&&(l[i]=c[i]);return{$$typeof:xu,type:e,key:u,ref:a,props:l,_owner:Xp.current}}function z5(e,t){return{$$typeof:xu,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function qp(e){return typeof e=="object"&&e!==null&&e.$$typeof===xu}function U5(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Yg=/\/+/g;function Jf(e,t){return typeof e=="object"&&e!==null&&e.key!=null?U5(""+e.key):t.toString(36)}function Zs(e,t,n,i,l){var u=typeof e;(u==="undefined"||u==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(u){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case xu:case T5:a=!0}}if(a)return a=e,l=l(a),e=i===""?"."+Jf(a,0):i,Qg(l)?(n="",e!=null&&(n=e.replace(Yg,"$&/")+"/"),Zs(l,t,n,"",function(p){return p})):l!=null&&(qp(l)&&(l=z5(l,n+(!l.key||a&&a.key===l.key?"":(""+l.key).replace(Yg,"$&/")+"/")+e)),t.push(l)),1;if(a=0,i=i===""?".":i+":",Qg(e))for(var c=0;c<e.length;c++){u=e[c];var d=i+Jf(u,c);a+=Zs(u,t,n,d,l)}else if(d=$5(e),typeof d=="function")for(e=d.call(e),c=0;!(u=e.next()).done;)u=u.value,d=i+Jf(u,c++),a+=Zs(u,t,n,d,l);else if(u==="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 a}function Is(e,t,n){if(e==null)return e;var i=[],l=0;return Zs(e,i,"","",function(u){return t.call(n,u,l++)}),i}function W5(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 Ot={current:null},Js={transition:null},H5={ReactCurrentDispatcher:Ot,ReactCurrentBatchConfig:Js,ReactCurrentOwner:Xp};he.Children={map:Is,forEach:function(e,t,n){Is(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Is(e,function(){t++}),t},toArray:function(e){return Is(e,function(t){return t})||[]},only:function(e){if(!qp(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};he.Component=qo;he.Fragment=A5;he.Profiler=L5;he.PureComponent=Qp;he.StrictMode=I5;he.Suspense=F5;he.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=H5;he.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=qv({},e.props),l=e.key,u=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(u=t.ref,a=Xp.current),t.key!==void 0&&(l=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(d in t)ey.call(t,d)&&!ty.hasOwnProperty(d)&&(i[d]=t[d]===void 0&&c!==void 0?c[d]:t[d])}var d=arguments.length-2;if(d===1)i.children=n;else if(1<d){c=Array(d);for(var p=0;p<d;p++)c[p]=arguments[p+2];i.children=c}return{$$typeof:xu,type:e.type,key:l,ref:u,props:i,_owner:a}};he.createContext=function(e){return e={$$typeof:B5,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:N5,_context:e},e.Consumer=e};he.createElement=ny;he.createFactory=function(e){var t=ny.bind(null,e);return t.type=e,t};he.createRef=function(){return{current:null}};he.forwardRef=function(e){return{$$typeof:b5,render:e}};he.isValidElement=qp;he.lazy=function(e){return{$$typeof:D5,_payload:{_status:-1,_result:e},_init:W5}};he.memo=function(e,t){return{$$typeof:M5,type:e,compare:t===void 0?null:t}};he.startTransition=function(e){var t=Js.transition;Js.transition={};try{e()}finally{Js.transition=t}};he.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")};he.useCallback=function(e,t){return Ot.current.useCallback(e,t)};he.useContext=function(e){return Ot.current.useContext(e)};he.useDebugValue=function(){};he.useDeferredValue=function(e){return Ot.current.useDeferredValue(e)};he.useEffect=function(e,t){return Ot.current.useEffect(e,t)};he.useId=function(){return Ot.current.useId()};he.useImperativeHandle=function(e,t,n){return Ot.current.useImperativeHandle(e,t,n)};he.useInsertionEffect=function(e,t){return Ot.current.useInsertionEffect(e,t)};he.useLayoutEffect=function(e,t){return Ot.current.useLayoutEffect(e,t)};he.useMemo=function(e,t){return Ot.current.useMemo(e,t)};he.useReducer=function(e,t,n){return Ot.current.useReducer(e,t,n)};he.useRef=function(e){return Ot.current.useRef(e)};he.useState=function(e){return Ot.current.useState(e)};he.useSyncExternalStore=function(e,t,n){return Ot.current.useSyncExternalStore(e,t,n)};he.useTransition=function(){return Ot.current.useTransition()};he.version="18.2.0";Yv.exports=he;var h=Yv.exports;const Zp=Gp(h),eu=R5({__proto__:null,default:Zp},[h]);var ry={exports:{}},on={},iy={exports:{}},oy={};/**
|
|
10
|
+
* @license React
|
|
11
|
+
* scheduler.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
|
+
*/(function(e){function t(Q,ie){var oe=Q.length;Q.push(ie);e:for(;0<oe;){var ye=oe-1>>>1,qe=Q[ye];if(0<l(qe,ie))Q[ye]=ie,Q[oe]=qe,oe=ye;else break e}}function n(Q){return Q.length===0?null:Q[0]}function i(Q){if(Q.length===0)return null;var ie=Q[0],oe=Q.pop();if(oe!==ie){Q[0]=oe;e:for(var ye=0,qe=Q.length,zi=qe>>>1;ye<zi;){var tr=2*(ye+1)-1,zn=Q[tr],sn=tr+1,Ui=Q[sn];if(0>l(zn,oe))sn<qe&&0>l(Ui,zn)?(Q[ye]=Ui,Q[sn]=oe,ye=sn):(Q[ye]=zn,Q[tr]=oe,ye=tr);else if(sn<qe&&0>l(Ui,oe))Q[ye]=Ui,Q[sn]=oe,ye=sn;else break e}}return ie}function l(Q,ie){var oe=Q.sortIndex-ie.sortIndex;return oe!==0?oe:Q.id-ie.id}if(typeof performance=="object"&&typeof performance.now=="function"){var u=performance;e.unstable_now=function(){return u.now()}}else{var a=Date,c=a.now();e.unstable_now=function(){return a.now()-c}}var d=[],p=[],g=1,y=null,S=3,R=!1,P=!1,C=!1,L=typeof setTimeout=="function"?setTimeout:null,_=typeof clearTimeout=="function"?clearTimeout:null,E=typeof setImmediate!="undefined"?setImmediate:null;typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function x(Q){for(var ie=n(p);ie!==null;){if(ie.callback===null)i(p);else if(ie.startTime<=Q)i(p),ie.sortIndex=ie.expirationTime,t(d,ie);else break;ie=n(p)}}function T(Q){if(C=!1,x(Q),!P)if(n(d)!==null)P=!0,It(B);else{var ie=n(p);ie!==null&&kn(T,ie.startTime-Q)}}function B(Q,ie){P=!1,C&&(C=!1,_(U),U=-1),R=!0;var oe=S;try{for(x(ie),y=n(d);y!==null&&(!(y.expirationTime>ie)||Q&&!Y());){var ye=y.callback;if(typeof ye=="function"){y.callback=null,S=y.priorityLevel;var qe=ye(y.expirationTime<=ie);ie=e.unstable_now(),typeof qe=="function"?y.callback=qe:y===n(d)&&i(d),x(ie)}else i(d);y=n(d)}if(y!==null)var zi=!0;else{var tr=n(p);tr!==null&&kn(T,tr.startTime-ie),zi=!1}return zi}finally{y=null,S=oe,R=!1}}var F=!1,N=null,U=-1,K=5,$=-1;function Y(){return!(e.unstable_now()-$<K)}function ve(){if(N!==null){var Q=e.unstable_now();$=Q;var ie=!0;try{ie=N(!0,Q)}finally{ie?Re():(F=!1,N=null)}}else F=!1}var Re;if(typeof E=="function")Re=function(){E(ve)};else if(typeof MessageChannel!="undefined"){var at=new MessageChannel,un=at.port2;at.port1.onmessage=ve,Re=function(){un.postMessage(null)}}else Re=function(){L(ve,0)};function It(Q){N=Q,F||(F=!0,Re())}function kn(Q,ie){U=L(function(){Q(e.unstable_now())},ie)}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(Q){Q.callback=null},e.unstable_continueExecution=function(){P||R||(P=!0,It(B))},e.unstable_forceFrameRate=function(Q){0>Q||125<Q?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):K=0<Q?Math.floor(1e3/Q):5},e.unstable_getCurrentPriorityLevel=function(){return S},e.unstable_getFirstCallbackNode=function(){return n(d)},e.unstable_next=function(Q){switch(S){case 1:case 2:case 3:var ie=3;break;default:ie=S}var oe=S;S=ie;try{return Q()}finally{S=oe}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(Q,ie){switch(Q){case 1:case 2:case 3:case 4:case 5:break;default:Q=3}var oe=S;S=Q;try{return ie()}finally{S=oe}},e.unstable_scheduleCallback=function(Q,ie,oe){var ye=e.unstable_now();switch(typeof oe=="object"&&oe!==null?(oe=oe.delay,oe=typeof oe=="number"&&0<oe?ye+oe:ye):oe=ye,Q){case 1:var qe=-1;break;case 2:qe=250;break;case 5:qe=1073741823;break;case 4:qe=1e4;break;default:qe=5e3}return qe=oe+qe,Q={id:g++,callback:ie,priorityLevel:Q,startTime:oe,expirationTime:qe,sortIndex:-1},oe>ye?(Q.sortIndex=oe,t(p,Q),n(d)===null&&Q===n(p)&&(C?(_(U),U=-1):C=!0,kn(T,oe-ye))):(Q.sortIndex=qe,t(d,Q),P||R||(P=!0,It(B))),Q},e.unstable_shouldYield=Y,e.unstable_wrapCallback=function(Q){var ie=S;return function(){var oe=S;S=ie;try{return Q.apply(this,arguments)}finally{S=oe}}}})(oy);iy.exports=oy;var j5=iy.exports;/**
|
|
18
|
+
* @license React
|
|
19
|
+
* react-dom.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
|
+
*/var ly=h,rn=j5;function j(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 uy=new Set,tu={};function Fi(e,t){No(e,t),No(e+"Capture",t)}function No(e,t){for(tu[e]=t,e=0;e<t.length;e++)uy.add(t[e])}var wr=!(typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"),bd=Object.prototype.hasOwnProperty,K5=/^[: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]*$/,Xg={},qg={};function V5(e){return bd.call(qg,e)?!0:bd.call(Xg,e)?!1:K5.test(e)?qg[e]=!0:(Xg[e]=!0,!1)}function G5(e,t,n,i){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return i?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Q5(e,t,n,i){if(t===null||typeof t=="undefined"||G5(e,t,n,i))return!0;if(i)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 Tt(e,t,n,i,l,u,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=i,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=u,this.removeEmptyString=a}var mt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){mt[e]=new Tt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];mt[t]=new Tt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){mt[e]=new Tt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){mt[e]=new Tt(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){mt[e]=new Tt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){mt[e]=new Tt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){mt[e]=new Tt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){mt[e]=new Tt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){mt[e]=new Tt(e,5,!1,e.toLowerCase(),null,!1,!1)});var Jp=/[\-:]([a-z])/g;function eh(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(Jp,eh);mt[t]=new Tt(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(Jp,eh);mt[t]=new Tt(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(Jp,eh);mt[t]=new Tt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){mt[e]=new Tt(e,1,!1,e.toLowerCase(),null,!1,!1)});mt.xlinkHref=new Tt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){mt[e]=new Tt(e,1,!1,e.toLowerCase(),null,!0,!0)});function th(e,t,n,i){var l=mt.hasOwnProperty(t)?mt[t]:null;(l!==null?l.type!==0:i||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Q5(t,n,l,i)&&(n=null),i||l===null?V5(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,i=l.attributeNamespace,n===null?e.removeAttribute(t):(l=l.type,n=l===3||l===4&&n===!0?"":""+n,i?e.setAttributeNS(i,t,n):e.setAttribute(t,n))))}var Cr=ly.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ls=Symbol.for("react.element"),ao=Symbol.for("react.portal"),co=Symbol.for("react.fragment"),nh=Symbol.for("react.strict_mode"),Fd=Symbol.for("react.profiler"),sy=Symbol.for("react.provider"),ay=Symbol.for("react.context"),rh=Symbol.for("react.forward_ref"),Md=Symbol.for("react.suspense"),Dd=Symbol.for("react.suspense_list"),ih=Symbol.for("react.memo"),Mr=Symbol.for("react.lazy"),cy=Symbol.for("react.offscreen"),Zg=Symbol.iterator;function kl(e){return e===null||typeof e!="object"?null:(e=Zg&&e[Zg]||e["@@iterator"],typeof e=="function"?e:null)}var He=Object.assign,ed;function Ml(e){if(ed===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);ed=t&&t[1]||""}return`
|
|
26
|
+
`+ed+e}var td=!1;function nd(e,t){if(!e||td)return"";td=!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(p){var i=p}Reflect.construct(e,[],t)}else{try{t.call()}catch(p){i=p}e.call(t.prototype)}else{try{throw Error()}catch(p){i=p}e()}}catch(p){if(p&&i&&typeof p.stack=="string"){for(var l=p.stack.split(`
|
|
27
|
+
`),u=i.stack.split(`
|
|
28
|
+
`),a=l.length-1,c=u.length-1;1<=a&&0<=c&&l[a]!==u[c];)c--;for(;1<=a&&0<=c;a--,c--)if(l[a]!==u[c]){if(a!==1||c!==1)do if(a--,c--,0>c||l[a]!==u[c]){var d=`
|
|
29
|
+
`+l[a].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),d}while(1<=a&&0<=c);break}}}finally{td=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ml(e):""}function Y5(e){switch(e.tag){case 5:return Ml(e.type);case 16:return Ml("Lazy");case 13:return Ml("Suspense");case 19:return Ml("SuspenseList");case 0:case 2:case 15:return e=nd(e.type,!1),e;case 11:return e=nd(e.type.render,!1),e;case 1:return e=nd(e.type,!0),e;default:return""}}function $d(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 co:return"Fragment";case ao:return"Portal";case Fd:return"Profiler";case nh:return"StrictMode";case Md:return"Suspense";case Dd:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ay:return(e.displayName||"Context")+".Consumer";case sy:return(e._context.displayName||"Context")+".Provider";case rh:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ih:return t=e.displayName||null,t!==null?t:$d(e.type)||"Memo";case Mr:t=e._payload,e=e._init;try{return $d(e(t))}catch(n){}}return null}function X5(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 $d(t);case 8:return t===nh?"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 ii(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function fy(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function q5(e){var t=fy(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),i=""+e[t];if(!e.hasOwnProperty(t)&&typeof n!="undefined"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,u=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(a){i=""+a,u.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return i},setValue:function(a){i=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ns(e){e._valueTracker||(e._valueTracker=q5(e))}function dy(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),i="";return e&&(i=fy(e)?e.checked?"true":"false":e.value),e=i,e!==n?(t.setValue(e),!0):!1}function va(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch(t){return e.body}}function zd(e,t){var n=t.checked;return He({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function Jg(e,t){var n=t.defaultValue==null?"":t.defaultValue,i=t.checked!=null?t.checked:t.defaultChecked;n=ii(t.value!=null?t.value:n),e._wrapperState={initialChecked:i,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function py(e,t){t=t.checked,t!=null&&th(e,"checked",t,!1)}function Ud(e,t){py(e,t);var n=ii(t.value),i=t.type;if(n!=null)i==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(i==="submit"||i==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Wd(e,t.type,n):t.hasOwnProperty("defaultValue")&&Wd(e,t.type,ii(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function e1(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var i=t.type;if(!(i!=="submit"&&i!=="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 Wd(e,t,n){(t!=="number"||va(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Dl=Array.isArray;function Eo(e,t,n,i){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&&i&&(e[n].defaultSelected=!0)}else{for(n=""+ii(n),t=null,l=0;l<e.length;l++){if(e[l].value===n){e[l].selected=!0,i&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function Hd(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(j(91));return He({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function t1(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(j(92));if(Dl(n)){if(1<n.length)throw Error(j(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:ii(n)}}function hy(e,t){var n=ii(t.value),i=ii(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),i!=null&&(e.defaultValue=""+i)}function n1(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function my(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 jd(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?my(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Bs,gy=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(t,n,i,l){MSApp.execUnsafeLocalFunction(function(){return e(t,n,i,l)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Bs=Bs||document.createElement("div"),Bs.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Bs.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function nu(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Hl={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},Z5=["Webkit","ms","Moz","O"];Object.keys(Hl).forEach(function(e){Z5.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Hl[t]=Hl[e]})});function vy(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Hl.hasOwnProperty(e)&&Hl[e]?(""+t).trim():t+"px"}function yy(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var i=n.indexOf("--")===0,l=vy(n,t[n],i);n==="float"&&(n="cssFloat"),i?e.setProperty(n,l):e[n]=l}}var J5=He({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 Kd(e,t){if(t){if(J5[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(j(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(j(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(j(61))}if(t.style!=null&&typeof t.style!="object")throw Error(j(62))}}function Vd(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 Gd=null;function oh(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Qd=null,xo=null,Co=null;function r1(e){if(e=Pu(e)){if(typeof Qd!="function")throw Error(j(280));var t=e.stateNode;t&&(t=Za(t),Qd(e.stateNode,e.type,t))}}function wy(e){xo?Co?Co.push(e):Co=[e]:xo=e}function Sy(){if(xo){var e=xo,t=Co;if(Co=xo=null,r1(e),t)for(e=0;e<t.length;e++)r1(t[e])}}function _y(e,t){return e(t)}function Ey(){}var rd=!1;function xy(e,t,n){if(rd)return e(t,n);rd=!0;try{return _y(e,t,n)}finally{rd=!1,(xo!==null||Co!==null)&&(Ey(),Sy())}}function ru(e,t){var n=e.stateNode;if(n===null)return null;var i=Za(n);if(i===null)return null;n=i[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":(i=!i.disabled)||(e=e.type,i=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!i;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(j(231,t,typeof n));return n}var Yd=!1;if(wr)try{var Pl={};Object.defineProperty(Pl,"passive",{get:function(){Yd=!0}}),window.addEventListener("test",Pl,Pl),window.removeEventListener("test",Pl,Pl)}catch(e){Yd=!1}function eP(e,t,n,i,l,u,a,c,d){var p=Array.prototype.slice.call(arguments,3);try{t.apply(n,p)}catch(g){this.onError(g)}}var jl=!1,ya=null,wa=!1,Xd=null,tP={onError:function(e){jl=!0,ya=e}};function nP(e,t,n,i,l,u,a,c,d){jl=!1,ya=null,eP.apply(tP,arguments)}function rP(e,t,n,i,l,u,a,c,d){if(nP.apply(this,arguments),jl){if(jl){var p=ya;jl=!1,ya=null}else throw Error(j(198));wa||(wa=!0,Xd=p)}}function Mi(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 Cy(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 i1(e){if(Mi(e)!==e)throw Error(j(188))}function iP(e){var t=e.alternate;if(!t){if(t=Mi(e),t===null)throw Error(j(188));return t!==e?null:e}for(var n=e,i=t;;){var l=n.return;if(l===null)break;var u=l.alternate;if(u===null){if(i=l.return,i!==null){n=i;continue}break}if(l.child===u.child){for(u=l.child;u;){if(u===n)return i1(l),e;if(u===i)return i1(l),t;u=u.sibling}throw Error(j(188))}if(n.return!==i.return)n=l,i=u;else{for(var a=!1,c=l.child;c;){if(c===n){a=!0,n=l,i=u;break}if(c===i){a=!0,i=l,n=u;break}c=c.sibling}if(!a){for(c=u.child;c;){if(c===n){a=!0,n=u,i=l;break}if(c===i){a=!0,i=u,n=l;break}c=c.sibling}if(!a)throw Error(j(189))}}if(n.alternate!==i)throw Error(j(190))}if(n.tag!==3)throw Error(j(188));return n.stateNode.current===n?e:t}function ky(e){return e=iP(e),e!==null?Py(e):null}function Py(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Py(e);if(t!==null)return t;e=e.sibling}return null}var Ry=rn.unstable_scheduleCallback,o1=rn.unstable_cancelCallback,oP=rn.unstable_shouldYield,lP=rn.unstable_requestPaint,Xe=rn.unstable_now,uP=rn.unstable_getCurrentPriorityLevel,lh=rn.unstable_ImmediatePriority,Oy=rn.unstable_UserBlockingPriority,Sa=rn.unstable_NormalPriority,sP=rn.unstable_LowPriority,Ty=rn.unstable_IdlePriority,Qa=null,Xn=null;function aP(e){if(Xn&&typeof Xn.onCommitFiberRoot=="function")try{Xn.onCommitFiberRoot(Qa,e,void 0,(e.current.flags&128)===128)}catch(t){}}var Fn=Math.clz32?Math.clz32:dP,cP=Math.log,fP=Math.LN2;function dP(e){return e>>>=0,e===0?32:31-(cP(e)/fP|0)|0}var bs=64,Fs=4194304;function $l(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 _a(e,t){var n=e.pendingLanes;if(n===0)return 0;var i=0,l=e.suspendedLanes,u=e.pingedLanes,a=n&268435455;if(a!==0){var c=a&~l;c!==0?i=$l(c):(u&=a,u!==0&&(i=$l(u)))}else a=n&~l,a!==0?i=$l(a):u!==0&&(i=$l(u));if(i===0)return 0;if(t!==0&&t!==i&&!(t&l)&&(l=i&-i,u=t&-t,l>=u||l===16&&(u&4194240)!==0))return t;if(i&4&&(i|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=i;0<t;)n=31-Fn(t),l=1<<n,i|=e[n],t&=~l;return i}function pP(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 hP(e,t){for(var n=e.suspendedLanes,i=e.pingedLanes,l=e.expirationTimes,u=e.pendingLanes;0<u;){var a=31-Fn(u),c=1<<a,d=l[a];d===-1?(!(c&n)||c&i)&&(l[a]=pP(c,t)):d<=t&&(e.expiredLanes|=c),u&=~c}}function qd(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Ay(){var e=bs;return bs<<=1,!(bs&4194240)&&(bs=64),e}function id(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Cu(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Fn(t),e[t]=n}function mP(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 i=e.eventTimes;for(e=e.expirationTimes;0<n;){var l=31-Fn(n),u=1<<l;t[l]=0,i[l]=-1,e[l]=-1,n&=~u}}function uh(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var i=31-Fn(n),l=1<<i;l&t|e[i]&t&&(e[i]|=t),n&=~l}}var Pe=0;function Iy(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Ly,sh,Ny,By,by,Zd=!1,Ms=[],Vr=null,Gr=null,Qr=null,iu=new Map,ou=new Map,zr=[],gP="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 l1(e,t){switch(e){case"focusin":case"focusout":Vr=null;break;case"dragenter":case"dragleave":Gr=null;break;case"mouseover":case"mouseout":Qr=null;break;case"pointerover":case"pointerout":iu.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ou.delete(t.pointerId)}}function Rl(e,t,n,i,l,u){return e===null||e.nativeEvent!==u?(e={blockedOn:t,domEventName:n,eventSystemFlags:i,nativeEvent:u,targetContainers:[l]},t!==null&&(t=Pu(t),t!==null&&sh(t)),e):(e.eventSystemFlags|=i,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function vP(e,t,n,i,l){switch(t){case"focusin":return Vr=Rl(Vr,e,t,n,i,l),!0;case"dragenter":return Gr=Rl(Gr,e,t,n,i,l),!0;case"mouseover":return Qr=Rl(Qr,e,t,n,i,l),!0;case"pointerover":var u=l.pointerId;return iu.set(u,Rl(iu.get(u)||null,e,t,n,i,l)),!0;case"gotpointercapture":return u=l.pointerId,ou.set(u,Rl(ou.get(u)||null,e,t,n,i,l)),!0}return!1}function Fy(e){var t=xi(e.target);if(t!==null){var n=Mi(t);if(n!==null){if(t=n.tag,t===13){if(t=Cy(n),t!==null){e.blockedOn=t,by(e.priority,function(){Ny(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 ea(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Jd(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var i=new n.constructor(n.type,n);Gd=i,n.target.dispatchEvent(i),Gd=null}else return t=Pu(n),t!==null&&sh(t),e.blockedOn=n,!1;t.shift()}return!0}function u1(e,t,n){ea(e)&&n.delete(t)}function yP(){Zd=!1,Vr!==null&&ea(Vr)&&(Vr=null),Gr!==null&&ea(Gr)&&(Gr=null),Qr!==null&&ea(Qr)&&(Qr=null),iu.forEach(u1),ou.forEach(u1)}function Ol(e,t){e.blockedOn===t&&(e.blockedOn=null,Zd||(Zd=!0,rn.unstable_scheduleCallback(rn.unstable_NormalPriority,yP)))}function lu(e){function t(l){return Ol(l,e)}if(0<Ms.length){Ol(Ms[0],e);for(var n=1;n<Ms.length;n++){var i=Ms[n];i.blockedOn===e&&(i.blockedOn=null)}}for(Vr!==null&&Ol(Vr,e),Gr!==null&&Ol(Gr,e),Qr!==null&&Ol(Qr,e),iu.forEach(t),ou.forEach(t),n=0;n<zr.length;n++)i=zr[n],i.blockedOn===e&&(i.blockedOn=null);for(;0<zr.length&&(n=zr[0],n.blockedOn===null);)Fy(n),n.blockedOn===null&&zr.shift()}var ko=Cr.ReactCurrentBatchConfig,Ea=!0;function wP(e,t,n,i){var l=Pe,u=ko.transition;ko.transition=null;try{Pe=1,ah(e,t,n,i)}finally{Pe=l,ko.transition=u}}function SP(e,t,n,i){var l=Pe,u=ko.transition;ko.transition=null;try{Pe=4,ah(e,t,n,i)}finally{Pe=l,ko.transition=u}}function ah(e,t,n,i){if(Ea){var l=Jd(e,t,n,i);if(l===null)hd(e,t,i,xa,n),l1(e,i);else if(vP(l,e,t,n,i))i.stopPropagation();else if(l1(e,i),t&4&&-1<gP.indexOf(e)){for(;l!==null;){var u=Pu(l);if(u!==null&&Ly(u),u=Jd(e,t,n,i),u===null&&hd(e,t,i,xa,n),u===l)break;l=u}l!==null&&i.stopPropagation()}else hd(e,t,i,null,n)}}var xa=null;function Jd(e,t,n,i){if(xa=null,e=oh(i),e=xi(e),e!==null)if(t=Mi(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Cy(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 xa=e,null}function My(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(uP()){case lh:return 1;case Oy:return 4;case Sa:case sP:return 16;case Ty:return 536870912;default:return 16}default:return 16}}var Wr=null,ch=null,ta=null;function Dy(){if(ta)return ta;var e,t=ch,n=t.length,i,l="value"in Wr?Wr.value:Wr.textContent,u=l.length;for(e=0;e<n&&t[e]===l[e];e++);var a=n-e;for(i=1;i<=a&&t[n-i]===l[u-i];i++);return ta=l.slice(e,1<i?1-i:void 0)}function na(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 Ds(){return!0}function s1(){return!1}function ln(e){function t(n,i,l,u,a){this._reactName=n,this._targetInst=l,this.type=i,this.nativeEvent=u,this.target=a,this.currentTarget=null;for(var c in e)e.hasOwnProperty(c)&&(n=e[c],this[c]=n?n(u):u[c]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?Ds:s1,this.isPropagationStopped=s1,this}return He(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=Ds)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ds)},persist:function(){},isPersistent:Ds}),t}var Zo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},fh=ln(Zo),ku=He({},Zo,{view:0,detail:0}),_P=ln(ku),od,ld,Tl,Ya=He({},ku,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:dh,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!==Tl&&(Tl&&e.type==="mousemove"?(od=e.screenX-Tl.screenX,ld=e.screenY-Tl.screenY):ld=od=0,Tl=e),od)},movementY:function(e){return"movementY"in e?e.movementY:ld}}),a1=ln(Ya),EP=He({},Ya,{dataTransfer:0}),xP=ln(EP),CP=He({},ku,{relatedTarget:0}),ud=ln(CP),kP=He({},Zo,{animationName:0,elapsedTime:0,pseudoElement:0}),PP=ln(kP),RP=He({},Zo,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),OP=ln(RP),TP=He({},Zo,{data:0}),c1=ln(TP),AP={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},IP={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"},LP={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function NP(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=LP[e])?!!t[e]:!1}function dh(){return NP}var BP=He({},ku,{key:function(e){if(e.key){var t=AP[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=na(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?IP[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:dh,charCode:function(e){return e.type==="keypress"?na(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?na(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),bP=ln(BP),FP=He({},Ya,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),f1=ln(FP),MP=He({},ku,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:dh}),DP=ln(MP),$P=He({},Zo,{propertyName:0,elapsedTime:0,pseudoElement:0}),zP=ln($P),UP=He({},Ya,{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}),WP=ln(UP),HP=[9,13,27,32],ph=wr&&"CompositionEvent"in window,Kl=null;wr&&"documentMode"in document&&(Kl=document.documentMode);var jP=wr&&"TextEvent"in window&&!Kl,$y=wr&&(!ph||Kl&&8<Kl&&11>=Kl),d1=String.fromCharCode(32),p1=!1;function zy(e,t){switch(e){case"keyup":return HP.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Uy(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var fo=!1;function KP(e,t){switch(e){case"compositionend":return Uy(t);case"keypress":return t.which!==32?null:(p1=!0,d1);case"textInput":return e=t.data,e===d1&&p1?null:e;default:return null}}function VP(e,t){if(fo)return e==="compositionend"||!ph&&zy(e,t)?(e=Dy(),ta=ch=Wr=null,fo=!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 $y&&t.locale!=="ko"?null:t.data;default:return null}}var GP={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 h1(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!GP[e.type]:t==="textarea"}function Wy(e,t,n,i){wy(i),t=Ca(t,"onChange"),0<t.length&&(n=new fh("onChange","change",null,n,i),e.push({event:n,listeners:t}))}var Vl=null,uu=null;function QP(e){Jy(e,0)}function Xa(e){var t=mo(e);if(dy(t))return e}function YP(e,t){if(e==="change")return t}var Hy=!1;if(wr){var sd;if(wr){var ad="oninput"in document;if(!ad){var m1=document.createElement("div");m1.setAttribute("oninput","return;"),ad=typeof m1.oninput=="function"}sd=ad}else sd=!1;Hy=sd&&(!document.documentMode||9<document.documentMode)}function g1(){Vl&&(Vl.detachEvent("onpropertychange",jy),uu=Vl=null)}function jy(e){if(e.propertyName==="value"&&Xa(uu)){var t=[];Wy(t,uu,e,oh(e)),xy(QP,t)}}function XP(e,t,n){e==="focusin"?(g1(),Vl=t,uu=n,Vl.attachEvent("onpropertychange",jy)):e==="focusout"&&g1()}function qP(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Xa(uu)}function ZP(e,t){if(e==="click")return Xa(t)}function JP(e,t){if(e==="input"||e==="change")return Xa(t)}function eR(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Dn=typeof Object.is=="function"?Object.is:eR;function su(e,t){if(Dn(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(i=0;i<n.length;i++){var l=n[i];if(!bd.call(t,l)||!Dn(e[l],t[l]))return!1}return!0}function v1(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function y1(e,t){var n=v1(e);e=0;for(var i;n;){if(n.nodeType===3){if(i=e+n.textContent.length,e<=t&&i>=t)return{node:n,offset:t-e};e=i}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=v1(n)}}function Ky(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ky(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Vy(){for(var e=window,t=va();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch(i){n=!1}if(n)e=t.contentWindow;else break;t=va(e.document)}return t}function hh(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 tR(e){var t=Vy(),n=e.focusedElem,i=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Ky(n.ownerDocument.documentElement,n)){if(i!==null&&hh(n)){if(t=i.start,e=i.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,u=Math.min(i.start,l);i=i.end===void 0?u:Math.min(i.end,l),!e.extend&&u>i&&(l=i,i=u,u=l),l=y1(n,u);var a=y1(n,i);l&&a&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),u>i?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.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 nR=wr&&"documentMode"in document&&11>=document.documentMode,po=null,ep=null,Gl=null,tp=!1;function w1(e,t,n){var i=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;tp||po==null||po!==va(i)||(i=po,"selectionStart"in i&&hh(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),Gl&&su(Gl,i)||(Gl=i,i=Ca(ep,"onSelect"),0<i.length&&(t=new fh("onSelect","select",null,t,n),e.push({event:t,listeners:i}),t.target=po)))}function $s(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var ho={animationend:$s("Animation","AnimationEnd"),animationiteration:$s("Animation","AnimationIteration"),animationstart:$s("Animation","AnimationStart"),transitionend:$s("Transition","TransitionEnd")},cd={},Gy={};wr&&(Gy=document.createElement("div").style,"AnimationEvent"in window||(delete ho.animationend.animation,delete ho.animationiteration.animation,delete ho.animationstart.animation),"TransitionEvent"in window||delete ho.transitionend.transition);function qa(e){if(cd[e])return cd[e];if(!ho[e])return e;var t=ho[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Gy)return cd[e]=t[n];return e}var Qy=qa("animationend"),Yy=qa("animationiteration"),Xy=qa("animationstart"),qy=qa("transitionend"),Zy=new Map,S1="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 li(e,t){Zy.set(e,t),Fi(t,[e])}for(var fd=0;fd<S1.length;fd++){var dd=S1[fd],rR=dd.toLowerCase(),iR=dd[0].toUpperCase()+dd.slice(1);li(rR,"on"+iR)}li(Qy,"onAnimationEnd");li(Yy,"onAnimationIteration");li(Xy,"onAnimationStart");li("dblclick","onDoubleClick");li("focusin","onFocus");li("focusout","onBlur");li(qy,"onTransitionEnd");No("onMouseEnter",["mouseout","mouseover"]);No("onMouseLeave",["mouseout","mouseover"]);No("onPointerEnter",["pointerout","pointerover"]);No("onPointerLeave",["pointerout","pointerover"]);Fi("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Fi("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Fi("onBeforeInput",["compositionend","keypress","textInput","paste"]);Fi("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Fi("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Fi("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var zl="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(" "),oR=new Set("cancel close invalid load scroll toggle".split(" ").concat(zl));function _1(e,t,n){var i=e.type||"unknown-event";e.currentTarget=n,rP(i,t,void 0,e),e.currentTarget=null}function Jy(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var i=e[n],l=i.event;i=i.listeners;e:{var u=void 0;if(t)for(var a=i.length-1;0<=a;a--){var c=i[a],d=c.instance,p=c.currentTarget;if(c=c.listener,d!==u&&l.isPropagationStopped())break e;_1(l,c,p),u=d}else for(a=0;a<i.length;a++){if(c=i[a],d=c.instance,p=c.currentTarget,c=c.listener,d!==u&&l.isPropagationStopped())break e;_1(l,c,p),u=d}}}if(wa)throw e=Xd,wa=!1,Xd=null,e}function Ne(e,t){var n=t[lp];n===void 0&&(n=t[lp]=new Set);var i=e+"__bubble";n.has(i)||(ew(t,e,2,!1),n.add(i))}function pd(e,t,n){var i=0;t&&(i|=4),ew(n,e,i,t)}var zs="_reactListening"+Math.random().toString(36).slice(2);function au(e){if(!e[zs]){e[zs]=!0,uy.forEach(function(n){n!=="selectionchange"&&(oR.has(n)||pd(n,!1,e),pd(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[zs]||(t[zs]=!0,pd("selectionchange",!1,t))}}function ew(e,t,n,i){switch(My(t)){case 1:var l=wP;break;case 4:l=SP;break;default:l=ah}n=l.bind(null,t,n,e),l=void 0,!Yd||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),i?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 hd(e,t,n,i,l){var u=i;if(!(t&1)&&!(t&2)&&i!==null)e:for(;;){if(i===null)return;var a=i.tag;if(a===3||a===4){var c=i.stateNode.containerInfo;if(c===l||c.nodeType===8&&c.parentNode===l)break;if(a===4)for(a=i.return;a!==null;){var d=a.tag;if((d===3||d===4)&&(d=a.stateNode.containerInfo,d===l||d.nodeType===8&&d.parentNode===l))return;a=a.return}for(;c!==null;){if(a=xi(c),a===null)return;if(d=a.tag,d===5||d===6){i=u=a;continue e}c=c.parentNode}}i=i.return}xy(function(){var p=u,g=oh(n),y=[];e:{var S=Zy.get(e);if(S!==void 0){var R=fh,P=e;switch(e){case"keypress":if(na(n)===0)break e;case"keydown":case"keyup":R=bP;break;case"focusin":P="focus",R=ud;break;case"focusout":P="blur",R=ud;break;case"beforeblur":case"afterblur":R=ud;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":R=a1;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":R=xP;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":R=DP;break;case Qy:case Yy:case Xy:R=PP;break;case qy:R=zP;break;case"scroll":R=_P;break;case"wheel":R=WP;break;case"copy":case"cut":case"paste":R=OP;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":R=f1}var C=(t&4)!==0,L=!C&&e==="scroll",_=C?S!==null?S+"Capture":null:S;C=[];for(var E=p,x;E!==null;){x=E;var T=x.stateNode;if(x.tag===5&&T!==null&&(x=T,_!==null&&(T=ru(E,_),T!=null&&C.push(cu(E,T,x)))),L)break;E=E.return}0<C.length&&(S=new R(S,P,null,n,g),y.push({event:S,listeners:C}))}}if(!(t&7)){e:{if(S=e==="mouseover"||e==="pointerover",R=e==="mouseout"||e==="pointerout",S&&n!==Gd&&(P=n.relatedTarget||n.fromElement)&&(xi(P)||P[Sr]))break e;if((R||S)&&(S=g.window===g?g:(S=g.ownerDocument)?S.defaultView||S.parentWindow:window,R?(P=n.relatedTarget||n.toElement,R=p,P=P?xi(P):null,P!==null&&(L=Mi(P),P!==L||P.tag!==5&&P.tag!==6)&&(P=null)):(R=null,P=p),R!==P)){if(C=a1,T="onMouseLeave",_="onMouseEnter",E="mouse",(e==="pointerout"||e==="pointerover")&&(C=f1,T="onPointerLeave",_="onPointerEnter",E="pointer"),L=R==null?S:mo(R),x=P==null?S:mo(P),S=new C(T,E+"leave",R,n,g),S.target=L,S.relatedTarget=x,T=null,xi(g)===p&&(C=new C(_,E+"enter",P,n,g),C.target=x,C.relatedTarget=L,T=C),L=T,R&&P)t:{for(C=R,_=P,E=0,x=C;x;x=ro(x))E++;for(x=0,T=_;T;T=ro(T))x++;for(;0<E-x;)C=ro(C),E--;for(;0<x-E;)_=ro(_),x--;for(;E--;){if(C===_||_!==null&&C===_.alternate)break t;C=ro(C),_=ro(_)}C=null}else C=null;R!==null&&E1(y,S,R,C,!1),P!==null&&L!==null&&E1(y,L,P,C,!0)}}e:{if(S=p?mo(p):window,R=S.nodeName&&S.nodeName.toLowerCase(),R==="select"||R==="input"&&S.type==="file")var B=YP;else if(h1(S))if(Hy)B=JP;else{B=qP;var F=XP}else(R=S.nodeName)&&R.toLowerCase()==="input"&&(S.type==="checkbox"||S.type==="radio")&&(B=ZP);if(B&&(B=B(e,p))){Wy(y,B,n,g);break e}F&&F(e,S,p),e==="focusout"&&(F=S._wrapperState)&&F.controlled&&S.type==="number"&&Wd(S,"number",S.value)}switch(F=p?mo(p):window,e){case"focusin":(h1(F)||F.contentEditable==="true")&&(po=F,ep=p,Gl=null);break;case"focusout":Gl=ep=po=null;break;case"mousedown":tp=!0;break;case"contextmenu":case"mouseup":case"dragend":tp=!1,w1(y,n,g);break;case"selectionchange":if(nR)break;case"keydown":case"keyup":w1(y,n,g)}var N;if(ph)e:{switch(e){case"compositionstart":var U="onCompositionStart";break e;case"compositionend":U="onCompositionEnd";break e;case"compositionupdate":U="onCompositionUpdate";break e}U=void 0}else fo?zy(e,n)&&(U="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(U="onCompositionStart");U&&($y&&n.locale!=="ko"&&(fo||U!=="onCompositionStart"?U==="onCompositionEnd"&&fo&&(N=Dy()):(Wr=g,ch="value"in Wr?Wr.value:Wr.textContent,fo=!0)),F=Ca(p,U),0<F.length&&(U=new c1(U,e,null,n,g),y.push({event:U,listeners:F}),N?U.data=N:(N=Uy(n),N!==null&&(U.data=N)))),(N=jP?KP(e,n):VP(e,n))&&(p=Ca(p,"onBeforeInput"),0<p.length&&(g=new c1("onBeforeInput","beforeinput",null,n,g),y.push({event:g,listeners:p}),g.data=N))}Jy(y,t)})}function cu(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ca(e,t){for(var n=t+"Capture",i=[];e!==null;){var l=e,u=l.stateNode;l.tag===5&&u!==null&&(l=u,u=ru(e,n),u!=null&&i.unshift(cu(e,u,l)),u=ru(e,t),u!=null&&i.push(cu(e,u,l))),e=e.return}return i}function ro(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function E1(e,t,n,i,l){for(var u=t._reactName,a=[];n!==null&&n!==i;){var c=n,d=c.alternate,p=c.stateNode;if(d!==null&&d===i)break;c.tag===5&&p!==null&&(c=p,l?(d=ru(n,u),d!=null&&a.unshift(cu(n,d,c))):l||(d=ru(n,u),d!=null&&a.push(cu(n,d,c)))),n=n.return}a.length!==0&&e.push({event:t,listeners:a})}var lR=/\r\n?/g,uR=/\u0000|\uFFFD/g;function x1(e){return(typeof e=="string"?e:""+e).replace(lR,`
|
|
30
|
+
`).replace(uR,"")}function Us(e,t,n){if(t=x1(t),x1(e)!==t&&n)throw Error(j(425))}function ka(){}var np=null,rp=null;function ip(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 op=typeof setTimeout=="function"?setTimeout:void 0,sR=typeof clearTimeout=="function"?clearTimeout:void 0,C1=typeof Promise=="function"?Promise:void 0,aR=typeof queueMicrotask=="function"?queueMicrotask:typeof C1!="undefined"?function(e){return C1.resolve(null).then(e).catch(cR)}:op;function cR(e){setTimeout(function(){throw e})}function md(e,t){var n=t,i=0;do{var l=n.nextSibling;if(e.removeChild(n),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(i===0){e.removeChild(l),lu(t);return}i--}else n!=="$"&&n!=="$?"&&n!=="$!"||i++;n=l}while(n);lu(t)}function Yr(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 k1(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 Jo=Math.random().toString(36).slice(2),Qn="__reactFiber$"+Jo,fu="__reactProps$"+Jo,Sr="__reactContainer$"+Jo,lp="__reactEvents$"+Jo,fR="__reactListeners$"+Jo,dR="__reactHandles$"+Jo;function xi(e){var t=e[Qn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Sr]||n[Qn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=k1(e);e!==null;){if(n=e[Qn])return n;e=k1(e)}return t}e=n,n=e.parentNode}return null}function Pu(e){return e=e[Qn]||e[Sr],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function mo(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(j(33))}function Za(e){return e[fu]||null}var up=[],go=-1;function ui(e){return{current:e}}function Be(e){0>go||(e.current=up[go],up[go]=null,go--)}function Ie(e,t){go++,up[go]=e.current,e.current=t}var oi={},Et=ui(oi),zt=ui(!1),Ai=oi;function Bo(e,t){var n=e.type.contextTypes;if(!n)return oi;var i=e.stateNode;if(i&&i.__reactInternalMemoizedUnmaskedChildContext===t)return i.__reactInternalMemoizedMaskedChildContext;var l={},u;for(u in n)l[u]=t[u];return i&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function Ut(e){return e=e.childContextTypes,e!=null}function Pa(){Be(zt),Be(Et)}function P1(e,t,n){if(Et.current!==oi)throw Error(j(168));Ie(Et,t),Ie(zt,n)}function tw(e,t,n){var i=e.stateNode;if(t=t.childContextTypes,typeof i.getChildContext!="function")return n;i=i.getChildContext();for(var l in i)if(!(l in t))throw Error(j(108,X5(e)||"Unknown",l));return He({},n,i)}function Ra(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||oi,Ai=Et.current,Ie(Et,e),Ie(zt,zt.current),!0}function R1(e,t,n){var i=e.stateNode;if(!i)throw Error(j(169));n?(e=tw(e,t,Ai),i.__reactInternalMemoizedMergedChildContext=e,Be(zt),Be(Et),Ie(Et,e)):Be(zt),Ie(zt,n)}var pr=null,Ja=!1,gd=!1;function nw(e){pr===null?pr=[e]:pr.push(e)}function pR(e){Ja=!0,nw(e)}function si(){if(!gd&&pr!==null){gd=!0;var e=0,t=Pe;try{var n=pr;for(Pe=1;e<n.length;e++){var i=n[e];do i=i(!0);while(i!==null)}pr=null,Ja=!1}catch(l){throw pr!==null&&(pr=pr.slice(e+1)),Ry(lh,si),l}finally{Pe=t,gd=!1}}return null}var vo=[],yo=0,Oa=null,Ta=0,vn=[],yn=0,Ii=null,hr=1,mr="";function Si(e,t){vo[yo++]=Ta,vo[yo++]=Oa,Oa=e,Ta=t}function rw(e,t,n){vn[yn++]=hr,vn[yn++]=mr,vn[yn++]=Ii,Ii=e;var i=hr;e=mr;var l=32-Fn(i)-1;i&=~(1<<l),n+=1;var u=32-Fn(t)+l;if(30<u){var a=l-l%5;u=(i&(1<<a)-1).toString(32),i>>=a,l-=a,hr=1<<32-Fn(t)+l|n<<l|i,mr=u+e}else hr=1<<u|n<<l|i,mr=e}function mh(e){e.return!==null&&(Si(e,1),rw(e,1,0))}function gh(e){for(;e===Oa;)Oa=vo[--yo],vo[yo]=null,Ta=vo[--yo],vo[yo]=null;for(;e===Ii;)Ii=vn[--yn],vn[yn]=null,mr=vn[--yn],vn[yn]=null,hr=vn[--yn],vn[yn]=null}var tn=null,en=null,De=!1,bn=null;function iw(e,t){var n=wn(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 O1(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,tn=e,en=Yr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,tn=e,en=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Ii!==null?{id:hr,overflow:mr}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=wn(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,tn=e,en=null,!0):!1;default:return!1}}function sp(e){return(e.mode&1)!==0&&(e.flags&128)===0}function ap(e){if(De){var t=en;if(t){var n=t;if(!O1(e,t)){if(sp(e))throw Error(j(418));t=Yr(n.nextSibling);var i=tn;t&&O1(e,t)?iw(i,n):(e.flags=e.flags&-4097|2,De=!1,tn=e)}}else{if(sp(e))throw Error(j(418));e.flags=e.flags&-4097|2,De=!1,tn=e}}}function T1(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;tn=e}function Ws(e){if(e!==tn)return!1;if(!De)return T1(e),De=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!ip(e.type,e.memoizedProps)),t&&(t=en)){if(sp(e))throw ow(),Error(j(418));for(;t;)iw(e,t),t=Yr(t.nextSibling)}if(T1(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(j(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){en=Yr(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}en=null}}else en=tn?Yr(e.stateNode.nextSibling):null;return!0}function ow(){for(var e=en;e;)e=Yr(e.nextSibling)}function bo(){en=tn=null,De=!1}function vh(e){bn===null?bn=[e]:bn.push(e)}var hR=Cr.ReactCurrentBatchConfig;function Nn(e,t){if(e&&e.defaultProps){t=He({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}var Aa=ui(null),Ia=null,wo=null,yh=null;function wh(){yh=wo=Ia=null}function Sh(e){var t=Aa.current;Be(Aa),e._currentValue=t}function cp(e,t,n){for(;e!==null;){var i=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,i!==null&&(i.childLanes|=t)):i!==null&&(i.childLanes&t)!==t&&(i.childLanes|=t),e===n)break;e=e.return}}function Po(e,t){Ia=e,yh=wo=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&($t=!0),e.firstContext=null)}function _n(e){var t=e._currentValue;if(yh!==e)if(e={context:e,memoizedValue:t,next:null},wo===null){if(Ia===null)throw Error(j(308));wo=e,Ia.dependencies={lanes:0,firstContext:e}}else wo=wo.next=e;return t}var Ci=null;function _h(e){Ci===null?Ci=[e]:Ci.push(e)}function lw(e,t,n,i){var l=t.interleaved;return l===null?(n.next=n,_h(t)):(n.next=l.next,l.next=n),t.interleaved=n,_r(e,i)}function _r(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 Dr=!1;function Eh(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function uw(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 gr(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Xr(e,t,n){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,ge&2){var l=i.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),i.pending=t,_r(e,n)}return l=i.interleaved,l===null?(t.next=t,_h(i)):(t.next=l.next,l.next=t),i.interleaved=t,_r(e,n)}function ra(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,uh(e,n)}}function A1(e,t){var n=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,n===i)){var l=null,u=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};u===null?l=u=a:u=u.next=a,n=n.next}while(n!==null);u===null?l=u=t:u=u.next=t}else l=u=t;n={baseState:i.baseState,firstBaseUpdate:l,lastBaseUpdate:u,shared:i.shared,effects:i.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function La(e,t,n,i){var l=e.updateQueue;Dr=!1;var u=l.firstBaseUpdate,a=l.lastBaseUpdate,c=l.shared.pending;if(c!==null){l.shared.pending=null;var d=c,p=d.next;d.next=null,a===null?u=p:a.next=p,a=d;var g=e.alternate;g!==null&&(g=g.updateQueue,c=g.lastBaseUpdate,c!==a&&(c===null?g.firstBaseUpdate=p:c.next=p,g.lastBaseUpdate=d))}if(u!==null){var y=l.baseState;a=0,g=p=d=null,c=u;do{var S=c.lane,R=c.eventTime;if((i&S)===S){g!==null&&(g=g.next={eventTime:R,lane:0,tag:c.tag,payload:c.payload,callback:c.callback,next:null});e:{var P=e,C=c;switch(S=t,R=n,C.tag){case 1:if(P=C.payload,typeof P=="function"){y=P.call(R,y,S);break e}y=P;break e;case 3:P.flags=P.flags&-65537|128;case 0:if(P=C.payload,S=typeof P=="function"?P.call(R,y,S):P,S==null)break e;y=He({},y,S);break e;case 2:Dr=!0}}c.callback!==null&&c.lane!==0&&(e.flags|=64,S=l.effects,S===null?l.effects=[c]:S.push(c))}else R={eventTime:R,lane:S,tag:c.tag,payload:c.payload,callback:c.callback,next:null},g===null?(p=g=R,d=y):g=g.next=R,a|=S;if(c=c.next,c===null){if(c=l.shared.pending,c===null)break;S=c,c=S.next,S.next=null,l.lastBaseUpdate=S,l.shared.pending=null}}while(1);if(g===null&&(d=y),l.baseState=d,l.firstBaseUpdate=p,l.lastBaseUpdate=g,t=l.shared.interleaved,t!==null){l=t;do a|=l.lane,l=l.next;while(l!==t)}else u===null&&(l.shared.lanes=0);Ni|=a,e.lanes=a,e.memoizedState=y}}function I1(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var i=e[t],l=i.callback;if(l!==null){if(i.callback=null,i=n,typeof l!="function")throw Error(j(191,l));l.call(i)}}}var sw=new ly.Component().refs;function fp(e,t,n,i){t=e.memoizedState,n=n(i,t),n=n==null?t:He({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var ec={isMounted:function(e){return(e=e._reactInternals)?Mi(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var i=Rt(),l=Zr(e),u=gr(i,l);u.payload=t,n!=null&&(u.callback=n),t=Xr(e,u,l),t!==null&&(Mn(t,e,l,i),ra(t,e,l))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var i=Rt(),l=Zr(e),u=gr(i,l);u.tag=1,u.payload=t,n!=null&&(u.callback=n),t=Xr(e,u,l),t!==null&&(Mn(t,e,l,i),ra(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Rt(),i=Zr(e),l=gr(n,i);l.tag=2,t!=null&&(l.callback=t),t=Xr(e,l,i),t!==null&&(Mn(t,e,i,n),ra(t,e,i))}};function L1(e,t,n,i,l,u,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(i,u,a):t.prototype&&t.prototype.isPureReactComponent?!su(n,i)||!su(l,u):!0}function aw(e,t,n){var i=!1,l=oi,u=t.contextType;return typeof u=="object"&&u!==null?u=_n(u):(l=Ut(t)?Ai:Et.current,i=t.contextTypes,u=(i=i!=null)?Bo(e,l):oi),t=new t(n,u),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=ec,e.stateNode=t,t._reactInternals=e,i&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=u),t}function N1(e,t,n,i){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,i),t.state!==e&&ec.enqueueReplaceState(t,t.state,null)}function dp(e,t,n,i){var l=e.stateNode;l.props=n,l.state=e.memoizedState,l.refs=sw,Eh(e);var u=t.contextType;typeof u=="object"&&u!==null?l.context=_n(u):(u=Ut(t)?Ai:Et.current,l.context=Bo(e,u)),l.state=e.memoizedState,u=t.getDerivedStateFromProps,typeof u=="function"&&(fp(e,t,u,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&&ec.enqueueReplaceState(l,l.state,null),La(e,n,l,i),l.state=e.memoizedState),typeof l.componentDidMount=="function"&&(e.flags|=4194308)}function Al(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(j(309));var i=n.stateNode}if(!i)throw Error(j(147,e));var l=i,u=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===u?t.ref:(t=function(a){var c=l.refs;c===sw&&(c=l.refs={}),a===null?delete c[u]:c[u]=a},t._stringRef=u,t)}if(typeof e!="string")throw Error(j(284));if(!n._owner)throw Error(j(290,e))}return e}function Hs(e,t){throw e=Object.prototype.toString.call(t),Error(j(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function B1(e){var t=e._init;return t(e._payload)}function cw(e){function t(_,E){if(e){var x=_.deletions;x===null?(_.deletions=[E],_.flags|=16):x.push(E)}}function n(_,E){if(!e)return null;for(;E!==null;)t(_,E),E=E.sibling;return null}function i(_,E){for(_=new Map;E!==null;)E.key!==null?_.set(E.key,E):_.set(E.index,E),E=E.sibling;return _}function l(_,E){return _=Jr(_,E),_.index=0,_.sibling=null,_}function u(_,E,x){return _.index=x,e?(x=_.alternate,x!==null?(x=x.index,x<E?(_.flags|=2,E):x):(_.flags|=2,E)):(_.flags|=1048576,E)}function a(_){return e&&_.alternate===null&&(_.flags|=2),_}function c(_,E,x,T){return E===null||E.tag!==6?(E=xd(x,_.mode,T),E.return=_,E):(E=l(E,x),E.return=_,E)}function d(_,E,x,T){var B=x.type;return B===co?g(_,E,x.props.children,T,x.key):E!==null&&(E.elementType===B||typeof B=="object"&&B!==null&&B.$$typeof===Mr&&B1(B)===E.type)?(T=l(E,x.props),T.ref=Al(_,E,x),T.return=_,T):(T=aa(x.type,x.key,x.props,null,_.mode,T),T.ref=Al(_,E,x),T.return=_,T)}function p(_,E,x,T){return E===null||E.tag!==4||E.stateNode.containerInfo!==x.containerInfo||E.stateNode.implementation!==x.implementation?(E=Cd(x,_.mode,T),E.return=_,E):(E=l(E,x.children||[]),E.return=_,E)}function g(_,E,x,T,B){return E===null||E.tag!==7?(E=Oi(x,_.mode,T,B),E.return=_,E):(E=l(E,x),E.return=_,E)}function y(_,E,x){if(typeof E=="string"&&E!==""||typeof E=="number")return E=xd(""+E,_.mode,x),E.return=_,E;if(typeof E=="object"&&E!==null){switch(E.$$typeof){case Ls:return x=aa(E.type,E.key,E.props,null,_.mode,x),x.ref=Al(_,null,E),x.return=_,x;case ao:return E=Cd(E,_.mode,x),E.return=_,E;case Mr:var T=E._init;return y(_,T(E._payload),x)}if(Dl(E)||kl(E))return E=Oi(E,_.mode,x,null),E.return=_,E;Hs(_,E)}return null}function S(_,E,x,T){var B=E!==null?E.key:null;if(typeof x=="string"&&x!==""||typeof x=="number")return B!==null?null:c(_,E,""+x,T);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case Ls:return x.key===B?d(_,E,x,T):null;case ao:return x.key===B?p(_,E,x,T):null;case Mr:return B=x._init,S(_,E,B(x._payload),T)}if(Dl(x)||kl(x))return B!==null?null:g(_,E,x,T,null);Hs(_,x)}return null}function R(_,E,x,T,B){if(typeof T=="string"&&T!==""||typeof T=="number")return _=_.get(x)||null,c(E,_,""+T,B);if(typeof T=="object"&&T!==null){switch(T.$$typeof){case Ls:return _=_.get(T.key===null?x:T.key)||null,d(E,_,T,B);case ao:return _=_.get(T.key===null?x:T.key)||null,p(E,_,T,B);case Mr:var F=T._init;return R(_,E,x,F(T._payload),B)}if(Dl(T)||kl(T))return _=_.get(x)||null,g(E,_,T,B,null);Hs(E,T)}return null}function P(_,E,x,T){for(var B=null,F=null,N=E,U=E=0,K=null;N!==null&&U<x.length;U++){N.index>U?(K=N,N=null):K=N.sibling;var $=S(_,N,x[U],T);if($===null){N===null&&(N=K);break}e&&N&&$.alternate===null&&t(_,N),E=u($,E,U),F===null?B=$:F.sibling=$,F=$,N=K}if(U===x.length)return n(_,N),De&&Si(_,U),B;if(N===null){for(;U<x.length;U++)N=y(_,x[U],T),N!==null&&(E=u(N,E,U),F===null?B=N:F.sibling=N,F=N);return De&&Si(_,U),B}for(N=i(_,N);U<x.length;U++)K=R(N,_,U,x[U],T),K!==null&&(e&&K.alternate!==null&&N.delete(K.key===null?U:K.key),E=u(K,E,U),F===null?B=K:F.sibling=K,F=K);return e&&N.forEach(function(Y){return t(_,Y)}),De&&Si(_,U),B}function C(_,E,x,T){var B=kl(x);if(typeof B!="function")throw Error(j(150));if(x=B.call(x),x==null)throw Error(j(151));for(var F=B=null,N=E,U=E=0,K=null,$=x.next();N!==null&&!$.done;U++,$=x.next()){N.index>U?(K=N,N=null):K=N.sibling;var Y=S(_,N,$.value,T);if(Y===null){N===null&&(N=K);break}e&&N&&Y.alternate===null&&t(_,N),E=u(Y,E,U),F===null?B=Y:F.sibling=Y,F=Y,N=K}if($.done)return n(_,N),De&&Si(_,U),B;if(N===null){for(;!$.done;U++,$=x.next())$=y(_,$.value,T),$!==null&&(E=u($,E,U),F===null?B=$:F.sibling=$,F=$);return De&&Si(_,U),B}for(N=i(_,N);!$.done;U++,$=x.next())$=R(N,_,U,$.value,T),$!==null&&(e&&$.alternate!==null&&N.delete($.key===null?U:$.key),E=u($,E,U),F===null?B=$:F.sibling=$,F=$);return e&&N.forEach(function(ve){return t(_,ve)}),De&&Si(_,U),B}function L(_,E,x,T){if(typeof x=="object"&&x!==null&&x.type===co&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case Ls:e:{for(var B=x.key,F=E;F!==null;){if(F.key===B){if(B=x.type,B===co){if(F.tag===7){n(_,F.sibling),E=l(F,x.props.children),E.return=_,_=E;break e}}else if(F.elementType===B||typeof B=="object"&&B!==null&&B.$$typeof===Mr&&B1(B)===F.type){n(_,F.sibling),E=l(F,x.props),E.ref=Al(_,F,x),E.return=_,_=E;break e}n(_,F);break}else t(_,F);F=F.sibling}x.type===co?(E=Oi(x.props.children,_.mode,T,x.key),E.return=_,_=E):(T=aa(x.type,x.key,x.props,null,_.mode,T),T.ref=Al(_,E,x),T.return=_,_=T)}return a(_);case ao:e:{for(F=x.key;E!==null;){if(E.key===F)if(E.tag===4&&E.stateNode.containerInfo===x.containerInfo&&E.stateNode.implementation===x.implementation){n(_,E.sibling),E=l(E,x.children||[]),E.return=_,_=E;break e}else{n(_,E);break}else t(_,E);E=E.sibling}E=Cd(x,_.mode,T),E.return=_,_=E}return a(_);case Mr:return F=x._init,L(_,E,F(x._payload),T)}if(Dl(x))return P(_,E,x,T);if(kl(x))return C(_,E,x,T);Hs(_,x)}return typeof x=="string"&&x!==""||typeof x=="number"?(x=""+x,E!==null&&E.tag===6?(n(_,E.sibling),E=l(E,x),E.return=_,_=E):(n(_,E),E=xd(x,_.mode,T),E.return=_,_=E),a(_)):n(_,E)}return L}var Fo=cw(!0),fw=cw(!1),Ru={},qn=ui(Ru),du=ui(Ru),pu=ui(Ru);function ki(e){if(e===Ru)throw Error(j(174));return e}function xh(e,t){switch(Ie(pu,t),Ie(du,e),Ie(qn,Ru),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:jd(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=jd(t,e)}Be(qn),Ie(qn,t)}function Mo(){Be(qn),Be(du),Be(pu)}function dw(e){ki(pu.current);var t=ki(qn.current),n=jd(t,e.type);t!==n&&(Ie(du,e),Ie(qn,n))}function Ch(e){du.current===e&&(Be(qn),Be(du))}var ze=ui(0);function Na(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 vd=[];function kh(){for(var e=0;e<vd.length;e++)vd[e]._workInProgressVersionPrimary=null;vd.length=0}var ia=Cr.ReactCurrentDispatcher,yd=Cr.ReactCurrentBatchConfig,Li=0,Ue=null,rt=null,ut=null,Ba=!1,Ql=!1,hu=0,mR=0;function yt(){throw Error(j(321))}function Ph(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Dn(e[n],t[n]))return!1;return!0}function Rh(e,t,n,i,l,u){if(Li=u,Ue=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ia.current=e===null||e.memoizedState===null?wR:SR,e=n(i,l),Ql){u=0;do{if(Ql=!1,hu=0,25<=u)throw Error(j(301));u+=1,ut=rt=null,t.updateQueue=null,ia.current=_R,e=n(i,l)}while(Ql)}if(ia.current=ba,t=rt!==null&&rt.next!==null,Li=0,ut=rt=Ue=null,Ba=!1,t)throw Error(j(300));return e}function Oh(){var e=hu!==0;return hu=0,e}function Kn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ut===null?Ue.memoizedState=ut=e:ut=ut.next=e,ut}function En(){if(rt===null){var e=Ue.alternate;e=e!==null?e.memoizedState:null}else e=rt.next;var t=ut===null?Ue.memoizedState:ut.next;if(t!==null)ut=t,rt=e;else{if(e===null)throw Error(j(310));rt=e,e={memoizedState:rt.memoizedState,baseState:rt.baseState,baseQueue:rt.baseQueue,queue:rt.queue,next:null},ut===null?Ue.memoizedState=ut=e:ut=ut.next=e}return ut}function mu(e,t){return typeof t=="function"?t(e):t}function wd(e){var t=En(),n=t.queue;if(n===null)throw Error(j(311));n.lastRenderedReducer=e;var i=rt,l=i.baseQueue,u=n.pending;if(u!==null){if(l!==null){var a=l.next;l.next=u.next,u.next=a}i.baseQueue=l=u,n.pending=null}if(l!==null){u=l.next,i=i.baseState;var c=a=null,d=null,p=u;do{var g=p.lane;if((Li&g)===g)d!==null&&(d=d.next={lane:0,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null}),i=p.hasEagerState?p.eagerState:e(i,p.action);else{var y={lane:g,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null};d===null?(c=d=y,a=i):d=d.next=y,Ue.lanes|=g,Ni|=g}p=p.next}while(p!==null&&p!==u);d===null?a=i:d.next=c,Dn(i,t.memoizedState)||($t=!0),t.memoizedState=i,t.baseState=a,t.baseQueue=d,n.lastRenderedState=i}if(e=n.interleaved,e!==null){l=e;do u=l.lane,Ue.lanes|=u,Ni|=u,l=l.next;while(l!==e)}else l===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Sd(e){var t=En(),n=t.queue;if(n===null)throw Error(j(311));n.lastRenderedReducer=e;var i=n.dispatch,l=n.pending,u=t.memoizedState;if(l!==null){n.pending=null;var a=l=l.next;do u=e(u,a.action),a=a.next;while(a!==l);Dn(u,t.memoizedState)||($t=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),n.lastRenderedState=u}return[u,i]}function pw(){}function hw(e,t){var n=Ue,i=En(),l=t(),u=!Dn(i.memoizedState,l);if(u&&(i.memoizedState=l,$t=!0),i=i.queue,Th(vw.bind(null,n,i,e),[e]),i.getSnapshot!==t||u||ut!==null&&ut.memoizedState.tag&1){if(n.flags|=2048,gu(9,gw.bind(null,n,i,l,t),void 0,null),st===null)throw Error(j(349));Li&30||mw(n,t,l)}return l}function mw(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Ue.updateQueue,t===null?(t={lastEffect:null,stores:null},Ue.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function gw(e,t,n,i){t.value=n,t.getSnapshot=i,yw(t)&&ww(e)}function vw(e,t,n){return n(function(){yw(t)&&ww(e)})}function yw(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Dn(e,n)}catch(i){return!0}}function ww(e){var t=_r(e,1);t!==null&&Mn(t,e,1,-1)}function b1(e){var t=Kn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:mu,lastRenderedState:e},t.queue=e,e=e.dispatch=yR.bind(null,Ue,e),[t.memoizedState,e]}function gu(e,t,n,i){return e={tag:e,create:t,destroy:n,deps:i,next:null},t=Ue.updateQueue,t===null?(t={lastEffect:null,stores:null},Ue.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(i=n.next,n.next=e,e.next=i,t.lastEffect=e)),e}function Sw(){return En().memoizedState}function oa(e,t,n,i){var l=Kn();Ue.flags|=e,l.memoizedState=gu(1|t,n,void 0,i===void 0?null:i)}function tc(e,t,n,i){var l=En();i=i===void 0?null:i;var u=void 0;if(rt!==null){var a=rt.memoizedState;if(u=a.destroy,i!==null&&Ph(i,a.deps)){l.memoizedState=gu(t,n,u,i);return}}Ue.flags|=e,l.memoizedState=gu(1|t,n,u,i)}function F1(e,t){return oa(8390656,8,e,t)}function Th(e,t){return tc(2048,8,e,t)}function _w(e,t){return tc(4,2,e,t)}function Ew(e,t){return tc(4,4,e,t)}function xw(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 Cw(e,t,n){return n=n!=null?n.concat([e]):null,tc(4,4,xw.bind(null,t,e),n)}function Ah(){}function kw(e,t){var n=En();t=t===void 0?null:t;var i=n.memoizedState;return i!==null&&t!==null&&Ph(t,i[1])?i[0]:(n.memoizedState=[e,t],e)}function Pw(e,t){var n=En();t=t===void 0?null:t;var i=n.memoizedState;return i!==null&&t!==null&&Ph(t,i[1])?i[0]:(e=e(),n.memoizedState=[e,t],e)}function Rw(e,t,n){return Li&21?(Dn(n,t)||(n=Ay(),Ue.lanes|=n,Ni|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,$t=!0),e.memoizedState=n)}function gR(e,t){var n=Pe;Pe=n!==0&&4>n?n:4,e(!0);var i=yd.transition;yd.transition={};try{e(!1),t()}finally{Pe=n,yd.transition=i}}function Ow(){return En().memoizedState}function vR(e,t,n){var i=Zr(e);if(n={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null},Tw(e))Aw(t,n);else if(n=lw(e,t,n,i),n!==null){var l=Rt();Mn(n,e,i,l),Iw(n,t,i)}}function yR(e,t,n){var i=Zr(e),l={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(Tw(e))Aw(t,l);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var a=t.lastRenderedState,c=u(a,n);if(l.hasEagerState=!0,l.eagerState=c,Dn(c,a)){var d=t.interleaved;d===null?(l.next=l,_h(t)):(l.next=d.next,d.next=l),t.interleaved=l;return}}catch(p){}finally{}n=lw(e,t,l,i),n!==null&&(l=Rt(),Mn(n,e,i,l),Iw(n,t,i))}}function Tw(e){var t=e.alternate;return e===Ue||t!==null&&t===Ue}function Aw(e,t){Ql=Ba=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Iw(e,t,n){if(n&4194240){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,uh(e,n)}}var ba={readContext:_n,useCallback:yt,useContext:yt,useEffect:yt,useImperativeHandle:yt,useInsertionEffect:yt,useLayoutEffect:yt,useMemo:yt,useReducer:yt,useRef:yt,useState:yt,useDebugValue:yt,useDeferredValue:yt,useTransition:yt,useMutableSource:yt,useSyncExternalStore:yt,useId:yt,unstable_isNewReconciler:!1},wR={readContext:_n,useCallback:function(e,t){return Kn().memoizedState=[e,t===void 0?null:t],e},useContext:_n,useEffect:F1,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,oa(4194308,4,xw.bind(null,t,e),n)},useLayoutEffect:function(e,t){return oa(4194308,4,e,t)},useInsertionEffect:function(e,t){return oa(4,2,e,t)},useMemo:function(e,t){var n=Kn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var i=Kn();return t=n!==void 0?n(t):t,i.memoizedState=i.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},i.queue=e,e=e.dispatch=vR.bind(null,Ue,e),[i.memoizedState,e]},useRef:function(e){var t=Kn();return e={current:e},t.memoizedState=e},useState:b1,useDebugValue:Ah,useDeferredValue:function(e){return Kn().memoizedState=e},useTransition:function(){var e=b1(!1),t=e[0];return e=gR.bind(null,e[1]),Kn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var i=Ue,l=Kn();if(De){if(n===void 0)throw Error(j(407));n=n()}else{if(n=t(),st===null)throw Error(j(349));Li&30||mw(i,t,n)}l.memoizedState=n;var u={value:n,getSnapshot:t};return l.queue=u,F1(vw.bind(null,i,u,e),[e]),i.flags|=2048,gu(9,gw.bind(null,i,u,n,t),void 0,null),n},useId:function(){var e=Kn(),t=st.identifierPrefix;if(De){var n=mr,i=hr;n=(i&~(1<<32-Fn(i)-1)).toString(32)+n,t=":"+t+"R"+n,n=hu++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=mR++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},SR={readContext:_n,useCallback:kw,useContext:_n,useEffect:Th,useImperativeHandle:Cw,useInsertionEffect:_w,useLayoutEffect:Ew,useMemo:Pw,useReducer:wd,useRef:Sw,useState:function(){return wd(mu)},useDebugValue:Ah,useDeferredValue:function(e){var t=En();return Rw(t,rt.memoizedState,e)},useTransition:function(){var e=wd(mu)[0],t=En().memoizedState;return[e,t]},useMutableSource:pw,useSyncExternalStore:hw,useId:Ow,unstable_isNewReconciler:!1},_R={readContext:_n,useCallback:kw,useContext:_n,useEffect:Th,useImperativeHandle:Cw,useInsertionEffect:_w,useLayoutEffect:Ew,useMemo:Pw,useReducer:Sd,useRef:Sw,useState:function(){return Sd(mu)},useDebugValue:Ah,useDeferredValue:function(e){var t=En();return rt===null?t.memoizedState=e:Rw(t,rt.memoizedState,e)},useTransition:function(){var e=Sd(mu)[0],t=En().memoizedState;return[e,t]},useMutableSource:pw,useSyncExternalStore:hw,useId:Ow,unstable_isNewReconciler:!1};function Do(e,t){try{var n="",i=t;do n+=Y5(i),i=i.return;while(i);var l=n}catch(u){l=`
|
|
31
|
+
Error generating stack: `+u.message+`
|
|
32
|
+
`+u.stack}return{value:e,source:t,stack:l,digest:null}}function _d(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function pp(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var ER=typeof WeakMap=="function"?WeakMap:Map;function Lw(e,t,n){n=gr(-1,n),n.tag=3,n.payload={element:null};var i=t.value;return n.callback=function(){Ma||(Ma=!0,xp=i),pp(e,t)},n}function Nw(e,t,n){n=gr(-1,n),n.tag=3;var i=e.type.getDerivedStateFromError;if(typeof i=="function"){var l=t.value;n.payload=function(){return i(l)},n.callback=function(){pp(e,t)}}var u=e.stateNode;return u!==null&&typeof u.componentDidCatch=="function"&&(n.callback=function(){pp(e,t),typeof i!="function"&&(qr===null?qr=new Set([this]):qr.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function M1(e,t,n){var i=e.pingCache;if(i===null){i=e.pingCache=new ER;var l=new Set;i.set(t,l)}else l=i.get(t),l===void 0&&(l=new Set,i.set(t,l));l.has(n)||(l.add(n),e=FR.bind(null,e,t,n),t.then(e,e))}function D1(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 $1(e,t,n,i,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=gr(-1,1),t.tag=2,Xr(n,t,1))),n.lanes|=1),e)}var xR=Cr.ReactCurrentOwner,$t=!1;function Pt(e,t,n,i){t.child=e===null?fw(t,null,n,i):Fo(t,e.child,n,i)}function z1(e,t,n,i,l){n=n.render;var u=t.ref;return Po(t,l),i=Rh(e,t,n,i,u,l),n=Oh(),e!==null&&!$t?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Er(e,t,l)):(De&&n&&mh(t),t.flags|=1,Pt(e,t,i,l),t.child)}function U1(e,t,n,i,l){if(e===null){var u=n.type;return typeof u=="function"&&!Dh(u)&&u.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=u,Bw(e,t,u,i,l)):(e=aa(n.type,null,i,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(u=e.child,!(e.lanes&l)){var a=u.memoizedProps;if(n=n.compare,n=n!==null?n:su,n(a,i)&&e.ref===t.ref)return Er(e,t,l)}return t.flags|=1,e=Jr(u,i),e.ref=t.ref,e.return=t,t.child=e}function Bw(e,t,n,i,l){if(e!==null){var u=e.memoizedProps;if(su(u,i)&&e.ref===t.ref)if($t=!1,t.pendingProps=i=u,(e.lanes&l)!==0)e.flags&131072&&($t=!0);else return t.lanes=e.lanes,Er(e,t,l)}return hp(e,t,n,i,l)}function bw(e,t,n){var i=t.pendingProps,l=i.children,u=e!==null?e.memoizedState:null;if(i.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ie(_o,qt),qt|=n;else{if(!(n&1073741824))return e=u!==null?u.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ie(_o,qt),qt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},i=u!==null?u.baseLanes:n,Ie(_o,qt),qt|=i}else u!==null?(i=u.baseLanes|n,t.memoizedState=null):i=n,Ie(_o,qt),qt|=i;return Pt(e,t,l,n),t.child}function Fw(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function hp(e,t,n,i,l){var u=Ut(n)?Ai:Et.current;return u=Bo(t,u),Po(t,l),n=Rh(e,t,n,i,u,l),i=Oh(),e!==null&&!$t?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Er(e,t,l)):(De&&i&&mh(t),t.flags|=1,Pt(e,t,n,l),t.child)}function W1(e,t,n,i,l){if(Ut(n)){var u=!0;Ra(t)}else u=!1;if(Po(t,l),t.stateNode===null)la(e,t),aw(t,n,i),dp(t,n,i,l),i=!0;else if(e===null){var a=t.stateNode,c=t.memoizedProps;a.props=c;var d=a.context,p=n.contextType;typeof p=="object"&&p!==null?p=_n(p):(p=Ut(n)?Ai:Et.current,p=Bo(t,p));var g=n.getDerivedStateFromProps,y=typeof g=="function"||typeof a.getSnapshotBeforeUpdate=="function";y||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(c!==i||d!==p)&&N1(t,a,i,p),Dr=!1;var S=t.memoizedState;a.state=S,La(t,i,a,l),d=t.memoizedState,c!==i||S!==d||zt.current||Dr?(typeof g=="function"&&(fp(t,n,g,i),d=t.memoizedState),(c=Dr||L1(t,n,c,i,S,d,p))?(y||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=i,t.memoizedState=d),a.props=i,a.state=d,a.context=p,i=c):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),i=!1)}else{a=t.stateNode,uw(e,t),c=t.memoizedProps,p=t.type===t.elementType?c:Nn(t.type,c),a.props=p,y=t.pendingProps,S=a.context,d=n.contextType,typeof d=="object"&&d!==null?d=_n(d):(d=Ut(n)?Ai:Et.current,d=Bo(t,d));var R=n.getDerivedStateFromProps;(g=typeof R=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(c!==y||S!==d)&&N1(t,a,i,d),Dr=!1,S=t.memoizedState,a.state=S,La(t,i,a,l);var P=t.memoizedState;c!==y||S!==P||zt.current||Dr?(typeof R=="function"&&(fp(t,n,R,i),P=t.memoizedState),(p=Dr||L1(t,n,p,i,S,P,d)||!1)?(g||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(i,P,d),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(i,P,d)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||c===e.memoizedProps&&S===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||c===e.memoizedProps&&S===e.memoizedState||(t.flags|=1024),t.memoizedProps=i,t.memoizedState=P),a.props=i,a.state=P,a.context=d,i=p):(typeof a.componentDidUpdate!="function"||c===e.memoizedProps&&S===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||c===e.memoizedProps&&S===e.memoizedState||(t.flags|=1024),i=!1)}return mp(e,t,n,i,u,l)}function mp(e,t,n,i,l,u){Fw(e,t);var a=(t.flags&128)!==0;if(!i&&!a)return l&&R1(t,n,!1),Er(e,t,u);i=t.stateNode,xR.current=t;var c=a&&typeof n.getDerivedStateFromError!="function"?null:i.render();return t.flags|=1,e!==null&&a?(t.child=Fo(t,e.child,null,u),t.child=Fo(t,null,c,u)):Pt(e,t,c,u),t.memoizedState=i.state,l&&R1(t,n,!0),t.child}function Mw(e){var t=e.stateNode;t.pendingContext?P1(e,t.pendingContext,t.pendingContext!==t.context):t.context&&P1(e,t.context,!1),xh(e,t.containerInfo)}function H1(e,t,n,i,l){return bo(),vh(l),t.flags|=256,Pt(e,t,n,i),t.child}var gp={dehydrated:null,treeContext:null,retryLane:0};function vp(e){return{baseLanes:e,cachePool:null,transitions:null}}function Dw(e,t,n){var i=t.pendingProps,l=ze.current,u=!1,a=(t.flags&128)!==0,c;if((c=a)||(c=e!==null&&e.memoizedState===null?!1:(l&2)!==0),c?(u=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),Ie(ze,l&1),e===null)return ap(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):(a=i.children,e=i.fallback,u?(i=t.mode,u=t.child,a={mode:"hidden",children:a},!(i&1)&&u!==null?(u.childLanes=0,u.pendingProps=a):u=ic(a,i,0,null),e=Oi(e,i,n,null),u.return=t,e.return=t,u.sibling=e,t.child=u,t.child.memoizedState=vp(n),t.memoizedState=gp,e):Ih(t,a));if(l=e.memoizedState,l!==null&&(c=l.dehydrated,c!==null))return CR(e,t,a,i,c,l,n);if(u){u=i.fallback,a=t.mode,l=e.child,c=l.sibling;var d={mode:"hidden",children:i.children};return!(a&1)&&t.child!==l?(i=t.child,i.childLanes=0,i.pendingProps=d,t.deletions=null):(i=Jr(l,d),i.subtreeFlags=l.subtreeFlags&14680064),c!==null?u=Jr(c,u):(u=Oi(u,a,n,null),u.flags|=2),u.return=t,i.return=t,i.sibling=u,t.child=i,i=u,u=t.child,a=e.child.memoizedState,a=a===null?vp(n):{baseLanes:a.baseLanes|n,cachePool:null,transitions:a.transitions},u.memoizedState=a,u.childLanes=e.childLanes&~n,t.memoizedState=gp,i}return u=e.child,e=u.sibling,i=Jr(u,{mode:"visible",children:i.children}),!(t.mode&1)&&(i.lanes=n),i.return=t,i.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=i,t.memoizedState=null,i}function Ih(e,t){return t=ic({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function js(e,t,n,i){return i!==null&&vh(i),Fo(t,e.child,null,n),e=Ih(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function CR(e,t,n,i,l,u,a){if(n)return t.flags&256?(t.flags&=-257,i=_d(Error(j(422))),js(e,t,a,i)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(u=i.fallback,l=t.mode,i=ic({mode:"visible",children:i.children},l,0,null),u=Oi(u,l,a,null),u.flags|=2,i.return=t,u.return=t,i.sibling=u,t.child=i,t.mode&1&&Fo(t,e.child,null,a),t.child.memoizedState=vp(a),t.memoizedState=gp,u);if(!(t.mode&1))return js(e,t,a,null);if(l.data==="$!"){if(i=l.nextSibling&&l.nextSibling.dataset,i)var c=i.dgst;return i=c,u=Error(j(419)),i=_d(u,i,void 0),js(e,t,a,i)}if(c=(a&e.childLanes)!==0,$t||c){if(i=st,i!==null){switch(a&-a){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&(i.suspendedLanes|a)?0:l,l!==0&&l!==u.retryLane&&(u.retryLane=l,_r(e,l),Mn(i,e,l,-1))}return Mh(),i=_d(Error(j(421))),js(e,t,a,i)}return l.data==="$?"?(t.flags|=128,t.child=e.child,t=MR.bind(null,e),l._reactRetry=t,null):(e=u.treeContext,en=Yr(l.nextSibling),tn=t,De=!0,bn=null,e!==null&&(vn[yn++]=hr,vn[yn++]=mr,vn[yn++]=Ii,hr=e.id,mr=e.overflow,Ii=t),t=Ih(t,i.children),t.flags|=4096,t)}function j1(e,t,n){e.lanes|=t;var i=e.alternate;i!==null&&(i.lanes|=t),cp(e.return,t,n)}function Ed(e,t,n,i,l){var u=e.memoizedState;u===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:l}:(u.isBackwards=t,u.rendering=null,u.renderingStartTime=0,u.last=i,u.tail=n,u.tailMode=l)}function $w(e,t,n){var i=t.pendingProps,l=i.revealOrder,u=i.tail;if(Pt(e,t,i.children,n),i=ze.current,i&2)i=i&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&&j1(e,n,t);else if(e.tag===19)j1(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}i&=1}if(Ie(ze,i),!(t.mode&1))t.memoizedState=null;else switch(l){case"forwards":for(n=t.child,l=null;n!==null;)e=n.alternate,e!==null&&Na(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),Ed(t,!1,l,n,u);break;case"backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&Na(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}Ed(t,!0,n,null,u);break;case"together":Ed(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function la(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Er(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Ni|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(j(153));if(t.child!==null){for(e=t.child,n=Jr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Jr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function kR(e,t,n){switch(t.tag){case 3:Mw(t),bo();break;case 5:dw(t);break;case 1:Ut(t.type)&&Ra(t);break;case 4:xh(t,t.stateNode.containerInfo);break;case 10:var i=t.type._context,l=t.memoizedProps.value;Ie(Aa,i._currentValue),i._currentValue=l;break;case 13:if(i=t.memoizedState,i!==null)return i.dehydrated!==null?(Ie(ze,ze.current&1),t.flags|=128,null):n&t.child.childLanes?Dw(e,t,n):(Ie(ze,ze.current&1),e=Er(e,t,n),e!==null?e.sibling:null);Ie(ze,ze.current&1);break;case 19:if(i=(n&t.childLanes)!==0,e.flags&128){if(i)return $w(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),Ie(ze,ze.current),i)break;return null;case 22:case 23:return t.lanes=0,bw(e,t,n)}return Er(e,t,n)}var zw,yp,Uw,Ww;zw=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}};yp=function(){};Uw=function(e,t,n,i){var l=e.memoizedProps;if(l!==i){e=t.stateNode,ki(qn.current);var u=null;switch(n){case"input":l=zd(e,l),i=zd(e,i),u=[];break;case"select":l=He({},l,{value:void 0}),i=He({},i,{value:void 0}),u=[];break;case"textarea":l=Hd(e,l),i=Hd(e,i),u=[];break;default:typeof l.onClick!="function"&&typeof i.onClick=="function"&&(e.onclick=ka)}Kd(n,i);var a;n=null;for(p in l)if(!i.hasOwnProperty(p)&&l.hasOwnProperty(p)&&l[p]!=null)if(p==="style"){var c=l[p];for(a in c)c.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else p!=="dangerouslySetInnerHTML"&&p!=="children"&&p!=="suppressContentEditableWarning"&&p!=="suppressHydrationWarning"&&p!=="autoFocus"&&(tu.hasOwnProperty(p)?u||(u=[]):(u=u||[]).push(p,null));for(p in i){var d=i[p];if(c=l!=null?l[p]:void 0,i.hasOwnProperty(p)&&d!==c&&(d!=null||c!=null))if(p==="style")if(c){for(a in c)!c.hasOwnProperty(a)||d&&d.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in d)d.hasOwnProperty(a)&&c[a]!==d[a]&&(n||(n={}),n[a]=d[a])}else n||(u||(u=[]),u.push(p,n)),n=d;else p==="dangerouslySetInnerHTML"?(d=d?d.__html:void 0,c=c?c.__html:void 0,d!=null&&c!==d&&(u=u||[]).push(p,d)):p==="children"?typeof d!="string"&&typeof d!="number"||(u=u||[]).push(p,""+d):p!=="suppressContentEditableWarning"&&p!=="suppressHydrationWarning"&&(tu.hasOwnProperty(p)?(d!=null&&p==="onScroll"&&Ne("scroll",e),u||c===d||(u=[])):(u=u||[]).push(p,d))}n&&(u=u||[]).push("style",n);var p=u;(t.updateQueue=p)&&(t.flags|=4)}};Ww=function(e,t,n,i){n!==i&&(t.flags|=4)};function Il(e,t){if(!De)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 i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:i.sibling=null}}function wt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,i=0;if(t)for(var l=e.child;l!==null;)n|=l.lanes|l.childLanes,i|=l.subtreeFlags&14680064,i|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,i|=l.subtreeFlags,i|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=i,e.childLanes=n,t}function PR(e,t,n){var i=t.pendingProps;switch(gh(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return wt(t),null;case 1:return Ut(t.type)&&Pa(),wt(t),null;case 3:return i=t.stateNode,Mo(),Be(zt),Be(Et),kh(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(e===null||e.child===null)&&(Ws(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,bn!==null&&(Pp(bn),bn=null))),yp(e,t),wt(t),null;case 5:Ch(t);var l=ki(pu.current);if(n=t.type,e!==null&&t.stateNode!=null)Uw(e,t,n,i,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!i){if(t.stateNode===null)throw Error(j(166));return wt(t),null}if(e=ki(qn.current),Ws(t)){i=t.stateNode,n=t.type;var u=t.memoizedProps;switch(i[Qn]=t,i[fu]=u,e=(t.mode&1)!==0,n){case"dialog":Ne("cancel",i),Ne("close",i);break;case"iframe":case"object":case"embed":Ne("load",i);break;case"video":case"audio":for(l=0;l<zl.length;l++)Ne(zl[l],i);break;case"source":Ne("error",i);break;case"img":case"image":case"link":Ne("error",i),Ne("load",i);break;case"details":Ne("toggle",i);break;case"input":Jg(i,u),Ne("invalid",i);break;case"select":i._wrapperState={wasMultiple:!!u.multiple},Ne("invalid",i);break;case"textarea":t1(i,u),Ne("invalid",i)}Kd(n,u),l=null;for(var a in u)if(u.hasOwnProperty(a)){var c=u[a];a==="children"?typeof c=="string"?i.textContent!==c&&(u.suppressHydrationWarning!==!0&&Us(i.textContent,c,e),l=["children",c]):typeof c=="number"&&i.textContent!==""+c&&(u.suppressHydrationWarning!==!0&&Us(i.textContent,c,e),l=["children",""+c]):tu.hasOwnProperty(a)&&c!=null&&a==="onScroll"&&Ne("scroll",i)}switch(n){case"input":Ns(i),e1(i,u,!0);break;case"textarea":Ns(i),n1(i);break;case"select":case"option":break;default:typeof u.onClick=="function"&&(i.onclick=ka)}i=l,t.updateQueue=i,i!==null&&(t.flags|=4)}else{a=l.nodeType===9?l:l.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=my(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=a.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof i.is=="string"?e=a.createElement(n,{is:i.is}):(e=a.createElement(n),n==="select"&&(a=e,i.multiple?a.multiple=!0:i.size&&(a.size=i.size))):e=a.createElementNS(e,n),e[Qn]=t,e[fu]=i,zw(e,t,!1,!1),t.stateNode=e;e:{switch(a=Vd(n,i),n){case"dialog":Ne("cancel",e),Ne("close",e),l=i;break;case"iframe":case"object":case"embed":Ne("load",e),l=i;break;case"video":case"audio":for(l=0;l<zl.length;l++)Ne(zl[l],e);l=i;break;case"source":Ne("error",e),l=i;break;case"img":case"image":case"link":Ne("error",e),Ne("load",e),l=i;break;case"details":Ne("toggle",e),l=i;break;case"input":Jg(e,i),l=zd(e,i),Ne("invalid",e);break;case"option":l=i;break;case"select":e._wrapperState={wasMultiple:!!i.multiple},l=He({},i,{value:void 0}),Ne("invalid",e);break;case"textarea":t1(e,i),l=Hd(e,i),Ne("invalid",e);break;default:l=i}Kd(n,l),c=l;for(u in c)if(c.hasOwnProperty(u)){var d=c[u];u==="style"?yy(e,d):u==="dangerouslySetInnerHTML"?(d=d?d.__html:void 0,d!=null&&gy(e,d)):u==="children"?typeof d=="string"?(n!=="textarea"||d!=="")&&nu(e,d):typeof d=="number"&&nu(e,""+d):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(tu.hasOwnProperty(u)?d!=null&&u==="onScroll"&&Ne("scroll",e):d!=null&&th(e,u,d,a))}switch(n){case"input":Ns(e),e1(e,i,!1);break;case"textarea":Ns(e),n1(e);break;case"option":i.value!=null&&e.setAttribute("value",""+ii(i.value));break;case"select":e.multiple=!!i.multiple,u=i.value,u!=null?Eo(e,!!i.multiple,u,!1):i.defaultValue!=null&&Eo(e,!!i.multiple,i.defaultValue,!0);break;default:typeof l.onClick=="function"&&(e.onclick=ka)}switch(n){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}}i&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return wt(t),null;case 6:if(e&&t.stateNode!=null)Ww(e,t,e.memoizedProps,i);else{if(typeof i!="string"&&t.stateNode===null)throw Error(j(166));if(n=ki(pu.current),ki(qn.current),Ws(t)){if(i=t.stateNode,n=t.memoizedProps,i[Qn]=t,(u=i.nodeValue!==n)&&(e=tn,e!==null))switch(e.tag){case 3:Us(i.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Us(i.nodeValue,n,(e.mode&1)!==0)}u&&(t.flags|=4)}else i=(n.nodeType===9?n:n.ownerDocument).createTextNode(i),i[Qn]=t,t.stateNode=i}return wt(t),null;case 13:if(Be(ze),i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(De&&en!==null&&t.mode&1&&!(t.flags&128))ow(),bo(),t.flags|=98560,u=!1;else if(u=Ws(t),i!==null&&i.dehydrated!==null){if(e===null){if(!u)throw Error(j(318));if(u=t.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(j(317));u[Qn]=t}else bo(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;wt(t),u=!1}else bn!==null&&(Pp(bn),bn=null),u=!0;if(!u)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(i=i!==null,i!==(e!==null&&e.memoizedState!==null)&&i&&(t.child.flags|=8192,t.mode&1&&(e===null||ze.current&1?it===0&&(it=3):Mh())),t.updateQueue!==null&&(t.flags|=4),wt(t),null);case 4:return Mo(),yp(e,t),e===null&&au(t.stateNode.containerInfo),wt(t),null;case 10:return Sh(t.type._context),wt(t),null;case 17:return Ut(t.type)&&Pa(),wt(t),null;case 19:if(Be(ze),u=t.memoizedState,u===null)return wt(t),null;if(i=(t.flags&128)!==0,a=u.rendering,a===null)if(i)Il(u,!1);else{if(it!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(a=Na(e),a!==null){for(t.flags|=128,Il(u,!1),i=a.updateQueue,i!==null&&(t.updateQueue=i,t.flags|=4),t.subtreeFlags=0,i=n,n=t.child;n!==null;)u=n,e=i,u.flags&=14680066,a=u.alternate,a===null?(u.childLanes=0,u.lanes=e,u.child=null,u.subtreeFlags=0,u.memoizedProps=null,u.memoizedState=null,u.updateQueue=null,u.dependencies=null,u.stateNode=null):(u.childLanes=a.childLanes,u.lanes=a.lanes,u.child=a.child,u.subtreeFlags=0,u.deletions=null,u.memoizedProps=a.memoizedProps,u.memoizedState=a.memoizedState,u.updateQueue=a.updateQueue,u.type=a.type,e=a.dependencies,u.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ie(ze,ze.current&1|2),t.child}e=e.sibling}u.tail!==null&&Xe()>$o&&(t.flags|=128,i=!0,Il(u,!1),t.lanes=4194304)}else{if(!i)if(e=Na(a),e!==null){if(t.flags|=128,i=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Il(u,!0),u.tail===null&&u.tailMode==="hidden"&&!a.alternate&&!De)return wt(t),null}else 2*Xe()-u.renderingStartTime>$o&&n!==1073741824&&(t.flags|=128,i=!0,Il(u,!1),t.lanes=4194304);u.isBackwards?(a.sibling=t.child,t.child=a):(n=u.last,n!==null?n.sibling=a:t.child=a,u.last=a)}return u.tail!==null?(t=u.tail,u.rendering=t,u.tail=t.sibling,u.renderingStartTime=Xe(),t.sibling=null,n=ze.current,Ie(ze,i?n&1|2:n&1),t):(wt(t),null);case 22:case 23:return Fh(),i=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==i&&(t.flags|=8192),i&&t.mode&1?qt&1073741824&&(wt(t),t.subtreeFlags&6&&(t.flags|=8192)):wt(t),null;case 24:return null;case 25:return null}throw Error(j(156,t.tag))}function RR(e,t){switch(gh(t),t.tag){case 1:return Ut(t.type)&&Pa(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Mo(),Be(zt),Be(Et),kh(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ch(t),null;case 13:if(Be(ze),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(j(340));bo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Be(ze),null;case 4:return Mo(),null;case 10:return Sh(t.type._context),null;case 22:case 23:return Fh(),null;case 24:return null;default:return null}}var Ks=!1,_t=!1,OR=typeof WeakSet=="function"?WeakSet:Set,q=null;function So(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(i){Ge(e,t,i)}else n.current=null}function wp(e,t,n){try{n()}catch(i){Ge(e,t,i)}}var K1=!1;function TR(e,t){if(np=Ea,e=Vy(),hh(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var i=n.getSelection&&n.getSelection();if(i&&i.rangeCount!==0){n=i.anchorNode;var l=i.anchorOffset,u=i.focusNode;i=i.focusOffset;try{n.nodeType,u.nodeType}catch(T){n=null;break e}var a=0,c=-1,d=-1,p=0,g=0,y=e,S=null;t:for(;;){for(var R;y!==n||l!==0&&y.nodeType!==3||(c=a+l),y!==u||i!==0&&y.nodeType!==3||(d=a+i),y.nodeType===3&&(a+=y.nodeValue.length),(R=y.firstChild)!==null;)S=y,y=R;for(;;){if(y===e)break t;if(S===n&&++p===l&&(c=a),S===u&&++g===i&&(d=a),(R=y.nextSibling)!==null)break;y=S,S=y.parentNode}y=R}n=c===-1||d===-1?null:{start:c,end:d}}else n=null}n=n||{start:0,end:0}}else n=null;for(rp={focusedElem:e,selectionRange:n},Ea=!1,q=t;q!==null;)if(t=q,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,q=e;else for(;q!==null;){t=q;try{var P=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(P!==null){var C=P.memoizedProps,L=P.memoizedState,_=t.stateNode,E=_.getSnapshotBeforeUpdate(t.elementType===t.type?C:Nn(t.type,C),L);_.__reactInternalSnapshotBeforeUpdate=E}break;case 3:var x=t.stateNode.containerInfo;x.nodeType===1?x.textContent="":x.nodeType===9&&x.documentElement&&x.removeChild(x.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(j(163))}}catch(T){Ge(t,t.return,T)}if(e=t.sibling,e!==null){e.return=t.return,q=e;break}q=t.return}return P=K1,K1=!1,P}function Yl(e,t,n){var i=t.updateQueue;if(i=i!==null?i.lastEffect:null,i!==null){var l=i=i.next;do{if((l.tag&e)===e){var u=l.destroy;l.destroy=void 0,u!==void 0&&wp(t,n,u)}l=l.next}while(l!==i)}}function nc(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 i=n.create;n.destroy=i()}n=n.next}while(n!==t)}}function Sp(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 Hw(e){var t=e.alternate;t!==null&&(e.alternate=null,Hw(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Qn],delete t[fu],delete t[lp],delete t[fR],delete t[dR])),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 jw(e){return e.tag===5||e.tag===3||e.tag===4}function V1(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||jw(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 _p(e,t,n){var i=e.tag;if(i===5||i===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=ka));else if(i!==4&&(e=e.child,e!==null))for(_p(e,t,n),e=e.sibling;e!==null;)_p(e,t,n),e=e.sibling}function Ep(e,t,n){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(i!==4&&(e=e.child,e!==null))for(Ep(e,t,n),e=e.sibling;e!==null;)Ep(e,t,n),e=e.sibling}var dt=null,Bn=!1;function br(e,t,n){for(n=n.child;n!==null;)Kw(e,t,n),n=n.sibling}function Kw(e,t,n){if(Xn&&typeof Xn.onCommitFiberUnmount=="function")try{Xn.onCommitFiberUnmount(Qa,n)}catch(c){}switch(n.tag){case 5:_t||So(n,t);case 6:var i=dt,l=Bn;dt=null,br(e,t,n),dt=i,Bn=l,dt!==null&&(Bn?(e=dt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):dt.removeChild(n.stateNode));break;case 18:dt!==null&&(Bn?(e=dt,n=n.stateNode,e.nodeType===8?md(e.parentNode,n):e.nodeType===1&&md(e,n),lu(e)):md(dt,n.stateNode));break;case 4:i=dt,l=Bn,dt=n.stateNode.containerInfo,Bn=!0,br(e,t,n),dt=i,Bn=l;break;case 0:case 11:case 14:case 15:if(!_t&&(i=n.updateQueue,i!==null&&(i=i.lastEffect,i!==null))){l=i=i.next;do{var u=l,a=u.destroy;u=u.tag,a!==void 0&&(u&2||u&4)&&wp(n,t,a),l=l.next}while(l!==i)}br(e,t,n);break;case 1:if(!_t&&(So(n,t),i=n.stateNode,typeof i.componentWillUnmount=="function"))try{i.props=n.memoizedProps,i.state=n.memoizedState,i.componentWillUnmount()}catch(c){Ge(n,t,c)}br(e,t,n);break;case 21:br(e,t,n);break;case 22:n.mode&1?(_t=(i=_t)||n.memoizedState!==null,br(e,t,n),_t=i):br(e,t,n);break;default:br(e,t,n)}}function G1(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new OR),t.forEach(function(i){var l=DR.bind(null,e,i);n.has(i)||(n.add(i),i.then(l,l))})}}function Ln(e,t){var n=t.deletions;if(n!==null)for(var i=0;i<n.length;i++){var l=n[i];try{var u=e,a=t,c=a;e:for(;c!==null;){switch(c.tag){case 5:dt=c.stateNode,Bn=!1;break e;case 3:dt=c.stateNode.containerInfo,Bn=!0;break e;case 4:dt=c.stateNode.containerInfo,Bn=!0;break e}c=c.return}if(dt===null)throw Error(j(160));Kw(u,a,l),dt=null,Bn=!1;var d=l.alternate;d!==null&&(d.return=null),l.return=null}catch(p){Ge(l,t,p)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Vw(t,e),t=t.sibling}function Vw(e,t){var n=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Ln(t,e),jn(e),i&4){try{Yl(3,e,e.return),nc(3,e)}catch(C){Ge(e,e.return,C)}try{Yl(5,e,e.return)}catch(C){Ge(e,e.return,C)}}break;case 1:Ln(t,e),jn(e),i&512&&n!==null&&So(n,n.return);break;case 5:if(Ln(t,e),jn(e),i&512&&n!==null&&So(n,n.return),e.flags&32){var l=e.stateNode;try{nu(l,"")}catch(C){Ge(e,e.return,C)}}if(i&4&&(l=e.stateNode,l!=null)){var u=e.memoizedProps,a=n!==null?n.memoizedProps:u,c=e.type,d=e.updateQueue;if(e.updateQueue=null,d!==null)try{c==="input"&&u.type==="radio"&&u.name!=null&&py(l,u),Vd(c,a);var p=Vd(c,u);for(a=0;a<d.length;a+=2){var g=d[a],y=d[a+1];g==="style"?yy(l,y):g==="dangerouslySetInnerHTML"?gy(l,y):g==="children"?nu(l,y):th(l,g,y,p)}switch(c){case"input":Ud(l,u);break;case"textarea":hy(l,u);break;case"select":var S=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!u.multiple;var R=u.value;R!=null?Eo(l,!!u.multiple,R,!1):S!==!!u.multiple&&(u.defaultValue!=null?Eo(l,!!u.multiple,u.defaultValue,!0):Eo(l,!!u.multiple,u.multiple?[]:"",!1))}l[fu]=u}catch(C){Ge(e,e.return,C)}}break;case 6:if(Ln(t,e),jn(e),i&4){if(e.stateNode===null)throw Error(j(162));l=e.stateNode,u=e.memoizedProps;try{l.nodeValue=u}catch(C){Ge(e,e.return,C)}}break;case 3:if(Ln(t,e),jn(e),i&4&&n!==null&&n.memoizedState.isDehydrated)try{lu(t.containerInfo)}catch(C){Ge(e,e.return,C)}break;case 4:Ln(t,e),jn(e);break;case 13:Ln(t,e),jn(e),l=e.child,l.flags&8192&&(u=l.memoizedState!==null,l.stateNode.isHidden=u,!u||l.alternate!==null&&l.alternate.memoizedState!==null||(Bh=Xe())),i&4&&G1(e);break;case 22:if(g=n!==null&&n.memoizedState!==null,e.mode&1?(_t=(p=_t)||g,Ln(t,e),_t=p):Ln(t,e),jn(e),i&8192){if(p=e.memoizedState!==null,(e.stateNode.isHidden=p)&&!g&&e.mode&1)for(q=e,g=e.child;g!==null;){for(y=q=g;q!==null;){switch(S=q,R=S.child,S.tag){case 0:case 11:case 14:case 15:Yl(4,S,S.return);break;case 1:So(S,S.return);var P=S.stateNode;if(typeof P.componentWillUnmount=="function"){i=S,n=S.return;try{t=i,P.props=t.memoizedProps,P.state=t.memoizedState,P.componentWillUnmount()}catch(C){Ge(i,n,C)}}break;case 5:So(S,S.return);break;case 22:if(S.memoizedState!==null){Y1(y);continue}}R!==null?(R.return=S,q=R):Y1(y)}g=g.sibling}e:for(g=null,y=e;;){if(y.tag===5){if(g===null){g=y;try{l=y.stateNode,p?(u=l.style,typeof u.setProperty=="function"?u.setProperty("display","none","important"):u.display="none"):(c=y.stateNode,d=y.memoizedProps.style,a=d!=null&&d.hasOwnProperty("display")?d.display:null,c.style.display=vy("display",a))}catch(C){Ge(e,e.return,C)}}}else if(y.tag===6){if(g===null)try{y.stateNode.nodeValue=p?"":y.memoizedProps}catch(C){Ge(e,e.return,C)}}else if((y.tag!==22&&y.tag!==23||y.memoizedState===null||y===e)&&y.child!==null){y.child.return=y,y=y.child;continue}if(y===e)break e;for(;y.sibling===null;){if(y.return===null||y.return===e)break e;g===y&&(g=null),y=y.return}g===y&&(g=null),y.sibling.return=y.return,y=y.sibling}}break;case 19:Ln(t,e),jn(e),i&4&&G1(e);break;case 21:break;default:Ln(t,e),jn(e)}}function jn(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(jw(n)){var i=n;break e}n=n.return}throw Error(j(160))}switch(i.tag){case 5:var l=i.stateNode;i.flags&32&&(nu(l,""),i.flags&=-33);var u=V1(e);Ep(e,u,l);break;case 3:case 4:var a=i.stateNode.containerInfo,c=V1(e);_p(e,c,a);break;default:throw Error(j(161))}}catch(d){Ge(e,e.return,d)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function AR(e,t,n){q=e,Gw(e)}function Gw(e,t,n){for(var i=(e.mode&1)!==0;q!==null;){var l=q,u=l.child;if(l.tag===22&&i){var a=l.memoizedState!==null||Ks;if(!a){var c=l.alternate,d=c!==null&&c.memoizedState!==null||_t;c=Ks;var p=_t;if(Ks=a,(_t=d)&&!p)for(q=l;q!==null;)a=q,d=a.child,a.tag===22&&a.memoizedState!==null?X1(l):d!==null?(d.return=a,q=d):X1(l);for(;u!==null;)q=u,Gw(u),u=u.sibling;q=l,Ks=c,_t=p}Q1(e)}else l.subtreeFlags&8772&&u!==null?(u.return=l,q=u):Q1(e)}}function Q1(e){for(;q!==null;){var t=q;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:_t||nc(5,t);break;case 1:var i=t.stateNode;if(t.flags&4&&!_t)if(n===null)i.componentDidMount();else{var l=t.elementType===t.type?n.memoizedProps:Nn(t.type,n.memoizedProps);i.componentDidUpdate(l,n.memoizedState,i.__reactInternalSnapshotBeforeUpdate)}var u=t.updateQueue;u!==null&&I1(t,u,i);break;case 3:var a=t.updateQueue;if(a!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}I1(t,a,n)}break;case 5:var c=t.stateNode;if(n===null&&t.flags&4){n=c;var d=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":d.autoFocus&&n.focus();break;case"img":d.src&&(n.src=d.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var p=t.alternate;if(p!==null){var g=p.memoizedState;if(g!==null){var y=g.dehydrated;y!==null&&lu(y)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(j(163))}_t||t.flags&512&&Sp(t)}catch(S){Ge(t,t.return,S)}}if(t===e){q=null;break}if(n=t.sibling,n!==null){n.return=t.return,q=n;break}q=t.return}}function Y1(e){for(;q!==null;){var t=q;if(t===e){q=null;break}var n=t.sibling;if(n!==null){n.return=t.return,q=n;break}q=t.return}}function X1(e){for(;q!==null;){var t=q;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{nc(4,t)}catch(d){Ge(t,n,d)}break;case 1:var i=t.stateNode;if(typeof i.componentDidMount=="function"){var l=t.return;try{i.componentDidMount()}catch(d){Ge(t,l,d)}}var u=t.return;try{Sp(t)}catch(d){Ge(t,u,d)}break;case 5:var a=t.return;try{Sp(t)}catch(d){Ge(t,a,d)}}}catch(d){Ge(t,t.return,d)}if(t===e){q=null;break}var c=t.sibling;if(c!==null){c.return=t.return,q=c;break}q=t.return}}var IR=Math.ceil,Fa=Cr.ReactCurrentDispatcher,Lh=Cr.ReactCurrentOwner,Sn=Cr.ReactCurrentBatchConfig,ge=0,st=null,Je=null,ht=0,qt=0,_o=ui(0),it=0,vu=null,Ni=0,rc=0,Nh=0,Xl=null,Dt=null,Bh=0,$o=1/0,dr=null,Ma=!1,xp=null,qr=null,Vs=!1,Hr=null,Da=0,ql=0,Cp=null,ua=-1,sa=0;function Rt(){return ge&6?Xe():ua!==-1?ua:ua=Xe()}function Zr(e){return e.mode&1?ge&2&&ht!==0?ht&-ht:hR.transition!==null?(sa===0&&(sa=Ay()),sa):(e=Pe,e!==0||(e=window.event,e=e===void 0?16:My(e.type)),e):1}function Mn(e,t,n,i){if(50<ql)throw ql=0,Cp=null,Error(j(185));Cu(e,n,i),(!(ge&2)||e!==st)&&(e===st&&(!(ge&2)&&(rc|=n),it===4&&Ur(e,ht)),Wt(e,i),n===1&&ge===0&&!(t.mode&1)&&($o=Xe()+500,Ja&&si()))}function Wt(e,t){var n=e.callbackNode;hP(e,t);var i=_a(e,e===st?ht:0);if(i===0)n!==null&&o1(n),e.callbackNode=null,e.callbackPriority=0;else if(t=i&-i,e.callbackPriority!==t){if(n!=null&&o1(n),t===1)e.tag===0?pR(q1.bind(null,e)):nw(q1.bind(null,e)),aR(function(){!(ge&6)&&si()}),n=null;else{switch(Iy(i)){case 1:n=lh;break;case 4:n=Oy;break;case 16:n=Sa;break;case 536870912:n=Ty;break;default:n=Sa}n=tS(n,Qw.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Qw(e,t){if(ua=-1,sa=0,ge&6)throw Error(j(327));var n=e.callbackNode;if(Ro()&&e.callbackNode!==n)return null;var i=_a(e,e===st?ht:0);if(i===0)return null;if(i&30||i&e.expiredLanes||t)t=$a(e,i);else{t=i;var l=ge;ge|=2;var u=Xw();(st!==e||ht!==t)&&(dr=null,$o=Xe()+500,Ri(e,t));do try{BR();break}catch(c){Yw(e,c)}while(1);wh(),Fa.current=u,ge=l,Je!==null?t=0:(st=null,ht=0,t=it)}if(t!==0){if(t===2&&(l=qd(e),l!==0&&(i=l,t=kp(e,l))),t===1)throw n=vu,Ri(e,0),Ur(e,i),Wt(e,Xe()),n;if(t===6)Ur(e,i);else{if(l=e.current.alternate,!(i&30)&&!LR(l)&&(t=$a(e,i),t===2&&(u=qd(e),u!==0&&(i=u,t=kp(e,u))),t===1))throw n=vu,Ri(e,0),Ur(e,i),Wt(e,Xe()),n;switch(e.finishedWork=l,e.finishedLanes=i,t){case 0:case 1:throw Error(j(345));case 2:_i(e,Dt,dr);break;case 3:if(Ur(e,i),(i&130023424)===i&&(t=Bh+500-Xe(),10<t)){if(_a(e,0)!==0)break;if(l=e.suspendedLanes,(l&i)!==i){Rt(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=op(_i.bind(null,e,Dt,dr),t);break}_i(e,Dt,dr);break;case 4:if(Ur(e,i),(i&4194240)===i)break;for(t=e.eventTimes,l=-1;0<i;){var a=31-Fn(i);u=1<<a,a=t[a],a>l&&(l=a),i&=~u}if(i=l,i=Xe()-i,i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*IR(i/1960))-i,10<i){e.timeoutHandle=op(_i.bind(null,e,Dt,dr),i);break}_i(e,Dt,dr);break;case 5:_i(e,Dt,dr);break;default:throw Error(j(329))}}}return Wt(e,Xe()),e.callbackNode===n?Qw.bind(null,e):null}function kp(e,t){var n=Xl;return e.current.memoizedState.isDehydrated&&(Ri(e,t).flags|=256),e=$a(e,t),e!==2&&(t=Dt,Dt=n,t!==null&&Pp(t)),e}function Pp(e){Dt===null?Dt=e:Dt.push.apply(Dt,e)}function LR(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var i=0;i<n.length;i++){var l=n[i],u=l.getSnapshot;l=l.value;try{if(!Dn(u(),l))return!1}catch(a){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 Ur(e,t){for(t&=~Nh,t&=~rc,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Fn(t),i=1<<n;e[n]=-1,t&=~i}}function q1(e){if(ge&6)throw Error(j(327));Ro();var t=_a(e,0);if(!(t&1))return Wt(e,Xe()),null;var n=$a(e,t);if(e.tag!==0&&n===2){var i=qd(e);i!==0&&(t=i,n=kp(e,i))}if(n===1)throw n=vu,Ri(e,0),Ur(e,t),Wt(e,Xe()),n;if(n===6)throw Error(j(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,_i(e,Dt,dr),Wt(e,Xe()),null}function bh(e,t){var n=ge;ge|=1;try{return e(t)}finally{ge=n,ge===0&&($o=Xe()+500,Ja&&si())}}function Bi(e){Hr!==null&&Hr.tag===0&&!(ge&6)&&Ro();var t=ge;ge|=1;var n=Sn.transition,i=Pe;try{if(Sn.transition=null,Pe=1,e)return e()}finally{Pe=i,Sn.transition=n,ge=t,!(ge&6)&&si()}}function Fh(){qt=_o.current,Be(_o)}function Ri(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,sR(n)),Je!==null)for(n=Je.return;n!==null;){var i=n;switch(gh(i),i.tag){case 1:i=i.type.childContextTypes,i!=null&&Pa();break;case 3:Mo(),Be(zt),Be(Et),kh();break;case 5:Ch(i);break;case 4:Mo();break;case 13:Be(ze);break;case 19:Be(ze);break;case 10:Sh(i.type._context);break;case 22:case 23:Fh()}n=n.return}if(st=e,Je=e=Jr(e.current,null),ht=qt=t,it=0,vu=null,Nh=rc=Ni=0,Dt=Xl=null,Ci!==null){for(t=0;t<Ci.length;t++)if(n=Ci[t],i=n.interleaved,i!==null){n.interleaved=null;var l=i.next,u=n.pending;if(u!==null){var a=u.next;u.next=l,i.next=a}n.pending=i}Ci=null}return e}function Yw(e,t){do{var n=Je;try{if(wh(),ia.current=ba,Ba){for(var i=Ue.memoizedState;i!==null;){var l=i.queue;l!==null&&(l.pending=null),i=i.next}Ba=!1}if(Li=0,ut=rt=Ue=null,Ql=!1,hu=0,Lh.current=null,n===null||n.return===null){it=1,vu=t,Je=null;break}e:{var u=e,a=n.return,c=n,d=t;if(t=ht,c.flags|=32768,d!==null&&typeof d=="object"&&typeof d.then=="function"){var p=d,g=c,y=g.tag;if(!(g.mode&1)&&(y===0||y===11||y===15)){var S=g.alternate;S?(g.updateQueue=S.updateQueue,g.memoizedState=S.memoizedState,g.lanes=S.lanes):(g.updateQueue=null,g.memoizedState=null)}var R=D1(a);if(R!==null){R.flags&=-257,$1(R,a,c,u,t),R.mode&1&&M1(u,p,t),t=R,d=p;var P=t.updateQueue;if(P===null){var C=new Set;C.add(d),t.updateQueue=C}else P.add(d);break e}else{if(!(t&1)){M1(u,p,t),Mh();break e}d=Error(j(426))}}else if(De&&c.mode&1){var L=D1(a);if(L!==null){!(L.flags&65536)&&(L.flags|=256),$1(L,a,c,u,t),vh(Do(d,c));break e}}u=d=Do(d,c),it!==4&&(it=2),Xl===null?Xl=[u]:Xl.push(u),u=a;do{switch(u.tag){case 3:u.flags|=65536,t&=-t,u.lanes|=t;var _=Lw(u,d,t);A1(u,_);break e;case 1:c=d;var E=u.type,x=u.stateNode;if(!(u.flags&128)&&(typeof E.getDerivedStateFromError=="function"||x!==null&&typeof x.componentDidCatch=="function"&&(qr===null||!qr.has(x)))){u.flags|=65536,t&=-t,u.lanes|=t;var T=Nw(u,c,t);A1(u,T);break e}}u=u.return}while(u!==null)}Zw(n)}catch(B){t=B,Je===n&&n!==null&&(Je=n=n.return);continue}break}while(1)}function Xw(){var e=Fa.current;return Fa.current=ba,e===null?ba:e}function Mh(){(it===0||it===3||it===2)&&(it=4),st===null||!(Ni&268435455)&&!(rc&268435455)||Ur(st,ht)}function $a(e,t){var n=ge;ge|=2;var i=Xw();(st!==e||ht!==t)&&(dr=null,Ri(e,t));do try{NR();break}catch(l){Yw(e,l)}while(1);if(wh(),ge=n,Fa.current=i,Je!==null)throw Error(j(261));return st=null,ht=0,it}function NR(){for(;Je!==null;)qw(Je)}function BR(){for(;Je!==null&&!oP();)qw(Je)}function qw(e){var t=eS(e.alternate,e,qt);e.memoizedProps=e.pendingProps,t===null?Zw(e):Je=t,Lh.current=null}function Zw(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=RR(n,t),n!==null){n.flags&=32767,Je=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{it=6,Je=null;return}}else if(n=PR(n,t,qt),n!==null){Je=n;return}if(t=t.sibling,t!==null){Je=t;return}Je=t=e}while(t!==null);it===0&&(it=5)}function _i(e,t,n){var i=Pe,l=Sn.transition;try{Sn.transition=null,Pe=1,bR(e,t,n,i)}finally{Sn.transition=l,Pe=i}return null}function bR(e,t,n,i){do Ro();while(Hr!==null);if(ge&6)throw Error(j(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(j(177));e.callbackNode=null,e.callbackPriority=0;var u=n.lanes|n.childLanes;if(mP(e,u),e===st&&(Je=st=null,ht=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Vs||(Vs=!0,tS(Sa,function(){return Ro(),null})),u=(n.flags&15990)!==0,n.subtreeFlags&15990||u){u=Sn.transition,Sn.transition=null;var a=Pe;Pe=1;var c=ge;ge|=4,Lh.current=null,TR(e,n),Vw(n,e),tR(rp),Ea=!!np,rp=np=null,e.current=n,AR(n),lP(),ge=c,Pe=a,Sn.transition=u}else e.current=n;if(Vs&&(Vs=!1,Hr=e,Da=l),u=e.pendingLanes,u===0&&(qr=null),aP(n.stateNode),Wt(e,Xe()),t!==null)for(i=e.onRecoverableError,n=0;n<t.length;n++)l=t[n],i(l.value,{componentStack:l.stack,digest:l.digest});if(Ma)throw Ma=!1,e=xp,xp=null,e;return Da&1&&e.tag!==0&&Ro(),u=e.pendingLanes,u&1?e===Cp?ql++:(ql=0,Cp=e):ql=0,si(),null}function Ro(){if(Hr!==null){var e=Iy(Da),t=Sn.transition,n=Pe;try{if(Sn.transition=null,Pe=16>e?16:e,Hr===null)var i=!1;else{if(e=Hr,Hr=null,Da=0,ge&6)throw Error(j(331));var l=ge;for(ge|=4,q=e.current;q!==null;){var u=q,a=u.child;if(q.flags&16){var c=u.deletions;if(c!==null){for(var d=0;d<c.length;d++){var p=c[d];for(q=p;q!==null;){var g=q;switch(g.tag){case 0:case 11:case 15:Yl(8,g,u)}var y=g.child;if(y!==null)y.return=g,q=y;else for(;q!==null;){g=q;var S=g.sibling,R=g.return;if(Hw(g),g===p){q=null;break}if(S!==null){S.return=R,q=S;break}q=R}}}var P=u.alternate;if(P!==null){var C=P.child;if(C!==null){P.child=null;do{var L=C.sibling;C.sibling=null,C=L}while(C!==null)}}q=u}}if(u.subtreeFlags&2064&&a!==null)a.return=u,q=a;else e:for(;q!==null;){if(u=q,u.flags&2048)switch(u.tag){case 0:case 11:case 15:Yl(9,u,u.return)}var _=u.sibling;if(_!==null){_.return=u.return,q=_;break e}q=u.return}}var E=e.current;for(q=E;q!==null;){a=q;var x=a.child;if(a.subtreeFlags&2064&&x!==null)x.return=a,q=x;else e:for(a=E;q!==null;){if(c=q,c.flags&2048)try{switch(c.tag){case 0:case 11:case 15:nc(9,c)}}catch(B){Ge(c,c.return,B)}if(c===a){q=null;break e}var T=c.sibling;if(T!==null){T.return=c.return,q=T;break e}q=c.return}}if(ge=l,si(),Xn&&typeof Xn.onPostCommitFiberRoot=="function")try{Xn.onPostCommitFiberRoot(Qa,e)}catch(B){}i=!0}return i}finally{Pe=n,Sn.transition=t}}return!1}function Z1(e,t,n){t=Do(n,t),t=Lw(e,t,1),e=Xr(e,t,1),t=Rt(),e!==null&&(Cu(e,1,t),Wt(e,t))}function Ge(e,t,n){if(e.tag===3)Z1(e,e,n);else for(;t!==null;){if(t.tag===3){Z1(t,e,n);break}else if(t.tag===1){var i=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(qr===null||!qr.has(i))){e=Do(n,e),e=Nw(t,e,1),t=Xr(t,e,1),e=Rt(),t!==null&&(Cu(t,1,e),Wt(t,e));break}}t=t.return}}function FR(e,t,n){var i=e.pingCache;i!==null&&i.delete(t),t=Rt(),e.pingedLanes|=e.suspendedLanes&n,st===e&&(ht&n)===n&&(it===4||it===3&&(ht&130023424)===ht&&500>Xe()-Bh?Ri(e,0):Nh|=n),Wt(e,t)}function Jw(e,t){t===0&&(e.mode&1?(t=Fs,Fs<<=1,!(Fs&130023424)&&(Fs=4194304)):t=1);var n=Rt();e=_r(e,t),e!==null&&(Cu(e,t,n),Wt(e,n))}function MR(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Jw(e,n)}function DR(e,t){var n=0;switch(e.tag){case 13:var i=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:i=e.stateNode;break;default:throw Error(j(314))}i!==null&&i.delete(t),Jw(e,n)}var eS;eS=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||zt.current)$t=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return $t=!1,kR(e,t,n);$t=!!(e.flags&131072)}else $t=!1,De&&t.flags&1048576&&rw(t,Ta,t.index);switch(t.lanes=0,t.tag){case 2:var i=t.type;la(e,t),e=t.pendingProps;var l=Bo(t,Et.current);Po(t,n),l=Rh(null,t,i,e,l,n);var u=Oh();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,Ut(i)?(u=!0,Ra(t)):u=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Eh(t),l.updater=ec,t.stateNode=l,l._reactInternals=t,dp(t,i,e,n),t=mp(null,t,i,!0,u,n)):(t.tag=0,De&&u&&mh(t),Pt(null,t,l,n),t=t.child),t;case 16:i=t.elementType;e:{switch(la(e,t),e=t.pendingProps,l=i._init,i=l(i._payload),t.type=i,l=t.tag=zR(i),e=Nn(i,e),l){case 0:t=hp(null,t,i,e,n);break e;case 1:t=W1(null,t,i,e,n);break e;case 11:t=z1(null,t,i,e,n);break e;case 14:t=U1(null,t,i,Nn(i.type,e),n);break e}throw Error(j(306,i,""))}return t;case 0:return i=t.type,l=t.pendingProps,l=t.elementType===i?l:Nn(i,l),hp(e,t,i,l,n);case 1:return i=t.type,l=t.pendingProps,l=t.elementType===i?l:Nn(i,l),W1(e,t,i,l,n);case 3:e:{if(Mw(t),e===null)throw Error(j(387));i=t.pendingProps,u=t.memoizedState,l=u.element,uw(e,t),La(t,i,null,n);var a=t.memoizedState;if(i=a.element,u.isDehydrated)if(u={element:i,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){l=Do(Error(j(423)),t),t=H1(e,t,i,n,l);break e}else if(i!==l){l=Do(Error(j(424)),t),t=H1(e,t,i,n,l);break e}else for(en=Yr(t.stateNode.containerInfo.firstChild),tn=t,De=!0,bn=null,n=fw(t,null,i,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(bo(),i===l){t=Er(e,t,n);break e}Pt(e,t,i,n)}t=t.child}return t;case 5:return dw(t),e===null&&ap(t),i=t.type,l=t.pendingProps,u=e!==null?e.memoizedProps:null,a=l.children,ip(i,l)?a=null:u!==null&&ip(i,u)&&(t.flags|=32),Fw(e,t),Pt(e,t,a,n),t.child;case 6:return e===null&&ap(t),null;case 13:return Dw(e,t,n);case 4:return xh(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=Fo(t,null,i,n):Pt(e,t,i,n),t.child;case 11:return i=t.type,l=t.pendingProps,l=t.elementType===i?l:Nn(i,l),z1(e,t,i,l,n);case 7:return Pt(e,t,t.pendingProps,n),t.child;case 8:return Pt(e,t,t.pendingProps.children,n),t.child;case 12:return Pt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(i=t.type._context,l=t.pendingProps,u=t.memoizedProps,a=l.value,Ie(Aa,i._currentValue),i._currentValue=a,u!==null)if(Dn(u.value,a)){if(u.children===l.children&&!zt.current){t=Er(e,t,n);break e}}else for(u=t.child,u!==null&&(u.return=t);u!==null;){var c=u.dependencies;if(c!==null){a=u.child;for(var d=c.firstContext;d!==null;){if(d.context===i){if(u.tag===1){d=gr(-1,n&-n),d.tag=2;var p=u.updateQueue;if(p!==null){p=p.shared;var g=p.pending;g===null?d.next=d:(d.next=g.next,g.next=d),p.pending=d}}u.lanes|=n,d=u.alternate,d!==null&&(d.lanes|=n),cp(u.return,n,t),c.lanes|=n;break}d=d.next}}else if(u.tag===10)a=u.type===t.type?null:u.child;else if(u.tag===18){if(a=u.return,a===null)throw Error(j(341));a.lanes|=n,c=a.alternate,c!==null&&(c.lanes|=n),cp(a,n,t),a=u.sibling}else a=u.child;if(a!==null)a.return=u;else for(a=u;a!==null;){if(a===t){a=null;break}if(u=a.sibling,u!==null){u.return=a.return,a=u;break}a=a.return}u=a}Pt(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,i=t.pendingProps.children,Po(t,n),l=_n(l),i=i(l),t.flags|=1,Pt(e,t,i,n),t.child;case 14:return i=t.type,l=Nn(i,t.pendingProps),l=Nn(i.type,l),U1(e,t,i,l,n);case 15:return Bw(e,t,t.type,t.pendingProps,n);case 17:return i=t.type,l=t.pendingProps,l=t.elementType===i?l:Nn(i,l),la(e,t),t.tag=1,Ut(i)?(e=!0,Ra(t)):e=!1,Po(t,n),aw(t,i,l),dp(t,i,l,n),mp(null,t,i,!0,e,n);case 19:return $w(e,t,n);case 22:return bw(e,t,n)}throw Error(j(156,t.tag))};function tS(e,t){return Ry(e,t)}function $R(e,t,n,i){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=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function wn(e,t,n,i){return new $R(e,t,n,i)}function Dh(e){return e=e.prototype,!(!e||!e.isReactComponent)}function zR(e){if(typeof e=="function")return Dh(e)?1:0;if(e!=null){if(e=e.$$typeof,e===rh)return 11;if(e===ih)return 14}return 2}function Jr(e,t){var n=e.alternate;return n===null?(n=wn(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 aa(e,t,n,i,l,u){var a=2;if(i=e,typeof e=="function")Dh(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case co:return Oi(n.children,l,u,t);case nh:a=8,l|=8;break;case Fd:return e=wn(12,n,t,l|2),e.elementType=Fd,e.lanes=u,e;case Md:return e=wn(13,n,t,l),e.elementType=Md,e.lanes=u,e;case Dd:return e=wn(19,n,t,l),e.elementType=Dd,e.lanes=u,e;case cy:return ic(n,l,u,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case sy:a=10;break e;case ay:a=9;break e;case rh:a=11;break e;case ih:a=14;break e;case Mr:a=16,i=null;break e}throw Error(j(130,e==null?e:typeof e,""))}return t=wn(a,n,t,l),t.elementType=e,t.type=i,t.lanes=u,t}function Oi(e,t,n,i){return e=wn(7,e,i,t),e.lanes=n,e}function ic(e,t,n,i){return e=wn(22,e,i,t),e.elementType=cy,e.lanes=n,e.stateNode={isHidden:!1},e}function xd(e,t,n){return e=wn(6,e,null,t),e.lanes=n,e}function Cd(e,t,n){return t=wn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function UR(e,t,n,i,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=id(0),this.expirationTimes=id(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=id(0),this.identifierPrefix=i,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function $h(e,t,n,i,l,u,a,c,d){return e=new UR(e,t,n,c,d),t===1?(t=1,u===!0&&(t|=8)):t=0,u=wn(3,null,null,t),e.current=u,u.stateNode=e,u.memoizedState={element:i,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Eh(u),e}function WR(e,t,n){var i=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ao,key:i==null?null:""+i,children:e,containerInfo:t,implementation:n}}function nS(e){if(!e)return oi;e=e._reactInternals;e:{if(Mi(e)!==e||e.tag!==1)throw Error(j(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ut(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(j(171))}if(e.tag===1){var n=e.type;if(Ut(n))return tw(e,n,t)}return t}function rS(e,t,n,i,l,u,a,c,d){return e=$h(n,i,!0,e,l,u,a,c,d),e.context=nS(null),n=e.current,i=Rt(),l=Zr(n),u=gr(i,l),u.callback=t!=null?t:null,Xr(n,u,l),e.current.lanes=l,Cu(e,l,i),Wt(e,i),e}function oc(e,t,n,i){var l=t.current,u=Rt(),a=Zr(l);return n=nS(n),t.context===null?t.context=n:t.pendingContext=n,t=gr(u,a),t.payload={element:e},i=i===void 0?null:i,i!==null&&(t.callback=i),e=Xr(l,t,a),e!==null&&(Mn(e,l,a,u),ra(e,l,a)),a}function za(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 J1(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function zh(e,t){J1(e,t),(e=e.alternate)&&J1(e,t)}function HR(){return null}var iS=typeof reportError=="function"?reportError:function(e){console.error(e)};function Uh(e){this._internalRoot=e}lc.prototype.render=Uh.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(j(409));oc(e,t,null,null)};lc.prototype.unmount=Uh.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Bi(function(){oc(null,e,null,null)}),t[Sr]=null}};function lc(e){this._internalRoot=e}lc.prototype.unstable_scheduleHydration=function(e){if(e){var t=By();e={blockedOn:null,target:e,priority:t};for(var n=0;n<zr.length&&t!==0&&t<zr[n].priority;n++);zr.splice(n,0,e),n===0&&Fy(e)}};function Wh(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function uc(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function ev(){}function jR(e,t,n,i,l){if(l){if(typeof i=="function"){var u=i;i=function(){var p=za(a);u.call(p)}}var a=rS(t,i,e,0,null,!1,!1,"",ev);return e._reactRootContainer=a,e[Sr]=a.current,au(e.nodeType===8?e.parentNode:e),Bi(),a}for(;l=e.lastChild;)e.removeChild(l);if(typeof i=="function"){var c=i;i=function(){var p=za(d);c.call(p)}}var d=$h(e,0,!1,null,null,!1,!1,"",ev);return e._reactRootContainer=d,e[Sr]=d.current,au(e.nodeType===8?e.parentNode:e),Bi(function(){oc(t,d,n,i)}),d}function sc(e,t,n,i,l){var u=n._reactRootContainer;if(u){var a=u;if(typeof l=="function"){var c=l;l=function(){var d=za(a);c.call(d)}}oc(t,a,e,l)}else a=jR(n,t,e,l,i);return za(a)}Ly=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=$l(t.pendingLanes);n!==0&&(uh(t,n|1),Wt(t,Xe()),!(ge&6)&&($o=Xe()+500,si()))}break;case 13:Bi(function(){var i=_r(e,1);if(i!==null){var l=Rt();Mn(i,e,1,l)}}),zh(e,1)}};sh=function(e){if(e.tag===13){var t=_r(e,134217728);if(t!==null){var n=Rt();Mn(t,e,134217728,n)}zh(e,134217728)}};Ny=function(e){if(e.tag===13){var t=Zr(e),n=_r(e,t);if(n!==null){var i=Rt();Mn(n,e,t,i)}zh(e,t)}};By=function(){return Pe};by=function(e,t){var n=Pe;try{return Pe=e,t()}finally{Pe=n}};Qd=function(e,t,n){switch(t){case"input":if(Ud(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 i=n[t];if(i!==e&&i.form===e.form){var l=Za(i);if(!l)throw Error(j(90));dy(i),Ud(i,l)}}}break;case"textarea":hy(e,n);break;case"select":t=n.value,t!=null&&Eo(e,!!n.multiple,t,!1)}};_y=bh;Ey=Bi;var KR={usingClientEntryPoint:!1,Events:[Pu,mo,Za,wy,Sy,bh]},Ll={findFiberByHostInstance:xi,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},VR={bundleType:Ll.bundleType,version:Ll.version,rendererPackageName:Ll.rendererPackageName,rendererConfig:Ll.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Cr.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=ky(e),e===null?null:e.stateNode},findFiberByHostInstance:Ll.findFiberByHostInstance||HR,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var Gs=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Gs.isDisabled&&Gs.supportsFiber)try{Qa=Gs.inject(VR),Xn=Gs}catch(e){}}on.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=KR;on.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Wh(t))throw Error(j(200));return WR(e,t,null,n)};on.createRoot=function(e,t){if(!Wh(e))throw Error(j(299));var n=!1,i="",l=iS;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onRecoverableError!==void 0&&(l=t.onRecoverableError)),t=$h(e,1,!1,null,null,n,!1,i,l),e[Sr]=t.current,au(e.nodeType===8?e.parentNode:e),new Uh(t)};on.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(j(188)):(e=Object.keys(e).join(","),Error(j(268,e)));return e=ky(t),e=e===null?null:e.stateNode,e};on.flushSync=function(e){return Bi(e)};on.hydrate=function(e,t,n){if(!uc(t))throw Error(j(200));return sc(null,e,t,!0,n)};on.hydrateRoot=function(e,t,n){if(!Wh(e))throw Error(j(405));var i=n!=null&&n.hydratedSources||null,l=!1,u="",a=iS;if(n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(u=n.identifierPrefix),n.onRecoverableError!==void 0&&(a=n.onRecoverableError)),t=rS(t,null,e,1,n!=null?n:null,l,!1,u,a),e[Sr]=t.current,au(e),i)for(e=0;e<i.length;e++)n=i[e],l=n._getVersion,l=l(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,l]:t.mutableSourceEagerHydrationData.push(n,l);return new lc(t)};on.render=function(e,t,n){if(!uc(t))throw Error(j(200));return sc(null,e,t,!1,n)};on.unmountComponentAtNode=function(e){if(!uc(e))throw Error(j(40));return e._reactRootContainer?(Bi(function(){sc(null,null,e,!1,function(){e._reactRootContainer=null,e[Sr]=null})}),!0):!1};on.unstable_batchedUpdates=bh;on.unstable_renderSubtreeIntoContainer=function(e,t,n,i){if(!uc(n))throw Error(j(200));if(e==null||e._reactInternals===void 0)throw Error(j(38));return sc(e,t,n,!1,i)};on.version="18.2.0-next-9e3b772b8-20220608";function oS(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(oS)}catch(e){console.error(e)}}oS(),ry.exports=on;var GR=ry.exports,lS,tv=GR;lS=tv.createRoot,tv.hydrateRoot;const QR="modulepreload",YR=function(e){return"/"+e},nv={},XR=function(t,n,i){if(!n||n.length===0)return t();const l=document.getElementsByTagName("link");return Promise.all(n.map(u=>{if(u=YR(u),u in nv)return;nv[u]=!0;const a=u.endsWith(".css"),c=a?'[rel="stylesheet"]':"";if(!!i)for(let g=l.length-1;g>=0;g--){const y=l[g];if(y.href===u&&(!a||y.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${c}`))return;const p=document.createElement("link");if(p.rel=a?"stylesheet":QR,a||(p.as="script",p.crossOrigin=""),p.href=u,document.head.appendChild(p),a)return new Promise((g,y)=>{p.addEventListener("load",g),p.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${u}`)))})})).then(()=>t())};var Qv;if(!((Qv=window.crypto)!=null&&Qv.subtle)){let t;console.debug("poly subtle");const e={digest(n,i){return Fe(this,null,function*(){if(n!=="SHA-512")return alert(n+" required but not supported");const u=(yield XR(()=>import("./sha512-4c1cbf45.js").then(a=>a.s),[])).default.arrayBuffer;return u(i)})}};window.crypto||(window.crypto={subtle:e}),crypto.subtle||(crypto.subtle=e)}/**
|
|
33
|
+
* @remix-run/router v1.5.0
|
|
34
|
+
*
|
|
35
|
+
* Copyright (c) Remix Software Inc.
|
|
36
|
+
*
|
|
37
|
+
* This source code is licensed under the MIT license found in the
|
|
38
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
39
|
+
*
|
|
40
|
+
* @license MIT
|
|
41
|
+
*/function yu(){return yu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},yu.apply(this,arguments)}var jr;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(jr||(jr={}));const rv="popstate";function qR(e){e===void 0&&(e={});function t(i,l){let{pathname:u,search:a,hash:c}=i.location;return Rp("",{pathname:u,search:a,hash:c},l.state&&l.state.usr||null,l.state&&l.state.key||"default")}function n(i,l){return typeof l=="string"?l:Ua(l)}return JR(t,n,null,e)}function ot(e,t){if(e===!1||e===null||typeof e=="undefined")throw new Error(t)}function Hh(e,t){if(!e){typeof console!="undefined"&&console.warn(t);try{throw new Error(t)}catch(n){}}}function ZR(){return Math.random().toString(36).substr(2,8)}function iv(e,t){return{usr:e.state,key:e.key,idx:t}}function Rp(e,t,n,i){return n===void 0&&(n=null),yu({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?el(t):t,{state:n,key:t&&t.key||i||ZR()})}function Ua(e){let{pathname:t="/",search:n="",hash:i=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),i&&i!=="#"&&(t+=i.charAt(0)==="#"?i:"#"+i),t}function el(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let i=e.indexOf("?");i>=0&&(t.search=e.substr(i),e=e.substr(0,i)),e&&(t.pathname=e)}return t}function JR(e,t,n,i){i===void 0&&(i={});let{window:l=document.defaultView,v5Compat:u=!1}=i,a=l.history,c=jr.Pop,d=null,p=g();p==null&&(p=0,a.replaceState(yu({},a.state,{idx:p}),""));function g(){return(a.state||{idx:null}).idx}function y(){c=jr.Pop;let L=g(),_=L==null?null:L-p;p=L,d&&d({action:c,location:C.location,delta:_})}function S(L,_){c=jr.Push;let E=Rp(C.location,L,_);n&&n(E,L),p=g()+1;let x=iv(E,p),T=C.createHref(E);try{a.pushState(x,"",T)}catch(B){l.location.assign(T)}u&&d&&d({action:c,location:C.location,delta:1})}function R(L,_){c=jr.Replace;let E=Rp(C.location,L,_);n&&n(E,L),p=g();let x=iv(E,p),T=C.createHref(E);a.replaceState(x,"",T),u&&d&&d({action:c,location:C.location,delta:0})}function P(L){let _=l.location.origin!=="null"?l.location.origin:l.location.href,E=typeof L=="string"?L:Ua(L);return ot(_,"No window.location.(origin|href) available to create URL for href: "+E),new URL(E,_)}let C={get action(){return c},get location(){return e(l,a)},listen(L){if(d)throw new Error("A history only accepts one active listener");return l.addEventListener(rv,y),d=L,()=>{l.removeEventListener(rv,y),d=null}},createHref(L){return t(l,L)},createURL:P,encodeLocation(L){let _=P(L);return{pathname:_.pathname,search:_.search,hash:_.hash}},push:S,replace:R,go(L){return a.go(L)}};return C}var ov;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(ov||(ov={}));function e6(e,t,n){n===void 0&&(n="/");let i=typeof t=="string"?el(t):t,l=jh(i.pathname||"/",n);if(l==null)return null;let u=uS(e);t6(u);let a=null;for(let c=0;a==null&&c<u.length;++c)a=c6(u[c],p6(l));return a}function uS(e,t,n,i){t===void 0&&(t=[]),n===void 0&&(n=[]),i===void 0&&(i="");let l=(u,a,c)=>{let d={relativePath:c===void 0?u.path||"":c,caseSensitive:u.caseSensitive===!0,childrenIndex:a,route:u};d.relativePath.startsWith("/")&&(ot(d.relativePath.startsWith(i),'Absolute route path "'+d.relativePath+'" nested under path '+('"'+i+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),d.relativePath=d.relativePath.slice(i.length));let p=ei([i,d.relativePath]),g=n.concat(d);u.children&&u.children.length>0&&(ot(u.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+p+'".')),uS(u.children,t,g,p)),!(u.path==null&&!u.index)&&t.push({path:p,score:s6(p,u.index),routesMeta:g})};return e.forEach((u,a)=>{var c;if(u.path===""||!((c=u.path)!=null&&c.includes("?")))l(u,a);else for(let d of sS(u.path))l(u,a,d)}),t}function sS(e){let t=e.split("/");if(t.length===0)return[];let[n,...i]=t,l=n.endsWith("?"),u=n.replace(/\?$/,"");if(i.length===0)return l?[u,""]:[u];let a=sS(i.join("/")),c=[];return c.push(...a.map(d=>d===""?u:[u,d].join("/"))),l&&c.push(...a),c.map(d=>e.startsWith("/")&&d===""?"/":d)}function t6(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:a6(t.routesMeta.map(i=>i.childrenIndex),n.routesMeta.map(i=>i.childrenIndex)))}const n6=/^:\w+$/,r6=3,i6=2,o6=1,l6=10,u6=-2,lv=e=>e==="*";function s6(e,t){let n=e.split("/"),i=n.length;return n.some(lv)&&(i+=u6),t&&(i+=i6),n.filter(l=>!lv(l)).reduce((l,u)=>l+(n6.test(u)?r6:u===""?o6:l6),i)}function a6(e,t){return e.length===t.length&&e.slice(0,-1).every((i,l)=>i===t[l])?e[e.length-1]-t[t.length-1]:0}function c6(e,t){let{routesMeta:n}=e,i={},l="/",u=[];for(let a=0;a<n.length;++a){let c=n[a],d=a===n.length-1,p=l==="/"?t:t.slice(l.length)||"/",g=f6({path:c.relativePath,caseSensitive:c.caseSensitive,end:d},p);if(!g)return null;Object.assign(i,g.params);let y=c.route;u.push({params:i,pathname:ei([l,g.pathname]),pathnameBase:v6(ei([l,g.pathnameBase])),route:y}),g.pathnameBase!=="/"&&(l=ei([l,g.pathnameBase]))}return u}function f6(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,i]=d6(e.path,e.caseSensitive,e.end),l=t.match(n);if(!l)return null;let u=l[0],a=u.replace(/(.)\/+$/,"$1"),c=l.slice(1);return{params:i.reduce((p,g,y)=>{if(g==="*"){let S=c[y]||"";a=u.slice(0,u.length-S.length).replace(/(.)\/+$/,"$1")}return p[g]=h6(c[y]||"",g),p},{}),pathname:u,pathnameBase:a,pattern:e}}function d6(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Hh(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let i=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(a,c)=>(i.push(c),"/([^\\/]+)"));return e.endsWith("*")?(i.push("*"),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),i]}function p6(e){try{return decodeURI(e)}catch(t){return Hh(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function h6(e,t){try{return decodeURIComponent(e)}catch(n){return Hh(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function jh(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,i=e.charAt(n);return i&&i!=="/"?null:e.slice(n)||"/"}function m6(e,t){t===void 0&&(t="/");let{pathname:n,search:i="",hash:l=""}=typeof e=="string"?el(e):e;return{pathname:n?n.startsWith("/")?n:g6(n,t):t,search:y6(i),hash:w6(l)}}function g6(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function kd(e,t,n,i){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(i)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function aS(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function cS(e,t,n,i){i===void 0&&(i=!1);let l;typeof e=="string"?l=el(e):(l=yu({},e),ot(!l.pathname||!l.pathname.includes("?"),kd("?","pathname","search",l)),ot(!l.pathname||!l.pathname.includes("#"),kd("#","pathname","hash",l)),ot(!l.search||!l.search.includes("#"),kd("#","search","hash",l)));let u=e===""||l.pathname==="",a=u?"/":l.pathname,c;if(i||a==null)c=n;else{let y=t.length-1;if(a.startsWith("..")){let S=a.split("/");for(;S[0]==="..";)S.shift(),y-=1;l.pathname=S.join("/")}c=y>=0?t[y]:"/"}let d=m6(l,c),p=a&&a!=="/"&&a.endsWith("/"),g=(u||a===".")&&n.endsWith("/");return!d.pathname.endsWith("/")&&(p||g)&&(d.pathname+="/"),d}const ei=e=>e.join("/").replace(/\/\/+/g,"/"),v6=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),y6=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,w6=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function S6(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const fS=["post","put","patch","delete"];new Set(fS);const _6=["get",...fS];new Set(_6);/**
|
|
42
|
+
* React Router v6.10.0
|
|
43
|
+
*
|
|
44
|
+
* Copyright (c) Remix Software Inc.
|
|
45
|
+
*
|
|
46
|
+
* This source code is licensed under the MIT license found in the
|
|
47
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
48
|
+
*
|
|
49
|
+
* @license MIT
|
|
50
|
+
*/function E6(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}const x6=typeof Object.is=="function"?Object.is:E6,{useState:C6,useEffect:k6,useLayoutEffect:P6,useDebugValue:R6}=eu;function O6(e,t,n){const i=t(),[{inst:l},u]=C6({inst:{value:i,getSnapshot:t}});return P6(()=>{l.value=i,l.getSnapshot=t,Pd(l)&&u({inst:l})},[e,i,t]),k6(()=>(Pd(l)&&u({inst:l}),e(()=>{Pd(l)&&u({inst:l})})),[e]),R6(i),i}function Pd(e){const t=e.getSnapshot,n=e.value;try{const i=t();return!x6(n,i)}catch(i){return!0}}function T6(e,t,n){return t()}const A6=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",I6=!A6,L6=I6?T6:O6;"useSyncExternalStore"in eu&&(e=>e.useSyncExternalStore)(eu);const dS=h.createContext(null),pS=h.createContext(null),Ou=h.createContext(null),ac=h.createContext(null),tl=h.createContext({outlet:null,matches:[]}),hS=h.createContext(null);function Op(){return Op=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Op.apply(this,arguments)}function N6(e,t){let{relative:n}=t===void 0?{}:t;Tu()||ot(!1);let{basename:i,navigator:l}=h.useContext(Ou),{hash:u,pathname:a,search:c}=mS(e,{relative:n}),d=a;return i!=="/"&&(d=a==="/"?i:ei([i,a])),l.createHref({pathname:d,search:c,hash:u})}function Tu(){return h.useContext(ac)!=null}function Au(){return Tu()||ot(!1),h.useContext(ac).location}function Iu(){Tu()||ot(!1);let{basename:e,navigator:t}=h.useContext(Ou),{matches:n}=h.useContext(tl),{pathname:i}=Au(),l=JSON.stringify(aS(n).map(c=>c.pathnameBase)),u=h.useRef(!1);return h.useEffect(()=>{u.current=!0}),h.useCallback(function(c,d){if(d===void 0&&(d={}),!u.current)return;if(typeof c=="number"){t.go(c);return}let p=cS(c,JSON.parse(l),i,d.relative==="path");e!=="/"&&(p.pathname=p.pathname==="/"?e:ei([e,p.pathname])),(d.replace?t.replace:t.push)(p,d.state,d)},[e,t,l,i])}function mS(e,t){let{relative:n}=t===void 0?{}:t,{matches:i}=h.useContext(tl),{pathname:l}=Au(),u=JSON.stringify(aS(i).map(a=>a.pathnameBase));return h.useMemo(()=>cS(e,JSON.parse(u),l,n==="path"),[e,u,l,n])}function B6(e,t){Tu()||ot(!1);let{navigator:n}=h.useContext(Ou),i=h.useContext(pS),{matches:l}=h.useContext(tl),u=l[l.length-1],a=u?u.params:{};u&&u.pathname;let c=u?u.pathnameBase:"/";u&&u.route;let d=Au(),p;if(t){var g;let C=typeof t=="string"?el(t):t;c==="/"||(g=C.pathname)!=null&&g.startsWith(c)||ot(!1),p=C}else p=d;let y=p.pathname||"/",S=c==="/"?y:y.slice(c.length)||"/",R=e6(e,{pathname:S}),P=D6(R&&R.map(C=>Object.assign({},C,{params:Object.assign({},a,C.params),pathname:ei([c,n.encodeLocation?n.encodeLocation(C.pathname).pathname:C.pathname]),pathnameBase:C.pathnameBase==="/"?c:ei([c,n.encodeLocation?n.encodeLocation(C.pathnameBase).pathname:C.pathnameBase])})),l,i||void 0);return t&&P?h.createElement(ac.Provider,{value:{location:Op({pathname:"/",search:"",hash:"",state:null,key:"default"},p),navigationType:jr.Pop}},P):P}function b6(){let e=W6(),t=S6(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},u=null;return h.createElement(h.Fragment,null,h.createElement("h2",null,"Unexpected Application Error!"),h.createElement("h3",{style:{fontStyle:"italic"}},t),n?h.createElement("pre",{style:l},n):null,u)}class F6 extends h.Component{constructor(t){super(t),this.state={location:t.location,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location?{error:t.error,location:t.location}:{error:t.error||n.error,location:n.location}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error?h.createElement(tl.Provider,{value:this.props.routeContext},h.createElement(hS.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function M6(e){let{routeContext:t,match:n,children:i}=e,l=h.useContext(dS);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),h.createElement(tl.Provider,{value:t},i)}function D6(e,t,n){if(t===void 0&&(t=[]),e==null)if(n!=null&&n.errors)e=n.matches;else return null;let i=e,l=n==null?void 0:n.errors;if(l!=null){let u=i.findIndex(a=>a.route.id&&(l==null?void 0:l[a.route.id]));u>=0||ot(!1),i=i.slice(0,Math.min(i.length,u+1))}return i.reduceRight((u,a,c)=>{let d=a.route.id?l==null?void 0:l[a.route.id]:null,p=null;n&&(a.route.ErrorBoundary?p=h.createElement(a.route.ErrorBoundary,null):a.route.errorElement?p=a.route.errorElement:p=h.createElement(b6,null));let g=t.concat(i.slice(0,c+1)),y=()=>{let S=u;return d?S=p:a.route.Component?S=h.createElement(a.route.Component,null):a.route.element&&(S=a.route.element),h.createElement(M6,{match:a,routeContext:{outlet:u,matches:g},children:S})};return n&&(a.route.ErrorBoundary||a.route.errorElement||c===0)?h.createElement(F6,{location:n.location,component:p,error:d,children:y(),routeContext:{outlet:null,matches:g}}):y()},null)}var uv;(function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator"})(uv||(uv={}));var Wa;(function(e){e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"})(Wa||(Wa={}));function $6(e){let t=h.useContext(pS);return t||ot(!1),t}function z6(e){let t=h.useContext(tl);return t||ot(!1),t}function U6(e){let t=z6(),n=t.matches[t.matches.length-1];return n.route.id||ot(!1),n.route.id}function W6(){var e;let t=h.useContext(hS),n=$6(Wa.UseRouteError),i=U6(Wa.UseRouteError);return t||((e=n.errors)==null?void 0:e[i])}function gS(e){ot(!1)}function H6(e){let{basename:t="/",children:n=null,location:i,navigationType:l=jr.Pop,navigator:u,static:a=!1}=e;Tu()&&ot(!1);let c=t.replace(/^\/*/,"/"),d=h.useMemo(()=>({basename:c,navigator:u,static:a}),[c,u,a]);typeof i=="string"&&(i=el(i));let{pathname:p="/",search:g="",hash:y="",state:S=null,key:R="default"}=i,P=h.useMemo(()=>{let C=jh(p,c);return C==null?null:{location:{pathname:C,search:g,hash:y,state:S,key:R},navigationType:l}},[c,p,g,y,S,R,l]);return P==null?null:h.createElement(Ou.Provider,{value:d},h.createElement(ac.Provider,{children:n,value:P}))}function j6(e){let{children:t,location:n}=e,i=h.useContext(dS),l=i&&!t?i.router.routes:Tp(t);return B6(l,n)}var sv;(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(sv||(sv={}));new Promise(()=>{});function Tp(e,t){t===void 0&&(t=[]);let n=[];return h.Children.forEach(e,(i,l)=>{if(!h.isValidElement(i))return;let u=[...t,l];if(i.type===h.Fragment){n.push.apply(n,Tp(i.props.children,u));return}i.type!==gS&&ot(!1),!i.props.index||!i.props.children||ot(!1);let a={id:i.props.id||u.join("-"),caseSensitive:i.props.caseSensitive,element:i.props.element,Component:i.props.Component,index:i.props.index,path:i.props.path,loader:i.props.loader,action:i.props.action,errorElement:i.props.errorElement,ErrorBoundary:i.props.ErrorBoundary,hasErrorBoundary:i.props.ErrorBoundary!=null||i.props.errorElement!=null,shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle,lazy:i.props.lazy};i.props.children&&(a.children=Tp(i.props.children,u)),n.push(a)}),n}/**
|
|
51
|
+
* React Router DOM v6.10.0
|
|
52
|
+
*
|
|
53
|
+
* Copyright (c) Remix Software Inc.
|
|
54
|
+
*
|
|
55
|
+
* This source code is licensed under the MIT license found in the
|
|
56
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
57
|
+
*
|
|
58
|
+
* @license MIT
|
|
59
|
+
*/function Ap(){return Ap=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Ap.apply(this,arguments)}function K6(e,t){if(e==null)return{};var n={},i=Object.keys(e),l,u;for(u=0;u<i.length;u++)l=i[u],!(t.indexOf(l)>=0)&&(n[l]=e[l]);return n}function V6(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function G6(e,t){return e.button===0&&(!t||t==="_self")&&!V6(e)}const Q6=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"];function Y6(e){let{basename:t,children:n,window:i}=e,l=h.useRef();l.current==null&&(l.current=qR({window:i,v5Compat:!0}));let u=l.current,[a,c]=h.useState({action:u.action,location:u.location});return h.useLayoutEffect(()=>u.listen(c),[u]),h.createElement(H6,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:u})}const X6=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",q6=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,zo=h.forwardRef(function(t,n){let{onClick:i,relative:l,reloadDocument:u,replace:a,state:c,target:d,to:p,preventScrollReset:g}=t,y=K6(t,Q6),{basename:S}=h.useContext(Ou),R,P=!1;if(typeof p=="string"&&q6.test(p)&&(R=p,X6)){let E=new URL(window.location.href),x=p.startsWith("//")?new URL(E.protocol+p):new URL(p),T=jh(x.pathname,S);x.origin===E.origin&&T!=null?p=T+x.search+x.hash:P=!0}let C=N6(p,{relative:l}),L=Z6(p,{replace:a,state:c,target:d,preventScrollReset:g,relative:l});function _(E){i&&i(E),E.defaultPrevented||L(E)}return h.createElement("a",Ap({},y,{href:R||C,onClick:P||u?i:_,ref:n,target:d}))});var av;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(av||(av={}));var cv;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(cv||(cv={}));function Z6(e,t){let{target:n,replace:i,state:l,preventScrollReset:u,relative:a}=t===void 0?{}:t,c=Iu(),d=Au(),p=mS(e,{relative:a});return h.useCallback(g=>{if(G6(g,n)){g.preventDefault();let y=i!==void 0?i:Ua(d)===Ua(p);c(e,{replace:y,state:l,preventScrollReset:u,relative:a})}},[d,c,p,i,l,n,e,u,a])}globalThis&&globalThis.__awaiter;function J6(e,t){const[n,i]=h.useState(e);return h.useEffect(()=>{const l=setTimeout(()=>i(e),t||500);return()=>{clearTimeout(l)}},[e,t]),n}function vS(e,t,n,i){const l=h.useRef(t);Kh(()=>{l.current=t},[t]),h.useEffect(()=>{var u;const a=(u=n==null?void 0:n.current)!==null&&u!==void 0?u:window;if(!(a&&a.addEventListener))return;const c=d=>l.current(d);return a.addEventListener(e,c,i),()=>{a.removeEventListener(e,c,i)}},[e,n,i])}globalThis&&globalThis.__awaiter;function eO(e,t){const n=h.useRef(e);Kh(()=>{n.current=e},[e]),h.useEffect(()=>{if(!t&&t!==0)return;const i=setInterval(()=>n.current(),t);return()=>clearInterval(i)},[t])}function yS(){const e=h.useRef(!1);return h.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),h.useCallback(()=>e.current,[])}const Kh=typeof window!="undefined"?h.useLayoutEffect:h.useEffect;function tO(e){const t=u=>typeof window!="undefined"?window.matchMedia(u).matches:!1,[n,i]=h.useState(t(e));function l(){i(t(e))}return h.useEffect(()=>{const u=window.matchMedia(e);return l(),u.addListener?u.addListener(l):u.addEventListener("change",l),()=>{u.removeListener?u.removeListener(l):u.removeEventListener("change",l)}},[e]),n}function Vh(){const[e,t]=h.useState({width:0,height:0}),n=()=>{t({width:window.innerWidth,height:window.innerHeight})};return vS("resize",n),Kh(()=>{n()},[]),e}function Lu(e){return We("spinner",ce({className:"spinner"},e))}const Zl=h.forwardRef((d,c)=>{var p=d,{gap:e=".8em",center:t=!1,vert:n=!1,children:i=null,className:l="",props:u={}}=p,a=Ft(p,["gap","center","vert","children","className","props"]);return h.createElement("div",ce({ref:c,className:l,style:ce(ce({display:"flex",gap:e,flexDirection:n?"column":void 0},t&&{alignItems:"center",justifyContent:"center"}),a)},u),i)}),ti=h.forwardRef((e,t)=>h.createElement(Zl,ce({ref:t,vert:!0},e)));function Oo(l){var u=l,{onChange:e,value:t,children:n}=u,i=Ft(u,["onChange","value","children"]);const a=h.createElement("input",ce({type:"checkbox",onChange:c=>e==null?void 0:e(!!c.target.checked,c),checked:!!t,value:1},i));return n?h.createElement("label",{},a,n):a}function fv(l){var u=l,{onChange:e,value:t,options:n}=u,i=Ft(u,["onChange","value","options"]);return h.createElement("select",ce({onChange:a=>e==null?void 0:e(a.target.value),value:t},i),n.map(({value:a,label:c})=>h.createElement("option",{key:a,value:a},c)))}function Ip(n){var i=n,{code:e}=i,t=Ft(i,["code"]);return e?h.createElement("span",Br(ce({},t),{ref(l){l&&l.replaceChildren(document.createRange().createContextualFragment(e))}})):null}function ni({name:e,props:t,ifEmpty:n}){const i=h.useMemo(()=>{var a,c;const l=yc(e,t).filter(d=>d===0||d).map((d,p)=>h.isValidElement(d)?h.createElement(h.Fragment,{key:p},d):typeof d=="string"?h.createElement(Ip,{key:p,code:d}):h.createElement("span",{key:p},d)),u=(a=$i().customHtml)==null?void 0:a[e];return(c=u==null?void 0:u.trim)!=null&&c.call(u)&&l.push(h.createElement(Ip,{key:"x",code:u})),l},t?Object.values(t):[]);return i.length||!n?h.createElement(h.Fragment,{},i):h.createElement(n)}function To(e,t,u={}){var a=u,{small:n=!0,style:i={}}=a,l=Ft(a,["small","style"]);return h.createElement("button",ce(ce({onClick:t},l),n&&{style:ce({padding:".1em",width:35,height:30},i)}),e.length>1?We(e):e)}const nO=Symbol(),Gh=Symbol(),Nl="a",ca="w";let rO=(e,t)=>new Proxy(e,t);const Lp=Object.getPrototypeOf,Np=new WeakMap,wS=e=>e&&(Np.has(e)?Np.get(e):Lp(e)===Object.prototype||Lp(e)===Array.prototype),dv=e=>typeof e=="object"&&e!==null,iO=e=>{if(Array.isArray(e))return Array.from(e);const t=Object.getOwnPropertyDescriptors(e);return Object.values(t).forEach(n=>{n.configurable=!0}),Object.create(Lp(e),t)},SS=e=>e[Gh]||e,_S=(e,t,n,i)=>{if(!wS(e))return e;let l=i&&i.get(e);if(!l){const d=SS(e);l=(p=>Object.values(Object.getOwnPropertyDescriptors(p)).some(g=>!g.configurable&&!g.writable))(d)?[d,iO(d)]:[d],i==null||i.set(e,l)}const[u,a]=l;let c=n&&n.get(u);return c&&c[1].f===!!a||(c=((d,p)=>{const g={f:p};let y=!1;const S=(P,C)=>{if(!y){let L=g[Nl].get(d);if(L||(L={},g[Nl].set(d,L)),P===ca)L[ca]=!0;else{let _=L[P];_||(_=new Set,L[P]=_),_.add(C)}}},R={get:(P,C)=>C===Gh?d:(S("k",C),_S(Reflect.get(P,C),g[Nl],g.c,g.t)),has:(P,C)=>C===nO?(y=!0,g[Nl].delete(d),!0):(S("h",C),Reflect.has(P,C)),getOwnPropertyDescriptor:(P,C)=>(S("o",C),Reflect.getOwnPropertyDescriptor(P,C)),ownKeys:P=>(S(ca),Reflect.ownKeys(P))};return p&&(R.set=R.deleteProperty=()=>!1),[R,g]})(u,!!a),c[1].p=rO(a||u,c[0]),n&&n.set(u,c)),c[1][Nl]=t,c[1].c=n,c[1].t=i,c[1].p},ES=(e,t,n,i)=>{if(Object.is(e,t))return!1;if(!dv(e)||!dv(t))return!0;const l=n.get(SS(e));if(!l)return!0;if(i){const a=i.get(e);if(a&&a.n===t)return a.g;i.set(e,{n:t,g:!1})}let u=null;try{for(const a of l.h||[])if(u=Reflect.has(e,a)!==Reflect.has(t,a),u)return u;if(l[ca]===!0){if(u=((a,c)=>{const d=Reflect.ownKeys(a),p=Reflect.ownKeys(c);return d.length!==p.length||d.some((g,y)=>g!==p[y])})(e,t),u)return u}else for(const a of l.o||[])if(u=!!Reflect.getOwnPropertyDescriptor(e,a)!=!!Reflect.getOwnPropertyDescriptor(t,a),u)return u;for(const a of l.k||[])if(u=ES(e[a],t[a],n,i),u)return u;return u===null&&(u=!0),u}finally{i&&i.set(e,{n:t,g:u})}},oO=e=>wS(e)&&e[Gh]||null,pv=(e,t=!0)=>{Np.set(e,t)};const Rd=e=>typeof e=="object"&&e!==null,$r=new WeakMap,Ul=new WeakSet,lO=(e=Object.is,t=(p,g)=>new Proxy(p,g),n=p=>Rd(p)&&!Ul.has(p)&&(Array.isArray(p)||!(Symbol.iterator in p))&&!(p instanceof WeakMap)&&!(p instanceof WeakSet)&&!(p instanceof Error)&&!(p instanceof Number)&&!(p instanceof Date)&&!(p instanceof String)&&!(p instanceof RegExp)&&!(p instanceof ArrayBuffer),i=p=>{switch(p.status){case"fulfilled":return p.value;case"rejected":throw p.reason;default:throw p}},l=new WeakMap,u=(p,g,y=i)=>{const S=l.get(p);if((S==null?void 0:S[0])===g)return S[1];const R=Array.isArray(p)?[]:Object.create(Object.getPrototypeOf(p));return pv(R,!0),l.set(p,[g,R]),Reflect.ownKeys(p).forEach(P=>{if(Object.getOwnPropertyDescriptor(R,P))return;const C=Reflect.get(p,P),L={value:C,enumerable:!0,configurable:!0};if(Ul.has(C))pv(C,!1);else if(C instanceof Promise)delete L.value,L.get=()=>y(C);else if($r.has(C)){const[_,E]=$r.get(C);L.value=u(_,E(),y)}Object.defineProperty(R,P,L)}),R},a=new WeakMap,c=[1,1],d=p=>{if(!Rd(p))throw new Error("object required");const g=a.get(p);if(g)return g;let y=c[0];const S=new Set,R=(K,$=++c[0])=>{y!==$&&(y=$,S.forEach(Y=>Y(K,$)))};let P=c[1];const C=(K=++c[1])=>(P!==K&&!S.size&&(P=K,_.forEach(([$])=>{const Y=$[1](K);Y>y&&(y=Y)})),y),L=K=>($,Y)=>{const ve=[...$];ve[1]=[K,...ve[1]],R(ve,Y)},_=new Map,E=(K,$)=>{if(S.size){const Y=$[3](L(K));_.set(K,[$,Y])}else _.set(K,[$])},x=K=>{var $;const Y=_.get(K);Y&&(_.delete(K),($=Y[1])==null||$.call(Y))},T=K=>(S.add(K),S.size===1&&_.forEach(([Y,ve],Re)=>{const at=Y[3](L(Re));_.set(Re,[Y,at])}),()=>{S.delete(K),S.size===0&&_.forEach(([Y,ve],Re)=>{ve&&(ve(),_.set(Re,[Y]))})}),B=Array.isArray(p)?[]:Object.create(Object.getPrototypeOf(p)),N=t(B,{deleteProperty(K,$){const Y=Reflect.get(K,$);x($);const ve=Reflect.deleteProperty(K,$);return ve&&R(["delete",[$],Y]),ve},set(K,$,Y,ve){const Re=Reflect.has(K,$),at=Reflect.get(K,$,ve);if(Re&&(e(at,Y)||a.has(Y)&&e(at,a.get(Y))))return!0;x($),Rd(Y)&&(Y=oO(Y)||Y);let un=Y;if(Y instanceof Promise)Y.then(It=>{Y.status="fulfilled",Y.value=It,R(["resolve",[$],It])}).catch(It=>{Y.status="rejected",Y.reason=It,R(["reject",[$],It])});else{!$r.has(Y)&&n(Y)&&(un=d(Y));const It=!Ul.has(un)&&$r.get(un);It&&E($,It)}return Reflect.set(K,$,un,ve),R(["set",[$],Y,at]),!0}});a.set(p,N);const U=[B,C,u,T];return $r.set(N,U),Reflect.ownKeys(p).forEach(K=>{const $=Object.getOwnPropertyDescriptor(p,K);"value"in $&&(N[K]=p[K],delete $.value,delete $.writable),Object.defineProperty(B,K,$)}),N})=>[d,$r,Ul,e,t,n,i,l,u,a,c],[uO]=lO();function Nu(e={}){return uO(e)}function Qh(e,t,n){const i=$r.get(e);let l;const u=[],a=i[3];let c=!1;const p=a(g=>{if(u.push(g),n){t(u.splice(0));return}l||(l=Promise.resolve().then(()=>{l=void 0,c&&t(u.splice(0))}))});return c=!0,()=>{c=!1,p()}}function hv(e,t){const n=$r.get(e),[i,l,u]=n;return u(i,l(),t)}function mv(e){return Ul.add(e),e}var xS={exports:{}},CS={};/**
|
|
60
|
+
* @license React
|
|
61
|
+
* use-sync-external-store-shim.production.min.js
|
|
62
|
+
*
|
|
63
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
64
|
+
*
|
|
65
|
+
* This source code is licensed under the MIT license found in the
|
|
66
|
+
* LICENSE file in the root directory of this source tree.
|
|
67
|
+
*/var Uo=h;function sO(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var aO=typeof Object.is=="function"?Object.is:sO,cO=Uo.useState,fO=Uo.useEffect,dO=Uo.useLayoutEffect,pO=Uo.useDebugValue;function hO(e,t){var n=t(),i=cO({inst:{value:n,getSnapshot:t}}),l=i[0].inst,u=i[1];return dO(function(){l.value=n,l.getSnapshot=t,Od(l)&&u({inst:l})},[e,n,t]),fO(function(){return Od(l)&&u({inst:l}),e(function(){Od(l)&&u({inst:l})})},[e]),pO(n),n}function Od(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!aO(e,n)}catch(i){return!0}}function mO(e,t){return t()}var gO=typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"?mO:hO;CS.useSyncExternalStore=Uo.useSyncExternalStore!==void 0?Uo.useSyncExternalStore:gO;xS.exports=CS;var vO=xS.exports;const yO=Gp(vO),{use:gv}=Zp,{useSyncExternalStore:wO}=yO;const SO=new WeakMap;function ai(e,t){const n=t==null?void 0:t.sync,i=h.useRef(),l=h.useRef();let u=!0;const a=wO(h.useCallback(p=>{const g=Qh(e,p,n);return p(),g},[e,n]),()=>{const p=hv(e,gv);try{if(!u&&i.current&&l.current&&!ES(i.current,p,l.current,new WeakMap))return i.current}catch(g){}return p},()=>hv(e,gv));u=!1;const c=new WeakMap;h.useEffect(()=>{i.current=a,l.current=c});const d=h.useMemo(()=>new WeakMap,[]);return _S(a,c,d,SO)}const Wo=Nu([]),kS={closableContent:"x",padding:!0},_O=['input:not([type="hidden"])',"button","select","textarea","a[href]","[tabindex]"].map(e=>e+':not([disabled]):not([tabindex="-1"])').join(",");window.addEventListener("keydown",e=>{if(e.key!=="Tab")return;const t=document.querySelectorAll("[role=dialog]"),n=t[t.length-1];if(!n)return;const i=n.querySelectorAll(_O),l=i.length;if(!l)return;const[u,a]=e.shiftKey?[l-1,0]:[0,l-1];e.target!==i[a]&&EO(document.activeElement,n)||(i[u].focus(),e.preventDefault())});function EO(e,t){for(;e;){if(e===t)return!0;e=e.parentNode}return!1}function PS(){const e=ai(Wo);return h.useEffect(()=>{document.body.style.overflow=e.length?"hidden":""},[e.length]),h.createElement(h.Fragment,{},e.length>0&&e.map(t=>h.createElement(xO,ce({key:t.$id},t))))}function xO(e){var i;const t=h.useRef();if(h.useEffect(()=>{var l;(l=t.current)==null||l.focus()},[]),e=ce(ce({},kS),e),e.Container)return h.createElement(e.Container,e);return h.createElement("div",{ref:t,className:"dialog-backdrop "+(e.className||""),tabIndex:0,onKeyDown:CO,onClick:l=>l.target===l.currentTarget&&Jn()},e.noFrame?h.createElement(e.Content||"div"):h.createElement("div",ce({role:"dialog","aria-modal":!0,className:"dialog",style:ce(ce({},n()),(i=e.dialogProps)==null?void 0:i.style),onClick(l){l.stopPropagation()}},e.dialogProps),e.closable||e.closable===void 0&&h.createElement("button",{className:"dialog-icon dialog-closer",onClick(){Jn()}},e.closableContent),e.icon&&h.createElement("div",{className:"dialog-icon dialog-type"},Bp(e.icon)),h.createElement("div",{className:"dialog-title"},Bp(e.title)),h.createElement("div",{className:"dialog-content"},h.createElement(e.Content||"div"))));function n(){const{innerWidth:l,innerHeight:u}=window,a=e.position;return a&&ce(ce({margin:"1em",position:"absolute"},a[0]<l/2?{left:a[0]}:{right:l-a[0]}),a[1]<u/2?{top:a[1]}:{bottom:u-a[1]})}}function Bp(e){return typeof e=="function"?h.createElement(e):e}function CO(e){e.key==="Escape"&&Jn()}function Cn(e){const t=Math.random();return e.$id=t,Wo.push(e),{close:n};function n(i){const l=Wo.findIndex(u=>u.$id===t);if(!(l<0))return RS(l,i)}}function Jn(e){let t=Wo.length;for(;t--;){const n=Wo[t];if(!n.reserveClosing)return RS(t,e),n}}function RS(e,t){var i;const[n]=Wo.splice(e,1);return(i=n==null?void 0:n.onClose)==null?void 0:i.call(n,t)}var Ha={exports:{}};/**
|
|
68
|
+
* @license
|
|
69
|
+
* Lodash <https://lodash.com/>
|
|
70
|
+
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
71
|
+
* Released under MIT license <https://lodash.com/license>
|
|
72
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
73
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
74
|
+
*/Ha.exports;(function(e,t){(function(){var n,i="4.17.21",l=200,u="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",c="Invalid `variable` option passed into `_.template`",d="__lodash_hash_undefined__",p=500,g="__lodash_placeholder__",y=1,S=2,R=4,P=1,C=2,L=1,_=2,E=4,x=8,T=16,B=32,F=64,N=128,U=256,K=512,$=30,Y="...",ve=800,Re=16,at=1,un=2,It=3,kn=1/0,Q=9007199254740991,ie=17976931348623157e292,oe=0/0,ye=4294967295,qe=ye-1,zi=ye>>>1,tr=[["ary",N],["bind",L],["bindKey",_],["curry",x],["curryRight",T],["flip",K],["partial",B],["partialRight",F],["rearg",U]],zn="[object Arguments]",sn="[object Array]",Ui="[object AsyncFunction]",rl="[object Boolean]",il="[object Date]",z_="[object DOMException]",Du="[object Error]",$u="[object Function]",pm="[object GeneratorFunction]",Pn="[object Map]",ol="[object Number]",U_="[object Null]",nr="[object Object]",hm="[object Promise]",W_="[object Proxy]",ll="[object RegExp]",Rn="[object Set]",ul="[object String]",zu="[object Symbol]",H_="[object Undefined]",sl="[object WeakMap]",j_="[object WeakSet]",al="[object ArrayBuffer]",Wi="[object DataView]",Ic="[object Float32Array]",Lc="[object Float64Array]",Nc="[object Int8Array]",Bc="[object Int16Array]",bc="[object Int32Array]",Fc="[object Uint8Array]",Mc="[object Uint8ClampedArray]",Dc="[object Uint16Array]",$c="[object Uint32Array]",K_=/\b__p \+= '';/g,V_=/\b(__p \+=) '' \+/g,G_=/(__e\(.*?\)|\b__t\)) \+\n'';/g,mm=/&(?:amp|lt|gt|quot|#39);/g,gm=/[&<>"']/g,Q_=RegExp(mm.source),Y_=RegExp(gm.source),X_=/<%-([\s\S]+?)%>/g,q_=/<%([\s\S]+?)%>/g,vm=/<%=([\s\S]+?)%>/g,Z_=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,J_=/^\w*$/,e2=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,zc=/[\\^$.*+?()[\]{}|]/g,t2=RegExp(zc.source),Uc=/^\s+/,n2=/\s/,r2=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,i2=/\{\n\/\* \[wrapped with (.+)\] \*/,o2=/,? & /,l2=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,u2=/[()=,{}\[\]\/\s]/,s2=/\\(\\)?/g,a2=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ym=/\w*$/,c2=/^[-+]0x[0-9a-f]+$/i,f2=/^0b[01]+$/i,d2=/^\[object .+?Constructor\]$/,p2=/^0o[0-7]+$/i,h2=/^(?:0|[1-9]\d*)$/,m2=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Uu=/($^)/,g2=/['\n\r\u2028\u2029\\]/g,Wu="\\ud800-\\udfff",v2="\\u0300-\\u036f",y2="\\ufe20-\\ufe2f",w2="\\u20d0-\\u20ff",wm=v2+y2+w2,Sm="\\u2700-\\u27bf",_m="a-z\\xdf-\\xf6\\xf8-\\xff",S2="\\xac\\xb1\\xd7\\xf7",_2="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",E2="\\u2000-\\u206f",x2=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Em="A-Z\\xc0-\\xd6\\xd8-\\xde",xm="\\ufe0e\\ufe0f",Cm=S2+_2+E2+x2,Wc="['’]",C2="["+Wu+"]",km="["+Cm+"]",Hu="["+wm+"]",Pm="\\d+",k2="["+Sm+"]",Rm="["+_m+"]",Om="[^"+Wu+Cm+Pm+Sm+_m+Em+"]",Hc="\\ud83c[\\udffb-\\udfff]",P2="(?:"+Hu+"|"+Hc+")",Tm="[^"+Wu+"]",jc="(?:\\ud83c[\\udde6-\\uddff]){2}",Kc="[\\ud800-\\udbff][\\udc00-\\udfff]",Hi="["+Em+"]",Am="\\u200d",Im="(?:"+Rm+"|"+Om+")",R2="(?:"+Hi+"|"+Om+")",Lm="(?:"+Wc+"(?:d|ll|m|re|s|t|ve))?",Nm="(?:"+Wc+"(?:D|LL|M|RE|S|T|VE))?",Bm=P2+"?",bm="["+xm+"]?",O2="(?:"+Am+"(?:"+[Tm,jc,Kc].join("|")+")"+bm+Bm+")*",T2="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",A2="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Fm=bm+Bm+O2,I2="(?:"+[k2,jc,Kc].join("|")+")"+Fm,L2="(?:"+[Tm+Hu+"?",Hu,jc,Kc,C2].join("|")+")",N2=RegExp(Wc,"g"),B2=RegExp(Hu,"g"),Vc=RegExp(Hc+"(?="+Hc+")|"+L2+Fm,"g"),b2=RegExp([Hi+"?"+Rm+"+"+Lm+"(?="+[km,Hi,"$"].join("|")+")",R2+"+"+Nm+"(?="+[km,Hi+Im,"$"].join("|")+")",Hi+"?"+Im+"+"+Lm,Hi+"+"+Nm,A2,T2,Pm,I2].join("|"),"g"),F2=RegExp("["+Am+Wu+wm+xm+"]"),M2=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,D2=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],$2=-1,Le={};Le[Ic]=Le[Lc]=Le[Nc]=Le[Bc]=Le[bc]=Le[Fc]=Le[Mc]=Le[Dc]=Le[$c]=!0,Le[zn]=Le[sn]=Le[al]=Le[rl]=Le[Wi]=Le[il]=Le[Du]=Le[$u]=Le[Pn]=Le[ol]=Le[nr]=Le[ll]=Le[Rn]=Le[ul]=Le[sl]=!1;var Ae={};Ae[zn]=Ae[sn]=Ae[al]=Ae[Wi]=Ae[rl]=Ae[il]=Ae[Ic]=Ae[Lc]=Ae[Nc]=Ae[Bc]=Ae[bc]=Ae[Pn]=Ae[ol]=Ae[nr]=Ae[ll]=Ae[Rn]=Ae[ul]=Ae[zu]=Ae[Fc]=Ae[Mc]=Ae[Dc]=Ae[$c]=!0,Ae[Du]=Ae[$u]=Ae[sl]=!1;var z2={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},U2={"&":"&","<":"<",">":">",'"':""","'":"'"},W2={"&":"&","<":"<",">":">",""":'"',"'":"'"},H2={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},j2=parseFloat,K2=parseInt,Mm=typeof Zt=="object"&&Zt&&Zt.Object===Object&&Zt,V2=typeof self=="object"&&self&&self.Object===Object&&self,ct=Mm||V2||Function("return this")(),Gc=t&&!t.nodeType&&t,fi=Gc&&!0&&e&&!e.nodeType&&e,Dm=fi&&fi.exports===Gc,Qc=Dm&&Mm.process,an=function(){try{var A=fi&&fi.require&&fi.require("util").types;return A||Qc&&Qc.binding&&Qc.binding("util")}catch(M){}}(),$m=an&&an.isArrayBuffer,zm=an&&an.isDate,Um=an&&an.isMap,Wm=an&&an.isRegExp,Hm=an&&an.isSet,jm=an&&an.isTypedArray;function jt(A,M,b){switch(b.length){case 0:return A.call(M);case 1:return A.call(M,b[0]);case 2:return A.call(M,b[0],b[1]);case 3:return A.call(M,b[0],b[1],b[2])}return A.apply(M,b)}function G2(A,M,b,X){for(var ne=-1,we=A==null?0:A.length;++ne<we;){var tt=A[ne];M(X,tt,b(tt),A)}return X}function cn(A,M){for(var b=-1,X=A==null?0:A.length;++b<X&&M(A[b],b,A)!==!1;);return A}function Q2(A,M){for(var b=A==null?0:A.length;b--&&M(A[b],b,A)!==!1;);return A}function Km(A,M){for(var b=-1,X=A==null?0:A.length;++b<X;)if(!M(A[b],b,A))return!1;return!0}function kr(A,M){for(var b=-1,X=A==null?0:A.length,ne=0,we=[];++b<X;){var tt=A[b];M(tt,b,A)&&(we[ne++]=tt)}return we}function ju(A,M){var b=A==null?0:A.length;return!!b&&ji(A,M,0)>-1}function Yc(A,M,b){for(var X=-1,ne=A==null?0:A.length;++X<ne;)if(b(M,A[X]))return!0;return!1}function be(A,M){for(var b=-1,X=A==null?0:A.length,ne=Array(X);++b<X;)ne[b]=M(A[b],b,A);return ne}function Pr(A,M){for(var b=-1,X=M.length,ne=A.length;++b<X;)A[ne+b]=M[b];return A}function Xc(A,M,b,X){var ne=-1,we=A==null?0:A.length;for(X&&we&&(b=A[++ne]);++ne<we;)b=M(b,A[ne],ne,A);return b}function Y2(A,M,b,X){var ne=A==null?0:A.length;for(X&&ne&&(b=A[--ne]);ne--;)b=M(b,A[ne],ne,A);return b}function qc(A,M){for(var b=-1,X=A==null?0:A.length;++b<X;)if(M(A[b],b,A))return!0;return!1}var X2=Zc("length");function q2(A){return A.split("")}function Z2(A){return A.match(l2)||[]}function Vm(A,M,b){var X;return b(A,function(ne,we,tt){if(M(ne,we,tt))return X=we,!1}),X}function Ku(A,M,b,X){for(var ne=A.length,we=b+(X?1:-1);X?we--:++we<ne;)if(M(A[we],we,A))return we;return-1}function ji(A,M,b){return M===M?cE(A,M,b):Ku(A,Gm,b)}function J2(A,M,b,X){for(var ne=b-1,we=A.length;++ne<we;)if(X(A[ne],M))return ne;return-1}function Gm(A){return A!==A}function Qm(A,M){var b=A==null?0:A.length;return b?ef(A,M)/b:oe}function Zc(A){return function(M){return M==null?n:M[A]}}function Jc(A){return function(M){return A==null?n:A[M]}}function Ym(A,M,b,X,ne){return ne(A,function(we,tt,Te){b=X?(X=!1,we):M(b,we,tt,Te)}),b}function eE(A,M){var b=A.length;for(A.sort(M);b--;)A[b]=A[b].value;return A}function ef(A,M){for(var b,X=-1,ne=A.length;++X<ne;){var we=M(A[X]);we!==n&&(b=b===n?we:b+we)}return b}function tf(A,M){for(var b=-1,X=Array(A);++b<A;)X[b]=M(b);return X}function tE(A,M){return be(M,function(b){return[b,A[b]]})}function Xm(A){return A&&A.slice(0,e0(A)+1).replace(Uc,"")}function Kt(A){return function(M){return A(M)}}function nf(A,M){return be(M,function(b){return A[b]})}function cl(A,M){return A.has(M)}function qm(A,M){for(var b=-1,X=A.length;++b<X&&ji(M,A[b],0)>-1;);return b}function Zm(A,M){for(var b=A.length;b--&&ji(M,A[b],0)>-1;);return b}function nE(A,M){for(var b=A.length,X=0;b--;)A[b]===M&&++X;return X}var rE=Jc(z2),iE=Jc(U2);function oE(A){return"\\"+H2[A]}function lE(A,M){return A==null?n:A[M]}function Ki(A){return F2.test(A)}function uE(A){return M2.test(A)}function sE(A){for(var M,b=[];!(M=A.next()).done;)b.push(M.value);return b}function rf(A){var M=-1,b=Array(A.size);return A.forEach(function(X,ne){b[++M]=[ne,X]}),b}function Jm(A,M){return function(b){return A(M(b))}}function Rr(A,M){for(var b=-1,X=A.length,ne=0,we=[];++b<X;){var tt=A[b];(tt===M||tt===g)&&(A[b]=g,we[ne++]=b)}return we}function Vu(A){var M=-1,b=Array(A.size);return A.forEach(function(X){b[++M]=X}),b}function aE(A){var M=-1,b=Array(A.size);return A.forEach(function(X){b[++M]=[X,X]}),b}function cE(A,M,b){for(var X=b-1,ne=A.length;++X<ne;)if(A[X]===M)return X;return-1}function fE(A,M,b){for(var X=b+1;X--;)if(A[X]===M)return X;return X}function Vi(A){return Ki(A)?pE(A):X2(A)}function On(A){return Ki(A)?hE(A):q2(A)}function e0(A){for(var M=A.length;M--&&n2.test(A.charAt(M)););return M}var dE=Jc(W2);function pE(A){for(var M=Vc.lastIndex=0;Vc.test(A);)++M;return M}function hE(A){return A.match(Vc)||[]}function mE(A){return A.match(b2)||[]}var gE=function A(M){M=M==null?ct:Gi.defaults(ct.Object(),M,Gi.pick(ct,D2));var b=M.Array,X=M.Date,ne=M.Error,we=M.Function,tt=M.Math,Te=M.Object,of=M.RegExp,vE=M.String,fn=M.TypeError,Gu=b.prototype,yE=we.prototype,Qi=Te.prototype,Qu=M["__core-js_shared__"],Yu=yE.toString,Ce=Qi.hasOwnProperty,wE=0,t0=function(){var r=/[^.]+$/.exec(Qu&&Qu.keys&&Qu.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}(),Xu=Qi.toString,SE=Yu.call(Te),_E=ct._,EE=of("^"+Yu.call(Ce).replace(zc,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),qu=Dm?M.Buffer:n,Or=M.Symbol,Zu=M.Uint8Array,n0=qu?qu.allocUnsafe:n,Ju=Jm(Te.getPrototypeOf,Te),r0=Te.create,i0=Qi.propertyIsEnumerable,es=Gu.splice,o0=Or?Or.isConcatSpreadable:n,fl=Or?Or.iterator:n,di=Or?Or.toStringTag:n,ts=function(){try{var r=vi(Te,"defineProperty");return r({},"",{}),r}catch(o){}}(),xE=M.clearTimeout!==ct.clearTimeout&&M.clearTimeout,CE=X&&X.now!==ct.Date.now&&X.now,kE=M.setTimeout!==ct.setTimeout&&M.setTimeout,ns=tt.ceil,rs=tt.floor,lf=Te.getOwnPropertySymbols,PE=qu?qu.isBuffer:n,l0=M.isFinite,RE=Gu.join,OE=Jm(Te.keys,Te),nt=tt.max,gt=tt.min,TE=X.now,AE=M.parseInt,u0=tt.random,IE=Gu.reverse,uf=vi(M,"DataView"),dl=vi(M,"Map"),sf=vi(M,"Promise"),Yi=vi(M,"Set"),pl=vi(M,"WeakMap"),hl=vi(Te,"create"),is=pl&&new pl,Xi={},LE=yi(uf),NE=yi(dl),BE=yi(sf),bE=yi(Yi),FE=yi(pl),os=Or?Or.prototype:n,ml=os?os.valueOf:n,s0=os?os.toString:n;function v(r){if(je(r)&&!le(r)&&!(r instanceof pe)){if(r instanceof dn)return r;if(Ce.call(r,"__wrapped__"))return ag(r)}return new dn(r)}var qi=function(){function r(){}return function(o){if(!$e(o))return{};if(r0)return r0(o);r.prototype=o;var s=new r;return r.prototype=n,s}}();function ls(){}function dn(r,o){this.__wrapped__=r,this.__actions__=[],this.__chain__=!!o,this.__index__=0,this.__values__=n}v.templateSettings={escape:X_,evaluate:q_,interpolate:vm,variable:"",imports:{_:v}},v.prototype=ls.prototype,v.prototype.constructor=v,dn.prototype=qi(ls.prototype),dn.prototype.constructor=dn;function pe(r){this.__wrapped__=r,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ye,this.__views__=[]}function ME(){var r=new pe(this.__wrapped__);return r.__actions__=Lt(this.__actions__),r.__dir__=this.__dir__,r.__filtered__=this.__filtered__,r.__iteratees__=Lt(this.__iteratees__),r.__takeCount__=this.__takeCount__,r.__views__=Lt(this.__views__),r}function DE(){if(this.__filtered__){var r=new pe(this);r.__dir__=-1,r.__filtered__=!0}else r=this.clone(),r.__dir__*=-1;return r}function $E(){var r=this.__wrapped__.value(),o=this.__dir__,s=le(r),f=o<0,m=s?r.length:0,w=qx(0,m,this.__views__),k=w.start,O=w.end,I=O-k,D=f?O:k-1,z=this.__iteratees__,W=z.length,V=0,Z=gt(I,this.__takeCount__);if(!s||!f&&m==I&&Z==I)return L0(r,this.__actions__);var ee=[];e:for(;I--&&V<Z;){D+=o;for(var ae=-1,te=r[D];++ae<W;){var de=z[ae],me=de.iteratee,Qt=de.type,kt=me(te);if(Qt==un)te=kt;else if(!kt){if(Qt==at)continue e;break e}}ee[V++]=te}return ee}pe.prototype=qi(ls.prototype),pe.prototype.constructor=pe;function pi(r){var o=-1,s=r==null?0:r.length;for(this.clear();++o<s;){var f=r[o];this.set(f[0],f[1])}}function zE(){this.__data__=hl?hl(null):{},this.size=0}function UE(r){var o=this.has(r)&&delete this.__data__[r];return this.size-=o?1:0,o}function WE(r){var o=this.__data__;if(hl){var s=o[r];return s===d?n:s}return Ce.call(o,r)?o[r]:n}function HE(r){var o=this.__data__;return hl?o[r]!==n:Ce.call(o,r)}function jE(r,o){var s=this.__data__;return this.size+=this.has(r)?0:1,s[r]=hl&&o===n?d:o,this}pi.prototype.clear=zE,pi.prototype.delete=UE,pi.prototype.get=WE,pi.prototype.has=HE,pi.prototype.set=jE;function rr(r){var o=-1,s=r==null?0:r.length;for(this.clear();++o<s;){var f=r[o];this.set(f[0],f[1])}}function KE(){this.__data__=[],this.size=0}function VE(r){var o=this.__data__,s=us(o,r);if(s<0)return!1;var f=o.length-1;return s==f?o.pop():es.call(o,s,1),--this.size,!0}function GE(r){var o=this.__data__,s=us(o,r);return s<0?n:o[s][1]}function QE(r){return us(this.__data__,r)>-1}function YE(r,o){var s=this.__data__,f=us(s,r);return f<0?(++this.size,s.push([r,o])):s[f][1]=o,this}rr.prototype.clear=KE,rr.prototype.delete=VE,rr.prototype.get=GE,rr.prototype.has=QE,rr.prototype.set=YE;function ir(r){var o=-1,s=r==null?0:r.length;for(this.clear();++o<s;){var f=r[o];this.set(f[0],f[1])}}function XE(){this.size=0,this.__data__={hash:new pi,map:new(dl||rr),string:new pi}}function qE(r){var o=ws(this,r).delete(r);return this.size-=o?1:0,o}function ZE(r){return ws(this,r).get(r)}function JE(r){return ws(this,r).has(r)}function ex(r,o){var s=ws(this,r),f=s.size;return s.set(r,o),this.size+=s.size==f?0:1,this}ir.prototype.clear=XE,ir.prototype.delete=qE,ir.prototype.get=ZE,ir.prototype.has=JE,ir.prototype.set=ex;function hi(r){var o=-1,s=r==null?0:r.length;for(this.__data__=new ir;++o<s;)this.add(r[o])}function tx(r){return this.__data__.set(r,d),this}function nx(r){return this.__data__.has(r)}hi.prototype.add=hi.prototype.push=tx,hi.prototype.has=nx;function Tn(r){var o=this.__data__=new rr(r);this.size=o.size}function rx(){this.__data__=new rr,this.size=0}function ix(r){var o=this.__data__,s=o.delete(r);return this.size=o.size,s}function ox(r){return this.__data__.get(r)}function lx(r){return this.__data__.has(r)}function ux(r,o){var s=this.__data__;if(s instanceof rr){var f=s.__data__;if(!dl||f.length<l-1)return f.push([r,o]),this.size=++s.size,this;s=this.__data__=new ir(f)}return s.set(r,o),this.size=s.size,this}Tn.prototype.clear=rx,Tn.prototype.delete=ix,Tn.prototype.get=ox,Tn.prototype.has=lx,Tn.prototype.set=ux;function a0(r,o){var s=le(r),f=!s&&wi(r),m=!s&&!f&&Nr(r),w=!s&&!f&&!m&&to(r),k=s||f||m||w,O=k?tf(r.length,vE):[],I=O.length;for(var D in r)(o||Ce.call(r,D))&&!(k&&(D=="length"||m&&(D=="offset"||D=="parent")||w&&(D=="buffer"||D=="byteLength"||D=="byteOffset")||sr(D,I)))&&O.push(D);return O}function c0(r){var o=r.length;return o?r[wf(0,o-1)]:n}function sx(r,o){return Ss(Lt(r),mi(o,0,r.length))}function ax(r){return Ss(Lt(r))}function af(r,o,s){(s!==n&&!An(r[o],s)||s===n&&!(o in r))&&or(r,o,s)}function gl(r,o,s){var f=r[o];(!(Ce.call(r,o)&&An(f,s))||s===n&&!(o in r))&&or(r,o,s)}function us(r,o){for(var s=r.length;s--;)if(An(r[s][0],o))return s;return-1}function cx(r,o,s,f){return Tr(r,function(m,w,k){o(f,m,s(m),k)}),f}function f0(r,o){return r&&Wn(o,lt(o),r)}function fx(r,o){return r&&Wn(o,Bt(o),r)}function or(r,o,s){o=="__proto__"&&ts?ts(r,o,{configurable:!0,enumerable:!0,value:s,writable:!0}):r[o]=s}function cf(r,o){for(var s=-1,f=o.length,m=b(f),w=r==null;++s<f;)m[s]=w?n:jf(r,o[s]);return m}function mi(r,o,s){return r===r&&(s!==n&&(r=r<=s?r:s),o!==n&&(r=r>=o?r:o)),r}function pn(r,o,s,f,m,w){var k,O=o&y,I=o&S,D=o&R;if(s&&(k=m?s(r,f,m,w):s(r)),k!==n)return k;if(!$e(r))return r;var z=le(r);if(z){if(k=Jx(r),!O)return Lt(r,k)}else{var W=vt(r),V=W==$u||W==pm;if(Nr(r))return b0(r,O);if(W==nr||W==zn||V&&!m){if(k=I||V?{}:eg(r),!O)return I?Wx(r,fx(k,r)):Ux(r,f0(k,r))}else{if(!Ae[W])return m?r:{};k=eC(r,W,O)}}w||(w=new Tn);var Z=w.get(r);if(Z)return Z;w.set(r,k),Tg(r)?r.forEach(function(te){k.add(pn(te,o,s,te,r,w))}):Rg(r)&&r.forEach(function(te,de){k.set(de,pn(te,o,s,de,r,w))});var ee=D?I?Af:Tf:I?Bt:lt,ae=z?n:ee(r);return cn(ae||r,function(te,de){ae&&(de=te,te=r[de]),gl(k,de,pn(te,o,s,de,r,w))}),k}function dx(r){var o=lt(r);return function(s){return d0(s,r,o)}}function d0(r,o,s){var f=s.length;if(r==null)return!f;for(r=Te(r);f--;){var m=s[f],w=o[m],k=r[m];if(k===n&&!(m in r)||!w(k))return!1}return!0}function p0(r,o,s){if(typeof r!="function")throw new fn(a);return xl(function(){r.apply(n,s)},o)}function vl(r,o,s,f){var m=-1,w=ju,k=!0,O=r.length,I=[],D=o.length;if(!O)return I;s&&(o=be(o,Kt(s))),f?(w=Yc,k=!1):o.length>=l&&(w=cl,k=!1,o=new hi(o));e:for(;++m<O;){var z=r[m],W=s==null?z:s(z);if(z=f||z!==0?z:0,k&&W===W){for(var V=D;V--;)if(o[V]===W)continue e;I.push(z)}else w(o,W,f)||I.push(z)}return I}var Tr=z0(Un),h0=z0(df,!0);function px(r,o){var s=!0;return Tr(r,function(f,m,w){return s=!!o(f,m,w),s}),s}function ss(r,o,s){for(var f=-1,m=r.length;++f<m;){var w=r[f],k=o(w);if(k!=null&&(O===n?k===k&&!Gt(k):s(k,O)))var O=k,I=w}return I}function hx(r,o,s,f){var m=r.length;for(s=ue(s),s<0&&(s=-s>m?0:m+s),f=f===n||f>m?m:ue(f),f<0&&(f+=m),f=s>f?0:Ig(f);s<f;)r[s++]=o;return r}function m0(r,o){var s=[];return Tr(r,function(f,m,w){o(f,m,w)&&s.push(f)}),s}function ft(r,o,s,f,m){var w=-1,k=r.length;for(s||(s=nC),m||(m=[]);++w<k;){var O=r[w];o>0&&s(O)?o>1?ft(O,o-1,s,f,m):Pr(m,O):f||(m[m.length]=O)}return m}var ff=U0(),g0=U0(!0);function Un(r,o){return r&&ff(r,o,lt)}function df(r,o){return r&&g0(r,o,lt)}function as(r,o){return kr(o,function(s){return ar(r[s])})}function gi(r,o){o=Ir(o,r);for(var s=0,f=o.length;r!=null&&s<f;)r=r[Hn(o[s++])];return s&&s==f?r:n}function v0(r,o,s){var f=o(r);return le(r)?f:Pr(f,s(r))}function xt(r){return r==null?r===n?H_:U_:di&&di in Te(r)?Xx(r):aC(r)}function pf(r,o){return r>o}function mx(r,o){return r!=null&&Ce.call(r,o)}function gx(r,o){return r!=null&&o in Te(r)}function vx(r,o,s){return r>=gt(o,s)&&r<nt(o,s)}function hf(r,o,s){for(var f=s?Yc:ju,m=r[0].length,w=r.length,k=w,O=b(w),I=1/0,D=[];k--;){var z=r[k];k&&o&&(z=be(z,Kt(o))),I=gt(z.length,I),O[k]=!s&&(o||m>=120&&z.length>=120)?new hi(k&&z):n}z=r[0];var W=-1,V=O[0];e:for(;++W<m&&D.length<I;){var Z=z[W],ee=o?o(Z):Z;if(Z=s||Z!==0?Z:0,!(V?cl(V,ee):f(D,ee,s))){for(k=w;--k;){var ae=O[k];if(!(ae?cl(ae,ee):f(r[k],ee,s)))continue e}V&&V.push(ee),D.push(Z)}}return D}function yx(r,o,s,f){return Un(r,function(m,w,k){o(f,s(m),w,k)}),f}function yl(r,o,s){o=Ir(o,r),r=ig(r,o);var f=r==null?r:r[Hn(mn(o))];return f==null?n:jt(f,r,s)}function y0(r){return je(r)&&xt(r)==zn}function wx(r){return je(r)&&xt(r)==al}function Sx(r){return je(r)&&xt(r)==il}function wl(r,o,s,f,m){return r===o?!0:r==null||o==null||!je(r)&&!je(o)?r!==r&&o!==o:_x(r,o,s,f,wl,m)}function _x(r,o,s,f,m,w){var k=le(r),O=le(o),I=k?sn:vt(r),D=O?sn:vt(o);I=I==zn?nr:I,D=D==zn?nr:D;var z=I==nr,W=D==nr,V=I==D;if(V&&Nr(r)){if(!Nr(o))return!1;k=!0,z=!1}if(V&&!z)return w||(w=new Tn),k||to(r)?q0(r,o,s,f,m,w):Qx(r,o,I,s,f,m,w);if(!(s&P)){var Z=z&&Ce.call(r,"__wrapped__"),ee=W&&Ce.call(o,"__wrapped__");if(Z||ee){var ae=Z?r.value():r,te=ee?o.value():o;return w||(w=new Tn),m(ae,te,s,f,w)}}return V?(w||(w=new Tn),Yx(r,o,s,f,m,w)):!1}function Ex(r){return je(r)&&vt(r)==Pn}function mf(r,o,s,f){var m=s.length,w=m,k=!f;if(r==null)return!w;for(r=Te(r);m--;){var O=s[m];if(k&&O[2]?O[1]!==r[O[0]]:!(O[0]in r))return!1}for(;++m<w;){O=s[m];var I=O[0],D=r[I],z=O[1];if(k&&O[2]){if(D===n&&!(I in r))return!1}else{var W=new Tn;if(f)var V=f(D,z,I,r,o,W);if(!(V===n?wl(z,D,P|C,f,W):V))return!1}}return!0}function w0(r){if(!$e(r)||iC(r))return!1;var o=ar(r)?EE:d2;return o.test(yi(r))}function xx(r){return je(r)&&xt(r)==ll}function Cx(r){return je(r)&&vt(r)==Rn}function kx(r){return je(r)&&Ps(r.length)&&!!Le[xt(r)]}function S0(r){return typeof r=="function"?r:r==null?bt:typeof r=="object"?le(r)?x0(r[0],r[1]):E0(r):Wg(r)}function gf(r){if(!El(r))return OE(r);var o=[];for(var s in Te(r))Ce.call(r,s)&&s!="constructor"&&o.push(s);return o}function Px(r){if(!$e(r))return sC(r);var o=El(r),s=[];for(var f in r)f=="constructor"&&(o||!Ce.call(r,f))||s.push(f);return s}function vf(r,o){return r<o}function _0(r,o){var s=-1,f=Nt(r)?b(r.length):[];return Tr(r,function(m,w,k){f[++s]=o(m,w,k)}),f}function E0(r){var o=Lf(r);return o.length==1&&o[0][2]?ng(o[0][0],o[0][1]):function(s){return s===r||mf(s,r,o)}}function x0(r,o){return Bf(r)&&tg(o)?ng(Hn(r),o):function(s){var f=jf(s,r);return f===n&&f===o?Kf(s,r):wl(o,f,P|C)}}function cs(r,o,s,f,m){r!==o&&ff(o,function(w,k){if(m||(m=new Tn),$e(w))Rx(r,o,k,s,cs,f,m);else{var O=f?f(Ff(r,k),w,k+"",r,o,m):n;O===n&&(O=w),af(r,k,O)}},Bt)}function Rx(r,o,s,f,m,w,k){var O=Ff(r,s),I=Ff(o,s),D=k.get(I);if(D){af(r,s,D);return}var z=w?w(O,I,s+"",r,o,k):n,W=z===n;if(W){var V=le(I),Z=!V&&Nr(I),ee=!V&&!Z&&to(I);z=I,V||Z||ee?le(O)?z=O:Qe(O)?z=Lt(O):Z?(W=!1,z=b0(I,!0)):ee?(W=!1,z=F0(I,!0)):z=[]:Cl(I)||wi(I)?(z=O,wi(O)?z=Lg(O):(!$e(O)||ar(O))&&(z=eg(I))):W=!1}W&&(k.set(I,z),m(z,I,f,w,k),k.delete(I)),af(r,s,z)}function C0(r,o){var s=r.length;if(s)return o+=o<0?s:0,sr(o,s)?r[o]:n}function k0(r,o,s){o.length?o=be(o,function(w){return le(w)?function(k){return gi(k,w.length===1?w[0]:w)}:w}):o=[bt];var f=-1;o=be(o,Kt(J()));var m=_0(r,function(w,k,O){var I=be(o,function(D){return D(w)});return{criteria:I,index:++f,value:w}});return eE(m,function(w,k){return zx(w,k,s)})}function Ox(r,o){return P0(r,o,function(s,f){return Kf(r,f)})}function P0(r,o,s){for(var f=-1,m=o.length,w={};++f<m;){var k=o[f],O=gi(r,k);s(O,k)&&Sl(w,Ir(k,r),O)}return w}function Tx(r){return function(o){return gi(o,r)}}function yf(r,o,s,f){var m=f?J2:ji,w=-1,k=o.length,O=r;for(r===o&&(o=Lt(o)),s&&(O=be(r,Kt(s)));++w<k;)for(var I=0,D=o[w],z=s?s(D):D;(I=m(O,z,I,f))>-1;)O!==r&&es.call(O,I,1),es.call(r,I,1);return r}function R0(r,o){for(var s=r?o.length:0,f=s-1;s--;){var m=o[s];if(s==f||m!==w){var w=m;sr(m)?es.call(r,m,1):Ef(r,m)}}return r}function wf(r,o){return r+rs(u0()*(o-r+1))}function Ax(r,o,s,f){for(var m=-1,w=nt(ns((o-r)/(s||1)),0),k=b(w);w--;)k[f?w:++m]=r,r+=s;return k}function Sf(r,o){var s="";if(!r||o<1||o>Q)return s;do o%2&&(s+=r),o=rs(o/2),o&&(r+=r);while(o);return s}function fe(r,o){return Mf(rg(r,o,bt),r+"")}function Ix(r){return c0(no(r))}function Lx(r,o){var s=no(r);return Ss(s,mi(o,0,s.length))}function Sl(r,o,s,f){if(!$e(r))return r;o=Ir(o,r);for(var m=-1,w=o.length,k=w-1,O=r;O!=null&&++m<w;){var I=Hn(o[m]),D=s;if(I==="__proto__"||I==="constructor"||I==="prototype")return r;if(m!=k){var z=O[I];D=f?f(z,I,O):n,D===n&&(D=$e(z)?z:sr(o[m+1])?[]:{})}gl(O,I,D),O=O[I]}return r}var O0=is?function(r,o){return is.set(r,o),r}:bt,Nx=ts?function(r,o){return ts(r,"toString",{configurable:!0,enumerable:!1,value:Gf(o),writable:!0})}:bt;function Bx(r){return Ss(no(r))}function hn(r,o,s){var f=-1,m=r.length;o<0&&(o=-o>m?0:m+o),s=s>m?m:s,s<0&&(s+=m),m=o>s?0:s-o>>>0,o>>>=0;for(var w=b(m);++f<m;)w[f]=r[f+o];return w}function bx(r,o){var s;return Tr(r,function(f,m,w){return s=o(f,m,w),!s}),!!s}function fs(r,o,s){var f=0,m=r==null?f:r.length;if(typeof o=="number"&&o===o&&m<=zi){for(;f<m;){var w=f+m>>>1,k=r[w];k!==null&&!Gt(k)&&(s?k<=o:k<o)?f=w+1:m=w}return m}return _f(r,o,bt,s)}function _f(r,o,s,f){var m=0,w=r==null?0:r.length;if(w===0)return 0;o=s(o);for(var k=o!==o,O=o===null,I=Gt(o),D=o===n;m<w;){var z=rs((m+w)/2),W=s(r[z]),V=W!==n,Z=W===null,ee=W===W,ae=Gt(W);if(k)var te=f||ee;else D?te=ee&&(f||V):O?te=ee&&V&&(f||!Z):I?te=ee&&V&&!Z&&(f||!ae):Z||ae?te=!1:te=f?W<=o:W<o;te?m=z+1:w=z}return gt(w,qe)}function T0(r,o){for(var s=-1,f=r.length,m=0,w=[];++s<f;){var k=r[s],O=o?o(k):k;if(!s||!An(O,I)){var I=O;w[m++]=k===0?0:k}}return w}function A0(r){return typeof r=="number"?r:Gt(r)?oe:+r}function Vt(r){if(typeof r=="string")return r;if(le(r))return be(r,Vt)+"";if(Gt(r))return s0?s0.call(r):"";var o=r+"";return o=="0"&&1/r==-kn?"-0":o}function Ar(r,o,s){var f=-1,m=ju,w=r.length,k=!0,O=[],I=O;if(s)k=!1,m=Yc;else if(w>=l){var D=o?null:Vx(r);if(D)return Vu(D);k=!1,m=cl,I=new hi}else I=o?[]:O;e:for(;++f<w;){var z=r[f],W=o?o(z):z;if(z=s||z!==0?z:0,k&&W===W){for(var V=I.length;V--;)if(I[V]===W)continue e;o&&I.push(W),O.push(z)}else m(I,W,s)||(I!==O&&I.push(W),O.push(z))}return O}function Ef(r,o){return o=Ir(o,r),r=ig(r,o),r==null||delete r[Hn(mn(o))]}function I0(r,o,s,f){return Sl(r,o,s(gi(r,o)),f)}function ds(r,o,s,f){for(var m=r.length,w=f?m:-1;(f?w--:++w<m)&&o(r[w],w,r););return s?hn(r,f?0:w,f?w+1:m):hn(r,f?w+1:0,f?m:w)}function L0(r,o){var s=r;return s instanceof pe&&(s=s.value()),Xc(o,function(f,m){return m.func.apply(m.thisArg,Pr([f],m.args))},s)}function xf(r,o,s){var f=r.length;if(f<2)return f?Ar(r[0]):[];for(var m=-1,w=b(f);++m<f;)for(var k=r[m],O=-1;++O<f;)O!=m&&(w[m]=vl(w[m]||k,r[O],o,s));return Ar(ft(w,1),o,s)}function N0(r,o,s){for(var f=-1,m=r.length,w=o.length,k={};++f<m;){var O=f<w?o[f]:n;s(k,r[f],O)}return k}function Cf(r){return Qe(r)?r:[]}function kf(r){return typeof r=="function"?r:bt}function Ir(r,o){return le(r)?r:Bf(r,o)?[r]:sg(_e(r))}var Fx=fe;function Lr(r,o,s){var f=r.length;return s=s===n?f:s,!o&&s>=f?r:hn(r,o,s)}var B0=xE||function(r){return ct.clearTimeout(r)};function b0(r,o){if(o)return r.slice();var s=r.length,f=n0?n0(s):new r.constructor(s);return r.copy(f),f}function Pf(r){var o=new r.constructor(r.byteLength);return new Zu(o).set(new Zu(r)),o}function Mx(r,o){var s=o?Pf(r.buffer):r.buffer;return new r.constructor(s,r.byteOffset,r.byteLength)}function Dx(r){var o=new r.constructor(r.source,ym.exec(r));return o.lastIndex=r.lastIndex,o}function $x(r){return ml?Te(ml.call(r)):{}}function F0(r,o){var s=o?Pf(r.buffer):r.buffer;return new r.constructor(s,r.byteOffset,r.length)}function M0(r,o){if(r!==o){var s=r!==n,f=r===null,m=r===r,w=Gt(r),k=o!==n,O=o===null,I=o===o,D=Gt(o);if(!O&&!D&&!w&&r>o||w&&k&&I&&!O&&!D||f&&k&&I||!s&&I||!m)return 1;if(!f&&!w&&!D&&r<o||D&&s&&m&&!f&&!w||O&&s&&m||!k&&m||!I)return-1}return 0}function zx(r,o,s){for(var f=-1,m=r.criteria,w=o.criteria,k=m.length,O=s.length;++f<k;){var I=M0(m[f],w[f]);if(I){if(f>=O)return I;var D=s[f];return I*(D=="desc"?-1:1)}}return r.index-o.index}function D0(r,o,s,f){for(var m=-1,w=r.length,k=s.length,O=-1,I=o.length,D=nt(w-k,0),z=b(I+D),W=!f;++O<I;)z[O]=o[O];for(;++m<k;)(W||m<w)&&(z[s[m]]=r[m]);for(;D--;)z[O++]=r[m++];return z}function $0(r,o,s,f){for(var m=-1,w=r.length,k=-1,O=s.length,I=-1,D=o.length,z=nt(w-O,0),W=b(z+D),V=!f;++m<z;)W[m]=r[m];for(var Z=m;++I<D;)W[Z+I]=o[I];for(;++k<O;)(V||m<w)&&(W[Z+s[k]]=r[m++]);return W}function Lt(r,o){var s=-1,f=r.length;for(o||(o=b(f));++s<f;)o[s]=r[s];return o}function Wn(r,o,s,f){var m=!s;s||(s={});for(var w=-1,k=o.length;++w<k;){var O=o[w],I=f?f(s[O],r[O],O,s,r):n;I===n&&(I=r[O]),m?or(s,O,I):gl(s,O,I)}return s}function Ux(r,o){return Wn(r,Nf(r),o)}function Wx(r,o){return Wn(r,Z0(r),o)}function ps(r,o){return function(s,f){var m=le(s)?G2:cx,w=o?o():{};return m(s,r,J(f,2),w)}}function Zi(r){return fe(function(o,s){var f=-1,m=s.length,w=m>1?s[m-1]:n,k=m>2?s[2]:n;for(w=r.length>3&&typeof w=="function"?(m--,w):n,k&&Ct(s[0],s[1],k)&&(w=m<3?n:w,m=1),o=Te(o);++f<m;){var O=s[f];O&&r(o,O,f,w)}return o})}function z0(r,o){return function(s,f){if(s==null)return s;if(!Nt(s))return r(s,f);for(var m=s.length,w=o?m:-1,k=Te(s);(o?w--:++w<m)&&f(k[w],w,k)!==!1;);return s}}function U0(r){return function(o,s,f){for(var m=-1,w=Te(o),k=f(o),O=k.length;O--;){var I=k[r?O:++m];if(s(w[I],I,w)===!1)break}return o}}function Hx(r,o,s){var f=o&L,m=_l(r);function w(){var k=this&&this!==ct&&this instanceof w?m:r;return k.apply(f?s:this,arguments)}return w}function W0(r){return function(o){o=_e(o);var s=Ki(o)?On(o):n,f=s?s[0]:o.charAt(0),m=s?Lr(s,1).join(""):o.slice(1);return f[r]()+m}}function Ji(r){return function(o){return Xc(zg($g(o).replace(N2,"")),r,"")}}function _l(r){return function(){var o=arguments;switch(o.length){case 0:return new r;case 1:return new r(o[0]);case 2:return new r(o[0],o[1]);case 3:return new r(o[0],o[1],o[2]);case 4:return new r(o[0],o[1],o[2],o[3]);case 5:return new r(o[0],o[1],o[2],o[3],o[4]);case 6:return new r(o[0],o[1],o[2],o[3],o[4],o[5]);case 7:return new r(o[0],o[1],o[2],o[3],o[4],o[5],o[6])}var s=qi(r.prototype),f=r.apply(s,o);return $e(f)?f:s}}function jx(r,o,s){var f=_l(r);function m(){for(var w=arguments.length,k=b(w),O=w,I=eo(m);O--;)k[O]=arguments[O];var D=w<3&&k[0]!==I&&k[w-1]!==I?[]:Rr(k,I);if(w-=D.length,w<s)return G0(r,o,hs,m.placeholder,n,k,D,n,n,s-w);var z=this&&this!==ct&&this instanceof m?f:r;return jt(z,this,k)}return m}function H0(r){return function(o,s,f){var m=Te(o);if(!Nt(o)){var w=J(s,3);o=lt(o),s=function(O){return w(m[O],O,m)}}var k=r(o,s,f);return k>-1?m[w?o[k]:k]:n}}function j0(r){return ur(function(o){var s=o.length,f=s,m=dn.prototype.thru;for(r&&o.reverse();f--;){var w=o[f];if(typeof w!="function")throw new fn(a);if(m&&!k&&ys(w)=="wrapper")var k=new dn([],!0)}for(f=k?f:s;++f<s;){w=o[f];var O=ys(w),I=O=="wrapper"?If(w):n;I&&bf(I[0])&&I[1]==(N|x|B|U)&&!I[4].length&&I[9]==1?k=k[ys(I[0])].apply(k,I[3]):k=w.length==1&&bf(w)?k[O]():k.thru(w)}return function(){var D=arguments,z=D[0];if(k&&D.length==1&&le(z))return k.plant(z).value();for(var W=0,V=s?o[W].apply(this,D):z;++W<s;)V=o[W].call(this,V);return V}})}function hs(r,o,s,f,m,w,k,O,I,D){var z=o&N,W=o&L,V=o&_,Z=o&(x|T),ee=o&K,ae=V?n:_l(r);function te(){for(var de=arguments.length,me=b(de),Qt=de;Qt--;)me[Qt]=arguments[Qt];if(Z)var kt=eo(te),Yt=nE(me,kt);if(f&&(me=D0(me,f,m,Z)),w&&(me=$0(me,w,k,Z)),de-=Yt,Z&&de<D){var Ye=Rr(me,kt);return G0(r,o,hs,te.placeholder,s,me,Ye,O,I,D-de)}var In=W?s:this,fr=V?In[r]:r;return de=me.length,O?me=cC(me,O):ee&&de>1&&me.reverse(),z&&I<de&&(me.length=I),this&&this!==ct&&this instanceof te&&(fr=ae||_l(fr)),fr.apply(In,me)}return te}function K0(r,o){return function(s,f){return yx(s,r,o(f),{})}}function ms(r,o){return function(s,f){var m;if(s===n&&f===n)return o;if(s!==n&&(m=s),f!==n){if(m===n)return f;typeof s=="string"||typeof f=="string"?(s=Vt(s),f=Vt(f)):(s=A0(s),f=A0(f)),m=r(s,f)}return m}}function Rf(r){return ur(function(o){return o=be(o,Kt(J())),fe(function(s){var f=this;return r(o,function(m){return jt(m,f,s)})})})}function gs(r,o){o=o===n?" ":Vt(o);var s=o.length;if(s<2)return s?Sf(o,r):o;var f=Sf(o,ns(r/Vi(o)));return Ki(o)?Lr(On(f),0,r).join(""):f.slice(0,r)}function Kx(r,o,s,f){var m=o&L,w=_l(r);function k(){for(var O=-1,I=arguments.length,D=-1,z=f.length,W=b(z+I),V=this&&this!==ct&&this instanceof k?w:r;++D<z;)W[D]=f[D];for(;I--;)W[D++]=arguments[++O];return jt(V,m?s:this,W)}return k}function V0(r){return function(o,s,f){return f&&typeof f!="number"&&Ct(o,s,f)&&(s=f=n),o=cr(o),s===n?(s=o,o=0):s=cr(s),f=f===n?o<s?1:-1:cr(f),Ax(o,s,f,r)}}function vs(r){return function(o,s){return typeof o=="string"&&typeof s=="string"||(o=gn(o),s=gn(s)),r(o,s)}}function G0(r,o,s,f,m,w,k,O,I,D){var z=o&x,W=z?k:n,V=z?n:k,Z=z?w:n,ee=z?n:w;o|=z?B:F,o&=~(z?F:B),o&E||(o&=~(L|_));var ae=[r,o,m,Z,W,ee,V,O,I,D],te=s.apply(n,ae);return bf(r)&&og(te,ae),te.placeholder=f,lg(te,r,o)}function Of(r){var o=tt[r];return function(s,f){if(s=gn(s),f=f==null?0:gt(ue(f),292),f&&l0(s)){var m=(_e(s)+"e").split("e"),w=o(m[0]+"e"+(+m[1]+f));return m=(_e(w)+"e").split("e"),+(m[0]+"e"+(+m[1]-f))}return o(s)}}var Vx=Yi&&1/Vu(new Yi([,-0]))[1]==kn?function(r){return new Yi(r)}:Xf;function Q0(r){return function(o){var s=vt(o);return s==Pn?rf(o):s==Rn?aE(o):tE(o,r(o))}}function lr(r,o,s,f,m,w,k,O){var I=o&_;if(!I&&typeof r!="function")throw new fn(a);var D=f?f.length:0;if(D||(o&=~(B|F),f=m=n),k=k===n?k:nt(ue(k),0),O=O===n?O:ue(O),D-=m?m.length:0,o&F){var z=f,W=m;f=m=n}var V=I?n:If(r),Z=[r,o,s,f,m,z,W,w,k,O];if(V&&uC(Z,V),r=Z[0],o=Z[1],s=Z[2],f=Z[3],m=Z[4],O=Z[9]=Z[9]===n?I?0:r.length:nt(Z[9]-D,0),!O&&o&(x|T)&&(o&=~(x|T)),!o||o==L)var ee=Hx(r,o,s);else o==x||o==T?ee=jx(r,o,O):(o==B||o==(L|B))&&!m.length?ee=Kx(r,o,s,f):ee=hs.apply(n,Z);var ae=V?O0:og;return lg(ae(ee,Z),r,o)}function Y0(r,o,s,f){return r===n||An(r,Qi[s])&&!Ce.call(f,s)?o:r}function X0(r,o,s,f,m,w){return $e(r)&&$e(o)&&(w.set(o,r),cs(r,o,n,X0,w),w.delete(o)),r}function Gx(r){return Cl(r)?n:r}function q0(r,o,s,f,m,w){var k=s&P,O=r.length,I=o.length;if(O!=I&&!(k&&I>O))return!1;var D=w.get(r),z=w.get(o);if(D&&z)return D==o&&z==r;var W=-1,V=!0,Z=s&C?new hi:n;for(w.set(r,o),w.set(o,r);++W<O;){var ee=r[W],ae=o[W];if(f)var te=k?f(ae,ee,W,o,r,w):f(ee,ae,W,r,o,w);if(te!==n){if(te)continue;V=!1;break}if(Z){if(!qc(o,function(de,me){if(!cl(Z,me)&&(ee===de||m(ee,de,s,f,w)))return Z.push(me)})){V=!1;break}}else if(!(ee===ae||m(ee,ae,s,f,w))){V=!1;break}}return w.delete(r),w.delete(o),V}function Qx(r,o,s,f,m,w,k){switch(s){case Wi:if(r.byteLength!=o.byteLength||r.byteOffset!=o.byteOffset)return!1;r=r.buffer,o=o.buffer;case al:return!(r.byteLength!=o.byteLength||!w(new Zu(r),new Zu(o)));case rl:case il:case ol:return An(+r,+o);case Du:return r.name==o.name&&r.message==o.message;case ll:case ul:return r==o+"";case Pn:var O=rf;case Rn:var I=f&P;if(O||(O=Vu),r.size!=o.size&&!I)return!1;var D=k.get(r);if(D)return D==o;f|=C,k.set(r,o);var z=q0(O(r),O(o),f,m,w,k);return k.delete(r),z;case zu:if(ml)return ml.call(r)==ml.call(o)}return!1}function Yx(r,o,s,f,m,w){var k=s&P,O=Tf(r),I=O.length,D=Tf(o),z=D.length;if(I!=z&&!k)return!1;for(var W=I;W--;){var V=O[W];if(!(k?V in o:Ce.call(o,V)))return!1}var Z=w.get(r),ee=w.get(o);if(Z&&ee)return Z==o&&ee==r;var ae=!0;w.set(r,o),w.set(o,r);for(var te=k;++W<I;){V=O[W];var de=r[V],me=o[V];if(f)var Qt=k?f(me,de,V,o,r,w):f(de,me,V,r,o,w);if(!(Qt===n?de===me||m(de,me,s,f,w):Qt)){ae=!1;break}te||(te=V=="constructor")}if(ae&&!te){var kt=r.constructor,Yt=o.constructor;kt!=Yt&&"constructor"in r&&"constructor"in o&&!(typeof kt=="function"&&kt instanceof kt&&typeof Yt=="function"&&Yt instanceof Yt)&&(ae=!1)}return w.delete(r),w.delete(o),ae}function ur(r){return Mf(rg(r,n,dg),r+"")}function Tf(r){return v0(r,lt,Nf)}function Af(r){return v0(r,Bt,Z0)}var If=is?function(r){return is.get(r)}:Xf;function ys(r){for(var o=r.name+"",s=Xi[o],f=Ce.call(Xi,o)?s.length:0;f--;){var m=s[f],w=m.func;if(w==null||w==r)return m.name}return o}function eo(r){var o=Ce.call(v,"placeholder")?v:r;return o.placeholder}function J(){var r=v.iteratee||Qf;return r=r===Qf?S0:r,arguments.length?r(arguments[0],arguments[1]):r}function ws(r,o){var s=r.__data__;return rC(o)?s[typeof o=="string"?"string":"hash"]:s.map}function Lf(r){for(var o=lt(r),s=o.length;s--;){var f=o[s],m=r[f];o[s]=[f,m,tg(m)]}return o}function vi(r,o){var s=lE(r,o);return w0(s)?s:n}function Xx(r){var o=Ce.call(r,di),s=r[di];try{r[di]=n;var f=!0}catch(w){}var m=Xu.call(r);return f&&(o?r[di]=s:delete r[di]),m}var Nf=lf?function(r){return r==null?[]:(r=Te(r),kr(lf(r),function(o){return i0.call(r,o)}))}:qf,Z0=lf?function(r){for(var o=[];r;)Pr(o,Nf(r)),r=Ju(r);return o}:qf,vt=xt;(uf&&vt(new uf(new ArrayBuffer(1)))!=Wi||dl&&vt(new dl)!=Pn||sf&&vt(sf.resolve())!=hm||Yi&&vt(new Yi)!=Rn||pl&&vt(new pl)!=sl)&&(vt=function(r){var o=xt(r),s=o==nr?r.constructor:n,f=s?yi(s):"";if(f)switch(f){case LE:return Wi;case NE:return Pn;case BE:return hm;case bE:return Rn;case FE:return sl}return o});function qx(r,o,s){for(var f=-1,m=s.length;++f<m;){var w=s[f],k=w.size;switch(w.type){case"drop":r+=k;break;case"dropRight":o-=k;break;case"take":o=gt(o,r+k);break;case"takeRight":r=nt(r,o-k);break}}return{start:r,end:o}}function Zx(r){var o=r.match(i2);return o?o[1].split(o2):[]}function J0(r,o,s){o=Ir(o,r);for(var f=-1,m=o.length,w=!1;++f<m;){var k=Hn(o[f]);if(!(w=r!=null&&s(r,k)))break;r=r[k]}return w||++f!=m?w:(m=r==null?0:r.length,!!m&&Ps(m)&&sr(k,m)&&(le(r)||wi(r)))}function Jx(r){var o=r.length,s=new r.constructor(o);return o&&typeof r[0]=="string"&&Ce.call(r,"index")&&(s.index=r.index,s.input=r.input),s}function eg(r){return typeof r.constructor=="function"&&!El(r)?qi(Ju(r)):{}}function eC(r,o,s){var f=r.constructor;switch(o){case al:return Pf(r);case rl:case il:return new f(+r);case Wi:return Mx(r,s);case Ic:case Lc:case Nc:case Bc:case bc:case Fc:case Mc:case Dc:case $c:return F0(r,s);case Pn:return new f;case ol:case ul:return new f(r);case ll:return Dx(r);case Rn:return new f;case zu:return $x(r)}}function tC(r,o){var s=o.length;if(!s)return r;var f=s-1;return o[f]=(s>1?"& ":"")+o[f],o=o.join(s>2?", ":" "),r.replace(r2,`{
|
|
75
|
+
/* [wrapped with `+o+`] */
|
|
76
|
+
`)}function nC(r){return le(r)||wi(r)||!!(o0&&r&&r[o0])}function sr(r,o){var s=typeof r;return o=o==null?Q:o,!!o&&(s=="number"||s!="symbol"&&h2.test(r))&&r>-1&&r%1==0&&r<o}function Ct(r,o,s){if(!$e(s))return!1;var f=typeof o;return(f=="number"?Nt(s)&&sr(o,s.length):f=="string"&&o in s)?An(s[o],r):!1}function Bf(r,o){if(le(r))return!1;var s=typeof r;return s=="number"||s=="symbol"||s=="boolean"||r==null||Gt(r)?!0:J_.test(r)||!Z_.test(r)||o!=null&&r in Te(o)}function rC(r){var o=typeof r;return o=="string"||o=="number"||o=="symbol"||o=="boolean"?r!=="__proto__":r===null}function bf(r){var o=ys(r),s=v[o];if(typeof s!="function"||!(o in pe.prototype))return!1;if(r===s)return!0;var f=If(s);return!!f&&r===f[0]}function iC(r){return!!t0&&t0 in r}var oC=Qu?ar:Zf;function El(r){var o=r&&r.constructor,s=typeof o=="function"&&o.prototype||Qi;return r===s}function tg(r){return r===r&&!$e(r)}function ng(r,o){return function(s){return s==null?!1:s[r]===o&&(o!==n||r in Te(s))}}function lC(r){var o=Cs(r,function(f){return s.size===p&&s.clear(),f}),s=o.cache;return o}function uC(r,o){var s=r[1],f=o[1],m=s|f,w=m<(L|_|N),k=f==N&&s==x||f==N&&s==U&&r[7].length<=o[8]||f==(N|U)&&o[7].length<=o[8]&&s==x;if(!(w||k))return r;f&L&&(r[2]=o[2],m|=s&L?0:E);var O=o[3];if(O){var I=r[3];r[3]=I?D0(I,O,o[4]):O,r[4]=I?Rr(r[3],g):o[4]}return O=o[5],O&&(I=r[5],r[5]=I?$0(I,O,o[6]):O,r[6]=I?Rr(r[5],g):o[6]),O=o[7],O&&(r[7]=O),f&N&&(r[8]=r[8]==null?o[8]:gt(r[8],o[8])),r[9]==null&&(r[9]=o[9]),r[0]=o[0],r[1]=m,r}function sC(r){var o=[];if(r!=null)for(var s in Te(r))o.push(s);return o}function aC(r){return Xu.call(r)}function rg(r,o,s){return o=nt(o===n?r.length-1:o,0),function(){for(var f=arguments,m=-1,w=nt(f.length-o,0),k=b(w);++m<w;)k[m]=f[o+m];m=-1;for(var O=b(o+1);++m<o;)O[m]=f[m];return O[o]=s(k),jt(r,this,O)}}function ig(r,o){return o.length<2?r:gi(r,hn(o,0,-1))}function cC(r,o){for(var s=r.length,f=gt(o.length,s),m=Lt(r);f--;){var w=o[f];r[f]=sr(w,s)?m[w]:n}return r}function Ff(r,o){if(!(o==="constructor"&&typeof r[o]=="function")&&o!="__proto__")return r[o]}var og=ug(O0),xl=kE||function(r,o){return ct.setTimeout(r,o)},Mf=ug(Nx);function lg(r,o,s){var f=o+"";return Mf(r,tC(f,fC(Zx(f),s)))}function ug(r){var o=0,s=0;return function(){var f=TE(),m=Re-(f-s);if(s=f,m>0){if(++o>=ve)return arguments[0]}else o=0;return r.apply(n,arguments)}}function Ss(r,o){var s=-1,f=r.length,m=f-1;for(o=o===n?f:o;++s<o;){var w=wf(s,m),k=r[w];r[w]=r[s],r[s]=k}return r.length=o,r}var sg=lC(function(r){var o=[];return r.charCodeAt(0)===46&&o.push(""),r.replace(e2,function(s,f,m,w){o.push(m?w.replace(s2,"$1"):f||s)}),o});function Hn(r){if(typeof r=="string"||Gt(r))return r;var o=r+"";return o=="0"&&1/r==-kn?"-0":o}function yi(r){if(r!=null){try{return Yu.call(r)}catch(o){}try{return r+""}catch(o){}}return""}function fC(r,o){return cn(tr,function(s){var f="_."+s[0];o&s[1]&&!ju(r,f)&&r.push(f)}),r.sort()}function ag(r){if(r instanceof pe)return r.clone();var o=new dn(r.__wrapped__,r.__chain__);return o.__actions__=Lt(r.__actions__),o.__index__=r.__index__,o.__values__=r.__values__,o}function dC(r,o,s){(s?Ct(r,o,s):o===n)?o=1:o=nt(ue(o),0);var f=r==null?0:r.length;if(!f||o<1)return[];for(var m=0,w=0,k=b(ns(f/o));m<f;)k[w++]=hn(r,m,m+=o);return k}function pC(r){for(var o=-1,s=r==null?0:r.length,f=0,m=[];++o<s;){var w=r[o];w&&(m[f++]=w)}return m}function hC(){var r=arguments.length;if(!r)return[];for(var o=b(r-1),s=arguments[0],f=r;f--;)o[f-1]=arguments[f];return Pr(le(s)?Lt(s):[s],ft(o,1))}var mC=fe(function(r,o){return Qe(r)?vl(r,ft(o,1,Qe,!0)):[]}),gC=fe(function(r,o){var s=mn(o);return Qe(s)&&(s=n),Qe(r)?vl(r,ft(o,1,Qe,!0),J(s,2)):[]}),vC=fe(function(r,o){var s=mn(o);return Qe(s)&&(s=n),Qe(r)?vl(r,ft(o,1,Qe,!0),n,s):[]});function yC(r,o,s){var f=r==null?0:r.length;return f?(o=s||o===n?1:ue(o),hn(r,o<0?0:o,f)):[]}function wC(r,o,s){var f=r==null?0:r.length;return f?(o=s||o===n?1:ue(o),o=f-o,hn(r,0,o<0?0:o)):[]}function SC(r,o){return r&&r.length?ds(r,J(o,3),!0,!0):[]}function _C(r,o){return r&&r.length?ds(r,J(o,3),!0):[]}function EC(r,o,s,f){var m=r==null?0:r.length;return m?(s&&typeof s!="number"&&Ct(r,o,s)&&(s=0,f=m),hx(r,o,s,f)):[]}function cg(r,o,s){var f=r==null?0:r.length;if(!f)return-1;var m=s==null?0:ue(s);return m<0&&(m=nt(f+m,0)),Ku(r,J(o,3),m)}function fg(r,o,s){var f=r==null?0:r.length;if(!f)return-1;var m=f-1;return s!==n&&(m=ue(s),m=s<0?nt(f+m,0):gt(m,f-1)),Ku(r,J(o,3),m,!0)}function dg(r){var o=r==null?0:r.length;return o?ft(r,1):[]}function xC(r){var o=r==null?0:r.length;return o?ft(r,kn):[]}function CC(r,o){var s=r==null?0:r.length;return s?(o=o===n?1:ue(o),ft(r,o)):[]}function kC(r){for(var o=-1,s=r==null?0:r.length,f={};++o<s;){var m=r[o];f[m[0]]=m[1]}return f}function pg(r){return r&&r.length?r[0]:n}function PC(r,o,s){var f=r==null?0:r.length;if(!f)return-1;var m=s==null?0:ue(s);return m<0&&(m=nt(f+m,0)),ji(r,o,m)}function RC(r){var o=r==null?0:r.length;return o?hn(r,0,-1):[]}var OC=fe(function(r){var o=be(r,Cf);return o.length&&o[0]===r[0]?hf(o):[]}),TC=fe(function(r){var o=mn(r),s=be(r,Cf);return o===mn(s)?o=n:s.pop(),s.length&&s[0]===r[0]?hf(s,J(o,2)):[]}),AC=fe(function(r){var o=mn(r),s=be(r,Cf);return o=typeof o=="function"?o:n,o&&s.pop(),s.length&&s[0]===r[0]?hf(s,n,o):[]});function IC(r,o){return r==null?"":RE.call(r,o)}function mn(r){var o=r==null?0:r.length;return o?r[o-1]:n}function LC(r,o,s){var f=r==null?0:r.length;if(!f)return-1;var m=f;return s!==n&&(m=ue(s),m=m<0?nt(f+m,0):gt(m,f-1)),o===o?fE(r,o,m):Ku(r,Gm,m,!0)}function NC(r,o){return r&&r.length?C0(r,ue(o)):n}var BC=fe(hg);function hg(r,o){return r&&r.length&&o&&o.length?yf(r,o):r}function bC(r,o,s){return r&&r.length&&o&&o.length?yf(r,o,J(s,2)):r}function FC(r,o,s){return r&&r.length&&o&&o.length?yf(r,o,n,s):r}var MC=ur(function(r,o){var s=r==null?0:r.length,f=cf(r,o);return R0(r,be(o,function(m){return sr(m,s)?+m:m}).sort(M0)),f});function DC(r,o){var s=[];if(!(r&&r.length))return s;var f=-1,m=[],w=r.length;for(o=J(o,3);++f<w;){var k=r[f];o(k,f,r)&&(s.push(k),m.push(f))}return R0(r,m),s}function Df(r){return r==null?r:IE.call(r)}function $C(r,o,s){var f=r==null?0:r.length;return f?(s&&typeof s!="number"&&Ct(r,o,s)?(o=0,s=f):(o=o==null?0:ue(o),s=s===n?f:ue(s)),hn(r,o,s)):[]}function zC(r,o){return fs(r,o)}function UC(r,o,s){return _f(r,o,J(s,2))}function WC(r,o){var s=r==null?0:r.length;if(s){var f=fs(r,o);if(f<s&&An(r[f],o))return f}return-1}function HC(r,o){return fs(r,o,!0)}function jC(r,o,s){return _f(r,o,J(s,2),!0)}function KC(r,o){var s=r==null?0:r.length;if(s){var f=fs(r,o,!0)-1;if(An(r[f],o))return f}return-1}function VC(r){return r&&r.length?T0(r):[]}function GC(r,o){return r&&r.length?T0(r,J(o,2)):[]}function QC(r){var o=r==null?0:r.length;return o?hn(r,1,o):[]}function YC(r,o,s){return r&&r.length?(o=s||o===n?1:ue(o),hn(r,0,o<0?0:o)):[]}function XC(r,o,s){var f=r==null?0:r.length;return f?(o=s||o===n?1:ue(o),o=f-o,hn(r,o<0?0:o,f)):[]}function qC(r,o){return r&&r.length?ds(r,J(o,3),!1,!0):[]}function ZC(r,o){return r&&r.length?ds(r,J(o,3)):[]}var JC=fe(function(r){return Ar(ft(r,1,Qe,!0))}),e3=fe(function(r){var o=mn(r);return Qe(o)&&(o=n),Ar(ft(r,1,Qe,!0),J(o,2))}),t3=fe(function(r){var o=mn(r);return o=typeof o=="function"?o:n,Ar(ft(r,1,Qe,!0),n,o)});function n3(r){return r&&r.length?Ar(r):[]}function r3(r,o){return r&&r.length?Ar(r,J(o,2)):[]}function i3(r,o){return o=typeof o=="function"?o:n,r&&r.length?Ar(r,n,o):[]}function $f(r){if(!(r&&r.length))return[];var o=0;return r=kr(r,function(s){if(Qe(s))return o=nt(s.length,o),!0}),tf(o,function(s){return be(r,Zc(s))})}function mg(r,o){if(!(r&&r.length))return[];var s=$f(r);return o==null?s:be(s,function(f){return jt(o,n,f)})}var o3=fe(function(r,o){return Qe(r)?vl(r,o):[]}),l3=fe(function(r){return xf(kr(r,Qe))}),u3=fe(function(r){var o=mn(r);return Qe(o)&&(o=n),xf(kr(r,Qe),J(o,2))}),s3=fe(function(r){var o=mn(r);return o=typeof o=="function"?o:n,xf(kr(r,Qe),n,o)}),a3=fe($f);function c3(r,o){return N0(r||[],o||[],gl)}function f3(r,o){return N0(r||[],o||[],Sl)}var d3=fe(function(r){var o=r.length,s=o>1?r[o-1]:n;return s=typeof s=="function"?(r.pop(),s):n,mg(r,s)});function gg(r){var o=v(r);return o.__chain__=!0,o}function p3(r,o){return o(r),r}function _s(r,o){return o(r)}var h3=ur(function(r){var o=r.length,s=o?r[0]:0,f=this.__wrapped__,m=function(w){return cf(w,r)};return o>1||this.__actions__.length||!(f instanceof pe)||!sr(s)?this.thru(m):(f=f.slice(s,+s+(o?1:0)),f.__actions__.push({func:_s,args:[m],thisArg:n}),new dn(f,this.__chain__).thru(function(w){return o&&!w.length&&w.push(n),w}))});function m3(){return gg(this)}function g3(){return new dn(this.value(),this.__chain__)}function v3(){this.__values__===n&&(this.__values__=Ag(this.value()));var r=this.__index__>=this.__values__.length,o=r?n:this.__values__[this.__index__++];return{done:r,value:o}}function y3(){return this}function w3(r){for(var o,s=this;s instanceof ls;){var f=ag(s);f.__index__=0,f.__values__=n,o?m.__wrapped__=f:o=f;var m=f;s=s.__wrapped__}return m.__wrapped__=r,o}function S3(){var r=this.__wrapped__;if(r instanceof pe){var o=r;return this.__actions__.length&&(o=new pe(this)),o=o.reverse(),o.__actions__.push({func:_s,args:[Df],thisArg:n}),new dn(o,this.__chain__)}return this.thru(Df)}function _3(){return L0(this.__wrapped__,this.__actions__)}var E3=ps(function(r,o,s){Ce.call(r,s)?++r[s]:or(r,s,1)});function x3(r,o,s){var f=le(r)?Km:px;return s&&Ct(r,o,s)&&(o=n),f(r,J(o,3))}function C3(r,o){var s=le(r)?kr:m0;return s(r,J(o,3))}var k3=H0(cg),P3=H0(fg);function R3(r,o){return ft(Es(r,o),1)}function O3(r,o){return ft(Es(r,o),kn)}function T3(r,o,s){return s=s===n?1:ue(s),ft(Es(r,o),s)}function vg(r,o){var s=le(r)?cn:Tr;return s(r,J(o,3))}function yg(r,o){var s=le(r)?Q2:h0;return s(r,J(o,3))}var A3=ps(function(r,o,s){Ce.call(r,s)?r[s].push(o):or(r,s,[o])});function I3(r,o,s,f){r=Nt(r)?r:no(r),s=s&&!f?ue(s):0;var m=r.length;return s<0&&(s=nt(m+s,0)),Rs(r)?s<=m&&r.indexOf(o,s)>-1:!!m&&ji(r,o,s)>-1}var L3=fe(function(r,o,s){var f=-1,m=typeof o=="function",w=Nt(r)?b(r.length):[];return Tr(r,function(k){w[++f]=m?jt(o,k,s):yl(k,o,s)}),w}),N3=ps(function(r,o,s){or(r,s,o)});function Es(r,o){var s=le(r)?be:_0;return s(r,J(o,3))}function B3(r,o,s,f){return r==null?[]:(le(o)||(o=o==null?[]:[o]),s=f?n:s,le(s)||(s=s==null?[]:[s]),k0(r,o,s))}var b3=ps(function(r,o,s){r[s?0:1].push(o)},function(){return[[],[]]});function F3(r,o,s){var f=le(r)?Xc:Ym,m=arguments.length<3;return f(r,J(o,4),s,m,Tr)}function M3(r,o,s){var f=le(r)?Y2:Ym,m=arguments.length<3;return f(r,J(o,4),s,m,h0)}function D3(r,o){var s=le(r)?kr:m0;return s(r,ks(J(o,3)))}function $3(r){var o=le(r)?c0:Ix;return o(r)}function z3(r,o,s){(s?Ct(r,o,s):o===n)?o=1:o=ue(o);var f=le(r)?sx:Lx;return f(r,o)}function U3(r){var o=le(r)?ax:Bx;return o(r)}function W3(r){if(r==null)return 0;if(Nt(r))return Rs(r)?Vi(r):r.length;var o=vt(r);return o==Pn||o==Rn?r.size:gf(r).length}function H3(r,o,s){var f=le(r)?qc:bx;return s&&Ct(r,o,s)&&(o=n),f(r,J(o,3))}var j3=fe(function(r,o){if(r==null)return[];var s=o.length;return s>1&&Ct(r,o[0],o[1])?o=[]:s>2&&Ct(o[0],o[1],o[2])&&(o=[o[0]]),k0(r,ft(o,1),[])}),xs=CE||function(){return ct.Date.now()};function K3(r,o){if(typeof o!="function")throw new fn(a);return r=ue(r),function(){if(--r<1)return o.apply(this,arguments)}}function wg(r,o,s){return o=s?n:o,o=r&&o==null?r.length:o,lr(r,N,n,n,n,n,o)}function Sg(r,o){var s;if(typeof o!="function")throw new fn(a);return r=ue(r),function(){return--r>0&&(s=o.apply(this,arguments)),r<=1&&(o=n),s}}var zf=fe(function(r,o,s){var f=L;if(s.length){var m=Rr(s,eo(zf));f|=B}return lr(r,f,o,s,m)}),_g=fe(function(r,o,s){var f=L|_;if(s.length){var m=Rr(s,eo(_g));f|=B}return lr(o,f,r,s,m)});function Eg(r,o,s){o=s?n:o;var f=lr(r,x,n,n,n,n,n,o);return f.placeholder=Eg.placeholder,f}function xg(r,o,s){o=s?n:o;var f=lr(r,T,n,n,n,n,n,o);return f.placeholder=xg.placeholder,f}function Cg(r,o,s){var f,m,w,k,O,I,D=0,z=!1,W=!1,V=!0;if(typeof r!="function")throw new fn(a);o=gn(o)||0,$e(s)&&(z=!!s.leading,W="maxWait"in s,w=W?nt(gn(s.maxWait)||0,o):w,V="trailing"in s?!!s.trailing:V);function Z(Ye){var In=f,fr=m;return f=m=n,D=Ye,k=r.apply(fr,In),k}function ee(Ye){return D=Ye,O=xl(de,o),z?Z(Ye):k}function ae(Ye){var In=Ye-I,fr=Ye-D,Hg=o-In;return W?gt(Hg,w-fr):Hg}function te(Ye){var In=Ye-I,fr=Ye-D;return I===n||In>=o||In<0||W&&fr>=w}function de(){var Ye=xs();if(te(Ye))return me(Ye);O=xl(de,ae(Ye))}function me(Ye){return O=n,V&&f?Z(Ye):(f=m=n,k)}function Qt(){O!==n&&B0(O),D=0,f=I=m=O=n}function kt(){return O===n?k:me(xs())}function Yt(){var Ye=xs(),In=te(Ye);if(f=arguments,m=this,I=Ye,In){if(O===n)return ee(I);if(W)return B0(O),O=xl(de,o),Z(I)}return O===n&&(O=xl(de,o)),k}return Yt.cancel=Qt,Yt.flush=kt,Yt}var V3=fe(function(r,o){return p0(r,1,o)}),G3=fe(function(r,o,s){return p0(r,gn(o)||0,s)});function Q3(r){return lr(r,K)}function Cs(r,o){if(typeof r!="function"||o!=null&&typeof o!="function")throw new fn(a);var s=function(){var f=arguments,m=o?o.apply(this,f):f[0],w=s.cache;if(w.has(m))return w.get(m);var k=r.apply(this,f);return s.cache=w.set(m,k)||w,k};return s.cache=new(Cs.Cache||ir),s}Cs.Cache=ir;function ks(r){if(typeof r!="function")throw new fn(a);return function(){var o=arguments;switch(o.length){case 0:return!r.call(this);case 1:return!r.call(this,o[0]);case 2:return!r.call(this,o[0],o[1]);case 3:return!r.call(this,o[0],o[1],o[2])}return!r.apply(this,o)}}function Y3(r){return Sg(2,r)}var X3=Fx(function(r,o){o=o.length==1&&le(o[0])?be(o[0],Kt(J())):be(ft(o,1),Kt(J()));var s=o.length;return fe(function(f){for(var m=-1,w=gt(f.length,s);++m<w;)f[m]=o[m].call(this,f[m]);return jt(r,this,f)})}),Uf=fe(function(r,o){var s=Rr(o,eo(Uf));return lr(r,B,n,o,s)}),kg=fe(function(r,o){var s=Rr(o,eo(kg));return lr(r,F,n,o,s)}),q3=ur(function(r,o){return lr(r,U,n,n,n,o)});function Z3(r,o){if(typeof r!="function")throw new fn(a);return o=o===n?o:ue(o),fe(r,o)}function J3(r,o){if(typeof r!="function")throw new fn(a);return o=o==null?0:nt(ue(o),0),fe(function(s){var f=s[o],m=Lr(s,0,o);return f&&Pr(m,f),jt(r,this,m)})}function ek(r,o,s){var f=!0,m=!0;if(typeof r!="function")throw new fn(a);return $e(s)&&(f="leading"in s?!!s.leading:f,m="trailing"in s?!!s.trailing:m),Cg(r,o,{leading:f,maxWait:o,trailing:m})}function tk(r){return wg(r,1)}function nk(r,o){return Uf(kf(o),r)}function rk(){if(!arguments.length)return[];var r=arguments[0];return le(r)?r:[r]}function ik(r){return pn(r,R)}function ok(r,o){return o=typeof o=="function"?o:n,pn(r,R,o)}function lk(r){return pn(r,y|R)}function uk(r,o){return o=typeof o=="function"?o:n,pn(r,y|R,o)}function sk(r,o){return o==null||d0(r,o,lt(o))}function An(r,o){return r===o||r!==r&&o!==o}var ak=vs(pf),ck=vs(function(r,o){return r>=o}),wi=y0(function(){return arguments}())?y0:function(r){return je(r)&&Ce.call(r,"callee")&&!i0.call(r,"callee")},le=b.isArray,fk=$m?Kt($m):wx;function Nt(r){return r!=null&&Ps(r.length)&&!ar(r)}function Qe(r){return je(r)&&Nt(r)}function dk(r){return r===!0||r===!1||je(r)&&xt(r)==rl}var Nr=PE||Zf,pk=zm?Kt(zm):Sx;function hk(r){return je(r)&&r.nodeType===1&&!Cl(r)}function mk(r){if(r==null)return!0;if(Nt(r)&&(le(r)||typeof r=="string"||typeof r.splice=="function"||Nr(r)||to(r)||wi(r)))return!r.length;var o=vt(r);if(o==Pn||o==Rn)return!r.size;if(El(r))return!gf(r).length;for(var s in r)if(Ce.call(r,s))return!1;return!0}function gk(r,o){return wl(r,o)}function vk(r,o,s){s=typeof s=="function"?s:n;var f=s?s(r,o):n;return f===n?wl(r,o,n,s):!!f}function Wf(r){if(!je(r))return!1;var o=xt(r);return o==Du||o==z_||typeof r.message=="string"&&typeof r.name=="string"&&!Cl(r)}function yk(r){return typeof r=="number"&&l0(r)}function ar(r){if(!$e(r))return!1;var o=xt(r);return o==$u||o==pm||o==Ui||o==W_}function Pg(r){return typeof r=="number"&&r==ue(r)}function Ps(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=Q}function $e(r){var o=typeof r;return r!=null&&(o=="object"||o=="function")}function je(r){return r!=null&&typeof r=="object"}var Rg=Um?Kt(Um):Ex;function wk(r,o){return r===o||mf(r,o,Lf(o))}function Sk(r,o,s){return s=typeof s=="function"?s:n,mf(r,o,Lf(o),s)}function _k(r){return Og(r)&&r!=+r}function Ek(r){if(oC(r))throw new ne(u);return w0(r)}function xk(r){return r===null}function Ck(r){return r==null}function Og(r){return typeof r=="number"||je(r)&&xt(r)==ol}function Cl(r){if(!je(r)||xt(r)!=nr)return!1;var o=Ju(r);if(o===null)return!0;var s=Ce.call(o,"constructor")&&o.constructor;return typeof s=="function"&&s instanceof s&&Yu.call(s)==SE}var Hf=Wm?Kt(Wm):xx;function kk(r){return Pg(r)&&r>=-Q&&r<=Q}var Tg=Hm?Kt(Hm):Cx;function Rs(r){return typeof r=="string"||!le(r)&&je(r)&&xt(r)==ul}function Gt(r){return typeof r=="symbol"||je(r)&&xt(r)==zu}var to=jm?Kt(jm):kx;function Pk(r){return r===n}function Rk(r){return je(r)&&vt(r)==sl}function Ok(r){return je(r)&&xt(r)==j_}var Tk=vs(vf),Ak=vs(function(r,o){return r<=o});function Ag(r){if(!r)return[];if(Nt(r))return Rs(r)?On(r):Lt(r);if(fl&&r[fl])return sE(r[fl]());var o=vt(r),s=o==Pn?rf:o==Rn?Vu:no;return s(r)}function cr(r){if(!r)return r===0?r:0;if(r=gn(r),r===kn||r===-kn){var o=r<0?-1:1;return o*ie}return r===r?r:0}function ue(r){var o=cr(r),s=o%1;return o===o?s?o-s:o:0}function Ig(r){return r?mi(ue(r),0,ye):0}function gn(r){if(typeof r=="number")return r;if(Gt(r))return oe;if($e(r)){var o=typeof r.valueOf=="function"?r.valueOf():r;r=$e(o)?o+"":o}if(typeof r!="string")return r===0?r:+r;r=Xm(r);var s=f2.test(r);return s||p2.test(r)?K2(r.slice(2),s?2:8):c2.test(r)?oe:+r}function Lg(r){return Wn(r,Bt(r))}function Ik(r){return r?mi(ue(r),-Q,Q):r===0?r:0}function _e(r){return r==null?"":Vt(r)}var Lk=Zi(function(r,o){if(El(o)||Nt(o)){Wn(o,lt(o),r);return}for(var s in o)Ce.call(o,s)&&gl(r,s,o[s])}),Ng=Zi(function(r,o){Wn(o,Bt(o),r)}),Os=Zi(function(r,o,s,f){Wn(o,Bt(o),r,f)}),Nk=Zi(function(r,o,s,f){Wn(o,lt(o),r,f)}),Bk=ur(cf);function bk(r,o){var s=qi(r);return o==null?s:f0(s,o)}var Fk=fe(function(r,o){r=Te(r);var s=-1,f=o.length,m=f>2?o[2]:n;for(m&&Ct(o[0],o[1],m)&&(f=1);++s<f;)for(var w=o[s],k=Bt(w),O=-1,I=k.length;++O<I;){var D=k[O],z=r[D];(z===n||An(z,Qi[D])&&!Ce.call(r,D))&&(r[D]=w[D])}return r}),Mk=fe(function(r){return r.push(n,X0),jt(Bg,n,r)});function Dk(r,o){return Vm(r,J(o,3),Un)}function $k(r,o){return Vm(r,J(o,3),df)}function zk(r,o){return r==null?r:ff(r,J(o,3),Bt)}function Uk(r,o){return r==null?r:g0(r,J(o,3),Bt)}function Wk(r,o){return r&&Un(r,J(o,3))}function Hk(r,o){return r&&df(r,J(o,3))}function jk(r){return r==null?[]:as(r,lt(r))}function Kk(r){return r==null?[]:as(r,Bt(r))}function jf(r,o,s){var f=r==null?n:gi(r,o);return f===n?s:f}function Vk(r,o){return r!=null&&J0(r,o,mx)}function Kf(r,o){return r!=null&&J0(r,o,gx)}var Gk=K0(function(r,o,s){o!=null&&typeof o.toString!="function"&&(o=Xu.call(o)),r[o]=s},Gf(bt)),Qk=K0(function(r,o,s){o!=null&&typeof o.toString!="function"&&(o=Xu.call(o)),Ce.call(r,o)?r[o].push(s):r[o]=[s]},J),Yk=fe(yl);function lt(r){return Nt(r)?a0(r):gf(r)}function Bt(r){return Nt(r)?a0(r,!0):Px(r)}function Xk(r,o){var s={};return o=J(o,3),Un(r,function(f,m,w){or(s,o(f,m,w),f)}),s}function qk(r,o){var s={};return o=J(o,3),Un(r,function(f,m,w){or(s,m,o(f,m,w))}),s}var Zk=Zi(function(r,o,s){cs(r,o,s)}),Bg=Zi(function(r,o,s,f){cs(r,o,s,f)}),Jk=ur(function(r,o){var s={};if(r==null)return s;var f=!1;o=be(o,function(w){return w=Ir(w,r),f||(f=w.length>1),w}),Wn(r,Af(r),s),f&&(s=pn(s,y|S|R,Gx));for(var m=o.length;m--;)Ef(s,o[m]);return s});function e4(r,o){return bg(r,ks(J(o)))}var t4=ur(function(r,o){return r==null?{}:Ox(r,o)});function bg(r,o){if(r==null)return{};var s=be(Af(r),function(f){return[f]});return o=J(o),P0(r,s,function(f,m){return o(f,m[0])})}function n4(r,o,s){o=Ir(o,r);var f=-1,m=o.length;for(m||(m=1,r=n);++f<m;){var w=r==null?n:r[Hn(o[f])];w===n&&(f=m,w=s),r=ar(w)?w.call(r):w}return r}function r4(r,o,s){return r==null?r:Sl(r,o,s)}function i4(r,o,s,f){return f=typeof f=="function"?f:n,r==null?r:Sl(r,o,s,f)}var Fg=Q0(lt),Mg=Q0(Bt);function o4(r,o,s){var f=le(r),m=f||Nr(r)||to(r);if(o=J(o,4),s==null){var w=r&&r.constructor;m?s=f?new w:[]:$e(r)?s=ar(w)?qi(Ju(r)):{}:s={}}return(m?cn:Un)(r,function(k,O,I){return o(s,k,O,I)}),s}function l4(r,o){return r==null?!0:Ef(r,o)}function u4(r,o,s){return r==null?r:I0(r,o,kf(s))}function s4(r,o,s,f){return f=typeof f=="function"?f:n,r==null?r:I0(r,o,kf(s),f)}function no(r){return r==null?[]:nf(r,lt(r))}function a4(r){return r==null?[]:nf(r,Bt(r))}function c4(r,o,s){return s===n&&(s=o,o=n),s!==n&&(s=gn(s),s=s===s?s:0),o!==n&&(o=gn(o),o=o===o?o:0),mi(gn(r),o,s)}function f4(r,o,s){return o=cr(o),s===n?(s=o,o=0):s=cr(s),r=gn(r),vx(r,o,s)}function d4(r,o,s){if(s&&typeof s!="boolean"&&Ct(r,o,s)&&(o=s=n),s===n&&(typeof o=="boolean"?(s=o,o=n):typeof r=="boolean"&&(s=r,r=n)),r===n&&o===n?(r=0,o=1):(r=cr(r),o===n?(o=r,r=0):o=cr(o)),r>o){var f=r;r=o,o=f}if(s||r%1||o%1){var m=u0();return gt(r+m*(o-r+j2("1e-"+((m+"").length-1))),o)}return wf(r,o)}var p4=Ji(function(r,o,s){return o=o.toLowerCase(),r+(s?Dg(o):o)});function Dg(r){return Vf(_e(r).toLowerCase())}function $g(r){return r=_e(r),r&&r.replace(m2,rE).replace(B2,"")}function h4(r,o,s){r=_e(r),o=Vt(o);var f=r.length;s=s===n?f:mi(ue(s),0,f);var m=s;return s-=o.length,s>=0&&r.slice(s,m)==o}function m4(r){return r=_e(r),r&&Y_.test(r)?r.replace(gm,iE):r}function g4(r){return r=_e(r),r&&t2.test(r)?r.replace(zc,"\\$&"):r}var v4=Ji(function(r,o,s){return r+(s?"-":"")+o.toLowerCase()}),y4=Ji(function(r,o,s){return r+(s?" ":"")+o.toLowerCase()}),w4=W0("toLowerCase");function S4(r,o,s){r=_e(r),o=ue(o);var f=o?Vi(r):0;if(!o||f>=o)return r;var m=(o-f)/2;return gs(rs(m),s)+r+gs(ns(m),s)}function _4(r,o,s){r=_e(r),o=ue(o);var f=o?Vi(r):0;return o&&f<o?r+gs(o-f,s):r}function E4(r,o,s){r=_e(r),o=ue(o);var f=o?Vi(r):0;return o&&f<o?gs(o-f,s)+r:r}function x4(r,o,s){return s||o==null?o=0:o&&(o=+o),AE(_e(r).replace(Uc,""),o||0)}function C4(r,o,s){return(s?Ct(r,o,s):o===n)?o=1:o=ue(o),Sf(_e(r),o)}function k4(){var r=arguments,o=_e(r[0]);return r.length<3?o:o.replace(r[1],r[2])}var P4=Ji(function(r,o,s){return r+(s?"_":"")+o.toLowerCase()});function R4(r,o,s){return s&&typeof s!="number"&&Ct(r,o,s)&&(o=s=n),s=s===n?ye:s>>>0,s?(r=_e(r),r&&(typeof o=="string"||o!=null&&!Hf(o))&&(o=Vt(o),!o&&Ki(r))?Lr(On(r),0,s):r.split(o,s)):[]}var O4=Ji(function(r,o,s){return r+(s?" ":"")+Vf(o)});function T4(r,o,s){return r=_e(r),s=s==null?0:mi(ue(s),0,r.length),o=Vt(o),r.slice(s,s+o.length)==o}function A4(r,o,s){var f=v.templateSettings;s&&Ct(r,o,s)&&(o=n),r=_e(r),o=Os({},o,f,Y0);var m=Os({},o.imports,f.imports,Y0),w=lt(m),k=nf(m,w),O,I,D=0,z=o.interpolate||Uu,W="__p += '",V=of((o.escape||Uu).source+"|"+z.source+"|"+(z===vm?a2:Uu).source+"|"+(o.evaluate||Uu).source+"|$","g"),Z="//# sourceURL="+(Ce.call(o,"sourceURL")?(o.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++$2+"]")+`
|
|
77
|
+
`;r.replace(V,function(te,de,me,Qt,kt,Yt){return me||(me=Qt),W+=r.slice(D,Yt).replace(g2,oE),de&&(O=!0,W+=`' +
|
|
78
|
+
__e(`+de+`) +
|
|
79
|
+
'`),kt&&(I=!0,W+=`';
|
|
80
|
+
`+kt+`;
|
|
81
|
+
__p += '`),me&&(W+=`' +
|
|
82
|
+
((__t = (`+me+`)) == null ? '' : __t) +
|
|
83
|
+
'`),D=Yt+te.length,te}),W+=`';
|
|
84
|
+
`;var ee=Ce.call(o,"variable")&&o.variable;if(!ee)W=`with (obj) {
|
|
85
|
+
`+W+`
|
|
86
|
+
}
|
|
87
|
+
`;else if(u2.test(ee))throw new ne(c);W=(I?W.replace(K_,""):W).replace(V_,"$1").replace(G_,"$1;"),W="function("+(ee||"obj")+`) {
|
|
88
|
+
`+(ee?"":`obj || (obj = {});
|
|
89
|
+
`)+"var __t, __p = ''"+(O?", __e = _.escape":"")+(I?`, __j = Array.prototype.join;
|
|
90
|
+
function print() { __p += __j.call(arguments, '') }
|
|
91
|
+
`:`;
|
|
92
|
+
`)+W+`return __p
|
|
93
|
+
}`;var ae=Ug(function(){return we(w,Z+"return "+W).apply(n,k)});if(ae.source=W,Wf(ae))throw ae;return ae}function I4(r){return _e(r).toLowerCase()}function L4(r){return _e(r).toUpperCase()}function N4(r,o,s){if(r=_e(r),r&&(s||o===n))return Xm(r);if(!r||!(o=Vt(o)))return r;var f=On(r),m=On(o),w=qm(f,m),k=Zm(f,m)+1;return Lr(f,w,k).join("")}function B4(r,o,s){if(r=_e(r),r&&(s||o===n))return r.slice(0,e0(r)+1);if(!r||!(o=Vt(o)))return r;var f=On(r),m=Zm(f,On(o))+1;return Lr(f,0,m).join("")}function b4(r,o,s){if(r=_e(r),r&&(s||o===n))return r.replace(Uc,"");if(!r||!(o=Vt(o)))return r;var f=On(r),m=qm(f,On(o));return Lr(f,m).join("")}function F4(r,o){var s=$,f=Y;if($e(o)){var m="separator"in o?o.separator:m;s="length"in o?ue(o.length):s,f="omission"in o?Vt(o.omission):f}r=_e(r);var w=r.length;if(Ki(r)){var k=On(r);w=k.length}if(s>=w)return r;var O=s-Vi(f);if(O<1)return f;var I=k?Lr(k,0,O).join(""):r.slice(0,O);if(m===n)return I+f;if(k&&(O+=I.length-O),Hf(m)){if(r.slice(O).search(m)){var D,z=I;for(m.global||(m=of(m.source,_e(ym.exec(m))+"g")),m.lastIndex=0;D=m.exec(z);)var W=D.index;I=I.slice(0,W===n?O:W)}}else if(r.indexOf(Vt(m),O)!=O){var V=I.lastIndexOf(m);V>-1&&(I=I.slice(0,V))}return I+f}function M4(r){return r=_e(r),r&&Q_.test(r)?r.replace(mm,dE):r}var D4=Ji(function(r,o,s){return r+(s?" ":"")+o.toUpperCase()}),Vf=W0("toUpperCase");function zg(r,o,s){return r=_e(r),o=s?n:o,o===n?uE(r)?mE(r):Z2(r):r.match(o)||[]}var Ug=fe(function(r,o){try{return jt(r,n,o)}catch(s){return Wf(s)?s:new ne(s)}}),$4=ur(function(r,o){return cn(o,function(s){s=Hn(s),or(r,s,zf(r[s],r))}),r});function z4(r){var o=r==null?0:r.length,s=J();return r=o?be(r,function(f){if(typeof f[1]!="function")throw new fn(a);return[s(f[0]),f[1]]}):[],fe(function(f){for(var m=-1;++m<o;){var w=r[m];if(jt(w[0],this,f))return jt(w[1],this,f)}})}function U4(r){return dx(pn(r,y))}function Gf(r){return function(){return r}}function W4(r,o){return r==null||r!==r?o:r}var H4=j0(),j4=j0(!0);function bt(r){return r}function Qf(r){return S0(typeof r=="function"?r:pn(r,y))}function K4(r){return E0(pn(r,y))}function V4(r,o){return x0(r,pn(o,y))}var G4=fe(function(r,o){return function(s){return yl(s,r,o)}}),Q4=fe(function(r,o){return function(s){return yl(r,s,o)}});function Yf(r,o,s){var f=lt(o),m=as(o,f);s==null&&!($e(o)&&(m.length||!f.length))&&(s=o,o=r,r=this,m=as(o,lt(o)));var w=!($e(s)&&"chain"in s)||!!s.chain,k=ar(r);return cn(m,function(O){var I=o[O];r[O]=I,k&&(r.prototype[O]=function(){var D=this.__chain__;if(w||D){var z=r(this.__wrapped__),W=z.__actions__=Lt(this.__actions__);return W.push({func:I,args:arguments,thisArg:r}),z.__chain__=D,z}return I.apply(r,Pr([this.value()],arguments))})}),r}function Y4(){return ct._===this&&(ct._=_E),this}function Xf(){}function X4(r){return r=ue(r),fe(function(o){return C0(o,r)})}var q4=Rf(be),Z4=Rf(Km),J4=Rf(qc);function Wg(r){return Bf(r)?Zc(Hn(r)):Tx(r)}function e5(r){return function(o){return r==null?n:gi(r,o)}}var t5=V0(),n5=V0(!0);function qf(){return[]}function Zf(){return!1}function r5(){return{}}function i5(){return""}function o5(){return!0}function l5(r,o){if(r=ue(r),r<1||r>Q)return[];var s=ye,f=gt(r,ye);o=J(o),r-=ye;for(var m=tf(f,o);++s<r;)o(s);return m}function u5(r){return le(r)?be(r,Hn):Gt(r)?[r]:Lt(sg(_e(r)))}function s5(r){var o=++wE;return _e(r)+o}var a5=ms(function(r,o){return r+o},0),c5=Of("ceil"),f5=ms(function(r,o){return r/o},1),d5=Of("floor");function p5(r){return r&&r.length?ss(r,bt,pf):n}function h5(r,o){return r&&r.length?ss(r,J(o,2),pf):n}function m5(r){return Qm(r,bt)}function g5(r,o){return Qm(r,J(o,2))}function v5(r){return r&&r.length?ss(r,bt,vf):n}function y5(r,o){return r&&r.length?ss(r,J(o,2),vf):n}var w5=ms(function(r,o){return r*o},1),S5=Of("round"),_5=ms(function(r,o){return r-o},0);function E5(r){return r&&r.length?ef(r,bt):0}function x5(r,o){return r&&r.length?ef(r,J(o,2)):0}return v.after=K3,v.ary=wg,v.assign=Lk,v.assignIn=Ng,v.assignInWith=Os,v.assignWith=Nk,v.at=Bk,v.before=Sg,v.bind=zf,v.bindAll=$4,v.bindKey=_g,v.castArray=rk,v.chain=gg,v.chunk=dC,v.compact=pC,v.concat=hC,v.cond=z4,v.conforms=U4,v.constant=Gf,v.countBy=E3,v.create=bk,v.curry=Eg,v.curryRight=xg,v.debounce=Cg,v.defaults=Fk,v.defaultsDeep=Mk,v.defer=V3,v.delay=G3,v.difference=mC,v.differenceBy=gC,v.differenceWith=vC,v.drop=yC,v.dropRight=wC,v.dropRightWhile=SC,v.dropWhile=_C,v.fill=EC,v.filter=C3,v.flatMap=R3,v.flatMapDeep=O3,v.flatMapDepth=T3,v.flatten=dg,v.flattenDeep=xC,v.flattenDepth=CC,v.flip=Q3,v.flow=H4,v.flowRight=j4,v.fromPairs=kC,v.functions=jk,v.functionsIn=Kk,v.groupBy=A3,v.initial=RC,v.intersection=OC,v.intersectionBy=TC,v.intersectionWith=AC,v.invert=Gk,v.invertBy=Qk,v.invokeMap=L3,v.iteratee=Qf,v.keyBy=N3,v.keys=lt,v.keysIn=Bt,v.map=Es,v.mapKeys=Xk,v.mapValues=qk,v.matches=K4,v.matchesProperty=V4,v.memoize=Cs,v.merge=Zk,v.mergeWith=Bg,v.method=G4,v.methodOf=Q4,v.mixin=Yf,v.negate=ks,v.nthArg=X4,v.omit=Jk,v.omitBy=e4,v.once=Y3,v.orderBy=B3,v.over=q4,v.overArgs=X3,v.overEvery=Z4,v.overSome=J4,v.partial=Uf,v.partialRight=kg,v.partition=b3,v.pick=t4,v.pickBy=bg,v.property=Wg,v.propertyOf=e5,v.pull=BC,v.pullAll=hg,v.pullAllBy=bC,v.pullAllWith=FC,v.pullAt=MC,v.range=t5,v.rangeRight=n5,v.rearg=q3,v.reject=D3,v.remove=DC,v.rest=Z3,v.reverse=Df,v.sampleSize=z3,v.set=r4,v.setWith=i4,v.shuffle=U3,v.slice=$C,v.sortBy=j3,v.sortedUniq=VC,v.sortedUniqBy=GC,v.split=R4,v.spread=J3,v.tail=QC,v.take=YC,v.takeRight=XC,v.takeRightWhile=qC,v.takeWhile=ZC,v.tap=p3,v.throttle=ek,v.thru=_s,v.toArray=Ag,v.toPairs=Fg,v.toPairsIn=Mg,v.toPath=u5,v.toPlainObject=Lg,v.transform=o4,v.unary=tk,v.union=JC,v.unionBy=e3,v.unionWith=t3,v.uniq=n3,v.uniqBy=r3,v.uniqWith=i3,v.unset=l4,v.unzip=$f,v.unzipWith=mg,v.update=u4,v.updateWith=s4,v.values=no,v.valuesIn=a4,v.without=o3,v.words=zg,v.wrap=nk,v.xor=l3,v.xorBy=u3,v.xorWith=s3,v.zip=a3,v.zipObject=c3,v.zipObjectDeep=f3,v.zipWith=d3,v.entries=Fg,v.entriesIn=Mg,v.extend=Ng,v.extendWith=Os,Yf(v,v),v.add=a5,v.attempt=Ug,v.camelCase=p4,v.capitalize=Dg,v.ceil=c5,v.clamp=c4,v.clone=ik,v.cloneDeep=lk,v.cloneDeepWith=uk,v.cloneWith=ok,v.conformsTo=sk,v.deburr=$g,v.defaultTo=W4,v.divide=f5,v.endsWith=h4,v.eq=An,v.escape=m4,v.escapeRegExp=g4,v.every=x3,v.find=k3,v.findIndex=cg,v.findKey=Dk,v.findLast=P3,v.findLastIndex=fg,v.findLastKey=$k,v.floor=d5,v.forEach=vg,v.forEachRight=yg,v.forIn=zk,v.forInRight=Uk,v.forOwn=Wk,v.forOwnRight=Hk,v.get=jf,v.gt=ak,v.gte=ck,v.has=Vk,v.hasIn=Kf,v.head=pg,v.identity=bt,v.includes=I3,v.indexOf=PC,v.inRange=f4,v.invoke=Yk,v.isArguments=wi,v.isArray=le,v.isArrayBuffer=fk,v.isArrayLike=Nt,v.isArrayLikeObject=Qe,v.isBoolean=dk,v.isBuffer=Nr,v.isDate=pk,v.isElement=hk,v.isEmpty=mk,v.isEqual=gk,v.isEqualWith=vk,v.isError=Wf,v.isFinite=yk,v.isFunction=ar,v.isInteger=Pg,v.isLength=Ps,v.isMap=Rg,v.isMatch=wk,v.isMatchWith=Sk,v.isNaN=_k,v.isNative=Ek,v.isNil=Ck,v.isNull=xk,v.isNumber=Og,v.isObject=$e,v.isObjectLike=je,v.isPlainObject=Cl,v.isRegExp=Hf,v.isSafeInteger=kk,v.isSet=Tg,v.isString=Rs,v.isSymbol=Gt,v.isTypedArray=to,v.isUndefined=Pk,v.isWeakMap=Rk,v.isWeakSet=Ok,v.join=IC,v.kebabCase=v4,v.last=mn,v.lastIndexOf=LC,v.lowerCase=y4,v.lowerFirst=w4,v.lt=Tk,v.lte=Ak,v.max=p5,v.maxBy=h5,v.mean=m5,v.meanBy=g5,v.min=v5,v.minBy=y5,v.stubArray=qf,v.stubFalse=Zf,v.stubObject=r5,v.stubString=i5,v.stubTrue=o5,v.multiply=w5,v.nth=NC,v.noConflict=Y4,v.noop=Xf,v.now=xs,v.pad=S4,v.padEnd=_4,v.padStart=E4,v.parseInt=x4,v.random=d4,v.reduce=F3,v.reduceRight=M3,v.repeat=C4,v.replace=k4,v.result=n4,v.round=S5,v.runInContext=A,v.sample=$3,v.size=W3,v.snakeCase=P4,v.some=H3,v.sortedIndex=zC,v.sortedIndexBy=UC,v.sortedIndexOf=WC,v.sortedLastIndex=HC,v.sortedLastIndexBy=jC,v.sortedLastIndexOf=KC,v.startCase=O4,v.startsWith=T4,v.subtract=_5,v.sum=E5,v.sumBy=x5,v.template=A4,v.times=l5,v.toFinite=cr,v.toInteger=ue,v.toLength=Ig,v.toLower=I4,v.toNumber=gn,v.toSafeInteger=Ik,v.toString=_e,v.toUpper=L4,v.trim=N4,v.trimEnd=B4,v.trimStart=b4,v.truncate=F4,v.unescape=M4,v.uniqueId=s5,v.upperCase=D4,v.upperFirst=Vf,v.each=vg,v.eachRight=yg,v.first=pg,Yf(v,function(){var r={};return Un(v,function(o,s){Ce.call(v.prototype,s)||(r[s]=o)}),r}(),{chain:!1}),v.VERSION=i,cn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(r){v[r].placeholder=v}),cn(["drop","take"],function(r,o){pe.prototype[r]=function(s){s=s===n?1:nt(ue(s),0);var f=this.__filtered__&&!o?new pe(this):this.clone();return f.__filtered__?f.__takeCount__=gt(s,f.__takeCount__):f.__views__.push({size:gt(s,ye),type:r+(f.__dir__<0?"Right":"")}),f},pe.prototype[r+"Right"]=function(s){return this.reverse()[r](s).reverse()}}),cn(["filter","map","takeWhile"],function(r,o){var s=o+1,f=s==at||s==It;pe.prototype[r]=function(m){var w=this.clone();return w.__iteratees__.push({iteratee:J(m,3),type:s}),w.__filtered__=w.__filtered__||f,w}}),cn(["head","last"],function(r,o){var s="take"+(o?"Right":"");pe.prototype[r]=function(){return this[s](1).value()[0]}}),cn(["initial","tail"],function(r,o){var s="drop"+(o?"":"Right");pe.prototype[r]=function(){return this.__filtered__?new pe(this):this[s](1)}}),pe.prototype.compact=function(){return this.filter(bt)},pe.prototype.find=function(r){return this.filter(r).head()},pe.prototype.findLast=function(r){return this.reverse().find(r)},pe.prototype.invokeMap=fe(function(r,o){return typeof r=="function"?new pe(this):this.map(function(s){return yl(s,r,o)})}),pe.prototype.reject=function(r){return this.filter(ks(J(r)))},pe.prototype.slice=function(r,o){r=ue(r);var s=this;return s.__filtered__&&(r>0||o<0)?new pe(s):(r<0?s=s.takeRight(-r):r&&(s=s.drop(r)),o!==n&&(o=ue(o),s=o<0?s.dropRight(-o):s.take(o-r)),s)},pe.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},pe.prototype.toArray=function(){return this.take(ye)},Un(pe.prototype,function(r,o){var s=/^(?:filter|find|map|reject)|While$/.test(o),f=/^(?:head|last)$/.test(o),m=v[f?"take"+(o=="last"?"Right":""):o],w=f||/^find/.test(o);m&&(v.prototype[o]=function(){var k=this.__wrapped__,O=f?[1]:arguments,I=k instanceof pe,D=O[0],z=I||le(k),W=function(de){var me=m.apply(v,Pr([de],O));return f&&V?me[0]:me};z&&s&&typeof D=="function"&&D.length!=1&&(I=z=!1);var V=this.__chain__,Z=!!this.__actions__.length,ee=w&&!V,ae=I&&!Z;if(!w&&z){k=ae?k:new pe(this);var te=r.apply(k,O);return te.__actions__.push({func:_s,args:[W],thisArg:n}),new dn(te,V)}return ee&&ae?r.apply(this,O):(te=this.thru(W),ee?f?te.value()[0]:te.value():te)})}),cn(["pop","push","shift","sort","splice","unshift"],function(r){var o=Gu[r],s=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",f=/^(?:pop|shift)$/.test(r);v.prototype[r]=function(){var m=arguments;if(f&&!this.__chain__){var w=this.value();return o.apply(le(w)?w:[],m)}return this[s](function(k){return o.apply(le(k)?k:[],m)})}}),Un(pe.prototype,function(r,o){var s=v[o];if(s){var f=s.name+"";Ce.call(Xi,f)||(Xi[f]=[]),Xi[f].push({name:o,func:s})}}),Xi[hs(n,_).name]=[{name:"wrapper",func:n}],pe.prototype.clone=ME,pe.prototype.reverse=DE,pe.prototype.value=$E,v.prototype.at=h3,v.prototype.chain=m3,v.prototype.commit=g3,v.prototype.next=v3,v.prototype.plant=w3,v.prototype.reverse=S3,v.prototype.toJSON=v.prototype.valueOf=v.prototype.value=_3,v.prototype.first=v.prototype.head,fl&&(v.prototype[fl]=y3),v},Gi=gE();fi?((fi.exports=Gi)._=Gi,Gc._=Gi):ct._=Gi}).call(Zt)})(Ha,Ha.exports);var kO=Ha.exports;const ke=Gp(kO),OS=$i().lang||{},Yh=Nu({embedded:"",langs:Object.keys(OS)}),vv=new Set;function xn(){return ai(Yh),{t:G}}function PO(n){var i=n,{embedded:e="en"}=i,t=Ft(i,["embedded"]);return Yh.embedded=e,h.createElement(h.Fragment,t)}function G(e,t,n){const i=RO(e)?[n!=null?n:n=e[0]]:Array.isArray(e)?e:[e];typeof t=="string"&&!n&&(n=t,t=null);let l,u="";const{langs:a,embedded:c}=Yh;for(const p of i){if(l=qO(a,g=>{var y,S;return(S=(y=OS[u=g])==null?void 0:y.translate)==null?void 0:S[p]}),l)break;u&&a[0]!==c&&!vv.has(p)&&(vv.add(p),console.debug("miss i18n:",p))}return l||(l=n||i[0],u=c),Array.from(yv(l)).map(([p,g])=>{if(!g)return p;const[y,S,R]=p.split(",");if(!t)throw"missing params on "+i[0];const P=t[y];return S==="plural"?d(P,R):P||P===0?P:""}).join("");function d(p,g){const y=new Intl.PluralRules(u||c).select(Number(p));let S="",R=!1,P=!1;for(const[L,_]of yv(g)){if(R)return C(L);if(P&&(S=L,P=!1),_)continue;const E=L.trim().split(/\s+/);R=E.some(x=>x[0]==="="&&p===Number(x.slice(1))||x===y),P=!R&&E.includes("other")}return C(S);function C(L){return L.replace("#",String(p))}}}function*yv(e){let t=0;for(;;){const n=e.indexOf("{",t);if(n<0)break;yield[e.slice(t,n),!1];let i=1;for(t=n+1;i&&t<e.length;)e[t]==="{"?i++:e[t]==="}"&&i--,t++;if(i)return console.debug("tokenizer: unclosed");yield[e.slice(n+1,t-1),!0]}yield[e.slice(t),!1]}function RO(e){return(e==null?void 0:e.raw)&&Array.isArray(e)}function Ho(c){return Fe(this,arguments,function*(e,u={}){var a=u,{def:t,type:n,trim:i=!0}=a,l=Ft(a,["def","type","trim"]);return new Promise(p=>Cn(Br(ce({className:"dialog-prompt",icon:"?",onClose:p},l),{Content:d})));function d(){const p=h.useRef();return h.useEffect(()=>{const y=p.current;if(!y)return;const S=y;setTimeout(()=>S.focus(),100),t&&(S.value=t)},[]),h.createElement("form",{},h.createElement("label",{htmlFor:"input"},e),h.createElement("input",{ref:p,type:n,name:"input",style:{width:t?t.length/2+"em":"auto",minWidth:"100%",maxWidth:"100%"},autoFocus:!0,onKeyDown(y){const{key:S}=y;if(S==="Escape")return Jn(null);if(S==="Enter")return g()}}),h.createElement("div",{style:{textAlign:"right",marginTop:".8em"}},h.createElement("button",{onClick:g},G`Continue`)));function g(){var S;let y=(S=p.current)==null?void 0:S.value;i&&(y=y==null?void 0:y.trim()),Jn(y)}}})}function et(e,t="info"){e instanceof Error&&(t="error");const n=Jh();return Object.assign(n,Cn({className:"dialog-alert dialog-alert-"+t,title:G(ke.capitalize(t)),icon:"!",onClose:n.resolve,Content:i}));function i(){if(e instanceof Error){const l=ZS(e),u=e.message;e=h.createElement("div",{},l,u!==l&&h.createElement("div",{style:{marginTop:20,fontSize:"small"}},u))}return typeof e=="string"&&(e=h.createElement("p",{},e)),e}}function cc(e,t={}){const g=t,{href:n,afterButtons:i,timeout:l,timeoutConfirm:u=!1}=g,a=Ft(g,["href","afterButtons","timeout","timeoutConfirm"]);typeof e=="string"&&(e=h.createElement("p",{},e));const c=Jh(),d=Cn(Br(ce({className:"dialog-confirm",icon:"?",onClose:c.resolve},a),{Content:p}));return Object.assign(c,d);function p(){const[y,S]=h.useState(Math.ceil(l||0));eO(()=>S(P=>Math.max(0,P-1)),1e3);const R=l>0&&` (${y})`;return h.useEffect(()=>{l&&!y&&d.close(u)},[y]),h.createElement("div",{},e,h.createElement("div",{style:{display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"1em"}},h.createElement("a",{href:n,onClick(){d.close(!0)}},h.createElement("button",{},G`Confirm`,u&&R)),h.createElement("button",{onClick(){d.close(!1)}},G`Don't`,!u&&R),i))}}const OO=Object.freeze(Object.defineProperty({__proto__:null,Dialogs:PS,alertDialog:et,closeDialog:Jn,componentOrNode:Bp,confirmDialog:cc,dialogsDefaults:kS,newDialog:Cn,promptDialog:Ho},Symbol.toStringTag,{value:"Module"}));function Bu(e,t,n,i){let l=e[t];return Qh(e,()=>{const u=e[t];Object.is(l,u)||n(l=u)},i)}const H=Nu({iconsReady:!1,username:"",list:[],loading:!1,listReloader:0,patternFilter:"",showFilter:!1,selected:{},remoteSearch:"",sortBy:"name",invertOrder:!1,foldersFirst:!0,sortNumerics:!1,theme:""});function At(){return ai(H)}const TS="hfs_settings",Xh=["sortBy","sortNumerics","invertOrder","foldersFirst","theme","tiles"];TO();for(const e of Xh)Bu(H,e,AO);function TO(){const e=localStorage.getItem(TS);if(!e)return;let t;try{t=JSON.parse(e)}catch(n){console.error("invalid settings stored",e);return}for(const n of Xh){const i=t[n];i!==void 0&&(H[n]=i)}}function AO(){localStorage.setItem(TS,JSON.stringify(ke.pick(H,Xh)))}class qh{constructor(t,n){var l;if(this.ext="",Object.assign(this,n),this.n=t,this.uri=(t[0]==="/"?"":location.pathname)+AS(this.n),this.isFolder=this.n.endsWith("/"),!this.isFolder){const u=this.n.lastIndexOf(".")+1;this.ext=u?this.n.substring(u).toLowerCase():""}const i=this.m||this.c;i&&(this.t=new Date(i)),this.name=this.isFolder?this.n.slice(this.n.lastIndexOf("/",this.n.length-2)+1,-1):this.n.slice(this.n.lastIndexOf("/")+1),this.cantOpen=!!((l=this.p)!=null&&l.includes(this.isFolder?"l":"r"))}getNext(){return this.getSibling(1)}getPrevious(){return this.getSibling(-1)}getNextFiltered(){return this.getSibling(1,H.filteredList)}getPreviousFiltered(){return this.getSibling(-1,H.filteredList)}getSibling(t,n=H.list){return n[t+n.findIndex(i=>i.n===this.n)]}getDefaultIcon(){return We(this.isFolder?"folder":IS(this.ext)||"file")}}function AS(e){return encodeURI(e).replace(/#/g,encodeURIComponent)}const IO={image:["jpeg","jpg","gif","png","webp","svg"],audio:["mp3","wav","m4a","ogg"],video:["mp4","mpeg","mpg","webm","mov","m4v"],archive:["zip","rar","gz","tgz"]};function IS(e){return ke.findKey(IO,t=>t.includes(e))}const LO={login:["👤","user"],user:["👤","user"],filter:["✂"],search:["🔍"],search_off:["❌","cancel"],close:["❌","cancel"],error:["❌","cancel"],stop:["⏹️"],settings:["⚙","cog"],archive:["📦"],logout:["🚪"],home:["🏠"],parent:["⬅","left"],folder:["📂"],file:["📄","doc"],spinner:["🎲","spin6 spinner"],password:["🗝️","key"],download:["⬇️"],upload:["⬆️"],reload:["🔄","reload"],lock:["🔒","lock"],admin:["👑","crown"],check:["✔️"],to_start:["◀"],to_end:["▶"],menu:["☰"],list:["☰","menu"],play:["▶"],edit:["✏️"],zoom:["↔"]};document.fonts.ready.then(()=>Fe(void 0,null,function*(){const e="9px fontello";yield document.fonts.load(e),H.iconsReady=document.fonts.check(e)}));const LS=h.memo(l=>{var u=l,{name:e,alt:t,className:n=""}=u,i=Ft(u,["name","alt","className"]);if(!e)return null;const[a,c=e]=LO[e]||[],{iconsReady:d}=At();n+=" icon";const p=e.length===1||e.match(/^[\uD800-\uDFFF\u2600-\u27BF\u2B50-\u2BFF\u3030-\u303F\u3297\u3299\u00A9\u00AE\u200D\u20E3\uFE0F\u2190-\u21FF\u2300-\u23FF\u2400-\u243F\u25A0-\u25FF\u2600-\u26FF\u2700-\u27BF]*$/),g=!p&&e.includes("."),y=d&&c;return n+=g?" file-icon":y?` fa-${c}`:" emoji-icon",h.createElement("span",Br(ce(ce({"aria-label":t,role:"img"},i),g?{style:ce({backgroundImage:`url(${JSON.stringify(e)})`},i==null?void 0:i.style)}:void 0),{className:n}),p?e:y?null:a||"#")}),NS="/~/api/",NO={loginSrp1:90,update:600,get_status:20},BS={};function BO(e){Object.assign(BS,e)}function er(e,t,n={}){var a,c,d;ke.defaults(n,BS);const i=(a=n.modal)==null?void 0:a.call(n,e,t),l=MS();l&&(t=ce({csrf:l},t));const u=new AbortController;return n.timeout!==!1&&setTimeout(()=>u.abort("timeout"),1e3*((d=(c=NO[e])!=null?c:n.timeout)!=null?d:10)),Object.assign(fetch(vc()+NS+e,{method:"POST",headers:{"content-type":"application/json"},signal:u.signal,body:t&&JSON.stringify(t)}).then(p=>Fe(this,null,function*(){var R;i==null||i();let g=yield p.text(),y;try{y=JSON.parse(g)}catch(P){}const S=y!=null?y:g;if(console.debug(p.ok?"API":"API FAILED",e,t,">>",S),yield(R=n.onResponse)==null?void 0:R.call(n,p,S),!p.ok)throw new bO(p.status,y===void 0?g:`Failed API ${e}: ${p.statusText}`,y);return S}),p=>{var g;throw i==null||i(),(g=p==null?void 0:p.message)!=null&&g.includes("fetch")?Error("Network error"):p}),{abort(){u.abort("cancel")}})}class bO extends Error{constructor(t,n,i){super(n,{cause:i}),this.code=t}get data(){return this.cause}}function bS(e,t){const[n,i]=fa(void 0),[l,u]=fa(void 0),[a,c]=fa(0),d=h.useRef(),p=h.useRef();h.useEffect(()=>{var P,C;if((P=d.current)==null||P.abort(),i(void 0),u(void 0),!e)return;let y=!1;const S=er(e,t),R=S.then(L=>y||i(L),L=>y||u(L)).finally(()=>d.current=void 0);d.current=Object.assign(R,{abort(){y=!0,S.abort()}}),(C=p.current)==null||C.resolve(R)},[e,JSON.stringify(t),a]);const g=h.useCallback(()=>d.current||c(y=>y+1)||(p.current=Jh()),[c]);return[n,l,g]}function FS(e,t,n){console.debug("API EVENTS",e,t);const i={};for(const a in t){const c=t[a];c!==void 0&&(i[a]=JSON.stringify(c))}const l=MS();l&&(i.csrf=JSON.stringify(l));const u=new EventSource(vc()+NS+e+"?"+new URLSearchParams(i));return u.onopen=()=>n("connected"),u.onerror=a=>n("error",a),u.onmessage=({data:a})=>{if(!a)return n("closed"),u.close();try{a=JSON.parse(a)}catch(c){return n("string",a)}console.debug("SSE msg",a),n("msg",a)},u}function MS(){return VO("csrf")}function FO(e,t){return Fe(this,null,function*(){return new Promise(n=>{const i=FS("get_notifications",{channel:e},(l,u)=>{if(l==="connected")return n(i);if(l==="msg")for(const{name:a,data:c}of u)a&&t(a,c)})})})}function fa(e){const t=yS(),[n,i]=h.useState(e),l=h.useCallback(u=>{t()&&i(u)},[t,i]);return[n,l,t]}function bp(e){return e.map((t,n)=>!t||typeof t=="string"?t:Array.isArray(t)?bp(t):h.createElement(h.Fragment,{key:n,children:t}))}function da(e,t,{delay:n=0}={}){const i=da.worker2env||(da.worker2env=e&&new Map),l=e&&(i.get(e)||(()=>{const c={batch:new Set,cache:new Map};return i.set(e,c),c})()),[,u]=h.useState(0);h.useEffect(()=>{l&&(l.timeout||(l.timeout=setTimeout(()=>Fe(this,null,function*(){var g;l.timeout=void 0;const c=[...l.batch.values()];l.batch.clear();const d=yield e(c);let p=0;for(const y of c)l.cache.set(y,(g=d[p++])!=null?g:null);u(y=>y+1)}),n)))},[]);const a=l==null?void 0:l.cache.get(t);return l&&a===void 0&&l.batch.add(t),ce({data:a},l)}var Ti={},fc={},jo={};const MO={},DO=Object.freeze(Object.defineProperty({__proto__:null,default:MO},Symbol.toStringTag,{value:"Module"})),wv=O5(DO);Object.defineProperty(jo,"__esModule",{value:!0});var Sv=jo.crossEnvCrypto=void 0;try{const e=typeof window!="undefined"&&window.crypto||wv.webcrypto;if(e){if(!e.subtle)throw new Error("Crypto.Subtle is undefined. Make sure you are using HTTPS in a compatible browser.");const t=n=>i=>e.subtle.digest(n,i);Sv=jo.crossEnvCrypto={randomBytes:e.getRandomValues.bind(e),hashFunctions:{SHA1:t("SHA-1"),SHA256:t("SHA-256"),SHA384:t("SHA-384"),SHA512:t("SHA-512")}}}else{const t=wv,n=i=>l=>t.createHash(i).update(l).digest().buffer;Sv=jo.crossEnvCrypto={randomBytes:t.randomFillSync,hashFunctions:{SHA1:n("sha1"),SHA256:n("sha256"),SHA384:n("sha384"),SHA512:n("sha512")}}}}catch(e){throw console.error(e),new Error("No suitable crypto library was found. You may need a polyfill.")}Object.defineProperty(fc,"__esModule",{value:!0});fc.SRPParameters=void 0;const Qs=jo;class Ko{constructor(t=Ko.PrimeGroup[2048],n=Ko.H.SHA512){if(this.primeGroup=t,this.H=n,this.NBits=this.primeGroup.N.toString(2).length,!n)throw new Error("Hash function required")}}fc.SRPParameters=Ko;Ko.PrimeGroup={256:{N:BigInt("125617018995153554710546479714086468244499594888726646874671447258204721048803"),g:BigInt(2)},512:{N:BigInt("11144252439149533417835749556168991736939157778924947037200268358613863350040339017097790259154750906072491181606044774215413467851989724116331597513345603"),g:BigInt(2)},768:{N:BigInt("1087179135105457859072065649059069760280540086975817629066444682366896187793570736574549981488868217843627094867924800342887096064844227836735667168319981288765377499806385489913341488724152562880918438701129530606139552645689583147"),g:BigInt(2)},1024:{N:BigInt("167609434410335061345139523764350090260135525329813904557420930309800865859473551531551523800013916573891864789934747039010546328480848979516637673776605610374669426214776197828492691384519453218253702788022233205683635831626913357154941914129985489522629902540768368409482248290641036967659389658897350067939"),g:BigInt(2)},1536:{N:BigInt("1486998185923128292816507353619409521152457662596380074614818966810244974827752411420380336514078832314731499938313197533147998565301020797040787428051479639316928015998415709101293902971072960487527411068082311763171549170528008620813391411445907584912865222076100726050255271567749213905330659264908657221124284665444825474741087704974475795505492821585749417639344967192301749033325359286273431675492866492416941152646940908101472416714421046022696100064262587"),g:BigInt(2)},2048:{N:BigInt("21766174458617435773191008891802753781907668374255538511144643224689886235383840957210909013086056401571399717235807266581649606472148410291413364152197364477180887395655483738115072677402235101762521901569820740293149529620419333266262073471054548368736039519702486226506248861060256971802984953561121442680157668000761429988222457090413873973970171927093992114751765168063614761119615476233422096442783117971236371647333871414335895773474667308967050807005509320424799678417036867928316761272274230314067548291133582479583061439577559347101961771406173684378522703483495337037655006751328447510550299250924469288819"),g:BigInt(2)}};Ko.H={SHA1:Qs.crossEnvCrypto.hashFunctions.SHA1,SHA256:Qs.crossEnvCrypto.hashFunctions.SHA256,SHA384:Qs.crossEnvCrypto.hashFunctions.SHA384,SHA512:Qs.crossEnvCrypto.hashFunctions.SHA512};var dc={},pc={};(function(e){var t=Zt&&Zt.__awaiter||function(x,T,B,F){function N(U){return U instanceof B?U:new B(function(K){K(U)})}return new(B||(B=Promise))(function(U,K){function $(Re){try{ve(F.next(Re))}catch(at){K(at)}}function Y(Re){try{ve(F.throw(Re))}catch(at){K(at)}}function ve(Re){Re.done?U(Re.value):N(Re.value).then($,Y)}ve((F=F.apply(x,T||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.modPow=e.hashBitCount=e.createVerifierAndSalt=e.createVerifier=e.generateRandomBigInt=e.generateRandomString=e.hashPadded=e.hash=e.padStartArrayBuffer=e.stringToArrayBuffer=e.arrayBufferToBigInt=e.bigIntToArrayBuffer=void 0;const n=jo,i=BigInt(0),l=BigInt(1),u=BigInt(2),a=x=>{const T=x.toString(16),B=new ArrayBuffer(Math.ceil(T.length/2)),F=new Uint8Array(B);let N=0;T.length%2!==0&&(F[0]=parseInt(T[0],16),N=1);for(let U=0;U<B.byteLength;U++)F[U+N]=parseInt(T.slice(2*U+N,2*U+2+N),16);return B};e.bigIntToArrayBuffer=a;const c=x=>{const T=[];return new Uint8Array(x).forEach(B=>{T.push(("0"+B.toString(16)).slice(-2))}),BigInt(`0x${T.join("")}`)};e.arrayBufferToBigInt=c;function d(x){return new TextEncoder().encode(x).buffer}e.stringToArrayBuffer=d;const p=(x,T)=>{const B=new Uint8Array(x);if(B.length<T){const F=new Uint8Array(T);return F.fill(0,0,T-B.length),F.set(B,T-B.length),F}return B};e.padStartArrayBuffer=p;function g(x,...T){const B=T.reduce((N,U)=>N+U.byteLength,0),F=new Uint8Array(B);for(let N=0,U=0;U<T.length;U++)F.set(new Uint8Array(T[U]),N),N+=T[U].byteLength;return x.H(F)}e.hash=g;function y(x,T,...B){const F=B.map(N=>e.padStartArrayBuffer(N,T));return g(x,...F)}e.hashPadded=y;function S(x=10){const T=new Uint8Array(Math.ceil(Math.ceil(x/2)));return n.crossEnvCrypto.randomBytes(T),T.reduce((B,F)=>{const N=F.toString(16).toString();return N.length===1?B+"0"+N:B+N},"").slice(0,x)}e.generateRandomString=S;function R(x=16){return e.arrayBufferToBigInt(E(x))}e.generateRandomBigInt=R;function P(x,T,B,F){return t(this,void 0,void 0,function*(){if(!T||!T.trim())throw new Error("Identity (I) must not be null or empty.");if(!B)throw new Error("Salt (s) must not be null.");if(!F)throw new Error("Password (P) must not be null");const N=yield x.computeX(T,B,F);return x.computeVerifier(N)})}e.createVerifier=P;function C(x,T,B,F){return t(this,void 0,void 0,function*(){const N=yield x.generateRandomSalt(F);return{s:N,v:yield P(x,T,N,B)}})}e.createVerifierAndSalt=C;const L=x=>t(void 0,void 0,void 0,function*(){return(yield g(x,e.bigIntToArrayBuffer(BigInt(1)))).byteLength*8});e.hashBitCount=L;function _(x,T,B){let F=l;for(;T>i;)T%u==l?(F=x*F%B,T-=l):(x=x*x%B,T/=u);return F}e.modPow=_;const E=x=>{const T=new Uint8Array(x);return n.crossEnvCrypto.randomBytes(T),T.buffer}})(pc);var Fr=Zt&&Zt.__awaiter||function(e,t,n,i){function l(u){return u instanceof n?u:new n(function(a){a(u)})}return new(n||(n=Promise))(function(u,a){function c(g){try{p(i.next(g))}catch(y){a(y)}}function d(g){try{p(i.throw(g))}catch(y){a(y)}}function p(g){g.done?u(g.value):l(g.value).then(c,d)}p((i=i.apply(e,t||[])).next())})};Object.defineProperty(dc,"__esModule",{value:!0});dc.SRPRoutines=void 0;const Oe=pc;class $O{constructor(t){this.parameters=t}hash(...t){return Oe.hash(this.parameters,...t)}hashPadded(...t){const n=Math.trunc((this.parameters.NBits+7)/8);return Oe.hashPadded(this.parameters,n,...t)}computeK(){return Fr(this,void 0,void 0,function*(){return Oe.arrayBufferToBigInt(yield this.hashPadded(Oe.bigIntToArrayBuffer(this.parameters.primeGroup.N),Oe.bigIntToArrayBuffer(this.parameters.primeGroup.g)))})}generateRandomSalt(t){return Fr(this,void 0,void 0,function*(){const n=yield Oe.hashBitCount(this.parameters),i=t||2*n/8;return Oe.generateRandomBigInt(i)})}computeX(t,n,i){return Fr(this,void 0,void 0,function*(){return Oe.arrayBufferToBigInt(yield this.hash(Oe.bigIntToArrayBuffer(n),yield this.computeIdentityHash(t,i)))})}computeXStep2(t,n){return Fr(this,void 0,void 0,function*(){return Oe.arrayBufferToBigInt(yield this.hash(Oe.bigIntToArrayBuffer(t),n))})}computeIdentityHash(t,n){return Fr(this,void 0,void 0,function*(){return yield this.hash(Oe.stringToArrayBuffer(n))})}computeVerifier(t){return Oe.modPow(this.parameters.primeGroup.g,t,this.parameters.primeGroup.N)}generatePrivateValue(){const t=Math.max(256,this.parameters.NBits);let n;do n=Oe.generateRandomBigInt(t/8)%this.parameters.primeGroup.N;while(n===BigInt(0));return n}computeClientPublicValue(t){return Oe.modPow(this.parameters.primeGroup.g,t,this.parameters.primeGroup.N)}isValidPublicValue(t){return t%this.parameters.primeGroup.N!==BigInt(0)}computeU(t,n){return Fr(this,void 0,void 0,function*(){return Oe.arrayBufferToBigInt(yield this.hashPadded(Oe.bigIntToArrayBuffer(t),Oe.bigIntToArrayBuffer(n)))})}computeClientEvidence(t,n,i,l,u){return Fr(this,void 0,void 0,function*(){return Oe.arrayBufferToBigInt(yield this.hash(Oe.bigIntToArrayBuffer(i),Oe.bigIntToArrayBuffer(l),Oe.bigIntToArrayBuffer(u)))})}computeServerEvidence(t,n,i){return Fr(this,void 0,void 0,function*(){return Oe.arrayBufferToBigInt(yield this.hash(Oe.bigIntToArrayBuffer(t),Oe.bigIntToArrayBuffer(n),Oe.bigIntToArrayBuffer(i)))})}computeClientSessionKey(t,n,i,l,u){const a=this.parameters.primeGroup.N,c=i*n+l,d=Oe.modPow(this.parameters.primeGroup.g,n,a)*t%a;return Oe.modPow(u+a-d,c,a)}}dc.SRPRoutines=$O;var ri={},Zh=Zt&&Zt.__awaiter||function(e,t,n,i){function l(u){return u instanceof n?u:new n(function(a){a(u)})}return new(n||(n=Promise))(function(u,a){function c(g){try{p(i.next(g))}catch(y){a(y)}}function d(g){try{p(i.throw(g))}catch(y){a(y)}}function p(g){g.done?u(g.value):l(g.value).then(c,d)}p((i=i.apply(e,t||[])).next())})};Object.defineProperty(ri,"__esModule",{value:!0});ri.SRPClientSessionStep2=ri.SRPClientSessionStep1=ri.SRPClientSession=void 0;class zO{constructor(t){this.routines=t}step1(t,n){return Zh(this,void 0,void 0,function*(){if(!t||!t.trim())throw new Error("User identity must not be null nor empty");if(!n)throw new Error("User password must not be null");const i=yield this.routines.computeIdentityHash(t,n);return new hc(this.routines,t,i)})}}ri.SRPClientSession=zO;class hc{constructor(t,n,i){this.routines=t,this.I=n,this.IH=i}step2(t,n){return Zh(this,void 0,void 0,function*(){if(!t)throw new Error("Salt (s) must not be null");if(!n)throw new Error("Public server value (B) must not be null");const i=yield this.routines.computeXStep2(t,this.IH),l=this.routines.generatePrivateValue(),u=this.routines.computeClientPublicValue(l),a=yield this.routines.computeK(),c=yield this.routines.computeU(u,n),d=this.routines.computeClientSessionKey(a,i,c,l,n),p=yield this.routines.computeClientEvidence(this.I,t,u,n,d);return new mc(this.routines,u,p,d)})}toJSON(){return{I:this.I,IH:Array.from(new Uint8Array(this.IH))}}static fromState(t,n){return new hc(t,n.I,new Uint8Array(n.IH).buffer)}}ri.SRPClientSessionStep1=hc;class mc{constructor(t,n,i,l){this.routines=t,this.A=n,this.M1=i,this.S=l}step3(t){return Zh(this,void 0,void 0,function*(){if(!t)throw new Error("Server evidence (M2) must not be null");if((yield this.routines.computeServerEvidence(this.A,this.M1,this.S))!==t)throw new Error("Bad server credentials")})}toJSON(){return{A:this.A.toString(16),M1:this.M1.toString(16),S:this.S.toString(16)}}static fromState(t,n){return new mc(t,BigInt("0x"+n.A),BigInt("0x"+n.M1),BigInt("0x"+n.S))}}ri.SRPClientSessionStep2=mc;var Vo={},Fp=Zt&&Zt.__awaiter||function(e,t,n,i){function l(u){return u instanceof n?u:new n(function(a){a(u)})}return new(n||(n=Promise))(function(u,a){function c(g){try{p(i.next(g))}catch(y){a(y)}}function d(g){try{p(i.throw(g))}catch(y){a(y)}}function p(g){g.done?u(g.value):l(g.value).then(c,d)}p((i=i.apply(e,t||[])).next())})};Object.defineProperty(Vo,"__esModule",{value:!0});Vo.SRPServerSessionStep1=Vo.SRPServerSession=void 0;const Mp=pc;class UO{constructor(t){this.routines=t}step1(t,n,i){return Fp(this,void 0,void 0,function*(){const l=this.routines.generatePrivateValue(),u=yield this.routines.computeK(),a=WO(this.routines.parameters,u,i,l);return new gc(this.routines,t,n,i,l,a)})}}Vo.SRPServerSession=UO;class gc{constructor(t,n,i,l,u,a){this.routines=t,this.identifier=n,this.salt=i,this.verifier=l,this.b=u,this.B=a}sessionKey(t){return Fp(this,void 0,void 0,function*(){if(t===null)throw new Error("Client public value (A) must not be null");if(!this.routines.isValidPublicValue(t))throw new Error(`Invalid Client public value (A): ${t.toString(16)}`);const n=yield this.routines.computeU(t,this.B);return HO(this.routines.parameters.primeGroup.N,this.verifier,n,t,this.b)})}step2(t,n){return Fp(this,void 0,void 0,function*(){if(!n)throw new Error("Client evidence (M1) must not be null");const i=yield this.sessionKey(t);if((yield this.routines.computeClientEvidence(this.identifier,this.salt,t,this.B,i))!==n)throw new Error("Bad client credentials");return this.routines.computeServerEvidence(t,n,i)})}toJSON(){return{identifier:this.identifier,salt:this.salt.toString(16),verifier:this.verifier.toString(16),b:this.b.toString(16),B:this.B.toString(16)}}static fromState(t,n){return new gc(t,n.identifier,BigInt("0x"+n.salt),BigInt("0x"+n.verifier),BigInt("0x"+n.b),BigInt("0x"+n.B))}}Vo.SRPServerSessionStep1=gc;const WO=(e,t,n,i)=>(Mp.modPow(e.primeGroup.g,i,e.primeGroup.N)+n*t)%e.primeGroup.N,HO=(e,t,n,i,l)=>Mp.modPow(Mp.modPow(t,n,e)*i,l,e);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.generateRandomBigInt=e.arrayBufferToBigInt=e.bigIntToArrayBuffer=e.createVerifierAndSalt=e.SRPServerSessionStep1=e.SRPServerSession=e.SRPClientSessionStep2=e.SRPClientSessionStep1=e.SRPClientSession=e.SRPRoutines=e.SRPParameters=void 0;var t=fc;Object.defineProperty(e,"SRPParameters",{enumerable:!0,get:function(){return t.SRPParameters}});var n=dc;Object.defineProperty(e,"SRPRoutines",{enumerable:!0,get:function(){return n.SRPRoutines}});var i=ri;Object.defineProperty(e,"SRPClientSession",{enumerable:!0,get:function(){return i.SRPClientSession}}),Object.defineProperty(e,"SRPClientSessionStep1",{enumerable:!0,get:function(){return i.SRPClientSessionStep1}}),Object.defineProperty(e,"SRPClientSessionStep2",{enumerable:!0,get:function(){return i.SRPClientSessionStep2}});var l=Vo;Object.defineProperty(e,"SRPServerSession",{enumerable:!0,get:function(){return l.SRPServerSession}}),Object.defineProperty(e,"SRPServerSessionStep1",{enumerable:!0,get:function(){return l.SRPServerSessionStep1}});var u=pc;Object.defineProperty(e,"createVerifierAndSalt",{enumerable:!0,get:function(){return u.createVerifierAndSalt}}),Object.defineProperty(e,"bigIntToArrayBuffer",{enumerable:!0,get:function(){return u.bigIntToArrayBuffer}}),Object.defineProperty(e,"arrayBufferToBigInt",{enumerable:!0,get:function(){return u.arrayBufferToBigInt}}),Object.defineProperty(e,"generateRandomBigInt",{enumerable:!0,get:function(){return u.generateRandomBigInt}})})(Ti);function jO(e,t,n){return Fe(this,null,function*(){const{pubKey:i,salt:l}=yield n("loginSrp1",{username:e});if(!l)throw Error("salt");const u=new Ti.SRPRoutines(new Ti.SRPParameters),d=yield(yield new Ti.SRPClientSession(u).step1(e,t)).step2(BigInt(l),BigInt(i)),p=yield n("loginSrp2",{pubKey:String(d.A),proof:String(d.M1)});return yield d.step3(BigInt(p.proof)).catch(()=>Promise.reject("trust")),p})}window._=ke;const Td=$i();Object.assign(Td,{getPluginKey:()=>_v("plugin"),getPluginPublic:()=>{var e,t;return(t=(e=_v("src"))==null?void 0:e.match(/^.*\//))==null?void 0:t[0]},getPluginConfig:()=>Td.plugins[Td.getPluginKey()]||{}});function _v(e){var t;return((t=document.currentScript)==null?void 0:t.getAttribute(e))||console.error("this function must be called at the very top of your file")}Object.fromEntries(new URLSearchParams(window.location.search).entries());const KO=["","K","M","G","T"];function Di(e,{post:t="B",k:n=1024,digits:i=NaN}={}){if(isNaN(Number(e))||e<0)return"";const l=e&&Math.floor(Math.log2(e)/Math.log2(n));return e/=As(n,l),(l&&!isNaN(i)?e.toFixed(i):ke.round(e,isNaN(i)?e>=100?0:1:i))+" "+(KO[l]||"")+t}function Go(e,t,n=""){return t?e+t+n:""}function VO(e){const t=e+"=";let i=decodeURIComponent(document.cookie).split(";");for(let l of i)if(l=l.trim(),l.startsWith(t))return l.substring(t.length,l.length);return""}function GO(e){return!!e}function QO(e){return e.filter(GO)}function DS(e,t){return t(e)}function YO(e,t,{target:n=window}={}){return n.addEventListener(e,t),()=>n.removeEventListener(e,t)}function XO(e,t){e.style.animation="",e.offsetWidth,e.style.animation=t}function qO(e,t){if(e)for(const n in e){const i=t(e[n],n);if(i!==void 0)return i}}function ZO(e,{accept:t="",multiple:n=!0,folder:i=!1}={}){const l=Object.assign(document.createElement("input"),{type:"file",name:"file",accept:t,multiple:n,webkitdirectory:i});l.addEventListener("change",()=>e(l.files)),l.click()}function $S(e){return(e*100).toFixed(1)+"%"}function Jh(){let e;const t=new Promise((n,i)=>e={resolve:n,reject:i});return Object.assign(t,e)}function JO(){return window.innerWidth<800}function $i(){return window.HFS}function vc(){return $i().prefixUrl||""}function eT(e){return function t(n){if(!n)return;const{exp:i,username:l,adminUrl:u}=n;if(e.username=l,e.adminUrl=u,!l||!i)return;const a=new Date(i).getTime()-Date.now(),c=ke.clamp(a-3e4,4e3,6e5);console.debug("session refresh in",Math.round(c/1e3)),setTimeout(()=>er("refresh_session").then(t),c)}}const tT=Symbol("reloader");function em(){return Au().pathname}function nT(){const e=At(),t=em(),n=e.remoteSearch||void 0,i=h.useRef(""),l=h.useRef(),u=yS(),a=Iu();h.useEffect(()=>{var R;const c=i.current;if(i.current=t,c!==t&&(H.showFilter=!1,(R=H.stopSearch)==null||R.call(H)),H.stoppedSearch=!1,c!==t&&n){H.remoteSearch="";return}const d={uri:t,search:n,sse:!0,[tT]:e.listReloader};if(ke.isEqual(d,l.current))return;l.current=d,H.list=[],H.filteredList=void 0,H.selected={},H.loading=!0,H.error=void 0,H.can_upload=void 0,H.can_delete=void 0;const p=[],g=()=>{const P=p.splice(0,1/0);P.length&&(H.list=zS([...H.list,...P]))},y=setInterval(g,1e3),S=FS("file_list",d,(P,C)=>{var L,_,E,x,T,B;if(u())switch(P){case"error":(L=H.stopSearch)==null||L.call(H),H.error=G`connection error`,l.current=null;return;case"closed":g(),(_=H.stopSearch)==null||_.call(H),H.loading=!1;return;case"msg":H.loginRequired=!1;for(const F of C){const[N,U]=F,K=N==="error"&&U;if(K===405){H.messageOnly=G("upload_starting","Your download should now start"),window.location.reload();continue}if(K){(E=H.stopSearch)==null||E.call(H),H.error=zp[K]||String(K),K===401&&e.username&&et(G("wrong_account",{u:e.username},"Account {u} has no access, try another"),"warning").then(),H.loginRequired=K===401,l.current=null;continue}if(!t.endsWith("/"))return a(t+"/");if(N==="props"){Object.assign(H,ke.pick(U,["can_upload","can_delete","accept"]));continue}(x=H.can_upload)!=null||(H.can_upload=!1),(T=H.can_delete)!=null||(H.can_delete=!1),N==="add"&&p.push(new qh(U.n,U))}if((S==null?void 0:S.readyState)===(S==null?void 0:S.CLOSED))return(B=H.stopSearch)==null?void 0:B.call(H)}});H.stopSearch=()=>{H.stopSearch=void 0,p.length=0,H.loading=!1,clearInterval(y),S.close()}},[t,n,e.username,e.listReloader,e.loginRequired])}function ci(){H.listReloader=Date.now()}const{compare:Ev}=new Intl.Collator(navigator.language);function zS(e){const{sortBy:t,foldersFirst:n,sortNumerics:i}=H,l=t==="size",u=t==="extension",a=t==="time",c=H.invertOrder?-1:1;return e.sort((d,p)=>n&&-Ys(d.isFolder,p.isFolder)||c*(l?Ys(d.s||0,p.s||0):u?Ev(d.ext,p.ext):a?Ys(d.t,p.t):0)||i&&c*Ys(parseFloat(d.n),parseFloat(p.n))||c*Ev(d.n,p.n))}function Ys(e,t){return e<t?-1:e>t?1:0}const rT=ke.debounce(()=>H.list=zS(H.list),100);for(const e of["sortBy","invertOrder","foldersFirst","sortNumerics"])Bu(H,e,rT);Bu(H,"patternFilter",e=>{if(!e)return H.filteredList=void 0;const t=new RegExp(ke.escapeRegExp(e),"i");H.filteredList=H.list.filter(n=>t.test(n.n))});function iT(e,t){return Fe(this,null,function*(){const n=e_();return jO(e,t,er).then(i=>(n(),US(i),H.loginRequired=!1,ci(),i),i=>{throw n(),Error(i.message==="trust"?G("login_untrusted","Login aborted: server identity cannot be trusted"):i.code===401?G("login_bad_credentials","Invalid credentials"):i.code===409?G("login_bad_cookies","Cookies not working - login failed"):G(i.message))})})}const US=eT(H);US($i().session);function WS(){return er("logout").catch(e=>{if(e.code!==401)throw e;H.username="",ci()})}let Pi,xv;function HS(e){return Fe(this,null,function*(){return xv=new Promise(t=>{if(Pi)return xv;const{close:n}=Cn({className:"login-dialog dialog-login",icon:()=>We("login"),onClose(i){t(i),Pi=void 0},title:()=>h.createElement(h.Fragment,{},xn().t("Login")),Content(){const i=h.useRef(),l=h.useRef();h.useEffect(()=>{setTimeout(()=>{var d;return(d=i.current)==null?void 0:d.focus()})},[]);const{t:u}=xn();return h.createElement("form",{onSubmit(d){d.preventDefault(),c()}},h.createElement(ni,{name:"beforeLogin"}),h.createElement("div",{className:"field"},h.createElement("label",{htmlFor:"username"},u`Username`),h.createElement("input",{ref:i,name:"username",autoComplete:"username",required:!0,onKeyDown:a})),h.createElement("div",{className:"field"},h.createElement("label",{htmlFor:"password"},u`Password`),h.createElement("input",{ref:l,name:"password",type:"password",autoComplete:"current-password",required:!0,onKeyDown:a})),h.createElement("div",{style:{textAlign:"right"}},h.createElement("button",{type:"submit"},u`Continue`)));function a(d){const{key:p}=d;if(p==="Escape")return n(null);if(p==="Enter")return c()}function c(d){return Fe(this,null,function*(){var y,S,R;d==null||d.stopPropagation();const p=(y=i.current)==null?void 0:y.value,g=(S=l.current)==null?void 0:S.value;if(!(!p||!g))try{const P=yield iT(p,g);n(),P!=null&&P.redirect&&e(vc()+P.redirect)}catch(P){yield et(P),(R=i.current)==null||R.focus()}})}}});Pi=n})})}function oT(){const{loginRequired:e}=At();location.hash==="#LOGIN"&&(H.loginRequired=!0);const t=Iu();return h.useEffect(()=>{Fe(this,null,function*(){if(!e)return Pi==null?void 0:Pi();if(!Pi)for(;H.loginRequired;)yield HS(t)})},[e,t]),e?null:!0}const se=Nu({eta:0,speed:0,partial:0,progress:0,paused:!1,qs:[],errors:0,doneByte:0,done:0,skipExisting:!1});let Cv=Date.now(),Dp=0;setInterval(()=>{const e=Date.now(),t=(e-Cv)/1e3;t<3&&se.speed||(se.speed=Dp/t,Dp=0,Cv=e)},1e3);setInterval(()=>{const t=ke.sumBy(se.qs,n=>ke.sumBy(n.files,i=>i.size))-se.partial;se.eta=se.speed&&Math.round(t/se.speed)},1e3);let ja=!1,$p=!1;function jS(){Object.assign(se,{errors:0,done:0,doneByte:0})}function lT(){se.qs.length||jS(),$p=!0;const{close:e}=Cn({dialogProps:{id:"upload-dialog",style:{minHeight:"6em",minWidth:"min(20em, 100vw - 1em)"}},title:G`Upload`,icon:()=>We("upload"),Content:t,onClose(){$p=!1,ja&&(ja=!1,ci())}});function t(){const[n,i]=h.useState([]),{qs:l,paused:u,eta:a,skipExisting:c}=ai(se),{can_upload:d,accept:p}=At(),g=h.useMemo(()=>a?uT(a*1e3,0,2):"",[a]),y=Di(n.reduce((R,P)=>R+P.size,0));return h.createElement(ti,{gap:0,props:qS(R=>i([...n,...R]))},h.createElement(ti,{className:"upload-toolbar"},d?h.createElement(ti,{margin:"0 0 1em"},h.createElement(Zl,{justifyContent:"center",flexWrap:"wrap",alignItems:"center"},h.createElement("button",{className:"upload-files",onClick:()=>S({accept:GS(p)})},G`Pick files`),!JO()&&h.createElement("button",{className:"upload-folder",onClick:()=>S({folder:!0})},G`Pick folder`),h.createElement("button",{className:"create-folder",onClick:sT},G`Create folder`),h.createElement(Oo,{value:c,onChange:R=>se.skipExisting=R},G`Skip existing files`)),n.length>0&&h.createElement(Zl,{justifyContent:"center",flexWrap:"wrap"},h.createElement("button",{className:"upload-send",onClick(){KS(n).then(),i([])}},G("send_files",{n:n.length,size:y},"Send {n,plural,one{# file} other{# files}}, {size}")),h.createElement("button",{onClick(){i([])}},G`Clear`))):G("no_upload_here","No upload permission for the current folder")),h.createElement(kv,{files:n,remove(R){i(n.filter(P=>P!==R))}}),h.createElement(XS),l.length>0&&h.createElement("div",{},h.createElement(Zl,{alignItems:"center",justifyContent:"center",borderTop:"1px dashed",padding:".5em"},`${ke.sumBy(l,R=>R.files.length)} in queue${Go(", ",g)}`,To("trash",()=>{se.qs=[],Ka()}),To(u?"▶":"⏸",()=>{se.paused=!se.paused})),l.map((R,P)=>h.createElement("div",{key:R.to},h.createElement(zo,{to:R.to,onClick:e},"Destination ",decodeURI(R.to)),h.createElement(kv,{files:Array.from(R.files),remove(C){if(C===se.uploading)return Ka();const L=se.qs[P];ke.pull(L.files,C),L.files.length||se.qs.splice(P,1)}})))));function S(R){ZO(P=>{i([...n,...Array.from(P||[]).filter(VS)])},R)}}}function Ao(e,t=""){return(Go("",t,"/")+(e.webkitRelativePath||e.name)).replaceAll("//","/")}function kv({files:e,remove:t}){const{uploading:n,progress:i}=ai(se);return e.length?h.createElement("table",{className:"upload-list",width:"100%"},h.createElement("tbody",{},e.map((l,u)=>{const a=l===n;return h.createElement("tr",{key:u},h.createElement("td",{},To("trash",()=>t(l))),h.createElement("td",{},Di(l.size)),h.createElement("td",{className:a?"ani-working":void 0},Ao(l),a&&h.createElement("span",{className:"upload-progress"},$S(i))))}))):null}function uT(e,t=0,n=1/0){e/=1e3;const i=[(e%1).toFixed(t).slice(1)];for(const[l,u,a]of[["s",60,2],["m",60,2],["h",24],["d",36],["y",1]])if(i.push(ke.padStart(String(e%u|0),a||0,"0")+l),e/=u,e<1)break;return i.slice(-n).reverse().join("")}Qh(se,()=>{const[e]=se.qs;if(!(e!=null&&e.files.length)){Wl="",QS.close();return}e!=null&&e.files.length&&!se.uploading&&!se.paused&&YS(e.files[0],e.to).then()});function KS(e){return Fe(this,null,function*(){if(ke.remove(e,l=>!VS(l)).length&&(yield et(G("upload_file_rejected","Some files were not accepted"),"warning")),e=ke.uniqBy(e,Ao),!e.length)return;const t=location.pathname,n=ke.find(se.qs,{to:t});if(!n)return se.qs.push({to:t,files:e.map(mv)});const i=ke.differenceBy(e,n.files,Ao);n.files.push(...i.map(mv))})}function VS(e){const{accept:t}=H;return t?GS(t).split(/ *[|,] */).some(n=>n.startsWith(".")?e.name.endsWith(n):e.type.match(n.replace(".","\\.").replace("*",".*"))):!0}function GS(e){return e==null?void 0:e.replace(/\|/g,",").replace(/ +/g,"")}let Xt,Xs=0,Wl="",QS,Mt;function YS(e,t,n=0){return Fe(this,null,function*(){let i=!1;Xs=0,se.uploading=e,yield a(),Xt=new XMLHttpRequest,Xt.onloadend=()=>{if((Xt==null?void 0:Xt.readyState)!==4)return;const g=Xs||Xt.status;Mt==null||Mt(),g&&g!==409&&(g>=400?c(g):d()),i||p()},Xt.onerror=()=>c(0);let l=0;Xt.upload.onprogress=g=>{se.partial=g.loaded+n,se.progress=se.partial/(g.total+n),Dp+=g.loaded-l,l=g.loaded},Xt.open("POST",t+"?"+new URLSearchParams(ce({notificationChannel:Wl,resume:String(n)},se.skipExisting&&{skipExisting:"1"})),!0);const u=new FormData;u.append("file",e.slice(n),Ao(e)),Xt.send(u);function a(){return Fe(this,null,function*(){Wl||(Wl="upload-"+Math.random().toString(36).slice(2),QS=yield FO(Wl,(g,y)=>Fe(this,null,function*(){const{uploading:S}=se;if(S){if(g==="upload.resumable"){const R=y==null?void 0:y[Ao(S)];if(!R||R>e.size)return;const{expires:P}=y,C=typeof P!="number"?0:(Number(new Date(P))-Date.now())/1e3;Mt==null||Mt();const L=Bu(se,"partial",T=>T>=R&&(Mt==null?void 0:Mt())),_=G("confirm_resume","Resume upload?")+` (${$S(R/e.size)} = ${Di(R)})`,E=cc(_,{timeout:C});Mt=E.close;const x=yield E;return L(),!x||S!==se.uploading?void 0:(i=!0,Ka(),YS(e,t,R))}if(g==="upload.status"){Xs=y==null?void 0:y[Ao(S)],Xs>=400&&Ka();return}}})))})}function c(g){if(se.errors++)return;const S={413:G`file too large`}[g],R=G("failed_upload",e,"Couldn't upload {name}")+Go(": ",S);Mt==null||Mt(),Mt=et(R,"error").close}function d(){se.done++,se.doneByte+=e.size,ja=!0}function p(){se.uploading=void 0,se.partial=0;const{qs:g}=se;g.length&&(g[0].files.shift(),g[0].files.length||g.shift(),!g.length&&(setTimeout(ci,500),ja=!1,$p||et(h.createElement("div",{},G(["upload_concluded","Upload terminated"],"Upload concluded:"),h.createElement("div",{},h.createElement(XS))),"info").finally(jS)))}})}function XS(){const{done:e,doneByte:t,errors:n}=ai(se);return h.createElement(h.Fragment,{},[e&&G("upload_finished",{n:e,size:Di(t)},"{n} finished ({size})"),n&&G("upload_errors",{n},"{n} failed")].filter(Boolean).join(" – "))}function Ka(){Xt==null||Xt.abort()}function qS(e){return{onDragOver(t){t.preventDefault(),t.dataTransfer.dropEffect=e?"copy":"none"},onDrop(t){t.preventDefault(),e&&e(Array.from(t.dataTransfer.files))}}}function sT(){return Fe(this,null,function*(){const e=yield Ho(G`Enter folder name`);if(!e)return;const t=location.pathname;try{return yield er("create_folder",{uri:t,name:e}),ci(),et(h.createElement(()=>h.createElement(ti,{},h.createElement("div",{},G`Successfully created`),h.createElement(zo,{to:t+e+"/",onClick(){Jn(),Jn()}},G("enter_folder","Enter the folder")))))}catch(n){yield et(n.code===409?G("folder_exists","Folder with same name already exists"):n)}})}const zp={401:"Unauthorized",403:"Forbidden",404:"Not found",500:"Server error"};function ZS(e){return typeof e=="number"?zp[e]:zp[e.code]||e.message||String(e)}function We(e,t){return h.createElement(LS,ce({name:e},t))}function JS({err:e}){return e?h.createElement("div",{className:"error-msg"},typeof e=="string"?e:e.message):null}let Ad=!1;function e_(){if(Ad)return()=>{};Ad=!0;const{close:e}=Cn({closable:!1,noFrame:!0,Content:Lu,reserveClosing:!0,className:"working",onClose(){Ad=!1}});return e}function yc(e,t){const n=[];return document.dispatchEvent(new CustomEvent("hfs."+e,{detail:{params:t,output:n}})),n}const Pv={h:h.createElement,React:Zp,state:H,t:G,_:ke,dialogLib:OO,apiCall:er,useApi:bS,reloadList:ci,logout:WS,Icon:LS,hIcon:We,useBatch:da,watchState(e,t){const n=e.split("upload.")[1];return Bu(n?se:H,n||e,t,!0)}};Object.assign($i(),Br(ce({},Pv),{emit:yc,onEvent(e,t){const n="hfs."+e;return document.addEventListener(n,i),()=>document.removeEventListener(n,i);function i(l){const{params:u,output:a}=l.detail,c=t(u,Pv,a);c!==void 0&&Array.isArray(a)&&a.push(c)}}}));BO({modal:e_});function aT(){const e=["name","extension","size","time"];Cn({title:G`Options`,className:"options-dialog",icon:()=>We("settings"),Content:t});function t(){const n=At();return h.createElement(ti,{gap:"1.5em"},n.adminUrl&&h.createElement(t_,{icon:"admin",label:G`Admin-panel`,href:n.adminUrl,target:"admin"}),h.createElement(fv,{options:e.map(i=>({value:i,label:G("Sort by:",{by:G(i)},G`Sort by`+": "+G(i))})),value:n.sortBy,onChange(i){H.sortBy=i}}),h.createElement(Oo,{value:n.invertOrder,onChange(i){H.invertOrder=i}},G`Invert order`),h.createElement(Oo,{value:n.foldersFirst,onChange(i){H.foldersFirst=i}},G`Folders first`),h.createElement(Oo,{value:n.sortNumerics,onChange(i){H.sortNumerics=i}},G`Numeric names`),h.createElement("div",{},h.createElement("div",{},G`Tiles mode:`," ",H.tiles||G`off`),h.createElement("input",{type:"range",min:0,max:10,value:n.tiles||0,onChange(i){H.tiles=Number(i.target.value)}})),h.createElement(fv,{options:["","light","dark"].map(i=>({label:G(["Theme:","theme:"])+" "+G(i||"auto"),value:i})),value:n.theme,onChange(i){H.theme=i}}))}}function cT(){Cn({title:G`User panel`,className:"user-dialog",icon:()=>We("user"),Content(){const e=At();return h.createElement("div",{id:"user-panel"},h.createElement("div",{},G`Username`,": ",e.username),h.createElement(Kr,{icon:"password",label:G`Change password`,id:"change-password",onClickAnimation:!1,onClick(){return Fe(this,null,function*(){const n=yield Ho(G("enter_pass","Enter new password"),{type:"password"});if(!n)return;const i=yield Ho(G("enter_pass2","RE-enter same new password"),{type:"password"});if(!i)return;if(i!==n)return et(G("pass2_mismatch","The second password you entered did not match the first. Procedure aborted."),"warning");const l=new Ti.SRPRoutines(new Ti.SRPParameters),u=yield Ti.createVerifierAndSalt(l,e.username,n);try{return yield er("change_srp",{salt:String(u.s),verifier:String(u.v)}).catch(a=>{if(a.code!==406)throw a;return er("change_password",{newPassword:n})}),et(G("password_changed","Password changed"))}catch(a){return et(a)}})}}),h.createElement(Kr,{icon:"logout",label:G`Logout`,id:"logout",onClick(){WS().then(Jn,et)}}))}})}function fT(){const{showFilter:e,remoteSearch:t,stopSearch:n,stoppedSearch:i,selected:l,can_upload:u,can_delete:a}=At(),{uploading:c,qs:d}=ai(se);h.useEffect(()=>{e||(H.selected={})},[e]);const{t:p}=xn(),[g,y]=fa(!1);h.useEffect(()=>{n&&(y(!1),setTimeout(()=>y(!0),1e3))},[n,y]),h.useEffect(()=>{!a||localStorage.warn_can_delete||(localStorage.warn_can_delete=1,et(p("delete_hint","To delete, first click Select")).then())},[a]);const S=h.useMemo(()=>Object.keys(l).map(L=>L.endsWith("/")?L.slice(0,-1):L).join("*"),[l]),[R,P]=h.useState("");return h.useEffect(()=>{u!==void 0&&P(e&&a?"delete":u||d.length>0?"upload":"")},[e,a,u,d.length]),h.createElement("div",{id:"menu-panel"},h.createElement("div",{id:"menu-bar"},h.createElement(dT),h.createElement(Kr,{id:"select-button",icon:"check",label:p`Select`,tooltip:p("select_tooltip",'Selection applies to "Zip" and "Delete" (when available), but you can also filter the list'),toggled:e,onClick(){H.showFilter=!e}}),h.createElement(Kr,R==="delete"?{id:"delete-button",icon:"trash",label:p`Delete`,className:"show-sliding",onClick:()=>n_(Object.keys(l))}:{id:"upload-button",icon:"upload",label:p`Upload`,tabIndex:R==="upload"?void 0:-1,className:R==="upload"?"show-sliding "+(c?"ani-working":""):"before-sliding",onClick:lT}),h.createElement(Kr,C()),h.createElement(Kr,{id:"options-button",icon:"settings",label:p`Options`,onClick:aT}),h.createElement(t_,ce({id:"zip-button",icon:"archive",label:p`Zip`,tooltip:S?p("zip_tooltip_selected","Download selected elements as a single zip file"):p("zip_tooltip_whole","Download whole list (unfiltered) as a single zip file. If you select some elements, only those will be downloaded."),href:"?"+String(new URLSearchParams(ke.pickBy({get:"zip",search:t,list:S})))},!S&&{confirm:t?p("zip_confirm_search","Download ALL results of this search as ZIP archive?"):p("zip_confirm_folder","Download WHOLE folder as ZIP archive?"),confirmOptions:{afterButtons:h.createElement("button",{onClick(){return H.showFilter=!0,Jn(!1),et(p("zip_checkboxes","Use checkboxes to select the files, then you can use Zip again"))}},p`Select some files`)}}))),t&&h.createElement("div",{id:"searched"},(n?p`Searching`:p`Searched`)+": "+t+Go(" (",i&&p`interrupted`,")")));function C(){return n&&g?{id:"search-stop-button",icon:"stop",label:p`Stop list`,className:"ani-working",onClick(){n(),H.stoppedSearch=!0}}:H.remoteSearch&&!n?{id:"search-clear-button",icon:"search_off",label:p`Clear search`,onClick(){H.remoteSearch=""}}:{id:"search-button",icon:"search",label:p`Search`,onClickAnimation:!1,onClick(){return Fe(this,null,function*(){H.remoteSearch=(yield Ho(p("search_msg","Search this folder and sub-folders"),{title:p`Search`}))||""})}}}}function Kr(c){var d=c,{icon:e,label:t,tooltip:n,toggled:i,onClick:l,onClickAnimation:u}=d,a=Ft(d,["icon","label","tooltip","toggled","onClick","onClickAnimation"]);const[p,g]=h.useState(!1);return h.createElement("button",ce({title:n||t,onClick(){l&&(u!==!1&&g(!0),Promise.resolve(l()).finally(()=>g(!1)))},className:[a.className,i&&"toggled",p&&"ani-working"].filter(Boolean).join(" ")},a),We(e),h.createElement("label",{},t))}function t_(u){var a=u,{href:e,target:t,confirm:n,confirmOptions:i}=a,l=Ft(a,["href","target","confirm","confirmOptions"]);return h.createElement("a",{tabIndex:-1,href:e,target:t,onClick(d){return Fe(this,null,function*(){n&&(d.preventDefault(),yield cc(n,ce({href:e,title:G`Confirm`},i)))})}},h.createElement(Kr,l))}function dT(){const e=At(),t=Iu(),{t:n}=xn();return Kr(e.username?{id:"user-button",toggled:!0,icon:"user",label:e.username,onClick:cT}:{id:"login-button",icon:"login",label:n`Login`,onClickAnimation:!1,onClick:()=>HS(t)})}function n_(e){return Fe(this,null,function*(){const t=e.length;if(!t){et(G("delete_select","Select something to delete")).then();return}if(!(yield cc(G("delete_confirm",{n:t},"Delete {n,plural, one{# item} other{# items}}?"))))return!1;const n=QO(yield Promise.all(e.map(l=>er("delete",{uri:l}).then(()=>null,u=>({uri:l,err:u})))));ci();const i=n.length;et(h.createElement(h.Fragment,{},G("delete_completed",{n:t-i},"Deletion: {n} completed"),i>0&&G("delete_failed",{n:i},", {n} failed"),h.createElement("div",{style:{textAlign:"left",marginTop:"1em"}},...n.map(l=>h.createElement(JS,{err:G(ZS(l.err))+": "+l.uri}))))).then()})}const pT={black:"#000",white:"#fff"},wu=pT,hT={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},io=hT,mT={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},oo=mT,gT={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},lo=gT,vT={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},uo=vT,yT={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},so=yT,wT={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Bl=wT,ST={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},_T=ST;function re(){return re=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},re.apply(this,arguments)}function Ei(e){return e!==null&&typeof e=="object"&&e.constructor===Object}function r_(e){if(!Ei(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=r_(e[n])}),t}function vr(e,t,n={clone:!0}){const i=n.clone?re({},e):e;return Ei(e)&&Ei(t)&&Object.keys(t).forEach(l=>{l!=="__proto__"&&(Ei(t[l])&&l in e&&Ei(e[l])?i[l]=vr(e[l],t[l],n):n.clone?i[l]=Ei(t[l])?r_(t[l]):t[l]:i[l]=t[l])}),i}function Qo(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}function yr(e){if(typeof e!="string")throw new Error(Qo(7));return e.charAt(0).toUpperCase()+e.slice(1)}function ET(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function xT(...e){return h.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{ET(n,t)})},e)}let wc=!0,Up=!1,Rv;const CT={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function kT(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&CT[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function PT(e){e.metaKey||e.altKey||e.ctrlKey||(wc=!0)}function Id(){wc=!1}function RT(){this.visibilityState==="hidden"&&Up&&(wc=!0)}function OT(e){e.addEventListener("keydown",PT,!0),e.addEventListener("mousedown",Id,!0),e.addEventListener("pointerdown",Id,!0),e.addEventListener("touchstart",Id,!0),e.addEventListener("visibilitychange",RT,!0)}function TT(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(n){}return wc||kT(t)}function AT(){const e=h.useCallback(l=>{l!=null&&OT(l.ownerDocument)},[]),t=h.useRef(!1);function n(){return t.current?(Up=!0,window.clearTimeout(Rv),Rv=window.setTimeout(()=>{Up=!1},100),t.current=!1,!0):!1}function i(l){return TT(l)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:i,onBlur:n,ref:e}}function i_(e,t){const n=re({},t);return Object.keys(e).forEach(i=>{if(i.toString().match(/^(components|slots)$/))n[i]=re({},e[i],n[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){const l=e[i]||{},u=t[i];n[i]={},!u||!Object.keys(u)?n[i]=l:!l||!Object.keys(l)?n[i]=u:(n[i]=re({},u),Object.keys(l).forEach(a=>{n[i][a]=i_(l[a],u[a])}))}else n[i]===void 0&&(n[i]=e[i])}),n}function o_(e,t,n=void 0){const i={};return Object.keys(e).forEach(l=>{i[l]=e[l].reduce((u,a)=>{if(a){const c=t(a);c!==""&&u.push(c),n&&n[a]&&u.push(n[a])}return u},[]).join(" ")}),i}const Ov=e=>e,IT=()=>{let e=Ov;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Ov}}},LT=IT(),NT=LT,BT={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function tm(e,t,n="Mui"){const i=BT[t];return i?`${n}-${i}`:`${NT.generate(e)}-${t}`}function l_(e,t,n="Mui"){const i={};return t.forEach(l=>{i[l]=tm(e,l,n)}),i}const u_="$$material";function $n(e,t){if(e==null)return{};var n={},i=Object.keys(e),l,u;for(u=0;u<i.length;u++)l=i[u],!(t.indexOf(l)>=0)&&(n[l]=e[l]);return n}function s_(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var bT=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,FT=s_(function(e){return bT.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function MT(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function DT(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var $T=function(){function e(n){var i=this;this._insertTag=function(l){var u;i.tags.length===0?i.insertionPoint?u=i.insertionPoint.nextSibling:i.prepend?u=i.container.firstChild:u=i.before:u=i.tags[i.tags.length-1].nextSibling,i.container.insertBefore(l,u),i.tags.push(l)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(i){i.forEach(this._insertTag)},t.insert=function(i){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(DT(this));var l=this.tags[this.tags.length-1];if(this.isSpeedy){var u=MT(l);try{u.insertRule(i,u.cssRules.length)}catch(a){}}else l.appendChild(document.createTextNode(i));this.ctr++},t.flush=function(){this.tags.forEach(function(i){return i.parentNode&&i.parentNode.removeChild(i)}),this.tags=[],this.ctr=0},e}(),St="-ms-",Va="-moz-",Se="-webkit-",a_="comm",nm="rule",rm="decl",zT="@import",c_="@keyframes",UT=Math.abs,Sc=String.fromCharCode,WT=Object.assign;function HT(e,t){return pt(e,0)^45?(((t<<2^pt(e,0))<<2^pt(e,1))<<2^pt(e,2))<<2^pt(e,3):0}function f_(e){return e.trim()}function jT(e,t){return(e=t.exec(e))?e[0]:e}function Ee(e,t,n){return e.replace(t,n)}function Wp(e,t){return e.indexOf(t)}function pt(e,t){return e.charCodeAt(t)|0}function Su(e,t,n){return e.slice(t,n)}function Vn(e){return e.length}function im(e){return e.length}function qs(e,t){return t.push(e),e}function KT(e,t){return e.map(t).join("")}var _c=1,Yo=1,d_=0,Ht=0,Ze=0,nl="";function Ec(e,t,n,i,l,u,a){return{value:e,root:t,parent:n,type:i,props:l,children:u,line:_c,column:Yo,length:a,return:""}}function bl(e,t){return WT(Ec("",null,null,"",null,null,0),e,{length:-e.length},t)}function VT(){return Ze}function GT(){return Ze=Ht>0?pt(nl,--Ht):0,Yo--,Ze===10&&(Yo=1,_c--),Ze}function nn(){return Ze=Ht<d_?pt(nl,Ht++):0,Yo++,Ze===10&&(Yo=1,_c++),Ze}function Zn(){return pt(nl,Ht)}function pa(){return Ht}function bu(e,t){return Su(nl,e,t)}function _u(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function p_(e){return _c=Yo=1,d_=Vn(nl=e),Ht=0,[]}function h_(e){return nl="",e}function ha(e){return f_(bu(Ht-1,Hp(e===91?e+2:e===40?e+1:e)))}function QT(e){for(;(Ze=Zn())&&Ze<33;)nn();return _u(e)>2||_u(Ze)>3?"":" "}function YT(e,t){for(;--t&&nn()&&!(Ze<48||Ze>102||Ze>57&&Ze<65||Ze>70&&Ze<97););return bu(e,pa()+(t<6&&Zn()==32&&nn()==32))}function Hp(e){for(;nn();)switch(Ze){case e:return Ht;case 34:case 39:e!==34&&e!==39&&Hp(Ze);break;case 40:e===41&&Hp(e);break;case 92:nn();break}return Ht}function XT(e,t){for(;nn()&&e+Ze!==47+10;)if(e+Ze===42+42&&Zn()===47)break;return"/*"+bu(t,Ht-1)+"*"+Sc(e===47?e:nn())}function qT(e){for(;!_u(Zn());)nn();return bu(e,Ht)}function ZT(e){return h_(ma("",null,null,null,[""],e=p_(e),0,[0],e))}function ma(e,t,n,i,l,u,a,c,d){for(var p=0,g=0,y=a,S=0,R=0,P=0,C=1,L=1,_=1,E=0,x="",T=l,B=u,F=i,N=x;L;)switch(P=E,E=nn()){case 40:if(P!=108&&pt(N,y-1)==58){Wp(N+=Ee(ha(E),"&","&\f"),"&\f")!=-1&&(_=-1);break}case 34:case 39:case 91:N+=ha(E);break;case 9:case 10:case 13:case 32:N+=QT(P);break;case 92:N+=YT(pa()-1,7);continue;case 47:switch(Zn()){case 42:case 47:qs(JT(XT(nn(),pa()),t,n),d);break;default:N+="/"}break;case 123*C:c[p++]=Vn(N)*_;case 125*C:case 59:case 0:switch(E){case 0:case 125:L=0;case 59+g:R>0&&Vn(N)-y&&qs(R>32?Av(N+";",i,n,y-1):Av(Ee(N," ","")+";",i,n,y-2),d);break;case 59:N+=";";default:if(qs(F=Tv(N,t,n,p,g,l,c,x,T=[],B=[],y),u),E===123)if(g===0)ma(N,t,F,F,T,u,y,c,B);else switch(S===99&&pt(N,3)===110?100:S){case 100:case 109:case 115:ma(e,F,F,i&&qs(Tv(e,F,F,0,0,l,c,x,l,T=[],y),B),l,B,y,c,i?T:B);break;default:ma(N,F,F,F,[""],B,0,c,B)}}p=g=R=0,C=_=1,x=N="",y=a;break;case 58:y=1+Vn(N),R=P;default:if(C<1){if(E==123)--C;else if(E==125&&C++==0&>()==125)continue}switch(N+=Sc(E),E*C){case 38:_=g>0?1:(N+="\f",-1);break;case 44:c[p++]=(Vn(N)-1)*_,_=1;break;case 64:Zn()===45&&(N+=ha(nn())),S=Zn(),g=y=Vn(x=N+=qT(pa())),E++;break;case 45:P===45&&Vn(N)==2&&(C=0)}}return u}function Tv(e,t,n,i,l,u,a,c,d,p,g){for(var y=l-1,S=l===0?u:[""],R=im(S),P=0,C=0,L=0;P<i;++P)for(var _=0,E=Su(e,y+1,y=UT(C=a[P])),x=e;_<R;++_)(x=f_(C>0?S[_]+" "+E:Ee(E,/&\f/g,S[_])))&&(d[L++]=x);return Ec(e,t,n,l===0?nm:c,d,p,g)}function JT(e,t,n){return Ec(e,t,n,a_,Sc(VT()),Su(e,2,-2),0)}function Av(e,t,n,i){return Ec(e,t,n,rm,Su(e,0,i),Su(e,i+1,-1),i)}function Io(e,t){for(var n="",i=im(e),l=0;l<i;l++)n+=t(e[l],l,e,t)||"";return n}function eA(e,t,n,i){switch(e.type){case zT:case rm:return e.return=e.return||e.value;case a_:return"";case c_:return e.return=e.value+"{"+Io(e.children,i)+"}";case nm:e.value=e.props.join(",")}return Vn(n=Io(e.children,i))?e.return=e.value+"{"+n+"}":""}function tA(e){var t=im(e);return function(n,i,l,u){for(var a="",c=0;c<t;c++)a+=e[c](n,i,l,u)||"";return a}}function nA(e){return function(t){t.root||(t=t.return)&&e(t)}}var rA=function(t,n,i){for(var l=0,u=0;l=u,u=Zn(),l===38&&u===12&&(n[i]=1),!_u(u);)nn();return bu(t,Ht)},iA=function(t,n){var i=-1,l=44;do switch(_u(l)){case 0:l===38&&Zn()===12&&(n[i]=1),t[i]+=rA(Ht-1,n,i);break;case 2:t[i]+=ha(l);break;case 4:if(l===44){t[++i]=Zn()===58?"&\f":"",n[i]=t[i].length;break}default:t[i]+=Sc(l)}while(l=nn());return t},oA=function(t,n){return h_(iA(p_(t),n))},Iv=new WeakMap,lA=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,i=t.parent,l=t.column===i.column&&t.line===i.line;i.type!=="rule";)if(i=i.parent,!i)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!Iv.get(i))&&!l){Iv.set(t,!0);for(var u=[],a=oA(n,u),c=i.props,d=0,p=0;d<a.length;d++)for(var g=0;g<c.length;g++,p++)t.props[p]=u[d]?a[d].replace(/&\f/g,c[g]):c[g]+" "+a[d]}}},uA=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function m_(e,t){switch(HT(e,t)){case 5103:return Se+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Se+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Se+e+Va+e+St+e+e;case 6828:case 4268:return Se+e+St+e+e;case 6165:return Se+e+St+"flex-"+e+e;case 5187:return Se+e+Ee(e,/(\w+).+(:[^]+)/,Se+"box-$1$2"+St+"flex-$1$2")+e;case 5443:return Se+e+St+"flex-item-"+Ee(e,/flex-|-self/,"")+e;case 4675:return Se+e+St+"flex-line-pack"+Ee(e,/align-content|flex-|-self/,"")+e;case 5548:return Se+e+St+Ee(e,"shrink","negative")+e;case 5292:return Se+e+St+Ee(e,"basis","preferred-size")+e;case 6060:return Se+"box-"+Ee(e,"-grow","")+Se+e+St+Ee(e,"grow","positive")+e;case 4554:return Se+Ee(e,/([^-])(transform)/g,"$1"+Se+"$2")+e;case 6187:return Ee(Ee(Ee(e,/(zoom-|grab)/,Se+"$1"),/(image-set)/,Se+"$1"),e,"")+e;case 5495:case 3959:return Ee(e,/(image-set\([^]*)/,Se+"$1$`$1");case 4968:return Ee(Ee(e,/(.+:)(flex-)?(.*)/,Se+"box-pack:$3"+St+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Se+e+e;case 4095:case 3583:case 4068:case 2532:return Ee(e,/(.+)-inline(.+)/,Se+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Vn(e)-1-t>6)switch(pt(e,t+1)){case 109:if(pt(e,t+4)!==45)break;case 102:return Ee(e,/(.+:)(.+)-([^]+)/,"$1"+Se+"$2-$3$1"+Va+(pt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Wp(e,"stretch")?m_(Ee(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(pt(e,t+1)!==115)break;case 6444:switch(pt(e,Vn(e)-3-(~Wp(e,"!important")&&10))){case 107:return Ee(e,":",":"+Se)+e;case 101:return Ee(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Se+(pt(e,14)===45?"inline-":"")+"box$3$1"+Se+"$2$3$1"+St+"$2box$3")+e}break;case 5936:switch(pt(e,t+11)){case 114:return Se+e+St+Ee(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Se+e+St+Ee(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Se+e+St+Ee(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Se+e+St+e+e}return e}var sA=function(t,n,i,l){if(t.length>-1&&!t.return)switch(t.type){case rm:t.return=m_(t.value,t.length);break;case c_:return Io([bl(t,{value:Ee(t.value,"@","@"+Se)})],l);case nm:if(t.length)return KT(t.props,function(u){switch(jT(u,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Io([bl(t,{props:[Ee(u,/:(read-\w+)/,":"+Va+"$1")]})],l);case"::placeholder":return Io([bl(t,{props:[Ee(u,/:(plac\w+)/,":"+Se+"input-$1")]}),bl(t,{props:[Ee(u,/:(plac\w+)/,":"+Va+"$1")]}),bl(t,{props:[Ee(u,/:(plac\w+)/,St+"input-$1")]})],l)}return""})}},aA=[sA],cA=function(t){var n=t.key;if(n==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,function(C){var L=C.getAttribute("data-emotion");L.indexOf(" ")!==-1&&(document.head.appendChild(C),C.setAttribute("data-s",""))})}var l=t.stylisPlugins||aA,u={},a,c=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(C){for(var L=C.getAttribute("data-emotion").split(" "),_=1;_<L.length;_++)u[L[_]]=!0;c.push(C)});var d,p=[lA,uA];{var g,y=[eA,nA(function(C){g.insert(C)})],S=tA(p.concat(l,y)),R=function(L){return Io(ZT(L),S)};d=function(L,_,E,x){g=E,R(L?L+"{"+_.styles+"}":_.styles),x&&(P.inserted[_.name]=!0)}}var P={key:n,sheet:new $T({key:n,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:u,registered:{},insert:d};return P.sheet.hydrate(c),P},fA=!0;function dA(e,t,n){var i="";return n.split(" ").forEach(function(l){e[l]!==void 0?t.push(e[l]+";"):i+=l+" "}),i}var g_=function(t,n,i){var l=t.key+"-"+n.name;(i===!1||fA===!1)&&t.registered[l]===void 0&&(t.registered[l]=n.styles)},pA=function(t,n,i){g_(t,n,i);var l=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var u=n;do t.insert(n===u?"."+l:"",u,t.sheet,!0),u=u.next;while(u!==void 0)}};function hA(e){for(var t=0,n,i=0,l=e.length;l>=4;++i,l-=4)n=e.charCodeAt(i)&255|(e.charCodeAt(++i)&255)<<8|(e.charCodeAt(++i)&255)<<16|(e.charCodeAt(++i)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(l){case 3:t^=(e.charCodeAt(i+2)&255)<<16;case 2:t^=(e.charCodeAt(i+1)&255)<<8;case 1:t^=e.charCodeAt(i)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var mA={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},gA=/[A-Z]|^ms/g,vA=/_EMO_([^_]+?)_([^]*?)_EMO_/g,v_=function(t){return t.charCodeAt(1)===45},Lv=function(t){return t!=null&&typeof t!="boolean"},Ld=s_(function(e){return v_(e)?e:e.replace(gA,"-$&").toLowerCase()}),Nv=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(vA,function(i,l,u){return Gn={name:l,styles:u,next:Gn},l})}return mA[t]!==1&&!v_(t)&&typeof n=="number"&&n!==0?n+"px":n};function Eu(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return Gn={name:n.name,styles:n.styles,next:Gn},n.name;if(n.styles!==void 0){var i=n.next;if(i!==void 0)for(;i!==void 0;)Gn={name:i.name,styles:i.styles,next:Gn},i=i.next;var l=n.styles+";";return l}return yA(e,t,n)}case"function":{if(e!==void 0){var u=Gn,a=n(e);return Gn=u,Eu(e,t,a)}break}}if(t==null)return n;var c=t[n];return c!==void 0?c:n}function yA(e,t,n){var i="";if(Array.isArray(n))for(var l=0;l<n.length;l++)i+=Eu(e,t,n[l])+";";else for(var u in n){var a=n[u];if(typeof a!="object")t!=null&&t[a]!==void 0?i+=u+"{"+t[a]+"}":Lv(a)&&(i+=Ld(u)+":"+Nv(u,a)+";");else if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var c=0;c<a.length;c++)Lv(a[c])&&(i+=Ld(u)+":"+Nv(u,a[c])+";");else{var d=Eu(e,t,a);switch(u){case"animation":case"animationName":{i+=Ld(u)+":"+d+";";break}default:i+=u+"{"+d+"}"}}}return i}var Bv=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Gn,wA=function(t,n,i){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var l=!0,u="";Gn=void 0;var a=t[0];a==null||a.raw===void 0?(l=!1,u+=Eu(i,n,a)):u+=a[0];for(var c=1;c<t.length;c++)u+=Eu(i,n,t[c]),l&&(u+=a[c]);Bv.lastIndex=0;for(var d="",p;(p=Bv.exec(u))!==null;)d+="-"+p[1];var g=hA(u)+d;return{name:g,styles:u,next:Gn}},SA=function(t){return t()},_A=eu["useInsertionEffect"]?eu["useInsertionEffect"]:!1,EA=_A||SA,y_=h.createContext(typeof HTMLElement!="undefined"?cA({key:"css"}):null);y_.Provider;var xA=function(t){return h.forwardRef(function(n,i){var l=h.useContext(y_);return t(n,l,i)})},w_=h.createContext({}),CA=FT,kA=function(t){return t!=="theme"},bv=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?CA:kA},Fv=function(t,n,i){var l;if(n){var u=n.shouldForwardProp;l=t.__emotion_forwardProp&&u?function(a){return t.__emotion_forwardProp(a)&&u(a)}:u}return typeof l!="function"&&i&&(l=t.__emotion_forwardProp),l},PA=function(t){var n=t.cache,i=t.serialized,l=t.isStringTag;return g_(n,i,l),EA(function(){return pA(n,i,l)}),null},RA=function e(t,n){var i=t.__emotion_real===t,l=i&&t.__emotion_base||t,u,a;n!==void 0&&(u=n.label,a=n.target);var c=Fv(t,n,i),d=c||bv(l),p=!d("as");return function(){var g=arguments,y=i&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(u!==void 0&&y.push("label:"+u+";"),g[0]==null||g[0].raw===void 0)y.push.apply(y,g);else{y.push(g[0][0]);for(var S=g.length,R=1;R<S;R++)y.push(g[R],g[0][R])}var P=xA(function(C,L,_){var E=p&&C.as||l,x="",T=[],B=C;if(C.theme==null){B={};for(var F in C)B[F]=C[F];B.theme=h.useContext(w_)}typeof C.className=="string"?x=dA(L.registered,T,C.className):C.className!=null&&(x=C.className+" ");var N=wA(y.concat(T),L.registered,B);x+=L.key+"-"+N.name,a!==void 0&&(x+=" "+a);var U=p&&c===void 0?bv(E):d,K={};for(var $ in C)p&&$==="as"||U($)&&(K[$]=C[$]);return K.className=x,K.ref=_,h.createElement(h.Fragment,null,h.createElement(PA,{cache:L,serialized:N,isStringTag:typeof E=="string"}),h.createElement(E,K))});return P.displayName=u!==void 0?u:"Styled("+(typeof l=="string"?l:l.displayName||l.name||"Component")+")",P.defaultProps=t.defaultProps,P.__emotion_real=P,P.__emotion_base=l,P.__emotion_styles=y,P.__emotion_forwardProp=c,Object.defineProperty(P,"toString",{value:function(){return"."+a}}),P.withComponent=function(C,L){return e(C,re({},n,L,{shouldForwardProp:Fv(P,L,!0)})).apply(void 0,y)},P}};const OA=RA;var TA=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],jp=OA.bind();TA.forEach(function(e){jp[e]=jp(e)});const AA=jp;var S_={exports:{}},xc={};/**
|
|
94
|
+
* @license React
|
|
95
|
+
* react-jsx-runtime.production.min.js
|
|
96
|
+
*
|
|
97
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
98
|
+
*
|
|
99
|
+
* This source code is licensed under the MIT license found in the
|
|
100
|
+
* LICENSE file in the root directory of this source tree.
|
|
101
|
+
*/var IA=h,LA=Symbol.for("react.element"),NA=Symbol.for("react.fragment"),BA=Object.prototype.hasOwnProperty,bA=IA.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,FA={key:!0,ref:!0,__self:!0,__source:!0};function __(e,t,n){var i,l={},u=null,a=null;n!==void 0&&(u=""+n),t.key!==void 0&&(u=""+t.key),t.ref!==void 0&&(a=t.ref);for(i in t)BA.call(t,i)&&!FA.hasOwnProperty(i)&&(l[i]=t[i]);if(e&&e.defaultProps)for(i in t=e.defaultProps,t)l[i]===void 0&&(l[i]=t[i]);return{$$typeof:LA,type:e,key:u,ref:a,props:l,_owner:bA.current}}xc.Fragment=NA;xc.jsx=__;xc.jsxs=__;S_.exports=xc;var E_=S_.exports;/**
|
|
102
|
+
* @mui/styled-engine v5.12.0
|
|
103
|
+
*
|
|
104
|
+
* @license MIT
|
|
105
|
+
* This source code is licensed under the MIT license found in the
|
|
106
|
+
* LICENSE file in the root directory of this source tree.
|
|
107
|
+
*/function MA(e,t){return AA(e,t)}const DA=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},$A=["values","unit","step"],zA=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,i)=>n.val-i.val),t.reduce((n,i)=>re({},n,{[i.key]:i.val}),{})};function UA(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:i=5}=e,l=$n(e,$A),u=zA(t),a=Object.keys(u);function c(S){return`@media (min-width:${typeof t[S]=="number"?t[S]:S}${n})`}function d(S){return`@media (max-width:${(typeof t[S]=="number"?t[S]:S)-i/100}${n})`}function p(S,R){const P=a.indexOf(R);return`@media (min-width:${typeof t[S]=="number"?t[S]:S}${n}) and (max-width:${(P!==-1&&typeof t[a[P]]=="number"?t[a[P]]:R)-i/100}${n})`}function g(S){return a.indexOf(S)+1<a.length?p(S,a[a.indexOf(S)+1]):c(S)}function y(S){const R=a.indexOf(S);return R===0?c(a[1]):R===a.length-1?d(a[R]):p(S,a[a.indexOf(S)+1]).replace("@media","@media not all and")}return re({keys:a,values:u,up:c,down:d,between:p,only:g,not:y,unit:n},l)}const WA={borderRadius:4},HA=WA;function Jl(e,t){return t?vr(e,t,{clone:!1}):e}const om={xs:0,sm:600,md:900,lg:1200,xl:1536},Mv={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${om[e]}px)`};function xr(e,t,n){const i=e.theme||{};if(Array.isArray(t)){const u=i.breakpoints||Mv;return t.reduce((a,c,d)=>(a[u.up(u.keys[d])]=n(t[d]),a),{})}if(typeof t=="object"){const u=i.breakpoints||Mv;return Object.keys(t).reduce((a,c)=>{if(Object.keys(u.values||om).indexOf(c)!==-1){const d=u.up(c);a[d]=n(t[c],c)}else{const d=c;a[d]=t[d]}return a},{})}return n(t)}function jA(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((i,l)=>{const u=e.up(l);return i[u]={},i},{}))||{}}function KA(e,t){return e.reduce((n,i)=>{const l=n[i];return(!l||Object.keys(l).length===0)&&delete n[i],n},t)}function Xo(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const i=`vars.${t}`.split(".").reduce((l,u)=>l&&l[u]?l[u]:null,e);if(i!=null)return i}return t.split(".").reduce((i,l)=>i&&i[l]!=null?i[l]:null,e)}function Ga(e,t,n,i=n){let l;return typeof e=="function"?l=e(n):Array.isArray(e)?l=e[n]||i:l=Xo(e,n)||i,t&&(l=t(l,i,e)),l}function xe(e){const{prop:t,cssProperty:n=e.prop,themeKey:i,transform:l}=e,u=a=>{if(a[t]==null)return null;const c=a[t],d=a.theme,p=Xo(d,i)||{};return xr(a,c,y=>{let S=Ga(p,l,y);return y===S&&typeof y=="string"&&(S=Ga(p,l,`${t}${y==="default"?"":yr(y)}`,y)),n===!1?S:{[n]:S}})};return u.propTypes={},u.filterProps=[t],u}function VA(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const GA={m:"margin",p:"padding"},QA={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Dv={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},YA=VA(e=>{if(e.length>2)if(Dv[e])e=Dv[e];else return[e];const[t,n]=e.split(""),i=GA[t],l=QA[n]||"";return Array.isArray(l)?l.map(u=>i+u):[i+l]}),lm=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],um=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...lm,...um];function Fu(e,t,n,i){var l;const u=(l=Xo(e,t,!1))!=null?l:n;return typeof u=="number"?a=>typeof a=="string"?a:u*a:Array.isArray(u)?a=>typeof a=="string"?a:u[a]:typeof u=="function"?u:()=>{}}function x_(e){return Fu(e,"spacing",8)}function Mu(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),i=e(n);return t>=0?i:typeof i=="number"?-i:`-${i}`}function XA(e,t){return n=>e.reduce((i,l)=>(i[l]=Mu(t,n),i),{})}function qA(e,t,n,i){if(t.indexOf(n)===-1)return null;const l=YA(n),u=XA(l,i),a=e[n];return xr(e,a,u)}function C_(e,t){const n=x_(e.theme);return Object.keys(e).map(i=>qA(e,t,i,n)).reduce(Jl,{})}function Ke(e){return C_(e,lm)}Ke.propTypes={};Ke.filterProps=lm;function Ve(e){return C_(e,um)}Ve.propTypes={};Ve.filterProps=um;function ZA(e=8){if(e.mui)return e;const t=x_({spacing:e}),n=(...i)=>(i.length===0?[1]:i).map(u=>{const a=t(u);return typeof a=="number"?`${a}px`:a}).join(" ");return n.mui=!0,n}function Cc(...e){const t=e.reduce((i,l)=>(l.filterProps.forEach(u=>{i[u]=l}),i),{}),n=i=>Object.keys(i).reduce((l,u)=>t[u]?Jl(l,t[u](i)):l,{});return n.propTypes={},n.filterProps=e.reduce((i,l)=>i.concat(l.filterProps),[]),n}function Yn(e){return typeof e!="number"?e:`${e}px solid`}const JA=xe({prop:"border",themeKey:"borders",transform:Yn}),e8=xe({prop:"borderTop",themeKey:"borders",transform:Yn}),t8=xe({prop:"borderRight",themeKey:"borders",transform:Yn}),n8=xe({prop:"borderBottom",themeKey:"borders",transform:Yn}),r8=xe({prop:"borderLeft",themeKey:"borders",transform:Yn}),i8=xe({prop:"borderColor",themeKey:"palette"}),o8=xe({prop:"borderTopColor",themeKey:"palette"}),l8=xe({prop:"borderRightColor",themeKey:"palette"}),u8=xe({prop:"borderBottomColor",themeKey:"palette"}),s8=xe({prop:"borderLeftColor",themeKey:"palette"}),kc=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Fu(e.theme,"shape.borderRadius",4),n=i=>({borderRadius:Mu(t,i)});return xr(e,e.borderRadius,n)}return null};kc.propTypes={};kc.filterProps=["borderRadius"];Cc(JA,e8,t8,n8,r8,i8,o8,l8,u8,s8,kc);const Pc=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Fu(e.theme,"spacing",8),n=i=>({gap:Mu(t,i)});return xr(e,e.gap,n)}return null};Pc.propTypes={};Pc.filterProps=["gap"];const Rc=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Fu(e.theme,"spacing",8),n=i=>({columnGap:Mu(t,i)});return xr(e,e.columnGap,n)}return null};Rc.propTypes={};Rc.filterProps=["columnGap"];const Oc=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Fu(e.theme,"spacing",8),n=i=>({rowGap:Mu(t,i)});return xr(e,e.rowGap,n)}return null};Oc.propTypes={};Oc.filterProps=["rowGap"];const a8=xe({prop:"gridColumn"}),c8=xe({prop:"gridRow"}),f8=xe({prop:"gridAutoFlow"}),d8=xe({prop:"gridAutoColumns"}),p8=xe({prop:"gridAutoRows"}),h8=xe({prop:"gridTemplateColumns"}),m8=xe({prop:"gridTemplateRows"}),g8=xe({prop:"gridTemplateAreas"}),v8=xe({prop:"gridArea"});Cc(Pc,Rc,Oc,a8,c8,f8,d8,p8,h8,m8,g8,v8);function Lo(e,t){return t==="grey"?t:e}const y8=xe({prop:"color",themeKey:"palette",transform:Lo}),w8=xe({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Lo}),S8=xe({prop:"backgroundColor",themeKey:"palette",transform:Lo});Cc(y8,w8,S8);function Jt(e){return e<=1&&e!==0?`${e*100}%`:e}const _8=xe({prop:"width",transform:Jt}),sm=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var i,l,u;return{maxWidth:((i=e.theme)==null||(l=i.breakpoints)==null||(u=l.values)==null?void 0:u[n])||om[n]||Jt(n)}};return xr(e,e.maxWidth,t)}return null};sm.filterProps=["maxWidth"];const E8=xe({prop:"minWidth",transform:Jt}),x8=xe({prop:"height",transform:Jt}),C8=xe({prop:"maxHeight",transform:Jt}),k8=xe({prop:"minHeight",transform:Jt});xe({prop:"size",cssProperty:"width",transform:Jt});xe({prop:"size",cssProperty:"height",transform:Jt});const P8=xe({prop:"boxSizing"});Cc(_8,sm,E8,x8,C8,k8,P8);const R8={border:{themeKey:"borders",transform:Yn},borderTop:{themeKey:"borders",transform:Yn},borderRight:{themeKey:"borders",transform:Yn},borderBottom:{themeKey:"borders",transform:Yn},borderLeft:{themeKey:"borders",transform:Yn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:kc},color:{themeKey:"palette",transform:Lo},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Lo},backgroundColor:{themeKey:"palette",transform:Lo},p:{style:Ve},pt:{style:Ve},pr:{style:Ve},pb:{style:Ve},pl:{style:Ve},px:{style:Ve},py:{style:Ve},padding:{style:Ve},paddingTop:{style:Ve},paddingRight:{style:Ve},paddingBottom:{style:Ve},paddingLeft:{style:Ve},paddingX:{style:Ve},paddingY:{style:Ve},paddingInline:{style:Ve},paddingInlineStart:{style:Ve},paddingInlineEnd:{style:Ve},paddingBlock:{style:Ve},paddingBlockStart:{style:Ve},paddingBlockEnd:{style:Ve},m:{style:Ke},mt:{style:Ke},mr:{style:Ke},mb:{style:Ke},ml:{style:Ke},mx:{style:Ke},my:{style:Ke},margin:{style:Ke},marginTop:{style:Ke},marginRight:{style:Ke},marginBottom:{style:Ke},marginLeft:{style:Ke},marginX:{style:Ke},marginY:{style:Ke},marginInline:{style:Ke},marginInlineStart:{style:Ke},marginInlineEnd:{style:Ke},marginBlock:{style:Ke},marginBlockStart:{style:Ke},marginBlockEnd:{style:Ke},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Pc},rowGap:{style:Oc},columnGap:{style:Rc},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Jt},maxWidth:{style:sm},minWidth:{transform:Jt},height:{transform:Jt},maxHeight:{transform:Jt},minHeight:{transform:Jt},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Tc=R8;function O8(...e){const t=e.reduce((i,l)=>i.concat(Object.keys(l)),[]),n=new Set(t);return e.every(i=>n.size===Object.keys(i).length)}function T8(e,t){return typeof e=="function"?e(t):e}function A8(){function e(n,i,l,u){const a={[n]:i,theme:l},c=u[n];if(!c)return{[n]:i};const{cssProperty:d=n,themeKey:p,transform:g,style:y}=c;if(i==null)return null;if(p==="typography"&&i==="inherit")return{[n]:i};const S=Xo(l,p)||{};return y?y(a):xr(a,i,P=>{let C=Ga(S,g,P);return P===C&&typeof P=="string"&&(C=Ga(S,g,`${n}${P==="default"?"":yr(P)}`,P)),d===!1?C:{[d]:C}})}function t(n){var i;const{sx:l,theme:u={}}=n||{};if(!l)return null;const a=(i=u.unstable_sxConfig)!=null?i:Tc;function c(d){let p=d;if(typeof d=="function")p=d(u);else if(typeof d!="object")return d;if(!p)return null;const g=jA(u.breakpoints),y=Object.keys(g);let S=g;return Object.keys(p).forEach(R=>{const P=T8(p[R],u);if(P!=null)if(typeof P=="object")if(a[R])S=Jl(S,e(R,P,u,a));else{const C=xr({theme:u},P,L=>({[R]:L}));O8(C,P)?S[R]=t({sx:P,theme:u}):S=Jl(S,C)}else S=Jl(S,e(R,P,u,a))}),KA(y,S)}return Array.isArray(l)?l.map(c):c(l)}return t}const k_=A8();k_.filterProps=["sx"];const am=k_,I8=["breakpoints","palette","spacing","shape"];function cm(e={},...t){const{breakpoints:n={},palette:i={},spacing:l,shape:u={}}=e,a=$n(e,I8),c=UA(n),d=ZA(l);let p=vr({breakpoints:c,direction:"ltr",components:{},palette:re({mode:"light"},i),spacing:d,shape:re({},HA,u)},a);return p=t.reduce((g,y)=>vr(g,y),p),p.unstable_sxConfig=re({},Tc,a==null?void 0:a.unstable_sxConfig),p.unstable_sx=function(y){return am({sx:y,theme:this})},p}function L8(e){return Object.keys(e).length===0}function N8(e=null){const t=h.useContext(w_);return!t||L8(t)?e:t}const B8=cm();function b8(e=B8){return N8(e)}const F8=["sx"],M8=e=>{var t,n;const i={systemProps:{},otherProps:{}},l=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:Tc;return Object.keys(e).forEach(u=>{l[u]?i.systemProps[u]=e[u]:i.otherProps[u]=e[u]}),i};function D8(e){const{sx:t}=e,n=$n(e,F8),{systemProps:i,otherProps:l}=M8(n);let u;return Array.isArray(t)?u=[i,...t]:typeof t=="function"?u=(...a)=>{const c=t(...a);return Ei(c)?re({},i,c):i}:u=re({},i,t),re({},l,{sx:u})}function P_(e){var t,n,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=P_(e[t]))&&(i&&(i+=" "),i+=n);else for(t in e)e[t]&&(i&&(i+=" "),i+=t);return i}function R_(){for(var e,t,n=0,i="";n<arguments.length;)(e=arguments[n++])&&(t=P_(e))&&(i&&(i+=" "),i+=t);return i}const $8=["variant"];function $v(e){return e.length===0}function O_(e){const{variant:t}=e,n=$n(e,$8);let i=t||"";return Object.keys(n).sort().forEach(l=>{l==="color"?i+=$v(i)?e[l]:yr(e[l]):i+=`${$v(i)?l:yr(l)}${yr(e[l].toString())}`}),i}const z8=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function U8(e){return Object.keys(e).length===0}function W8(e){return typeof e=="string"&&e.charCodeAt(0)>96}const H8=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,j8=(e,t)=>{let n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);const i={};return n.forEach(l=>{const u=O_(l.props);i[u]=l.style}),i},K8=(e,t,n,i)=>{var l,u;const{ownerState:a={}}=e,c=[],d=n==null||(l=n.components)==null||(u=l[i])==null?void 0:u.variants;return d&&d.forEach(p=>{let g=!0;Object.keys(p.props).forEach(y=>{a[y]!==p.props[y]&&e[y]!==p.props[y]&&(g=!1)}),g&&c.push(t[O_(p.props)])}),c};function ga(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const V8=cm();function Fl({defaultTheme:e,theme:t,themeId:n}){return U8(t)?e:t[n]||t}function G8(e={}){const{themeId:t,defaultTheme:n=V8,rootShouldForwardProp:i=ga,slotShouldForwardProp:l=ga}=e,u=a=>am(re({},a,{theme:Fl(re({},a,{defaultTheme:n,themeId:t}))}));return u.__mui_systemSx=!0,(a,c={})=>{DA(a,T=>T.filter(B=>!(B!=null&&B.__mui_systemSx)));const{name:d,slot:p,skipVariantsResolver:g,skipSx:y,overridesResolver:S}=c,R=$n(c,z8),P=g!==void 0?g:p&&p!=="Root"||!1,C=y||!1;let L,_=ga;p==="Root"?_=i:p?_=l:W8(a)&&(_=void 0);const E=MA(a,re({shouldForwardProp:_,label:L},R)),x=(T,...B)=>{const F=B?B.map($=>typeof $=="function"&&$.__emotion_real!==$?Y=>$(re({},Y,{theme:Fl(re({},Y,{defaultTheme:n,themeId:t}))})):$):[];let N=T;d&&S&&F.push($=>{const Y=Fl(re({},$,{defaultTheme:n,themeId:t})),ve=H8(d,Y);if(ve){const Re={};return Object.entries(ve).forEach(([at,un])=>{Re[at]=typeof un=="function"?un(re({},$,{theme:Y})):un}),S($,Re)}return null}),d&&!P&&F.push($=>{const Y=Fl(re({},$,{defaultTheme:n,themeId:t}));return K8($,j8(d,Y),Y,d)}),C||F.push(u);const U=F.length-B.length;if(Array.isArray(T)&&U>0){const $=new Array(U).fill("");N=[...T,...$],N.raw=[...T.raw,...$]}else typeof T=="function"&&T.__emotion_real!==T&&(N=$=>T(re({},$,{theme:Fl(re({},$,{defaultTheme:n,themeId:t}))})));const K=E(N,...F);return a.muiName&&(K.muiName=a.muiName),K};return E.withConfig&&(x.withConfig=E.withConfig),x}}function Q8(e){const{theme:t,name:n,props:i}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?i:i_(t.components[n].defaultProps,i)}function Y8({props:e,name:t,defaultTheme:n,themeId:i}){let l=b8(n);return i&&(l=l[i]||l),Q8({theme:l,name:t,props:e})}function fm(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function X8(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(i=>i+i)),n?`rgb${n.length===4?"a":""}(${n.map((i,l)=>l<3?parseInt(i,16):Math.round(parseInt(i,16)/255*1e3)/1e3).join(", ")})`:""}function bi(e){if(e.type)return e;if(e.charAt(0)==="#")return bi(X8(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(Qo(9,e));let i=e.substring(t+1,e.length-1),l;if(n==="color"){if(i=i.split(" "),l=i.shift(),i.length===4&&i[3].charAt(0)==="/"&&(i[3]=i[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(l)===-1)throw new Error(Qo(10,l))}else i=i.split(",");return i=i.map(u=>parseFloat(u)),{type:n,values:i,colorSpace:l}}function Ac(e){const{type:t,colorSpace:n}=e;let{values:i}=e;return t.indexOf("rgb")!==-1?i=i.map((l,u)=>u<3?parseInt(l,10):l):t.indexOf("hsl")!==-1&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),t.indexOf("color")!==-1?i=`${n} ${i.join(" ")}`:i=`${i.join(", ")}`,`${t}(${i})`}function q8(e){e=bi(e);const{values:t}=e,n=t[0],i=t[1]/100,l=t[2]/100,u=i*Math.min(l,1-l),a=(p,g=(p+n/30)%12)=>l-u*Math.max(Math.min(g-3,9-g,1),-1);let c="rgb";const d=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(c+="a",d.push(t[3])),Ac({type:c,values:d})}function zv(e){e=bi(e);let t=e.type==="hsl"||e.type==="hsla"?bi(q8(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:As((n+.055)/1.055,2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Z8(e,t){const n=zv(e),i=zv(t);return(Math.max(n,i)+.05)/(Math.min(n,i)+.05)}function J8(e,t){return e=bi(e),t=fm(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Ac(e)}function eI(e,t){if(e=bi(e),t=fm(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Ac(e)}function tI(e,t){if(e=bi(e),t=fm(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Ac(e)}function nI(e,t){return re({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const rI=["mode","contrastThreshold","tonalOffset"],Uv={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:wu.white,default:wu.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Nd={text:{primary:wu.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:wu.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Wv(e,t,n,i){const l=i.light||i,u=i.dark||i*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=tI(e.main,l):t==="dark"&&(e.dark=eI(e.main,u)))}function iI(e="light"){return e==="dark"?{main:lo[200],light:lo[50],dark:lo[400]}:{main:lo[700],light:lo[400],dark:lo[800]}}function oI(e="light"){return e==="dark"?{main:oo[200],light:oo[50],dark:oo[400]}:{main:oo[500],light:oo[300],dark:oo[700]}}function lI(e="light"){return e==="dark"?{main:io[500],light:io[300],dark:io[700]}:{main:io[700],light:io[400],dark:io[800]}}function uI(e="light"){return e==="dark"?{main:uo[400],light:uo[300],dark:uo[700]}:{main:uo[700],light:uo[500],dark:uo[900]}}function sI(e="light"){return e==="dark"?{main:so[400],light:so[300],dark:so[700]}:{main:so[800],light:so[500],dark:so[900]}}function aI(e="light"){return e==="dark"?{main:Bl[400],light:Bl[300],dark:Bl[700]}:{main:"#ed6c02",light:Bl[500],dark:Bl[900]}}function cI(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:i=.2}=e,l=$n(e,rI),u=e.primary||iI(t),a=e.secondary||oI(t),c=e.error||lI(t),d=e.info||uI(t),p=e.success||sI(t),g=e.warning||aI(t);function y(C){return Z8(C,Nd.text.primary)>=n?Nd.text.primary:Uv.text.primary}const S=({color:C,name:L,mainShade:_=500,lightShade:E=300,darkShade:x=700})=>{if(C=re({},C),!C.main&&C[_]&&(C.main=C[_]),!C.hasOwnProperty("main"))throw new Error(Qo(11,L?` (${L})`:"",_));if(typeof C.main!="string")throw new Error(Qo(12,L?` (${L})`:"",JSON.stringify(C.main)));return Wv(C,"light",E,i),Wv(C,"dark",x,i),C.contrastText||(C.contrastText=y(C.main)),C},R={dark:Nd,light:Uv};return vr(re({common:re({},wu),mode:t,primary:S({color:u,name:"primary"}),secondary:S({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:S({color:c,name:"error"}),warning:S({color:g,name:"warning"}),info:S({color:d,name:"info"}),success:S({color:p,name:"success"}),grey:_T,contrastThreshold:n,getContrastText:y,augmentColor:S,tonalOffset:i},R[t]),l)}const fI=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function dI(e){return Math.round(e*1e5)/1e5}const Hv={textTransform:"uppercase"},jv='"Roboto", "Helvetica", "Arial", sans-serif';function pI(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:i=jv,fontSize:l=14,fontWeightLight:u=300,fontWeightRegular:a=400,fontWeightMedium:c=500,fontWeightBold:d=700,htmlFontSize:p=16,allVariants:g,pxToRem:y}=n,S=$n(n,fI),R=l/14,P=y||(_=>`${_/p*R}rem`),C=(_,E,x,T,B)=>re({fontFamily:i,fontWeight:_,fontSize:P(E),lineHeight:x},i===jv?{letterSpacing:`${dI(T/E)}em`}:{},B,g),L={h1:C(u,96,1.167,-1.5),h2:C(u,60,1.2,-.5),h3:C(a,48,1.167,0),h4:C(a,34,1.235,.25),h5:C(a,24,1.334,0),h6:C(c,20,1.6,.15),subtitle1:C(a,16,1.75,.15),subtitle2:C(c,14,1.57,.1),body1:C(a,16,1.5,.15),body2:C(a,14,1.43,.15),button:C(c,14,1.75,.4,Hv),caption:C(a,12,1.66,.4),overline:C(a,12,2.66,1,Hv),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return vr(re({htmlFontSize:p,pxToRem:P,fontFamily:i,fontSize:l,fontWeightLight:u,fontWeightRegular:a,fontWeightMedium:c,fontWeightBold:d},L),S,{clone:!1})}const hI=.2,mI=.14,gI=.12;function Me(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${hI})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${mI})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${gI})`].join(",")}const vI=["none",Me(0,2,1,-1,0,1,1,0,0,1,3,0),Me(0,3,1,-2,0,2,2,0,0,1,5,0),Me(0,3,3,-2,0,3,4,0,0,1,8,0),Me(0,2,4,-1,0,4,5,0,0,1,10,0),Me(0,3,5,-1,0,5,8,0,0,1,14,0),Me(0,3,5,-1,0,6,10,0,0,1,18,0),Me(0,4,5,-2,0,7,10,1,0,2,16,1),Me(0,5,5,-3,0,8,10,1,0,3,14,2),Me(0,5,6,-3,0,9,12,1,0,3,16,2),Me(0,6,6,-3,0,10,14,1,0,4,18,3),Me(0,6,7,-4,0,11,15,1,0,4,20,3),Me(0,7,8,-4,0,12,17,2,0,5,22,4),Me(0,7,8,-4,0,13,19,2,0,5,24,4),Me(0,7,9,-4,0,14,21,2,0,5,26,4),Me(0,8,9,-5,0,15,22,2,0,6,28,5),Me(0,8,10,-5,0,16,24,2,0,6,30,5),Me(0,8,11,-5,0,17,26,2,0,6,32,5),Me(0,9,11,-5,0,18,28,2,0,7,34,6),Me(0,9,12,-6,0,19,29,2,0,7,36,6),Me(0,10,13,-6,0,20,31,3,0,8,38,7),Me(0,10,13,-6,0,21,33,3,0,8,40,7),Me(0,10,14,-6,0,22,35,3,0,8,42,7),Me(0,11,14,-7,0,23,36,3,0,9,44,8),Me(0,11,15,-7,0,24,38,3,0,9,46,8)],yI=vI,wI=["duration","easing","delay"],SI={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},_I={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Kv(e){return`${Math.round(e)}ms`}function EI(e){if(!e)return 0;const t=e/36;return Math.round((4+15*As(t,.25)+t/5)*10)}function xI(e){const t=re({},SI,e.easing),n=re({},_I,e.duration);return re({getAutoHeightDuration:EI,create:(l=["all"],u={})=>{const{duration:a=n.standard,easing:c=t.easeInOut,delay:d=0}=u;return $n(u,wI),(Array.isArray(l)?l:[l]).map(p=>`${p} ${typeof a=="string"?a:Kv(a)} ${c} ${typeof d=="string"?d:Kv(d)}`).join(",")}},e,{easing:t,duration:n})}const CI={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},kI=CI,PI=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function RI(e={},...t){const{mixins:n={},palette:i={},transitions:l={},typography:u={}}=e,a=$n(e,PI);if(e.vars)throw new Error(Qo(18));const c=cI(i),d=cm(e);let p=vr(d,{mixins:nI(d.breakpoints,n),palette:c,shadows:yI.slice(),typography:pI(c,u),transitions:xI(l),zIndex:re({},kI)});return p=vr(p,a),p=t.reduce((g,y)=>vr(g,y),p),p.unstable_sxConfig=re({},Tc,a==null?void 0:a.unstable_sxConfig),p.unstable_sx=function(y){return am({sx:y,theme:this})},p}const OI=RI(),T_=OI;function A_({props:e,name:t}){return Y8({props:e,name:t,defaultTheme:T_,themeId:u_})}const TI=e=>ga(e)&&e!=="classes",AI=G8({themeId:u_,defaultTheme:T_,rootShouldForwardProp:TI}),I_=AI;function II(e){return tm("MuiTypography",e)}l_("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const LI=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],NI=e=>{const{align:t,gutterBottom:n,noWrap:i,paragraph:l,variant:u,classes:a}=e,c={root:["root",u,e.align!=="inherit"&&`align${yr(t)}`,n&&"gutterBottom",i&&"noWrap",l&&"paragraph"]};return o_(c,II,a)},BI=I_("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${yr(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>re({margin:0},t.variant&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),Vv={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},bI={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},FI=e=>bI[e]||e,MI=h.forwardRef(function(t,n){const i=A_({props:t,name:"MuiTypography"}),l=FI(i.color),u=D8(re({},i,{color:l})),{align:a="inherit",className:c,component:d,gutterBottom:p=!1,noWrap:g=!1,paragraph:y=!1,variant:S="body1",variantMapping:R=Vv}=u,P=$n(u,LI),C=re({},u,{align:a,color:l,className:c,component:d,gutterBottom:p,noWrap:g,paragraph:y,variant:S,variantMapping:R}),L=d||(y?"p":R[S]||Vv[S])||"span",_=NI(C);return E_.jsx(BI,re({as:L,ref:n,ownerState:C,className:R_(_.root,c)},P))}),DI=MI;function $I(e){return tm("MuiLink",e)}const zI=l_("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),UI=zI,L_={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},WI=e=>L_[e]||e,HI=({theme:e,ownerState:t})=>{const n=WI(t.color),i=Xo(e,`palette.${n}`,!1)||t.color,l=Xo(e,`palette.${n}Channel`);return"vars"in e&&l?`rgba(${l} / 0.4)`:J8(i,.4)},jI=HI,KI=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],VI=e=>{const{classes:t,component:n,focusVisible:i,underline:l}=e,u={root:["root",`underline${yr(l)}`,n==="button"&&"button",i&&"focusVisible"]};return o_(u,$I,t)},GI=I_(DI,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${yr(n.underline)}`],n.component==="button"&&t.button]}})(({theme:e,ownerState:t})=>re({},t.underline==="none"&&{textDecoration:"none"},t.underline==="hover"&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},t.underline==="always"&&re({textDecoration:"underline"},t.color!=="inherit"&&{textDecorationColor:jI({theme:e,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),t.component==="button"&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${UI.focusVisible}`]:{outline:"auto"}})),QI=h.forwardRef(function(t,n){const i=A_({props:t,name:"MuiLink"}),{className:l,color:u="primary",component:a="a",onBlur:c,onFocus:d,TypographyClasses:p,underline:g="always",variant:y="inherit",sx:S}=i,R=$n(i,KI),{isFocusVisibleRef:P,onBlur:C,onFocus:L,ref:_}=AT(),[E,x]=h.useState(!1),T=xT(n,_),B=K=>{C(K),P.current===!1&&x(!1),c&&c(K)},F=K=>{L(K),P.current===!0&&x(!0),d&&d(K)},N=re({},i,{color:u,component:a,focusVisible:E,underline:g,variant:y}),U=VI(N);return E_.jsx(GI,re({color:u,className:R_(U.root,l),classes:p,component:a,onBlur:B,onFocus:F,ref:T,ownerState:N,variant:y,sx:[...Object.keys(L_).includes(u)?[]:[{color:u}],...Array.isArray(S)?S:[S]]},R))}),YI=QI,XI={"`":"code","*":"b","/":"i",_:"u"};function Gv(e,{linkTarget:t="",onText:n=i=>i}={}){return typeof e!="string"&&(e=e[0]),qI(e,/([`*/_])(.+)\1|(\n)|\[(.+)\]\((.+)\)/g,i=>i[4]?h.createElement(YI,{href:i[5],target:t},n(i[4])):i[3]?h.createElement("br"):h.createElement(XI[i[1]],{},n(i[2])),n)}function qI(e,t,n,i=l=>l){const l=[];let u=0,a;for(;a=t.exec(e);)l.push(i(e.slice(u,a.index))),l.push(n(a)),u=a.index+a[0].length;return h.createElement(h.Fragment,{},...l,i(e.slice(u,1/0)))}var N_=(e=>(e[e.fullWidth=0]="fullWidth",e[e.freeY=1]="freeY",e[e.contain=2]="contain",e))(N_||{});function ZI(e){const{close:t}=Cn({noFrame:!0,className:"file-show",Content(){const[n,i]=h.useState(e),l=h.useRef(0),u=h.useRef(e),[a,c]=h.useState(2);vS("keydown",({key:N})=>{if(N==="ArrowLeft")return x(-1);if(N==="ArrowRight")return x(1);if(N==="ArrowDown")return F(1);if(N==="ArrowUp")return F(-1);if(N==="d")return location.href=n.uri+"?dl";if(N==="z")return B();if(N==="f")return T();if(N===" "){const U=H.selected;U[n.uri]?delete U[n.uri]:U[n.uri]=!0,H.showFilter=!0;return}});const[d,p]=h.useState(!1),g=h.useRef(0),y="nav"+(d?"":" nav-hidden"),[S,R]=h.useState(!1),[P,C]=h.useState(!1),L=h.useRef(),_=h.useRef();h.useEffect(()=>{F(-1e9)},[n]);const{t:E}=xn();return h.createElement(ti,{gap:0,alignItems:"stretch",className:N_[a],props:{role:"dialog",onMouseMove(){p(!0),clearTimeout(g.current),g.current=+setTimeout(()=>p(!1),1e3)}}},h.createElement("div",{className:"bar"},h.createElement("div",{className:"filename"},n.n),h.createElement(M_,{entry:n,midnight:b_()}),h.createElement(Zl,{},Vh().width>1280&&To("?",tL),To("menu",N=>dm(n,N,["open","delete",{id:"zoom",icon:"zoom",label:Gv(E`Switch _z_oom mode`),onClick:B},{id:"fullscreen",icon:"fullscreen",label:Gv(E`_F_ull screen`),onClick:T}])),To("close",t))),h.createElement(ti,{center:!0,className:"main",ref:_},S&&h.createElement(Lu,{style:{position:"absolute",fontSize:"20vh",opacity:.5}}),P===n.n?h.createElement(ti,{alignItems:"center",textAlign:"center"},We("error",{style:{fontSize:"20vh"}}),h.createElement("div",{},n.name),E`Loading failed`):h.createElement("div",{className:"showing-container",ref:L},h.createElement(Kp(n)||h.Fragment,{src:n.uri,className:"showing",onLoad:()=>{u.current=n,R(!1)},onError:()=>{x(),C(n.n)}})),We("❮",{className:y,style:{left:0},onClick:()=>x(-1)}),We("❯",{className:y,style:{right:0},onClick:()=>x(1)})));function x(N){N&&(l.current=N);let U=n;for(C(!1),R(!0);;){if(U=U.getSibling(l.current),!U)return R(n!==u.current),i(u.current),XO(document.body,".2s blink");if(!U.isFolder&&Kp(U))break}i(U)}function T(){var N;if(!document.fullscreenEnabled)return et(E`Full-screen not supported`,"error");document.fullscreenElement?document.exitFullscreen():(N=_.current)==null||N.requestFullscreen()}function B(){c(N=>N?N-1:2)}function F(N){var U,K;(K=L.current)==null||K.scrollBy(0,N*.5*((U=L.current)==null?void 0:U.clientHeight))}}})}function Kp(e){const t=yc("fileShow",{entry:e}).find(Boolean);if(t)return t;const n=IS(e.ext);return n==="audio"?JI:n==="video"?eL:n==="image"?"img":""}function JI(n){var i=n,{onLoad:e}=i,t=Ft(i,["onLoad"]);return h.createElement("audio",ce({onLoadedData:e,controls:!0},t))}function eL(n){var i=n,{onLoad:e}=i,t=Ft(i,["onLoad"]);return h.createElement("video",ce({onLoadedData:e,controls:!0},t))}function tL(){Cn({title:"File show help",className:"file-show-help",Content:()=>h.createElement(Ip,{code:`
|
|
108
|
+
You can use the keyboard for some actions:
|
|
109
|
+
<br/><kbd>left/right</kbd> go to previous/next file
|
|
110
|
+
<br/><kbd>up/down</kbd> scroll tall images
|
|
111
|
+
<br/><kbd>space</kbd> select
|
|
112
|
+
<br/><kbd>D</kbd> download
|
|
113
|
+
<br/><kbd>Z</kbd> zoom modes
|
|
114
|
+
<br/><kbd>F</kbd> full screen
|
|
115
|
+
`})})}function dm(e,t,n){var S;const{uri:i,isFolder:l,s:u}=e,c=[!(e.cantOpen||l&&((S=e.p)==null?void 0:S.includes("r")))&&{id:"download",label:G`Download`,href:i+(l?"?get=zip":"?dl"),icon:"download"},...n.map(R=>{var P;if(R==="open"){if(e.cantOpen)return;const C={id:"open",icon:"play",label:G("file_open","Open"),href:i,target:l?void 0:"_blank"};return l?h.createElement(zo,{to:i,onClick:()=>y()},We(C.icon),C.label):C}return R==="delete"?(H.can_delete||((P=e.p)==null?void 0:P.includes("d")))&&{id:"delete",label:G`Delete`,icon:"trash",onClick:()=>n_([e.uri])}:R==="show"?!e.cantOpen&&Kp(e)&&{id:"show",label:G`Show`,icon:"image",onClick:()=>ZI(e)}:R}),H.can_delete&&{id:"rename",label:G`Rename`,icon:"edit",onClick:()=>nL(e)},l&&{id:"list",label:G`Get list`,href:i+"?get=list&folders=*",icon:"list"}],d=[[G`Name`,e.name],typeof u=="number"&&[G`Size`,h.createElement(h.Fragment,{},Di(u),h.createElement("small",{},Go(" (",u>1024&&u.toLocaleString(),")")))],e.t&&[G`Timestamp`,e.t.toLocaleString()]],p=yc("fileMenu",{entry:e,menu:c,props:d});p&&c.push(...p.flat());const g=F_(e),{close:y}=Cn({title:l?G`Folder menu`:G`File menu`,className:"file-dialog",icon:()=>g,position:Math.min(innerWidth,innerHeight)<800?void 0:[t.pageX,t.pageY-scrollY],Content(){var L;const{t:R}=xn(),[P]=bS("get_file_details",{uris:[e.uri]}),C=[...d,DS((L=P==null?void 0:P[0])==null?void 0:L.upload,_=>_&&[R`Uploader`,_.ip+Go(" (",_.username,")")])];return h.createElement(h.Fragment,{},h.createElement("dl",{className:"file-dialog-properties"},bp(C.map(_=>h.isValidElement(_)?_:Array.isArray(_)?h.createElement(h.Fragment,{},h.createElement("dt",{},_[0]),h.createElement("dd",{},_[1])):null))),e.cantOpen&&h.createElement(h.Fragment,{},We("password",{style:{marginRight:".5em"}}),R(B_)),h.createElement("div",{className:"file-menu"},bp(c.map((_,E)=>h.isValidElement(_)?_:(_==null?void 0:_.label)&&h.createElement("a",Br(ce({key:E,href:"#"},ke.omit(_,["label","icon","onClick"])),{onClick(T){return Fe(this,null,function*(){var B;_.href||T.preventDefault(),(yield(B=_.onClick)==null?void 0:B.call(_,T))!==!1&&y()})}}),We(_.icon||"file"),h.createElement("label",{style:{display:"flex",flexDirection:"column"}},h.createElement("div",{},_.label),h.createElement("small",{},_.subLabel)))))))}})}function nL(e){return Fe(this,null,function*(){const t=yield Ho(G`Name`,{def:e.name,title:G`Rename`});if(t)try{const{n,uri:i}=e;yield er("rename",{uri:i,dest:t});const l=i===location.pathname;if(!l){const u=n.replace(/(.*?)[^/]+(\/?)$/,(p,g,y)=>g+t+y),a=new qh(u,e),c=ke.findIndex(H.list,{n});H.list[c]=a;const d=ke.findIndex(H.filteredList,{n});d>=0&&(H.filteredList[d]=a)}et(G`Operation successful`).then(()=>{l&&D_(i+"../"+AS(t)+"/")})}catch(n){yield et(n)}})}function rL(){const e=vc()+"/",t=em().slice(e.length,-1),n=e+t.slice(0,t.lastIndexOf("/")+1);let i=e;const l=t?t.split("/").map(a=>[i+=a+"/",decodeURIComponent(a)]):[],{t:u}=xn();return h.createElement(h.Fragment,{},h.createElement(Bd,{label:We("parent",{title:u`parent folder`}),path:n}),h.createElement(Bd,{label:We("home",{title:u`home`}),path:e,current:!t}),l.map(([a,c],d)=>h.createElement(Bd,{key:a,path:a,label:c,current:d===l.length-1})))}function Bd({path:e,label:t,current:n}){const i=" ";typeof t=="string"&&t.length<3&&(t=i+t+i);const{t:l}=xn();return h.createElement(zo,{className:"breadcrumb",to:e||"/",onClick(a){return Fe(this,null,function*(){if(!n)return;if(typeof t!="string")return c();dm(new qh(decodeURIComponent(e)),a,[{id:"reload",label:l`Reload`,icon:"reload",onClick:c}]);function c(){var d;H.remoteSearch="",(d=H.stopSearch)==null||d.call(H),ci()}})}},t)}function iL(){const{list:e,filteredList:t,selected:n,patternFilter:i,showFilter:l}=At(),[u,a]=h.useState(!1),[c,d]=h.useState(i);h.useEffect(()=>a(!1),[i,em()]);const{t:p}=xn();H.patternFilter=J6(l?c:"",300);const g=Object.keys(n).length,y=t==null?void 0:t.length,S=l?void 0:-1;return h.createElement("div",{id:"filter-bar",className:l?"show-sliding":"before-sliding"},h.createElement(Oo,{value:u,tabIndex:S,onContextMenu(P){P.preventDefault(),R(void 0)},onChange(P,C){const L=DS(C.nativeEvent,_=>_.ctrlKey||_.metaKey);R(L?void 0:P)}}),h.createElement("input",{id:"filter",placeholder:p("filter_placeholder","Type here to filter the list below"),autoComplete:"off",value:c,tabIndex:S,autoFocus:!0,onChange(P){d(P.target.value)}}),h.createElement("span",{},[g&&p("select_count",{n:g},"{n} selected"),y!==void 0&&y<e.length&&p("filter_count",{n:y},"{n} filtered")].filter(Boolean).join(", ")));function R(P){const C=H.selected;for(const{uri:L}of H.filteredList||H.list){const _=C[L]||!1;_!==P&&(_?delete C[L]:C[L]=!0)}P!==void 0&&a(P)}}function oL(){return h.createElement("header",{},h.createElement(fT),h.createElement(ni,{name:"afterMenuBar"}),h.createElement(rL),h.createElement(lL),h.createElement(iL))}function lL(){const{list:e,loading:t,stoppedSearch:n}=At(),{files:i,folders:l,size:u}=h.useMemo(()=>{let c=0,d=0,p=0;for(const{isFolder:g,s:y}of e)g?++d:++c,p+=y||0;return{files:c,folders:d,size:p}},[e]),{t:a}=xn();return h.createElement(h.Fragment,{},h.createElement("div",{id:"folder-stats"},n?We("interrupted",{title:a`Search was interrupted`}):e.length>0&&t&&h.createElement(Lu),[i&&a("n_files",{n:i},"{n,plural,one{# file} other{# files}}"),l&&a("n_folders",{n:l},"{n,plural,one{# folder} other{# folders}}"),u?Di(u):""].filter(Boolean).join(", ")),h.createElement("div",{style:{clear:"both"}}))}const B_="Missing permission";function uL(){nT();const{error:e}=At();return oT()&&h.createElement(h.Fragment,{},h.createElement(ni,{name:"beforeHeader"}),h.createElement(oL),h.createElement(ni,{name:"afterHeader"}),e?h.createElement(JS,{err:e}):h.createElement(sL),h.createElement(ni,{name:"afterList"}))}function sL(){const{filteredList:e,list:t,loading:n,stoppedSearch:i,can_upload:l}=At(),u=b_(),a=100,[c,d]=h.useState(0),[p,g]=h.useState(0),[y,S]=h.useState(0),[R,P]=h.useState(!1),C=c*a,L=e||t,_=L.length,E=Math.ceil(_/a);h.useEffect(()=>d(0),[L]),h.useEffect(()=>{var $;($=document.scrollingElement)==null||$.scrollTo(0,0),g(0),S(0)},[c]);const x=h.useMemo(()=>ke.throttle(()=>{const $=ke.findLastIndex(document.querySelectorAll("."+Vp),Y=>Y.getBoundingClientRect().top<=window.innerHeight/2);S($+1),P(window.innerHeight+Math.ceil(window.scrollY)>=document.body.offsetHeight)},200),[]);h.useEffect(()=>YO("scroll",()=>{if(!L.length)return;window.innerHeight*1.3+window.scrollY>=document.body.offsetHeight&&c+p<E-1&&g(p+1),x()}),[c,p,E]);const T=h.useRef(),[B,F]=h.useState(!1);h.useEffect(()=>{B&&(F(!1),window.scrollTo(0,document.body.scrollHeight))},[B]);const N=h.useCallback(($,Y)=>{var Re;if(Y&&F(!0),$<c||$>c+p)return d($);$-=c+1;const ve=$<0?(Re=T.current)==null?void 0:Re.querySelector("*"):document.querySelectorAll("."+Vp)[$];ve==null||ve.scrollIntoView({block:"center"})},[c,p]),{t:U}=xn(),K=t.length?e&&!e.length&&U("filter_none","No match for this filter"):!n&&(i?U("stopped_before","Stopped before finding anything"):U("empty_list","Nothing here"));return h.createElement(h.Fragment,{},h.createElement("ul",ce({ref:T,className:"dir"},qS(l&&KS)),K?h.createElement("p",{},K):L.slice(C,C+a*(1+p)).map(($,Y)=>h.createElement(cL,{key:$.n,midnight:u,separator:Y>0&&!(Y%a)?String(C+Y):void 0,entry:$})),n&&h.createElement(Lu)),_>a&&h.createElement(aL,{nPages:E,current:c+y,atBottom:R,pageSize:a,pageChange:N}))}const aL=h.memo(({nPages:e,current:t,pageSize:n,pageChange:i,atBottom:l})=>{h.useEffect(()=>(document.body.style.overflowY="scroll",()=>{document.body.style.overflowY=""}),[]);const u=h.useRef();h.useEffect(()=>{var p;return(p=u.current)==null?void 0:p.scrollIntoView({block:"nearest"})},[t]);const a=e>20,c=ke.floor(t,-1),d=c+10;return h.createElement("div",{id:"paging"},h.createElement("button",{className:t?void 0:"toggled",onClick(){i(0)}},We("to_start")),h.createElement("div",{id:"paging-middle"},ke.range(1,e).map(p=>(!a||!(p%10)||p>=c&&p<d)&&h.createElement("button",Br(ce({key:p},p===t&&{className:"toggled",ref:u}),{onClick:()=>i(p)}),a&&!(p%10)?p/10+"K":p*n))),h.createElement("button",{className:l?"toggled":void 0,onClick(){i(e-1,!0)}},We("to_end")))});function b_(){const[e,t]=h.useState(n);return h.useEffect(()=>{setTimeout(()=>t(n()),10*6e4)},[]),e;function n(){const i=new Date;i.setHours(i.getHours()-6);const l=new Date;return l.setHours(0,0,0,0),i<l?i:l}}const Vp="page-separator",cL=h.memo(({entry:e,midnight:t,separator:n})=>{const{uri:i,isFolder:l}=e,{showFilter:u,selected:a}=At(),c=l?"":i.substring(0,i.lastIndexOf("/")+1),d=c&&e.n.slice(0,-e.name.length);let p=l?"folder":"file";e.cantOpen&&(p+=" cant-open"),n&&(p+=" "+Vp);const g=F_(e),y=$i().fileMenuOnLink,S=y&&P||void 0,R=Vh().width<800;return h.createElement("li",{className:p,label:n},u&&h.createElement(Oo,{value:a[i],onChange(C){if(C)return H.selected[i]=!0;delete H.selected[i]}}),h.createElement("span",{className:"link-wrapper"},l?h.createElement(h.Fragment,{},h.createElement(zo,{to:i},g,e.n.slice(0,-1)),y&&h.createElement("button",{className:"popup-menu-button",onClick:P},We("menu"),G`Menu`)):c?h.createElement(h.Fragment,{},h.createElement("a",{href:i,onClick:S,tabIndex:-1},g),h.createElement(zo,{to:c,className:"container-folder",tabIndex:-1},d),h.createElement("a",{href:i,onClick:S},e.name)):h.createElement("a",{href:i,onClick:S},g,e.name)),h.createElement(ni,{name:"afterEntryName",props:{entry:e}}),h.createElement("div",{className:"entry-panel"},h.createElement(M_,{entry:e,midnight:t}),(!y||l&&R)&&h.createElement("button",{className:"file-menu-button",onClick:P},We("menu"))),h.createElement("div"));function P(C){C.altKey||C.ctrlKey||C.metaKey||(C.preventDefault(),dm(e,C,[y&&"open","delete","show"]))}});function F_(e){return h.createElement(ni,{name:"entryIcon",props:{entry:e},ifEmpty:()=>e.getDefaultIcon()})}const M_=h.memo(({entry:e,midnight:t})=>{var d;const{t:n,s:i}=e,l=n&&n>t,u=Vh().width<800,{t:a}=xn(),c="2-digit";return h.createElement("div",{className:"entry-details"},h.createElement(ni,{name:"additionalEntryDetails",props:{entry:e}}),((d=e.p)==null?void 0:d.match(e.isFolder?/l/i:/r/i))&&We("password",{className:"miss-perm",title:a(B_)}),h.createElement(fL,{s:i}),n&&h.createElement("span",{className:"entry-ts",onClick(){u&&et(a`Full timestamp:`+`
|
|
116
|
+
`+n.toLocaleString()).then()}},n.toLocaleString(navigator.language,ce(ce({},!u||!l?{year:u?c:"numeric",month:c,day:c}:null),!u||l?{hour:c,minute:c}:null))))}),fL=h.memo(({s:e})=>{if(e===void 0)return null;const t=Di(e).split(" ");return h.createElement("span",{className:"entry-size",title:e.toLocaleString()},t[0],h.createElement("span",{className:"entry-size-unit"},t[1]))});function dL(){const{theme:e}=At(),t=tO("(prefers-color-scheme: dark)");h.useEffect(()=>{const n=document.body;if(!n)return;const i=e||(t?"dark":"light"),l="theme-",u=l+i,a=n.classList;for(const c of Array.from(a))c.startsWith(l)&&c!==u&&a.remove(c);i&&a.add(u)},[e,t])}function pL(){dL();const{ready:e}=ai($_),{messageOnly:t,tiles:n=0}=At();if(t)return h.createElement("h1",{style:{textAlign:"center"}},t);if(!e)return h.createElement(Lu,{style:{margin:"auto"}});const i={"--tile-size":n};return h.createElement(PO,{},h.createElement("div",{className:n?"tiles-mode":"list-mode",style:i},h.createElement(Y6,{},h.createElement(hL,{},h.createElement(j6,{},h.createElement(gS,{path:"*",element:h.createElement(uL)}))),h.createElement(PS))))}let D_;function hL(e){return D_=Iu(),h.createElement(h.Fragment,e)}const $_=Nu({ready:document.readyState==="complete"});document.addEventListener("readystatechange",()=>{$_.ready=document.readyState==="complete"});lS(document.getElementById("root")).render(h.createElement(h.StrictMode,{},h.createElement(pL)));export{Zt as c,Gp as g};
|