Auth redirects, language switch, basic profile
This commit is contained in:
1 parent
2091bdb4e3
commit
36a4659915
31 files changed
+5638
-331
No files matched your search
Vendored
+1
@@ -0,0 +1 @@
|
||||
import{a5 as p,a6 as W,a7 as K,a8 as X,m as t,r as m,a9 as C,aa as y,ab as V,ac as Z,ad as J}from"./vendor_react-BnzSvkeI.js";import{u as k,a as _,b as Y,c as ee,L as x,d as te,O as ne,e as se,r as F,f as $,q as E,g as I,Q as re,h as oe,i as ae,R as ie,j as ue}from"./vendor_tanstack-BjOH7Cun.js";import{M as D,a as w,B as v,T as L,b as ce,d as l,A as le,e as R,L as j,C as de,I as A,f as b,u as he,g as ge,h as me,i as pe,S as O,G as g,P as xe,j as fe}from"./vendor_mui-DqRwP0O9.js";(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))a(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&a(s)}).observe(document,{childList:!0,subtree:!0});function o(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function a(r){if(r.ep)return;r.ep=!0;const i=o(r);fetch(r.href,i)}})();const f="https://khofmann.userpage.fu-berlin.de/phpCourse/exam/api/";let T;class je{constructor(){if(this.hasAuth=()=>this.token!==void 0,this.isAdmin=()=>{var n;return this.hasAuth()&&((n=this.self)==null?void 0:n.isAdmin)},this.getAuthenticatedUser=()=>this.self,this.getCurrentSession=()=>[this.token,this.refreshToken],this.logIn=async(n,o)=>{const{user:a,token:r}=await(await this.post("login",{email:n,password:o})).json();this.self=a,this.isAdmin=a.isAdmin,this.token=r},this.logOut=async()=>{try{return await(await this.postAuth("logout")).json()}catch{return!1}finally{this.self=void 0,this.token=void 0}},this.posts=async n=>{const o=`posts?p=${n??0}&l=9`;return this.token?await(await this.getAuth(o)).json():await(await this.get(o)).json()},this.user=async n=>{var o;return await(await this.getAuth(`users/${n??((o=this.self)==null?void 0:o.id)}`)).json()},this.post=async(n,o=void 0,a=void 0)=>{const r=await fetch(`${f}${n}`,{mode:"cors",method:"post",headers:a,body:JSON.stringify(o)});if(r.ok)return r;throw await r.json()},this.postAuth=async(n,o=void 0,a=void 0)=>{const r=await fetch(`${f}${n}`,{mode:"cors",method:"post",headers:{token:this.token??"",...a},body:JSON.stringify(o)});if(r.ok)return r;throw await r.json()},this.get=async(n,o=void 0)=>{const a=await fetch(`${f}${n}`,{mode:"cors",method:"get",headers:o});if(a.ok)return a;throw await a.json()},this.getAuth=async(n,o=void 0)=>{const a=await fetch(`${f}${n}`,{mode:"cors",method:"get",headers:{token:this.token??"",...o}});if(a.ok)return a;throw await a.json()},T)throw new Error("New instance cannot be created!!");T=this}}const c=new je;p.use(W).use(K).use(X).init({fallbackLng:"en",debug:!1,interpolation:{escapeValue:!1},backend:{loadPath:"/phpCourse/exam/dist/locales/{{lng}}/{{ns}}.json"}});const ye=({anchorEl:e,handleClose:n})=>t.jsxs(D,{anchorEl:e,anchorOrigin:{vertical:"bottom",horizontal:"right"},keepMounted:!0,transformOrigin:{vertical:"top",horizontal:"right"},open:!!e,onClose:n,sx:{"& .MuiMenu-paper":{minWidth:"240px"}},children:[t.jsx(w,{selected:p.language==="en",onClick:()=>{p.changeLanguage("en"),n()},children:"English"},"de"),t.jsx(w,{selected:p.language==="de",onClick:()=>{p.changeLanguage("de"),n()},children:"Deutsch"},"en")]});var d=(e=>(e.INDEX="/",e.PROFILE="/profile",e))(d||{}),M=(e=>(e.NOT_FOUND="NotFound",e.UNAUTHORIZED="Unauthorized",e))(M||{});const we=(e,n,o=(...a)=>a)=>{if(!e)return o("",{});if(e.code)switch(e.code){case"NotFound":return o(e.code,{context:`${e.entity}:${n}`});case"Unauthorized":return o(e.code,{context:n});default:return o("Unknown",{context:n})}return o((e==null?void 0:e.message)??"Unknown",{context:n})},ve=({handleClose:e})=>{const[n,o]=m.useState(),{t:a}=C(),r=k(),i=_({defaultValues:{email:"",password:""},onSubmit:async({value:s})=>{try{await c.logIn(s.email,s.password),r.invalidate(),e()}catch(u){o(u)}}});return t.jsx("form",{onSubmit:s=>{s.preventDefault(),s.stopPropagation(),i.handleSubmit()},onKeyDown:s=>{s.key==="Tab"&&s.stopPropagation()},noValidate:!0,children:t.jsxs(v,{sx:{display:"grid",gap:2,padding:1},children:[t.jsx(i.Field,{name:"email",validators:{onChange:({value:s})=>s?void 0:a("Email required"),onChangeAsyncDebounceMs:500,onChangeAsync:async({value:s})=>(await new Promise(u=>setTimeout(u,1e3)),s.includes("error")&&'No "error" allowed in email')},children:s=>t.jsx(t.Fragment,{children:t.jsx(L,{variant:"outlined",name:s.name,value:s.state.value,onBlur:s.handleBlur,onChange:u=>s.handleChange(u.target.value),size:"small",label:a("Email"),required:!0,error:s.state.meta.isTouched&&s.state.meta.errors.length>0,helperText:s.state.meta.isTouched?s.state.meta.errors.join(","):"",type:"email",autoComplete:"username",inputMode:"email"})})}),t.jsx(i.Field,{name:"password",validators:{onChange:({value:s})=>s?void 0:a("Password reqLine truncated
|
||||
Vendored
-193
@@ -1,193 +0,0 @@
|
||||
var vb=Object.defineProperty;var Ph=e=>{throw TypeError(e)};var yb=(e,t,n)=>t in e?vb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Eh=(e,t,n)=>yb(e,typeof t!="symbol"?t+"":t,n),yc=(e,t,n)=>t.has(e)||Ph("Cannot "+n);var M=(e,t,n)=>(yc(e,t,"read from private field"),n?n.call(e):t.get(e)),ne=(e,t,n)=>t.has(e)?Ph("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),K=(e,t,n,r)=>(yc(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),ce=(e,t,n)=>(yc(e,t,"access private method"),n);var ma=(e,t,n,r)=>({set _(o){K(e,t,o,n)},get _(){return M(e,t,r)}});function Qv(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(r,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}}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 o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();var us=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ru(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Tr(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var Gv={exports:{}},ou={},Xv={exports:{}},se={};/**
|
||||
* @license React
|
||||
* react.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var ra=Symbol.for("react.element"),xb=Symbol.for("react.portal"),bb=Symbol.for("react.fragment"),Sb=Symbol.for("react.strict_mode"),wb=Symbol.for("react.profiler"),Cb=Symbol.for("react.provider"),kb=Symbol.for("react.context"),Pb=Symbol.for("react.forward_ref"),Eb=Symbol.for("react.suspense"),Rb=Symbol.for("react.memo"),Ob=Symbol.for("react.lazy"),Rh=Symbol.iterator;function $b(e){return e===null||typeof e!="object"?null:(e=Rh&&e[Rh]||e["@@iterator"],typeof e=="function"?e:null)}var Yv={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Jv=Object.assign,Zv={};function Oi(e,t,n){this.props=e,this.context=t,this.refs=Zv,this.updater=n||Yv}Oi.prototype.isReactComponent={};Oi.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")};Oi.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ey(){}ey.prototype=Oi.prototype;function Kf(e,t,n){this.props=e,this.context=t,this.refs=Zv,this.updater=n||Yv}var qf=Kf.prototype=new ey;qf.constructor=Kf;Jv(qf,Oi.prototype);qf.isPureReactComponent=!0;var Oh=Array.isArray,ty=Object.prototype.hasOwnProperty,Qf={current:null},ny={key:!0,ref:!0,__self:!0,__source:!0};function ry(e,t,n){var r,o={},i=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)ty.call(t,r)&&!ny.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];o.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)o[r]===void 0&&(o[r]=a[r]);return{$$typeof:ra,type:e,key:i,ref:s,props:o,_owner:Qf.current}}function Mb(e,t){return{$$typeof:ra,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Gf(e){return typeof e=="object"&&e!==null&&e.$$typeof===ra}function Tb(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var $h=/\/+/g;function xc(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Tb(""+e.key):t.toString(36)}function qa(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case ra:case xb:s=!0}}if(s)return s=e,o=o(s),e=r===""?"."+xc(s,0):r,Oh(o)?(n="",e!=null&&(n=e.replace($h,"$&/")+"/"),qa(o,t,n,"",function(u){return u})):o!=null&&(Gf(o)&&(o=Mb(o,n+(!o.key||s&&s.key===o.key?"":(""+o.key).replace($h,"$&/")+"/")+e)),t.push(o)),1;if(s=0,r=r===""?".":r+":",Oh(e))for(var a=0;a<e.length;a++){i=e[a];var l=r+xc(i,a);s+=qa(i,t,n,l,o)}else if(l=$b(e),typeof l=="function")for(e=l.call(e),a=0;!(i=e.next()).done;)i=i.value,l=r+xc(i,a++),s+=qa(i,t,n,l,o);else if(i==="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 s}function ga(e,t,n){if(e==null)return e;var r=[],o=0;return qa(e,r,"","",function(i){return t.call(n,i,o++)}),r}function _b(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 xt={current:null},Qa={transition:null},Lb={ReactCurrentDispatcher:xt,ReactCurrentBatchConfig:Qa,ReactCurrentOwner:Qf};function oy(){throw Error("act(...) is not supported in production builds of React.")}se.Children={map:ga,forEach:function(e,t,n){ga(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ga(e,function(){t++}),t},toArray:function(e){return ga(e,function(t){return t})||[]},only:function(e){if(!Gf(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};se.Component=Oi;se.Fragment=bb;se.Profiler=wb;se.PureComponent=Kf;se.StrictMode=Sb;se.Suspense=Eb;se.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Lb;se.act=oy;se.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Jv({},e.props),o=e.key,i=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,s=Qf.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)ty.call(t,l)&&!ny.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var u=0;u<l;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:ra,type:e.type,key:o,ref:i,props:r,_owner:s}};se.createContext=function(e){return e={$$typeof:kb,_currentValue:e,_currentValue2:e,_threadCountLine truncated
|
||||
* @license React
|
||||
* react-jsx-runtime.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var Ib=S,Fb=Symbol.for("react.element"),Nb=Symbol.for("react.fragment"),Ab=Object.prototype.hasOwnProperty,jb=Ib.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Db={key:!0,ref:!0,__self:!0,__source:!0};function iy(e,t,n){var r,o={},i=null,s=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)Ab.call(t,r)&&!Db.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:Fb,type:e,key:i,ref:s,props:o,_owner:jb.current}}ou.Fragment=Nb;ou.jsx=iy;ou.jsxs=iy;Gv.exports=ou;var P=Gv.exports,oa=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},fi=typeof window>"u"||"Deno"in globalThis;function Qt(){}function zb(e,t){return typeof e=="function"?e(t):e}function hd(e){return typeof e=="number"&&e>=0&&e!==1/0}function sy(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Uo(e,t){return typeof e=="function"?e(t):e}function hn(e,t){return typeof e=="function"?e(t):e}function Mh(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:s,stale:a}=e;if(s){if(r){if(t.queryHash!==Xf(s,t.options))return!1}else if(!Es(t.queryKey,s))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||o&&o!==t.state.fetchStatus||i&&!i(t))}function Th(e,t){const{exact:n,status:r,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(Ps(t.options.mutationKey)!==Ps(i))return!1}else if(!Es(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function Xf(e,t){return((t==null?void 0:t.queryKeyHashFn)||Ps)(e)}function Ps(e){return JSON.stringify(e,(t,n)=>gd(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function Es(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!Es(e[n],t[n])):!1}function ay(e,t){if(e===t)return e;const n=_h(e)&&_h(t);if(n||gd(e)&&gd(t)){const r=n?e:Object.keys(e),o=r.length,i=n?t:Object.keys(t),s=i.length,a=n?[]:{};let l=0;for(let u=0;u<s;u++){const c=n?u:i[u];(!n&&r.includes(c)||n)&&e[c]===void 0&&t[c]===void 0?(a[c]=void 0,l++):(a[c]=ay(e[c],t[c]),a[c]===e[c]&&e[c]!==void 0&&l++)}return o===s&&l===o?e:a}return t}function md(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function _h(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function gd(e){if(!Lh(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Lh(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Lh(e){return Object.prototype.toString.call(e)==="[object Object]"}function Bb(e){return new Promise(t=>{setTimeout(t,e)})}function vd(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?ay(e,t):t}function Ub(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function Vb(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var ly=Symbol();function uy(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===ly?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var qr,dr,Zo,Dv,Hb=(Dv=class extends oa{constructor(){super();ne(this,qr);ne(this,dr);ne(this,Zo);K(this,Zo,t=>{if(!fi&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){M(this,dr)||this.setEventListener(M(this,Zo))}onUnsubscribe(){var t;this.hasListeners()||((t=M(this,dr))==null||t.call(this),K(this,dr,void 0))}setEventListener(t){var n;K(this,Zo,t),(n=M(this,dr))==null||n.call(this),K(this,dr,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){M(this,qr)!==t&&(K(this,qr,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof M(this,qr)=="boolean"?M(this,qr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},qr=new WeakMap,dr=new WeakMap,Zo=new WeakMap,Dv),Yf=new Hb,ei,fr,ti,zv,Wb=(zv=class extends oa{constructor(){super();ne(this,ei,!0);ne(this,fr);ne(this,ti);K(this,ti,t=>{if(!fi&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){M(this,fr)||this.setEventListener(M(this,ti))}onUnsubscribe(){var t;this.hasListeners()||((t=M(this,fr))==null||t.call(this),K(this,fr,void 0))}setEventListener(t){var n;K(this,ti,t),(n=M(this,fr))==null||n.call(this),K(this,fr,t(this.seLine truncated
|
||||
* @license React
|
||||
* use-sync-external-store-shim.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var pi=S;function ES(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var RS=typeof Object.is=="function"?Object.is:ES,OS=pi.useState,$S=pi.useEffect,MS=pi.useLayoutEffect,TS=pi.useDebugValue;function _S(e,t){var n=t(),r=OS({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return MS(function(){o.value=n,o.getSnapshot=t,wc(o)&&i({inst:o})},[e,n,t]),$S(function(){return wc(o)&&i({inst:o}),e(function(){wc(o)&&i({inst:o})})},[e]),TS(n),n}function wc(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!RS(e,n)}catch{return!0}}function LS(e,t){return t()}var IS=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?LS:_S;Ey.useSyncExternalStore=pi.useSyncExternalStore!==void 0?pi.useSyncExternalStore:IS;Py.exports=Ey;var FS=Py.exports;/**
|
||||
* @license React
|
||||
* use-sync-external-store-shim/with-selector.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var iu=S,NS=FS;function AS(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var jS=typeof Object.is=="function"?Object.is:AS,DS=NS.useSyncExternalStore,zS=iu.useRef,BS=iu.useEffect,US=iu.useMemo,VS=iu.useDebugValue;ky.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var i=zS(null);if(i.current===null){var s={hasValue:!1,value:null};i.current=s}else s=i.current;i=US(function(){function l(m){if(!u){if(u=!0,c=m,m=r(m),o!==void 0&&s.hasValue){var v=s.value;if(o(v,m))return f=v}return f=m}if(v=f,jS(c,m))return v;var g=r(m);return o!==void 0&&o(v,g)?v:(c=m,f=g)}var u=!1,c,f,d=n===void 0?null:n;return[function(){return l(t())},d===null?void 0:function(){return l(d())}]},[t,n,r,o]);var a=DS(e,i[0],i[1]);return BS(function(){s.hasValue=!0,s.value=a},[a]),VS(a),a};Cy.exports=ky;var HS=Cy.exports;class Zf{constructor(t,n){this.listeners=new Set,this._batching=!1,this._flushing=0,this.subscribe=r=>{var o,i;this.listeners.add(r);const s=(i=(o=this.options)==null?void 0:o.onSubscribe)==null?void 0:i.call(o,r,this);return()=>{this.listeners.delete(r),s==null||s()}},this.setState=r=>{var o,i,s;const a=this.state;this.state=(o=this.options)!=null&&o.updateFn?this.options.updateFn(a)(r):r(a),(s=(i=this.options)==null?void 0:i.onUpdate)==null||s.call(i),this._flush()},this._flush=()=>{if(this._batching)return;const r=++this._flushing;this.listeners.forEach(o=>{this._flushing===r&&o()})},this.batch=r=>{if(this._batching)return r();this._batching=!0,r(),this._batching=!1,this._flush()},this.state=t,this.options=n}}function pl(e,t=n=>n){return HS.useSyncExternalStoreWithSelector(e.subscribe,()=>e.state,()=>e.state,t,WS)}function WS(e,t){if(Object.is(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;for(let r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(t,n[r])||!Object.is(e[n[r]],t[n[r]]))return!1;return!0}const Ft="__root__";function KS(e,t){let n,r,o,i="";for(n in e)if((o=e[n])!==void 0)if(Array.isArray(o))for(r=0;r<o.length;r++)i&&(i+="&"),i+=encodeURIComponent(n)+"="+encodeURIComponent(o[r]);else i&&(i+="&"),i+=encodeURIComponent(n)+"="+encodeURIComponent(o);return""+i}function Dh(e){if(!e)return"";const t=decodeURIComponent(e);return t==="false"?!1:t==="true"?!0:+t*0===0&&+t+""===t?+t:t}function qS(e,t){let n,r;const o={},i=e.split("&");for(;n=i.shift();){const s=n.indexOf("=");if(s!==-1){r=n.slice(0,s);const a=n.slice(s+1);o[r]!==void 0?o[r]=[].concat(o[r],Dh(a)):o[r]=Dh(a)}else r=n,o[r]=""}return o}const QS=XS(JSON.parse),GS=YS(JSON.stringify,JSON.parse);function XS(e){return t=>{t.substring(0,1)==="?"&&(t=t.substring(1));const n=qS(t);for(const r in n){const o=n[r];if(typeof o=="string")try{n[r]=e(o)}catch{}}return n}}function YS(e,t){function n(r){if(typeof r=="object"&&r!==null)try{return e(r)}catch{}else if(typeof r=="string"&&typeof t=="function")try{return t(r),e(r)}catch{}return r}return r=>{r={...r},Object.keys(r).forEach(i=>{const s=r[i];typeof s>"u"||s===void 0?delete r[i]:r[i]=n(s)});const o=KS(r).toString();return o?`?${o}`:""}}function hl(e){return e[e.length-1]}function JS(e){return typeof e=="function"}function $o(e,t){return JS(e)?e(t):e}function ds(e,t){return t.reduce((n,r)=>(n[r]=e[r],n),{})}function Cn(e,t){if(e===t)return e;const n=t,r=Bh(e)&&Bh(n);if(r||ml(e)&&ml(n)){const o=r?e:Object.keys(e),i=o.length,s=r?n:Object.keys(n),a=s.length,l=r?[]:{};let u=0;for(let c=0;c<a;c++){const f=r?c:s[c];(!r&&o.includes(f)||r)&&e[f]===void 0&&n[f]===void 0?(l[f]=void 0,u++):(l[f]=Cn(e[f],n[f]),l[f]===e[f]&&e[f]!==void 0&&u++)}return i===a&&u===i?e:l}return n}function ml(e){if(!zh(e))return!1;const t=e.constructor;if(typeof t>"u")return!0;const n=t.prototype;return!(!zh(n)||!n.hasOwnProperty("isPrototypeOf"))}function zh(e){return Object.prototype.toString.call(e)==="[object Object]"}function Bh(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Vo(e,t,n=!1){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(ml(e)&&ml(t)){const r=Object.keys(e).filter(i=>e[i]!==void 0),o=Object.keys(t).filter(i=>t[i]!==void 0);return!n&&r.length!==o.length?!1:!o.some(i=>!(i in e)||!Vo(e[i],t[i],n))}return Array.isArray(e)&&Array.isArray(t)?e.length!==t.length?!1:!e.some((r,o)=>!Vo(r,t[o],n)):!1}const Cc=typeof window<"u"?S.useLayoutEffect:S.useEffect;function Ro(e){let t,n;const r=new Promise((o,i)=>{t=o,n=i});return r.status="pending",r.resolve=o=>{r.status="resolved",r.value=o,t(o),e==null||e(o)},r.reject=o=>{r.status="rejected",n(o)},r}function Uh(e){const t=S.useRef({value:e,prev:null}),n=t.current.value;return e!==n&&(t.current={value:e,prev:n}),t.current.prev}function xr(e){return su(e.filter(Boolean).join("/"))}function su(e){return e.replace(/\/{2,}/g,"/")}function ep(e){return e==="/"?e:e.replace(/^\/{1,}/,"")}function Br(e){return e==="/"?e:e.replace(/\/{1,}$/,"")}function ZS(e){return Br(ep(e))}function gl(e,t){return e.endsWith("/")&&e!=="/"&&e!==`${t}/`?e.slice(0,-1):e}functLine truncated
|
||||
* @license React
|
||||
* scheduler.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/(function(e){function t($,I){var F=$.length;$.push(I);e:for(;0<F;){var Q=F-1>>>1,X=$[Q];if(0<o(X,I))$[Q]=I,$[F]=X,F=Q;else break e}}function n($){return $.length===0?null:$[0]}function r($){if($.length===0)return null;var I=$[0],F=$.pop();if(F!==I){$[0]=F;e:for(var Q=0,X=$.length,W=X>>>1;Q<W;){var q=2*(Q+1)-1,pe=$[q],oe=q+1,we=$[oe];if(0>o(pe,F))oe<X&&0>o(we,pe)?($[Q]=we,$[oe]=F,Q=oe):($[Q]=pe,$[q]=F,Q=q);else if(oe<X&&0>o(we,F))$[Q]=we,$[oe]=F,Q=oe;else break e}}return I}function o($,I){var F=$.sortIndex-I.sortIndex;return F!==0?F:$.id-I.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],u=[],c=1,f=null,d=3,m=!1,v=!1,g=!1,x=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y($){for(var I=n(u);I!==null;){if(I.callback===null)r(u);else if(I.startTime<=$)r(u),I.sortIndex=I.expirationTime,t(l,I);else break;I=n(u)}}function b($){if(g=!1,y($),!v)if(n(l)!==null)v=!0,T(C);else{var I=n(u);I!==null&&N(b,I.startTime-$)}}function C($,I){v=!1,g&&(g=!1,h(E),E=-1),m=!0;var F=d;try{for(y(I),f=n(l);f!==null&&(!(f.expirationTime>I)||$&&!A());){var Q=f.callback;if(typeof Q=="function"){f.callback=null,d=f.priorityLevel;var X=Q(f.expirationTime<=I);I=e.unstable_now(),typeof X=="function"?f.callback=X:f===n(l)&&r(l),y(I)}else r(l);f=n(l)}if(f!==null)var W=!0;else{var q=n(u);q!==null&&N(b,q.startTime-I),W=!1}return W}finally{f=null,d=F,m=!1}}var O=!1,k=null,E=-1,_=5,L=-1;function A(){return!(e.unstable_now()-L<_)}function j(){if(k!==null){var $=e.unstable_now();L=$;var I=!0;try{I=k(!0,$)}finally{I?z():(O=!1,k=null)}}else O=!1}var z;if(typeof p=="function")z=function(){p(j)};else if(typeof MessageChannel<"u"){var D=new MessageChannel,R=D.port2;D.port1.onmessage=j,z=function(){R.postMessage(null)}}else z=function(){x(j,0)};function T($){k=$,O||(O=!0,z())}function N($,I){E=x(function(){$(e.unstable_now())},I)}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($){$.callback=null},e.unstable_continueExecution=function(){v||m||(v=!0,T(C))},e.unstable_forceFrameRate=function($){0>$||125<$?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):_=0<$?Math.floor(1e3/$):5},e.unstable_getCurrentPriorityLevel=function(){return d},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function($){switch(d){case 1:case 2:case 3:var I=3;break;default:I=d}var F=d;d=I;try{return $()}finally{d=F}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function($,I){switch($){case 1:case 2:case 3:case 4:case 5:break;default:$=3}var F=d;d=$;try{return I()}finally{d=F}},e.unstable_scheduleCallback=function($,I,F){var Q=e.unstable_now();switch(typeof F=="object"&&F!==null?(F=F.delay,F=typeof F=="number"&&0<F?Q+F:Q):F=Q,$){case 1:var X=-1;break;case 2:X=250;break;case 5:X=1073741823;break;case 4:X=1e4;break;default:X=5e3}return X=F+X,$={id:c++,callback:I,priorityLevel:$,startTime:F,expirationTime:X,sortIndex:-1},F>Q?($.sortIndex=F,t(u,$),n(l)===null&&$===n(u)&&(g?(h(E),E=-1):g=!0,N(b,F-Q))):($.sortIndex=X,t(l,$),v||m||(v=!0,T(C))),$},e.unstable_shouldYield=A,e.unstable_wrapCallback=function($){var I=d;return function(){var F=d;d=I;try{return $.apply(this,arguments)}finally{d=F}}}})(My);$y.exports=My;var kw=$y.exports;/**
|
||||
* @license React
|
||||
* react-dom.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var Pw=S,Bt=kw;function B(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 Ty=new Set,Rs={};function po(e,t){gi(e,t),gi(e+"Capture",t)}function gi(e,t){for(Rs[e]=t,e=0;e<t.length;e++)Ty.add(t[e])}var Xn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Rd=Object.prototype.hasOwnProperty,Ew=/^[: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]*$/,qh={},Qh={};function Rw(e){return Rd.call(Qh,e)?!0:Rd.call(qh,e)?!1:Ew.test(e)?Qh[e]=!0:(qh[e]=!0,!1)}function Ow(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function $w(e,t,n,r){if(t===null||typeof t>"u"||Ow(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function bt(e,t,n,r,o,i,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var it={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){it[e]=new bt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];it[t]=new bt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){it[e]=new bt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){it[e]=new bt(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){it[e]=new bt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){it[e]=new bt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){it[e]=new bt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){it[e]=new bt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){it[e]=new bt(e,5,!1,e.toLowerCase(),null,!1,!1)});var np=/[\-:]([a-z])/g;function rp(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(np,rp);it[t]=new bt(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(np,rp);it[t]=new bt(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(np,rp);it[t]=new bt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){it[e]=new bt(e,1,!1,e.toLowerCase(),null,!1,!1)});it.xlinkHref=new bt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){it[e]=new bt(e,1,!1,e.toLowerCase(),null,!0,!0)});function op(e,t,n,r){var o=it.hasOwnProperty(t)?it[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="
Line truncated
|
||||
`+Pc+e}var Ec=!1;function Rc(e,t){if(!e||Ec)return"";Ec=!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(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(`
|
||||
`),i=r.stack.split(`
|
||||
`),s=o.length-1,a=i.length-1;1<=s&&0<=a&&o[s]!==i[a];)a--;for(;1<=s&&0<=a;s--,a--)if(o[s]!==i[a]){if(s!==1||a!==1)do if(s--,a--,0>a||o[s]!==i[a]){var l=`
|
||||
`+o[s].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{Ec=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?os(e):""}function Mw(e){switch(e.tag){case 5:return os(e.type);case 16:return os("Lazy");case 13:return os("Suspense");case 19:return os("SuspenseList");case 0:case 2:case 15:return e=Rc(e.type,!1),e;case 11:return e=Rc(e.type.render,!1),e;case 1:return e=Rc(e.type,!0),e;default:return""}}function Td(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 To:return"Fragment";case Mo:return"Portal";case Od:return"Profiler";case ip:return"StrictMode";case $d:return"Suspense";case Md:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ly:return(e.displayName||"Context")+".Consumer";case _y:return(e._context.displayName||"Context")+".Provider";case sp:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ap:return t=e.displayName||null,t!==null?t:Td(e.type)||"Memo";case sr:t=e._payload,e=e._init;try{return Td(e(t))}catch{}}return null}function Tw(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 Td(t);case 8:return t===ip?"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 Or(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 _w(e){var t=Fy(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){r=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ba(e){e._valueTracker||(e._valueTracker=_w(e))}function Ny(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Fy(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function vl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function _d(e,t){var n=t.checked;return Ae({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Xh(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Or(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Ay(e,t){t=t.checked,t!=null&&op(e,"checked",t,!1)}function Ld(e,t){Ay(e,t);var n=Or(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Id(e,t.type,n):t.hasOwnProperty("defaultValue")&&Id(e,t.type,Or(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Yh(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Id(e,t,n){(t!=="number"||vl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var is=Array.isArray;function Ho(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Or(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Fd(e,t){if(t.dan
Line truncated
|
||||
`).replace(UC,"")}function Oa(e,t,n){if(t=bm(t),bm(e)!==t&&n)throw Error(B(425))}function Pl(){}var Qd=null,Gd=null;function Xd(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 Yd=typeof setTimeout=="function"?setTimeout:void 0,VC=typeof clearTimeout=="function"?clearTimeout:void 0,Sm=typeof Promise=="function"?Promise:void 0,HC=typeof queueMicrotask=="function"?queueMicrotask:typeof Sm<"u"?function(e){return Sm.resolve(null).then(e).catch(WC)}:Yd;function WC(e){setTimeout(function(){throw e})}function zc(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),_s(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);_s(t)}function Cr(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 wm(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 Mi=Math.random().toString(36).slice(2),_n="__reactFiber$"+Mi,As="__reactProps$"+Mi,Yn="__reactContainer$"+Mi,Jd="__reactEvents$"+Mi,KC="__reactListeners$"+Mi,qC="__reactHandles$"+Mi;function Ur(e){var t=e[_n];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Yn]||n[_n]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=wm(e);e!==null;){if(n=e[_n])return n;e=wm(e)}return t}e=n,n=e.parentNode}return null}function aa(e){return e=e[_n]||e[Yn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Fo(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(B(33))}function pu(e){return e[As]||null}var Zd=[],No=-1;function Lr(e){return{current:e}}function $e(e){0>No||(e.current=Zd[No],Zd[No]=null,No--)}function Ee(e,t){No++,Zd[No]=e.current,e.current=t}var $r={},pt=Lr($r),Ot=Lr(!1),ro=$r;function vi(e,t){var n=e.type.contextTypes;if(!n)return $r;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function $t(e){return e=e.childContextTypes,e!=null}function El(){$e(Ot),$e(pt)}function Cm(e,t,n){if(pt.current!==$r)throw Error(B(168));Ee(pt,t),Ee(Ot,n)}function P0(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(B(108,Tw(e)||"Unknown",o));return Ae({},n,r)}function Rl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||$r,ro=pt.current,Ee(pt,e),Ee(Ot,Ot.current),!0}function km(e,t,n){var r=e.stateNode;if(!r)throw Error(B(169));n?(e=P0(e,t,ro),r.__reactInternalMemoizedMergedChildContext=e,$e(Ot),$e(pt),Ee(pt,e)):$e(Ot),Ee(Ot,n)}var Hn=null,hu=!1,Bc=!1;function E0(e){Hn===null?Hn=[e]:Hn.push(e)}function QC(e){hu=!0,E0(e)}function Ir(){if(!Bc&&Hn!==null){Bc=!0;var e=0,t=xe;try{var n=Hn;for(xe=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Hn=null,hu=!1}catch(o){throw Hn!==null&&(Hn=Hn.slice(e+1)),Yy(up,Ir),o}finally{xe=t,Bc=!1}}return null}var Ao=[],jo=0,Ol=null,$l=0,Yt=[],Jt=0,oo=null,Wn=1,Kn="";function Ar(e,t){Ao[jo++]=$l,Ao[jo++]=Ol,Ol=e,$l=t}function R0(e,t,n){Yt[Jt++]=Wn,Yt[Jt++]=Kn,Yt[Jt++]=oo,oo=e;var r=Wn;e=Kn;var o=32-vn(r)-1;r&=~(1<<o),n+=1;var i=32-vn(t)+o;if(30<i){var s=o-o%5;i=(r&(1<<s)-1).toString(32),r>>=s,o-=s,Wn=1<<32-vn(t)+o|n<<o|r,Kn=i+e}else Wn=1<<i|n<<o|r,Kn=e}function yp(e){e.return!==null&&(Ar(e,1),R0(e,1,0))}function xp(e){for(;e===Ol;)Ol=Ao[--jo],Ao[jo]=null,$l=Ao[--jo],Ao[jo]=null;for(;e===oo;)oo=Yt[--Jt],Yt[Jt]=null,Kn=Yt[--Jt],Yt[Jt]=null,Wn=Yt[--Jt],Yt[Jt]=null}var jt=null,At=null,Le=!1,mn=null;function O0(e,t){var n=en(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 Pm(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,jt=e,At=Cr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,jt=e,At=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=oo!==null?{id:Wn,overflow:Kn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=en(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,jt=e,At=null,!0):!1;default:return!1}}function ef(e){return(e.mode&1)!==0&&(e.flags&128)===0}function tf(e){if(Le){var t=At;if(t){var n=t;if(!Pm(e,t)){if(ef(e))throw Error(B(418));t=Cr(n.nextSibling);var r=jt;t&&Pm(e,t)?O0(r,n):(e.flags=e.flags&-4097|2,Le=!1,jt=e)}}else{if(ef(e))throw Error(B(418));e.flags=e.flags&-4097|2,Le=!1,jt=e}}}function Em(e){for(e=e
Line truncated
|
||||
Error generating stack: `+i.message+`
|
||||
`+i.stack}return{value:e,source:t,stack:o,digest:null}}function Kc(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function sf(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var rk=typeof WeakMap=="function"?WeakMap:Map;function t1(e,t,n){n=Qn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Al||(Al=!0,gf=r),sf(e,t)},n}function n1(e,t,n){n=Qn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){sf(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){sf(e,t),typeof r!="function"&&(Pr===null?Pr=new Set([this]):Pr.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function Im(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new rk;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=vk.bind(null,e,t,n),t.then(e,e))}function Fm(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 Nm(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,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=Qn(-1,1),t.tag=2,kr(n,t,1))),n.lanes|=1),e)}var ok=er.ReactCurrentOwner,Rt=!1;function vt(e,t,n,r){t.child=e===null?T0(t,null,n,r):xi(t,e.child,n,r)}function Am(e,t,n,r,o){n=n.render;var i=t.ref;return Qo(t,o),r=Mp(e,t,n,r,i,o),n=Tp(),e!==null&&!Rt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Zn(e,t,o)):(Le&&n&&yp(t),t.flags|=1,vt(e,t,r,o),t.child)}function jm(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!Bp(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,r1(e,t,i,r,o)):(e=ol(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&o)){var s=i.memoizedProps;if(n=n.compare,n=n!==null?n:Is,n(s,r)&&e.ref===t.ref)return Zn(e,t,o)}return t.flags|=1,e=Rr(i,r),e.ref=t.ref,e.return=t,t.child=e}function r1(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(Is(i,r)&&e.ref===t.ref)if(Rt=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(Rt=!0);else return t.lanes=e.lanes,Zn(e,t,o)}return af(e,t,n,r,o)}function o1(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ee(Bo,It),It|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ee(Bo,It),It|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,Ee(Bo,It),It|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,Ee(Bo,It),It|=r;return vt(e,t,o,n),t.child}function i1(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function af(e,t,n,r,o){var i=$t(n)?ro:pt.current;return i=vi(t,i),Qo(t,o),n=Mp(e,t,n,r,i,o),r=Tp(),e!==null&&!Rt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Zn(e,t,o)):(Le&&r&&yp(t),t.flags|=1,vt(e,t,n,o),t.child)}function Dm(e,t,n,r,o){if($t(n)){var i=!0;Rl(t)}else i=!1;if(Qo(t,o),t.stateNode===null)tl(e,t),e1(t,n,r),of(t,n,r,o),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var l=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=nn(u):(u=$t(n)?ro:pt.current,u=vi(t,u));var c=n.getDerivedStateFromProps,f=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function";f||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||l!==u)&&Lm(t,s,r,u),ar=!1;var d=t.memoizedState;s.state=d,_l(t,r,s,o),l=t.memoizedState,a!==r||d!==l||Ot.current||ar?(typeof c=="function"&&(rf(t,n,c,r),l=t.memoizedState),(a=ar||_m(t,n,a,r,d,l,u))?(f||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),s.props=r,s.state=l,s.context=u,r=a):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,L0(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:dn(t.type,a),s.props=u,f=t.pendingProps,d=s.context,l=n.contextType,typeof l=="object"&&l!==null?l=nn(l):(l=$t(n)?ro:pt.current,l=vi(t,l));var m=n.getDerivedStateFromProps;(c=typeof m=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==f||d!==l)&&Lm(t,s,r,l),ar=!1,d=t.memoizedState,s.state=d,_l(t,r,s,o);var v=t.memoizedS
Line truncated
|
||||
* react-is.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var Ze=typeof Symbol=="function"&&Symbol.for,Xp=Ze?Symbol.for("react.element"):60103,Yp=Ze?Symbol.for("react.portal"):60106,$u=Ze?Symbol.for("react.fragment"):60107,Mu=Ze?Symbol.for("react.strict_mode"):60108,Tu=Ze?Symbol.for("react.profiler"):60114,_u=Ze?Symbol.for("react.provider"):60109,Lu=Ze?Symbol.for("react.context"):60110,Jp=Ze?Symbol.for("react.async_mode"):60111,Iu=Ze?Symbol.for("react.concurrent_mode"):60111,Fu=Ze?Symbol.for("react.forward_ref"):60112,Nu=Ze?Symbol.for("react.suspense"):60113,vP=Ze?Symbol.for("react.suspense_list"):60120,Au=Ze?Symbol.for("react.memo"):60115,ju=Ze?Symbol.for("react.lazy"):60116,yP=Ze?Symbol.for("react.block"):60121,xP=Ze?Symbol.for("react.fundamental"):60117,bP=Ze?Symbol.for("react.responder"):60118,SP=Ze?Symbol.for("react.scope"):60119;function Ht(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Xp:switch(e=e.type,e){case Jp:case Iu:case $u:case Tu:case Mu:case Nu:return e;default:switch(e=e&&e.$$typeof,e){case Lu:case Fu:case ju:case Au:case _u:return e;default:return t}}case Yp:return t}}}function U1(e){return Ht(e)===Iu}be.AsyncMode=Jp;be.ConcurrentMode=Iu;be.ContextConsumer=Lu;be.ContextProvider=_u;be.Element=Xp;be.ForwardRef=Fu;be.Fragment=$u;be.Lazy=ju;be.Memo=Au;be.Portal=Yp;be.Profiler=Tu;be.StrictMode=Mu;be.Suspense=Nu;be.isAsyncMode=function(e){return U1(e)||Ht(e)===Jp};be.isConcurrentMode=U1;be.isContextConsumer=function(e){return Ht(e)===Lu};be.isContextProvider=function(e){return Ht(e)===_u};be.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Xp};be.isForwardRef=function(e){return Ht(e)===Fu};be.isFragment=function(e){return Ht(e)===$u};be.isLazy=function(e){return Ht(e)===ju};be.isMemo=function(e){return Ht(e)===Au};be.isPortal=function(e){return Ht(e)===Yp};be.isProfiler=function(e){return Ht(e)===Tu};be.isStrictMode=function(e){return Ht(e)===Mu};be.isSuspense=function(e){return Ht(e)===Nu};be.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===$u||e===Iu||e===Tu||e===Mu||e===Nu||e===vP||typeof e=="object"&&e!==null&&(e.$$typeof===ju||e.$$typeof===Au||e.$$typeof===_u||e.$$typeof===Lu||e.$$typeof===Fu||e.$$typeof===xP||e.$$typeof===bP||e.$$typeof===SP||e.$$typeof===yP)};be.typeOf=Ht;B1.exports=be;var wP=B1.exports,V1=wP,CP={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},kP={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},H1={};H1[V1.ForwardRef]=CP;H1[V1.Memo]=kP;var PP=!0;function EP(e,t,n){var r="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):r+=o+" "}),r}var W1=function(t,n,r){var o=t.key+"-"+n.name;(r===!1||PP===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},K1=function(t,n,r){W1(t,n,r);var o=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var i=n;do t.insert(n===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function RP(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&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(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&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 OP={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,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},$P=!1,MP=/[A-Z]|^ms/g,TP=/_EMO_([^_]+?)_([^]*?)_EMO_/g,q1=function(t){return t.charCodeAt(1)===45},ng=function(t){return t!=null&&typeof t!="boolean"},Xc=_1(function(e){return q1(e)?e:e.replace(MP,"-$&").toLowerCase()}),rg=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(TP,function(r,o,i){return Tn={name:o,styles:i,next:Tn},o})}return OP[t]!==1&&!q1(t)&&typeof n=="number"&&n!==0?n+"px":n},_P="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function qs(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return Tn={name:o.name,styles:o.styles,next:Tn},o.name;var i=n;if(i.styles!==void 0){var s=i.next;if(s!==void 0)for(;s!==void 0;)Tn={namLine truncated
|
||||
* @license React
|
||||
* react-is.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var sh=Symbol.for("react.element"),ah=Symbol.for("react.portal"),Qu=Symbol.for("react.fragment"),Gu=Symbol.for("react.strict_mode"),Xu=Symbol.for("react.profiler"),Yu=Symbol.for("react.provider"),Ju=Symbol.for("react.context"),eR=Symbol.for("react.server_context"),Zu=Symbol.for("react.forward_ref"),ec=Symbol.for("react.suspense"),tc=Symbol.for("react.suspense_list"),nc=Symbol.for("react.memo"),rc=Symbol.for("react.lazy"),tR=Symbol.for("react.offscreen"),lx;lx=Symbol.for("react.module.reference");function ln(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case sh:switch(e=e.type,e){case Qu:case Xu:case Gu:case ec:case tc:return e;default:switch(e=e&&e.$$typeof,e){case eR:case Ju:case Zu:case rc:case nc:case Yu:return e;default:return t}}case ah:return t}}}Se.ContextConsumer=Ju;Se.ContextProvider=Yu;Se.Element=sh;Se.ForwardRef=Zu;Se.Fragment=Qu;Se.Lazy=rc;Se.Memo=nc;Se.Portal=ah;Se.Profiler=Xu;Se.StrictMode=Gu;Se.Suspense=ec;Se.SuspenseList=tc;Se.isAsyncMode=function(){return!1};Se.isConcurrentMode=function(){return!1};Se.isContextConsumer=function(e){return ln(e)===Ju};Se.isContextProvider=function(e){return ln(e)===Yu};Se.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===sh};Se.isForwardRef=function(e){return ln(e)===Zu};Se.isFragment=function(e){return ln(e)===Qu};Se.isLazy=function(e){return ln(e)===rc};Se.isMemo=function(e){return ln(e)===nc};Se.isPortal=function(e){return ln(e)===ah};Se.isProfiler=function(e){return ln(e)===Xu};Se.isStrictMode=function(e){return ln(e)===Gu};Se.isSuspense=function(e){return ln(e)===ec};Se.isSuspenseList=function(e){return ln(e)===tc};Se.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Qu||e===Xu||e===Gu||e===ec||e===tc||e===tR||typeof e=="object"&&e!==null&&(e.$$typeof===rc||e.$$typeof===nc||e.$$typeof===Yu||e.$$typeof===Ju||e.$$typeof===Zu||e.$$typeof===lx||e.getModuleId!==void 0)};Se.typeOf=ln;ax.exports=Se;var dg=ax.exports;const nR=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function ux(e){const t=`${e}`.match(nR);return t&&t[1]||""}function cx(e,t=""){return e.displayName||e.name||ux(e)||t}function fg(e,t,n){const r=cx(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function rR(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return cx(e,"Component");if(typeof e=="object")switch(e.$$typeof){case dg.ForwardRef:return fg(e,e.render,"ForwardRef");case dg.Memo:return fg(e,e.type,"memo");default:return}}}const oR=Object.freeze(Object.defineProperty({__proto__:null,default:rR,getFunctionName:ux},Symbol.toStringTag,{value:"Module"}));function Vl(e,t){const n=w({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=w({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},!i||!Object.keys(i)?n[r]=o:!o||!Object.keys(o)?n[r]=i:(n[r]=w({},i),Object.keys(o).forEach(s=>{n[r][s]=Vl(o[s],i[s])}))}else n[r]===void 0&&(n[r]=e[r])}),n}const Mr=typeof window<"u"?S.useLayoutEffect:S.useEffect;function iR(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}const sR=Object.freeze(Object.defineProperty({__proto__:null,default:iR},Symbol.toStringTag,{value:"Module"}));function pg(...e){return e.reduce((t,n)=>n==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function dx(e,t=166){let n;function r(...o){const i=()=>{e.apply(this,o)};clearTimeout(n),n=setTimeout(i,t)}return r.clear=()=>{clearTimeout(n)},r}function Yc(e,t){var n,r;return S.isValidElement(e)&&t.indexOf((n=e.type.muiName)!=null?n:(r=e.type)==null||(r=r._payload)==null||(r=r.value)==null?void 0:r.muiName)!==-1}function ft(e){return e&&e.ownerDocument||document}function uo(e){return ft(e).defaultView||window}function Pf(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let hg=0;function aR(e){const[t,n]=S.useState(e),r=e||t;return S.useEffect(()=>{t==null&&(hg+=1,n(`mui-${hg}`))},[t]),r}const mg=pd.useId;function fx(e){if(mg!==void 0){const t=mg();return e??t}return aR(e)}function Ef({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=S.useRef(e!==void 0),[i,s]=S.useState(t),a=o?e:i,l=S.useCallback(u=>{o||s(u)},[]);return[a,l]}function qn(e){const t=S.useRef(e);return Mr(()=>{t.current=e}),S.useRef((...n)=>(0,t.current)(...n)).current}function Je(...e){return S.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{Pf(n,t)})},e)}const gg={};function lR(e,t){const n=S.useRef(gg);return n.current===gg&&(n.current=e(t)),n}const uR=[];function cR(e){S.useEffect(e,uR)}class oc{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new oc}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function lh(){const e=lR(oc.create).current;return cR(e.disposeEffect),e}let ic=!0,Rf=!1;const dR=new oc,fR={text:!0,search:!0,url:!0,tel:!0,eLine truncated
|
||||
0% {
|
||||
transform: scale(0);
|
||||
opacity: 0.1;
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: scale(1);
|
||||
opacity: 0.3;
|
||||
}
|
||||
`)),Z2=_i(Mg||(Mg=lc`
|
||||
0% {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 0;
|
||||
}
|
||||
`)),eO=_i(Tg||(Tg=lc`
|
||||
0% {
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
50% {
|
||||
transform: scale(0.92);
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: scale(1);
|
||||
}
|
||||
`)),tO=U("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),nO=U(G2,{name:"MuiTouchRipple",slot:"Ripple"})(_g||(_g=lc`
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
|
||||
&.${0} {
|
||||
opacity: 0.3;
|
||||
transform: scale(1);
|
||||
animation-name: ${0};
|
||||
animation-duration: ${0}ms;
|
||||
animation-timing-function: ${0};
|
||||
}
|
||||
|
||||
&.${0} {
|
||||
animation-duration: ${0}ms;
|
||||
}
|
||||
|
||||
& .${0} {
|
||||
opacity: 1;
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 50%;
|
||||
background-color: currentColor;
|
||||
}
|
||||
|
||||
& .${0} {
|
||||
opacity: 0;
|
||||
animation-name: ${0};
|
||||
animation-duration: ${0}ms;
|
||||
animation-timing-function: ${0};
|
||||
}
|
||||
|
||||
& .${0} {
|
||||
position: absolute;
|
||||
/* @noflip */
|
||||
left: 0px;
|
||||
top: 0;
|
||||
animation-name: ${0};
|
||||
animation-duration: 2500ms;
|
||||
animation-timing-function: ${0};
|
||||
animation-iteration-count: infinite;
|
||||
animation-delay: 200ms;
|
||||
}
|
||||
`),Xt.rippleVisible,J2,_f,({theme:e})=>e.transitions.easing.easeInOut,Xt.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,Xt.child,Xt.childLeaving,Z2,_f,({theme:e})=>e.transitions.easing.easeInOut,Xt.childPulsate,eO,({theme:e})=>e.transitions.easing.easeInOut),rO=S.forwardRef(function(t,n){const r=ue({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:s}=r,a=H(r,X2),[l,u]=S.useState([]),c=S.useRef(0),f=S.useRef(null);S.useEffect(()=>{f.current&&(f.current(),f.current=null)},[l]);const d=S.useRef(!1),m=lh(),v=S.useRef(null),g=S.useRef(null),x=S.useCallback(b=>{const{pulsate:C,rippleX:O,rippleY:k,rippleSize:E,cb:_}=b;u(L=>[...L,P.jsx(nO,{classes:{ripple:J(i.ripple,Xt.ripple),rippleVisible:J(i.rippleVisible,Xt.rippleVisible),ripplePulsate:J(i.ripplePulsate,Xt.ripplePulsate),child:J(i.child,Xt.child),childLeaving:J(i.childLeaving,Xt.childLeaving),childPulsate:J(i.childPulsate,Xt.childPulsate)},timeout:_f,pulsate:C,rippleX:O,rippleY:k,rippleSize:E},c.current)]),c.current+=1,f.current=_},[i]),h=S.useCallback((b={},C={},O=()=>{})=>{const{pulsate:k=!1,center:E=o||C.pulsate,fakeElement:_=!1}=C;if((b==null?void 0:b.type)==="mousedown"&&d.current){d.current=!1;return}(b==null?void 0:b.type)==="touchstart"&&(d.current=!0);const L=_?null:g.current,A=L?L.getBoundingClientRect():{width:0,height:0,left:0,top:0};let j,z,D;if(E||b===void 0||b.clientX===0&&b.clientY===0||!b.clientX&&!b.touches)j=Math.round(A.width/2),z=Math.round(A.height/2);else{const{clientX:R,clientY:T}=b.touches&&b.touches.length>0?b.touches[0]:b;j=Math.round(R-A.left),z=Math.round(T-A.top)}if(E)D=Math.sqrt((2*A.width**2+A.height**2)/3),D%2===0&&(D+=1);else{const R=Math.max(Math.abs((L?L.clientWidth:0)-j),j)*2+2,T=Math.max(Math.abs((L?L.clientHeight:0)-z),z)*2+2;D=Math.sqrt(R**2+T**2)}b!=null&&b.touches?v.current===null&&(v.current=()=>{x({pulsate:k,rippleX:j,rippleY:z,rippleSize:D,cb:O})},m.start(Y2,()=>{v.current&&(v.current(),v.current=null)})):x({pulsate:k,rippleX:j,rippleY:z,rippleSize:D,cb:O})},[o,x,m]),p=S.useCallback(()=>{h({},{pulsate:!0})},[h]),y=S.useCallback((b,C)=>{if(m.clear(),(b==null?void 0:b.type)==="touchend"&&v.current){v.current(),v.current=null,m.start(0,()=>{y(b,C)});return}v.current=null,u(O=>O.length>0?O.slice(1):O),f.current=C},[m]);return S.useImperativeHandle(n,()=>({pulsate:p,start:h,stop:y}),[p,h,y]),P.jsx(tO,w({className:J(Xt.root,i.root,s),ref:g},a,{children:P.jsx(hh,{component:null,exit:!0,children:l})}))});function oO(e){return ae("MuiButtonBase",e)}const iO=ie("MuiButtonBase",["root","disabled","focusVisible"]),sO=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],aO=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,s=le({root:["root",t&&"disabled",n&&"focusVisible"]},oO,o);return n&&r&&(s.root+=` ${r}`),s},lO=U("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${iO.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),uc=S.forwardRef(function(t,n){const r=ue({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:s,className:a,component:l="button",disabled:u=!1,disableRipple:c=!1,disableTouchRipple:f=!1,focusRipple:d=!1,LinkComponent:m="a",onBlur:v,onClick:g,onContextMenu:x,onDragLeave:h,onFocus:p,onFocusVisible:y,onKeyDown:b,onKeyUp:C,onMouseDown:O,onMouseLeave:k,onMouseUp:E,onTouchEnd:_,onTouchMove:L,onTouchStart:A,tabIndex:j=0,TouchRippleProps:z,touchRippleRef:D,type:R}=r,T=H(r,sO),N=S.useRef(null),$=S.useRef(null),I=Je($,D),{isFocusVisibleRef:F,onFocus:Q,onBlur:X,ref:W}=px(),[q,pe]=S.useState(!1);u&&q&&pe(!1),S.useImperativeHandle(o,()=>({focusVisible:()=>{pe(!0),N.current.focus()}}),[]);const[oe,we]=S.useState(!1);S.useEffect(()=>{we(!0)},[]);const Ce=oe&&!c&&!u;S.useEffect(()=>{q&&d&&!c&&oe&&$.current.pulsate()},[c,d,q,oe]);function fe(te,Bn,Ai=f){return qn(ji=>(Bn&&Bn(ji),!Ai&&$.current&&$.current[te](ji),!0))}const Me=fe("start",O),Y=fe("stop",x),ee=fe("stop",h),re=fe("stop",E),me=fe("stop",te=>{q&&te.preventDefault(),k&&k(te)}),ke=fe("start",A),bn=fe("stop",_),St=fe("stop",L),wt=fe("stop",te=>{X(te),F.current===!1&&pe(!1),v&&v(te)},!1),_t=qn(te=>{N.current||(N.current=te.currentTarget),Q(te),F.current===!0&&(pe(!0),y&&y(te)),p&&p(te)}),
Line truncated
|
||||
`&&(b.value+=" ");const C=y.boxSizing,O=Da(y.paddingBottom)+Da(y.paddingTop),k=Da(y.borderBottomWidth)+Da(y.borderTopWidth),E=b.scrollHeight;b.value="x";const _=b.scrollHeight;let L=E;i&&(L=Math.max(Number(i)*_,L)),o&&(L=Math.min(Number(o)*_,L)),L=Math.max(L,_);const A=L+(C==="border-box"?O+k:0),j=Math.abs(L-E)<=1;return{outerHeightStyle:A,overflowing:j}},[o,i,t.placeholder]),g=S.useCallback(()=>{const h=v();if($O(h))return;const p=h.outerHeightStyle,y=c.current;d.current!==p&&(d.current=p,y.style.height=`${p}px`),y.style.overflow=h.overflowing?"hidden":""},[v]);Mr(()=>{const h=()=>{g()};let p;const y=dx(h),b=c.current,C=uo(b);C.addEventListener("resize",y);let O;return typeof ResizeObserver<"u"&&(O=new ResizeObserver(h),O.observe(b)),()=>{y.clear(),cancelAnimationFrame(p),C.removeEventListener("resize",y),O&&O.disconnect()}},[v,g]),Mr(()=>{g()});const x=h=>{u||g(),r&&r(h)};return P.jsxs(S.Fragment,{children:[P.jsx("textarea",w({value:a,onChange:x,ref:f,rows:i,style:s},l)),P.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:m,tabIndex:-1,style:w({},OO.shadow,s,{paddingTop:0,paddingBottom:0})})]})});function Fi({props:e,states:t,muiFormControl:n}){return t.reduce((r,o)=>(r[o]=e[o],n&&typeof e[o]>"u"&&(r[o]=n[o]),r),{})}const mh=S.createContext(void 0);function Ni(){return S.useContext(mh)}function TO(e){return P.jsx(KE,w({},e,{defaultTheme:fh,themeId:Pu}))}function Fg(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Gl(e,t=!1){return e&&(Fg(e.value)&&e.value!==""||t&&Fg(e.defaultValue)&&e.defaultValue!=="")}function _O(e){return e.startAdornment}function LO(e){return ae("MuiInputBase",e)}const Pi=ie("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),IO=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],cc=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${G(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},dc=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},FO=e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:i,focused:s,formControl:a,fullWidth:l,hiddenLabel:u,multiline:c,readOnly:f,size:d,startAdornment:m,type:v}=e,g={root:["root",`color${G(n)}`,r&&"disabled",o&&"error",l&&"fullWidth",s&&"focused",a&&"formControl",d&&d!=="medium"&&`size${G(d)}`,c&&"multiline",m&&"adornedStart",i&&"adornedEnd",u&&"hiddenLabel",f&&"readOnly"],input:["input",r&&"disabled",v==="search"&&"inputTypeSearch",c&&"inputMultiline",d==="small"&&"inputSizeSmall",u&&"inputHiddenLabel",m&&"inputAdornedStart",i&&"inputAdornedEnd",f&&"readOnly"]};return le(g,LO,t)},fc=U("div",{name:"MuiInputBase",slot:"Root",overridesResolver:cc})(({theme:e,ownerState:t})=>w({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Pi.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&w({padding:"4px 0 5px"},t.size==="small"&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),pc=U("input",{name:"MuiInputBase",slot:"Input",overridesResolver:dc})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light",r=w({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),o={opacity:"0 !important"},i=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return w({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Pi.fLine truncated
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
`)),N$=_i(jg||(jg=hc`
|
||||
0% {
|
||||
stroke-dasharray: 1px, 200px;
|
||||
stroke-dashoffset: 0;
|
||||
}
|
||||
|
||||
50% {
|
||||
stroke-dasharray: 100px, 200px;
|
||||
stroke-dashoffset: -15px;
|
||||
}
|
||||
|
||||
100% {
|
||||
stroke-dasharray: 100px, 200px;
|
||||
stroke-dashoffset: -125px;
|
||||
}
|
||||
`)),A$=e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e,i={root:["root",n,`color${G(r)}`],svg:["svg"],circle:["circle",`circle${G(n)}`,o&&"circleDisableShrink"]};return le(i,L$,t)},j$=U("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${G(n.color)}`]]}})(({ownerState:e,theme:t})=>w({display:"inline-block"},e.variant==="determinate"&&{transition:t.transitions.create("transform")},e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].main}),({ownerState:e})=>e.variant==="indeterminate"&&zu(Dg||(Dg=hc`
|
||||
animation: ${0} 1.4s linear infinite;
|
||||
`),F$)),D$=U("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),z$=U("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${G(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(({ownerState:e,theme:t})=>w({stroke:"currentColor"},e.variant==="determinate"&&{transition:t.transitions.create("stroke-dashoffset")},e.variant==="indeterminate"&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:e})=>e.variant==="indeterminate"&&!e.disableShrink&&zu(zg||(zg=hc`
|
||||
animation: ${0} 1.4s ease-in-out infinite;
|
||||
`),N$)),B$=S.forwardRef(function(t,n){const r=ue({props:t,name:"MuiCircularProgress"}),{className:o,color:i="primary",disableShrink:s=!1,size:a=40,style:l,thickness:u=3.6,value:c=0,variant:f="indeterminate"}=r,d=H(r,I$),m=w({},r,{color:i,disableShrink:s,size:a,thickness:u,value:c,variant:f}),v=A$(m),g={},x={},h={};if(f==="determinate"){const p=2*Math.PI*((or-u)/2);g.strokeDasharray=p.toFixed(3),h["aria-valuenow"]=Math.round(c),g.strokeDashoffset=`${((100-c)/100*p).toFixed(3)}px`,x.transform="rotate(-90deg)"}return P.jsx(j$,w({className:J(v.root,o),style:w({width:a,height:a},x,l),ownerState:m,ref:n,role:"progressbar"},h,d,{children:P.jsx(D$,{className:v.svg,ownerState:m,viewBox:`${or/2} ${or/2} ${or} ${or}`,children:P.jsx(z$,{className:v.circle,style:g,ownerState:m,cx:or,cy:or,r:(or-u)/2,fill:"none",strokeWidth:u})})}))});function Bg(e){return e.substring(2).toLowerCase()}function U$(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}function V$(e){const{children:t,disableReactTree:n=!1,mouseEvent:r="onClick",onClickAway:o,touchEvent:i="onTouchEnd"}=e,s=S.useRef(!1),a=S.useRef(null),l=S.useRef(!1),u=S.useRef(!1);S.useEffect(()=>(setTimeout(()=>{l.current=!0},0),()=>{l.current=!1}),[]);const c=Je(t.ref,a),f=qn(v=>{const g=u.current;u.current=!1;const x=ft(a.current);if(!l.current||!a.current||"clientX"in v&&U$(v,x))return;if(s.current){s.current=!1;return}let h;v.composedPath?h=v.composedPath().indexOf(a.current)>-1:h=!x.documentElement.contains(v.target)||a.current.contains(v.target),!h&&(n||!g)&&o(v)}),d=v=>g=>{u.current=!0;const x=t.props[v];x&&x(g)},m={ref:c};return i!==!1&&(m[i]=d(i)),S.useEffect(()=>{if(i!==!1){const v=Bg(i),g=ft(a.current),x=()=>{s.current=!0};return g.addEventListener(v,f),g.addEventListener("touchmove",x),()=>{g.removeEventListener(v,f),g.removeEventListener("touchmove",x)}}},[f,i]),r!==!1&&(m[r]=d(r)),S.useEffect(()=>{if(r!==!1){const v=Bg(r),g=ft(a.current);return g.addEventListener(v,f),()=>{g.removeEventListener(v,f)}}},[f,r]),P.jsx(S.Fragment,{children:S.cloneElement(t,m)})}function H$(e){const t=ft(e);return t.body===e?uo(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function ws(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Ug(e){return parseInt(uo(e).getComputedStyle(e).paddingRight,10)||0}function W$(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function Vg(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,s=>{const a=i.indexOf(s)===-1,l=!W$(s);a&&l&&ws(s,o)})}function nd(e,t){let n=-1;return e.some((r,o)=>t(r)?(n=o,!0):!1),n}function K$(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(H$(r)){const s=hx(ft(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Ug(r)+s}px`;const a=ft(r).querySelectorAll(".mui-fixed");[].forEach.call(a,l=>{n.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${Ug(l)+s}px`})}let i;if(r.parentNode instanceof DocumentFragment)i=ft(r).body;else{const s=r.parentElement,a=uo(r);i=(s==null?void 0:s.nodeName)==="HTML"&&a.getComputedStyle(s).overflowY==="scroll"?s:r}n.push({value:i.style.overflow,property:"overflow",el:i},{value:i.style.overflowX,property:"overflow-x",el:i},{value:i.style.overflowY,property:"overflow-y",el:i}),i.style.overflow="hidden"}return()=>{n.forEach(({value:i,el:s,property:a})=>{i?s.style.setProperty(a,i):s.style.removeProperty(a)})}}function q$(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class Q${constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&ws(t.modalRef,!1);const o=q$(n);Vg(n,t.mount,t.modalRef,o,!0);const i=nd(this.containers,s=>s.container===n);return i!==-1?(this.containers[i].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:o}),r)}mount(t,n){const r=nd(this.containers,i=>i.modals.indexOf(t)!==-1),o=this.containers[r];o.restore||(o.restore=K$(o,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const o=nd(this.containers,s=>s.modals.indexOf(t)!==-1),i=this.containers[o];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(r,1),i.modals.length===0)i.restore&&i.restore(),t.modalRef&&ws(t.modalRef,n),Vg(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(o,1);else{const s=i.modals[i.modals.length-1];s.modalRef&&ws(s.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const G$=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([c
Line truncated
|
||||
* @license React
|
||||
* use-sync-external-store-shim.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var Ei=S;function xL(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var bL=typeof Object.is=="function"?Object.is:xL,SL=Ei.useState,wL=Ei.useEffect,CL=Ei.useLayoutEffect,kL=Ei.useDebugValue;function PL(e,t){var n=t(),r=SL({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return CL(function(){o.value=n,o.getSnapshot=t,ad(o)&&i({inst:o})},[e,n,t]),wL(function(){return ad(o)&&i({inst:o}),e(function(){ad(o)&&i({inst:o})})},[e]),kL(n),n}function ad(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!bL(e,n)}catch{return!0}}function EL(e,t){return t()}var RL=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?EL:PL;Zx.useSyncExternalStore=Ei.useSyncExternalStore!==void 0?Ei.useSyncExternalStore:RL;Jx.exports=Zx;var OL=Jx.exports;/**
|
||||
* @license React
|
||||
* use-sync-external-store-shim/with-selector.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var mc=S,$L=OL;function ML(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var TL=typeof Object.is=="function"?Object.is:ML,_L=$L.useSyncExternalStore,LL=mc.useRef,IL=mc.useEffect,FL=mc.useMemo,NL=mc.useDebugValue;Yx.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var i=LL(null);if(i.current===null){var s={hasValue:!1,value:null};i.current=s}else s=i.current;i=FL(function(){function l(m){if(!u){if(u=!0,c=m,m=r(m),o!==void 0&&s.hasValue){var v=s.value;if(o(v,m))return f=v}return f=m}if(v=f,TL(c,m))return v;var g=r(m);return o!==void 0&&o(v,g)?v:(c=m,f=g)}var u=!1,c,f,d=n===void 0?null:n;return[function(){return l(t())},d===null?void 0:function(){return l(d())}]},[t,n,r,o]);var a=_L(e,i[0],i[1]);return IL(function(){s.hasValue=!0,s.value=a},[a]),NL(a),a};Xx.exports=Yx;var AL=Xx.exports;const jL=ru(AL);var eb={BASE_URL:"/phpCourse/exam/dist",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const{useDebugValue:DL}=gn,{useSyncExternalStoreWithSelector:zL}=jL;let mv=!1;const BL=e=>e;function UL(e,t=BL,n){(eb?"production":void 0)!=="production"&&n&&!mv&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),mv=!0);const r=zL(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return DL(r),r}const VL=e=>{(eb?"production":void 0)!=="production"&&typeof e!="function"&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const t=typeof e=="function"?yL(e):e,n=(r,o)=>UL(t,r,o);return Object.assign(n,t),n},HL=e=>VL;var dl={BASE_URL:"/phpCourse/exam/dist",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const jf=new Map,Ua=e=>{const t=jf.get(e);return t?Object.fromEntries(Object.entries(t.stores).map(([n,r])=>[n,r.getState()])):{}},WL=(e,t,n)=>{if(e===void 0)return{type:"untracked",connection:t.connect(n)};const r=jf.get(n.name);if(r)return{type:"tracked",store:e,...r};const o={connection:t.connect(n),stores:{}};return jf.set(n.name,o),{type:"tracked",store:e,...o}},KL=(e,t={})=>(n,r,o)=>{const{enabled:i,anonymousActionType:s,store:a,...l}=t;let u;try{u=(i??(dl?"production":void 0)!=="production")&&window.__REDUX_DEVTOOLS_EXTENSION__}catch{}if(!u)return(dl?"production":void 0)!=="production"&&i&&console.warn("[zustand devtools middleware] Please install/enable Redux devtools extension"),e(n,r,o);const{connection:c,...f}=WL(a,u,l);let d=!0;o.setState=(g,x,h)=>{const p=n(g,x);if(!d)return p;const y=h===void 0?{type:s||"anonymous"}:typeof h=="string"?{type:h}:h;return a===void 0?(c==null||c.send(y,r()),p):(c==null||c.send({...y,type:`${a}/${y.type}`},{...Ua(l.name),[a]:o.getState()}),p)};const m=(...g)=>{const x=d;d=!1,n(...g),d=x},v=e(o.setState,r,o);if(f.type==="untracked"?c==null||c.init(v):(f.stores[f.store]=o,c==null||c.init(Object.fromEntries(Object.entries(f.stores).map(([g,x])=>[g,g===f.store?v:x.getState()])))),o.dispatchFromDevtools&&typeof o.dispatch=="function"){let g=!1;const x=o.dispatch;o.dispatch=(...h)=>{(dl?"production":void 0)!=="production"&&h[0].type==="__setState"&&!g&&(console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),g=!0),x(...h)}}return c.subscribe(g=>{var x;switch(g.type){case"ACTION":if(typeof g.payload!="string"){console.error("[zustand devtools middleware] Unsupported action format");return}return ld(g.payload,h=>{if(h.type==="__setState"){if(a===void 0){m(h.state);return}Object.keys(h.state).length!==1&&console.error(`
|
||||
[zustand devtools middleware] Unsupported __setState action format.
|
||||
When using 'store' option in devtools(), the 'state' should have only one key, which is a value of 'store' that was passed in devtools(),
|
||||
and value of this only key should be a state object. Example: { "type": "__setState", "state": { "abc123Store": { "foo": "bar" } } }
|
||||
`);const p=h.state[a];if(p==null)return;JSON.stringify(o.getState())!==JSON.stringify(p)&&m(p);return}o.dispatchFromDevtools&&typeof o.dispatch=="function"&&o.dispatch(h)});case"DISPATCH":switch(g.payload.type){case"RESET":return m(v),a===void 0?c==null?void 0:c.init(o.getState()):c==null?void 0:c.init(Ua(l.name));case"COMMIT":if(a===void 0){c==null||c.init(o.getState());return}return c==null?void 0:c.init(Ua(l.name));case"ROLLBACK":return ld(g.state,h=>{if(a===void 0){m(h),c==null||c.init(o.getState());return}m(h[a]),c==null||c.init(Ua(l.name))});case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return ld(g.state,h=>{if(a===void 0){m(h);return}JSON.stringify(o.getState())!==JSON.stringify(h[a])&&m(h[a])});case"IMPORT_STATE":{const{nextLiftedState:h}=g.payload,p=(x=h.computedStates.slice(-1)[0])==null?void 0:x.state;if(!p)return;m(a===void 0?p:p[a]),c==null||c.send(null,h);return}case"PAUSE_RECORDING":return d=!d}return}}),v},qL=KL,ld=(e,t)=>{let n;try{n=JSON.parse(e)}catch(r){console.error("[zustand devtools middleware] Could not parse the received json",r)}n!==void 0&&t(n)};function QL(e,t){let n;try{n=e()}catch{return}return{getItem:o=>{var i;const s=l=>l===null?null:JSON.parse(l,void 0),a=(i=n.getItem(o))!=null?i:null;return a instanceof Promise?a.then(s):s(a)},setItem:(o,i)=>n.setItem(o,JSON.stringify(i,void 0)),removeItem:o=>n.removeItem(o)}}const Xs=e=>t=>{try{const n=e(t);return n instanceof Promise?n:{then(r){return Xs(r)(n)},catch(r){return this}}}catch(n){return{then(r){return this},catch(r){return Xs(r)(n)}}}},GL=(e,t)=>(n,r,o)=>{let i={getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:x=>x,version:0,merge:(x,h)=>({...h,...x}),...t},s=!1;const a=new Set,l=new Set;let u;try{u=i.getStorage()}catch{}if(!u)return e((...x)=>{console.warn(`[zustand persist middleware] Unable to update item '${i.name}', the given storage is currently unavailable.`),n(...x)},r,o);const c=Xs(i.serialize),f=()=>{const x=i.partialize({...r()});let h;const p=c({state:x,version:i.version}).then(y=>u.setItem(i.name,y)).catch(y=>{h=y});if(h)throw h;return p},d=o.setState;o.setState=(x,h)=>{d(x,h),f()};const m=e((...x)=>{n(...x),f()},r,o);let v;const g=()=>{var x;if(!u)return;s=!1,a.forEach(p=>p(r()));const h=((x=i.onRehydrateStorage)==null?void 0:x.call(i,r()))||void 0;return Xs(u.getItem.bind(u))(i.name).then(p=>{if(p)return i.deserialize(p)}).then(p=>{if(p)if(typeof p.version=="number"&&p.version!==i.version){if(i.migrate)return i.migrate(p.state,p.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return p.state}).then(p=>{var y;return v=i.merge(p,(y=r())!=null?y:m),n(v,!0),f()}).then(()=>{h==null||h(v,void 0),s=!0,l.forEach(p=>p(v))}).catch(p=>{h==null||h(void 0,p)})};return o.persist={setOptions:x=>{i={...i,...x},x.getStorage&&(u=x.getStorage())},clearStorage:()=>{u==null||u.removeItem(i.name)},getOptions:()=>i,rehydrate:()=>g(),hasHydrated:()=>s,onHydrate:x=>(a.add(x),()=>{a.delete(x)}),onFinishHydration:x=>(l.add(x),()=>{l.delete(x)})},g(),v||m},XL=(e,t)=>(n,r,o)=>{let i={storage:QL(()=>localStorage),partialize:g=>g,version:0,merge:(g,x)=>({...x,...g}),...t},s=!1;const a=new Set,l=new Set;let u=i.storage;if(!u)return e((...g)=>{console.warn(`[zustand persist middleware] Unable to update item '${i.name}', the given storage is currently unavailable.`),n(...g)},r,o);const c=()=>{const g=i.partialize({...r()});return u.setItem(i.name,{state:g,version:i.version})},f=o.setState;o.setState=(g,x)=>{f(g,x),c()};const d=e((...g)=>{n(...g),c()},r,o);o.getInitialState=()=>d;let m;const v=()=>{var g,x;if(!u)return;s=!1,a.forEach(p=>{var y;return p((y=r())!=null?y:d)});const h=((x=i.onRehydrateStorage)==null?void 0:x.call(i,(g=r())!=null?g:d))||void 0;return Xs(u.getItem.bind(u))(i.name).then(p=>{if(p)if(typeof p.version=="number"&&p.version!==i.version){if(i.migrate)return i.migrate(p.state,p.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return p.state}).then(p=>{var y;return m=i.merge(p,(y=r())!=null?y:d),n(m,!0),c()}).then(()=>{h==null||h(m,void 0),m=r(),s=!0,l.forEach(p=>p(m))}).catch(p=>{h==null||h(void 0,p)})};return o.persist={setOptions:g=>{i={...i,...g},g.storage&&(u=g.storage)},clearStorage:()=>{u==null||u.removeItem(i.name)},getOptions:()=>i,rehydrate:()=>v(),hasHydrated:()=>s,onHydrate:g=>(a.add(g),()=>{a.delete(g)}),onFinishHydration:g=>(l.add(g),()=>{l.delete(g)})},i.skipHydration||v(),m||d},YL=(e,t)=>"getStorage"in t||"serialize"in t||"deserialize"in t?((dl?"production":void 0)!=="production"&&console.warn("[DEPRECATED] `getStorage`, `serialize` and `deserialize` options are deprecated. Use `storage` option instead."),GL(e,t)):XL(e,t),JL=YL,Xl=HL()(qL(JL(e=>({user:void 0,token:void 0,setUser:(t,n)=>e(()=>({user:t,token:n}))}),{name:"guestbook-storage"})));function gc(e,t){return typeof e=="function"?e(t):e}function tb(e,t){return Ch(t).
Line truncated
|
||||
`)===0?$.substr(1,$.length):$}).forEach(function($){var I=$.split(":"),F=I.shift().trim();if(F){var Q=I.join(":").trim();T.append(F,Q)}}),T}O.call(_.prototype);function j(R,T){if(!(this instanceof j))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');T||(T={}),this.type="default",this.status=T.status===void 0?200:T.status,this.ok=this.status>=200&&this.status<300,this.statusText=T.statusText===void 0?"":""+T.statusText,this.headers=new g(T.headers),this.url=T.url||"",this._initBody(R)}O.call(j.prototype),j.prototype.clone=function(){return new j(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new g(this.headers),url:this.url})},j.error=function(){var R=new j(null,{status:0,statusText:""});return R.type="error",R};var z=[301,302,303,307,308];j.redirect=function(R,T){if(z.indexOf(T)===-1)throw new RangeError("Invalid status code");return new j(null,{status:T,headers:{location:R}})},s.DOMException=a.DOMException;try{new s.DOMException}catch{s.DOMException=function(T,N){this.message=T,this.name=N;var $=Error(T);this.stack=$.stack},s.DOMException.prototype=Object.create(Error.prototype),s.DOMException.prototype.constructor=s.DOMException}function D(R,T){return new Promise(function(N,$){var I=new _(R,T);if(I.signal&&I.signal.aborted)return $(new s.DOMException("Aborted","AbortError"));var F=new XMLHttpRequest;function Q(){F.abort()}F.onload=function(){var W={status:F.status,statusText:F.statusText,headers:A(F.getAllResponseHeaders()||"")};W.url="responseURL"in F?F.responseURL:W.headers.get("X-Request-URL");var q="response"in F?F.response:F.responseText;setTimeout(function(){N(new j(q,W))},0)},F.onerror=function(){setTimeout(function(){$(new TypeError("Network request failed"))},0)},F.ontimeout=function(){setTimeout(function(){$(new TypeError("Network request failed"))},0)},F.onabort=function(){setTimeout(function(){$(new s.DOMException("Aborted","AbortError"))},0)};function X(W){try{return W===""&&a.location.href?a.location.href:W}catch{return W}}F.open(I.method,X(I.url),!0),I.credentials==="include"?F.withCredentials=!0:I.credentials==="omit"&&(F.withCredentials=!1),"responseType"in F&&(l.blob?F.responseType="blob":l.arrayBuffer&&I.headers.get("Content-Type")&&I.headers.get("Content-Type").indexOf("application/octet-stream")!==-1&&(F.responseType="arraybuffer")),T&&typeof T.headers=="object"&&!(T.headers instanceof g)?Object.getOwnPropertyNames(T.headers).forEach(function(W){F.setRequestHeader(W,m(T.headers[W]))}):I.headers.forEach(function(W,q){F.setRequestHeader(q,W)}),I.signal&&(I.signal.addEventListener("abort",Q),F.onreadystatechange=function(){F.readyState===4&&I.signal.removeEventListener("abort",Q)}),F.send(typeof I._bodyInit>"u"?null:I._bodyInit)})}return D.polyfill=!0,a.fetch||(a.fetch=D,a.Headers=g,a.Request=_,a.Response=j),s.Headers=g,s.Request=_,s.Response=j,s.fetch=D,s})({})})(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var o=n.fetch?n:r;t=o.fetch,t.default=o.fetch,t.fetch=o.fetch,t.Headers=o.Headers,t.Request=o.Request,t.Response=o.Response,e.exports=t}(Ka,Ka.exports)),Ka.exports}(function(e,t){var n;if(typeof fetch=="function"&&(typeof us<"u"&&us.fetch?n=us.fetch:typeof window<"u"&&window.fetch?n=window.fetch:n=fetch),typeof nF<"u"&&typeof window>"u"){var r=n||rF();r.default&&(r=r.default),t.default=r,e.exports=t.default}})(Hf,Hf.exports);var db=Hf.exports;const fb=ru(db),_v=Qv({__proto__:null,default:fb},[db]);function Lv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Iv(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Lv(Object(n),!0).forEach(function(r){oF(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lv(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function oF(e,t,n){return t=iF(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function iF(e){var t=sF(e,"string");return fo(t)=="symbol"?t:t+""}function sF(e,t){if(fo(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(fo(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function fo(e){"@babel/helpers - typeof";return fo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fo(e)}var Gn;typeof fetch=="function"&&(typeof global<"u"&&global.fetch?Gn=global.fetch:typeof window<"u"&&window.fetch?Gn=window.fetch:Gn=fetch);var Js;cb()&&(typeof global<"u"&&global.XMLHttpRequest?Js=global.XMLHttpRequest:typeof window<"u"&&windo
Line truncated
|
||||
+102
@@ -0,0 +1,102 @@
|
||||
import{c as L,u as dn,_ as i,a as F,d as Le,g as un,f as dt,l as pn,b as fn,e as gn,h as mn,s as bn,i as vn,j as K,k as U,r as u,m as k,n as _,o as G,p as Ho,q as Tt,t as be,v as De,w as We,x as Ft,y as Ne,z as ge,A as Uo,B as hn,C as pe,D as xn,E as yn,F as Cn,G as ft,H as Ht,T as Rn,I as Vo,J as to,K as kn,L as $n,M as Lt,N as Ko,O as Pn,P as In,Q as Mn,R as Go,S as qo,U as At,V as oo,W as je,X as xt,Y as Ut,Z as no,$ as Xo,a0 as Yo,a1 as Sn}from"./vendor_react-BnzSvkeI.js";function q(e){return dn(e)}function En(e,t){return i({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const ut={black:"#000",white:"#fff"},Tn={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"},He={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"},Ue={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"},tt={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"},Ve={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"},Ke={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"},Ge={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"},wn=["mode","contrastThreshold","tonalOffset"],ro={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:ut.white,default:ut.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}},wt={text:{primary:ut.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:ut.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 so(e,t,o,n){const r=n.light||n,s=n.dark||n*1.5;e[t]||(e.hasOwnProperty(o)?e[t]=e[o]:t==="light"?e.light=pn(e.main,r):t==="dark"&&(e.dark=fn(e.main,s)))}function Nn(e="light"){return e==="dark"?{main:Ve[200],light:Ve[50],dark:Ve[400]}:{main:Ve[700],light:Ve[400],dark:Ve[800]}}function zn(e="light"){return e==="dark"?{main:He[200],light:He[50],dark:He[400]}:{main:He[500],light:He[300],dark:He[700]}}function Bn(e="light"){return e==="dark"?{main:Ue[500],light:Ue[300],dark:Ue[700]}:{main:Ue[700],light:Ue[400],dark:Ue[800]}}function On(e="light"){return e==="dark"?{main:Ke[400],light:Ke[300],dark:Ke[700]}:{main:Ke[700],light:Ke[500],dark:Ke[900]}}function Fn(e="light"){return e==="dark"?{main:Ge[400],light:Ge[300],dark:Ge[700]}:{main:Ge[800],light:Ge[500],dark:Ge[900]}}function Ln(e="light"){return e==="dark"?{main:tt[400],light:tt[300],dark:tt[700]}:{main:"#ed6c02",light:tt[500],dark:tt[900]}}function An(e){const{mode:t="light",contrastThreshold:o=3,tonalOffset:n=.2}=e,r=F(e,wn),s=e.primary||Nn(t),a=e.secondary||zn(t),l=e.error||Bn(t),c=e.info||On(t),d=e.success||Fn(t),p=e.warning||Ln(t);function b(v){return un(v,wt.text.primary)>=o?wt.text.primary:ro.text.primary}const h=({color:v,name:R,mainShade:g=500,lightShade:C=300,darkShade:m=700})=>{if(v=i({},v),!v.main&&v[g]&&(v.main=v[g]),!v.hasOwnProperty("main"))throw new Error(dt(11,R?` (${R})`:"",g));if(typeof v.main!="string")throw new Error(dt(12,R?` (${R})`:"",JSON.stringify(v.main)));return so(v,"light",C,n),so(v,"dark",m,n),v.contrastText||(v.contrastText=b(v.main)),v},y={dark:wt,light:ro};return Le(i({common:i({},ut),mode:t,primary:h({color:s,name:"primary"}),secondary:h({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:h({color:l,name:"error"}),warning:h({color:p,name:"warning"}),info:h({color:c,name:"info"}),sucLine truncated
|
||||
0% {
|
||||
transform: scale(0);
|
||||
opacity: 0.1;
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: scale(1);
|
||||
opacity: 0.3;
|
||||
}
|
||||
`)),mr=ft(po||(po=kt`
|
||||
0% {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 0;
|
||||
}
|
||||
`)),br=ft(fo||(fo=kt`
|
||||
0% {
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
50% {
|
||||
transform: scale(0.92);
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: scale(1);
|
||||
}
|
||||
`)),vr=T("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),hr=T(ur,{name:"MuiTouchRipple",slot:"Ripple"})(go||(go=kt`
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
|
||||
&.${0} {
|
||||
opacity: 0.3;
|
||||
transform: scale(1);
|
||||
animation-name: ${0};
|
||||
animation-duration: ${0}ms;
|
||||
animation-timing-function: ${0};
|
||||
}
|
||||
|
||||
&.${0} {
|
||||
animation-duration: ${0}ms;
|
||||
}
|
||||
|
||||
& .${0} {
|
||||
opacity: 1;
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 50%;
|
||||
background-color: currentColor;
|
||||
}
|
||||
|
||||
& .${0} {
|
||||
opacity: 0;
|
||||
animation-name: ${0};
|
||||
animation-duration: ${0}ms;
|
||||
animation-timing-function: ${0};
|
||||
}
|
||||
|
||||
& .${0} {
|
||||
position: absolute;
|
||||
/* @noflip */
|
||||
left: 0px;
|
||||
top: 0;
|
||||
animation-name: ${0};
|
||||
animation-duration: 2500ms;
|
||||
animation-timing-function: ${0};
|
||||
animation-iteration-count: infinite;
|
||||
animation-delay: 200ms;
|
||||
}
|
||||
`),Pe.rippleVisible,gr,Wt,({theme:e})=>e.transitions.easing.easeInOut,Pe.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,Pe.child,Pe.childLeaving,mr,Wt,({theme:e})=>e.transitions.easing.easeInOut,Pe.childPulsate,br,({theme:e})=>e.transitions.easing.easeInOut),xr=u.forwardRef(function(t,o){const n=q({props:t,name:"MuiTouchRipple"}),{center:r=!1,classes:s={},className:a}=n,l=F(n,pr),[c,d]=u.useState([]),p=u.useRef(0),b=u.useRef(null);u.useEffect(()=>{b.current&&(b.current(),b.current=null)},[c]);const h=u.useRef(!1),y=Ht(),f=u.useRef(null),v=u.useRef(null),R=u.useCallback(x=>{const{pulsate:$,rippleX:I,rippleY:P,rippleSize:E,cb:M}=x;d(S=>[...S,k.jsx(hr,{classes:{ripple:_(s.ripple,Pe.ripple),rippleVisible:_(s.rippleVisible,Pe.rippleVisible),ripplePulsate:_(s.ripplePulsate,Pe.ripplePulsate),child:_(s.child,Pe.child),childLeaving:_(s.childLeaving,Pe.childLeaving),childPulsate:_(s.childPulsate,Pe.childPulsate)},timeout:Wt,pulsate:$,rippleX:I,rippleY:P,rippleSize:E},p.current)]),p.current+=1,b.current=M},[s]),g=u.useCallback((x={},$={},I=()=>{})=>{const{pulsate:P=!1,center:E=r||$.pulsate,fakeElement:M=!1}=$;if((x==null?void 0:x.type)==="mousedown"&&h.current){h.current=!1;return}(x==null?void 0:x.type)==="touchstart"&&(h.current=!0);const S=M?null:v.current,H=S?S.getBoundingClientRect():{width:0,height:0,left:0,top:0};let D,A,B;if(E||x===void 0||x.clientX===0&&x.clientY===0||!x.clientX&&!x.touches)D=Math.round(H.width/2),A=Math.round(H.height/2);else{const{clientX:w,clientY:N}=x.touches&&x.touches.length>0?x.touches[0]:x;D=Math.round(w-H.left),A=Math.round(N-H.top)}if(E)B=Math.sqrt((2*H.width**2+H.height**2)/3),B%2===0&&(B+=1);else{const w=Math.max(Math.abs((S?S.clientWidth:0)-D),D)*2+2,N=Math.max(Math.abs((S?S.clientHeight:0)-A),A)*2+2;B=Math.sqrt(w**2+N**2)}x!=null&&x.touches?f.current===null&&(f.current=()=>{R({pulsate:P,rippleX:D,rippleY:A,rippleSize:B,cb:I})},y.start(fr,()=>{f.current&&(f.current(),f.current=null)})):R({pulsate:P,rippleX:D,rippleY:A,rippleSize:B,cb:I})},[r,R,y]),C=u.useCallback(()=>{g({},{pulsate:!0})},[g]),m=u.useCallback((x,$)=>{if(y.clear(),(x==null?void 0:x.type)==="touchend"&&f.current){f.current(),f.current=null,y.start(0,()=>{m(x,$)});return}f.current=null,d(I=>I.length>0?I.slice(1):I),b.current=$},[y]);return u.useImperativeHandle(o,()=>({pulsate:C,start:g,stop:m}),[C,g,m]),k.jsx(vr,i({className:_(Pe.root,s.root,a),ref:v},l,{children:k.jsx(Rn,{component:null,exit:!0,children:c})}))});function yr(e){return K("MuiButtonBase",e)}const Cr=U("MuiButtonBase",["root","disabled","focusVisible"]),Rr=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],kr=e=>{const{disabled:t,focusVisible:o,focusVisibleClassName:n,classes:r}=e,a=G({root:["root",t&&"disabled",o&&"focusVisible"]},yr,r);return o&&n&&(a.root+=` ${n}`),a},$r=T("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Cr.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),$t=u.forwardRef(function(t,o){const n=q({props:t,name:"MuiButtonBase"}),{action:r,centerRipple:s=!1,children:a,className:l,component:c="button",disabled:d=!1,disableRipple:p=!1,disableTouchRipple:b=!1,focusRipple:h=!1,LinkComponent:y="a",onBlur:f,onClick:v,onContextMenu:R,onDragLeave:g,onFocus:C,onFocusVisible:m,onKeyDown:x,onKeyUp:$,onMouseDown:I,onMouseLeave:P,onMouseUp:E,onTouchEnd:M,onTouchMove:S,onTouchStart:H,tabIndex:D=0,TouchRippleProps:A,touchRippleRef:B,type:w}=n,N=F(n,Rr),O=u.useRef(null),z=u.useRef(null),Y=ge(z,B),{isFocusVisibleRef:te,onFocus:ve,onBlur:de,ref:ce}=Uo(),[X,oe]=u.useState(!1);d&&X&&oe(!1),u.useImperativeHandle(r,()=>({focusVisible:()=>{oe(!0),O.current.focus()}}),[]);const[ne,he]=u.useState(!1);u.useEffect(()=>{he(!0)},[]);const me=ne&&!p&&!d;u.useEffect(()=>{X&&h&&!p&&ne&&z.current.pulsate()},[p,h,X,ne]);function ue(j,we,Qe=b){return Ne(et=>(we&&we(et),!Qe&&z.current&&z.current[j](et),!0))}const xe=ue("start",I),Z=ue("stop",R),ie=ue("stop",g),V=ue("stop",E),J=ue("stop",j=>{X&&j.preventDefault(),P&&P(j)}),re=ue("start",H),ze=ue("stop",M),Ce=ue("stop",S),Re=ue("stop",j=>{de(j),te.current===!1&&oe(!1),f&&f(j)},!1),Me=Ne(j=>{O.current||(O.current=j.currentTarget),ve(j),te.current===!0&&(oe(!0),m&&m(j)),C&&C(j)}),ke=()=>{cons
Line truncated
|
||||
`&&(x.value+=" ");const $=m.boxSizing,I=mt(m.paddingBottom)+mt(m.paddingTop),P=mt(m.borderBottomWidth)+mt(m.borderTopWidth),E=x.scrollHeight;x.value="x";const M=x.scrollHeight;let S=E;s&&(S=Math.max(Number(s)*M,S)),r&&(S=Math.min(Number(r)*M,S)),S=Math.max(S,M);const H=S+($==="border-box"?I+P:0),D=Math.abs(S-E)<=1;return{outerHeightStyle:H,overflowing:D}},[r,s,t.placeholder]),v=u.useCallback(()=>{const g=f();if(Ur(g))return;const C=g.outerHeightStyle,m=p.current;h.current!==C&&(h.current=C,m.style.height=`${C}px`),m.style.overflow=g.overflowing?"hidden":""},[f]);We(()=>{const g=()=>{v()};let C;const m=Ho(g),x=p.current,$=De(x);$.addEventListener("resize",m);let I;return typeof ResizeObserver<"u"&&(I=new ResizeObserver(g),I.observe(x)),()=>{m.clear(),cancelAnimationFrame(C),$.removeEventListener("resize",m),I&&I.disconnect()}},[f,v]),We(()=>{v()});const R=g=>{d||v(),n&&n(g)};return k.jsxs(u.Fragment,{children:[k.jsx("textarea",i({value:l,onChange:R,ref:b,rows:s,style:a},c)),k.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:y,tabIndex:-1,style:i({},Hr.shadow,a,{paddingTop:0,paddingBottom:0})})]})});function Ze({props:e,states:t,muiFormControl:o}){return t.reduce((n,r)=>(n[r]=e[r],o&&typeof e[r]>"u"&&(n[r]=o[r]),n),{})}const Kt=u.createContext(void 0);function Je(){return u.useContext(Kt)}function Kr(e){return k.jsx($n,i({},e,{defaultTheme:Vt,themeId:yt}))}function bo(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function ht(e,t=!1){return e&&(bo(e.value)&&e.value!==""||t&&bo(e.defaultValue)&&e.defaultValue!=="")}function Gr(e){return e.startAdornment}function qr(e){return K("MuiInputBase",e)}const Xe=U("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),Xr=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],Pt=(e,t)=>{const{ownerState:o}=e;return[t.root,o.formControl&&t.formControl,o.startAdornment&&t.adornedStart,o.endAdornment&&t.adornedEnd,o.error&&t.error,o.size==="small"&&t.sizeSmall,o.multiline&&t.multiline,o.color&&t[`color${L(o.color)}`],o.fullWidth&&t.fullWidth,o.hiddenLabel&&t.hiddenLabel]},It=(e,t)=>{const{ownerState:o}=e;return[t.input,o.size==="small"&&t.inputSizeSmall,o.multiline&&t.inputMultiline,o.type==="search"&&t.inputTypeSearch,o.startAdornment&&t.inputAdornedStart,o.endAdornment&&t.inputAdornedEnd,o.hiddenLabel&&t.inputHiddenLabel]},Yr=e=>{const{classes:t,color:o,disabled:n,error:r,endAdornment:s,focused:a,formControl:l,fullWidth:c,hiddenLabel:d,multiline:p,readOnly:b,size:h,startAdornment:y,type:f}=e,v={root:["root",`color${L(o)}`,n&&"disabled",r&&"error",c&&"fullWidth",a&&"focused",l&&"formControl",h&&h!=="medium"&&`size${L(h)}`,p&&"multiline",y&&"adornedStart",s&&"adornedEnd",d&&"hiddenLabel",b&&"readOnly"],input:["input",n&&"disabled",f==="search"&&"inputTypeSearch",p&&"inputMultiline",h==="small"&&"inputSizeSmall",d&&"inputHiddenLabel",y&&"inputAdornedStart",s&&"inputAdornedEnd",b&&"readOnly"]};return G(v,qr,t)},Mt=T("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Pt})(({theme:e,ownerState:t})=>i({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Xe.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&i({padding:"4px 0 5px"},t.size==="small"&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),St=T("input",{name:"MuiInputBase",slot:"Input",overridesResolver:It})(({theme:e,ownerState:t})=>{const o=e.palette.mode==="light",n=i({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:o?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),r={opacity:"0 !important"},s=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:o?.42:.5};return i({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&:-ms-input-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Xe.formLine truncated
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
`)),Gs=ft(xo||(xo=Et`
|
||||
0% {
|
||||
stroke-dasharray: 1px, 200px;
|
||||
stroke-dashoffset: 0;
|
||||
}
|
||||
|
||||
50% {
|
||||
stroke-dasharray: 100px, 200px;
|
||||
stroke-dashoffset: -15px;
|
||||
}
|
||||
|
||||
100% {
|
||||
stroke-dasharray: 100px, 200px;
|
||||
stroke-dashoffset: -125px;
|
||||
}
|
||||
`)),qs=e=>{const{classes:t,variant:o,color:n,disableShrink:r}=e,s={root:["root",o,`color${L(n)}`],svg:["svg"],circle:["circle",`circle${L(o)}`,r&&"circleDisableShrink"]};return G(s,Us,t)},Xs=T("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],t[`color${L(o.color)}`]]}})(({ownerState:e,theme:t})=>i({display:"inline-block"},e.variant==="determinate"&&{transition:t.transitions.create("transform")},e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].main}),({ownerState:e})=>e.variant==="indeterminate"&&Go(yo||(yo=Et`
|
||||
animation: ${0} 1.4s linear infinite;
|
||||
`),Ks)),Ys=T("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),Zs=T("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.circle,t[`circle${L(o.variant)}`],o.disableShrink&&t.circleDisableShrink]}})(({ownerState:e,theme:t})=>i({stroke:"currentColor"},e.variant==="determinate"&&{transition:t.transitions.create("stroke-dashoffset")},e.variant==="indeterminate"&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:e})=>e.variant==="indeterminate"&&!e.disableShrink&&Go(Co||(Co=Et`
|
||||
animation: ${0} 1.4s ease-in-out infinite;
|
||||
`),Gs)),vc=u.forwardRef(function(t,o){const n=q({props:t,name:"MuiCircularProgress"}),{className:r,color:s="primary",disableShrink:a=!1,size:l=40,style:c,thickness:d=3.6,value:p=0,variant:b="indeterminate"}=n,h=F(n,Vs),y=i({},n,{color:s,disableShrink:a,size:l,thickness:d,value:p,variant:b}),f=qs(y),v={},R={},g={};if(b==="determinate"){const C=2*Math.PI*((Fe-d)/2);v.strokeDasharray=C.toFixed(3),g["aria-valuenow"]=Math.round(p),v.strokeDashoffset=`${((100-p)/100*C).toFixed(3)}px`,R.transform="rotate(-90deg)"}return k.jsx(Xs,i({className:_(f.root,r),style:i({width:l,height:l},R,c),ownerState:y,ref:o,role:"progressbar"},g,h,{children:k.jsx(Ys,{className:f.svg,ownerState:y,viewBox:`${Fe/2} ${Fe/2} ${Fe} ${Fe}`,children:k.jsx(Zs,{className:f.circle,style:v,ownerState:y,cx:Fe,cy:Fe,r:(Fe-d)/2,fill:"none",strokeWidth:d})})}))});function Ro(e){return e.substring(2).toLowerCase()}function Js(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}function Qs(e){const{children:t,disableReactTree:o=!1,mouseEvent:n="onClick",onClickAway:r,touchEvent:s="onTouchEnd"}=e,a=u.useRef(!1),l=u.useRef(null),c=u.useRef(!1),d=u.useRef(!1);u.useEffect(()=>(setTimeout(()=>{c.current=!0},0),()=>{c.current=!1}),[]);const p=ge(t.ref,l),b=Ne(f=>{const v=d.current;d.current=!1;const R=be(l.current);if(!c.current||!l.current||"clientX"in f&&Js(f,R))return;if(a.current){a.current=!1;return}let g;f.composedPath?g=f.composedPath().indexOf(l.current)>-1:g=!R.documentElement.contains(f.target)||l.current.contains(f.target),!g&&(o||!v)&&r(f)}),h=f=>v=>{d.current=!0;const R=t.props[f];R&&R(v)},y={ref:p};return s!==!1&&(y[s]=h(s)),u.useEffect(()=>{if(s!==!1){const f=Ro(s),v=be(l.current),R=()=>{a.current=!0};return v.addEventListener(f,b),v.addEventListener("touchmove",R),()=>{v.removeEventListener(f,b),v.removeEventListener("touchmove",R)}}},[b,s]),n!==!1&&(y[n]=h(n)),u.useEffect(()=>{if(n!==!1){const f=Ro(n),v=be(l.current);return v.addEventListener(f,b),()=>{v.removeEventListener(f,b)}}},[b,n]),k.jsx(u.Fragment,{children:u.cloneElement(t,y)})}function ea(e){const t=be(e);return t.body===e?De(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function lt(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function ko(e){return parseInt(De(e).getComputedStyle(e).paddingRight,10)||0}function ta(e){const o=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,n=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return o||n}function $o(e,t,o,n,r){const s=[t,o,...n];[].forEach.call(e.children,a=>{const l=s.indexOf(a)===-1,c=!ta(a);l&&c&<(a,r)})}function Nt(e,t){let o=-1;return e.some((n,r)=>t(n)?(o=r,!0):!1),o}function oa(e,t){const o=[],n=e.container;if(!t.disableScrollLock){if(ea(n)){const a=qo(be(n));o.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${ko(n)+a}px`;const l=be(n).querySelectorAll(".mui-fixed");[].forEach.call(l,c=>{o.push({value:c.style.paddingRight,property:"padding-right",el:c}),c.style.paddingRight=`${ko(c)+a}px`})}let s;if(n.parentNode instanceof DocumentFragment)s=be(n).body;else{const a=n.parentElement,l=De(n);s=(a==null?void 0:a.nodeName)==="HTML"&&l.getComputedStyle(a).overflowY==="scroll"?a:n}o.push({value:s.style.overflow,property:"overflow",el:s},{value:s.style.overflowX,property:"overflow-x",el:s},{value:s.style.overflowY,property:"overflow-y",el:s}),s.style.overflow="hidden"}return()=>{o.forEach(({value:s,el:a,property:l})=>{s?a.style.setProperty(l,s):a.style.removeProperty(l)})}}function na(e){const t=[];return[].forEach.call(e.children,o=>{o.getAttribute("aria-hidden")==="true"&&t.push(o)}),t}class ra{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,o){let n=this.modals.indexOf(t);if(n!==-1)return n;n=this.modals.length,this.modals.push(t),t.modalRef&<(t.modalRef,!1);const r=na(o);$o(o,t.mount,t.modalRef,r,!0);const s=Nt(this.containers,a=>a.container===o);return s!==-1?(this.containers[s].modals.push(t),n):(this.containers.push({modals:[t],container:o,restore:null,hiddenSiblings:r}),n)}mount(t,o){const n=Nt(this.containers,s=>s.modals.indexOf(t)!==-1),r=this.containers[n];r.restore||(r.restore=oa(r,o))}remove(t,o=!0){const n=this.modals.indexOf(t);if(n===-1)return n;const r=Nt(this.containers,a=>a.modals.indexOf(t)!==-1),s=this.containers[r];if(s.modals.splice(s.modals.indexOf(t),1),this.modals.splice(n,1),s.modals.length===0)s.restore&&s.restore(),t.modalRef&<(t.modalRef,o),$o(s.container,t.mount,t.modalRef,s.hiddenSiblings,!1),this.containers.splice(r,1);else{const a=s.modals[s.modals.length-1];a.modalRef&<(a.modalRef,!1)}return n}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const sa=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([co
Line truncated
|
||||
+72
@@ -0,0 +1,72 @@
|
||||
var dm=Object.defineProperty;var pm=(e,t,n)=>t in e?dm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Du=(e,t,n)=>pm(e,typeof t!="symbol"?t+"":t,n);import{c as Hf}from"./vendor_mui-DqRwP0O9.js";function Vf(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const o=Object.getOwnPropertyDescriptor(r,i);o&&Object.defineProperty(e,i,o.get?o:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var Rr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Oa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Yt(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var Wf={exports:{}},Do={},Kf={exports:{}},I={};/**
|
||||
* @license React
|
||||
* react.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var ci=Symbol.for("react.element"),hm=Symbol.for("react.portal"),mm=Symbol.for("react.fragment"),gm=Symbol.for("react.strict_mode"),ym=Symbol.for("react.profiler"),vm=Symbol.for("react.provider"),wm=Symbol.for("react.context"),Sm=Symbol.for("react.forward_ref"),xm=Symbol.for("react.suspense"),km=Symbol.for("react.memo"),Em=Symbol.for("react.lazy"),zu=Symbol.iterator;function Cm(e){return e===null||typeof e!="object"?null:(e=zu&&e[zu]||e["@@iterator"],typeof e=="function"?e:null)}var Qf={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Gf=Object.assign,qf={};function or(e,t,n){this.props=e,this.context=t,this.refs=qf,this.updater=n||Qf}or.prototype.isReactComponent={};or.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")};or.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Xf(){}Xf.prototype=or.prototype;function _a(e,t,n){this.props=e,this.context=t,this.refs=qf,this.updater=n||Qf}var Ta=_a.prototype=new Xf;Ta.constructor=_a;Gf(Ta,or.prototype);Ta.isPureReactComponent=!0;var Uu=Array.isArray,Yf=Object.prototype.hasOwnProperty,Ra={current:null},Jf={key:!0,ref:!0,__self:!0,__source:!0};function Zf(e,t,n){var r,i={},o=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(o=""+t.key),t)Yf.call(t,r)&&!Jf.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(l===1)i.children=n;else if(1<l){for(var a=Array(l),u=0;u<l;u++)a[u]=arguments[u+2];i.children=a}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)i[r]===void 0&&(i[r]=l[r]);return{$$typeof:ci,type:e,key:o,ref:s,props:i,_owner:Ra.current}}function Pm(e,t){return{$$typeof:ci,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Na(e){return typeof e=="object"&&e!==null&&e.$$typeof===ci}function Om(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Bu=/\/+/g;function Fs(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Om(""+e.key):t.toString(36)}function Bi(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(o){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case ci:case hm:s=!0}}if(s)return s=e,i=i(s),e=r===""?"."+Fs(s,0):r,Uu(i)?(n="",e!=null&&(n=e.replace(Bu,"$&/")+"/"),Bi(i,t,n,"",function(u){return u})):i!=null&&(Na(i)&&(i=Pm(i,n+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(Bu,"$&/")+"/")+e)),t.push(i)),1;if(s=0,r=r===""?".":r+":",Uu(e))for(var l=0;l<e.length;l++){o=e[l];var a=r+Fs(o,l);s+=Bi(o,t,n,a,i)}else if(a=Cm(e),typeof a=="function")for(e=a.call(e),l=0;!(o=e.next()).done;)o=o.value,a=r+Fs(o,l++),s+=Bi(o,t,n,a,i);else if(o==="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 s}function Si(e,t,n){if(e==null)return e;var r=[],i=0;return Bi(e,r,"","",function(o){return t.call(n,o,i++)}),r}function _m(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 Te={current:null},Hi={transition:null},Tm={ReactCurrentDispatcher:Te,ReactCurrentBatchConfig:Hi,ReactCurrentOwner:Ra};function ed(){throw Error("act(...) is not supported in production builds of React.")}I.Children={map:Si,forEach:function(e,t,n){Si(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Si(e,function(){t++}),t},toArray:function(e){return Si(e,function(t){return t})||[]},only:function(e){if(!Na(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};I.Component=or;I.Fragment=mm;I.Profiler=ym;I.PureComponent=_a;I.StrictMode=gm;I.Suspense=xm;I.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Tm;I.act=ed;I.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Gf({},e.props),i=e.key,o=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,s=Ra.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(a in t)Yf.call(t,a)&&!Jf.hasOwnProperty(a)&&(r[a]=t[a]===void 0&&l!==void 0?l[a]:t[a])}var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){l=Array(a);for(var u=0;u<a;u++)l[u]=arguments[u+2];r.children=l}return{$$typeof:ci,type:e.type,key:i,ref:o,props:r,_owner:s}};I.createContext=function(e){return e={$$typeof:wm,_currentValue:e,_currentValue2:e,_threadCount:0,ProviderLine truncated
|
||||
* @license React
|
||||
* react-jsx-runtime.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var Rm=b,Nm=Symbol.for("react.element"),Lm=Symbol.for("react.fragment"),$m=Object.prototype.hasOwnProperty,bm=Rm.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,jm={key:!0,ref:!0,__self:!0,__source:!0};function td(e,t,n){var r,i={},o=null,s=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)$m.call(t,r)&&!jm.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:Nm,type:e,key:o,ref:s,props:i,_owner:bm.current}}Do.Fragment=Lm;Do.jsx=td;Do.jsxs=td;Wf.exports=Do;var sr=Wf.exports,Am="Invariant failed";function ZS(e,t){if(!e)throw new Error(Am)}function ex(e,t){}var nd={exports:{}},rd={},id={exports:{}},od={};/**
|
||||
* @license React
|
||||
* use-sync-external-store-shim.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var qn=b;function Mm(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Im=typeof Object.is=="function"?Object.is:Mm,Fm=qn.useState,Dm=qn.useEffect,zm=qn.useLayoutEffect,Um=qn.useDebugValue;function Bm(e,t){var n=t(),r=Fm({inst:{value:n,getSnapshot:t}}),i=r[0].inst,o=r[1];return zm(function(){i.value=n,i.getSnapshot=t,Ds(i)&&o({inst:i})},[e,n,t]),Dm(function(){return Ds(i)&&o({inst:i}),e(function(){Ds(i)&&o({inst:i})})},[e]),Um(n),n}function Ds(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Im(e,n)}catch{return!0}}function Hm(e,t){return t()}var Vm=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Hm:Bm;od.useSyncExternalStore=qn.useSyncExternalStore!==void 0?qn.useSyncExternalStore:Vm;id.exports=od;var Wm=id.exports;/**
|
||||
* @license React
|
||||
* use-sync-external-store-shim/with-selector.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var zo=b,Km=Wm;function Qm(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Gm=typeof Object.is=="function"?Object.is:Qm,qm=Km.useSyncExternalStore,Xm=zo.useRef,Ym=zo.useEffect,Jm=zo.useMemo,Zm=zo.useDebugValue;rd.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var o=Xm(null);if(o.current===null){var s={hasValue:!1,value:null};o.current=s}else s=o.current;o=Jm(function(){function a(y){if(!u){if(u=!0,f=y,y=r(y),i!==void 0&&s.hasValue){var g=s.value;if(i(g,y))return d=g}return d=y}if(g=d,Gm(f,y))return g;var v=r(y);return i!==void 0&&i(g,v)?g:(f=y,d=v)}var u=!1,f,d,c=n===void 0?null:n;return[function(){return a(t())},c===null?void 0:function(){return a(c())}]},[t,n,r,i]);var l=qm(e,o[0],o[1]);return Ym(function(){s.hasValue=!0,s.value=l},[l]),Zm(l),l};nd.exports=rd;var tx=nd.exports,sd={exports:{}},He={},ld={exports:{}},ad={};/**
|
||||
* @license React
|
||||
* scheduler.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/(function(e){function t(E,N){var R=E.length;E.push(N);e:for(;0<R;){var B=R-1>>>1,se=E[B];if(0<i(se,N))E[B]=N,E[R]=se,R=B;else break e}}function n(E){return E.length===0?null:E[0]}function r(E){if(E.length===0)return null;var N=E[0],R=E.pop();if(R!==N){E[0]=R;e:for(var B=0,se=E.length,me=se>>>1;B<me;){var Ke=2*(B+1)-1,Is=E[Ke],nn=Ke+1,wi=E[nn];if(0>i(Is,R))nn<se&&0>i(wi,Is)?(E[B]=wi,E[nn]=R,B=nn):(E[B]=Is,E[Ke]=R,B=Ke);else if(nn<se&&0>i(wi,R))E[B]=wi,E[nn]=R,B=nn;else break e}}return N}function i(E,N){var R=E.sortIndex-N.sortIndex;return R!==0?R:E.id-N.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,l=s.now();e.unstable_now=function(){return s.now()-l}}var a=[],u=[],f=1,d=null,c=3,y=!1,g=!1,v=!1,_=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(E){for(var N=n(u);N!==null;){if(N.callback===null)r(u);else if(N.startTime<=E)r(u),N.sortIndex=N.expirationTime,t(a,N);else break;N=n(u)}}function S(E){if(v=!1,m(E),!g)if(n(a)!==null)g=!0,P(x);else{var N=n(u);N!==null&&A(S,N.startTime-E)}}function x(E,N){g=!1,v&&(v=!1,h(T),T=-1),y=!0;var R=c;try{for(m(N),d=n(a);d!==null&&(!(d.expirationTime>N)||E&&!M());){var B=d.callback;if(typeof B=="function"){d.callback=null,c=d.priorityLevel;var se=B(d.expirationTime<=N);N=e.unstable_now(),typeof se=="function"?d.callback=se:d===n(a)&&r(a),m(N)}else r(a);d=n(a)}if(d!==null)var me=!0;else{var Ke=n(u);Ke!==null&&A(S,Ke.startTime-N),me=!1}return me}finally{d=null,c=R,y=!1}}var C=!1,k=null,T=-1,j=5,$=-1;function M(){return!(e.unstable_now()-$<j)}function U(){if(k!==null){var E=e.unstable_now();$=E;var N=!0;try{N=k(!0,E)}finally{N?Pe():(C=!1,k=null)}}else C=!1}var Pe;if(typeof p=="function")Pe=function(){p(U)};else if(typeof MessageChannel<"u"){var he=new MessageChannel,w=he.port2;he.port1.onmessage=U,Pe=function(){w.postMessage(null)}}else Pe=function(){_(U,0)};function P(E){k=E,C||(C=!0,Pe())}function A(E,N){T=_(function(){E(e.unstable_now())},N)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(E){E.callback=null},e.unstable_continueExecution=function(){g||y||(g=!0,P(x))},e.unstable_forceFrameRate=function(E){0>E||125<E?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):j=0<E?Math.floor(1e3/E):5},e.unstable_getCurrentPriorityLevel=function(){return c},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function(E){switch(c){case 1:case 2:case 3:var N=3;break;default:N=c}var R=c;c=N;try{return E()}finally{c=R}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(E,N){switch(E){case 1:case 2:case 3:case 4:case 5:break;default:E=3}var R=c;c=E;try{return N()}finally{c=R}},e.unstable_scheduleCallback=function(E,N,R){var B=e.unstable_now();switch(typeof R=="object"&&R!==null?(R=R.delay,R=typeof R=="number"&&0<R?B+R:B):R=B,E){case 1:var se=-1;break;case 2:se=250;break;case 5:se=1073741823;break;case 4:se=1e4;break;default:se=5e3}return se=R+se,E={id:f++,callback:N,priorityLevel:E,startTime:R,expirationTime:se,sortIndex:-1},R>B?(E.sortIndex=R,t(u,E),n(a)===null&&E===n(u)&&(v?(h(T),T=-1):v=!0,A(S,R-B))):(E.sortIndex=se,t(a,E),g||y||(g=!0,P(x))),E},e.unstable_shouldYield=M,e.unstable_wrapCallback=function(E){var N=c;return function(){var R=c;c=N;try{return E.apply(this,arguments)}finally{c=R}}}})(ad);ld.exports=ad;var eg=ld.exports;/**
|
||||
* @license React
|
||||
* react-dom.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var tg=b,Be=eg;function O(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 ud=new Set,Ur={};function xn(e,t){Xn(e,t),Xn(e+"Capture",t)}function Xn(e,t){for(Ur[e]=t,e=0;e<t.length;e++)ud.add(t[e])}var _t=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),vl=Object.prototype.hasOwnProperty,ng=/^[: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]*$/,Hu={},Vu={};function rg(e){return vl.call(Vu,e)?!0:vl.call(Hu,e)?!1:ng.test(e)?Vu[e]=!0:(Hu[e]=!0,!1)}function ig(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function og(e,t,n,r){if(t===null||typeof t>"u"||ig(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Re(e,t,n,r,i,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var we={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){we[e]=new Re(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];we[t]=new Re(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){we[e]=new Re(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){we[e]=new Re(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){we[e]=new Re(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){we[e]=new Re(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){we[e]=new Re(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){we[e]=new Re(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){we[e]=new Re(e,5,!1,e.toLowerCase(),null,!1,!1)});var La=/[\-:]([a-z])/g;function $a(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(La,$a);we[t]=new Re(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(La,$a);we[t]=new Re(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(La,$a);we[t]=new Re(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){we[e]=new Re(e,1,!1,e.toLowerCase(),null,!1,!1)});we.xlinkHref=new Re("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){we[e]=new Re(e,1,!1,e.toLowerCase(),null,!0,!0)});function ba(e,t,n,r){var i=we.hasOwnProperty(t)?we[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="
Line truncated
|
||||
`+zs+e}var Us=!1;function Bs(e,t){if(!e||Us)return"";Us=!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(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(`
|
||||
`),o=r.stack.split(`
|
||||
`),s=i.length-1,l=o.length-1;1<=s&&0<=l&&i[s]!==o[l];)l--;for(;1<=s&&0<=l;s--,l--)if(i[s]!==o[l]){if(s!==1||l!==1)do if(s--,l--,0>l||i[s]!==o[l]){var a=`
|
||||
`+i[s].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}while(1<=s&&0<=l);break}}}finally{Us=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Cr(e):""}function sg(e){switch(e.tag){case 5:return Cr(e.type);case 16:return Cr("Lazy");case 13:return Cr("Suspense");case 19:return Cr("SuspenseList");case 0:case 2:case 15:return e=Bs(e.type,!1),e;case 11:return e=Bs(e.type.render,!1),e;case 1:return e=Bs(e.type,!0),e;default:return""}}function kl(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 Nn:return"Fragment";case Rn:return"Portal";case wl:return"Profiler";case ja:return"StrictMode";case Sl:return"Suspense";case xl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case fd:return(e.displayName||"Context")+".Consumer";case cd:return(e._context.displayName||"Context")+".Provider";case Aa:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ma:return t=e.displayName||null,t!==null?t:kl(e.type)||"Memo";case jt:t=e._payload,e=e._init;try{return kl(e(t))}catch{}}return null}function lg(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 kl(t);case 8:return t===ja?"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 qt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function pd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ag(e){var t=pd(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ki(e){e._valueTracker||(e._valueTracker=ag(e))}function hd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=pd(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function oo(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function El(e,t){var n=t.checked;return Z({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Ku(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=qt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function md(e,t){t=t.checked,t!=null&&ba(e,"checked",t,!1)}function Cl(e,t){md(e,t);var n=qt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Pl(e,t.type,n):t.hasOwnProperty("defaultValue")&&Pl(e,t.type,qt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Qu(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Pl(e,t,n){(t!=="number"||oo(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Pr=Array.isArray;function Un(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+qt(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Ol(e,t){if(t.dang
Line truncated
|
||||
`).replace(vy,"")}function Ni(e,t,n){if(t=gc(t),gc(e)!==t&&n)throw Error(O(425))}function ho(){}var Dl=null,zl=null;function Ul(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 Bl=typeof setTimeout=="function"?setTimeout:void 0,wy=typeof clearTimeout=="function"?clearTimeout:void 0,yc=typeof Promise=="function"?Promise:void 0,Sy=typeof queueMicrotask=="function"?queueMicrotask:typeof yc<"u"?function(e){return yc.resolve(null).then(e).catch(xy)}:Bl;function xy(e){setTimeout(function(){throw e})}function tl(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),Kr(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Kr(t)}function Vt(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 vc(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 ar=Math.random().toString(36).slice(2),mt="__reactFiber$"+ar,Yr="__reactProps$"+ar,Tt="__reactContainer$"+ar,Hl="__reactEvents$"+ar,ky="__reactListeners$"+ar,Ey="__reactHandles$"+ar;function an(e){var t=e[mt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Tt]||n[mt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=vc(e);e!==null;){if(n=e[mt])return n;e=vc(e)}return t}e=n,n=e.parentNode}return null}function pi(e){return e=e[mt]||e[Tt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function jn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(O(33))}function Wo(e){return e[Yr]||null}var Vl=[],An=-1;function Zt(e){return{current:e}}function q(e){0>An||(e.current=Vl[An],Vl[An]=null,An--)}function K(e,t){An++,Vl[An]=e.current,e.current=t}var Xt={},Ce=Zt(Xt),be=Zt(!1),mn=Xt;function Yn(e,t){var n=e.type.contextTypes;if(!n)return Xt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function je(e){return e=e.childContextTypes,e!=null}function mo(){q(be),q(Ce)}function wc(e,t,n){if(Ce.current!==Xt)throw Error(O(168));K(Ce,t),K(be,n)}function rp(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(O(108,lg(e)||"Unknown",i));return Z({},n,r)}function go(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Xt,mn=Ce.current,K(Ce,e),K(be,be.current),!0}function Sc(e,t,n){var r=e.stateNode;if(!r)throw Error(O(169));n?(e=rp(e,t,mn),r.__reactInternalMemoizedMergedChildContext=e,q(be),q(Ce),K(Ce,e)):q(be),K(be,n)}var kt=null,Ko=!1,nl=!1;function ip(e){kt===null?kt=[e]:kt.push(e)}function Cy(e){Ko=!0,ip(e)}function en(){if(!nl&&kt!==null){nl=!0;var e=0,t=H;try{var n=kt;for(H=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}kt=null,Ko=!1}catch(i){throw kt!==null&&(kt=kt.slice(e+1)),Rd(Fa,en),i}finally{H=t,nl=!1}}return null}var Mn=[],In=0,yo=null,vo=0,Ge=[],qe=0,gn=null,Et=1,Ct="";function rn(e,t){Mn[In++]=vo,Mn[In++]=yo,yo=e,vo=t}function op(e,t,n){Ge[qe++]=Et,Ge[qe++]=Ct,Ge[qe++]=gn,gn=e;var r=Et;e=Ct;var i=32-at(r)-1;r&=~(1<<i),n+=1;var o=32-at(t)+i;if(30<o){var s=i-i%5;o=(r&(1<<s)-1).toString(32),r>>=s,i-=s,Et=1<<32-at(t)+i|n<<i|r,Ct=o+e}else Et=1<<o|n<<i|r,Ct=e}function Qa(e){e.return!==null&&(rn(e,1),op(e,1,0))}function Ga(e){for(;e===yo;)yo=Mn[--In],Mn[In]=null,vo=Mn[--In],Mn[In]=null;for(;e===gn;)gn=Ge[--qe],Ge[qe]=null,Ct=Ge[--qe],Ge[qe]=null,Et=Ge[--qe],Ge[qe]=null}var ze=null,De=null,X=!1,lt=null;function sp(e,t){var n=Ye(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 xc(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,ze=e,De=Vt(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,ze=e,De=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=gn!==null?{id:Et,overflow:Ct}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Ye(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,ze=e,De=null,!0):!1;default:return!1}}function Wl(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Kl(e){if(X){var t=De;if(t){var n=t;if(!xc(e,t)){if(Wl(e))throw Error(O(418));t=Vt(n.nextSibling);var r=ze;t&&xc(e,t)?sp(r,n):(e.flags=e.flags&-4097|2,X=!1,ze=e)}}else{if(Wl(e))throw Error(O(418));e.flags=e.flags&-4097|2,X=!1,ze=e}}}function kc(e){for(e=e.return;e!==null&&e.t
Line truncated
|
||||
Error generating stack: `+o.message+`
|
||||
`+o.stack}return{value:e,source:t,stack:i,digest:null}}function ll(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Xl(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var by=typeof WeakMap=="function"?WeakMap:Map;function bp(e,t,n){n=Pt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Oo||(Oo=!0,sa=r),Xl(e,t)},n}function jp(e,t,n){n=Pt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Xl(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){Xl(e,t),typeof r!="function"&&(Kt===null?Kt=new Set([this]):Kt.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function Nc(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new by;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Qy.bind(null,e,t,n),t.then(e,e))}function Lc(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 $c(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,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=Pt(-1,1),t.tag=2,Wt(n,t,1))),n.lanes|=1),e)}var jy=$t.ReactCurrentOwner,$e=!1;function Oe(e,t,n,r){t.child=e===null?up(t,null,n,r):Zn(t,e.child,n,r)}function bc(e,t,n,r,i){n=n.render;var o=t.ref;return Wn(t,i),r=ou(e,t,n,r,o,i),n=su(),e!==null&&!$e?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Nt(e,t,i)):(X&&n&&Qa(t),t.flags|=1,Oe(e,t,r,i),t.child)}function jc(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!gu(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,Ap(e,t,o,r,i)):(e=Zi(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var s=o.memoizedProps;if(n=n.compare,n=n!==null?n:Gr,n(s,r)&&e.ref===t.ref)return Nt(e,t,i)}return t.flags|=1,e=Gt(o,r),e.ref=t.ref,e.return=t,t.child=e}function Ap(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(Gr(o,r)&&e.ref===t.ref)if($e=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&($e=!0);else return t.lanes=e.lanes,Nt(e,t,i)}return Yl(e,t,n,r,i)}function Mp(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},K(zn,Ie),Ie|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,K(zn,Ie),Ie|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,K(zn,Ie),Ie|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,K(zn,Ie),Ie|=r;return Oe(e,t,i,n),t.child}function Ip(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Yl(e,t,n,r,i){var o=je(n)?mn:Ce.current;return o=Yn(t,o),Wn(t,i),n=ou(e,t,n,r,o,i),r=su(),e!==null&&!$e?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Nt(e,t,i)):(X&&r&&Qa(t),t.flags|=1,Oe(e,t,n,i),t.child)}function Ac(e,t,n,r,i){if(je(n)){var o=!0;go(t)}else o=!1;if(Wn(t,i),t.stateNode===null)Xi(e,t),$p(t,n,r),ql(t,n,r,i),r=!0;else if(e===null){var s=t.stateNode,l=t.memoizedProps;s.props=l;var a=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=Ze(u):(u=je(n)?mn:Ce.current,u=Yn(t,u));var f=n.getDerivedStateFromProps,d=typeof f=="function"||typeof s.getSnapshotBeforeUpdate=="function";d||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==r||a!==u)&&Rc(t,s,r,u),At=!1;var c=t.memoizedState;s.state=c,xo(t,r,s,i),a=t.memoizedState,l!==r||c!==a||be.current||At?(typeof f=="function"&&(Gl(t,n,f,r),a=t.memoizedState),(l=At||Tc(t,n,l,r,c,a,u))?(d||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=a),s.props=r,s.state=a,s.context=u,r=l):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,fp(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:ot(t.type,l),s.props=u,d=t.pendingProps,c=s.context,a=n.contextType,typeof a=="object"&&a!==null?a=Ze(a):(a=je(n)?mn:Ce.current,a=Yn(t,a));var y=n.getDerivedStateFromProps;(f=typeof y=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==d||c!==a)&&Rc(t,s,r,a),At=!1,c=t.memoizedState,s.state=c,xo(t,r,s,i);var g=t.memoizedState;l
Line truncated
|
||||
* @license React
|
||||
* react-is.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var xu=Symbol.for("react.element"),ku=Symbol.for("react.portal"),ns=Symbol.for("react.fragment"),rs=Symbol.for("react.strict_mode"),is=Symbol.for("react.profiler"),os=Symbol.for("react.provider"),ss=Symbol.for("react.context"),sv=Symbol.for("react.server_context"),ls=Symbol.for("react.forward_ref"),as=Symbol.for("react.suspense"),us=Symbol.for("react.suspense_list"),cs=Symbol.for("react.memo"),fs=Symbol.for("react.lazy"),lv=Symbol.for("react.offscreen"),dh;dh=Symbol.for("react.module.reference");function nt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case xu:switch(e=e.type,e){case ns:case is:case rs:case as:case us:return e;default:switch(e=e&&e.$$typeof,e){case sv:case ss:case ls:case fs:case cs:case os:return e;default:return t}}case ku:return t}}}V.ContextConsumer=ss;V.ContextProvider=os;V.Element=xu;V.ForwardRef=ls;V.Fragment=ns;V.Lazy=fs;V.Memo=cs;V.Portal=ku;V.Profiler=is;V.StrictMode=rs;V.Suspense=as;V.SuspenseList=us;V.isAsyncMode=function(){return!1};V.isConcurrentMode=function(){return!1};V.isContextConsumer=function(e){return nt(e)===ss};V.isContextProvider=function(e){return nt(e)===os};V.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===xu};V.isForwardRef=function(e){return nt(e)===ls};V.isFragment=function(e){return nt(e)===ns};V.isLazy=function(e){return nt(e)===fs};V.isMemo=function(e){return nt(e)===cs};V.isPortal=function(e){return nt(e)===ku};V.isProfiler=function(e){return nt(e)===is};V.isStrictMode=function(e){return nt(e)===rs};V.isSuspense=function(e){return nt(e)===as};V.isSuspenseList=function(e){return nt(e)===us};V.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ns||e===is||e===rs||e===as||e===us||e===lv||typeof e=="object"&&e!==null&&(e.$$typeof===fs||e.$$typeof===cs||e.$$typeof===os||e.$$typeof===ss||e.$$typeof===ls||e.$$typeof===dh||e.getModuleId!==void 0)};V.typeOf=nt;fh.exports=V;var Xc=fh.exports;const av=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function ph(e){const t=`${e}`.match(av);return t&&t[1]||""}function hh(e,t=""){return e.displayName||e.name||ph(e)||t}function Yc(e,t,n){const r=hh(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function uv(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return hh(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Xc.ForwardRef:return Yc(e,e.render,"ForwardRef");case Xc.Memo:return Yc(e,e.type,"memo");default:return}}}const cv=Object.freeze(Object.defineProperty({__proto__:null,default:uv,getFunctionName:ph},Symbol.toStringTag,{value:"Module"}));function Eu(e){if(typeof e!="string")throw new Error(ch(7));return e.charAt(0).toUpperCase()+e.slice(1)}const fv=Object.freeze(Object.defineProperty({__proto__:null,default:Eu},Symbol.toStringTag,{value:"Module"}));function nx(...e){return e.reduce((t,n)=>n==null?t:function(...i){t.apply(this,i),n.apply(this,i)},()=>{})}function rx(e,t=166){let n;function r(...i){const o=()=>{e.apply(this,i)};clearTimeout(n),n=setTimeout(o,t)}return r.clear=()=>{clearTimeout(n)},r}function ix(e,t){var n,r;return b.isValidElement(e)&&t.indexOf((n=e.type.muiName)!=null?n:(r=e.type)==null||(r=r._payload)==null||(r=r.value)==null?void 0:r.muiName)!==-1}function dv(e){return e&&e.ownerDocument||document}function ox(e){return dv(e).defaultView||window}function pv(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const hv=typeof window<"u"?b.useLayoutEffect:b.useEffect;let Jc=0;function mv(e){const[t,n]=b.useState(e),r=e||t;return b.useEffect(()=>{t==null&&(Jc+=1,n(`mui-${Jc}`))},[t]),r}const Zc=yl.useId;function sx(e){if(Zc!==void 0){const t=Zc();return e??t}return mv(e)}function lx({controlled:e,default:t,name:n,state:r="value"}){const{current:i}=b.useRef(e!==void 0),[o,s]=b.useState(t),l=i?e:o,a=b.useCallback(u=>{i||s(u)},[]);return[l,a]}function ax(e){const t=b.useRef(e);return hv(()=>{t.current=e}),b.useRef((...n)=>(0,t.current)(...n)).current}function gv(...e){return b.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{pv(n,t)})},e)}const ef={};function yv(e,t){const n=b.useRef(ef);return n.current===ef&&(n.current=e(t)),n}const vv=[];function wv(e){b.useEffect(e,vv)}class ds{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new ds}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function ux(){const e=yv(ds.create).current;return wv(e.disposeEffect),e}let ps=!0,fa=!1;const Sv=new ds,xv={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 kv(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&xv[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function Ev(e){e.metaKey||e.altKey||e.ctrlKey||(ps=!0)}function fl(){ps=!1}function Cv(){this.visibilityState==="hidden"&&fa&&(ps=!0)}function Pv(e){e.addEventListener("keydown",ELine truncated
|
||||
* react-is.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var pe=typeof Symbol=="function"&&Symbol.for,_u=pe?Symbol.for("react.element"):60103,Tu=pe?Symbol.for("react.portal"):60106,ys=pe?Symbol.for("react.fragment"):60107,vs=pe?Symbol.for("react.strict_mode"):60108,ws=pe?Symbol.for("react.profiler"):60114,Ss=pe?Symbol.for("react.provider"):60109,xs=pe?Symbol.for("react.context"):60110,Ru=pe?Symbol.for("react.async_mode"):60111,ks=pe?Symbol.for("react.concurrent_mode"):60111,Es=pe?Symbol.for("react.forward_ref"):60112,Cs=pe?Symbol.for("react.suspense"):60113,S1=pe?Symbol.for("react.suspense_list"):60120,Ps=pe?Symbol.for("react.memo"):60115,Os=pe?Symbol.for("react.lazy"):60116,x1=pe?Symbol.for("react.block"):60121,k1=pe?Symbol.for("react.fundamental"):60117,E1=pe?Symbol.for("react.responder"):60118,C1=pe?Symbol.for("react.scope"):60119;function We(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case _u:switch(e=e.type,e){case Ru:case ks:case ys:case ws:case vs:case Cs:return e;default:switch(e=e&&e.$$typeof,e){case xs:case Es:case Os:case Ps:case Ss:return e;default:return t}}case Tu:return t}}}function _h(e){return We(e)===ks}W.AsyncMode=Ru;W.ConcurrentMode=ks;W.ContextConsumer=xs;W.ContextProvider=Ss;W.Element=_u;W.ForwardRef=Es;W.Fragment=ys;W.Lazy=Os;W.Memo=Ps;W.Portal=Tu;W.Profiler=ws;W.StrictMode=vs;W.Suspense=Cs;W.isAsyncMode=function(e){return _h(e)||We(e)===Ru};W.isConcurrentMode=_h;W.isContextConsumer=function(e){return We(e)===xs};W.isContextProvider=function(e){return We(e)===Ss};W.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===_u};W.isForwardRef=function(e){return We(e)===Es};W.isFragment=function(e){return We(e)===ys};W.isLazy=function(e){return We(e)===Os};W.isMemo=function(e){return We(e)===Ps};W.isPortal=function(e){return We(e)===Tu};W.isProfiler=function(e){return We(e)===ws};W.isStrictMode=function(e){return We(e)===vs};W.isSuspense=function(e){return We(e)===Cs};W.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ys||e===ks||e===ws||e===vs||e===Cs||e===S1||typeof e=="object"&&e!==null&&(e.$$typeof===Os||e.$$typeof===Ps||e.$$typeof===Ss||e.$$typeof===xs||e.$$typeof===Es||e.$$typeof===k1||e.$$typeof===E1||e.$$typeof===C1||e.$$typeof===x1)};W.typeOf=We;Oh.exports=W;var P1=Oh.exports,Th=P1,O1={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},_1={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Rh={};Rh[Th.ForwardRef]=O1;Rh[Th.Memo]=_1;var T1=!0;function R1(e,t,n){var r="";return n.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):r+=i+" "}),r}var Nh=function(t,n,r){var i=t.key+"-"+n.name;(r===!1||T1===!1)&&t.registered[i]===void 0&&(t.registered[i]=n.styles)},Lh=function(t,n,r){Nh(t,n,r);var i=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var o=n;do t.insert(n===o?"."+i:"",o,t.sheet,!0),o=o.next;while(o!==void 0)}};function N1(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&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(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&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 L1={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,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},$1=!1,b1=/[A-Z]|^ms/g,j1=/_EMO_([^_]+?)_([^]*?)_EMO_/g,$h=function(t){return t.charCodeAt(1)===45},uf=function(t){return t!=null&&typeof t!="boolean"},hl=yh(function(e){return $h(e)?e:e.replace(b1,"-$&").toLowerCase()}),cf=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(j1,function(r,i,o){return ht={name:i,styles:o,next:ht},i})}return L1[t]!==1&&!$h(t)&&typeof n=="number"&&n!==0?n+"px":n},A1="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function li(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var i=n;if(i.anim===1)return ht={name:i.name,styles:i.styles,next:ht},i.name;var o=n;if(o.styles!==void 0){var s=o.next;if(s!==void 0)for(;s!==void 0;)ht={name:s.name,styles:s.styles,nextLine truncated
|
||||
`)===0?E.substr(1,E.length):E}).forEach(function(E){var N=E.split(":"),R=N.shift().trim();if(R){var B=N.join(":").trim();P.append(R,B)}}),P}C.call(j.prototype);function U(w,P){if(!(this instanceof U))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');P||(P={}),this.type="default",this.status=P.status===void 0?200:P.status,this.ok=this.status>=200&&this.status<300,this.statusText=P.statusText===void 0?"":""+P.statusText,this.headers=new v(P.headers),this.url=P.url||"",this._initBody(w)}C.call(U.prototype),U.prototype.clone=function(){return new U(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new v(this.headers),url:this.url})},U.error=function(){var w=new U(null,{status:0,statusText:""});return w.type="error",w};var Pe=[301,302,303,307,308];U.redirect=function(w,P){if(Pe.indexOf(P)===-1)throw new RangeError("Invalid status code");return new U(null,{status:P,headers:{location:w}})},s.DOMException=l.DOMException;try{new s.DOMException}catch{s.DOMException=function(P,A){this.message=P,this.name=A;var E=Error(P);this.stack=E.stack},s.DOMException.prototype=Object.create(Error.prototype),s.DOMException.prototype.constructor=s.DOMException}function he(w,P){return new Promise(function(A,E){var N=new j(w,P);if(N.signal&&N.signal.aborted)return E(new s.DOMException("Aborted","AbortError"));var R=new XMLHttpRequest;function B(){R.abort()}R.onload=function(){var me={status:R.status,statusText:R.statusText,headers:M(R.getAllResponseHeaders()||"")};me.url="responseURL"in R?R.responseURL:me.headers.get("X-Request-URL");var Ke="response"in R?R.response:R.responseText;setTimeout(function(){A(new U(Ke,me))},0)},R.onerror=function(){setTimeout(function(){E(new TypeError("Network request failed"))},0)},R.ontimeout=function(){setTimeout(function(){E(new TypeError("Network request failed"))},0)},R.onabort=function(){setTimeout(function(){E(new s.DOMException("Aborted","AbortError"))},0)};function se(me){try{return me===""&&l.location.href?l.location.href:me}catch{return me}}R.open(N.method,se(N.url),!0),N.credentials==="include"?R.withCredentials=!0:N.credentials==="omit"&&(R.withCredentials=!1),"responseType"in R&&(a.blob?R.responseType="blob":a.arrayBuffer&&N.headers.get("Content-Type")&&N.headers.get("Content-Type").indexOf("application/octet-stream")!==-1&&(R.responseType="arraybuffer")),P&&typeof P.headers=="object"&&!(P.headers instanceof v)?Object.getOwnPropertyNames(P.headers).forEach(function(me){R.setRequestHeader(me,y(P.headers[me]))}):N.headers.forEach(function(me,Ke){R.setRequestHeader(Ke,me)}),N.signal&&(N.signal.addEventListener("abort",B),R.onreadystatechange=function(){R.readyState===4&&N.signal.removeEventListener("abort",B)}),R.send(typeof N._bodyInit>"u"?null:N._bodyInit)})}return he.polyfill=!0,l.fetch||(l.fetch=he,l.Headers=v,l.Request=j,l.Response=U),s.Headers=v,s.Request=j,s.Response=U,s.fetch=he,s})({})})(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var i=n.fetch?n:r;t=i.fetch,t.default=i.fetch,t.fetch=i.fetch,t.Headers=i.Headers,t.Request=i.Request,t.Response=i.Response,e.exports=t}(Ui,Ui.exports)),Ui.exports}(function(e,t){var n;if(typeof fetch=="function"&&(typeof Rr<"u"&&Rr.fetch?n=Rr.fetch:typeof window<"u"&&window.fetch?n=window.fetch:n=fetch),typeof IS<"u"&&typeof window>"u"){var r=n||FS();r.default&&(r=r.default),t.default=r,e.exports=t.default}})(Ca,Ca.exports);var am=Ca.exports;const um=Oa(am),If=Vf({__proto__:null,default:um},[am]);function Ff(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Df(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ff(Object(n),!0).forEach(function(r){DS(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ff(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function DS(e,t,n){return t=zS(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zS(e){var t=US(e,"string");return Sn(t)=="symbol"?t:t+""}function US(e,t){if(Sn(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Sn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Sn(e){"@babel/helpers - typeof";return Sn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Sn(e)}var Ot;typeof fetch=="function"&&(typeof global<"u"&&global.fetch?Ot=global.fetch:typeof window<"u"&&window.fetch?Ot=window.fetch:Ot=fetch);var ui;lm()&&(typeof global<"u"&&global.XMLHttpRequest?ui=global.XMLHttpRequest
Line truncated
|
||||
File renamed without changes.
@@ -0,0 +1 @@
|
||||
var ps=e=>{throw TypeError(e)};var ke=(e,t,s)=>t.has(e)||ps("Cannot "+s);var h=(e,t,s)=>(ke(e,t,"read from private field"),s?s.call(e):t.get(e)),_=(e,t,s)=>t.has(e)?ps("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,s),P=(e,t,s,i)=>(ke(e,t,"write to private field"),i?i.call(e,s):t.set(e,s),s),L=(e,t,s)=>(ke(e,t,"access private method"),s);var Se=(e,t,s,i)=>({set _(r){P(e,t,r,s)},get _(){return h(e,t,i)}});import{r as R,m as F,a2 as Ae,a3 as yi,a4 as et,K as gi}from"./vendor_react-BnzSvkeI.js";var ge=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},ae=typeof window>"u"||"Deno"in globalThis;function ut(){}function bi(e,t){return typeof e=="function"?e(t):e}function qe(e){return typeof e=="number"&&e>=0&&e!==1/0}function Ks(e,t){return Math.max(e+(t||0)-Date.now(),0)}function qt(e,t){return typeof e=="function"?e(t):e}function ht(e,t){return typeof e=="function"?e(t):e}function ms(e,t){const{type:s="all",exact:i,fetchStatus:r,predicate:n,queryKey:a,stale:o}=e;if(a){if(i){if(t.queryHash!==os(a,t.options))return!1}else if(!fe(t.queryKey,a))return!1}if(s!=="all"){const c=t.isActive();if(s==="active"&&!c||s==="inactive"&&c)return!1}return!(typeof o=="boolean"&&t.isStale()!==o||r&&r!==t.state.fetchStatus||n&&!n(t))}function vs(e,t){const{exact:s,status:i,predicate:r,mutationKey:n}=e;if(n){if(!t.options.mutationKey)return!1;if(s){if(de(t.options.mutationKey)!==de(n))return!1}else if(!fe(t.options.mutationKey,n))return!1}return!(i&&t.state.status!==i||r&&!r(t))}function os(e,t){return((t==null?void 0:t.queryKeyHashFn)||de)(e)}function de(e){return JSON.stringify(e,(t,s)=>He(s)?Object.keys(s).sort().reduce((i,r)=>(i[r]=s[r],i),{}):s)}function fe(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(s=>!fe(e[s],t[s])):!1}function Ns(e,t){if(e===t)return e;const s=ys(e)&&ys(t);if(s||He(e)&&He(t)){const i=s?e:Object.keys(e),r=i.length,n=s?t:Object.keys(t),a=n.length,o=s?[]:{};let c=0;for(let l=0;l<a;l++){const u=s?l:n[l];(!s&&i.includes(u)||s)&&e[u]===void 0&&t[u]===void 0?(o[u]=void 0,c++):(o[u]=Ns(e[u],t[u]),o[u]===e[u]&&e[u]!==void 0&&c++)}return r===a&&c===r?e:o}return t}function ze(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const s in e)if(e[s]!==t[s])return!1;return!0}function ys(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function He(e){if(!gs(e))return!1;const t=e.constructor;if(t===void 0)return!0;const s=t.prototype;return!(!gs(s)||!s.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function gs(e){return Object.prototype.toString.call(e)==="[object Object]"}function Si(e){return new Promise(t=>{setTimeout(t,e)})}function We(e,t,s){return typeof s.structuralSharing=="function"?s.structuralSharing(e,t):s.structuralSharing!==!1?Ns(e,t):t}function Mi(e,t,s=0){const i=[...e,t];return s&&i.length>s?i.slice(1):i}function Pi(e,t,s=0){const i=[t,...e];return s&&i.length>s?i.slice(0,-1):i}var qs=Symbol();function zs(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===qs?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Vt,Ft,Ht,Is,wi=(Is=class extends ge{constructor(){super();_(this,Vt);_(this,Ft);_(this,Ht);P(this,Ht,t=>{if(!ae&&window.addEventListener){const s=()=>t();return window.addEventListener("visibilitychange",s,!1),()=>{window.removeEventListener("visibilitychange",s)}}})}onSubscribe(){h(this,Ft)||this.setEventListener(h(this,Ht))}onUnsubscribe(){var t;this.hasListeners()||((t=h(this,Ft))==null||t.call(this),P(this,Ft,void 0))}setEventListener(t){var s;P(this,Ht,t),(s=h(this,Ft))==null||s.call(this),P(this,Ft,t(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()}))}setFocused(t){h(this,Vt)!==t&&(P(this,Vt,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(s=>{s(t)})}isFocused(){var t;return typeof h(this,Vt)=="boolean"?h(this,Vt):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Vt=new WeakMap,Ft=new WeakMap,Ht=new WeakMap,Is),ls=new wi,Wt,_t,Gt,Vs,Fi=(Vs=class extends ge{constructor(){super();_(this,Wt,!0);_(this,_t);_(this,Gt);P(this,Gt,t=>{if(!ae&&window.addEventListener){const s=()=>t(!0),i=()=>t(!1);return window.addEventListener("online",s,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",s),window.removeEventListener("offline",i)}}})}onSubscribe(){h(this,_t)||this.setEventListener(h(this,Gt))}onUnsubscribe(){var t;this.hasListeners()||((t=h(this,_t))==null||t.call(this),P(this,_t,void 0))}setEventListener(t){var s;P(this,Gt,t),(s=h(this,_t))==null||s.call(this),P(this,_t,t(this.setOnline.bind(this)))}setOnline(t){h(this,Wt)!==t&&(P(this,Wt,t),this.listenLine truncated
|
||||
Reference in new issue
Block a user