Post list fixes
This commit is contained in:
1 parent
bb1e0eebf5
commit
202e89382a
55 files changed
+215
-183
No files matched your search
@@ -126,7 +126,7 @@ class Post implements JsonSerializable
|
||||
$stmt->bindValue(":ID", $this->id);
|
||||
try {
|
||||
if (!$stmt->execute()) throw ApiError::failedUpdate(["content"]);
|
||||
} catch (Exception) {
|
||||
} catch (Exception $e) {
|
||||
throw ApiError::failedUpdate(["content"]);
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+193
@@ -0,0 +1,193 @@
|
||||
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
|
||||
Vendored
-166
@@ -1,166 +0,0 @@
|
||||
var ex=Object.defineProperty;var kp=e=>{throw TypeError(e)};var tx=(e,t,n)=>t in e?ex(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Rp=(e,t,n)=>tx(e,typeof t!="symbol"?t+"":t,n),$u=(e,t,n)=>t.has(e)||kp("Cannot "+n);var F=(e,t,n)=>($u(e,t,"read from private field"),n?n.call(e):t.get(e)),de=(e,t,n)=>t.has(e)?kp("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),ee=(e,t,n,r)=>($u(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),et=(e,t,n)=>($u(e,t,"access private method"),n);var As=(e,t,n,r)=>({set _(o){ee(e,t,o,n)},get _(){return F(e,t,r)}});function Ag(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 Ni=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function bl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Sr(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 jg={exports:{}},wl={},Dg={exports:{}},te={};/**
|
||||
* @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 ks=Symbol.for("react.element"),nx=Symbol.for("react.portal"),rx=Symbol.for("react.fragment"),ox=Symbol.for("react.strict_mode"),ix=Symbol.for("react.profiler"),sx=Symbol.for("react.provider"),ax=Symbol.for("react.context"),lx=Symbol.for("react.forward_ref"),ux=Symbol.for("react.suspense"),cx=Symbol.for("react.memo"),dx=Symbol.for("react.lazy"),Op=Symbol.iterator;function fx(e){return e===null||typeof e!="object"?null:(e=Op&&e[Op]||e["@@iterator"],typeof e=="function"?e:null)}var zg={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Bg=Object.assign,Ug={};function oi(e,t,n){this.props=e,this.context=t,this.refs=Ug,this.updater=n||zg}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 Vg(){}Vg.prototype=oi.prototype;function qd(e,t,n){this.props=e,this.context=t,this.refs=Ug,this.updater=n||zg}var Qd=qd.prototype=new Vg;Qd.constructor=qd;Bg(Qd,oi.prototype);Qd.isPureReactComponent=!0;var _p=Array.isArray,Hg=Object.prototype.hasOwnProperty,Gd={current:null},Wg={key:!0,ref:!0,__self:!0,__source:!0};function Kg(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)Hg.call(t,r)&&!Wg.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:ks,type:e,key:i,ref:s,props:o,_owner:Gd.current}}function px(e,t){return{$$typeof:ks,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Xd(e){return typeof e=="object"&&e!==null&&e.$$typeof===ks}function hx(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Tp=/\/+/g;function Iu(e,t){return typeof e=="object"&&e!==null&&e.key!=null?hx(""+e.key):t.toString(36)}function ma(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 ks:case nx:s=!0}}if(s)return s=e,o=o(s),e=r===""?"."+Iu(s,0):r,_p(o)?(n="",e!=null&&(n=e.replace(Tp,"$&/")+"/"),ma(o,t,n,"",function(u){return u})):o!=null&&(Xd(o)&&(o=px(o,n+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(Tp,"$&/")+"/")+e)),t.push(o)),1;if(s=0,r=r===""?".":r+":",_p(e))for(var a=0;a<e.length;a++){i=e[a];var l=r+Iu(i,a);s+=ma(i,t,n,l,o)}else if(l=fx(e),typeof l=="function")for(e=l.call(e),a=0;!(i=e.next()).done;)i=i.value,l=r+Iu(i,a++),s+=ma(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 js(e,t,n){if(e==null)return e;var r=[],o=0;return ma(e,r,"","",function(i){return t.call(n,i,o++)}),r}function mx(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 pt={current:null},ga={transition:null},gx={ReactCurrentDispatcher:pt,ReactCurrentBatchConfig:ga,ReactCurrentOwner:Gd};function qg(){throw Error("act(...) is not supported in production builds of React.")}te.Children={map:js,forEach:function(e,t,n){js(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return js(e,function(){t++}),t},toArray:function(e){return js(e,function(t){return t})||[]},only:function(e){if(!Xd(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};te.Component=oi;te.Fragment=rx;te.Profiler=ix;te.PureComponent=qd;te.StrictMode=ox;te.Suspense=ux;te.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=gx;te.act=qg;te.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=Bg({},e.props),o=e.key,i=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,s=Gd.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)Hg.call(t,l)&&!Wg.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:ks,type:e.type,key:o,ref:i,props:r,_owner:s}};te.createContext=function(e){return e={$$typeof:ax,_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 yx=b,vx=Symbol.for("react.element"),xx=Symbol.for("react.fragment"),Sx=Object.prototype.hasOwnProperty,bx=yx.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,wx={key:!0,ref:!0,__self:!0,__source:!0};function Qg(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)Sx.call(t,r)&&!wx.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:vx,type:e,key:i,ref:s,props:o,_owner:bx.current}}wl.Fragment=xx;wl.jsx=Qg;wl.jsxs=Qg;jg.exports=wl;var _=jg.exports,Cl=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(){}},El=typeof window>"u"||"Deno"in globalThis;function rn(){}function Cx(e,t){return typeof e=="function"?e(t):e}function Ex(e){return typeof e=="number"&&e>=0&&e!==1/0}function Px(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Mp(e,t){return typeof e=="function"?e(t):e}function kx(e,t){return typeof e=="function"?e(t):e}function $p(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:s,stale:a}=e;if(s){if(r){if(t.queryHash!==Yd(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 Ip(e,t){const{exact:n,status:r,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(Zi(t.options.mutationKey)!==Zi(i))return!1}else if(!es(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function Yd(e,t){return((t==null?void 0:t.queryKeyHashFn)||Zi)(e)}function Zi(e){return JSON.stringify(e,(t,n)=>Oc(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 Gg(e,t){if(e===t)return e;const n=Lp(e)&&Lp(t);if(n||Oc(e)&&Oc(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]=Gg(e[c],t[c]),a[c]===e[c]&&e[c]!==void 0&&l++)}return o===s&&l===o?e:a}return t}function Lp(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Oc(e){if(!Fp(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Fp(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Fp(e){return Object.prototype.toString.call(e)==="[object Object]"}function Rx(e){return new Promise(t=>{setTimeout(t,e)})}function Ox(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Gg(e,t):t}function _x(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function Tx(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Xg=Symbol();function Yg(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Xg?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Fr,tr,Lo,_g,Mx=(_g=class extends Cl{constructor(){super();de(this,Fr);de(this,tr);de(this,Lo);ee(this,Lo,t=>{if(!El&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){F(this,tr)||this.setEventListener(F(this,Lo))}onUnsubscribe(){var t;this.hasListeners()||((t=F(this,tr))==null||t.call(this),ee(this,tr,void 0))}setEventListener(t){var n;ee(this,Lo,t),(n=F(this,tr))==null||n.call(this),ee(this,tr,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){F(this,Fr)!==t&&(ee(this,Fr,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof F(this,Fr)=="boolean"?F(this,Fr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Fr=new WeakMap,tr=new WeakMap,Lo=new WeakMap,_g),Jg=new Mx,Fo,nr,No,Tg,$x=(Tg=class extends Cl{constructor(){super();de(this,Fo,!0);de(this,nr);de(this,No);ee(this,No,t=>{if(!El&&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(){F(this,nr)||this.setEventListener(F(this,No))}onUnsubscribe(){var t;this.hasListeners()||((t=F(this,nr))==null||t.call(this),ee(this,nr,void 0))}setEventListener(t){var n;ee(this,No,t),(n=F(this,nr))==null||n.call(this),ee(this,nr,t(this.setOnline.bind(this)))}setOnline(t){F(this,Fo)!==t&&(ee(this,Fo,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return F(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 Vo=b;function Yx(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Jx=typeof Object.is=="function"?Object.is:Yx,Zx=Vo.useState,eS=Vo.useEffect,tS=Vo.useLayoutEffect,nS=Vo.useDebugValue;function rS(e,t){var n=t(),r=Zx({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return tS(function(){o.value=n,o.getSnapshot=t,Nu(o)&&i({inst:o})},[e,n,t]),eS(function(){return Nu(o)&&i({inst:o}),e(function(){Nu(o)&&i({inst:o})})},[e]),nS(n),n}function Nu(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Jx(e,n)}catch{return!0}}function oS(e,t){return t()}var iS=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?oS:rS;dy.useSyncExternalStore=Vo.useSyncExternalStore!==void 0?Vo.useSyncExternalStore:iS;cy.exports=dy;var sS=cy.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 Pl=b,aS=sS;function lS(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var uS=typeof Object.is=="function"?Object.is:lS,cS=aS.useSyncExternalStore,dS=Pl.useRef,fS=Pl.useEffect,pS=Pl.useMemo,hS=Pl.useDebugValue;uy.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var i=dS(null);if(i.current===null){var s={hasValue:!1,value:null};i.current=s}else s=i.current;i=pS(function(){function l(h){if(!u){if(u=!0,c=h,h=r(h),o!==void 0&&s.hasValue){var v=s.value;if(o(v,h))return f=v}return f=h}if(v=f,uS(c,h))return v;var y=r(h);return o!==void 0&&o(v,y)?v:(c=h,f=y)}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=cS(e,i[0],i[1]);return fS(function(){s.hasValue=!0,s.value=a},[a]),hS(a),a};ly.exports=uy;var mS=ly.exports;class Jd{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 La(e,t=n=>n){return mS.useSyncExternalStoreWithSelector(e.subscribe,()=>e.state,()=>e.state,t,gS)}function gS(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 kt="__root__";function yS(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 Dp(e){if(!e)return"";const t=decodeURIComponent(e);return t==="false"?!1:t==="true"?!0:+t*0===0&&+t+""===t?+t:t}function vS(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],Dp(a)):o[r]=Dp(a)}else r=n,o[r]=""}return o}const xS=bS(JSON.parse),SS=wS(JSON.stringify,JSON.parse);function bS(e){return t=>{t.substring(0,1)==="?"&&(t=t.substring(1));const n=vS(t);for(const r in n){const o=n[r];if(typeof o=="string")try{n[r]=e(o)}catch{}}return n}}function wS(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=yS(r).toString();return o?`?${o}`:""}}function Fa(e){return e[e.length-1]}function CS(e){return typeof e=="function"}function zs(e,t){return CS(e)?e(t):e}function ji(e,t){return t.reduce((n,r)=>(n[r]=e[r],n),{})}function mn(e,t){if(e===t)return e;const n=t,r=Bp(e)&&Bp(n);if(r||Na(e)&&Na(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]=mn(e[f],n[f]),l[f]===e[f]&&e[f]!==void 0&&u++)}return i===a&&u===i?e:l}return n}function Na(e){if(!zp(e))return!1;const t=e.constructor;if(typeof t>"u")return!0;const n=t.prototype;return!(!zp(n)||!n.hasOwnProperty("isPrototypeOf"))}function zp(e){return Object.prototype.toString.call(e)==="[object Object]"}function Bp(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Di(e,t,n=!1){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(Na(e)&&Na(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)||!Di(e[i],t[i],n))}return Array.isArray(e)&&Array.isArray(t)?e.length!==t.length?!1:!e.some((r,o)=>!Di(r,t[o],n)):!1}const Au=typeof window<"u"?b.useLayoutEffect:b.useEffect;function co(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 Up(e){const t=b.useRef({value:e,prev:null}),n=t.current.value;return e!==n&&(t.current={value:e,prev:n}),t.current.prev}function lr(e){return kl(e.filter(Boolean).join("/"))}function kl(e){return e.replace(/\/{2,}/g,"/")}function Zd(e){return e==="/"?e:e.replace(/^\/{1,}/,"")}function Tr(e){return e==="/"?e:e.replace(/\/{1,}$/,"")}function ES(e){return Tr(Zd(e))}function PS({basepath:e,base:t,to:n,trailingSlash:r="never"}){var o,i;t=t.replace(nLine 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(O,$){var L=O.length;O.push($);e:for(;0<L;){var W=L-1>>>1,K=O[W];if(0<o(K,$))O[W]=$,O[L]=K,L=W;else break e}}function n(O){return O.length===0?null:O[0]}function r(O){if(O.length===0)return null;var $=O[0],L=O.pop();if(L!==$){O[0]=L;e:for(var W=0,K=O.length,V=K>>>1;W<V;){var H=2*(W+1)-1,ie=O[H],ne=H+1,Ee=O[ne];if(0>o(ie,L))ne<K&&0>o(Ee,ie)?(O[W]=Ee,O[ne]=L,W=ne):(O[W]=ie,O[H]=L,W=H);else if(ne<K&&0>o(Ee,L))O[W]=Ee,O[ne]=L,W=ne;else break e}}return $}function o(O,$){var L=O.sortIndex-$.sortIndex;return L!==0?L:O.id-$.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,h=!1,v=!1,y=!1,S=typeof setTimeout=="function"?setTimeout:null,m=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 g(O){for(var $=n(u);$!==null;){if($.callback===null)r(u);else if($.startTime<=O)r(u),$.sortIndex=$.expirationTime,t(l,$);else break;$=n(u)}}function x(O){if(y=!1,g(O),!v)if(n(l)!==null)v=!0,T(w);else{var $=n(u);$!==null&&N(x,$.startTime-O)}}function w(O,$){v=!1,y&&(y=!1,m(R),R=-1),h=!0;var L=d;try{for(g($),f=n(l);f!==null&&(!(f.expirationTime>$)||O&&!j());){var W=f.callback;if(typeof W=="function"){f.callback=null,d=f.priorityLevel;var K=W(f.expirationTime<=$);$=e.unstable_now(),typeof K=="function"?f.callback=K:f===n(l)&&r(l),g($)}else r(l);f=n(l)}if(f!==null)var V=!0;else{var H=n(u);H!==null&&N(x,H.startTime-$),V=!1}return V}finally{f=null,d=L,h=!1}}var k=!1,C=null,R=-1,I=5,M=-1;function j(){return!(e.unstable_now()-M<I)}function z(){if(C!==null){var O=e.unstable_now();M=O;var $=!0;try{$=C(!0,O)}finally{$?B():(k=!1,C=null)}}else k=!1}var B;if(typeof p=="function")B=function(){p(z)};else if(typeof MessageChannel<"u"){var A=new MessageChannel,E=A.port2;A.port1.onmessage=z,B=function(){E.postMessage(null)}}else B=function(){S(z,0)};function T(O){C=O,k||(k=!0,B())}function N(O,$){R=S(function(){O(e.unstable_now())},$)}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(O){O.callback=null},e.unstable_continueExecution=function(){v||h||(v=!0,T(w))},e.unstable_forceFrameRate=function(O){0>O||125<O?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):I=0<O?Math.floor(1e3/O):5},e.unstable_getCurrentPriorityLevel=function(){return d},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(O){switch(d){case 1:case 2:case 3:var $=3;break;default:$=d}var L=d;d=$;try{return O()}finally{d=L}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(O,$){switch(O){case 1:case 2:case 3:case 4:case 5:break;default:O=3}var L=d;d=O;try{return $()}finally{d=L}},e.unstable_scheduleCallback=function(O,$,L){var W=e.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0<L?W+L:W):L=W,O){case 1:var K=-1;break;case 2:K=250;break;case 5:K=1073741823;break;case 4:K=1e4;break;default:K=5e3}return K=L+K,O={id:c++,callback:$,priorityLevel:O,startTime:L,expirationTime:K,sortIndex:-1},L>W?(O.sortIndex=L,t(u,O),n(l)===null&&O===n(u)&&(y?(m(R),R=-1):y=!0,N(x,L-W))):(O.sortIndex=K,t(l,O),v||h||(v=!0,T(w))),O},e.unstable_shouldYield=j,e.unstable_wrapCallback=function(O){var $=d;return function(){var L=d;d=$;try{return O.apply(this,arguments)}finally{d=L}}}})(my);hy.exports=my;var QS=hy.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 GS=b,It=QS;function D(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 gy=new Set,ts={};function Yr(e,t){Ko(e,t),Ko(e+"Capture",t)}function Ko(e,t){for(ts[e]=t,e=0;e<t.length;e++)gy.add(t[e])}var Dn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Tc=Object.prototype.hasOwnProperty,XS=/^[: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]*$/,qp={},Qp={};function YS(e){return Tc.call(Qp,e)?!0:Tc.call(qp,e)?!1:XS.test(e)?Qp[e]=!0:(qp[e]=!0,!1)}function JS(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 ZS(e,t,n,r){if(t===null||typeof t>"u"||JS(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 ht(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 Ze={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ze[e]=new ht(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ze[t]=new ht(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ze[e]=new ht(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ze[e]=new ht(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){Ze[e]=new ht(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ze[e]=new ht(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ze[e]=new ht(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ze[e]=new ht(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ze[e]=new ht(e,5,!1,e.toLowerCase(),null,!1,!1)});var tf=/[\-:]([a-z])/g;function nf(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(tf,nf);Ze[t]=new ht(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(tf,nf);Ze[t]=new ht(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(tf,nf);Ze[t]=new ht(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ze[e]=new ht(e,1,!1,e.toLowerCase(),null,!1,!1)});Ze.xlinkHref=new ht("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ze[e]=new ht(e,1,!1,e.toLowerCase(),null,!0,!0)});function rf(e,t,n,r){var o=Ze.hasOwnProperty(t)?Ze[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="
Line truncated
|
||||
`+Du+e}var zu=!1;function Bu(e,t){if(!e||zu)return"";zu=!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{zu=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Mi(e):""}function eb(e){switch(e.tag){case 5:return Mi(e.type);case 16:return Mi("Lazy");case 13:return Mi("Suspense");case 19:return Mi("SuspenseList");case 0:case 2:case 15:return e=Bu(e.type,!1),e;case 11:return e=Bu(e.type.render,!1),e;case 1:return e=Bu(e.type,!0),e;default:return""}}function Lc(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 ho:return"Fragment";case po:return"Portal";case Mc:return"Profiler";case of:return"StrictMode";case $c:return"Suspense";case Ic:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case vy:return(e.displayName||"Context")+".Consumer";case yy:return(e._context.displayName||"Context")+".Provider";case sf:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case af:return t=e.displayName||null,t!==null?t:Lc(e.type)||"Memo";case Xn:t=e._payload,e=e._init;try{return Lc(e(t))}catch{}}return null}function tb(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 Lc(t);case 8:return t===of?"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 yr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Sy(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function nb(e){var t=Sy(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 Vs(e){e._valueTracker||(e._valueTracker=nb(e))}function by(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Sy(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Aa(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 Fc(e,t){var n=t.checked;return Ie({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Xp(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=yr(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 wy(e,t){t=t.checked,t!=null&&rf(e,"checked",t,!1)}function Nc(e,t){wy(e,t);var n=yr(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")?Ac(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ac(e,t.type,yr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Yp(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 Ac(e,t,n){(t!=="number"||Aa(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var $i=Array.isArray;function ko(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=""+yr(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 jc(e,t){if(t.dan
Line truncated
|
||||
`).replace(fw,"")}function Ys(e,t,n){if(t=Sh(t),Sh(e)!==t&&n)throw Error(D(425))}function Wa(){}var Yc=null,Jc=null;function Zc(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 ed=typeof setTimeout=="function"?setTimeout:void 0,pw=typeof clearTimeout=="function"?clearTimeout:void 0,bh=typeof Promise=="function"?Promise:void 0,hw=typeof queueMicrotask=="function"?queueMicrotask:typeof bh<"u"?function(e){return bh.resolve(null).then(e).catch(mw)}:ed;function mw(e){setTimeout(function(){throw e})}function ec(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),ss(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);ss(t)}function fr(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 wh(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 si=Math.random().toString(36).slice(2),Cn="__reactFiber$"+si,ds="__reactProps$"+si,zn="__reactContainer$"+si,td="__reactEvents$"+si,gw="__reactListeners$"+si,yw="__reactHandles$"+si;function Mr(e){var t=e[Cn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[zn]||n[Cn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=wh(e);e!==null;){if(n=e[Cn])return n;e=wh(e)}return t}e=n,n=e.parentNode}return null}function _s(e){return e=e[Cn]||e[zn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function vo(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(D(33))}function Il(e){return e[ds]||null}var nd=[],xo=-1;function wr(e){return{current:e}}function Ce(e){0>xo||(e.current=nd[xo],nd[xo]=null,xo--)}function ve(e,t){xo++,nd[xo]=e.current,e.current=t}var vr={},st=wr(vr),St=wr(!1),Ur=vr;function qo(e,t){var n=e.type.contextTypes;if(!n)return vr;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 bt(e){return e=e.childContextTypes,e!=null}function Ka(){Ce(St),Ce(st)}function Ch(e,t,n){if(st.current!==vr)throw Error(D(168));ve(st,t),ve(St,n)}function cv(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(D(108,tb(e)||"Unknown",o));return Ie({},n,r)}function qa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||vr,Ur=st.current,ve(st,e),ve(St,St.current),!0}function Eh(e,t,n){var r=e.stateNode;if(!r)throw Error(D(169));n?(e=cv(e,t,Ur),r.__reactInternalMemoizedMergedChildContext=e,Ce(St),Ce(st),ve(st,e)):Ce(St),ve(St,n)}var Ln=null,Ll=!1,tc=!1;function dv(e){Ln===null?Ln=[e]:Ln.push(e)}function vw(e){Ll=!0,dv(e)}function Cr(){if(!tc&&Ln!==null){tc=!0;var e=0,t=fe;try{var n=Ln;for(fe=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Ln=null,Ll=!1}catch(o){throw Ln!==null&&(Ln=Ln.slice(e+1)),Ny(uf,Cr),o}finally{fe=t,tc=!1}}return null}var So=[],bo=0,Qa=null,Ga=0,Vt=[],Ht=0,Vr=null,Fn=1,Nn="";function kr(e,t){So[bo++]=Ga,So[bo++]=Qa,Qa=e,Ga=t}function fv(e,t,n){Vt[Ht++]=Fn,Vt[Ht++]=Nn,Vt[Ht++]=Vr,Vr=e;var r=Fn;e=Nn;var o=32-cn(r)-1;r&=~(1<<o),n+=1;var i=32-cn(t)+o;if(30<i){var s=o-o%5;i=(r&(1<<s)-1).toString(32),r>>=s,o-=s,Fn=1<<32-cn(t)+o|n<<o|r,Nn=i+e}else Fn=1<<i|n<<o|r,Nn=e}function vf(e){e.return!==null&&(kr(e,1),fv(e,1,0))}function xf(e){for(;e===Qa;)Qa=So[--bo],So[bo]=null,Ga=So[--bo],So[bo]=null;for(;e===Vr;)Vr=Vt[--Ht],Vt[Ht]=null,Nn=Vt[--Ht],Vt[Ht]=null,Fn=Vt[--Ht],Vt[Ht]=null}var _t=null,Ot=null,_e=!1,ln=null;function pv(e,t){var n=Kt(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 Ph(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,_t=e,Ot=fr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,_t=e,Ot=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Vr!==null?{id:Fn,overflow:Nn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Kt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,_t=e,Ot=null,!0):!1;default:return!1}}function rd(e){return(e.mode&1)!==0&&(e.flags&128)===0}function od(e){if(_e){var t=Ot;if(t){var n=t;if(!Ph(e,t)){if(rd(e))throw Error(D(418));t=fr(n.nextSibling);var r=_t;t&&Ph(e,t)?pv(r,n):(e.flags=e.flags&-4097|2,_e=!1,_t=e)}}else{if(rd(e))throw Error(D(418));e.flags=e.flags&-4097|2,_e=!1,_t=e}}}function kh(e){for(e=e
Line truncated
|
||||
Error generating stack: `+i.message+`
|
||||
`+i.stack}return{value:e,source:t,stack:o,digest:null}}function sc(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function ld(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Rw=typeof WeakMap=="function"?WeakMap:Map;function zv(e,t,n){n=An(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){rl||(rl=!0,vd=r),ld(e,t)},n}function Bv(e,t,n){n=An(-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(){ld(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){ld(e,t),typeof r!="function"&&(hr===null?hr=new Set([this]):hr.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function Lh(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Rw;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=Bw.bind(null,e,t,n),t.then(e,e))}function Fh(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 Nh(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=An(-1,1),t.tag=2,pr(n,t,1))),n.lanes|=1),e)}var Ow=Hn.ReactCurrentOwner,vt=!1;function ct(e,t,n,r){t.child=e===null?gv(t,null,n,r):Go(t,e.child,n,r)}function Ah(e,t,n,r,o){n=n.render;var i=t.ref;return To(t,o),r=Tf(e,t,n,r,i,o),n=Mf(),e!==null&&!vt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Un(e,t,o)):(_e&&n&&vf(t),t.flags|=1,ct(e,t,r,o),t.child)}function jh(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!Bf(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,Uv(e,t,i,r,o)):(e=ka(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:ls,n(s,r)&&e.ref===t.ref)return Un(e,t,o)}return t.flags|=1,e=gr(i,r),e.ref=t.ref,e.return=t,t.child=e}function Uv(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(ls(i,r)&&e.ref===t.ref)if(vt=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(vt=!0);else return t.lanes=e.lanes,Un(e,t,o)}return ud(e,t,n,r,o)}function Vv(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},ve(Eo,Pt),Pt|=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,ve(Eo,Pt),Pt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,ve(Eo,Pt),Pt|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,ve(Eo,Pt),Pt|=r;return ct(e,t,o,n),t.child}function Hv(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ud(e,t,n,r,o){var i=bt(n)?Ur:st.current;return i=qo(t,i),To(t,o),n=Tf(e,t,n,r,i,o),r=Mf(),e!==null&&!vt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Un(e,t,o)):(_e&&r&&vf(t),t.flags|=1,ct(e,t,n,o),t.child)}function Dh(e,t,n,r,o){if(bt(n)){var i=!0;qa(t)}else i=!1;if(To(t,o),t.stateNode===null)Ca(e,t),Dv(t,n,r),ad(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=Gt(u):(u=bt(n)?Ur:st.current,u=qo(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)&&Ih(t,s,r,u),Yn=!1;var d=t.memoizedState;s.state=d,Ja(t,r,s,o),l=t.memoizedState,a!==r||d!==l||St.current||Yn?(typeof c=="function"&&(sd(t,n,c,r),l=t.memoizedState),(a=Yn||$h(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,vv(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:on(t.type,a),s.props=u,f=t.pendingProps,d=s.context,l=n.contextType,typeof l=="object"&&l!==null?l=Gt(l):(l=bt(n)?Ur:st.current,l=qo(t,l));var h=n.getDerivedStateFromProps;(c=typeof h=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==f||d!==l)&&Ih(t,s,r,l),Yn=!1,d=t.memoizedState,s.state=d,Ja(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 Qe=typeof Symbol=="function"&&Symbol.for,Xf=Qe?Symbol.for("react.element"):60103,Yf=Qe?Symbol.for("react.portal"):60106,Ql=Qe?Symbol.for("react.fragment"):60107,Gl=Qe?Symbol.for("react.strict_mode"):60108,Xl=Qe?Symbol.for("react.profiler"):60114,Yl=Qe?Symbol.for("react.provider"):60109,Jl=Qe?Symbol.for("react.context"):60110,Jf=Qe?Symbol.for("react.async_mode"):60111,Zl=Qe?Symbol.for("react.concurrent_mode"):60111,eu=Qe?Symbol.for("react.forward_ref"):60112,tu=Qe?Symbol.for("react.suspense"):60113,jC=Qe?Symbol.for("react.suspense_list"):60120,nu=Qe?Symbol.for("react.memo"):60115,ru=Qe?Symbol.for("react.lazy"):60116,DC=Qe?Symbol.for("react.block"):60121,zC=Qe?Symbol.for("react.fundamental"):60117,BC=Qe?Symbol.for("react.responder"):60118,UC=Qe?Symbol.for("react.scope"):60119;function Nt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Xf:switch(e=e.type,e){case Jf:case Zl:case Ql:case Xl:case Gl:case tu:return e;default:switch(e=e&&e.$$typeof,e){case Jl:case eu:case ru:case nu:case Yl:return e;default:return t}}case Yf:return t}}}function R0(e){return Nt(e)===Zl}pe.AsyncMode=Jf;pe.ConcurrentMode=Zl;pe.ContextConsumer=Jl;pe.ContextProvider=Yl;pe.Element=Xf;pe.ForwardRef=eu;pe.Fragment=Ql;pe.Lazy=ru;pe.Memo=nu;pe.Portal=Yf;pe.Profiler=Xl;pe.StrictMode=Gl;pe.Suspense=tu;pe.isAsyncMode=function(e){return R0(e)||Nt(e)===Jf};pe.isConcurrentMode=R0;pe.isContextConsumer=function(e){return Nt(e)===Jl};pe.isContextProvider=function(e){return Nt(e)===Yl};pe.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Xf};pe.isForwardRef=function(e){return Nt(e)===eu};pe.isFragment=function(e){return Nt(e)===Ql};pe.isLazy=function(e){return Nt(e)===ru};pe.isMemo=function(e){return Nt(e)===nu};pe.isPortal=function(e){return Nt(e)===Yf};pe.isProfiler=function(e){return Nt(e)===Xl};pe.isStrictMode=function(e){return Nt(e)===Gl};pe.isSuspense=function(e){return Nt(e)===tu};pe.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Ql||e===Zl||e===Xl||e===Gl||e===tu||e===jC||typeof e=="object"&&e!==null&&(e.$$typeof===ru||e.$$typeof===nu||e.$$typeof===Yl||e.$$typeof===Jl||e.$$typeof===eu||e.$$typeof===zC||e.$$typeof===BC||e.$$typeof===UC||e.$$typeof===DC)};pe.typeOf=Nt;k0.exports=pe;var VC=k0.exports,O0=VC,HC={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},WC={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},_0={};_0[O0.ForwardRef]=HC;_0[O0.Memo]=WC;var KC=!0;function qC(e,t,n){var r="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):r+=o+" "}),r}var T0=function(t,n,r){var o=t.key+"-"+n.name;(r===!1||KC===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},M0=function(t,n,r){T0(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 QC(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 GC={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},XC=!1,YC=/[A-Z]|^ms/g,JC=/_EMO_([^_]+?)_([^]*?)_EMO_/g,$0=function(t){return t.charCodeAt(1)===45},nm=function(t){return t!=null&&typeof t!="boolean"},cc=y0(function(e){return $0(e)?e:e.replace(YC,"-$&").toLowerCase()}),rm=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(JC,function(r,o,i){return wn={name:o,styles:i,next:wn},o})}return GC[t]!==1&&!$0(t)&&typeof n=="number"&&n!==0?n+"px":n},ZC="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function bs(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 wn={name:o.name,styles:o.styles,next:wn},o.name;var i=n;if(i.styles!==void 0){var s=i.next;if(s!==void 0)for(;s!==void 0;)wn={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 ap=Symbol.for("react.element"),lp=Symbol.for("react.portal"),fu=Symbol.for("react.fragment"),pu=Symbol.for("react.strict_mode"),hu=Symbol.for("react.profiler"),mu=Symbol.for("react.provider"),gu=Symbol.for("react.context"),SP=Symbol.for("react.server_context"),yu=Symbol.for("react.forward_ref"),vu=Symbol.for("react.suspense"),xu=Symbol.for("react.suspense_list"),Su=Symbol.for("react.memo"),bu=Symbol.for("react.lazy"),bP=Symbol.for("react.offscreen"),Q0;Q0=Symbol.for("react.module.reference");function Zt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case ap:switch(e=e.type,e){case fu:case hu:case pu:case vu:case xu:return e;default:switch(e=e&&e.$$typeof,e){case SP:case gu:case yu:case bu:case Su:case mu:return e;default:return t}}case lp:return t}}}he.ContextConsumer=gu;he.ContextProvider=mu;he.Element=ap;he.ForwardRef=yu;he.Fragment=fu;he.Lazy=bu;he.Memo=Su;he.Portal=lp;he.Profiler=hu;he.StrictMode=pu;he.Suspense=vu;he.SuspenseList=xu;he.isAsyncMode=function(){return!1};he.isConcurrentMode=function(){return!1};he.isContextConsumer=function(e){return Zt(e)===gu};he.isContextProvider=function(e){return Zt(e)===mu};he.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===ap};he.isForwardRef=function(e){return Zt(e)===yu};he.isFragment=function(e){return Zt(e)===fu};he.isLazy=function(e){return Zt(e)===bu};he.isMemo=function(e){return Zt(e)===Su};he.isPortal=function(e){return Zt(e)===lp};he.isProfiler=function(e){return Zt(e)===hu};he.isStrictMode=function(e){return Zt(e)===pu};he.isSuspense=function(e){return Zt(e)===vu};he.isSuspenseList=function(e){return Zt(e)===xu};he.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===fu||e===hu||e===pu||e===vu||e===xu||e===bP||typeof e=="object"&&e!==null&&(e.$$typeof===bu||e.$$typeof===Su||e.$$typeof===mu||e.$$typeof===gu||e.$$typeof===yu||e.$$typeof===Q0||e.getModuleId!==void 0)};he.typeOf=Zt;q0.exports=he;var dm=q0.exports;const wP=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function G0(e){const t=`${e}`.match(wP);return t&&t[1]||""}function X0(e,t=""){return e.displayName||e.name||G0(e)||t}function fm(e,t,n){const r=X0(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function CP(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return X0(e,"Component");if(typeof e=="object")switch(e.$$typeof){case dm.ForwardRef:return fm(e,e.render,"ForwardRef");case dm.Memo:return fm(e,e.type,"memo");default:return}}}const EP=Object.freeze(Object.defineProperty({__proto__:null,default:CP,getFunctionName:G0},Symbol.toStringTag,{value:"Module"}));function ul(e,t){const n=P({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=P({},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]=P({},i),Object.keys(o).forEach(s=>{n[r][s]=ul(o[s],i[s])}))}else n[r]===void 0&&(n[r]=e[r])}),n}const xr=typeof window<"u"?b.useLayoutEffect:b.useEffect;function PP(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}const kP=Object.freeze(Object.defineProperty({__proto__:null,default:PP},Symbol.toStringTag,{value:"Module"}));function pm(...e){return e.reduce((t,n)=>n==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function Y0(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 dc(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 $t(e){return e&&e.ownerDocument||document}function Qr(e){return $t(e).defaultView||window}function Rd(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let hm=0;function RP(e){const[t,n]=b.useState(e),r=e||t;return b.useEffect(()=>{t==null&&(hm+=1,n(`mui-${hm}`))},[t]),r}const mm=Rc.useId;function J0(e){if(mm!==void 0){const t=mm();return e??t}return RP(e)}function gm({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=b.useRef(e!==void 0),[i,s]=b.useState(t),a=o?e:i,l=b.useCallback(u=>{o||s(u)},[]);return[a,l]}function Po(e){const t=b.useRef(e);return xr(()=>{t.current=e}),b.useRef((...n)=>(0,t.current)(...n)).current}function at(...e){return b.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{Rd(n,t)})},e)}const ym={};function OP(e,t){const n=b.useRef(ym);return n.current===ym&&(n.current=e(t)),n}const _P=[];function TP(e){b.useEffect(e,_P)}class wu{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new wu}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function Z0(){const e=OP(wu.create).current;return TP(e.disposeEffect),e}let Cu=!0,Od=!1;const MP=new wu,$P={text:!0,search:!0,url:!0,tel:!0,eLine truncated
|
||||
0% {
|
||||
transform: scale(0);
|
||||
opacity: 0.1;
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: scale(1);
|
||||
opacity: 0.3;
|
||||
}
|
||||
`)),SR=iu(Mm||(Mm=Eu`
|
||||
0% {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 0;
|
||||
}
|
||||
`)),bR=iu($m||($m=Eu`
|
||||
0% {
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
50% {
|
||||
transform: scale(0.92);
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: scale(1);
|
||||
}
|
||||
`)),wR=Q("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),CR=Q(gR,{name:"MuiTouchRipple",slot:"Ripple"})(Im||(Im=Eu`
|
||||
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;
|
||||
}
|
||||
`),Ut.rippleVisible,xR,Id,({theme:e})=>e.transitions.easing.easeInOut,Ut.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,Ut.child,Ut.childLeaving,SR,Id,({theme:e})=>e.transitions.easing.easeInOut,Ut.childPulsate,bR,({theme:e})=>e.transitions.easing.easeInOut),ER=b.forwardRef(function(t,n){const r=Se({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:s}=r,a=q(r,yR),[l,u]=b.useState([]),c=b.useRef(0),f=b.useRef(null);b.useEffect(()=>{f.current&&(f.current(),f.current=null)},[l]);const d=b.useRef(!1),h=Z0(),v=b.useRef(null),y=b.useRef(null),S=b.useCallback(x=>{const{pulsate:w,rippleX:k,rippleY:C,rippleSize:R,cb:I}=x;u(M=>[...M,_.jsx(CR,{classes:{ripple:J(i.ripple,Ut.ripple),rippleVisible:J(i.rippleVisible,Ut.rippleVisible),ripplePulsate:J(i.ripplePulsate,Ut.ripplePulsate),child:J(i.child,Ut.child),childLeaving:J(i.childLeaving,Ut.childLeaving),childPulsate:J(i.childPulsate,Ut.childPulsate)},timeout:Id,pulsate:w,rippleX:k,rippleY:C,rippleSize:R},c.current)]),c.current+=1,f.current=I},[i]),m=b.useCallback((x={},w={},k=()=>{})=>{const{pulsate:C=!1,center:R=o||w.pulsate,fakeElement:I=!1}=w;if((x==null?void 0:x.type)==="mousedown"&&d.current){d.current=!1;return}(x==null?void 0:x.type)==="touchstart"&&(d.current=!0);const M=I?null:y.current,j=M?M.getBoundingClientRect():{width:0,height:0,left:0,top:0};let z,B,A;if(R||x===void 0||x.clientX===0&&x.clientY===0||!x.clientX&&!x.touches)z=Math.round(j.width/2),B=Math.round(j.height/2);else{const{clientX:E,clientY:T}=x.touches&&x.touches.length>0?x.touches[0]:x;z=Math.round(E-j.left),B=Math.round(T-j.top)}if(R)A=Math.sqrt((2*j.width**2+j.height**2)/3),A%2===0&&(A+=1);else{const E=Math.max(Math.abs((M?M.clientWidth:0)-z),z)*2+2,T=Math.max(Math.abs((M?M.clientHeight:0)-B),B)*2+2;A=Math.sqrt(E**2+T**2)}x!=null&&x.touches?v.current===null&&(v.current=()=>{S({pulsate:C,rippleX:z,rippleY:B,rippleSize:A,cb:k})},h.start(vR,()=>{v.current&&(v.current(),v.current=null)})):S({pulsate:C,rippleX:z,rippleY:B,rippleSize:A,cb:k})},[o,S,h]),p=b.useCallback(()=>{m({},{pulsate:!0})},[m]),g=b.useCallback((x,w)=>{if(h.clear(),(x==null?void 0:x.type)==="touchend"&&v.current){v.current(),v.current=null,h.start(0,()=>{g(x,w)});return}v.current=null,u(k=>k.length>0?k.slice(1):k),f.current=w},[h]);return b.useImperativeHandle(n,()=>({pulsate:p,start:m,stop:g}),[p,m,g]),_.jsx(wR,P({className:J(Ut.root,i.root,s),ref:y},a,{children:_.jsx(mp,{component:null,exit:!0,children:l})}))});function PR(e){return ge("MuiButtonBase",e)}const kR=ce("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"],OR=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,s=xe({root:["root",t&&"disabled",n&&"focusVisible"]},PR,o);return n&&r&&(s.root+=` ${r}`),s},_R=Q("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"},[`&.${kR.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),gp=b.forwardRef(function(t,n){const r=Se({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:h="a",onBlur:v,onClick:y,onContextMenu:S,onDragLeave:m,onFocus:p,onFocusVisible:g,onKeyDown:x,onKeyUp:w,onMouseDown:k,onMouseLeave:C,onMouseUp:R,onTouchEnd:I,onTouchMove:M,onTouchStart:j,tabIndex:z=0,TouchRippleProps:B,touchRippleRef:A,type:E}=r,T=q(r,RR),N=b.useRef(null),O=b.useRef(null),$=at(O,A),{isFocusVisibleRef:L,onFocus:W,onBlur:K,ref:V}=jP(),[H,ie]=b.useState(!1);u&&H&&ie(!1),b.useImperativeHandle(o,()=>({focusVisible:()=>{ie(!0),N.current.focus()}}),[]);const[ne,Ee]=b.useState(!1);b.useEffect(()=>{Ee(!0)},[]);const Pe=ne&&!c&&!u;b.useEffect(()=>{H&&d&&!c&&ne&&O.current.pulsate()},[c,d,H,ne]);function se(X,Mn,fi=f){return Po(pi=>(Mn&&Mn(pi),!fi&&O.current&&O.current[X](pi),!0))}const je=se("start",k),oe=se("stop",S),ae=se("stop",m),Z=se("stop",R),me=se("stop",X=>{H&&X.preventDefault(),C&&C(X)}),ke=se("start",j),Wn=se("stop",I),At=se("stop",M),jt=se("stop",X=>{K(X),L.current===!1&&ie(!1),v&&v(X)},!1),tn=Po(X=>{N.current||(N.current=X.currentTarget),W(X),L.current===!0&&(ie(!0),g&&g(X)),p&&p(X)}),Dt=()=>{const
Line truncated
|
||||
`&&(x.value+=" ");const w=g.boxSizing,k=la(g.paddingBottom)+la(g.paddingTop),C=la(g.borderBottomWidth)+la(g.borderTopWidth),R=x.scrollHeight;x.value="x";const I=x.scrollHeight;let M=R;i&&(M=Math.max(Number(i)*I,M)),o&&(M=Math.min(Number(o)*I,M)),M=Math.max(M,I);const j=M+(w==="border-box"?k+C:0),z=Math.abs(M-R)<=1;return{outerHeightStyle:j,overflowing:z}},[o,i,t.placeholder]),y=b.useCallback(()=>{const m=v();if(XR(m))return;const p=m.outerHeightStyle,g=c.current;d.current!==p&&(d.current=p,g.style.height=`${p}px`),g.style.overflow=m.overflowing?"hidden":""},[v]);xr(()=>{const m=()=>{y()};let p;const g=Y0(m),x=c.current,w=Qr(x);w.addEventListener("resize",g);let k;return typeof ResizeObserver<"u"&&(k=new ResizeObserver(m),k.observe(x)),()=>{g.clear(),cancelAnimationFrame(p),w.removeEventListener("resize",g),k&&k.disconnect()}},[v,y]),xr(()=>{y()});const S=m=>{u||y(),r&&r(m)};return _.jsxs(b.Fragment,{children:[_.jsx("textarea",P({value:a,onChange:S,ref:f,rows:i,style:s},l)),_.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:h,tabIndex:-1,style:P({},GR.shadow,s,{paddingTop:0,paddingBottom:0})})]})});function ci({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 yp=b.createContext(void 0);function di(){return b.useContext(yp)}function JR(e){return _.jsx(fP,P({},e,{defaultTheme:fp,themeId:Hl}))}function Nm(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function hl(e,t=!1){return e&&(Nm(e.value)&&e.value!==""||t&&Nm(e.defaultValue)&&e.defaultValue!=="")}function ZR(e){return e.startAdornment}function e2(e){return ge("MuiInputBase",e)}const ti=ce("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),t2=["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"],Pu=(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${Y(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},ku=(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]},n2=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:h,type:v}=e,y={root:["root",`color${Y(n)}`,r&&"disabled",o&&"error",l&&"fullWidth",s&&"focused",a&&"formControl",d&&d!=="medium"&&`size${Y(d)}`,c&&"multiline",h&&"adornedStart",i&&"adornedEnd",u&&"hiddenLabel",f&&"readOnly"],input:["input",r&&"disabled",v==="search"&&"inputTypeSearch",c&&"inputMultiline",d==="small"&&"inputSizeSmall",u&&"inputHiddenLabel",h&&"inputAdornedStart",i&&"inputAdornedEnd",f&&"readOnly"]};return xe(y,e2,t)},Ru=Q("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Pu})(({theme:e,ownerState:t})=>P({},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",[`&.${ti.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&P({padding:"4px 0 5px"},t.size==="small"&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),Ou=Q("input",{name:"MuiInputBase",slot:"Input",overridesResolver:ku})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light",r=P({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 P({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] + .${ti.fLine 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 ni=b;function xT(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ST=typeof Object.is=="function"?Object.is:xT,bT=ni.useState,wT=ni.useEffect,CT=ni.useLayoutEffect,ET=ni.useDebugValue;function PT(e,t){var n=t(),r=bT({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return CT(function(){o.value=n,o.getSnapshot=t,Sc(o)&&i({inst:o})},[e,n,t]),wT(function(){return Sc(o)&&i({inst:o}),e(function(){Sc(o)&&i({inst:o})})},[e]),ET(n),n}function Sc(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ST(e,n)}catch{return!0}}function kT(e,t){return t()}var RT=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?kT:PT;j1.useSyncExternalStore=ni.useSyncExternalStore!==void 0?ni.useSyncExternalStore:RT;A1.exports=j1;var OT=A1.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 _u=b,_T=OT;function TT(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var MT=typeof Object.is=="function"?Object.is:TT,$T=_T.useSyncExternalStore,IT=_u.useRef,LT=_u.useEffect,FT=_u.useMemo,NT=_u.useDebugValue;N1.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var i=IT(null);if(i.current===null){var s={hasValue:!1,value:null};i.current=s}else s=i.current;i=FT(function(){function l(h){if(!u){if(u=!0,c=h,h=r(h),o!==void 0&&s.hasValue){var v=s.value;if(o(v,h))return f=v}return f=h}if(v=f,MT(c,h))return v;var y=r(h);return o!==void 0&&o(v,y)?v:(c=h,f=y)}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=$T(e,i[0],i[1]);return LT(function(){s.hasValue=!0,s.value=a},[a]),NT(a),a};F1.exports=N1;var AT=F1.exports;const jT=bl(AT);var D1={BASE_URL:"/phpCourse/exam/dist",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const{useDebugValue:DT}=un,{useSyncExternalStoreWithSelector:zT}=jT;let ig=!1;const BT=e=>e;function UT(e,t=BT,n){(D1?"production":void 0)!=="production"&&n&&!ig&&(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"),ig=!0);const r=zT(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return DT(r),r}const VT=e=>{(D1?"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"?vT(e):e,n=(r,o)=>UT(t,r,o);return Object.assign(n,t),n},HT=e=>VT;var bc={BASE_URL:"/phpCourse/exam/dist",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const jd=new Map,ca=e=>{const t=jd.get(e);return t?Object.fromEntries(Object.entries(t.stores).map(([n,r])=>[n,r.getState()])):{}},WT=(e,t,n)=>{if(e===void 0)return{type:"untracked",connection:t.connect(n)};const r=jd.get(n.name);if(r)return{type:"tracked",store:e,...r};const o={connection:t.connect(n),stores:{}};return jd.set(n.name,o),{type:"tracked",store:e,...o}},KT=(e,t={})=>(n,r,o)=>{const{enabled:i,anonymousActionType:s,store:a,...l}=t;let u;try{u=(i??(bc?"production":void 0)!=="production")&&window.__REDUX_DEVTOOLS_EXTENSION__}catch{}if(!u)return(bc?"production":void 0)!=="production"&&i&&console.warn("[zustand devtools middleware] Please install/enable Redux devtools extension"),e(n,r,o);const{connection:c,...f}=WT(a,u,l);let d=!0;o.setState=(y,S,m)=>{const p=n(y,S);if(!d)return p;const g=m===void 0?{type:s||"anonymous"}:typeof m=="string"?{type:m}:m;return a===void 0?(c==null||c.send(g,r()),p):(c==null||c.send({...g,type:`${a}/${g.type}`},{...ca(l.name),[a]:o.getState()}),p)};const h=(...y)=>{const S=d;d=!1,n(...y),d=S},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(([y,S])=>[y,y===f.store?v:S.getState()])))),o.dispatchFromDevtools&&typeof o.dispatch=="function"){let y=!1;const S=o.dispatch;o.dispatch=(...m)=>{(bc?"production":void 0)!=="production"&&m[0].type==="__setState"&&!y&&(console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),y=!0),S(...m)}}return c.subscribe(y=>{var S;switch(y.type){case"ACTION":if(typeof y.payload!="string"){console.error("[zustand devtools middleware] Unsupported action format");return}return wc(y.payload,m=>{if(m.type==="__setState"){if(a===void 0){h(m.state);return}Object.keys(m.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=m.state[a];if(p==null)return;JSON.stringify(o.getState())!==JSON.stringify(p)&&h(p);return}o.dispatchFromDevtools&&typeof o.dispatch=="function"&&o.dispatch(m)});case"DISPATCH":switch(y.payload.type){case"RESET":return h(v),a===void 0?c==null?void 0:c.init(o.getState()):c==null?void 0:c.init(ca(l.name));case"COMMIT":if(a===void 0){c==null||c.init(o.getState());return}return c==null?void 0:c.init(ca(l.name));case"ROLLBACK":return wc(y.state,m=>{if(a===void 0){h(m),c==null||c.init(o.getState());return}h(m[a]),c==null||c.init(ca(l.name))});case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return wc(y.state,m=>{if(a===void 0){h(m);return}JSON.stringify(o.getState())!==JSON.stringify(m[a])&&h(m[a])});case"IMPORT_STATE":{const{nextLiftedState:m}=y.payload,p=(S=m.computedStates.slice(-1)[0])==null?void 0:S.state;if(!p)return;h(a===void 0?p:p[a]),c==null||c.send(null,m);return}case"PAUSE_RECORDING":return d=!d}return}}),v},qT=KT,wc=(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)},Dd=HT()(qT(e=>({user:void 0,setUser:t=>e(()=>({user:t}))})));function Tu(e,t){return typeof e=="function"?e(t):e}function z1(e,t){return Ep(t).reduce((r,o)=>{if(r===null)return null;if(typeof r<"u")return r[o]},e)}function Cc(e,t,n){const r=Ep(t);function o(i){if(!r.length)return Tu(n,i);const s=r.shift();if(typeof s=="string")return typeof i=="object"?(i===null&&(i={}),{...i,[s]:o(i[s])}):{[s]:o()};if(Array.isArray(i)&&s!==void 0){const a=i.slice(0,s);return[...a.length?a:new Array(s),o(i[s]),...i.slice(s+1)]}return[...new Array(s),o()]}return o(e)}function QT(e,t){const n=Ep(t);function r(o){if(!o)return;if(n.length===1){const s=n[0];if(Array.isArray(o)&&typeof s=="number")return o.filter((u,c)=>c!==s);const{[s]:a,...l}=o;return l}const i=n.shift();if(typeof i=="string"&&typeof o=="object")return{...o,[i]:r(o[i])};if(typeof i=="number"&&Array.isArray(o)){if(i>=o.length)return o;const s=o.slice(0,i);return[...s.length?s:new Array(i),r(o[i]),...o.slice(i+1)]}throw new Error("It seems we have created an infinite loop in deleteBy. ")}return r(e)}const GT=/^(\d*)$/gm,XT=/\.(\d*)\./gm,YT=/^(\d*)\./gm,JT=/\.(\d*$)/gm,ZT=/\.{2,}/gm,zd="__int__",da=`${zd}$1`;function Ep(e){if(typeof e!="string")throw new Error("Path must be a string.");return e.replaceAll("[",".").replaceAll("]","").replace(GT,da).replace(XT,`.${da}.`).replace(YT,`${da}.`).replace(JT,`.${da}`).replace(ZT,".").split(".").map(t=>t.indexOf(zd)===0?parseInt(t.substring(zd.length),10):t)}function eM(e){return!(Array.isArray(e)&&e.length===0)}function Bd(e,t){const{asyncDebounceMs:n}=t,{onChangeAsync:r,onBlurAsync:o,onSubmitAsync:i,onBlurAsyncDebounceMs:s,onChangeAsyncDebounceMs:a}=t.validators||{},l=n??0,u={cause:"change",validate:r,debounceMs:a??l},c={cause:"blur",validate:o,debounceMs:s??l},f={cause:"submit",validate:i,debounceMs:0},d=h=>({...h,debounceMs:0});switch(e){case"submit":return[d(u),d(c),f];case"blur":return[c];case"change":return[u];case"server":default:return[]}}function Ud(e,t){const{onChange:n,onBlur:r,onSubmit:o}=t.validators||{},i={cause:"change",validate:n},s={cause:"blur",validate:r},a={cause:"submit",validate:o},l={cause:"server",validate:()=>{}};switch(e){case"submit":return[i,s,a,l];case"server":return[l];case"blur":return[s,l];case"change":default:return[i,l]}}function Ec(e){return{values:e.values??{},errors:e.errors??[],errorMap:e.errorMap??{},fieldMeta:e.fieldMeta??{},canSubmit:e.canSubmit??!0,isFieldsValid:e.isFieldsValid??!1,isFieldsValidating:e.isFieldsValidating??!1,isFormValid:e.isFormValid??!1,isFormValidating:e.isFormValidating??!1,isSubmitted:e.isSubmitted??!1,isSubmitting:e.isSubmitting??!1,isTouched:e.isTouched??!1,isPristine:e.isPristine??!0,isDirty:e.isDirty??!1,isValid:e.isValid??!1,isValidating:e.isValidating??!1,submissionAttempts:e.submissionAttempts??0,validationMetaMap:e.validationMetaMap??{onChange:void 0,onBlur:void 0,onSubmit:void 0,onMount:void 0,onServer:void 0}}}class tM{constructor(t){var n;this.options={},this.fieldInfo={},this.prevTransformArray=[],this.mount=()=>{const{onMount:r}=this.options.validators||{};if(!r)return;const o=this.runValidator({validate:r,value:{value:this.state.values,formApi:this},type:"validate"});o&&this.store.setState(i=>({...i,errorMap:{...i.errorMap,onMount:o}}))},this.update=r=>{if(!r)return;const o=this.options;this.options=r,this.store.batch(()=>{const i=r.defaultValues&&r.defaultValues!==o.defaultValues&&!this.state.isTouched,s=r.defaultState!==o.defaultState&&!this.state.isTouched;this.store.setState(()=>Ec(Object.assign({},this.state,s?r.defaultState:{},i?{values:r.defaultValues}:{})))})},this.reset=()=>{const{fieldMeta:r}=this.state,o=this.resetFieldMeta(r);this.store.setState(()=>{var i;return Ec({...this.options.defaultState,values:this.options.defaultValues??((i=this.options.defaultState)==null?void 0:i.values),fieldMeta:o})})},this.validateAllFields=async r=>{const o=[];return t
Line truncated
|
||||
`)===0?O.substr(1,O.length):O}).forEach(function(O){var $=O.split(":"),L=$.shift().trim();if(L){var W=$.join(":").trim();T.append(L,W)}}),T}k.call(I.prototype);function z(E,T){if(!(this instanceof z))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 y(T.headers),this.url=T.url||"",this._initBody(E)}k.call(z.prototype),z.prototype.clone=function(){return new z(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new y(this.headers),url:this.url})},z.error=function(){var E=new z(null,{status:0,statusText:""});return E.type="error",E};var B=[301,302,303,307,308];z.redirect=function(E,T){if(B.indexOf(T)===-1)throw new RangeError("Invalid status code");return new z(null,{status:T,headers:{location:E}})},s.DOMException=a.DOMException;try{new s.DOMException}catch{s.DOMException=function(T,N){this.message=T,this.name=N;var O=Error(T);this.stack=O.stack},s.DOMException.prototype=Object.create(Error.prototype),s.DOMException.prototype.constructor=s.DOMException}function A(E,T){return new Promise(function(N,O){var $=new I(E,T);if($.signal&&$.signal.aborted)return O(new s.DOMException("Aborted","AbortError"));var L=new XMLHttpRequest;function W(){L.abort()}L.onload=function(){var V={status:L.status,statusText:L.statusText,headers:j(L.getAllResponseHeaders()||"")};V.url="responseURL"in L?L.responseURL:V.headers.get("X-Request-URL");var H="response"in L?L.response:L.responseText;setTimeout(function(){N(new z(H,V))},0)},L.onerror=function(){setTimeout(function(){O(new TypeError("Network request failed"))},0)},L.ontimeout=function(){setTimeout(function(){O(new TypeError("Network request failed"))},0)},L.onabort=function(){setTimeout(function(){O(new s.DOMException("Aborted","AbortError"))},0)};function K(V){try{return V===""&&a.location.href?a.location.href:V}catch{return V}}L.open($.method,K($.url),!0),$.credentials==="include"?L.withCredentials=!0:$.credentials==="omit"&&(L.withCredentials=!1),"responseType"in L&&(l.blob?L.responseType="blob":l.arrayBuffer&&$.headers.get("Content-Type")&&$.headers.get("Content-Type").indexOf("application/octet-stream")!==-1&&(L.responseType="arraybuffer")),T&&typeof T.headers=="object"&&!(T.headers instanceof y)?Object.getOwnPropertyNames(T.headers).forEach(function(V){L.setRequestHeader(V,h(T.headers[V]))}):$.headers.forEach(function(V,H){L.setRequestHeader(H,V)}),$.signal&&($.signal.addEventListener("abort",W),L.onreadystatechange=function(){L.readyState===4&&$.signal.removeEventListener("abort",W)}),L.send(typeof $._bodyInit>"u"?null:$._bodyInit)})}return A.polyfill=!0,a.fetch||(a.fetch=A,a.Headers=y,a.Request=I,a.Response=z),s.Headers=y,s.Request=I,s.Response=z,s.fetch=A,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}(ha,ha.exports)),ha.exports}(function(e,t){var n;if(typeof fetch=="function"&&(typeof Ni<"u"&&Ni.fetch?n=Ni.fetch:typeof window<"u"&&window.fetch?n=window.fetch:n=fetch),typeof XM<"u"&&typeof window>"u"){var r=n||YM();r.default&&(r=r.default),t.default=r,e.exports=t.default}})(Wd,Wd.exports);var Q1=Wd.exports;const G1=bl(Q1),wg=Ag({__proto__:null,default:G1},[Q1]);function Cg(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 Eg(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Cg(Object(n),!0).forEach(function(r){JM(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cg(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function JM(e,t,n){return t=ZM(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ZM(e){var t=e$(e,"string");return Gr(t)=="symbol"?t:t+""}function e$(e,t){if(Gr(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Gr(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Gr(e){"@babel/helpers - typeof";return Gr=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},Gr(e)}var jn;typeof fetch=="function"&&(typeof global<"u"&&global.fetch?jn=global.fetch:typeof window<"u"&&window.fetch?jn=window.fetch:jn=fetch);var Cs;q1()&&(typeof global<"u"&&global.XMLHttpRequest?Cs=global.XMLHttpRequest:typeof window<"u"&&windo
Line truncated
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(/phpCourse/exam/dist/assets/roboto-cyrillic-ext-300-normal-TzZWIuiO.woff2) format("woff2"),url(/phpCourse/exam/dist/assets/roboto-cyrillic-ext-300-normal-C7AGhuC_.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(/phpCourse/exam/dist/assets/roboto-cyrillic-300-normal-D6mjswgs.woff2) format("woff2"),url(/phpCourse/exam/dist/assets/roboto-cyrillic-300-normal-UX5PCucy.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(data:font/woff2;base64,d09GMgABAAAAAAXIABIAAAAACfAAAAVrAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGiYbIBw2BmAANAhYCYM8EQwKg3yDWwsQABIUATYCJAMcBCAFgnwHIAyCOhuKCFFUkNIAfhzkZNGn0qdP43KKULZY+sdzG0Q8m/mz8ICIX02oaFIVOdFc1ZzS76IBcWPjIIKlGKNV/3O6DmGQY/0cOocGnZS5fphLIQxybKVfXZEOY7haU7u7F7IfFUso/CdW3X0AsQAwPhW2Tv1UAStAFdXxNaLOVQhbV3MjxjWbYEg6T29vAH0LBI0IAFAOwUQQBA0IASEEECBAgjJIz94DRxICQAF43hlrbeqi1KrNWDS7iJq5s7MLu6lo2twSDwB8MeX1ukpLCgOMw0YLkOr9kP4yOQFmBnaVs6/PDelD1x3k7zLJIKcPa9jICQDV3nCwsdHToL5UBh0xSWGjAuGt7HnRX/rR3QgADckz3lSjnWSwElt5isGm6u0xoExmKmW0I8S8LOHMARJ6DYKqPWXUNmKGQxmzAmXNh4hpE0hYCsN8GxMgAKTK8A9lX+RjAvHOUAnfr08nEpIi0nsFmSqhpSANhYSeIg96Ha/FaUMP+9Fv9bA92s1XUHVeYvNR68e4DIERvCcwkgW6mthy89qYnIRKxVT+MQ4VOiRhB1Fc/hJGqqyu121wk7FSxdBV2XohSOOhBgkPxcWXl5x5TxG3T/vwjcHKmw1L2pcl3vZ41zJm3GMz008LrPS52KOW6UEeOjUQ3gFd+9Dr6Fpa2diNrwySMeOd17yJTSpKwp8qt1krwiDMfCCFhtogiMn7hVJ+PftGjxH87Wopy8DHbWSbp6H7O2bIo9beHti3u0IWr/zSfjiFrp/9ZA3YT1oqtgvJuPKpWAVBw4fmeUQBsACIAH6gEzCTw5D5cwxogqYrKHf4V8Qipj8eWRJduCSvwFc4MVoghZElK9/6KLD5C11Wvfvpto/fHjVyzTuBzW9prH47uOVdfcmEIGNnfJDXRw194w2p/xiG85iePRHDiq/uNf/H4IJPT+kyaaNM0tODH9n09OYmcuaS166o9f4ntzaXs0M5taWe9sjiqPV9gxef/alh6KD+Y+MXXv66YbBv2dd2r+u0suwDLfv832/WNFkyoY/0rzV8zdDG1EX1BgsjUxs0ILPG+85obrzkhmLxeKKdE4o5vBQxk/mvDL+EQ693tCaVb2rVOo8jEAORgas01GXXCDUW8y07gffcEKkJn6XFnMh7TZu5qlp1B5XJegAGdUFUqM5xgrGbWeIEkmNrvFX5N4CSVWo0bYZ03rFecqwIBIRr8o4yUJuNlyo6RpMKNRFYQkAofjkgQMhvKtBM3QQQQKuVWDf4wowp0Y6/+yr6AHjsp3hjgNdl+Kf/2P+/7q/kmwP40QAQsIoyIfC3+cfO9PJXQhj8LH0rM10pv8AoYFnuYEo5mTWYrsUOyjGOgQAQAQ1tNiYC+MihI8oPTMbaLlRgsl0jwvxJfW9SwW5Ql7UJE9rLz40w0iP0kFZqkdny5cozl01zmtJsNNv0keaQimS791NihsaJbiwW5YYrU3OYz2abI9ts82WbqTHDpU2XNleazUCFcnpjrnmKTAOONs82R36q5A7YeK0Fbehwo5Nt8skbKfPGuUq1p4mzBV/XmGlKTTNDnmyNSZstVxOK5JshW4k5ss3RhIH66aGXwUbopdHzf6gpOgB4BWZqFzqhpEMSV0JaUtywRA+4M9y+aYNqCXxJ7pTicb2aV11uuVNbnju0bbHq86cOaG1Va2YObt80+rSXCXiYuxZMbF8rZ+k9fMO6t6xT3sPfrkntSrFc4GwumNMtdGptbv/UMdxIxEo6/IGvd52EzHGHBsa57kooHcxzu1Tik1NAK6CJca47hNK0g26QB9VDKpqH8wQK0WrSeBqCUlbJHwHVm3PdKUY76EXyEl3OSm4TO5EGt2Z9mQMAAA==) format("woff2"),url(data:font/woff;base64,d09GRgABAAAAAATkAA4AAAAABWQAAQABAAAAAAAAAAAAAAAAAAAAAAAAAABHREVGAAABRAAAAB8AAAAmAEYABkdQT1MAAAFkAAAAIAAAACBEcExrR1NVQgAAAYQAAAA2AAAANpMNggRPUy8yAAABvAAAAE0AAABgku/g4WNtYXAAAAIMAAAAKQAAADQAER+gZ2FzcAAAAjgAAAAMAAAADAAIABNnbHlmAAACRAAAAREAAAEUGjc/4GhlYWQAAANYAAAANgAAADb8WdJpaGhlYQAAA5AAAAAfAAAAJAqpBZBobXR4AAADsAAAABwAAAAcE07/w2xvY2EAAAPMAAAAEAAAABAA0AE8bWF4cAAAA9wAAAAgAAAAIAI3A1xuYW1lAAAD/AAAANEAAAF8Gwg553Bvc3QAAATQAAAAEwAAACD/bQBkeNpjYGRgYuBjgAAxII8NiEGQCcjnAWEgmwEABhIATQAAAQAAAAoAEgAUAAFERkxUAAwAAAAAAAQAAAAA//8AAAABAAAACgAkACYABERGTFQAHmN5cmwAImdyZWsAImxhdG4AIgAAAAAACAAAAAAAAAAA//8AAAAAeNpjYGbJZ9RhYGVgYJ3FaszAwCgPoZkvMqQxMTAwADEUODCgAnd/f3cGB3lfeV82hn8MDGnss5gYFBgY54PkWKxYNzAoACEzAMRwCjwAAAB42mNgYGACYmYgFgGSjGCahUEBSLMAIZAv7/v/P4R8sBMszwAAVmAGzQAAAAABAAIACAAC//8AD3jaDcwBRANRGAfw//e99zppau/qGohum5kC7dpAAlQKRgC1pABCoFIjSkoFIQHIQsAABKEpGbUhAkAgZ4pAue8aAH4/GKwDKm/qUOhBLxIYAHzf+soSWVI+FclX+WiKGyXpyB0lPliJEEeRqf/WjBNVeevP8nZU4coxVwBGNQ51aBrdaQSgIdaZNGxx0s2OajflJDmTZusl3aDgWh2eitzG8nhOTGWiM7XbeW1+f720P/nkWVo12qDS5RMFN9fy/pAkh8bkTX6uJJI2jVMfGCt6h9dMCwb9AA0GnsqowBtOOblckZaP9u9nZZOXJhYW9QVNe9Kk+dW9uUL2sBzHchCHptC1OegZwIGRLPAPx7pVLQAAAAABAAAAAiMS7qbXil8PPPUAGQgAAAAAAMTwES4AAAAA1QFS4/og/dUJGghzAAAACQACAAAAAAAAeNpjYGRgYM/5x8PAwGn+S+GfK6cUUAQVsAMAbCsERwADjABkAAAAAAAAAAAB8gAABWoAfQK2AF8FsP6DAAAAKQApACkAKQBgAH4AigABAAAABwCPABYAWQAFAAEAAAAAAA4AAAIAAnIABgABeNpNjrkKwkAURY8r2lhbTmVn3ApBKxERQSxULAWXGIWQCYkL9n6Nn+GXeYshhMsdzrwdqHGhRKFcB/bguECTveMiDZ6OS7l4OccVWnwcVxX/Om6w5ccUS8ybhBsBV+4Y+nTpSYY5VgoI8TEsiDjhiSaEkmGddaXoh08qJzz1nvEUsRzlu2xYZtWqFD0IOZCwQz2kyloitB+PHgOGjHHXiPOz2rlZshQzoiO9kPA4EMsnZX39LAmBsiE3xXwidKfcYcmCKTNWbPS20W66fypGNRAAAAB42mNgZgCD/1kMKQxYAAAqHwHRAA==) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(/phpCourse/exam/dist/assets/roboto-greek-300-normal-ndiuWqED.woff2) format("woff2"),url(/phpCourse/exam/dist/assets/roboto-greek-300-normal-Dgbe-dnN.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(/phpCourse/exam/dist/assets/roboto-Line truncated
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Vendored
+2
-1
@@ -5,7 +5,8 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/phpCourse/exam/dist/vite.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Vite + React + TS</title>
|
||||
<script type="module" crossorigin src="/phpCourse/exam/dist/assets/index-BObjV29d.js"></script>
|
||||
<script type="module" crossorigin src="/phpCourse/exam/dist/assets/index-BJXidBC9.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/phpCourse/exam/dist/assets/index-D83Ey19k.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
|
||||
@@ -6,19 +6,21 @@ import Api from '../api/Api';
|
||||
import Header from '../components/Header/Header';
|
||||
import useGuestBookStore from '../store/store';
|
||||
|
||||
export const Route = createRootRouteWithContext<{ queryClient: QueryClient }>()({
|
||||
component: () => {
|
||||
//FIXME: REAUTH HERE
|
||||
const token = useGuestBookStore((state) => state.token);
|
||||
Api.token = token;
|
||||
const Root = () => {
|
||||
//FIXME: REAUTH HERE
|
||||
const token = useGuestBookStore((state) => state.token);
|
||||
Api.token = token;
|
||||
|
||||
return (
|
||||
<>
|
||||
<Header />
|
||||
<Toolbar />
|
||||
<Outlet />
|
||||
{process.env.NODE_ENV === 'development' && <TanStackRouterDevtools />}
|
||||
</>
|
||||
);
|
||||
},
|
||||
return (
|
||||
<>
|
||||
<Header />
|
||||
<Toolbar />
|
||||
<Outlet />
|
||||
{process.env.NODE_ENV === 'development' && <TanStackRouterDevtools />}
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
export const Route = createRootRouteWithContext<{ queryClient: QueryClient }>()({
|
||||
component: Root,
|
||||
});
|
||||
@@ -7,10 +7,11 @@ import { TFunction } from 'i18next';
|
||||
* @param t Optional translation function, defautls to pass through
|
||||
* @returns Translated error or inputs if t as unspecified
|
||||
*/
|
||||
//eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
const handleError = (
|
||||
//eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
error: any,
|
||||
context?: string,
|
||||
//eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
t: TFunction<'translation', undefined> | ((..._in: any) => any) = (..._in: any) => _in
|
||||
): string => {
|
||||
if (!error) return t('', {});
|
||||
|
||||
Reference in new issue
Block a user