Update
This commit is contained in:
1 parent
4dd2ba9d9d
commit
f7be617e1d
7 files changed
+1345
-792
No files matched your search
@@ -0,0 +1,781 @@
|
||||
function N2(e,t){for(var r=0;r<t.length;r++){const a=t[r];if(typeof a!="string"&&!Array.isArray(a)){for(const s in a)if(s!=="default"&&!(s in e)){const l=Object.getOwnPropertyDescriptor(a,s);l&&Object.defineProperty(e,s,l.get?l:{enumerable:!0,get:()=>a[s]})}}}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 s of document.querySelectorAll('link[rel="modulepreload"]'))a(s);new MutationObserver(s=>{for(const l of s)if(l.type==="childList")for(const f of l.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&a(f)}).observe(document,{childList:!0,subtree:!0});function r(s){const l={};return s.integrity&&(l.integrity=s.integrity),s.referrerPolicy&&(l.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?l.credentials="include":s.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function a(s){if(s.ep)return;s.ep=!0;const l=r(s);fetch(s.href,l)}})();function Xx(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Il(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function a(){return this instanceof a?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(a){var s=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(r,a,s.get?s:{enumerable:!0,get:function(){return e[a]}})}),r}var Yx={exports:{}},ld={},Gx={exports:{}},mt={};/**
|
||||
* @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 Ll=Symbol.for("react.element"),I2=Symbol.for("react.portal"),L2=Symbol.for("react.fragment"),j2=Symbol.for("react.strict_mode"),D2=Symbol.for("react.profiler"),z2=Symbol.for("react.provider"),F2=Symbol.for("react.context"),V2=Symbol.for("react.forward_ref"),W2=Symbol.for("react.suspense"),B2=Symbol.for("react.memo"),H2=Symbol.for("react.lazy"),rm=Symbol.iterator;function X2(e){return e===null||typeof e!="object"?null:(e=rm&&e[rm]||e["@@iterator"],typeof e=="function"?e:null)}var Ux={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},$x=Object.assign,qx={};function es(e,t,r){this.props=e,this.context=t,this.refs=qx,this.updater=r||Ux}es.prototype.isReactComponent={};es.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")};es.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Kx(){}Kx.prototype=es.prototype;function ug(e,t,r){this.props=e,this.context=t,this.refs=qx,this.updater=r||Ux}var cg=ug.prototype=new Kx;cg.constructor=ug;$x(cg,es.prototype);cg.isPureReactComponent=!0;var nm=Array.isArray,Zx=Object.prototype.hasOwnProperty,dg={current:null},Qx={key:!0,ref:!0,__self:!0,__source:!0};function Jx(e,t,r){var a,s={},l=null,f=null;if(t!=null)for(a in t.ref!==void 0&&(f=t.ref),t.key!==void 0&&(l=""+t.key),t)Zx.call(t,a)&&!Qx.hasOwnProperty(a)&&(s[a]=t[a]);var b=arguments.length-2;if(b===1)s.children=r;else if(1<b){for(var S=Array(b),T=0;T<b;T++)S[T]=arguments[T+2];s.children=S}if(e&&e.defaultProps)for(a in b=e.defaultProps,b)s[a]===void 0&&(s[a]=b[a]);return{$$typeof:Ll,type:e,key:l,ref:f,props:s,_owner:dg.current}}function Y2(e,t){return{$$typeof:Ll,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function fg(e){return typeof e=="object"&&e!==null&&e.$$typeof===Ll}function G2(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var om=/\/+/g;function Ff(e,t){return typeof e=="object"&&e!==null&&e.key!=null?G2(""+e.key):t.toString(36)}function zu(e,t,r,a,s){var l=typeof e;(l==="undefined"||l==="boolean")&&(e=null);var f=!1;if(e===null)f=!0;else switch(l){case"string":case"number":f=!0;break;case"object":switch(e.$$typeof){case Ll:case I2:f=!0}}if(f)return f=e,s=s(f),e=a===""?"."+Ff(f,0):a,nm(s)?(r="",e!=null&&(r=e.replace(om,"$&/")+"/"),zu(s,t,r,"",function(T){return T})):s!=null&&(fg(s)&&(s=Y2(s,r+(!s.key||f&&f.key===s.key?"":(""+s.key).replace(om,"$&/")+"/")+e)),t.push(s)),1;if(f=0,a=a===""?".":a+":",nm(e))for(var b=0;b<e.length;b++){l=e[b];var S=a+Ff(l,b);f+=zu(l,t,r,S,s)}else if(S=X2(e),typeof S=="function")for(e=S.call(e),b=0;!(l=e.next()).done;)l=l.value,S=a+Ff(l,b++),f+=zu(l,t,r,S,s);else if(l==="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 f}function pu(e,t,r){if(e==null)return e;var a=[],s=0;return zu(e,a,"","",function(l){return t.call(r,l,s++)}),a}function U2(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Lr={current:null},Fu={transition:null},$2={ReactCurrentDispatcher:Lr,ReactCurrentBatchConfig:Fu,ReactCurrentOwner:dg};mt.Children={map:pu,forEach:function(e,t,r){pu(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return pu(e,function(){t++}),t},toArray:function(e){return pu(e,function(t){return t})||[]},only:function(e){if(!fg(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};mt.Component=es;mt.Fragment=L2;mt.Profiler=D2;mt.PureComponent=ug;mt.StrictMode=j2;mt.Suspense=W2;mt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$2;mt.cloneElement=function(e,t,r){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=$x({},e.props),s=e.key,l=e.ref,f=e._owner;if(t!=null){if(t.ref!==void 0&&(l=t.ref,f=dg.current),t.key!==void 0&&(s=""+t.key),e.type&&e.type.defaultProps)var b=e.type.defaultProps;for(S in t)Zx.call(t,S)&&!Qx.hasOwnProperty(S)&&(a[S]=t[S]===void 0&&b!==void 0?b[S]:t[S])}var S=arguments.length-2;if(S===1)a.children=r;else if(1<S){b=Array(S);for(var T=0;T<S;T++)b[T]=arguments[T+2];a.children=b}return{$$typeof:Ll,type:e.type,key:s,ref:l,props:a,_owner:f}};mt.createContext=function(e){return e={$$typeof:F2,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:z2,_conLine 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 q2=ee,K2=Symbol.for("react.element"),Z2=Symbol.for("react.fragment"),Q2=Object.prototype.hasOwnProperty,J2=q2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,eE={key:!0,ref:!0,__self:!0,__source:!0};function ew(e,t,r){var a,s={},l=null,f=null;r!==void 0&&(l=""+r),t.key!==void 0&&(l=""+t.key),t.ref!==void 0&&(f=t.ref);for(a in t)Q2.call(t,a)&&!eE.hasOwnProperty(a)&&(s[a]=t[a]);if(e&&e.defaultProps)for(a in t=e.defaultProps,t)s[a]===void 0&&(s[a]=t[a]);return{$$typeof:K2,type:e,key:l,ref:f,props:s,_owner:J2.current}}ld.Fragment=Z2;ld.jsx=ew;ld.jsxs=ew;Yx.exports=ld;var me=Yx.exports,Ip={},tw={exports:{}},ln={},rw={exports:{}},nw={};/**
|
||||
* @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(he,ue){var ge=he.length;he.push(ue);e:for(;0<ge;){var ye=ge-1>>>1,Te=he[ye];if(0<s(Te,ue))he[ye]=ue,he[ge]=Te,ge=ye;else break e}}function r(he){return he.length===0?null:he[0]}function a(he){if(he.length===0)return null;var ue=he[0],ge=he.pop();if(ge!==ue){he[0]=ge;e:for(var ye=0,Te=he.length,Re=Te>>>1;ye<Re;){var De=2*(ye+1)-1,Le=he[De],Oe=De+1,Xe=he[Oe];if(0>s(Le,ge))Oe<Te&&0>s(Xe,Le)?(he[ye]=Xe,he[Oe]=ge,ye=Oe):(he[ye]=Le,he[De]=ge,ye=De);else if(Oe<Te&&0>s(Xe,ge))he[ye]=Xe,he[Oe]=ge,ye=Oe;else break e}}return ue}function s(he,ue){var ge=he.sortIndex-ue.sortIndex;return ge!==0?ge:he.id-ue.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var f=Date,b=f.now();e.unstable_now=function(){return f.now()-b}}var S=[],T=[],O=1,j=null,F=3,z=!1,D=!1,R=!1,P=typeof setTimeout=="function"?setTimeout:null,y=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 v(he){for(var ue=r(T);ue!==null;){if(ue.callback===null)a(T);else if(ue.startTime<=he)a(T),ue.sortIndex=ue.expirationTime,t(S,ue);else break;ue=r(T)}}function g(he){if(R=!1,v(he),!D)if(r(S)!==null)D=!0,ve(m);else{var ue=r(T);ue!==null&&Se(g,ue.startTime-he)}}function m(he,ue){D=!1,R&&(R=!1,y(X),X=-1),z=!0;var ge=F;try{for(v(ue),j=r(S);j!==null&&(!(j.expirationTime>ue)||he&&!U());){var ye=j.callback;if(typeof ye=="function"){j.callback=null,F=j.priorityLevel;var Te=ye(j.expirationTime<=ue);ue=e.unstable_now(),typeof Te=="function"?j.callback=Te:j===r(S)&&a(S),v(ue)}else a(S);j=r(S)}if(j!==null)var Re=!0;else{var De=r(T);De!==null&&Se(g,De.startTime-ue),Re=!1}return Re}finally{j=null,F=ge,z=!1}}var _=!1,M=null,X=-1,H=5,B=-1;function U(){return!(e.unstable_now()-B<H)}function K(){if(M!==null){var he=e.unstable_now();B=he;var ue=!0;try{ue=M(!0,he)}finally{ue?ne():(_=!1,M=null)}}else _=!1}var ne;if(typeof p=="function")ne=function(){p(K)};else if(typeof MessageChannel<"u"){var oe=new MessageChannel,fe=oe.port2;oe.port1.onmessage=K,ne=function(){fe.postMessage(null)}}else ne=function(){P(K,0)};function ve(he){M=he,_||(_=!0,ne())}function Se(he,ue){X=P(function(){he(e.unstable_now())},ue)}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(he){he.callback=null},e.unstable_continueExecution=function(){D||z||(D=!0,ve(m))},e.unstable_forceFrameRate=function(he){0>he||125<he?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):H=0<he?Math.floor(1e3/he):5},e.unstable_getCurrentPriorityLevel=function(){return F},e.unstable_getFirstCallbackNode=function(){return r(S)},e.unstable_next=function(he){switch(F){case 1:case 2:case 3:var ue=3;break;default:ue=F}var ge=F;F=ue;try{return he()}finally{F=ge}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(he,ue){switch(he){case 1:case 2:case 3:case 4:case 5:break;default:he=3}var ge=F;F=he;try{return ue()}finally{F=ge}},e.unstable_scheduleCallback=function(he,ue,ge){var ye=e.unstable_now();switch(typeof ge=="object"&&ge!==null?(ge=ge.delay,ge=typeof ge=="number"&&0<ge?ye+ge:ye):ge=ye,he){case 1:var Te=-1;break;case 2:Te=250;break;case 5:Te=1073741823;break;case 4:Te=1e4;break;default:Te=5e3}return Te=ge+Te,he={id:O++,callback:ue,priorityLevel:he,startTime:ge,expirationTime:Te,sortIndex:-1},ge>ye?(he.sortIndex=ge,t(T,he),r(S)===null&&he===r(T)&&(R?(y(X),X=-1):R=!0,Se(g,ge-ye))):(he.sortIndex=Te,t(S,he),D||z||(D=!0,ve(m))),he},e.unstable_shouldYield=U,e.unstable_wrapCallback=function(he){var ue=F;return function(){var ge=F;F=ue;try{return he.apply(this,arguments)}finally{F=ge}}}})(nw);rw.exports=nw;var tE=rw.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 ow=ee,an=tE;function Ye(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);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 aw=new Set,il={};function Ga(e,t){zi(e,t),zi(e+"Capture",t)}function zi(e,t){for(il[e]=t,e=0;e<t.length;e++)aw.add(t[e])}var Co=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Lp=Object.prototype.hasOwnProperty,rE=/^[: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]*$/,am={},im={};function nE(e){return Lp.call(im,e)?!0:Lp.call(am,e)?!1:rE.test(e)?im[e]=!0:(am[e]=!0,!1)}function oE(e,t,r,a){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return a?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function aE(e,t,r,a){if(t===null||typeof t>"u"||oE(e,t,r,a))return!0;if(a)return!1;if(r!==null)switch(r.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 jr(e,t,r,a,s,l,f){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=a,this.attributeNamespace=s,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=l,this.removeEmptyString=f}var yr={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){yr[e]=new jr(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];yr[t]=new jr(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){yr[e]=new jr(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){yr[e]=new jr(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){yr[e]=new jr(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){yr[e]=new jr(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){yr[e]=new jr(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){yr[e]=new jr(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){yr[e]=new jr(e,5,!1,e.toLowerCase(),null,!1,!1)});var hg=/[\-:]([a-z])/g;function gg(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(hg,gg);yr[t]=new jr(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(hg,gg);yr[t]=new jr(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(hg,gg);yr[t]=new jr(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){yr[e]=new jr(e,1,!1,e.toLowerCase(),null,!1,!1)});yr.xlinkHref=new jr("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){yr[e]=new jr(e,1,!1,e.toLowerCase(),null,!0,!0)});function bg(e,t,r,a){var s=yr.hasOwnProperty(t)?yr[t]:null;(s!==null?s.type!==0:a||!(2<t.length)||t[0]!=="o"&&t[0]!=
Line truncated
|
||||
`+Vf+e}var Wf=!1;function Bf(e,t){if(!e||Wf)return"";Wf=!0;var r=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(T){var a=T}Reflect.construct(e,[],t)}else{try{t.call()}catch(T){a=T}e.call(t.prototype)}else{try{throw Error()}catch(T){a=T}e()}}catch(T){if(T&&a&&typeof T.stack=="string"){for(var s=T.stack.split(`
|
||||
`),l=a.stack.split(`
|
||||
`),f=s.length-1,b=l.length-1;1<=f&&0<=b&&s[f]!==l[b];)b--;for(;1<=f&&0<=b;f--,b--)if(s[f]!==l[b]){if(f!==1||b!==1)do if(f--,b--,0>b||s[f]!==l[b]){var S=`
|
||||
`+s[f].replace(" at new "," at ");return e.displayName&&S.includes("<anonymous>")&&(S=S.replace("<anonymous>",e.displayName)),S}while(1<=f&&0<=b);break}}}finally{Wf=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Vs(e):""}function iE(e){switch(e.tag){case 5:return Vs(e.type);case 16:return Vs("Lazy");case 13:return Vs("Suspense");case 19:return Vs("SuspenseList");case 0:case 2:case 15:return e=Bf(e.type,!1),e;case 11:return e=Bf(e.type.render,!1),e;case 1:return e=Bf(e.type,!0),e;default:return""}}function Fp(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 hi:return"Fragment";case pi:return"Portal";case jp:return"Profiler";case vg:return"StrictMode";case Dp:return"Suspense";case zp:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case sw:return(e.displayName||"Context")+".Consumer";case iw:return(e._context.displayName||"Context")+".Provider";case mg:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case yg:return t=e.displayName||null,t!==null?t:Fp(e.type)||"Memo";case Xo:t=e._payload,e=e._init;try{return Fp(e(t))}catch{}}return null}function sE(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 Fp(t);case 8:return t===vg?"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 la(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function uw(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function lE(e){var t=uw(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var s=r.get,l=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(f){a=""+f,l.call(this,f)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return a},setValue:function(f){a=""+f},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function gu(e){e._valueTracker||(e._valueTracker=lE(e))}function cw(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),a="";return e&&(a=uw(e)?e.checked?"true":"false":e.value),e=a,e!==r?(t.setValue(e),!0):!1}function dc(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 Vp(e,t){var r=t.checked;return qt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function lm(e,t){var r=t.defaultValue==null?"":t.defaultValue,a=t.checked!=null?t.checked:t.defaultChecked;r=la(t.value!=null?t.value:r),e._wrapperState={initialChecked:a,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function dw(e,t){t=t.checked,t!=null&&bg(e,"checked",t,!1)}function Wp(e,t){dw(e,t);var r=la(t.value),a=t.type;if(r!=null)a==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(a==="submit"||a==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Bp(e,t.type,r):t.hasOwnProperty("defaultValue")&&Bp(e,t.type,la(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function um(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var a=t.type;if(!(a!=="submit"&&a!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function Bp(e,t,r){(t!=="number"||dc(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Ws=Array.isArray;function _i(e,t,r,a){if(e=e.options,t){t={};for(var s=0;s<r.length;s++)t["$"+r[s]]=!0;for(r=0;r<e.length;r++)s=t.hasOwnProperty("$"+e[r].value),e[r].selected!==s&&(e[r].selected=s),s&&a&&(e[r].defaultSelected=!0)}else{for(r=""+la(r),t=null,s=0;s<e.length;s++){if(e[s].value===r){e[s].selected=!0,a&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function Hp(e,t){if(t.dan
Line truncated
|
||||
`).replace(mM,"")}function Su(e,t,r){if(t=Rm(t),Rm(e)!==t&&r)throw Error(Ye(425))}function yc(){}var rh=null,nh=null;function oh(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 ah=typeof setTimeout=="function"?setTimeout:void 0,yM=typeof clearTimeout=="function"?clearTimeout:void 0,Nm=typeof Promise=="function"?Promise:void 0,xM=typeof queueMicrotask=="function"?queueMicrotask:typeof Nm<"u"?function(e){return Nm.resolve(null).then(e).catch(wM)}:ah;function wM(e){setTimeout(function(){throw e})}function tp(e,t){var r=t,a=0;do{var s=r.nextSibling;if(e.removeChild(r),s&&s.nodeType===8)if(r=s.data,r==="/$"){if(a===0){e.removeChild(s),dl(t);return}a--}else r!=="$"&&r!=="$?"&&r!=="$!"||a++;r=s}while(r);dl(t)}function ta(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 Im(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"){if(t===0)return e;t--}else r==="/$"&&t++}e=e.previousSibling}return null}var rs=Math.random().toString(36).slice(2),to="__reactFiber$"+rs,bl="__reactProps$"+rs,So="__reactContainer$"+rs,ih="__reactEvents$"+rs,CM="__reactListeners$"+rs,SM="__reactHandles$"+rs;function Aa(e){var t=e[to];if(t)return t;for(var r=e.parentNode;r;){if(t=r[So]||r[to]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=Im(e);e!==null;){if(r=e[to])return r;e=Im(e)}return t}e=r,r=e.parentNode}return null}function zl(e){return e=e[to]||e[So],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function mi(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(Ye(33))}function pd(e){return e[bl]||null}var sh=[],yi=-1;function fa(e){return{current:e}}function Ft(e){0>yi||(e.current=sh[yi],sh[yi]=null,yi--)}function Rt(e,t){yi++,sh[yi]=e.current,e.current=t}var ua={},Or=fa(ua),$r=fa(!1),ja=ua;function Fi(e,t){var r=e.type.contextTypes;if(!r)return ua;var a=e.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===t)return a.__reactInternalMemoizedMaskedChildContext;var s={},l;for(l in r)s[l]=t[l];return a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=s),s}function qr(e){return e=e.childContextTypes,e!=null}function xc(){Ft($r),Ft(Or)}function Lm(e,t,r){if(Or.current!==ua)throw Error(Ye(168));Rt(Or,t),Rt($r,r)}function Jw(e,t,r){var a=e.stateNode;if(t=t.childContextTypes,typeof a.getChildContext!="function")return r;a=a.getChildContext();for(var s in a)if(!(s in t))throw Error(Ye(108,sE(e)||"Unknown",s));return qt({},r,a)}function wc(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ua,ja=Or.current,Rt(Or,e),Rt($r,$r.current),!0}function jm(e,t,r){var a=e.stateNode;if(!a)throw Error(Ye(169));r?(e=Jw(e,t,ja),a.__reactInternalMemoizedMergedChildContext=e,Ft($r),Ft(Or),Rt(Or,e)):Ft($r),Rt($r,r)}var bo=null,hd=!1,rp=!1;function e1(e){bo===null?bo=[e]:bo.push(e)}function kM(e){hd=!0,e1(e)}function pa(){if(!rp&&bo!==null){rp=!0;var e=0,t=Ot;try{var r=bo;for(Ot=1;e<r.length;e++){var a=r[e];do a=a(!0);while(a!==null)}bo=null,hd=!1}catch(s){throw bo!==null&&(bo=bo.slice(e+1)),Tw(wg,pa),s}finally{Ot=t,rp=!1}}return null}var xi=[],wi=0,Cc=null,Sc=0,gn=[],bn=0,Da=null,vo=1,mo="";function _a(e,t){xi[wi++]=Sc,xi[wi++]=Cc,Cc=e,Sc=t}function t1(e,t,r){gn[bn++]=vo,gn[bn++]=mo,gn[bn++]=Da,Da=e;var a=vo;e=mo;var s=32-Ln(a)-1;a&=~(1<<s),r+=1;var l=32-Ln(t)+s;if(30<l){var f=s-s%5;l=(a&(1<<f)-1).toString(32),a>>=f,s-=f,vo=1<<32-Ln(t)+s|r<<s|a,mo=l+e}else vo=1<<l|r<<s|a,mo=e}function Eg(e){e.return!==null&&(_a(e,1),t1(e,1,0))}function Mg(e){for(;e===Cc;)Cc=xi[--wi],xi[wi]=null,Sc=xi[--wi],xi[wi]=null;for(;e===Da;)Da=gn[--bn],gn[bn]=null,mo=gn[--bn],gn[bn]=null,vo=gn[--bn],gn[bn]=null}var tn=null,en=null,Bt=!1,Rn=null;function r1(e,t){var r=vn(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,t=e.deletions,t===null?(e.deletions=[r],e.flags|=16):t.push(r)}function Dm(e,t){switch(e.tag){case 5:var r=e.type;return t=t.nodeType!==1||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,tn=e,en=ta(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,tn=e,en=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(r=Da!==null?{id:vo,overflow:mo}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},r=vn(18,null,null,0),r.stateNode=t,r.return=e,e.child=r,tn=e,en=null,!0):!1;default:return!1}}function lh(e){return(e.mode&1)!==0&&(e.flags&128)===0}function uh(e){if(Bt){var t=en;if(t){var r=t;if(!Dm(e,t)){if(lh(e))throw Error(Ye(418));t=ta(r.nextSibling);var a=tn;t&&Dm(e,t)?r1(a,r):(e.flags=e.flags&-4097|2,Bt=!1,tn=e)}}else{if(lh(e))throw Error(Ye(418));e.flags=e.flags&-4097|2,Bt=!1,tn=e}}}function zm(e){
Line truncated
|
||||
Error generating stack: `+l.message+`
|
||||
`+l.stack}return{value:e,source:t,stack:s,digest:null}}function sp(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function ph(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var NM=typeof WeakMap=="function"?WeakMap:Map;function E1(e,t,r){r=yo(-1,r),r.tag=3,r.payload={element:null};var a=t.value;return r.callback=function(){Mc||(Mc=!0,Sh=a),ph(e,t)},r}function M1(e,t,r){r=yo(-1,r),r.tag=3;var a=e.type.getDerivedStateFromError;if(typeof a=="function"){var s=t.value;r.payload=function(){return a(s)},r.callback=function(){ph(e,t)}}var l=e.stateNode;return l!==null&&typeof l.componentDidCatch=="function"&&(r.callback=function(){ph(e,t),typeof a!="function"&&(na===null?na=new Set([this]):na.add(this));var f=t.stack;this.componentDidCatch(t.value,{componentStack:f!==null?f:""})}),r}function Gm(e,t,r){var a=e.pingCache;if(a===null){a=e.pingCache=new NM;var s=new Set;a.set(t,s)}else s=a.get(t),s===void 0&&(s=new Set,a.set(t,s));s.has(r)||(s.add(r),e=UM.bind(null,e,t,r),t.then(e,e))}function Um(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 $m(e,t,r,a,s){return e.mode&1?(e.flags|=65536,e.lanes=s,e):(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=yo(-1,1),t.tag=2,ra(r,t,1))),r.lanes|=1),e)}var IM=Oo.ReactCurrentOwner,Gr=!1;function Nr(e,t,r,a){t.child=e===null?u1(t,null,r,a):Wi(t,e.child,r,a)}function qm(e,t,r,a,s){r=r.render;var l=t.ref;return Mi(t,s),a=Bg(e,t,r,a,l,s),r=Hg(),e!==null&&!Gr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,To(e,t,s)):(Bt&&r&&Eg(t),t.flags|=1,Nr(e,t,a,s),t.child)}function Km(e,t,r,a,s){if(e===null){var l=r.type;return typeof l=="function"&&!Jg(l)&&l.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=l,R1(e,t,l,a,s)):(e=qu(r.type,null,a,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(l=e.child,!(e.lanes&s)){var f=l.memoizedProps;if(r=r.compare,r=r!==null?r:pl,r(f,a)&&e.ref===t.ref)return To(e,t,s)}return t.flags|=1,e=aa(l,a),e.ref=t.ref,e.return=t,t.child=e}function R1(e,t,r,a,s){if(e!==null){var l=e.memoizedProps;if(pl(l,a)&&e.ref===t.ref)if(Gr=!1,t.pendingProps=a=l,(e.lanes&s)!==0)e.flags&131072&&(Gr=!0);else return t.lanes=e.lanes,To(e,t,s)}return hh(e,t,r,a,s)}function N1(e,t,r){var a=t.pendingProps,s=a.children,l=e!==null?e.memoizedState:null;if(a.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Rt(ki,Jr),Jr|=r;else{if(!(r&1073741824))return e=l!==null?l.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Rt(ki,Jr),Jr|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},a=l!==null?l.baseLanes:r,Rt(ki,Jr),Jr|=a}else l!==null?(a=l.baseLanes|r,t.memoizedState=null):a=r,Rt(ki,Jr),Jr|=a;return Nr(e,t,s,r),t.child}function I1(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function hh(e,t,r,a,s){var l=qr(r)?ja:Or.current;return l=Fi(t,l),Mi(t,s),r=Bg(e,t,r,a,l,s),a=Hg(),e!==null&&!Gr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,To(e,t,s)):(Bt&&a&&Eg(t),t.flags|=1,Nr(e,t,r,s),t.child)}function Zm(e,t,r,a,s){if(qr(r)){var l=!0;wc(t)}else l=!1;if(Mi(t,s),t.stateNode===null)Gu(e,t),s1(t,r,a),fh(t,r,a,s),a=!0;else if(e===null){var f=t.stateNode,b=t.memoizedProps;f.props=b;var S=f.context,T=r.contextType;typeof T=="object"&&T!==null?T=Cn(T):(T=qr(r)?ja:Or.current,T=Fi(t,T));var O=r.getDerivedStateFromProps,j=typeof O=="function"||typeof f.getSnapshotBeforeUpdate=="function";j||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(b!==a||S!==T)&&Bm(t,f,a,T),Yo=!1;var F=t.memoizedState;f.state=F,Pc(t,a,f,s),S=t.memoizedState,b!==a||F!==S||$r.current||Yo?(typeof O=="function"&&(dh(t,r,O,a),S=t.memoizedState),(b=Yo||Wm(t,r,b,a,F,S,T))?(j||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount()),typeof f.componentDidMount=="function"&&(t.flags|=4194308)):(typeof f.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=S),f.props=a,f.state=S,f.context=T,a=b):(typeof f.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{f=t.stateNode,a1(e,t),b=t.memoizedProps,T=t.type===t.elementType?b:En(t.type,b),f.props=T,j=t.pendingProps,F=f.context,S=r.contextType,typeof S=="object"&&S!==null?S=Cn(S):(S=qr(r)?ja:Or.current,S=Fi(t,S));var z=r.getDerivedStateFromProps;(O=typeof z=="function"||typeof f.getSnapshotBeforeUpdate=="function")||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(b!==j||F!==S)&&Bm(t,f,a,S),Yo=!1,F=t.memoizedState,f.state=F,Pc(t,a,f,s);var D=t.memoizedS
Line truncated
|
||||
* @remix-run/router v1.10.0
|
||||
*
|
||||
* Copyright (c) Remix Software Inc.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE.md file in the root directory of this source tree.
|
||||
*
|
||||
* @license MIT
|
||||
*/function Sl(){return Sl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},Sl.apply(this,arguments)}var Zo;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Zo||(Zo={}));const dy="popstate";function oR(e){e===void 0&&(e={});function t(a,s){let{pathname:l,search:f,hash:b}=a.location;return _h("",{pathname:l,search:f,hash:b},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function r(a,s){return typeof s=="string"?s:Lc(s)}return iR(t,r,null,e)}function $t(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function o0(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function aR(){return Math.random().toString(36).substr(2,8)}function fy(e,t){return{usr:e.state,key:e.key,idx:t}}function _h(e,t,r,a){return r===void 0&&(r=null),Sl({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?ns(t):t,{state:r,key:t&&t.key||a||aR()})}function Lc(e){let{pathname:t="/",search:r="",hash:a=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),a&&a!=="#"&&(t+=a.charAt(0)==="#"?a:"#"+a),t}function ns(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let a=e.indexOf("?");a>=0&&(t.search=e.substr(a),e=e.substr(0,a)),e&&(t.pathname=e)}return t}function iR(e,t,r,a){a===void 0&&(a={});let{window:s=document.defaultView,v5Compat:l=!1}=a,f=s.history,b=Zo.Pop,S=null,T=O();T==null&&(T=0,f.replaceState(Sl({},f.state,{idx:T}),""));function O(){return(f.state||{idx:null}).idx}function j(){b=Zo.Pop;let P=O(),y=P==null?null:P-T;T=P,S&&S({action:b,location:R.location,delta:y})}function F(P,y){b=Zo.Push;let p=_h(R.location,P,y);r&&r(p,P),T=O()+1;let v=fy(p,T),g=R.createHref(p);try{f.pushState(v,"",g)}catch(m){if(m instanceof DOMException&&m.name==="DataCloneError")throw m;s.location.assign(g)}l&&S&&S({action:b,location:R.location,delta:1})}function z(P,y){b=Zo.Replace;let p=_h(R.location,P,y);r&&r(p,P),T=O();let v=fy(p,T),g=R.createHref(p);f.replaceState(v,"",g),l&&S&&S({action:b,location:R.location,delta:0})}function D(P){let y=s.location.origin!=="null"?s.location.origin:s.location.href,p=typeof P=="string"?P:Lc(P);return $t(y,"No window.location.(origin|href) available to create URL for href: "+p),new URL(p,y)}let R={get action(){return b},get location(){return e(s,f)},listen(P){if(S)throw new Error("A history only accepts one active listener");return s.addEventListener(dy,j),S=P,()=>{s.removeEventListener(dy,j),S=null}},createHref(P){return t(s,P)},createURL:D,encodeLocation(P){let y=D(P);return{pathname:y.pathname,search:y.search,hash:y.hash}},push:F,replace:z,go(P){return f.go(P)}};return R}var py;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(py||(py={}));function sR(e,t,r){r===void 0&&(r="/");let a=typeof t=="string"?ns(t):t,s=kl(a.pathname||"/",r);if(s==null)return null;let l=oC(e);lR(l);let f=null;for(let b=0;f==null&&b<l.length;++b)f=vR(l[b],yR(s));return f}function oC(e,t,r,a){t===void 0&&(t=[]),r===void 0&&(r=[]),a===void 0&&(a="");let s=(l,f,b)=>{let S={relativePath:b===void 0?l.path||"":b,caseSensitive:l.caseSensitive===!0,childrenIndex:f,route:l};S.relativePath.startsWith("/")&&($t(S.relativePath.startsWith(a),'Absolute route path "'+S.relativePath+'" nested under path '+('"'+a+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),S.relativePath=S.relativePath.slice(a.length));let T=ia([a,S.relativePath]),O=r.concat(S);l.children&&l.children.length>0&&($t(l.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+T+'".')),oC(l.children,t,O,T)),!(l.path==null&&!l.index)&&t.push({path:T,score:gR(T,l.index),routesMeta:O})};return e.forEach((l,f)=>{var b;if(l.path===""||!((b=l.path)!=null&&b.includes("?")))s(l,f);else for(let S of aC(l.path))s(l,f,S)}),t}function aC(e){let t=e.split("/");if(t.length===0)return[];let[r,...a]=t,s=r.endsWith("?"),l=r.replace(/\?$/,"");if(a.length===0)return s?[l,""]:[l];let f=aC(a.join("/")),b=[];return b.push(...f.map(S=>S===""?l:[l,S].join("/"))),s&&b.push(...f),b.map(S=>e.startsWith("/")&&S===""?"/":S)}function lR(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:bR(t.routesMeta.map(a=>a.childrenIndex),r.routesMeta.map(a=>a.childrenIndex)))}const uR=/^:\w+$/,cR=3,dR=2,fR=1,pR=10,hR=-2,hy=e=>e==="*";function gR(e,t){let r=e.split("/"),a=r.length;return r.some(hy)&&(a+=hR),t&&(a+=dR),r.filter(s=>!hy(s)).reduce((s,l)=>s+(uR.test(l)?cR:l===""?fR:pR),a)}function bR(e,t){return e.length===t.length&&e.slice(0,-1).every((a,s)=>a===t[s])?e[e.length-1]-t[t.length-1]:0}function vR(e,t){let{routesMeta:r}=e,a={},s="/",l=[];for(let f=0;f<r.length;++f){let b=r[f],S=f===r.length-1,T=s==="/"?t:t.slice(s.length)||"/",O=Oh({path:b.relativePath,caseSensitive:b.caseSensitive,end:S},T);if(!O)return null;Object.assign(a,O.paLine truncated
|
||||
* React Router v6.17.0
|
||||
*
|
||||
* Copyright (c) Remix Software Inc.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE.md file in the root directory of this source tree.
|
||||
*
|
||||
* @license MIT
|
||||
*/function jc(){return jc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},jc.apply(this,arguments)}const kd=ee.createContext(null),sC=ee.createContext(null),$a=ee.createContext(null),Td=ee.createContext(null),ha=ee.createContext({outlet:null,matches:[],isDataRoute:!1}),lC=ee.createContext(null);function OR(e,t){let{relative:r}=t===void 0?{}:t;os()||$t(!1);let{basename:a,navigator:s}=ee.useContext($a),{hash:l,pathname:f,search:b}=Pd(e,{relative:r}),S=f;return a!=="/"&&(S=f==="/"?a:ia([a,f])),s.createHref({pathname:S,search:b,hash:l})}function os(){return ee.useContext(Td)!=null}function qa(){return os()||$t(!1),ee.useContext(Td).location}function uC(e){ee.useContext($a).static||ee.useLayoutEffect(e)}function cC(){let{isDataRoute:e}=ee.useContext(ha);return e?WR():AR()}function AR(){os()||$t(!1);let e=ee.useContext(kd),{basename:t,navigator:r}=ee.useContext($a),{matches:a}=ee.useContext(ha),{pathname:s}=qa(),l=JSON.stringify(a0(a).map(S=>S.pathnameBase)),f=ee.useRef(!1);return uC(()=>{f.current=!0}),ee.useCallback(function(S,T){if(T===void 0&&(T={}),!f.current)return;if(typeof S=="number"){r.go(S);return}let O=i0(S,JSON.parse(l),s,T.relative==="path");e==null&&t!=="/"&&(O.pathname=O.pathname==="/"?t:ia([t,O.pathname])),(T.replace?r.replace:r.push)(O,T.state,T)},[t,r,l,s,e])}function Pd(e,t){let{relative:r}=t===void 0?{}:t,{matches:a}=ee.useContext(ha),{pathname:s}=qa(),l=JSON.stringify(a0(a).map(f=>f.pathnameBase));return ee.useMemo(()=>i0(e,JSON.parse(l),s,r==="path"),[e,l,s,r])}function ER(e,t){return MR(e,t)}function MR(e,t,r){os()||$t(!1);let{navigator:a}=ee.useContext($a),{matches:s}=ee.useContext(ha),l=s[s.length-1],f=l?l.params:{};l&&l.pathname;let b=l?l.pathnameBase:"/";l&&l.route;let S=qa(),T;if(t){var O;let R=typeof t=="string"?ns(t):t;b==="/"||(O=R.pathname)!=null&&O.startsWith(b)||$t(!1),T=R}else T=S;let j=T.pathname||"/",F=b==="/"?j:j.slice(b.length)||"/",z=sR(e,{pathname:F}),D=jR(z&&z.map(R=>Object.assign({},R,{params:Object.assign({},f,R.params),pathname:ia([b,a.encodeLocation?a.encodeLocation(R.pathname).pathname:R.pathname]),pathnameBase:R.pathnameBase==="/"?b:ia([b,a.encodeLocation?a.encodeLocation(R.pathnameBase).pathname:R.pathnameBase])})),s,r);return t&&D?ee.createElement(Td.Provider,{value:{location:jc({pathname:"/",search:"",hash:"",state:null,key:"default"},T),navigationType:Zo.Pop}},D):D}function RR(){let e=VR(),t=PR(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,s={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},l=null;return ee.createElement(ee.Fragment,null,ee.createElement("h2",null,"Unexpected Application Error!"),ee.createElement("h3",{style:{fontStyle:"italic"}},t),r?ee.createElement("pre",{style:s},r):null,l)}const NR=ee.createElement(RR,null);class IR extends ee.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error||r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error?ee.createElement(ha.Provider,{value:this.props.routeContext},ee.createElement(lC.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function LR(e){let{routeContext:t,match:r,children:a}=e,s=ee.useContext(kd);return s&&s.static&&s.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=r.route.id),ee.createElement(ha.Provider,{value:t},a)}function jR(e,t,r){var a;if(t===void 0&&(t=[]),r===void 0&&(r=null),e==null){var s;if((s=r)!=null&&s.errors)e=r.matches;else return null}let l=e,f=(a=r)==null?void 0:a.errors;if(f!=null){let b=l.findIndex(S=>S.route.id&&(f==null?void 0:f[S.route.id]));b>=0||$t(!1),l=l.slice(0,Math.min(l.length,b+1))}return l.reduceRight((b,S,T)=>{let O=S.route.id?f==null?void 0:f[S.route.id]:null,j=null;r&&(j=S.route.errorElement||NR);let F=t.concat(l.slice(0,T+1)),z=()=>{let D;return O?D=j:S.route.Component?D=ee.createElement(S.route.Component,null):S.route.element?D=S.route.element:D=b,ee.createElement(LR,{match:S,routeContext:{outlet:b,matches:F,isDataRoute:r!=null},children:D})};return r&&(S.route.ErrorBoundary||S.route.errorElement||T===0)?ee.createElement(IR,{location:r.location,revalidation:r.revalidation,component:j,error:O,children:z(),routeContext:{outlet:null,matches:F,isDataRoute:!0}}):z()},null)}var dC=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(dC||{}),Dc=function(e){return
Line truncated
|
||||
* React Router DOM v6.17.0
|
||||
*
|
||||
* Copyright (c) Remix Software Inc.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE.md file in the root directory of this source tree.
|
||||
*
|
||||
* @license MIT
|
||||
*/function zc(){return zc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},zc.apply(this,arguments)}function pC(e,t){if(e==null)return{};var r={},a=Object.keys(e),s,l;for(l=0;l<a.length;l++)s=a[l],!(t.indexOf(s)>=0)&&(r[s]=e[s]);return r}function XR(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function YR(e,t){return e.button===0&&(!t||t==="_self")&&!XR(e)}const GR=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],UR=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],$R=ee.createContext({isTransitioning:!1}),qR="startTransition",gy=pg[qR];function KR(e){let{basename:t,children:r,future:a,window:s}=e,l=ee.useRef();l.current==null&&(l.current=oR({window:s,v5Compat:!0}));let f=l.current,[b,S]=ee.useState({action:f.action,location:f.location}),{v7_startTransition:T}=a||{},O=ee.useCallback(j=>{T&&gy?gy(()=>S(j)):S(j)},[S,T]);return ee.useLayoutEffect(()=>f.listen(O),[f,O]),ee.createElement(HR,{basename:t,children:r,location:b.location,navigationType:b.action,navigator:f})}const ZR=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",QR=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Fc=ee.forwardRef(function(t,r){let{onClick:a,relative:s,reloadDocument:l,replace:f,state:b,target:S,to:T,preventScrollReset:O,unstable_viewTransition:j}=t,F=pC(t,GR),{basename:z}=ee.useContext($a),D,R=!1;if(typeof T=="string"&&QR.test(T)&&(D=T,ZR))try{let v=new URL(window.location.href),g=T.startsWith("//")?new URL(v.protocol+T):new URL(T),m=kl(g.pathname,z);g.origin===v.origin&&m!=null?T=m+g.search+g.hash:R=!0}catch{}let P=OR(T,{relative:s}),y=tN(T,{replace:f,state:b,target:S,preventScrollReset:O,relative:s,unstable_viewTransition:j});function p(v){a&&a(v),v.defaultPrevented||y(v)}return ee.createElement("a",zc({},F,{href:D||P,onClick:R||l?a:p,ref:r,target:S}))}),JR=ee.forwardRef(function(t,r){let{"aria-current":a="page",caseSensitive:s=!1,className:l="",end:f=!1,style:b,to:S,unstable_viewTransition:T,children:O}=t,j=pC(t,UR),F=Pd(S,{relative:j.relative}),z=qa(),D=ee.useContext(sC),{navigator:R}=ee.useContext($a),P=D!=null&&rN(F)&&T===!0,y=R.encodeLocation?R.encodeLocation(F).pathname:F.pathname,p=z.pathname,v=D&&D.navigation&&D.navigation.location?D.navigation.location.pathname:null;s||(p=p.toLowerCase(),v=v?v.toLowerCase():null,y=y.toLowerCase());let g=p===y||!f&&p.startsWith(y)&&p.charAt(y.length)==="/",m=v!=null&&(v===y||!f&&v.startsWith(y)&&v.charAt(y.length)==="/"),_={isActive:g,isPending:m,isTransitioning:P},M=g?a:void 0,X;typeof l=="function"?X=l(_):X=[l,g?"active":null,m?"pending":null,P?"transitioning":null].filter(Boolean).join(" ");let H=typeof b=="function"?b(_):b;return ee.createElement(Fc,zc({},j,{"aria-current":M,className:X,ref:r,style:H,to:S,unstable_viewTransition:T}),typeof O=="function"?O(_):O)});var Eh;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Eh||(Eh={}));var by;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(by||(by={}));function eN(e){let t=ee.useContext(kd);return t||$t(!1),t}function tN(e,t){let{target:r,replace:a,state:s,preventScrollReset:l,relative:f,unstable_viewTransition:b}=t===void 0?{}:t,S=cC(),T=qa(),O=Pd(e,{relative:f});return ee.useCallback(j=>{if(YR(j,r)){j.preventDefault();let F=a!==void 0?a:Lc(T)===Lc(O);S(e,{replace:F,state:s,preventScrollReset:l,relative:f,unstable_viewTransition:b})}},[T,S,O,a,s,r,e,l,f,b])}function rN(e,t){t===void 0&&(t={});let r=ee.useContext($R);r==null&&$t(!1);let{basename:a}=eN(Eh.useViewTransitionState),s=Pd(e,{relative:t.relative});if(!r.isTransitioning)return!1;let l=kl(r.currentLocation.pathname,a)||r.currentLocation.pathname,f=kl(r.nextLocation.pathname,a)||r.nextLocation.pathname;return Oh(s.pathname,f)!=null||Oh(s.pathname,l)!=null}function nN({title:e,titleId:t,...r},a){return ee.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:a,"aria-labelledby":t},r),e?ee.createElement("title",{id:t},e):null,ee.createElement("path",{d:"M12 7.5a2.25 2.25 0 100 4.5 2.25 2.25 0 000-4.5z"}),ee.createElement("path",{fillRule:"evenodd",d:"M1.5 4.875C1.5 3.839 2.34 3 3.375 3h17.25c1.035 0 1.875.84 1.875 1.875v9.75c0 1.036-.84 1.875-1.875 1.875H3.375A1.875 1.875 0 011.5 14.625v-9.75zM8.25 9.75a3.75 3.75 0 117.5 0 3.75 3.75 0 01-7.5 0zM18.75 9a.75.75 0 00-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 00.75-.75V9.75a.75.75 0 00-.75-.75h-.008zM4.5 9.75A.75.75 0 015.25 9h.008a.75.75 0 01.75.75v.008a.75.75 0 01-.75.75H5.25a.75.75 0 01-.75-.75V9.75z",clipRule:"evenodd"}),ee.createElement("path",{d:"M2.25 18a.75.75 0 000 1.5c5.4 0Line truncated
|
||||
Copyright (c) 2018 Jed Watson.
|
||||
Licensed under the MIT License (MIT), see
|
||||
http://jedwatson.github.io/classnames
|
||||
*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var a=[],s=0;s<arguments.length;s++){var l=arguments[s];if(l){var f=typeof l;if(f==="string"||f==="number")a.push(l);else if(Array.isArray(l)){if(l.length){var b=r.apply(null,l);b&&a.push(b)}}else if(f==="object"){if(l.toString!==Object.prototype.toString&&!l.toString.toString().includes("[native code]")){a.push(l.toString());continue}for(var S in l)t.call(l,S)&&l[S]&&a.push(S)}}}return a.join(" ")}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(yC);var ct=yC.exports,xC={exports:{}},An={};function l0(){for(var e,t,r=0,a="";r<arguments.length;)(e=arguments[r++])&&(t=wC(e))&&(a&&(a+=" "),a+=t);return a}function wC(e){if(typeof e=="string")return e;for(var t,r="",a=0;a<e.length;a++)e[a]&&(t=wC(e[a]))&&(r&&(r+=" "),r+=t);return r}function Mh(){return Mh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},Mh.apply(this,arguments)}function ZN(e){var t=function(r){var a=r.theme,s=r.prefix,l={nextPart:new Map,validators:[]};return function(f,b){return b?f.map(function(S){return[S[0],S[1].map(function(T){return typeof T=="string"?b+T:typeof T=="object"?Object.fromEntries(Object.entries(T).map(function(O){return[b+O[0],O[1]]})):T})]}):f}(Object.entries(r.classGroups),s).forEach(function(f){Rh(f[1],l,f[0],a)}),l}(e);return{getClassGroupId:function(r){var a=r.split("-");return a[0]===""&&a.length!==1&&a.shift(),CC(a,t)||function(s){if(my.test(s)){var l=my.exec(s)[1],f=l==null?void 0:l.substring(0,l.indexOf(":"));if(f)return"arbitrary.."+f}}(r)},getConflictingClassGroupIds:function(r){return e.conflictingClassGroups[r]||[]}}}function CC(e,t){var r;if(e.length===0)return t.classGroupId;var a=t.nextPart.get(e[0]),s=a?CC(e.slice(1),a):void 0;if(s)return s;if(t.validators.length!==0){var l=e.join("-");return(r=t.validators.find(function(f){return(0,f.validator)(l)}))==null?void 0:r.classGroupId}}Object.defineProperty(An,"__esModule",{value:!0});var my=/^\[(.+)\]$/;function Rh(e,t,r,a){e.forEach(function(s){if(typeof s!="string"){if(typeof s=="function")return s.isThemeGetter?void Rh(s(a),t,r,a):void t.validators.push({validator:s,classGroupId:r});Object.entries(s).forEach(function(l){Rh(l[1],yy(t,l[0]),r,a)})}else(s===""?t:yy(t,s)).classGroupId=r})}function yy(e,t){var r=e;return t.split("-").forEach(function(a){r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r}function QN(e){if(e<1)return{get:function(){},set:function(){}};var t=0,r=new Map,a=new Map;function s(l,f){r.set(l,f),++t>e&&(t=0,a=r,r=new Map)}return{get:function(l){var f=r.get(l);return f!==void 0?f:(f=a.get(l))!==void 0?(s(l,f),f):void 0},set:function(l,f){r.has(l)?r.set(l,f):s(l,f)}}}function JN(e){var t=e.separator||":";return function(r){for(var a=0,s=[],l=0,f=0;f<r.length;f++){var b=r[f];a===0&&b===t[0]&&(t.length!==1&&r.slice(f,f+t.length)!==t||(s.push(r.slice(l,f)),l=f+t.length)),b==="["?a++:b==="]"&&a--}var S=s.length===0?r:r.substring(l),T=S.startsWith("!");return{modifiers:s,hasImportantModifier:T,baseClassName:T?S.substring(1):S}}}function eI(e){return Mh({cache:QN(e.cacheSize),splitModifiers:JN(e)},ZN(e))}var tI=/\s+/;function rI(e,t){var r=t.splitModifiers,a=t.getClassGroupId,s=t.getConflictingClassGroupIds,l=new Set;return e.trim().split(tI).map(function(f){var b=r(f),S=b.modifiers,T=b.hasImportantModifier,O=a(b.baseClassName);if(!O)return{isTailwindClass:!1,originalClassName:f};var j=function(F){if(F.length<=1)return F;var z=[],D=[];return F.forEach(function(R){R[0]==="["?(z.push.apply(z,D.sort().concat([R])),D=[]):D.push(R)}),z.push.apply(z,D.sort()),z}(S).join(":");return{isTailwindClass:!0,modifierId:T?j+"!":j,classGroupId:O,originalClassName:f}}).reverse().filter(function(f){if(!f.isTailwindClass)return!0;var b=f.modifierId,S=f.classGroupId,T=b+S;return!l.has(T)&&(l.add(T),s(S).forEach(function(O){return l.add(b+O)}),!0)}).reverse().map(function(f){return f.originalClassName}).join(" ")}function Nh(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var a,s,l,f=b;function b(T){var O=t[0],j=t.slice(1).reduce(function(F,z){return z(F)},O());return a=eI(j),s=a.cache.get,l=a.cache.set,f=S,S(T)}function S(T){var O=s(T);if(O)return O;var j=rI(T,a);return l(T,j),j}return function(){return f(l0.apply(null,arguments))}}function zt(e){var t=function(r){return r[e]||[]};return t.isThemeGetter=!0,t}var ga=/^\[(.+)\]$/,nI=/^\d+\/\d+$/,oI=new Set(["px","full","screen"]),aI=/^(\d+)?(xs|sm|md|lg|xl)$/,iI=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh)/,sI=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function pn(e){return!Number.isNaN(Number(e))||oI.has(e)||nI.test(e)||Go(e)}function Go(e){var t,r=(t=ga.exec(e))==null?void 0:t[1];return!!r&&(r.startsWith("length:")||iI.test(r))}function SC(e){var t,r=(t=ga.exec(e))==null?void 0:t[1];return!!r&&r.startsWLine truncated
|
||||
* tabbable 6.2.0
|
||||
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
||||
*/var ZD=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],$h=ZD.join(","),ET=typeof Element>"u",El=ET?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,qc=!ET&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e==null?void 0:e.ownerDocument},Kc=function e(t,r){var a;r===void 0&&(r=!0);var s=t==null||(a=t.getAttribute)===null||a===void 0?void 0:a.call(t,"inert"),l=s===""||s==="true",f=l||r&&t&&e(t.parentNode);return f},QD=function(t){var r,a=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"contenteditable");return a===""||a==="true"},JD=function(t,r,a){if(Kc(t))return[];var s=Array.prototype.slice.apply(t.querySelectorAll($h));return r&&El.call(t,$h)&&s.unshift(t),s=s.filter(a),s},ez=function e(t,r,a){for(var s=[],l=Array.from(t);l.length;){var f=l.shift();if(!Kc(f,!1))if(f.tagName==="SLOT"){var b=f.assignedElements(),S=b.length?b:f.children,T=e(S,!0,a);a.flatten?s.push.apply(s,T):s.push({scopeParent:f,candidates:T})}else{var O=El.call(f,$h);O&&a.filter(f)&&(r||!t.includes(f))&&s.push(f);var j=f.shadowRoot||typeof a.getShadowRoot=="function"&&a.getShadowRoot(f),F=!Kc(j,!1)&&(!a.shadowRootFilter||a.shadowRootFilter(f));if(j&&F){var z=e(j===!0?f.children:j.children,!0,a);a.flatten?s.push.apply(s,z):s.push({scopeParent:f,candidates:z})}else l.unshift.apply(l,f.children)}}return s},MT=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},RT=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||QD(t))&&!MT(t)?0:t.tabIndex},tz=function(t,r){var a=RT(t);return a<0&&r&&!MT(t)?0:a},rz=function(t,r){return t.tabIndex===r.tabIndex?t.documentOrder-r.documentOrder:t.tabIndex-r.tabIndex},NT=function(t){return t.tagName==="INPUT"},nz=function(t){return NT(t)&&t.type==="hidden"},oz=function(t){var r=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(a){return a.tagName==="SUMMARY"});return r},az=function(t,r){for(var a=0;a<t.length;a++)if(t[a].checked&&t[a].form===r)return t[a]},iz=function(t){if(!t.name)return!0;var r=t.form||qc(t),a=function(b){return r.querySelectorAll('input[type="radio"][name="'+b+'"]')},s;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")s=a(window.CSS.escape(t.name));else try{s=a(t.name)}catch(f){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",f.message),!1}var l=az(s,t.form);return!l||l===t},sz=function(t){return NT(t)&&t.type==="radio"},lz=function(t){return sz(t)&&!iz(t)},uz=function(t){var r,a=t&&qc(t),s=(r=a)===null||r===void 0?void 0:r.host,l=!1;if(a&&a!==t){var f,b,S;for(l=!!((f=s)!==null&&f!==void 0&&(b=f.ownerDocument)!==null&&b!==void 0&&b.contains(s)||t!=null&&(S=t.ownerDocument)!==null&&S!==void 0&&S.contains(t));!l&&s;){var T,O,j;a=qc(s),s=(T=a)===null||T===void 0?void 0:T.host,l=!!((O=s)!==null&&O!==void 0&&(j=O.ownerDocument)!==null&&j!==void 0&&j.contains(s))}}return l},Uy=function(t){var r=t.getBoundingClientRect(),a=r.width,s=r.height;return a===0&&s===0},cz=function(t,r){var a=r.displayCheck,s=r.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var l=El.call(t,"details>summary:first-of-type"),f=l?t.parentElement:t;if(El.call(f,"details:not([open]) *"))return!0;if(!a||a==="full"||a==="legacy-full"){if(typeof s=="function"){for(var b=t;t;){var S=t.parentElement,T=qc(t);if(S&&!S.shadowRoot&&s(S)===!0)return Uy(t);t.assignedSlot?t=t.assignedSlot:!S&&T!==t.ownerDocument?t=T.host:t=S}t=b}if(uz(t))return!t.getClientRects().length;if(a!=="legacy-full")return!0}else if(a==="non-zero-area")return Uy(t);return!1},dz=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var r=t.parentElement;r;){if(r.tagName==="FIELDSET"&&r.disabled){for(var a=0;a<r.children.length;a++){var s=r.children.item(a);if(s.tagName==="LEGEND")return El.call(r,"fieldset[disabled] *")?!0:!s.contains(t)}return!0}r=r.parentElement}return!1},fz=function(t,r){return!(r.disabled||Kc(r)||nz(r)||cz(r,t)||oz(r)||dz(r))},$y=function(t,r){return!(lz(r)||RT(r)<0||!fz(t,r))},pz=function(t){var r=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(r)||r>=0)},hz=function e(t){var r=[],a=[];return t.forEach(function(s,l){var f=!!s.scopeParent,b=f?s.scopeParent:s,S=tz(b,f),T=f?e(s.candidates):b;S===0?f?r.push.apply(r,T):r.push(b):a.push({documentOrder:l,tabIndex:S,item:s,isScope:f,content:T})}),a.sort(rz).reduce(function(s,l){return l.isScope?s.push.apply(s,l.content):s.push(l.content),s},[]).concatLine truncated
|
||||
|
||||
More details: https://www.material-tailwind.com/docs/react/collapse
|
||||
`);var H=r.default.useRef(null),B=(0,T.useTheme)().navbar,U=B.styles,K=U.base.mobileNav;g=g??{},m=m??"";var ne=(0,b.twMerge)((0,f.default)((0,S.default)(K)),m),oe={unmount:{height:0,opacity:0,transition:{duration:.3,times:"[0.4, 0, 0.2, 1]"}},mount:{opacity:1,height:"".concat((X=H.current)===null||X===void 0?void 0:X.scrollHeight,"px"),transition:{duration:.3,times:"[0.4, 0, 0.2, 1]"}}},fe=(0,l.default)(oe,g),ve=a.AnimatePresence,Se=(0,s.useMergeRefs)([p,H]);return r.default.createElement(a.LazyMotion,{features:a.domAnimation},r.default.createElement(ve,null,r.default.createElement(a.m.div,j({},M,{ref:Se,className:ne,initial:"unmount",exit:"unmount",animate:v?"mount":"unmount",variants:fe}),_)))});R.displayName="MaterialTailwind.MobileNav",R.propTypes={open:O.propTypesOpen,animate:O.propTypesAnimate,className:O.propTypesClassName,children:O.propTypesChildren};var P=R})(CP);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(p,v){for(var g in v)Object.defineProperty(p,g,{enumerable:!0,get:v[g]})}t(e,{Navbar:function(){return P},MobileNav:function(){return T.MobileNav},default:function(){return y}});var r=z(ee),a=z(ot),s=z(ct),l=it,f=z(Ht),b=z(nt),S=rt,T=CP,O=_d;function j(p,v,g){return v in p?Object.defineProperty(p,v,{value:g,enumerable:!0,configurable:!0,writable:!0}):p[v]=g,p}function F(){return F=Object.assign||function(p){for(var v=1;v<arguments.length;v++){var g=arguments[v];for(var m in g)Object.prototype.hasOwnProperty.call(g,m)&&(p[m]=g[m])}return p},F.apply(this,arguments)}function z(p){return p&&p.__esModule?p:{default:p}}function D(p,v){if(p==null)return{};var g=R(p,v),m,_;if(Object.getOwnPropertySymbols){var M=Object.getOwnPropertySymbols(p);for(_=0;_<M.length;_++)m=M[_],!(v.indexOf(m)>=0)&&Object.prototype.propertyIsEnumerable.call(p,m)&&(g[m]=p[m])}return g}function R(p,v){if(p==null)return{};var g={},m=Object.keys(p),_,M;for(M=0;M<m.length;M++)_=m[M],!(v.indexOf(_)>=0)&&(g[_]=p[_]);return g}var P=r.default.forwardRef(function(p,v){var g=p.variant,m=p.color,_=p.shadow,M=p.blurred,X=p.fullWidth,H=p.className,B=p.children,U=D(p,["variant","color","shadow","blurred","fullWidth","className","children"]),K=(0,S.useTheme)().navbar,ne=K.defaultProps,oe=K.valid,fe=K.styles,ve=fe.base,Se=fe.variants;g=g??ne.variant,m=m??ne.color,_=_??ne.shadow,M=M??ne.blurred,X=X??ne.fullWidth,H=H??ne.className;var he,ue=(0,s.default)((0,b.default)(ve.navbar.initial),(he={},j(he,(0,b.default)(ve.navbar.shadow),_),j(he,(0,b.default)(ve.navbar.blurred),M&&m==="white"),j(he,(0,b.default)(ve.navbar.fullWidth),X),he)),ge=(0,s.default)((0,b.default)(Se[(0,f.default)(oe.variants,g,"filled")][(0,f.default)(oe.colors,m,"white")])),ye=(0,l.twMerge)((0,s.default)(ue,ge),H);return r.default.createElement("nav",F({},U,{ref:v,className:ye}),B)});P.propTypes={variant:a.default.oneOf(O.propTypesVariant),color:a.default.oneOf(O.propTypesColor),shadow:O.propTypesShadow,blurred:O.propTypesBlurred,fullWidth:O.propTypesFullWidth,className:O.propTypesClassName,children:O.propTypesChildren},P.displayName="MaterialTailwind.Navbar";var y=Object.assign(P,{MobileNav:T.MobileNav})})(wP);var SP={},$d={},fs={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(P,y){for(var p in y)Object.defineProperty(P,p,{enumerable:!0,get:y[p]})}t(e,{propTypesOpen:function(){return l},propTypesHandler:function(){return f},propTypesPlacement:function(){return b},propTypesOffset:function(){return S},propTypesDismiss:function(){return T},propTypesAnimate:function(){return O},propTypesContent:function(){return j},propTypesInteractive:function(){return F},propTypesClassName:function(){return z},propTypesChildren:function(){return D},propTypesContextValue:function(){return R}});var r=s(ot),a=Vt;function s(P){return P&&P.__esModule?P:{default:P}}var l=r.default.bool,f=r.default.func,b=a.propTypesPlacements,S=a.propTypesOffsetType,T=a.propTypesDismissType,O=a.propTypesAnimation,j=r.default.node,F=r.default.bool,z=r.default.string,D=r.default.node.isRequired,R=r.default.shape({open:r.default.bool.isRequired,strategy:r.default.oneOf(["fixed","absolute"]).isRequired,x:r.default.number,y:r.default.number,context:r.default.instanceOf(Object).isRequired,reference:r.default.func.isRequired,floating:r.default.func.isRequired,getReferenceProps:r.default.func.isRequired,getFloatingProps:r.default.func.isRequired,appliedAnimation:O.isRequired,labelId:r.default.string.isRequired,descriptionId:r.default.string.isRequired}).isRequired})(fs);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(S,T){for(var O in T)Object.defineProperty(S,O,{enumerable:!0,get:T[O]})}t(e,{PopoverContext:function(){return l},usePopover:function(){return f},PopoverContextProvider:function(){return b}});var r=s(ee),a=fs;function s(S){return S&&S.__esModule?S:{default:S}}var l=r.default.createContext(null);l.displayName="MaterialTailwind.PopoverContext";function f(){var S=r.default.useContext(l);if(!S)throw new Error("usePopover() must be u
Line truncated
|
||||
* ApexCharts v3.44.0
|
||||
* (c) 2018-2023 ApexCharts
|
||||
* Released under the MIT License.
|
||||
*/(function(e,t){function r(J,n){var o=Object.keys(J);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(J);n&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(J,u).enumerable})),o.push.apply(o,i)}return o}function a(J){for(var n=1;n<arguments.length;n++){var o=arguments[n]!=null?arguments[n]:{};n%2?r(Object(o),!0).forEach(function(i){S(J,i,o[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(J,Object.getOwnPropertyDescriptors(o)):r(Object(o)).forEach(function(i){Object.defineProperty(J,i,Object.getOwnPropertyDescriptor(o,i))})}return J}function s(J){return s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},s(J)}function l(J,n){if(!(J instanceof n))throw new TypeError("Cannot call a class as a function")}function f(J,n){for(var o=0;o<n.length;o++){var i=n[o];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(J,i.key,i)}}function b(J,n,o){return n&&f(J.prototype,n),o&&f(J,o),J}function S(J,n,o){return n in J?Object.defineProperty(J,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):J[n]=o,J}function T(J,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function");J.prototype=Object.create(n&&n.prototype,{constructor:{value:J,writable:!0,configurable:!0}}),n&&j(J,n)}function O(J){return O=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},O(J)}function j(J,n){return j=Object.setPrototypeOf||function(o,i){return o.__proto__=i,o},j(J,n)}function F(J,n){if(n&&(typeof n=="object"||typeof n=="function"))return n;if(n!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}(J)}function z(J){var n=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,i=O(J);if(n){var u=O(this).constructor;o=Reflect.construct(i,arguments,u)}else o=i.apply(this,arguments);return F(this,o)}}function D(J,n){return function(o){if(Array.isArray(o))return o}(J)||function(o,i){var u=o==null?null:typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(u!=null){var c,d,h=[],x=!0,k=!1;try{for(u=u.call(o);!(x=(c=u.next()).done)&&(h.push(c.value),!i||h.length!==i);x=!0);}catch(E){k=!0,d=E}finally{try{x||u.return==null||u.return()}finally{if(k)throw d}}return h}}(J,n)||P(J,n)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
||||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function R(J){return function(n){if(Array.isArray(n))return y(n)}(J)||function(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}(J)||P(J)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
||||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function P(J,n){if(J){if(typeof J=="string")return y(J,n);var o=Object.prototype.toString.call(J).slice(8,-1);return o==="Object"&&J.constructor&&(o=J.constructor.name),o==="Map"||o==="Set"?Array.from(J):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?y(J,n):void 0}}function y(J,n){(n==null||n>J.length)&&(n=J.length);for(var o=0,i=new Array(n);o<n;o++)i[o]=J[o];return i}var p=function(){function J(){l(this,J)}return b(J,[{key:"shadeRGBColor",value:function(n,o){var i=o.split(","),u=n<0?0:255,c=n<0?-1*n:n,d=parseInt(i[0].slice(4),10),h=parseInt(i[1],10),x=parseInt(i[2],10);return"rgb("+(Math.round((u-d)*c)+d)+","+(Math.round((u-h)*c)+h)+","+(Math.round((u-x)*c)+x)+")"}},{key:"shadeHexColor",value:function(n,o){var i=parseInt(o.slice(1),16),u=n<0?0:255,c=n<0?-1*n:n,d=i>>16,h=i>>8&255,x=255&i;return"#"+(16777216+65536*(Math.round((u-d)*c)+d)+256*(Math.round((u-h)*c)+h)+(Math.round((u-x)*c)+x)).toString(16).slice(1)}},{key:"shadeColor",value:function(n,o){return J.isColorHex(o)?this.shadeHexColor(n,o):this.shadeRGBColor(n,o)}}],[{key:"bind",value:function(n,o){return function(){return n.apply(o,arguments)}}},{key:"isObject",value:function(n){return n&&s(n)==="object"&&!Array.isArray(n)&&n!=null}},{key:"is",value:function(n,o){return Object.prototype.toString.call(o)==="[object "+n+"]"}},{key:"listToArray",value:function(n){var o,i=[];for(o=0;o<n.length;o++)i[o]=n[o];return i}},{key:"extend",value:function(n,o){var i=this;typeof Object.assign!="function"&&(Object.assign=function(c){if(c==null)throw new TypeError("Cannot convert undefined or null to object");for(var d=Object(c),h=1;h<arguments.length;h++){var x=arguments[h];if(x!=null)for(var k in x)x.hasOwnProperty(k)&&(d[k]=x[k])}return d});var u=Object.assign({},n);return this.isObject(n)&&this.isObject(o)&&Object.keys(o).forEach(function(c){i.isObject(o[c])&&c in n?u[c]=i.extend(n[c],o[c]):Object.assign(u,S({},c,o[c]))}),u}},{key:"extendArray",value:function(n,o){var i=[];return n.map(function(u){i.push(J.extend(o,u))}),n=i}},{key:"monthMod",value:function(n){return n%12}},{key:"clone",value:function(n){if(J.is("Array",n)){for(var o=[],i=0;i<n.length;i++)o[i]=this.clone(n[i]);return o}if(J.is("Null",n))return null;if(J.is("Date",n))return n;if(s(n)==="object"){var u={};for(var c in n)n.hasOwnProperty(c)&&(u[c]=this.clone(n[c]));return u}return n}},{key:"log10",value:function(n){return Math.log(n)/Math.LN10}},{key:"roundToBase10",value:function(n){return Math.pow(10,Math.floor(Math.log10(n)))}},{key:"roundToBase",value:function(n,o){return Math.pow(o,Math.floor(Math.log(n)/Math.log(o)))}},{key:"parseNumber",value:function(n){return n===null?n:parseFloat(n)}},{key:"stripNumber",value:function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return Number.isInteger(n)?n:parseFloat(n.toPrecision(o))}},{key:"randomId",value:function(){return(Math.random()+1).toString(36).substring(4)}},{key:"noExponents",value:function(n){var o=String(n).split(/[eE]/);if(o.length===1)return o[0];var i="",u=n<0?"-":"",c=o[0].replace(".",""),d=Number(o[1])+1;if(d<0){for(i=u+"0.";d++;)i+="0";return i+c.replace(/^-/,"")}for(d-=c.length;d--;)i+="0";return c+i}},{key:"getDimensions",value:function(n){var o=getComputedStyle(n,null),i=n.clientHeight,u=n.clientWidth;return i-=parseFloat(o.paddingTop)+parseFloat(o.paddingBottom),[u-=parseFloat(o.paddingLeft)+parseFloat(o.paddingRight),i]}},{key:"getBoundingClientRect",value:function(n){var o=n.getBoundingClientRect();return{top:o.top,right:o.right,bottom:o.bottom,left:o.left,width:n.clientWidth,height:n.clientHeight,x:o.left,y:o.top}}},{key:"getLargestStringFromArr",value:function(n){return n.reduce(function(o,i){return Array.isArray(i)&&(i=i.reduce(function(u,c){return u.length>c.length?u:c})),o.length>i.length?o:i},0)}},{key:"hexToRgba",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"#999999",o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.6;n.substring(0,1)!=="#"&&(n="#999999");var i=n.replace("#","");i=i.match(new RegExp("(.{"+i.length/3+"})","g"));for(var u=0;u<i.length;u++)i[u]=parseInt(i[u].length===1?i[u]+i[u]:i[u],16);return o!==void 0&&i.push(o),"rgba("+i.join(",")+")"}},{key:"getOpacityFromRGBA",value:function(n){return parseFloat(n.replace(/^.*,(.+)\)/,"$1"))}},{key:"rgb2hex",value:function(n){return(n=n.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i))&&n.length===4?"#"+("0"+parseInt(n[1],10).toString(16)).slice(-2)+("0"+parseInt(n[2],10).toString(16)).slice(-2)+("0"+parseInt(n[3],10).toString(16)).slice(-2):""}},{key:"isColorHex",value:function(n){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)|(^#[0-9A-F]{8}$)/i.test(n)}},{key:"getPolygonPos",value:function(n,o){for(var i=[],u=2*Math.PI/o,c=0;c<o;c++){var d={};d.x=n*Math.sin(c*u),d.y=-n*Math.cos(c*u),i.push(d)}return i}},{key:"polarToCartesian",value:function(n,o,i,u){var c=(u-90)*Math.PI/1
Line truncated
|
||||
`.concat(u,`
|
||||
</span> <span class="separator">-</span> <span class="value end-value">
|
||||
`).concat(c,`
|
||||
</span>`);return'<div class="apexcharts-tooltip-rangebar"><div> <span class="series-name" style="color: '+n+'">'+(o||"")+'</span></div><div> <span class="category">'+i+": </span> "+(J.w.globals.comboCharts?J.w.config.series[d].type==="rangeArea"||J.w.config.series[d].type==="rangeBar"?E:"<span>".concat(k,"</span>"):E)+" </div></div>"},he=function(){function J(n){l(this,J),this.opts=n}return b(J,[{key:"hideYAxis",value:function(){this.opts.yaxis[0].show=!1,this.opts.yaxis[0].title.text="",this.opts.yaxis[0].axisBorder.show=!1,this.opts.yaxis[0].axisTicks.show=!1,this.opts.yaxis[0].floating=!0}},{key:"line",value:function(){return{chart:{animations:{easing:"swing"}},dataLabels:{enabled:!1},stroke:{width:5,curve:"straight"},markers:{size:0,hover:{sizeOffset:6}},xaxis:{crosshairs:{width:1}}}}},{key:"sparkline",value:function(n){return this.hideYAxis(),p.extend(n,{grid:{show:!1,padding:{left:0,right:0,top:0,bottom:0}},legend:{show:!1},xaxis:{labels:{show:!1},tooltip:{enabled:!1},axisBorder:{show:!1},axisTicks:{show:!1}},chart:{toolbar:{show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1}})}},{key:"bar",value:function(){return{chart:{stacked:!1,animations:{easing:"swing"}},plotOptions:{bar:{dataLabels:{position:"center"}}},dataLabels:{style:{colors:["#fff"]},background:{enabled:!1}},stroke:{width:0,lineCap:"round"},fill:{opacity:.85},legend:{markers:{shape:"square",radius:2,size:8}},tooltip:{shared:!1,intersect:!0},xaxis:{tooltip:{enabled:!1},tickPlacement:"between",crosshairs:{width:"barWidth",position:"back",fill:{type:"gradient"},dropShadow:{enabled:!1},stroke:{width:0}}}}}},{key:"funnel",value:function(){return this.hideYAxis(),a(a({},this.bar()),{},{chart:{animations:{easing:"linear",speed:800,animateGradually:{enabled:!1}}},plotOptions:{bar:{horizontal:!0,borderRadiusApplication:"around",borderRadius:0,dataLabels:{position:"center"}}},grid:{show:!1,padding:{left:0,right:0}},xaxis:{labels:{show:!1},tooltip:{enabled:!1},axisBorder:{show:!1},axisTicks:{show:!1}}})}},{key:"candlestick",value:function(){var n=this;return{stroke:{width:1,colors:["#333"]},fill:{opacity:1},dataLabels:{enabled:!1},tooltip:{shared:!0,custom:function(o){var i=o.seriesIndex,u=o.dataPointIndex,c=o.w;return n._getBoxTooltip(c,i,u,["Open","High","","Low","Close"],"candlestick")}},states:{active:{filter:{type:"none"}}},xaxis:{crosshairs:{width:1}}}}},{key:"boxPlot",value:function(){var n=this;return{chart:{animations:{dynamicAnimation:{enabled:!1}}},stroke:{width:1,colors:["#24292e"]},dataLabels:{enabled:!1},tooltip:{shared:!0,custom:function(o){var i=o.seriesIndex,u=o.dataPointIndex,c=o.w;return n._getBoxTooltip(c,i,u,["Minimum","Q1","Median","Q3","Maximum"],"boxPlot")}},markers:{size:5,strokeWidth:1,strokeColors:"#111"},xaxis:{crosshairs:{width:1}}}}},{key:"rangeBar",value:function(){return{chart:{animations:{animateGradually:!1}},stroke:{width:0,lineCap:"square"},plotOptions:{bar:{borderRadius:0,dataLabels:{position:"center"}}},dataLabels:{enabled:!1,formatter:function(n,o){o.ctx;var i=o.seriesIndex,u=o.dataPointIndex,c=o.w,d=function(){var h=c.globals.seriesRangeStart[i][u];return c.globals.seriesRangeEnd[i][u]-h};return c.globals.comboCharts?c.config.series[i].type==="rangeBar"||c.config.series[i].type==="rangeArea"?d():n:d()},background:{enabled:!1},style:{colors:["#fff"]}},markers:{size:10},tooltip:{shared:!1,followCursor:!0,custom:function(n){return n.w.config.plotOptions&&n.w.config.plotOptions.bar&&n.w.config.plotOptions.bar.horizontal?function(o){var i=ve(a(a({},o),{},{isTimeline:!0})),u=i.color,c=i.seriesName,d=i.ylabel,h=i.startVal,x=i.endVal;return Se(a(a({},o),{},{color:u,seriesName:c,ylabel:d,start:h,end:x}))}(n):function(o){var i=ve(o),u=i.color,c=i.seriesName,d=i.ylabel,h=i.start,x=i.end;return Se(a(a({},o),{},{color:u,seriesName:c,ylabel:d,start:h,end:x}))}(n)}},xaxis:{tickPlacement:"between",tooltip:{enabled:!1},crosshairs:{stroke:{width:0}}}}}},{key:"dumbbell",value:function(n){var o,i;return(o=n.plotOptions.bar)!==null&&o!==void 0&&o.barHeight||(n.plotOptions.bar.barHeight=2),(i=n.plotOptions.bar)!==null&&i!==void 0&&i.columnWidth||(n.plotOptions.bar.columnWidth=2),n}},{key:"area",value:function(){return{stroke:{width:4,fill:{type:"solid",gradient:{inverseColors:!1,shade:"light",type:"vertical",opacityFrom:.65,opacityTo:.5,stops:[0,100,100]}}},fill:{type:"gradient",gradient:{inverseColors:!1,shade:"light",type:"vertical",opacityFrom:.65,opacityTo:.5,stops:[0,100,100]}},markers:{size:0,hover:{sizeOffset:6}},tooltip:{followCursor:!1}}}},{key:"rangeArea",value:function(){return{stroke:{curve:"straight",width:0},fill:{type:"solid",opacity:.6},markers:{size:0},states:{hover:{filter:{type:"none"}},active:{filter:{type:"none"}}},tooltip:{intersect:!1,shared:!0,followCursor:!0,custom:function(n){return function(o){var i=ve(o),u=i.color,c=i.seriesName,d=i.ylabel,h=i.start,x=i.end;return Se(a(a({},o),{},{color:u,seriesName:c,ylabel:d,start:h,end:x}))}(n)}}}}},{key:"brush",value:function(n){return p.extend(n,{chart:{toolbar:{aLine truncated
|
||||
`.concat(n.config.series[o].name?n.config.series[o].name:"series-"+(o+1),": <strong>").concat(n.globals.series[o][i],`</strong>
|
||||
</div>`):'<div class="apexcharts-tooltip-box apexcharts-tooltip-'.concat(n.config.chart.type,'">')+"<div>".concat(u[0],': <span class="value">')+d+"</span></div>"+"<div>".concat(u[1],': <span class="value">')+h+"</span></div>"+(x?"<div>".concat(u[2],': <span class="value">')+x+"</span></div>":"")+"<div>".concat(u[3],': <span class="value">')+k+"</span></div>"+"<div>".concat(u[4],': <span class="value">')+E+"</span></div></div>"}}]),J}(),ue=function(){function J(n){l(this,J),this.opts=n}return b(J,[{key:"init",value:function(n){var o=n.responsiveOverride,i=this.opts,u=new K,c=new he(i);this.chartType=i.chart.type,i=this.extendYAxis(i),i=this.extendAnnotations(i);var d=u.init(),h={};if(i&&s(i)==="object"){var x,k,E,N,L,W,G,q,Q,re,ie={};ie=["line","area","bar","candlestick","boxPlot","rangeBar","rangeArea","bubble","scatter","heatmap","treemap","pie","polarArea","donut","radar","radialBar"].indexOf(i.chart.type)!==-1?c[i.chart.type]():c.line(),(x=i.plotOptions)!==null&&x!==void 0&&(k=x.bar)!==null&&k!==void 0&&k.isFunnel&&(ie=c.funnel()),i.chart.stacked&&i.chart.type==="bar"&&(ie=c.stackedBars()),(E=i.chart.brush)!==null&&E!==void 0&&E.enabled&&(ie=c.brush(ie)),i.chart.stacked&&i.chart.stackType==="100%"&&(i=c.stacked100(i)),(N=i.plotOptions)!==null&&N!==void 0&&(L=N.bar)!==null&&L!==void 0&&L.isDumbbell&&(i=c.dumbbell(i)),((W=i)===null||W===void 0||(G=W.stroke)===null||G===void 0?void 0:G.curve)==="monotoneCubic"&&(i.stroke.curve="smooth"),this.checkForDarkTheme(window.Apex),this.checkForDarkTheme(i),i.xaxis=i.xaxis||window.Apex.xaxis||{},o||(i.xaxis.convertedCatToNumeric=!1),((q=(i=this.checkForCatToNumericXAxis(this.chartType,ie,i)).chart.sparkline)!==null&&q!==void 0&&q.enabled||(Q=window.Apex.chart)!==null&&Q!==void 0&&(re=Q.sparkline)!==null&&re!==void 0&&re.enabled)&&(ie=c.sparkline(ie)),h=p.extend(d,ie)}var C=p.extend(h,window.Apex);return d=p.extend(C,i),d=this.handleUserInputErrors(d)}},{key:"checkForCatToNumericXAxis",value:function(n,o,i){var u,c,d=new he(i),h=(n==="bar"||n==="boxPlot")&&((u=i.plotOptions)===null||u===void 0||(c=u.bar)===null||c===void 0?void 0:c.horizontal),x=n==="pie"||n==="polarArea"||n==="donut"||n==="radar"||n==="radialBar"||n==="heatmap",k=i.xaxis.type!=="datetime"&&i.xaxis.type!=="numeric",E=i.xaxis.tickPlacement?i.xaxis.tickPlacement:o.xaxis&&o.xaxis.tickPlacement;return h||x||!k||E==="between"||(i=d.convertCatToNumeric(i)),i}},{key:"extendYAxis",value:function(n,o){var i=new K;(n.yaxis===void 0||!n.yaxis||Array.isArray(n.yaxis)&&n.yaxis.length===0)&&(n.yaxis={}),n.yaxis.constructor!==Array&&window.Apex.yaxis&&window.Apex.yaxis.constructor!==Array&&(n.yaxis=p.extend(n.yaxis,window.Apex.yaxis)),n.yaxis.constructor!==Array?n.yaxis=[p.extend(i.yAxis,n.yaxis)]:n.yaxis=p.extendArray(n.yaxis,i.yAxis);var u=!1;n.yaxis.forEach(function(d){d.logarithmic&&(u=!0)});var c=n.series;return o&&!c&&(c=o.config.series),u&&c.length!==n.yaxis.length&&c.length&&(n.yaxis=c.map(function(d,h){if(d.name||(c[h].name="series-".concat(h+1)),n.yaxis[h])return n.yaxis[h].seriesName=c[h].name,n.yaxis[h];var x=p.extend(i.yAxis,n.yaxis[0]);return x.show=!1,x})),u&&c.length>1&&c.length!==n.yaxis.length&&console.warn("A multi-series logarithmic chart should have equal number of series and y-axes"),n}},{key:"extendAnnotations",value:function(n){return n.annotations===void 0&&(n.annotations={},n.annotations.yaxis=[],n.annotations.xaxis=[],n.annotations.points=[]),n=this.extendYAxisAnnotations(n),n=this.extendXAxisAnnotations(n),n=this.extendPointAnnotations(n)}},{key:"extendYAxisAnnotations",value:function(n){var o=new K;return n.annotations.yaxis=p.extendArray(n.annotations.yaxis!==void 0?n.annotations.yaxis:[],o.yAxisAnnotation),n}},{key:"extendXAxisAnnotations",value:function(n){var o=new K;return n.annotations.xaxis=p.extendArray(n.annotations.xaxis!==void 0?n.annotations.xaxis:[],o.xAxisAnnotation),n}},{key:"extendPointAnnotations",value:function(n){var o=new K;return n.annotations.points=p.extendArray(n.annotations.points!==void 0?n.annotations.points:[],o.pointAnnotation),n}},{key:"checkForDarkTheme",value:function(n){n.theme&&n.theme.mode==="dark"&&(n.tooltip||(n.tooltip={}),n.tooltip.theme!=="light"&&(n.tooltip.theme="dark"),n.chart.foreColor||(n.chart.foreColor="#f6f7f8"),n.chart.background||(n.chart.background="#424242"),n.theme.palette||(n.theme.palette="palette4"))}},{key:"handleUserInputErrors",value:function(n){var o=n;if(o.tooltip.shared&&o.tooltip.intersect)throw new Error("tooltip.shared cannot be enabled when tooltip.intersect is true. Turn off any other option by setting it to false.");if(o.chart.type==="bar"&&o.plotOptions.bar.horizontal){if(o.yaxis.length>1)throw new Error("Multiple Y Axis for bars are not supported. Switch to column chart by setting plotOptions.bar.horizontal=false");o.yaxis[0].reversed&&(o.yaxis[0].opposite=!0),o.xaxis.tooltip.enabled=!1,o.yaxis[0].tooltip.enabled=!1,o.chart.zoom.enabled=!1}return o.chart.type!=="bar"&&o.chart.type!=="rangeBar"||o.tooltip.sharLine truncated
|
||||
`:h,k=this.w;i||(i=k.config.series);var E=[],N=[],L="",W=k.globals.series.map(function(C,I){return k.globals.collapsedSeriesIndices.indexOf(I)===-1?C:[]}),G=Math.max.apply(Math,R(i.map(function(C){return C.data?C.data.length:0}))),q=new Xe(this.ctx),Q=new Ve(this.ctx),re=function(C){var I="";if(k.globals.axisCharts){if(k.config.xaxis.type==="category"||k.config.xaxis.convertedCatToNumeric)if(k.globals.isBarHorizontal){var $=k.globals.yLabelFormatters[0],te=new Oe(o.ctx).getActiveConfigSeriesIndex();I=$(k.globals.labels[C],{seriesIndex:te,dataPointIndex:C,w:k})}else I=Q.getLabel(k.globals.labels,k.globals.timescaleLabels,0,C).text;k.config.xaxis.type==="datetime"&&(k.config.xaxis.categories.length?I=k.config.xaxis.categories[C]:k.config.labels.length&&(I=k.config.labels[C]))}else I=k.config.labels[C];return Array.isArray(I)&&(I=I.join(" ")),p.isNumber(I)?I:I.split(d).join("")},ie=function(C,I){if(E.length&&I===0&&N.push(E.join(d)),C.data){C.data=C.data.length&&C.data||R(Array(G)).map(function(){return""});for(var $=0;$<C.data.length;$++){E=[];var te=re($);if(te||(q.isFormatXY()?te=i[I].data[$].x:q.isFormat2DArray()&&(te=i[I].data[$]?i[I].data[$][0]:"")),I===0){E.push((we=te,k.config.xaxis.type==="datetime"&&String(we).length>=10?k.config.chart.toolbar.export.csv.dateFormatter(te):p.isNumber(te)?te:te.split(d).join("")));for(var ce=0;ce<k.globals.series.length;ce++){var de;q.isFormatXY()?E.push((de=i[ce].data[$])===null||de===void 0?void 0:de.y):E.push(W[ce][$])}}(k.config.chart.type==="candlestick"||C.type&&C.type==="candlestick")&&(E.pop(),E.push(k.globals.seriesCandleO[I][$]),E.push(k.globals.seriesCandleH[I][$]),E.push(k.globals.seriesCandleL[I][$]),E.push(k.globals.seriesCandleC[I][$])),(k.config.chart.type==="boxPlot"||C.type&&C.type==="boxPlot")&&(E.pop(),E.push(k.globals.seriesCandleO[I][$]),E.push(k.globals.seriesCandleH[I][$]),E.push(k.globals.seriesCandleM[I][$]),E.push(k.globals.seriesCandleL[I][$]),E.push(k.globals.seriesCandleC[I][$])),k.config.chart.type==="rangeBar"&&(E.pop(),E.push(k.globals.seriesRangeStart[I][$]),E.push(k.globals.seriesRangeEnd[I][$])),E.length&&N.push(E.join(d))}}var we};E.push(k.config.chart.toolbar.export.csv.headerCategory),k.config.chart.type==="boxPlot"?(E.push("minimum"),E.push("q1"),E.push("median"),E.push("q3"),E.push("maximum")):k.config.chart.type==="candlestick"?(E.push("open"),E.push("high"),E.push("low"),E.push("close")):k.config.chart.type==="rangeBar"?(E.push("minimum"),E.push("maximum")):i.map(function(C,I){var $=(C.name?C.name:"series-".concat(I))+"";k.globals.axisCharts&&E.push($.split(d).join("")?$.split(d).join(""):"series-".concat(I))}),k.globals.axisCharts||(E.push(k.config.chart.toolbar.export.csv.headerValue),N.push(E.join(d))),i.map(function(C,I){k.globals.axisCharts?ie(C,I):((E=[]).push(k.globals.labels[I].split(d).join("")),E.push(W[I]),N.push(E.join(d)))}),L+=N.join(x),this.triggerDownload("data:text/csv; charset=utf-8,"+encodeURIComponent("\uFEFF"+L),u||k.config.chart.toolbar.export.csv.filename,".csv")}},{key:"triggerDownload",value:function(n,o,i){var u=document.createElement("a");u.href=n,u.download=(o||this.w.globals.chartID)+i,document.body.appendChild(u),u.click(),document.body.removeChild(u)}}]),J}(),Me=function(){function J(n,o){l(this,J),this.ctx=n,this.elgrid=o,this.w=n.w;var i=this.w;this.axesUtils=new Ve(n),this.xaxisLabels=i.globals.labels.slice(),i.globals.timescaleLabels.length>0&&!i.globals.isBarHorizontal&&(this.xaxisLabels=i.globals.timescaleLabels.slice()),i.config.xaxis.overwriteCategories&&(this.xaxisLabels=i.config.xaxis.overwriteCategories),this.drawnLabels=[],this.drawnLabelsRects=[],i.config.xaxis.position==="top"?this.offY=0:this.offY=i.globals.gridHeight+1,this.offY=this.offY+i.config.xaxis.axisBorder.offsetY,this.isCategoryBarHorizontal=i.config.chart.type==="bar"&&i.config.plotOptions.bar.horizontal,this.xaxisFontSize=i.config.xaxis.labels.style.fontSize,this.xaxisFontFamily=i.config.xaxis.labels.style.fontFamily,this.xaxisForeColors=i.config.xaxis.labels.style.colors,this.xaxisBorderWidth=i.config.xaxis.axisBorder.width,this.isCategoryBarHorizontal&&(this.xaxisBorderWidth=i.config.yaxis[0].axisBorder.width.toString()),this.xaxisBorderWidth.indexOf("%")>-1?this.xaxisBorderWidth=i.globals.gridWidth*parseInt(this.xaxisBorderWidth,10)/100:this.xaxisBorderWidth=parseInt(this.xaxisBorderWidth,10),this.xaxisBorderHeight=i.config.xaxis.axisBorder.height,this.yaxis=i.config.yaxis[0]}return b(J,[{key:"drawXaxis",value:function(){var n=this.w,o=new m(this.ctx),i=o.group({class:"apexcharts-xaxis",transform:"translate(".concat(n.config.xaxis.offsetX,", ").concat(n.config.xaxis.offsetY,")")}),u=o.group({class:"apexcharts-xaxis-texts-g",transform:"translate(".concat(n.globals.translateXAxisX,", ").concat(n.globals.translateXAxisY,")")});i.add(u);for(var c=[],d=0;d<this.xaxisLabels.length;d++)c.push(this.xaxisLabels[d]);if(this.drawXAxisLabelAndGroup(!0,o,u,c,n.globals.isXNumeric,function(G,q){return q}),n.globals.hasXaxisGroups)
Line truncated
|
||||
|
||||
.apexcharts-legend {
|
||||
display: flex;
|
||||
overflow: auto;
|
||||
padding: 0 10px;
|
||||
}
|
||||
.apexcharts-legend.apx-legend-position-bottom, .apexcharts-legend.apx-legend-position-top {
|
||||
flex-wrap: wrap
|
||||
}
|
||||
.apexcharts-legend.apx-legend-position-right, .apexcharts-legend.apx-legend-position-left {
|
||||
flex-direction: column;
|
||||
bottom: 0;
|
||||
}
|
||||
.apexcharts-legend.apx-legend-position-bottom.apexcharts-align-left, .apexcharts-legend.apx-legend-position-top.apexcharts-align-left, .apexcharts-legend.apx-legend-position-right, .apexcharts-legend.apx-legend-position-left {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.apexcharts-legend.apx-legend-position-bottom.apexcharts-align-center, .apexcharts-legend.apx-legend-position-top.apexcharts-align-center {
|
||||
justify-content: center;
|
||||
}
|
||||
.apexcharts-legend.apx-legend-position-bottom.apexcharts-align-right, .apexcharts-legend.apx-legend-position-top.apexcharts-align-right {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.apexcharts-legend-series {
|
||||
cursor: pointer;
|
||||
line-height: normal;
|
||||
}
|
||||
.apexcharts-legend.apx-legend-position-bottom .apexcharts-legend-series, .apexcharts-legend.apx-legend-position-top .apexcharts-legend-series{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.apexcharts-legend-text {
|
||||
position: relative;
|
||||
font-size: 14px;
|
||||
}
|
||||
.apexcharts-legend-text *, .apexcharts-legend-marker * {
|
||||
pointer-events: none;
|
||||
}
|
||||
.apexcharts-legend-marker {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
cursor: pointer;
|
||||
margin-right: 3px;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
.apexcharts-legend.apexcharts-align-right .apexcharts-legend-series, .apexcharts-legend.apexcharts-align-left .apexcharts-legend-series{
|
||||
display: inline-block;
|
||||
}
|
||||
.apexcharts-legend-series.apexcharts-no-click {
|
||||
cursor: auto;
|
||||
}
|
||||
.apexcharts-legend .apexcharts-hidden-zero-series, .apexcharts-legend .apexcharts-hidden-null-series {
|
||||
display: none !important;
|
||||
}
|
||||
.apexcharts-inactive-legend {
|
||||
opacity: 0.45;
|
||||
}`);return n.appendChild(o),n}},{key:"getLegendBBox",value:function(){var n=this.w.globals.dom.baseEl.querySelector(".apexcharts-legend").getBoundingClientRect(),o=n.width;return{clwh:n.height,clww:o}}},{key:"appendToForeignObject",value:function(){this.w.globals.dom.elLegendForeign.appendChild(this.getLegendStyles())}},{key:"toggleDataSeries",value:function(n,o){var i=this,u=this.w;if(u.globals.axisCharts||u.config.chart.type==="radialBar"){u.globals.resized=!0;var c=null,d=null;u.globals.risingSeries=[],u.globals.axisCharts?(c=u.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(n,"']")),d=parseInt(c.getAttribute("data:realIndex"),10)):(c=u.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(n+1,"']")),d=parseInt(c.getAttribute("rel"),10)-1),o?[{cs:u.globals.collapsedSeries,csi:u.globals.collapsedSeriesIndices},{cs:u.globals.ancillaryCollapsedSeries,csi:u.globals.ancillaryCollapsedSeriesIndices}].forEach(function(E){i.riseCollapsedSeries(E.cs,E.csi,d)}):this.hideSeries({seriesEl:c,realIndex:d})}else{var h=u.globals.dom.Paper.select(" .apexcharts-series[rel='".concat(n+1,"'] path")),x=u.config.chart.type;if(x==="pie"||x==="polarArea"||x==="donut"){var k=u.config.plotOptions.pie.donut.labels;new m(this.lgCtx.ctx).pathMouseDown(h.members[0],null),this.lgCtx.ctx.pie.printDataLabelsInner(h.members[0].node,k)}h.fire("click")}}},{key:"hideSeries",value:function(n){var o=n.seriesEl,i=n.realIndex,u=this.w,c=p.clone(u.config.series);if(u.globals.axisCharts){var d=!1;if(u.config.yaxis[i]&&u.config.yaxis[i].show&&u.config.yaxis[i].showAlways&&(d=!0,u.globals.ancillaryCollapsedSeriesIndices.indexOf(i)<0&&(u.globals.ancillaryCollapsedSeries.push({index:i,data:c[i].data.slice(),type:o.parentNode.className.baseVal.split("-")[1]}),u.globals.ancillaryCollapsedSeriesIndices.push(i))),!d){u.globals.collapsedSeries.push({index:i,data:c[i].data.slice(),type:o.parentNode.className.baseVal.split("-")[1]}),u.globals.collapsedSeriesIndices.push(i);var h=u.globals.risingSeries.indexOf(i);u.globals.risingSeries.splice(h,1)}}else u.globals.collapsedSeries.push({index:i,data:c[i]}),u.globals.collapsedSeriesIndices.push(i);for(var x=o.childNodes,k=0;k<x.length;k++)x[k].classList.contains("apexcharts-series-markers-wrap")&&(x[k].classList.contains("apexcharts-hide")?x[k].classList.remove("apexcharts-hide"):x[k].classList.add("apexcharts-hide"));u.globals.allSeriesCollapsed=u.globals.collapsedSeries.length===u.config.series.length,c=this._getSeriesBasedOnCollapsedState(c),this.lgCtx.ctx.updateHelpers._updateSeries(c,u.config.chart.animations.dynamicAnimation.enabled)}},{key:"riseCollapsedSeries",value:function(n,o,i){var u=this.w,c=p.clone(u.config.series);if(n.length>0){for(var d=0;d<n.length;d++)n[d].index===i&&(u.globals.axisCharts?(c[i].data=n[d].data.slice(),n.splice(d,1),o.splice(d,1),u.globals.risingSeries.push(i)):(c[i]=n[d].data,n.splice(d,1),o.splice(d,1),u.globals.risingSeries.push(i)));c=this._getSeriesBasedOnCollapsedState(c),this.lgCtx.ctx.updateHelpers._updateSeries(c,u.config.chart.animations.dynamicAnimation.enabled)}}},{key:"_getSeriesBasedOnCollapsedState",value:function(n){var o=this.w;return o.globals.axisCharts?n.forEach(function(i,u){o.globals.collapsedSeriesIndices.indexOf(u)>-1&&(n[u].data=[])}):n.forEach(function(i,u){o.globals.collapsedSeriesIndices.indexOf(u)>-1&&(n[u]=0)}),n}}]),J}(),er=function(){function J(n){l(this,J),this.ctx=n,this.w=n.w,this.onLegendClick=this.onLegendClick.bind(this),this.onLegendHovered=this.onLegendHovered.bind(this),this.isBarsDistributed=this.w.config.chart.type==="bar"&&this.w.config.plotOptions.bar.distributed&&this.w.config.series.length===1,this.legendHelpers=new wr(this)}return b(J,[{key:"init",value:function(){var n=this.w,o=n.globals,i=n.config;if((i.legend.showForSingleSeries&&o.series.length===1||this.isBarsDistributed||o.series.length>1||!o.axisCharts)&&i.legend.show){for(;o.dom.elLegendWrap.firstChild;)o.dom.elLegendWrap.removeChild(o.dom.elLegendWrap.firstChild);this.drawLegends(),p.isIE11()?document.getElementsByTagName("head")[0].appendChild(this.legendHelpers.getLegendStyles()):this.legendHelpers.appendToForeignObject(),i.legend.position==="bottom"||i.legend.position==="top"?this.legendAlignHorizontal():i.legend.position!=="right"&&i.legend.position!=="left"||this.legendAlignVertical()}}},{key:"drawLegends",value:function(){var n=this,o=this.w,i=o.config.legend.fontFamily,u=o.globals.seriesNames,c=o.globals.colors.slice();if(o.config.chart.type==="heatmap"){var d=o.config.plotOptions.heatmap.colorScale.ranges;u=d.map(function(Fe){return Fe.name?Fe.name:Fe.from+" - "+Fe.to}),c=d.map(function(Fe){return Fe.color})}else this.isBarsDistributed&&(u=o.globals.labels.slice());o.config.legend.customLegendItems.length&&(u=o.config.legend.customLegendItems);for(var h=o.globals.legendFormatter,x=o.config.legend.inverseOrder,k=x?u.length-1:0;x?k>=0:k<=u.length-1;x?k--:k++){var E,N=h(u[k],{seriesIndex:k,w:o}),L=!1,W=!1;if(o.globa
Line truncated
|
||||
<path d="M0 0h24v24H0z" fill="none"/>
|
||||
<path d="M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/>
|
||||
</svg>
|
||||
`),h("zoomOut",this.elZoomOut,`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
||||
<path d="M0 0h24v24H0z" fill="none"/>
|
||||
<path d="M7 11v2h10v-2H7zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/>
|
||||
</svg>
|
||||
`);var x=function(N){n.t[N]&&o.config.chart[N].enabled&&d.push({el:N==="zoom"?n.elZoom:n.elSelection,icon:typeof n.t[N]=="string"?n.t[N]:N==="zoom"?`<svg xmlns="http://www.w3.org/2000/svg" fill="#000000" height="24" viewBox="0 0 24 24" width="24">
|
||||
<path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/>
|
||||
<path d="M0 0h24v24H0V0z" fill="none"/>
|
||||
<path d="M12 10h-2v2H9v-2H7V9h2V7h1v2h2v1z"/>
|
||||
</svg>`:`<svg fill="#6E8192" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M0 0h24v24H0z" fill="none"/>
|
||||
<path d="M3 5h2V3c-1.1 0-2 .9-2 2zm0 8h2v-2H3v2zm4 8h2v-2H7v2zM3 9h2V7H3v2zm10-6h-2v2h2V3zm6 0v2h2c0-1.1-.9-2-2-2zM5 21v-2H3c0 1.1.9 2 2 2zm-2-4h2v-2H3v2zM9 3H7v2h2V3zm2 18h2v-2h-2v2zm8-8h2v-2h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2zm0-12h2V7h-2v2zm0 8h2v-2h-2v2zm-4 4h2v-2h-2v2zm0-16h2V3h-2v2z"/>
|
||||
</svg>`,title:n.localeValues[N==="zoom"?"selectionZoom":"selection"],class:o.globals.isTouchDevice?"apexcharts-element-hidden":"apexcharts-".concat(N,"-icon")})};x("zoom"),x("selection"),this.t.pan&&o.config.chart.zoom.enabled&&d.push({el:this.elPan,icon:typeof this.t.pan=="string"?this.t.pan:`<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="#000000" height="24" viewBox="0 0 24 24" width="24">
|
||||
<defs>
|
||||
<path d="M0 0h24v24H0z" id="a"/>
|
||||
</defs>
|
||||
<clipPath id="b">
|
||||
<use overflow="visible" xlink:href="#a"/>
|
||||
</clipPath>
|
||||
<path clip-path="url(#b)" d="M23 5.5V20c0 2.2-1.8 4-4 4h-7.3c-1.08 0-2.1-.43-2.85-1.19L1 14.83s1.26-1.23 1.3-1.25c.22-.19.49-.29.79-.29.22 0 .42.06.6.16.04.01 4.31 2.46 4.31 2.46V4c0-.83.67-1.5 1.5-1.5S11 3.17 11 4v7h1V1.5c0-.83.67-1.5 1.5-1.5S15 .67 15 1.5V11h1V2.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5V11h1V5.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5z"/>
|
||||
</svg>`,title:this.localeValues.pan,class:o.globals.isTouchDevice?"apexcharts-element-hidden":"apexcharts-pan-icon"}),h("reset",this.elZoomReset,`<svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/>
|
||||
<path d="M0 0h24v24H0z" fill="none"/>
|
||||
</svg>`),this.t.download&&d.push({el:this.elMenuIcon,icon:typeof this.t.download=="string"?this.t.download:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/></svg>',title:this.localeValues.menu,class:"apexcharts-menu-icon"});for(var k=0;k<this.elCustomIcons.length;k++)d.push({el:this.elCustomIcons[k],icon:this.t.customIcons[k].icon,title:this.t.customIcons[k].title,index:this.t.customIcons[k].index,class:"apexcharts-toolbar-custom-icon "+this.t.customIcons[k].class});d.forEach(function(N,L){N.index&&p.moveIndexInArray(d,L,N.index)});for(var E=0;E<d.length;E++)m.setAttrs(d[E].el,{class:d[E].class,title:d[E].title}),d[E].el.innerHTML=d[E].icon,u.appendChild(d[E].el);this._createHamburgerMenu(u),o.globals.zoomEnabled?this.elZoom.classList.add(this.selectedClass):o.globals.panEnabled?this.elPan.classList.add(this.selectedClass):o.globals.selectionEnabled&&this.elSelection.classList.add(this.selectedClass),this.addToolbarEventListeners()}},{key:"_createHamburgerMenu",value:function(n){this.elMenuItems=[],n.appendChild(this.elMenu),m.setAttrs(this.elMenu,{class:"apexcharts-menu"});var o=[{name:"exportSVG",title:this.localeValues.exportToSVG},{name:"exportPNG",title:this.localeValues.exportToPNG},{name:"exportCSV",title:this.localeValues.exportToCSV}];this.w.globals.allSeriesHasEqualX||o.splice(2,1);for(var i=0;i<o.length;i++)this.elMenuItems.push(document.createElement("div")),this.elMenuItems[i].innerHTML=o[i].title,m.setAttrs(this.elMenuItems[i],{class:"apexcharts-menu-item ".concat(o[i].name),title:o[i].title}),this.elMenu.appendChild(this.elMenuItems[i])}},{key:"addToolbarEventListeners",value:function(){var n=this;this.elZoomReset.addEventListener("click",this.handleZoomReset.bind(this)),this.elSelection.addEventListener("click",this.toggleZoomSelection.bind(this,"selection")),this.elZoom.addEventListener("click",this.toggleZoomSelection.bind(this,"zoom")),this.elZoomIn.addEventListener("click",this.handleZoomIn.bind(this)),this.elZoomOut.addEventListener("click",this.handleZoomOut.bind(this)),this.elPan.addEventListener("click",this.togglePanning.bind(this)),this.elMenuIcon.addEventListener("click",this.toggleMenu.bind(this)),this.elMenuItems.forEach(function(i){i.classList.contains("exportSVG")?i.addEventListener("click",n.handleDownload.bind(n,"svg")):i.classList.contains("exportPNG")?i.addEventListener("click",n.handleDownload.bind(n,"png")):i.classList.contains("exportCSV")&&i.addEventListener("click",n.handleDownload.bind(n,"csv"))});for(var o=0;o<this.t.customIcons.length;o++)this.elCustomIcons[o].addEventListener("click",this.t.customIcons[o].click.bind(this,this.ctx,this.ctx.w))}},{key:"toggleZoomSelection",value:function(n){this.ctx.getSyncedCharts().forEach(function(o){o.ctx.toolbar.toggleOtherControls();var i=n==="selection"?o.ctx.toolbar.elSelection:o.ctx.toolbar.elZoom,u=n==="selection"?"selectionEnabled":"zoomEnabled";o.w.globals[u]=!o.w.globals[u],i.classList.contains(o.ctx.toolbar.selectedClass)?i.classList.remove(o.ctx.toolbar.selectedClass):i.classList.add(o.ctx.toolbar.selectedClass)})}},{key:"getToolbarIconsReference",value:function(){var n=this.w;this.elZoom||(this.elZoom=n.globals.dom.baseEl.querySelector(".apexcharts-zoom-icon")),this.elPan||(this.elPan=n.globals.dom.baseEl.querySelector(".apexcharts-pan-icon")),this.elSelection||(this.elSelection=n.globals.dom.baseEl.querySelector(".apexcharts-selection-icon"))}},{key:"enableZoomPanFromToolbar",value:function(n){this.toggleOtherControls(),n==="pan"?this.w.globals.panEnabled=!0:this.w.globals.zoomEnabled=!0;var o=n==="pan"?this.elPan:this.elZoom,i=n==="pan"?this.elZoom:this.elPan;o&&o.classList.add(this.selectedClass),i&&i.classList.remove(this.selectedClass)}},{key:"togglePanning",value:function(){this.ctx.getSyncedCharts().forEach(function(n){n.ctx.toolbar.toggleOtherControls(),n.w.globals.panEnabled=!n.w.globals.panEnabled,n.ctx.toolbar.elPan.classList.contains(n.ctx.toolbar.selectedClass)?n.ctx.toolbar.elPan.classList.remove(n.ctx.toolbar.selectedClass):n.ctx.toolbar.elPan.classList.add(n.ctx.toolbar.selectedClass)})}},{key:"toggleOtherControls",value:function(){var n=this,o=this.w;o.globals.panEnabled=!1,o.globals.zoomEnabled=!1,o.globals.selectionEnabled=!1,this.getToolbarIconsReference(),[this.elPan,this.elSelection,this.elZoom].forEach(function(i){i&&i.classList.remove(n.selectedClass)})}},{key:"handleZoomIn",value:function(){var n=this.w;n.globals.isRangeBar&&(this.minX=n.globals.minY,this.maxX=n.globals.maxY);var o=(this.minX+this.maxX)/2,i=(this.minX+o)/2,u=(this.maxX+o)/2,c=this._getNewMinXMaxX(i,u);n.globals.disableZoomIn||this.zoomUpdateOptions(c.minX,c.maxX)}},{key:"handleZoomOut",value:function(){var n=this.w;if(n.globals.isRangeBar&&(this.minX=n.globals.minY,this.maxX=n.globals.maxY),!(n.config.xaxis.type==="datetime"&&new Date(this.minX).getUTCFullYear()<1e3)){var o=(this.minX+this.maxX)/Line truncated
|
||||
.apexcharts-candlestick-series .apexcharts-series[data\\:realIndex='`).concat(o,"'] path[j='").concat(n,`'],
|
||||
.apexcharts-boxPlot-series .apexcharts-series[data\\:realIndex='`).concat(o,"'] path[j='").concat(n,`'],
|
||||
.apexcharts-rangebar-series .apexcharts-series[data\\:realIndex='`).concat(o,"'] path[j='").concat(n,"']")));var x=h?parseFloat(h.getAttribute("cx")):0,k=h?parseFloat(h.getAttribute("cy")):0,E=h?parseFloat(h.getAttribute("barWidth")):0,N=u.getElGrid().getBoundingClientRect(),L=h&&(h.classList.contains("apexcharts-candlestick-area")||h.classList.contains("apexcharts-boxPlot-area"));i.globals.isXNumeric?(h&&!L&&(x-=c%2!=0?E/2:0),h&&L&&i.globals.comboCharts&&(x-=E/2)):i.globals.isBarHorizontal||(x=u.xAxisTicksPositions[n-1]+u.dataPointsDividedWidth/2,isNaN(x)&&(x=u.xAxisTicksPositions[n]-u.dataPointsDividedWidth/2)),i.globals.isBarHorizontal?k-=u.tooltipRect.ttHeight:i.config.tooltip.followCursor?k=u.e.clientY-N.top-u.tooltipRect.ttHeight/2:k+u.tooltipRect.ttHeight+15>i.globals.gridHeight&&(k=i.globals.gridHeight),i.globals.isBarHorizontal||this.moveXCrosshairs(x),u.fixedTooltip||this.moveTooltip(x,k||i.globals.gridHeight)}}]),J}(),zr=function(){function J(n){l(this,J),this.w=n.w,this.ttCtx=n,this.ctx=n.ctx,this.tooltipPosition=new Dr(n)}return b(J,[{key:"drawDynamicPoints",value:function(){var n=this.w,o=new m(this.ctx),i=new Re(this.ctx),u=n.globals.dom.baseEl.querySelectorAll(".apexcharts-series");u=R(u),n.config.chart.stacked&&u.sort(function(N,L){return parseFloat(N.getAttribute("data:realIndex"))-parseFloat(L.getAttribute("data:realIndex"))});for(var c=0;c<u.length;c++){var d=u[c].querySelector(".apexcharts-series-markers-wrap");if(d!==null){var h=void 0,x="apexcharts-marker w".concat((Math.random()+1).toString(36).substring(4));n.config.chart.type!=="line"&&n.config.chart.type!=="area"||n.globals.comboCharts||n.config.tooltip.intersect||(x+=" no-pointer-events");var k=i.getMarkerConfig({cssClass:x,seriesIndex:Number(d.getAttribute("data:realIndex"))});(h=o.drawMarker(0,0,k)).node.setAttribute("default-marker-size",0);var E=document.createElementNS(n.globals.SVGNS,"g");E.classList.add("apexcharts-series-markers"),E.appendChild(h.node),d.appendChild(E)}}}},{key:"enlargeCurrentPoint",value:function(n,o){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,c=this.w;c.config.chart.type!=="bubble"&&this.newPointSize(n,o);var d=o.getAttribute("cx"),h=o.getAttribute("cy");if(i!==null&&u!==null&&(d=i,h=u),this.tooltipPosition.moveXCrosshairs(d),!this.fixedTooltip){if(c.config.chart.type==="radar"){var x=this.ttCtx.getElGrid().getBoundingClientRect();d=this.ttCtx.e.clientX-x.left}this.tooltipPosition.moveTooltip(d,h,c.config.markers.hover.size)}}},{key:"enlargePoints",value:function(n){for(var o=this.w,i=this,u=this.ttCtx,c=n,d=o.globals.dom.baseEl.querySelectorAll(".apexcharts-series:not(.apexcharts-series-collapsed) .apexcharts-marker"),h=o.config.markers.hover.size,x=0;x<d.length;x++){var k=d[x].getAttribute("rel"),E=d[x].getAttribute("index");if(h===void 0&&(h=o.globals.markers.size[E]+o.config.markers.hover.sizeOffset),c===parseInt(k,10)){i.newPointSize(c,d[x]);var N=d[x].getAttribute("cx"),L=d[x].getAttribute("cy");i.tooltipPosition.moveXCrosshairs(N),u.fixedTooltip||i.tooltipPosition.moveTooltip(N,L,h)}else i.oldPointSize(d[x])}}},{key:"newPointSize",value:function(n,o){var i=this.w,u=i.config.markers.hover.size,c=n===0?o.parentNode.firstChild:o.parentNode.lastChild;if(c.getAttribute("default-marker-size")!=="0"){var d=parseInt(c.getAttribute("index"),10);u===void 0&&(u=i.globals.markers.size[d]+i.config.markers.hover.sizeOffset),u<0&&(u=0),c.setAttribute("r",u)}}},{key:"oldPointSize",value:function(n){var o=parseFloat(n.getAttribute("default-marker-size"));n.setAttribute("r",o)}},{key:"resetPointsSize",value:function(){for(var n=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series:not(.apexcharts-series-collapsed) .apexcharts-marker"),o=0;o<n.length;o++){var i=parseFloat(n[o].getAttribute("default-marker-size"));p.isNumber(i)&&i>=0?n[o].setAttribute("r",i):n[o].setAttribute("r",0)}}}]),J}(),Xt=function(){function J(n){l(this,J),this.w=n.w;var o=this.w;this.ttCtx=n,this.isVerticalGroupedRangeBar=!o.globals.isBarHorizontal&&o.config.chart.type==="rangeBar"&&o.config.plotOptions.bar.rangeBarGroupRows}return b(J,[{key:"getAttr",value:function(n,o){return parseFloat(n.target.getAttribute(o))}},{key:"handleHeatTreeTooltip",value:function(n){var o=n.e,i=n.opt,u=n.x,c=n.y,d=n.type,h=this.ttCtx,x=this.w;if(o.target.classList.contains("apexcharts-".concat(d,"-rect"))){var k=this.getAttr(o,"i"),E=this.getAttr(o,"j"),N=this.getAttr(o,"cx"),L=this.getAttr(o,"cy"),W=this.getAttr(o,"width"),G=this.getAttr(o,"height");if(h.tooltipLabels.drawSeriesTexts({ttItems:i.ttItems,i:k,j:E,shared:!1,e:o}),x.globals.capturedSeriesIndex=k,x.globals.capturedDataPointIndex=E,u=N+h.tooltipRect.ttWidth/2+W,c=L+h.tooltipRect.ttHeight/2-G/2,h.tooltipPosition.moveXCrosshairs(N+W/2),u>x.globals.gridWidth/2&&(u=N-h.tooltipRect.ttWidth/2+W),h.w.config.tooltip.followCursor){var q=x.globals.dom.elWrap.getBoundingClientRect();u=x.globals.clientX-q.left-(Line truncated
|
||||
`),C+=I[$].textContent;return C}if(this.clear().build(!0),typeof C=="function")C.call(this,this);else{$=0;for(var ce=(C=C.split(`
|
||||
`)).length;$<ce;$++)this.tspan(C[$]).newLine()}return this.build(!1).rebuild()},size:function(C){return this.attr("font-size",C).rebuild()},leading:function(C){return C==null?this.dom.leading:(this.dom.leading=new o.Number(C),this.rebuild())},lines:function(){var C=(this.textPath&&this.textPath()||this).node,I=o.utils.map(o.utils.filterSVGElements(C.childNodes),function($){return o.adopt($)});return new o.Set(I)},rebuild:function(C){if(typeof C=="boolean"&&(this._rebuild=C),this._rebuild){var I=this,$=0,te=this.dom.leading*new o.Number(this.attr("font-size"));this.lines().each(function(){this.dom.newLined&&(I.textPath()||this.attr("x",I.attr("x")),this.text()==`
|
||||
`?$+=te:(this.attr("dy",te+$),$=0))}),this.fire("rebuild")}return this},build:function(C){return this._build=!!C,this},setData:function(C){return this.dom=C,this.dom.leading=new o.Number(C.leading||1.3),this}},construct:{text:function(C){return this.put(new o.Text).text(C)},plain:function(C){return this.put(new o.Text).plain(C)}}}),o.Tspan=o.invent({create:"tspan",inherit:o.Shape,extend:{text:function(C){return C==null?this.node.textContent+(this.dom.newLined?`
|
||||
`:""):(typeof C=="function"?C.call(this,this):this.plain(C),this)},dx:function(C){return this.attr("dx",C)},dy:function(C){return this.attr("dy",C)},newLine:function(){var C=this.parent(o.Text);return this.dom.newLined=!0,this.dy(C.dom.leading*C.attr("font-size")).attr("x",C.x())}}}),o.extend(o.Text,o.Tspan,{plain:function(C){return this._build===!1&&this.clear(),this.node.appendChild(n.createTextNode(C)),this},tspan:function(C){var I=(this.textPath&&this.textPath()||this).node,$=new o.Tspan;return this._build===!1&&this.clear(),I.appendChild($.node),$.text(C)},clear:function(){for(var C=(this.textPath&&this.textPath()||this).node;C.hasChildNodes();)C.removeChild(C.lastChild);return this},length:function(){return this.node.getComputedTextLength()}}),o.TextPath=o.invent({create:"textPath",inherit:o.Parent,parent:o.Text,construct:{morphArray:o.PathArray,array:function(){var C=this.track();return C?C.array():null},plot:function(C){var I=this.track(),$=null;return I&&($=I.plot(C)),C==null?$:this},track:function(){var C=this.textPath();if(C)return C.reference("href")},textPath:function(){if(this.node.firstChild&&this.node.firstChild.nodeName=="textPath")return o.adopt(this.node.firstChild)}}}),o.Nested=o.invent({create:function(){this.constructor.call(this,o.create("svg")),this.style("overflow","visible")},inherit:o.Container,construct:{nested:function(){return this.put(new o.Nested)}}});var h={stroke:["color","width","opacity","linecap","linejoin","miterlimit","dasharray","dashoffset"],fill:["color","opacity","rule"],prefix:function(C,I){return I=="color"?C:C+"-"+I}};function x(C,I,$,te){return $+te.replace(o.regex.dots," .")}function k(C){return C.toLowerCase().replace(/-(.)/g,function(I,$){return $.toUpperCase()})}function E(C){return C.charAt(0).toUpperCase()+C.slice(1)}function N(C){var I=C.toString(16);return I.length==1?"0"+I:I}function L(C,I,$){if(I==null||$==null){var te=C.bbox();I==null?I=te.width/te.height*$:$==null&&($=te.height/te.width*I)}return{width:I,height:$}}function W(C,I,$){return{x:I*C.a+$*C.c+0,y:I*C.b+$*C.d+0}}function G(C){return{a:C[0],b:C[1],c:C[2],d:C[3],e:C[4],f:C[5]}}function q(C){for(var I=C.childNodes.length-1;I>=0;I--)C.childNodes[I]instanceof J.SVGElement&&q(C.childNodes[I]);return o.adopt(C).id(o.eid(C.nodeName))}function Q(C){return Math.abs(C)>1e-37?C:0}["fill","stroke"].forEach(function(C){var I={};I[C]=function($){if($===void 0)return this;if(typeof $=="string"||o.Color.isRgb($)||$&&typeof $.fill=="function")this.attr(C,$);else for(var te=h[C].length-1;te>=0;te--)$[h[C][te]]!=null&&this.attr(h.prefix(C,h[C][te]),$[h[C][te]]);return this},o.extend(o.Element,o.FX,I)}),o.extend(o.Element,o.FX,{translate:function(C,I){return this.transform({x:C,y:I})},matrix:function(C){return this.attr("transform",new o.Matrix(arguments.length==6?[].slice.call(arguments):C))},opacity:function(C){return this.attr("opacity",C)},dx:function(C){return this.x(new o.Number(C).plus(this instanceof o.FX?0:this.x()),!0)},dy:function(C){return this.y(new o.Number(C).plus(this instanceof o.FX?0:this.y()),!0)}}),o.extend(o.Path,{length:function(){return this.node.getTotalLength()},pointAt:function(C){return this.node.getPointAtLength(C)}}),o.Set=o.invent({create:function(C){Array.isArray(C)?this.members=C:this.clear()},extend:{add:function(){for(var C=[].slice.call(arguments),I=0,$=C.length;I<$;I++)this.members.push(C[I]);return this},remove:function(C){var I=this.index(C);return I>-1&&this.members.splice(I,1),this},each:function(C){for(var I=0,$=this.members.length;I<$;I++)C.apply(this.members[I],[I,this.members]);return this},clear:function(){return this.members=[],this},length:function(){return this.members.length},has:function(C){return this.index(C)>=0},index:function(C){return this.members.indexOf(C)},get:function(C){return this.members[C]},first:function(){return this.get(0)},last:function(){return this.get(this.members.length-1)},valueOf:function(){return this.members}},construct:{set:function(C){return new o.Set(C)}}}),o.FX.Set=o.invent({create:function(C){this.set=C}}),o.Set.inherit=function(){var C=[];for(var I in o.Shape.prototype)typeof o.Shape.prototype[I]=="function"&&typeof o.Set.prototype[I]!="function"&&C.push(I);for(var I in C.forEach(function(te){o.Set.prototype[te]=function(){for(var ce=0,de=this.members.length;ce<de;ce++)this.members[ce]&&typeof this.members[ce][te]=="function"&&this.members[ce][te].apply(this.members[ce],arguments);return te=="animate"?this.fx||(this.fx=new o.FX.Set(this)):this}}),C=[],o.FX.prototype)typeof o.FX.prototype[I]=="function"&&typeof o.FX.Set.prototype[I]!="function"&&C.push(I);C.forEach(function($){o.FX.Set.prototype[$]=function(){for(var te=0,ce=this.set.members.length;te<ce;te++)this.set.members[te].fx[$].apply(this.set.members[te].fx,arguments);return this}})},o.extend(o.Element,{}),o.extend(o.Element,{remember:function(C,I){if(s(arguments[0])==="object")for(var $ in C)this.remember($,C[$]);else{if(arguments.length==1)return this.memory()[C];this.mem
Line truncated
|
||||
0% {
|
||||
opacity: 0
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 1
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes resizeanim {
|
||||
0%,to {
|
||||
opacity: 0
|
||||
}
|
||||
}
|
||||
|
||||
.apexcharts-canvas {
|
||||
position: relative;
|
||||
user-select: none
|
||||
}
|
||||
|
||||
.apexcharts-canvas ::-webkit-scrollbar {
|
||||
-webkit-appearance: none;
|
||||
width: 6px
|
||||
}
|
||||
|
||||
.apexcharts-canvas ::-webkit-scrollbar-thumb {
|
||||
border-radius: 4px;
|
||||
background-color: rgba(0,0,0,.5);
|
||||
box-shadow: 0 0 1px rgba(255,255,255,.5);
|
||||
-webkit-box-shadow: 0 0 1px rgba(255,255,255,.5)
|
||||
}
|
||||
|
||||
.apexcharts-inner {
|
||||
position: relative
|
||||
}
|
||||
|
||||
.apexcharts-text tspan {
|
||||
font-family: inherit
|
||||
}
|
||||
|
||||
.legend-mouseover-inactive {
|
||||
transition: .15s ease all;
|
||||
opacity: .2
|
||||
}
|
||||
|
||||
.apexcharts-legend-text {
|
||||
padding-left: 15px;
|
||||
margin-left: -15px;
|
||||
}
|
||||
|
||||
.apexcharts-series-collapsed {
|
||||
opacity: 0
|
||||
}
|
||||
|
||||
.apexcharts-tooltip {
|
||||
border-radius: 5px;
|
||||
box-shadow: 2px 2px 6px -4px #999;
|
||||
cursor: default;
|
||||
font-size: 14px;
|
||||
left: 62px;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
z-index: 12;
|
||||
transition: .15s ease all
|
||||
}
|
||||
|
||||
.apexcharts-tooltip.apexcharts-active {
|
||||
opacity: 1;
|
||||
transition: .15s ease all
|
||||
}
|
||||
|
||||
.apexcharts-tooltip.apexcharts-theme-light {
|
||||
border: 1px solid #e3e3e3;
|
||||
background: rgba(255,255,255,.96)
|
||||
}
|
||||
|
||||
.apexcharts-tooltip.apexcharts-theme-dark {
|
||||
color: #fff;
|
||||
background: rgba(30,30,30,.8)
|
||||
}
|
||||
|
||||
.apexcharts-tooltip * {
|
||||
font-family: inherit
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-title {
|
||||
padding: 6px;
|
||||
font-size: 15px;
|
||||
margin-bottom: 4px
|
||||
}
|
||||
|
||||
.apexcharts-tooltip.apexcharts-theme-light .apexcharts-tooltip-title {
|
||||
background: #eceff1;
|
||||
border-bottom: 1px solid #ddd
|
||||
}
|
||||
|
||||
.apexcharts-tooltip.apexcharts-theme-dark .apexcharts-tooltip-title {
|
||||
background: rgba(0,0,0,.7);
|
||||
border-bottom: 1px solid #333
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-text-goals-value,.apexcharts-tooltip-text-y-value,.apexcharts-tooltip-text-z-value {
|
||||
display: inline-block;
|
||||
margin-left: 5px;
|
||||
font-weight: 600
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-text-goals-label:empty,.apexcharts-tooltip-text-goals-value:empty,.apexcharts-tooltip-text-y-label:empty,.apexcharts-tooltip-text-y-value:empty,.apexcharts-tooltip-text-z-value:empty,.apexcharts-tooltip-title:empty {
|
||||
display: none
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-text-goals-label,.apexcharts-tooltip-text-goals-value {
|
||||
padding: 6px 0 5px
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-goals-group,.apexcharts-tooltip-text-goals-label,.apexcharts-tooltip-text-goals-value {
|
||||
display: flex
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-text-goals-label:not(:empty),.apexcharts-tooltip-text-goals-value:not(:empty) {
|
||||
margin-top: -6px
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-marker {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
position: relative;
|
||||
top: 0;
|
||||
margin-right: 10px;
|
||||
border-radius: 50%
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-series-group {
|
||||
padding: 0 10px;
|
||||
display: none;
|
||||
text-align: left;
|
||||
justify-content: left;
|
||||
align-items: center
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-series-group.apexcharts-active .apexcharts-tooltip-marker {
|
||||
opacity: 1
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-series-group.apexcharts-active,.apexcharts-tooltip-series-group:last-child {
|
||||
padding-bottom: 4px
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-series-group-hidden {
|
||||
opacity: 0;
|
||||
height: 0;
|
||||
line-height: 0;
|
||||
padding: 0!important
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-y-group {
|
||||
padding: 6px 0 5px
|
||||
}
|
||||
|
||||
.apexcharts-custom-tooltip,.apexcharts-tooltip-box {
|
||||
padding: 4px 8px
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-boxPlot {
|
||||
display: flex;
|
||||
flex-direction: column-reverse
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-box>div {
|
||||
margin: 4px 0
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-box span.value {
|
||||
font-weight: 700
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-rangebar {
|
||||
padding: 5px 8px
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-rangebar .category {
|
||||
font-weight: 600;
|
||||
color: #777
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-rangebar .series-name {
|
||||
font-weight: 700;
|
||||
display: block;
|
||||
margin-bottom: 5px
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip,.apexcharts-yaxistooltip {
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
color: #373d3f;
|
||||
font-size: 13px;
|
||||
text-align: center;
|
||||
border-radius: 2px;
|
||||
position: absolute;
|
||||
z-index: 10;
|
||||
background: #eceff1;
|
||||
border: 1px solid #90a4ae
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip {
|
||||
padding: 9px 10px;
|
||||
transition: .15s ease all
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip.apexcharts-theme-dark {
|
||||
background: rgba(0,0,0,.7);
|
||||
border: 1px solid rgba(0,0,0,.5);
|
||||
color: #fff
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip:after,.apexcharts-xaxistooltip:before {
|
||||
left: 50%;
|
||||
border: solid transparent;
|
||||
content: " ";
|
||||
height: 0;
|
||||
width: 0;
|
||||
position: absolute;
|
||||
pointer-events: none
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip:after {
|
||||
border-color: transparent;
|
||||
border-width: 6px;
|
||||
margin-left: -6px
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip:before {
|
||||
border-color: transparent;
|
||||
border-width: 7px;
|
||||
margin-left: -7px
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip-bottom:after,.apexcharts-xaxistooltip-bottom:before {
|
||||
bottom: 100%
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip-top:after,.apexcharts-xaxistooltip-top:before {
|
||||
top: 100%
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip-bottom:after {
|
||||
border-bottom-color: #eceff1
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip-bottom:before {
|
||||
border-bottom-color: #90a4ae
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:after,.apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:before {
|
||||
border-bottom-color: rgba(0,0,0,.5)
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip-top:after {
|
||||
border-top-color: #eceff1
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip-top:before {
|
||||
border-top-color: #90a4ae
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip-top.apexcharts-theme-dark:after,.apexcharts-xaxistooltip-top.apexcharts-theme-dark:before {
|
||||
border-top-color: rgba(0,0,0,.5)
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip.apexcharts-active {
|
||||
opacity: 1;
|
||||
transition: .15s ease all
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip {
|
||||
padding: 4px 10px
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip.apexcharts-theme-dark {
|
||||
background: rgba(0,0,0,.7);
|
||||
border: 1px solid rgba(0,0,0,.5);
|
||||
color: #fff
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip:after,.apexcharts-yaxistooltip:before {
|
||||
top: 50%;
|
||||
border: solid transparent;
|
||||
content: " ";
|
||||
height: 0;
|
||||
width: 0;
|
||||
position: absolute;
|
||||
pointer-events: none
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip:after {
|
||||
border-color: transparent;
|
||||
border-width: 6px;
|
||||
margin-top: -6px
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip:before {
|
||||
border-color: transparent;
|
||||
border-width: 7px;
|
||||
margin-top: -7px
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip-left:after,.apexcharts-yaxistooltip-left:before {
|
||||
left: 100%
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip-right:after,.apexcharts-yaxistooltip-right:before {
|
||||
right: 100%
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip-left:after {
|
||||
border-left-color: #eceff1
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip-left:before {
|
||||
border-left-color: #90a4ae
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip-left.apexcharts-theme-dark:after,.apexcharts-yaxistooltip-left.apexcharts-theme-dark:before {
|
||||
border-left-color: rgba(0,0,0,.5)
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip-right:after {
|
||||
border-right-color: #eceff1
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip-right:before {
|
||||
border-right-color: #90a4ae
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip-right.apexcharts-theme-dark:after,.apexcharts-yaxistooltip-right.apexcharts-theme-dark:before {
|
||||
border-right-color: rgba(0,0,0,.5)
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip.apexcharts-active {
|
||||
opacity: 1
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip-hidden {
|
||||
display: none
|
||||
}
|
||||
|
||||
.apexcharts-xcrosshairs,.apexcharts-ycrosshairs {
|
||||
pointer-events: none;
|
||||
opacity: 0;
|
||||
transition: .15s ease all
|
||||
}
|
||||
|
||||
.apexcharts-xcrosshairs.apexcharts-active,.apexcharts-ycrosshairs.apexcharts-active {
|
||||
opacity: 1;
|
||||
transition: .15s ease all
|
||||
}
|
||||
|
||||
.apexcharts-ycrosshairs-hidden {
|
||||
opacity: 0
|
||||
}
|
||||
|
||||
.apexcharts-selection-rect {
|
||||
cursor: move
|
||||
}
|
||||
|
||||
.svg_select_boundingRect,.svg_select_points_rot {
|
||||
pointer-events: none;
|
||||
opacity: 0;
|
||||
visibility: hidden
|
||||
}
|
||||
|
||||
.apexcharts-selection-rect+g .svg_select_boundingRect,.apexcharts-selection-rect+g .svg_select_points_rot {
|
||||
opacity: 0;
|
||||
visibility: hidden
|
||||
}
|
||||
|
||||
.apexcharts-selection-rect+g .svg_select_points_l,.apexcharts-selection-rect+g .svg_select_points_r {
|
||||
cursor: ew-resize;
|
||||
opacity: 1;
|
||||
visibility: visible
|
||||
}
|
||||
|
||||
.svg_select_points {
|
||||
fill: #efefef;
|
||||
stroke: #333;
|
||||
rx: 2
|
||||
}
|
||||
|
||||
.apexcharts-svg.apexcharts-zoomable.hovering-zoom {
|
||||
cursor: crosshair
|
||||
}
|
||||
|
||||
.apexcharts-svg.apexcharts-zoomable.hovering-pan {
|
||||
cursor: move
|
||||
}
|
||||
|
||||
.apexcharts-menu-icon,.apexcharts-pan-icon,.apexcharts-reset-icon,.apexcharts-selection-icon,.apexcharts-toolbar-custom-icon,.apexcharts-zoom-icon,.apexcharts-zoomin-icon,.apexcharts-zoomout-icon {
|
||||
cursor: pointer;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
line-height: 24px;
|
||||
color: #6e8192;
|
||||
text-align: center
|
||||
}
|
||||
|
||||
.apexcharts-menu-icon svg,.apexcharts-reset-icon svg,.apexcharts-zoom-icon svg,.apexcharts-zoomin-icon svg,.apexcharts-zoomout-icon svg {
|
||||
fill: #6e8192
|
||||
}
|
||||
|
||||
.apexcharts-selection-icon svg {
|
||||
fill: #444;
|
||||
transform: scale(.76)
|
||||
}
|
||||
|
||||
.apexcharts-theme-dark .apexcharts-menu-icon svg,.apexcharts-theme-dark .apexcharts-pan-icon svg,.apexcharts-theme-dark .apexcharts-reset-icon svg,.apexcharts-theme-dark .apexcharts-selection-icon svg,.apexcharts-theme-dark .apexcharts-toolbar-custom-icon svg,.apexcharts-theme-dark .apexcharts-zoom-icon svg,.apexcharts-theme-dark .apexcharts-zoomin-icon svg,.apexcharts-theme-dark .apexcharts-zoomout-icon svg {
|
||||
fill: #f3f4f5
|
||||
}
|
||||
|
||||
.apexcharts-canvas .apexcharts-reset-zoom-icon.apexcharts-selected svg,.apexcharts-canvas .apexcharts-selection-icon.apexcharts-selected svg,.apexcharts-canvas .apexcharts-zoom-icon.apexcharts-selected svg {
|
||||
fill: #008ffb
|
||||
}
|
||||
|
||||
.apexcharts-theme-light .apexcharts-menu-icon:hover svg,.apexcharts-theme-light .apexcharts-reset-icon:hover svg,.apexcharts-theme-light .apexcharts-selection-icon:not(.apexcharts-selected):hover svg,.apexcharts-theme-light .apexcharts-zoom-icon:not(.apexcharts-selected):hover svg,.apexcharts-theme-light .apexcharts-zoomin-icon:hover svg,.apexcharts-theme-light .apexcharts-zoomout-icon:hover svg {
|
||||
fill: #333
|
||||
}
|
||||
|
||||
.apexcharts-menu-icon,.apexcharts-selection-icon {
|
||||
position: relative
|
||||
}
|
||||
|
||||
.apexcharts-reset-icon {
|
||||
margin-left: 5px
|
||||
}
|
||||
|
||||
.apexcharts-menu-icon,.apexcharts-reset-icon,.apexcharts-zoom-icon {
|
||||
transform: scale(.85)
|
||||
}
|
||||
|
||||
.apexcharts-zoomin-icon,.apexcharts-zoomout-icon {
|
||||
transform: scale(.7)
|
||||
}
|
||||
|
||||
.apexcharts-zoomout-icon {
|
||||
margin-right: 3px
|
||||
}
|
||||
|
||||
.apexcharts-pan-icon {
|
||||
transform: scale(.62);
|
||||
position: relative;
|
||||
left: 1px;
|
||||
top: 0
|
||||
}
|
||||
|
||||
.apexcharts-pan-icon svg {
|
||||
fill: #fff;
|
||||
stroke: #6e8192;
|
||||
stroke-width: 2
|
||||
}
|
||||
|
||||
.apexcharts-pan-icon.apexcharts-selected svg {
|
||||
stroke: #008ffb
|
||||
}
|
||||
|
||||
.apexcharts-pan-icon:not(.apexcharts-selected):hover svg {
|
||||
stroke: #333
|
||||
}
|
||||
|
||||
.apexcharts-toolbar {
|
||||
position: absolute;
|
||||
z-index: 11;
|
||||
max-width: 176px;
|
||||
text-align: right;
|
||||
border-radius: 3px;
|
||||
padding: 0 6px 2px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center
|
||||
}
|
||||
|
||||
.apexcharts-menu {
|
||||
background: #fff;
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 3px;
|
||||
padding: 3px;
|
||||
right: 10px;
|
||||
opacity: 0;
|
||||
min-width: 110px;
|
||||
transition: .15s ease all;
|
||||
pointer-events: none
|
||||
}
|
||||
|
||||
.apexcharts-menu.apexcharts-menu-open {
|
||||
opacity: 1;
|
||||
pointer-events: all;
|
||||
transition: .15s ease all
|
||||
}
|
||||
|
||||
.apexcharts-menu-item {
|
||||
padding: 6px 7px;
|
||||
font-size: 12px;
|
||||
cursor: pointer
|
||||
}
|
||||
|
||||
.apexcharts-theme-light .apexcharts-menu-item:hover {
|
||||
background: #eee
|
||||
}
|
||||
|
||||
.apexcharts-theme-dark .apexcharts-menu {
|
||||
background: rgba(0,0,0,.7);
|
||||
color: #fff
|
||||
}
|
||||
|
||||
@media screen and (min-width:768px) {
|
||||
.apexcharts-canvas:hover .apexcharts-toolbar {
|
||||
opacity: 1
|
||||
}
|
||||
}
|
||||
|
||||
.apexcharts-canvas .apexcharts-element-hidden,.apexcharts-datalabel.apexcharts-element-hidden,.apexcharts-hide .apexcharts-series-points {
|
||||
opacity: 0
|
||||
}
|
||||
|
||||
.apexcharts-hidden-element-shown {
|
||||
opacity: 1;
|
||||
transition: 0.25s ease all;
|
||||
}
|
||||
.apexcharts-datalabel,.apexcharts-datalabel-label,.apexcharts-datalabel-value,.apexcharts-datalabels,.apexcharts-pie-label {
|
||||
cursor: default;
|
||||
pointer-events: none
|
||||
}
|
||||
|
||||
.apexcharts-pie-label-delay {
|
||||
opacity: 0;
|
||||
animation-name: opaque;
|
||||
animation-duration: .3s;
|
||||
animation-fill-mode: forwards;
|
||||
animation-timing-function: ease
|
||||
}
|
||||
|
||||
.apexcharts-annotation-rect,.apexcharts-area-series .apexcharts-area,.apexcharts-area-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events,.apexcharts-gridline,.apexcharts-line,.apexcharts-line-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events,.apexcharts-point-annotation-label,.apexcharts-radar-series path,.apexcharts-radar-series polygon,.apexcharts-toolbar svg,.apexcharts-tooltip .apexcharts-marker,.apexcharts-xaxis-annotation-label,.apexcharts-yaxis-annotation-label,.apexcharts-zoom-rect {
|
||||
pointer-events: none
|
||||
}
|
||||
|
||||
.apexcharts-marker {
|
||||
transition: .15s ease all
|
||||
}
|
||||
|
||||
.resize-triggers {
|
||||
animation: 1ms resizeanim;
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
overflow: hidden
|
||||
}
|
||||
|
||||
.contract-trigger:before,.resize-triggers,.resize-triggers>div {
|
||||
content: " ";
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0
|
||||
}
|
||||
|
||||
.resize-triggers>div {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background: #eee;
|
||||
overflow: auto
|
||||
}
|
||||
|
||||
.contract-trigger:before {
|
||||
overflow: hidden;
|
||||
width: 200%;
|
||||
height: 200%
|
||||
}
|
||||
|
||||
.apexcharts-bar-goals-markers{
|
||||
pointer-events: none
|
||||
}
|
||||
|
||||
.apexcharts-bar-shadows{
|
||||
pointer-events: none
|
||||
}
|
||||
|
||||
.apexcharts-rangebar-goals-markers{
|
||||
pointer-events: none
|
||||
}`,d?c.prepend(n.css):h.head.appendChild(n.css))}var k=n.create(n.w.config.series,{});if(!k)return o(n);n.mount(k).then(function(){typeof n.w.config.chart.events.mounted=="function"&&n.w.config.chart.events.mounted(n,n.w),n.events.fireEvent("mounted",[n,n.w]),o(k)}).catch(function(E){i(E)})}else i(new Error("Element not found"))})}},{key:"create",value:function(n,o){var i=this.w;new co(this).initModules();var u=this.w.globals;if(u.noData=!1,u.animationEnded=!1,this.responsive.checkResponsiveConfig(o),i.config.xaxis.convertedCatToNumeric&&new he(i.config).convertCatToNumericXaxis(i.config,this.ctx),this.el===null||(this.core.setupElements(),i.config.chart.type==="treemap"&&(i.config.grid.show=!1,i.config.yaxis[0].show=!1),u.svgWidth===0))return u.animationEnded=!0,null;var c=_.checkComboSeries(n);u.comboCharts=c.comboCharts,u.comboBarCount=c.comboBarCount;var d=n.every(function(E){return E.data&&E.data.length===0});(n.length===0||d)&&this.series.handleNoData(),this.events.setupEventHandlers(),this.data.parseData(n),this.theme.init(),new Re(this).setGlobalMarkerSize(),this.formatters.setLabelFormatters(),this.titleSubtitle.draw(),u.noData&&u.collapsedSeries.length!==u.series.length&&!i.config.legend.showForSingleSeries||this.legend.init(),this.series.hasAllSeriesEqualX(),u.axisCharts&&(this.core.coreCalculations(),i.config.xaxis.type!=="category"&&this.formatters.setLabelFormatters(),this.ctx.toolbar.minX=i.globals.minX,this.ctx.toolbar.maxX=i.globals.maxX),this.formatters.heatmapLabelFormatters(),new _(this).getLargestMarkerSize(),this.dimensions.plotCoords();var h=this.core.xySettings();this.grid.createGridMask();var x=this.core.plotChartType(n,h),k=new Le(this);return k.bringForward(),i.config.dataLabels.background.enabled&&k.dataLabelsBackground(),this.core.shiftGraphPosition(),{elGraph:x,xyRatios:h,dimensions:{plot:{left:i.globals.translateX,top:i.globals.translateY,width:i.globals.gridWidth,height:i.globals.gridHeight}}}}},{key:"mount",value:function(){var n=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,i=this,u=i.w;return new Promise(function(c,d){if(i.el===null)return d(new Error("Not enough data to display or target element not found"));(o===null||u.globals.allSeriesCollapsed)&&i.series.handleNoData(),i.grid=new Ne(i);var h,x,k=i.grid.drawGrid();if(i.annotations=new ne(i),i.annotations.drawImageAnnos(),i.annotations.drawTextAnnos(),u.config.grid.position==="back"&&(k&&u.globals.dom.elGraphical.add(k.el),k!=null&&(h=k.elGridBorders)!==null&&h!==void 0&&h.node&&u.globals.dom.elGraphical.add(k.elGridBorders)),Array.isArray(o.elGraph))for(var E=0;E<o.elGraph.length;E++)u.globals.dom.elGraphical.add(o.elGraph[E]);else u.globals.dom.elGraphical.add(o.elGraph);u.config.grid.position==="front"&&(k&&u.globals.dom.elGraphical.add(k.el),k!=null&&(x=k.elGridBorders)!==null&&x!==void 0&&x.node&&u.globals.dom.elGraphical.add(k.elGridBorders)),u.config.xaxis.crosshairs.position==="front"&&i.crosshairs.drawXCrosshairs(),u.config.yaxis[0].crosshairs.position==="front"&&i.crosshairs.drawYCrosshairs(),u.config.chart.type!=="treemap"&&i.axes.drawAxis(u.config.chart.type,k);var N=new Me(n.ctx,k),L=new qe(n.ctx,k);if(k!==null&&(N.xAxisLabelCorrections(k.xAxisTickWidth),L.setYAxisTextAlignments(),u.config.yaxis.map(function(G,q){u.globals.ignoreYAxisIndexes.indexOf(q)===-1&&L.yAxisTitleRotate(q,G.opposite)})),i.annotations.drawAxesAnnotations(),!u.globals.noData){if(u.config.tooltip.enabled&&!u.globals.noData&&i.w.globals.tooltip.drawTooltip(o.xyRatios),u.globals.axisCharts&&(u.globals.isXNumeric||u.config.xaxis.convertedCatToNumeric||u.globals.isRangeBar))(u.config.chart.zoom.enabled||u.config.chart.selection&&u.config.chart.selection.enabled||u.config.chart.pan&&u.config.chart.pan.enabled)&&i.zoomPanSelection.init({xyRatios:o.xyRatios});else{var W=u.config.chart.toolbar.tools;["zoom","zoomin","zoomout","selection","pan","reset"].forEach(function(G){W[G]=!1})}u.config.chart.toolbar.show&&!u.globals.allSeriesCollapsed&&i.toolbar.createToolbar()}u.globals.memory.methodsToExec.length>0&&u.globals.memory.methodsToExec.forEach(function(G){G.method(G.params,!1,G.context)}),u.globals.axisCharts||u.globals.noData||i.core.resizeNonAxisCharts(),c(i)})}},{key:"destroy",value:function(){var n,o;window.removeEventListener("resize",this.windowResizeHandler),this.el.parentNode,n=this.parentResizeHandler,(o=fo.get(n))&&(o.disconnect(),fo.delete(n));var i=this.w.config.chart.id;i&&Apex._chartInstances.forEach(function(u,c){u.id===p.escapeString(i)&&Apex._chartInstances.splice(c,1)}),new Sa(this.ctx).clear({isUpdating:!1})}},{key:"updateOptions",value:function(n){var o=this,i=arguments.length>1&&arguments[1]!==void 0&&arguments[1],u=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],c=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3],d=!(arguments.length>4&&arguments[4]!==void 0)||arguments[4],h=this.w;return h.globals.selection=void 0,n.series&&(this.series.resetSeries(!1,!0,!1),n.series.length&&n.se
Line truncated
|
||||
`).forEach(function(f){s=f.indexOf(":"),r=f.substring(0,s).trim().toLowerCase(),a=f.substring(s+1).trim(),!(!r||t[r]&&X3[r])&&(r==="set-cookie"?t[r]?t[r].push(a):t[r]=[a]:t[r]=t[r]?t[r]+", "+a:a)}),t},Mx=Symbol("internals");function Fs(e){return e&&String(e).trim().toLowerCase()}function uc(e){return e===!1||e==null?e:ze.isArray(e)?e.map(uc):String(e)}function G3(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let a;for(;a=r.exec(e);)t[a[1]]=a[2];return t}const U3=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ep(e,t,r,a,s){if(ze.isFunction(a))return a.call(this,t,r);if(s&&(t=r),!!ze.isString(t)){if(ze.isString(a))return t.indexOf(a)!==-1;if(ze.isRegExp(a))return a.test(t)}}function $3(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,a)=>r.toUpperCase()+a)}function q3(e,t){const r=ze.toCamelCase(" "+t);["get","set","has"].forEach(a=>{Object.defineProperty(e,a+r,{value:function(s,l,f){return this[a].call(this,t,s,l,f)},configurable:!0})})}class nf{constructor(t){t&&this.set(t)}set(t,r,a){const s=this;function l(b,S,T){const O=Fs(S);if(!O)throw new Error("header name must be a non-empty string");const j=ze.findKey(s,O);(!j||s[j]===void 0||T===!0||T===void 0&&s[j]!==!1)&&(s[j||S]=uc(b))}const f=(b,S)=>ze.forEach(b,(T,O)=>l(T,O,S));if(ze.isPlainObject(t)||t instanceof this.constructor)f(t,r);else if(ze.isString(t)&&(t=t.trim())&&!U3(t))f(Y3(t),r);else if(ze.isHeaders(t))for(const[b,S]of t.entries())l(S,b,a);else t!=null&&l(r,t,a);return this}get(t,r){if(t=Fs(t),t){const a=ze.findKey(this,t);if(a){const s=this[a];if(!r)return s;if(r===!0)return G3(s);if(ze.isFunction(r))return r.call(this,s,a);if(ze.isRegExp(r))return r.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=Fs(t),t){const a=ze.findKey(this,t);return!!(a&&this[a]!==void 0&&(!r||Ep(this,this[a],a,r)))}return!1}delete(t,r){const a=this;let s=!1;function l(f){if(f=Fs(f),f){const b=ze.findKey(a,f);b&&(!r||Ep(a,a[b],b,r))&&(delete a[b],s=!0)}}return ze.isArray(t)?t.forEach(l):l(t),s}clear(t){const r=Object.keys(this);let a=r.length,s=!1;for(;a--;){const l=r[a];(!t||Ep(this,this[l],l,t,!0))&&(delete this[l],s=!0)}return s}normalize(t){const r=this,a={};return ze.forEach(this,(s,l)=>{const f=ze.findKey(a,l);if(f){r[f]=uc(s),delete r[l];return}const b=t?$3(l):String(l).trim();b!==l&&delete r[l],r[b]=uc(s),a[b]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return ze.forEach(this,(a,s)=>{a!=null&&a!==!1&&(r[s]=t&&ze.isArray(a)?a.join(", "):a)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
|
||||
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const a=new this(t);return r.forEach(s=>a.set(s)),a}static accessor(t){const a=(this[Mx]=this[Mx]={accessors:{}}).accessors,s=this.prototype;function l(f){const b=Fs(f);a[b]||(q3(s,f),a[b]=!0)}return ze.isArray(t)?t.forEach(l):l(t),this}}nf.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);ze.reduceDescriptors(nf.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(a){this[r]=a}}});ze.freezeMethods(nf);const zn=nf;function Mp(e,t){const r=this||mb,a=t||r,s=zn.from(a.headers);let l=a.data;return ze.forEach(e,function(b){l=b.call(r,l,s.normalize(),t?t.status:void 0)}),s.normalize(),l}function E_(e){return!!(e&&e.__CANCEL__)}function gs(e,t,r){ht.call(this,e??"canceled",ht.ERR_CANCELED,t,r),this.name="CanceledError"}ze.inherits(gs,ht,{__CANCEL__:!0});function M_(e,t,r){const a=r.config.validateStatus;!r.status||!a||a(r.status)?e(r):t(new ht("Request failed with status code "+r.status,[ht.ERR_BAD_REQUEST,ht.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function K3(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Z3(e,t){e=e||10;const r=new Array(e),a=new Array(e);let s=0,l=0,f;return t=t!==void 0?t:1e3,function(S){const T=Date.now(),O=a[l];f||(f=T),r[s]=S,a[s]=T;let j=l,F=0;for(;j!==s;)F+=r[j++],j=j%e;if(s=(s+1)%e,s===l&&(l=(l+1)%e),T-f<t)return;const z=O&&T-O;return z?Math.round(F*1e3/z):void 0}}function Q3(e,t){let r=0,a=1e3/t,s,l;const f=(T,O=Date.now())=>{r=O,s=null,l&&(clearTimeout(l),l=null),e.apply(null,T)};return[(...T)=>{const O=Date.now(),j=O-r;j>=a?f(T,O):(s=T,l||(l=setTimeout(()=>{l=null,f(s)},a-j)))},()=>s&&f(s)]}const ad=(e,t,r=3)=>{let a=0;const s=Z3(50,250);return Q3(l=>{const f=l.loaded,b=l.lengthComputable?l.total:void 0,S=f-a,T=s(S),O=f<=b;a=f;const j={loaded:f,total:b,progress:b?f/b:void 0,bytes:S,rate:T||void 0,estimated:T&&b&&O?(b-f)/T:void 0,event:l,lengthComputable:b!=null,[t?"download":"upload"]:!0};e(j)},r)},Rx=(e,t)=>{const r=e!=null;return[a=>t[0]({lengthComputable:r,total:e,loaded:a}),t[1]]},Nx=e=>(...t)=>ze.asap(()=>e(...t)),J3=on.hasStandardBrowserEnv?function(){const t=on.navigator&&/(msie|trident)/i.test(on.navigator.userAgent),r=document.createElement("a");let a;function s(l){let f=l;return t&&(r.setAttribute("href",f),f=r.href),r.setAttribute("href",f),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return a=s(window.location.href),function(f){const b=ze.isString(f)?s(f):f;return b.protocol===a.protocol&&b.host===a.host}}():function(){return function(){return!0}}(),eV=on.hasStandardBrowserEnv?{write(e,t,r,a,s,l){const f=[e+"="+encodeURIComponent(t)];ze.isNumber(r)&&f.push("expires="+new Date(r).toGMTString()),ze.isString(a)&&f.push("path="+a),ze.isString(s)&&f.push("domain="+s),l===!0&&f.push("secure"),document.cookie=f.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function tV(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function rV(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function R_(e,t){return e&&!tV(t)?rV(e,t):t}const Ix=e=>e instanceof zn?{...e}:e;function Ya(e,t){t=t||{};const r={};function a(T,O,j){return ze.isPlainObject(T)&&ze.isPlainObject(O)?ze.merge.call({caseless:j},T,O):ze.isPlainObject(O)?ze.merge({},O):ze.isArray(O)?O.slice():O}function s(T,O,j){if(ze.isUndefined(O)){if(!ze.isUndefined(T))return a(void 0,T,j)}else return a(T,O,j)}function l(T,O){if(!ze.isUndefined(O))return a(void 0,O)}function f(T,O){if(ze.isUndefined(O)){if(!ze.isUndefined(T))return a(void 0,T)}else return a(void 0,O)}function b(T,O,j){if(j in t)return a(T,O);if(j in e)return a(void 0,T)}const S={url:l,method:l,data:l,baseURL:f,transformRequest:f,transformResponse:f,paramsSerializer:f,timeout:f,timeoutMessage:f,withCredentials:f,withXSRFToken:f,adapter:f,responseType:f,xsrfCookieName:f,xsrfHeaderName:f,onUploadProgress:f,onDownloadProgress:f,decompress:f,maxContentLength:f,maxBodyLength:f,beforeRedirect:f,transport:f,httpAgent:f,httpsAgent:f,cancelToken:f,socketPath:f,responseEncoding:f,validateStatus:b,headers:(T,O)=>s(Ix(T),Ix(O),!0)};return ze.forEach(Object.keys(Object.assign({},e,t)),function(O){const j=S[O]||s,F=j(e[O],t[O],O);ze.isUndefined(F)&&j!==b||(r[O]=F)}),r}const N_=e=>{const t=Ya({},e);let{data:r,withXSRFToken:a,xsrfHeaderName:s,xsrfCookieName:l,headers:f,auth:b}=t;t.headers=f=zn.from(f),t.url=__(R_(t.baseURL,t.url),e.params,e.paramsSerializer),b&&f.set("Authorization","Basic "+btoa((b.username||"")+":"+(b.password?unescape(enco
Line truncated
|
||||
`+l.map(Dx).join(`
|
||||
`):" "+Dx(l[0]):"as no adapter specified";throw new ht("There is no suitable adapter to dispatch the request "+f,"ERR_NOT_SUPPORT")}return a},adapters:ag};function Rp(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new gs(null,e)}function zx(e){return Rp(e),e.headers=zn.from(e.headers),e.data=Mp.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),j_.getAdapter(e.adapter||mb.adapter)(e).then(function(a){return Rp(e),a.data=Mp.call(e,e.transformResponse,a),a.headers=zn.from(a.headers),a},function(a){return E_(a)||(Rp(e),a&&a.response&&(a.response.data=Mp.call(e,e.transformResponse,a.response),a.response.headers=zn.from(a.response.headers))),Promise.reject(a)})}const D_="1.7.5",yb={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{yb[e]=function(a){return typeof a===e||"a"+(t<1?"n ":" ")+e}});const Fx={};yb.transitional=function(t,r,a){function s(l,f){return"[Axios v"+D_+"] Transitional option '"+l+"'"+f+(a?". "+a:"")}return(l,f,b)=>{if(t===!1)throw new ht(s(f," has been removed"+(r?" in "+r:"")),ht.ERR_DEPRECATED);return r&&!Fx[f]&&(Fx[f]=!0,console.warn(s(f," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(l,f,b):!0}};function hV(e,t,r){if(typeof e!="object")throw new ht("options must be an object",ht.ERR_BAD_OPTION_VALUE);const a=Object.keys(e);let s=a.length;for(;s-- >0;){const l=a[s],f=t[l];if(f){const b=e[l],S=b===void 0||f(b,l,e);if(S!==!0)throw new ht("option "+l+" must be "+S,ht.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new ht("Unknown option "+l,ht.ERR_BAD_OPTION)}}const ig={assertOptions:hV,validators:yb},Vo=ig.validators;class sd{constructor(t){this.defaults=t,this.interceptors={request:new Ex,response:new Ex}}async request(t,r){try{return await this._request(t,r)}catch(a){if(a instanceof Error){let s;Error.captureStackTrace?Error.captureStackTrace(s={}):s=new Error;const l=s.stack?s.stack.replace(/^.+\n/,""):"";try{a.stack?l&&!String(a.stack).endsWith(l.replace(/^.+\n.+\n/,""))&&(a.stack+=`
|
||||
`+l):a.stack=l}catch{}}throw a}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Ya(this.defaults,r);const{transitional:a,paramsSerializer:s,headers:l}=r;a!==void 0&&ig.assertOptions(a,{silentJSONParsing:Vo.transitional(Vo.boolean),forcedJSONParsing:Vo.transitional(Vo.boolean),clarifyTimeoutError:Vo.transitional(Vo.boolean)},!1),s!=null&&(ze.isFunction(s)?r.paramsSerializer={serialize:s}:ig.assertOptions(s,{encode:Vo.function,serialize:Vo.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let f=l&&ze.merge(l.common,l[r.method]);l&&ze.forEach(["delete","get","head","post","put","patch","common"],D=>{delete l[D]}),r.headers=zn.concat(f,l);const b=[];let S=!0;this.interceptors.request.forEach(function(R){typeof R.runWhen=="function"&&R.runWhen(r)===!1||(S=S&&R.synchronous,b.unshift(R.fulfilled,R.rejected))});const T=[];this.interceptors.response.forEach(function(R){T.push(R.fulfilled,R.rejected)});let O,j=0,F;if(!S){const D=[zx.bind(this),void 0];for(D.unshift.apply(D,b),D.push.apply(D,T),F=D.length,O=Promise.resolve(r);j<F;)O=O.then(D[j++],D[j++]);return O}F=b.length;let z=r;for(j=0;j<F;){const D=b[j++],R=b[j++];try{z=D(z)}catch(P){R.call(this,P);break}}try{O=zx.call(this,z)}catch(D){return Promise.reject(D)}for(j=0,F=T.length;j<F;)O=O.then(T[j++],T[j++]);return O}getUri(t){t=Ya(this.defaults,t);const r=R_(t.baseURL,t.url);return __(r,t.params,t.paramsSerializer)}}ze.forEach(["delete","get","head","options"],function(t){sd.prototype[t]=function(r,a){return this.request(Ya(a||{},{method:t,url:r,data:(a||{}).data}))}});ze.forEach(["post","put","patch"],function(t){function r(a){return function(l,f,b){return this.request(Ya(b||{},{method:t,headers:a?{"Content-Type":"multipart/form-data"}:{},url:l,data:f}))}}sd.prototype[t]=r(),sd.prototype[t+"Form"]=r(!0)});const cc=sd;class xb{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(l){r=l});const a=this;this.promise.then(s=>{if(!a._listeners)return;let l=a._listeners.length;for(;l-- >0;)a._listeners[l](s);a._listeners=null}),this.promise.then=s=>{let l;const f=new Promise(b=>{a.subscribe(b),l=b}).then(s);return f.cancel=function(){a.unsubscribe(l)},f},t(function(l,f,b){a.reason||(a.reason=new gs(l,f,b),r(a.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}static source(){let t;return{token:new xb(function(s){t=s}),cancel:t}}}const gV=xb;function bV(e){return function(r){return e.apply(null,r)}}function vV(e){return ze.isObject(e)&&e.isAxiosError===!0}const sg={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(sg).forEach(([e,t])=>{sg[t]=e});const mV=sg;function z_(e){const t=new cc(e),r=g_(cc.prototype.request,t);return ze.extend(r,cc.prototype,t,{allOwnKeys:!0}),ze.extend(r,t,null,{allOwnKeys:!0}),r.create=function(s){return z_(Ya(e,s))},r}const or=z_(mb);or.Axios=cc;or.CanceledError=gs;or.CancelToken=gV;or.isCancel=E_;or.VERSION=D_;or.toFormData=rf;or.AxiosError=ht;or.Cancel=or.CanceledError;or.all=function(t){return Promise.all(t)};or.spread=bV;or.isAxiosError=vV;or.mergeConfig=Ya;or.AxiosHeaders=zn;or.formToJSON=e=>A_(ze.isHTMLForm(e)?new FormData(e):e);or.getAdapter=j_.getAdapter;or.HttpStatusCode=mV;or.default=or;const Vx=or,Wx=e=>{if(e)return e.replace("T"," ")},Bx="redeployLogFilters",Wo="__all__",Du="- Alle -",Hx="50",yV=[{value:"10",label:"10"},{value:"25",label:"25"},{value:"50",label:"50"},{value:"100",label:"100"},{value:"all",label:"Alle"}],xV=new Set(yV.map(e=>e.value)),wV={Einzeln:"Einzeln",Alle:"Alle",Auswahl:"Auswahl",single:"Einzeln",all:"Alle",selection:"Auswa
Line truncated
|
||||
@@ -1 +0,0 @@
|
||||
*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#eee}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Roboto,sans-serif;font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#bdbdbd}input::placeholder,textarea::placeholder{opacity:1;color:#bdbdbd}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(33 150 243 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(33 150 243 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 540px){.container{max-width:540px}}@media (min-width: 720px){.container{max-width:720px}}@media (min-width: 960px){.container{max-width:960px}}@media (min-width: 1140px){.container{max-width:1140px}}@media (min-width: 1320px){.container{max-width:1320px}}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.\!invisible{visibility:hidden!important}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.\!absolute{position:absolute!important}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.-left-1{leftLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#eee}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Roboto,sans-serif;font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#bdbdbd}input::placeholder,textarea::placeholder{opacity:1;color:#bdbdbd}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(33 150 243 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(33 150 243 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 540px){.container{max-width:540px}}@media (min-width: 720px){.container{max-width:720px}}@media (min-width: 960px){.container{max-width:960px}}@media (min-width: 1140px){.container{max-width:1140px}}@media (min-width: 1320px){.container{max-width:1320px}}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.\!invisible{visibility:hidden!important}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.\!absolute{position:absolute!important}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.-left-1{leftLine truncated
|
||||
@@ -1,776 +0,0 @@
|
||||
function tO(e,t){for(var r=0;r<t.length;r++){const o=t[r];if(typeof o!="string"&&!Array.isArray(o)){for(const s in o)if(s!=="default"&&!(s in e)){const u=Object.getOwnPropertyDescriptor(o,s);u&&Object.defineProperty(e,s,u.get?u:{enumerable:!0,get:()=>o[s]})}}}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 s of document.querySelectorAll('link[rel="modulepreload"]'))o(s);new MutationObserver(s=>{for(const u of s)if(u.type==="childList")for(const p of u.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&o(p)}).observe(document,{childList:!0,subtree:!0});function r(s){const u={};return s.integrity&&(u.integrity=s.integrity),s.referrerPolicy&&(u.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?u.credentials="include":s.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function o(s){if(s.ep)return;s.ep=!0;const u=r(s);fetch(s.href,u)}})();function Ly(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function wl(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function o(){return this instanceof o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var s=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(r,o,s.get?s:{enumerable:!0,get:function(){return e[o]}})}),r}var Dy={exports:{}},Wc={},zy={exports:{}},bt={};/**
|
||||
* @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 Cl=Symbol.for("react.element"),rO=Symbol.for("react.portal"),nO=Symbol.for("react.fragment"),aO=Symbol.for("react.strict_mode"),oO=Symbol.for("react.profiler"),iO=Symbol.for("react.provider"),sO=Symbol.for("react.context"),lO=Symbol.for("react.forward_ref"),uO=Symbol.for("react.suspense"),cO=Symbol.for("react.memo"),dO=Symbol.for("react.lazy"),hv=Symbol.iterator;function fO(e){return e===null||typeof e!="object"?null:(e=hv&&e[hv]||e["@@iterator"],typeof e=="function"?e:null)}var Fy={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Vy=Object.assign,Wy={};function Yi(e,t,r){this.props=e,this.context=t,this.refs=Wy,this.updater=r||Fy}Yi.prototype.isReactComponent={};Yi.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")};Yi.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Hy(){}Hy.prototype=Yi.prototype;function _h(e,t,r){this.props=e,this.context=t,this.refs=Wy,this.updater=r||Fy}var Oh=_h.prototype=new Hy;Oh.constructor=_h;Vy(Oh,Yi.prototype);Oh.isPureReactComponent=!0;var gv=Array.isArray,By=Object.prototype.hasOwnProperty,Ah={current:null},Xy={key:!0,ref:!0,__self:!0,__source:!0};function Yy(e,t,r){var o,s={},u=null,p=null;if(t!=null)for(o in t.ref!==void 0&&(p=t.ref),t.key!==void 0&&(u=""+t.key),t)By.call(t,o)&&!Xy.hasOwnProperty(o)&&(s[o]=t[o]);var w=arguments.length-2;if(w===1)s.children=r;else if(1<w){for(var k=Array(w),T=0;T<w;T++)k[T]=arguments[T+2];s.children=k}if(e&&e.defaultProps)for(o in w=e.defaultProps,w)s[o]===void 0&&(s[o]=w[o]);return{$$typeof:Cl,type:e,key:u,ref:p,props:s,_owner:Ah.current}}function pO(e,t){return{$$typeof:Cl,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Mh(e){return typeof e=="object"&&e!==null&&e.$$typeof===Cl}function hO(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var bv=/\/+/g;function gf(e,t){return typeof e=="object"&&e!==null&&e.key!=null?hO(""+e.key):t.toString(36)}function Su(e,t,r,o,s){var u=typeof e;(u==="undefined"||u==="boolean")&&(e=null);var p=!1;if(e===null)p=!0;else switch(u){case"string":case"number":p=!0;break;case"object":switch(e.$$typeof){case Cl:case rO:p=!0}}if(p)return p=e,s=s(p),e=o===""?"."+gf(p,0):o,gv(s)?(r="",e!=null&&(r=e.replace(bv,"$&/")+"/"),Su(s,t,r,"",function(T){return T})):s!=null&&(Mh(s)&&(s=pO(s,r+(!s.key||p&&p.key===s.key?"":(""+s.key).replace(bv,"$&/")+"/")+e)),t.push(s)),1;if(p=0,o=o===""?".":o+":",gv(e))for(var w=0;w<e.length;w++){u=e[w];var k=o+gf(u,w);p+=Su(u,t,r,k,s)}else if(k=fO(e),typeof k=="function")for(e=k.call(e),w=0;!(u=e.next()).done;)u=u.value,k=o+gf(u,w++),p+=Su(u,t,r,k,s);else if(u==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return p}function Jl(e,t,r){if(e==null)return e;var o=[],s=0;return Su(e,o,"","",function(u){return t.call(r,u,s++)}),o}function gO(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Rr={current:null},ku={transition:null},bO={ReactCurrentDispatcher:Rr,ReactCurrentBatchConfig:ku,ReactCurrentOwner:Ah};bt.Children={map:Jl,forEach:function(e,t,r){Jl(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return Jl(e,function(){t++}),t},toArray:function(e){return Jl(e,function(t){return t})||[]},only:function(e){if(!Mh(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};bt.Component=Yi;bt.Fragment=nO;bt.Profiler=oO;bt.PureComponent=_h;bt.StrictMode=aO;bt.Suspense=uO;bt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=bO;bt.cloneElement=function(e,t,r){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=Vy({},e.props),s=e.key,u=e.ref,p=e._owner;if(t!=null){if(t.ref!==void 0&&(u=t.ref,p=Ah.current),t.key!==void 0&&(s=""+t.key),e.type&&e.type.defaultProps)var w=e.type.defaultProps;for(k in t)By.call(t,k)&&!Xy.hasOwnProperty(k)&&(o[k]=t[k]===void 0&&w!==void 0?w[k]:t[k])}var k=arguments.length-2;if(k===1)o.children=r;else if(1<k){w=Array(k);for(var T=0;T<k;T++)w[T]=arguments[T+2];o.children=w}return{$$typeof:Cl,type:e.type,key:s,ref:u,props:o,_owner:p}};bt.createContext=function(e){return e={$$typeof:sO,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:iO,_conLine 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 vO=re,mO=Symbol.for("react.element"),yO=Symbol.for("react.fragment"),xO=Object.prototype.hasOwnProperty,wO=vO.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,CO={key:!0,ref:!0,__self:!0,__source:!0};function Gy(e,t,r){var o,s={},u=null,p=null;r!==void 0&&(u=""+r),t.key!==void 0&&(u=""+t.key),t.ref!==void 0&&(p=t.ref);for(o in t)xO.call(t,o)&&!CO.hasOwnProperty(o)&&(s[o]=t[o]);if(e&&e.defaultProps)for(o in t=e.defaultProps,t)s[o]===void 0&&(s[o]=t[o]);return{$$typeof:mO,type:e,key:u,ref:p,props:s,_owner:wO.current}}Wc.Fragment=yO;Wc.jsx=Gy;Wc.jsxs=Gy;Dy.exports=Wc;var ee=Dy.exports,op={},Uy={exports:{}},rn={},$y={exports:{}},qy={};/**
|
||||
* @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(ve,ce){var be=ve.length;ve.push(ce);e:for(;0<be;){var ye=be-1>>>1,_e=ve[ye];if(0<s(_e,ce))ve[ye]=ce,ve[be]=_e,be=ye;else break e}}function r(ve){return ve.length===0?null:ve[0]}function o(ve){if(ve.length===0)return null;var ce=ve[0],be=ve.pop();if(be!==ce){ve[0]=be;e:for(var ye=0,_e=ve.length,Ee=_e>>>1;ye<Ee;){var De=2*(ye+1)-1,je=ve[De],Me=De+1,Be=ve[Me];if(0>s(je,be))Me<_e&&0>s(Be,je)?(ve[ye]=Be,ve[Me]=be,ye=Me):(ve[ye]=je,ve[De]=be,ye=De);else if(Me<_e&&0>s(Be,be))ve[ye]=Be,ve[Me]=be,ye=Me;else break e}}return ce}function s(ve,ce){var be=ve.sortIndex-ce.sortIndex;return be!==0?be:ve.id-ce.id}if(typeof performance=="object"&&typeof performance.now=="function"){var u=performance;e.unstable_now=function(){return u.now()}}else{var p=Date,w=p.now();e.unstable_now=function(){return p.now()-w}}var k=[],T=[],E=1,D=null,F=3,L=!1,z=!1,R=!1,_=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,f=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function b(ve){for(var ce=r(T);ce!==null;){if(ce.callback===null)o(T);else if(ce.startTime<=ve)o(T),ce.sortIndex=ce.expirationTime,t(k,ce);else break;ce=r(T)}}function g(ve){if(R=!1,b(ve),!z)if(r(k)!==null)z=!0,me(v);else{var ce=r(T);ce!==null&&Se(g,ce.startTime-ve)}}function v(ve,ce){z=!1,R&&(R=!1,y(Y),Y=-1),L=!0;var be=F;try{for(b(ce),D=r(k);D!==null&&(!(D.expirationTime>ce)||ve&&!U());){var ye=D.callback;if(typeof ye=="function"){D.callback=null,F=D.priorityLevel;var _e=ye(D.expirationTime<=ce);ce=e.unstable_now(),typeof _e=="function"?D.callback=_e:D===r(k)&&o(k),b(ce)}else o(k);D=r(k)}if(D!==null)var Ee=!0;else{var De=r(T);De!==null&&Se(g,De.startTime-ce),Ee=!1}return Ee}finally{D=null,F=be,L=!1}}var P=!1,M=null,Y=-1,B=5,H=-1;function U(){return!(e.unstable_now()-H<B)}function Z(){if(M!==null){var ve=e.unstable_now();H=ve;var ce=!0;try{ce=M(!0,ve)}finally{ce?oe():(P=!1,M=null)}}else P=!1}var oe;if(typeof f=="function")oe=function(){f(Z)};else if(typeof MessageChannel<"u"){var ae=new MessageChannel,pe=ae.port2;ae.port1.onmessage=Z,oe=function(){pe.postMessage(null)}}else oe=function(){_(Z,0)};function me(ve){M=ve,P||(P=!0,oe())}function Se(ve,ce){Y=_(function(){ve(e.unstable_now())},ce)}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(ve){ve.callback=null},e.unstable_continueExecution=function(){z||L||(z=!0,me(v))},e.unstable_forceFrameRate=function(ve){0>ve||125<ve?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):B=0<ve?Math.floor(1e3/ve):5},e.unstable_getCurrentPriorityLevel=function(){return F},e.unstable_getFirstCallbackNode=function(){return r(k)},e.unstable_next=function(ve){switch(F){case 1:case 2:case 3:var ce=3;break;default:ce=F}var be=F;F=ce;try{return ve()}finally{F=be}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(ve,ce){switch(ve){case 1:case 2:case 3:case 4:case 5:break;default:ve=3}var be=F;F=ve;try{return ce()}finally{F=be}},e.unstable_scheduleCallback=function(ve,ce,be){var ye=e.unstable_now();switch(typeof be=="object"&&be!==null?(be=be.delay,be=typeof be=="number"&&0<be?ye+be:ye):be=ye,ve){case 1:var _e=-1;break;case 2:_e=250;break;case 5:_e=1073741823;break;case 4:_e=1e4;break;default:_e=5e3}return _e=be+_e,ve={id:E++,callback:ce,priorityLevel:ve,startTime:be,expirationTime:_e,sortIndex:-1},be>ye?(ve.sortIndex=be,t(T,ve),r(k)===null&&ve===r(T)&&(R?(y(Y),Y=-1):R=!0,Se(g,be-ye))):(ve.sortIndex=_e,t(k,ve),z||L||(z=!0,me(v))),ve},e.unstable_shouldYield=U,e.unstable_wrapCallback=function(ve){var ce=F;return function(){var be=F;F=ce;try{return ve.apply(this,arguments)}finally{F=be}}}})(qy);$y.exports=qy;var SO=$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 Zy=re,en=SO;function He(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);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 Ky=new Set,$s={};function Lo(e,t){Ai(e,t),Ai(e+"Capture",t)}function Ai(e,t){for($s[e]=t,e=0;e<t.length;e++)Ky.add(t[e])}var ha=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ip=Object.prototype.hasOwnProperty,kO=/^[: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]*$/,vv={},mv={};function TO(e){return ip.call(mv,e)?!0:ip.call(vv,e)?!1:kO.test(e)?mv[e]=!0:(vv[e]=!0,!1)}function PO(e,t,r,o){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return o?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function _O(e,t,r,o){if(t===null||typeof t>"u"||PO(e,t,r,o))return!0;if(o)return!1;if(r!==null)switch(r.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 Nr(e,t,r,o,s,u,p){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=o,this.attributeNamespace=s,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=u,this.removeEmptyString=p}var br={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){br[e]=new Nr(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];br[t]=new Nr(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){br[e]=new Nr(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){br[e]=new Nr(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){br[e]=new Nr(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){br[e]=new Nr(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){br[e]=new Nr(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){br[e]=new Nr(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){br[e]=new Nr(e,5,!1,e.toLowerCase(),null,!1,!1)});var Rh=/[\-:]([a-z])/g;function Nh(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(Rh,Nh);br[t]=new Nr(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(Rh,Nh);br[t]=new Nr(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(Rh,Nh);br[t]=new Nr(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){br[e]=new Nr(e,1,!1,e.toLowerCase(),null,!1,!1)});br.xlinkHref=new Nr("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){br[e]=new Nr(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ih(e,t,r,o){var s=br.hasOwnProperty(t)?br[t]:null;(s!==null?s.type!==0:o||!(2<t.length)||t[0]!=="o"&&t[0]!=
Line truncated
|
||||
`+bf+e}var vf=!1;function mf(e,t){if(!e||vf)return"";vf=!0;var r=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(T){var o=T}Reflect.construct(e,[],t)}else{try{t.call()}catch(T){o=T}e.call(t.prototype)}else{try{throw Error()}catch(T){o=T}e()}}catch(T){if(T&&o&&typeof T.stack=="string"){for(var s=T.stack.split(`
|
||||
`),u=o.stack.split(`
|
||||
`),p=s.length-1,w=u.length-1;1<=p&&0<=w&&s[p]!==u[w];)w--;for(;1<=p&&0<=w;p--,w--)if(s[p]!==u[w]){if(p!==1||w!==1)do if(p--,w--,0>w||s[p]!==u[w]){var k=`
|
||||
`+s[p].replace(" at new "," at ");return e.displayName&&k.includes("<anonymous>")&&(k=k.replace("<anonymous>",e.displayName)),k}while(1<=p&&0<=w);break}}}finally{vf=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Os(e):""}function OO(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=mf(e.type,!1),e;case 11:return e=mf(e.type.render,!1),e;case 1:return e=mf(e.type,!0),e;default:return""}}function cp(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 oi:return"Fragment";case ai:return"Portal";case sp:return"Profiler";case jh:return"StrictMode";case lp:return"Suspense";case up:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Jy:return(e.displayName||"Context")+".Consumer";case Qy:return(e._context.displayName||"Context")+".Provider";case Lh:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Dh:return t=e.displayName||null,t!==null?t:cp(e.type)||"Memo";case Ia:t=e._payload,e=e._init;try{return cp(e(t))}catch{}}return null}function AO(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 cp(t);case 8:return t===jh?"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 Qa(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function tx(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function MO(e){var t=tx(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var s=r.get,u=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(p){o=""+p,u.call(this,p)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return o},setValue:function(p){o=""+p},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function tu(e){e._valueTracker||(e._valueTracker=MO(e))}function rx(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),o="";return e&&(o=tx(e)?e.checked?"true":"false":e.value),e=o,e!==r?(t.setValue(e),!0):!1}function Uu(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 dp(e,t){var r=t.checked;return Ut({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function xv(e,t){var r=t.defaultValue==null?"":t.defaultValue,o=t.checked!=null?t.checked:t.defaultChecked;r=Qa(t.value!=null?t.value:r),e._wrapperState={initialChecked:o,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function nx(e,t){t=t.checked,t!=null&&Ih(e,"checked",t,!1)}function fp(e,t){nx(e,t);var r=Qa(t.value),o=t.type;if(r!=null)o==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(o==="submit"||o==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?pp(e,t.type,r):t.hasOwnProperty("defaultValue")&&pp(e,t.type,Qa(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function wv(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var o=t.type;if(!(o!=="submit"&&o!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function pp(e,t,r){(t!=="number"||Uu(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var As=Array.isArray;function mi(e,t,r,o){if(e=e.options,t){t={};for(var s=0;s<r.length;s++)t["$"+r[s]]=!0;for(r=0;r<e.length;r++)s=t.hasOwnProperty("$"+e[r].value),e[r].selected!==s&&(e[r].selected=s),s&&o&&(e[r].defaultSelected=!0)}else{for(r=""+Qa(r),t=null,s=0;s<e.length;s++){if(e[s].value===r){e[s].selected=!0,o&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function hp(e,t){if(t.dan
Line truncated
|
||||
`).replace(VA,"")}function uu(e,t,r){if(t=Xv(t),Xv(e)!==t&&r)throw Error(He(425))}function tc(){}var _p=null,Op=null;function Ap(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 Mp=typeof setTimeout=="function"?setTimeout:void 0,WA=typeof clearTimeout=="function"?clearTimeout:void 0,Yv=typeof Promise=="function"?Promise:void 0,HA=typeof queueMicrotask=="function"?queueMicrotask:typeof Yv<"u"?function(e){return Yv.resolve(null).then(e).catch(BA)}:Mp;function BA(e){setTimeout(function(){throw e})}function Ef(e,t){var r=t,o=0;do{var s=r.nextSibling;if(e.removeChild(r),s&&s.nodeType===8)if(r=s.data,r==="/$"){if(o===0){e.removeChild(s),Js(t);return}o--}else r!=="$"&&r!=="$?"&&r!=="$!"||o++;r=s}while(r);Js(t)}function Ya(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 Gv(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"){if(t===0)return e;t--}else r==="/$"&&t++}e=e.previousSibling}return null}var Ui=Math.random().toString(36).slice(2),$n="__reactFiber$"+Ui,al="__reactProps$"+Ui,ga="__reactContainer$"+Ui,Ep="__reactEvents$"+Ui,XA="__reactListeners$"+Ui,YA="__reactHandles$"+Ui;function xo(e){var t=e[$n];if(t)return t;for(var r=e.parentNode;r;){if(t=r[ga]||r[$n]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=Gv(e);e!==null;){if(r=e[$n])return r;e=Gv(e)}return t}e=r,r=e.parentNode}return null}function Tl(e){return e=e[$n]||e[ga],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function ui(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(He(33))}function Gc(e){return e[al]||null}var Rp=[],ci=-1;function ro(e){return{current:e}}function Dt(e){0>ci||(e.current=Rp[ci],Rp[ci]=null,ci--)}function Et(e,t){ci++,Rp[ci]=e.current,e.current=t}var Ja={},Tr=ro(Ja),Yr=ro(!1),Po=Ja;function Mi(e,t){var r=e.type.contextTypes;if(!r)return Ja;var o=e.stateNode;if(o&&o.__reactInternalMemoizedUnmaskedChildContext===t)return o.__reactInternalMemoizedMaskedChildContext;var s={},u;for(u in r)s[u]=t[u];return o&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=s),s}function Gr(e){return e=e.childContextTypes,e!=null}function rc(){Dt(Yr),Dt(Tr)}function Uv(e,t,r){if(Tr.current!==Ja)throw Error(He(168));Et(Tr,t),Et(Yr,r)}function Yx(e,t,r){var o=e.stateNode;if(t=t.childContextTypes,typeof o.getChildContext!="function")return r;o=o.getChildContext();for(var s in o)if(!(s in t))throw Error(He(108,AO(e)||"Unknown",s));return Ut({},r,o)}function nc(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ja,Po=Tr.current,Et(Tr,e),Et(Yr,Yr.current),!0}function $v(e,t,r){var o=e.stateNode;if(!o)throw Error(He(169));r?(e=Yx(e,t,Po),o.__reactInternalMemoizedMergedChildContext=e,Dt(Yr),Dt(Tr),Et(Tr,e)):Dt(Yr),Et(Yr,r)}var la=null,Uc=!1,Rf=!1;function Gx(e){la===null?la=[e]:la.push(e)}function GA(e){Uc=!0,Gx(e)}function no(){if(!Rf&&la!==null){Rf=!0;var e=0,t=_t;try{var r=la;for(_t=1;e<r.length;e++){var o=r[e];do o=o(!0);while(o!==null)}la=null,Uc=!1}catch(s){throw la!==null&&(la=la.slice(e+1)),vx(Fh,no),s}finally{_t=t,Rf=!1}}return null}var di=[],fi=0,ac=null,oc=0,cn=[],dn=0,_o=null,ua=1,ca="";function mo(e,t){di[fi++]=oc,di[fi++]=ac,ac=e,oc=t}function Ux(e,t,r){cn[dn++]=ua,cn[dn++]=ca,cn[dn++]=_o,_o=e;var o=ua;e=ca;var s=32-Mn(o)-1;o&=~(1<<s),r+=1;var u=32-Mn(t)+s;if(30<u){var p=s-s%5;u=(o&(1<<p)-1).toString(32),o>>=p,s-=p,ua=1<<32-Mn(t)+s|r<<s|o,ca=u+e}else ua=1<<u|r<<s|o,ca=e}function $h(e){e.return!==null&&(mo(e,1),Ux(e,1,0))}function qh(e){for(;e===ac;)ac=di[--fi],di[fi]=null,oc=di[--fi],di[fi]=null;for(;e===_o;)_o=cn[--dn],cn[dn]=null,ca=cn[--dn],cn[dn]=null,ua=cn[--dn],cn[dn]=null}var Qr=null,Kr=null,Vt=!1,_n=null;function $x(e,t){var r=fn(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,t=e.deletions,t===null?(e.deletions=[r],e.flags|=16):t.push(r)}function qv(e,t){switch(e.tag){case 5:var r=e.type;return t=t.nodeType!==1||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Qr=e,Kr=Ya(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Qr=e,Kr=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(r=_o!==null?{id:ua,overflow:ca}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},r=fn(18,null,null,0),r.stateNode=t,r.return=e,e.child=r,Qr=e,Kr=null,!0):!1;default:return!1}}function Np(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ip(e){if(Vt){var t=Kr;if(t){var r=t;if(!qv(e,t)){if(Np(e))throw Error(He(418));t=Ya(r.nextSibling);var o=Qr;t&&qv(e,t)?$x(o,r):(e.flags=e.flags&-4097|2,Vt=!1,Qr=e)}}else{if(Np(e))throw Error(He(418));e.flags=e.flags&-4097|2,Vt=!1,Qr=e}}}function Zv(e){
Line truncated
|
||||
Error generating stack: `+u.message+`
|
||||
`+u.stack}return{value:e,source:t,stack:s,digest:null}}function Df(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function zp(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var tM=typeof WeakMap=="function"?WeakMap:Map;function Cw(e,t,r){r=da(-1,r),r.tag=3,r.payload={element:null};var o=t.value;return r.callback=function(){pc||(pc=!0,$p=o),zp(e,t)},r}function Sw(e,t,r){r=da(-1,r),r.tag=3;var o=e.type.getDerivedStateFromError;if(typeof o=="function"){var s=t.value;r.payload=function(){return o(s)},r.callback=function(){zp(e,t)}}var u=e.stateNode;return u!==null&&typeof u.componentDidCatch=="function"&&(r.callback=function(){zp(e,t),typeof o!="function"&&(Ua===null?Ua=new Set([this]):Ua.add(this));var p=t.stack;this.componentDidCatch(t.value,{componentStack:p!==null?p:""})}),r}function am(e,t,r){var o=e.pingCache;if(o===null){o=e.pingCache=new tM;var s=new Set;o.set(t,s)}else s=o.get(t),s===void 0&&(s=new Set,o.set(t,s));s.has(r)||(s.add(r),e=gM.bind(null,e,t,r),t.then(e,e))}function om(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 im(e,t,r,o,s){return e.mode&1?(e.flags|=65536,e.lanes=s,e):(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=da(-1,1),t.tag=2,Ga(r,t,1))),r.lanes|=1),e)}var rM=xa.ReactCurrentOwner,Br=!1;function Mr(e,t,r,o){t.child=e===null?tw(t,null,r,o):Ri(t,e.child,r,o)}function sm(e,t,r,o,s){r=r.render;var u=t.ref;return Ci(t,s),o=ig(e,t,r,o,u,s),r=sg(),e!==null&&!Br?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,va(e,t,s)):(Vt&&r&&$h(t),t.flags|=1,Mr(e,t,o,s),t.child)}function lm(e,t,r,o,s){if(e===null){var u=r.type;return typeof u=="function"&&!vg(u)&&u.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=u,kw(e,t,u,o,s)):(e=Iu(r.type,null,o,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(u=e.child,!(e.lanes&s)){var p=u.memoizedProps;if(r=r.compare,r=r!==null?r:tl,r(p,o)&&e.ref===t.ref)return va(e,t,s)}return t.flags|=1,e=qa(u,o),e.ref=t.ref,e.return=t,t.child=e}function kw(e,t,r,o,s){if(e!==null){var u=e.memoizedProps;if(tl(u,o)&&e.ref===t.ref)if(Br=!1,t.pendingProps=o=u,(e.lanes&s)!==0)e.flags&131072&&(Br=!0);else return t.lanes=e.lanes,va(e,t,s)}return Fp(e,t,r,o,s)}function Tw(e,t,r){var o=t.pendingProps,s=o.children,u=e!==null?e.memoizedState:null;if(o.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Et(gi,Zr),Zr|=r;else{if(!(r&1073741824))return e=u!==null?u.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Et(gi,Zr),Zr|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},o=u!==null?u.baseLanes:r,Et(gi,Zr),Zr|=o}else u!==null?(o=u.baseLanes|r,t.memoizedState=null):o=r,Et(gi,Zr),Zr|=o;return Mr(e,t,s,r),t.child}function Pw(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function Fp(e,t,r,o,s){var u=Gr(r)?Po:Tr.current;return u=Mi(t,u),Ci(t,s),r=ig(e,t,r,o,u,s),o=sg(),e!==null&&!Br?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,va(e,t,s)):(Vt&&o&&$h(t),t.flags|=1,Mr(e,t,r,s),t.child)}function um(e,t,r,o,s){if(Gr(r)){var u=!0;nc(t)}else u=!1;if(Ci(t,s),t.stateNode===null)Eu(e,t),Jx(t,r,o),Dp(t,r,o,s),o=!0;else if(e===null){var p=t.stateNode,w=t.memoizedProps;p.props=w;var k=p.context,T=r.contextType;typeof T=="object"&&T!==null?T=vn(T):(T=Gr(r)?Po:Tr.current,T=Mi(t,T));var E=r.getDerivedStateFromProps,D=typeof E=="function"||typeof p.getSnapshotBeforeUpdate=="function";D||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(w!==o||k!==T)&&em(t,p,o,T),ja=!1;var F=t.memoizedState;p.state=F,lc(t,o,p,s),k=t.memoizedState,w!==o||F!==k||Yr.current||ja?(typeof E=="function"&&(Lp(t,r,E,o),k=t.memoizedState),(w=ja||Jv(t,r,w,o,F,k,T))?(D||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount()),typeof p.componentDidMount=="function"&&(t.flags|=4194308)):(typeof p.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=o,t.memoizedState=k),p.props=o,p.state=k,p.context=T,o=w):(typeof p.componentDidMount=="function"&&(t.flags|=4194308),o=!1)}else{p=t.stateNode,Kx(e,t),w=t.memoizedProps,T=t.type===t.elementType?w:Tn(t.type,w),p.props=T,D=t.pendingProps,F=p.context,k=r.contextType,typeof k=="object"&&k!==null?k=vn(k):(k=Gr(r)?Po:Tr.current,k=Mi(t,k));var L=r.getDerivedStateFromProps;(E=typeof L=="function"||typeof p.getSnapshotBeforeUpdate=="function")||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(w!==D||F!==k)&&em(t,p,o,k),ja=!1,F=t.memoizedState,p.state=F,lc(t,o,p,s);var z=t.memoizedS
Line truncated
|
||||
* @remix-run/router v1.10.0
|
||||
*
|
||||
* Copyright (c) Remix Software Inc.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE.md file in the root directory of this source tree.
|
||||
*
|
||||
* @license MIT
|
||||
*/function dl(){return dl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},dl.apply(this,arguments)}var Wa;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Wa||(Wa={}));const Sm="popstate";function PM(e){e===void 0&&(e={});function t(o,s){let{pathname:u,search:p,hash:w}=o.location;return Qp("",{pathname:u,search:p,hash:w},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function r(o,s){return typeof s=="string"?s:vc(s)}return OM(t,r,null,e)}function Gt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Cg(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function _M(){return Math.random().toString(36).substr(2,8)}function km(e,t){return{usr:e.state,key:e.key,idx:t}}function Qp(e,t,r,o){return r===void 0&&(r=null),dl({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?$i(t):t,{state:r,key:t&&t.key||o||_M()})}function vc(e){let{pathname:t="/",search:r="",hash:o=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),o&&o!=="#"&&(t+=o.charAt(0)==="#"?o:"#"+o),t}function $i(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let o=e.indexOf("?");o>=0&&(t.search=e.substr(o),e=e.substr(0,o)),e&&(t.pathname=e)}return t}function OM(e,t,r,o){o===void 0&&(o={});let{window:s=document.defaultView,v5Compat:u=!1}=o,p=s.history,w=Wa.Pop,k=null,T=E();T==null&&(T=0,p.replaceState(dl({},p.state,{idx:T}),""));function E(){return(p.state||{idx:null}).idx}function D(){w=Wa.Pop;let _=E(),y=_==null?null:_-T;T=_,k&&k({action:w,location:R.location,delta:y})}function F(_,y){w=Wa.Push;let f=Qp(R.location,_,y);r&&r(f,_),T=E()+1;let b=km(f,T),g=R.createHref(f);try{p.pushState(b,"",g)}catch(v){if(v instanceof DOMException&&v.name==="DataCloneError")throw v;s.location.assign(g)}u&&k&&k({action:w,location:R.location,delta:1})}function L(_,y){w=Wa.Replace;let f=Qp(R.location,_,y);r&&r(f,_),T=E();let b=km(f,T),g=R.createHref(f);p.replaceState(b,"",g),u&&k&&k({action:w,location:R.location,delta:0})}function z(_){let y=s.location.origin!=="null"?s.location.origin:s.location.href,f=typeof _=="string"?_:vc(_);return Gt(y,"No window.location.(origin|href) available to create URL for href: "+f),new URL(f,y)}let R={get action(){return w},get location(){return e(s,p)},listen(_){if(k)throw new Error("A history only accepts one active listener");return s.addEventListener(Sm,D),k=_,()=>{s.removeEventListener(Sm,D),k=null}},createHref(_){return t(s,_)},createURL:z,encodeLocation(_){let y=z(_);return{pathname:y.pathname,search:y.search,hash:y.hash}},push:F,replace:L,go(_){return p.go(_)}};return R}var Tm;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Tm||(Tm={}));function AM(e,t,r){r===void 0&&(r="/");let o=typeof t=="string"?$i(t):t,s=fl(o.pathname||"/",r);if(s==null)return null;let u=Zw(e);MM(u);let p=null;for(let w=0;p==null&&w<u.length;++w)p=FM(u[w],WM(s));return p}function Zw(e,t,r,o){t===void 0&&(t=[]),r===void 0&&(r=[]),o===void 0&&(o="");let s=(u,p,w)=>{let k={relativePath:w===void 0?u.path||"":w,caseSensitive:u.caseSensitive===!0,childrenIndex:p,route:u};k.relativePath.startsWith("/")&&(Gt(k.relativePath.startsWith(o),'Absolute route path "'+k.relativePath+'" nested under path '+('"'+o+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),k.relativePath=k.relativePath.slice(o.length));let T=Za([o,k.relativePath]),E=r.concat(k);u.children&&u.children.length>0&&(Gt(u.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+T+'".')),Zw(u.children,t,E,T)),!(u.path==null&&!u.index)&&t.push({path:T,score:DM(T,u.index),routesMeta:E})};return e.forEach((u,p)=>{var w;if(u.path===""||!((w=u.path)!=null&&w.includes("?")))s(u,p);else for(let k of Kw(u.path))s(u,p,k)}),t}function Kw(e){let t=e.split("/");if(t.length===0)return[];let[r,...o]=t,s=r.endsWith("?"),u=r.replace(/\?$/,"");if(o.length===0)return s?[u,""]:[u];let p=Kw(o.join("/")),w=[];return w.push(...p.map(k=>k===""?u:[u,k].join("/"))),s&&w.push(...p),w.map(k=>e.startsWith("/")&&k===""?"/":k)}function MM(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:zM(t.routesMeta.map(o=>o.childrenIndex),r.routesMeta.map(o=>o.childrenIndex)))}const EM=/^:\w+$/,RM=3,NM=2,IM=1,jM=10,LM=-2,Pm=e=>e==="*";function DM(e,t){let r=e.split("/"),o=r.length;return r.some(Pm)&&(o+=LM),t&&(o+=NM),r.filter(s=>!Pm(s)).reduce((s,u)=>s+(EM.test(u)?RM:u===""?IM:jM),o)}function zM(e,t){return e.length===t.length&&e.slice(0,-1).every((o,s)=>o===t[s])?e[e.length-1]-t[t.length-1]:0}function FM(e,t){let{routesMeta:r}=e,o={},s="/",u=[];for(let p=0;p<r.length;++p){let w=r[p],k=p===r.length-1,T=s==="/"?t:t.slice(s.length)||"/",E=Jp({path:w.relativePath,caseSensitive:w.caseSensitive,end:k},T);if(!E)return null;Object.assign(o,E.paLine truncated
|
||||
* React Router v6.17.0
|
||||
*
|
||||
* Copyright (c) Remix Software Inc.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE.md file in the root directory of this source tree.
|
||||
*
|
||||
* @license MIT
|
||||
*/function mc(){return mc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},mc.apply(this,arguments)}const nd=re.createContext(null),Jw=re.createContext(null),zo=re.createContext(null),ad=re.createContext(null),ao=re.createContext({outlet:null,matches:[],isDataRoute:!1}),e1=re.createContext(null);function ZM(e,t){let{relative:r}=t===void 0?{}:t;qi()||Gt(!1);let{basename:o,navigator:s}=re.useContext(zo),{hash:u,pathname:p,search:w}=od(e,{relative:r}),k=p;return o!=="/"&&(k=p==="/"?o:Za([o,p])),s.createHref({pathname:k,search:w,hash:u})}function qi(){return re.useContext(ad)!=null}function Fo(){return qi()||Gt(!1),re.useContext(ad).location}function t1(e){re.useContext(zo).static||re.useLayoutEffect(e)}function r1(){let{isDataRoute:e}=re.useContext(ao);return e?uE():KM()}function KM(){qi()||Gt(!1);let e=re.useContext(nd),{basename:t,navigator:r}=re.useContext(zo),{matches:o}=re.useContext(ao),{pathname:s}=Fo(),u=JSON.stringify(Sg(o).map(k=>k.pathnameBase)),p=re.useRef(!1);return t1(()=>{p.current=!0}),re.useCallback(function(k,T){if(T===void 0&&(T={}),!p.current)return;if(typeof k=="number"){r.go(k);return}let E=kg(k,JSON.parse(u),s,T.relative==="path");e==null&&t!=="/"&&(E.pathname=E.pathname==="/"?t:Za([t,E.pathname])),(T.replace?r.replace:r.push)(E,T.state,T)},[t,r,u,s,e])}function od(e,t){let{relative:r}=t===void 0?{}:t,{matches:o}=re.useContext(ao),{pathname:s}=Fo(),u=JSON.stringify(Sg(o).map(p=>p.pathnameBase));return re.useMemo(()=>kg(e,JSON.parse(u),s,r==="path"),[e,u,s,r])}function QM(e,t){return JM(e,t)}function JM(e,t,r){qi()||Gt(!1);let{navigator:o}=re.useContext(zo),{matches:s}=re.useContext(ao),u=s[s.length-1],p=u?u.params:{};u&&u.pathname;let w=u?u.pathnameBase:"/";u&&u.route;let k=Fo(),T;if(t){var E;let R=typeof t=="string"?$i(t):t;w==="/"||(E=R.pathname)!=null&&E.startsWith(w)||Gt(!1),T=R}else T=k;let D=T.pathname||"/",F=w==="/"?D:D.slice(w.length)||"/",L=AM(e,{pathname:F}),z=aE(L&&L.map(R=>Object.assign({},R,{params:Object.assign({},p,R.params),pathname:Za([w,o.encodeLocation?o.encodeLocation(R.pathname).pathname:R.pathname]),pathnameBase:R.pathnameBase==="/"?w:Za([w,o.encodeLocation?o.encodeLocation(R.pathnameBase).pathname:R.pathnameBase])})),s,r);return t&&z?re.createElement(ad.Provider,{value:{location:mc({pathname:"/",search:"",hash:"",state:null,key:"default"},T),navigationType:Wa.Pop}},z):z}function eE(){let e=lE(),t=$M(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,s={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},u=null;return re.createElement(re.Fragment,null,re.createElement("h2",null,"Unexpected Application Error!"),re.createElement("h3",{style:{fontStyle:"italic"}},t),r?re.createElement("pre",{style:s},r):null,u)}const tE=re.createElement(eE,null);class rE extends re.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error||r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error?re.createElement(ao.Provider,{value:this.props.routeContext},re.createElement(e1.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function nE(e){let{routeContext:t,match:r,children:o}=e,s=re.useContext(nd);return s&&s.static&&s.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=r.route.id),re.createElement(ao.Provider,{value:t},o)}function aE(e,t,r){var o;if(t===void 0&&(t=[]),r===void 0&&(r=null),e==null){var s;if((s=r)!=null&&s.errors)e=r.matches;else return null}let u=e,p=(o=r)==null?void 0:o.errors;if(p!=null){let w=u.findIndex(k=>k.route.id&&(p==null?void 0:p[k.route.id]));w>=0||Gt(!1),u=u.slice(0,Math.min(u.length,w+1))}return u.reduceRight((w,k,T)=>{let E=k.route.id?p==null?void 0:p[k.route.id]:null,D=null;r&&(D=k.route.errorElement||tE);let F=t.concat(u.slice(0,T+1)),L=()=>{let z;return E?z=D:k.route.Component?z=re.createElement(k.route.Component,null):k.route.element?z=k.route.element:z=w,re.createElement(nE,{match:k,routeContext:{outlet:w,matches:F,isDataRoute:r!=null},children:z})};return r&&(k.route.ErrorBoundary||k.route.errorElement||T===0)?re.createElement(rE,{location:r.location,revalidation:r.revalidation,component:D,error:E,children:L(),routeContext:{outlet:null,matches:F,isDataRoute:!0}}):L()},null)}var n1=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(n1||{}),yc=function(e){return
Line truncated
|
||||
* React Router DOM v6.17.0
|
||||
*
|
||||
* Copyright (c) Remix Software Inc.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE.md file in the root directory of this source tree.
|
||||
*
|
||||
* @license MIT
|
||||
*/function xc(){return xc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},xc.apply(this,arguments)}function o1(e,t){if(e==null)return{};var r={},o=Object.keys(e),s,u;for(u=0;u<o.length;u++)s=o[u],!(t.indexOf(s)>=0)&&(r[s]=e[s]);return r}function fE(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function pE(e,t){return e.button===0&&(!t||t==="_self")&&!fE(e)}const hE=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],gE=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],bE=re.createContext({isTransitioning:!1}),vE="startTransition",_m=Eh[vE];function mE(e){let{basename:t,children:r,future:o,window:s}=e,u=re.useRef();u.current==null&&(u.current=PM({window:s,v5Compat:!0}));let p=u.current,[w,k]=re.useState({action:p.action,location:p.location}),{v7_startTransition:T}=o||{},E=re.useCallback(D=>{T&&_m?_m(()=>k(D)):k(D)},[k,T]);return re.useLayoutEffect(()=>p.listen(E),[p,E]),re.createElement(dE,{basename:t,children:r,location:w.location,navigationType:w.action,navigator:p})}const yE=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",xE=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Eo=re.forwardRef(function(t,r){let{onClick:o,relative:s,reloadDocument:u,replace:p,state:w,target:k,to:T,preventScrollReset:E,unstable_viewTransition:D}=t,F=o1(t,hE),{basename:L}=re.useContext(zo),z,R=!1;if(typeof T=="string"&&xE.test(T)&&(z=T,yE))try{let b=new URL(window.location.href),g=T.startsWith("//")?new URL(b.protocol+T):new URL(T),v=fl(g.pathname,L);g.origin===b.origin&&v!=null?T=v+g.search+g.hash:R=!0}catch{}let _=ZM(T,{relative:s}),y=SE(T,{replace:p,state:w,target:k,preventScrollReset:E,relative:s,unstable_viewTransition:D});function f(b){o&&o(b),b.defaultPrevented||y(b)}return re.createElement("a",xc({},F,{href:z||_,onClick:R||u?o:f,ref:r,target:k}))}),wE=re.forwardRef(function(t,r){let{"aria-current":o="page",caseSensitive:s=!1,className:u="",end:p=!1,style:w,to:k,unstable_viewTransition:T,children:E}=t,D=o1(t,gE),F=od(k,{relative:D.relative}),L=Fo(),z=re.useContext(Jw),{navigator:R}=re.useContext(zo),_=z!=null&&kE(F)&&T===!0,y=R.encodeLocation?R.encodeLocation(F).pathname:F.pathname,f=L.pathname,b=z&&z.navigation&&z.navigation.location?z.navigation.location.pathname:null;s||(f=f.toLowerCase(),b=b?b.toLowerCase():null,y=y.toLowerCase());let g=f===y||!p&&f.startsWith(y)&&f.charAt(y.length)==="/",v=b!=null&&(b===y||!p&&b.startsWith(y)&&b.charAt(y.length)==="/"),P={isActive:g,isPending:v,isTransitioning:_},M=g?o:void 0,Y;typeof u=="function"?Y=u(P):Y=[u,g?"active":null,v?"pending":null,_?"transitioning":null].filter(Boolean).join(" ");let B=typeof w=="function"?w(P):w;return re.createElement(Eo,xc({},D,{"aria-current":M,className:Y,ref:r,style:B,to:k,unstable_viewTransition:T}),typeof E=="function"?E(P):E)});var th;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(th||(th={}));var Om;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Om||(Om={}));function CE(e){let t=re.useContext(nd);return t||Gt(!1),t}function SE(e,t){let{target:r,replace:o,state:s,preventScrollReset:u,relative:p,unstable_viewTransition:w}=t===void 0?{}:t,k=r1(),T=Fo(),E=od(e,{relative:p});return re.useCallback(D=>{if(pE(D,r)){D.preventDefault();let F=o!==void 0?o:vc(T)===vc(E);k(e,{replace:F,state:s,preventScrollReset:u,relative:p,unstable_viewTransition:w})}},[T,k,E,o,s,r,e,u,p,w])}function kE(e,t){t===void 0&&(t={});let r=re.useContext(bE);r==null&&Gt(!1);let{basename:o}=CE(th.useViewTransitionState),s=od(e,{relative:t.relative});if(!r.isTransitioning)return!1;let u=fl(r.currentLocation.pathname,o)||r.currentLocation.pathname,p=fl(r.nextLocation.pathname,o)||r.nextLocation.pathname;return Jp(s.pathname,p)!=null||Jp(s.pathname,u)!=null}function TE({title:e,titleId:t,...r},o){return re.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:o,"aria-labelledby":t},r),e?re.createElement("title",{id:t},e):null,re.createElement("path",{d:"M12 7.5a2.25 2.25 0 100 4.5 2.25 2.25 0 000-4.5z"}),re.createElement("path",{fillRule:"evenodd",d:"M1.5 4.875C1.5 3.839 2.34 3 3.375 3h17.25c1.035 0 1.875.84 1.875 1.875v9.75c0 1.036-.84 1.875-1.875 1.875H3.375A1.875 1.875 0 011.5 14.625v-9.75zM8.25 9.75a3.75 3.75 0 117.5 0 3.75 3.75 0 01-7.5 0zM18.75 9a.75.75 0 00-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 00.75-.75V9.75a.75.75 0 00-.75-.75h-.008zM4.5 9.75A.75.75 0 015.25 9h.008a.75.75 0 01.75.75v.008a.75.75 0 01-.75.75H5.25a.75.75 0 01-.75-.75V9.75z",clipRule:"evenodd"}),re.createElement("path",{d:"M2.25 18a.75.75 0 000 1.5c5.4 0Line truncated
|
||||
Copyright (c) 2018 Jed Watson.
|
||||
Licensed under the MIT License (MIT), see
|
||||
http://jedwatson.github.io/classnames
|
||||
*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var o=[],s=0;s<arguments.length;s++){var u=arguments[s];if(u){var p=typeof u;if(p==="string"||p==="number")o.push(u);else if(Array.isArray(u)){if(u.length){var w=r.apply(null,u);w&&o.push(w)}}else if(p==="object"){if(u.toString!==Object.prototype.toString&&!u.toString.toString().includes("[native code]")){o.push(u.toString());continue}for(var k in u)t.call(u,k)&&u[k]&&o.push(k)}}}return o.join(" ")}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(d1);var ut=d1.exports,f1={exports:{}},kn={};function _g(){for(var e,t,r=0,o="";r<arguments.length;)(e=arguments[r++])&&(t=p1(e))&&(o&&(o+=" "),o+=t);return o}function p1(e){if(typeof e=="string")return e;for(var t,r="",o=0;o<e.length;o++)e[o]&&(t=p1(e[o]))&&(r&&(r+=" "),r+=t);return r}function nh(){return nh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},nh.apply(this,arguments)}function MR(e){var t=function(r){var o=r.theme,s=r.prefix,u={nextPart:new Map,validators:[]};return function(p,w){return w?p.map(function(k){return[k[0],k[1].map(function(T){return typeof T=="string"?w+T:typeof T=="object"?Object.fromEntries(Object.entries(T).map(function(E){return[w+E[0],E[1]]})):T})]}):p}(Object.entries(r.classGroups),s).forEach(function(p){ah(p[1],u,p[0],o)}),u}(e);return{getClassGroupId:function(r){var o=r.split("-");return o[0]===""&&o.length!==1&&o.shift(),h1(o,t)||function(s){if(Am.test(s)){var u=Am.exec(s)[1],p=u==null?void 0:u.substring(0,u.indexOf(":"));if(p)return"arbitrary.."+p}}(r)},getConflictingClassGroupIds:function(r){return e.conflictingClassGroups[r]||[]}}}function h1(e,t){var r;if(e.length===0)return t.classGroupId;var o=t.nextPart.get(e[0]),s=o?h1(e.slice(1),o):void 0;if(s)return s;if(t.validators.length!==0){var u=e.join("-");return(r=t.validators.find(function(p){return(0,p.validator)(u)}))==null?void 0:r.classGroupId}}Object.defineProperty(kn,"__esModule",{value:!0});var Am=/^\[(.+)\]$/;function ah(e,t,r,o){e.forEach(function(s){if(typeof s!="string"){if(typeof s=="function")return s.isThemeGetter?void ah(s(o),t,r,o):void t.validators.push({validator:s,classGroupId:r});Object.entries(s).forEach(function(u){ah(u[1],Mm(t,u[0]),r,o)})}else(s===""?t:Mm(t,s)).classGroupId=r})}function Mm(e,t){var r=e;return t.split("-").forEach(function(o){r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r}function ER(e){if(e<1)return{get:function(){},set:function(){}};var t=0,r=new Map,o=new Map;function s(u,p){r.set(u,p),++t>e&&(t=0,o=r,r=new Map)}return{get:function(u){var p=r.get(u);return p!==void 0?p:(p=o.get(u))!==void 0?(s(u,p),p):void 0},set:function(u,p){r.has(u)?r.set(u,p):s(u,p)}}}function RR(e){var t=e.separator||":";return function(r){for(var o=0,s=[],u=0,p=0;p<r.length;p++){var w=r[p];o===0&&w===t[0]&&(t.length!==1&&r.slice(p,p+t.length)!==t||(s.push(r.slice(u,p)),u=p+t.length)),w==="["?o++:w==="]"&&o--}var k=s.length===0?r:r.substring(u),T=k.startsWith("!");return{modifiers:s,hasImportantModifier:T,baseClassName:T?k.substring(1):k}}}function NR(e){return nh({cache:ER(e.cacheSize),splitModifiers:RR(e)},MR(e))}var IR=/\s+/;function jR(e,t){var r=t.splitModifiers,o=t.getClassGroupId,s=t.getConflictingClassGroupIds,u=new Set;return e.trim().split(IR).map(function(p){var w=r(p),k=w.modifiers,T=w.hasImportantModifier,E=o(w.baseClassName);if(!E)return{isTailwindClass:!1,originalClassName:p};var D=function(F){if(F.length<=1)return F;var L=[],z=[];return F.forEach(function(R){R[0]==="["?(L.push.apply(L,z.sort().concat([R])),z=[]):z.push(R)}),L.push.apply(L,z.sort()),L}(k).join(":");return{isTailwindClass:!0,modifierId:T?D+"!":D,classGroupId:E,originalClassName:p}}).reverse().filter(function(p){if(!p.isTailwindClass)return!0;var w=p.modifierId,k=p.classGroupId,T=w+k;return!u.has(T)&&(u.add(T),s(k).forEach(function(E){return u.add(w+E)}),!0)}).reverse().map(function(p){return p.originalClassName}).join(" ")}function oh(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var o,s,u,p=w;function w(T){var E=t[0],D=t.slice(1).reduce(function(F,L){return L(F)},E());return o=NR(D),s=o.cache.get,u=o.cache.set,p=k,k(T)}function k(T){var E=s(T);if(E)return E;var D=jR(T,o);return u(T,D),D}return function(){return p(_g.apply(null,arguments))}}function Lt(e){var t=function(r){return r[e]||[]};return t.isThemeGetter=!0,t}var oo=/^\[(.+)\]$/,LR=/^\d+\/\d+$/,DR=new Set(["px","full","screen"]),zR=/^(\d+)?(xs|sm|md|lg|xl)$/,FR=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh)/,VR=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function ln(e){return!Number.isNaN(Number(e))||DR.has(e)||LR.test(e)||La(e)}function La(e){var t,r=(t=oo.exec(e))==null?void 0:t[1];return!!r&&(r.startsWith("length:")||FR.test(r))}function g1(e){var t,r=(t=oo.exec(e))==null?void 0:t[1];return!!r&&r.startsWLine truncated
|
||||
* tabbable 6.2.0
|
||||
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
||||
*/var ML=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],xh=ML.join(","),Ck=typeof Element>"u",ml=Ck?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Mc=!Ck&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e==null?void 0:e.ownerDocument},Ec=function e(t,r){var o;r===void 0&&(r=!0);var s=t==null||(o=t.getAttribute)===null||o===void 0?void 0:o.call(t,"inert"),u=s===""||s==="true",p=u||r&&t&&e(t.parentNode);return p},EL=function(t){var r,o=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"contenteditable");return o===""||o==="true"},RL=function(t,r,o){if(Ec(t))return[];var s=Array.prototype.slice.apply(t.querySelectorAll(xh));return r&&ml.call(t,xh)&&s.unshift(t),s=s.filter(o),s},NL=function e(t,r,o){for(var s=[],u=Array.from(t);u.length;){var p=u.shift();if(!Ec(p,!1))if(p.tagName==="SLOT"){var w=p.assignedElements(),k=w.length?w:p.children,T=e(k,!0,o);o.flatten?s.push.apply(s,T):s.push({scopeParent:p,candidates:T})}else{var E=ml.call(p,xh);E&&o.filter(p)&&(r||!t.includes(p))&&s.push(p);var D=p.shadowRoot||typeof o.getShadowRoot=="function"&&o.getShadowRoot(p),F=!Ec(D,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(p));if(D&&F){var L=e(D===!0?p.children:D.children,!0,o);o.flatten?s.push.apply(s,L):s.push({scopeParent:p,candidates:L})}else u.unshift.apply(u,p.children)}}return s},Sk=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},kk=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||EL(t))&&!Sk(t)?0:t.tabIndex},IL=function(t,r){var o=kk(t);return o<0&&r&&!Sk(t)?0:o},jL=function(t,r){return t.tabIndex===r.tabIndex?t.documentOrder-r.documentOrder:t.tabIndex-r.tabIndex},Tk=function(t){return t.tagName==="INPUT"},LL=function(t){return Tk(t)&&t.type==="hidden"},DL=function(t){var r=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(o){return o.tagName==="SUMMARY"});return r},zL=function(t,r){for(var o=0;o<t.length;o++)if(t[o].checked&&t[o].form===r)return t[o]},FL=function(t){if(!t.name)return!0;var r=t.form||Mc(t),o=function(w){return r.querySelectorAll('input[type="radio"][name="'+w+'"]')},s;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")s=o(window.CSS.escape(t.name));else try{s=o(t.name)}catch(p){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",p.message),!1}var u=zL(s,t.form);return!u||u===t},VL=function(t){return Tk(t)&&t.type==="radio"},WL=function(t){return VL(t)&&!FL(t)},HL=function(t){var r,o=t&&Mc(t),s=(r=o)===null||r===void 0?void 0:r.host,u=!1;if(o&&o!==t){var p,w,k;for(u=!!((p=s)!==null&&p!==void 0&&(w=p.ownerDocument)!==null&&w!==void 0&&w.contains(s)||t!=null&&(k=t.ownerDocument)!==null&&k!==void 0&&k.contains(t));!u&&s;){var T,E,D;o=Mc(s),s=(T=o)===null||T===void 0?void 0:T.host,u=!!((E=s)!==null&&E!==void 0&&(D=E.ownerDocument)!==null&&D!==void 0&&D.contains(s))}}return u},ay=function(t){var r=t.getBoundingClientRect(),o=r.width,s=r.height;return o===0&&s===0},BL=function(t,r){var o=r.displayCheck,s=r.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var u=ml.call(t,"details>summary:first-of-type"),p=u?t.parentElement:t;if(ml.call(p,"details:not([open]) *"))return!0;if(!o||o==="full"||o==="legacy-full"){if(typeof s=="function"){for(var w=t;t;){var k=t.parentElement,T=Mc(t);if(k&&!k.shadowRoot&&s(k)===!0)return ay(t);t.assignedSlot?t=t.assignedSlot:!k&&T!==t.ownerDocument?t=T.host:t=k}t=w}if(HL(t))return!t.getClientRects().length;if(o!=="legacy-full")return!0}else if(o==="non-zero-area")return ay(t);return!1},XL=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var r=t.parentElement;r;){if(r.tagName==="FIELDSET"&&r.disabled){for(var o=0;o<r.children.length;o++){var s=r.children.item(o);if(s.tagName==="LEGEND")return ml.call(r,"fieldset[disabled] *")?!0:!s.contains(t)}return!0}r=r.parentElement}return!1},YL=function(t,r){return!(r.disabled||Ec(r)||LL(r)||BL(r,t)||DL(r)||XL(r))},oy=function(t,r){return!(WL(r)||kk(r)<0||!YL(t,r))},GL=function(t){var r=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(r)||r>=0)},UL=function e(t){var r=[],o=[];return t.forEach(function(s,u){var p=!!s.scopeParent,w=p?s.scopeParent:s,k=IL(w,p),T=p?e(s.candidates):w;k===0?p?r.push.apply(r,T):r.push(w):o.push({documentOrder:u,tabIndex:k,item:s,isScope:p,content:T})}),o.sort(jL).reduce(function(s,u){return u.isScope?s.push.apply(s,u.content):s.push(u.content),s},[]).concatLine truncated
|
||||
|
||||
More details: https://www.material-tailwind.com/docs/react/collapse
|
||||
`);var B=r.default.useRef(null),H=(0,T.useTheme)().navbar,U=H.styles,Z=U.base.mobileNav;g=g??{},v=v??"";var oe=(0,w.twMerge)((0,p.default)((0,k.default)(Z)),v),ae={unmount:{height:0,opacity:0,transition:{duration:.3,times:"[0.4, 0, 0.2, 1]"}},mount:{opacity:1,height:"".concat((Y=B.current)===null||Y===void 0?void 0:Y.scrollHeight,"px"),transition:{duration:.3,times:"[0.4, 0, 0.2, 1]"}}},pe=(0,u.default)(ae,g),me=o.AnimatePresence,Se=(0,s.useMergeRefs)([f,B]);return r.default.createElement(o.LazyMotion,{features:o.domAnimation},r.default.createElement(me,null,r.default.createElement(o.m.div,D({},M,{ref:Se,className:oe,initial:"unmount",exit:"unmount",animate:b?"mount":"unmount",variants:pe}),P)))});R.displayName="MaterialTailwind.MobileNav",R.propTypes={open:E.propTypesOpen,animate:E.propTypesAnimate,className:E.propTypesClassName,children:E.propTypesChildren};var _=R})(hT);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(f,b){for(var g in b)Object.defineProperty(f,g,{enumerable:!0,get:b[g]})}t(e,{Navbar:function(){return _},MobileNav:function(){return T.MobileNav},default:function(){return y}});var r=L(re),o=L(rt),s=L(ut),u=at,p=L(Wt),w=L(et),k=Je,T=hT,E=id;function D(f,b,g){return b in f?Object.defineProperty(f,b,{value:g,enumerable:!0,configurable:!0,writable:!0}):f[b]=g,f}function F(){return F=Object.assign||function(f){for(var b=1;b<arguments.length;b++){var g=arguments[b];for(var v in g)Object.prototype.hasOwnProperty.call(g,v)&&(f[v]=g[v])}return f},F.apply(this,arguments)}function L(f){return f&&f.__esModule?f:{default:f}}function z(f,b){if(f==null)return{};var g=R(f,b),v,P;if(Object.getOwnPropertySymbols){var M=Object.getOwnPropertySymbols(f);for(P=0;P<M.length;P++)v=M[P],!(b.indexOf(v)>=0)&&Object.prototype.propertyIsEnumerable.call(f,v)&&(g[v]=f[v])}return g}function R(f,b){if(f==null)return{};var g={},v=Object.keys(f),P,M;for(M=0;M<v.length;M++)P=v[M],!(b.indexOf(P)>=0)&&(g[P]=f[P]);return g}var _=r.default.forwardRef(function(f,b){var g=f.variant,v=f.color,P=f.shadow,M=f.blurred,Y=f.fullWidth,B=f.className,H=f.children,U=z(f,["variant","color","shadow","blurred","fullWidth","className","children"]),Z=(0,k.useTheme)().navbar,oe=Z.defaultProps,ae=Z.valid,pe=Z.styles,me=pe.base,Se=pe.variants;g=g??oe.variant,v=v??oe.color,P=P??oe.shadow,M=M??oe.blurred,Y=Y??oe.fullWidth,B=B??oe.className;var ve,ce=(0,s.default)((0,w.default)(me.navbar.initial),(ve={},D(ve,(0,w.default)(me.navbar.shadow),P),D(ve,(0,w.default)(me.navbar.blurred),M&&v==="white"),D(ve,(0,w.default)(me.navbar.fullWidth),Y),ve)),be=(0,s.default)((0,w.default)(Se[(0,p.default)(ae.variants,g,"filled")][(0,p.default)(ae.colors,v,"white")])),ye=(0,u.twMerge)((0,s.default)(ce,be),B);return r.default.createElement("nav",F({},U,{ref:b,className:ye}),H)});_.propTypes={variant:o.default.oneOf(E.propTypesVariant),color:o.default.oneOf(E.propTypesColor),shadow:E.propTypesShadow,blurred:E.propTypesBlurred,fullWidth:E.propTypesFullWidth,className:E.propTypesClassName,children:E.propTypesChildren},_.displayName="MaterialTailwind.Navbar";var y=Object.assign(_,{MobileNav:T.MobileNav})})(pT);var gT={},_d={},ns={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(_,y){for(var f in y)Object.defineProperty(_,f,{enumerable:!0,get:y[f]})}t(e,{propTypesOpen:function(){return u},propTypesHandler:function(){return p},propTypesPlacement:function(){return w},propTypesOffset:function(){return k},propTypesDismiss:function(){return T},propTypesAnimate:function(){return E},propTypesContent:function(){return D},propTypesInteractive:function(){return F},propTypesClassName:function(){return L},propTypesChildren:function(){return z},propTypesContextValue:function(){return R}});var r=s(rt),o=zt;function s(_){return _&&_.__esModule?_:{default:_}}var u=r.default.bool,p=r.default.func,w=o.propTypesPlacements,k=o.propTypesOffsetType,T=o.propTypesDismissType,E=o.propTypesAnimation,D=r.default.node,F=r.default.bool,L=r.default.string,z=r.default.node.isRequired,R=r.default.shape({open:r.default.bool.isRequired,strategy:r.default.oneOf(["fixed","absolute"]).isRequired,x:r.default.number,y:r.default.number,context:r.default.instanceOf(Object).isRequired,reference:r.default.func.isRequired,floating:r.default.func.isRequired,getReferenceProps:r.default.func.isRequired,getFloatingProps:r.default.func.isRequired,appliedAnimation:E.isRequired,labelId:r.default.string.isRequired,descriptionId:r.default.string.isRequired}).isRequired})(ns);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(k,T){for(var E in T)Object.defineProperty(k,E,{enumerable:!0,get:T[E]})}t(e,{PopoverContext:function(){return u},usePopover:function(){return p},PopoverContextProvider:function(){return w}});var r=s(re),o=ns;function s(k){return k&&k.__esModule?k:{default:k}}var u=r.default.createContext(null);u.displayName="MaterialTailwind.PopoverContext";function p(){var k=r.default.useContext(u);if(!k)throw new Error("usePopover() must be u
Line truncated
|
||||
* ApexCharts v3.44.0
|
||||
* (c) 2018-2023 ApexCharts
|
||||
* Released under the MIT License.
|
||||
*/(function(e,t){function r(J,n){var a=Object.keys(J);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(J);n&&(i=i.filter(function(l){return Object.getOwnPropertyDescriptor(J,l).enumerable})),a.push.apply(a,i)}return a}function o(J){for(var n=1;n<arguments.length;n++){var a=arguments[n]!=null?arguments[n]:{};n%2?r(Object(a),!0).forEach(function(i){k(J,i,a[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(J,Object.getOwnPropertyDescriptors(a)):r(Object(a)).forEach(function(i){Object.defineProperty(J,i,Object.getOwnPropertyDescriptor(a,i))})}return J}function s(J){return s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},s(J)}function u(J,n){if(!(J instanceof n))throw new TypeError("Cannot call a class as a function")}function p(J,n){for(var a=0;a<n.length;a++){var i=n[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(J,i.key,i)}}function w(J,n,a){return n&&p(J.prototype,n),a&&p(J,a),J}function k(J,n,a){return n in J?Object.defineProperty(J,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):J[n]=a,J}function T(J,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function");J.prototype=Object.create(n&&n.prototype,{constructor:{value:J,writable:!0,configurable:!0}}),n&&D(J,n)}function E(J){return E=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},E(J)}function D(J,n){return D=Object.setPrototypeOf||function(a,i){return a.__proto__=i,a},D(J,n)}function F(J,n){if(n&&(typeof n=="object"||typeof n=="function"))return n;if(n!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}(J)}function L(J){var n=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var a,i=E(J);if(n){var l=E(this).constructor;a=Reflect.construct(i,arguments,l)}else a=i.apply(this,arguments);return F(this,a)}}function z(J,n){return function(a){if(Array.isArray(a))return a}(J)||function(a,i){var l=a==null?null:typeof Symbol<"u"&&a[Symbol.iterator]||a["@@iterator"];if(l!=null){var c,d,h=[],m=!0,S=!1;try{for(l=l.call(a);!(m=(c=l.next()).done)&&(h.push(c.value),!i||h.length!==i);m=!0);}catch(A){S=!0,d=A}finally{try{m||l.return==null||l.return()}finally{if(S)throw d}}return h}}(J,n)||_(J,n)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
||||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function R(J){return function(n){if(Array.isArray(n))return y(n)}(J)||function(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}(J)||_(J)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
||||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function _(J,n){if(J){if(typeof J=="string")return y(J,n);var a=Object.prototype.toString.call(J).slice(8,-1);return a==="Object"&&J.constructor&&(a=J.constructor.name),a==="Map"||a==="Set"?Array.from(J):a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?y(J,n):void 0}}function y(J,n){(n==null||n>J.length)&&(n=J.length);for(var a=0,i=new Array(n);a<n;a++)i[a]=J[a];return i}var f=function(){function J(){u(this,J)}return w(J,[{key:"shadeRGBColor",value:function(n,a){var i=a.split(","),l=n<0?0:255,c=n<0?-1*n:n,d=parseInt(i[0].slice(4),10),h=parseInt(i[1],10),m=parseInt(i[2],10);return"rgb("+(Math.round((l-d)*c)+d)+","+(Math.round((l-h)*c)+h)+","+(Math.round((l-m)*c)+m)+")"}},{key:"shadeHexColor",value:function(n,a){var i=parseInt(a.slice(1),16),l=n<0?0:255,c=n<0?-1*n:n,d=i>>16,h=i>>8&255,m=255&i;return"#"+(16777216+65536*(Math.round((l-d)*c)+d)+256*(Math.round((l-h)*c)+h)+(Math.round((l-m)*c)+m)).toString(16).slice(1)}},{key:"shadeColor",value:function(n,a){return J.isColorHex(a)?this.shadeHexColor(n,a):this.shadeRGBColor(n,a)}}],[{key:"bind",value:function(n,a){return function(){return n.apply(a,arguments)}}},{key:"isObject",value:function(n){return n&&s(n)==="object"&&!Array.isArray(n)&&n!=null}},{key:"is",value:function(n,a){return Object.prototype.toString.call(a)==="[object "+n+"]"}},{key:"listToArray",value:function(n){var a,i=[];for(a=0;a<n.length;a++)i[a]=n[a];return i}},{key:"extend",value:function(n,a){var i=this;typeof Object.assign!="function"&&(Object.assign=function(c){if(c==null)throw new TypeError("Cannot convert undefined or null to object");for(var d=Object(c),h=1;h<arguments.length;h++){var m=arguments[h];if(m!=null)for(var S in m)m.hasOwnProperty(S)&&(d[S]=m[S])}return d});var l=Object.assign({},n);return this.isObject(n)&&this.isObject(a)&&Object.keys(a).forEach(function(c){i.isObject(a[c])&&c in n?l[c]=i.extend(n[c],a[c]):Object.assign(l,k({},c,a[c]))}),l}},{key:"extendArray",value:function(n,a){var i=[];return n.map(function(l){i.push(J.extend(a,l))}),n=i}},{key:"monthMod",value:function(n){return n%12}},{key:"clone",value:function(n){if(J.is("Array",n)){for(var a=[],i=0;i<n.length;i++)a[i]=this.clone(n[i]);return a}if(J.is("Null",n))return null;if(J.is("Date",n))return n;if(s(n)==="object"){var l={};for(var c in n)n.hasOwnProperty(c)&&(l[c]=this.clone(n[c]));return l}return n}},{key:"log10",value:function(n){return Math.log(n)/Math.LN10}},{key:"roundToBase10",value:function(n){return Math.pow(10,Math.floor(Math.log10(n)))}},{key:"roundToBase",value:function(n,a){return Math.pow(a,Math.floor(Math.log(n)/Math.log(a)))}},{key:"parseNumber",value:function(n){return n===null?n:parseFloat(n)}},{key:"stripNumber",value:function(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return Number.isInteger(n)?n:parseFloat(n.toPrecision(a))}},{key:"randomId",value:function(){return(Math.random()+1).toString(36).substring(4)}},{key:"noExponents",value:function(n){var a=String(n).split(/[eE]/);if(a.length===1)return a[0];var i="",l=n<0?"-":"",c=a[0].replace(".",""),d=Number(a[1])+1;if(d<0){for(i=l+"0.";d++;)i+="0";return i+c.replace(/^-/,"")}for(d-=c.length;d--;)i+="0";return c+i}},{key:"getDimensions",value:function(n){var a=getComputedStyle(n,null),i=n.clientHeight,l=n.clientWidth;return i-=parseFloat(a.paddingTop)+parseFloat(a.paddingBottom),[l-=parseFloat(a.paddingLeft)+parseFloat(a.paddingRight),i]}},{key:"getBoundingClientRect",value:function(n){var a=n.getBoundingClientRect();return{top:a.top,right:a.right,bottom:a.bottom,left:a.left,width:n.clientWidth,height:n.clientHeight,x:a.left,y:a.top}}},{key:"getLargestStringFromArr",value:function(n){return n.reduce(function(a,i){return Array.isArray(i)&&(i=i.reduce(function(l,c){return l.length>c.length?l:c})),a.length>i.length?a:i},0)}},{key:"hexToRgba",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"#999999",a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.6;n.substring(0,1)!=="#"&&(n="#999999");var i=n.replace("#","");i=i.match(new RegExp("(.{"+i.length/3+"})","g"));for(var l=0;l<i.length;l++)i[l]=parseInt(i[l].length===1?i[l]+i[l]:i[l],16);return a!==void 0&&i.push(a),"rgba("+i.join(",")+")"}},{key:"getOpacityFromRGBA",value:function(n){return parseFloat(n.replace(/^.*,(.+)\)/,"$1"))}},{key:"rgb2hex",value:function(n){return(n=n.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i))&&n.length===4?"#"+("0"+parseInt(n[1],10).toString(16)).slice(-2)+("0"+parseInt(n[2],10).toString(16)).slice(-2)+("0"+parseInt(n[3],10).toString(16)).slice(-2):""}},{key:"isColorHex",value:function(n){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)|(^#[0-9A-F]{8}$)/i.test(n)}},{key:"getPolygonPos",value:function(n,a){for(var i=[],l=2*Math.PI/a,c=0;c<a;c++){var d={};d.x=n*Math.sin(c*l),d.y=-n*Math.cos(c*l),i.push(d)}return i}},{key:"polarToCartesian",value:function(n,a,i,l){var c=(l-90)*Math.PI/1
Line truncated
|
||||
`.concat(l,`
|
||||
</span> <span class="separator">-</span> <span class="value end-value">
|
||||
`).concat(c,`
|
||||
</span>`);return'<div class="apexcharts-tooltip-rangebar"><div> <span class="series-name" style="color: '+n+'">'+(a||"")+'</span></div><div> <span class="category">'+i+": </span> "+(J.w.globals.comboCharts?J.w.config.series[d].type==="rangeArea"||J.w.config.series[d].type==="rangeBar"?A:"<span>".concat(S,"</span>"):A)+" </div></div>"},ve=function(){function J(n){u(this,J),this.opts=n}return w(J,[{key:"hideYAxis",value:function(){this.opts.yaxis[0].show=!1,this.opts.yaxis[0].title.text="",this.opts.yaxis[0].axisBorder.show=!1,this.opts.yaxis[0].axisTicks.show=!1,this.opts.yaxis[0].floating=!0}},{key:"line",value:function(){return{chart:{animations:{easing:"swing"}},dataLabels:{enabled:!1},stroke:{width:5,curve:"straight"},markers:{size:0,hover:{sizeOffset:6}},xaxis:{crosshairs:{width:1}}}}},{key:"sparkline",value:function(n){return this.hideYAxis(),f.extend(n,{grid:{show:!1,padding:{left:0,right:0,top:0,bottom:0}},legend:{show:!1},xaxis:{labels:{show:!1},tooltip:{enabled:!1},axisBorder:{show:!1},axisTicks:{show:!1}},chart:{toolbar:{show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1}})}},{key:"bar",value:function(){return{chart:{stacked:!1,animations:{easing:"swing"}},plotOptions:{bar:{dataLabels:{position:"center"}}},dataLabels:{style:{colors:["#fff"]},background:{enabled:!1}},stroke:{width:0,lineCap:"round"},fill:{opacity:.85},legend:{markers:{shape:"square",radius:2,size:8}},tooltip:{shared:!1,intersect:!0},xaxis:{tooltip:{enabled:!1},tickPlacement:"between",crosshairs:{width:"barWidth",position:"back",fill:{type:"gradient"},dropShadow:{enabled:!1},stroke:{width:0}}}}}},{key:"funnel",value:function(){return this.hideYAxis(),o(o({},this.bar()),{},{chart:{animations:{easing:"linear",speed:800,animateGradually:{enabled:!1}}},plotOptions:{bar:{horizontal:!0,borderRadiusApplication:"around",borderRadius:0,dataLabels:{position:"center"}}},grid:{show:!1,padding:{left:0,right:0}},xaxis:{labels:{show:!1},tooltip:{enabled:!1},axisBorder:{show:!1},axisTicks:{show:!1}}})}},{key:"candlestick",value:function(){var n=this;return{stroke:{width:1,colors:["#333"]},fill:{opacity:1},dataLabels:{enabled:!1},tooltip:{shared:!0,custom:function(a){var i=a.seriesIndex,l=a.dataPointIndex,c=a.w;return n._getBoxTooltip(c,i,l,["Open","High","","Low","Close"],"candlestick")}},states:{active:{filter:{type:"none"}}},xaxis:{crosshairs:{width:1}}}}},{key:"boxPlot",value:function(){var n=this;return{chart:{animations:{dynamicAnimation:{enabled:!1}}},stroke:{width:1,colors:["#24292e"]},dataLabels:{enabled:!1},tooltip:{shared:!0,custom:function(a){var i=a.seriesIndex,l=a.dataPointIndex,c=a.w;return n._getBoxTooltip(c,i,l,["Minimum","Q1","Median","Q3","Maximum"],"boxPlot")}},markers:{size:5,strokeWidth:1,strokeColors:"#111"},xaxis:{crosshairs:{width:1}}}}},{key:"rangeBar",value:function(){return{chart:{animations:{animateGradually:!1}},stroke:{width:0,lineCap:"square"},plotOptions:{bar:{borderRadius:0,dataLabels:{position:"center"}}},dataLabels:{enabled:!1,formatter:function(n,a){a.ctx;var i=a.seriesIndex,l=a.dataPointIndex,c=a.w,d=function(){var h=c.globals.seriesRangeStart[i][l];return c.globals.seriesRangeEnd[i][l]-h};return c.globals.comboCharts?c.config.series[i].type==="rangeBar"||c.config.series[i].type==="rangeArea"?d():n:d()},background:{enabled:!1},style:{colors:["#fff"]}},markers:{size:10},tooltip:{shared:!1,followCursor:!0,custom:function(n){return n.w.config.plotOptions&&n.w.config.plotOptions.bar&&n.w.config.plotOptions.bar.horizontal?function(a){var i=me(o(o({},a),{},{isTimeline:!0})),l=i.color,c=i.seriesName,d=i.ylabel,h=i.startVal,m=i.endVal;return Se(o(o({},a),{},{color:l,seriesName:c,ylabel:d,start:h,end:m}))}(n):function(a){var i=me(a),l=i.color,c=i.seriesName,d=i.ylabel,h=i.start,m=i.end;return Se(o(o({},a),{},{color:l,seriesName:c,ylabel:d,start:h,end:m}))}(n)}},xaxis:{tickPlacement:"between",tooltip:{enabled:!1},crosshairs:{stroke:{width:0}}}}}},{key:"dumbbell",value:function(n){var a,i;return(a=n.plotOptions.bar)!==null&&a!==void 0&&a.barHeight||(n.plotOptions.bar.barHeight=2),(i=n.plotOptions.bar)!==null&&i!==void 0&&i.columnWidth||(n.plotOptions.bar.columnWidth=2),n}},{key:"area",value:function(){return{stroke:{width:4,fill:{type:"solid",gradient:{inverseColors:!1,shade:"light",type:"vertical",opacityFrom:.65,opacityTo:.5,stops:[0,100,100]}}},fill:{type:"gradient",gradient:{inverseColors:!1,shade:"light",type:"vertical",opacityFrom:.65,opacityTo:.5,stops:[0,100,100]}},markers:{size:0,hover:{sizeOffset:6}},tooltip:{followCursor:!1}}}},{key:"rangeArea",value:function(){return{stroke:{curve:"straight",width:0},fill:{type:"solid",opacity:.6},markers:{size:0},states:{hover:{filter:{type:"none"}},active:{filter:{type:"none"}}},tooltip:{intersect:!1,shared:!0,followCursor:!0,custom:function(n){return function(a){var i=me(a),l=i.color,c=i.seriesName,d=i.ylabel,h=i.start,m=i.end;return Se(o(o({},a),{},{color:l,seriesName:c,ylabel:d,start:h,end:m}))}(n)}}}}},{key:"brush",value:function(n){return f.extend(n,{chart:{toolbar:{aLine truncated
|
||||
`.concat(n.config.series[a].name?n.config.series[a].name:"series-"+(a+1),": <strong>").concat(n.globals.series[a][i],`</strong>
|
||||
</div>`):'<div class="apexcharts-tooltip-box apexcharts-tooltip-'.concat(n.config.chart.type,'">')+"<div>".concat(l[0],': <span class="value">')+d+"</span></div>"+"<div>".concat(l[1],': <span class="value">')+h+"</span></div>"+(m?"<div>".concat(l[2],': <span class="value">')+m+"</span></div>":"")+"<div>".concat(l[3],': <span class="value">')+S+"</span></div>"+"<div>".concat(l[4],': <span class="value">')+A+"</span></div></div>"}}]),J}(),ce=function(){function J(n){u(this,J),this.opts=n}return w(J,[{key:"init",value:function(n){var a=n.responsiveOverride,i=this.opts,l=new Z,c=new ve(i);this.chartType=i.chart.type,i=this.extendYAxis(i),i=this.extendAnnotations(i);var d=l.init(),h={};if(i&&s(i)==="object"){var m,S,A,N,j,W,G,q,Q,ne,se={};se=["line","area","bar","candlestick","boxPlot","rangeBar","rangeArea","bubble","scatter","heatmap","treemap","pie","polarArea","donut","radar","radialBar"].indexOf(i.chart.type)!==-1?c[i.chart.type]():c.line(),(m=i.plotOptions)!==null&&m!==void 0&&(S=m.bar)!==null&&S!==void 0&&S.isFunnel&&(se=c.funnel()),i.chart.stacked&&i.chart.type==="bar"&&(se=c.stackedBars()),(A=i.chart.brush)!==null&&A!==void 0&&A.enabled&&(se=c.brush(se)),i.chart.stacked&&i.chart.stackType==="100%"&&(i=c.stacked100(i)),(N=i.plotOptions)!==null&&N!==void 0&&(j=N.bar)!==null&&j!==void 0&&j.isDumbbell&&(i=c.dumbbell(i)),((W=i)===null||W===void 0||(G=W.stroke)===null||G===void 0?void 0:G.curve)==="monotoneCubic"&&(i.stroke.curve="smooth"),this.checkForDarkTheme(window.Apex),this.checkForDarkTheme(i),i.xaxis=i.xaxis||window.Apex.xaxis||{},a||(i.xaxis.convertedCatToNumeric=!1),((q=(i=this.checkForCatToNumericXAxis(this.chartType,se,i)).chart.sparkline)!==null&&q!==void 0&&q.enabled||(Q=window.Apex.chart)!==null&&Q!==void 0&&(ne=Q.sparkline)!==null&&ne!==void 0&&ne.enabled)&&(se=c.sparkline(se)),h=f.extend(d,se)}var C=f.extend(h,window.Apex);return d=f.extend(C,i),d=this.handleUserInputErrors(d)}},{key:"checkForCatToNumericXAxis",value:function(n,a,i){var l,c,d=new ve(i),h=(n==="bar"||n==="boxPlot")&&((l=i.plotOptions)===null||l===void 0||(c=l.bar)===null||c===void 0?void 0:c.horizontal),m=n==="pie"||n==="polarArea"||n==="donut"||n==="radar"||n==="radialBar"||n==="heatmap",S=i.xaxis.type!=="datetime"&&i.xaxis.type!=="numeric",A=i.xaxis.tickPlacement?i.xaxis.tickPlacement:a.xaxis&&a.xaxis.tickPlacement;return h||m||!S||A==="between"||(i=d.convertCatToNumeric(i)),i}},{key:"extendYAxis",value:function(n,a){var i=new Z;(n.yaxis===void 0||!n.yaxis||Array.isArray(n.yaxis)&&n.yaxis.length===0)&&(n.yaxis={}),n.yaxis.constructor!==Array&&window.Apex.yaxis&&window.Apex.yaxis.constructor!==Array&&(n.yaxis=f.extend(n.yaxis,window.Apex.yaxis)),n.yaxis.constructor!==Array?n.yaxis=[f.extend(i.yAxis,n.yaxis)]:n.yaxis=f.extendArray(n.yaxis,i.yAxis);var l=!1;n.yaxis.forEach(function(d){d.logarithmic&&(l=!0)});var c=n.series;return a&&!c&&(c=a.config.series),l&&c.length!==n.yaxis.length&&c.length&&(n.yaxis=c.map(function(d,h){if(d.name||(c[h].name="series-".concat(h+1)),n.yaxis[h])return n.yaxis[h].seriesName=c[h].name,n.yaxis[h];var m=f.extend(i.yAxis,n.yaxis[0]);return m.show=!1,m})),l&&c.length>1&&c.length!==n.yaxis.length&&console.warn("A multi-series logarithmic chart should have equal number of series and y-axes"),n}},{key:"extendAnnotations",value:function(n){return n.annotations===void 0&&(n.annotations={},n.annotations.yaxis=[],n.annotations.xaxis=[],n.annotations.points=[]),n=this.extendYAxisAnnotations(n),n=this.extendXAxisAnnotations(n),n=this.extendPointAnnotations(n)}},{key:"extendYAxisAnnotations",value:function(n){var a=new Z;return n.annotations.yaxis=f.extendArray(n.annotations.yaxis!==void 0?n.annotations.yaxis:[],a.yAxisAnnotation),n}},{key:"extendXAxisAnnotations",value:function(n){var a=new Z;return n.annotations.xaxis=f.extendArray(n.annotations.xaxis!==void 0?n.annotations.xaxis:[],a.xAxisAnnotation),n}},{key:"extendPointAnnotations",value:function(n){var a=new Z;return n.annotations.points=f.extendArray(n.annotations.points!==void 0?n.annotations.points:[],a.pointAnnotation),n}},{key:"checkForDarkTheme",value:function(n){n.theme&&n.theme.mode==="dark"&&(n.tooltip||(n.tooltip={}),n.tooltip.theme!=="light"&&(n.tooltip.theme="dark"),n.chart.foreColor||(n.chart.foreColor="#f6f7f8"),n.chart.background||(n.chart.background="#424242"),n.theme.palette||(n.theme.palette="palette4"))}},{key:"handleUserInputErrors",value:function(n){var a=n;if(a.tooltip.shared&&a.tooltip.intersect)throw new Error("tooltip.shared cannot be enabled when tooltip.intersect is true. Turn off any other option by setting it to false.");if(a.chart.type==="bar"&&a.plotOptions.bar.horizontal){if(a.yaxis.length>1)throw new Error("Multiple Y Axis for bars are not supported. Switch to column chart by setting plotOptions.bar.horizontal=false");a.yaxis[0].reversed&&(a.yaxis[0].opposite=!0),a.xaxis.tooltip.enabled=!1,a.yaxis[0].tooltip.enabled=!1,a.chart.zoom.enabled=!1}return a.chart.type!=="bar"&&a.chart.type!=="rangeBar"||a.tooltip.sharLine truncated
|
||||
`:h,S=this.w;i||(i=S.config.series);var A=[],N=[],j="",W=S.globals.series.map(function(C,I){return S.globals.collapsedSeriesIndices.indexOf(I)===-1?C:[]}),G=Math.max.apply(Math,R(i.map(function(C){return C.data?C.data.length:0}))),q=new Be(this.ctx),Q=new Ve(this.ctx),ne=function(C){var I="";if(S.globals.axisCharts){if(S.config.xaxis.type==="category"||S.config.xaxis.convertedCatToNumeric)if(S.globals.isBarHorizontal){var $=S.globals.yLabelFormatters[0],te=new Me(a.ctx).getActiveConfigSeriesIndex();I=$(S.globals.labels[C],{seriesIndex:te,dataPointIndex:C,w:S})}else I=Q.getLabel(S.globals.labels,S.globals.timescaleLabels,0,C).text;S.config.xaxis.type==="datetime"&&(S.config.xaxis.categories.length?I=S.config.xaxis.categories[C]:S.config.labels.length&&(I=S.config.labels[C]))}else I=S.config.labels[C];return Array.isArray(I)&&(I=I.join(" ")),f.isNumber(I)?I:I.split(d).join("")},se=function(C,I){if(A.length&&I===0&&N.push(A.join(d)),C.data){C.data=C.data.length&&C.data||R(Array(G)).map(function(){return""});for(var $=0;$<C.data.length;$++){A=[];var te=ne($);if(te||(q.isFormatXY()?te=i[I].data[$].x:q.isFormat2DArray()&&(te=i[I].data[$]?i[I].data[$][0]:"")),I===0){A.push((we=te,S.config.xaxis.type==="datetime"&&String(we).length>=10?S.config.chart.toolbar.export.csv.dateFormatter(te):f.isNumber(te)?te:te.split(d).join("")));for(var de=0;de<S.globals.series.length;de++){var fe;q.isFormatXY()?A.push((fe=i[de].data[$])===null||fe===void 0?void 0:fe.y):A.push(W[de][$])}}(S.config.chart.type==="candlestick"||C.type&&C.type==="candlestick")&&(A.pop(),A.push(S.globals.seriesCandleO[I][$]),A.push(S.globals.seriesCandleH[I][$]),A.push(S.globals.seriesCandleL[I][$]),A.push(S.globals.seriesCandleC[I][$])),(S.config.chart.type==="boxPlot"||C.type&&C.type==="boxPlot")&&(A.pop(),A.push(S.globals.seriesCandleO[I][$]),A.push(S.globals.seriesCandleH[I][$]),A.push(S.globals.seriesCandleM[I][$]),A.push(S.globals.seriesCandleL[I][$]),A.push(S.globals.seriesCandleC[I][$])),S.config.chart.type==="rangeBar"&&(A.pop(),A.push(S.globals.seriesRangeStart[I][$]),A.push(S.globals.seriesRangeEnd[I][$])),A.length&&N.push(A.join(d))}}var we};A.push(S.config.chart.toolbar.export.csv.headerCategory),S.config.chart.type==="boxPlot"?(A.push("minimum"),A.push("q1"),A.push("median"),A.push("q3"),A.push("maximum")):S.config.chart.type==="candlestick"?(A.push("open"),A.push("high"),A.push("low"),A.push("close")):S.config.chart.type==="rangeBar"?(A.push("minimum"),A.push("maximum")):i.map(function(C,I){var $=(C.name?C.name:"series-".concat(I))+"";S.globals.axisCharts&&A.push($.split(d).join("")?$.split(d).join(""):"series-".concat(I))}),S.globals.axisCharts||(A.push(S.config.chart.toolbar.export.csv.headerValue),N.push(A.join(d))),i.map(function(C,I){S.globals.axisCharts?se(C,I):((A=[]).push(S.globals.labels[I].split(d).join("")),A.push(W[I]),N.push(A.join(d)))}),j+=N.join(m),this.triggerDownload("data:text/csv; charset=utf-8,"+encodeURIComponent("\uFEFF"+j),l||S.config.chart.toolbar.export.csv.filename,".csv")}},{key:"triggerDownload",value:function(n,a,i){var l=document.createElement("a");l.href=n,l.download=(a||this.w.globals.chartID)+i,document.body.appendChild(l),l.click(),document.body.removeChild(l)}}]),J}(),We=function(){function J(n,a){u(this,J),this.ctx=n,this.elgrid=a,this.w=n.w;var i=this.w;this.axesUtils=new Ve(n),this.xaxisLabels=i.globals.labels.slice(),i.globals.timescaleLabels.length>0&&!i.globals.isBarHorizontal&&(this.xaxisLabels=i.globals.timescaleLabels.slice()),i.config.xaxis.overwriteCategories&&(this.xaxisLabels=i.config.xaxis.overwriteCategories),this.drawnLabels=[],this.drawnLabelsRects=[],i.config.xaxis.position==="top"?this.offY=0:this.offY=i.globals.gridHeight+1,this.offY=this.offY+i.config.xaxis.axisBorder.offsetY,this.isCategoryBarHorizontal=i.config.chart.type==="bar"&&i.config.plotOptions.bar.horizontal,this.xaxisFontSize=i.config.xaxis.labels.style.fontSize,this.xaxisFontFamily=i.config.xaxis.labels.style.fontFamily,this.xaxisForeColors=i.config.xaxis.labels.style.colors,this.xaxisBorderWidth=i.config.xaxis.axisBorder.width,this.isCategoryBarHorizontal&&(this.xaxisBorderWidth=i.config.yaxis[0].axisBorder.width.toString()),this.xaxisBorderWidth.indexOf("%")>-1?this.xaxisBorderWidth=i.globals.gridWidth*parseInt(this.xaxisBorderWidth,10)/100:this.xaxisBorderWidth=parseInt(this.xaxisBorderWidth,10),this.xaxisBorderHeight=i.config.xaxis.axisBorder.height,this.yaxis=i.config.yaxis[0]}return w(J,[{key:"drawXaxis",value:function(){var n=this.w,a=new v(this.ctx),i=a.group({class:"apexcharts-xaxis",transform:"translate(".concat(n.config.xaxis.offsetX,", ").concat(n.config.xaxis.offsetY,")")}),l=a.group({class:"apexcharts-xaxis-texts-g",transform:"translate(".concat(n.globals.translateXAxisX,", ").concat(n.globals.translateXAxisY,")")});i.add(l);for(var c=[],d=0;d<this.xaxisLabels.length;d++)c.push(this.xaxisLabels[d]);if(this.drawXAxisLabelAndGroup(!0,a,l,c,n.globals.isXNumeric,function(G,q){return q}),n.globals.hasXaxisGroups)
Line truncated
|
||||
|
||||
.apexcharts-legend {
|
||||
display: flex;
|
||||
overflow: auto;
|
||||
padding: 0 10px;
|
||||
}
|
||||
.apexcharts-legend.apx-legend-position-bottom, .apexcharts-legend.apx-legend-position-top {
|
||||
flex-wrap: wrap
|
||||
}
|
||||
.apexcharts-legend.apx-legend-position-right, .apexcharts-legend.apx-legend-position-left {
|
||||
flex-direction: column;
|
||||
bottom: 0;
|
||||
}
|
||||
.apexcharts-legend.apx-legend-position-bottom.apexcharts-align-left, .apexcharts-legend.apx-legend-position-top.apexcharts-align-left, .apexcharts-legend.apx-legend-position-right, .apexcharts-legend.apx-legend-position-left {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.apexcharts-legend.apx-legend-position-bottom.apexcharts-align-center, .apexcharts-legend.apx-legend-position-top.apexcharts-align-center {
|
||||
justify-content: center;
|
||||
}
|
||||
.apexcharts-legend.apx-legend-position-bottom.apexcharts-align-right, .apexcharts-legend.apx-legend-position-top.apexcharts-align-right {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.apexcharts-legend-series {
|
||||
cursor: pointer;
|
||||
line-height: normal;
|
||||
}
|
||||
.apexcharts-legend.apx-legend-position-bottom .apexcharts-legend-series, .apexcharts-legend.apx-legend-position-top .apexcharts-legend-series{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.apexcharts-legend-text {
|
||||
position: relative;
|
||||
font-size: 14px;
|
||||
}
|
||||
.apexcharts-legend-text *, .apexcharts-legend-marker * {
|
||||
pointer-events: none;
|
||||
}
|
||||
.apexcharts-legend-marker {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
cursor: pointer;
|
||||
margin-right: 3px;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
.apexcharts-legend.apexcharts-align-right .apexcharts-legend-series, .apexcharts-legend.apexcharts-align-left .apexcharts-legend-series{
|
||||
display: inline-block;
|
||||
}
|
||||
.apexcharts-legend-series.apexcharts-no-click {
|
||||
cursor: auto;
|
||||
}
|
||||
.apexcharts-legend .apexcharts-hidden-zero-series, .apexcharts-legend .apexcharts-hidden-null-series {
|
||||
display: none !important;
|
||||
}
|
||||
.apexcharts-inactive-legend {
|
||||
opacity: 0.45;
|
||||
}`);return n.appendChild(a),n}},{key:"getLegendBBox",value:function(){var n=this.w.globals.dom.baseEl.querySelector(".apexcharts-legend").getBoundingClientRect(),a=n.width;return{clwh:n.height,clww:a}}},{key:"appendToForeignObject",value:function(){this.w.globals.dom.elLegendForeign.appendChild(this.getLegendStyles())}},{key:"toggleDataSeries",value:function(n,a){var i=this,l=this.w;if(l.globals.axisCharts||l.config.chart.type==="radialBar"){l.globals.resized=!0;var c=null,d=null;l.globals.risingSeries=[],l.globals.axisCharts?(c=l.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(n,"']")),d=parseInt(c.getAttribute("data:realIndex"),10)):(c=l.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(n+1,"']")),d=parseInt(c.getAttribute("rel"),10)-1),a?[{cs:l.globals.collapsedSeries,csi:l.globals.collapsedSeriesIndices},{cs:l.globals.ancillaryCollapsedSeries,csi:l.globals.ancillaryCollapsedSeriesIndices}].forEach(function(A){i.riseCollapsedSeries(A.cs,A.csi,d)}):this.hideSeries({seriesEl:c,realIndex:d})}else{var h=l.globals.dom.Paper.select(" .apexcharts-series[rel='".concat(n+1,"'] path")),m=l.config.chart.type;if(m==="pie"||m==="polarArea"||m==="donut"){var S=l.config.plotOptions.pie.donut.labels;new v(this.lgCtx.ctx).pathMouseDown(h.members[0],null),this.lgCtx.ctx.pie.printDataLabelsInner(h.members[0].node,S)}h.fire("click")}}},{key:"hideSeries",value:function(n){var a=n.seriesEl,i=n.realIndex,l=this.w,c=f.clone(l.config.series);if(l.globals.axisCharts){var d=!1;if(l.config.yaxis[i]&&l.config.yaxis[i].show&&l.config.yaxis[i].showAlways&&(d=!0,l.globals.ancillaryCollapsedSeriesIndices.indexOf(i)<0&&(l.globals.ancillaryCollapsedSeries.push({index:i,data:c[i].data.slice(),type:a.parentNode.className.baseVal.split("-")[1]}),l.globals.ancillaryCollapsedSeriesIndices.push(i))),!d){l.globals.collapsedSeries.push({index:i,data:c[i].data.slice(),type:a.parentNode.className.baseVal.split("-")[1]}),l.globals.collapsedSeriesIndices.push(i);var h=l.globals.risingSeries.indexOf(i);l.globals.risingSeries.splice(h,1)}}else l.globals.collapsedSeries.push({index:i,data:c[i]}),l.globals.collapsedSeriesIndices.push(i);for(var m=a.childNodes,S=0;S<m.length;S++)m[S].classList.contains("apexcharts-series-markers-wrap")&&(m[S].classList.contains("apexcharts-hide")?m[S].classList.remove("apexcharts-hide"):m[S].classList.add("apexcharts-hide"));l.globals.allSeriesCollapsed=l.globals.collapsedSeries.length===l.config.series.length,c=this._getSeriesBasedOnCollapsedState(c),this.lgCtx.ctx.updateHelpers._updateSeries(c,l.config.chart.animations.dynamicAnimation.enabled)}},{key:"riseCollapsedSeries",value:function(n,a,i){var l=this.w,c=f.clone(l.config.series);if(n.length>0){for(var d=0;d<n.length;d++)n[d].index===i&&(l.globals.axisCharts?(c[i].data=n[d].data.slice(),n.splice(d,1),a.splice(d,1),l.globals.risingSeries.push(i)):(c[i]=n[d].data,n.splice(d,1),a.splice(d,1),l.globals.risingSeries.push(i)));c=this._getSeriesBasedOnCollapsedState(c),this.lgCtx.ctx.updateHelpers._updateSeries(c,l.config.chart.animations.dynamicAnimation.enabled)}}},{key:"_getSeriesBasedOnCollapsedState",value:function(n){var a=this.w;return a.globals.axisCharts?n.forEach(function(i,l){a.globals.collapsedSeriesIndices.indexOf(l)>-1&&(n[l].data=[])}):n.forEach(function(i,l){a.globals.collapsedSeriesIndices.indexOf(l)>-1&&(n[l]=0)}),n}}]),J}(),Qt=function(){function J(n){u(this,J),this.ctx=n,this.w=n.w,this.onLegendClick=this.onLegendClick.bind(this),this.onLegendHovered=this.onLegendHovered.bind(this),this.isBarsDistributed=this.w.config.chart.type==="bar"&&this.w.config.plotOptions.bar.distributed&&this.w.config.series.length===1,this.legendHelpers=new mr(this)}return w(J,[{key:"init",value:function(){var n=this.w,a=n.globals,i=n.config;if((i.legend.showForSingleSeries&&a.series.length===1||this.isBarsDistributed||a.series.length>1||!a.axisCharts)&&i.legend.show){for(;a.dom.elLegendWrap.firstChild;)a.dom.elLegendWrap.removeChild(a.dom.elLegendWrap.firstChild);this.drawLegends(),f.isIE11()?document.getElementsByTagName("head")[0].appendChild(this.legendHelpers.getLegendStyles()):this.legendHelpers.appendToForeignObject(),i.legend.position==="bottom"||i.legend.position==="top"?this.legendAlignHorizontal():i.legend.position!=="right"&&i.legend.position!=="left"||this.legendAlignVertical()}}},{key:"drawLegends",value:function(){var n=this,a=this.w,i=a.config.legend.fontFamily,l=a.globals.seriesNames,c=a.globals.colors.slice();if(a.config.chart.type==="heatmap"){var d=a.config.plotOptions.heatmap.colorScale.ranges;l=d.map(function(Le){return Le.name?Le.name:Le.from+" - "+Le.to}),c=d.map(function(Le){return Le.color})}else this.isBarsDistributed&&(l=a.globals.labels.slice());a.config.legend.customLegendItems.length&&(l=a.config.legend.customLegendItems);for(var h=a.globals.legendFormatter,m=a.config.legend.inverseOrder,S=m?l.length-1:0;m?S>=0:S<=l.length-1;m?S--:S++){var A,N=h(l[S],{seriesIndex:S,w:a}),j=!1,W=!1;if(a.globa
Line truncated
|
||||
<path d="M0 0h24v24H0z" fill="none"/>
|
||||
<path d="M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/>
|
||||
</svg>
|
||||
`),h("zoomOut",this.elZoomOut,`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
||||
<path d="M0 0h24v24H0z" fill="none"/>
|
||||
<path d="M7 11v2h10v-2H7zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/>
|
||||
</svg>
|
||||
`);var m=function(N){n.t[N]&&a.config.chart[N].enabled&&d.push({el:N==="zoom"?n.elZoom:n.elSelection,icon:typeof n.t[N]=="string"?n.t[N]:N==="zoom"?`<svg xmlns="http://www.w3.org/2000/svg" fill="#000000" height="24" viewBox="0 0 24 24" width="24">
|
||||
<path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/>
|
||||
<path d="M0 0h24v24H0V0z" fill="none"/>
|
||||
<path d="M12 10h-2v2H9v-2H7V9h2V7h1v2h2v1z"/>
|
||||
</svg>`:`<svg fill="#6E8192" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M0 0h24v24H0z" fill="none"/>
|
||||
<path d="M3 5h2V3c-1.1 0-2 .9-2 2zm0 8h2v-2H3v2zm4 8h2v-2H7v2zM3 9h2V7H3v2zm10-6h-2v2h2V3zm6 0v2h2c0-1.1-.9-2-2-2zM5 21v-2H3c0 1.1.9 2 2 2zm-2-4h2v-2H3v2zM9 3H7v2h2V3zm2 18h2v-2h-2v2zm8-8h2v-2h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2zm0-12h2V7h-2v2zm0 8h2v-2h-2v2zm-4 4h2v-2h-2v2zm0-16h2V3h-2v2z"/>
|
||||
</svg>`,title:n.localeValues[N==="zoom"?"selectionZoom":"selection"],class:a.globals.isTouchDevice?"apexcharts-element-hidden":"apexcharts-".concat(N,"-icon")})};m("zoom"),m("selection"),this.t.pan&&a.config.chart.zoom.enabled&&d.push({el:this.elPan,icon:typeof this.t.pan=="string"?this.t.pan:`<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="#000000" height="24" viewBox="0 0 24 24" width="24">
|
||||
<defs>
|
||||
<path d="M0 0h24v24H0z" id="a"/>
|
||||
</defs>
|
||||
<clipPath id="b">
|
||||
<use overflow="visible" xlink:href="#a"/>
|
||||
</clipPath>
|
||||
<path clip-path="url(#b)" d="M23 5.5V20c0 2.2-1.8 4-4 4h-7.3c-1.08 0-2.1-.43-2.85-1.19L1 14.83s1.26-1.23 1.3-1.25c.22-.19.49-.29.79-.29.22 0 .42.06.6.16.04.01 4.31 2.46 4.31 2.46V4c0-.83.67-1.5 1.5-1.5S11 3.17 11 4v7h1V1.5c0-.83.67-1.5 1.5-1.5S15 .67 15 1.5V11h1V2.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5V11h1V5.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5z"/>
|
||||
</svg>`,title:this.localeValues.pan,class:a.globals.isTouchDevice?"apexcharts-element-hidden":"apexcharts-pan-icon"}),h("reset",this.elZoomReset,`<svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/>
|
||||
<path d="M0 0h24v24H0z" fill="none"/>
|
||||
</svg>`),this.t.download&&d.push({el:this.elMenuIcon,icon:typeof this.t.download=="string"?this.t.download:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/></svg>',title:this.localeValues.menu,class:"apexcharts-menu-icon"});for(var S=0;S<this.elCustomIcons.length;S++)d.push({el:this.elCustomIcons[S],icon:this.t.customIcons[S].icon,title:this.t.customIcons[S].title,index:this.t.customIcons[S].index,class:"apexcharts-toolbar-custom-icon "+this.t.customIcons[S].class});d.forEach(function(N,j){N.index&&f.moveIndexInArray(d,j,N.index)});for(var A=0;A<d.length;A++)v.setAttrs(d[A].el,{class:d[A].class,title:d[A].title}),d[A].el.innerHTML=d[A].icon,l.appendChild(d[A].el);this._createHamburgerMenu(l),a.globals.zoomEnabled?this.elZoom.classList.add(this.selectedClass):a.globals.panEnabled?this.elPan.classList.add(this.selectedClass):a.globals.selectionEnabled&&this.elSelection.classList.add(this.selectedClass),this.addToolbarEventListeners()}},{key:"_createHamburgerMenu",value:function(n){this.elMenuItems=[],n.appendChild(this.elMenu),v.setAttrs(this.elMenu,{class:"apexcharts-menu"});var a=[{name:"exportSVG",title:this.localeValues.exportToSVG},{name:"exportPNG",title:this.localeValues.exportToPNG},{name:"exportCSV",title:this.localeValues.exportToCSV}];this.w.globals.allSeriesHasEqualX||a.splice(2,1);for(var i=0;i<a.length;i++)this.elMenuItems.push(document.createElement("div")),this.elMenuItems[i].innerHTML=a[i].title,v.setAttrs(this.elMenuItems[i],{class:"apexcharts-menu-item ".concat(a[i].name),title:a[i].title}),this.elMenu.appendChild(this.elMenuItems[i])}},{key:"addToolbarEventListeners",value:function(){var n=this;this.elZoomReset.addEventListener("click",this.handleZoomReset.bind(this)),this.elSelection.addEventListener("click",this.toggleZoomSelection.bind(this,"selection")),this.elZoom.addEventListener("click",this.toggleZoomSelection.bind(this,"zoom")),this.elZoomIn.addEventListener("click",this.handleZoomIn.bind(this)),this.elZoomOut.addEventListener("click",this.handleZoomOut.bind(this)),this.elPan.addEventListener("click",this.togglePanning.bind(this)),this.elMenuIcon.addEventListener("click",this.toggleMenu.bind(this)),this.elMenuItems.forEach(function(i){i.classList.contains("exportSVG")?i.addEventListener("click",n.handleDownload.bind(n,"svg")):i.classList.contains("exportPNG")?i.addEventListener("click",n.handleDownload.bind(n,"png")):i.classList.contains("exportCSV")&&i.addEventListener("click",n.handleDownload.bind(n,"csv"))});for(var a=0;a<this.t.customIcons.length;a++)this.elCustomIcons[a].addEventListener("click",this.t.customIcons[a].click.bind(this,this.ctx,this.ctx.w))}},{key:"toggleZoomSelection",value:function(n){this.ctx.getSyncedCharts().forEach(function(a){a.ctx.toolbar.toggleOtherControls();var i=n==="selection"?a.ctx.toolbar.elSelection:a.ctx.toolbar.elZoom,l=n==="selection"?"selectionEnabled":"zoomEnabled";a.w.globals[l]=!a.w.globals[l],i.classList.contains(a.ctx.toolbar.selectedClass)?i.classList.remove(a.ctx.toolbar.selectedClass):i.classList.add(a.ctx.toolbar.selectedClass)})}},{key:"getToolbarIconsReference",value:function(){var n=this.w;this.elZoom||(this.elZoom=n.globals.dom.baseEl.querySelector(".apexcharts-zoom-icon")),this.elPan||(this.elPan=n.globals.dom.baseEl.querySelector(".apexcharts-pan-icon")),this.elSelection||(this.elSelection=n.globals.dom.baseEl.querySelector(".apexcharts-selection-icon"))}},{key:"enableZoomPanFromToolbar",value:function(n){this.toggleOtherControls(),n==="pan"?this.w.globals.panEnabled=!0:this.w.globals.zoomEnabled=!0;var a=n==="pan"?this.elPan:this.elZoom,i=n==="pan"?this.elZoom:this.elPan;a&&a.classList.add(this.selectedClass),i&&i.classList.remove(this.selectedClass)}},{key:"togglePanning",value:function(){this.ctx.getSyncedCharts().forEach(function(n){n.ctx.toolbar.toggleOtherControls(),n.w.globals.panEnabled=!n.w.globals.panEnabled,n.ctx.toolbar.elPan.classList.contains(n.ctx.toolbar.selectedClass)?n.ctx.toolbar.elPan.classList.remove(n.ctx.toolbar.selectedClass):n.ctx.toolbar.elPan.classList.add(n.ctx.toolbar.selectedClass)})}},{key:"toggleOtherControls",value:function(){var n=this,a=this.w;a.globals.panEnabled=!1,a.globals.zoomEnabled=!1,a.globals.selectionEnabled=!1,this.getToolbarIconsReference(),[this.elPan,this.elSelection,this.elZoom].forEach(function(i){i&&i.classList.remove(n.selectedClass)})}},{key:"handleZoomIn",value:function(){var n=this.w;n.globals.isRangeBar&&(this.minX=n.globals.minY,this.maxX=n.globals.maxY);var a=(this.minX+this.maxX)/2,i=(this.minX+a)/2,l=(this.maxX+a)/2,c=this._getNewMinXMaxX(i,l);n.globals.disableZoomIn||this.zoomUpdateOptions(c.minX,c.maxX)}},{key:"handleZoomOut",value:function(){var n=this.w;if(n.globals.isRangeBar&&(this.minX=n.globals.minY,this.maxX=n.globals.maxY),!(n.config.xaxis.type==="datetime"&&new Date(this.minX).getUTCFullYear()<1e3)){var a=(this.minX+this.maxX)/Line truncated
|
||||
.apexcharts-candlestick-series .apexcharts-series[data\\:realIndex='`).concat(a,"'] path[j='").concat(n,`'],
|
||||
.apexcharts-boxPlot-series .apexcharts-series[data\\:realIndex='`).concat(a,"'] path[j='").concat(n,`'],
|
||||
.apexcharts-rangebar-series .apexcharts-series[data\\:realIndex='`).concat(a,"'] path[j='").concat(n,"']")));var m=h?parseFloat(h.getAttribute("cx")):0,S=h?parseFloat(h.getAttribute("cy")):0,A=h?parseFloat(h.getAttribute("barWidth")):0,N=l.getElGrid().getBoundingClientRect(),j=h&&(h.classList.contains("apexcharts-candlestick-area")||h.classList.contains("apexcharts-boxPlot-area"));i.globals.isXNumeric?(h&&!j&&(m-=c%2!=0?A/2:0),h&&j&&i.globals.comboCharts&&(m-=A/2)):i.globals.isBarHorizontal||(m=l.xAxisTicksPositions[n-1]+l.dataPointsDividedWidth/2,isNaN(m)&&(m=l.xAxisTicksPositions[n]-l.dataPointsDividedWidth/2)),i.globals.isBarHorizontal?S-=l.tooltipRect.ttHeight:i.config.tooltip.followCursor?S=l.e.clientY-N.top-l.tooltipRect.ttHeight/2:S+l.tooltipRect.ttHeight+15>i.globals.gridHeight&&(S=i.globals.gridHeight),i.globals.isBarHorizontal||this.moveXCrosshairs(m),l.fixedTooltip||this.moveTooltip(m,S||i.globals.gridHeight)}}]),J}(),jr=function(){function J(n){u(this,J),this.w=n.w,this.ttCtx=n,this.ctx=n.ctx,this.tooltipPosition=new Ir(n)}return w(J,[{key:"drawDynamicPoints",value:function(){var n=this.w,a=new v(this.ctx),i=new Ee(this.ctx),l=n.globals.dom.baseEl.querySelectorAll(".apexcharts-series");l=R(l),n.config.chart.stacked&&l.sort(function(N,j){return parseFloat(N.getAttribute("data:realIndex"))-parseFloat(j.getAttribute("data:realIndex"))});for(var c=0;c<l.length;c++){var d=l[c].querySelector(".apexcharts-series-markers-wrap");if(d!==null){var h=void 0,m="apexcharts-marker w".concat((Math.random()+1).toString(36).substring(4));n.config.chart.type!=="line"&&n.config.chart.type!=="area"||n.globals.comboCharts||n.config.tooltip.intersect||(m+=" no-pointer-events");var S=i.getMarkerConfig({cssClass:m,seriesIndex:Number(d.getAttribute("data:realIndex"))});(h=a.drawMarker(0,0,S)).node.setAttribute("default-marker-size",0);var A=document.createElementNS(n.globals.SVGNS,"g");A.classList.add("apexcharts-series-markers"),A.appendChild(h.node),d.appendChild(A)}}}},{key:"enlargeCurrentPoint",value:function(n,a){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,c=this.w;c.config.chart.type!=="bubble"&&this.newPointSize(n,a);var d=a.getAttribute("cx"),h=a.getAttribute("cy");if(i!==null&&l!==null&&(d=i,h=l),this.tooltipPosition.moveXCrosshairs(d),!this.fixedTooltip){if(c.config.chart.type==="radar"){var m=this.ttCtx.getElGrid().getBoundingClientRect();d=this.ttCtx.e.clientX-m.left}this.tooltipPosition.moveTooltip(d,h,c.config.markers.hover.size)}}},{key:"enlargePoints",value:function(n){for(var a=this.w,i=this,l=this.ttCtx,c=n,d=a.globals.dom.baseEl.querySelectorAll(".apexcharts-series:not(.apexcharts-series-collapsed) .apexcharts-marker"),h=a.config.markers.hover.size,m=0;m<d.length;m++){var S=d[m].getAttribute("rel"),A=d[m].getAttribute("index");if(h===void 0&&(h=a.globals.markers.size[A]+a.config.markers.hover.sizeOffset),c===parseInt(S,10)){i.newPointSize(c,d[m]);var N=d[m].getAttribute("cx"),j=d[m].getAttribute("cy");i.tooltipPosition.moveXCrosshairs(N),l.fixedTooltip||i.tooltipPosition.moveTooltip(N,j,h)}else i.oldPointSize(d[m])}}},{key:"newPointSize",value:function(n,a){var i=this.w,l=i.config.markers.hover.size,c=n===0?a.parentNode.firstChild:a.parentNode.lastChild;if(c.getAttribute("default-marker-size")!=="0"){var d=parseInt(c.getAttribute("index"),10);l===void 0&&(l=i.globals.markers.size[d]+i.config.markers.hover.sizeOffset),l<0&&(l=0),c.setAttribute("r",l)}}},{key:"oldPointSize",value:function(n){var a=parseFloat(n.getAttribute("default-marker-size"));n.setAttribute("r",a)}},{key:"resetPointsSize",value:function(){for(var n=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series:not(.apexcharts-series-collapsed) .apexcharts-marker"),a=0;a<n.length;a++){var i=parseFloat(n[a].getAttribute("default-marker-size"));f.isNumber(i)&&i>=0?n[a].setAttribute("r",i):n[a].setAttribute("r",0)}}}]),J}(),Ht=function(){function J(n){u(this,J),this.w=n.w;var a=this.w;this.ttCtx=n,this.isVerticalGroupedRangeBar=!a.globals.isBarHorizontal&&a.config.chart.type==="rangeBar"&&a.config.plotOptions.bar.rangeBarGroupRows}return w(J,[{key:"getAttr",value:function(n,a){return parseFloat(n.target.getAttribute(a))}},{key:"handleHeatTreeTooltip",value:function(n){var a=n.e,i=n.opt,l=n.x,c=n.y,d=n.type,h=this.ttCtx,m=this.w;if(a.target.classList.contains("apexcharts-".concat(d,"-rect"))){var S=this.getAttr(a,"i"),A=this.getAttr(a,"j"),N=this.getAttr(a,"cx"),j=this.getAttr(a,"cy"),W=this.getAttr(a,"width"),G=this.getAttr(a,"height");if(h.tooltipLabels.drawSeriesTexts({ttItems:i.ttItems,i:S,j:A,shared:!1,e:a}),m.globals.capturedSeriesIndex=S,m.globals.capturedDataPointIndex=A,l=N+h.tooltipRect.ttWidth/2+W,c=j+h.tooltipRect.ttHeight/2-G/2,h.tooltipPosition.moveXCrosshairs(N+W/2),l>m.globals.gridWidth/2&&(l=N-h.tooltipRect.ttWidth/2+W),h.w.config.tooltip.followCursor){var q=m.globals.dom.elWrap.getBoundingClientRect();l=m.globals.clientX-q.left-(Line truncated
|
||||
`),C+=I[$].textContent;return C}if(this.clear().build(!0),typeof C=="function")C.call(this,this);else{$=0;for(var de=(C=C.split(`
|
||||
`)).length;$<de;$++)this.tspan(C[$]).newLine()}return this.build(!1).rebuild()},size:function(C){return this.attr("font-size",C).rebuild()},leading:function(C){return C==null?this.dom.leading:(this.dom.leading=new a.Number(C),this.rebuild())},lines:function(){var C=(this.textPath&&this.textPath()||this).node,I=a.utils.map(a.utils.filterSVGElements(C.childNodes),function($){return a.adopt($)});return new a.Set(I)},rebuild:function(C){if(typeof C=="boolean"&&(this._rebuild=C),this._rebuild){var I=this,$=0,te=this.dom.leading*new a.Number(this.attr("font-size"));this.lines().each(function(){this.dom.newLined&&(I.textPath()||this.attr("x",I.attr("x")),this.text()==`
|
||||
`?$+=te:(this.attr("dy",te+$),$=0))}),this.fire("rebuild")}return this},build:function(C){return this._build=!!C,this},setData:function(C){return this.dom=C,this.dom.leading=new a.Number(C.leading||1.3),this}},construct:{text:function(C){return this.put(new a.Text).text(C)},plain:function(C){return this.put(new a.Text).plain(C)}}}),a.Tspan=a.invent({create:"tspan",inherit:a.Shape,extend:{text:function(C){return C==null?this.node.textContent+(this.dom.newLined?`
|
||||
`:""):(typeof C=="function"?C.call(this,this):this.plain(C),this)},dx:function(C){return this.attr("dx",C)},dy:function(C){return this.attr("dy",C)},newLine:function(){var C=this.parent(a.Text);return this.dom.newLined=!0,this.dy(C.dom.leading*C.attr("font-size")).attr("x",C.x())}}}),a.extend(a.Text,a.Tspan,{plain:function(C){return this._build===!1&&this.clear(),this.node.appendChild(n.createTextNode(C)),this},tspan:function(C){var I=(this.textPath&&this.textPath()||this).node,$=new a.Tspan;return this._build===!1&&this.clear(),I.appendChild($.node),$.text(C)},clear:function(){for(var C=(this.textPath&&this.textPath()||this).node;C.hasChildNodes();)C.removeChild(C.lastChild);return this},length:function(){return this.node.getComputedTextLength()}}),a.TextPath=a.invent({create:"textPath",inherit:a.Parent,parent:a.Text,construct:{morphArray:a.PathArray,array:function(){var C=this.track();return C?C.array():null},plot:function(C){var I=this.track(),$=null;return I&&($=I.plot(C)),C==null?$:this},track:function(){var C=this.textPath();if(C)return C.reference("href")},textPath:function(){if(this.node.firstChild&&this.node.firstChild.nodeName=="textPath")return a.adopt(this.node.firstChild)}}}),a.Nested=a.invent({create:function(){this.constructor.call(this,a.create("svg")),this.style("overflow","visible")},inherit:a.Container,construct:{nested:function(){return this.put(new a.Nested)}}});var h={stroke:["color","width","opacity","linecap","linejoin","miterlimit","dasharray","dashoffset"],fill:["color","opacity","rule"],prefix:function(C,I){return I=="color"?C:C+"-"+I}};function m(C,I,$,te){return $+te.replace(a.regex.dots," .")}function S(C){return C.toLowerCase().replace(/-(.)/g,function(I,$){return $.toUpperCase()})}function A(C){return C.charAt(0).toUpperCase()+C.slice(1)}function N(C){var I=C.toString(16);return I.length==1?"0"+I:I}function j(C,I,$){if(I==null||$==null){var te=C.bbox();I==null?I=te.width/te.height*$:$==null&&($=te.height/te.width*I)}return{width:I,height:$}}function W(C,I,$){return{x:I*C.a+$*C.c+0,y:I*C.b+$*C.d+0}}function G(C){return{a:C[0],b:C[1],c:C[2],d:C[3],e:C[4],f:C[5]}}function q(C){for(var I=C.childNodes.length-1;I>=0;I--)C.childNodes[I]instanceof J.SVGElement&&q(C.childNodes[I]);return a.adopt(C).id(a.eid(C.nodeName))}function Q(C){return Math.abs(C)>1e-37?C:0}["fill","stroke"].forEach(function(C){var I={};I[C]=function($){if($===void 0)return this;if(typeof $=="string"||a.Color.isRgb($)||$&&typeof $.fill=="function")this.attr(C,$);else for(var te=h[C].length-1;te>=0;te--)$[h[C][te]]!=null&&this.attr(h.prefix(C,h[C][te]),$[h[C][te]]);return this},a.extend(a.Element,a.FX,I)}),a.extend(a.Element,a.FX,{translate:function(C,I){return this.transform({x:C,y:I})},matrix:function(C){return this.attr("transform",new a.Matrix(arguments.length==6?[].slice.call(arguments):C))},opacity:function(C){return this.attr("opacity",C)},dx:function(C){return this.x(new a.Number(C).plus(this instanceof a.FX?0:this.x()),!0)},dy:function(C){return this.y(new a.Number(C).plus(this instanceof a.FX?0:this.y()),!0)}}),a.extend(a.Path,{length:function(){return this.node.getTotalLength()},pointAt:function(C){return this.node.getPointAtLength(C)}}),a.Set=a.invent({create:function(C){Array.isArray(C)?this.members=C:this.clear()},extend:{add:function(){for(var C=[].slice.call(arguments),I=0,$=C.length;I<$;I++)this.members.push(C[I]);return this},remove:function(C){var I=this.index(C);return I>-1&&this.members.splice(I,1),this},each:function(C){for(var I=0,$=this.members.length;I<$;I++)C.apply(this.members[I],[I,this.members]);return this},clear:function(){return this.members=[],this},length:function(){return this.members.length},has:function(C){return this.index(C)>=0},index:function(C){return this.members.indexOf(C)},get:function(C){return this.members[C]},first:function(){return this.get(0)},last:function(){return this.get(this.members.length-1)},valueOf:function(){return this.members}},construct:{set:function(C){return new a.Set(C)}}}),a.FX.Set=a.invent({create:function(C){this.set=C}}),a.Set.inherit=function(){var C=[];for(var I in a.Shape.prototype)typeof a.Shape.prototype[I]=="function"&&typeof a.Set.prototype[I]!="function"&&C.push(I);for(var I in C.forEach(function(te){a.Set.prototype[te]=function(){for(var de=0,fe=this.members.length;de<fe;de++)this.members[de]&&typeof this.members[de][te]=="function"&&this.members[de][te].apply(this.members[de],arguments);return te=="animate"?this.fx||(this.fx=new a.FX.Set(this)):this}}),C=[],a.FX.prototype)typeof a.FX.prototype[I]=="function"&&typeof a.FX.Set.prototype[I]!="function"&&C.push(I);C.forEach(function($){a.FX.Set.prototype[$]=function(){for(var te=0,de=this.set.members.length;te<de;te++)this.set.members[te].fx[$].apply(this.set.members[te].fx,arguments);return this}})},a.extend(a.Element,{}),a.extend(a.Element,{remember:function(C,I){if(s(arguments[0])==="object")for(var $ in C)this.remember($,C[$]);else{if(arguments.length==1)return this.memory()[C];this.mem
Line truncated
|
||||
0% {
|
||||
opacity: 0
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 1
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes resizeanim {
|
||||
0%,to {
|
||||
opacity: 0
|
||||
}
|
||||
}
|
||||
|
||||
.apexcharts-canvas {
|
||||
position: relative;
|
||||
user-select: none
|
||||
}
|
||||
|
||||
.apexcharts-canvas ::-webkit-scrollbar {
|
||||
-webkit-appearance: none;
|
||||
width: 6px
|
||||
}
|
||||
|
||||
.apexcharts-canvas ::-webkit-scrollbar-thumb {
|
||||
border-radius: 4px;
|
||||
background-color: rgba(0,0,0,.5);
|
||||
box-shadow: 0 0 1px rgba(255,255,255,.5);
|
||||
-webkit-box-shadow: 0 0 1px rgba(255,255,255,.5)
|
||||
}
|
||||
|
||||
.apexcharts-inner {
|
||||
position: relative
|
||||
}
|
||||
|
||||
.apexcharts-text tspan {
|
||||
font-family: inherit
|
||||
}
|
||||
|
||||
.legend-mouseover-inactive {
|
||||
transition: .15s ease all;
|
||||
opacity: .2
|
||||
}
|
||||
|
||||
.apexcharts-legend-text {
|
||||
padding-left: 15px;
|
||||
margin-left: -15px;
|
||||
}
|
||||
|
||||
.apexcharts-series-collapsed {
|
||||
opacity: 0
|
||||
}
|
||||
|
||||
.apexcharts-tooltip {
|
||||
border-radius: 5px;
|
||||
box-shadow: 2px 2px 6px -4px #999;
|
||||
cursor: default;
|
||||
font-size: 14px;
|
||||
left: 62px;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
z-index: 12;
|
||||
transition: .15s ease all
|
||||
}
|
||||
|
||||
.apexcharts-tooltip.apexcharts-active {
|
||||
opacity: 1;
|
||||
transition: .15s ease all
|
||||
}
|
||||
|
||||
.apexcharts-tooltip.apexcharts-theme-light {
|
||||
border: 1px solid #e3e3e3;
|
||||
background: rgba(255,255,255,.96)
|
||||
}
|
||||
|
||||
.apexcharts-tooltip.apexcharts-theme-dark {
|
||||
color: #fff;
|
||||
background: rgba(30,30,30,.8)
|
||||
}
|
||||
|
||||
.apexcharts-tooltip * {
|
||||
font-family: inherit
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-title {
|
||||
padding: 6px;
|
||||
font-size: 15px;
|
||||
margin-bottom: 4px
|
||||
}
|
||||
|
||||
.apexcharts-tooltip.apexcharts-theme-light .apexcharts-tooltip-title {
|
||||
background: #eceff1;
|
||||
border-bottom: 1px solid #ddd
|
||||
}
|
||||
|
||||
.apexcharts-tooltip.apexcharts-theme-dark .apexcharts-tooltip-title {
|
||||
background: rgba(0,0,0,.7);
|
||||
border-bottom: 1px solid #333
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-text-goals-value,.apexcharts-tooltip-text-y-value,.apexcharts-tooltip-text-z-value {
|
||||
display: inline-block;
|
||||
margin-left: 5px;
|
||||
font-weight: 600
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-text-goals-label:empty,.apexcharts-tooltip-text-goals-value:empty,.apexcharts-tooltip-text-y-label:empty,.apexcharts-tooltip-text-y-value:empty,.apexcharts-tooltip-text-z-value:empty,.apexcharts-tooltip-title:empty {
|
||||
display: none
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-text-goals-label,.apexcharts-tooltip-text-goals-value {
|
||||
padding: 6px 0 5px
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-goals-group,.apexcharts-tooltip-text-goals-label,.apexcharts-tooltip-text-goals-value {
|
||||
display: flex
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-text-goals-label:not(:empty),.apexcharts-tooltip-text-goals-value:not(:empty) {
|
||||
margin-top: -6px
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-marker {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
position: relative;
|
||||
top: 0;
|
||||
margin-right: 10px;
|
||||
border-radius: 50%
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-series-group {
|
||||
padding: 0 10px;
|
||||
display: none;
|
||||
text-align: left;
|
||||
justify-content: left;
|
||||
align-items: center
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-series-group.apexcharts-active .apexcharts-tooltip-marker {
|
||||
opacity: 1
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-series-group.apexcharts-active,.apexcharts-tooltip-series-group:last-child {
|
||||
padding-bottom: 4px
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-series-group-hidden {
|
||||
opacity: 0;
|
||||
height: 0;
|
||||
line-height: 0;
|
||||
padding: 0!important
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-y-group {
|
||||
padding: 6px 0 5px
|
||||
}
|
||||
|
||||
.apexcharts-custom-tooltip,.apexcharts-tooltip-box {
|
||||
padding: 4px 8px
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-boxPlot {
|
||||
display: flex;
|
||||
flex-direction: column-reverse
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-box>div {
|
||||
margin: 4px 0
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-box span.value {
|
||||
font-weight: 700
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-rangebar {
|
||||
padding: 5px 8px
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-rangebar .category {
|
||||
font-weight: 600;
|
||||
color: #777
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-rangebar .series-name {
|
||||
font-weight: 700;
|
||||
display: block;
|
||||
margin-bottom: 5px
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip,.apexcharts-yaxistooltip {
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
color: #373d3f;
|
||||
font-size: 13px;
|
||||
text-align: center;
|
||||
border-radius: 2px;
|
||||
position: absolute;
|
||||
z-index: 10;
|
||||
background: #eceff1;
|
||||
border: 1px solid #90a4ae
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip {
|
||||
padding: 9px 10px;
|
||||
transition: .15s ease all
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip.apexcharts-theme-dark {
|
||||
background: rgba(0,0,0,.7);
|
||||
border: 1px solid rgba(0,0,0,.5);
|
||||
color: #fff
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip:after,.apexcharts-xaxistooltip:before {
|
||||
left: 50%;
|
||||
border: solid transparent;
|
||||
content: " ";
|
||||
height: 0;
|
||||
width: 0;
|
||||
position: absolute;
|
||||
pointer-events: none
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip:after {
|
||||
border-color: transparent;
|
||||
border-width: 6px;
|
||||
margin-left: -6px
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip:before {
|
||||
border-color: transparent;
|
||||
border-width: 7px;
|
||||
margin-left: -7px
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip-bottom:after,.apexcharts-xaxistooltip-bottom:before {
|
||||
bottom: 100%
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip-top:after,.apexcharts-xaxistooltip-top:before {
|
||||
top: 100%
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip-bottom:after {
|
||||
border-bottom-color: #eceff1
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip-bottom:before {
|
||||
border-bottom-color: #90a4ae
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:after,.apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:before {
|
||||
border-bottom-color: rgba(0,0,0,.5)
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip-top:after {
|
||||
border-top-color: #eceff1
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip-top:before {
|
||||
border-top-color: #90a4ae
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip-top.apexcharts-theme-dark:after,.apexcharts-xaxistooltip-top.apexcharts-theme-dark:before {
|
||||
border-top-color: rgba(0,0,0,.5)
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip.apexcharts-active {
|
||||
opacity: 1;
|
||||
transition: .15s ease all
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip {
|
||||
padding: 4px 10px
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip.apexcharts-theme-dark {
|
||||
background: rgba(0,0,0,.7);
|
||||
border: 1px solid rgba(0,0,0,.5);
|
||||
color: #fff
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip:after,.apexcharts-yaxistooltip:before {
|
||||
top: 50%;
|
||||
border: solid transparent;
|
||||
content: " ";
|
||||
height: 0;
|
||||
width: 0;
|
||||
position: absolute;
|
||||
pointer-events: none
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip:after {
|
||||
border-color: transparent;
|
||||
border-width: 6px;
|
||||
margin-top: -6px
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip:before {
|
||||
border-color: transparent;
|
||||
border-width: 7px;
|
||||
margin-top: -7px
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip-left:after,.apexcharts-yaxistooltip-left:before {
|
||||
left: 100%
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip-right:after,.apexcharts-yaxistooltip-right:before {
|
||||
right: 100%
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip-left:after {
|
||||
border-left-color: #eceff1
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip-left:before {
|
||||
border-left-color: #90a4ae
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip-left.apexcharts-theme-dark:after,.apexcharts-yaxistooltip-left.apexcharts-theme-dark:before {
|
||||
border-left-color: rgba(0,0,0,.5)
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip-right:after {
|
||||
border-right-color: #eceff1
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip-right:before {
|
||||
border-right-color: #90a4ae
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip-right.apexcharts-theme-dark:after,.apexcharts-yaxistooltip-right.apexcharts-theme-dark:before {
|
||||
border-right-color: rgba(0,0,0,.5)
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip.apexcharts-active {
|
||||
opacity: 1
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip-hidden {
|
||||
display: none
|
||||
}
|
||||
|
||||
.apexcharts-xcrosshairs,.apexcharts-ycrosshairs {
|
||||
pointer-events: none;
|
||||
opacity: 0;
|
||||
transition: .15s ease all
|
||||
}
|
||||
|
||||
.apexcharts-xcrosshairs.apexcharts-active,.apexcharts-ycrosshairs.apexcharts-active {
|
||||
opacity: 1;
|
||||
transition: .15s ease all
|
||||
}
|
||||
|
||||
.apexcharts-ycrosshairs-hidden {
|
||||
opacity: 0
|
||||
}
|
||||
|
||||
.apexcharts-selection-rect {
|
||||
cursor: move
|
||||
}
|
||||
|
||||
.svg_select_boundingRect,.svg_select_points_rot {
|
||||
pointer-events: none;
|
||||
opacity: 0;
|
||||
visibility: hidden
|
||||
}
|
||||
|
||||
.apexcharts-selection-rect+g .svg_select_boundingRect,.apexcharts-selection-rect+g .svg_select_points_rot {
|
||||
opacity: 0;
|
||||
visibility: hidden
|
||||
}
|
||||
|
||||
.apexcharts-selection-rect+g .svg_select_points_l,.apexcharts-selection-rect+g .svg_select_points_r {
|
||||
cursor: ew-resize;
|
||||
opacity: 1;
|
||||
visibility: visible
|
||||
}
|
||||
|
||||
.svg_select_points {
|
||||
fill: #efefef;
|
||||
stroke: #333;
|
||||
rx: 2
|
||||
}
|
||||
|
||||
.apexcharts-svg.apexcharts-zoomable.hovering-zoom {
|
||||
cursor: crosshair
|
||||
}
|
||||
|
||||
.apexcharts-svg.apexcharts-zoomable.hovering-pan {
|
||||
cursor: move
|
||||
}
|
||||
|
||||
.apexcharts-menu-icon,.apexcharts-pan-icon,.apexcharts-reset-icon,.apexcharts-selection-icon,.apexcharts-toolbar-custom-icon,.apexcharts-zoom-icon,.apexcharts-zoomin-icon,.apexcharts-zoomout-icon {
|
||||
cursor: pointer;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
line-height: 24px;
|
||||
color: #6e8192;
|
||||
text-align: center
|
||||
}
|
||||
|
||||
.apexcharts-menu-icon svg,.apexcharts-reset-icon svg,.apexcharts-zoom-icon svg,.apexcharts-zoomin-icon svg,.apexcharts-zoomout-icon svg {
|
||||
fill: #6e8192
|
||||
}
|
||||
|
||||
.apexcharts-selection-icon svg {
|
||||
fill: #444;
|
||||
transform: scale(.76)
|
||||
}
|
||||
|
||||
.apexcharts-theme-dark .apexcharts-menu-icon svg,.apexcharts-theme-dark .apexcharts-pan-icon svg,.apexcharts-theme-dark .apexcharts-reset-icon svg,.apexcharts-theme-dark .apexcharts-selection-icon svg,.apexcharts-theme-dark .apexcharts-toolbar-custom-icon svg,.apexcharts-theme-dark .apexcharts-zoom-icon svg,.apexcharts-theme-dark .apexcharts-zoomin-icon svg,.apexcharts-theme-dark .apexcharts-zoomout-icon svg {
|
||||
fill: #f3f4f5
|
||||
}
|
||||
|
||||
.apexcharts-canvas .apexcharts-reset-zoom-icon.apexcharts-selected svg,.apexcharts-canvas .apexcharts-selection-icon.apexcharts-selected svg,.apexcharts-canvas .apexcharts-zoom-icon.apexcharts-selected svg {
|
||||
fill: #008ffb
|
||||
}
|
||||
|
||||
.apexcharts-theme-light .apexcharts-menu-icon:hover svg,.apexcharts-theme-light .apexcharts-reset-icon:hover svg,.apexcharts-theme-light .apexcharts-selection-icon:not(.apexcharts-selected):hover svg,.apexcharts-theme-light .apexcharts-zoom-icon:not(.apexcharts-selected):hover svg,.apexcharts-theme-light .apexcharts-zoomin-icon:hover svg,.apexcharts-theme-light .apexcharts-zoomout-icon:hover svg {
|
||||
fill: #333
|
||||
}
|
||||
|
||||
.apexcharts-menu-icon,.apexcharts-selection-icon {
|
||||
position: relative
|
||||
}
|
||||
|
||||
.apexcharts-reset-icon {
|
||||
margin-left: 5px
|
||||
}
|
||||
|
||||
.apexcharts-menu-icon,.apexcharts-reset-icon,.apexcharts-zoom-icon {
|
||||
transform: scale(.85)
|
||||
}
|
||||
|
||||
.apexcharts-zoomin-icon,.apexcharts-zoomout-icon {
|
||||
transform: scale(.7)
|
||||
}
|
||||
|
||||
.apexcharts-zoomout-icon {
|
||||
margin-right: 3px
|
||||
}
|
||||
|
||||
.apexcharts-pan-icon {
|
||||
transform: scale(.62);
|
||||
position: relative;
|
||||
left: 1px;
|
||||
top: 0
|
||||
}
|
||||
|
||||
.apexcharts-pan-icon svg {
|
||||
fill: #fff;
|
||||
stroke: #6e8192;
|
||||
stroke-width: 2
|
||||
}
|
||||
|
||||
.apexcharts-pan-icon.apexcharts-selected svg {
|
||||
stroke: #008ffb
|
||||
}
|
||||
|
||||
.apexcharts-pan-icon:not(.apexcharts-selected):hover svg {
|
||||
stroke: #333
|
||||
}
|
||||
|
||||
.apexcharts-toolbar {
|
||||
position: absolute;
|
||||
z-index: 11;
|
||||
max-width: 176px;
|
||||
text-align: right;
|
||||
border-radius: 3px;
|
||||
padding: 0 6px 2px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center
|
||||
}
|
||||
|
||||
.apexcharts-menu {
|
||||
background: #fff;
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 3px;
|
||||
padding: 3px;
|
||||
right: 10px;
|
||||
opacity: 0;
|
||||
min-width: 110px;
|
||||
transition: .15s ease all;
|
||||
pointer-events: none
|
||||
}
|
||||
|
||||
.apexcharts-menu.apexcharts-menu-open {
|
||||
opacity: 1;
|
||||
pointer-events: all;
|
||||
transition: .15s ease all
|
||||
}
|
||||
|
||||
.apexcharts-menu-item {
|
||||
padding: 6px 7px;
|
||||
font-size: 12px;
|
||||
cursor: pointer
|
||||
}
|
||||
|
||||
.apexcharts-theme-light .apexcharts-menu-item:hover {
|
||||
background: #eee
|
||||
}
|
||||
|
||||
.apexcharts-theme-dark .apexcharts-menu {
|
||||
background: rgba(0,0,0,.7);
|
||||
color: #fff
|
||||
}
|
||||
|
||||
@media screen and (min-width:768px) {
|
||||
.apexcharts-canvas:hover .apexcharts-toolbar {
|
||||
opacity: 1
|
||||
}
|
||||
}
|
||||
|
||||
.apexcharts-canvas .apexcharts-element-hidden,.apexcharts-datalabel.apexcharts-element-hidden,.apexcharts-hide .apexcharts-series-points {
|
||||
opacity: 0
|
||||
}
|
||||
|
||||
.apexcharts-hidden-element-shown {
|
||||
opacity: 1;
|
||||
transition: 0.25s ease all;
|
||||
}
|
||||
.apexcharts-datalabel,.apexcharts-datalabel-label,.apexcharts-datalabel-value,.apexcharts-datalabels,.apexcharts-pie-label {
|
||||
cursor: default;
|
||||
pointer-events: none
|
||||
}
|
||||
|
||||
.apexcharts-pie-label-delay {
|
||||
opacity: 0;
|
||||
animation-name: opaque;
|
||||
animation-duration: .3s;
|
||||
animation-fill-mode: forwards;
|
||||
animation-timing-function: ease
|
||||
}
|
||||
|
||||
.apexcharts-annotation-rect,.apexcharts-area-series .apexcharts-area,.apexcharts-area-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events,.apexcharts-gridline,.apexcharts-line,.apexcharts-line-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events,.apexcharts-point-annotation-label,.apexcharts-radar-series path,.apexcharts-radar-series polygon,.apexcharts-toolbar svg,.apexcharts-tooltip .apexcharts-marker,.apexcharts-xaxis-annotation-label,.apexcharts-yaxis-annotation-label,.apexcharts-zoom-rect {
|
||||
pointer-events: none
|
||||
}
|
||||
|
||||
.apexcharts-marker {
|
||||
transition: .15s ease all
|
||||
}
|
||||
|
||||
.resize-triggers {
|
||||
animation: 1ms resizeanim;
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
overflow: hidden
|
||||
}
|
||||
|
||||
.contract-trigger:before,.resize-triggers,.resize-triggers>div {
|
||||
content: " ";
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0
|
||||
}
|
||||
|
||||
.resize-triggers>div {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background: #eee;
|
||||
overflow: auto
|
||||
}
|
||||
|
||||
.contract-trigger:before {
|
||||
overflow: hidden;
|
||||
width: 200%;
|
||||
height: 200%
|
||||
}
|
||||
|
||||
.apexcharts-bar-goals-markers{
|
||||
pointer-events: none
|
||||
}
|
||||
|
||||
.apexcharts-bar-shadows{
|
||||
pointer-events: none
|
||||
}
|
||||
|
||||
.apexcharts-rangebar-goals-markers{
|
||||
pointer-events: none
|
||||
}`,d?c.prepend(n.css):h.head.appendChild(n.css))}var S=n.create(n.w.config.series,{});if(!S)return a(n);n.mount(S).then(function(){typeof n.w.config.chart.events.mounted=="function"&&n.w.config.chart.events.mounted(n,n.w),n.events.fireEvent("mounted",[n,n.w]),a(S)}).catch(function(A){i(A)})}else i(new Error("Element not found"))})}},{key:"create",value:function(n,a){var i=this.w;new na(this).initModules();var l=this.w.globals;if(l.noData=!1,l.animationEnded=!1,this.responsive.checkResponsiveConfig(a),i.config.xaxis.convertedCatToNumeric&&new ve(i.config).convertCatToNumericXaxis(i.config,this.ctx),this.el===null||(this.core.setupElements(),i.config.chart.type==="treemap"&&(i.config.grid.show=!1,i.config.yaxis[0].show=!1),l.svgWidth===0))return l.animationEnded=!0,null;var c=P.checkComboSeries(n);l.comboCharts=c.comboCharts,l.comboBarCount=c.comboBarCount;var d=n.every(function(A){return A.data&&A.data.length===0});(n.length===0||d)&&this.series.handleNoData(),this.events.setupEventHandlers(),this.data.parseData(n),this.theme.init(),new Ee(this).setGlobalMarkerSize(),this.formatters.setLabelFormatters(),this.titleSubtitle.draw(),l.noData&&l.collapsedSeries.length!==l.series.length&&!i.config.legend.showForSingleSeries||this.legend.init(),this.series.hasAllSeriesEqualX(),l.axisCharts&&(this.core.coreCalculations(),i.config.xaxis.type!=="category"&&this.formatters.setLabelFormatters(),this.ctx.toolbar.minX=i.globals.minX,this.ctx.toolbar.maxX=i.globals.maxX),this.formatters.heatmapLabelFormatters(),new P(this).getLargestMarkerSize(),this.dimensions.plotCoords();var h=this.core.xySettings();this.grid.createGridMask();var m=this.core.plotChartType(n,h),S=new je(this);return S.bringForward(),i.config.dataLabels.background.enabled&&S.dataLabelsBackground(),this.core.shiftGraphPosition(),{elGraph:m,xyRatios:h,dimensions:{plot:{left:i.globals.translateX,top:i.globals.translateY,width:i.globals.gridWidth,height:i.globals.gridHeight}}}}},{key:"mount",value:function(){var n=this,a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,i=this,l=i.w;return new Promise(function(c,d){if(i.el===null)return d(new Error("Not enough data to display or target element not found"));(a===null||l.globals.allSeriesCollapsed)&&i.series.handleNoData(),i.grid=new Fe(i);var h,m,S=i.grid.drawGrid();if(i.annotations=new oe(i),i.annotations.drawImageAnnos(),i.annotations.drawTextAnnos(),l.config.grid.position==="back"&&(S&&l.globals.dom.elGraphical.add(S.el),S!=null&&(h=S.elGridBorders)!==null&&h!==void 0&&h.node&&l.globals.dom.elGraphical.add(S.elGridBorders)),Array.isArray(a.elGraph))for(var A=0;A<a.elGraph.length;A++)l.globals.dom.elGraphical.add(a.elGraph[A]);else l.globals.dom.elGraphical.add(a.elGraph);l.config.grid.position==="front"&&(S&&l.globals.dom.elGraphical.add(S.el),S!=null&&(m=S.elGridBorders)!==null&&m!==void 0&&m.node&&l.globals.dom.elGraphical.add(S.elGridBorders)),l.config.xaxis.crosshairs.position==="front"&&i.crosshairs.drawXCrosshairs(),l.config.yaxis[0].crosshairs.position==="front"&&i.crosshairs.drawYCrosshairs(),l.config.chart.type!=="treemap"&&i.axes.drawAxis(l.config.chart.type,S);var N=new We(n.ctx,S),j=new qe(n.ctx,S);if(S!==null&&(N.xAxisLabelCorrections(S.xAxisTickWidth),j.setYAxisTextAlignments(),l.config.yaxis.map(function(G,q){l.globals.ignoreYAxisIndexes.indexOf(q)===-1&&j.yAxisTitleRotate(q,G.opposite)})),i.annotations.drawAxesAnnotations(),!l.globals.noData){if(l.config.tooltip.enabled&&!l.globals.noData&&i.w.globals.tooltip.drawTooltip(a.xyRatios),l.globals.axisCharts&&(l.globals.isXNumeric||l.config.xaxis.convertedCatToNumeric||l.globals.isRangeBar))(l.config.chart.zoom.enabled||l.config.chart.selection&&l.config.chart.selection.enabled||l.config.chart.pan&&l.config.chart.pan.enabled)&&i.zoomPanSelection.init({xyRatios:a.xyRatios});else{var W=l.config.chart.toolbar.tools;["zoom","zoomin","zoomout","selection","pan","reset"].forEach(function(G){W[G]=!1})}l.config.chart.toolbar.show&&!l.globals.allSeriesCollapsed&&i.toolbar.createToolbar()}l.globals.memory.methodsToExec.length>0&&l.globals.memory.methodsToExec.forEach(function(G){G.method(G.params,!1,G.context)}),l.globals.axisCharts||l.globals.noData||i.core.resizeNonAxisCharts(),c(i)})}},{key:"destroy",value:function(){var n,a;window.removeEventListener("resize",this.windowResizeHandler),this.el.parentNode,n=this.parentResizeHandler,(a=aa.get(n))&&(a.disconnect(),aa.delete(n));var i=this.w.config.chart.id;i&&Apex._chartInstances.forEach(function(l,c){l.id===f.escapeString(i)&&Apex._chartInstances.splice(c,1)}),new ho(this.ctx).clear({isUpdating:!1})}},{key:"updateOptions",value:function(n){var a=this,i=arguments.length>1&&arguments[1]!==void 0&&arguments[1],l=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],c=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3],d=!(arguments.length>4&&arguments[4]!==void 0)||arguments[4],h=this.w;return h.globals.selection=void 0,n.series&&(this.series.resetSeries(!1,!0,!1),n.series.length&&n.se
Line truncated
|
||||
@@ -32,8 +32,8 @@
|
||||
<!-- Nepcha Analytics (nepcha.com) -->
|
||||
<!-- Nepcha is a easy-to-use web analytics. No cookies and fully compliant with GDPR, CCPA and PECR. -->
|
||||
<script defer data-site="YOUR_DOMAIN_HERE" src="https://api.nepcha.com/js/nepcha-analytics.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-f7ebd6e7.js"></script>
|
||||
<link rel="stylesheet" href="/assets/index-43406193.css">
|
||||
<script type="module" crossorigin src="/assets/index-1a97f764.js"></script>
|
||||
<link rel="stylesheet" href="/assets/index-beb97849.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"axios": "1.7.5",
|
||||
"socket.io-client": "4.8.1",
|
||||
"@heroicons/react": "2.0.18",
|
||||
"@material-tailwind/react": "2.1.4",
|
||||
"apexcharts": "3.44.0",
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
import React, { useCallback, useEffect, useMemo, useState } from "react";
|
||||
import axios from "axios";
|
||||
import {
|
||||
Card,
|
||||
CardHeader,
|
||||
@@ -11,7 +13,553 @@ import {
|
||||
import { EllipsisVerticalIcon } from "@heroicons/react/24/outline";
|
||||
import { authorsTableData, projectsTableData } from "@/data";
|
||||
|
||||
const STATUS_COLORS = {
|
||||
success: "text-green-400",
|
||||
warning: "text-yellow-400",
|
||||
error: "text-red-400",
|
||||
started: "text-blue-300"
|
||||
};
|
||||
|
||||
const formatTimestamp = (value) => {
|
||||
if (!value) return "-";
|
||||
const date = new Date(value);
|
||||
if (Number.isNaN(date.getTime())) return value;
|
||||
return date.toLocaleString("de-DE", {
|
||||
year: "numeric",
|
||||
month: "2-digit",
|
||||
day: "2-digit",
|
||||
hour: "2-digit",
|
||||
minute: "2-digit",
|
||||
second: "2-digit"
|
||||
});
|
||||
};
|
||||
|
||||
const normalizeDateParam = (value) => {
|
||||
if (!value) return undefined;
|
||||
return value.replace("T", " ");
|
||||
};
|
||||
|
||||
const FILTER_STORAGE_KEY = "redeployLogFilters";
|
||||
const ALL_OPTION_VALUE = "__all__";
|
||||
const ALL_OPTION_LABEL = "- Alle -";
|
||||
const PER_PAGE_DEFAULT = "50";
|
||||
const PER_PAGE_OPTIONS = [
|
||||
{ value: "10", label: "10" },
|
||||
{ value: "25", label: "25" },
|
||||
{ value: "50", label: "50" },
|
||||
{ value: "100", label: "100" },
|
||||
{ value: "all", label: "Alle" }
|
||||
];
|
||||
const VALID_PER_PAGE_VALUES = new Set(PER_PAGE_OPTIONS.map((option) => option.value));
|
||||
|
||||
const REDEPLOY_TYPE_LABELS = {
|
||||
Einzeln: "Einzeln",
|
||||
Alle: "Alle",
|
||||
Auswahl: "Auswahl",
|
||||
single: "Einzeln",
|
||||
all: "Alle",
|
||||
selection: "Auswahl"
|
||||
};
|
||||
|
||||
const hasActiveFilters = (filters) => Boolean(
|
||||
(filters.stacks && filters.stacks.length) ||
|
||||
(filters.statuses && filters.statuses.length) ||
|
||||
(filters.endpoints && filters.endpoints.length) ||
|
||||
(filters.redeployTypes && filters.redeployTypes.length) ||
|
||||
(filters.message && filters.message.trim()) ||
|
||||
(filters.from && filters.from.trim()) ||
|
||||
(filters.to && filters.to.trim())
|
||||
);
|
||||
|
||||
|
||||
export function Logs() {
|
||||
|
||||
const [logs, setLogs] = useState([]);
|
||||
const [totalLogs, setTotalLogs] = useState(0);
|
||||
const [loading, setLoading] = useState(true);
|
||||
const [error, setError] = useState("");
|
||||
const [actionLoading, setActionLoading] = useState(false);
|
||||
|
||||
const [stackOptions, setStackOptions] = useState([]);
|
||||
const [statusOptions, setStatusOptions] = useState([]);
|
||||
const [endpointOptions, setEndpointOptions] = useState([]);
|
||||
const [redeployTypeOptions, setRedeployTypeOptions] = useState([]);
|
||||
|
||||
const [selectedStacks, setSelectedStacks] = useState([]);
|
||||
const [selectedStatuses, setSelectedStatuses] = useState([]);
|
||||
const [selectedEndpoints, setSelectedEndpoints] = useState([]);
|
||||
const [selectedRedeployTypes, setSelectedRedeployTypes] = useState([]);
|
||||
const [messageQuery, setMessageQuery] = useState("");
|
||||
const [fromDate, setFromDate] = useState("");
|
||||
const [toDate, setToDate] = useState("");
|
||||
|
||||
const [filtersOpen, setFiltersOpen] = useState(false);
|
||||
const [filtersReady, setFiltersReady] = useState(false);
|
||||
const [optionsInitialized, setOptionsInitialized] = useState(false);
|
||||
const [refreshSignal, setRefreshSignal] = useState(0);
|
||||
|
||||
const [perPage, setPerPage] = useState(PER_PAGE_DEFAULT);
|
||||
const [page, setPage] = useState(1);
|
||||
|
||||
const updateFilterOptions = useCallback((payload) => {
|
||||
const logsPayload = Array.isArray(payload) ? payload : payload?.items ?? [];
|
||||
|
||||
const stackMap = new Map();
|
||||
const statusSet = new Set();
|
||||
const endpointSet = new Set();
|
||||
const redeployTypeSet = new Set();
|
||||
|
||||
logsPayload.forEach((log) => {
|
||||
if (log.stackId) {
|
||||
const value = String(log.stackId);
|
||||
const label = log.stackName || `Stack ${value}`;
|
||||
stackMap.set(value, label);
|
||||
}
|
||||
|
||||
if (log.status) {
|
||||
statusSet.add(log.status);
|
||||
}
|
||||
|
||||
if (log.endpoint !== null && log.endpoint !== undefined && log.endpoint !== "") {
|
||||
endpointSet.add(String(log.endpoint));
|
||||
}
|
||||
|
||||
if (log.redeployType) {
|
||||
redeployTypeSet.add(log.redeployType);
|
||||
}
|
||||
});
|
||||
|
||||
setStackOptions(Array.from(stackMap.entries())
|
||||
.map(([value, label]) => ({ value, label }))
|
||||
.sort((a, b) => a.label.localeCompare(b.label)));
|
||||
|
||||
setStatusOptions(Array.from(statusSet).sort());
|
||||
|
||||
setEndpointOptions(Array.from(endpointSet)
|
||||
.sort((a, b) => a.localeCompare(b, undefined, { numeric: true })));
|
||||
|
||||
setRedeployTypeOptions(Array.from(redeployTypeSet).sort());
|
||||
setOptionsInitialized(true);
|
||||
}, []);
|
||||
|
||||
const stackLabelMap = useMemo(() => {
|
||||
const map = new Map();
|
||||
stackOptions.forEach((option) => {
|
||||
map.set(option.value, option.label);
|
||||
});
|
||||
return map;
|
||||
}, [stackOptions]);
|
||||
|
||||
useEffect(() => {
|
||||
if (!optionsInitialized) return;
|
||||
setSelectedStacks((prev) => {
|
||||
const valid = prev.filter((value) => stackOptions.some((option) => option.value === value));
|
||||
return valid.length === prev.length ? prev : valid;
|
||||
});
|
||||
}, [optionsInitialized, stackOptions]);
|
||||
|
||||
useEffect(() => {
|
||||
if (!optionsInitialized) return;
|
||||
setSelectedStatuses((prev) => {
|
||||
const valid = prev.filter((value) => statusOptions.includes(value));
|
||||
return valid.length === prev.length ? prev : valid;
|
||||
});
|
||||
}, [optionsInitialized, statusOptions]);
|
||||
|
||||
useEffect(() => {
|
||||
if (!optionsInitialized) return;
|
||||
setSelectedEndpoints((prev) => {
|
||||
const valid = prev.filter((value) => endpointOptions.includes(value));
|
||||
return valid.length === prev.length ? prev : valid;
|
||||
});
|
||||
}, [optionsInitialized, endpointOptions]);
|
||||
|
||||
useEffect(() => {
|
||||
if (!optionsInitialized) return;
|
||||
setSelectedRedeployTypes((prev) => {
|
||||
const valid = prev.filter((value) => redeployTypeOptions.includes(value));
|
||||
return valid.length === prev.length ? prev : valid;
|
||||
});
|
||||
}, [optionsInitialized, redeployTypeOptions]);
|
||||
|
||||
useEffect(() => {
|
||||
if (typeof window === "undefined") {
|
||||
setFiltersReady(true);
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
const storedValue = window.localStorage.getItem(FILTER_STORAGE_KEY);
|
||||
if (storedValue) {
|
||||
const parsed = JSON.parse(storedValue);
|
||||
const storedFilters = parsed?.filters ?? parsed ?? {};
|
||||
const storedPagination = parsed?.pagination ?? {};
|
||||
|
||||
setSelectedStacks(storedFilters.stacks || []);
|
||||
setSelectedStatuses(storedFilters.statuses || []);
|
||||
setSelectedEndpoints(storedFilters.endpoints || []);
|
||||
setSelectedRedeployTypes(storedFilters.redeployTypes || []);
|
||||
setMessageQuery(storedFilters.message || "");
|
||||
setFromDate(storedFilters.from || "");
|
||||
setToDate(storedFilters.to || "");
|
||||
setFiltersOpen(hasActiveFilters(storedFilters));
|
||||
|
||||
const rawPerPage = storedPagination.perPage;
|
||||
if (rawPerPage !== undefined) {
|
||||
const parsedPerPage = String(rawPerPage);
|
||||
if (VALID_PER_PAGE_VALUES.has(parsedPerPage)) {
|
||||
setPerPage(parsedPerPage);
|
||||
}
|
||||
}
|
||||
|
||||
const rawPage = storedPagination.page;
|
||||
if (typeof rawPage === 'number' && rawPage > 0) {
|
||||
setPage(rawPage);
|
||||
}
|
||||
}
|
||||
} catch (storageError) {
|
||||
console.error("❌ Fehler beim Laden der gespeicherten Log-Filter:", storageError);
|
||||
} finally {
|
||||
setFiltersReady(true);
|
||||
}
|
||||
}, []);
|
||||
|
||||
const buildFilterParams = useCallback(() => {
|
||||
const params = {};
|
||||
|
||||
if (selectedStacks.length) {
|
||||
params.stackIds = selectedStacks.join(",");
|
||||
}
|
||||
|
||||
if (selectedStatuses.length) {
|
||||
params.statuses = selectedStatuses.join(",");
|
||||
}
|
||||
|
||||
if (selectedEndpoints.length) {
|
||||
params.endpoints = selectedEndpoints.join(",");
|
||||
}
|
||||
|
||||
if (selectedRedeployTypes.length) {
|
||||
params.redeployTypes = selectedRedeployTypes.join(",");
|
||||
}
|
||||
|
||||
if (messageQuery.trim()) {
|
||||
params.message = messageQuery.trim();
|
||||
}
|
||||
|
||||
const fromParam = normalizeDateParam(fromDate);
|
||||
if (fromParam) {
|
||||
params.from = fromParam;
|
||||
}
|
||||
|
||||
const toParam = normalizeDateParam(toDate);
|
||||
if (toParam) {
|
||||
params.to = toParam;
|
||||
}
|
||||
|
||||
return params;
|
||||
}, [selectedStacks, selectedStatuses, selectedEndpoints, selectedRedeployTypes, messageQuery, fromDate, toDate]);
|
||||
|
||||
useEffect(() => {
|
||||
if (!filtersReady) return;
|
||||
|
||||
let cancelled = false;
|
||||
axios.get("/api/logs", { params: { perPage: 'all', page: 1 } })
|
||||
.then((response) => {
|
||||
if (cancelled) return;
|
||||
updateFilterOptions(response.data);
|
||||
})
|
||||
.catch((err) => {
|
||||
if (cancelled) return;
|
||||
console.error("⚠️ Konnte Filteroptionen nicht aktualisieren:", err);
|
||||
});
|
||||
|
||||
return () => {
|
||||
cancelled = true;
|
||||
};
|
||||
}, [filtersReady, updateFilterOptions, refreshSignal]);
|
||||
|
||||
const currentFilters = useMemo(() => ({
|
||||
stacks: selectedStacks,
|
||||
statuses: selectedStatuses,
|
||||
endpoints: selectedEndpoints,
|
||||
redeployTypes: selectedRedeployTypes,
|
||||
message: messageQuery,
|
||||
from: fromDate,
|
||||
to: toDate
|
||||
}), [selectedStacks, selectedStatuses, selectedEndpoints, selectedRedeployTypes, messageQuery, fromDate, toDate]);
|
||||
|
||||
useEffect(() => {
|
||||
if (!filtersReady) return;
|
||||
|
||||
const params = { ...buildFilterParams() };
|
||||
if (perPage === 'all') {
|
||||
params.perPage = 'all';
|
||||
params.page = 1;
|
||||
} else {
|
||||
params.perPage = perPage;
|
||||
params.page = page;
|
||||
}
|
||||
|
||||
let cancelled = false;
|
||||
setLoading(true);
|
||||
setError("");
|
||||
|
||||
axios.get("/api/logs", { params })
|
||||
.then((response) => {
|
||||
if (cancelled) return;
|
||||
const data = response.data || {};
|
||||
const items = Array.isArray(data) ? data : data.items ?? [];
|
||||
const total = Array.isArray(data) ? items.length : data.total ?? items.length;
|
||||
|
||||
setLogs(items);
|
||||
setTotalLogs(total);
|
||||
|
||||
if (perPage === 'all') {
|
||||
if (page !== 1) setPage(1);
|
||||
} else {
|
||||
const totalPages = Math.max(1, Math.ceil((total || 0) / Number(perPage)));
|
||||
const nextPage = Math.min(Math.max(page, 1), totalPages);
|
||||
if (nextPage !== page) {
|
||||
setPage(nextPage);
|
||||
}
|
||||
}
|
||||
})
|
||||
.catch((err) => {
|
||||
if (cancelled) return;
|
||||
console.error("❌ Fehler beim Laden der Logs:", err);
|
||||
setError("Fehler beim Laden der Redeploy-Logs");
|
||||
})
|
||||
.finally(() => {
|
||||
if (cancelled) return;
|
||||
setLoading(false);
|
||||
});
|
||||
|
||||
return () => {
|
||||
cancelled = true;
|
||||
};
|
||||
}, [filtersReady, buildFilterParams, updateFilterOptions, refreshSignal, perPage, page]);
|
||||
|
||||
useEffect(() => {
|
||||
if (!filtersReady) return;
|
||||
if (typeof window === "undefined") return;
|
||||
|
||||
try {
|
||||
window.localStorage.setItem(
|
||||
FILTER_STORAGE_KEY,
|
||||
JSON.stringify({
|
||||
filters: currentFilters,
|
||||
pagination: {
|
||||
perPage,
|
||||
page
|
||||
}
|
||||
})
|
||||
);
|
||||
} catch (storageError) {
|
||||
console.error("⚠️ Konnte Filter nicht speichern:", storageError);
|
||||
}
|
||||
}, [filtersReady, currentFilters, perPage, page]);
|
||||
|
||||
const handleMultiSelectChange = (setter) => (event) => {
|
||||
const values = Array.from(event.target.selectedOptions).map((option) => option.value);
|
||||
if (values.includes(ALL_OPTION_VALUE)) {
|
||||
setter([]);
|
||||
} else {
|
||||
setter(values);
|
||||
}
|
||||
setPage(1);
|
||||
};
|
||||
|
||||
const handleOptionMouseDown = (event, currentValues, setter) => {
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
|
||||
const { value } = event.target;
|
||||
if (value === ALL_OPTION_VALUE) {
|
||||
if (currentValues.length) {
|
||||
setter([]);
|
||||
setPage(1);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
const nextValues = currentValues.includes(value)
|
||||
? currentValues.filter((entry) => entry !== value)
|
||||
: [...currentValues, value];
|
||||
|
||||
setter(nextValues);
|
||||
setPage(1);
|
||||
};
|
||||
|
||||
const handleResetFilters = () => {
|
||||
setSelectedStacks([]);
|
||||
setSelectedStatuses([]);
|
||||
setSelectedEndpoints([]);
|
||||
setSelectedRedeployTypes([]);
|
||||
setMessageQuery("");
|
||||
setFromDate("");
|
||||
setToDate("");
|
||||
setFiltersOpen(false);
|
||||
setPage(1);
|
||||
};
|
||||
|
||||
const handleToggleFilters = () => {
|
||||
setFiltersOpen((prev) => !prev);
|
||||
};
|
||||
|
||||
const handleRefresh = () => {
|
||||
setRefreshSignal((prev) => prev + 1);
|
||||
};
|
||||
|
||||
const handlePerPageChange = (event) => {
|
||||
const value = event.target.value;
|
||||
if (!VALID_PER_PAGE_VALUES.has(value)) return;
|
||||
setPerPage(value);
|
||||
setPage(1);
|
||||
};
|
||||
|
||||
const handlePageChange = (nextPage) => {
|
||||
if (perPage === 'all') return;
|
||||
if (nextPage < 1) return;
|
||||
const totalPages = Math.max(1, Math.ceil((totalLogs || 0) / Number(perPage)));
|
||||
if (nextPage > totalPages) return;
|
||||
setPage(nextPage);
|
||||
};
|
||||
|
||||
const stackSelectOptions = useMemo(() => {
|
||||
const entries = stackOptions.filter((option) => option.value !== ALL_OPTION_VALUE);
|
||||
return [
|
||||
{ value: ALL_OPTION_VALUE, label: ALL_OPTION_LABEL },
|
||||
...entries
|
||||
];
|
||||
}, [stackOptions]);
|
||||
|
||||
const statusSelectOptions = useMemo(() => {
|
||||
const entries = statusOptions
|
||||
.filter((status) => status !== ALL_OPTION_VALUE)
|
||||
.map((status) => ({ value: status, label: status }));
|
||||
return [
|
||||
{ value: ALL_OPTION_VALUE, label: ALL_OPTION_LABEL },
|
||||
...entries
|
||||
];
|
||||
}, [statusOptions]);
|
||||
|
||||
const endpointSelectOptions = useMemo(() => {
|
||||
const entries = endpointOptions
|
||||
.filter((endpoint) => endpoint !== ALL_OPTION_VALUE)
|
||||
.map((endpoint) => ({ value: endpoint, label: endpoint }));
|
||||
return [
|
||||
{ value: ALL_OPTION_VALUE, label: ALL_OPTION_LABEL },
|
||||
...entries
|
||||
];
|
||||
}, [endpointOptions]);
|
||||
|
||||
const redeployTypeSelectOptions = useMemo(() => {
|
||||
const entries = redeployTypeOptions
|
||||
.filter((type) => type !== ALL_OPTION_VALUE)
|
||||
.map((type) => ({ value: type, label: REDEPLOY_TYPE_LABELS[type] ?? type }));
|
||||
return [
|
||||
{ value: ALL_OPTION_VALUE, label: ALL_OPTION_LABEL },
|
||||
...entries
|
||||
];
|
||||
}, [redeployTypeOptions]);
|
||||
|
||||
const activeFilterCount = useMemo(() => {
|
||||
let count = 0;
|
||||
if (selectedStacks.length) count += selectedStacks.length;
|
||||
if (selectedStatuses.length) count += selectedStatuses.length;
|
||||
if (selectedEndpoints.length) count += selectedEndpoints.length;
|
||||
if (selectedRedeployTypes.length) count += selectedRedeployTypes.length;
|
||||
if (messageQuery.trim()) count += 1;
|
||||
if (fromDate) count += 1;
|
||||
if (toDate) count += 1;
|
||||
return count;
|
||||
}, [selectedStacks, selectedStatuses, selectedEndpoints, messageQuery, fromDate, toDate]);
|
||||
|
||||
const totalPages = useMemo(() => {
|
||||
if (perPage === 'all') return 1;
|
||||
const numeric = Number(perPage) || Number(PER_PAGE_DEFAULT);
|
||||
return Math.max(1, Math.ceil((totalLogs || 0) / numeric));
|
||||
}, [perPage, totalLogs]);
|
||||
|
||||
const rangeStart = useMemo(() => {
|
||||
if (totalLogs === 0) return 0;
|
||||
if (perPage === 'all') return 1;
|
||||
return (page - 1) * Number(perPage) + 1;
|
||||
}, [totalLogs, perPage, page]);
|
||||
|
||||
const rangeEnd = useMemo(() => {
|
||||
if (totalLogs === 0) return 0;
|
||||
if (perPage === 'all') return totalLogs;
|
||||
return Math.min(totalLogs, (page - 1) * Number(perPage) + logs.length);
|
||||
}, [totalLogs, perPage, page, logs.length]);
|
||||
|
||||
const handleDeleteLog = async (id) => {
|
||||
if (!window.confirm("Diesen Log-Eintrag dauerhaft löschen?")) return;
|
||||
setActionLoading(true);
|
||||
setError("");
|
||||
try {
|
||||
await axios.delete(`/api/logs/${id}`);
|
||||
setRefreshSignal((prev) => prev + 1);
|
||||
} catch (err) {
|
||||
console.error("❌ Fehler beim Löschen des Logs:", err);
|
||||
setError("Fehler beim Löschen des Redeploy-Logs");
|
||||
} finally {
|
||||
setActionLoading(false);
|
||||
}
|
||||
};
|
||||
|
||||
const handleDeleteFiltered = async () => {
|
||||
if (!logs.length) return;
|
||||
if (!window.confirm("Alle angezeigten Logs (entsprechend Filter) löschen?")) return;
|
||||
setActionLoading(true);
|
||||
setError("");
|
||||
try {
|
||||
const params = {
|
||||
...buildFilterParams(),
|
||||
ids: logs.map((log) => log.id).join(',')
|
||||
};
|
||||
await axios.delete("/api/logs", { params });
|
||||
setRefreshSignal((prev) => prev + 1);
|
||||
} catch (err) {
|
||||
console.error("❌ Fehler beim Löschen der gefilterten Logs:", err);
|
||||
setError("Fehler beim Löschen der gefilterten Logs");
|
||||
} finally {
|
||||
setActionLoading(false);
|
||||
}
|
||||
};
|
||||
|
||||
const handleExport = async (format) => {
|
||||
setActionLoading(true);
|
||||
setError("");
|
||||
try {
|
||||
const response = await axios.get("/api/logs/export", {
|
||||
params: { ...buildFilterParams(), format },
|
||||
responseType: "blob"
|
||||
});
|
||||
|
||||
const contentType = response.headers["content-type"] || (format === "sql" ? "application/sql" : "text/plain");
|
||||
const disposition = response.headers["content-disposition"] || "";
|
||||
const match = disposition.match(/filename="?([^";]+)"?/i);
|
||||
const filename = match?.[1] || `redeploy-logs.${format}`;
|
||||
|
||||
const blob = new Blob([response.data], { type: contentType });
|
||||
const url = window.URL.createObjectURL(blob);
|
||||
const link = document.createElement("a");
|
||||
link.href = url;
|
||||
link.download = filename;
|
||||
document.body.appendChild(link);
|
||||
link.click();
|
||||
link.remove();
|
||||
window.URL.revokeObjectURL(url);
|
||||
} catch (err) {
|
||||
console.error("❌ Fehler beim Export der Logs:", err);
|
||||
setError("Fehler beim Export der Redeploy-Logs");
|
||||
} finally {
|
||||
setActionLoading(false);
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
<div className="mt-12 mb-8 flex flex-col gap-12">
|
||||
<Card>
|
||||
@@ -24,7 +572,7 @@ export function Logs() {
|
||||
<table className="w-full min-w-[640px] table-auto">
|
||||
<thead>
|
||||
<tr>
|
||||
{["author", "function", "status", "employed", ""].map((el) => (
|
||||
{["Zeitpunkt", "Stack", "Art", "Status", "Nachricht", "Endpoint", "Aktionen"].map((el) => (
|
||||
<th
|
||||
key={el}
|
||||
className="border-b border-blue-gray-50 py-3 px-5 text-left"
|
||||
@@ -40,8 +588,14 @@ export function Logs() {
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{authorsTableData.map(
|
||||
({ img, name, email, job, online, date }, key) => {
|
||||
{logs.map(
|
||||
(log) => {
|
||||
const statusClass = STATUS_COLORS[log.status] || "text-blue-300";
|
||||
const stackDisplayName = log.stackName || "Unbekannt";
|
||||
const showStackId = stackDisplayName !== '---' && log.stackId !== undefined && log.stackId !== null;
|
||||
const redeployTypeLabel = log.redeployType
|
||||
? (REDEPLOY_TYPE_LABELS[log.redeployType] ?? log.redeployType)
|
||||
: '---';
|
||||
const className = `py-3 px-5 ${
|
||||
key === authorsTableData.length - 1
|
||||
? ""
|
||||
@@ -49,23 +603,15 @@ export function Logs() {
|
||||
}`;
|
||||
|
||||
return (
|
||||
<tr key={name}>
|
||||
<tr key={log.id}>
|
||||
<td className={className}>
|
||||
<div className="flex items-center gap-4">
|
||||
<Avatar src={img} alt={name} size="sm" variant="rounded" />
|
||||
<div>
|
||||
<Typography
|
||||
variant="small"
|
||||
color="blue-gray"
|
||||
className="font-semibold"
|
||||
>
|
||||
{name}
|
||||
{formatTimestamp(log.timestamp)}
|
||||
</Typography>
|
||||
<Typography className="text-xs font-normal text-blue-gray-500">
|
||||
{email}
|
||||
</Typography>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td className={className}>
|
||||
<Typography className="text-xs font-semibold text-blue-gray-600">
|
||||
|
||||
Reference in new issue
Block a user